@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-slate-light: #e2e8f0;
  --bg-slate-tag: #f8fafc;
  
  --border-subtle: #e2e8f0;
  --border-focus: #94a3b8;
  --border-hover: #cbd5e1;

  --primary-purple: #334155;
  --primary-soft: #475569;
  --primary-tint: #1e293b;

  /* Official Platform Brand Colors */
  --shopee-color: #ea580c;
  --shopee-btn-bg: #ea580c;
  --shopee-btn-hover: #c2410c;
  --shopee-bg-soft: #fff7ed;
  --shopee-border: #ffedd5;

  --lazada-color: #475569;
  --lazada-btn-bg: #475569;
  --lazada-btn-hover: #334155;
  --lazada-bg-soft: #f8fafc;
  --lazada-border: #e2e8f0;

  --badge-green-bg: #f0fdf4;
  --badge-green-text: #16a34a;
  --badge-green-border: #bbf7d0;

  --text-title: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-card: 0 2px 10px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  --shadow-hover: 0 10px 24px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);

  --transition-fast: 0.18s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Prompt', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #f1f3f7;
  background-image: linear-gradient(rgba(245, 246, 250, 0.40), rgba(245, 246, 250, 0.40)), url('/img_web/BG_PC.webp');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

@media (max-width: 1024px) {
  body {
    background-image: linear-gradient(rgba(245, 246, 250, 0.40), rgba(245, 246, 250, 0.40)), url('/img_web/BG_Moblie.webp');
    background-size: cover;
    background-position: center top;
    background-attachment: scroll;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1400px; /* Generous width so 4 columns cards have plenty of space */
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-lavender-light);
  color: var(--primary-purple);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-title);
  letter-spacing: -0.3px;
}

.brand-title span {
  color: var(--primary-purple);
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Segmented Radio Switch */
.lang-radio-group {
  display: inline-flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-radio-option {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.lang-radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.lang-radio-label {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
  user-select: none;
}

.lang-radio-option input[type="radio"]:checked + .lang-radio-label {
  background: var(--bg-surface);
  color: var(--primary-purple);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Hero Section */
.hero-section {
  padding: 40px 0 20px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--bg-lavender-tag);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--primary-tint);
  margin-bottom: 12px;
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.6px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.hero-title-highlight {
  color: var(--primary-purple);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 20px;
}

/* Search Bar */
.search-container {
  max-width: 660px;
  margin: 0 auto 18px;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 14px 8px 20px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-fast);
}

.search-box:focus-within {
  border-color: var(--primary-soft);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.12);
}

.search-icon {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-right: 10px;
}

.search-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-title);
  font-size: 0.98rem;
  outline: none;
  font-family: inherit;
}

.search-input::placeholder {
  color: var(--text-dim);
}

/* Brand Filter Bar */
.brand-filter-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.brand-pill-btn {
  padding: 3px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-body);
  font-size: 0.78rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.brand-pill-btn:hover {
  background: var(--bg-lavender-tag);
  border-color: var(--border-focus);
  color: var(--primary-purple);
}

.brand-pill-btn.active {
  background: var(--primary-soft);
  border-color: var(--primary-soft);
  color: #fff;
}

/* Category Filter Bar */
.filter-section {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.main-category-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.category-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.category-btn {
  padding: 7px 15px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-body);
  font-size: 0.84rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.category-btn:hover {
  background: var(--bg-lavender-tag);
  border-color: var(--border-focus);
}

.category-btn.active {
  background: var(--primary-purple);
  border-color: var(--primary-purple);
  color: #fff;
  font-weight: 600;
}

.category-btn.promo-btn {
  background: linear-gradient(135deg, #fdf4ff, #fae8ff);
  border-color: #f0abfc;
  color: #a21caf;
  font-weight: 600;
}

.category-btn.promo-btn.active {
  background: linear-gradient(135deg, #c026d3, #a21caf);
  border-color: #a21caf;
  color: #fff;
}

/* Sub-category Bar */
.sub-category-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

/* Flash Sale Section (Modern Clean Slate Theme) */
.flash-sale-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  position: relative;
}

.flash-sale-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.flash-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flash-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.flash-round-badge {
  background: #ffffff;
  color: #475569;
  border: 1px solid #e2e8f0;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

.flash-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
}

.countdown-box {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Plus Jakarta Sans', monospace;
  font-weight: 700;
  color: #fbbf24;
}

.flash-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.flash-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 6px 4px 12px 4px;
  width: 100%;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.flash-grid::-webkit-scrollbar {
  height: 6px;
}

.flash-grid::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.flash-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  z-index: 20;
  transition: all 0.2s ease;
  opacity: 1;
}

.flash-nav-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
  transform: translateY(-50%) scale(1.08);
}

