/* === PREMIUM FRESH THEME (light + green) === */
/* Стабильный layout на мобилке: без горизонтального скролла и съезжания шапки при масштабе */
html{
  overflow-x:hidden;
  width:100%;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
:root{
  --bg:#F6F1E8;
  --panel:#ffffff;
  --panel2:#F3F8F1;
  --text:#1B1E1C;
  --muted:#6C756F;
  --line:rgba(27,30,28,.10);

  --brand:#1FA865;
  --brand2:#0F8A55;
  --accent:#F4A000;
  --danger:#E23D54;

  --shadow:0 20px 60px rgba(0,0,0,.12);
  --shadow2:0 12px 30px rgba(0,0,0,.08);

  --radius:18px;
  --radius2:14px;

  --font: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;

  --footer-bg:rgba(255,252,248,.85);
  --footer-border:rgba(27,30,28,.08);
  --footer-text:#2b2b2b;
  --footer-muted:#8b8b8b;
  --mobilebar-height:54px;
  --mobilebar-safe-space:calc(var(--mobilebar-height) + env(safe-area-inset-bottom) + 22px);
  --mobile-inline-gutter:18px;
  --mobile-footer-inner-gutter:6px;
}

/* Premium footer: light — milk/glass */
.footer{
  backdrop-filter:blur(12px);
}

body{
  margin:0;
  color:var(--text);
  font-family:var(--font);
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(35,178,109,.14), transparent 60%),
    radial-gradient(1200px 700px at 95% 10%, rgba(255,176,0,.14), transparent 60%),
    linear-gradient(180deg, rgba(255,249,240,1), rgba(255,249,240,.96)),
    var(--bg);
}

/* Subtle grain */
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.15;
  background-image:url("/static/shop/assets/pattern_2.76ee00fb9e41.webp");
  background-size: 512px 512px;
  background-repeat: repeat;
  mix-blend-mode:multiply;
}

/* Topbar */
.topbar{
  background:rgba(255,255,255,.72);
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(12px);
}
.topbar__meta{
  background:rgba(35,178,109,.06);
  border-bottom:1px solid rgba(31,42,31,.08);
}
.topbar__meta-dot{
  background:rgba(35,178,109,.90);
  box-shadow: 0 0 0 3px rgba(35,178,109,.14);
}

.brand__logo-shell{
  background:linear-gradient(145deg, rgba(35,178,109,.95), rgba(255,176,0,.95));
  box-shadow:0 12px 26px rgba(17,34,22,.14);
}
.brand__logo{background:#fff}
.brand__name{color:var(--text)}
.brand__tag{color:rgba(31,42,31,.62)}

.search__input{
  border:1px solid rgba(31,42,31,.12);
  background:rgba(255,255,255,.72);
  color:var(--text);
  box-shadow:var(--shadow2);
}
.search__btn{
  border:1px solid rgba(35,178,109,.35);
  background:linear-gradient(135deg, rgba(35,178,109,.22), rgba(35,178,109,.10));
}

/* Buttons */
.btn{
  border:1px solid rgba(31,42,31,.12);
  background:rgba(255,255,255,.85);
  color:var(--text);
  box-shadow:var(--shadow2);
}
.btn--primary{
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  color:#fff;
  border:none;
  font-weight:800;
  box-shadow:0 18px 40px rgba(31,168,101,.35);
}
.btn--primary:hover{
  transform:translateY(-2px);
  box-shadow:0 25px 55px rgba(31,168,101,.45);
}
.btn:disabled{
  opacity:.55;
  cursor:not-allowed;
  transform:none !important;
  box-shadow:none !important;
}
.btn[aria-disabled="true"]{
  opacity:.78;
}

/* Cards/panels */
.card, .summary, .product__media, .product__info, .line, .hero__copy, .hero__card{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(31,42,31,.10);
  box-shadow:var(--shadow);
}
.card__desc, .muted, .kpi__label, .lead, .crumbs{color:var(--muted)}
.crumbs a{color:#2a3a35; font-weight:700}
.crumbs__sep{color:#5d6863; opacity:.9}
.crumbs__current{color:#1b1e1c}

.pill{
  border:1px solid rgba(31,42,31,.12);
  background:rgba(35,178,109,.07);
}
.pill--ok{border-color:rgba(35,178,109,.35); background:rgba(35,178,109,.12)}

/* Product card */
.product{
  border-radius:24px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 30px 80px rgba(0,0,0,.10);
  transition:transform .25s ease, box-shadow .25s ease;
}
.product:hover{
  transform:translateY(-4px);
  box-shadow:0 40px 110px rgba(0,0,0,.18);
}
.product__img{
  transition:transform .4s ease;
}
.product:hover .product__img{
  transform:scale(1.08);
}
.product__priceVal{
  font-size:22px;
}
.product__priceUnit{
  display:inline-block;
  margin-left:6px;
  font-size:12px;
  font-weight:700;
  color:var(--muted);
  white-space:nowrap;
}

/* Hero */
.hero{
  padding:40px 0;
}
.hero__grid{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:18px;
  align-items:stretch;
}
.hero__copy{
  position:relative;
  overflow:hidden;
  padding:34px;
  border-radius:28px;
  background:linear-gradient(145deg, #ffffff, #F3F7F4);
  box-shadow:0 30px 80px rgba(0,0,0,.10);
}
.hero__accent{color:var(--brand2)}
.hero__h{
  font-size:42px;
  font-weight:800;
  letter-spacing:-.5px;
}
.hero__cta{
  display:flex;
  gap:10px;
  margin-top:18px;
  flex-wrap:wrap;
}
.hero__kpis{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.kpi{
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.65);
  padding:10px 12px;
}
.kpi__val{
  font-size:30px;
  font-weight:800;
  line-height:1;
}
.kpi__label{
  margin-top:6px;
  color:var(--muted);
}
.hero__card{
  position:relative;
  border-radius:28px;
  overflow:hidden;
  min-height:360px;
  box-shadow:0 40px 100px rgba(0,0,0,.15);
}
.hero__img{
  position:absolute;
  inset:0;
  background-position:center;
  background-size:cover;
  transform:scale(1.02);
}
.hero__imgOverlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(17,30,24,.08), rgba(17,30,24,.46));
}
.hero__cardBadge{
  position:absolute;
  left:18px;
  right:18px;
  bottom:18px;
  border-radius:16px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.75);
  padding:12px 14px;
  box-shadow:0 16px 40px rgba(0,0,0,.18);
}
.hero__badgeTitle{
  font-weight:900;
}
.hero__badgeText{
  margin-top:4px;
  color:#303732;
  font-size:14px;
}

@media (max-width: 920px){
  .hero__grid{grid-template-columns:1fr}
  .hero__h{font-size:34px}
  .hero__kpis{grid-template-columns:1fr}
  .hero__card{min-height:260px}
}

/* Hero refinement */
.hero__bar{
  display:none;
}
.hero .pill{
  display:none;
}
.hero{
  padding:60px 0 40px;
}
.hero__copy{
  background:transparent;
  box-shadow:none;
  padding:20px 0;
}
.hero__h{
  font-size:48px;
  font-weight:900;
  line-height:1.1;
}
.hero__card{
  border-radius:32px;
  overflow:hidden;
  box-shadow:0 40px 100px rgba(0,0,0,.12);
}
.hero__img{
  filter:saturate(1.05) contrast(1.05);
}

/* === HERO ALIGN FIX (organic premium) === */
.hero--home{
  padding:34px 0 18px;
}

.hero--home .hero__grid{
  display:grid;
  grid-template-columns:minmax(0, 1.05fr) minmax(0, .95fr);
  gap:18px;
  align-items:stretch;
}

/* Left block alignment */
.hero--home .hero__copy{
  border-radius:28px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(31,42,31,.10);
  box-shadow:0 20px 60px rgba(17,34,22,.08);
  padding:22px 22px 18px;
  min-height:320px;
}

.hero--home .hero__h{
  margin:6px 0 10px;
  line-height:1.08;
  letter-spacing:-.4px;
  font-weight:950;
}

.hero--home .lead{
  margin:0 0 14px;
  max-width:56ch;
}

.hero--home .hero__kpis{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
  margin-top:14px;
}

/* Right block image alignment */
.hero--home .hero__card{
  position:relative;
  border-radius:28px;
  overflow:hidden;
  border:1px solid rgba(31,42,31,.10);
  box-shadow:0 24px 70px rgba(17,34,22,.10);
  min-height:320px;
}

.hero--home .hero__img{
  position:absolute;
  inset:0;
  background-size:cover;
  background-repeat:no-repeat;
  background-position:50% 50% !important;
  transform:none !important;
}

.hero--home .hero__imgOverlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(70% 55% at 50% 35%, rgba(255,255,255,.00), rgba(0,0,0,.12)),
    linear-gradient(180deg, rgba(0,0,0,.00), rgba(0,0,0,.18));
  pointer-events:none;
}

.hero--home .hero__cardBadge{
  position:absolute;
  left:12px;
  right:12px;
  bottom:12px;
  border-radius:18px;
  padding:12px 14px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(255,255,255,.55);
  backdrop-filter:blur(10px);
}

.hero--home .hero__card img.hero__img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 50% !important;
  display:block;
}

@media (max-width: 920px){
  .hero--home .hero__grid{
    grid-template-columns:1fr;
  }
  .hero--home .hero__copy,
  .hero--home .hero__card{
    min-height:0;
  }
  .hero--home .hero__card{
    height:260px;
  }
  .hero--home .hero__kpis{
    grid-template-columns:1fr;
  }
}

/* Sticky mobile summary bar for checkout/cart */
.stickybar{
  position:fixed;
  left:0; right:0; bottom:0;
  padding:10px 16px calc(10px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.82);
  backdrop-filter: blur(12px);
  border-top:1px solid rgba(31,42,31,.10);
  display:none;
  z-index:50;
}
.stickybar__inner{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
}
.stickybar__sum{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.stickybar__sum strong{font-size:18px}
.stickybar__sum span{font-size:12px; color:var(--muted)}
.stickybar__btn{min-width:160px}
.stickybar__hint{
  max-width:1100px;
  margin:8px auto 0;
  font-size:12px;
  line-height:1.3;
  color:#7b2d1d;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid rgba(200,95,52,.35);
  background:rgba(255,180,120,.20);
}

.checkout #min_hint{
  color:#7b2d1d;
  background:rgba(255,180,120,.20);
  border:1px solid rgba(200,95,52,.35);
  border-radius:10px;
  padding:10px 12px;
  line-height:1.35;
}
.minHint__catalogLink{
  font-weight:700;
  text-decoration:underline;
  margin-left:4px;
}
.stickybar__hint.minHint--replay,
.checkout #min_hint.minHint--replay{
  animation:minHintReplay .32s ease-out;
}
@keyframes minHintReplay{
  0%{opacity:0; transform:translateY(6px)}
  100%{opacity:1; transform:translateY(0)}
}

html[data-theme="dark"] .stickybar__hint,
html[data-theme="dark"] .checkout #min_hint{
  color:#ffd8c8;
  background:rgba(163,66,34,.30);
  border-color:rgba(255,177,142,.35);
}
html[data-theme="dark"] .successHero__main{
  background:linear-gradient(145deg, rgba(12,22,31,.95), rgba(15,28,37,.95));
  border-color:rgba(255,255,255,.16);
  color:#eaf2ee;
}
html[data-theme="dark"] .successHero__lead{
  color:#cad5cf;
}
html[data-theme="dark"] .successHero__details{
  background:rgba(7,14,19,.72);
  border-color:rgba(255,255,255,.14);
}
html[data-theme="dark"] .successHero__row{
  border-top-color:rgba(255,255,255,.12);
  color:#e7efeb;
}
html[data-theme="dark"] .successHero__row span{
  color:#bfcbc5;
}
html[data-theme="dark"] .successHero__row strong{
  color:#f2f7f4;
}
html[data-theme="dark"] .successHero__media{
  border-color:rgba(255,255,255,.16);
}

