:root {
  --bg: #fff8f1;
  --ink: #241812;
  --muted: #7a6657;
  --line: rgba(76, 45, 25, .14);
  --card: rgba(255, 255, 255, .78);
  --accent: #ff6a2a;
  --accent2: #9c3cff;
  --green: #168a55;
  --shadow: 0 24px 70px rgba(90, 48, 20, .16);
}

/* Store logo stays on product image, never in the rating row */
.media-market-logo {
  display: inline-flex!important;
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 3;
}
.media-market-logo .market-logo {
  width: 30px!important;
  height: 30px!important;
  min-width: 30px!important;
  padding: 3px!important;
  border-radius: 8px!important;
  transform: none!important;
}
.media-market-logo .market-logo img {
  transform: none!important;
}
.trust-line > .market-logo {
  display: none!important;
}
.review-proof {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px 6px!important;
  background: #f1f1f5!important;
  color: #5c5f66!important;
  border-radius: 4px;
  font-weight: 500;
  line-height: 1;
}
.review-proof b {
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 700;
}
.review-proof small {
  color: #6c707a;
  font-size: 9.5px;
  font-weight: 400;
  margin-left: 1px;
}
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px 0!important;
  background: transparent!important;
  color: #24201c!important;
  font-size: 13px;
  font-weight: 850;
}
.rating-star {
  padding: 0!important;
  background: transparent!important;
  color: #f5a400!important;
  font-size: 14px;
  line-height: 1;
}
.rating-pill b {
  font-weight: 900;
  color: #241812;
}
.price-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.discount-badge {
  display: inline-flex;
  align-items: center;
  background: #eafbe7;
  color: #1e7e0a;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.promo-price-note {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 800;
  color: #1e7e0a;
  background: #eafbe7;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
  align-self: flex-start;
}
.product .deal-strip {
  display: none!important;
}

@media (max-width: 560px) {
  .shop-layout {
    width: 100vw!important;
    max-width: 100vw!important;
    padding-left: 6px!important;
    padding-right: 6px!important;
  }
  .catalog-area {
    width: calc(100vw - 12px)!important;
    max-width: calc(100vw - 12px)!important;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))!important;
    gap: 6px!important;
  }
  .product {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 8px!important;
    border-radius: 16px;
  }
  .product:not(.day-hero) .product-media {
    min-height: 122px;
    margin-bottom: 5px!important;
    padding: 3px!important;
  }
  .product:not(.day-hero) .product-media img {
    aspect-ratio: 1 / 1!important;
  }
  .product:not(.day-hero) .media-market-logo {
    display: inline-flex;
    position: absolute;
    right: 7px;
    top: 7px;
    z-index: 3;
  }
  .product:not(.day-hero) .media-market-logo .market-logo {
    width: 25px!important;
    height: 25px!important;
    min-width: 25px!important;
    padding: 3px!important;
    border-radius: 7px!important;
    transform: none!important;
  }
  .product:not(.day-hero) .product-body > .trust-line > .market-logo {
    display: none!important;
  }
  .product:not(.day-hero) .product-title {
    min-height: 58px!important;
    -webkit-line-clamp: 4!important;
    font-size: 12px!important;
    line-height: 1.16!important;
  }
  .product:not(.day-hero) .trust-line {
    flex-wrap: nowrap!important;
    align-items: center!important;
    margin: 5px 0 6px!important;
    gap: 3px!important;
    white-space: nowrap;
  }
  .product:not(.day-hero) .rating-pill {
    flex: 0 0 auto;
    font-size: 11px!important;
    padding: 0!important;
    line-height: 14px!important;
  }
  .product:not(.day-hero) .rating-star {
    font-size: 12px!important;
    line-height: 1!important;
  }
  .product:not(.day-hero) .review-proof {
    flex: 0 0 auto;
    gap: 1px;
    padding: 2px 4px!important;
    white-space: nowrap;
    line-height: 1!important;
  }
  .product:not(.day-hero) .review-proof b {
    font-size: 9.8px!important;
  }
  .product:not(.day-hero) .review-proof small {
    font-size: 7.6px!important;
  }
  .product:not(.day-hero) .price-row {
    display: block!important;
    margin-top: 0;
  }
  .product:not(.day-hero) .price {
    display: inline-block!important;
    font-size: 16px!important;
  }
  .product:not(.day-hero) .old-price {
    display: inline-block!important;
    font-size: 11px!important;
  }
  .product:not(.day-hero) .discount-badge {
    display: none!important;
  }
  .product:not(.day-hero) .promo-price-note {
    width: 100%;
    box-sizing: border-box;
    font-size: 11px;
    line-height: 1.18;
    padding: 5px 7px;
  }
  .product:not(.day-hero) .offer {
    padding: 10px 8px!important;
    font-size: 13px!important;
    min-height: 44px!important;
    white-space: normal!important;
  }
  .product.day-hero {
    display: flex!important;
    flex-direction: column!important;
    grid-column: 1 / -1!important;
    width: 100%!important;
    max-width: 100%!important;
    padding: 16px 18px 18px!important;
    border-radius: 16px!important;
  }
  .product.day-hero .product-media {
    width: 100%!important;
    min-height: 0!important;
    padding: 0!important;
    margin-bottom: 18px!important;
  }
  .product.day-hero .product-media img {
    width: 100%!important;
    height: auto!important;
    min-height: 0!important;
    max-height: 260px!important;
    aspect-ratio: 1 / 1!important;
    object-fit: contain!important;
  }
  .product.day-hero .product-body {
    width: 100%!important;
    padding: 0!important;
    justify-content: flex-start!important;
  }
  .product.day-hero .curator-note.hero-note {
    order: 2;
    display: block!important;
    overflow: visible!important;
    -webkit-line-clamp: unset!important;
    font-size: 11.5px!important;
    line-height: 1.24!important;
    padding: 9px 10px!important;
    margin: 0 0 12px!important;
    background: #fff7ef!important;
    color: #7a3f22!important;
    box-shadow: none!important;
  }
  .product.day-hero .product-title {
    order: 1;
    font-size: 18px!important;
    line-height: 1.08!important;
    min-height: auto!important;
    -webkit-line-clamp: 4!important;
    margin-top: 0!important;
  }
  .product.day-hero .trust-line {
    order: 3;
    flex-wrap: nowrap!important;
    align-items: center!important;
    gap: 6px!important;
    margin: 0 0 8px!important;
    white-space: nowrap;
  }
  .product.day-hero .trust-line .market-logo {
    width: 30px!important;
    height: 30px!important;
    min-width: 30px!important;
    padding: 3px!important;
    transform: none!important;
  }
  .product.day-hero .rating-pill {
    display: inline-flex!important;
    align-items: center!important;
    font-size: 12px!important;
    line-height: 16px!important;
    padding: 0!important;
    background: transparent!important;
  }
  .product.day-hero .rating-star {
    display: inline!important;
    color: #f5a400!important;
    font-size: 13px!important;
    line-height: 1!important;
  }
  .product.day-hero .review-proof {
    padding: 4px 7px!important;
    line-height: 1!important;
  }
  .product.day-hero .price-row {
    order: 4;
    display: block!important;
    margin-top: 8px!important;
  }
  .product.day-hero .price {
    display: inline-block!important;
    font-size: 24px!important;
  }
  .product.day-hero .old-price {
    display: inline-block!important;
    font-size: 12px!important;
  }
  .product.day-hero .discount-badge {
    display: inline-flex!important;
  }
  .product.day-hero .price-note {
    order: 5;
    width: 100%!important;
    margin-top: 8px!important;
    font-size: 12px!important;
    line-height: 1.18!important;
    padding: 7px 9px!important;
  }
  .product.day-hero .product-actions {
    order: 6;
    margin-top: 8px!important;
  }
  .product.day-hero .offer {
    width: 100%!important;
    min-height: 38px!important;
    font-size: 13px!important;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% -10%, rgba(255, 184, 107, .55), transparent 30%),
    radial-gradient(circle at 86% 6%, rgba(156, 60, 255, .16), transparent 32%),
    linear-gradient(180deg, #fffaf4 0%, var(--bg) 44%, #fff 100%);
  overflow-x: hidden;
}

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