.flash-nav-btn.prev {
  left: -16px;
}

.flash-nav-btn.next {
  right: -16px;
}

.flash-nav-btn.hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden;
}

.flash-card {
  flex: 0 0 240px;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-fast);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.flash-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.flash-card-img-box {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  position: relative;
}

.flash-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.flash-discount-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.flash-product-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-title);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 38px;
}

.flash-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.flash-cur-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #b45309;
}

.flash-orig-price {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.flash-stock-bar-wrap {
  background: #fef08a;
  height: 14px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  margin-bottom: 8px;
}

.flash-stock-bar {
  background: linear-gradient(90deg, #f59e0b, #eab308);
  height: 100%;
  border-radius: 8px;
}

.flash-stock-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.64rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.btn-flash-buy {
  background: #ee4d2d;
  color: #ffffff !important;
  text-align: center;
  padding: 8px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-flash-buy.lazada {
  background: #0f146d !important;
}

.btn-flash-buy.lazada:hover {
  background: #1e293b !important;
}

.btn-flash-buy.shopee {
  background: #ee4d2d !important;
}

.btn-flash-buy.shopee:hover {
  background: #c2410c !important;
}

.btn-flash-buy.allonline {
  background: #1e3a8a !important;
}

.btn-flash-buy.allonline:hover {
  background: #172554 !important;
}

.card-faded {
  opacity: 0.42 !important;
  filter: grayscale(85%) !important;
  pointer-events: auto !important;
  border-style: dashed !important;
  border-color: #cbd5e1 !important;
}

.sub-cat-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 4px;
}

.sub-cat-btn {
  padding: 4px 11px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-body);
  font-size: 0.78rem;
  transition: var(--transition-fast);
}

.sub-cat-btn:hover {
  border-color: var(--border-focus);
  color: var(--primary-purple);
}

.sub-cat-btn.active {
  background: var(--bg-lavender-light);
  border-color: var(--primary-soft);
  color: var(--primary-tint);
  font-weight: 600;
}

.sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.sort-select {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-title);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  outline: none;
  font-family: inherit;
  cursor: pointer;
}

/* Products Grid: 4 Columns on Desktop, 5 rows (20 items) per page */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

@media (max-width: 1120px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 780px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Pagination Bar */
.pagination-wrap {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 20px 0 50px;
  flex-wrap: wrap;
}

.page-btn {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.page-btn:hover:not(:disabled) {
  border-color: var(--primary-tint);
  color: var(--primary-tint);
  background: var(--bg-subtle);
}

.page-btn.active {
  background: var(--primary-tint);
  color: #ffffff !important;
  border-color: var(--primary-tint);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}

.card-top {
  position: relative;
  height: 210px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.product-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img {
  transform: scale(1.06);
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary-tint);
}

.brand-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 10px;
  background: rgba(26, 22, 43, 0.85);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
}

/* Compact Card Body (Without Description) */
.card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-title);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 42px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  gap: 6px;
}

.rating-wrap {
  color: #f59e0b;
  font-weight: 600;
  font-size: 0.76rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.review-count {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 400;
  white-space: nowrap;
}

/* 30-Day Split Stat Box: Entire box clickable, Slate Gray Palette */
.stat-30d-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 4px 10px;
  gap: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
}

.stat-30d-box:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.stat-30d-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.stat-30d-label {
  font-size: 0.66rem;
  color: #64748b;
  line-height: 1.1;
  white-space: nowrap;
}

.btn-graph-link {
  font-size: 0.66rem;
  color: #64748b;
  text-decoration: underline;
  font-weight: 500;
  line-height: 1.1;
}

.stat-30d-box:hover .btn-graph-link {
  color: #0f172a;
}

.stat-30d-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-30d-price {
  font-size: 0.94rem;
  font-weight: 800;
  color: #334155;
  white-space: nowrap;
}

/* Winner Banner: Left (2 lines) | Right (Single Line Badge) */
.winner-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  gap: 8px;
}

.winner-shopee {
  background: #fff7ed;
  border: 1px solid #ffedd5;
}

.winner-info-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}

.winner-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #c2410c;
}

.winner-save-text {
  font-size: 0.72rem;
  font-weight: 500;
  color: #9a3412;
}