@media (max-width: 720px){
  .stickybar{display:block}
}

/* ADD TO premium.css (home extras) */
.how{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.how__item{padding:14px;border-radius:18px;background:rgba(255,255,255,.92);border:1px solid rgba(31,42,31,.10);box-shadow:var(--shadow)}
.how__num{width:34px;height:34px;border-radius:12px;display:flex;align-items:center;justify-content:center;
  background:rgba(35,178,109,.12);border:1px solid rgba(35,178,109,.25);font-weight:900}
.how__title{margin-top:10px;font-weight:900}
.how__text{margin-top:6px;font-size:13px}

.trustgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.trustgrid__item{padding:14px;border-radius:18px;background:rgba(35,178,109,.06);border:1px solid rgba(31,42,31,.10)}
.trustgrid__title{font-weight:900}
.trustgrid__text{margin-top:6px;font-size:13px}

.reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px}
.reviews__item{padding:14px;border-radius:18px;background:rgba(255,255,255,.92);border:1px solid rgba(31,42,31,.10);box-shadow:var(--shadow)}
.reviews__text{font-weight:700}
.reviews__who{margin-top:8px;font-size:12px}

@media (max-width: 920px){
  .how,.trustgrid,.reviews{grid-template-columns:1fr}
}

/* Order success page */
.successPage .container{
  max-width:1140px;
}
.successHero{
  display:grid;
  grid-template-columns:minmax(0, 1.08fr) minmax(0, .92fr);
  gap:18px;
  align-items:stretch;
}
.successHero__main{
  border-radius:28px;
  border:1px solid rgba(31,42,31,.10);
  background:linear-gradient(145deg, rgba(255,255,255,.96), rgba(245,250,246,.96));
  box-shadow:0 30px 80px rgba(0,0,0,.10);
  padding:28px;
  color:#19211d;
}
.successHero__icon{
  width:62px;
  height:62px;
  border-radius:18px;
  display:grid;
  place-items:center;
  font-size:30px;
  font-weight:900;
  background:linear-gradient(135deg, rgba(35,178,109,.18), rgba(255,176,0,.20));
  border:1px solid rgba(35,178,109,.40);
  margin:0 auto 12px;
}
.successHero__lead{
  color:#4f5f57;
  margin:8px auto 0;
  max-width:58ch;
  text-align:center;
}
.successHero__details{
  margin-top:18px;
  border:1px solid rgba(31,42,31,.10);
  border-radius:18px;
  background:rgba(255,255,255,.85);
  overflow:hidden;
}
.successHero__row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 14px;
  border-top:1px solid rgba(31,42,31,.10);
  color:#334139;
}
.successHero__row:first-child{
  border-top:none;
}
.successHero__row span{
  color:#5b6d63;
}
.successHero__row strong{
  color:#19211d;
  text-align:right;
}
.successHero__track{
  margin-top:12px;
  text-align:center;
}
.successHero__actions{
  margin-top:16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
.successHero__actionsRow{
  width:100%;
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}
.successHero__actionsRow--single .btn{
  min-width:320px;
}
.successHero__actionsRow--pay{
  flex-direction:row;
  align-items:stretch;
  justify-content:center;
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
}
.successHero__actionsRow--pay .btn{
  min-width:260px;
}
.successHero__actions .btn{
  min-width:220px;
}
.successHero__media{
  position:relative;
  border-radius:28px;
  overflow:hidden;
  border:1px solid rgba(31,42,31,.10);
  box-shadow:0 30px 80px rgba(0,0,0,.12);
  min-height:440px;
}
.successHero__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.successHero__media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.42));
}
.successHero__mediaBadge{
  position:absolute;
  left:16px;
  right:16px;
  bottom:16px;
  z-index:2;
  padding:12px 14px;
  border-radius:14px;
  font-weight:900;
  color:#fff;
  background:rgba(11,40,28,.58);
  border:1px solid rgba(255,255,255,.24);
  backdrop-filter:blur(7px);
  text-align:center;
}

@media (max-width: 920px){
  .successHero{
    grid-template-columns:1fr;
  }
  .successHero__main{
    padding:20px;
  }
  .successHero__row{
    flex-direction:column;
    gap:4px;
  }
  .successHero__row strong{
    text-align:left;
  }
  .successHero__actions .btn{
    min-width:0;
    width:100%;
  }
  .successHero__actionsRow--single .btn{
    min-width:0;
  }
  .successHero__actionsRow--pay{
    flex-direction:column;
    max-width:none;
  }
  .successHero__actionsRow--pay .btn{
    min-width:0;
    width:100%;
  }
  .successHero__media{
    min-height:300px;
  }
}

/* Floating Cart CTA (dynamic) */
.fabcart{
  position:fixed;
  right:12px;
  top:calc(env(safe-area-inset-top) + 112px);
  bottom:auto;
  z-index:60;
  display:none;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  color:#fff;
  border:none;
  box-shadow:0 25px 70px rgba(31,168,101,.45);
  backdrop-filter: blur(12px);
  text-decoration:none;
  transition: transform .12s ease;
}
.fabcart:active{ transform: scale(.98); }

.fabcart__icon{
  width:36px;height:36px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(145deg, rgba(35,178,109,.18), rgba(255,176,0,.14));
  border:1px solid rgba(35,178,109,.20);
}
.fabcart__mid{display:flex;flex-direction:column;line-height:1.05}
.fabcart__title{font-weight:900}
.fabcart__meta{font-size:12px;color:#EAFBF2;display:flex;gap:6px;align-items:center}
.fabcart__count{font-weight:900;color:var(--text)}
.fabcart__sum{font-weight:900;color:var(--text)}
.fabcart__dot{opacity:.7}
.fabcart__cur{opacity:.9}
.fabcart__chev{font-size:18px;opacity:.8;margin-left:2px}

/* Basket of day */
.basketday{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  align-items:stretch;
}
.basketday__media{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  min-height:260px;
  background-size:cover;
  background-position:center;
  border:1px solid rgba(31,42,31,.10);
  box-shadow:var(--shadow);
}
.basketday__overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.00), rgba(0,0,0,.32));
}
.basketday__badge{
  position:absolute; left:14px; right:14px; bottom:14px;
  padding:12px 14px;
  border-radius:18px;
  background:rgba(255,255,255,.84);
  backdrop-filter: blur(10px);
  border:1px solid rgba(255,255,255,.55);
}
.basketday__badgeTitle{font-weight:900}
.basketday__badgeText{font-size:12px;color:var(--muted);margin-top:2px}

.basketday__content{
  padding:16px;
  border-radius:var(--radius);
  background:rgba(255,255,255,.92);
  border:1px solid rgba(31,42,31,.10);
  box-shadow:var(--shadow);
}
.basketday__title{
  font-size:22px;
  font-family:var(--font-display);
  font-weight:800;
}
.basketday__desc{margin-top:6px}
.basketday__list{margin-top:10px}
.basketday__li{font-size:13px;margin-top:6px}
.basketday__cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.basketday__note{margin-top:10px;font-size:12px}

@media (max-width: 920px){
  .basketday{grid-template-columns:1fr}
}

/* === ORGANIC PREMIUM PASS (catalog cards) === */
#catalog .grid--products{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

#catalog .product{
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(31,42,31,.10);
  box-shadow: 0 24px 70px rgba(17,34,22,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}

#catalog .product:hover{
  transform: translateY(-4px);
  box-shadow: 0 34px 90px rgba(17,34,22,.12);
}

/* Media — 4:5 portrait for product photos */
#catalog .product__media{
  position: relative;
  display: block;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: 4 / 5;
}

#catalog .product__img{
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: 50% 50%;
  display: block;
  transform: scale(1.01);
  transition: transform .35s ease;
}

#catalog .product:hover .product__img{
  transform: scale(1.05);
}

/* Let hover gallery slider receive mousemove on the whole card */
.js-product-gallery .product__shine,
.js-product-gallery .product__tag,
.js-product-gallery .product__tagsRow{ pointer-events:none; }

/* Soft vignette to make fruit pop */
#catalog .product__media:after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(80% 60% at 50% 35%, rgba(0,0,0,0), rgba(0,0,0,.10));
  opacity: .55;
  pointer-events:none;
}

/* Badge */
#catalog .product__tag{
  position:absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(31,42,31,.12);
  backdrop-filter: blur(10px);
}

#catalog .product__tag--top{
  background: rgba(242,182,90,.25);
  border-color: rgba(242,182,90,.40);
}

#catalog .product__tag--today{
  background: rgba(35,178,109,.14);
  border-color: rgba(35,178,109,.28);
}

/* «Сезонный продукт» — тот же стиль, что «Сегодня» (мятная пилюля, без CAPS) */
#catalog .product__tag--seasonal{
  background: rgba(35,178,109,.14);
  border-color: rgba(35,178,109,.28);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 900;
  font-size: 12px;
}

/* Плашки на фото в одну строку */
#catalog .product__tagsRow{
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  max-width: calc(100% - 24px);
  pointer-events: none;
}
#catalog .product__tagsRow .product__tag{
  position: static;
  top: auto;
  left: auto;
  right: auto;
}
#catalog .product.is-featured .product__tagsRow{
  left: auto;
  right: 12px;
  justify-content: flex-end;
}

/* Content */
#catalog .product__info{
  padding: 18px 18px 20px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

#catalog .product__name{
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.2px;
}

#catalog .product__row{
  margin-top: 12px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

/* Price = anchor */
#catalog .product__priceVal{
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -.4px;
}

#catalog .product__cur{
  font-weight: 800;
  color: var(--muted);
}
#catalog .product__priceUnit{
  margin-left: 6px;
}

#catalog .product__price{
  white-space: nowrap;
}

#catalog .catalog-empty{
  border-radius: var(--radius2, 14px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
}
#catalog .catalog-empty__body{
  padding: 18px 20px 20px;
  box-sizing: border-box;
}

.product__statusChips{
  margin-top: 6px;
}

.product__stockBadge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:3px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  color:#4d5f56;
  background:rgba(35,178,109,.08);
  border:1px solid rgba(35,178,109,.22);
}

.product__stockBadge .dot{
  width:7px;
  height:7px;
  margin:0;
}

.product__stockBadge--ok{
  color:#1f7c4a;
  background:rgba(35,178,109,.12);
}

.product__stockBadge--no{
  color:#9b3434;
  background:rgba(219,64,64,.10);
  border-color:rgba(219,64,64,.26);
}

/* CTA */
#catalog .product__actions{
  margin-top: 14px;
}

#catalog .product__actions form{
  margin: 0;
}

#catalog .btn--primary{
  width: 100%;
  height: 46px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(35,178,109,.22);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

#catalog .btn--primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 44px rgba(35,178,109,.28);
}

#catalog .btn--primary:focus-visible{
  outline: 3px solid rgba(35,178,109,.28);
  outline-offset: 3px;
}

.product__reviewsBlock{
  margin-top:8px;
  padding:8px 10px;
  border-radius:12px;
  background:rgba(35,178,109,.08);
  border:1px solid rgba(31,42,31,.10);
}

