/*
Theme Name: Carandashe
Theme URI: https://carandashe.ru/
Author: Pavlov Biz
Description: Тема интернет-магазина Carandashe на WooCommerce.
Version: 1.0.0
Requires PHP: 8.1
Text Domain: carandashe
*/

/* ---------- fonts ---------- */
@font-face{font-family:"Onest";font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/onest-cyrillic-400.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/onest-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Onest";font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/onest-cyrillic-500.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/onest-latin-500.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Onest";font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/onest-cyrillic-600.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/onest-latin-600.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- tokens ---------- */
:root{
  --ink:#121212;
  --ink-2:#3a3a3a;
  --muted:#7a7a7a;
  --line:#e7e7e7;
  --soft:#f4f4f2;
  --bg:#fff;
  --btn:#10132a;
  --btn-hover:#262a4a;
  --sale:#c0392b;
  --ok:#2e7d32;
  --radius:14px;
  --radius-sm:10px;
  --wrap:1320px;
  --gutter:20px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:400 15px/1.5 "Onest",-apple-system,"Segoe UI",Roboto,Arial,sans-serif;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:hover{color:var(--ink-2)}
button,input,select,textarea{font:inherit;color:inherit}
h1,h2,h3,h4{font-weight:600;line-height:1.2;margin:0 0 .6em}
h1{font-size:30px}
h2{font-size:24px}
h3{font-size:18px}
p{margin:0 0 1em}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
.cap::first-letter{text-transform:uppercase}

/* ---------- buttons ---------- */
.btn,.button,button.button,input.button,a.button,
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,
.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:46px;padding:0 22px;border:0;border-radius:var(--radius-sm);
  background:var(--btn);color:#fff;font-weight:500;font-size:15px;line-height:1;cursor:pointer;
  transition:background .15s;text-align:center}
.btn:hover,.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--btn-hover);color:#fff}
.btn--light,.woocommerce a.button.btn--light{background:var(--soft);color:var(--ink)}
.btn--light:hover{background:#eaeae6;color:var(--ink)}
.btn--block{width:100%}
.woocommerce button.button.alt.disabled,.woocommerce button.button:disabled,.woocommerce button.button.disabled{background:#9a9cac;opacity:1}
.woocommerce button.button.alt.disabled:hover{background:#9a9cac}

/* ---------- top bar ---------- */
.topbar{background:#111;color:#fff;font-size:13px}
.topbar .wrap{display:flex;align-items:center;justify-content:space-between;min-height:34px;gap:16px}
.topbar a{color:#fff}
.topbar__msg b{font-weight:600}
.topbar__right{display:flex;gap:18px;white-space:nowrap}

/* ---------- header ---------- */
.header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}
.header__main{display:flex;align-items:center;gap:16px;min-height:76px}
.logo{flex:0 0 auto;display:flex;align-items:center;gap:10px}
.logo img{width:46px;height:46px;border-radius:50%}
.logo__text{font-weight:600;font-size:18px;letter-spacing:.06em;text-transform:uppercase}
.catbtn{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 18px;border:0;border-radius:999px;background:var(--btn);color:#fff;font-weight:500;cursor:pointer}
.catbtn:hover{background:var(--btn-hover)}
.catbtn__ico{width:18px;height:12px;position:relative;display:inline-block}
.catbtn__ico::before,.catbtn__ico::after,.catbtn__ico span{content:"";position:absolute;left:0;right:0;height:2px;background:#fff;border-radius:2px}
.catbtn__ico::before{top:0}.catbtn__ico span{top:5px}.catbtn__ico::after{bottom:0}
.search{flex:1 1 auto;position:relative}
.search input[type=search]{width:100%;height:44px;border:1px solid var(--line);border-radius:999px;background:var(--soft);padding:0 18px 0 44px;outline:0}
.search input[type=search]:focus{border-color:#bdbdbd;background:#fff}
.search svg{position:absolute;left:15px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--muted)}
.hicons{display:flex;gap:6px;flex:0 0 auto}
.hicon{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:62px;font-size:12px;color:var(--ink);position:relative;padding:4px}
.hicon svg{width:22px;height:22px}
.hicon__count{position:absolute;top:0;right:10px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--btn);color:#fff;font-size:11px;line-height:18px;text-align:center}
.hicon__count:empty,.hicon__count[data-n="0"]{display:none}
.header__nav{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px;font-size:14px}
.header__nav ul{display:flex;flex-wrap:nowrap;gap:4px 22px;list-style:none;margin:0;padding:0;white-space:nowrap;overflow:hidden}
.header__nav a:hover{text-decoration:underline;text-underline-offset:4px}
.header__addr{display:flex;align-items:center;gap:6px;color:var(--ink-2);white-space:nowrap}
.header__addr svg{width:14px;height:14px}
.burger{display:none;width:44px;height:44px;border:0;background:var(--soft);border-radius:50%;align-items:center;justify-content:center;cursor:pointer}

/* ---------- mega menu ---------- */
.mega{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-top:1px solid var(--line);box-shadow:0 20px 40px rgba(0,0,0,.08);max-height:calc(100vh - 140px);overflow:auto}
.mega.is-open{display:block}
.mega__inner{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:22px 30px;padding:26px var(--gutter) 34px;max-width:var(--wrap);margin:0 auto}
.mega__col h4{font-size:15px;margin:0 0 8px}
.mega__col h4 a:hover{text-decoration:underline}
.mega__col ul{list-style:none;margin:0;padding:0}
.mega__col li a{display:block;padding:3px 0;color:var(--ink-2);font-size:14px}
.mega__col li a:hover{color:var(--ink)}
.mega__all{grid-column:1/-1;font-weight:500}

/* ---------- mobile drawer ---------- */
.drawer{position:fixed;inset:0;z-index:100;display:none}
.drawer.is-open{display:block}
.drawer__bg{position:absolute;inset:0;background:rgba(0,0,0,.4)}
.drawer__panel{position:absolute;left:0;top:0;bottom:0;width:min(88vw,380px);background:#fff;overflow:auto;padding:18px 20px 40px}
.drawer__close{float:right;width:40px;height:40px;border:0;background:var(--soft);border-radius:50%;font-size:22px;line-height:40px;cursor:pointer}
.drawer h4{margin:22px 0 8px}
.drawer details{border-bottom:1px solid var(--line)}
.drawer summary{padding:12px 0;font-weight:500;cursor:pointer;list-style:none;display:flex;justify-content:space-between}
.drawer summary::after{content:"+";color:var(--muted)}
.drawer details[open] summary::after{content:"–"}
.drawer details ul{list-style:none;margin:0 0 10px;padding:0 0 0 12px}
.drawer details li a{display:block;padding:6px 0;color:var(--ink-2)}
.drawer__contacts{margin-top:24px;font-size:14px;line-height:1.9}

/* ---------- main ---------- */
.main{min-height:50vh;padding:24px 0 60px}
.page-title{margin:6px 0 18px}
.crumbs,.woocommerce-breadcrumb{font-size:13px;color:var(--muted);margin:0 0 12px}
.woocommerce .woocommerce-breadcrumb{font-size:13px;color:var(--muted);margin:0 0 12px}
.crumbs a,.woocommerce .woocommerce-breadcrumb a{color:var(--muted)}
.crumbs a:hover,.woocommerce .woocommerce-breadcrumb a:hover{color:var(--ink)}
.content{max-width:860px}
.content img{border-radius:var(--radius-sm)}
.content a{text-decoration:underline;text-underline-offset:3px}
.content a:hover{color:var(--ink)}
.content table{border-collapse:collapse;width:100%;margin:0 0 1em}
.content td,.content th{border:1px solid var(--line);padding:8px 10px;text-align:left;vertical-align:top}

/* ---------- home ---------- */
.hero{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin-bottom:46px}
.slider{position:relative;border-radius:var(--radius);overflow:hidden;background:var(--soft);aspect-ratio:3/2}
.slide{position:absolute;inset:0;opacity:0;transition:opacity .5s;pointer-events:none}
.slide.is-active{opacity:1;pointer-events:auto}
.slide img{width:100%;height:100%;object-fit:cover}
.slide__txt{position:absolute;left:28px;bottom:28px;right:28px;color:#fff;text-shadow:0 1px 12px rgba(0,0,0,.35)}
.slide__txt b{display:block;font-size:30px;font-weight:600;line-height:1.15}
.slide__txt span{font-size:16px}
.slider__dots{position:absolute;right:20px;bottom:20px;display:flex;gap:8px;z-index:2}
.slider__dots button{width:9px;height:9px;border-radius:50%;border:0;background:rgba(255,255,255,.55);padding:0;cursor:pointer}
.slider__dots button.is-active{background:#fff}
.hero__side{display:grid;grid-template-rows:1fr 1fr;gap:16px}
.tile{position:relative;display:block;border-radius:var(--radius);overflow:hidden;background:var(--soft);min-height:150px}
.tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.tile:hover img{transform:scale(1.03)}
.tile__txt{position:absolute;left:18px;bottom:16px;right:18px;color:#fff;text-shadow:0 1px 10px rgba(0,0,0,.4)}
.tile__txt b{display:block;font-size:19px;font-weight:600}
.tile__txt span{font-size:13px}
.sec{margin:0 0 50px}
.sec__head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:16px}
.sec__head h2{margin:0}
.sec__head a{font-size:14px;color:var(--muted)}
.sec__head a:hover{color:var(--ink)}
.cats{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.cat{display:block;text-align:center}
.cat__img{aspect-ratio:3/4;border-radius:var(--radius);overflow:hidden;background:var(--soft);margin-bottom:8px}
.cat__img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.cat:hover .cat__img img{transform:scale(1.04)}
.cat__name{font-weight:500;font-size:14px}
.looks{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.looks .tile{aspect-ratio:4/3}
.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.post-card__img{aspect-ratio:4/3;border-radius:var(--radius);overflow:hidden;background:var(--soft);margin-bottom:10px}
.post-card__img img{width:100%;height:100%;object-fit:cover}
.post-card h3{font-size:16px;margin:0 0 4px}
.post-card time{font-size:13px;color:var(--muted)}
.about{display:grid;grid-template-columns:1.2fr 1fr;gap:30px;align-items:center;background:var(--soft);border-radius:var(--radius);padding:34px}
.about p{color:var(--ink-2)}
.about__list{list-style:none;margin:0;padding:0;line-height:2}
.about__list a{text-decoration:underline;text-underline-offset:3px}

/* ---------- product grid ---------- */
.woocommerce ul.products,ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:28px 18px;list-style:none;margin:0 0 30px!important;padding:0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product,ul.products li.product{width:auto!important;margin:0!important;float:none!important;padding:0;position:relative}
.pcard__img{position:relative;display:block;aspect-ratio:3/4;border-radius:var(--radius);overflow:hidden;background:var(--soft);margin-bottom:10px}
.pcard__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity .3s}
.pcard__img img.pcard__alt{opacity:0}
.pcard:hover .pcard__img img.pcard__alt{opacity:1}
.pcard__badge{position:absolute;left:10px;top:10px;z-index:2;background:#fff;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:500}
.pcard__badge--out{background:#fff;color:var(--muted)}
.pcard__badge--sale{background:var(--sale);color:#fff}
.fav{position:absolute;right:10px;top:10px;z-index:3;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.9);display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--ink)}
.fav svg{width:19px;height:19px}
.fav.is-on svg{fill:var(--ink)}
.pcard__price{font-weight:600;font-size:16px;margin-bottom:2px}
.pcard__price del{color:var(--muted);font-weight:400;font-size:14px;margin-left:6px}
.pcard__price ins{text-decoration:none}
.pcard__title{font-size:14px;color:var(--ink-2);line-height:1.35;margin:0}
.pcard__sizes{font-size:12px;color:var(--muted);margin-top:4px;text-transform:uppercase;letter-spacing:.02em}

/* ---------- catalog page ---------- */
.shop-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:14px}
.shop-head h1{margin:0}
.shop-head .count{color:var(--muted);font-size:14px;margin-left:8px;font-weight:400}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.chip{display:inline-flex;align-items:center;height:36px;padding:0 15px;border-radius:999px;background:var(--soft);font-size:14px;white-space:nowrap}
.chip:hover{background:#eaeae6;color:var(--ink)}
.chip.is-on{background:var(--btn);color:#fff}
.filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 22px;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.filters__label{font-size:13px;color:var(--muted);margin-right:4px}
.filters .chip{height:32px;padding:0 12px;text-transform:uppercase;font-size:13px}
.filters__sort{margin-left:auto}
.woocommerce .woocommerce-ordering{margin:0;float:none}
.woocommerce .woocommerce-ordering select,.filters select{height:36px;border:1px solid var(--line);border-radius:999px;padding:0 34px 0 14px;background:#fff;appearance:auto}
.woocommerce .woocommerce-result-count{display:none}
.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;justify-content:center;gap:6px}
.woocommerce nav.woocommerce-pagination ul li{border:0;float:none}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{min-width:40px;height:40px;line-height:40px;padding:0 10px;border-radius:999px;background:var(--soft)}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--btn);color:#fff}
.term-desc{max-width:860px;color:var(--ink-2);margin:30px 0 0;font-size:14px}

/* ---------- single product ---------- */
.cd-product{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) 330px;grid-template-areas:"gallery head buy" "gallery info buy";grid-template-rows:auto 1fr;gap:0 34px;align-items:start}
.cd-product__gallery{grid-area:gallery}.cd-product__head{grid-area:head}.cd-product__info{grid-area:info}.cd-product__buy{grid-area:buy}
.cd-product__gallery{position:relative}
.woocommerce div.product div.images{width:100%!important;float:none!important;margin:0!important}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper{border-radius:var(--radius);overflow:hidden}
.woocommerce div.product div.images img{border-radius:0}
.woocommerce div.product div.images .flex-control-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:8px}
.woocommerce div.product div.images .flex-control-thumbs li{width:auto!important;float:none!important;margin:0!important}
.woocommerce div.product div.images .flex-control-thumbs li img{border-radius:8px;aspect-ratio:3/4;object-fit:cover;opacity:.6}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,.woocommerce div.product div.images .flex-control-thumbs li img:hover{opacity:1}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger{right:12px;top:12px;background:#fff}
.cd-product__gallery .fav{right:56px;top:12px}
.cd-product__head h1{font-size:26px;margin:0 0 14px}
.cd-product__sec{margin:0 0 22px}
.cd-product__sec h3{font-size:16px;margin:0 0 8px}
.cd-product__desc{color:var(--ink-2);white-space:normal}
.cd-product__desc p{margin:0 0 .6em}
.specs{width:100%;border-collapse:collapse;font-size:14px}
.specs th,.specs td{text-align:left;padding:7px 0;border-bottom:1px dashed var(--line);vertical-align:top}
.specs th{color:var(--muted);font-weight:400;width:45%}
.buybox{position:sticky;top:140px;background:var(--soft);border-radius:var(--radius);padding:22px}
.buybox .price{font-size:28px!important;font-weight:600;color:var(--ink)!important;margin:0 0 14px!important;display:block}
.buybox .price del{font-size:18px;color:var(--muted);font-weight:400;margin-left:8px}
.buybox .price ins{text-decoration:none}
.woocommerce .buybox form.cart{margin:0}
.woocommerce .buybox form.cart .variations{margin:0 0 6px;border:0}
.woocommerce .buybox form.cart .variations th,.woocommerce .buybox form.cart .variations td{display:block;padding:0;border:0;line-height:1.4}
.woocommerce .buybox form.cart .variations label{font-weight:500;font-size:14px;margin-bottom:6px;display:block}
.woocommerce .buybox form.cart .variations select{display:none!important}
.woocommerce .buybox form.cart .reset_variations{display:none!important}
.sizes{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.sizes button{min-width:48px;height:40px;padding:0 12px;border:1px solid #d6d6d6;border-radius:var(--radius-sm);background:#fff;cursor:pointer;text-transform:uppercase;font-weight:500}
.sizes button:hover{border-color:var(--ink)}
.sizes button.is-on{background:var(--btn);border-color:var(--btn);color:#fff}
.sizes button.is-off{color:#b5b5b5;text-decoration:line-through;border-color:#e3e3e3}
.woocommerce .buybox form.cart .quantity{display:none}
.woocommerce .buybox form.cart .button{width:100%;min-height:50px;font-size:16px}
.woocommerce .buybox .woocommerce-variation-price{display:none}
.woocommerce .buybox .woocommerce-variation-availability p{margin:0 0 10px;font-size:13px}
.woocommerce .buybox p.stock{font-size:14px}
.woocommerce .buybox p.stock.out-of-stock{color:var(--sale)}
.buybox__ship{display:flex;gap:8px;align-items:center;font-size:13px;color:var(--ink-2);margin-top:12px}
.buybox__ship svg{width:20px;height:20px;flex:0 0 20px}
.buybox__adv{list-style:none;margin:16px 0 0;padding:16px 0 0;border-top:1px solid #e3e3e0;font-size:14px;line-height:1.5}
.buybox__adv li{display:flex;gap:8px;margin-bottom:8px}
.buybox__adv li::before{content:"";flex:0 0 6px;height:6px;margin-top:8px;border-radius:50%;background:var(--ink)}
.buybox__ask{margin-top:12px;font-size:14px}
.buybox__ask a{text-decoration:underline;text-underline-offset:3px}
.related,.upsells{margin-top:56px}
.related>h2,.upsells>h2{font-size:24px}

/* ---------- notices & forms ---------- */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-noreviews,p.no-comments{border-top:0!important;border-radius:var(--radius-sm);background:var(--soft)!important;color:var(--ink)!important;padding:14px 18px 14px 46px!important}
.woocommerce-message::before,.woocommerce-info::before{color:var(--ink)!important}
.woocommerce-error{background:#fbeaea!important}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,
.woocommerce-cart table.cart td.actions .coupon .input-text,.select2-container .select2-selection--single{
  min-height:46px;border:1px solid #d9d9d9;border-radius:var(--radius-sm);padding:10px 14px;background:#fff;font-size:15px}
.select2-container .select2-selection--single .select2-selection__rendered{line-height:24px;padding-left:0}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:44px}
.woocommerce form .form-row label{font-size:14px;margin-bottom:4px}
.woocommerce form .form-row{margin:0 0 14px;padding:0}
.woocommerce table.shop_table{border-radius:var(--radius);border-color:var(--line)}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-color:var(--line)}
.woocommerce-cart .cart-collaterals .cart_totals,.woocommerce-checkout #order_review{background:var(--soft);border-radius:var(--radius);padding:20px}
.woocommerce-checkout #order_review_heading{margin-top:0}
#payment.woocommerce-checkout-payment{background:transparent!important}
.woocommerce-checkout #payment div.payment_box{background:#fff!important}
.woocommerce-checkout #payment div.payment_box::before{display:none}
.woocommerce table.shop_table img{width:64px;border-radius:8px}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:10px 14px;border-radius:var(--radius-sm)}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:var(--soft);font-weight:500}
.checkout-note{font-size:13px;color:var(--muted)}

/* ---------- footer ---------- */
.footer{background:#111;color:#d8d8d8;padding:46px 0 26px;font-size:14px}
.footer a{color:#fff}
.footer a:hover{color:#cfcfcf}
.footer__contacts a{text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(255,255,255,.45)}
.footer__contacts a:hover{text-decoration-color:#fff}
.footer__contacts a.footer__phone{text-decoration:none}
.footer__grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.2fr;gap:30px}
.footer h4{color:#fff;font-size:15px;margin:0 0 12px}
.footer ul{list-style:none;margin:0;padding:0;line-height:2}
.footer__logo{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.footer__logo img{width:44px;height:44px;border-radius:50%}
.footer__logo span{font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#fff}
.footer__phone{font-size:20px;font-weight:600}
.socials{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.socials a{width:40px;height:40px;border-radius:50%;background:#262626;display:flex;align-items:center;justify-content:center}
.socials a:hover{background:#3a3a3a}
.socials svg{width:20px;height:20px;fill:#fff}
.footer__bottom{border-top:1px solid #2b2b2b;margin-top:34px;padding-top:18px;font-size:12px;color:#9a9a9a;display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px}
.footer__bottom p{margin:0}

/* ---------- floating contacts ---------- */
.fab{position:fixed;right:18px;bottom:18px;z-index:60;display:flex;flex-direction:column;gap:10px}
.fab a{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.fab svg{width:26px;height:26px;fill:#fff}
.fab__wa{background:#25d366}
.fab__tg{background:#229ed9}

/* ---------- cookie ---------- */
.cookie{position:fixed;left:18px;bottom:18px;z-index:70;max-width:360px;background:#fff;border-radius:var(--radius);box-shadow:0 10px 30px rgba(0,0,0,.15);padding:16px 18px;font-size:13px;display:none}
.cookie.is-on{display:block}
.cookie p{margin:0 0 10px}
.cookie a{text-decoration:underline}
.cookie .btn{min-height:38px;font-size:14px}

/* ---------- favourites ---------- */
.fav-empty{padding:40px 0;color:var(--muted)}

/* ---------- responsive ---------- */
@media (max-width:1280px){
  .header__addr{display:none}
}
@media (max-width:1200px){
  .cd-product{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"gallery head" "gallery buy" "info info";grid-template-rows:auto auto auto}
  .cats{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:1024px){
  .header__nav ul{display:none}
  .woocommerce ul.products,ul.products{grid-template-columns:repeat(3,1fr)}
  .footer__grid{grid-template-columns:1fr 1fr}
  .hero{grid-template-columns:1fr}
  .hero__side{grid-template-rows:none;grid-template-columns:1fr 1fr}
  .tile{min-height:180px}
}
@media (max-width:760px){
  :root{--gutter:16px}
  body{font-size:15px}
  h1{font-size:24px}
  h2{font-size:20px}
  .topbar__right{display:none}
  .topbar .wrap{justify-content:center;text-align:center}
  .header__main{min-height:62px;gap:10px;flex-wrap:wrap;padding:8px 0}
  .burger{display:flex}
  .catbtn{display:none}
  .logo img{width:40px;height:40px}
  .logo__text{display:none}
  .search{order:5;flex:1 0 100%}
  .search input[type=search]{height:40px}
  .hicons{margin-left:auto}
  .hicon{min-width:44px;font-size:0}
  .hicon span.hicon__label{display:none}
  .hicon__count{right:2px;font-size:11px}
  .header__nav{display:none}
  .woocommerce ul.products,ul.products{grid-template-columns:repeat(2,1fr);gap:22px 12px}
  .pcard__title{font-size:13px}
  .pcard__price{font-size:15px}
  .fav{width:32px;height:32px;right:8px;top:8px}
  .cd-product{grid-template-columns:1fr;grid-template-areas:"gallery" "head" "buy" "info";gap:14px}
  .cd-product__head h1{font-size:22px;margin:0}
  .buybox{position:static}
  .cats{grid-template-columns:repeat(3,1fr);gap:10px}
  .looks,.posts{grid-template-columns:1fr}
  .hero__side{grid-template-columns:1fr 1fr;gap:10px}
  .hero{gap:10px}
  .tile{min-height:150px}
  .tile__txt{left:12px;bottom:10px;right:12px}
  .tile__txt b{font-size:15px}
  .tile__txt span{font-size:12px}
  .slide__txt b{font-size:22px}
  .about{grid-template-columns:1fr;padding:22px}
  .footer__grid{grid-template-columns:1fr}
  .filters__sort{margin-left:0;width:100%}
  .fab{right:12px;bottom:12px}
  .fab a{width:46px;height:46px}
  .cookie{left:12px;right:12px;bottom:12px;max-width:none}
  .woocommerce table.shop_table_responsive tr td::before{font-weight:500}
}