.save-badge {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.save-badge-flash {
  background: #ea580c !important;
  color: #ffffff !important;
  border-color: #ea580c !important;
  white-space: nowrap;
}

/* Comparison Boxes */
.compare-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.store-box {
  background: #faf9fd;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  position: relative;
}

.store-box.is-cheapest {
  border-color: #86efac;
  background: #f0fdf4;
}

.store-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.store-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.store-tag.shopee-mall {
  color: #dc2626;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.store-tag.shopee-mall::before {
  content: '🔴';
  font-size: 0.55rem;
}

.store-tag.shopee {
  color: var(--shopee-color);
}

.store-tag.lazada {
  color: var(--lazada-color);
}

.store-shipping {
  font-size: 0.72rem;
  font-weight: 500;
}

.shipping-free {
  color: #16a34a !important;
  font-weight: 600;
}

.shipping-fee {
  color: #64748b !important;
  font-weight: 500;
}

.store-price {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-title);
}

.store-original-price {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

/* Single Store Display Box */
.single-store-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 12px;
}

/* Action Buttons: 2 Equal Columns, Never Wrap Text */
.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: auto;
}

.btn-deal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 9px 4px;
  border-radius: var(--radius-md);
  font-size: 0.74rem;
  font-weight: 600;
  text-align: center;
  transition: var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

/* Shopee Button */
.btn-shopee {
  background: #fff4ed;
  border: 1px solid #fed7aa;
  color: #c2410c !important;
}

.btn-shopee:hover {
  background: #ea580c;
  border-color: #ea580c;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(234, 88, 12, 0.25);
  transform: translateY(-1px);
}

/* Detail View Button (G2A Style) */
.btn-detail-view {
  background: #f4f0ff;
  border: 1px solid #ddd6fe;
  color: #6d28d9 !important;
}

.btn-detail-view:hover {
  background: #7c3aed;
  border-color: #7c3aed;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(124, 58, 237, 0.25);
  transform: translateY(-1px);
}

/* G2A-Style Other Sellers Accordion */
.other-sellers-accordion {
  margin-top: 10px;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 8px;
}

.btn-toggle-sellers {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fdfcfe;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: inherit;
}

.btn-toggle-sellers:hover {
  background: #f4effd;
  color: var(--primary-tint);
  border-color: #ddd6fe;
}

.seller-arrow {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.seller-arrow.open {
  transform: rotate(180deg);
}

.sellers-drawer {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #faf8fe;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 6px;
}

.seller-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #f1f0f7;
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  font-size: 0.74rem;
}

.seller-store-info {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
}

.seller-plat-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
}

.seller-plat-badge.shopee-mall {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.seller-plat-badge.shopee {
  background: #fff3ee;
  color: #ea580c;
}

.seller-plat-badge.lazada {
  background: #f3f0ff;
  color: #7c3aed;
}

.seller-name {
  font-weight: 500;
  color: var(--text-title);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.seller-ship {
  font-size: 0.65rem;
  color: var(--badge-green-text);
  font-weight: 600;
}

.seller-action-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.seller-price {
  font-weight: 800;
  color: var(--text-title);
  font-size: 0.85rem;
}

.btn-seller-buy {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--primary-tint);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-seller-buy:hover {
  background: var(--primary-tint);
  color: #ffffff !important;
  border-color: var(--primary-tint);
}

/* Promo Hub Grid */
.promo-hub-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
  padding: 10px 0;
}

.promo-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow-card);
}

.promo-card.shopee-promo {
  border-color: var(--shopee-border);
  background: linear-gradient(180deg, #fff 0%, #fffbf9 100%);
}

.promo-card.lazada-promo {
  border-color: var(--lazada-border);
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.promo-icon {
  font-size: 2.2rem;
}

.promo-body {
  flex: 1;
}

.promo-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.promo-tag.shopee { color: var(--shopee-color); }
.promo-tag.lazada { color: var(--lazada-color); }

.promo-body h4 {
  font-size: 0.95rem;
  color: var(--text-title);
  margin-bottom: 4px;
}

.promo-body p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* 30-Day Price History Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 30, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  box-shadow: 0 20px 45px rgba(109, 40, 217, 0.15);
  padding: 24px;
  position: relative;
  animation: modalIn 0.2s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-title);
}

.modal-close-btn {
  font-size: 1.3rem;
  color: var(--text-muted);
}

.modal-close-btn:hover {
  color: var(--text-title);
}

.modal-product-info {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.modal-product-img {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  object-fit: contain; padding: 6px;
  border: 1px solid var(--border-subtle);
}

.modal-product-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-title);
  line-height: 1.35;
}

/* Chart Canvas Container */
.chart-container {
  position: relative;
  width: 100%;
  height: 200px;
  background: #faf9fe;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  padding: 10px;
}