.product__reviewsTitle{
  font-size:12px;
  font-weight:900;
}

.product__reviewsPine{
  margin-top:4px;
  font-size:16px;
  line-height:1;
}

/* Featured (витринный приоритет) */
#catalog .product.is-featured{
  border-color: rgba(35,178,109,.22);
  box-shadow: 0 34px 110px rgba(35,178,109,.10);
}

/* Responsive */
@media (max-width: 920px){
  #catalog .product__img{ height: 310px; }
}

@media (max-width: 720px){
  #catalog .grid--products{
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 620px){
  #catalog .product__img{ height: 320px; }
}

/* FORCE FIX CATALOG LAYOUT */
#catalog .grid,
#catalog .grid--products{
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
}

@media (max-width: 900px){
  #catalog .grid,
  #catalog .grid--products{
    grid-template-columns: 1fr !important;
  }
}

#catalog .product{
  width: 100% !important;
}

#catalog .product__img{
  height: 300px !important;
  object-fit: contain !important;
}

#catalog .product__desc{
  display: none !important;
}

#catalog .product__actions a.btn:not(.btn--primary){
  display: none !important;
}

/* Mirror force fix for homepage hits block */
#hits .grid,
#hits .grid--products{
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
}

@media (max-width: 900px){
  #hits .grid,
  #hits .grid--products{
    grid-template-columns: 1fr !important;
  }
}

#hits .product{
  width: 100% !important;
}

#hits .product__img{
  height: 300px !important;
  object-fit: contain !important;
}

#hits .product__desc{
  display: none !important;
}

#hits .product__actions a.btn:not(.btn--primary){
  display: none !important;
}

/* === FULL WIDTH HERO (organic premium) === */

.hero--full{
  position:relative;
  border-radius:0;
  padding:46px 0 26px;
  overflow:hidden;
  min-height:420px;
}

.hero--full .hero__bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-repeat:no-repeat;
  background-position:50% 55%;
  filter:saturate(1.08) contrast(1.04);
  transform:scale(1.02);
}

.hero--full .hero__shade{
  position:absolute;
  inset:0;
  background:
    radial-gradient(55% 65% at 22% 35%, rgba(255,255,255,.88), rgba(255,255,255,.58) 60%, rgba(255,255,255,.18) 100%),
    linear-gradient(180deg, rgba(255,255,255,.40), rgba(255,255,255,.18));
  pointer-events:none;
}

.hero--full .hero__inner{
  position:relative;
  z-index:1;
}

.hero--full .hero__content{
  width:min(640px, 100%);
  padding:22px 22px 18px;
  border-radius:28px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(31,42,31,.10);
  box-shadow:0 24px 70px rgba(17,34,22,.10);
  backdrop-filter:blur(10px);
}

.hero--full .hero__title{
  margin:10px 0 10px;
  font-weight:950;
  letter-spacing:-.6px;
  line-height:1.06;
  font-size:46px;
}

.hero--full .hero__accent{ color:var(--brand); }

.hero--full .hero__subtitle{
  margin:0 0 16px;
  color:var(--muted);
  max-width:56ch;
}

.hero--full .hero__hl{
  display:inline-block;
  padding:1px 8px;
  border-radius:999px;
  font-weight:900;
  color:#7a1f1f;
  background:linear-gradient(135deg, rgba(255,230,230,.95), rgba(255,245,245,.98));
  border:1px solid rgba(224,66,66,.28);
}

.hero--full .hero__cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:14px;
}

.hero--full .hero__facts{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
}

.hero--full .fact{
  padding:12px 12px;
  border-radius:18px;
  background:rgba(255,255,255,.74);
  border:1px solid rgba(31,42,31,.10);
}

.hero--full .fact__top{
  font-weight:950;
  letter-spacing:-.2px;
}

.hero--full .fact__bot{
  margin-top:2px;
  font-size:12px;
  color:var(--muted);
}

/* Responsive */
@media (max-width: 920px){
  .hero--full{ padding:22px 0 18px; min-height:0; }
  .hero--full .hero__title{ font-size:34px; }
  .hero--full .hero__facts{ grid-template-columns:1fr; }
  .hero--full .hero__bg{ background-position:70% 55%; }
}

/* === HITS TODAY: PREMIUM CARDS FIX === */

#hits .grid--products,
#hits .grid,
.hits .grid--products{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:18px !important;
  align-items:stretch !important;
}

@media (max-width: 920px){
  #hits .grid--products,
  #hits .grid,
  .hits .grid--products{
    grid-template-columns:1fr !important;
  }
}

/* Card */
#hits .product,
.hits .product{
  border-radius:28px !important;
  overflow:hidden !important;
  background:rgba(255,255,255,.94) !important;
  border:1px solid rgba(31,42,31,.10) !important;
  box-shadow:0 24px 70px rgba(17,34,22,.08) !important;
  display:flex !important;
  flex-direction:column !important;
  min-height:0 !important;
}

/* Media — 4:5 portrait */
#hits .product__media,
.hits .product__media{
  position:relative !important;
  display:block !important;
  background:#fff !important;
  aspect-ratio: 4 / 5 !important;
}

#hits .product__img,
.hits .product__img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:50% 50% !important;
  display:block !important;
  transform:scale(1.01) !important;
}

#hits .product__media:after,
.hits .product__media:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(70% 55% at 50% 35%, rgba(255,255,255,0), rgba(0,0,0,.14)),
    linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.18));
  opacity:.55;
  pointer-events:none;
}

/* Badge */
#hits .product__tag,
.hits .product__tag{
  position:absolute !important;
  top:12px !important;
  left:12px !important;
  padding:7px 11px !important;
  border-radius:999px !important;
  font-size:12px !important;
  font-weight:900 !important;
  background:rgba(255,255,255,.86) !important;
  border:1px solid rgba(31,42,31,.12) !important;
  backdrop-filter:blur(10px) !important;
}

#hits .product__tag--top,
.hits .product__tag--top{
  background:rgba(242,182,90,.25) !important;
  border-color:rgba(242,182,90,.40) !important;
}
#hits .product__tag--today,
.hits .product__tag--today,
#hits .product__tag--seasonal,
.hits .product__tag--seasonal{
  background:rgba(35,178,109,.14) !important;
  border-color:rgba(35,178,109,.28) !important;
  text-transform:none !important;
  letter-spacing:normal !important;
}

#hits .product__tagsRow,
.hits .product__tagsRow{
  position:absolute !important;
  top:12px !important;
  left:12px !important;
  z-index:2 !important;
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  align-items:center !important;
  max-width:calc(100% - 24px) !important;
  pointer-events:none !important;
}
#hits .product__tagsRow .product__tag,
.hits .product__tagsRow .product__tag{
  position:static !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
}
#hits .product.is-featured .product__tagsRow,
.hits .product.is-featured .product__tagsRow{
  left:auto !important;
  right:12px !important;
  justify-content:flex-end !important;
}

/* Content layout fixes text jumps */
#hits .product__info,
.hits .product__info{
  padding:16px 16px 14px !important;
  display:flex !important;
  flex-direction:column !important;
  gap:8px !important;
  flex:1 1 auto !important;
  min-height:0 !important;
}

#hits .product__name,
.hits .product__name{
  font-size:16px !important;
  font-weight:950 !important;
  letter-spacing:-.2px !important;
  line-height:1.15 !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  min-height:calc(1.15em * 2) !important;
}

#hits .product__stock,
#hits .product__avail,
.hits .product__stock,
.hits .product__avail{
  font-size:12px !important;
  color:rgba(31,42,31,.55) !important;
}

/* Footer pinned */
#hits .product__footer,
#hits .product__row,
.hits .product__footer,
.hits .product__row{
  margin-top:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px !important;
}

/* Price anchor */
#hits .product__priceVal,
.hits .product__priceVal{
  font-size:20px !important;
  font-weight:950 !important;
  letter-spacing:-.3px !important;
  white-space:nowrap !important;
}

/* CTA */
#hits .btn--primary,
.hits .btn--primary{
  height:42px !important;
  padding:0 14px !important;
  border-radius:999px !important;
  font-weight:900 !important;
  box-shadow:0 16px 34px rgba(35,178,109,.22) !important;
}

/* Hide secondary buttons if present */
#hits .product__actions a.btn:not(.btn--primary),
.hits .product__actions a.btn:not(.btn--primary){
  display:none !important;
}

/* Full catalog CTA под сеткой хитов (не сжимать правилами карточек) */
#hits .home-hits-catalog-ctaWrap{
  margin-top: 28px;
  display: flex;
  justify-content: center;
  padding-bottom: 4px;
}
#hits a.btn.home-hits-catalog-cta{
  height: auto !important;
  min-height: 56px;
  padding: 18px 32px !important;
  font-size: clamp(15px, 3.2vw, 22px) !important;
  font-weight: 950 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  line-height: 1.15 !important;
  text-align: center;
  max-width: min(100%, 520px);
  box-shadow: 0 18px 44px rgba(35, 178, 109, 0.28) !important;
}
@media (max-width: 480px){
  #hits a.btn.home-hits-catalog-cta{
    width: 100%;
    max-width: 100%;
    padding: 16px 20px !important;
  }
}

/* === PDP Gallery (fix huge & duplicated feel) === */

.pdp{
  display:grid;
  grid-template-columns:minmax(0, 1.1fr) minmax(0, .9fr);
  gap:20px;
  align-items:start;
}

.pdp__mediaShell{
  display:grid;
  grid-template-columns:112px minmax(0, 1fr);
  gap:8px;
  align-items:stretch;
  min-width:0;
}

.pdp__thumbsWrap{
  min-height:0;
  display:flex;
  flex-direction:column;
  gap:0;
  min-width:112px;
  overflow:visible;
  height:100%;
}

.pdp__thumbsTitle{
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.03em;
  color:var(--muted);
  flex-shrink:0;
  overflow:visible;
  position:relative;
  z-index:2;
  min-width:90px;
  max-width:112px;
  line-height:1.25;
  word-break:break-word;
}
.pdp__thumbsSub{
  display:block;
  font-size:10px;
  color:var(--muted);
  margin-top:1px;
  flex-shrink:0;
  white-space:nowrap;
  overflow:visible;
  position:relative;
  z-index:2;
}

@media (min-width: 921px){
  .pdp{
    align-items:start;
  }
  .pdp__gallery{
    display:block;
    min-height:0;
  }
  .pdp__stageWrap{
    min-width:0;
  }
  .pdp__mediaShell{
    grid-template-columns:auto minmax(0, 1fr);
  }
  .pdp__thumbsWrap{
    position:sticky;
    top:88px;
    max-height:calc(100vh - 104px);
    height:100%;
    aspect-ratio:1 / 9;
    width:auto;
    min-width:92px;
  }
  .pdp__thumbs{
    display:grid;
    grid-template-rows:repeat(9, 1fr);
    gap:2px;
    height:100%;
    min-height:0;
  }
  .pdp__thumb{
    width:100%;
    height:100%;
    min-width:0;
    min-height:0;
    flex:none;
    aspect-ratio:1;
  }
  .pdp__thumb--video{
    width:100%;
    height:100%;
    min-width:0;
    min-height:0;
    margin-top:0;
    padding:4px;
  }
  .pdp__main{
    height:auto;
    min-height:0;
    aspect-ratio:4 / 5;
    display:flex;
    align-items:stretch;
    justify-content:stretch;
    padding:0;
  }
  .pdp__mainImg{
    height:100%;
    min-height:0;
    width:100%;
    object-fit:contain;
  }
  .pdp__mainVideo{
    height:100%;
    min-height:0;
  }
}