.hero {
  padding: 16px clamp(18px, 4vw, 56px) 12px;
}

.topbar, .hero-grid, .section {
  max-width: 1220px;
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.brand {
  font-weight: 900;
  letter-spacing: -.04em;
  font-size: 25px;
}
.brand span { color: var(--accent); }
.brand-block {
  min-width: 0;
}
.brand-tagline {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: -.01em;
}
.category-menu-button {
  display: none;
}
.partner-logos {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.partner-logos img {
  width: 28px;
  height: 28px;
  padding: 3px;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
  box-shadow: inset 0 0 0 1px rgba(36,24,18,.10);
}
.toplink {
  flex: 0 0 auto;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .75fr);
  gap: clamp(32px, 5vw, 74px);
  align-items: center;
}
.hero-copy {
  min-width: 0;
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
}

h1, h2, h3 { margin: 0; letter-spacing: -.055em; line-height: .96; }
h1 { font-size: clamp(30px, 3.6vw, 50px); max-width: 980px; }
h2 { font-size: clamp(32px, 4vw, 54px); }
h3 { font-size: 22px; line-height: 1.05; }
.lead {
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.45;
  max-width: 760px;
  margin: 10px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 24px;
}
.primary, .ghost, .controls button, .chips button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.primary {
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--accent), #ff9a3d);
  color: #fff;
  font-weight: 850;
  box-shadow: 0 18px 42px rgba(255, 106, 42, .28);
}
.ghost {
  padding: 16px 22px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.primary:hover, .ghost:hover, .controls button:hover, .chips button:hover { transform: translateY(-2px); }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.trust span, .tag {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.hero-card {
  position: relative;
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 34px;
  padding: 18px;
  transform: rotate(1.5deg);
}
.hero-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  background: #fff;
}
.hero-card .price-row { margin-top: 16px; }

.section {
  padding: 42px clamp(18px, 4vw, 64px);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.category-sidebar .chips {
  flex-direction: column;
  gap: 9px;
}
.chips button, .controls button {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 12px 17px;
}
.category-sidebar .chips button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  border-radius: 18px;
  padding: 13px 14px;
}
.chips small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-left: 8px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(36, 24, 18, .08);
  font-size: 12px;
}
.chips button.active, .controls button.active {
  background: #241812;
  color: #fff;
  border-color: #241812;
}
.chips button.active small { background: rgba(255,255,255,.18); }

.shop-layout {
  display: grid;
  grid-template-columns: 304px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 18px clamp(22px, 3vw, 56px) 42px 0;
}
.category-sidebar {
  min-width: 0;
}
.sidebar-inner {
  position: sticky;
  top: 18px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 28px 28px 0;
  padding: 22px 18px 22px clamp(18px, 2vw, 34px);
  box-shadow: 0 18px 44px rgba(90, 48, 20, .08);
  backdrop-filter: blur(14px);
}
.sidebar-inner h2 { font-size: 28px; }
.sidebar-inner p:not(.eyebrow) {
  margin: 10px 0 18px;
  color: var(--muted);
  line-height: 1.4;
  font-size: 14px;
}
.catalog-area {
  min-width: 0;
  width: 100%;
}

