/* The Bosch theme: the design's stylesheets (styles, checkout, account, product, products, about, contact, terms, 404, login), comments removed. */
/* ---- styles.css ---- */



@font-face { font-family: "Yekan Bakh FaNum"; src: local("YekanBakhFaNum-Light"), url("../fonts/YekanBakhFaNum-Light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Yekan Bakh FaNum"; src: local("YekanBakhFaNum-Regular"), url("../fonts/YekanBakhFaNum-Regular.otf") format("opentype"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Yekan Bakh FaNum"; src: local("YekanBakhFaNum-SemiBold"), url("../fonts/YekanBakhFaNum-SemiBold.otf") format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Yekan Bakh FaNum"; src: local("YekanBakhFaNum-Bold"), url("../fonts/YekanBakhFaNum-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Yekan Bakh FaNum"; src: local("YekanBakhFaNum-ExtraBold"), url("../fonts/YekanBakhFaNum-ExtraBold.otf") format("opentype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Yekan Bakh FaNum"; src: local("YekanBakhFaNum-Black"), url("../fonts/YekanBakhFaNum-Black.otf") format("opentype"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Yekan Bakh FaNum"; src: local("YekanBakhFaNum-ExtraBlack"), url("../fonts/YekanBakhFaNum-ExtraBlack.otf") format("opentype"); font-weight: 950; font-display: swap; }

:root {
  --porcelain: #F3F4EF;     
  --paper: #FFFFFF;
  --graphite: #3E3F40;      
  --steel: #686B69;
  --line: #DEE0D8;

  --primary: #096560;       
  --primary-hover: #0B7A74;
  --primary-deep: #064844;
  --gold: #AE9A77;          
  --gold-ink: #2A2418;      
  --beige: #CAB896;         
  --secondary: #65958A;     
  --secondary-hover: #527D73;

  --accent: var(--primary);
  --accent-ink: var(--primary);
  --sale: var(--secondary);

  
  --sky: #DDE9E5;
  --sage: #E3EBE6;
  --butter: #E9EAE3;
  --blush: #EEF0EA;
  --fog: #ECEEE8;

  
  --petrol: var(--primary-deep);
  --petrol-2: var(--primary);
  --amber: var(--beige);    

  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;

  --shadow-lift: 0 1px 2px rgba(30, 35, 40, .05), 0 12px 32px -12px rgba(30, 35, 40, .18);
  --photo-shadow: drop-shadow(0 18px 22px rgba(30, 35, 40, .18));
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: "Yekan Bakh FaNum", Tahoma, system-ui, sans-serif;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
}

@layer base { *, *::before, *::after { box-sizing: border-box; } }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  color: var(--graphite);
  background: var(--porcelain);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  letter-spacing: 0;            
  
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100dvh;
}
main { flex: 1 0 auto; }
@layer base { img, svg, .bsh-ico { display: block; } }
@layer base { img { max-width: 100%; } }
@layer base { a { color: inherit; text-decoration: none; } }
@layer base { button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; } }
@layer base { input { font: inherit; color: inherit; } }
@layer base { h1, h2, h3, p { margin: 0; } }
@layer base { ul { list-style: none; margin: 0; padding: 0; } }

:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.offers :focus-visible, .banner-graphite:focus-visible { outline-color: #fff; }
.topbar :focus-visible { outline-color: var(--primary-deep); }
::selection { background: var(--primary); color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { margin-top: clamp(64px, 9vw, 112px); }


.h2 {                              
  font-weight: 600;
  font-size: clamp(1.45rem, 1.05rem + 1.5vw, 2.15rem);
  line-height: 1.4;
}
.h3 {
  font-weight: 800;
  font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem);
  line-height: 1.5;
}
.lead { font-size: 1.12rem; line-height: 1.95; }
.h2, .slide-title, .banner-sage .banner-title, .banner-sky .banner-title, .banner-butter .banner-title { color: var(--primary); }

.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.link {
  font-weight: 600; font-size: .95rem; white-space: nowrap;
  color: var(--accent);
  background: linear-gradient(currentColor, currentColor) 100% 100% / 0 1.5px no-repeat;
  transition: background-size .3s var(--ease);
  padding-bottom: 2px;
}
.link:hover { background-size: 100% 1.5px; }

.toman { font-size: .72em; font-weight: 500; margin-inline-start: 4px; color: var(--steel); }


.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px;
  border-radius: 999px;
  font-weight: 700; font-size: .98rem; white-space: nowrap;
  transition: background-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn-sm { height: 42px; padding: 0 20px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-hover); }
.btn-ghost { color: var(--primary); box-shadow: inset 0 0 0 1.5px rgba(9,101,96,.28); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--primary); background: rgba(255,255,255,.6); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--secondary); color: #fff; }
.btn-red { background: var(--beige); color: var(--gold-ink); }
.btn-red:hover { background: var(--gold); box-shadow: 0 0 0 6px rgba(202,184,150,.2); }

.icon-btn {
  width: 44px; height: 44px; border-radius: 999px;
  display: grid; place-items: center; position: relative;
  transition: background-color .2s;
}
.icon-btn:hover { background: rgba(30,35,40,.06); }
.icon-btn svg, .icon-btn .bsh-ico { width: 22px; height: 22px; }

.round-btn {
  width: 44px; height: 44px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(30,35,40,.08);
  transition: background-color .2s, color .2s, opacity .2s;
}
.round-btn svg, .round-btn .bsh-ico { width: 20px; height: 20px; }
.round-btn:hover:not(:disabled) { background: var(--primary); color: #fff; }
.round-btn:disabled { opacity: .35; cursor: default; }


.topbar { background: #CAB896; color: #2A2418; font-size: .85rem; }   
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar-links { display: flex; gap: 24px; }
.topbar-links a:hover { color: var(--primary-deep); text-decoration: underline; text-underline-offset: 3px; }

.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(241, 242, 239, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(30,35,40,.4); }
.header-in { display: flex; align-items: center; gap: 24px; height: 76px; }


.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { flex: none; }
.logo-mark img { height: 38px; width: auto; }
.logo-word { height: 26px; width: auto; flex: none; }

.nav { display: flex; gap: 2px; }
.nav > a {
  position: relative;
  padding: 8px 12px; border-radius: 999px;
  font-weight: 500; font-size: .95rem; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.nav > a:hover { background: rgba(30,35,40,.06); }

.nav > a::after {
  content: ""; position: absolute; inset-inline: 12px; bottom: 0;
  height: 2.5px; border-radius: 2px;
  background: #CAB896;
  transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav > a[aria-current="page"] { color: var(--primary); font-weight: 700; }
.nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav > a[aria-current="page"]:hover { background: none; }
.drawer-nav a[aria-current="page"] { color: var(--primary); font-weight: 700; box-shadow: inset -3px 0 0 #CAB896; padding-inline-start: 12px; }


.nav { align-items: center; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: 999px;
  font-weight: 500; font-size: .95rem; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.nav-trigger svg, .nav-trigger .bsh-ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav-trigger:hover { background: rgba(30,35,40,.06); }
.has-mega.is-open .nav-trigger { color: var(--primary); background: rgba(9,101,96,.08); }
.has-mega.is-open .nav-trigger svg, .has-mega.is-open .nav-trigger .bsh-ico { transform: rotate(180deg); }


body::after {
  content: ""; position: fixed; inset: 0; z-index: 39; pointer-events: none;
  background: rgba(20, 30, 29, .28);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility 0s linear .25s;
}
.mega-open body::after {
  opacity: 1; visibility: visible;
  transition: opacity .25s var(--ease), visibility 0s;
}


.mega {
  position: absolute; inset-inline: 0; top: 100%;
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 34px 60px -30px rgba(6,72,68,.38);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
}
.has-mega.is-open .mega {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s;
}
.mega-in { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 32px; padding-block: 28px; }
.mega-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.mega-col + .mega-col { border-inline-start: 1px solid var(--line); padding-inline-start: 20px; }

.mega-cat { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mega-thumb {
  width: 52px; height: 52px; flex: none; border-radius: var(--r-md);
  background: var(--sky); display: grid; place-items: center; overflow: hidden;
  transition: background-color .2s;
}
.mega-thumb img { width: 80%; height: 80%; object-fit: contain; transition: transform .3s var(--ease); }
.mega-cat strong { display: block; color: var(--primary); font-weight: 700; font-size: .95rem; line-height: 1.5; }
.mega-cat small { display: block; color: var(--steel); font-size: .78rem; }
.mega-cat:hover .mega-thumb { background: #CAB896; }
.mega-cat:hover .mega-thumb img { transform: scale(1.08); }

.mega-col ul { display: grid; gap: 2px; }
.mega-col li a {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 0; font-size: .9rem; color: #4B4D4C;
  transition: color .2s, transform .2s var(--ease);
}
.mega-col li a::before {           
  content: ""; width: 5px; height: 5px; border-radius: 50%; flex: none;
  background: #CAB896; opacity: 0; transition: opacity .2s;
}
.mega-col li a:hover { color: var(--primary); transform: translateX(-3px); }
.mega-col li a:hover::before { opacity: 1; }

.mega-promo {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  min-height: 250px; padding: 20px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #0D706A, #053F3B);
  color: #fff;
}
.mega-promo img {
  position: absolute; z-index: -1; left: -14px; bottom: -18px; width: 62%;
  filter: drop-shadow(0 14px 18px rgba(0,0,0,.35));
  transition: transform .5s var(--ease);
}
.mega-promo:hover img { transform: translateY(-4px) scale(1.04); }
.mega-promo-tag { font-size: .75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: #CAB896; color: #2A2418; }
.mega-promo strong { font-size: 1.05rem; line-height: 1.6; max-width: 14ch; }
.mega-promo-link { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: #D9C8A6; }
.mega-promo-link svg, .mega-promo-link .bsh-ico { width: 16px; height: 16px; }

.mega-foot { background: var(--porcelain); border-top: 1px solid var(--line); font-size: .88rem; }
.mega-foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; color: var(--steel); }
.mega-foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 700; }
.mega-foot a svg, .mega-foot a .bsh-ico { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.mega-foot a:hover svg, .mega-foot a:hover .bsh-ico { transform: translateX(-3px); }

.search {
  flex: 1; min-width: 180px; max-width: 360px; margin-inline-start: auto;
  display: flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 18px;
  background: var(--paper);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .2s;
}
.search:focus-within { box-shadow: inset 0 0 0 1.5px var(--primary); }
.search svg, .search .bsh-ico { width: 18px; height: 18px; color: var(--steel); flex: none; }
.search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: .92rem; }
.search input::placeholder { color: #8E918E; }

.header-actions { display: flex; align-items: center; gap: 6px; }


.login-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 50px; padding: 0 22px;
  border-radius: 999px;
  background: var(--primary); color: #fff;
  font-weight: 600; font-size: .92rem; white-space: nowrap;
  transition: background-color .2s, box-shadow .2s;
}
.login-btn svg, .login-btn .bsh-ico { width: 20px; height: 20px; }
.login-btn:hover { background: var(--primary-hover); box-shadow: 0 8px 18px -10px rgba(9,101,96,.7); }
:root[data-auth="guest"] .auth-user, :root[data-auth="user"] .auth-guest { display: none; }
.menu-btn { display: none; }

.icon-btn.cart-btn { width: 50px; height: 50px; background: var(--primary); color: #fff; transition: background-color .2s, box-shadow .2s; }
.icon-btn.cart-btn:hover { background: var(--primary-hover); box-shadow: 0 8px 18px -10px rgba(9,101,96,.7); }

.cart-count {
  position: absolute; top: -3px; inset-inline-end: -3px;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px;
  background: #CAB896; color: #2A2418;
  box-shadow: 0 0 0 2px var(--porcelain);
  font-size: .72rem; font-weight: 700; line-height: 20px; text-align: center;
  transform: scale(0); transition: transform .3s var(--ease);
}
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }


.drawer, .cart {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(20, 30, 29, .28);   
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.drawer.is-open, .cart.is-open { opacity: 1; visibility: visible; }
.drawer-panel, .cart-panel {
  position: absolute; top: 0; bottom: 0;
  width: min(400px, 88vw);
  background: var(--porcelain);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease);
}
.drawer-panel { right: 0; transform: translateX(100%); padding: 16px 20px; }
.cart-panel { left: 0; transform: translateX(-100%); }
.drawer.is-open .drawer-panel, .cart.is-open .cart-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.drawer-panel { overflow-y: auto; }
.drawer-nav a, .drawer-products > summary {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-weight: 700; font-size: 1.15rem;
}

.drawer-nav summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav summary::after {
  content: ""; width: 8px; height: 8px; margin-inline-end: 4px;
  border-inline-start: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); transition: transform .25s var(--ease);
}
.drawer-nav details[open] > summary::after { transform: rotate(135deg); }
.drawer-products[open] > summary { color: var(--primary); }
.drawer-products-in { padding: 4px 0 8px; border-bottom: 1px solid var(--line); }
.drawer-sub > summary { padding: 10px 12px; font-weight: 600; font-size: 1rem; border-radius: var(--r-sm); }
.drawer-sub[open] > summary { background: var(--sky); color: var(--primary); }
.drawer-sub-links { display: grid; padding: 4px 24px 8px 12px; }
.drawer-nav .drawer-sub-links a { padding: 7px 0; border: 0; font-weight: 400; font-size: .95rem; color: #4B4D4C; }
.drawer-nav a.drawer-all { border: 0; padding: 10px 12px; font-size: .95rem; color: var(--primary); }
.drawer-foot { margin-top: auto; display: grid; gap: 12px; color: var(--steel); padding-bottom: 8px; }

.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.cart-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-empty { text-align: center; padding: 64px 12px; color: var(--steel); }
.cart-empty .h3 { color: var(--graphite); margin-bottom: 8px; }
.cart-empty .btn { margin-top: 20px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 76px; height: 76px; border-radius: var(--r-sm); display: grid; place-items: center; }
.cart-thumb img { width: 62px; height: 62px; object-fit: contain; }
.cart-name { font-weight: 600; font-size: .92rem; line-height: 1.6; }
.cart-price { color: var(--steel); font-size: .88rem; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; background: var(--paper); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.qty button { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 999px; }
.qty button:hover { background: var(--fog); }
.qty svg, .qty .bsh-ico { width: 14px; height: 14px; }
.qty span { min-width: 20px; text-align: center; font-weight: 700; font-size: .9rem; }
.cart-remove { color: var(--steel); width: 36px; height: 36px; }
.cart-remove svg, .cart-remove .bsh-ico { width: 18px; height: 18px; }
.cart-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--paper); }
.cart-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.cart-row strong { font-weight: 800; font-size: 1.15rem; }
.cart-note { color: var(--steel); font-size: .86rem; margin: 4px 0 16px; }


.t-sky { background: var(--sky); }
.t-sage { background: var(--sage); }
.t-butter { background: var(--butter); }
.t-blush { background: var(--blush); }
.t-fog { background: var(--fog); }


.hero { margin-top: 12px; }
.hero-stage {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: clamp(580px, 46vw, 640px);
  background: var(--sky);
  transition: background-color .8s var(--ease);
  isolation: isolate;
}
.hero-stage[data-tint="sage"] { background: var(--sage); }
.hero-stage[data-tint="butter"] { background: var(--butter); }
.hero-stage[data-tint="warm"] { background: #FCECDD; }   
.hero-stage[data-tint="frost"] { background: #B9C5DA; }   
.hero-stage[data-tint="latte"] { background: #D0AD84; }   
.hero-stage[data-tint="night"] { background: #0A1A2D; }   

.slide[data-tint="night"] .slide-title { color: #fff; }
.slide[data-tint="night"] .slide-kicker { color: #9CC8E6; }
.slide[data-tint="night"] .slide-text { color: #C3D2E0; }
.slide[data-tint="night"] .slide-art .art { filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.hero-stage[data-tint="night"]::before { opacity: 0; }   
.hero-stage[data-tint="night"] .hero-tab i { background: rgba(255,255,255,.25); }
.hero-stage[data-tint="night"] .hero-tab:hover i { background: rgba(255,255,255,.4); }
.hero-stage[data-tint="night"] .hero-tab i::after { background: #fff; }
.hero-stage[data-tint="night"] :focus-visible { outline-color: #fff; }

.slide[data-tint="frost"] .slide-kicker, .slide[data-tint="frost"] .slide-text { color: #22313C; }
.slide[data-tint="latte"] .slide-kicker, .slide[data-tint="latte"] .slide-text { color: #3A2A1A; }
.hero-stage::before {            
  content: ""; position: absolute; z-index: -1;
  right: 45%; left: -10%; bottom: -30%; height: 75%;
  background: radial-gradient(closest-side, rgba(255,255,255,.7), rgba(255,255,255,0));
  transition: opacity .8s var(--ease);
}

.slide {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
  padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 72px) 120px;
  gap: 24px;
  visibility: hidden;
}
.slide.is-active { visibility: visible; }
.slide:has(.slide-bg) { transition: visibility 0s linear .8s; }   
.slide.is-active:has(.slide-bg) { transition-delay: 0s; }


.slide-bg {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  object-fit: cover; object-position: left center;
  opacity: 0; transition: opacity .8s var(--ease);
  pointer-events: none;
}
.slide.is-active .slide-bg { opacity: 1; }

.slide-copy > * { opacity: 0; transform: translateY(18px); }
.slide.is-active .slide-copy > * {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.slide.is-active .slide-copy > *:nth-child(2) { transition-delay: .08s; }
.slide.is-active .slide-copy > *:nth-child(3) { transition-delay: .16s; }
.slide.is-active .slide-copy > *:nth-child(4) { transition-delay: .24s; }

.slide-kicker { font-weight: 500; color: var(--steel); margin-bottom: 12px; font-size: .92rem; }
.slide-title {
  font-weight: 800;
  font-size: clamp(1.6rem, .9rem + 1.9vw, 2.6rem);
  line-height: 1.45;
  white-space: nowrap;              
}
.slide-text { margin-top: 12px; font-size: 1rem; color: var(--steel); white-space: nowrap; }
.slide-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.slide-art { position: relative; height: 100%; min-height: 0; display: grid; place-items: center; }
.slide-art .art {
  width: min(100%, 500px); max-height: 100%; height: auto; object-fit: contain;
  filter: var(--photo-shadow);
  opacity: 0; transform: translateX(-60px) scale(.96);
}
.slide.is-active .slide-art .art {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease) .1s, transform 1.1s var(--ease) .1s;
}

.hero-controls {
  position: absolute; inset-inline: clamp(24px, 5vw, 72px); bottom: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  z-index: 2;
}

.hero-tabs { display: flex; align-items: center; gap: 8px; }
.hero-tab { padding: 14px 0; }
.hero-tab span {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.hero-tab i {
  display: block; width: 28px; height: 3px; border-radius: 3px;
  background: rgba(9,101,96,.18); overflow: hidden;
  transition: width .5s var(--ease), background-color .2s;
}
.hero-tab:hover i { background: rgba(9,101,96,.32); }
.hero-tab.is-active i { width: 64px; }
.hero-tab i::after {
  content: ""; display: block; height: 100%; width: 100%;
  background: var(--primary);
  transform: scaleX(0); transform-origin: right;
}
.hero-tab.is-done i::after { transform: scaleX(1); }
.hero-tab.is-active i::after { animation: progress var(--hero-dur, 6.5s) linear forwards; }
.hero-stage.is-paused .hero-tab.is-active i::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }
.hero-arrows { display: flex; gap: 6px; }
.hero-arrows .round-btn { width: 34px; height: 34px; }
.hero-arrows .round-btn svg, .hero-arrows .round-btn .bsh-ico { width: 15px; height: 15px; }

.perks {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 16px;
  background: var(--paper);
  border-radius: var(--r-lg);
}
.perks li { display: flex; align-items: center; gap: 14px; padding: 18px 24px; line-height: 1.6; }
.perks li + li { border-inline-start: 1px solid var(--line); }
.perks svg, .perks .bsh-ico { width: 28px; height: 28px; color: var(--accent); flex: none; }
.perks strong { display: block; font-size: .95rem; }
.perks span { display: block; font-size: .84rem; color: var(--steel); }


.cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}
.cat {
  position: relative;
  display: flex; flex-direction: column;
  aspect-ratio: 4 / 5;
  padding: 18px 20px;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.cat-name { font-weight: 800; font-size: 1.08rem; line-height: 1.5; }
.cat-count { font-size: .84rem; color: #4D504E; }
.cat-art {
  position: absolute; left: 50%; bottom: 7%;
  width: 72%; height: 58%;
  object-fit: contain; object-position: bottom;
  filter: var(--photo-shadow);
  transform: translateX(-50%);
  transition: transform .5s var(--ease);
}
.cat-go {
  position: absolute; left: 14px; top: 16px;
  width: 34px; height: 34px; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.7);
  transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.cat-go svg, .cat-go .bsh-ico { width: 16px; height: 16px; }
.cat:hover .cat-art { transform: translateX(-50%) translateY(-6px) scale(1.04); }
.cat:hover .cat-go { background: var(--primary); color: #fff; transform: rotate(45deg); }


.offers {
  margin-top: clamp(64px, 9vw, 112px);
  background:
    radial-gradient(900px 500px at 88% 0%, rgba(202,184,150,.12), transparent 60%),
    radial-gradient(700px 600px at 0% 100%, rgba(101,149,138,.22), transparent 60%),
    linear-gradient(200deg, var(--petrol-2), var(--petrol) 60%);
  color: #E7F0ED;
  position: relative;
  overflow: hidden;
}
.offers::before {               
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 4px);
}
.offers-in {
  position: relative;
  display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(56px, 7vw, 96px);
  align-items: center;
}
.led-label { display: inline-flex; align-items: center; gap: 10px; color: var(--amber); font-weight: 700; }
.led-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(202,184,150,.2), 0 0 14px var(--amber);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .35; box-shadow: 0 0 0 4px rgba(202,184,150,.05); } }
.offers-title {
  font-weight: 900;
  font-size: clamp(1.8rem, 1.2rem + 2.1vw, 2.75rem);
  line-height: 1.35;
  margin-top: 12px; color: #fff;
  text-wrap: balance;
}
.offers-text { margin-top: 14px; color: #A9C9C0; max-width: 42ch; }
.offers-intro .btn { margin-top: 24px; }

.countdown {
  display: flex; align-items: flex-start; gap: 6px;
  margin: 30px 0 0;
  padding: 18px 22px 12px;
  width: fit-content;
  border-radius: var(--r-md);
  background: #011C19;
  box-shadow: inset 0 2px 10px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.07);
}
.cd-unit { display: grid; justify-items: center; gap: 2px; }
.cd-digits {
  min-width: 2.1ch;
  text-align: center;
  font-weight: 800;
  font-size: clamp(2.6rem, 1.8rem + 2.6vw, 3.8rem);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.cd-val {
  color: var(--amber);
  text-shadow: 0 0 18px rgba(202,184,150,.6), 0 0 2px rgba(236,227,208,.9);
}
.cd-cap { font-size: .78rem; color: #8AAEA5; }
.cd-sep {
  font-weight: 800;
  font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.2rem); line-height: 1.3;
  color: var(--amber); opacity: .7;
  animation: blink 1s steps(1) infinite;
}


.deals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.deal {
  position: relative;
  min-width: 0;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  padding: 14px;
  transition: box-shadow .3s;
}
.deal:hover { box-shadow: inset 0 0 0 1px rgba(202,184,150,.55); }
.deal-media {
  position: relative; aspect-ratio: 1 / .9;
  border-radius: var(--r-md);
  background: #FFFFFF;
  display: grid; place-items: center;
  overflow: hidden;
}
.deal-media img {
  width: 76%; height: 80%; object-fit: contain;
  filter: var(--photo-shadow);
  transition: transform .5s var(--ease);
}
.deal:hover .deal-media img { transform: scale(1.05); }
.deal-off {
  position: absolute; inset-inline-start: 10px; top: 10px; z-index: 1;
  background: var(--beige); color: var(--gold-ink);
  font-weight: 900; font-size: .92rem;
  padding: 2px 12px; border-radius: 999px;
}
.deal-body { padding: 14px 4px 4px; display: flex; flex-direction: column; flex: 1; }
.deal-brand { font-size: .82rem; color: #9BBDB4; }
.deal-name { font-weight: 700; font-size: 1rem; color: #fff; line-height: 1.6; }
.deal-price { display: grid; grid-template-rows: 1.4em auto; justify-items: start; margin-top: 6px; }
.deal-price s { grid-row: 1; line-height: 1.4; white-space: nowrap; }
.deal-price strong { grid-row: 2; font-size: 1.3rem; font-weight: 900; color: #fff; white-space: nowrap; }
.deal-price strong .toman { color: #A9C9C0; }
.deal-price s { color: #8AAEA5; font-size: .88rem; }
.stock { margin-top: 12px; }
.stock-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; }
.stock-bar i {
  display: block; height: 100%; width: var(--claimed);
  background: linear-gradient(270deg, var(--gold), var(--amber));
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(202,184,150,.45);
}
.stock-meta { display: flex; justify-content: space-between; gap: 8px; font-size: .8rem; color: #A9C9C0; margin-top: 6px; white-space: nowrap; }
.stock-meta span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.deal .add { margin-top: 14px; width: 100%; background: #fff; color: var(--primary); }
.deal .add:hover { background: var(--beige); color: var(--gold-ink); }
.deal .add.is-added { background: var(--beige); color: var(--gold-ink); }


.row-tools { display: flex; align-items: center; gap: 16px; }

.track-wrap { position: relative; }
.row-arrows {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  display: flex; align-items: center; justify-content: space-between;
  margin-inline: -23px;
}
.row-arrows[hidden] { display: none; }
.edge-btn {
  pointer-events: auto;
  width: 46px; height: 46px;
  background: var(--paper); color: var(--primary);
  box-shadow: 0 0 0 1px var(--line), 0 10px 24px -12px rgba(6,72,68,.45);
  transition: background-color .2s, color .2s, opacity .25s, transform .25s var(--ease);
}
.edge-btn svg, .edge-btn .bsh-ico { width: 20px; height: 20px; }

.edge-btn:disabled { opacity: 0; transform: scale(.8); pointer-events: none; }

.track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 16px) / 4);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px;
  margin: -4px;
}
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }

@media (hover: hover) and (pointer: fine) {
  .track { cursor: grab; }
}
.track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.track.is-dragging .card { pointer-events: none; }

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 10px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .35s var(--ease);
}
.card:hover { box-shadow: inset 0 0 0 1px transparent, 0 1px 2px rgba(6,72,68,.06), 0 16px 36px -14px rgba(6,72,68,.24); }
.card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  background: #FFFFFF;          
  display: grid; place-items: center;
  overflow: hidden;
}
.card-media .art {
  width: 76%; height: 78%; object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(30,35,40,.16));
  transition: transform .6s var(--ease);
}
.card:hover .card-media .art { transform: translateY(-4px) scale(1.04); }

.badges { position: absolute; inset-inline-start: 10px; top: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 1; }
.badge {
  font-size: .75rem; font-weight: 700; line-height: 1.9;
  padding: 0 10px; border-radius: 999px;
  background: var(--sky); color: var(--primary);
}


.energy {
  position: absolute; inset-inline-start: 10px; bottom: 10px; z-index: 1;
  display: inline-flex; align-items: center;
  height: 22px; padding: 0 12px 0 8px;
  font-size: .78rem; font-weight: 800; color: #fff;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%);
  border-radius: 4px 0 0 4px;
}
.e-A { background: #1E8C45; } .e-B { background: #52A438; } .e-C { background: #B6C82A; color: #1E2328; } .e-D { background: #F2D200; color: #1E2328; }

.wish {
  position: absolute; inset-inline-end: 10px; top: 10px; z-index: 2;
  width: 38px; height: 38px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--porcelain); color: var(--primary);
  transition: transform .2s var(--ease), color .2s;
}
.wish svg, .wish .bsh-ico { width: 19px; height: 19px; }
.wish:hover { transform: scale(1.08); }
.wish[aria-pressed="true"] { color: var(--sale); --fill: var(--sale); }
.wish[aria-pressed="true"] svg, .wish[aria-pressed="true"] .bsh-ico { animation: bump .4s var(--ease); }

.card-body { padding: 14px 8px 6px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: .98rem; font-weight: 700; line-height: 1.7; }


.card-title, .deal-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mq { display: inline; }
.is-marquee {
  text-overflow: clip;
  
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%);
          mask-image: linear-gradient(to left, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%);
}
.is-marquee .mq {
  display: inline-block;
  transform: translateX(var(--mq-x, 0px));
  transition: transform var(--mq-dur, 1s) linear;
  will-change: transform;
}

.card-cover { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card .add { position: relative; z-index: 2; }

.specs { display: flex; flex-wrap: nowrap; gap: 6px; margin-top: 10px; overflow: hidden; }
.specs li {
  flex: 0 1 auto; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: .76rem; line-height: 1.9; padding: 0 10px; border-radius: 999px; background: var(--fog); color: #454746;
}


.buy { display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding-top: 14px; }

.price { display: grid; grid-template-rows: 1.6em auto; justify-items: end; text-align: end; }
.price-was { grid-row: 1; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.price-was s { font-size: .78rem; color: var(--steel); text-decoration-color: rgba(95,110,122,.6); }
.price-off {
  font-size: .72rem; font-weight: 700; line-height: 1;
  padding: 3px 6px; border-radius: 999px;
  background: var(--beige); color: var(--gold-ink);
}
.price strong { grid-row: 2; font-weight: 700; font-size: 1.05rem; line-height: 1.6; color: var(--graphite); white-space: nowrap; }

.add {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 14px;
  border-radius: 999px;
  background: var(--primary); color: #fff;
  font-weight: 700; font-size: .9rem; white-space: nowrap;
  flex: none;
  transition: background-color .2s, transform .2s var(--ease);
}
.add svg, .add .bsh-ico { width: 18px; height: 18px; }
.add:hover { background: var(--primary-hover); }
.add:active { transform: scale(.95); }
.add.is-added { background: var(--secondary); }
.add.is-added svg, .add.is-added .bsh-ico { animation: pop .35s var(--ease); }
@keyframes pop { from { transform: scale(.3); } }
.card .add { width: 100%; }
.add:disabled { background: var(--fog); color: var(--steel); cursor: default; transform: none; }


.banners {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;   
  margin-top: clamp(48px, 6vw, 80px);
}
.banner {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center;
  min-height: 310px;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: clamp(24px, 3vw, 40px);
  isolation: isolate;
}
.banner-sage { background: var(--sage); }
.banner-sky { background: var(--sky); }
.banner-butter { background: var(--butter); }
.banner-graphite { background: var(--primary); color: #fff; }
.banner-graphite::after {        
  content: ""; position: absolute; z-index: -1;
  left: -10%; top: 10%; width: 60%; height: 90%;
  background: radial-gradient(closest-side, rgba(255,255,255,.22), transparent);
}
.banner-graphite .banner-kicker { color: #9CC8E6; }
.banner-graphite .banner-text { color: #C9DCD6; }


.banner-photo { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
.banner-photo .banner-copy { grid-column: 1; }
.banner-toaster { background: #DC9A56; }
.banner-airfryer { background: #022659; color: #fff; }
.banner-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: left center;
  transition: transform .9s var(--ease);
}

.banner-toaster .banner-kicker { color: #6B3A0C; }
.banner-toaster .banner-title { color: var(--primary); }
.banner-toaster .banner-text { color: #3A2810; }

.banner-airfryer .banner-kicker { color: #9CC8E6; }
.banner-airfryer .banner-title { color: #fff; }
.banner-airfryer .banner-text { color: #C9D8E8; }
.banner-airfryer:focus-visible { outline-color: #fff; }

.banner-hood { background: #1F2126; color: #fff; }
.banner-hood::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to left, rgba(16,18,22,.78), rgba(16,18,22,.45) 38%, rgba(16,18,22,0) 62%);
}
.banner-hood .banner-kicker { color: #F2C48D; }   
.banner-hood .banner-title { color: #fff; }
.banner-hood .banner-text { color: #D3D9E0; }
.banner-hood:focus-visible { outline-color: #fff; }

.banner-mixer { background: #EDE6DF; }
.banner-mixer::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to left, rgba(248,244,240,.82), rgba(248,244,240,.5) 40%, rgba(248,244,240,0) 60%);
}
.banner-mixer .banner-kicker { color: #6A5A4C; }
.banner-mixer .banner-title { color: var(--primary); }
.banner-mixer .banner-text { color: #3B342E; }
.banner-photo:hover .banner-bg { transform: scale(1.03); }
.banner-kicker { font-weight: 700; font-size: .9rem; color: var(--accent-ink); }
.banner-title {
  font-weight: 900;
  font-size: clamp(1.25rem, .95rem + 1vw, 1.7rem);
  line-height: 1.5;
  margin: 6px 0 16px;
  text-wrap: balance;               
}
.banner-text { color: #454746; margin: -8px 0 18px; font-size: .95rem; text-wrap: balance; }
.banner-art { display: grid; place-items: center; height: 100%; min-height: 220px; }
.banner-art img {
  width: 100%; max-width: 240px; max-height: 240px; object-fit: contain;
  filter: var(--photo-shadow);
  transition: transform .6s var(--ease);
}
.banner-art-tall img { max-height: 290px; }
.banner:hover .banner-art img { transform: translateY(-6px); }
.banner:hover .btn-dark { background: var(--primary-hover); }
.banner:hover .btn-light { background: var(--secondary); color: #fff; }


.about {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.about-visual { position: relative; }

.about-img {
  width: 100%; height: auto;
  filter: drop-shadow(0 24px 30px rgba(6, 72, 68, .16));
}
.about-badge {
  position: absolute; left: -12px; bottom: 32px;
  background: var(--primary); color: #fff;
  border-radius: var(--r-lg);
  padding: 14px 20px;
  display: grid;
  box-shadow: 0 20px 40px -20px rgba(30,35,40,.6);
}
.about-badge strong { font-weight: 900; font-size: 2rem; line-height: 1.2; color: #fff; }
.about-badge strong::after { content: "★"; color: var(--secondary); font-size: .7em; margin-inline-start: 6px; }
.about-badge span { font-size: .84rem; color: #C9DCD6; }


.about-copy { container-type: inline-size; }
.about-copy .h2 {
  max-width: none;
  font-size: clamp(1.3rem, 5.8cqi, 2.2rem);
  line-height: 1.5;
  text-wrap: balance;
}
.about-copy .lead { margin-top: 18px; max-width: 58ch; }
.about-copy > p:not(.lead) { margin-top: 12px; color: #4B4D4C; max-width: 60ch; }
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 32px 0; }
.services li { display: flex; gap: 14px; }
.svc-ic {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  background: var(--paper); color: var(--accent);
  display: grid; place-items: center;
}
.svc-ic svg, .svc-ic .bsh-ico { width: 24px; height: 24px; }
.services h3 { font-size: 1rem; font-weight: 800; line-height: 1.6; }
.services p { font-size: .88rem; color: var(--steel); line-height: 1.8; }


.blog { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; }
.post { position: relative; display: flex; flex-direction: column; }
.post-cover {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  display: grid; place-items: center;
}

.post-cover img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform .7s var(--ease);
}
.post:hover .post-cover img { transform: scale(1.04); }
.post-cat {
  position: absolute; inset-inline-start: 14px; top: 14px; z-index: 1;
  background: var(--paper); font-size: .76rem; font-weight: 700; line-height: 1.9;
  padding: 0 10px; border-radius: 999px;
}
.post-title { font-weight: 800; line-height: 1.6; text-wrap: balance; }
.post-title a::after { content: ""; position: absolute; inset: 0; }
.post-title a { background: linear-gradient(currentColor, currentColor) 100% 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease); }
.post:hover .post-title a { background-size: 100% 1.5px; }
.post-meta { font-size: .84rem; color: var(--steel); margin-top: 6px; display: flex; gap: 14px; }
.post-excerpt { color: #4B4D4C; margin-top: 8px; max-width: 62ch; }

.post-feature .post-cover { aspect-ratio: 16 / 10.5; }
.post-feature .post-title { font-size: clamp(1.2rem, 1rem + .8vw, 1.55rem); margin-top: 18px; }

.post-list { display: grid; gap: 16px; align-content: start; }
.post-list .post {
  flex-direction: row; gap: 18px; align-items: center;
  padding: 10px; border-radius: var(--r-lg);
  background: var(--paper);
  transition: box-shadow .3s;
}
.post-list .post:hover { box-shadow: var(--shadow-lift); }
.post-list .post-cover { width: 132px; flex: none; aspect-ratio: 1 / 1; border-radius: var(--r-md); }
.post-list .post-cat { position: static; display: inline-block; background: var(--fog); margin-bottom: 4px; }
.post-list .post-title { font-size: 1rem; }


.nl-wrap { position: relative; z-index: 2; max-width: 1120px; margin-top: clamp(64px, 9vw, 112px); }
.newsletter {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 1px 2px rgba(6,72,68,.06), 0 24px 48px -24px rgba(6,72,68,.35);
}
.newsletter p { color: var(--steel); margin-top: 4px; }
.nl-form { display: flex; flex-wrap: wrap; gap: 10px; }
.nl-form input {
  flex: 1; min-width: 200px; height: 50px; padding: 0 20px;
  border: 0; border-radius: 999px; background: var(--porcelain);
  box-shadow: inset 0 0 0 1px var(--line); outline: 0;
  text-align: start;
}
.nl-form input:placeholder-shown { direction: rtl; }
.nl-form input:focus { box-shadow: inset 0 0 0 1.5px var(--primary); }
.nl-form input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--sale); }
.nl-msg { flex-basis: 100%; font-size: .88rem; min-height: 1.4em; padding-inline-start: 20px; }
.nl-msg.is-error { color: var(--sale); }
.nl-msg.is-ok { color: var(--accent); }



.footer {
  --deep: #064844;
  --nl-overlap: 84px;                          
  margin-top: calc(var(--nl-overlap) * -1);
  border-radius: clamp(40px, 6vw, 96px) clamp(40px, 6vw, 96px) 0 0;
  overflow: hidden;
  color: #CFE3DE;
}
.footer-main {
  position: relative; isolation: isolate;
  padding-top: calc(var(--nl-overlap) + clamp(40px, 5vw, 64px));
  background: linear-gradient(180deg, #0D706A 0%, var(--primary) 45%, #053F3B 100%);
}
.footer-corner { position: absolute; top: 0; height: 100%; z-index: -1; pointer-events: none; }
.fc-right { right: 0; width: clamp(90px, 17vw, 340px); }
.fc-left { left: 0;  width: clamp(150px, 26vw, 500px); }

.footer-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 80px); padding-bottom: 56px; }

.footer .logo-mark { background: #F3F0E8; border-radius: 12px; padding: 6px 8px; }
.footer .logo-mark img { height: 30px; }
.footer-brand p { margin-top: 18px; max-width: 40ch; line-height: 2; }

.trust { display: flex; gap: 10px; margin-top: 22px; }
.trust-badge {
  display: grid; place-items: center;
  width: 88px; height: 88px; padding: 8px;
  background: #fff; border-radius: var(--r-md);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.trust-badge img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.trust-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(0,0,0,.5); }

.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: space-between; gap: 32px; }
.footer-links nav { display: grid; gap: 10px; align-content: start; }
.footer-links h3 { color: #fff; font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }
.footer-links h3::after {              
  content: ""; display: block; width: 28px; height: 2px; margin-top: 8px; border-radius: 2px; background: var(--gold);
}
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: #fff; }


.footer-bar {
  background: linear-gradient(90deg, #96846A 0%, #B9A47F 30%, #CDB994 50%, #B9A47F 70%, #96846A 100%);
  color: #1B2624; font-size: .88rem;
}
.footer-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-block: 18px; }
.footer-legal { display: flex; flex-wrap: wrap; }
.footer-legal a { padding-inline: 16px; }
.footer-legal a:first-child { padding-inline-start: 0; }
.footer-legal a + a { border-inline-start: 1px solid rgba(27,38,36,.3); }
.footer-legal a:hover { color: var(--deep); text-decoration: underline; text-underline-offset: 4px; }
.footer-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.footer-meta p { font-weight: 500; }
.social { display: flex; gap: 10px; padding-inline-start: 20px; border-inline-start: 1px solid rgba(27,38,36,.3); }
.social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--deep); color: #D9C8A6;
  transition: background-color .2s, transform .2s var(--ease);
}
.social a:hover { background: var(--primary); transform: translateY(-2px); }
.social svg, .social .bsh-ico { width: 18px; height: 18px; }
.footer-main :focus-visible { outline-color: #fff; }
.footer-bar :focus-visible { outline-color: var(--deep); }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 70;
  display: flex; align-items: center; gap: 12px;
  background: var(--primary-deep); color: #fff;
  padding: 8px 18px 8px 8px; border-radius: 999px;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.5);
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform .45s var(--ease), opacity .3s;
  max-width: calc(100vw - 32px);
}
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }
.toast svg, .toast .bsh-ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--secondary); color: #fff; flex: none; }
.toast span { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast button { background: #fff; color: var(--primary); font-weight: 700; font-size: .84rem; height: 34px; padding: 0 14px; border-radius: 999px; flex: none; }



.crumbs { margin-top: 12px; font-size: .86rem; color: var(--steel); }

.crumbs ol {
  --fade-start: 0px; --fade-end: 0px;
  list-style: none; margin: 0 -4px; padding: 4px;
  display: flex;
  overflow-x: auto; scrollbar-width: none;
  scroll-padding-inline: 28px;
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent 100%);
          mask-image: linear-gradient(to left, transparent 0, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent 100%);
}
.crumbs ol::-webkit-scrollbar { display: none; }
.crumbs ol.more-start { --fade-start: 28px; }
.crumbs ol.more-end { --fade-end: 28px; }
@media (hover: hover) and (pointer: fine) {
  .crumbs ol.more-start, .crumbs ol.more-end { cursor: grab; }
}
.crumbs ol.is-dragging { cursor: grabbing; user-select: none; }
.crumbs li { flex: none; white-space: nowrap; }
.crumbs li + li::before { content: "/"; margin-inline: 8px; color: var(--line); }
.crumbs a:hover { color: var(--primary); }
.crumbs [aria-current] { color: var(--graphite); }


.product-page .footer, .products-page .footer, .about-page .footer, .contact-page .footer, .order-page .footer, .account-page .footer, .terms-page .footer, .nf-page .footer { --nl-overlap: 0px; margin-top: clamp(64px, 9vw, 112px); }

@media (max-width: 1180px) {
  .header-in { gap: 16px; }
  .nav > a, .nav-trigger { padding-inline: 10px; }
  
  .mega-in { grid-template-columns: 1fr; }
  .mega-promo { display: none; }
  .mega-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .mega-col:nth-child(4) { border-inline-start: 0; padding-inline-start: 0; }
  .track { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .cat { aspect-ratio: 5 / 4; }
  .cat-art { width: 50%; height: 72%; left: 30%; }
  .offers-in { grid-template-columns: minmax(0, 1fr); }
  .offers-intro { display: grid; grid-template-columns: 1fr auto; column-gap: 40px; align-items: end; }
  .offers-intro > :not(.countdown) { grid-column: 1; }
  .offers-intro .countdown { grid-column: 2; grid-row: 1 / span 4; margin: 0; align-self: end; }
  .offers-intro .btn { justify-self: start; margin-top: 16px; }
}

@media (max-width: 960px) {
  .topbar-links { display: none; }
  .topbar-in { justify-content: center; text-align: center; }
  
  .nav { display: none; }
  .menu-btn { display: grid; }
  .slide { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); padding-bottom: 104px; gap: 8px; }
  .slide-art .art { width: auto; height: 100%; max-height: 380px; }
  .slide-bg {                       
    object-position: 22% bottom;
    -webkit-mask-image: linear-gradient(to bottom, transparent 30%, #000 62%);
            mask-image: linear-gradient(to bottom, transparent 30%, #000 62%);
  }
  .hero-stage { min-height: 820px; }
  .perks { grid-template-columns: 1fr 1fr; }
  .perks li:nth-child(3) { border-inline-start: 0; }
  .perks li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .banners, .banners-alt { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-visual { max-width: 560px; }
  .blog { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; }
  .footer-links { justify-content: start; column-gap: 56px; }

}

@media (max-width: 760px) {
  
  h2:not(.offers-title), .about-copy .h2 {
    min-width: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .slide-copy, .slide-art, .newsletter > div { min-width: 0; }   

  .header-in { flex-wrap: wrap; height: auto; padding-top: 10px; row-gap: 6px; }
  .search { order: 5; flex-basis: 100%; max-width: none; margin: 0 0 12px; }
  .header-actions { margin-inline-start: auto; }
  .hide-sm { display: none; }
  
  .login-btn { width: 44px; height: 44px; padding: 0; justify-content: center; box-shadow: none; }
  .login-btn span { display: none; }
  .icon-btn.cart-btn { width: 44px; height: 44px; }

  .hero-stage { min-height: 720px; }
  .slide { padding: 28px 22px 92px; }
  .slide-text { font-size: .98rem; margin-top: 10px; }
  .slide-cta { margin-top: 20px; }
  
  .slide-title, .slide-text { white-space: normal; text-wrap: balance; }
  .slide-art .art { max-height: 320px; }
  .hero-controls { inset-inline: 22px; bottom: 24px; align-items: center; gap: 16px; }
  .hero-tab { padding-top: 0; }
  .hero-tab span { display: none; }
  .hero-tabs { gap: 8px; }
  .hero-arrows { gap: 6px; }

  .perks li { padding: 14px 16px; gap: 10px; }
  .perks svg, .perks .bsh-ico { width: 24px; height: 24px; }

  .cats {
    grid-template-columns: none;
    grid-auto-flow: column; grid-auto-columns: 42%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .cats::-webkit-scrollbar { display: none; }
  .cat { scroll-snap-align: start; aspect-ratio: 4 / 5; }
  .cat-art { width: 72%; height: 58%; left: 50%; }

  
  .offers-intro { display: flex; flex-direction: column; align-items: flex-start; }
  .offers-title { align-self: stretch; }
  .offers-intro .btn { margin-top: 20px; }
  .offers-intro .countdown { align-self: stretch; width: auto; margin: 20px 0 0; }
  .countdown .cd-unit { flex: 1; }
  .deals {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .deals::-webkit-scrollbar { display: none; }
  .deal { scroll-snap-align: start; }

  .row-arrows { display: none; }
  .track {
    grid-auto-columns: 72%;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }

  .banner { grid-template-columns: 1fr; min-height: 0; }
  
  
  .banner-photo { min-height: 430px; align-content: end; }
  .banner-bg {
    height: 62%; object-position: 24% center;
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
            mask-image: linear-gradient(to bottom, #000 70%, transparent);
  }
  .banner-airfryer { background: #8E0006; }   
  .banner-airfryer .banner-kicker, .banner-airfryer .banner-text { color: #FFE1E2; }
  .banner-airfryer:hover .btn-light { background: var(--primary); }
  .banner-hood::after, .banner-mixer::after { display: none; }   
  .banner-art { min-height: 0; height: 210px; margin-top: 12px; }
  .banner-art img { max-height: 200px; }
  .banner-art-tall img { max-height: 210px; }

  .services { grid-template-columns: 1fr; }
  .about-badge { left: 12px; }
  .post-list .post-cover { width: 96px; }
}

@media (max-width: 420px) {
  .cats { grid-auto-columns: 58%; }
  .track { grid-auto-columns: 86%; }
  .perks { grid-template-columns: 1fr; }
  .perks li + li { border-inline-start: 0; border-top: 1px solid var(--line); }
  .countdown { padding: 14px 16px 10px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; column-gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  @layer base { *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
    scroll-behavior: auto !important;
  } }
}

/* ---- checkout.css ---- */


:root {
  --error: #B3261E;
}

[hidden] { display: none !important; }


.order-page h2 { white-space: normal; overflow: visible; }

.co-page { padding-block: clamp(20px, 3vw, 36px) clamp(56px, 7vw, 96px); }

.co-title {
  font-weight: 500;
  font-size: clamp(1.35rem, 1.15rem + .8vw, 1.9rem);
  line-height: 1.5;
  color: var(--primary);
}
.co-title b { font-weight: 800; }
.co-title:focus { outline: 0; }


.co-tabhead {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 10px;
  margin-bottom: clamp(20px, 2.4vw, 30px);
  border-bottom: 1px solid var(--line);
}
.co-tabhead::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: -2px;
  width: 200px; max-width: 50%; height: 3px; border-radius: 3px;
  background: var(--primary);
}
.co-count {
  padding: 2px 12px; border-radius: 999px;
  background: var(--sage); color: var(--primary);
  font-weight: 700; font-size: .88rem; white-space: nowrap;
}


.co-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px; align-items: start;
}
.co-side { position: sticky; top: 96px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }


.co-summary, .co-code, .co-line, .co-empty {
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.co-summary { padding: 22px; }
.co-rows { margin: 0; display: grid; gap: 10px; }
.co-rows > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.co-rows dt { color: var(--steel); font-size: .92rem; }
.co-rows dd { margin: 0; font-weight: 700; white-space: nowrap; }
.co-rows .is-off dd { color: var(--secondary-hover); }
.co-total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-block: 16px 18px; padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.co-total span:first-child { font-weight: 600; }
.co-total strong { font-weight: 800; font-size: 1.4rem; line-height: 1.5; color: var(--primary); white-space: nowrap; }


.co-code { padding: 18px 22px; }
.co-code-label { font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.co-code-row { display: flex; gap: 8px; }
.co-code-row input {
  flex: 1; min-width: 0; height: 50px; padding: 0 16px;
  border: 0; outline: 0; border-radius: 999px;
  background: var(--porcelain); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 16px; text-align: right;
}
.co-code-row input:not(:placeholder-shown) { text-align: left; }
.co-code-row input::placeholder { color: var(--steel); opacity: 1; font-size: .88rem; }
.co-code-row input:focus { box-shadow: inset 0 0 0 1.5px var(--primary); }
.co-code-row .btn { flex: none; padding-inline: 18px; font-size: .9rem; }

.co-field-msg { font-size: .85rem; line-height: 1.7; }
.co-field-msg:not(:empty) { margin-top: 6px; }
.co-field-msg.is-error { color: var(--error); font-weight: 600; }
.co-field-msg.is-ok { color: var(--primary); font-weight: 600; }


.co-lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.co-line { display: grid; gap: 16px; padding: 16px; }
.co-line-top { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; }
.co-line-thumb { aspect-ratio: 1; border-radius: var(--r-md); display: grid; place-items: center; }
.co-line-thumb img { width: 84%; height: 84%; object-fit: contain; }
.co-line-main { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-width: 0; }
.co-line-name { font-weight: 600; font-size: .96rem; line-height: 1.7; }
.co-qty { display: flex; justify-content: space-between; margin-top: 0; padding: 3px; }
.co-qty button { width: 40px; height: 40px; }
.co-qty button:disabled { opacity: .35; cursor: not-allowed; }
.co-qty svg, .co-qty .bsh-ico { width: 16px; height: 16px; }
.co-qty span { font-size: 1rem; }
.co-line-prices { padding-top: 14px; border-top: 1px solid var(--line); gap: 6px; }
.co-line-prices dt { font-size: .88rem; }
.co-line-prices .is-strong dt { color: var(--graphite); font-weight: 600; }
.co-line-prices .is-strong dd { font-weight: 800; font-size: 1.05rem; }

.co-empty { display: grid; justify-items: center; gap: 10px; padding: clamp(40px, 7vw, 72px) 24px; text-align: center; }
.co-empty .btn { margin-top: 10px; }


.co-steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  margin: 0 0 clamp(18px, 2.4vw, 28px); padding: 0; list-style: none;
  border-radius: var(--r-md); overflow: hidden;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
}
.co-steps li { color: var(--steel); transition: background-color .25s, color .25s; }
.co-steps li.is-done { background: var(--gold); color: var(--gold-ink); }   
.co-steps a { display: grid; place-items: center; height: 50px; }
.co-steps a[href]:hover { background: var(--beige); }
.co-steps a:focus-visible { outline-offset: -5px; outline-color: var(--gold-ink); }
.co-steps svg, .co-steps .bsh-ico { width: 22px; height: 22px; }
.co-step-title {             
  margin-bottom: clamp(14px, 2vw, 22px); padding-bottom: clamp(10px, 1.4vw, 14px);
  border-bottom: 1px solid var(--line);
}


.co-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.co-opt {
  display: flex; align-items: flex-start; gap: 12px; height: 100%;
  padding: 18px 20px;
  background: var(--paper); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  transition: box-shadow .2s, background-color .2s;
}
.co-opt:hover { box-shadow: inset 0 0 0 1px var(--secondary); }
.co-opt:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--primary); background: #FBFCFA; }
.co-opt:has(input:focus-visible) { outline: 2.5px solid var(--accent); outline-offset: 3px; }
.co-opt.is-off { opacity: .55; cursor: not-allowed; }
.co-opt-body { flex: 1; min-width: 0; display: grid; gap: 6px; line-height: 1.8; }
.co-opt-body strong { font-weight: 700; }
.co-opt-price { font-weight: 700; white-space: nowrap; }
.co-addr-text { font-size: .92rem; color: var(--steel); overflow-wrap: anywhere; }
.co-addr-meta { font-size: .84rem; color: var(--steel); }
.co-tag {
  display: inline-block; padding: 0 10px; border-radius: 999px;
  background: var(--sage); color: var(--primary);
  font-weight: 700; font-size: .75rem; line-height: 1.9; white-space: nowrap;
}

.co-radio, .co-check input {
  appearance: none; flex: none;
  width: 18px; height: 18px; margin: 5px 0 0;
  border-radius: 50%; background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--steel);
  cursor: inherit; transition: box-shadow .15s;
}
.co-radio:checked, .co-check input[type="radio"]:checked { box-shadow: inset 0 0 0 5px var(--primary); }
.co-radio:focus-visible, .co-check input:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 50%; }
.co-opt .co-radio:focus-visible { outline: 0; }
.co-check input[type="checkbox"] { border-radius: 5px; }
.co-check input[type="checkbox"]:checked {
  box-shadow: none;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.500l4.500 4.500L19 7.500' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}


.co-addr { position: relative; }
#addressList { grid-template-columns: minmax(0, 1fr); }   
.co-addr .co-opt-body strong { padding-inline-end: 72px; }
.co-edit {
  position: absolute; top: 12px; inset-inline-end: 12px;
  min-height: 34px; padding: 0 14px; border-radius: 999px;
  background: var(--sage); color: var(--primary);
  font-weight: 700; font-size: .84rem;
}
.co-edit:hover { background: var(--sky); }

.co-new {
  display: flex; align-items: center; gap: 12px;
  width: 100%; margin-top: 14px; padding: 10px 14px;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1.5px rgba(9,101,96,.28);
  font-weight: 700; color: var(--primary); text-align: start;
}
.co-new:hover { box-shadow: inset 0 0 0 1.5px var(--primary); }
.co-new-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); }
.co-new-icon svg, .co-new-icon .bsh-ico { width: 18px; height: 18px; }
.co-note { padding: 18px 20px; border-radius: var(--r-lg); background: var(--paper); grid-column: 1 / -1; color: var(--steel); box-shadow: inset 0 0 0 1px var(--line); }


.co-sub { font-weight: 600; font-size: 1.02rem; line-height: 1.6; margin-block: 0 12px; }
.co-tiles + .co-sub { margin-top: 26px; }
.co-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.co-tile { cursor: pointer; }
.co-tile span {
  display: grid; place-items: center; align-content: center; gap: 0;
  min-height: 68px; padding: 8px 6px;
  background: var(--paper); border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: center; line-height: 1.6;
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.co-tile b { font-weight: 700; }
.co-tile small { font-size: .84rem; color: var(--steel); }
.co-tile:hover span { box-shadow: inset 0 0 0 1px var(--secondary); }
.co-tile input:checked + span { background: var(--primary); color: #fff; box-shadow: none; }
.co-tile input:checked + span small { color: #fff; }
.co-tile input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 3px; }
.co-tile.is-off { cursor: not-allowed; }
.co-tile.is-off span { opacity: .5; background: var(--fog); box-shadow: none; }
.co-tiles-slots .co-tile span { min-height: 46px; }


.co-opt:has(.co-pay) { align-items: center; }
.co-opt .co-radio { margin-top: 0; }
.co-opt:not(:has(.co-pay)) .co-radio { margin-top: 5px; }
.co-pay { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.co-pay-icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--fog); color: var(--primary); }
.co-pay-icon svg, .co-pay-icon .bsh-ico { width: 22px; height: 22px; }


.co-items { display: grid; gap: 10px; margin-bottom: 24px; }
.co-item {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) auto auto; gap: 16px; align-items: center;
  padding: 12px 14px;
  background: var(--paper); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line);
}
.co-item-name { font-weight: 600; font-size: .94rem; line-height: 1.7; }
.co-item-qty { padding: 2px 12px; border-radius: 999px; background: var(--fog); font-size: .85rem; font-weight: 600; white-space: nowrap; }
.co-item-price { font-weight: 700; white-space: nowrap; min-width: 150px; text-align: left; }

.co-facts { margin: 0 0 24px; display: grid; background: var(--paper); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); }
.co-facts > div { padding: 14px 20px; }
.co-facts > div + div { border-top: 1px solid var(--line); }
.co-facts dt { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; }
.co-facts dt .link { font-size: .84rem; }
.co-facts dd { margin: 2px 0 0; color: var(--steel); font-size: .94rem; overflow-wrap: anywhere; }


.co-label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .92rem; }
.co-input {
  width: 100%; height: 50px; padding: 0 16px;
  border: 0; outline: 0; border-radius: var(--r-md);
  background: var(--porcelain); box-shadow: inset 0 0 0 1px var(--line);
  font: inherit; font-size: 16px; color: inherit;
}
.co-input::placeholder { color: var(--steel); opacity: 1; font-size: .9rem; }
.co-input:focus { box-shadow: inset 0 0 0 1.5px var(--primary); }
.co-input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--error); }
.co-textarea { height: auto; padding-block: 12px; line-height: 1.8; resize: vertical; display: block; }
[dir="ltr"].co-input:placeholder-shown { text-align: right; direction: rtl; }

.co-error { color: var(--error); font-weight: 600; font-size: .92rem; }
.co-error:not(:empty) { margin-top: 16px; }
.co-demo {
  margin-top: 16px; padding: 8px 14px;
  border: 1.5px dashed var(--gold); border-radius: var(--r-sm);
  background: var(--butter);
  font-size: .9rem; text-align: center;
}

.co-actions { display: flex; justify-content: flex-start; gap: 10px; margin-top: 22px; }
.co-actions-side { margin-top: 0; }
.co-actions-side .btn { flex: 1 1 0; padding-inline: 10px; font-size: .92rem; }
.co-bar { display: none; }


.co-dialog {
  width: min(770px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: 35px;
  background: var(--paper); color: inherit;
  box-shadow: var(--shadow-lift);
}
.co-dialog::backdrop {     
  background: rgba(20, 30, 29, .28);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
}
.co-dialog form { position: relative; padding: 30px 30px 35px; }
.co-dialog-close {
  position: absolute; top: 13px; inset-inline-end: 12px;
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
}
.co-dialog-close:hover { background: var(--fog); }
.co-dialog-close svg, .co-dialog-close .bsh-ico { width: 20px; height: 20px; }
.co-dialog-title { font-weight: 800; font-size: 30px; line-height: 40px; color: var(--primary); }
.co-dialog-head p { margin-top: 6px; color: var(--steel); line-height: 28px; }
.co-fieldset { margin: 28px 0 0; padding: 0; border: 0; min-width: 0; }
.co-fieldset + .co-fieldset { margin-top: 45px; }
.co-fieldset legend { display: flex; align-items: center; gap: 10px; padding: 0; font-weight: 700; line-height: 30px; }
.co-fieldset legend svg, .co-fieldset legend .bsh-ico { width: 20px; height: 20px; color: var(--primary); }

.co-fieldset-body {
  margin-inline-start: 10px; padding-block-start: 8px; padding-inline-start: 19px;
  border-inline-start: 1px solid var(--primary);
}
.co-check { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; line-height: 30px; }
.co-check + .co-check { margin-top: 8px; }
.co-check input { margin-top: 6px; }
.co-check-main { margin-top: 22px; }
.co-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 30px; }
.co-form-stack { display: grid; gap: 25px; align-content: start; min-width: 0; }
#recipientFields { margin-top: 16px; }
.co-dialog .co-label { margin-bottom: 10px; font-weight: 500; font-size: 1rem; line-height: 22px; }
.co-dialog .co-input { height: 60px; padding-inline: 20px; }
.co-dialog .co-textarea { height: 180px; padding-block: 16px; }
.co-dialog input[dir="ltr"] { text-align: right; }
.co-dialog select.co-input {
  appearance: none; cursor: pointer;
  background: var(--porcelain) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.500 9.500l5.500 5.500 5.500-5.500' fill='none' stroke='%233E3F40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") left 16px center / 20px no-repeat;
}

@supports (appearance: base-select) {
  .co-dialog select.co-input, .co-dialog select.co-input::picker(select) { appearance: base-select; }
  .co-dialog select.co-input { display: flex; align-items: center; }
  .co-dialog select.co-input::picker-icon { display: none; }
  .co-dialog select.co-input::picker(select) {
    margin-block: 6px; padding: 6px; max-height: 280px; overflow-y: auto;
    border: 0; border-radius: var(--r-md);
    background: var(--porcelain); box-shadow: inset 0 0 0 1px var(--line), 0 12px 32px rgba(0,0,0,.12);
  }
  .co-dialog select.co-input option { padding: 10px 14px; border-radius: var(--r-sm); cursor: pointer; }
  .co-dialog select.co-input option::checkmark { display: none; }
  .co-dialog select.co-input option:hover, .co-dialog select.co-input option:focus-visible { background: var(--fog); outline: 0; }
  .co-dialog select.co-input option:checked { color: var(--primary); font-weight: 700; }
}
.co-map-col { min-width: 0; }
.co-map-wrap { position: relative; height: 223px; border-radius: var(--r-md); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: var(--fog); isolation: isolate; }
.co-map { position: absolute; inset: 0; }
.co-map-pin {
  position: absolute; left: 50%; top: 50%; z-index: 500;
  width: 36px; height: 36px; margin: -36px 0 0 -18px;
  color: var(--primary); pointer-events: none;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.35));
  --fill: #fff;
}
.co-map-search { display: flex; align-items: center; gap: 8px; height: 64px; margin-top: 10px; padding-inline: 20px 8px; border-radius: var(--r-md); background: var(--porcelain); box-shadow: inset 0 0 0 1px var(--line); }
.co-map-search:focus-within { box-shadow: inset 0 0 0 1.5px var(--primary); }
.co-map-search input { flex: 1; min-width: 0; padding: 0; border: 0; outline: 0; background: none; font-size: 16px; }
.co-map-search input::placeholder { color: var(--steel); opacity: 1; font-size: .9rem; }
.co-map-search button { width: 49px; height: 49px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; }
.co-map-search svg, .co-map-search .bsh-ico { width: 22px; height: 22px; }
.co-dialog-foot { display: grid; grid-template-columns: minmax(0, 1fr) 178px; gap: 15px; margin-top: 50px; }
.co-dialog-foot .btn { height: 60px; }
.co-delete { grid-column: 1 / -1; justify-self: start; color: var(--error); }


@media (max-width: 1180px) {
  .co-lines { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 980px) {
  .co-layout { grid-template-columns: minmax(0, 1fr); }
  .co-side { position: static; }
  
  .co-summary { order: 2; }
  .co-code { order: 1; }

  
  .co-layout-steps .co-actions:not(.co-actions-side) { display: none; }
  
  .co-layout-steps .co-actions-side { margin-top: 18px; }
  .co-layout-steps .co-actions-side .btn { height: 52px; font-size: .95rem; }
  .order-page:has(.co-bar) { padding-bottom: 80px; }
  .order-page:has(.co-bar) .toast { bottom: 90px; }
  .co-bar {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px;
    position: fixed; inset-inline: 0; bottom: 0; z-index: 30;
    min-height: 72px; padding: 10px var(--gutter);
    background: var(--paper); box-shadow: 0 -6px 24px -12px rgba(30, 35, 40, .35);
  }
  .co-bar .btn { height: 48px; padding-inline: 14px; font-size: .88rem; }
  .co-bar-total { display: grid; justify-items: center; line-height: 1.5; min-width: 0; }
  .co-bar-total span { font-size: .76rem; color: var(--steel); white-space: nowrap; }
  .co-bar-total strong { font-weight: 800; font-size: .98rem; white-space: nowrap; }
  .co-bar-total .toman { font-size: .7em; margin-inline-start: 2px; }
}

@media (max-width: 760px) {
  .co-grid { grid-template-columns: minmax(0, 1fr); }
  .co-form-grid { grid-template-columns: minmax(0, 1fr); }
  .co-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .co-item { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 8px 12px; }
  .co-item .cart-thumb { width: 64px; height: 64px; grid-row: span 2; }
  .co-item .cart-thumb img { width: 52px; height: 52px; }
  .co-item-name { grid-column: 2 / -1; }
  .co-item-qty { justify-self: start; }
  .co-item-price { min-width: 0; }
  
  .co-dialog {
    width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh;
    margin: 0; border-radius: 0; box-shadow: none; overflow: hidden;
    background: rgba(20, 30, 29, .28);
    -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  }
  .co-dialog[open] { display: flex; flex-direction: column; justify-content: flex-end; animation: co-fade .3s; }
  .co-dialog::backdrop { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .co-dialog form {
    flex: none; max-height: 88vh; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain;
    outline: 0;   
    border-radius: var(--r-xl) var(--r-xl) 0 0; background: var(--paper);
    box-shadow: 0 -12px 32px -12px rgba(6,72,68,.3);
    animation: co-sheet-up .4s var(--ease);
  }
  
  .co-dialog.is-closing { animation: co-fade-out .3s forwards; }
  .co-dialog.is-closing form { animation: co-sheet-down .4s var(--ease) forwards; }
  .co-dialog form { padding: 20px 15px 24px; }
  .co-dialog-title { font-size: 24px; line-height: 34px; }
  .co-dialog-foot { grid-template-columns: minmax(0, 1fr) 110px; gap: 10px; margin-top: 32px; }
}

@media (max-width: 520px) {
  
  .co-line-top { grid-template-columns: minmax(0, 1fr); }
  .co-line-thumb { aspect-ratio: auto; height: 172px; }
  .co-line-thumb img { width: auto; height: 148px; }
}

@keyframes co-sheet-up { from { transform: translateY(100%); } }
@keyframes co-sheet-down { to { transform: translateY(100%); } }
@keyframes co-fade { from { opacity: 0; } }
@keyframes co-fade-out { to { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .co-steps li, .co-opt, .co-tile span { transition: none; }
  .co-dialog[open], .co-dialog form, .co-dialog.is-closing, .co-dialog.is-closing form { transition: none; animation: none; }
}

/* ---- account.css ---- */


.account-page h2, .acc-order h3, .acc-addr h3 { white-space: normal; overflow: visible; }

.acc-page { padding-block: clamp(20px, 3vw, 36px) clamp(56px, 7vw, 96px); }
.acc-layout {
  display: grid; grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px; align-items: start;
}
.acc-muted { margin-top: 8px; font-size: .88rem; color: var(--steel); }
.acc-danger { color: var(--error); }
.acc-sub { margin-bottom: 12px; font-weight: 700; font-size: 1.05rem; line-height: 1.6; color: var(--graphite); }
.acc-sub small { font-weight: 500; color: var(--steel); }


.acc-side { position: sticky; top: 96px; display: grid; gap: 14px; }
.acc-user, .acc-nav {
  background: var(--paper); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.acc-user { display: flex; align-items: center; gap: 12px; padding: 16px; }
.acc-avatar {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary); color: #fff;
  font-weight: 800; font-size: 1.3rem;
}
.acc-avatar svg, .acc-avatar .bsh-ico { width: 26px; height: 26px; }
.acc-user-text { flex: 1; min-width: 0; display: grid; line-height: 1.6; }
.acc-user-text strong { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-user-phone { font-size: .9rem; color: var(--steel); justify-self: start; }
.acc-user-edit { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--primary); }
.acc-user-edit:hover { background: var(--sage); }
.acc-user-edit svg { width: 20px; height: 20px; }

.acc-nav { display: grid; padding: 8px; }
.acc-nav a, .acc-logout button {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  width: 100%; min-height: 50px; padding: 0 14px;
  border-radius: var(--r-md);
  font-weight: 600; text-align: start;
  transition: background-color .2s, color .2s;
}
.acc-nav svg, .acc-nav .bsh-ico { width: 21px; height: 21px; flex: none; color: var(--steel); transition: color .2s; }
.acc-nav a:hover, .acc-logout button:hover { background: var(--fog); }
.acc-nav a[aria-current="page"] { background: var(--sage); color: var(--primary); font-weight: 700; }
.acc-nav a[aria-current="page"] svg, .acc-nav a[aria-current="page"] .bsh-ico { color: var(--primary); }
.acc-nav a[aria-current="page"]::before {           
  content: ""; position: absolute; inset-inline-start: 0; top: 12px; bottom: 12px;
  width: 3px; border-radius: 3px; background: var(--primary);
}
.acc-nav-count {
  margin-inline-start: auto; min-width: 24px; padding: 0 7px;
  border-radius: 999px; background: var(--beige); color: var(--gold-ink);
  font-size: .78rem; font-weight: 700; line-height: 22px; text-align: center;
}
.acc-logout { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line); }
.acc-logout button { color: var(--error); }
.acc-logout button svg, .acc-logout button .bsh-ico { color: currentColor; }


.acc-head { margin-bottom: clamp(18px, 2.2vw, 26px); }
.acc-head .co-title bdi { font-weight: 800; }


.acc-alert {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap;
  margin-bottom: 18px; padding: 14px 18px;
  border-radius: var(--r-lg); background: var(--butter);
  box-shadow: inset 0 0 0 1px var(--beige);
  line-height: 1.8;
}
.acc-alert p { flex: 1 1 320px; }
.acc-alert strong { font-weight: 700; }
.acc-alert-quiet { display: block; margin-bottom: 22px; }

.acc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.acc-stat {
  display: flex; align-items: center; gap: 12px;
  padding: 16px;
  background: var(--paper); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .2s;
}
.acc-stat:hover { box-shadow: inset 0 0 0 1px var(--secondary); }
.acc-stat-icon { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: var(--primary); }
.acc-stat-icon svg, .acc-stat-icon .bsh-ico { width: 22px; height: 22px; }
.acc-stat > span:last-child { display: grid; line-height: 1.4; min-width: 0; }
.acc-stat b { font-weight: 800; font-size: 1.45rem; color: var(--primary); }
.acc-stat small { font-size: .86rem; color: var(--steel); white-space: nowrap; }

.acc-block { margin-top: clamp(24px, 3vw, 34px); }
.acc-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }

.acc-mini-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.acc-mini {
  display: flex; align-items: center; gap: 12px; padding: 10px;
  background: var(--paper); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .2s;
}
.acc-mini:hover { box-shadow: inset 0 0 0 1px var(--secondary); }
.acc-mini .cart-thumb { width: 64px; height: 64px; flex: none; }
.acc-mini .cart-thumb img { width: 52px; height: 52px; }
.acc-mini > span { display: grid; min-width: 0; line-height: 1.7; }
.acc-mini b { font-weight: 600; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-mini small { font-size: .86rem; color: var(--steel); }

.acc-help { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.acc-help a {
  display: flex; align-items: center; gap: 12px; padding: 16px;
  background: var(--paper); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .2s;
}
.acc-help a:hover { box-shadow: inset 0 0 0 1px var(--secondary); }
.acc-help svg, .acc-help .bsh-ico { width: 26px; height: 26px; flex: none; color: var(--primary); }
.acc-help span { display: grid; line-height: 1.7; }
.acc-help b { font-weight: 700; }
.acc-help small { font-size: .85rem; color: var(--steel); }


.acc-chip {
  display: inline-block; padding: 0 12px; border-radius: 999px;
  font-weight: 700; font-size: .8rem; line-height: 2; white-space: nowrap;
}
.acc-chip.is-processing { background: var(--butter); color: #6B5A33; box-shadow: inset 0 0 0 1px var(--beige); }
.acc-chip.is-shipped { background: var(--sky); color: var(--primary); }
.acc-chip.is-delivered { background: var(--primary); color: #fff; }
.acc-chip.is-returned { background: var(--fog); color: var(--graphite); box-shadow: inset 0 0 0 1px var(--line); }
.acc-chip.is-cancelled { background: #F7E9E7; color: var(--error); }


.acc-tabs {
  display: flex; gap: 8px; margin-bottom: 16px;
  overflow-x: auto; scrollbar-width: none;
}
.acc-tabs::-webkit-scrollbar { display: none; }
.acc-tabs a {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px; border-radius: 999px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 600; font-size: .94rem;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.acc-tabs a:hover { box-shadow: inset 0 0 0 1px var(--secondary); }
.acc-tabs a[aria-current="page"] { background: var(--primary); color: #fff; box-shadow: none; }
.acc-tab-count { min-width: 22px; padding: 0 6px; border-radius: 999px; background: var(--fog); color: var(--graphite); font-size: .76rem; font-weight: 700; line-height: 22px; text-align: center; }
.acc-tabs a[aria-current="page"] .acc-tab-count { background: rgba(255,255,255,.2); color: #fff; }


.acc-orders { display: grid; gap: 14px; }
.acc-order {
  padding: 18px 20px;
  background: var(--paper); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.acc-order-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; }
.acc-order-id { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.acc-order-id h3 { font-weight: 800; font-size: 1.05rem; line-height: 1.6; }
.acc-order-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .92rem; color: var(--primary); }
.acc-order-more svg, .acc-order-more .bsh-ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.acc-order-more:hover svg, .acc-order-more:hover .bsh-ico { transform: translateX(-3px); }
.acc-order-facts { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 12px 0 0; }
.acc-order-facts > div { display: flex; align-items: baseline; gap: 8px; }
.acc-order-facts dt { font-size: .86rem; color: var(--steel); }
.acc-order-facts dd { margin: 0; font-weight: 700; font-size: .95rem; }
.acc-order-news { margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .9rem; color: var(--steel); }
.acc-order-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.acc-order-thumbs li { position: relative; }
.acc-order-thumbs .cart-thumb { width: 64px; height: 64px; }
.acc-order-thumbs .cart-thumb img { width: 52px; height: 52px; }
.acc-thumb-qty {
  position: absolute; bottom: -4px; inset-inline-start: -4px;
  min-width: 22px; padding: 0 5px; border-radius: 999px;
  background: var(--graphite); color: #fff; box-shadow: 0 0 0 2px var(--paper);
  font-size: .72rem; font-weight: 700; line-height: 20px; text-align: center;
}
.acc-order .acc-track { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }


.acc-track {
  --dot: 30px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 0 24px; padding: 0; list-style: none;
}
.acc-track li { position: relative; display: grid; justify-items: center; gap: 2px; text-align: center; line-height: 1.6; color: var(--steel); }
.acc-track li + li::before {           
  content: ""; position: absolute; top: calc(var(--dot) / 2 - 1.5px);
  inset-inline-end: calc(50% + var(--dot) / 2 + 4px); inset-inline-start: calc(-50% + var(--dot) / 2 + 4px);
  height: 3px; border-radius: 3px; background: var(--line);
}
.acc-track li.is-done::before, .acc-track li.is-now::before { background: var(--primary); }
.acc-track-dot {
  width: var(--dot); height: var(--dot); margin-bottom: 6px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 2px var(--line);
}
.acc-track-dot svg, .acc-track-dot .bsh-ico { width: 16px; height: 16px; }
.acc-track li.is-done .acc-track-dot { background: var(--primary); color: #fff; box-shadow: none; }
.acc-track li.is-now .acc-track-dot { box-shadow: inset 0 0 0 2px var(--primary), 0 0 0 5px rgba(9,101,96,.14); }
.acc-track li.is-now .acc-track-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.acc-track-label { font-size: .86rem; font-weight: 600; }
.acc-track li.is-done .acc-track-label, .acc-track li.is-now .acc-track-label { color: var(--graphite); }
.acc-track li.is-now .acc-track-label { color: var(--primary); font-weight: 700; }
.acc-track small { font-size: .78rem; }


.acc-back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 14px; font-weight: 600; font-size: .92rem; color: var(--steel); }
.acc-back:hover { color: var(--primary); }
.acc-back svg, .acc-back .bsh-ico { width: 18px; height: 18px; transform: scaleX(-1); }
.acc-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.acc-detail-date { color: var(--steel); font-size: .94rem; }
.acc-detail-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.acc-detail-actions .btn svg, .acc-detail-actions .btn .bsh-ico { width: 18px; height: 18px; }
.acc-detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.acc-detail-sum { position: sticky; top: 96px; }
.acc-detail .co-items { margin-bottom: 26px; }
.acc-detail .co-facts { margin-bottom: 0; }
.acc-item-link:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.acc-ref { font-size: .86rem; overflow-wrap: anywhere; }
.acc-help-row {
  display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap;
  margin-top: 16px; padding: 14px 20px;
  border-radius: var(--r-lg); background: var(--fog);
  font-size: .92rem;
}
.acc-help-row p { color: var(--steel); }
.co-rows dt small { font-size: .8rem; color: var(--steel); }


.acc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(216px, 1fr)); gap: 16px; }
.acc-cards.is-empty { display: block; }
.acc-empty { grid-column: 1 / -1; }


.acc-addrs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.acc-addr {
  display: grid; gap: 6px; align-content: start;
  padding: 18px 20px;
  background: var(--paper); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
  line-height: 1.8;
}
.acc-addr.is-main { box-shadow: inset 0 0 0 1.5px var(--primary); }
.acc-addr h3 { font-weight: 700; font-size: 1rem; }
.acc-addr-actions { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.acc-addr-actions .co-edit { position: static; }
.acc-addr-actions .link { font-size: .88rem; }
.acc-addrs .co-note { grid-column: 1 / -1; }


.acc-form { display: grid; gap: 14px; }
.acc-panel {
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--paper); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.acc-panel .acc-sub { margin-bottom: 16px; }
.acc-panel .co-form-grid { gap: 18px 24px; }
.acc-panel .co-label small { font-weight: 400; color: var(--steel); }
.acc-panel input[dir="ltr"] { text-align: right; }
.acc-panel .co-field-msg:not(.is-error) { color: var(--steel); }
.acc-panel .co-check { line-height: 1.9; }
.acc-phone-row { display: flex; align-items: center; gap: 12px; }
.acc-phone { font-weight: 700; font-size: 1.15rem; }
.acc-form-actions { display: flex; justify-content: flex-start; }
.acc-form-actions .btn { min-width: 200px; }
#profileMsg:not(:empty) { margin-top: 0; }


.acc-confirm { width: min(460px, calc(100vw - 32px)); }
.acc-confirm .co-dialog-title { font-size: 24px; line-height: 34px; }
.acc-confirm-text { margin-top: 10px; color: var(--steel); line-height: 1.9; }
.acc-confirm .co-dialog-foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 28px; }
.acc-confirm .co-dialog-foot .btn { height: 52px; }


@media (max-width: 1180px) {
  .acc-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 22px; }
  .acc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acc-detail { grid-template-columns: minmax(0, 1fr); }
  .acc-detail-sum { position: static; }
  .acc-mini-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acc-mini-list .acc-mini:nth-child(3) { display: none; }
}


@media (max-width: 980px) {
  .acc-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .acc-side { position: static; gap: 10px; }
  .acc-user { padding: 12px 14px; }
  .acc-avatar { width: 44px; height: 44px; font-size: 1.1rem; }
  .acc-nav {
    display: flex; gap: 6px; padding: 0;
    background: none; box-shadow: none;
    overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  }
  .acc-nav::-webkit-scrollbar { display: none; }
  .acc-nav a, .acc-logout button {
    flex: none; width: auto; min-height: 44px; gap: 8px; padding: 0 14px;
    border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
    font-size: .92rem; white-space: nowrap;
  }
  .acc-nav svg, .acc-nav .bsh-ico { width: 18px; height: 18px; }
  .acc-nav a[aria-current="page"] { background: var(--primary); color: #fff; box-shadow: none; }
  .acc-nav a[aria-current="page"] svg, .acc-nav a[aria-current="page"] .bsh-ico { color: #fff; }
  .acc-nav a[aria-current="page"]::before { display: none; }
  .acc-nav a[aria-current="page"] .acc-nav-count { background: rgba(255,255,255,.22); color: #fff; }
  .acc-nav-count { margin-inline-start: 0; }
  .acc-logout { flex: none; margin: 0; padding: 0; border: 0; }
}

@media (max-width: 760px) {
  .acc-help { grid-template-columns: minmax(0, 1fr); }
  .acc-mini-list { grid-template-columns: minmax(0, 1fr); }
  .acc-mini-list .acc-mini:nth-child(3) { display: flex; }
  .acc-addrs { grid-template-columns: minmax(0, 1fr); }
  .acc-order { padding: 16px; }
  .acc-form-actions .btn { width: 100%; }

  
  .acc-track { grid-template-columns: minmax(0, 1fr); gap: 14px; --dot: 26px; }
  .acc-track li { grid-template-columns: var(--dot) minmax(0, 1fr) auto; justify-items: start; align-items: center; gap: 12px; text-align: start; }
  .acc-track-dot { margin: 0; }
  .acc-track li + li::before {
    top: auto; bottom: calc(100% - 2px); height: 18px; width: 3px;
    inset-inline-start: calc(var(--dot) / 2 - 1.5px); inset-inline-end: auto;
  }
}


@media (max-width: 560px) {
  .acc-stats { gap: 10px; }
  .acc-stat { padding: 12px; gap: 10px; }
  .acc-stat-icon { width: 38px; height: 38px; }
  .acc-stat-icon svg, .acc-stat-icon .bsh-ico { width: 19px; height: 19px; }
  .acc-stat b { font-size: 1.2rem; }
  .acc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .acc-cards .card { padding: 6px; border-radius: var(--r-md); }
  .acc-cards .card-media { border-radius: var(--r-sm); }
  .acc-cards .wish { width: 32px; height: 32px; top: 6px; inset-inline-end: 6px; }
  .acc-cards .wish svg, .acc-cards .wish .bsh-ico { width: 16px; height: 16px; }
  .acc-detail-actions { width: 100%; }
  .acc-detail-actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .acc-nav a, .acc-stat, .acc-mini, .acc-help a, .acc-tabs a, .acc-order-more svg, .acc-order-more .bsh-ico { transition: none; }
}


@media print {
  .topbar, .header, .footer, .acc-side, .acc-back, .acc-detail-actions, .acc-help-row, .toast, .cart, .drawer, .skip { display: none !important; }
  body { background: #fff; }
  .acc-layout, .acc-detail { display: block; }
  .acc-detail-sum { margin-top: 20px; box-shadow: inset 0 0 0 1px var(--line); }
  .acc-track { break-inside: avoid; }
  .co-item, .co-facts > div { break-inside: avoid; }
}

/* ---- product.css ---- */



.pd-top {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
  margin-top: 16px;
}
.pd-gallery { min-width: 0; }


.pd-stage {
  position: relative;
  aspect-ratio: 1 / 1; max-height: 560px; width: 100%;
  border-radius: var(--r-xl);
  background: radial-gradient(70% 60% at 50% 45%, #F7F8F5, var(--butter));
  overflow: hidden;
}
.pd-stage .wish { top: 18px; inset-inline-end: 18px; background: var(--paper); }
.pd-stage .energy { inset-inline-start: 18px; bottom: 18px; }


.pd-photo, .pd-thumbs img {
  object-fit: contain;
  transform: scale(var(--s, 1)) translate(calc(50% - var(--x, 50%)), calc(50% - var(--y, 50%)));
}
.pd-photo {
  position: absolute; inset: 9%;
  width: 82%; height: 82%;
  filter: var(--photo-shadow);
  transition: transform .35s var(--ease);
}

.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; padding: 3px; overflow-x: auto; scrollbar-width: none; }
.pd-thumbs::-webkit-scrollbar { display: none; }
.pd-thumbs button {
  flex: none; width: 76px; height: 76px; padding: 8px;
  border-radius: var(--r-md); overflow: hidden;
  background: var(--butter);
  transition: box-shadow .2s;
}
.pd-thumbs img { width: 100%; height: 100%; }
.pd-thumbs button:hover { box-shadow: inset 0 0 0 1.5px var(--secondary); }
.pd-thumbs button[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--primary); }


.pd-info { min-width: 0; padding-top: 8px; }
.pd-title {
  font-weight: 800;
  font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2.05rem);
  line-height: 1.45;
  color: var(--primary);
}
.pd-specs { flex-wrap: wrap; margin-top: 14px; overflow: visible; }
.pd-specs li { font-size: .84rem; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }


.pd-step { padding: 0; font-size: .95rem; color: var(--steel); }
.pd-step strong { font-weight: 800; color: var(--graphite); }


.colors { margin: 24px 0 0; padding: 0; border: 0; min-width: 0; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.swatch {
  position: relative;
  display: grid; justify-items: center; gap: 8px;
  width: 92px; padding-top: 6px;
  cursor: pointer;
  text-align: center;
}
.swatch-tile {
  --finish: #3C4556; --panel: #333B4A; --ring: #111418;
  position: relative;
  width: 54px; height: 66px;
  border-radius: 7px;
  background: var(--finish);
  box-shadow: inset 0 0 0 1px rgba(30,35,40,.2);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.swatch-tile::before {          
  content: ""; position: absolute; inset: 3px 3px auto;
  height: 11px; border-radius: 4px 4px 2px 2px;
  background: var(--panel);
}
.swatch-tile::after {           
  content: ""; position: absolute; left: 50%; top: 21px;
  width: 36px; height: 36px; border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 42% 38%, #8F979E, #2C3238 62%);
  box-shadow: 0 0 0 3px var(--ring);
}
.tile-white { --finish: #FBFBF9; --panel: #1E2124; --ring: #1E2124; }
.tile-silver { --finish: #C5C9CC; --panel: #A5AAAE; --ring: #5E6468; }
.swatch:hover .swatch-tile { transform: translateY(-2px); }
.swatch input:checked + .swatch-tile {
  box-shadow: inset 0 0 0 1px rgba(30,35,40,.2), 0 0 0 3px var(--porcelain), 0 0 0 5.5px var(--primary);
}
.swatch input:focus-visible + .swatch-tile { outline: 2.5px solid var(--accent); outline-offset: 8px; }
.swatch-name { font-size: .86rem; line-height: 1.5; }
.swatch input:checked ~ .swatch-name { font-weight: 700; color: var(--primary); }
.swatch-name small { display: block; font-size: .78rem; color: var(--steel); }
.swatch.is-out { cursor: not-allowed; }
.swatch.is-out .swatch-tile { opacity: .45; transform: none; }
.swatch.is-out .swatch-name { color: var(--steel); }


.pd-qty { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: 22px; }
.pd-qty .qty { margin: 0; }
.pd-qty .qty button { width: 42px; height: 42px; }
.pd-qty .qty button:disabled { opacity: .35; cursor: default; background: none; }
.pd-qty .qty svg, .pd-qty .qty .bsh-ico { width: 16px; height: 16px; }
.pd-qty .qty span { min-width: 30px; font-size: 1rem; }


.pd-buy {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px;
  margin-top: 22px; padding: 16px 22px;
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pd-price { display: grid; justify-items: start; }
.pd-price-label { font-size: .88rem; font-weight: 600; color: var(--primary); }
.pd-price .price-was { grid-row: auto; }        
.pd-price .price-was[hidden] { display: none; }
.pd-price strong { font-weight: 800; font-size: 1.55rem; line-height: 1.5; white-space: nowrap; }
.pd-price s { font-size: .88rem; color: var(--steel); }
.pd-unit { font-size: .82rem; color: var(--steel); }
.pd-add { flex: 1 1 200px; height: 54px; max-width: 300px; }
.pd-add svg, .pd-add .bsh-ico { width: 20px; height: 20px; flex: none; }
.pd-add.is-added { background: var(--secondary); }
.pd-add.is-added:hover { background: var(--secondary-hover); }

.pd-perks { margin-top: clamp(24px, 3vw, 36px); }
.pd-related { margin-top: clamp(48px, 6vw, 72px); }


.pd-tabs-wrap { margin-top: clamp(48px, 6vw, 72px); }
.pd-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.pd-tabs::-webkit-scrollbar { display: none; }
.pd-tabs [role="tab"] {
  position: relative; flex: none;
  padding: 12px 20px;
  font-weight: 600; font-size: 1.02rem; color: var(--steel);
  transition: color .2s;
}
.pd-tabs [role="tab"]:hover { color: var(--graphite); }
.pd-tabs [role="tab"]:focus-visible { outline-offset: -3px; }
.pd-tabs [role="tab"]::after {       
  content: ""; position: absolute; inset-inline: 12px; bottom: 0;
  height: 3px; border-radius: 2px;
  background: var(--beige);
  transform: scaleX(0); transition: transform .3s var(--ease);
}
.pd-tabs [aria-selected="true"] { color: var(--primary); font-weight: 800; }
.pd-tabs [aria-selected="true"]::after { transform: scaleX(1); }
.pd-panel { padding-top: clamp(20px, 3vw, 32px); }
.pd-panel:focus-visible { outline-offset: 4px; }

.pd-desc { max-width: 68ch; }
.pd-desc h3 { margin-top: 22px; font-size: 1.08rem; font-weight: 800; line-height: 1.6; color: var(--primary); }
.pd-desc p:not(.lead) { margin-top: 6px; color: #4B4D4C; }

.pd-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(32px, 6vw, 88px); align-items: start; }
.pd-feats h3 { margin-top: 24px; font-size: 1rem; font-weight: 800; line-height: 1.6; }
.pd-feats h3:first-child { margin-top: 0; }
.pd-feats dl { margin: 6px 0 0; }
.pd-feats dl > div {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  font-size: .94rem; line-height: 1.7;
}
.pd-feats dt { color: var(--steel); }
.pd-feats dd { margin: 0; font-weight: 600; }


.pd-reviews { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.review { padding-block: 18px; border-bottom: 1px solid var(--line); }
.review:first-child { padding-top: 0; }
.review header { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; font-size: .86rem; color: var(--steel); }
.review header strong { font-size: .98rem; font-weight: 700; color: var(--graphite); }
.verdict { padding: 0 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; line-height: 1.9; }
.verdict.is-yes { background: var(--sky); color: var(--primary); }
.verdict.is-mid { background: var(--fog); color: #454746; }
.buyer { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; color: var(--primary); }
.buyer svg, .buyer .bsh-ico { width: 14px; height: 14px; }
.review h3 { margin-top: 8px; font-size: 1rem; font-weight: 800; line-height: 1.6; }
.review p { font-size: .95rem; color: #4B4D4C; }

.review-form {
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}
.review-form h3 { font-size: 1.08rem; font-weight: 800; line-height: 1.6; }
.review-form fieldset { display: grid; gap: 4px; margin: 12px 0 0; padding: 0; border: 0; }
.review-form legend { margin-bottom: 4px; padding: 0; font-size: .92rem; font-weight: 600; }
.review-form fieldset label { display: flex; align-items: center; gap: 8px; font-size: .92rem; cursor: pointer; }
.review-form input[type="radio"] { width: 18px; height: 18px; margin: 0; accent-color: var(--primary); }
.review-field { display: block; margin: 14px 0 6px; font-size: .92rem; font-weight: 600; }
.review-form input[type="text"], .review-form textarea {
  display: block; width: 100%; padding: 10px 14px;
  border: 0; border-radius: var(--r-sm); outline: 0;
  background: var(--porcelain);
  box-shadow: inset 0 0 0 1px var(--line);
  font: inherit; color: inherit; resize: vertical;
}
.review-form input[type="text"]:focus, .review-form textarea:focus { box-shadow: inset 0 0 0 1.5px var(--primary); }
.review-msg { font-size: .88rem; font-weight: 600; line-height: 1.7; }
.review-msg:not(:empty) { margin-top: 10px; }
.review-msg.is-error { color: #B3261E; }
.review-msg.is-demo { color: var(--gold-ink); }
.review-form .btn { margin-top: 14px; }


.pd-bar { display: none; }


@media (max-width: 1180px) {
  .pd-reviews { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 960px) {
  .pd-top, .pd-feats { grid-template-columns: minmax(0, 1fr); }
  .pd-stage { aspect-ratio: 5 / 4; max-height: 520px; }
  .pd-info { padding-top: 0; }

  .product-page { padding-bottom: 76px; }       
  .product-page .toast { bottom: 90px; }
  .pd-bar {
    display: block;
    position: fixed; inset-inline: 0; bottom: 0; z-index: 30;
    padding: 10px var(--gutter);
    background: var(--paper);
    box-shadow: 0 -1px 0 var(--line), 0 -10px 24px -16px rgba(6,72,68,.35);
    visibility: hidden; transform: translateY(100%);
    transition: transform .3s var(--ease), visibility 0s linear .3s;
  }
  .pd-bar.is-show {
    visibility: visible; transform: none;
    transition: transform .3s var(--ease), visibility 0s;
  }
  .pd-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .pd-bar-price { display: grid; min-width: 0; line-height: 1.5; }
  .pd-bar-price span { font-size: .8rem; color: var(--steel); }
  .pd-bar-price .toman { font-size: .72em; }
  .pd-bar-price strong { font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
  .pd-bar .pd-add { flex: 0 0 auto; height: 48px; padding-inline: 20px; }
}

@media (max-width: 760px) {
  .crumbs { font-size: .82rem; }
  .pd-stage { aspect-ratio: 1 / 1; border-radius: var(--r-lg); }
  .pd-stage .wish { top: 12px; inset-inline-end: 12px; }
  .pd-stage .energy { inset-inline-start: 12px; bottom: 12px; }
  .pd-thumbs button { width: 64px; height: 64px; }
  .pd-buy .pd-add { max-width: none; flex-basis: 100%; }
}

/* ---- products.css ---- */


.pl-head { margin-top: 16px; }
.pl-title {
  font-weight: 800;
  font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2.05rem);
  line-height: 1.45;
  color: var(--primary);
}
.pl-title:focus { outline: 0; }

.pl {
  display: grid; grid-template-columns: 284px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
  margin-top: 24px;
}


.filters { position: sticky; top: 92px; }          
.filters-panel {
  max-height: calc(100vh - 108px); overflow-y: auto; overscroll-behavior: contain;
  padding: 4px 20px 8px;
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.filters-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--line);
}
.filters-title { font-weight: 800; font-size: 1.08rem; line-height: 1.6; }
.filters-clear { font-size: .86rem; font-weight: 600; color: var(--primary); }
.filters-clear:hover { text-decoration: underline; text-underline-offset: 3px; }
.filters-clear[hidden] { display: none; }
.filters-close, .filters-foot { display: none; }


.f-switches { display: grid; padding: 8px 0; border-bottom: 1px solid var(--line); }
.f-switch {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 42px; font-size: .92rem; font-weight: 600; cursor: pointer;
}
.f-switch input {
  appearance: none; flex: none; position: relative;
  width: 40px; height: 24px; margin: 0;
  border-radius: 999px; background: var(--line);
  cursor: pointer; transition: background-color .2s;
}
.f-switch input::before {
  content: ""; position: absolute; top: 3px; inset-inline-start: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(30,35,40,.25);
  transition: inset-inline-start .2s var(--ease);
}
.f-switch input:checked { background: var(--primary); }
.f-switch input:checked::before { inset-inline-start: 19px; }
.f-switch input:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; }


.f-group { border-bottom: 1px solid var(--line); }
.f-group:last-child { border-bottom: 0; }
.f-group > summary {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 0;
  font-weight: 700; font-size: .98rem;
  list-style: none; cursor: pointer;
}
.f-group > summary::-webkit-details-marker { display: none; }
.f-group > summary::after {          
  content: ""; width: 8px; height: 8px; margin-inline: auto 4px;
  border-inline-start: 2px solid var(--steel); border-bottom: 2px solid var(--steel);
  transform: rotate(-45deg) translateY(-2px); transition: transform .25s var(--ease);
}
.f-group[open] > summary::after { transform: rotate(135deg); }

.f-n:not(:empty) {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--sky); color: var(--primary);
  font-size: .74rem; font-weight: 800; line-height: 1;
}

.f-group fieldset { display: grid; gap: 2px; margin: -4px 0 12px; padding: 0; border: 0; min-width: 0; }
.f-opt {
  display: flex; align-items: center; gap: 10px;
  min-height: 38px; margin-inline: -8px; padding-inline: 8px;
  border-radius: var(--r-sm);
  font-size: .92rem; cursor: pointer;
  transition: background-color .15s;
}
.f-opt:hover { background: var(--porcelain); }
.f-opt input {
  appearance: none; flex: none;
  width: 18px; height: 18px; margin: 0;
  border-radius: 5px; background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--steel);
  cursor: inherit; transition: box-shadow .15s, background-color .15s;
}
.f-opt input:checked {
  box-shadow: none;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.500l4.500 4.500L19 7.500' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.f-opt input:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.f-opt input:checked ~ .f-label { font-weight: 700; color: var(--primary); }
.f-label { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; line-height: 1.6; }
.f-count { font-size: .78rem; color: var(--steel); }
.f-opt.is-empty { cursor: default; color: var(--steel); }
.f-opt.is-empty:hover { background: none; }
.f-opt.is-empty input { box-shadow: inset 0 0 0 1.5px var(--line); }
.f-opt.is-empty .f-energy, .f-opt.is-empty .f-swatch { opacity: .4; }


.f-energy {
  display: inline-flex; align-items: center;
  height: 22px; padding: 0 14px 0 9px;
  font-size: .8rem; font-weight: 800; color: #fff;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%);
  border-radius: 4px 0 0 4px;
}
.f-swatch { flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(30,35,40,.22); }
.sw-white { background: #FBFBF9; }
.sw-steel { background: linear-gradient(135deg, #EEF0F1, #A8ADB1); }
.sw-black { background: #1E2124; }
.sw-dark { background: #4A515C; }


.f-price { padding: 0 0 18px; }
.f-range { --from: 0%; --to: 100%; position: relative; height: 28px; }
.f-rail {
  position: absolute; top: 12px; inset-inline: 11px;        
  height: 4px; border-radius: 2px; background: var(--line);
}
.f-fill {
  position: absolute; top: 0; bottom: 0;
  inset-inline-start: var(--from); inset-inline-end: calc(100% - var(--to));
  border-radius: inherit; background: var(--primary);
}
.f-range input {
  appearance: none; -webkit-appearance: none;
  position: absolute; inset: 0; width: 100%; height: 28px; margin: 0;
  background: none; pointer-events: none;
}
.f-range input:focus-visible { outline: 0; }
.f-range input::-webkit-slider-runnable-track { height: 28px; background: none; }
.f-range input::-moz-range-track { background: none; }
.f-range input::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: auto;
  width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 2px var(--primary), 0 2px 6px rgba(6,72,68,.25);
  cursor: grab; transition: box-shadow .15s;
}
.f-range input::-moz-range-thumb {
  pointer-events: auto;
  width: 22px; height: 22px; border: 0; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 2px var(--primary), 0 2px 6px rgba(6,72,68,.25);
  cursor: grab;
}
.f-range input:active::-webkit-slider-thumb { cursor: grabbing; }
.f-range input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--primary), 0 0 0 7px rgba(9,101,96,.22); }
.f-range input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 2px var(--primary), 0 0 0 7px rgba(9,101,96,.22); }
.f-price-out { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: .84rem; color: var(--steel); }
.f-price-out strong { font-weight: 700; color: var(--graphite); }


.pl-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; min-height: 46px; }
.pl-count { margin-inline-end: auto; font-size: .95rem; color: var(--steel); }
.pl-count strong { font-weight: 800; color: var(--graphite); }
.pl-sort { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--steel); }
.pl-sort select {
  appearance: none;
  height: 42px; padding-inline: 16px 38px;
  border: 0; border-radius: 999px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 9.5l5.5 5.5 5.5-5.5' fill='none' stroke='%23686B69' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") left 12px center / 16px no-repeat;
  box-shadow: inset 0 0 0 1px var(--line);
  font: inherit; font-weight: 600; color: var(--graphite);
  cursor: pointer;
}
.pl-sort select:hover { box-shadow: inset 0 0 0 1px var(--secondary); }
.pl-filter-btn, .pl-sort-btn, .sort-sheet { display: none; }
.pl-filter-btn svg, .pl-filter-btn .bsh-ico { width: 18px; height: 18px; }
.pl-badge {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--primary); color: #fff;
  font-size: .74rem; font-weight: 800; line-height: 1;
}
.pl-badge[hidden] { display: none; }
.pl-dock { display: none; }


.pl-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.pl-chips:empty { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding-inline: 14px 10px;
  border-radius: 999px;
  background: var(--sky); color: var(--primary);
  font-size: .86rem; font-weight: 600;
  transition: box-shadow .15s;
}
.chip svg, .chip .bsh-ico { width: 14px; height: 14px; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--primary); }
.chip-clear { padding: 0 6px; font-size: .86rem; font-weight: 600; color: var(--steel); }
.chip-clear:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }


.pl-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.pl-grid[hidden] { display: none; }
.card.is-out .art { opacity: .45; filter: grayscale(.6); }
.card.is-out .price strong { color: var(--steel); }

.pl-empty {
  display: grid; justify-items: center; gap: 6px;
  margin-top: 16px; padding: clamp(40px, 7vw, 72px) 20px;
  border-radius: var(--r-lg);
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  text-align: center; color: var(--steel);
}
.pl-empty[hidden] { display: none; }
.pl-empty .h3 { color: var(--graphite); }
.pl-empty .btn { margin-top: 14px; }

.pl-more { display: grid; justify-items: center; gap: 10px; margin-top: 36px; }
.pl-more[hidden] { display: none; }
.pl-more p { font-size: .88rem; color: var(--steel); }
.pl-progress { width: 180px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.pl-progress span { display: block; height: 100%; border-radius: inherit; background: var(--primary); }
.pl-more .btn { margin-top: 6px; }
.pl-more .btn svg, .pl-more .btn .bsh-ico { width: 18px; height: 18px; }


@media (max-width: 960px) {
  .pl { grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
  .pl-filter-btn, .pl-sort-btn { display: inline-flex; }
  .pl-sort { display: none; }
  .pl-sort-btn svg, .pl-sort-btn .bsh-ico { width: 18px; height: 18px; }
  .pl-count { order: 3; flex-basis: 100%; margin: 0; }

  .filters, .sort-sheet {
    display: block;
    position: fixed; inset: 0; z-index: 60;
    background: rgba(20, 30, 29, .28);
    -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
    opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .filters.is-open, .sort-sheet.is-open { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }   
  
  .filters-panel, .sheet-panel {
    position: absolute; inset-inline: 0; bottom: 0;
    max-height: 88vh; max-height: 88dvh;
    display: flex; flex-direction: column;
    padding: 0; overflow: hidden;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    box-shadow: 0 -12px 32px -12px rgba(6,72,68,.3);
    transform: translateY(100%);
    transition: transform .4s var(--ease);
  }
  .filters.is-open .filters-panel, .sort-sheet.is-open .sheet-panel { transform: none; }
  .sheet-panel { background: var(--paper); }

  
  .sort-list { display: grid; padding: 6px 12px 16px; }
  .sort-opt {
    position: relative;
    display: flex; align-items: center; gap: 12px;
    min-height: 52px; padding-inline: 8px;
    border-radius: var(--r-sm);
    font-size: .98rem; cursor: pointer;
  }
  .sort-opt span { flex: 1; }
  .sort-opt svg, .sort-opt .bsh-ico { display: none; flex: none; width: 20px; height: 20px; color: var(--primary); }
  .sort-opt input { appearance: none; position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
  .sort-opt:has(input:checked) { font-weight: 800; color: var(--primary); }
  .sort-opt:has(input:checked) svg, .sort-opt:has(input:checked) .bsh-ico { display: block; }
  .sort-opt:has(input:focus-visible) { outline: 2.5px solid var(--accent); outline-offset: -2.5px; }
  .filters-head { padding: 12px 20px; }
  .filters-head .filters-clear { display: none; }
  .filters-close { display: grid; }
  .filters-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 20px; }   
  .filters-foot {
    display: flex; gap: 10px;
    padding: 12px 20px 16px;
    border-top: 1px solid var(--line);
  }
  .filters-foot .btn { flex: 1; }
  .filters-foot .btn-dark { flex: 2; }
  .filters-foot [hidden] { display: none; }
  .f-opt { min-height: 44px; }                        

  
  .pl-dock {
    display: flex; gap: 10px;
    position: fixed; inset-inline: 0; bottom: 0; z-index: 30;
    padding: 10px var(--gutter);
    background: var(--paper);
    box-shadow: 0 -1px 0 var(--line), 0 -10px 24px -16px rgba(6,72,68,.35);
    visibility: hidden; transform: translateY(100%);
    transition: transform .3s var(--ease), visibility 0s linear .3s;
  }
  .pl-dock.is-show {
    visibility: visible; transform: none;
    transition: transform .3s var(--ease), visibility 0s;
  }
  .pl-dock-btn, .pl-dock-sort { flex: 1 1 50%; min-width: 0; height: 46px; }   
  .pl-dock-btn, .pl-dock-sort {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 999px;
    background: var(--primary); color: #fff;
    font-weight: 700; font-size: .95rem;
    transition: background-color .2s;
  }
  .pl-dock-btn:hover { background: var(--primary-hover); }
  .pl-dock-btn svg, .pl-dock-sort svg, .pl-dock-btn .bsh-ico, .pl-dock-sort .bsh-ico { width: 18px; height: 18px; flex: none; }
  .pl-dock-btn .pl-badge { background: #fff; color: var(--primary); }
  
  .pl-dock-sort { padding-inline: 12px; background: var(--paper); color: var(--primary); box-shadow: inset 0 0 0 1.5px rgba(9,101,96,.28); }
  .pl-dock-sort:hover { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--primary); }
  .pl-dock-sort span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  
  .products-page { padding-bottom: 66px; }
  .products-page.dock-on .toast { bottom: 82px; }
}


@media (max-width: 560px) {
  .pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pl-grid .card { padding: 6px; border-radius: var(--r-md); }
  .pl-grid .card-media { border-radius: var(--r-sm); }
  .pl-grid .wish { width: 32px; height: 32px; top: 6px; inset-inline-end: 6px; }
  .pl-grid .wish svg, .pl-grid .wish .bsh-ico { width: 16px; height: 16px; }
  .pl-grid .badges { top: 6px; inset-inline-start: 6px; }
  .pl-grid .badge { font-size: .68rem; padding: 0 8px; }
  .pl-grid .energy { inset-inline-start: 6px; bottom: 6px; height: 19px; font-size: .7rem; }
  .pl-grid .card-body { padding: 10px 4px 2px; }
  .pl-grid .card-title { font-size: .86rem; }
  .pl-grid .specs li:nth-child(n+2) { display: none; }
  .pl-grid .buy { gap: 8px; padding-top: 10px; }
  .pl-grid .price strong { font-size: .92rem; }
  .pl-grid .price-was s { font-size: .7rem; }
  .pl-grid .add { height: 38px; font-size: .84rem; }
  .pl-grid .add svg, .pl-grid .add .bsh-ico { width: 16px; height: 16px; }
}
@media (max-width: 380px) {
  .pl-grid .add:not(:disabled) span { display: none; }   
}

/* ---- about.css ---- */



.ab-intro {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  margin-top: 12px;
}
.ab-title {
  font-weight: 800;
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.3rem);
  line-height: 1.3;
  color: var(--primary);
  text-wrap: balance;
}
.ab-copy .lead { margin-top: 20px; max-width: 58ch; }
.ab-copy > p:not(.lead) { margin-top: 12px; color: #4B4D4C; max-width: 60ch; }
.ab-copy .btn { margin-top: 26px; }

.ab-facts { margin-top: clamp(24px, 3vw, 40px); }


.ab-services { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(20px, 3vw, 32px) 0 0; }


@media (max-width: 1100px) {
  .ab-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .ab-intro { grid-template-columns: minmax(0, 1fr); }
  .ab-intro { margin-top: 8px; }
  .ab-img { max-width: 520px; }
}

@media (max-width: 760px) {
  .ab-services { grid-template-columns: minmax(0, 1fr); }
}

/* ---- contact.css ---- */



.ct-intro {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-top: 12px;
}
.ct-title {
  font-weight: 800;
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.3rem);
  line-height: 1.3;
  color: var(--primary);
}
.ct-intro .lead { margin-top: 8px; max-width: 72ch; }
.ct-intro .btn { flex: none; }


.ct-board {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  margin-top: clamp(20px, 3vw, 32px);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--primary-deep);
  box-shadow: 0 30px 60px -36px rgba(6, 72, 68, .7);
}
.ct-panel {
  container-type: inline-size;
  padding: clamp(24px, 3.4vw, 44px);
  color: #fff;
}
.ct-phone-label { font-size: .95rem; color: #C9DCD6; }

.ct-phone {
  display: inline-block;
  font-weight: 900;
  font-size: clamp(1.7rem, 12.2cqi, 3.1rem);
  line-height: 1.3;
  white-space: nowrap;
  color: var(--beige);
  transition: color .2s;
}
.ct-phone:hover { color: #fff; }
.ct-panel :focus-visible { outline-color: #fff; }

.ct-detail {
  display: flex; gap: 14px;
  margin-top: 24px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.ct-detail svg, .ct-detail .bsh-ico { flex: none; width: 26px; height: 26px; margin-top: 2px; color: var(--beige); }
.ct-detail > div { flex: 1; min-width: 0; }
.ct-detail h2 { font-size: 1rem; font-weight: 800; line-height: 1.7; }
.ct-detail address { font-style: normal; color: #DCE8E4; }

.ct-hours { margin: 4px 0 0; }
.ct-hours > div { display: flex; justify-content: space-between; gap: 16px; color: #DCE8E4; }
.ct-hours dd { margin: 0; flex: none; font-weight: 600; color: #fff; }


.ct-map { position: relative; min-height: 460px; background: var(--sage); }
.ct-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ct-routes {
  position: absolute; inset-inline-end: 14px; top: 14px;
  display: flex; align-items: center; gap: 4px;
  padding: 5px; padding-inline-start: 14px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--shadow-lift);
  font-size: .9rem;
}
.ct-routes span { color: var(--steel); margin-inline-end: 6px; white-space: nowrap; }
.ct-routes a {
  padding: 3px 12px;
  border-radius: 999px;
  font-weight: 700; color: var(--primary); white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.ct-routes a:hover { background: var(--primary); color: #fff; }


.ct-reach {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-top: clamp(32px, 4vw, 48px);
}
.ct-depts .h3, .ct-form .h3 { color: var(--primary); }
.ct-depts > p { margin-top: 4px; font-size: .92rem; color: var(--steel); }
.ct-depts ul { margin-top: 12px; }
.ct-depts li + li { border-top: 1px solid var(--line); }
.ct-depts a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0;
  font-size: .86rem; line-height: 1.7; color: var(--steel);
}
.ct-depts strong { display: block; font-size: 1rem; font-weight: 800; color: var(--graphite); transition: color .2s; }
.ct-depts a:hover strong { color: var(--primary); }
.ct-ext {
  flex: none;
  font-size: .95rem; font-weight: 800; color: var(--primary);
}

.ct-form {
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: var(--r-lg);
  background: var(--paper);
  scroll-margin-top: 96px;
}
.ct-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.ct-form label { display: block; margin: 14px 0 6px; font-size: .92rem; font-weight: 600; }
.ct-form input, .ct-form textarea {
  display: block; width: 100%; padding: 10px 14px;
  border: 0; border-radius: var(--r-sm); outline: 0;
  background: var(--porcelain);
  box-shadow: inset 0 0 0 1px var(--line);
  font: inherit; color: inherit; resize: vertical;
}
.ct-form input::placeholder { color: var(--steel); }
.ct-form input[dir="ltr"] { text-align: right; }
.ct-form input:focus, .ct-form textarea:focus { box-shadow: inset 0 0 0 1.5px var(--primary); }
.ct-form [aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #B3261E; }
.ct-msg { font-size: .88rem; font-weight: 600; line-height: 1.7; }
.ct-msg:not(:empty) { margin-top: 10px; }
.ct-msg.is-error { color: #B3261E; }
.ct-msg.is-demo { color: var(--gold-ink); }
.ct-form .btn { margin-top: 14px; }


.ct-faq { scroll-margin-top: 96px; }
.ct-topic {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 8px clamp(24px, 4vw, 56px);
  padding-block: clamp(18px, 2.4vw, 28px);
  border-bottom: 1px solid var(--line);
}
.ct-faq > .h2 + .ct-topic { margin-top: clamp(8px, 1.5vw, 16px); }
.ct-topic .h3 { padding-block: 10px; font-size: 1.1rem; color: var(--graphite); }

.ct-topic summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 12px;
  font-weight: 700;
  list-style: none; cursor: pointer;
  transition: color .2s;
}
.ct-topic summary::-webkit-details-marker { display: none; }
.ct-topic summary:hover, .ct-topic details[open] > summary { color: var(--primary); }
.ct-topic summary svg, .ct-topic summary .bsh-ico { flex: none; width: 20px; height: 20px; transition: transform .25s var(--ease); }
.ct-topic details[open] > summary svg, .ct-topic details[open] > summary .bsh-ico { transform: rotate(180deg); }
.ct-topic details p { padding-bottom: 14px; max-width: 68ch; color: #4B4D4C; }
.ct-topic details a, .ct-faq-end a { font-weight: 700; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.ct-topic details a:hover, .ct-faq-end a:hover { color: var(--primary-hover); }

.ct-faq-end { margin-top: clamp(20px, 3vw, 32px); }


@media (prefers-reduced-motion: no-preference) {
  .ct-topic details { interpolate-size: allow-keywords; }
  .ct-topic details::details-content {
    height: 0; overflow: clip;
    transition: height .25s var(--ease), content-visibility .25s allow-discrete;
  }
  .ct-topic details[open]::details-content { height: auto; }
}


@media (max-width: 960px) {
  .ct-board, .ct-reach { grid-template-columns: minmax(0, 1fr); }
  .ct-map { min-height: 380px; }
  .ct-phone { font-size: clamp(1.7rem, 10cqi, 3.1rem); }
}

@media (max-width: 760px) {
  .ct-faq, .ct-form { scroll-margin-top: 136px; }   
  .ct-intro { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ct-form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ct-topic { grid-template-columns: minmax(0, 1fr); }
  .ct-topic .h3 { padding-block: 0; }
  
  .ct-map { display: flex; flex-direction: column; min-height: 340px; }
  .ct-map iframe { position: static; flex: 1; min-height: 300px; height: auto; }
  .ct-routes {
    position: static;
    flex-wrap: wrap; justify-content: center;
    padding: 10px 8px;
    border-radius: 0; box-shadow: none;
  }
}

/* ---- terms.css ---- */



.tr-intro { margin-top: 12px; }
.tr-title {
  font-weight: 800;
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.3rem);
  line-height: 1.3;
  color: var(--primary);
}
.tr-intro .lead { margin-top: 8px; max-width: 72ch; }
.tr-intro .lead a { font-weight: 700; color: var(--primary); white-space: nowrap; }
.tr-updated { margin-top: 8px; font-size: .88rem; color: var(--steel); }

.tr-facts { margin-top: clamp(20px, 3vw, 32px); }


.tr-layout {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-top: clamp(32px, 4vw, 56px);
}

.tr-toc {
  position: sticky; top: 104px;
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--paper);
}
.tr-toc-h { font-size: .86rem; font-weight: 700; color: var(--steel); }
.tr-toc ol { list-style: none; margin: 8px 0 0; padding: 0; }
.tr-toc a {
  display: block;
  padding: 8px 12px; margin-inline: -12px;
  border-radius: var(--r-sm);
  font-weight: 600; line-height: 1.6;
  transition: background-color .2s, color .2s;
}
.tr-toc a:hover, .tr-toc a[aria-current] { background: var(--sage); color: var(--primary); }


.tr-sec { scroll-margin-top: 104px; }
.tr-sec + .tr-sec {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.tr-h {
  font-weight: 800;
  font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem);
  line-height: 1.5;
  color: var(--primary);
}
.tr-sec-lead { margin-top: 10px; max-width: 72ch; font-size: 1.05rem; line-height: 1.95; }
.tr-sec a { font-weight: 700; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.tr-sec a:hover { color: var(--primary-hover); }


.tr-clauses { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: clause; }
.tr-clauses li {
  counter-increment: clause;
  display: grid; grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 12px;
  padding-block: 16px;
}
.tr-clauses li + li { border-top: 1px dashed var(--line); }
.tr-clauses li::before {
  content: counter(clause);
  grid-row: span 2;
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--sage);
  font-weight: 800; font-size: .92rem; color: var(--primary);
}
.tr-clauses h3 { font-size: 1.05rem; font-weight: 800; line-height: 34px; }
.tr-clauses p { margin-top: 4px; max-width: 72ch; color: #4B4D4C; line-height: 1.95; }


.tr-table-wrap {
  margin-top: 16px;
  border-radius: var(--r-lg);
  background: var(--paper);
  overflow-x: auto;
}
.tr-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .95rem; line-height: 1.8; }
.tr-table th, .tr-table td { padding: 14px 20px; text-align: start; vertical-align: top; }
.tr-table thead th { font-size: .86rem; font-weight: 700; color: var(--steel); border-bottom: 1px solid var(--line); }
.tr-table tbody th { font-weight: 800; color: var(--graphite); }
.tr-table tbody tr + tr > * { border-top: 1px solid var(--line); }
.tr-table td { color: #4B4D4C; }


.tr-faq .tr-h { margin-bottom: 8px; }
.tr-faq details { border-bottom: 1px solid var(--line); }
.tr-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 14px;
  font-weight: 700;
  list-style: none; cursor: pointer;
  transition: color .2s;
}
.tr-faq summary::-webkit-details-marker { display: none; }
.tr-faq summary:hover, .tr-faq details[open] > summary { color: var(--primary); }
.tr-faq summary svg, .tr-faq summary .bsh-ico { flex: none; width: 20px; height: 20px; transition: transform .25s var(--ease); }
.tr-faq details[open] > summary svg, .tr-faq details[open] > summary .bsh-ico { transform: rotate(180deg); }
.tr-faq details p { padding-bottom: 16px; max-width: 72ch; color: #4B4D4C; line-height: 1.95; }
.tr-faq-end { margin-top: 20px; }

@media (prefers-reduced-motion: no-preference) {
  .tr-faq details { interpolate-size: allow-keywords; }
  .tr-faq details::details-content {
    height: 0; overflow: clip;
    transition: height .25s var(--ease), content-visibility .25s allow-discrete;
  }
  .tr-faq details[open]::details-content { height: auto; }
}

.tr-misc p { margin-top: 10px; max-width: 72ch; font-size: .95rem; line-height: 1.95; color: var(--steel); }


@media (max-width: 1100px) {
  .tr-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-facts li:nth-child(3) { border-inline-start: 0; }
  .tr-facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 960px) {
  .tr-layout { grid-template-columns: minmax(0, 1fr); }
  
  .tr-toc {
    top: calc(var(--header-h, 76px) - 1px); z-index: 30;
    margin-inline: calc(var(--gutter) * -1);
    padding: 8px var(--gutter);
    border-radius: 0;
    background: rgba(241, 242, 239, .86);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    transition: box-shadow .3s;
  }
  .tr-toc.is-stuck { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(30,35,40,.4); }
  .header.is-flat { box-shadow: none; }
  .tr-toc-h { display: none; }
  .tr-toc ol {
    display: flex; gap: 8px;
    margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter);
    overflow-x: auto; scrollbar-width: none;
  }
  .tr-toc ol::-webkit-scrollbar { display: none; }
  .tr-toc li { flex: none; }
  .tr-toc a { margin: 0; padding: 6px 16px; border-radius: 999px; background: var(--paper); white-space: nowrap; }
  .tr-toc a[aria-current] { background: var(--primary); color: #fff; }
  
  .tr-sec { scroll-margin-top: calc(var(--header-h, 76px) + 64px); }
}

@media (max-width: 760px) {
  .tr-facts { grid-template-columns: minmax(0, 1fr); }
  .tr-facts li { border-inline-start: 0 !important; }
  .tr-facts li + li { border-top: 1px solid var(--line); }
  .tr-facts li { padding: 14px 18px; }
  .tr-clauses li { grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; }
  .tr-clauses li::before { width: 28px; height: 28px; font-size: .84rem; }
  .tr-clauses h3 { line-height: 28px; }
  .tr-table th, .tr-table td { padding: 12px 14px; }
}

/* ---- 404.css ---- */



.nf-hero {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding-top: clamp(28px, 5vw, 64px);
}


.nf-code {
  display: flex; align-items: center; justify-content: center;
  gap: .08em;
  font-weight: 900;
  font-size: clamp(6.5rem, 3rem + 14vw, 12.5rem);
  line-height: 1;
  color: var(--primary);
}
.nf-door {
  --size: .78em;
  position: relative;
  width: var(--size); height: var(--size);
  margin-inline: .06em;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #D9DCD3);
  box-shadow: var(--shadow-lift), inset 0 0 0 1px rgba(30, 35, 40, .06);
}
.nf-glass {
  position: absolute; inset: 13%;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 35% 30%, #2A8580, var(--primary-deep) 70%);
  box-shadow: inset 0 0 0 .045em #B9BDB4, inset 0 .03em .08em rgba(0, 0, 0, .35);
}

.nf-water {
  position: absolute; left: -40%; top: 52%;
  width: 180%; height: 180%;
  border-radius: 42%;
  background: rgba(202, 184, 150, .55);
  animation: nf-spin 7s linear infinite;
}
.nf-water::after {
  content: ""; position: absolute; inset: 6%;
  border-radius: 44%;
  background: rgba(101, 149, 138, .55);
  animation: nf-spin 5s linear infinite reverse;
}

.nf-glass::after {
  content: ""; position: absolute;
  top: 12%; left: 18%; width: 34%; height: 22%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  transform: rotate(-30deg);
}
@keyframes nf-spin { to { transform: rotate(360deg); } }

.nf-title {
  margin-top: clamp(20px, 3vw, 32px);
  font-weight: 800;
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  line-height: 1.35;
  color: var(--graphite);
  text-wrap: balance;
}
.nf-lead { margin-top: 14px; max-width: 56ch; color: #4B4D4C; text-wrap: pretty; }

.nf-search {
  width: 100%; max-width: 560px; margin: 28px 0 0;
  height: 58px; padding-inline: 20px 6px;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lift);
}
.nf-search:focus-within { box-shadow: inset 0 0 0 1.5px var(--primary), var(--shadow-lift); }
.nf-search input { font-size: 1rem; }
.nf-search .btn { flex: none; height: 46px; }

.nf-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: 22px;
}


.nf-section { margin-top: clamp(56px, 7vw, 88px); }

@media (min-width: 1181px) {
  .cats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cat { padding: 16px; }
  .cat-name { font-size: 1rem; }
  .cat-go { display: none; }   
}

.nf-help {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.nf-help a {
  display: flex; align-items: center; gap: 14px;
  height: 100%; padding: 18px 20px;
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .2s, transform .2s var(--ease);
}
.nf-help a:hover { box-shadow: inset 0 0 0 1.5px var(--primary), var(--shadow-lift); transform: translateY(-2px); }
.nf-help .svc-ic { background: var(--sky); }
.nf-help strong { display: block; font-weight: 800; line-height: 1.6; color: var(--primary); }
.nf-help small { display: block; font-size: .86rem; color: var(--steel); line-height: 1.7; }


@media (max-width: 960px) {
  .nf-help { grid-template-columns: minmax(0, 1fr); }
}


@media (max-width: 760px) {
  .nf-search { order: 0; margin: 24px 0 0; }
}

@media (max-width: 520px) {
  .nf-search { height: 54px; padding-inline: 16px 5px; }
  .nf-search .btn { height: 44px; padding: 0 16px; }
  .nf-actions { width: 100%; }
  .nf-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .nf-water, .nf-water::after { animation: none; }
  .nf-help a:hover { transform: none; }
}

/* ---- login.css ---- */


:root {
  --error: #B3261E;
}

[hidden] { display: none !important; }

.auth-page {
  min-height: 100vh; min-height: 100dvh;
  display: grid; grid-template-rows: auto 1fr auto;
}

.auth-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 20px;
}

.auth-main {
  display: grid; justify-items: center; align-items: center;
  padding: 12px var(--gutter) 40px;
}
.auth-card {
  width: min(100%, 460px);
  padding: clamp(24px, 6vw, 40px);
  background: var(--paper);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lift);
}

.auth-title {
  font-weight: 800;
  font-size: clamp(1.45rem, 1.25rem + .8vw, 1.8rem);
  line-height: 1.4;
  color: var(--primary);
}
.auth-lead { margin-top: 8px; color: var(--steel); }

@media (min-width: 480px) {
  .auth-lead { font-size: .97rem; white-space: nowrap; }
}
.auth-phone { font-weight: 700; color: var(--graphite); white-space: nowrap; }
.auth-text-btn { display: inline-block; padding-block: 6px; }


#phoneForm { margin-top: 24px; }
.auth-label { display: block; margin-bottom: 8px; font-weight: 600; font-size: .95rem; }
.auth-input {
  width: 100%; height: 54px; padding: 0 22px;
  border: 0; border-radius: 999px; outline: 0;
  background: var(--porcelain);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 1.15rem; font-weight: 600;
  text-align: right;
}
.auth-input::placeholder { color: var(--steel); font-weight: 400; opacity: 1; }
.auth-input:focus { box-shadow: inset 0 0 0 1.5px var(--primary); }
.auth-input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--error); }

.auth-error, .auth-status { font-size: .9rem; line-height: 1.7; }
.auth-error { color: var(--error); font-weight: 600; }
.auth-status { color: var(--primary); font-weight: 600; }
.auth-error:not(:empty), .auth-status:not(:empty) { margin-top: 10px; }

#phoneForm .btn, #otpForm .btn, #nameForm .btn { margin-top: 18px; }


#stepName .auth-lead { white-space: normal; }
.auth-title:focus { outline: 0; }
#nameForm { margin-top: 24px; }
.auth-field + .auth-field { margin-top: 16px; }
#nameForm .auth-input { font-size: 1.05rem; }

.auth-terms { margin-top: 16px; font-size: .85rem; color: var(--steel); }
.auth-terms a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }


#otpForm { margin-top: 18px; }
.otp {
  position: relative;
  padding: 14px 12px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.otp:focus-within { outline: 2.5px solid var(--accent); outline-offset: 3px; }
.otp-cells { display: flex; gap: 6px; }
.otp-cell {
  position: relative; flex: 1; min-width: 0;
  display: grid; place-items: center;
  height: 1.5em;
  font-weight: 800;
  font-size: clamp(2.1rem, 1.7rem + 1.6vw, 2.7rem);
  line-height: 1;
  color: var(--primary);
}
.otp-cell::after {            
  content: ""; position: absolute; inset-inline: 14%; bottom: 0;
  height: 2px; border-radius: 2px;
  background: var(--primary); opacity: .28;
}
.otp-cell.is-next::after { opacity: .55; }
.otp:focus-within .otp-cell.is-next::after { opacity: 1; animation: blink 1s steps(1) infinite; }


.otp-input {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; padding: 0;
  border: 0; outline: 0; border-radius: inherit;
  background: transparent;
  color: transparent; -webkit-text-fill-color: transparent; caret-color: transparent;
  font-size: 16px;              
  cursor: text;
}
.otp-input::selection { background: transparent; }
.otp-input:-webkit-autofill { transition: background-color 99999s; }

.otp[data-state="error"] { box-shadow: inset 0 0 0 1.5px var(--error); animation: otp-shake .35s var(--ease); }
.otp[data-state="busy"] { opacity: .7; }
.otp[data-state="off"] { opacity: .5; outline: 0; }
.otp[data-state="off"] .otp-input { cursor: not-allowed; }
.otp[data-state="ok"] { box-shadow: inset 0 0 0 1.5px var(--secondary); }
@keyframes otp-shake {
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.otp-resend {
  display: flex; justify-content: center; align-items: center;
  min-height: 40px; margin-top: 12px;
  font-size: .92rem; color: var(--steel);
}
.otp-resend time { display: inline-block; font-weight: 700; color: var(--graphite); }


.auth-card .btn:disabled { opacity: .5; cursor: not-allowed; }
.auth-card .btn[aria-busy="true"] { opacity: .8; cursor: wait; }
.auth-card .btn[aria-busy="true"]::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  animation: auth-spin .7s linear infinite;
}
@keyframes auth-spin { to { transform: rotate(360deg); } }


.auth-demo {
  margin-top: 12px; padding: 8px 14px;
  border: 1.5px dashed var(--gold); border-radius: var(--r-sm);
  background: var(--butter);
  font-size: .85rem; text-align: center;
}

.auth-footer {
  padding-block: 0 24px;
  text-align: center; font-size: .88rem; color: var(--steel);
}
.auth-footer a { display: inline-block; font-weight: 700; color: var(--primary); }


@media (max-width: 760px) {
  .auth-main { align-items: start; }
  .auth-header { padding-block: 14px; }
  .auth-header .link { font-size: .88rem; }
}