.chart-canvas {
  width: 100%;
  height: 100%;
}

.chart-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot.shopee { background: var(--shopee-color); }
.legend-dot.lazada { background: #6b21a8; }
.legend-dot.lowest { background: var(--badge-green-text); }

.modal-fomo-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #166534;
  margin-bottom: 16px;
}

.modal-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.modal-actions-grid .btn-deal {
  padding: 10px 14px;
  font-size: 0.85rem;
}

/* Footer */
.site-footer {
  margin-top: auto;
  width: 100%;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 32px 0 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.affiliate-disclaimer {
  max-width: 600px;
  font-size: 0.76rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 768px) {
  .hero-title { font-size: 1.9rem; }
  .products-grid { grid-template-columns: 1fr; }
  .modal-actions-grid { grid-template-columns: 1fr; }
}


main {
  flex: 1 0 auto;
}

/* Redesigned Product Card System */
.product-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
  position: relative !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
}

.product-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08) !important;
  border-color: #cbd5e1 !important;
}

.card-top {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  margin-bottom: 10px !important;
  padding: 3px !important;
  box-sizing: border-box !important;
}

.card-img-link {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.product-img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  margin: auto !important;
  border-radius: 6px !important;
  transform: scale(1.05) !important;
  transition: transform 0.2s ease !important;
}

.product-card:hover .product-img {
  transform: scale(1.08) !important;
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 2;
}

.card-body {
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

.brand-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.product-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8em;
}

.product-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 10px;
  min-height: 20px;
}

.rating-star {
  color: #f59e0b;
  font-weight: 700;
}

.price-container {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.main-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}

.orig-price-strike {
  font-size: 0.82rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.discount-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: #fef2f2;
  color: #ef4444;
}

.shipping-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 10px;
  width: fit-content;
}

.shipping-pill-tag.free {
  background: #e8f5e9;
  color: #2e7d32;
}

.shipping-pill-tag.fee {
  background: #f1f5f9;
  color: #64748b;
}

.stat-30d-compact {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.76rem;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.stat-30d-compact:hover {
  background: #f1f5f9;
}

.seller-row {
  font-size: 0.76rem;
  color: #64748b;
  margin-bottom: 14px;
}

.btn-cta-full {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
  margin-top: auto;
}

.btn-cta-full.shopee {
  background: #ee4d2d;
  box-shadow: 0 4px 12px rgba(238, 77, 45, 0.25);
}

.btn-cta-full.lazada {
  background: #0f146d;
  box-shadow: 0 4px 12px rgba(15, 20, 109, 0.25);
}

.btn-cta-full:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}


.card-badge.rank-1 {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border: 1px solid #b45309;
}

.card-badge.rank-2 {
  background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
  color: #ffffff;
  border: 1px solid #475569;
}

.card-badge.rank-3 {
  background: linear-gradient(135deg, #b45309 0%, #78350f 100%);
  color: #ffffff;
  border: 1px solid #451a03;
}

.promo-top-banner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(236, 72, 153, 0.3);
  text-decoration: none;
  transition: transform 0.15s ease;
}

.promo-top-banner:hover {
  transform: scale(1.03);
}

.filter-controls-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-top: 10px;
}

.filter-group-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
}


/* Minimal Platform Filter Buttons */
.plat-toggle-btn {
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.plat-toggle-btn.btn-all.active {
  background: #1e293b;
  color: #ffffff !important;
  border-color: #1e293b;
}

.plat-toggle-btn.btn-shopee.active {
  background: #ee4d2d;
  color: #ffffff !important;
  border-color: #ee4d2d;
}

.plat-toggle-btn.btn-lazada.active {
  background: #0f146d;
  color: #ffffff !important;
  border-color: #0f146d;
}

.badge-stack {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  z-index: 3;
}

.store-badge-sub {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}


/* Badge Stack Fix (No Overlap) */
.badge-stack {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  align-items: flex-start !important;
  z-index: 10 !important;
  pointer-events: none;
}

.badge-stack .card-badge,
.badge-stack .store-badge-sub {
  position: static !important;
  top: auto !important;
  left: auto !important;
  margin: 0 !important;
  display: inline-flex !important;
  width: max-content !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}




.shipping-badge-wrap.free {
  background: #ecfdf5;
  color: #065f46;
  border: 1.5px solid #a7f3d0;
}

.shipping-badge-wrap.free span {
  color: #047857;
  letter-spacing: 0.2px;
}

.shipping-badge-wrap.fee {
  background: #fffbeb;
  color: #92400e;
  border: 1.5px solid #fde68a;
}

.shipping-badge-wrap.fee span {
  color: #b45309;
}

.shipping-icon-img {
  height: 24px;
  width: 24px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
  vertical-align: middle;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}


/* Product Card & Badge Stack Clean Layout */
.product-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: var(--radius-lg) !important;
  background: #ffffff !important;
  border: 1px solid var(--border-subtle) !important;
  overflow: hidden !important;
}