@media (max-width: 920px){
  .pdp{ grid-template-columns:1fr; }
  .pdp__mediaShell{ grid-template-columns:1fr; }
  .pdp__thumbsWrap{ order:2; flex-shrink:0; }
  .pdp__thumbs{
    flex-direction:row;
    overflow-x:auto;
    overflow-y:hidden;
    height:auto;
    padding:4px 0;
    gap:8px;
    -webkit-overflow-scrolling:touch;
  }
  .pdp__thumb{
    flex:0 0 64px;
    width:64px;
    height:64px;
  }
  .pdp__thumb--video{
    width:64px;
    min-width:64px;
    height:64px;
  }
}

.pdp__main{
  border-radius:14px;
  overflow:hidden;
  background:#fdfdfd;
  border:1px solid rgba(31,42,31,.10);
  box-shadow:none;
  position:relative;
  cursor:grab;
}

.pdp__main:active{
  cursor:grabbing;
}

.pdp__mainImg{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:50% 50%;
  display:block;
}

.pdp__mainVideo{
  width:100%;
  height:100%;
  border:0;
  display:none;
  background:#000;
}

.pdp__main--video-only .pdp__mainImg{ display:none !important; }
.pdp__main--video-only .pdp__mainVideo{ display:block !important; }

/* ========== PREMIUM PRODUCT CARD (gallery + header + benefits) ========== */

/* 1. Product gallery — квадратные превью 1:1 в боковой колонке */
.product-gallery{
  display:flex;
  gap:14px;
}
.gallery-thumbs{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.gallery-thumb{
  width:72px;
  aspect-ratio:1/1;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  cursor:pointer;
  flex-shrink:0;
}
.gallery-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.gallery-thumb.active,
.gallery-thumb.is-active{
  border:2px solid var(--brand);
}
@media (min-width: 921px){
  .pdp__thumbsWrap{ min-width:92px; }
  .gallery-thumbs.pdp__thumbs{
    display:flex;
    flex-direction:column;
    gap:10px;
    grid-template-rows:unset;
    height:auto;
  }
  .gallery-thumb.pdp__thumb{
    width:58px;
    height:72px;
    min-width:58px;
    min-height:72px;
    aspect-ratio:4/5;
  }
}

/* CTA: количество и кнопки в одну линию, выравнивание по левому краю */
.detail__cta .cta__form{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
}
.detail__cta .cta__form .qty{
  margin:0;
}
.detail__cta .cta__form .btn{ flex-shrink:0; }

/* 2. Product header — премиальная цена и бейджи */
.product-price{
  font-size:48px;
  font-weight:800;
  letter-spacing:-1px;
  margin-top:8px;
  line-height:1.1;
}
.product-currency{
  font-size:20px;
  opacity:.7;
  margin-left:6px;
  font-weight:600;
}
.detail__priceUnit{
  margin-top:6px;
  font-size:14px;
}
.product-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}
.product-badge{
  padding:8px 14px;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
  background:#f4f4f4;
  color:var(--text);
}
.product-badge.green{
  background:rgba(35,178,109,.12);
  color:#2aa567;
}
.product-description{
  margin-top:16px;
  font-size:16px;
  line-height:1.5;
  color:#555;
  max-width:520px;
}

/* 3. Benefit cards — компактнее, больше воздуха */
.product-benefits{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:16px;
  margin-top:30px;
}
.benefit,
.benefit-card{
  background:#fff;
  border-radius:20px;
  padding:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
  border:1px solid rgba(31,42,31,.06);
}
.benefit-icon{
  font-size:22px;
  line-height:1;
  margin-bottom:8px;
}
.benefit-title{
  font-weight:700;
  font-size:1rem;
  margin-bottom:4px;
  color:var(--text, #1f2a1f);
}
.benefit-sub{
  font-size:12px;
  color:var(--muted, #6b7280);
  margin-bottom:4px;
}
.benefit-text{
  font-size:14px;
  line-height:1.4;
  color:#666;
}
@media (max-width: 480px){
  .product-benefits{
    grid-template-columns:1fr;
    gap:12px;
    margin-top:24px;
  }
  .benefit,
  .benefit-card{ padding:16px; }
  .product-price{ font-size:36px; }
  .product-currency{ font-size:16px; }
}

.pdp__nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:32px;
  height:32px;
  border-radius:999px;
  border:1px solid rgba(17,24,39,.14);
  background:rgba(255,255,255,.94);
  font-size:22px;
  line-height:1;
  cursor:pointer;
  z-index:3;
}

.pdp__nav--prev{ left:10px; }
.pdp__nav--next{ right:10px; }

.pdp__counter{
  position:absolute;
  right:10px;
  bottom:10px;
  z-index:3;
  font-size:12px;
  font-weight:800;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(31,42,31,.14);
}

.pdp__thumbs{
  display:flex;
  flex-direction:column;
  gap:7px;
  overflow:auto;
  height:100%;
  padding-right:2px;
}

.pdp__thumb{
  border:1px solid #d8dee8;
  background:#fff;
  border-radius:10px;
  padding:0;
  overflow:hidden;
  flex:0 0 auto;
  cursor:pointer;
  transition:border-color .12s ease, box-shadow .12s ease;
}
@media (min-width: 921px){
  .pdp__thumb{
    width:100%;
    height:100%;
    min-width:0;
    min-height:0;
  }
}
@media (max-width: 920px){
  .pdp__thumb{
    width:64px;
    height:64px;
  }
}

.pdp__thumb:hover{
  border-color:#9dbdfd;
}

.pdp__thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.pdp__thumb.is-active{
  border-color:#2b7fff;
  box-shadow:0 0 0 1px rgba(43,127,255,.25) inset;
}

.pdp__thumb--video{
  min-width:64px;
  width:64px;
  height:64px;
  padding:6px 4px;
  font-weight:900;
  font-size:11px;
  color:var(--text);
  display:flex;
  flex-direction:column;
  gap:3px;
  align-items:center;
  justify-content:center;
  text-align:center;
  line-height:1.2;
  background:linear-gradient(180deg, #f6f8fc, #eef2f8);
}

.pdp__videoIcon{
  width:22px;
  height:22px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#1f6fff;
  color:#fff;
  font-size:11px;
  line-height:1;
}

.pdp__videoLabel{
  font-size:10px;
  font-weight:800;
  color:#334155;
}

@media (min-width: 921px){
  .pdp__thumb--video{
    margin-top:auto;
  }
  .pdp__nav{
    opacity:0;
    pointer-events:none;
  }
  .pdp__main:hover .pdp__nav{
    opacity:1;
    pointer-events:auto;
  }
  .pdp__counter,
  .pdp__dots{
    display:none;
  }
}

.pdp__dots{
  position:absolute;
  left:50%;
  bottom:10px;
  transform:translateX(-50%);
  z-index:3;
  display:flex;
  gap:6px;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(31,42,31,.12);
}

.pdp__dot{
  width:8px;
  height:8px;
  border-radius:999px;
  border:none;
  background:rgba(31,42,31,.26);
  padding:0;
  cursor:pointer;
}

.pdp__dot.is-active{
  background:var(--brand);
}

@media (max-width: 920px){
  .pdp__thumbs{
    margin-top:10px;
    flex-direction:row;
    gap:10px;
    height:auto;
    padding-bottom:4px;
    padding-right:0;
  }
  .pdp__thumb--video{
    width:auto;
    min-width:92px;
    padding:0 12px;
    font-size:13px;
    flex-direction:row;
    background:#fff;
    gap:8px;
  }
  .pdp__videoLabel{
    font-size:12px;
  }
  .pdp__counter{
    display:none;
  }
}

/* === PDP: remove weird green pills under price === */

/* 1) Stock/badge style reset under product detail */
.pdp .product__stock,
.pdp .product__avail,
.pdp .stock,
.pdp .availability,
.pdp .badge,
.pdp .tag,
.pdp .pill{
  background:transparent !important;
  border:none !important;
  padding:0 !important;
  border-radius:0 !important;
  color:rgba(31,42,31,.55) !important;
}

/* 2) Hide empty chip wrappers if they appear */
.pdp .chips,
.pdp .chip,
.pdp .metaPills{
  display:none !important;
}

/* 3) Hide accidental colored controls near price */
.pdp .price + input,
.pdp .price + label,
.pdp .product__price + input,
.pdp .product__price + label{
  display:none !important;
}

/* PDP badges readability near price */
.pdp .detail__badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}

.pdp .detail__badges .pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px !important;
  border-radius:999px !important;
  border:1px solid rgba(27,30,28,.14) !important;
  background:rgba(255,255,255,.92) !important;
  color:#1B1E1C !important;
  font-weight:700;
  font-size:12px;
  line-height:1.1;
  white-space:nowrap;
  min-height:28px;
}

.pdp .detail__badges .pill--ok{
  border-color:rgba(31,168,101,.45) !important;
  background:rgba(31,168,101,.16) !important;
  color:#114A31 !important;
}

/* Сезонный продукт — в ряду бейджей после «В наличии» */
.pdp .detail__badges .pill.product-badge--seasonal-pdp{
  border-color:rgba(35,178,109,.42) !important;
  background:linear-gradient(180deg, rgba(35,178,109,.22), rgba(35,178,109,.12)) !important;
  color:#0d3d24 !important;
  font-weight:800;
  white-space:normal;
  max-width:100%;
  text-align:center;
}

