﻿/* Inline SVG icons — vertical align for text-adjacent icons */
.hero-promo-banner-eyebrow svg, .more-comparisons-title svg,
.deals-title svg, .product-instant svg, .card-location svg,
.sitemap-cat-title svg, h2 > svg { vertical-align: middle; }

/* BDStall — pages/home.css
   Home page sections (hero, deals, trending, stalls, blog, etc). */

  /* ── HERO TAGLINE (below banner) ── */
  .hero-tagline {
    position: relative;
    margin-top: 12px;
    background: linear-gradient(135deg, var(--green-subtle) 0%, #fff 45%, var(--orange-subtle) 100%);
    border-bottom: 1px solid var(--color-border-tertiary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }
  /* Two-tone gradient top border: green left, orange right */
  .hero-tagline::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--green) 0%, var(--green) 50%, var(--orange) 50%, var(--orange) 100%);
  }
  .hero-tagline-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 11px 16px;
    text-align: center;
  }
  .hero-tagline-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 10px;
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-text-secondary);
    letter-spacing: 0.01em;
  }
  /* Logo-style brand: BD green, Stall orange */
  .hero-tagline-logo {
    font-size: inherit;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
  }
  .hero-tagline-bd    { color: var(--green); }
  .hero-tagline-stall { color: var(--orange); }
  /* Small dot separator */
  .hero-tagline-dot {
    display: inline-block;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
  }
  .hero-tagline-main {
    color: var(--color-text-primary);
    font-weight: 600;
  }
  .hero-tagline-cta {
    font-weight: 700;
    color: var(--orange-dark);
  }
  @media (max-width: 479px) {
    .hero-tagline-text  { font-size: 0.7125rem; gap: 0 7px; }
    .hero-tagline-dot   { width: 4px; height: 4px; }
  }
  @media (min-width: 768px) {
    .hero-tagline-inner { padding: 12px 24px; }
    .hero-tagline-text  { font-size: 0.9375rem; }
    .hero-tagline-dot   { width: 6px; height: 6px; }
  }
  @media (min-width: 1024px) {
    .hero-tagline-inner { padding: 7px 0; }
  }

  /* ── HERO ── */
  .hero {
    background:
      radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245,131,32,0.10) 0%, transparent 55%),
      radial-gradient(ellipse 100% 80% at 80% 100%, rgba(20,154,73,0.08) 0%, transparent 50%),
      var(--color-bg-page);
    position: relative; overflow: hidden;
  }
  .hero-decoration { display: none; }

  /* Live market activity — box style */
  .hero-banner {
    background: var(--color-bg-page);
    border-bottom: 1px solid var(--color-border-warm);
    padding: 8px 16px;
  }
  .hero-banner-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  }
  .hero-banner-label {
    display: inline-flex; align-items: center; gap: 5px;
    background: var(--green-dark); color: white;
    font-size: 0.6875rem; font-weight: 800;
    padding: 4px 10px; border-radius: 6px;
    white-space: nowrap; flex-shrink: 0;
    letter-spacing: 0.02em;
  }
  .hero-banner-scroll {
    overflow: hidden; flex: 1; min-width: 0;
  }
  .hero-banner-track {
    display: inline-flex; gap: 6px;
    animation: bannerScroll 60s linear infinite;
  }
  .hero-banner-track:hover { animation-play-state: paused; }
  @keyframes bannerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  .hero-banner-item {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 12px;
    background: white; border: 1px solid var(--color-border-warm); border-radius: 6px;
    font-size: 0.75rem; font-weight: 500; color: #3A3830;
    white-space: nowrap; cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
    text-decoration: none;
  }
  .hero-banner-item:hover { border-color: var(--green); color: var(--green-dark); }
  .hero-banner-bullet {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--green); flex-shrink: 0;
  }
  .hero-banner-thumb {
    width: 22px; height: 22px; border-radius: 50%;
    object-fit: cover; flex-shrink: 0;
    margin-left: -4px;
  }
  @media (min-width: 768px) {
    .hero-banner { padding: 8px 24px; }
    .hero-banner-track { gap: 8px; }
    .hero-banner-item { font-size: 0.8125rem; padding: 5px 14px; }
  }

  /* Hero body */
  .hero-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 0 16px 0;
    position: relative; text-align: center;
  }
  .hero-stats {
    display: flex; gap: 0;
    background: rgba(0,0,0,0.15); border-radius: 8px;
    overflow: hidden;
  }
  .hero-stat {
    flex: 1; padding: 9px 6px; text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
  }
  .hero-stat:last-child { border-right: none; }
  .hero-stat strong { display: block; font-size: 0.9375rem; font-weight: 700; line-height: 1.1; }
  .hero-stat span { font-size: 0.625rem; opacity: 0.8; }

  /* Recently listed strip */
  .hero-strip-wrap {
    position: relative; z-index: 1;
    margin: 6px -16px 0;
    padding: 0 16px 14px;
    background: rgba(255,255,255,0.6);
    border-top: 1px solid #EEE9DC;
    overflow: hidden;
  }
  .hero-strip-wrap::after { display: none; }
  .hero-strip-label {
    font-size: 0.75rem; font-weight: 700; color: #6B6558;
    text-transform: capitalize; letter-spacing: 0.6px;
    margin: 8px 0 6px; text-align: left;
    display: flex; align-items: center; gap: 7px;
  }
  .hero-strip-label::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: var(--green); box-shadow: 0 0 7px var(--green); flex-shrink: 0;
  }
  .hero-strip {
    display: flex; gap: 10px;
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .hero-strip::-webkit-scrollbar { display: none; }
  .hero-product-card {
    display: block;
    flex-shrink: 0;
    width: calc((100% - 20px) / 3); /* 3 cards · gap 10px · (3-1)*10=20 */
    min-width: 80px;
    background: white; border-radius: 10px; overflow: hidden; cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 1px solid #EEE9DC;
  }
  .hero-product-card-image {
    width: 100%; aspect-ratio: 1;
    display: flex; align-items: center; justify-content: center; font-size: 2rem;
    padding: 8px; overflow: hidden; position: relative;
  }
  .hero-product-card-body { padding: 6px 8px 9px; }
  /* Stall count — top-right, flat green pill, bold number */
  .hero-product-card-stalls {
    position: absolute; top: 6px; right: 6px; z-index: 2;
    display: inline-flex; align-items: baseline; gap: 3px;
    background: #149A49; color: white;
    border-radius: 6px;
    font-size: 0.5625rem; font-weight: 600;
    padding: 3px 7px; line-height: 1;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.18);
  }
  .hero-product-card-stalls strong {
    font-size: 0.8125rem; font-weight: 800; line-height: 1;
  }
  /* More than one seller — orange to signal price comparison */
  .hero-product-card-stalls.is-multi { background: #E5710C; }
  .hero-product-card-name {
    font-size: 0.75rem; font-weight: 600; color: var(--color-text-primary);
    margin: 0 0 3px; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
  }
  .hero-product-card-price { font-size: 0.875rem; font-weight: 800; color: var(--green-dark); margin: 0; }

  .hero-product-card-image img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform 0.35s ease; }
  .hero-product-card:hover .hero-product-card-image img { transform: scale(1.08); }

  @media (min-width: 768px) {
    .hero-banner-label { padding: 11px 20px; font-size: 0.75rem; }
    .hero-banner-item { font-size: 0.875rem; padding: 11px 32px; }
    .hero-banner-thumb { width: 26px; height: 26px; font-size: 0.9375rem; }
    .hero-inner { padding: 4px 24px 0; }
    .hero-stat { padding: 11px 16px; }
    .hero-stat strong { font-size: 1.25rem; }
    .hero-stat span { font-size: 0.75rem; }
    .hero-strip-wrap { margin: 12px 0 0; padding: 14px 16px 18px; }
    .hero-strip { gap: 14px; }
    .hero-product-card { width: calc((100% - 56px) / 5); border-radius: 12px; } /* 5 cards · (5-1)*14=56 */
    .hero-product-card-image { font-size: 2.5rem; }
    .hero-product-card-body { padding: 9px 10px 11px; }
    .hero-product-card-name { font-size: 0.75rem; }
    .hero-product-card-price { font-size: 0.9375rem; }
    .hero-strip-label { font-size: 0.8125rem; margin-bottom: 10px; }
  }
  @media (min-width: 1024px) {
    .hero-inner { padding: 4px 0 0; }
    .hero-product-card { width: calc((100% - 70px) / 6); } /* 6 cards · (6-1)*14=70 */
  }
  @media (min-width: 1280px) {
    .hero-product-card { width: calc((100% - 98px) / 8); } /* 8 cards · (8-1)*14=98 */
  }

  /* ── HOME BANNER SLIDER ── */
  .home-slider { position: relative; width: 100%; overflow: hidden; border-radius: 10px; margin: 10px 0 0; background: #f3f4f6; aspect-ratio: 8 / 5; }
  @media (min-width: 768px) { .home-slider { aspect-ratio: 4 / 1; } }
  .home-slider-track { display: flex; height: 100%; transition: transform 0.5s cubic-bezier(.4,0,.2,1); will-change: transform; }
  .home-slider-slide { flex-shrink: 0; width: 100%; height: 100%; display: block; text-decoration: none; }
  .home-slider-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .home-slider-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 10; }
  .home-slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.55); border: none; cursor: pointer; padding: 0; transition: all 0.2s; }
  .home-slider-dot.active { background: #fff; width: 22px; border-radius: 4px; }

  /* ── HERO PROMO BANNER (featured category) ── */
  .hero-promo-banner {
    display: block; margin: 10px 0 0;
    text-decoration: none; color: #1A2B3F;
    border-radius: 12px; overflow: hidden; position: relative;
    background: linear-gradient(135deg, #F0F7FF 0%, #E4EFFC 100%);
    border: 1px solid #D6E4F5;
    box-shadow: 0 2px 8px rgba(15,61,106,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .hero-promo-banner:hover {
    box-shadow: 0 6px 18px rgba(15,61,106,0.12);
    transform: translateY(-1px);
  }
  .hero-promo-banner::before {
    content: ''; position: absolute; top: -40px; right: -40px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(245,131,32,0.15) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero-promo-banner-inner {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; position: relative; z-index: 1;
  }
  .hero-promo-banner-text { flex: 1; min-width: 0; }
  .hero-promo-banner-eyebrow {
    display: inline-flex; align-items: center;
    padding: 3px 10px;
    background: rgba(245,131,32,0.12); border: 1px solid rgba(245,131,32,0.3);
    border-radius: 100px; font-size: 0.6875rem; font-weight: 700;
    color: #C25800; letter-spacing: 0.04em; margin-bottom: 6px;
  }
  .hero-promo-banner-title {
    font-size: 1rem; font-weight: 800; margin: 0 0 3px;
    line-height: 1.15; letter-spacing: -0.015em; color: #1A2B3F;
  }
  .hero-promo-banner-title em { font-style: normal; color: #D26200; }
  .hero-promo-banner-description { font-size: 0.8125rem; color: #4A5A6E; margin: 0 0 8px; line-height: 1.4; }
  .hero-promo-banner-action {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; background: var(--orange); color: white;
    border-radius: 100px; font-size: 0.8125rem; font-weight: 700;
    box-shadow: 0 2px 8px rgba(245,131,32,0.25);
  }
  .hero-promo-banner-arrow { transition: transform 0.18s ease; font-weight: 800; }
  .hero-promo-banner:hover .hero-promo-banner-arrow { transform: translateX(3px); }
  .hero-promo-banner-visual { flex-shrink: 0; }
  .hero-promo-banner-image {
    position: relative; width: 76px; height: 76px;
    background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.3) 100%);
    border: 1px solid rgba(214,228,245,0.8); border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
  }
  .hero-promo-banner-emoji { display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.18)); }
  .hero-promo-banner-tag {
    position: absolute; bottom: -6px; right: -6px;
    background: var(--orange); color: white;
    font-size: 0.625rem; font-weight: 800;
    padding: 3px 8px; border-radius: 100px;
    box-shadow: 0 2px 6px rgba(245,131,32,0.3); letter-spacing: 0.02em;
  }
  @media (min-width: 768px) {
    .hero-promo-banner { margin: 8px 0; border-radius: 14px; }
    .hero-promo-banner-inner { padding: 16px 22px; gap: 18px; }
    .hero-promo-banner-eyebrow { font-size: 0.75rem; }
    .hero-promo-banner-title { font-size: 1.375rem; margin-bottom: 5px; }
    .hero-promo-banner-description { font-size: 0.875rem; margin-bottom: 10px; }
    .hero-promo-banner-action { padding: 7px 16px; font-size: 0.875rem; }
    .hero-promo-banner-image { width: 90px; height: 90px; }
    .hero-promo-banner-emoji svg { width: 48px; height: 48px; }
    .hero-promo-banner-tag { font-size: 0.75rem; padding: 4px 10px; bottom: -8px; right: -8px; }
  }

  /* ── INSTANT COMPARISONS (mobile base) ── */
  .comparisons-section { background: var(--color-bg-page); }
  .comparisons-inner { max-width: 1200px; margin: 0 auto; padding: 16px 16px 0; }
  .section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; gap: 8px; }
  .section-title { font-size: 1.0625rem; font-weight: 700; color: var(--orange-dark); margin: 0; }
  .section-sub { font-size: 0.8125rem; color: var(--orange-dark); margin: 3px 0 0; }


  /* ──────────────────────────────────────────────────────────
     Multiple Sellers · Best Price for You — mobile base
     ────────────────────────────────────────────────────────── */
  .comparisons-inner { padding: 14px 12px; }

  /* ──────────────────────────────────────────────────────────
     Featured comparison card — selectable product, tabular sellers
     ────────────────────────────────────────────────────────── */
  /* One connected card wrapping selector + seller table + trust footer */
  .compare-widget {
    background: white; border: 1px solid var(--color-border-tertiary); border-radius: 12px;
    overflow: hidden; margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    --compare-tab-h: 66px;
    --compare-left-w: 38%;
  }
  /* Mobile: product selector sits above the seller table. */
  .compare-layout {
    display: flex; flex-direction: column;
    min-height: 0;
  }
  /* Product tabs scroll horizontally on mobile; desktop restores the left rail. */
  .compare-col-tabs {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    background: #FAFAF6;
    display: flex; flex-direction: row;
    align-items: flex-end;
    gap: 8px;
    padding: 10px 10px 0;
    overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
    scroll-snap-type: x proximity;
    border-bottom: 1px solid var(--color-border-tertiary);
  }
  .compare-col-tabs::-webkit-scrollbar { display: none; }

  .compare-tab {
    box-sizing: border-box;
    flex: 0 0 min(250px, 76vw);
    min-height: var(--compare-tab-h);
    scroll-snap-align: start;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 13px;
    border: 1px solid #ECEAE4; background: white; cursor: pointer;
    border-radius: 8px 8px 0 0;
    position: relative; text-align: left;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  }
  /* Selected tab uses the same light-green highlight as the .is-best seller row. */
  .compare-tab.is-selected {
    background: #D5EFBF;
    border-color: #B7DC9A;
    border-bottom-color: #D5EFBF;
    margin-bottom: -1px;
    box-shadow: inset 4px 0 0 var(--green-dark);
    z-index: 2;
  }
  .compare-tab:hover:not(.is-selected) { background: #EEEEE9; }

  .compare-tab-img {
    flex-shrink: 0; width: 58px; height: 58px;
    display: flex; align-items: center; justify-content: center;
    background: white; border-radius: 8px;
    border: 1px solid #ECEAE4; padding: 5px;
  }
  .compare-tab.is-selected .compare-tab-img {
    border-color: var(--green); box-shadow: 0 0 0 2px rgba(20,154,73,0.15);
  }
  .compare-tab-img img { width: 100%; height: 100%; object-fit: contain; display: block; }

  .compare-tab-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
  .compare-tab-name {
    font-size: 0.75rem; font-weight: 600; color: #2A2A2A; line-height: 1.3;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 18ch;
  }
  .compare-tab.is-selected .compare-tab-name { font-weight: 700; color: #1A1A1A; }
  .compare-tab-price { font-size: 0.8125rem; font-weight: 800; color: var(--green-dark); white-space: nowrap; font-variant-numeric: tabular-nums; }
  .compare-tab-sellers {
    font-size: 0.6875rem; font-weight: 800;
    background: var(--green-dark); color: white;
    padding: 2px 7px; border-radius: 100px; align-self: flex-start;
  }
  /* RIGHT: seller table — no scroll; grows via "See N more stalls". */
  .featured-compare-card {
    min-width: 0; display: flex; flex-direction: column;
    background: #D5EFBF;
  }
  .compare-panel { display: flex; flex-direction: column; height: 100%; }
  .compare-panel[hidden] { display: none; }
  .compare-panel .seller-compare-table { flex: 1 0 auto; }

  @media (max-width: 767px) {
    .compare-widget { --compare-left-w: 46%; }
  }
  @media (max-width: 479px) {
    .compare-widget { --compare-tab-h: 66px; --compare-left-w: 50%; }
    .compare-tab { flex-basis: min(240px, 84vw); padding: 9px 12px 9px 9px; gap: 8px; }
    .compare-tab-img { width: 52px; height: 52px; }
    .compare-tab-name { font-size: 0.625rem; max-width: 12ch; }
    .compare-tab-price { font-size: 0.6875rem; }
  }

  /* Header bar is desktop-only; mobile stacks products above the seller rows. */
  .compare-head-bar {
    display: none;
    grid-template-columns: var(--compare-left-w) 1fr minmax(80px, auto);
    column-gap: 10px; align-items: center;
    background: #F2F1EB; border-bottom: 1px solid #E2E0D8;
    font-size: 0.625rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px;
    color: #7A746A;
  }
  .compare-head-cell { padding: 8px 4px; }
  .compare-head-products {
    padding-left: 14px; margin-right: -10px;
    border-right: 1px solid #E2E0D8;
  }
  .seller-head-stall { padding-left: 8px; }
  /* Hidden on mobile — location moves under the seller name in each row */
  .seller-head-loc { display: none; }
  /* Price label aligns with the price values below (seller-row right padding = 12px) */
  .seller-head-price { text-align: right; padding-right: 12px; }

  /* Seller comparison table — mobile: 2-col grid (info | price) with location under name */
  .seller-compare-table {
    box-sizing: border-box;
    display: flex; flex-direction: column;
    gap: 0;
    padding: 0;
    background: #D5EFBF;
    border-top: 1px solid #B7DC9A;
  }
  .seller-row {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 4px 12px;
    padding: 12px 14px;
    border: none;
    border-top: 1px solid #B7DC9A;
    border-radius: 0;
    text-decoration: none; color: inherit;
    background: #D5EFBF;
  }
  .seller-row:first-child { border-top: none; }
  .seller-row[hidden] { display: none; }
  /* recommended row keeps the green accent bar to stand out */
  .seller-row.is-best {
    box-shadow: inset 4px 0 0 var(--green-dark);
  }
  /* Mobile grid placement: badge+name in row 1 col 1, location in row 2 col 1, price spans both rows */
  .seller-row-main { grid-column: 1; grid-row: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
  .seller-row-loc  { grid-column: 1; grid-row: 2; }
  .seller-row-side { grid-column: 2; grid-row: 1 / span 2; align-self: center; flex-shrink: 0; text-align: right; display: flex; flex-direction: column; gap: 1px; }
  .seller-row-label {
    align-self: flex-start;
    font-size: 0.625rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px;
    color: #5A5855; background: #E8E6E0;
    padding: 1px 5px; border-radius: 20px;
    border: 1px solid #D4D0CA;
    line-height: 1.5;
  }
  .seller-row.is-best .seller-row-label {
    background: var(--green-dark); color: white;
    border-color: var(--green-dark);
  }
  /* Per-label color coding via modifier class on the row */
  .seller-row--top-rated .seller-row-label  { background: #FEF3C7; color: #92400E; border-color: #FDE68A; }
  .seller-row--fast .seller-row-label       { background: #DBEAFE; color: #1E40AF; border-color: #BFDBFE; }
  .seller-row--new .seller-row-label        { background: #EDE9FE; color: #5B21B6; border-color: #DDD6FE; }

  .seller-row-name {
    font-size: 0.6875rem; font-weight: 700; color: #1A1A1A;
    display: inline-flex; align-items: center; gap: 4px;
    flex-wrap: wrap; overflow: hidden;
  }
  /* Rating wraps to its own line below the seller name on mobile */
  .seller-row-rating { font-size: 0.5625rem; font-weight: 700; color: #C25800; margin-left: 0; width: 100%; }
  .seller-row-loc {
    display: flex; align-items: center; gap: 4px;
    font-size: 0.6875rem; font-weight: 500; color: #4A4740;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .seller-row-loc svg { flex-shrink: 0; color: var(--green-dark); }
  .seller-row-price {
    font-size: 1rem; font-weight: 800; color: #1A1A1A;
    line-height: 1.1; white-space: nowrap;
    display: flex; align-items: baseline; gap: 1px; justify-content: flex-end;
  }
  .seller-row.is-best .seller-row-price { color: var(--green-dark); }
  .seller-row-offer { font-size: 0.6875rem; font-weight: 700; color: var(--green-dark); white-space: nowrap; }
  .seller-row-offer.is-info { color: var(--color-text-tertiary); font-weight: 600; }

  @media (max-width: 479px) {
    .seller-row { padding: 12px; grid-template-columns: minmax(0, 1fr) auto; }
    .seller-row-price { font-size: 0.9375rem; }
  }

  /* Footer toggle — reveals the remaining stalls inline */
  .see-more-stalls {
    display: block; width: 100%; box-sizing: border-box;
    text-align: center; cursor: pointer; text-decoration: none;
    padding: 10px 12px; border: none; border-top: 1px solid #B7DC9A;
    background: white; font: inherit;
    font-size: 0.75rem; color: var(--orange-dark); font-weight: 700;
  }
  .see-more-stalls:hover { background: #FFF7EF; }
  .see-all-offers { color: #185FA5; }
  .seller-row-verified { display: inline-flex; vertical-align: middle; color: #185FA5; margin-left: 4px; }

  /* More live comparisons */
  .more-comparisons {
    padding: 12px; border-bottom: 1px solid #F0EFE9;
  }
  .more-comparisons-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 8px; }
  .more-comparisons-title { font-size: 0.875rem; font-weight: 700; color: #1A1A1A; margin: 0; }
  .more-comparisons-link { font-size: 0.6875rem; font-weight: 600; color: var(--orange-dark); text-decoration: none; white-space: nowrap; }
  /* Horizontal slider — same behaviour on mobile and desktop */
  .more-comparisons-grid {
    display: flex; gap: 8px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    scroll-behavior: smooth;
  }
  .more-comparisons-grid::-webkit-scrollbar { display: none; }

  /* Product selector — each card is a tab that swaps the panel below */
  .mini-compare-card {
    position: relative; box-sizing: border-box;
    flex: 0 0 240px; scroll-snap-align: start;
    display: flex; align-items: center; gap: 10px;
    padding: 8px; background: #FAFAF5;
    border: 1.5px solid transparent; border-radius: 8px;
    text-align: left; font: inherit; color: inherit; cursor: pointer;
  }
  .mini-compare-card.is-selected {
    border-color: var(--green); background: white;
    box-shadow: 0 1px 6px rgba(20,154,73,0.15);
  }
  .mini-compare-image {
    flex: 0 0 50px; width: 50px; height: 50px;
    background: white; border-radius: 6px; padding: 4px;
    display: flex; align-items: center; justify-content: center;
  }
  .mini-compare-image img { width: 100%; height: 100%; object-fit: contain; display: block; }
  .mini-compare-text { flex: 1; min-width: 0; }
  .mini-compare-name {
    display: block; font-size: 0.8125rem; font-weight: 700; color: #1A1A1A;
    margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .mini-compare-sellers {
    display: inline-block; background: var(--green-subtle); color: var(--green-dark);
    font-size: 0.625rem; font-weight: 700; padding: 1px 6px; border-radius: 3px;
    margin: 2px 0;
  }
  .mini-compare-price { display: block; font-size: 0.75rem; font-weight: 700; color: #1A1A1A; margin: 0; }
  .mini-compare-check {
    position: absolute; top: 8px; right: 8px;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--green); color: white;
    font-size: 0.6875rem; line-height: 1;
    display: none; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .mini-compare-card.is-selected .mini-compare-check { display: flex; }

  /* Trust signals */
  .trust-signals {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
    padding: 12px; border-top: 1px solid #F0EFE9; background: #FAFAF6;
  }
  .trust-signal { display: flex; gap: 8px; align-items: center; }
  .trust-signal-icon {
    flex: 0 0 32px; width: 32px; height: 32px;
    background: var(--green-subtle); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--green-dark);
  }
  .trust-signal-title { font-size: 0.75rem; font-weight: 700; color: #1A1A1A; margin: 0; line-height: 1.2; }
  .trust-signal-sub { font-size: 0.6875rem; color: var(--color-text-secondary); margin: 1px 0 0; }

  @media (min-width: 768px) {
    .comparisons-inner { padding: 18px 24px; }
    .section-title { font-size: 1.375rem; }

    /* Desktop: restore side-by-side product rail, 4-column header, and 3-column seller rows */
    .compare-layout {
      position: relative; display: block;
      min-height: calc(var(--compare-tab-h) * 3);
    }
    .compare-col-tabs {
      position: absolute; top: 0; left: 0; bottom: 0;
      width: var(--compare-left-w);
      background: #F7F7F4;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      padding: 0;
      overflow-x: hidden; overflow-y: auto;
      scroll-snap-type: y mandatory;
      border-right: 1px solid var(--color-border-tertiary);
      border-bottom: none;
    }
    .compare-tab {
      flex: 0 0 var(--compare-tab-h); height: var(--compare-tab-h);
      padding: 40px 13px;
      background: none;
      border-radius: 0;
      border-left: 3px solid transparent;
      border-top: none;
      border-right: 1px solid var(--color-border-tertiary);
      border-bottom: 1px solid #ECEAE4;
      box-shadow: none;
    }
    .compare-tab:last-child { border-right: 1px solid var(--color-border-tertiary); border-bottom: none; }
    .compare-tab.is-selected {
      border-left-color: transparent;
      border-bottom-color: #B7DC9A;
      border-right-color: transparent;
      margin-right: -1px;
      margin-bottom: 0;
      box-shadow: inset 4px 0 0 var(--green-dark);
    }
    .featured-compare-card { margin-left: var(--compare-left-w); background: transparent; }
    .seller-compare-table {
      gap: 0;
      padding: 0;
      background: transparent;
      border-top: none;
    }
    .compare-head-bar {
      display: grid;
      grid-template-columns: var(--compare-left-w) minmax(0, 1fr) minmax(0, 1fr) minmax(96px, auto);
    }
    .seller-head-loc { display: block; }
    .seller-row {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(96px, auto);
      grid-template-rows: auto;
      align-items: center;
      gap: 10px;
      padding: 11px 16px;
      border: none;
      border-top: 1px solid #B7DC9A;
      border-radius: 0;
    }
    .seller-row:first-child { border-top: none; }
    .seller-row-main { grid-column: auto; grid-row: auto; }
    .seller-row-loc  { grid-column: auto; grid-row: auto; }
    .seller-row-side { grid-column: auto; grid-row: auto; align-self: auto; }
    .seller-row-label { font-size: 0.5625rem; padding: 2px 7px; letter-spacing: 0.6px; }
    .seller-row-name { font-size: 0.9375rem; flex-wrap: nowrap; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .seller-row-rating { font-size: 0.6875rem; margin-left: 5px; width: auto; }
    .seller-row-loc  { font-size: 0.75rem; }
    .seller-row-price { font-size: 1rem; }
    .see-more-stalls { font-size: 0.8125rem; padding: 11px; }

    /* Comparison slider: roomier cards/gap on desktop (still horizontal) */
    .more-comparisons-grid { gap: 12px; }
    .mini-compare-card { flex-basis: 264px; padding: 12px; }
    .mini-compare-image { flex: 0 0 60px; width: 60px; height: 60px; }

    /* Trust signals: 4 columns on desktop */
    .trust-signals { grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 16px; }
    .trust-signal-icon { flex: 0 0 40px; width: 40px; height: 40px; }
    .trust-signal-title { font-size: 0.875rem; }
    .trust-signal-sub { font-size: 0.75rem; }
  }

  /* Match the hero/bargain: go full 1200px width (no side padding) on wide screens */
  @media (min-width: 1024px) {
    .comparisons-inner { padding: 18px 0; }
  }

  /* ── BARGAIN ZONE (mobile base) ── */
  .bargain-section { background: var(--color-bg-page); border-top: 1px solid #E0DDD6; border-bottom: 1px solid #E0DDD6; }
  .bargain-inner { max-width: 1200px; margin: 0 auto; padding: 14px; }
  .bargain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
  .card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #EDE8E0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s;
  }
  .card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.11);
    border-color: #D4C8B8;
    transform: translateY(-2px);
  }
  .card-img {
    position: relative;
    aspect-ratio: 4/3;
    background: #fff;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    border-bottom: 1px solid #F0EBE3;
    padding: 10px;
  }
  .card-img img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform 0.35s ease; }
  .card:hover .card-img img { transform: scale(1.06); }
  .card-tag {
    position: absolute; top: 10px; left: 10px;
    color: #fff;
    font-size: 0.6rem; font-weight: 800;
    padding: 3px 9px 3px 7px;
    border-radius: 20px;
    text-transform: uppercase; letter-spacing: 0.07em;
    display: inline-flex; align-items: center; gap: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.22);
    backdrop-filter: blur(2px);
    line-height: 1.5;
    white-space: nowrap;
    z-index: 2;
  }
  .card-tag::before {
    content: '';
    display: inline-block;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    flex-shrink: 0;
  }
  .card-tag.tag-new {
    background: linear-gradient(135deg, #e8420e 0%, #ff6a38 100%);
    animation: tag-pulse 2.4s ease-in-out infinite;
  }
  .card-tag.tag-used {
    background: linear-gradient(135deg, #5a5550 0%, #7a736a 100%);
  }
  .card-tag.tag-rental {
    background: linear-gradient(135deg, #1469b5 0%, #2a87de 100%);
  }
  .card-tag.tag-job {
    background: linear-gradient(135deg, #0d7f55 0%, #16a870 100%);
  }
  @keyframes tag-pulse {
    0%, 100% { box-shadow: 0 2px 6px rgba(232,66,14,0.35); }
    50%       { box-shadow: 0 2px 12px rgba(232,66,14,0.7), 0 0 0 3px rgba(232,66,14,0.15); }
  }
  .card-year { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.65); color: white; font-size: 0.625rem; padding: 3px 6px; border-radius: 4px; }
  .card-body {
    padding: 10px 12px 12px;
    background: #FDFAF6;
  }
  .card-title { font-size: 0.8125rem; font-weight: 600; margin: 0 0 5px; line-height: 1.35; color: var(--color-text-primary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.2rem; }
  .card-price { font-size: 0.9375rem; font-weight: 800; color: var(--green-dark); margin: 5px 0 4px; }
  .card-location { font-size: 0.6875rem; color: #8A8680; margin: 0; display: flex; align-items: center; gap: 3px; }

  @media (min-width: 768px) {
    .bargain-inner { padding: 18px 0; }
    .bargain-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .card-body { padding: 12px 14px 14px; }
    .card-title { font-size: 0.875rem; min-height: 2.37rem; }
    .card-price { font-size: 1.0625rem; }
  }

  /* ── TRENDING + LIVE (mobile base) ── */
  .trending-section { max-width: 1200px; margin: 0 auto; padding: 14px; }
  .trending-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .product-card {
    background: white;
    border: 1px solid var(--color-border-tertiary);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }
  .product-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
    border-color: #C8C8C2;
    transform: translateY(-2px);
  }

  /* Image area */
  .product-img {
    aspect-ratio: 1;
    position: relative;
    background: #F5F5F2;
    overflow: hidden;
  }

  /* Progressive image: blurred placeholder sits behind (z-index 1), crisp img on top (z-index 2) */
  .product-img-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(12px);
    transform: scale(1.08); /* hide blur fringe at edges */
    transition: opacity 0.4s ease;
    z-index: 1;
  }
  .product-img-placeholder.is-hidden {
    opacity: 0;
  }
  .product-img-crisp {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    display: block;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.35s ease;
    box-sizing: border-box;
    z-index: 2;
  }
  .product-img-crisp.is-loaded {
    opacity: 1;
  }
  .product-card:hover .product-img-crisp { transform: scale(1.06); }

  .product-img-tag {
    position: absolute; top: 8px; left: 8px;
    background: var(--green-dark); color: white;
    font-size: 0.6875rem; font-weight: 600;
    padding: 3px 8px; border-radius: 4px;
    z-index: 2;
  }
  .product-stall-badge {
    position: absolute; bottom: 8px; right: 8px;
    background: rgba(255,255,255,0.95); color: var(--green);
    font-size: 0.6875rem; font-weight: 700;
    padding: 3px 8px; border-radius: 4px;
    border: 1px solid var(--green);
    z-index: 2;
    backdrop-filter: blur(4px);
  }

  /* Card body */
  .product-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .product-name {
    font-size: 0.8125rem; font-weight: 600; color: var(--color-text-primary);
    margin: 0 0 6px; line-height: 1.4; min-height: 36px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .product-price { font-size: 1.0625rem; font-weight: 800; color: var(--green-dark); margin: 0 0 2px; }
  .product-save {
    font-size: 0.75rem; color: var(--orange-dark); font-weight: 600; margin: 0 0 4px;
    display: flex; align-items: center; gap: 4px;
  }
  .product-save::before { content: '↓'; font-size: 0.8em; }
  .product-instant { font-size: 0.75rem; color: var(--color-text-secondary); font-weight: 500; margin: 0 0 10px; }
  .btn-compare-full {
    display: block; box-sizing: border-box; text-align: center;
    width: 100%; padding: 10px;
    background: var(--orange-dark); color: white;
    border: none; border-radius: 6px;
    font-size: 0.8125rem; font-weight: 600; min-height: 44px;
    line-height: 1.4; cursor: pointer; text-decoration: none;
    margin-top: auto;
    transition: background 0.15s ease;
  }
  .btn-compare-full:hover { background: #c45a00; }

  @media (min-width: 1024px) {
    .trending-section { padding: 18px 0; }
    .trending-grid { display: block; }
    .product-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .product-body { padding: 14px; }
    .product-name { font-size: 0.875rem; min-height: 40px; }
    .product-price { font-size: 1.25rem; }
  }

  /* ── TODAY'S DEALS (mobile base) ── */
  .deals-section { max-width: 1200px; margin: 0 auto; padding: 14px 0; }
  .deals-section-no-top { padding-top: 0; margin-top: -8px; }
  .double-discount-widget-subtitle { font-size: 0.8125rem; color: var(--color-text-secondary); margin: 2px 0 0; }
  .deals-card { background: white; border: 1px solid var(--color-border-tertiary); border-radius: 8px; overflow: hidden; }
  .deals-header { padding: 13px 16px; border-bottom: 1px solid var(--color-border-tertiary); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
  .deals-title { font-size: 1.0625rem; font-weight: 700; margin: 0; }
  .deals-sub { font-size: 0.8125rem; color: var(--color-text-secondary); margin: 3px 0 0; }
  .deals-grid { padding: 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .deal-card { display: block; border: 1px solid var(--color-border-tertiary); border-radius: 8px; overflow: hidden; transition: box-shadow 0.18s, border-color 0.18s; }
  .deal-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.11); border-color: #D4C8B8; }
  .deal-img { aspect-ratio: 1; position: relative; overflow: hidden; background: #fff; padding: 10px; }
  .deal-img picture { display: block; width: 100%; height: 100%; }
  .deal-img img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform 0.35s ease; }
  .deal-card:hover .deal-img img { transform: scale(1.06); }
  .deal-pct { position: absolute; top: 8px; left: 8px; background: var(--orange); color: white; font-size: 0.6875rem; padding: 3px 8px; border-radius: 4px; font-weight: 600; }
  .deal-body { padding: 10px 12px; }
  .deal-name { font-size: 0.8125rem; font-weight: 600; margin: 0 0 4px; }
  .deal-pricing { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
  .deal-price { font-size: 1rem; font-weight: 800; color: var(--green-dark); margin: 0; }
  .deal-was { font-size: 0.875rem; font-weight: 600; color: var(--color-text-tertiary); text-decoration: line-through; margin: 0; }

  @media (min-width: 768px) {
    .deals-section { padding: 18px 0; }
    .deals-header { padding: 13px 18px; }
    .deals-title { font-size: 1.125rem; }
    .deals-grid { padding: 14px; grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .deal-name { font-size: 0.875rem; }
    .deal-price { font-size: 1.125rem; }
    .deal-body { padding: 12px; }
  }

  /* ── FEATURED STALLS (mobile base — single column) ── */
  .stalls-section { max-width: 1200px; margin: 0 auto; padding: 0 0 14px; }
  .stalls-grid { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
  .stall-card {
    border: 1px solid var(--color-border-tertiary); border-radius: 10px; padding: 14px;
    background: white; display: flex; flex-direction: column; gap: 12px;
    align-items: center; text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
  }
  .stall-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); border-color: #D0CFC9; }
  .stall-card-header { display: flex; align-items: center; gap: 12px; }
  .stall-logo {
    width: 56px; height: 56px; border-radius: 10px; flex-shrink: 0;
    overflow: hidden; border: 1px solid #EEECEA; background: #F5F4F0;
  }
  .stall-logo img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 4px; }
  .stall-card-info { flex: 1; min-width: 0; }
  .stall-name {
    font-size: 0.9375rem; font-weight: 700; color: var(--color-text-primary);
    margin: 0 0 4px; line-height: 1.3;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .stall-loc {
    display: flex; align-items: center; gap: 3px;
    font-size: 0.8125rem; color: var(--color-text-tertiary); margin: 0;
  }
  .stall-loc-icon { flex-shrink: 0; color: #9B9794; }
  .stall-card-badges { display: flex; flex-wrap: wrap; gap: 6px; }
  .stall-verify-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.6875rem; font-weight: 700;
    padding: 4px 9px; border-radius: 4px;
    text-transform: uppercase; letter-spacing: 0.04em;
  }
  .stall-verify-plus {
    background: rgba(20,154,73,0.12); color: var(--green-dark);
    border: 1px solid rgba(20,154,73,0.25);
  }
  .stall-verify-regular {
    background: rgba(245,131,32,0.10); color: #C25800;
    border: 1px solid rgba(245,131,32,0.28);
  }
  .stall-product-count {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.6875rem; font-weight: 600; color: var(--color-text-tertiary);
    padding: 4px 9px; border-radius: 4px;
    background: #F5F4F0; border: 1px solid var(--color-border-tertiary);
  }
  .btn-visit {
    display: block; box-sizing: border-box; text-align: center;
    width: 100%; padding: 11px 16px;
    background: var(--green); color: white;
    border: none; border-radius: 8px;
    font-size: 0.9375rem; font-weight: 700; min-height: 44px;
    line-height: 1.4; cursor: pointer; text-decoration: none;
    margin-top: auto; transition: background 0.15s ease;
  }
  .btn-visit:hover { background: var(--green-dark); color: white; }

  /* 2 columns from 480px */
  @media (min-width: 480px) {
    .stalls-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
    .stall-logo { width: 48px; height: 48px; }
    .stall-name { font-size: 0.875rem; }
    .btn-visit { font-size: 0.875rem; padding: 9px 12px; min-height: 40px; }
  }

  @media (min-width: 768px) {
    .stalls-section { padding: 0 0 18px; }
    .stalls-grid { padding: 14px; grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .stall-card { padding: 14px; gap: 10px; }
    .stall-logo { width: 48px; height: 48px; border-radius: 8px; }
    .stall-name { font-size: 0.875rem; }
    .stall-verify-badge { font-size: 0.625rem; padding: 3px 7px; }
    .stall-product-count { font-size: 0.625rem; padding: 3px 7px; }
    .btn-visit { font-size: 0.8125rem; padding: 8px; min-height: 40px; border-radius: 6px; }
  }

  /* ── FEATURED STALL CARD v2 ── */
  .stall-card-v2 {
    display: flex; flex-direction: column;
    text-decoration: none; color: inherit;
    border: 1px solid var(--color-border-tertiary); border-radius: 10px;
    background: #fff;
    transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s;
  }
  .stall-card-v2:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.10); border-color: #185FA5; transform: translateY(-2px); }

  /* 2×2 grid of mini product cards inside the stall card */
  .stall-card-v2-thumbs {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
    padding: 10px 10px 4px;
  }
  .stall-thumb-placeholder {
    aspect-ratio: 1 / 1;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; background: #f5f5f2;
    border: 1px solid var(--color-border-tertiary); border-radius: 8px;
  }
  .stall-thumb-placeholder img {
    width: 100%; height: 100%; object-fit: contain; display: block; padding: 6px;
    box-sizing: border-box;
  }

  /* Info strip at the bottom */
  .stall-card-v2-header {
    display: flex; align-items: center; gap: 9px;
    padding: 10px 12px 4px;
  }
  .stall-card-v2-logo {
    width: 36px; height: 36px; border-radius: 6px;
    object-fit: contain; border: 1px solid #eee;
    flex-shrink: 0; background: #f8f8f8;
  }
  .stall-card-v2-meta { flex: 1; min-width: 0; }
  .stall-card-v2-name {
    font-size: 0.8125rem; font-weight: 700; margin: 0 0 1px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .stall-card-v2-loc {
    font-size: 0.6875rem; color: var(--color-text-tertiary); margin: 0;
    display: flex; align-items: center; gap: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .stall-card-v2-badge { flex-shrink: 0; line-height: 1; }
  .v2-badge-plus     { color: #2e7d32; }
  .v2-badge-verified { color: #185FA5; }
  .stall-card-v2-footer {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.6875rem; color: var(--color-text-tertiary);
    padding: 4px 12px 10px;
  }
  .stall-card-v2-footer span { display: flex; align-items: center; gap: 3px; }
  .stall-card-v2-cta { margin-left: auto; font-size: 0.75rem; font-weight: 700; color: #185FA5; }

  /* ── PAVILIONS (mobile base) ── */
  .pavilions-section { max-width: 1200px; margin: 0 auto; padding: 0 0 16px; }
  .pavilions-grid { padding: 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .pavilion { display: block; padding: 12px; border-radius: 6px; border-left: 3px solid; text-decoration: none; }
  .pavilion-name { font-size: 0.8125rem; font-weight: 700; margin: 0 0 3px; }
  .pavilion-count { font-size: 0.6875rem; margin: 0; }

  @media (min-width: 600px) {
    .pavilions-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (min-width: 1024px) {
    .pavilions-section { padding: 0 0 22px; }
    .pavilions-grid { padding: 14px; grid-template-columns: repeat(6, 1fr); gap: 10px; }
    .pavilion { padding: 14px; }
    .pavilion-name { font-size: 0.875rem; }
  }

  /* ── WHY BDSTALL (mobile base) ── */
  .why-section { background: white; border-top: 1px solid var(--color-border-tertiary); padding: 14px 16px; }
  .why-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .why-item { display: flex; gap: 12px; align-items: center; }
  .why-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(20,154,73,0.1); border-radius: 8px; color: var(--green); flex-shrink: 0; }
  .why-title { font-size: 0.8125rem; font-weight: 700; margin: 0; }
  .why-sub { font-size: 0.75rem; color: var(--color-text-secondary); margin: 2px 0 0; }

  @media (min-width: 768px) {
    .why-section { padding: 18px 24px; }
    .why-inner { grid-template-columns: repeat(4, 1fr); gap: 24px; }
    .why-icon { width: 40px; height: 40px; }
    .why-title { font-size: 0.875rem; }
  }

  /* ── OPEN A STALL (mobile base) ── */
  .seller-section { background: var(--green-subtle); border-top: 1px solid var(--green-light); }
  .seller-inner { max-width: 1200px; margin: 0 auto; padding: 14px 16px; }
  .seller-top { margin-bottom: 16px; }
  .seller-title { font-size: 1.25rem; font-weight: 700; color: var(--color-text-primary); margin: 0 0 6px; }
  .seller-sub { font-size: 0.875rem; color: var(--green-dark); margin: 0; line-height: 1.5; }
  .seller-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
  .seller-step { background: white; border: 1px solid var(--green-light); border-radius: 8px; padding: 14px; }
  .seller-step-num { font-size: 0.6875rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 4px; }
  .seller-step-title { font-size: 0.875rem; font-weight: 600; color: var(--color-text-primary); margin: 0 0 4px; }
  .seller-step-desc { font-size: 0.75rem; color: var(--color-text-secondary); margin: 0; line-height: 1.4; }
  .seller-cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
  .btn-open-stall { padding: 13px 24px; background: var(--green); color: white; border: none; border-radius: 6px; font-size: 0.875rem; font-weight: 700; min-height: 44px; flex: 1; }
  .btn-seller-learn { padding: 13px 20px; background: white; color: var(--green); border: 1px solid var(--green); border-radius: 6px; font-size: 0.875rem; font-weight: 600; min-height: 44px; flex: 1; }
  .seller-stats { display: flex; gap: 20px; margin-top: 14px; flex-wrap: wrap; }
  .seller-stat { text-align: center; }
  .seller-stat-num { font-size: 1.25rem; font-weight: 700; color: var(--green); display: block; }
  .seller-stat-lbl { font-size: 0.75rem; color: var(--color-text-secondary); }

  @media (min-width: 768px) {
    .seller-inner { padding: 18px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
    .seller-top { margin-bottom: 0; }
    .seller-title { font-size: 1.5rem; }
    .seller-steps { grid-template-columns: repeat(2, 1fr); }
    .btn-open-stall, .btn-seller-learn { flex: none; }
    .seller-stats { gap: 28px; }
    .seller-stat-num { font-size: 1.5rem; }
  }

  /* ── BLOG (mobile base) ── */
  .blog-section { max-width: 1200px; margin: 0 auto; padding: 14px 0; }
  .blog-title-row { display: flex; align-items: center; justify-content: space-between; }
  .blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
  .blog-card { background: white; border: 1px solid var(--color-border-tertiary); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
  .blog-img { aspect-ratio: 2; position: relative; }
  .blog-cat { position: absolute; top: 10px; left: 10px; background: var(--green); color: white; font-size: 0.6875rem; font-weight: 600; padding: 3px 10px; border-radius: 4px; }
  .blog-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
  .blog-title { font-size: 0.9375rem; font-weight: 700; color: var(--color-text-primary); margin: 0 0 8px; line-height: 1.4; }
  .blog-excerpt { font-size: 0.8125rem; color: var(--color-text-secondary); margin: 0 0 12px; line-height: 1.5; flex: 1; }
  .blog-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; color: var(--color-text-tertiary); }
  .blog-read { color: var(--orange-dark); font-weight: 600; font-size: 0.8125rem; }
  .blog-visit-link { font-size: 13px; color: #185FA5; font-weight: 600; text-decoration: none; white-space: nowrap; }
  .blog-visit-link:hover { text-decoration: underline; }

  @media (min-width: 600px) {
    .blog-grid { gap: 12px; }
  }
  @media (min-width: 1024px) {
    .blog-section { padding: 18px 0; }
    .blog-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .blog-card { flex-direction: column; }
  }

  /* ── NEWSLETTER (mobile base) ── */
  .newsletter { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
  .newsletter-inner {
    max-width: 1200px; margin: 0 auto; padding: 14px 16px;
    display: flex; flex-direction: column; gap: 12px;
  }
  .newsletter-copy { color: white; text-align: center; }
  .newsletter-copy h3 { font-size: 1.125rem; font-weight: 700; margin: 0 0 6px; }
  .newsletter-copy p { font-size: 0.875rem; margin: 0; opacity: 0.95; line-height: 1.5; }
  .newsletter-form { display: flex; flex-direction: column; gap: 8px; }
  .newsletter-form input { border: none; padding: 13px 16px; font-size: 0.875rem; outline: none; border-radius: 6px; font-family: inherit; }
  .newsletter-form button { padding: 13px 22px; background: var(--color-text-primary); color: white; border: none; border-radius: 6px; font-size: 0.875rem; font-weight: 600; min-height: 44px; cursor: pointer; }
  .newsletter-form button:disabled { opacity: 0.7; cursor: default; }
  .newsletter-msg { font-size: 0.8125rem; margin: 0; min-height: 0; text-align: center; }

  @media (min-width: 768px) {
    .newsletter-inner { flex-direction: row; align-items: center; justify-content: space-between; padding: 18px 24px; gap: 24px; }
    .newsletter-copy { max-width: 520px; }
    .newsletter-copy h3 { font-size: 1.375rem; }
    .newsletter-form { flex-direction: row; flex: 1; max-width: 460px; }
    .newsletter-form input { flex: 1; }
    .newsletter-form button { min-height: auto; white-space: nowrap; }
  }

  /* ── FOOTER (mobile base) ── */
  footer { background: var(--color-text-primary); color: white; }
  .footer-inner { max-width: 1200px; margin: 0 auto; padding: 28px 24px 16px; }
  .footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid #2E2E2A; }
  .footer-logo-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
  .footer-desc { font-size: 0.8125rem; color: #C7C5BD; line-height: 1.6; margin: 0 0 16px; }
  .footer-social { display: flex; gap: 8px; }
  .social-btn { width: 34px; height: 34px; background: #2E2E2A; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.875rem; color: white; }
  .footer-col-title { font-size: 0.8125rem; font-weight: 700; color: white; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.6px; }
  .app-btn { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #2E2E2A; border-radius: 6px; margin-bottom: 8px; }
  .app-label-sm { font-size: 0.625rem; color: #C7C5BD; margin: 0; }
  .app-label-lg { font-size: 0.8125rem; font-weight: 600; color: white; margin: 0; }
  .footer-trust { display: flex; flex-direction: column; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid #2E2E2A; gap: 12px; }
  .trust-items { display: flex; gap: 12px; font-size: 0.75rem; color: #fff; flex-wrap: wrap; }
  .trust-check { color: var(--green); }
  .payment-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
  .payment-label { font-size: 0.6875rem; color: #fff; margin-right: 4px; }
  .payment-chip { padding: 6px 10px; background: white; border-radius: 4px; font-size: 0.6875rem; font-weight: 700; color: var(--color-text-primary); }
  .footer-bottom { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
  .footer-copy { font-size: 0.75rem; color: #fff; margin: 0; }
  .footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
  .footer-links a { font-size: 0.75rem; color: #fff; }

  @media (min-width: 768px) {
    .footer-inner { padding: 36px 0 22px; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 28px; }
    .footer-trust { flex-direction: row; justify-content: space-between; align-items: center; padding: 18px 0; gap: 14px; }
    .trust-items { gap: 22px; }
    .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; padding-top: 18px; gap: 12px; }
    .footer-links { gap: 20px; flex-wrap: nowrap; }
    .footer-links { gap: 20px; flex-wrap: nowrap; }
  }

  /* ── Tablet fixes (767px–1249px): sections that lose side padding on tablet ── */
  @media (min-width: 768px) and (max-width: 1249px) {
    .footer-inner      { padding: 36px 16px 22px; }
    .bargain-inner     { padding: 18px 16px; }
    .blog-section      { padding: 14px 16px; }
  }
  @media (min-width: 1024px) and (max-width: 1249px) {
    .hero-inner        { padding: 4px 24px 0; }
    .comparisons-inner { padding: 18px 24px; }
    .trending-section  { padding: 18px 16px; }
    .blog-section      { padding: 18px 16px; }
  }