.product-img-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 220px !important;
  background: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center !important;
  overflow: hidden !important;
}

.product-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 8px !important;
}

.badge-stack {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  z-index: 10 !important;
  pointer-events: none !important;
}

.badge-stack .card-badge {
  position: static !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
  white-space: nowrap !important;
}

.store-badge-sub {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 4px !important;
  display: inline-block !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1) !important;
}


/* Explicit Solid White Product Cards */
.product-card {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  position: relative !important;
}

.product-img-wrapper {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

.product-info {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

/* ==========================================================================
   BIG STANDALONE SHIPPING ICON (No BG, No Text, Big & Noticeable)
   ========================================================================== */
.shipping-badge-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin-top: 4px !important;
  margin-bottom: 6px !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  width: max-content !important;
}

.shipping-badge-wrap span {
  display: none !important;
}

.shipping-badge-wrap .shipping-icon-img {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  object-fit: contain !important;
  display: inline-block !important;
  vertical-align: middle !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.14)) !important;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.22s ease !important;
}

.shipping-badge-wrap:hover .shipping-icon-img {
  transform: scale(1.18) rotate(-4deg) !important;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.22)) !important;
}


/* ==========================================================================
   ULTRA FAST GPU-ACCELERATED SKELETON LOADING (Shimmer 60fps)
   ========================================================================== */
@keyframes shimmerPulse {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.skeleton-shimmer {
  background: linear-gradient(
    90deg,
    #f1f5f9 0%,
    #e2e8f0 40%,
    #f8fafc 50%,
    #e2e8f0 60%,
    #f1f5f9 100%
  ) !important;
  background-size: 200% 100% !important;
  animation: shimmerPulse 1.2s infinite cubic-bezier(0.4, 0, 0.2, 1) !important;
  will-change: background-position;
}

.skeleton-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: var(--radius-lg, 12px) !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  overflow: hidden !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
  pointer-events: none !important;
  min-height: 380px !important;
}

.skeleton-img-wrap {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  position: relative !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.skeleton-content {
  padding: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  flex: 1 !important;
}

.skeleton-line {
  border-radius: 6px !important;
}

.skeleton-line.eyebrow {
  width: 30% !important;
  height: 12px !important;
}

.skeleton-line.title-1 {
  width: 95% !important;
  height: 14px !important;
}

.skeleton-line.title-2 {
  width: 65% !important;
  height: 14px !important;
}

.skeleton-line.meta {
  width: 45% !important;
  height: 10px !important;
  margin-top: 2px !important;
}

.skeleton-line.price {
  width: 50% !important;
  height: 24px !important;
  margin: 4px 0 !important;
}

.skeleton-line.btn {
  width: 100% !important;
  height: 38px !important;
  border-radius: 8px !important;
  margin-top: auto !important;
}


/* Optimistic UI transitions */
.products-grid {
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.products-grid.is-loading {
  opacity: 0.85;
}

.category-tab-btn, .brand-chip, .platform-tab-btn {
  transition: transform 0.1s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.category-tab-btn:active, .brand-chip:active, .platform-tab-btn:active {
  transform: scale(0.96);
}





/* ==========================================================================
   BIG STANDALONE SHIPPING ICONS (Zero Borders, Pure Blend into Card)
   ========================================================================== */
.price-and-shipping-row {
  display: flex;
  align-items: center;
  justify-content: space-between !important;
  gap: 8px !important;
  margin: 6px 0 8px 0 !important;
  min-height: 48px !important;
}

.price-and-shipping-row .price-container {
  display: flex !important;
  align-items: baseline !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  margin: 0 !important;
  flex: 1 !important;
}

.price-and-shipping-row .shipping-badge-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}

.price-and-shipping-row .shipping-badge-wrap span {
  display: none !important;
}

/* Free shipping icon: 48px */
.price-and-shipping-row .shipping-badge-wrap.free .shipping-icon-img {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  object-fit: contain !important;
  display: block !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.12)) !important;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease !important;
}

/* Paid shipping icon: slightly larger 52px for perfect visual weight match */
.price-and-shipping-row .shipping-badge-wrap.fee .shipping-icon-img {
  width: 50px !important;
  height: 50px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  object-fit: contain !important;
  display: block !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.12)) !important;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease !important;
}