.catalog-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.catalog-subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.45;
}
.controls { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(90, 48, 20, .08);
  min-height: 100%;
}
.product.day-hero {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(180px, .78fr) minmax(0, 1.22fr);
  border-color: rgba(255, 106, 42, .34);
  box-shadow: 0 20px 50px rgba(255, 106, 42, .14);
}
.product.day-hero .product-media img {
  height: 100%;
  min-height: 240px;
  max-height: 300px;
  aspect-ratio: auto;
  object-fit: contain;
}
.product.day-hero .product-body {
  justify-content: center;
  padding: 18px;
}
.product.day-hero .product-title {
  font-size: 20px;
  min-height: auto;
  -webkit-line-clamp: 3;
}
.product.day-hero .price {
  font-size: 30px;
}
.product-media {
  position: relative;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 106, 42, .08), transparent 42%),
    #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.product-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  background: #fff;
  mix-blend-mode: multiply;
}
.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: linear-gradient(135deg, var(--accent), #ff9a3d);
  color: #fff;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(255, 106, 42, .24);
}
.badge-hit { background: linear-gradient(135deg, #d32f2f, #ff5252); }
.badge-choice { background: linear-gradient(135deg, #1b5e20, #4caf50); }
.badge-best { background: linear-gradient(135deg, #e65100, #ff9800); }
.product-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-title {
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -.02em;
  line-height: 1.25;
  min-height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.deal-strip {
  margin-top: 8px;
  padding: 9px 10px;
  border-radius: 14px;
  background: #fff1e7;
  color: #d94b12;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  border: 1px solid rgba(255, 106, 42, .18);
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}
.meta span {
  padding: 6px 8px;
  background: #fff7ef;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.price { font-size: 24px; font-weight: 950; letter-spacing: -.05em; }
.old-price {
  display: block;
  margin-top: 2px;
  color: #a99789;
  font-size: 13px;
  text-decoration: line-through;
}
.rate { color: var(--green); font-weight: 900; }
.why-picked {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #fff7ef;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}
.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 10px;
}
.offer, .details {
  border: 0;
  border-radius: 14px;
  padding: 13px 12px;
  cursor: pointer;
}
.offer { background: var(--accent); color: #fff; font-weight: 850; }
.details { background: #f6ede5; color: var(--ink); }
.legal {
  color: #9a897b;
  font-size: 10px;
  line-height: 1.25;
  margin-top: 12px;
}
.legal-box {
  margin-top: 16px;
  color: #8f7b6d;
  font-size: 12px;
  line-height: 1.45;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.legal-box summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
}

.footer {
  max-width: 1220px;
  margin: 40px auto 0;
  padding: 28px clamp(18px, 4vw, 64px) 50px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.footer b { color: var(--ink); }
.footer p { max-width: 760px; }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(20, 12, 8, .46); }
.drawer-panel {
  position: absolute;
  top: 18px;
  right: 18px;
  bottom: 18px;
  width: min(520px, calc(100vw - 36px));
  background: #fff;
  border-radius: 28px;
  padding: 18px;
  overflow: auto;
  box-shadow: var(--shadow);
}
.close {
  position: sticky;
  top: 0;
  float: right;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f4ece5;
  font-size: 28px;
  cursor: pointer;
}
.drawer-panel img {
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.drawer-panel .offer { width: 100%; margin-top: 18px; }
.category-menu-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.category-menu-grid button {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff8f1;
  color: var(--ink);
  padding: 13px 14px;
  text-align: left;
  cursor: pointer;
}
.category-menu-grid button.active {
  background: #241812;
  color: #fff;
}
.category-menu-grid b,
.category-menu-grid small {
  display: block;
}
.category-menu-grid small {
  margin-top: 4px;
  color: inherit;
  opacity: .72;
}

@media (max-width: 980px) {
  .hero { min-height: auto; padding-bottom: 42px; }
  .hero-grid { grid-template-columns: 1fr; }
  .shop-layout {
    display: block;
    max-width: 100%;
    padding-top: 24px;
  }
  .category-sidebar {
    position: sticky;
    top: 0;
    z-index: 20;
    margin: 0 calc(clamp(18px, 4vw, 64px) * -1) 22px;
    padding: 8px clamp(18px, 4vw, 64px);
    background: rgba(255, 248, 241, .92);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }
  .sidebar-inner {
    position: static;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
  }
  .sidebar-inner .eyebrow,
  .sidebar-inner h2,
  .sidebar-inner p:not(.eyebrow) {
    display: none;
  }
  .category-sidebar .chips {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .category-sidebar .chips::-webkit-scrollbar { display: none; }
  .category-sidebar .chips button {
    width: auto;
    flex: 0 0 auto;
    min-height: 40px;
    border-radius: 999px;
    white-space: nowrap;
    scroll-snap-align: start;
    padding: 9px 12px;
  }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card { transform: none; max-width: 520px; }
  .catalog-head { align-items: start; flex-direction: column; }
  .controls { justify-content: flex-start; }
}

@media (max-width: 560px) {
  body { width: 100vw; }
  .hero { padding: 12px 20px 8px; overflow: hidden; max-width: 100vw; }
  .topbar, .section, .hero-grid { max-width: calc(100vw - 40px); }
  .shop-layout { max-width: 100vw; padding-left: 20px; padding-right: 20px; padding-top: 8px; }
  .category-sidebar { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
  .hero-grid { display: block; width: 100%; overflow: hidden; }
  .hero-copy, .hero-copy * { max-width: 100%; }
  .topbar { margin-bottom: 10px; }
  .toplink { display: none; }
  .eyebrow { overflow-wrap: anywhere; }
  .hero .eyebrow { display: none; }
  h1 { font-size: 24px; width: 340px; max-width: 100%; overflow-wrap: break-word; line-height: 1.04; }
  .lead { font-size: 13px; width: 340px; max-width: 100%; overflow-wrap: break-word; margin-top: 8px; }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .product {
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(90, 48, 20, .08);
  }
  .product.day-hero {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }
  .product.day-hero .product-media img {
    height: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1;
    object-fit: contain;
  }
  .product.day-hero .product-body {
    padding: 10px;
    justify-content: center;
  }
  .product.day-hero .product-title {
    font-size: 13px;
    -webkit-line-clamp: 3;
  }
  .product.day-hero .price {
    font-size: 20px;
  }
  .product-media img {
    aspect-ratio: 1 / 1;
  }
  .product-media {
    padding: 6px;
  }
  .badge {
    left: 7px;
    top: 7px;
    max-width: calc(100% - 14px);
    padding: 5px 7px;
    font-size: 10px;
  }
  .product-body {
    padding: 8px;
  }
  .product-title {
    min-height: 30px;
    font-size: 12.5px;
    line-height: 1.22;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .meta {
    gap: 4px;
    margin: 6px 0;
  }
  .deal-strip {
    margin-top: 6px;
    padding: 6px 7px;
    border-radius: 10px;
    font-size: 10.5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .meta span {
    padding: 4px 5px;
    font-size: 10px;
  }
  .product .meta > .market-logo {
    display: none!important;
  }
  .price-row {
    display: block;
  }
  .price {
    display: block;
    font-size: 18px;
  }
  .old-price {
    font-size: 11px;
  }
  .rate {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .product-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 7px;
  }
  .offer, .details {
    border-radius: 11px;
    padding: 9px 8px;
    font-size: 12px;
  }
  .details {
    display: none;
  }
  .section { padding-top: 30px; padding-bottom: 30px; }
  .catalog-head {
    gap: 12px;
    margin-bottom: 12px;
  }
  .catalog-head .eyebrow,
  .catalog-subtitle {
    display: none;
  }
  .catalog-head .eyebrow {
    margin-bottom: 8px;
  }
  .catalog-head h2 {
    font-size: 24px;
  }
  .controls {
    gap: 7px;
  }
  .controls button {
    padding: 10px 13px;
  }
  .hero-actions, .trust { flex-direction: column; align-items: stretch; }
  .primary, .ghost { text-align: center; width: 100%; }
}


/* Deal-card pass: карточка продаёт сделку, а не сухой каталог */
.product.day-hero {
  grid-template-columns: minmax(190px, .68fr) minmax(0, 1.32fr);
}
.product.day-hero .product-body {
  justify-content: space-between;
}
.product.day-hero .product-title {
  font-size: 22px;
  line-height: 1.08;
}
.product.day-hero .deal-strip {
  padding: 12px 14px;
}
.deal-strip {
  display: grid;
  gap: 3px;
  background: linear-gradient(180deg, #fff0e6, #fff8f1);
}
.deal-title {
  display: block;
  color: #d94b12;
  font-size: 12px;
  line-height: 1.18;
}
.deal-proof {
  display: block;
  color: #7a3f22;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.25;
}
.trust-line {
  margin-bottom: 7px;
}
.meta span.market {
  background: #241812;
  color: #fff;
  font-weight: 850;
}
.curator-note {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #fff7ef;
  color: #7a3f22;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.28;
}
.curator-note.hero-note {
  background: #241812;
  color: #fff;
  box-shadow: 0 12px 28px rgba(36, 24, 18, .12);
}
.product.day-hero .curator-note {
  font-size: 13px;
}
.offer {
  line-height: 1.15;
}

@media (max-width: 560px) {
  .product.day-hero {
    grid-template-columns: 1fr 1fr;
  }
  .product.day-hero .product-title {
    font-size: 13px;
  }
  .deal-title { font-size: 10.5px; }
  .deal-proof { font-size: 10px; }
  .curator-note {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 6px 7px;
    font-size: 10.5px;
  }
}


/* Compact marketplace/card pass: шапку не трогаем */
.market-logo{display:inline-flex;align-items:center;justify-content:center;width:34px;height:18px;padding:0;border-radius:6px;overflow:hidden;background:#fff;box-shadow:inset 0 0 0 1px rgba(36,24,18,.08)}
.market-logo img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.meta .market-logo{background:#fff;color:inherit}
.curator-note,.curator-note.hero-note{margin-top:6px;padding:6px 8px;border-radius:10px;background:#fff7ef;color:#7a3f22;box-shadow:none;font-size:11px;line-height:1.22}
.product.day-hero .curator-note{font-size:12px}
.deal-strip{padding:8px 10px}
.product.day-hero .deal-strip{padding:10px 12px}
.deal-title{font-size:11px}
.deal-proof{font-size:10.5px}
.product-actions .offer,.offer{min-height:44px;padding:12px 14px;white-space:nowrap}
@media (max-width:560px){.product-actions .offer,.offer{min-height:40px;padding:10px 8px;font-size:11px}.market-logo{width:30px;height:16px}}


/* Marketplace logo size fix */
.market-logo{width:72px!important;height:24px!important;border-radius:8px!important;background:#fff!important}
.market-logo img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;transform:scale(1.55);transform-origin:center}
.trust-line{gap:7px!important}
@media (max-width:560px){.market-logo{width:58px!important;height:21px!important}.market-logo img{transform:scale(1.45)}}

/* Mobile offer header + scalable category menu */
.category-sidebar {
  position: relative;
}
@media (max-width: 560px) {
  .hero {
    padding: 16px 16px 10px!important;
  }
  .topbar {
    display: grid!important;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    max-width: 100%!important;
    margin-bottom: 16px!important;
  }
  .category-menu-button {
    display: inline-flex;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 12px;
    background: rgba(36, 24, 18, 0.07)!important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 0;
  }
  .category-menu-button span {
    width: 16px;
    height: 2px;
    border-radius: 99px;
    background: #241812!important;
  }
  .brand {
    font-size: 21px!important;
    line-height: 1;
    color: #241812!important;
  }
  .brand-tagline {
    display: block;
    font-size: 10.5px;
    line-height: 1.1;
    color: rgba(36, 24, 18, 0.72)!important;
  }
  .partner-logos {
    gap: 4px;
  }
  .partner-logos img {
    width: 24px;
    height: 24px;
    border-radius: 7px;
  }
  .hero-copy {
    max-width: 100%!important;
  }
  .hero .eyebrow {
    display: block!important;
    margin: 2px 0 5px!important;
    color: #8a5b3f;
    font-size: 10px!important;
    letter-spacing: .08em!important;
  }
  h1#heroTitle {
    width: auto!important;
    max-width: 100%!important;
    font-size: 21px!important;
    line-height: 1.15!important;
    letter-spacing: -.02em!important;
    color: #241812!important;
  }
  .lead#heroLead {
    display: block!important;
    width: auto!important;
    max-width: 100%!important;
    margin-top: 6px!important;
    font-size: 12px!important;
    line-height: 1.35!important;
    color: rgba(36, 24, 18, 0.72)!important;
  }
  .shop-layout {
    width: 100vw!important;
    max-width: 100vw!important;
    padding-left: 6px!important;
    padding-right: 6px!important;
  }
  .category-sidebar {
    position: relative!important;
    margin-left: -6px!important;
    margin-right: -6px!important;
    padding-left: 6px!important;
    padding-right: 22px!important;
  }
  .category-sidebar::after {
    content: "›";
    position: absolute;
    right: 4px;
    top: 8px;
    width: 24px;
    height: 40px;
    display: grid;
    place-items: center;
    color: rgba(36, 24, 18, .72);
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(90deg, rgba(255,248,241,0), rgba(255,248,241,.96) 35%, rgba(255,248,241,1));
    pointer-events: none;
  }
  .category-sidebar .chips {
    padding-right: 28px!important;
  }
  .all-categories-chip {
    background: #241812!important;
    color: #fff!important;
    border-color: #241812!important;
  }
  .catalog-area {
    width: calc(100vw - 12px)!important;
    max-width: calc(100vw - 12px)!important;
  }
  .catalog-head h2 {
    font-size: 20px!important;
    line-height: 1.04!important;
  }
  .catalog-subtitle {
    display: none!important;
  }
  .controls {
    width: 100%;
    flex-wrap: nowrap!important;
    overflow-x: auto;
    justify-content: flex-start!important;
    gap: 7px!important;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .controls::-webkit-scrollbar {
    display: none;
  }
  .controls button {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 9px 12px!important;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))!important;
    gap: 6px!important;
  }
  .product-title {
    -webkit-line-clamp: 4!important;
    min-height: 58px!important;
  }
  .product.day-hero .product-title {
    min-height: auto!important;
    -webkit-line-clamp: 4!important;
  }
  .drawer-panel {
    width: calc(100vw - 24px);
    right: 12px;
    left: 12px;
    border-radius: 24px;
  }
}
.show-more{display:block;margin:20px auto 8px;padding:13px 28px;border:0;border-radius:12px;background:#ff5a1e;color:#fff;font-size:15px;font-weight:600;cursor:pointer;box-shadow:0 8px 24px rgba(255,90,30,.28);}
.show-more:hover{background:#ef4d13;}


/* Honest marketplace price and promo facts */
.price-note {
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
  padding: 7px 9px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
}
.price-note--promo,
.price-note--saving,
.price-note--current {
  background: #eafbe7;
  color: #176b0a;
}
.product-actions .offer,
.offer {
  min-height: 44px;
  white-space: normal !important;
  line-height: 1.2;
}
.drawer-panel .price-note {
  margin-top: 12px;
}
@media (max-width: 560px) {
  .product:not(.day-hero) .price-note {
    margin-top: 4px;
    padding: 6px 7px;
    border-radius: 8px;
    font-size: 10.5px;
    line-height: 1.18;
  }
  .product-actions .offer,
  .offer {
    min-height: 44px !important;
    padding: 10px 8px !important;
    font-size: 11.5px !important;
    white-space: normal !important;
  }
}

/* Mobile hero CTA tap target fix */
@media (max-width:560px){.product.day-hero .offer{min-height:44px!important}}

/* Sidebar brand and full-width catalog — 20260711 */
.hero.hero-compact {
  display: none !important;
}

.shop-layout {
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 22px;
  padding-top: 18px;
  padding-right: 18px;
}

.sidebar-inner {
  padding-top: 16px;
}

.sidebar-brand {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "brand";
  align-items: center;
  gap: 0;
  margin-bottom: 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.sidebar-brand .brand-block {
  grid-area: brand;
  min-width: 0;
  display: block;
}

.sidebar-brand .brand {
  font-size: 23px;
  line-height: 1;
}

.sidebar-brand .brand-subline {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin-top: 4px;
}

.sidebar-brand .brand-tagline {
  margin-top: 0;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

.sidebar-brand .partner-logos {
  flex: 0 0 auto;
  gap: 5px;
  margin-top: 0;
}

.sidebar-brand .partner-logos img {
  width: 19px;
  height: 19px;
  padding: 2px;
  border-radius: 6px;
}

.sidebar-brand .category-menu-button {
  display: none;
}

.catalog-head {
  padding-top: 2px;
}

@media (max-width: 980px) {
  .shop-layout {
    padding-right: clamp(18px, 4vw, 64px);
  }

  .sidebar-brand {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 9px;
    padding-bottom: 9px;
  }

  .sidebar-brand .brand {
    font-size: 21px;
  }

  .sidebar-brand .brand-tagline {
    font-size: 10.5px;
  }
}

@media (max-width: 560px) {
  .shop-layout {
    padding-top: 0 !important;
  }

  .category-sidebar {
    padding-top: 8px !important;
  }

  .sidebar-brand {
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-areas:
      "button brand";
    column-gap: 9px;
    row-gap: 0;
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  .sidebar-brand .category-menu-button {
    grid-area: button;
    display: inline-flex;
  }

  .sidebar-brand .brand {
    font-size: 19px !important;
  }

  .sidebar-brand .brand-tagline {
    font-size: 9.5px !important;
  }

  .sidebar-brand .partner-logos {
    margin-top: 0;
  }

  .sidebar-brand .partner-logos img {
    width: 17px;
    height: 17px;
  }
}
/* End sidebar brand and full-width catalog */


/* Dark marketplace redesign — 20260711 */
:root {
  --market-bg: #f7f5f2;
  --market-surface: #fff;
  --market-ink: #201710;
  --market-muted: #74675d;
  --market-line: #e6dfd8;
  --market-brown: #291b12;
  --market-brown-2: #39261a;
  --market-orange: #ff5d20;
  --market-green-bg: #e8f8e4;
  --market-green: #176b0a;
}

body {
  color: var(--market-ink);
  background: var(--market-bg) !important;
}

.shop-layout {
  grid-template-columns: 280px minmax(0, 1fr) !important;
  gap: 24px !important;
  padding: 18px 22px 44px 0 !important;
}

.sidebar-inner {
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: 16px 16px 18px 28px !important;
  color: #fff;
  background: var(--market-brown) !important;
  border: 0 !important;
  border-radius: 0 24px 24px 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.22) transparent;
}

.sidebar-brand {
  margin: 0 0 14px !important;
  padding: 16px !important;
  color: var(--market-ink);
  background: #fff;
  border: 0 !important;
  border-radius: 16px;
}

.sidebar-brand .brand-tagline {
  color: #786b62;
}

.sidebar-brand .partner-logos img {
  box-shadow: inset 0 0 0 1px rgba(32,23,16,.1);
}

.category-sidebar .chips {
  gap: 0 !important;
}

.category-sidebar .chips button {
  position: relative;
  min-height: 52px;
  padding: 10px 10px !important;
  color: rgba(255,255,255,.86) !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-bottom-color: rgba(255,255,255,.11) !important;
  border-radius: 0 !important;
  font-size: 14px;
  line-height: 1.25;
  transition: color .16s ease, background .16s ease, border-color .16s ease !important;
}

.category-sidebar .chips button:hover {
  color: #fff !important;
  background: rgba(255,255,255,.05) !important;
  transform: none !important;
}

.category-sidebar .chips button.active {
  margin: 5px 0;
  padding-inline: 11px !important;
  color: #fff !important;
  background: var(--market-brown-2) !important;
  border: 1px solid rgba(255,93,32,.9) !important;
  border-radius: 13px !important;
  box-shadow: inset 3px 0 0 var(--market-orange);
}

.category-sidebar .chips small {
  flex: 0 0 auto;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.12);
}

.category-sidebar .chips button.active small {
  background: rgba(255,93,32,.22);
}

.catalog-area {
  padding-top: 8px;
}

.catalog-head {
  align-items: end !important;
  margin-bottom: 18px !important;
  padding: 0 !important;
}

.catalog-head .eyebrow {
  display: none;
}

.catalog-head h2 {
  max-width: 780px;
  color: var(--market-ink);
  font-size: clamp(34px, 3.1vw, 46px) !important;
  line-height: .98 !important;
  letter-spacing: -.045em;
}

.catalog-subtitle {
  margin-top: 8px;
  color: var(--market-muted);
  font-size: 14px;
}

.controls {
  gap: 8px;
}

.controls button {
  min-height: 44px;
  padding: 10px 16px !important;
  color: var(--market-ink);
  background: var(--market-surface);
  border: 1px solid var(--market-line);
  box-shadow: none;
}

.controls button:hover {
  border-color: #cfc4ba;
  transform: none;
}

.controls button.active {
  color: #fff;
  background: var(--market-brown);
  border-color: var(--market-brown);
}

.grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.product {
  border: 1px solid var(--market-line) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  background: var(--market-surface);
}

.product:not(.day-hero) .product-media {
  padding: 8px;
  background: #fff !important;
}

.product:not(.day-hero) .product-body {
  padding: 10px 11px 11px;
}

.product:not(.day-hero) .product-title {
  min-height: 53px;
  font-size: 14px;
  line-height: 1.26;
  -webkit-line-clamp: 3;
}

.product:not(.day-hero) .trust-line {
  margin: 7px 0;
}

.product:not(.day-hero) .price {
  font-size: 23px;
}

.product:not(.day-hero) .price-note {
  min-height: 44px;
  display: flex;
  align-items: center;
  margin-top: 7px;
  background: var(--market-green-bg) !important;
  color: var(--market-green) !important;
  border-radius: 9px;
}

.product:not(.day-hero) .product-actions {
  margin-top: 8px;
}

.product-actions .offer,
.offer {
  min-height: 46px;
  border-radius: 10px;
  background: var(--market-orange);
  box-shadow: none;
  font-size: 13px;
}

.product-actions .offer:hover,
.offer:hover {
  background: #eb4e14;
}

.product.day-hero {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr) !important;
  min-height: 250px;
  overflow: hidden;
  border-color: #ddd3ca !important;
}

.product.day-hero .product-media {
  padding: 0 !important;
  background: #f2eee9 !important;
}

.product.day-hero .product-media img {
  width: 100%;
  height: 100% !important;
  min-height: 250px !important;
  max-height: 290px !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  mix-blend-mode: normal;
}

.product.day-hero .product-body {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .72fr);
  grid-template-areas:
    "title price"
    "note saving"
    "trust actions";
  gap: 10px 28px;
  align-content: center;
  padding: 24px 28px !important;
}

.product.day-hero .product-title {
  grid-area: title;
  align-self: end;
  min-height: 0 !important;
  margin: 0 !important;
  font-size: clamp(22px, 2vw, 29px) !important;
  line-height: 1.08 !important;
  -webkit-line-clamp: 3 !important;
}

.product.day-hero .curator-note.hero-note {
  grid-area: note;
  align-self: start;
  margin: 0 !important;
  padding: 10px 12px !important;
  color: #71412b !important;
  background: #fbf1e9 !important;
  border: 0 !important;
  border-radius: 10px;
  font-size: 12px !important;
  line-height: 1.3 !important;
}

.product.day-hero .trust-line {
  grid-area: trust;
  align-self: start;
  margin: 0 !important;
}

.product.day-hero .price-row {
  grid-area: price;
  align-self: end;
  margin: 0 !important;
}

.product.day-hero .price {
  font-size: 32px !important;
}

.product.day-hero .price-note {
  grid-area: saving;
  align-self: stretch;
  display: flex;
  align-items: center;
  margin: 0 !important;
  padding: 10px 12px;
  color: var(--market-green) !important;
  background: var(--market-green-bg) !important;
}

.product.day-hero .product-actions {
  grid-area: actions;
  align-self: start;
  margin: 0 !important;
}

.product.day-hero .offer {
  width: 100%;
  min-height: 48px !important;
  font-size: 14px !important;
}

.badge {
  box-shadow: none;
}

@media (max-width: 1320px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .product.day-hero {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 1080px) {
  .shop-layout {
    grid-template-columns: 250px minmax(0, 1fr) !important;
    gap: 18px !important;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .product.day-hero .product-body {
    grid-template-columns: minmax(0, 1fr) minmax(230px, .7fr);
    gap: 10px 18px;
    padding: 20px !important;
  }
}

@media (max-width: 980px) {
  .shop-layout {
    display: block !important;
    padding: 0 18px 36px !important;
  }

  .category-sidebar {
    position: sticky !important;
    top: 0;
    z-index: 20;
    margin: 0 -18px 20px !important;
    padding: 8px 18px 10px !important;
    background: var(--market-brown) !important;
    border: 0 !important;
    backdrop-filter: none !important;
  }

  .sidebar-inner {
    position: static !important;
    max-height: none;
    overflow: visible;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
  }

  .sidebar-brand {
    margin: 0 0 8px !important;
    padding: 10px 12px !important;
    border-radius: 12px;
  }

  .category-sidebar .chips {
    flex-direction: row !important;
    gap: 7px !important;
    padding: 0 !important;
  }

  .category-sidebar .chips button {
    min-height: 42px;
    padding: 9px 12px !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 999px !important;
  }

  .category-sidebar .chips button.active {
    margin: 0;
    border-color: var(--market-orange) !important;
    box-shadow: none;
  }

  .catalog-head {
    align-items: start !important;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .product.day-hero {
    grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr) !important;
  }

  .product.day-hero .product-body {
    display: flex !important;
    flex-direction: column;
    padding: 18px !important;
  }

  .product.day-hero .product-title { order: 1; }
  .product.day-hero .curator-note.hero-note { order: 2; }
  .product.day-hero .trust-line { order: 3; }
  .product.day-hero .price-row { order: 4; margin-top: auto !important; }
  .product.day-hero .price-note { order: 5; margin-top: 8px !important; }
  .product.day-hero .product-actions { order: 6; margin-top: 8px !important; }
}

@media (max-width: 720px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .product.day-hero {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 560px) {
  body {
    background: #f7f5f2 !important;
  }

  .shop-layout {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 6px 28px !important;
  }

  .category-sidebar {
    margin: 0 -6px 14px !important;
    padding: 7px 8px 8px !important;
  }

  .sidebar-brand {
    grid-template-columns: 38px minmax(0, 1fr) !important;
    padding: 8px 10px !important;
  }

  .sidebar-brand .category-menu-button {
    background: var(--market-brown);
    border-radius: 10px;
  }

  .sidebar-brand .category-menu-button span {
    background: #fff;
  }

  .category-sidebar .chips {
    padding-right: 0 !important;
  }

  .category-sidebar .chips button {
    min-height: 44px;
    font-size: 12px;
  }

  .catalog-area {
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 0;
  }

  .catalog-head {
    gap: 10px !important;
    margin-bottom: 10px !important;
  }

  .catalog-head h2 {
    font-size: 23px !important;
    line-height: 1.04 !important;
  }

  .controls button {
    min-height: 44px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .product {
    border-radius: 14px !important;
  }

  .product:not(.day-hero) .product-body {
    padding: 7px !important;
  }

  .product:not(.day-hero) .product-title {
    min-height: 56px !important;
    font-size: 12px !important;
    line-height: 1.18 !important;
    -webkit-line-clamp: 4 !important;
  }

  .product:not(.day-hero) .price-note {
    min-height: 0;
  }

  .product.day-hero {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0;
  }

  .product.day-hero .product-media {
    min-height: 0 !important;
    margin-bottom: 14px !important;
  }

  .product.day-hero .product-media img {
    height: auto !important;
    min-height: 0 !important;
    max-height: 260px !important;
    aspect-ratio: 1 / 1 !important;
  }

  .product.day-hero .product-body {
    padding: 0 !important;
  }

  .product.day-hero .product-title {
    font-size: 19px !important;
  }

  .product.day-hero .curator-note.hero-note {
    margin-bottom: 10px !important;
    background: #fbf1e9 !important;
  }

  .product.day-hero .price-row {
    margin-top: 8px !important;
  }

  .product.day-hero .price-note,
  .product.day-hero .product-actions {
    margin-top: 8px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .controls button,
  .category-sidebar .chips button {
    transition: none !important;
  }
}
/* End dark marketplace redesign */


/* Modern marketplace v2 — 20260711 */
:root {
  --market-bg: #f8f6f2;
  --market-surface: #ffffff;
  --market-ink: #201710;
  --market-muted: #766d66;
  --market-line: #e8e1da;
  --market-brown: #27180f;
  --market-brown-2: #3a2417;
  --market-orange: #ff5b20;
  --market-orange-hover: #ea4b12;
  --market-green-bg: #dff5d7;
  --market-green-bg-strong: #d2f0c8;
  --market-green: #0f6b1c;
  --market-green-line: #b8e1ad;
}

body {
  background: var(--market-bg) !important;
}

.shop-layout {
  grid-template-columns: 252px minmax(0, 1fr) !important;
  gap: 22px !important;
  padding: 0 22px 48px 0 !important;
}

.sidebar-inner {
  top: 0 !important;
  min-height: 100vh;
  max-height: 100vh !important;
  padding: 22px 13px 24px 22px !important;
  border-radius: 0 22px 22px 0 !important;
  background:
    radial-gradient(circle at 76% 92%, rgba(255, 112, 40, .12), transparent 24%),
    linear-gradient(180deg, #2c1b11 0%, #21140d 100%) !important;
  box-shadow: 10px 0 34px rgba(56, 34, 20, .08) !important;
}

.sidebar-brand {
  margin: 0 0 10px !important;
  padding: 2px 5px 18px !important;
  color: #fff !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 0 !important;
}

.sidebar-brand .brand {
  color: #fff !important;
  font-size: 24px !important;
  letter-spacing: -.035em;
}

.sidebar-brand .brand-tagline {
  color: rgba(255,255,255,.68) !important;
}

.sidebar-brand .partner-logos img {
  background: rgba(255,255,255,.96);
  box-shadow: none !important;
}

.category-sidebar .chips button {
  min-height: 47px !important;
  padding: 9px 9px !important;
  font-size: 13px !important;
  border-bottom-color: rgba(255,255,255,.095) !important;
}

.category-sidebar .chips button.active {
  margin: 4px 0 !important;
  color: #fff !important;
  background: linear-gradient(90deg, rgba(255,91,32,.12), rgba(255,255,255,.035)) !important;
  border-color: rgba(255,91,32,.9) !important;
  box-shadow: inset 3px 0 0 var(--market-orange) !important;
}

.catalog-area {
  min-width: 0;
  padding-top: 24px !important;
}

.catalog-head {
  display: block !important;
  margin-bottom: 16px !important;
}

.catalog-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.catalog-head h2 {
  margin: 0;
  font-size: clamp(31px, 2.45vw, 42px) !important;
  line-height: 1 !important;
  letter-spacing: -.045em;
}

.catalog-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 24px;
  padding: 0 7px;
  color: #6f645c;
  background: #eee9e4;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.catalog-subtitle {
  max-width: 820px;
  margin: 8px 0 0 !important;
  color: var(--market-muted) !important;
  font-size: 13px !important;
  line-height: 1.45;
}

.catalog-updated {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 7px 0 0;
  color: #777068;
  font-size: 11.5px;
}

.catalog-updated > span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #28a83f;
  box-shadow: 0 0 0 4px rgba(40,168,63,.09);
}

.featured-zone {
  display: grid;
  grid-template-columns: minmax(430px, .92fr) minmax(560px, 1.15fr);
  gap: 14px;
  margin-bottom: 16px;
}

.featured-zone.is-solo {
  grid-template-columns: minmax(0, 760px);
}

.featured-main,
.buyer-picks {
  min-width: 0;
}

.featured-main .product.day-hero {
  display: grid !important;
  grid-template-columns: minmax(210px, .92fr) minmax(230px, 1.08fr) !important;
  min-height: 336px;
  height: 100%;
  border: 1px solid #e4dbd2 !important;
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(62, 39, 24, .07) !important;
}

.featured-main .product.day-hero .product-media {
  min-height: 336px !important;
  padding: 0 !important;
  background: #f3efe9 !important;
}

.featured-main .product.day-hero .product-media img {
  width: 100%;
  height: 100% !important;
  min-height: 336px !important;
  max-height: none !important;
  object-fit: contain !important;
}

.featured-main .product.day-hero .product-body {
  display: flex !important;
  flex-direction: column;
  gap: 9px;
  padding: 22px 20px !important;
}

.featured-main .product.day-hero .product-title {
  order: 1;
  min-height: 0 !important;
  margin: 0 !important;
  font-size: clamp(20px, 1.5vw, 27px) !important;
  line-height: 1.06 !important;
  -webkit-line-clamp: 3 !important;
}

.featured-main .product.day-hero .curator-note.hero-note {
  order: 2;
  margin: 0 !important;
  padding: 9px 11px !important;
  color: #704126 !important;
  background: #fbf0e8 !important;
  border-radius: 9px !important;
  font-size: 11.5px !important;
  line-height: 1.34 !important;
}

.featured-main .product.day-hero .trust-line {
  order: 3;
  margin: 0 !important;
}

.featured-main .product.day-hero .price-row {
  order: 4;
  margin-top: auto !important;
}

.featured-main .product.day-hero .price {
  font-size: 31px !important;
}

.featured-main .product.day-hero .price-note {
  order: 5;
  margin: 0 !important;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 10px 12px !important;
}

.featured-main .product.day-hero .product-actions {
  order: 6;
  margin: 0 !important;
}

.buyer-picks {
  padding: 13px 13px 12px;
  background: rgba(255,255,255,.82);
  border: 1px solid #e5ddd5;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(62, 39, 24, .055);
}

.buyer-picks-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  margin-bottom: 8px;
}

.buyer-picks-head h3 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 21px;
  line-height: 1;
}

.buyer-picks-head h3 span {
  color: #24a33b;
  font-family: inherit;
}

.buyer-picks-head small {
  color: #8a817a;
  font-size: 11px;
}

.buyer-picks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.product.featured-pick {
  min-width: 0;
  border-radius: 13px !important;
  box-shadow: none !important;
}

.product.featured-pick .product-media {
  padding: 5px !important;
  background: #fff !important;
}

.product.featured-pick .product-media img {
  aspect-ratio: 1 / 1;
  height: auto !important;
  object-fit: contain !important;
}

.product.featured-pick .product-body {
  display: flex;
  flex-direction: column;
  padding: 7px 8px 8px !important;
}

.product.featured-pick .product-title {
  min-height: 44px !important;
  font-size: 11.5px !important;
  line-height: 1.2 !important;
  -webkit-line-clamp: 3 !important;
}

.product.featured-pick .trust-line {
  margin: 5px 0 !important;
  font-size: 10px;
}

.product.featured-pick .price-row {
  margin-top: auto;
}

.product.featured-pick .price {
  font-size: 19px !important;
}

.product.featured-pick .old-price {
  font-size: 10px !important;
}

.product.featured-pick .discount-badge {
  font-size: 9.5px !important;
}

.product.featured-pick .price-note {
  min-height: 42px;
  margin-top: 5px !important;
  padding: 6px 7px !important;
  font-size: 9.5px !important;
  line-height: 1.18 !important;
}

.product.featured-pick .product-actions {
  margin-top: 6px !important;
}

.product.featured-pick .offer {
  min-height: 36px !important;
  padding: 7px 8px !important;
  font-size: 10.5px !important;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 14px;
}

.catalog-toolbar .controls {
  flex: 1 1 auto;
}

.sort-hint {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 43px;
  padding: 0 15px;
  color: #5d544e;
  background: #fff;
  border: 1px solid var(--market-line);
  border-radius: 11px;
  font-size: 12px;
  white-space: nowrap;
}

.grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.grid .product {
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.grid .product:hover {
  transform: translateY(-2px);
  border-color: #d8cdc3 !important;
  box-shadow: 0 12px 26px rgba(54, 35, 22, .07) !important;
}

.grid .product:not(.day-hero) .product-media {
  padding: 7px !important;
}

.grid .product:not(.day-hero) .product-title {
  min-height: 50px !important;
  font-size: 13px !important;
  line-height: 1.22 !important;
}

.grid .product:not(.day-hero) .price {
  font-size: 22px !important;
}

.price-note--promo,
.price-note--saving,
.price-note--current,
.product:not(.day-hero) .price-note,
.product.day-hero .price-note {
  color: var(--market-green) !important;
  background: linear-gradient(135deg, #e5f8df 0%, var(--market-green-bg-strong) 100%) !important;
  border: 1px solid var(--market-green-line) !important;
  box-shadow: 0 5px 13px rgba(35, 130, 52, .09) !important;
}

.product-actions .offer,
.offer {
  background: linear-gradient(180deg, #ff6a2f 0%, var(--market-orange) 100%) !important;
  box-shadow: 0 7px 16px rgba(255,91,32,.16) !important;
}

.product-actions .offer:hover,
.offer:hover {
  background: var(--market-orange-hover) !important;
}

@media (max-width: 1500px) {
  .featured-zone {
    grid-template-columns: minmax(420px, .9fr) minmax(520px, 1.1fr);
  }
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1220px) {
  .featured-zone {
    grid-template-columns: 1fr;
  }
  .featured-main .product.day-hero {
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr) !important;
  }
  .buyer-picks-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .shop-layout {
    display: block !important;
    padding: 0 18px 38px !important;
  }
  .sidebar-inner {
    min-height: 0;
    max-height: none !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .sidebar-brand {
    padding: 10px 12px !important;
    color: var(--market-ink) !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 12px !important;
  }
  .sidebar-brand .brand {
    color: var(--market-ink) !important;
  }
  .sidebar-brand .brand-tagline {
    color: #786b62 !important;
  }
  .catalog-area {
    padding-top: 0 !important;
  }
  .catalog-toolbar {
    align-items: flex-start;
  }
  .sort-hint {
    display: none;
  }
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .buyer-picks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .shop-layout {
    padding: 0 6px 28px !important;
  }
  .catalog-head {
    margin-bottom: 12px !important;
  }
  .catalog-head h2 {
    font-size: 26px !important;
  }
  .catalog-title-row {
    gap: 7px;
  }
  .catalog-subtitle {
    font-size: 12px !important;
  }
  .catalog-updated {
    font-size: 10.5px;
  }
  .featured-main .product.day-hero {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0;
  }
  .featured-main .product.day-hero .product-media {
    min-height: 0 !important;
  }
  .featured-main .product.day-hero .product-media img {
    min-height: 0 !important;
    max-height: 270px !important;
    aspect-ratio: 1 / 1 !important;
  }
  .featured-main .product.day-hero .product-body {
    padding: 13px !important;
  }
  .buyer-picks {
    padding: 11px 8px 9px;
  }
  .buyer-picks-head small {
    display: none;
  }
  .buyer-picks-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
  }
  .product.featured-pick {
    scroll-snap-align: start;
  }
  .catalog-toolbar {
    margin-bottom: 10px;
  }
  .catalog-toolbar .controls {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    padding-bottom: 3px;
  }
  .catalog-toolbar .controls button {
    flex: 0 0 auto;
  }
  .grid {
    gap: 7px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .grid .product {
    transition: none;
  }
}
/* End modern marketplace v2 */
