/* ============================================================
   TOTAL ELECTRO — v3 refinement layer
   ============================================================ */
:root{
  --wrap:1320px;
  --line:#E6E6DF;
  --line-soft:#EFEFE9;
  --paper:#F6F6F1;
  --ink:#0A0C10;
  --muted:#6E7480;
}
body{background:var(--paper)}
.wrap{width:min(var(--wrap),100% - 48px)}

/* kill the christmas-red buttons from the old template */
.season-winter .btn--primary{background:var(--ink);color:#fff}
.season-winter .product__add{background:var(--lime);border-color:var(--lime);color:var(--ink)}
.season-winter .product__add:hover{background:#DAFF7C;border-color:#DAFF7C}
.season-winter .btn--primary:hover{background:var(--ink-3)}
.season-winter .btn--line:hover{border-color:var(--ink);color:var(--ink)}
.season-winter .link-arrow:hover{color:var(--ink);border-color:var(--ink)}
.season-winter .mainnav__link--hot{color:var(--ink)}
.season-winter .mainnav__link--hot::before{background:var(--lime-2);box-shadow:0 0 0 4px rgba(180,240,47,.18)}

/* ---------- header ---------- */
.topline{font-size:.73rem}
.topline__in{min-height:40px}
.topline__ship{color:#D9DCD4}
.topline__promo{background:rgba(201,255,77,.09);border-color:rgba(201,255,77,.34)}
.topline__off{font-size:.76rem;letter-spacing:.06em}
.topline__code{font-size:.7rem;padding:4px 10px}
.head-main{min-height:86px;gap:30px}
.logo__text{font-size:1.52rem}
.logo__mark{width:40px;height:40px;border-radius:12px}
.search{max-width:640px;height:50px;background:#F3F3EE}
.actions__item{font-size:.8rem}
.actions__cart{background:var(--ink);color:#fff;border-radius:999px;padding:10px 16px;gap:8px;transition:background .18s,color .18s}
.actions__cart svg{width:20px;height:20px}
.actions__cart:hover{background:var(--lime);color:var(--ink)}
.actions__cart .actions__badge{left:auto;right:-6px;top:-6px;border-color:var(--ink)}
.mainnav__link{padding:14px 14px;font-size:.83rem}
.mainnav__panel{border-radius:20px}
.head-sub__note{font-size:.71rem}

/* ---------- hero ---------- */
.hero__inner{padding:66px 0 38px;gap:62px}
.hero__copy h1{font-size:clamp(2.75rem,4.6vw,4.55rem);letter-spacing:-.052em}
.hero__lead{font-size:1.08rem;color:#C0C5CE;max-width:34em}
.hero__note{color:#98A0AA;font-size:.76rem}
.hero__stage{border-radius:32px;background:#fff;box-shadow:0 40px 90px -40px rgba(0,0,0,.85),0 0 0 1px rgba(255,255,255,.1)}
.hero__stage img{padding:4%;transform:none}
.hero__product{left:18px;right:18px;bottom:18px;width:auto;padding:14px 18px;border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:14px;box-shadow:0 30px 60px -30px rgba(0,0,0,.65)}
.hero__product-top{display:none}
.hero__product strong{font-size:.93rem;line-height:1.3}
.hero__product-link{display:none}
.hero__product-price{font-size:1.02rem;white-space:nowrap}
.hero__product::after{content:"→";font-size:1rem;font-weight:700;color:#3E433B}
.hero__float{right:-12px;top:24px;border-radius:16px;padding:12px 15px}
.hero__stats{padding:24px 0 32px}
.hero__stats strong{font-size:1.82rem}
.hero__stats span{font-size:.73rem}
.hero__sale{padding:8px 15px;font-size:.82rem}

/* ---------- value bar ---------- */
.valuebar__grid{padding:28px 0;gap:26px}
.valuebar__icon{width:40px;height:40px;border-radius:12px;background:#EEFFCE}
.valuebar__item strong{font-size:.86rem}

/* ---------- categories: clean product tiles ---------- */
.catgrid--premium{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:none;gap:16px}
.grid--4,.grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid--4.grid--products{grid-template-columns:repeat(4,minmax(0,1fr))}
.catcard,.catcard--wide,.catcard:nth-child(4){
  grid-row:auto;grid-column:auto;aspect-ratio:auto;
  display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);
  border-radius:22px;overflow:hidden;isolation:auto;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease
}
.catcard:hover{transform:translateY(-3px);box-shadow:0 26px 55px -38px rgba(10,12,16,.4);border-color:#DCDDD5}
.catcard img{position:static;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;padding:16px;background:#fff;border-bottom:1px solid #F1F1EB;transform:none;transition:transform .5s ease}
.catcard:hover img{transform:scale(1.045)}
.catcard__shade{display:none}
.catcard__body{
  position:static;left:auto;right:auto;bottom:auto;background:#fff;color:var(--ink);
  padding:19px 18px;display:grid;grid-template-columns:1fr 38px;grid-template-rows:auto;gap:2px 8px;align-items:center
}
.catcard__body strong,.catcard--wide .catcard__body strong{font-size:1.14rem;line-height:1.2}
.catcard--wide .catcard__body{padding:19px 18px}
.catcard__body small{display:none}
.catcard__link{
  grid-column:2;grid-row:1;justify-self:end;width:38px;height:38px;margin:0;border-radius:50%;
  background:#F2F2ED;color:var(--ink);display:grid;place-items:center;font-size:0!important;transition:.18s
}
.catcard__link::after{content:"→";font-size:1rem;font-weight:700}
.catcard:hover .catcard__link{background:var(--lime);color:var(--ink)}

/* ---------- product cards ---------- */
.grid--products{gap:18px}
.pcard{border-radius:22px;border-color:#E7E7DF}
.pcard__media{background:#fff;padding:10px}
.pcard__media img{padding:0;transform:scale(1.015)}
.pcard:hover .pcard__media img{transform:scale(1.055)}
.pcard__body{padding:17px 18px 16px}
.pcard__brand{font-size:.6rem;color:#8B9089;margin-bottom:5px}
.pcard__title{font-size:1.02rem;min-height:2.55em;margin-bottom:7px}
.pcard__price strong{font-size:1.4rem}
.pcard__price em{font-size:.6rem}
.pcard__foot{padding-top:12px;border-color:#F1F1EB}
.pcard__add{background:var(--ink);border-color:var(--ink);color:#fff;padding:8px 12px;font-size:.7rem}
.pcard__add:hover{background:var(--lime);border-color:var(--lime);color:var(--ink)}
.pcard__hint{background:rgba(10,12,16,.9)}

/* ---------- feature / why / reviews / brands ---------- */
.feature{padding:82px 0}
.feature__media{border-radius:28px}
.whycard{border-radius:20px;background:#fff}
.whycard__num{color:#557F00}
.reviews--premium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.section.reviews{display:block}
.reviews--premium .review{position:relative;border-radius:22px;padding:28px 26px;margin:0;display:flex;flex-direction:column;gap:14px;min-width:0}
.reviews--premium .review blockquote{margin:0;font-size:.98rem;line-height:1.6;color:#2B3038}
.reviews--premium .review blockquote::before{content:"“";display:block;font-family:var(--display);font-size:2.4rem;line-height:.6;color:var(--lime-2);margin-bottom:8px}
.reviews--premium .review figcaption{margin-top:auto;display:flex;align-items:center;gap:10px;padding-top:8px;border-top:1px solid #F1F1EB}
.review__avatar{width:36px;height:36px;border-radius:50%;background:#F2F2ED;color:var(--ink);display:grid;place-items:center;font-family:var(--display);font-weight:700;font-size:.82rem}
.reviews__score strong{font-size:2.5rem}
.brands{background:#EFEFE8}
.brands__list a{font-size:1.12rem;color:#8C9188}
.newsletter{background:transparent;padding:20px 0 86px}
.newsletter__inner{background:var(--lime);border-radius:28px;padding:46px 50px;position:relative;overflow:hidden}
.newsletter__inner::after{content:"";position:absolute;right:-80px;top:-90px;width:320px;height:320px;border-radius:50%;background:rgba(255,255,255,.28);pointer-events:none}
.newsletter__inner>*{position:relative;z-index:1}
.newsletter__form{box-shadow:0 20px 45px -28px rgba(0,0,0,.4)}

/* ---------- footer ---------- */
.footer{padding-top:66px}

/* ---------- product page ---------- */
.product{padding:34px 0 12px}
.gallery__main{background:#fff;border-color:#E7E7DF;border-radius:26px;aspect-ratio:4/3.25}
.gallery__main img{mix-blend-mode:normal}
.product__info h1{font-size:clamp(2rem,3.1vw,2.75rem)}
.product__pricebox{background:#F5F5F0;border-color:#E9E9E2;border-radius:18px;padding:20px 22px}
.product__price{font-size:2.45rem}
.product__delivery{background:#F1FFD1;border-color:#DDF0A4;border-radius:15px;padding:14px 16px}
.product__add{background:var(--lime);border-color:var(--lime);color:var(--ink);height:52px;font-size:.95rem}
.product__add:hover{background:#DAFF7C;border-color:#DAFF7C}
.product__form .qty input{height:52px;border-radius:13px}
.product__buy .btn{height:50px;border-radius:999px}
.product__trust{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px 18px;gap:9px}
.product__trust li::before{background:#EAF9C6;border-color:#CDEB86;content:"✓";display:grid;place-items:center;font-size:.58rem;font-weight:800;color:#3F6500}
.tabs{border-radius:22px}
.tabs__panel{padding:30px 32px}

/* ---------- cart / checkout empty ---------- */
.cart__empty{
  grid-column:1/-1;background:#fff url('/assets/img/products/p01.jpg') right 6% center/44% auto no-repeat;
  border:1px solid var(--line);border-radius:26px;max-width:none;padding:64px 46% 64px 56px;min-height:380px;
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left
}
.cart__empty h2{font-size:2.35rem;max-width:9em;margin:0 0 10px}
.cart__empty p{color:var(--muted);max-width:24em;margin:0 0 20px;font-size:.94rem}
.cart__empty .btn{background:var(--lime);color:var(--ink);border-color:var(--lime)}
.cart__empty .btn:hover{background:#DAFF7C}

/* ---------- catalog ---------- */
.filters{border-radius:20px;padding:22px;top:180px}
.filter a{padding:8px 10px;border-radius:10px;font-size:.78rem}
.filter a.is-active{background:#EEFFCE;color:#335000}
.listing__sort select{border-radius:999px;padding:9px 34px 9px 14px}
.listing__count{font-size:.8rem}

/* ---------- floating offer ---------- */
.flash{left:24px;bottom:24px;width:304px;padding:16px 17px;border-radius:18px;border-color:#E7E8E2;box-shadow:0 34px 70px -34px rgba(0,0,0,.45)}
.flash__title{font-size:1.06rem}
.flash__text{font-size:.73rem}
.flash__btn{height:40px}

/* ---------- cookie bar ---------- */
.cookiebar{
  left:0;right:0;bottom:0;transform:none;width:100%;background:#fff;color:var(--ink);border:0;border-top:1px solid #E2E3DA;border-radius:0;
  box-shadow:0 -14px 34px -30px rgba(10,12,16,.35);padding:14px 18px;align-items:stretch;justify-content:flex-start;gap:10px;flex-direction:column
}
.cookiebar__text{max-width:none}
.cookiebar__actions{flex:0 0 auto;width:100%}
.cookiebar__actions .btn{flex:1;justify-content:center}
.cookiebar__text strong{color:var(--ink);font-size:.78rem}
.cookiebar__text p{color:var(--muted);font-size:.7rem;margin:3px 0 0}
.cookiebar__text a{color:#3E6500}
.cookiebar .btn--ghost{color:var(--ink);border-color:#DADCD2}
.cookiebar .btn--primary{background:var(--ink);color:#fff}
.cookiebar .btn--sm{padding:9px 15px}

/* ---------- responsive ---------- */
@media (max-width:1120px){
  .grid--4.grid--products{grid-template-columns:repeat(4,minmax(0,1fr))}
  .catgrid--premium{grid-template-columns:repeat(4,minmax(0,1fr))}
  .hero__product{left:16px;right:16px;width:auto}
}
@media (max-width:980px){
  .wrap{width:min(var(--wrap),100% - 40px)}
  .hero__media{order:2}
  .hero__copy{order:1}
  .hero__inner{grid-template-columns:1fr;gap:26px;padding:40px 0 26px}
  .hero__product{left:14px;right:14px;bottom:14px;width:auto}
  .hero__float{right:12px;top:14px}
  .grid--4,.grid--3,.grid--4.grid--products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .catgrid--premium{grid-template-columns:repeat(2,minmax(0,1fr))}
  .newsletter__inner{padding:38px 34px}
}
@media (max-width:700px){
  .wrap{width:calc(100% - 28px)}
  .head-main{padding:12px 0;gap:10px}
  .hero__inner{padding:30px 0 22px}
  .hero__copy h1{font-size:2.5rem}
  .hero__cta{flex-direction:column;align-items:stretch}
  .hero__cta .btn{width:100%;flex:none;padding:14px 18px}
  .hero__note{margin-bottom:18px}
  .hero__usp{gap:10px 18px}
  .hero__stage{aspect-ratio:4/3.35;border-radius:22px}
  .hero__product,.hero__float{display:none}
  .hero__stats{grid-template-columns:repeat(3,minmax(0,1fr));padding:14px 0 18px}
  .hero__stats div{padding:0 10px;border-left:1px solid rgba(255,255,255,.09);border-top:0}
  .hero__stats div:first-child{padding-left:0;border-left:0}
  .hero__stats strong{font-size:1.04rem}
  .hero__stats span{font-size:.61rem;line-height:1.35}
  .valuebar__grid{grid-template-columns:1fr 1fr;gap:16px;padding:22px 0}
  .valuebar__item{gap:10px}
  .valuebar__item p{display:none}
  .valuebar__icon{width:34px;height:34px;border-radius:10px}
  .valuebar__item strong{font-size:.78rem;margin:0}
  .section{padding:52px 0}
  .catgrid--premium{grid-template-columns:1fr 1fr;gap:10px}
  .catcard,.catcard--wide{border-radius:16px}
  .catcard img{padding:10px}
  .catcard__body{padding:12px 12px 14px;grid-template-columns:1fr 30px}
  .catcard__body strong,.catcard--wide .catcard__body strong{font-size:.95rem}
  .catcard__body small{display:none}
  .catcard__link{width:30px;height:30px}
  .catcard__link::after{font-size:.85rem}
  .grid--4,.grid--3,.grid--4.grid--products{gap:10px}
  .pcard{border-radius:16px}
  .pcard__media{padding:6px}
  .pcard__body{padding:12px 12px 13px}
  .pcard__title{font-size:.88rem;min-height:2.7em}
  .pcard__price strong{font-size:1.12rem}
  .pcard__price em{display:none}
  .pcard__foot{padding-top:9px}
  .pcard__add{background:var(--ink);color:#fff;padding:8px 9px}
  .reviews--premium{grid-template-columns:1fr;gap:12px}
  .newsletter{padding:10px 0 56px}
  .newsletter__inner{padding:30px 22px;border-radius:22px}
  .newsletter__form{flex-direction:column;border-radius:16px}
  .cart__empty{background:#fff;padding:32px 24px;min-height:0;border-radius:20px}
  .cart__empty h2{font-size:1.85rem}
  .flash{display:none}
  .cookiebar{
  left:0;right:0;bottom:0;transform:none;width:100%;background:#fff;color:var(--ink);border:0;border-top:1px solid #E2E3DA;border-radius:0;
  box-shadow:0 -14px 34px -30px rgba(10,12,16,.35);padding:14px 18px;align-items:stretch;justify-content:flex-start;gap:10px;flex-direction:column
}
.cookiebar__text{max-width:none}
.cookiebar__actions{flex:0 0 auto;width:100%}
.cookiebar__actions .btn{flex:1;justify-content:center}
  .filters{grid-template-columns:1fr;padding:18px}
  .product__trust{padding:14px}
  .product__pricebox{padding:16px 18px}
  .product__price{font-size:2.1rem}
  .tabs__panel{padding:22px 18px}
}
@media (max-width:420px){
  .grid--4,.grid--3,.grid--4.grid--products{grid-template-columns:1fr 1fr}
  .actions__item:first-child{display:none}
  .hero__copy h1{font-size:2.2rem}
  .hero__stats strong{font-size:.95rem}
  .pcard__title{font-size:.84rem}
}

/* ---------- checkout fields ---------- */
.fieldset{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px 24px 24px;margin:0}
.fieldset legend{background:#fff;padding:0 10px;margin-left:-2px;font-family:var(--display);font-size:1.06rem;font-weight:650;letter-spacing:-.02em}
.formgrid{margin-top:10px}
.cart-table__img img{width:72px;height:72px;object-fit:contain;background:#fff;padding:4px;border-radius:12px}
.mini{grid-template-columns:56px 1fr auto}
.mini img{width:56px;height:56px;object-fit:contain;background:#fff;padding:3px}
.season-winter .cart__side .btn--primary,.season-winter .checkout__submit .btn--primary{background:var(--lime);border-color:var(--lime);color:var(--ink)}
.season-winter .cart__side .btn--primary:hover,.season-winter .checkout__submit .btn--primary:hover{background:#DAFF7C;border-color:#DAFF7C}
.cart-rec{padding-top:0}
.cart-rec .section__head{margin-bottom:18px}