.price-and-shipping-row .shipping-badge-wrap:hover .shipping-icon-img {
  transform: scale(1.18) rotate(-4deg) !important;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.22)) !important;
}


/* ==========================================================================
   ALLONLINE PLATFORM THEME (Dark Navy Blue #1e3a8a)
   ========================================================================== */
.plat-toggle-btn.btn-allonline {
  color: #1e3a8a !important;
}

.plat-toggle-btn.btn-allonline.active {
  background: #1e3a8a !important;
  color: #ffffff !important;
  border-color: #1e3a8a !important;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.25) !important;
}

.btn-cta-full.allonline {
  background: #1e3a8a !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25) !important;
}

.btn-cta-full.allonline:hover {
  background: #172554 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.35) !important;
}




/* ==========================================================================
   ENLARGED & PROMINENT FILTER BUTTONS & ICONS (HD Clarity & Comfort)
   ========================================================================== */
.category-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 18px !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 14px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #334155 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04) !important;
}

.category-btn:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

.category-btn.active {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
  transform: translateY(-1px) scale(1.02) !important;
}

.category-btn.active svg {
  stroke: #ffffff !important;
}

.maincat-icon-img {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  object-fit: contain !important;
  display: inline-block !important;
  vertical-align: middle !important;
  border-radius: 6px !important;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.12)) !important;
  transition: transform 0.2s ease !important;
}

.category-btn:hover .maincat-icon-img {
  transform: scale(1.15) rotate(-3deg) !important;
}

.category-btn.active .maincat-icon-img {
  filter: brightness(1.1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25)) !important;
}

/* Sub-category pills enlarged */
.sub-cat-pill-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 16px !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 24px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
}

.sub-cat-pill-btn:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08) !important;
}

.sub-cat-pill-btn.active {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
  transform: translateY(-1px) scale(1.02) !important;
}

.sub-cat-pill-btn.active svg {
  stroke: #ffffff !important;
}

.subcat-chip-img {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  object-fit: contain !important;
  border-radius: 6px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1)) !important;
  transition: transform 0.2s ease !important;
}

.sub-cat-pill-btn:hover .subcat-chip-img {
  transform: scale(1.15) rotate(-3deg) !important;
}


/* ==========================================================================
   HIDE SCROLLBARS & PERFECT SUBCATEGORY BAR LAYOUT
   ========================================================================== */
.category-pills {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.category-pills::-webkit-scrollbar {
  display: none !important;
}

.sub-category-bar {
  display: flex;
  align-items: center;
  gap: 12px !important;
  padding: 10px 16px !important;
  background: #f8fafc !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  margin-bottom: 14px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.sub-category-bar::-webkit-scrollbar {
  display: none !important;
}

#sub-cat-buttons {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
}

/* Ensure single active state per group */
.sub-cat-pill-btn:not(.active) {
  background: #ffffff !important;
  color: #334155 !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.sub-cat-pill-btn:not(.active):hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  transform: translateY(-1px) !important;
}

.sub-cat-pill-btn.active {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
}


/* ==========================================================================
   FADED OUT-OF-STOCK PRODUCT CARDS & SUB-CATEGORY BAR CONTROLS
   ========================================================================== */
.sub-category-bar.hidden, #sub-category-bar[style*="display: none"] {
  display: none !important;
}

.product-card.card-faded {
  opacity: 0.42 !important;
  filter: grayscale(0.85) !important;
  transition: opacity 0.25s ease, filter 0.25s ease !important;
}

.product-card.card-faded:hover {
  opacity: 0.78 !important;
  filter: grayscale(0.2) !important;
}

.card-badge.badge-out-of-stock {
  background: #475569 !important;
  color: #f8fafc !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

.btn-cta-full.out-of-stock {
  background: #94a3b8 !important;
  color: #ffffff !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* ==========================================================================
   PRODUCT CARD IMAGE FIX & CONSISTENCY (NO VERTICAL STRETCH)
   ========================================================================== */
.product-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  height: 100% !important;
}

.card-img-wrap, .card-top {
  position: relative !important;
  width: 100% !important;
  height: 210px !important;
  min-height: 210px !important;
  max-height: 210px !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px !important;
  overflow: hidden !important;
  border-bottom: 1px solid #f1f5f9 !important;
  box-sizing: border-box !important;
}

.card-img, .product-img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  transition: transform 0.3s ease !important;
  display: block !important;
  margin: 0 auto !important;
}

