/* =========================================================
   VIKO · Tienda (estructura tipo gran almacén: menú lateral,
   bolsa de compras, tarjetas con precio de oferta en rojo).
   ========================================================= */
:root { --sale: #e4002b; --header-h: 150px; }
body { background: #fff; }

/* ---------- Barra superior ---------- */

/* ---------- Cabecera ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-main { height: 78px; gap: 18px; }
.menu-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 56px; height: 56px; border-radius: 12px; color: var(--ink); font-size: .7rem; font-weight: 700; flex-shrink: 0; }
.menu-btn:hover { background: var(--bg-soft); }
.brand img { height: 36px; }
.search { max-width: none; flex: 1; }
.search input { height: 48px !important; border-radius: 999px !important; padding: 0 60px 0 22px !important; background: #fff !important; border: 1.5px solid #d7dbe3 !important; font-size: .95rem !important; }
.search input:focus { border-color: var(--primary) !important; }
.search-btn { position: absolute; right: 5px; top: 5px; width: 38px; height: 38px; padding: 0; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.search-btn:hover { background: var(--primary-600); }
.header-actions { gap: 4px; }
.hdr-two { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; height: 48px; padding: 0 12px; border-radius: 12px; line-height: 1.15; text-align: left; }
.hdr-two:hover { background: var(--bg-soft); }
.hdr-two small { font-size: .74rem; color: var(--muted); font-weight: 500; }
.hdr-two strong { font-size: .9rem; display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
.bag-btn { width: 50px; height: 50px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; position: relative; color: var(--ink); }
.bag-btn:hover { background: var(--bg-soft); }
.bag-btn .dot-badge { top: 4px; right: 2px; background: var(--sale); }
.count-pill { margin-left: auto; background: var(--primary); color: #fff; font-size: .7rem; padding: 1px 7px; border-radius: 99px; }
.header-strip { border-top: 1px solid var(--line-2); }
.strip-inner { display: flex; gap: 2px; height: 42px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.strip-inner::-webkit-scrollbar { display: none; }
.strip-inner a { padding: 6px 12px; border-radius: 8px; font-size: .86rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.strip-inner a:hover, .strip-inner a.active { color: var(--ink); background: var(--bg-soft); }
.strip-inner .strip-hot { color: var(--sale); }
.strip-inner .strip-gs { color: var(--red); }
@media (max-width: 860px) {
  :root { --header-h: 120px; }
  .header-main { height: auto; padding-top: 8px; padding-bottom: 10px; gap: 6px; flex-wrap: wrap; }
  .menu-btn { width: 44px; height: 44px; font-size: 0; }
  .search { order: 5; flex-basis: 100%; margin-bottom: 0; }
  .search input { height: 44px !important; }
  .search-btn { width: 34px; height: 34px; }
  .hdr-two { padding: 0 6px; }
  .hdr-two small { display: none; }
  .header-strip { display: none; }
  .brand img { height: 30px; }
}

/* ---------- Menú de categorías (cajón lateral) ---------- */
.cat-drawer .drawer-panel { width: 330px; overflow: visible; display: flex; flex-direction: column; }
.cat-drawer .drawer-head { padding: 18px 18px; }
.cat-drawer .drawer-head strong { font-size: 1.2rem; }
.cat-list { list-style: none; margin: 0; padding: 8px; overflow-y: auto; }
.cat-item { position: static; }
.cat-row-link { display: flex; align-items: center; border-radius: 10px; }
.cat-row-link > a { flex: 1; display: flex; align-items: center; gap: 12px; padding: 10px 12px; font-weight: 600; font-size: .94rem; }
.cat-toggle { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.cat-item:hover > .cat-row-link, .cat-item.open > .cat-row-link { background: var(--bg-soft); }
.cat-fly { display: none; }
.cat-drawer .drawer-nav { border-top: 1px solid var(--line); margin-top: auto; }
@media (min-width: 861px) {
  .cat-drawer .drawer-panel { overflow: visible; }
  .cat-list { overflow: visible; }
  .cat-fly { position: absolute; left: 100%; top: 0; bottom: 0; width: min(640px, calc(100vw - 340px)); background: #fff; border-left: 1px solid var(--line); padding: 28px 32px; overflow-y: auto; box-shadow: 18px 0 40px rgba(15, 23, 42, .08); }
  .cat-item:hover > .cat-fly { display: block; }
  .fly-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 16px; }
  .fly-head h3 { margin: 0; font-size: 1.3rem; }
  .fly-cols { columns: 2; column-gap: 30px; }
  .fly-cols a { display: block; padding: 8px 0; font-size: .95rem; color: var(--ink-2); break-inside: avoid; }
  .fly-cols a:hover { color: var(--primary); text-decoration: underline; }
}
@media (max-width: 860px) {
  .cat-drawer .drawer-panel { overflow-y: auto; }
  .cat-item.open > .cat-fly { display: block; padding: 0 12px 10px 54px; }
  .cat-item.open .cat-toggle { transform: rotate(90deg); }
  .fly-head h3 { display: none; }
  .fly-head .link { padding: 6px 0; }
  .fly-cols a { display: block; padding: 7px 0; font-size: .9rem; color: var(--ink-2); }
}

/* ---------- Hero ---------- */
.hero { padding-top: 16px; }
.hero-track { border-radius: 18px; min-height: 340px; }
.hero-slide { background: var(--bg); border-radius: 18px; display: block; color: inherit; }
.hero-slide::after { display: none; }
.hero-inner { padding: 40px 56px; grid-template-columns: 1.3fr 1fr; }
.hero-dots { bottom: 18px; }
.hero-nav { top: 50%; transform: translateY(-50%); }
.hero-nav.prev { left: 12px; } .hero-nav.next { right: 12px; }
@media (max-width: 760px) { .hero-inner { padding: 28px 22px 44px; } .hero-track { min-height: 260px; } .hero-dots { display: flex; bottom: 14px; } }

/* ---------- Beneficios ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.benefits a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-right: 1px solid var(--line); }
.benefits a:last-child { border-right: 0; }
.benefits a:hover { background: var(--bg-softer); }
.benefits .ico { color: var(--primary); }
.benefits .b-gs .ico { color: var(--red); }
.benefits strong { display: block; font-size: .9rem; }
.benefits span { font-size: .78rem; color: var(--muted); }
@media (max-width: 860px) { .benefits { grid-template-columns: repeat(2, 1fr); } .benefits a:nth-child(2) { border-right: 0; } .benefits a:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- Categorías en círculos ---------- */

/* ---------- Tiendas oficiales ---------- */
.brand-row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.brand-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 16px 8px; border: 1px solid var(--line); border-radius: 14px; transition: .2s; }
.brand-tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.brand-tile img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.brand-tile strong { font-size: .84rem; line-height: 1.2; }
.brand-tile small { font-size: .74rem; color: var(--muted); }
@media (max-width: 1100px) { .brand-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 140px; overflow-x: auto; scrollbar-width: none; } }

/* ---------- Tarjeta de producto ---------- */
.pgrid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1200px) { .pgrid-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pgrid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pcard { border: 1px solid transparent; border-radius: 12px; }
.pcard:hover { border-color: var(--line); box-shadow: 0 8px 28px rgba(15, 23, 42, .10); transform: none; }
.pcard-img { background: #fff; border-bottom: 0; border-radius: 12px; overflow: hidden; }
.pcard-img img { object-fit: contain; background: var(--bg-softer); }
.pcard-tags { position: absolute; left: 8px; bottom: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.tag { font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; background: #fff; border: 1px solid var(--line); }
.tag-ship { color: #067a3f; border-color: #c6eed8; background: #effaf4; }
.tag-gs { color: var(--red); border-color: #ffd6de; background: #fff3f5; }
.tag-out { color: #fff; background: var(--ink); border-color: var(--ink); }
.pcard-body { padding: 10px 12px 4px; gap: 2px; }
.pcard-brand { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-brand:hover { color: var(--primary); }
.pcard-name { font-size: .9rem; color: var(--ink); margin: 0; min-height: 2.7em; }
.pcard-seller { font-size: .74rem; color: var(--muted); display: inline-flex; align-items: center; gap: 3px; }
.pcard-prices { margin-top: 6px; }
.price-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price-line .price { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.price-line.is-sale .price { color: var(--sale); }
.price-line .disc { font-size: .72rem; font-weight: 800; color: #fff; background: var(--sale); padding: 2px 6px; border-radius: 4px; }
.price-old { font-size: .8rem; color: var(--muted); text-decoration: line-through; }
.pcard-rating { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: .74rem; color: var(--muted); }
.pcard-rating .stars { font-size: 12px; }
.pcard-add { padding: 8px 12px 12px; }
.pcard .pcard-old, .pcard .pcard-price, .pcard .pcard-meta, .pcard .pill-off { display: none; }
@media (hover: hover) and (min-width: 861px) {
  .pcard-add { opacity: 0; transform: translateY(4px); transition: .18s; }
  .pcard:hover .pcard-add, .pcard:focus-within .pcard-add { opacity: 1; transform: none; }
}
.is-soldout .pcard-img img { opacity: .55; }

/* ---------- Listado ---------- */
.list-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 4px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.list-head h1 { font-size: 1.6rem; margin: 0 0 2px; }
.sub-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sub-chips .chip { height: 34px; font-size: .82rem; }
.listing { grid-template-columns: 260px 1fr; }
.filter-block { padding: 14px 0; border-top: 0; border-bottom: 1px solid var(--line); }
details.filter-block > summary { cursor: pointer; list-style: none; font-weight: 800; font-size: .95rem; display: flex; justify-content: space-between; align-items: center; padding-bottom: 6px; }
details.filter-block > summary::-webkit-details-marker { display: none; }
details.filter-block > summary::after { content: "–"; font-size: 1.1rem; color: var(--muted); }
details.filter-block:not([open]) > summary::after { content: "+"; }
.filter-check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .9rem; color: var(--ink-2); }
.filter-check small { color: var(--muted); }
.filter-check .cb { width: 18px; height: 18px; border: 1.5px solid #c3c9d4; border-radius: 4px; flex-shrink: 0; position: relative; }
.filter-check.on .cb { background: var(--primary); border-color: var(--primary); }
.filter-check.on .cb::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.filter-check:hover { color: var(--primary); }
.mt-s { margin-top: 8px; }
.results-bar { justify-content: flex-end; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.view-toggle button { width: 38px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.view-toggle button.on { background: var(--bg-soft); color: var(--ink); }
.pgrid.as-list { grid-template-columns: 1fr; gap: 0; }
.pgrid.as-list .pcard { flex-direction: row; align-items: center; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 12px 0; }
.pgrid.as-list .pcard:hover { box-shadow: none; }
.pgrid.as-list .pcard-img { width: 180px; flex-shrink: 0; }
.pgrid.as-list .pcard-body { flex: 1; padding: 0 20px; }
.pgrid.as-list .pcard-add { width: 220px; opacity: 1; transform: none; }
.pgrid.as-list .fav-btn { left: 140px; right: auto; }

/* ---------- Producto ---------- */
.pdp-titlebar { padding: 4px 0 18px; }
.pdp-brand { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.pdp-brand:hover { color: var(--primary); }
.pdp-titlebar .pdp-title { font-size: 1.7rem; margin: 4px 0 8px; }
.pdp-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .84rem; color: var(--muted); align-items: center; }
.pdp-meta .pdp-rating { margin: 0; color: var(--ink-2); }
.pdp { grid-template-columns: 1.35fr 1fr; padding: 0; gap: 36px; }
.pdp .main-img { border: 1px solid var(--line); background: #fff; }
.pdp .main-img .fav-btn { top: 12px; right: 12px; }
.pdp-info { display: flex; flex-direction: column; gap: 14px; }
.pdp-info .pill-gs.static { margin: 0; align-self: flex-start; }
.pdp-seller { font-size: .9rem; color: var(--ink-2); display: flex; align-items: center; gap: 5px; }
.pdp-price { margin: 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.pp-row { display: flex; align-items: center; gap: 12px; }
.pp-row strong { font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; }
.pp-row.is-sale strong { color: var(--sale); }
.pp-row .disc { background: var(--sale); color: #fff; font-weight: 800; font-size: .9rem; padding: 3px 8px; border-radius: 4px; }
.pp-normal { font-size: .9rem; color: var(--muted); }
.pdp-short { margin: 0; }
.pdp-buy { border: 0; padding: 0; margin: 0; }
.delivery-box { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.delivery-box > div, .delivery-box > a { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--line-2); }
.delivery-box > :last-child { border-bottom: 0; }
.delivery-box > a:hover { background: var(--bg-softer); }
.delivery-box .ico { color: var(--primary); }
.delivery-box div div, .delivery-box a div { flex: 1; display: flex; flex-direction: column; }
.delivery-box strong { font-size: .9rem; }
.delivery-box span { font-size: .8rem; color: var(--muted); }
.pdp-store { margin: 0; }
.specs { width: 100%; border-collapse: collapse; font-size: .9rem; margin-bottom: 8px; }
.specs th, .specs td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line-2); }
.specs th { width: 34%; background: var(--bg-softer); font-weight: 600; color: var(--ink-2); }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 20px; } .pdp-titlebar .pdp-title { font-size: 1.35rem; } }

/* ---------- Barra inferior móvil ---------- */
.bottom-nav button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; font-size: .68rem; font-weight: 600; color: var(--muted); }

/* ---------- Pantalla completa ---------- */
.container { max-width: 100%; padding-left: clamp(16px, 3vw, 56px); padding-right: clamp(16px, 3vw, 56px); }
.container.narrow { max-width: 1100px; }
.pgrid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.pgrid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pgrid-6 { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.store-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.store-grid-lg { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.brand-row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.hs-track { grid-auto-columns: 230px; }
.hero-track { min-height: 400px; }
.hero-inner { padding: 48px clamp(28px, 6vw, 110px); }
.hero-text h1 { font-size: clamp(2rem, 3.6vw, 3.6rem); }
.hero-text p { max-width: 640px; font-size: 1.15rem; }
.listing { grid-template-columns: 280px 1fr; }
.store-layout { grid-template-columns: 290px 1fr; }
.footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
/* Carrusel: un solo banner visible a la vez (sin superposición de textos) */
.hero-slide { display: none; position: relative; opacity: 1; transition: none; }
.hero-slide.active { display: block; animation: heroIn .45s ease; }
@keyframes heroIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .pgrid, .pgrid-4, .pgrid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .store-grid, .store-grid-lg { grid-template-columns: 1fr; } .hs-track { grid-auto-columns: 168px; } .hero-track { min-height: 260px; } }
@media (max-width: 860px) { .listing, .store-layout { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } }
.sell-portal { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-top: 30px; }
.sp-card { border: 1px solid var(--line); border-radius: 18px; padding: 30px; background: #fff; }
.sp-main { background: linear-gradient(135deg, #fff 0%, var(--primary-50) 100%); }
.sp-main h2 { font-size: 1.7rem; margin: 12px 0 8px; }
.sp-main p { color: var(--ink-2); max-width: 560px; }
@media (max-width: 860px) { .sell-portal { grid-template-columns: 1fr; } }


/* Identidad VIKO */
:root { --yellow: #ffc824; --sale: #a13d18; }
body { background: #f6f7fa; }
.container { max-width: 1320px; }
.site-header { background: #fff; backdrop-filter: none; }
.header-main { gap: clamp(8px, 1.4vw, 22px); }
.header-main .brand img { height: 41px; width: auto; }
.header-main .menu-btn { font-size: .63rem; width: 63px; }
.search input { background: #f5f7fa !important; border-color: #e3eaf3 !important; }
.search-btn { background: var(--yellow); color: var(--ink); }
.search-btn:hover { background: #ffdb62; }
.strip-inner { gap: 5px; }
.strip-inner .strip-gs { color: #744800; background: #fff2c8; }
.header-actions .hdr-two small { color: #55667c; }
.site-main:focus { outline: none; }
.skip-link { position: fixed; z-index: 120; top: 8px; left: 8px; background: #fff; padding: 10px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid #1d63a9; outline-offset: 3px; }
.cat-item.open > .cat-fly, .cat-item:focus-within > .cat-fly { display: block; }

.hero.container { padding-top: 18px; }
.hero .hero-track { min-height: 0; border-radius: 21px; background: #ffca32; }
.hero .hero-slide { min-height: 377px; border-radius: 0; }
.hero .hero-slide.active { display: grid; grid-template-columns: minmax(420px, 1fr) 1.1fr; align-items: stretch; animation: none; }
.hero .hero-campaign { background: #ffca32; }
.hero .hero-promo { background: var(--bg); }
.hero-copy { position: relative; z-index: 2; padding: 44px 0 53px clamp(32px, 5vw, 71px); align-self: center; }
.hero-kicker { display: inline-flex; gap: 7px; align-items: center; background: #fff3; border: 1px solid #132e4528; padding: 5px 10px; border-radius: 5px; font-size: .77rem; font-weight: 800; }
.hero-copy h1, .hero-copy h2 { font-size: clamp(3rem, 5.8vw, 5.2rem); line-height: .94; letter-spacing: -.075em; margin: 16px 0 15px; font-weight: 900; }
.hero-copy h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.hero-copy p { font-size: clamp(.95rem, 1.4vw, 1.12rem); max-width: 37ch; margin: 0 0 24px; }
.hero-ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.hero-more { font-size: .88rem; font-weight: 800; display: inline-flex; align-items: center; gap: 3px; }
.hero-more:hover { text-decoration: underline; }
.hero-picture { position: relative; min-width: 0; display: grid; place-items: center; }
.hero-picture img { width: 100%; height: 100%; position: absolute; object-fit: contain; }
.hero-campaign .hero-picture img { object-fit: cover; object-position: 70% center; mask-image: linear-gradient(to right, transparent, #000 21%); }
.hero-picture .hero-mark { max-width: 145px; height: auto; }
.hero .hero-dots { display: flex; bottom: 12px; }
.hero .hero-dots button { height: 20px; width: 20px; background: transparent; display: grid; place-items: center; }
.hero .hero-dots button::after { content: ''; height: 7px; width: 7px; border-radius: 99px; background: #08254d65; }
.hero .hero-dots button.active { width: 30px; }
.hero .hero-dots button.active::after { width: 22px; background: #08254d; }

.benefits { background: #fff; margin-top: 14px; border-radius: 14px; }
.benefits > a > .ico { color: var(--primary); }
.benefits .b-gs { background: #fff7dc; }
.section-head h2, .gs-band h2, .page-banner h1 { letter-spacing: -.045em; font-size: clamp(1.35rem, 2.3vw, 2rem); }
.pcard { border-color: #e8edf3; overflow: hidden; }
.pcard .pcard-img { border-radius: 0; }
.pcard .pcard-body { padding: 12px 13px 4px; }
.pcard .pcard-brand { text-transform: none; letter-spacing: 0; display: flex; align-items: center; gap: 4px; }
.pcard .pcard-add { opacity: 1; transform: none; margin-top: auto; }
.pcard-add .btn-primary { background: #edf3fb; color: var(--ink); }
.pcard-add .btn-primary:hover { background: var(--primary); color: white; }
.page-banner, .gs-hero { background: #fff0bf; }
.store-cover { background-image: var(--cover, linear-gradient(120deg, #08254d, #254a74)); }
.store-head, .filter-card, .results-bar { box-shadow: var(--shadow-xs); }

.product-page .crumbs { margin: 0; padding: 19px 0; }
.product-page .pdp { background: #fff; border: 1px solid #e4eaf3; border-radius: 18px; padding: clamp(16px, 2.7vw, 36px); grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 46px); }
.pdp-gallery { grid-template-columns: minmax(0, 1fr); }
.pdp-gallery:has(.thumbs) { grid-template-columns: 64px minmax(0, 1fr); }
.pdp .main-img { background: #f7f8fb; }
.pdp .main-img .fav-btn { z-index: 2; }
.pdp-gallery .thumb { border-radius: 9px; }
.pdp-gallery .thumb.active { border-color: var(--primary); }
.gallery-arrow, .gallery-count { position: absolute; z-index: 1; background: #fff; }
.gallery-arrow { top: calc(50% - 21px); display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #e1e8f1; border-radius: 50%; box-shadow: var(--shadow-xs); }
.gallery-arrow.prev { left: 10px; }
.gallery-arrow.next { right: 10px; }
.gallery-count { bottom: 12px; right: 12px; border-radius: 99px; padding: 3px 10px; font-size: .8rem; }
.pdp-info .pdp-titlebar { padding: 0; }
.pdp-info .pdp-title { font-size: clamp(1.55rem, 2.6vw, 2.6rem); margin: 0 0 8px; line-height: 1.08; letter-spacing: -.05em; text-wrap: balance; }
.pdp-meta:empty { display: none; }
.pdp-info .pill-gs.static { background: #fff0bd; color: #684200; white-space: normal; }
.pdp-info .pdp-price { background: #f3f6fa; border: 0; border-radius: 12px; padding: 14px 17px; }
.pdp-price .pp-row strong { font-size: clamp(1.8rem, 4vw, 2.85rem); line-height: 1.1; letter-spacing: -.05em; }
.pdp-info .pdp-buy { gap: 14px; }
.pdp-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.pdp-actions .btn { font-size: .89rem; padding-inline: 8px; }
.pdp-actions .btn-primary { color: var(--ink); background: var(--yellow); }
.pdp-actions .btn-primary:hover { background: #f2b605; }
.pdp-actions .btn-ghost { border: 1px solid #cddbeb; color: var(--ink); }
.pdp-details > .card { background: #fff; }
select, .price, .sum-total { font-variant-numeric: tabular-nums; }
@media (max-width: 1050px) { .header-actions .signup-link { display: none; } }
@media (max-width: 860px) {
  .hero .hero-slide.active { grid-template-columns: minmax(275px, 1fr) 1fr; }
  .hero .hero-slide { min-height: 320px; }
  .header-main .brand img { height: 34px; }
  .header-main .menu-btn { font-size: 0; width: 40px; }
  .product-page .pdp { grid-template-columns: minmax(0,1fr); }
  .pdp-gallery:has(.thumbs) { grid-template-columns: minmax(0,1fr); }
  .pdp-gallery .thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .pdp-gallery .thumb { flex: 0 0 52px; }
}
@media (max-width: 540px) {
  .container { padding-inline: 14px; }
  .hero .hero-slide.active { grid-template-columns: minmax(0,1fr); }
  .hero-copy { padding: 25px 20px 6px; }
  .hero-copy h1, .hero-copy h2 { font-size: clamp(2.5rem, 12vw, 3.65rem); margin-block: 12px; }
  .hero-copy p { margin-bottom: 13px; }
  .hero-picture { height: 170px; }
  .hero-campaign .hero-picture img { mask-image: linear-gradient(to bottom, transparent, #000 24%); object-position: center 52%; }
  .hero .hero-dots { bottom: 7px; background: #ffc824df; padding: 0 4px; border-radius: 99px; }
  .header-main .hdr-two strong { font-size: .8rem; }
  .header-main .bag-btn { width: 37px; }
  .pdp-actions { grid-template-columns: minmax(0,1fr); }
  .product-page .pdp { padding: 11px; }
  .pdp-gallery .main-img { aspect-ratio: 1.12; }
}
@media (max-width: 380px) { .header-main .brand img { height: 29px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-slide, .main-img img, .pcard { animation: none; transition: none; } }

.checkout-heading { margin: 24px 0 0; letter-spacing: -.04em; }
.banner-search, .inline-search { display: flex; align-items: center; gap: 6px; }
.banner-search input, .inline-search input { min-width: 0; }
.bottom-nav > a, .bottom-nav > button { position: relative; }
.bottom-nav .dot-badge { top: 3px; right: calc(50% - 20px); }
.bottom-nav > button { color: var(--muted); }
.cat-drawer .drawer-panel { width: min(330px, 88vw); }

.pdp-variants { display: grid; gap: 8px; }
.pdp-variants .chip.active { background: #fff2c8; border-color: #a66c06; color: var(--ink); }

.pdp-actions .btn-primary { box-shadow: 0 4px 12px #ad78002b; }

.pdp-heading { display: flex; align-items: flex-start; gap: 8px; }
.pdp-heading .pdp-title { flex: 1; }
.pdp-share { flex-shrink: 0; border: 1px solid var(--line); }