/* Description block below PDP (full width of container) */
.detail__descriptionBlock{
  margin-top:32px;
  padding-top:24px;
  border-top:1px solid rgba(31,42,31,.08);
}
.detail__descriptionTitle{
  font-size:1.25rem;
  font-weight:800;
  margin-bottom:12px;
  color:var(--text, #1f2a1f);
}

/* ========== Weight badge (product list + PDP) ========== */
.weightBadge{
  display:inline-block;
  font-size:.75em;
  font-weight:600;
  color:var(--brand,#3a6e3a);
  background:rgba(58,110,58,.08);
  border-radius:20px;
  padding:1px 7px;
  margin-left:6px;
  vertical-align:middle;
  white-space:nowrap;
}
.weightBadge--pdp{
  font-size:.8rem;
  font-weight:700;
  color:var(--brand,#3a6e3a);
  background:rgba(58,110,58,.1);
}

/* ========== Basket composition block ========== */
/* ========== Состав корзинки (kit composition) ========== */
.kitComp{
  margin-top:28px;
  padding-top:20px;
  border-top:1px solid rgba(31,42,31,.08);
}
.kitComp__title{
  font-size:1rem;
  font-weight:700;
  margin-bottom:12px;
  color:var(--text,#1f2a1f);
  letter-spacing:.01em;
}
.kitComp__list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.kitComp__item{
  display:flex;
  flex-direction:column;
  align-items:center;
  width:88px;
  border-radius:12px;
  border:1px solid rgba(31,92,69,.12);
  background:var(--surface,#fff);
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  transition:box-shadow .15s ease, transform .15s ease;
  flex-shrink:0;
}
.kitComp__item:hover{
  box-shadow:0 6px 16px rgba(31,92,69,.13);
  transform:translateY(-2px);
}
.kitComp__imgWrap{
  width:100%;
  height:72px;
  overflow:hidden;
  background:rgba(31,92,69,.04);
  display:flex;
  align-items:center;
  justify-content:center;
}
.kitComp__img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.kitComp__imgPlaceholder{
  font-size:1.8rem;
  line-height:1;
}
.kitComp__body{
  padding:6px 6px 8px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:2px;
  width:100%;
}
.kitComp__name{
  font-size:.72rem;
  font-weight:600;
  line-height:1.2;
  color:var(--text,#1f2a1f);
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.kitComp__qty{
  font-size:.68rem;
  color:var(--muted,#6b7c6b);
}
.kitComp__price{
  font-size:.8rem;
  font-weight:800;
  color:var(--brand,#1fa865);
  white-space:nowrap;
  margin-top:2px;
}
html[data-theme="dark"] .kitComp{
  border-top-color:rgba(255,255,255,.08);
}
html[data-theme="dark"] .kitComp__item{
  border-color:rgba(255,255,255,.1);
  background:rgba(255,255,255,.05);
}
html[data-theme="dark"] .kitComp__imgWrap{
  background:rgba(255,255,255,.06);
}

/* Reviews block — full-width strip below description */
.detail__reviewsFullWrap{
  margin-top:32px;
  margin-left:calc(-50vw + 50%);
  margin-right:calc(-50vw + 50%);
  padding:24px 16px 28px;
  background:rgba(31,42,31,.04);
  border-top:1px solid rgba(31,42,31,.08);
}
.detail__reviewsFullWrap .container{ max-width:100%; }
.detail__reviews{
  margin-top:0;
}
.detail__reviewsFull{
  margin-top:0;
}

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

.detail__reviewFormCard{
  border:1px solid rgba(31,42,31,.12);
  border-radius:14px;
  background:rgba(255,255,255,.94);
  padding:12px;
  margin-bottom:10px;
  display:none;
}

.detail__reviewFormCard.is-open{
  display:block;
}

.detail__reviewFormTitle{
  font-weight:900;
  margin-bottom:4px;
}

.detail__reviewForm{
  display:grid;
  gap:10px;
}

.detail__reviewSuccess{
  border:1px solid rgba(31,168,101,.35);
  background:rgba(31,168,101,.10);
  color:#185d3a;
  border-radius:10px;
  padding:8px 10px;
  margin-bottom:8px;
  font-size:13px;
  font-weight:700;
}

.detail__reviewsTitle{
  font-weight:900;
  margin-bottom:10px;
}

.detail__reviewsList{
  display:grid;
  gap:10px;
}

.detail__reviewCard{
  border:1px solid rgba(31,42,31,.12);
  border-radius:14px;
  background:rgba(255,255,255,.92);
  padding:10px 12px;
}

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

.detail__reviewPine{
  font-size:16px;
  line-height:1;
}

.detail__reviewText{
  margin-top:6px;
  color:#303732;
}

.detail__reviewReply{
  margin-top:8px;
  padding:8px 10px;
  border-radius:10px;
  border:1px dashed rgba(31,42,31,.25);
  background:rgba(35,178,109,.07);
}

.detail__reviewReplyTitle{
  font-size:12px;
  font-weight:900;
  margin-bottom:4px;
}

/* === UNIVERSAL HEADER (all pages) === */
.sitehdr{
  position:fixed;
  top:0;
  left:0;
  right:0;
  width:100%;
  max-width:100vw;
  z-index:50;
  background:rgba(255,251,242,.78);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(31,42,31,.10);
  flex-shrink:0;
}

.main{
  padding-top: var(--sitehdr-height, 96px);
}

.sitehdr__row{
  display:flex;
  align-items:center;
  gap:14px;
  padding:10px 16px;
  position:relative;
  min-width:0;
  width:100%;
  box-sizing:border-box;
}

.sitehdr__burger{
  width:40px;
  height:40px;
  border-radius:12px;
  border:1px solid rgba(31,42,31,.16);
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow2);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  cursor:pointer;
  padding:0;
  flex:0 0 auto;
}
.sitehdr__burger-line{
  display:block;
  width:18px;
  height:2px;
  border-radius:2px;
  background:var(--text);
}

.sitehdr__brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--text);
  min-width:0;
  flex-shrink:0;
}

.sitehdr__logo{
  width:44px;
  height:44px;
  border-radius:999px;
  object-fit:cover;
  border:1px solid rgba(31,42,31,.12);
}

.sitehdr__title{
  font-weight:950;
  letter-spacing:-.2px;
  line-height:1.05;
}

.sitehdr__express{
  display:none;
}

.sitehdr__sub{
  font-size:12px;
  color:var(--muted);
  margin-top:2px;
}

.sitehdr__search{
  flex:0 1 300px;
  min-width:160px;
  display:flex;
  gap:8px;
  align-items:center;
}

.sitehdr__input{
  flex:1 1 auto;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(31,42,31,.12);
  background:rgba(255,255,255,.82);
  padding:0 14px;
  outline:none;
}

.sitehdr__btn{
  height:42px;
  padding:0 14px;
  border-radius:999px;
  border:none;
  font-weight:900;
  color:#fff;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow:0 14px 34px rgba(35,178,109,.22);
}
.sitehdr__btn.sitehdr__btn--icon{
  width:38px;height:38px;
  padding:0;flex-shrink:0;
  font-size:17px;line-height:1;
  display:flex;align-items:center;justify-content:center;
  background:transparent;
  box-shadow:none;
  color:var(--text);
  cursor:pointer;
}

.sitehdr__nav{
  display:flex;
  gap:14px;
  align-items:center;
}

.sitehdr__actions{
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:auto;
  flex:0 0 auto;
}

.sitehdr__controls{
  position:relative;
  z-index:70;
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  margin-left:2px;
}

.sitehdr__drawer-backdrop{
  position:fixed;
  inset:0;
  z-index:66;
  background:rgba(6, 16, 12, .42);
}
.sitehdr__drawer{
  position:fixed;
  top:0;
  left:0;
  bottom:0;
  height:100dvh;
  width:min(88vw, 360px);
  z-index:67;
  background:rgba(255,251,242,.98);
  border-right:1px solid rgba(31,42,31,.1);
  box-shadow:0 18px 40px rgba(0,0,0,.22);
  transform:translateX(-104%);
  transition:transform .22s ease;
  padding:calc(var(--sitehdr-height, 96px) + 14px) 14px 18px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
body.site-menu-open .sitehdr__drawer{
  transform:translateX(0);
}
body.site-menu-open{
  overflow:hidden;
}
body.site-menu-open .sitehdr{
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.sitehdr__drawer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.sitehdr__drawer-brand{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  width:100%;
  min-height:auto;
  padding:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.sitehdr__drawer-brand-icon{
  width:58px;
  height:58px;
  flex:0 0 auto;
  display:block;
}
.sitehdr__drawer-brand-wordmark{
  font-size:18px;
  line-height:1;
  font-weight:700;
  letter-spacing:.015em;
  color:var(--text);
  text-decoration:none;
}
.sitehdr__drawer-brand-logo{
  display:block;
  width:min(260px, 100%);
  height:auto;
}
.sitehdr__drawer-brand-logo,
.footer__logo-hor{
  filter:none !important;
}
.sitehdr__drawer-title{
  font-size:14px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--muted);
}
.sitehdr__drawer-close{
  width:32px;
  height:32px;
  border-radius:999px;
  border:1px solid rgba(31,42,31,.16);
  background:#fff;
  font-size:24px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.sitehdr__drawer-nav{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.sitehdr__drawer-row2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.sitehdr__drawer-link{
  display:block;
  text-decoration:none;
  color:var(--text);
  font-weight:800;
  font-size:15px;
  padding:11px 12px;
  border-radius:12px;
  border:1px solid rgba(31,42,31,.12);
  background:rgba(255,255,255,.94);
}
.sitehdr__drawer-link--half{
  text-align:center;
  padding-left:10px;
  padding-right:10px;
}
.sitehdr__drawer-link:hover{
  background:rgba(35,178,109,.08);
}
.sitehdr__drawer-foot{
  margin:10px 0 0;
  padding:10px 0 0;
  border-top:1px solid rgba(31,42,31,.14);
}
.sitehdr__drawer-settings{
  width:100%;
  min-height:40px;
  border:1px solid rgba(31,42,31,.14);
  border-radius:12px;
  background:rgba(255,255,255,.9);
  color:var(--text);
  font-size:14px;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
}
.sitehdr__drawer-settings-icon{
  font-size:16px;
  line-height:1;
}

.sitehdr__ruBadge{
  margin:0 0 10px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(224,66,66,.34);
  background:linear-gradient(135deg, rgba(255,240,240,.95), rgba(255,248,248,.98));
  color:#8a1f1f;
  font-size:13px;
  font-weight:800;
  letter-spacing:.1px;
  box-shadow:0 8px 18px rgba(138,31,31,.12);
}

.sitehdr__ruBadgeIcon{
  font-size:14px;
  line-height:1;
}

.sitehdr__ctrlBtn{
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid rgba(31,42,31,.15);
  background:rgba(255,255,255,.9);
  cursor:pointer;
  box-shadow:var(--shadow2);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  line-height:1;
  padding:0;
}

.sitehdr__link--gear{
  min-width:38px;
  padding:0;
}

.sitehdr__dropdown{
  position:absolute;
  right:0;
  top:calc(100% + 6px);
  min-width:220px;
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(31,42,31,.12);
  background:rgba(255,255,255,.96);
  box-shadow:0 18px 45px rgba(0,0,0,.18);
  z-index:80;
}

.sitehdr__dropdownTitle{
  font-weight:900;
  margin-bottom:8px;
}

.sitehdr__controlRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:8px;
}

.sitehdr__controlRow label{
  font-size:13px;
  color:var(--muted);
}

.sitehdr__controlRow select{
  min-width:110px;
  border-radius:10px;
  border:1px solid rgba(31,42,31,.16);
  background:#fff;
  padding:6px 8px;
  color:var(--text);
}

.sitehdr__link{
  text-decoration:none;
  color:var(--text);
  font-weight:800;
  padding:8px 10px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  gap:4px;
}
.sitehdr__cart-icon,
.sitehdr__login-icon{ font-size:1.05em; }
.sitehdr__cart-text{ display:inline; }

.sitehdr__link:hover{
  background:rgba(35,178,109,.10);
}

.sitehdr__link--login{
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  color:#fff !important;
  padding:8px 14px;
  font-weight:800;
  box-shadow:0 4px 14px rgba(35,178,109,.35);
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.sitehdr__link--login:hover{
  background:linear-gradient(135deg, var(--brand2), var(--brand));
  color:#fff !important;
}
.sitehdr__login-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1.15em;
  height:1.15em;
  font-size:1.1em;
  line-height:1;
}
.sitehdr__login-text{
  display:inline;
}

@media (max-width: 920px){
  .sitehdr__sub{ display:none; }
}

@media (max-width: 720px){
  .sitehdr__row{
    display:grid;
    grid-template-columns:auto minmax(0, 1fr) auto;
    grid-template-areas:
      "burger brand actions"
      "search search search";
    gap:10px 8px;
    align-items:center;
    padding:8px 12px;
  }
  .sitehdr__burger{
    grid-area:burger;
    width:36px;
    height:36px;
    border-radius:10px;
  }
  .sitehdr__brand{
    grid-area:brand;
    min-width:0;
    gap:8px;
  }
  .sitehdr__name{
    min-width:0;
  }
  .sitehdr__title{
    font-size:20px;
    line-height:1.00;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .sitehdr__express{
    display:block;
    margin-top:1px;
    color:#9ea6a1;
    font-size:13px;
    font-style:italic;
    font-weight:600;
    letter-spacing:.2px;
    line-height:1;
    text-transform:lowercase;
    white-space:nowrap;
  }
  .sitehdr__sub{
    display:none;
  }
  .sitehdr__search{
    grid-area:search;
    max-width:none;
  }
  .sitehdr__actions{
    grid-area:actions;
    justify-self:end;
    gap:4px;
  }
  .sitehdr__nav{
    margin-left:0;
    gap:2px;
  }
  .sitehdr__link{
    padding:6px 8px;
    font-size:15px;
    line-height:1.1;
  }
  .sitehdr__link--nav .sitehdr__nav-text{
    display:none;
  }
  .sitehdr__link--nav{
    padding:6px 10px;
    min-width:36px;
    min-height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .sitehdr__link--nav .sitehdr__nav-icon{
    font-size:1.2em;
    line-height:1;
  }
  .sitehdr__link--login .sitehdr__login-text{
    display:none;
  }
  .sitehdr__link--login{
    background:transparent;
    color:inherit !important;
    box-shadow:none;
    padding:6px 8px;
    min-width:0;
    min-height:0;
    border-radius:0;
  }
  .sitehdr__link--login:hover{
    background:rgba(35,178,109,.10);
    color:inherit !important;
  }
  .sitehdr__link--login .sitehdr__login-icon{
    margin:0;
    font-size:1.25em;
  }
  .sitehdr__link--cart .sitehdr__cart-text{
    display:none;
  }
  .sitehdr__link--cart{
    padding:8px 10px;
    min-width:36px;
    min-height:36px;
    border-radius:50%;
  }
  .sitehdr__link--cart .sitehdr__cart-icon{
    font-size:1.2em;
  }
  .sitehdr__link--cart .badge{
    display:none;
  }
  .sitehdr__controls{
    margin-left:0;
  }
  .sitehdr__link--gear{
    display:none !important;
  }
  .sitehdr__ctrlBtn{
    width:34px;
    height:34px;
    font-size:17px;
  }
  .sitehdr__dropdown{
    position:fixed;
    top:calc(var(--sitehdr-height, 88px) + 8px);
    left:10px;
    right:10px;
    min-width:0;
    max-height:calc(100dvh - var(--sitehdr-height, 88px) - 20px);
    overflow:auto;
    border-radius:12px;
    z-index:95;
  }
  .sitehdr__drawer{
    width:min(92vw, 320px);
    padding:calc(var(--sitehdr-height, 88px) + 8px) 12px 12px;
  }
  .sitehdr__drawer-head{
    margin-bottom:8px;
    gap:8px;
  }
  .sitehdr__drawer-brand-icon{
    width:50px;
    height:50px;
  }
  .sitehdr__drawer-brand-wordmark{
    font-size:16px;
  }
  .sitehdr__drawer-brand-logo{
    width:min(170px, 100%);
  }
  .sitehdr__drawer-link{
    font-size:14px;
    padding:9px 10px;
    border-radius:10px;
  }
  .sitehdr__drawer-row2{
    gap:7px;
  }
  .sitehdr__drawer-nav{
    gap:7px;
  }
  .sitehdr__drawer-foot{
    margin:10px 0 0;
    padding:10px 0 0;
  }
  .sitehdr__drawer-settings{
    min-height:38px;
    border-radius:10px;
    font-size:13px;
    justify-content:flex-start;
    padding:0 12px;
  }
}

@media (max-width: 420px){
  .sitehdr__burger{
    width:34px;
    height:34px;
  }
  .sitehdr__logo{
    width:38px;
    height:38px;
  }
  .sitehdr__title{
    font-size:18px;
  }
  .sitehdr__express{
    font-size:12px;
  }
  .sitehdr__link{
    padding:5px 7px;
    font-size:14px;
  }
}

/* Mobile bottom buttons: make icons/text clearly visible */
@media (max-width: 720px){
  .main .container,
  .footer .container{
    padding-left:calc(var(--mobile-inline-gutter) + env(safe-area-inset-left));
    padding-right:calc(var(--mobile-inline-gutter) + env(safe-area-inset-right));
  }
  .footer__panel{
    padding-left:var(--mobile-footer-inner-gutter);
    padding-right:var(--mobile-footer-inner-gutter);
  }
  .mobilebar{
    left:12px;
    right:12px;
    bottom:calc(env(safe-area-inset-bottom) + 10px);
    gap:6px;
  }
  .mobilebar__item{
    border-color:rgba(31,42,31,.16);
    background:rgba(255,251,243,.94);
    box-shadow:0 8px 18px rgba(14,24,18,.08);
    min-height:42px;
    padding:6px 7px 5px;
  }
  .mobilebar__icon{
    color:var(--brand) !important;
    text-shadow:none;
    font-size:13px;
  }
  .mobilebar__text{
    color:var(--text) !important;
    font-weight:650;
    font-size:10.5px;
    line-height:1.2;
  }
  body.bitrix-open .mobilebar{
    opacity:0 !important;
    pointer-events:none !important;
  }
}

/* Light theme: raise inactive icon contrast to text level */
/* Bitrix24 widget: keep clear of mobile nav buttons */
.b24-widget-button-wrapper.b24-widget-button-position-bottom-right{
  right:12px !important;
  bottom:22px !important;
  transform:scale(.82);
  transform-origin:bottom right;
}

@media (max-width: 720px){
  .b24-widget-button-wrapper.b24-widget-button-position-bottom-right{
    right:10px !important;
    bottom:calc(var(--mobilebar-safe-space) + 8px) !important;
    transform:scale(.74);
  }
  .b24-widget-dialog-wrapper,
  .b24-widget-dialog-container,
  .b24-widget-window,
  .b24-widget-button-popup{
    bottom:calc(var(--mobilebar-safe-space) + 4px) !important;
  }
  .b24-widget-dialog-wrapper,
  .b24-widget-dialog-container{
    max-width:calc(100vw - 24px) !important;
    right:12px !important;
  }
  .b24-widget-button-shadow{
    top:0 !important;
    right:0 !important;
    left:0 !important;
    bottom:calc(var(--mobilebar-safe-space) - 18px) !important;
  }
}

/* Gear onboarding tour */
.gearTour{
  position:fixed;
  inset:0;
  z-index:1200;
}
.gearTour[hidden]{display:none;}
.gearTour__backdrop{
  position:absolute;
  inset:0;
  background:rgba(3,10,18,.70);
  backdrop-filter:blur(10px);
}
.gearTour__panel{
  position:absolute;
  top:70px;
  right:18px;
  max-width:320px;
  padding:14px 14px 12px;
  border-radius:18px;
  background:rgba(255,255,255,.98);
  box-shadow:0 22px 60px rgba(0,0,0,.45);
  color:#1b1e1c;
}
html[data-theme="dark"] .gearTour__panel{
  background:rgba(12,24,36,.98);
  color:#f4efe6;
}
.gearTour__arrow{
  position:absolute;
  top:-10px;
  right:32px;
  width:18px;
  height:18px;
  background:inherit;
  transform:rotate(45deg);
}
.gearTour__title{
  font-size:15px;
  font-weight:700;
  margin:0 0 6px;
}
.gearTour__text{
  margin:0 0 6px;
  font-size:13px;
  opacity:.86;
}
.gearTour__list{
  margin:0 0 10px 16px;
  padding:0;
  font-size:13px;
  opacity:.9;
}
.gearTour__list li{
  margin-bottom:2px;
}
.gearTour__actions{
  display:flex;
  gap:6px;
  justify-content:flex-end;
}
.gearTour__btn{
  border-radius:999px;
  border:1px solid rgba(31,42,31,.18);
  padding:4px 10px;
  font-size:12px;
  cursor:pointer;
  background:transparent;
}
.gearTour__btn--primary{
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  border:none;
  color:#fff;
  font-weight:700;
}
.gearTour__btn--ghost{
  background:rgba(255,255,255,.85);
}
html[data-theme="dark"] .gearTour__btn--ghost{
  background:rgba(8,18,28,.85);
  color:var(--muted);
}
@media (max-width:720px){
  .gearTour__panel{
    left:16px;
    right:16px;
    top:auto;
    bottom:90px;
  }
  .gearTour__arrow{
    top:auto;
    bottom:-10px;
    right:24px;
  }
}

/* Dark mode palette for runtime theme switch */
html[data-theme="dark"]{
  --bg:#050b11;
  --panel:#0a1620;
  --panel2:#0d2030;
  --text:#f4efe6;
  --muted:#b7aea2;
  --line:rgba(244,239,230,.10);
  --brand:#d6b56c;
  --brand2:#7aa6c2;
  --danger:#ff4d6d;
  --shadow:0 20px 70px rgba(0,0,0,.45);
  --shadow2:0 12px 30px rgba(0,0,0,.30);
  --footer-bg:rgba(8,18,22,.92);
  --footer-border:rgba(244,239,230,.12);
  --footer-text:#f4efe6;
  --footer-muted:#b7aea2;
}

html[data-theme="dark"] .footer{
  backdrop-filter:blur(14px);
  background:linear-gradient(180deg, rgba(7,15,22,.92) 0%, rgba(5,12,18,.98) 100%);
  border-top-color:rgba(214,181,108,.24);
}
html[data-theme="dark"] .footer .footer__panel{
  background:transparent;
  border-color:transparent;
  box-shadow:none;
}
html[data-theme="dark"] .footer .footer__top{
  background:transparent;
}
html[data-theme="dark"] .footer .footer__brandZone,
html[data-theme="dark"] .footer .footer__col{
  background:transparent;
  border-color:transparent;
}
html[data-theme="dark"] .footer .footer__top > * + *{
  border-left-color:rgba(244,239,230,.14);
}
html[data-theme="dark"] .footer .footer__nav-link{
  color:var(--footer-text);
}
html[data-theme="dark"] .footer .footer__mini-link{
  color:var(--footer-muted);
}
html[data-theme="dark"] .footer .footer__brandHub-link{
  color:var(--footer-muted);
}
html[data-theme="dark"] .footer .footer__brandHub-link:hover{
  color:var(--brand);
}
html[data-theme="dark"] .footer .footer__contact-item{
  color:color-mix(in srgb, var(--footer-muted) 86%, var(--footer-text));
}
html[data-theme="dark"] .footer .footer__contact-item:first-child{
  color:color-mix(in srgb, var(--footer-text) 58%, var(--footer-muted));
}
html[data-theme="dark"] .footer .footer__contacts{
  border-top-color:rgba(244,239,230,.14);
}
html[data-theme="dark"] .footer .footer__bottom{
  border-top-color:rgba(244,239,230,.1);
  color:var(--footer-muted);
  background:transparent;
}
html[data-theme="dark"] .footer .footer__mailto{
  color:var(--footer-text);
  border-bottom-color:rgba(214,181,108,.45);
}
html[data-theme="dark"] .footer .footer__brand-note{
  color:color-mix(in srgb, var(--footer-text) 88%, var(--footer-muted));
}
html[data-theme="dark"] .sitehdr__drawer-brand-wordmark,
html[data-theme="dark"] .footer__brand-wordmark{
  color:#f4efe6;
}

html[data-theme="dark"] body{
  background:
    radial-gradient(900px 520px at 15% -10%, rgba(214,181,108,.22), transparent 60%),
    radial-gradient(900px 520px at 95% 30%, rgba(122,166,194,.14), transparent 55%),
    linear-gradient(180deg, rgba(5,11,17,1), rgba(5,11,17,.92)),
    var(--bg);
}

html[data-theme="dark"] body:before{
  opacity:.08;
  mix-blend-mode:normal;
}

/* Скроллбар в тёмной теме — видимый */
html[data-theme="dark"] ::-webkit-scrollbar{
  width:10px;
  height:10px;
}
html[data-theme="dark"] ::-webkit-scrollbar-track{
  background:rgba(10,22,32,.6);
}
html[data-theme="dark"] ::-webkit-scrollbar-thumb{
  background:rgba(244,239,230,.35);
  border-radius:999px;
}
html[data-theme="dark"] ::-webkit-scrollbar-thumb:hover{
  background:rgba(244,239,230,.5);
}

html[data-theme="dark"] .sitehdr{
  background:rgba(8,16,24,.88);
  border-bottom:1px solid rgba(244,239,230,.12);
}
html[data-theme="dark"] .sitehdr__burger{
  border-color:rgba(244,239,230,.18);
  background:rgba(5,11,17,.76);
}
html[data-theme="dark"] .sitehdr__burger-line{
  background:var(--text);
}
html[data-theme="dark"] .sitehdr__drawer{
  background:rgba(8,16,24,.98);
  border-right-color:rgba(244,239,230,.14);
}
html[data-theme="dark"] .sitehdr__drawer-brand-logo{
  content:normal;
  filter:none !important;
  opacity:1;
}
html[data-theme="dark"] .footer__logo-hor{
  content:normal;
  filter:none !important;
  opacity:1;
}
html[data-theme="dark"] .sitehdr__drawer-brand,
html[data-theme="dark"] .footer__brand-link{
  background:transparent;
}
html[data-theme="dark"] .sitehdr__drawer-brand-logo,
html[data-theme="dark"] .footer__logo-hor{
  image-rendering:auto;
}

.footer__brand-link{
  display:inline-flex;
  align-items:center;
  flex-direction:row;
  gap:10px;
}
.footer__logo-icon{
  width:42px;
  height:42px;
  flex:0 0 auto;
  display:block;
}
.footer__brand-wordmark{
  font-size:17px;
  line-height:1;
  font-weight:700;
  letter-spacing:.015em;
  color:var(--footer-text);
}

@media (max-width: 720px){
  .footer__logo-icon{
    width:36px;
    height:36px;
  }
  .footer__brand-wordmark{
    font-size:15px;
  }
}
html[data-theme="dark"] .sitehdr__drawer-close{
  border-color:rgba(244,239,230,.18);
  background:rgba(5,11,17,.78);
  color:var(--text);
}
html[data-theme="dark"] .sitehdr__drawer-link{
  border-color:rgba(244,239,230,.16);
  background:rgba(7,18,26,.7);
  color:var(--text);
}
html[data-theme="dark"] .sitehdr__drawer-link:hover{
  background:rgba(35,178,109,.14);
}
html[data-theme="dark"] .sitehdr__drawer-foot{
  border-top-color:rgba(244,239,230,.16);
}
html[data-theme="dark"] .sitehdr__drawer-settings{
  border-color:rgba(244,239,230,.18);
  background:rgba(7,18,26,.72);
  color:var(--text);
}

html[data-theme="dark"] .sitehdr__ruBadge{
  border-color:rgba(255,128,128,.35);
  background:linear-gradient(135deg, rgba(90,20,20,.45), rgba(40,10,10,.5));
  color:#ffd7d7;
  box-shadow:0 8px 18px rgba(0,0,0,.25);
}

html[data-theme="dark"] .sitehdr__dropdown{
  border:1px solid rgba(244,239,230,.16);
  background:rgba(10,22,32,.96);
}

html[data-theme="dark"] .sitehdr__ctrlBtn,
html[data-theme="dark"] .sitehdr__controlRow select{
  border:1px solid rgba(244,239,230,.18);
  background:rgba(5,11,17,.7);
  color:var(--text);
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .summary,
html[data-theme="dark"] .product__media,
html[data-theme="dark"] .product__info,
html[data-theme="dark"] .line,
html[data-theme="dark"] .hero__copy,
html[data-theme="dark"] .hero__card,
html[data-theme="dark"] .basketday__content,
html[data-theme="dark"] .how__item,
html[data-theme="dark"] .reviews__item,
html[data-theme="dark"] .detail__reviewCard{
  background:rgba(12,24,36,.82) !important;
  border:1px solid rgba(244,239,230,.12) !important;
}

html[data-theme="dark"] .detail__reviewFormCard{
  background:rgba(12,24,36,.84);
  border-color:rgba(244,239,230,.14);
}

html[data-theme="dark"] .detail__reviewSuccess{
  color:#d8ffea;
  background:rgba(34,152,98,.20);
  border-color:rgba(34,152,98,.45);
}

html[data-theme="dark"] .product__reviewsBlock{
  background:rgba(34,152,98,.18);
  border-color:rgba(244,239,230,.16);
}

html[data-theme="dark"] .detail__reviewText{
  color:#e7ddd0;
}

html[data-theme="dark"] .detail__reviewReply{
  border-color:rgba(244,239,230,.24);
  background:rgba(34,152,98,.14);
}

html[data-theme="dark"] .pdp__nav,
html[data-theme="dark"] .pdp__counter{
  background:rgba(18,35,52,.95);
  border:1px solid rgba(244,239,230,.32);
  color:#f4efe6;
}

/* Тёмная тема: контраст селектора количества */
html[data-theme="dark"] .detail__cta .qty,
html[data-theme="dark"] .cta__form .qty{
  background:rgba(18,35,52,.95);
  border:1px solid rgba(244,239,230,.28);
  border-radius:12px;
}
html[data-theme="dark"] .qty__btn,
html[data-theme="dark"] .qty__input{
  background:transparent !important;
  border-color:rgba(244,239,230,.18) !important;
  color:#f4efe6 !important;
}
html[data-theme="dark"] .qty__input::placeholder{
  color:rgba(244,239,230,.5);
}

/* Тёмная тема: точки пагинации галереи видны */
html[data-theme="dark"] .pdp__dots{
  background:rgba(18,35,52,.95);
  border:1px solid rgba(244,239,230,.28);
}
html[data-theme="dark"] .pdp__dot{
  background:rgba(244,239,230,.45);
}
html[data-theme="dark"] .pdp__dot.is-active{
  background:var(--brand);
  box-shadow:0 0 0 2px rgba(214,181,108,.4);
}

/* Тёмная тема: превью галереи не сливаются с фоном */
html[data-theme="dark"] .gallery-thumb,
html[data-theme="dark"] .pdp__thumb{
  border:1px solid rgba(244,239,230,.25) !important;
  background:rgba(18,35,52,.6) !important;
}
html[data-theme="dark"] .gallery-thumb.is-active,
html[data-theme="dark"] .gallery-thumb.active,
html[data-theme="dark"] .pdp__thumb.is-active{
  border:2px solid var(--brand) !important;
  box-shadow:0 0 0 1px rgba(214,181,108,.3);
}

/* Тёмная тема: основной блок изображения с видимой границей */
html[data-theme="dark"] .pdp__main{
  border:1px solid rgba(244,239,230,.16);
  background:rgba(10,22,34,.9);
}

/* Тёмная тема: бейджи у цены контрастные */
html[data-theme="dark"] .pdp .detail__badges .pill{
  background:rgba(18,35,52,.95) !important;
  border:1px solid rgba(244,239,230,.28) !important;
  color:#e7e0d5 !important;
}
html[data-theme="dark"] .pdp .detail__badges .pill--ok{
  background:rgba(34,152,98,.28) !important;
  border-color:rgba(34,152,98,.5) !important;
  color:#b8f5d4 !important;
}

/* Тёмная тема: блок описания — видимая граница */
html[data-theme="dark"] .detail__descriptionBlock{
  border-top-color:rgba(244,239,230,.18);
}

/* Тёмная тема: карточки преимуществ */
html[data-theme="dark"] .benefit,
html[data-theme="dark"] .benefit-card{
  background:rgba(18,35,52,.9) !important;
  border-color:rgba(244,239,230,.2) !important;
}
html[data-theme="dark"] .benefit-title{ color:#f0ebe2; }
html[data-theme="dark"] .benefit-text,
html[data-theme="dark"] .benefit-sub{ color:#c9bfb3; }

/* Тёмная тема: цена и описание товара хорошо читаются */
html[data-theme="dark"] .product-price,
html[data-theme="dark"] .detail__priceVal{ color:#f4efe6; }
html[data-theme="dark"] .product-currency{ color:rgba(244,239,230,.85); }
html[data-theme="dark"] .product-description{ color:#d7cdc1; }

/* Dark theme contrast pass */
html[data-theme="dark"] .btn{
  background:rgba(15,28,42,.92);
  border-color:rgba(244,239,230,.24);
  color:#f4efe6;
}

html[data-theme="dark"] .btn--primary{
  background:linear-gradient(135deg, #2aa96b, #1f8a58);
  border-color:transparent;
  color:#ffffff;
  box-shadow:0 16px 38px rgba(22,125,81,.45);
}

html[data-theme="dark"] .hero--full .hero__shade{
  background:
    radial-gradient(55% 65% at 22% 35%, rgba(1,8,14,.86), rgba(1,8,14,.62) 60%, rgba(1,8,14,.35) 100%),
    linear-gradient(180deg, rgba(1,8,14,.42), rgba(1,8,14,.62));
}

html[data-theme="dark"] .hero--full .hero__content{
  background:rgba(9,20,31,.88);
  border-color:rgba(244,239,230,.16);
  box-shadow:0 24px 70px rgba(0,0,0,.42);
}

html[data-theme="dark"] .hero--full .hero__title{
  color:#f4efe6;
}

html[data-theme="dark"] .hero--full .hero__subtitle{
  color:#d3c8bc;
}

html[data-theme="dark"] .hero--full .hero__hl{
  color:#ffd7d7;
  background:linear-gradient(135deg, rgba(90,20,20,.45), rgba(40,10,10,.5));
  border-color:rgba(255,128,128,.35);
}

html[data-theme="dark"] .hero--full .fact{
  background:rgba(14,30,44,.92);
  border-color:rgba(244,239,230,.14);
}

html[data-theme="dark"] .hero--full .fact__top{
  color:#f4efe6;
}

html[data-theme="dark"] .hero--full .fact__bot{
  color:#c1b5a8;
}

html[data-theme="dark"] #hits .product,
html[data-theme="dark"] .hits .product,
html[data-theme="dark"] #catalog .product{
  background:rgba(12,24,36,.9) !important;
  border-color:rgba(244,239,230,.14) !important;
  box-shadow:0 20px 62px rgba(0,0,0,.44) !important;
}

html[data-theme="dark"] #hits .product__media,
html[data-theme="dark"] .hits .product__media,
html[data-theme="dark"] #catalog .product__media{
  background:rgba(10,20,30,.9) !important;
}

html[data-theme="dark"] #hits .product__info,
html[data-theme="dark"] .hits .product__info,
html[data-theme="dark"] #catalog .product__info{
  background:rgba(12,24,36,.88) !important;
}

html[data-theme="dark"] #hits .product__tag,
html[data-theme="dark"] .hits .product__tag,
html[data-theme="dark"] #catalog .product__tag{
  background:rgba(8,18,28,.9) !important;
  border-color:rgba(244,239,230,.18) !important;
  color:#f4efe6 !important;
}

html[data-theme="dark"] #hits .product__tag--top,
html[data-theme="dark"] #catalog .product__tag--top{
  background:rgba(34,152,98,.24) !important;
  border-color:rgba(34,152,98,.42) !important;
  color:#e7fff3 !important;
}

html[data-theme="dark"] #hits .product__tag--today,
html[data-theme="dark"] #catalog .product__tag--today{
  background:rgba(205,164,88,.18) !important;
  border-color:rgba(205,164,88,.38) !important;
  color:#ffefcc !important;
}

html[data-theme="dark"] #hits .product__tag--seasonal,
html[data-theme="dark"] .hits .product__tag--seasonal,
html[data-theme="dark"] #catalog .product__tag--seasonal{
  background:rgba(205,164,88,.18) !important;
  border-color:rgba(205,164,88,.38) !important;
  color:#ffefcc !important;
}

html[data-theme="dark"] .h2,
html[data-theme="dark"] .h1,
html[data-theme="dark"] .product__name,
html[data-theme="dark"] .sitehdr__title{
  color:#f4efe6;
}

html[data-theme="dark"] .muted,
html[data-theme="dark"] .lead,
html[data-theme="dark"] .hero__subtitle,
html[data-theme="dark"] .sitehdr__sub{
  color:#c1b5a8;
}

html[data-theme="dark"] .crumbs a{
  color:#e7dfd3;
}

html[data-theme="dark"] .crumbs__sep{
  color:#c9bcad;
  opacity:.9;
}

html[data-theme="dark"] .crumbs__current{
  color:#f4efe6;
}

/* Dark readability boost for "Basket of day" + "How it works" */
html[data-theme="dark"] .basketday__title{
  color:#f4efe6;
}

html[data-theme="dark"] .basketday__desc{
  color:#d7cdc1 !important;
}

html[data-theme="dark"] .basketday__li{
  color:#e7ddd0;
}

html[data-theme="dark"] .basketday__note{
  color:#d1c6ba !important;
}

html[data-theme="dark"] .how__title{
  color:#f4efe6;
}

html[data-theme="dark"] .how__text{
  color:#d7cdc1 !important;
}

html[data-theme="dark"] .basketday__badge{
  background:rgba(9,20,31,.90);
  border-color:rgba(244,239,230,.20);
}

html[data-theme="dark"] .basketday__badgeTitle{
  color:#f4efe6;
}

html[data-theme="dark"] .basketday__badgeText{
  color:#d7cdc1;
}

html[data-theme="dark"] .how__num{
  background:rgba(34,152,98,.30);
  border-color:rgba(34,152,98,.55);
  color:#f4efe6;
}

/* Light theme: panel body text (tg admin, etc.) must be dark for contrast */
html[data-theme="light"] .panel__body,
html:not([data-theme="dark"]) .panel__body{
  color:#1b1e1c;
}
html[data-theme="light"] .panel__body.muted,
html:not([data-theme="dark"]) .panel__body.muted{
  color:#45514b;
}

/* Cart empty state + region panel contrast */
html[data-theme="light"] .empty,
html:not([data-theme="dark"]) .empty{
  border-color:rgba(27,30,28,.18);
  background:rgba(255,255,255,.92);
  color:#1b1e1c;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}
html[data-theme="light"] .empty a,
html:not([data-theme="dark"]) .empty a{
  color:#0f8a55;
  font-weight:800;
  text-decoration:underline;
}
html[data-theme="light"] .panel--region,
html:not([data-theme="dark"]) .panel--region{
  margin-top:0;
  border:1px solid rgba(27,30,28,.12);
  border-radius:16px;
  background:rgba(255,255,255,.9);
  padding:12px 14px;
  box-shadow:0 6px 20px rgba(0,0,0,.06);
}

html[data-theme="dark"] .empty{
  border-color:rgba(244,239,230,.24);
  background:rgba(12,24,36,.82);
  color:#f4efe6;
}
html[data-theme="dark"] .empty a{
  color:#d6b56c;
  font-weight:800;
  text-decoration:underline;
}
html[data-theme="dark"] .panel--region{
  margin-top:0;
  border:1px solid rgba(244,239,230,.18);
  border-radius:16px;
  background:rgba(12,24,36,.82);
  padding:12px 14px;
}

/* Tg admin page: card-style panels and widget */
.tg-admin-page .tg-admin-panel{
  background:var(--panel, rgba(10,22,32,.85));
  border:1px solid var(--line, rgba(255,255,255,.10));
  border-radius:var(--radius, 18px);
  padding:14px 18px;
  box-shadow:var(--shadow2, 0 12px 30px rgba(0,0,0,.30));
}
html[data-theme="light"] .tg-admin-page .tg-admin-panel,
html:not([data-theme="dark"]) .tg-admin-page .tg-admin-panel{
  background:#fff;
  border-color:rgba(27,30,28,.12);
  box-shadow:0 4px 20px rgba(0,0,0,.08);
}
.tg-admin-page .section__head .h2,
.tg-admin-page .panel__title{
  color:var(--text, #1b1e1c);
}
.tg-admin-widget-box{
  margin-top:18px;
  padding:18px;
  background:var(--panel, rgba(10,22,32,.6));
  border-radius:var(--radius, 18px);
  border:1px solid var(--line, rgba(255,255,255,.10));
}
html[data-theme="light"] .tg-admin-widget-box,
html:not([data-theme="dark"]) .tg-admin-widget-box{
  background:#f4f7f5;
  border-color:rgba(27,30,28,.1);
}
.tg-admin-widget-hint{
  margin:0 0 12px;
  font-size:14px;
  color:var(--muted, #6c756f);
}
.tg-admin-actions .panel{
  margin-top:0;
}

/* Checkout map picker */
.checkout .field__label,
.checkout .muted,
.checkout .panel__body,
.checkout .panel__body.muted,
.checkout .mapPicker__grid label,
.cart .muted,
.cart .line__meta,
.summary .muted{
  color:#45514b;
}

.checkout .field input,
.checkout .field textarea,
.checkout .field select{
  color:#1b1e1c;
}

.checkout .field input::placeholder,
.checkout .field textarea::placeholder{
  color:#86908b;
}

.bonusApplyToggle{
  display:flex;
  align-items:flex-start;
  gap:8px;
  font-weight:700;
  line-height:1.35;
}

.bonusApplyToggle input[type="checkbox"]{
  width:22px !important;
  height:22px !important;
  min-width:22px;
  margin:2px 0 0;
  padding:0;
  flex:0 0 auto;
}

.bonusApplyToggle span{
  display:block;
  flex:1 1 auto;
}

.bonusApplyHint{
  margin-top:6px;
  font-size:12px;
  line-height:1.35;
}

.checkout__ruBadge{
  margin:0 0 10px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border-radius:12px;
  border:1px solid rgba(224,66,66,.34);
  background:linear-gradient(135deg, rgba(255,240,240,.95), rgba(255,248,248,.98));
  color:#8a1f1f;
  font-size:13px;
  font-weight:800;
  letter-spacing:.1px;
  box-shadow:0 8px 18px rgba(138,31,31,.12);
}

.checkout__ruBadgeIcon{
  font-size:14px;
  line-height:1;
}

.tgAuthPanel iframe{
  margin-top:8px;
}

.tgAuthPanel__fallback{
  margin-top:8px;
}

.mapPicker{
  display:grid;
  gap:10px;
}
.mapPicker__map{
  width:100%;
  min-height:320px;
  border:1px solid rgba(31,42,31,.12);
  border-radius:14px;
  overflow:hidden;
  box-shadow:var(--shadow2);
}
.mapPicker__controls{
  display:grid;
  gap:8px;
}
.mapPicker__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.mapPicker__grid label{
  display:grid;
  gap:4px;
  font-size:12px;
  color:var(--muted);
}
.mapPicker__grid input{
  width:100%;
}
.mapPicker__actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.mapPicker__google{
  width:100%;
  height:220px;
  border:1px solid rgba(31,42,31,.12);
  border-radius:14px;
  background:#f4f7f5;
}

html[data-theme="dark"] .mapPicker__map,
html[data-theme="dark"] .mapPicker__google{
  border-color:rgba(244,239,230,.18);
}

html[data-theme="dark"] .checkout .field__label,
html[data-theme="dark"] .checkout .muted,
html[data-theme="dark"] .checkout .panel__body,
html[data-theme="dark"] .checkout .panel__body.muted,
html[data-theme="dark"] .checkout .mapPicker__grid label,
html[data-theme="dark"] .cart .muted,
html[data-theme="dark"] .cart .line__meta,
html[data-theme="dark"] .summary .muted{
  color:#d3c8bc;
}

html[data-theme="dark"] .checkout .field input,
html[data-theme="dark"] .checkout .field textarea,
html[data-theme="dark"] .checkout .field select{
  color:var(--text);
  background:rgba(255,255,255,.07);
  border-color:rgba(255,255,255,.14);
}
html[data-theme="dark"] .checkout .field input::placeholder,
html[data-theme="dark"] .checkout .field textarea::placeholder{
  color:rgba(200,195,185,.55);
}
html[data-theme="dark"] .checkout select option{
  background:var(--panel);
  color:var(--text);
}

html[data-theme="dark"] .checkout__ruBadge{
  border-color:rgba(255,128,128,.35);
  background:linear-gradient(135deg, rgba(90,20,20,.45), rgba(40,10,10,.5));
  color:#ffd7d7;
  box-shadow:0 8px 18px rgba(0,0,0,.25);
}

@media (max-width: 720px){
  .sitehdr__row{
    padding-top:calc(8px + env(safe-area-inset-top));
  }

  .bonusApplyToggle{
    font-size:14px;
  }

  .bonusApplyHint{
    font-size:11px;
  }

  .mapPicker__map{
    min-height:280px;
  }
  .mapPicker__grid{
    grid-template-columns:1fr;
  }
}

/* === PRODUCT PHOTO FORMAT: 4:5 (portrait) WITHOUT CROP === */
#catalog .product__media,
#hits .product__media,
.pdp__main{
  aspect-ratio: 4 / 5 !important;
}

#catalog .product__img,
#hits .product__img,
.pdp__mainImg,
.pdp__mainVideo,
.cart .line__media img{
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: 50% 50% !important;
  background: #f7f8f6 !important;
}

#catalog .product:hover .product__img,
#hits .product:hover .product__img{
  transform: none !important;
}

/* === PDP: артикул === */
.detail__identity{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 0 0 14px;
}
.detail__sku{
  font-size: 0.88rem;
  color: #6b7280;
}
html[data-theme="dark"] .detail__sku{
  color: rgba(200, 194, 186, 0.85);
}

/* ========== Admin-only: полный переключатель разделов ========== */
.adminCats{
  margin-bottom:14px;
  border:1px dashed rgba(220,38,38,.35);
  border-radius:10px;
  padding:8px 12px;
  background:rgba(254,242,242,.5);
}
.adminCats__toggle{
  font-size:.8rem;
  font-weight:600;
  color:#dc2626;
  cursor:pointer;
  user-select:none;
  list-style:none;
  display:flex;
  align-items:center;
  gap:6px;
}
.adminCats__toggle::-webkit-details-marker{ display:none; }
.adminCats__chips{
  margin-top:8px;
  flex-wrap:wrap;
}
.adminCats__cnt{
  display:inline-block;
  background:rgba(220,38,38,.15);
  color:#dc2626;
  border-radius:8px;
  font-size:.7em;
  padding:0 5px;
  font-weight:700;
  line-height:1.6;
  vertical-align:middle;
  margin-left:2px;
}
.adminCats__hidden{
  display:inline-block;
  font-size:.65em;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#92400e;
  background:rgba(245,158,11,.2);
  border-radius:6px;
  padding:1px 5px;
  vertical-align:middle;
}