.product-card:hover .card-img, .product-card:hover .product-img {
  transform: scale(1.05) !important;
}

.card-content, .card-body {
  padding: 12px 14px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

/* Follow Heart Toggle Button on Card */
.btn-card-follow {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(4px) !important;
  border: 1px solid #e2e8f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 10 !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  color: #94a3b8 !important;
  font-size: 1.15rem !important;
  padding: 0 !important;
}

.btn-card-follow:hover {
  transform: scale(1.12) !important;
  color: #ef4444 !important;
  background: #ffffff !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25) !important;
}

.btn-card-follow.active, .btn-card-follow.followed {
  color: #ef4444 !important;
  background: #fff1f2 !important;
  border-color: #fecdd3 !important;
}

.badge-stack {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  z-index: 5 !important;
  align-items: flex-start !important;
}

.badge-stack .card-badge, .badge-stack .store-badge-sub {
  position: static !important;
  display: inline-block !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
  margin: 0 !important;
}

/* ==========================================================================
   TOP-RIGHT NAVBAR ICONS & PROFILE CONTROLS
   ========================================================================== */
.header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

.header-nav-right {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.nav-btn-icon {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  padding: 6px 14px !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  min-width: 66px !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  text-decoration: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.nav-btn-icon:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06) !important;
}

.nav-icon-img {
  width: 37px !important;
  height: 37px !important;
  object-fit: contain !important;
  display: block !important;
}

.nav-btn-text {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #475569 !important;
  white-space: nowrap !important;
  line-height: 1.1 !important;
}

.nav-btn-icon.has-alert {
  border-color: #fca5a5 !important;
  background: #fff5f5 !important;
}

.nav-btn-icon.has-alert .nav-icon-img {
  animation: nav-alert-pulse 1.4s infinite !important;
}

@keyframes nav-alert-pulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(239, 68, 68, 0.8)); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 6px rgba(239, 68, 68, 1)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(239, 68, 68, 0.8)); }
}

.user-logged-badge {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 2px !important;
}

.user-avatar-circle {
  width: 33px !important;
  height: 33px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #7c4a27 0%, #5a3215 100%) !important;
  color: #ffffff !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ==========================================================================
   AUTHENTICATION & FOLLOWED PRODUCTS MODALS
   ========================================================================== */
.meow-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(5px) !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease !important;
}

.meow-modal-overlay.open {
  opacity: 1 !important;
  visibility: visible !important;
}

.meow-modal-box {
  background: #ffffff !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18) !important;
  width: 100% !important;
  max-width: 440px !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  padding: 28px 24px 24px !important;
  position: relative !important;
  transform: translateY(12px) scale(0.97);
  transition: transform 0.25s ease !important;
  border: 1px solid #e2e8f0 !important;
}

.meow-modal-box.wide {
  max-width: 680px !important;
}

.meow-modal-overlay.open .meow-modal-box {
  transform: translateY(0) scale(1) !important;
}

.modal-close-btn {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  background: #f1f5f9 !important;
  border: none !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: #64748b !important;
  font-size: 1.1rem !important;
  transition: all 0.15s ease !important;
}

.modal-close-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

.auth-tabs {
  display: flex !important;
  background: #f1f5f9 !important;
  border-radius: 12px !important;
  padding: 4px !important;
  margin-bottom: 20px !important;
}

