/* Kosmetika — общий дизайн-системный стиль сайта (вынесен из утверждённых макетов v3) */
:root{
  --red:#e0201a; --black:#161616; --gray:#6f6f6f; --line:#eaeaea; --bg:#f5f5f5;
  --pink:#ff4f93; --green:#22c98d; --yellow:#ffd23f; --purple:#8b5cf6; --teal:#22c9c0;
}
*{box-sizing:border-box; margin:0; padding:0;}
body{font-family:'Inter', sans-serif; color:var(--black); background:#fff;}
h1,h2,h3,.display{font-family:'Baloo 2', sans-serif; font-weight:700;}
a{text-decoration:none; color:inherit;}
ul{list-style:none;}
img{max-width:100%; display:block;}
button{font-family:inherit; cursor:pointer; border:none; background:none;}
input,select,textarea{font-family:inherit;}
.container{max-width:1160px; margin:0 auto; padding:0 24px;}

/* header */
header{background:#fff; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:300;}
.topbar-strip{background:var(--black); color:#fff; text-align:center; font-size:12px; padding:7px 0; letter-spacing:.2px;}
.header-main{display:flex; align-items:center; gap:24px; padding:16px 0;}
.logo{font-family:'Playfair Display',serif; font-weight:700; font-size:26px; display:flex; align-items:center; gap:8px; flex-shrink:0;}
.logo .logo-icon{width:22px; height:22px; display:inline-flex; flex-shrink:0;}
.logo .logo-icon svg{width:100%; height:100%; display:block;}
nav.main-nav{display:flex; gap:22px; font-size:13.5px; font-weight:700;}
nav.main-nav a:hover{color:var(--pink);}
.search-form{flex:1; display:flex; align-items:center; gap:8px; background:var(--bg); border-radius:100px; padding:10px 18px; max-width:420px;}
.search-form input{border:none; background:none; outline:none; font-size:13.5px; width:100%;}
.search-form svg{width:17px; height:17px; color:var(--gray); flex-shrink:0;}
.header-icons{display:flex; align-items:center; gap:20px; margin-left:auto;}
.header-icons a{display:flex; align-items:center; gap:6px; font-size:12.5px; font-weight:700; position:relative;}
.header-icons svg{width:22px; height:22px;}
.cart-count{position:absolute; top:-6px; right:-8px; background:var(--pink); color:#fff; font-size:10px; font-weight:800; width:16px; height:16px; border-radius:50%; display:flex; align-items:center; justify-content:center;}
.burger-btn{display:none;}

footer{background:var(--black); color:rgba(255,255,255,.7); padding:44px 0 20px; margin-top:60px;}
.footer-grid{display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr 1fr; gap:28px; padding-bottom:28px; border-bottom:1px solid rgba(255,255,255,.12);}
.footer-grid h4{color:#fff; font-size:13px; margin-bottom:14px;}
.footer-grid li{margin-bottom:9px; font-size:13px;}
.footer-grid li a:hover{color:#fff;}
.footer-bottom{padding-top:18px; font-size:12px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;}

/* buttons */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:14px 26px; border-radius:100px; font-weight:700; font-size:13.5px; text-transform:uppercase; letter-spacing:.3px;}
.btn-dark{background:var(--black); color:#fff;}
.btn-dark:hover{background:var(--pink);}
.btn-outline{border:1.5px solid var(--black);}
.btn-outline:hover{background:var(--bg);}
.btn-block{width:100%;}
.btn:disabled{opacity:.5; cursor:not-allowed;}

/* breadcrumbs */
.breadcrumbs{font-size:12.5px; color:var(--gray); padding:16px 0;}
.breadcrumbs a:hover{color:var(--black);}

/* product card / grid */
.prod-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
.prod-card{border:1px solid var(--line); border-radius:14px; overflow:hidden; position:relative; transition:box-shadow .15s;}
.prod-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.08);}
.prod-card .badge{position:absolute; top:10px; left:10px; background:var(--red); color:#fff; font-size:10.5px; font-weight:800; padding:3px 8px; border-radius:6px; z-index:2;}
.prod-card .fav{position:absolute; top:8px; right:8px; width:32px; height:32px; border-radius:50%; background:#fff; display:flex; align-items:center; justify-content:center; z-index:2;}
.prod-card .fav svg{width:16px; height:16px;}
.prod-card img{width:100%; aspect-ratio:1/1; object-fit:cover; background:var(--bg);}
.prod-card .pc-body{padding:12px 14px 16px;}
.prod-card .pc-brand{font-size:11px; color:var(--gray); text-transform:uppercase; font-weight:700; margin-bottom:2px;}
.prod-card .pc-name{font-size:13.5px; font-weight:700; line-height:1.35; margin-bottom:8px; min-height:36px;}
.prod-card .pc-price{display:flex; align-items:baseline; gap:8px; white-space:nowrap;}
.prod-card .pc-price .cur{font-weight:800; font-size:14.5px;}
.prod-card .pc-price .old{font-size:12px; color:var(--gray); text-decoration:line-through;}
.prod-card .pc-rating{font-size:11.5px; color:var(--gray); margin-top:6px;}

.section-head{display:flex; align-items:center; justify-content:space-between; margin:44px 0 20px;}
.section-head h2{font-size:24px;}
.section-head a{font-size:13px; font-weight:700; color:var(--pink);}

/* alerts / flash */
.flash-msg{padding:13px 18px; border-radius:10px; font-size:13.5px; font-weight:600; margin-bottom:18px;}
.flash-msg.success{background:#e5f9f1; color:#0e9e6c;}
.flash-msg.error{background:#fde7e6; color:var(--red);}

/* forms */
.field{margin-bottom:16px;}
.field label{display:block; font-size:12.5px; font-weight:700; margin-bottom:7px;}
.field input,.field select,.field textarea{width:100%; padding:12px 14px; border:1.5px solid var(--line); border-radius:9px; font-size:13.5px; outline:none;}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--black);}
.field .error-text{color:var(--red); font-size:11.5px; margin-top:5px;}

/* misc */
.empty-state{text-align:center; padding:60px 20px; color:var(--gray);}

.mobile-nav{display:none;}

/* ===========================================================
   Компоненты пересобранной витрины (v3): hero, категории, вкладки,
   промо, фильтры, корзина/чекаут, статус-трекеры, статические страницы.
   =========================================================== */

/* topbar: несколько пунктов через разделитель, как в макете */
.topbar-strip{display:flex; align-items:center; justify-content:center; gap:22px; flex-wrap:wrap; padding:8px 20px;}
.topbar-strip .tb-sep{opacity:.35;}
.topbar-strip b{color:var(--yellow);}

/* hero carousel */
.hero{position:relative; overflow:hidden; border-radius:22px; margin:22px 0; min-height:380px;}
.hero-slide{display:none; padding:48px 68px; min-height:380px; align-items:center;}
.hero-slide.active{display:flex;}
.hero-slide-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:32px; align-items:center; width:100%;}
.hero-copy .eyebrow{font-size:12px; text-transform:uppercase; letter-spacing:1px; font-weight:800; margin-bottom:12px; color:rgba(22,17,22,.7);}
.hero-copy h1{font-size:clamp(28px,4vw,46px); line-height:1.08; margin-bottom:14px; color:#161116;}
.hero-copy p{font-size:16px; font-weight:600; color:#161116; opacity:.85; margin-bottom:24px; max-width:420px;}
.hero-img-wrap{position:relative; height:280px; border-radius:16px; overflow:hidden; box-shadow:0 20px 40px rgba(0,0,0,.18);}
.hero-img-wrap img{width:100%; height:100%; object-fit:cover;}
.hero-arrows{position:absolute; top:50%; transform:translateY(-50%); width:42px; height:42px; background:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:18px; font-weight:700; box-shadow:0 6px 16px rgba(0,0,0,.18); z-index:5;}
.hero-arrows.prev{left:16px;} .hero-arrows.next{right:16px;}
.hero-dots{position:absolute; bottom:16px; left:50%; transform:translateX(-50%); display:flex; gap:8px; z-index:5;}
.hero-dots button{width:8px; height:8px; border-radius:50%; background:rgba(22,17,22,.3);}
.hero-dots button.active{background:#161116; width:22px; border-radius:5px;}

/* категории со скидкой */
.deal-grid{display:grid; grid-template-columns:repeat(5,1fr); gap:16px;}
.deal-card{position:relative; border-radius:16px; overflow:hidden; aspect-ratio:3/4; background:var(--bg); display:block;}
.deal-card img{width:100%; height:100%; object-fit:cover;}
.deal-info{position:absolute; left:0; right:0; bottom:0; background:rgba(255,255,255,.94); padding:12px 14px;}
.deal-info b{display:block; font-size:14px;}
.deal-info span{font-size:11.5px; color:var(--gray);}

/* вкладки (хиты продаж) */
.tabs{display:flex; gap:10px; margin-bottom:22px; flex-wrap:wrap;}
.tab-btn{padding:9px 18px; border-radius:100px; background:var(--bg); font-weight:700; font-size:13px;}
.tab-btn.active{background:var(--black); color:#fff;}

/* градиентный промо-баннер (подписка / CTA) */
.promo-gradient{background:linear-gradient(120deg,#ffb648,#ff4f93); border-radius:22px; padding:44px 50px; display:flex; align-items:center; justify-content:space-between; gap:26px; flex-wrap:wrap; color:#161116;}
.promo-gradient h3{font-size:clamp(20px,2.4vw,27px); margin-bottom:6px;}
.promo-gradient p{font-weight:600; font-size:13.5px;}
.promo-gradient-form{display:flex; gap:10px; flex-wrap:wrap;}
.promo-gradient-form input{padding:13px 18px; border-radius:100px; border:none; min-width:240px; font-size:13.5px; outline:none;}

.cta-band{background:linear-gradient(120deg,#ff4f93,#ff9a56); border-radius:22px; padding:50px 44px; text-align:center; color:#161116;}
.cta-band h2{font-size:clamp(22px,2.8vw,30px); margin-bottom:10px; color:#161116;}
.cta-band p{font-size:14.5px; font-weight:600; margin-bottom:22px; opacity:.85;}

/* flash-sale секция */
.flash-block{background:linear-gradient(90deg,#22c9c0,#8b5cf6,#ffd23f); border-radius:20px; padding:30px 30px 8px;}
.flash-block-head{display:flex; align-items:center; justify-content:space-between; color:#fff; margin-bottom:22px; flex-wrap:wrap; gap:10px;}
.flash-block-head h2{color:#fff; font-size:clamp(20px,2.6vw,28px);}
.flash-block .prod-grid{padding-bottom:26px;}

/* хлебные крошки / eyebrow общие */
.eyebrow{font-size:12px; text-transform:uppercase; letter-spacing:1px; font-weight:800; color:var(--pink);}

/* ===== избранное / карточка ===== */
.fav-form{position:absolute; top:8px; right:8px; z-index:2;}
.prod-card .fav.is-active{color:var(--pink);}
.badge-new{background:var(--purple);}

/* ===== фильтр-сайдбар каталога ===== */
.catalog-layout{display:grid; grid-template-columns:240px 1fr; gap:28px; align-items:start;}
.filters{border-right:1px solid var(--line); padding-right:24px;}
.filter-block{border-bottom:1px solid var(--line); padding:18px 0;}
.filter-block:first-child{padding-top:0;}
.filter-block h4{font-size:13.5px; margin-bottom:12px;}
.filter-row{display:flex; align-items:center; gap:9px; font-size:13.5px; margin-bottom:10px; color:#3a3a3a;}
.filter-row input[type=checkbox]{width:16px; height:16px; accent-color:var(--black); flex-shrink:0;}
.price-range{display:flex; align-items:center; gap:8px;}
.price-range input{width:100%; padding:9px 10px; border:1px solid var(--line); border-radius:8px; font-size:13px;}
.btn-clear{display:inline-block; margin-top:14px; font-size:12.5px; font-weight:700; text-decoration:underline; color:var(--gray);}
.toolbar{display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; margin-bottom:18px;}
.chip-row{display:flex; gap:8px; flex-wrap:wrap; align-items:center;}
.chip{display:flex; align-items:center; gap:6px; background:var(--bg); border-radius:100px; padding:6px 8px 6px 14px; font-size:12.5px; font-weight:600;}
.chip button{width:18px; height:18px; border-radius:50%; background:#fff; display:flex; align-items:center; justify-content:center; font-size:11px;}
.sort-select{padding:10px 14px; border:1.5px solid var(--line); border-radius:100px; font-size:13px; font-weight:600; outline:none;}
.count-line{color:var(--gray); font-size:13px; margin-bottom:14px;}

@media (max-width:980px){
  .catalog-layout{grid-template-columns:1fr;}
  .filters{border-right:none; padding-right:0;}
}

/* ===== страница товара ===== */
.product-main{display:grid; grid-template-columns:1fr 1fr; gap:44px; margin-bottom:50px;}
.gallery-main{position:relative; aspect-ratio:1/1; background:var(--bg); border-radius:18px; overflow:hidden; margin-bottom:14px;}
.gallery-main img{width:100%; height:100%; object-fit:cover;}
.gallery-main .badge{position:absolute; top:16px; left:16px;}
.gallery-thumbs{display:flex; gap:12px; flex-wrap:wrap;}
.gallery-thumbs button{width:72px; height:72px; border-radius:12px; overflow:hidden; border:2px solid transparent; background:var(--bg); flex-shrink:0; padding:0;}
.gallery-thumbs button.active{border-color:var(--black);}
.gallery-thumbs img{width:100%; height:100%; object-fit:cover;}

.p-brand{font-size:12px; text-transform:uppercase; font-weight:700; color:var(--gray); margin-bottom:6px;}
.p-title{font-size:25px; margin-bottom:10px; line-height:1.2;}
.p-rating{font-size:13px; color:var(--gray); margin-bottom:16px; display:flex; align-items:center; gap:6px;}
.p-rating .stars{color:var(--yellow); letter-spacing:1px; -webkit-text-stroke:.4px #d69f00;}
.p-price-row{display:flex; align-items:baseline; gap:12px; margin-bottom:6px; flex-wrap:wrap;}
.p-price{font-size:27px; font-weight:800;}
.p-old-price{font-size:15px; color:var(--gray); text-decoration:line-through;}
.p-save{font-size:12.5px; font-weight:700; color:#0e9e6c; background:#e5f9f1; padding:3px 9px; border-radius:100px;}
.p-installments{font-size:12.5px; color:var(--gray); margin-bottom:20px;}
.p-desc{font-size:14px; color:#3a3a3a; line-height:1.7; margin-bottom:22px;}

.opt-block{margin-bottom:22px;}
.opt-label{font-size:13px; font-weight:700; margin-bottom:10px;}
.opt-label .sel{font-weight:400; color:var(--gray);}
.opt-chips{display:flex; gap:9px; flex-wrap:wrap;}
.opt-chip{border:1.5px solid var(--line); border-radius:9px; padding:9px 16px; font-size:13px; font-weight:600;}
.opt-chip.active{border-color:var(--black); background:var(--black); color:#fff;}

.buy-row{display:flex; align-items:center; gap:12px; margin-bottom:20px; flex-wrap:wrap;}
.qty-stepper{display:flex; align-items:center; border:1.5px solid var(--line); border-radius:100px; overflow:hidden; flex-shrink:0;}
.qty-stepper button{width:40px; height:48px; font-size:18px; font-weight:700;}
.qty-stepper span, .qty-stepper input{width:34px; text-align:center; font-weight:700; font-size:14px; border:none;}
.btn-addcart{display:inline-flex; align-items:center; gap:8px; background:var(--black); color:#fff; font-weight:700; padding:0 24px; height:48px; border-radius:100px; font-size:13.5px;}
.btn-addcart:hover{background:var(--pink);}
.btn-fav-toggle{width:48px; height:48px; border-radius:50%; border:1.5px solid var(--line); display:flex; align-items:center; justify-content:center; flex-shrink:0;}
.btn-fav-toggle.is-active{color:var(--pink); border-color:var(--pink);}

.trust-list{border-top:1px solid var(--line); padding-top:20px; display:flex; flex-direction:column; gap:12px;}
.trust-list div{display:flex; align-items:center; gap:10px; font-size:13.5px; color:#3a3a3a;}
.trust-list .ic{font-size:17px;}

.detail-tabs{display:flex; gap:4px; border-bottom:1px solid var(--line); margin-bottom:22px; flex-wrap:wrap;}
.detail-tab{padding:12px 18px; font-size:13.5px; font-weight:700; color:var(--gray); border-bottom:2px solid transparent; margin-bottom:-1px;}
.detail-tab.active{color:var(--black); border-color:var(--black);}
.detail-panel{display:none; font-size:13.5px; color:#3a3a3a; line-height:1.75;}
.detail-panel.active{display:block;}

/* ===== корзина ===== */
.ship-bar{background:var(--bg); border-radius:14px; padding:16px 20px; margin-bottom:26px;}
.ship-bar .txt{font-size:13.5px; font-weight:600; margin-bottom:10px;}
.ship-bar .txt b{color:#0e9e6c;}
.ship-track{height:8px; border-radius:100px; background:#e4e4e4; overflow:hidden;}
.ship-fill{height:100%; background:linear-gradient(90deg,#22c98d,#22c9c0); border-radius:100px; transition:width .3s;}

.cart-layout{display:grid; grid-template-columns:1fr 340px; gap:30px; align-items:start;}
.cart-item{display:grid; grid-template-columns:88px 1fr auto; gap:18px; padding:20px 0; border-bottom:1px solid var(--line); align-items:center;}
.cart-item img{width:88px; height:88px; border-radius:12px; object-fit:cover; background:var(--bg);}
.ci-brand{font-size:11px; text-transform:uppercase; font-weight:700; color:var(--gray); margin-bottom:2px;}
.ci-name{font-weight:700; font-size:14px; margin-bottom:4px;}
.ci-variant{font-size:12px; color:var(--gray); margin-bottom:8px;}
.ci-remove{font-size:12px; color:var(--gray); text-decoration:underline;}
.ci-right{text-align:right; display:flex; flex-direction:column; align-items:flex-end; gap:10px;}
.ci-price{font-weight:800; font-size:14.5px;}
.ci-price .old{font-size:12px; color:var(--gray); text-decoration:line-through; font-weight:600; margin-left:6px;}

.promo-row{display:flex; gap:10px; margin-top:22px;}
.promo-row input{flex:1; border:1.5px solid var(--line); border-radius:100px; padding:12px 18px; font-size:13.5px; outline:none;}
.promo-row button{border:1.5px solid var(--black); border-radius:100px; padding:0 22px; font-weight:700; font-size:13px;}
.promo-row button:hover{background:var(--black); color:#fff;}
.promo-applied{display:flex; align-items:center; justify-content:space-between; background:#e5f9f1; color:#0e9e6c; border-radius:100px; padding:10px 18px; margin-top:22px; font-size:13px; font-weight:700;}
.promo-applied button{color:#0e9e6c; text-decoration:underline; font-weight:600;}

.summary{border:1px solid var(--line); border-radius:16px; padding:24px; position:sticky; top:90px;}
.summary h3{font-size:16px; margin-bottom:16px;}
.sum-item{display:grid; grid-template-columns:44px 1fr auto; gap:12px; align-items:center; margin-bottom:12px; font-size:13px;}
.sum-item img{width:44px; height:44px; border-radius:8px; object-fit:cover; background:var(--bg);}
.si-name{font-weight:700;}
.si-qty{color:var(--gray); font-size:12px;}
.sum-divider{height:1px; background:var(--line); margin:14px 0;}
.sum-row{display:flex; justify-content:space-between; font-size:13.5px; padding:6px 0;}
.sum-row.discount span:last-child{color:var(--red);}
.sum-row.total{font-weight:800; font-size:17px; padding-top:14px; border-top:1px solid var(--line); margin-top:8px;}
.pay-mini{display:flex; gap:8px; margin-top:14px; flex-wrap:wrap;}
.pay-mini span{background:var(--bg); font-size:11px; font-weight:700; padding:5px 10px; border-radius:6px;}
.terms-note{font-size:11px; color:var(--gray); text-align:center; margin-top:12px; line-height:1.5;}

@media (max-width:980px){
  .cart-layout{grid-template-columns:1fr;}
  .summary{position:static;}
  .product-main{grid-template-columns:1fr;}
}
@media (max-width:640px){
  .cart-item{grid-template-columns:64px 1fr; row-gap:10px;}
  .ci-right{grid-column:1 / -1; flex-direction:row; justify-content:space-between; align-items:center;}
}

/* ===== чекаут: степпер, карточки способов ===== */
.steps{display:flex; justify-content:center; gap:8px; padding:18px 0; background:var(--bg); border-radius:14px; margin-bottom:24px;}
.step{display:flex; align-items:center; gap:8px; font-size:12.5px; font-weight:700; color:var(--gray);}
.step .num{width:24px; height:24px; border-radius:50%; background:#e4e4e4; color:#fff; display:flex; align-items:center; justify-content:center; font-size:12px;}
.step.done .num{background:#22c98d;}
.step.active{color:var(--black);}
.step.active .num{background:var(--black); color:#fff;}
.step-sep{width:36px; height:1px; background:var(--line); align-self:center;}
@media (max-width:640px){ .steps{gap:2px;} .step .txt{display:none;} .step-sep{width:16px;} }

.form-card{border:1px solid var(--line); border-radius:14px; padding:22px; margin-bottom:18px;}
.form-card h3{font-size:15px; margin-bottom:16px; display:flex; align-items:center; gap:10px;}
.form-card h3 .n{width:22px; height:22px; border-radius:50%; background:var(--black); color:#fff; font-size:11.5px; display:flex; align-items:center; justify-content:center; flex-shrink:0;}
.field-row{display:flex; gap:14px; margin-bottom:2px;}
.field-row .field{flex:1;}

.radio-card{border:1.5px solid var(--line); border-radius:12px; padding:14px 16px; display:flex; align-items:center; gap:12px; cursor:pointer; margin-bottom:10px;}
.radio-card.selected{border-color:var(--black); background:#fafafa;}
.radio-card input{width:18px; height:18px; accent-color:var(--black); flex-shrink:0;}
.radio-card .rc-title{font-weight:700; font-size:14px;}
.radio-card .rc-sub{font-size:12px; color:var(--gray);}
.radio-card .rc-price{margin-left:auto; font-weight:700; font-size:13.5px; white-space:nowrap;}
.radio-card.is-disabled{opacity:.45; cursor:not-allowed;}

.pay-options{display:grid; grid-template-columns:1fr 1fr; gap:12px;}
.pay-card{border:1.5px solid var(--line); border-radius:12px; padding:15px; display:flex; align-items:center; gap:10px; cursor:pointer;}
.pay-card.selected{border-color:var(--black); background:#fafafa;}
.pay-card.is-disabled{opacity:.45; cursor:not-allowed;}
.pay-card input{position:absolute; opacity:0; width:0; height:0;}
.pc-logo{width:34px; height:34px; border-radius:8px; background:var(--bg); display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:800; flex-shrink:0;}
.pc-name{font-weight:700; font-size:13.5px;}
.pc-sub{font-size:11.5px; color:var(--gray);}
@media (max-width:520px){ .pay-options{grid-template-columns:1fr;} .field-row{flex-direction:column; gap:0;} }

/* ===== личный кабинет: сайдбар/вкладки ===== */
.account-layout{display:grid; grid-template-columns:230px 1fr; gap:28px; align-items:start;}
.account-nav{display:flex; flex-direction:column; gap:2px;}
.account-nav a{padding:12px 16px; border-radius:10px; font-size:13.5px; font-weight:700; color:#3a3a3a; display:flex; align-items:center; gap:10px;}
.account-nav a.active{background:var(--black); color:#fff;}
.account-nav a.logout{color:var(--red); margin-top:10px;}
.account-user{display:flex; align-items:center; gap:12px; padding:16px; border:1px solid var(--line); border-radius:14px; margin-bottom:14px;}
.account-avatar{width:44px; height:44px; border-radius:50%; background:var(--purple); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:16px; flex-shrink:0;}
@media (max-width:860px){ .account-layout{grid-template-columns:1fr;} }

.order-row{border:1px solid var(--line); border-radius:14px; padding:18px; margin-bottom:12px;}
.order-row-head{display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; flex-wrap:wrap; gap:8px;}
.order-thumbs{display:flex; gap:8px; margin-bottom:14px;}
.order-thumbs img{width:44px; height:44px; border-radius:8px; object-fit:cover; background:var(--bg);}
.order-thumbs .more{width:44px; height:44px; border-radius:8px; background:var(--bg); display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; color:var(--gray);}
.order-row-foot{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px;}
.status-pill{font-size:11.5px; font-weight:800; padding:5px 12px; border-radius:100px; white-space:nowrap;}
.status-pill.new{background:#eef0ff; color:#4f5bd5;}
.status-pill.processing{background:#fff2df; color:#c67c11;}
.status-pill.shipped{background:#e5f0ff; color:#1c6fe0;}
.status-pill.delivered{background:#e5f9f1; color:#0e9e6c;}
.status-pill.cancelled, .status-pill.dispute{background:#fde7e6; color:var(--red);}
.btn-sm{font-size:12.5px; font-weight:700; padding:9px 16px; border-radius:100px;}
.btn-sm.dark{background:var(--black); color:#fff;}
.btn-sm.outline{border:1.5px solid var(--black);}

/* ===== подтверждение заказа: трекер ===== */
.order-tracker{display:flex; align-items:flex-start; justify-content:space-between; margin:30px 0 40px; position:relative;}
.tracker-step{display:flex; flex-direction:column; align-items:center; gap:8px; flex:1; position:relative; text-align:center;}
.tracker-step .dot{width:30px; height:30px; border-radius:50%; background:#e4e4e4; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:13px; z-index:2;}
.tracker-step.done .dot{background:#22c98d;}
.tracker-step.active .dot{background:var(--black);}
.tracker-step .label{font-size:12px; font-weight:700;}
.tracker-step .sub{font-size:11px; color:var(--gray);}
.tracker-step:not(:last-child)::after{content:''; position:absolute; top:15px; left:calc(50% + 20px); right:calc(-50% + 20px); height:2px; background:var(--line); z-index:1;}
.tracker-step.done:not(:last-child)::after{background:#22c98d;}

/* ===== о нас ===== */
.about-hero{display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:center; margin:28px 0 40px;}
.about-hero h1{font-size:clamp(26px,3.4vw,38px); margin:10px 0 14px; line-height:1.15;}
.about-hero p{font-size:14.5px; color:#3a3a3a; line-height:1.75;}
.about-hero-img{border-radius:18px; overflow:hidden; aspect-ratio:4/3; background:var(--bg);}
.about-hero-img img{width:100%; height:100%; object-fit:cover;}

.stats-bar{background:var(--black); color:#fff; border-radius:18px; padding:30px 20px; display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; margin-bottom:50px;}
.stats-bar b{display:block; font-size:26px; color:var(--yellow); font-family:'Baloo 2',sans-serif;}
.stats-bar span{font-size:12px; opacity:.75;}

.values-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
.value-card{border:1px solid var(--line); border-radius:16px; padding:22px;}
.value-card .ic{width:42px; height:42px; border-radius:12px; background:var(--bg); display:flex; align-items:center; justify-content:center; margin-bottom:14px;}
.value-card h3{font-size:14.5px; margin-bottom:8px;}
.value-card p{font-size:12.5px; color:var(--gray); line-height:1.6;}

.timeline{border-left:2px solid var(--line); padding-left:28px; display:flex; flex-direction:column; gap:26px;}
.tl-item{position:relative;}
.tl-item::before{content:''; position:absolute; left:-33px; top:4px; width:10px; height:10px; border-radius:50%; background:var(--pink);}
.tl-year{font-weight:800; color:var(--pink); font-size:13px; margin-bottom:4px;}
.tl-item h4{font-size:14.5px; margin-bottom:4px;}
.tl-item p{font-size:12.5px; color:var(--gray); line-height:1.6;}

.team-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.team-card img{width:100%; aspect-ratio:1/1; border-radius:16px; object-fit:cover; margin-bottom:12px; background:var(--bg);}
.t-name{font-weight:700; font-size:14px;}
.t-role{font-size:12px; color:var(--gray);}

@media (max-width:860px){
  .about-hero{grid-template-columns:1fr;}
  .stats-bar{grid-template-columns:1fr 1fr;}
  .values-grid{grid-template-columns:1fr 1fr;}
  .team-grid{grid-template-columns:1fr 1fr;}
}

/* ===== контакты ===== */
.page-head{margin:24px 0 30px;}
.page-head h1{font-size:28px; margin-bottom:10px;}
.page-head p{color:var(--gray); font-size:14px; max-width:560px;}
.info-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:34px;}
.info-card{border:1px solid var(--line); border-radius:14px; padding:20px;}
.info-card .ic{width:36px; height:36px; border-radius:10px; background:var(--bg); display:flex; align-items:center; justify-content:center; margin-bottom:12px;}
.info-card h4{font-size:10.5px; text-transform:uppercase; letter-spacing:.5px; color:var(--gray); margin-bottom:4px;}
.info-card .val{font-weight:700; font-size:13.5px;}
.contact-layout{display:grid; grid-template-columns:1fr 1fr; gap:26px; margin-bottom:50px;}
.map-box{position:relative; border-radius:18px; background:linear-gradient(135deg,#f0fbf6,#fdf0f6); min-height:340px; display:flex; align-items:center; justify-content:center; overflow:hidden;}
.map-pin{display:flex; flex-direction:column; align-items:center; gap:10px;}
.map-pin .pin-circle{width:52px; height:52px; border-radius:50%; background:var(--pink); display:flex; align-items:center; justify-content:center;}
.map-pin .addr{background:#fff; padding:8px 16px; border-radius:100px; font-weight:700; font-size:12.5px; box-shadow:0 4px 12px rgba(0,0,0,.1);}
.form-card.contact{border:1px solid var(--line); border-radius:16px; padding:26px;}
.form-card.contact h2{font-size:18px; margin-bottom:16px;}
.btn-send{background:var(--black); color:#fff; font-weight:700; padding:14px 28px; border-radius:100px; font-size:13.5px;}
.btn-send:hover{background:var(--pink);}
@media (max-width:860px){ .info-grid{grid-template-columns:1fr 1fr;} .contact-layout{grid-template-columns:1fr;} }

/* ===== доставка и оплата ===== */
.method-card{border:1px solid var(--line); border-radius:14px; padding:20px; display:flex; gap:16px; align-items:flex-start; margin-bottom:14px;}
.method-card .ic{width:40px; height:40px; border-radius:10px; background:var(--bg); display:flex; align-items:center; justify-content:center; flex-shrink:0;}
.m-title{display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; gap:10px;}
.m-title h3{font-size:15px;}
.m-price{font-weight:800; font-size:13.5px; white-space:nowrap;}
.method-card p{font-size:13px; color:var(--gray); line-height:1.6;}
.pay-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:10px;}
.pay-grid .pay-badge{border:1px solid var(--line); border-radius:14px; padding:20px; text-align:left;}
.pay-grid .ic{width:38px; height:38px; border-radius:10px; background:var(--bg); display:flex; align-items:center; justify-content:center; margin-bottom:12px;}
.pay-grid h4{font-size:14px; margin-bottom:3px; overflow-wrap:break-word;}
.pay-grid p{font-size:12px; color:var(--gray); overflow-wrap:break-word;}
.faq-list{border-top:1px solid var(--line);}
.faq-item{border-bottom:1px solid var(--line);}
.faq-q{width:100%; display:flex; justify-content:space-between; align-items:center; padding:18px 0; font-weight:700; font-size:14px; text-align:left;}
.faq-q .plus{font-size:20px; font-weight:400; transition:transform .2s; flex-shrink:0;}
.faq-item.open .plus{transform:rotate(45deg);}
.faq-a{max-height:0; overflow:hidden; font-size:13.5px; color:var(--gray); line-height:1.7; transition:max-height .25s ease;}
.faq-item.open .faq-a{max-height:260px; padding-bottom:18px;}
@media (max-width:860px){ .pay-grid{grid-template-columns:repeat(2,minmax(0,1fr));} }

/* ===========================================================
   Мобильная адаптация: помещено в конец файла намеренно — эти
   правила переопределяют безусловные правила выше (.topbar-strip,
   .hero*, .deal-grid и т.д.), и при равной специфичности выигрывает
   правило, которое идёт позже в файле, независимо от @media.
   =========================================================== */
@media (max-width:980px){
  .prod-grid{grid-template-columns:repeat(2,1fr);}
  .deal-grid{grid-template-columns:repeat(2,1fr);}
  .topbar-strip{display:none;}
  nav.main-nav,.search-form{display:none;}
  .burger-btn{display:flex; width:34px; height:34px; align-items:center; justify-content:center; flex-shrink:0;}
  .header-icons .hide-mobile{display:none;}
  .footer-grid{grid-template-columns:1fr 1fr;}

  .mobile-nav{display:none; flex-direction:column; border-top:1px solid var(--line); padding:16px 20px 20px;}
  .mobile-nav.open{display:flex;}
  .mobile-nav a{padding:12px 0; font-size:14px; font-weight:700; border-bottom:1px solid var(--line);}
  .mobile-nav-divider{height:1px;}
  .mobile-search{display:flex; align-items:center; gap:8px; background:var(--bg); border-radius:100px; padding:10px 16px; margin-bottom:6px;}
  .mobile-search svg{width:16px; height:16px; color:var(--gray); flex-shrink:0;}
  .mobile-search input{border:none; background:none; outline:none; font-size:13.5px; width:100%;}
}
@media (max-width:640px){
  .prod-grid{grid-template-columns:repeat(2,1fr); gap:12px;}
  .container{padding:0 16px;}
}

@media (max-width:760px){
  .hero{border-radius:16px; margin:14px 0;}
  .hero-slide{padding:30px 26px; min-height:0;}
  .hero-slide-grid{grid-template-columns:1fr;}
  .hero-img-wrap{height:170px; order:-1;}
  .hero-copy p{max-width:none;}
  .hero-arrows{width:34px; height:34px; font-size:15px;}
  .hero-arrows.prev{left:10px;} .hero-arrows.next{right:10px;}
}
