/* ALEX MOTORS — вёрстка по макету main.psd / catalog.psd */
:root{
  --yellow:#ffd800; --yellow-d:#f0ca00; --ink:#242424; --ink-2:#3b3b3b;
  --muted:#8b8b8b; --line:#ececec; --bg:#f5f5f5; --red:#ea3323; --green:#3fb54a;
  --star:#ffb700; --radius:4px; --container:1400px;
  --font:'Poppins','Segoe UI',Roboto,-apple-system,system-ui,Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);color:var(--ink);background:#fff;font-size:14px;line-height:1.55}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit;color:inherit}
ul{margin:0;padding:0;list-style:none}
h1,h2,h3,h4{margin:0;font-weight:600;letter-spacing:-.01em}
.container{max-width:var(--container);margin:0 auto;padding:0 24px}
.hidden-sm{display:block}

/* ---------- top bar ---------- */
.topbar{background:var(--yellow);text-align:center;font-size:12.5px;font-weight:500;padding:7px 16px;color:#1c1c1c}
.topbar a{font-weight:600;text-decoration:underline;text-underline-offset:2px}

/* ---------- header ---------- */
.header{background:var(--yellow);padding:16px 0}
.header .container{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}
.search{display:flex;background:#fff;border-radius:var(--radius);overflow:hidden;max-width:470px;height:44px}
.search select{border:0;background:transparent;padding:0 12px;font-size:12.5px;color:#555;outline:none;
  border-right:1px solid var(--line);min-width:120px;cursor:pointer}
.search input{border:0;flex:1;padding:0 14px;font-size:13px;outline:none;min-width:0}
.search button{border:0;background:transparent;padding:0 16px;cursor:pointer;color:#333;display:grid;place-items:center}
.brand-logo{justify-self:center}
.brand-logo img{width:265px}
.header-actions{justify-self:end;display:flex;align-items:center;gap:26px}
.login{font-size:13.5px;font-weight:600;white-space:nowrap}
.icons{display:flex;gap:20px}
.ico{position:relative;display:grid;place-items:center;color:#1c1c1c}
.ico .badge{position:absolute;top:-7px;right:-9px;background:var(--red);color:#fff;font-size:10px;font-weight:600;
  min-width:16px;height:16px;border-radius:9px;display:grid;place-items:center;padding:0 4px}

/* ---------- nav ---------- */
.nav{background:#fff;border-bottom:1px solid var(--line)}
.nav .container{display:flex;align-items:center;gap:8px;height:58px}
.nav-cats{display:flex;align-items:center;gap:12px;font-weight:600;font-size:13.5px;padding-right:26px;
  border-right:1px solid var(--line);margin-right:14px;height:26px;white-space:nowrap}
.menu{display:flex;align-items:center;gap:30px;font-size:13.5px;font-weight:500}
.menu>li{position:relative;display:flex;align-items:center;gap:5px;white-space:nowrap;cursor:pointer}
.menu>li:hover{color:#000}
.caret{width:8px;height:8px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;
  transform:rotate(45deg) translate(-2px,-2px);opacity:.65}
.tag{font-size:9px;font-weight:700;color:#fff;background:var(--green);padding:2px 5px;border-radius:2px;letter-spacing:.04em}
.tag.hot{background:var(--red)}
.nav-right{margin-left:auto;display:flex;align-items:center;gap:26px;font-size:13px;font-weight:500}
.nav-right>span{display:flex;align-items:center;gap:6px;cursor:pointer}

/* ---------- секции ---------- */
.section{padding:38px 0}
.section.grey{background:var(--bg)}
.sec-head{display:flex;align-items:center;gap:18px;margin-bottom:20px}
.sec-head h2{font-size:22px}
.sec-head .spacer{flex:1}
.tabs{display:flex;gap:8px}
.tabs button{border:0;background:#f2f2f2;padding:7px 14px;font-size:12.5px;font-weight:500;border-radius:3px;cursor:pointer}
.tabs button.active{background:var(--yellow);font-weight:600}
.arrows{display:flex;gap:8px}
.arrows button{width:30px;height:30px;border:1px solid var(--line);background:#fafafa;border-radius:3px;cursor:pointer;
  display:grid;place-items:center;color:#9a9a9a}
.arrows button:hover{background:var(--yellow);color:#000;border-color:var(--yellow)}

/* ---------- hero ---------- */
.hero{display:grid;grid-template-columns:1fr 400px;gap:20px}
.hero-main{background:#fff;border-radius:var(--radius);padding:44px 50px;display:flex;align-items:center;
  justify-content:space-between;gap:20px;min-height:420px;overflow:hidden}
.hero-main .txt{max-width:46%}
.eyebrow{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#6b6b6b;font-weight:500;margin-bottom:16px}
.hero-main h1{font-size:38px;line-height:1.22;font-weight:600;margin-bottom:26px}
.hero-main img{max-height:330px;width:auto;object-fit:contain}
.btn{display:inline-block;background:var(--yellow);color:#111;font-size:12.5px;font-weight:600;letter-spacing:.04em;
  padding:11px 22px;border-radius:3px;border:0;cursor:pointer;transition:background .15s}
.btn:hover{background:#111;color:var(--yellow)}
.hero-side{display:grid;grid-template-rows:1fr 1fr;gap:20px}
.hero-card{background:#fff;border-radius:var(--radius);padding:26px 24px;display:flex;align-items:center;
  justify-content:space-between;gap:10px;overflow:hidden}
.hero-card h3{font-size:21px;line-height:1.25;margin-bottom:16px}
.hero-card .eyebrow{margin-bottom:9px;font-size:11px}
.hero-card img{max-height:150px;width:auto}
.hero-card.rev{flex-direction:row-reverse;text-align:right}

/* ---------- бренды ---------- */
.brands{display:grid;grid-template-columns:repeat(6,1fr);gap:20px;align-items:center;padding:34px 0 6px}
.brands img{margin:0 auto;max-height:78px;width:auto;opacity:.7;filter:grayscale(1);transition:opacity .2s}
.brands img:hover{opacity:1}

/* ---------- сетка товаров ---------- */
.grid{display:grid;grid-template-columns:repeat(6,1fr);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.card{position:relative;padding:18px 16px 20px;border-right:1px solid var(--line);background:#fff;transition:box-shadow .2s}
.card:last-child{border-right:0}
.card:hover{box-shadow:0 6px 26px rgba(0,0,0,.09);z-index:2}
.card .thumb{height:190px;display:grid;place-items:center;margin-bottom:16px}
.card .thumb img{max-height:100%;width:auto;object-fit:contain}
.card .vendor{font-size:11.5px;color:var(--muted);margin-bottom:5px}
.card .title{font-size:12.5px;font-weight:500;line-height:1.5;min-height:38px;margin-bottom:8px}
.card .title:hover{color:#c00}
.rating{display:flex;align-items:center;gap:6px;margin-bottom:9px}
.stars{color:var(--star);font-size:12px;letter-spacing:1px}
.rating .cnt{font-size:11.5px;color:var(--muted)}
.price{display:flex;align-items:baseline;gap:8px;margin-bottom:14px;font-weight:600}
.price .old{color:var(--muted);text-decoration:line-through;font-weight:400;font-size:12.5px}
.price .now{font-size:14.5px}
.badge-off{position:absolute;top:12px;left:12px;background:var(--red);color:#fff;font-size:11px;font-weight:600;
  padding:2px 7px;border-radius:2px}
.badge-off.pack{background:var(--green)}
.add{width:100%;border:0;background:#f2f2f2;padding:10px;font-size:11.5px;font-weight:600;letter-spacing:.05em;
  border-radius:3px;cursor:pointer;transition:background .15s}
.add:hover{background:var(--yellow)}

/* ---------- промо-баннеры ---------- */
.promos{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:38px 0 0}
.promo{background:var(--bg);border-radius:var(--radius);padding:28px 26px;display:flex;align-items:center;
  justify-content:space-between;gap:12px;min-height:200px;overflow:hidden}
.promo.dark{background:#1c1c1c;color:#fff}
.chip{display:inline-block;background:var(--yellow);color:#111;font-size:10.5px;font-weight:700;padding:4px 9px;
  border-radius:2px;letter-spacing:.05em;margin-bottom:14px}
.promo h3{font-size:22px;line-height:1.25;margin-bottom:12px}
.promo .more{font-size:12px;font-weight:600;border-bottom:1px solid currentColor;padding-bottom:2px}
.promo img{max-height:130px;width:auto}

/* ---------- категории ---------- */
.cats{display:grid;grid-template-columns:repeat(7,1fr);gap:18px}
.cat{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 12px;text-align:center;transition:box-shadow .2s}
.cat:hover{box-shadow:0 6px 22px rgba(0,0,0,.08)}
.cat .ph{height:120px;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:14px}
.cat .ph img{max-height:120px;max-width:100%;width:auto;height:auto;object-fit:contain}
.cat span{font-size:12.5px;color:#4a4a4a}

/* ---------- широкий баннер ---------- */
.wide{background:#0d0d0d;border-radius:var(--radius);display:flex;align-items:center;overflow:hidden;min-height:230px}
.wide .txt{padding:0 48px;flex:1}
.wide h2{color:#fff;font-size:30px;line-height:1.3;max-width:420px}
.wide .pic{width:56%;align-self:stretch;background-size:cover;background-position:center;position:relative}
.wide .pic::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0d0d0d,transparent 22%)}

/* ---------- deal of the day ---------- */
.deals{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.deal{border:1px solid var(--line);border-radius:var(--radius);padding:18px;display:flex;gap:16px;position:relative;background:#fff}
.deal .thumb{width:120px;flex:0 0 120px;display:grid;place-items:center}
.deal .thumb img{max-height:150px;width:auto}
.deal .info{flex:1;min-width:0}
.timer{display:flex;gap:14px;margin:10px 0 12px}
.timer div{text-align:center}
.timer b{display:block;color:var(--red);font-size:13px;font-weight:600}
.timer span{font-size:9px;color:var(--muted);letter-spacing:.06em}
.deal .add{width:auto;padding:9px 16px}

/* ---------- два тёмных баннера ---------- */
.bands{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.band{position:relative;border-radius:var(--radius);overflow:hidden;min-height:250px;display:flex;align-items:center;background:#131313}
.band img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.85}
.band .txt{position:relative;padding:0 40px;color:#fff}
.band h3{font-size:26px;line-height:1.3;max-width:260px}
.band::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#000 8%,rgba(0,0,0,.55) 45%,transparent 75%)}
.band .txt{z-index:2}

/* ---------- отзывы ---------- */
.reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.review{border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.review .who{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.review .who img{width:52px;height:52px;border-radius:50%;object-fit:cover}
.review .who b{display:block;font-size:13.5px;font-weight:600}
.review .who span{font-size:11.5px;color:var(--muted)}
.review p{margin:0;font-size:12.5px;color:#6f6f6f;line-height:1.75}

/* ---------- блог ---------- */
.blog{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.blog a{display:block}
.blog img{border-radius:var(--radius);aspect-ratio:16/10;object-fit:cover;width:100%;margin-bottom:14px}
.blog h4{font-size:13.5px;font-weight:500;line-height:1.55}
.blog a:hover h4{color:#c00}

/* ---------- галерея ---------- */
.gallery{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;margin-top:34px}
.gallery img{width:100%;height:190px;object-fit:cover}

/* ---------- жёлтая полоса ---------- */
.features{background:var(--yellow);padding:24px 0}
.features .container{display:grid;grid-template-columns:repeat(4,1fr)}
.feature{display:flex;align-items:center;gap:16px;padding:0 24px;border-right:1px solid rgba(0,0,0,.12)}
.feature:last-child{border-right:0}
.feature b{display:block;font-size:14px;font-weight:600}
.feature span{font-size:11.5px;color:#6a5c00}

/* ---------- футер ---------- */
.footer{padding:52px 0 0;background:#fff}
.footer .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.5fr;gap:36px}
.footer h4{font-size:15px;margin-bottom:20px}
.footer li{margin-bottom:10px;font-size:12.5px;color:#7a7a7a}
.footer li a:hover{color:#111}
.footer .addr{font-size:12.5px;color:#8a8a8a;line-height:1.9;margin:0 0 14px}
.footer .mail{font-size:12.5px;color:#8a8a8a;margin-bottom:14px}
.footer .mail b{color:#222}
.footer .phone{font-size:19px;font-weight:600;margin-bottom:18px}
.chat{display:flex;align-items:center;gap:12px}
.chat b{display:block;font-size:14px}
.chat span{font-size:12.5px;color:#8a8a8a}
.sub p{font-size:12.5px;color:#8a8a8a;margin:0 0 16px;max-width:300px}
.sub form{display:flex;max-width:340px;margin-bottom:12px}
.sub input[type=email]{flex:1;border:1px solid var(--line);padding:11px 14px;font-size:12.5px;outline:none;border-radius:3px 0 0 3px;min-width:0}
.sub button{border:0;background:var(--yellow);padding:0 20px;font-size:11.5px;font-weight:600;letter-spacing:.05em;
  cursor:pointer;border-radius:0 3px 3px 0}
.agree{display:flex;gap:9px;align-items:flex-start;font-size:11.5px;color:#8a8a8a;max-width:320px;margin-bottom:20px}
.stores{display:flex;gap:10px}
.stores img{height:38px;width:auto}
.footer-bottom{border-top:1px solid var(--line);margin-top:44px;padding:20px 0;display:flex;align-items:center;gap:20px}
.socials{display:flex;gap:10px}
.socials a{width:30px;height:30px;border-radius:50%;background:#f3f3f3;display:grid;place-items:center;color:#555}
.socials a:hover{background:var(--yellow);color:#000}
.copy{flex:1;text-align:center;font-size:12px;color:#8a8a8a}
.pay img{height:22px;width:auto}

/* ---------- каталог ---------- */
.crumbs{background:var(--bg);padding:26px 0}
.crumbs .container{display:flex;align-items:center;justify-content:space-between;gap:20px}
.crumbs h1{font-size:24px}
.crumbs nav{font-size:12.5px;color:#8a8a8a}
.crumbs nav a:hover{color:#111}
.layout{display:grid;grid-template-columns:280px 1fr;gap:34px;padding:34px 0 10px;align-items:start}
.panel{border:1px solid var(--line);border-radius:var(--radius);padding:22px 20px;margin-bottom:22px}
.panel h3{font-size:15px;margin-bottom:12px;position:relative;padding-bottom:12px}
.panel h3::after{content:'';position:absolute;left:0;bottom:0;width:34px;height:2px;background:var(--yellow)}
.side-nav li{display:flex;justify-content:space-between;align-items:center;font-size:12.5px;color:#6f6f6f;
  padding:9px 0;cursor:pointer}
.side-nav li:hover{color:#111}
.side-nav i{font-style:normal;color:#b5b5b5}
.filter{margin-bottom:20px}
.filter h4{font-size:13px;margin-bottom:11px}
.filter label{display:flex;align-items:center;gap:9px;font-size:12.5px;color:#7a7a7a;padding:4px 0;cursor:pointer}
.dot{width:11px;height:11px;border-radius:50%;border:1px solid #d5d5d5;flex:0 0 11px}
.range{font-size:12.5px;color:#7a7a7a;margin-bottom:8px}
input[type=range]{width:100%;accent-color:var(--yellow)}
.cat-desc{font-size:12.5px;color:#7a7a7a;line-height:1.9;margin:0 0 22px}
.toolbar{display:flex;align-items:center;gap:16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  padding:12px 0;margin-bottom:24px;font-size:12.5px;color:#7a7a7a}
.views{display:flex;gap:6px}
.views button{width:28px;height:26px;border:1px solid var(--line);background:#fff;border-radius:3px;cursor:pointer;
  display:grid;place-items:center;gap:2px;color:#c2c2c2}
.views button.active{background:var(--yellow);border-color:var(--yellow);color:#000}
.toolbar .sort{margin-left:auto;display:flex;align-items:center;gap:10px}
.toolbar select{border:1px solid var(--line);border-radius:3px;padding:8px 12px;font-size:12.5px;min-width:210px;background:#fff}
.grid.g5{grid-template-columns:repeat(5,1fr)}
.grid.wrap{border-bottom:0}
.showing{font-size:12.5px;color:#7a7a7a;margin:20px 0 26px}
.infoblock{border:1px solid var(--line);border-radius:var(--radius);padding:26px}
.infoblock p{font-size:12.5px;color:#7a7a7a;line-height:1.9;margin:0 0 20px}
.infoblock .pics{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:22px}
.infoblock .pics img{border-radius:var(--radius);width:100%;aspect-ratio:16/9;object-fit:cover}
.infoblock ul{list-style:disc;padding-left:20px;color:#7a7a7a;font-size:12.5px;line-height:1.9}
.link{color:#3f74c0}

/* ---------- адаптив ---------- */
@media (max-width:1240px){
  .grid,.grid.g5{grid-template-columns:repeat(3,1fr)}
  .card{border-bottom:1px solid var(--line)}
  .cats{grid-template-columns:repeat(4,1fr)}
  .brands{grid-template-columns:repeat(3,1fr)}
  .gallery{grid-template-columns:repeat(3,1fr)}
  .hero{grid-template-columns:1fr}
  .hero-side{grid-template-columns:1fr 1fr;grid-template-rows:none}
  .footer .cols{grid-template-columns:1fr 1fr}
  .layout{grid-template-columns:1fr}
}
@media (max-width:900px){
  .header .container{grid-template-columns:1fr auto;row-gap:14px}
  .search{grid-column:1/-1;order:3;max-width:none}
  .brand-logo{justify-self:start}
  .nav .container{overflow-x:auto;gap:18px}
  .nav-right{display:none}
  .promos,.deals,.bands,.reviews,.blog{grid-template-columns:1fr}
  .features .container{grid-template-columns:1fr 1fr;row-gap:20px}
  .feature:nth-child(2n){border-right:0}
  .hero-main{flex-direction:column;text-align:center;padding:32px 24px;min-height:0}
  .hero-main .txt{max-width:none}
  .hero-main h1{font-size:28px}
  .wide{flex-direction:column;min-height:0}
  .wide .txt{padding:32px 24px}
  .wide .pic{width:100%;height:200px}
}
@media (max-width:640px){
  .grid,.grid.g5,.cats,.gallery,.brands{grid-template-columns:repeat(2,1fr)}
  .hero-side{grid-template-columns:1fr}
  .footer .cols{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column}
  .topbar{font-size:11px}
}

/* сетка каталога: 5 в ряд, разделители для двух рядов */
.grid.g5 .card:nth-child(-n+5){border-bottom:1px solid var(--line)}
.grid.g5 .card:nth-child(5n){border-right:0}
.grid.g5 .timer{margin:0 0 12px}
@media (max-width:1240px){
  .grid.g5 .card:nth-child(5n){border-right:1px solid var(--line)}
  .grid.g5 .card:nth-child(3n){border-right:0}
}
@media (max-width:640px){
  .grid.g5 .card:nth-child(3n){border-right:1px solid var(--line)}
  .grid.g5 .card:nth-child(2n){border-right:0}
}

/* ---------- выпадающее меню «Shop By Categories» ---------- */
.nav-cats{position:relative;cursor:pointer;user-select:none}
.cats-drop{position:absolute;top:100%;left:-14px;margin-top:16px;width:292px;background:#fff;
  border:1px solid var(--line);border-radius:2px;box-shadow:0 12px 34px rgba(0,0,0,.12);
  opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .16s,transform .16s,visibility .16s;z-index:50}
.nav-cats:hover .cats-drop,.nav-cats.open .cats-drop{opacity:1;visibility:visible;transform:translateY(0)}
.cats-drop li+li{border-top:1px solid var(--line)}
.cats-drop a{display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:16px 20px;font-size:14px;font-weight:500;color:var(--ink);white-space:nowrap}
.cats-drop a:hover{background:#fafafa;color:#000}
.chev{width:7px;height:7px;border-top:1.6px solid #9a9a9a;border-right:1.6px solid #9a9a9a;
  transform:rotate(45deg);flex:0 0 auto}

/* ---------- страница товара ---------- */
.product{display:grid;grid-template-columns:1fr 1fr;gap:46px;padding:34px 0 10px;align-items:start}
.pgal-main{border:1px solid var(--line);border-radius:var(--radius);height:470px;display:grid;place-items:center;padding:34px;margin-bottom:14px}
.pgal-main img{max-height:100%;width:auto;object-fit:contain}
.pgal-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.pgal-thumbs button{border:1px solid var(--line);background:#fff;border-radius:var(--radius);height:96px;
  display:grid;place-items:center;padding:10px;cursor:pointer}
.pgal-thumbs button.active,.pgal-thumbs button:hover{border-color:var(--yellow)}
.pgal-thumbs img{max-height:100%;width:auto;object-fit:contain}
.pinfo .vendor{font-size:12.5px;color:var(--muted);margin-bottom:8px}
.pinfo h1{font-size:27px;line-height:1.3;margin-bottom:14px}
.pinfo .rating{margin-bottom:16px}
.pinfo .rating .cnt{cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.pprice{display:flex;align-items:baseline;gap:12px;padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:20px}
.pprice .now{font-size:30px;font-weight:600}
.pprice .old{font-size:16px;color:var(--muted);text-decoration:line-through}
.pprice .save{background:var(--red);color:#fff;font-size:11.5px;font-weight:600;padding:3px 8px;border-radius:2px}
.pdesc{font-size:12.5px;color:#7a7a7a;line-height:1.9;margin:0 0 22px}
.buyrow{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:22px}
.qty{display:flex;align-items:center;border:1px solid var(--line);border-radius:3px;height:46px}
.qty button{width:40px;height:100%;border:0;background:transparent;font-size:17px;cursor:pointer;color:#666}
.qty button:hover{color:#000}
.qty input{width:44px;height:100%;border:0;text-align:center;font-size:14px;font-weight:600;outline:none;
  -moz-appearance:textfield}
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.btn-cart{height:46px;padding:0 34px;border:0;background:var(--yellow);font-size:12.5px;font-weight:600;
  letter-spacing:.05em;border-radius:3px;cursor:pointer;transition:background .15s,color .15s}
.btn-cart:hover{background:#111;color:var(--yellow)}
.icon-btn{width:46px;height:46px;border:1px solid var(--line);background:#fff;border-radius:3px;cursor:pointer;
  display:grid;place-items:center;color:#666}
.icon-btn:hover{border-color:var(--yellow);color:#111}
.stock{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--green);font-weight:500;margin-bottom:20px}
.stock i{width:7px;height:7px;border-radius:50%;background:var(--green);display:block}
.meta{border-top:1px solid var(--line);padding-top:18px}
.meta li{font-size:12.5px;color:#8a8a8a;margin-bottom:9px}
.meta b{color:#333;font-weight:600;display:inline-block;min-width:88px}
.share{display:flex;align-items:center;gap:10px;margin-top:16px;font-size:12.5px;color:#8a8a8a}

.ptabs{border-bottom:1px solid var(--line);display:flex;gap:34px;margin:44px 0 24px}
.ptabs button{border:0;background:transparent;padding:0 0 14px;font-size:14px;font-weight:600;color:var(--muted);
  cursor:pointer;position:relative}
.ptabs button.active{color:var(--ink)}
.ptabs button.active::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--yellow)}
.pane{display:none;font-size:12.5px;color:#7a7a7a;line-height:1.9;max-width:980px}
.pane.active{display:block}
.pane ul{list-style:disc;padding-left:20px;margin:14px 0 0}
.pane table{border-collapse:collapse;width:100%;max-width:620px}
.pane td{border:1px solid var(--line);padding:11px 14px;font-size:12.5px}
.pane td:first-child{background:#fafafa;font-weight:600;color:#333;width:220px}
@media (max-width:900px){
  .product{grid-template-columns:1fr;gap:28px}
  .pgal-main{height:330px;padding:20px}
  .ptabs{gap:20px;overflow-x:auto}
}

/* ---------- липкая навигация ---------- */
.nav{position:sticky;top:0;z-index:60;background:#fff;transition:box-shadow .18s}
.nav.stuck{box-shadow:0 4px 18px rgba(0,0,0,.10)}

/* ---------- иконки действий на карточке (появляются при наведении) ---------- */
.card-acts{position:absolute;top:14px;right:12px;display:flex;flex-direction:column;gap:8px;
  opacity:0;transform:translateX(6px);transition:opacity .18s,transform .18s;z-index:3}
.card:hover .card-acts{opacity:1;transform:none}
.card-acts button{width:30px;height:30px;border:1px solid var(--line);background:#fff;border-radius:3px;
  cursor:pointer;display:grid;place-items:center;color:#6b6b6b}
.card-acts button:hover{background:var(--yellow);border-color:var(--yellow);color:#111}
.grid.multi{border-bottom:0}
.grid.multi .card{border-bottom:1px solid var(--line)}
.allprod{display:block;text-align:right;font-size:13px;font-weight:600;margin-top:18px}
.allprod:hover{color:#c00}

/* ---------- страница товара (по PSD) ---------- */
.crumbs.center{padding:20px 0}
.crumbs.center .container{justify-content:center}
.crumbs.center nav{font-size:12.5px}
.pv2{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;padding:30px 0 8px;align-items:start}
.pv2-gal{display:grid;grid-template-columns:96px 1fr;gap:16px}
.vthumbs{display:flex;flex-direction:column;gap:10px;align-items:center}
.vthumbs .vnav{width:100%;height:26px;border:1px solid var(--line);background:#fff;border-radius:3px;cursor:pointer;
  display:grid;place-items:center;color:#b0b0b0}
.vthumbs .vnav:hover{color:#111;border-color:#ccc}
.vthumbs button.vt{width:100%;height:84px;border:1px solid var(--line);background:#fff;border-radius:3px;
  cursor:pointer;display:grid;place-items:center;padding:8px}
.vthumbs button.vt.active,.vthumbs button.vt:hover{border-color:var(--yellow)}
.vthumbs img{max-height:100%;width:auto;object-fit:contain}
.pstage{position:relative;border:1px solid var(--line);border-radius:var(--radius);height:520px;
  display:grid;place-items:center;padding:40px}
.pstage img{max-height:100%;width:auto;object-fit:contain}
.pstage .snav{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;background:transparent;
  cursor:pointer;color:#b5b5b5;display:grid;place-items:center}
.pstage .snav:hover{color:#111}
.pstage .snav.prev{left:6px}.pstage .snav.next{right:6px}
.pv2-info .vendor{font-size:12.5px;color:var(--muted);margin-bottom:9px}
.pv2-info h1{font-size:26px;line-height:1.3;margin-bottom:14px}
.priceline{display:flex;align-items:center;gap:16px;margin-bottom:18px}
.priceline .now{font-size:22px;font-weight:600}
.priceline .old{font-size:14px;color:var(--muted);text-decoration:line-through}
.pbullets{list-style:disc;padding-left:20px;margin:0 0 22px;color:#6f6f6f;font-size:12.5px;line-height:2}
.pbuyline{display:flex;align-items:center;gap:16px;padding-top:20px;border-top:1px solid var(--line);margin-bottom:18px;flex-wrap:wrap}
.pbuyline .now{font-size:20px;font-weight:600}
.pbuyline .est{font-size:12.5px;color:#8a8a8a}
.pbuy{display:flex;gap:12px;margin-bottom:12px}
.btn-wide{flex:1;height:48px;border:0;background:var(--yellow);font-size:12.5px;font-weight:600;letter-spacing:.06em;
  border-radius:3px;cursor:pointer;transition:filter .15s}
.btn-wide:hover{filter:brightness(.93)}
.btn-buy{width:100%;height:48px;border:0;background:#111;color:#fff;font-size:12.5px;font-weight:600;
  letter-spacing:.06em;border-radius:3px;cursor:pointer;margin-bottom:18px;transition:background .15s}
.btn-buy:hover{background:#000}
.plinks{display:flex;gap:28px;margin-bottom:16px}
.plinks button{border:0;background:transparent;display:flex;align-items:center;gap:8px;font-size:12.5px;
  color:#555;cursor:pointer;padding:0}
.plinks button:hover{color:#111}
.instock{display:inline-flex;align-items:center;gap:7px;background:#eaf7ec;color:#2f9c3c;font-size:12px;font-weight:600;
  padding:7px 13px;border-radius:3px;margin-bottom:22px}
.share2{display:flex;align-items:center;gap:10px;padding-top:20px;border-top:1px solid var(--line);
  font-size:12.5px;color:#666;margin-bottom:22px}
.share2 a{width:30px;height:30px;border-radius:50%;background:#f3f3f3;display:grid;place-items:center;color:#444}
.share2 a:hover{background:var(--yellow);color:#000}
.pnotes li{display:flex;align-items:flex-start;gap:12px;font-size:12.5px;color:#666;margin-bottom:12px}
.pnotes b{color:#222}
.pnotes svg{flex:0 0 auto;margin-top:1px}

.tabbox{border:1px solid var(--line);border-radius:var(--radius);padding:0 28px 28px;margin-top:38px}
.tabbox .ptabs{margin:0 0 24px}
.about h3{font-size:19px;margin:6px 0 14px}
.pane p{margin:0 0 16px}
.pane .feat li{margin-bottom:10px}
.pane .feat b{color:#222}
.tech{margin-top:24px;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.tech .th{background:#fafafa;padding:12px 16px;font-size:11.5px;font-weight:700;letter-spacing:.06em;color:#333}
.tech table{width:100%;border-collapse:collapse}
.tech td{padding:12px 16px;font-size:12.5px;border-top:1px solid var(--line)}
.tech td:first-child{width:280px;color:#444}
.tech td:last-child{color:#7a7a7a}

/* отзывы */
.comments{margin-top:44px;border:1px solid var(--line);border-radius:var(--radius)}
.comments-head{background:#fafafa;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;
  font-size:13.5px;font-weight:600}
.comments-head .grade{display:flex;align-items:center;gap:10px;font-weight:500;color:#666;font-size:12.5px}
.comment{display:grid;grid-template-columns:220px 1fr;gap:20px;padding:22px 20px;border-top:1px solid var(--line)}
.comment .meta2{font-size:12px;color:#8a8a8a;line-height:1.9}
.comment h4{font-size:13.5px;margin-bottom:6px}
.comment p{margin:0 0 10px;font-size:12.5px;color:#7a7a7a}
.cacts{display:flex;gap:16px;font-size:12px;color:#8a8a8a}
.cacts span{display:flex;align-items:center;gap:5px;cursor:pointer}
.cacts span:hover{color:#333}
.writebox{text-align:center;padding:26px 0 0}
.btn-write{display:inline-flex;align-items:center;gap:9px;background:var(--yellow);border:0;padding:13px 26px;
  font-size:12px;font-weight:600;letter-spacing:.05em;border-radius:3px;cursor:pointer}
.btn-write:hover{background:#111;color:var(--yellow)}

/* ---------- корзина ---------- */
.cart-grid{display:grid;grid-template-columns:1fr 380px;gap:24px;padding:32px 0 10px;align-items:start}
.cart-panel{border:1px solid var(--line);border-radius:var(--radius)}
.cart-panel h2{font-size:16px;padding:18px 22px;border-bottom:1px solid var(--line)}
.cart-empty{padding:18px 22px;font-size:12.5px;color:#7a7a7a}
.continue{display:inline-flex;align-items:center;gap:8px;margin-top:18px;font-size:12.5px;color:#3f74c0}
.continue:hover{color:#111}
.summary{background:var(--bg);border-radius:var(--radius);padding:22px}
.summary .row{display:flex;justify-content:space-between;font-size:12.5px;color:#7a7a7a;margin-bottom:11px}
.summary .row.total{border-top:1px solid #e4e4e4;padding-top:14px;margin-top:14px;font-size:16px;font-weight:600;color:var(--ink)}
.summary .taxes{font-size:12.5px;color:#7a7a7a;margin:14px 0 18px}
.summary .taxes b{color:var(--ink)}
.btn-checkout{width:100%;height:44px;border:0;background:var(--yellow);font-size:12px;font-weight:600;
  letter-spacing:.06em;border-radius:3px;cursor:pointer}
.btn-checkout:hover{background:#111;color:var(--yellow)}
.policies{background:var(--bg);border-radius:var(--radius);padding:22px;margin-top:20px}
.policies li{display:flex;gap:14px;font-size:12.5px;color:#7a7a7a;line-height:1.75;margin-bottom:16px}
.policies li:last-child{margin-bottom:0}
.policies b{color:var(--ink);display:block;font-size:12.5px}
.policies svg{flex:0 0 auto;margin-top:2px}

@media (max-width:1100px){
  .pv2{grid-template-columns:1fr;gap:30px}
  .pstage{height:400px}
  .cart-grid{grid-template-columns:1fr}
}
@media (max-width:640px){
  .pv2-gal{grid-template-columns:1fr}
  .vthumbs{flex-direction:row;overflow-x:auto}
  .vthumbs .vnav{display:none}
  .vthumbs button.vt{min-width:76px}
  .comment{grid-template-columns:1fr;gap:8px}
  .pbuy{flex-wrap:wrap}
}
.badge-off.oos{background:#7a7a7a;letter-spacing:.03em}
.add[disabled]{opacity:.5;cursor:not-allowed}
.add[disabled]:hover{background:#f2f2f2}

/* ---------- чёрная шапка (вместо жёлтой) ---------- */
.topbar{background:#111;color:#f2f2f2}
.topbar a{color:var(--yellow)}
.header{background:#111}
.header .login{color:#fff}
.header .login:hover{color:var(--yellow)}
.header .ico{color:#fff}
.header .ico:hover{color:var(--yellow)}