.auth-tab-btn {
  flex: 1 !important;
  padding: 8px 12px !important;
  border: none !important;
  background: transparent !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  color: #64748b !important;
  border-radius: 9px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.auth-tab-btn.active {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
}

.auth-form-group {
  margin-bottom: 16px !important;
  text-align: left !important;
}

.auth-label {
  display: block !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  color: #334155 !important;
  margin-bottom: 6px !important;
}

.auth-input {
  width: 100% !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  border: 1.5px solid #cbd5e1 !important;
  font-size: 0.92rem !important;
  outline: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  box-sizing: border-box !important;
}

.auth-input:focus {
  border-color: #7c4a27 !important;
  box-shadow: 0 0 0 3px rgba(124, 74, 39, 0.15) !important;
}

/* Caps Lock Warning Banner */
.caps-lock-warning {
  display: none;
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  color: #b91c1c !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  margin-top: 6px !important;
}

/* Real-Time Password Checklist */
.pwd-checklist {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  margin-top: 8px !important;
  font-size: 0.8rem !important;
}

.pwd-check-item {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #64748b !important;
  margin-bottom: 4px !important;
  transition: color 0.2s ease !important;
}

.pwd-check-item:last-child {
  margin-bottom: 0 !important;
}

.pwd-check-item.valid {
  color: #16a34a !important;
  font-weight: 600 !important;
}

.pwd-check-item .check-icon {
  display: inline-flex !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.7rem !important;
  background: #e2e8f0 !important;
  color: #64748b !important;
}

.pwd-check-item.valid .check-icon {
  background: #dcfce7 !important;
  color: #16a34a !important;
}

.btn-auth-submit {
  width: 100% !important;
  padding: 12px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #7c4a27 0%, #5a3215 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(124, 74, 39, 0.35) !important;
  margin-top: 8px !important;
}

.btn-auth-submit:hover:not(:disabled) {
  transform: translateY(-1px) !important;
  background: linear-gradient(135deg, #8d552e 0%, #683a1b 100%) !important;
  box-shadow: 0 6px 16px rgba(124, 74, 39, 0.45) !important;
}

.btn-auth-submit:disabled {
  background: #cbd5e1 !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

.auth-divider {
  display: flex !important;
  align-items: center !important;
  margin: 18px 0 !important;
  color: #94a3b8 !important;
  font-size: 0.8rem !important;
}

.auth-divider::before, .auth-divider::after {
  content: "" !important;
  flex: 1 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.auth-divider span {
  padding: 0 10px !important;
}

.btn-line-login {
  width: 100% !important;
  padding: 11px !important;
  border-radius: 12px !important;
  background: #06C755 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.25) !important;
}

.btn-line-login:hover {
  background: #05b34c !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 14px rgba(6, 199, 85, 0.35) !important;
}

/* Followed Products List Cards inside Modal */
.followed-items-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin-top: 14px !important;
}

.followed-item-card {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 12px 14px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  transition: all 0.2s ease !important;
}

.followed-item-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.followed-item-img {
  width: 64px !important;
  height: 64px !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  padding: 4px !important;
  flex-shrink: 0 !important;
}

.followed-item-info {
  flex: 1 !important;
  text-align: left !important;
}

.followed-item-title {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin: 0 0 4px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.followed-item-prices {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.84rem !important;
}

.followed-cur-price {
  font-weight: 800 !important;
  color: #ea580c !important;
}

.followed-price-drop {
  background: #dcfce7 !important;
  color: #15803d !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
}

.btn-unfollow {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #64748b !important;
  padding: 6px 10px !important;
  border-radius: 8px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.btn-unfollow:hover {
  background: #fee2e2 !important;
  color: #dc2626 !important;
  border-color: #fca5a5 !important;
}

@media (max-width: 640px) {
  .nav-btn-text {
    display: none !important;
  }
  .nav-btn-icon {
    padding: 6px 8px !important;
  }
}



/* ==========================================================================
   MEOWDEAL CUTE COOKIE NOTICE BANNER STYLES
   ========================================================================== */
.meow-cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  opacity: 0;
  z-index: 99999;
  width: 90%;
  max-width: 560px;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  pointer-events: none;
}

.meow-cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.meow-cookie-banner.collapsing {
  transform: translateX(-50%) translateY(150%);
  opacity: 0;
  pointer-events: none;
}

.cookie-inner-box {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid #fed7aa;
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: 0 12px 36px rgba(234, 88, 12, 0.15), 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.cookie-cat-avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-info-text {
  flex: 1;
  min-width: 0;
}

.cookie-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
  flex-wrap: wrap;
}

.cookie-title-main {
  font-size: 0.9rem;
  font-weight: 800;
  color: #1e293b;
}

.cookie-pill-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid #bbf7d0;
  white-space: nowrap;
}

.cookie-body-text {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
  margin: 0;
}

.cookie-body-text strong {
  color: #0f172a;
}

.cookie-dismiss-btn {
  flex-shrink: 0;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s;
  margin-left: 4px;
}

.cookie-dismiss-btn:hover {
  background: #ea580c;
  color: #ffffff;
  transform: scale(1.08);
}

@media (max-width: 600px) {
  .cookie-inner-box {
    padding: 12px 14px;
    gap: 10px;
  }
  .cookie-cat-avatar img {
    width: 32px !important;
    height: 32px !important;
  }
  .cookie-title-main {
    font-size: 0.82rem;
  }
  .cookie-body-text {
    font-size: 0.72rem;
  }
}


/* Lazada Purple Stroke Button */
.btn-lazada-purple {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1.5px solid #7c3aed !important;
  color: #7c3aed !important;
  background: #ffffff !important;
  font-weight: 800 !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.2s !important;
}

.btn-lazada-purple:hover {
  background: #7c3aed !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25) !important;
  transform: translateY(-1px) !important;
}
