
/* UXES7 Store — Clean Build v164
   One stylesheet. No legacy version stack. */

:root{
  --bg:#eee9e1;
  --surface:#fffdf8;
  --surface-soft:#f8f4ee;
  --surface-warm:#f2ece4;
  --text:#171513;
  --muted:#6f6861;
  --muted-2:#9a8f85;
  --line:rgba(23,21,19,.10);
  --line-2:rgba(23,21,19,.16);
  --black:#171513;
  --shadow:0 18px 42px rgba(25,20,16,.07);
  --radius:28px;
  --container:1240px;
  --ease:cubic-bezier(.2,.8,.2,1);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 25% 0%, rgba(255,255,255,.72), transparent 34%),
    linear-gradient(180deg,#f3efe8 0%,#eee9e1 56%,#e9e3da 100%);
  overflow-x:hidden;
}
button,input{font:inherit}
button{cursor:pointer}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hidden{display:none!important}
.surface{
  background:rgba(255,253,248,.86);
  border:1px solid var(--line);
  box-shadow:var(--shadow), inset 0 1px 0 rgba(255,255,255,.74);
  backdrop-filter:blur(16px) saturate(108%);
  -webkit-backdrop-filter:blur(16px) saturate(108%);
}
.app-shell{
  width:min(calc(100% - 48px), var(--container));
  margin:0 auto;
  padding:18px 0 100px;
}

/* Header */
.topbar{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:18px;
  min-height:72px;
  padding:12px 14px;
  border-radius:30px;
}
.brand-block{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:300px;
}
.logo-box{
  width:48px;height:48px;
  display:grid;place-items:center;
  border-radius:18px;
  background:#fff;
  border:1px solid var(--line);
  overflow:hidden;
}
.logo-box img{width:100%;height:100%;object-fit:cover}
.brand-copy b{
  display:block;
  font-size:15px;
  line-height:1;
  letter-spacing:.18em;
  font-weight:950;
}
.brand-copy span{
  display:block;
  margin-top:6px;
  color:var(--muted);
  font-size:11px;
  line-height:1;
}
.topnav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:24px;
}
.topnav button{
  appearance:none;
  border:0;
  background:transparent;
  color:#5b544d;
  min-height:36px;
  padding:0;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.topnav button:hover,.topnav button.is-primary{color:var(--black)}
.header-actions{
  display:flex;
  align-items:center;
  gap:8px;
}
.header-icon{
  position:relative;
  height:46px;
  min-width:46px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  color:var(--black);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 18px rgba(20,16,12,.035);
}
.cart-icon{
  min-width:98px;
  padding:0 12px 0 14px;
  border-radius:999px;
  gap:8px;
}
.cart-icon svg{display:none}
.cart-word{
  font-size:12px;
  font-weight:950;
}
.cart-icon b{
  min-width:22px;height:22px;
  display:grid;place-items:center;
  border-radius:999px;
  background:#efe7ff;
  color:#7b53ff;
  font-size:11px;
  line-height:1;
}

/* Hero */
.hero{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:stretch;
  gap:22px;
  height:680px;
  min-height:680px;
  margin:18px 0 18px;
  padding:36px;
  border-radius:36px;
  overflow:hidden;
}
.hero-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  min-width:0;
}
.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:44px;
  max-width:100%;
  padding:0 18px;
  margin:0 0 34px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 10px 26px rgba(20,16,12,.04);
  color:#9a8b7e;
  font-size:11px;
  font-weight:950;
  line-height:1;
  letter-spacing:.18em;
  text-transform:uppercase;
  white-space:nowrap;
}
.hero-kicker svg{width:15px;height:15px;color:#9b7cff;flex:0 0 15px}
.hero h1{
  margin:0 0 22px;
  max-width:620px;
  color:#151311;
  font-size:84px;
  line-height:.9;
  letter-spacing:-.067em;
  font-weight:950;
}
.hero-subtitle{
  max-width:610px;
  margin:0 0 28px;
  color:var(--muted);
  font-size:17px;
  line-height:1.62;
}
.hero-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}
.primary-btn,.secondary-btn,.ghost-btn,.details-btn,.cart-btn{
  appearance:none;
  min-height:58px;
  border-radius:999px;
  padding:0 30px;
  border:1px solid var(--line);
  font-weight:900;
  color:var(--text);
  background:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  transition:transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}
.primary-btn,.cart-btn{
  background:var(--black);
  color:#fff;
  border-color:var(--black);
}
.primary-btn:hover,.secondary-btn:hover,.ghost-btn:hover,.details-btn:hover,.cart-btn:hover{transform:translateY(-1px)}
.primary-btn.full{width:100%}
.hero-media{
  position:relative;
  width:100%;
  height:100%;
  min-height:100%;
  border-radius:32px;
  overflow:hidden;
  background:#eee9e1;
}
.hero-media::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background-image:url("./assets/hero_keyboard_wall.webp?v=164");
  background-size:cover;
  background-position:center center;
  filter:blur(24px) saturate(1.02) brightness(1.02);
  transform:scale(1.08);
  opacity:.55;
}
.hero-media-backdrop{
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,0) 28%,rgba(255,255,255,0) 72%,rgba(255,255,255,.12));
}
.hero-media img{
  position:absolute;
  inset:0;
  z-index:2;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}

/* Tabs */
.tabs{
  min-height:92px;
  padding:12px;
  border-radius:28px;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  margin:0 0 28px;
}
.tab-btn{
  min-width:0;
  min-height:64px;
  padding:0 12px;
  border:0;
  border-radius:18px;
  background:transparent;
  color:#5c544d;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  font-size:12px;
  line-height:1.1;
  font-weight:950;
}
.tab-btn svg{width:17px;height:17px;flex:0 0 17px}
.tab-btn.active,.tab-btn:hover{
  background:var(--black);
  color:#fff;
}

/* Sections */
.catalog{margin-top:0}
.section-head,.category-heading{
  margin:28px 0 18px;
}
.section-head span,.category-heading span,.scenario-heading span,.product-panel span{
  display:block;
  color:#a29284;
  font-size:11px;
  font-weight:950;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.section-head h2,.category-heading h3,.scenario-heading h3,.product-panel h3{
  margin:8px 0 5px;
  color:var(--text);
  font-size:30px;
  line-height:1.05;
  letter-spacing:-.04em;
  font-weight:950;
}
.section-head p,.scenario-heading p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}

/* Scenario */
.scenario-panel{
  padding:24px;
  border-radius:28px;
  margin:0 0 22px;
}
.scenario-heading{margin-bottom:18px}
.scenario-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.scenario-card{
  text-align:left;
  min-height:150px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#f8f4ee;
  color:var(--text);
  display:flex;
  flex-direction:column;
  gap:10px;
}
.scenario-card b{
  width:34px;height:34px;
  display:grid;place-items:center;
  border-radius:12px;
  background:#fff;
  border:1px solid var(--line);
  font-size:12px;
}
.scenario-card strong{font-size:18px;line-height:1.1}
.scenario-card span{color:var(--muted);font-size:13px;line-height:1.45}
.scenario-card i{margin-top:auto;font-style:normal;font-weight:950}

/* Categories and products */
.category-grid,.product-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}
.category-card,.product-card{
  min-width:0;
  border-radius:28px;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 12px 28px rgba(22,18,14,.045);
}
.category-card{
  cursor:pointer;
  display:flex;
  flex-direction:column;
}
.category-photo,.product-photo{
  position:relative;
  overflow:hidden;
  background:#eee7dd;
}
.category-photo{height:210px}
.category-photo img,.product-photo-main{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
}
.category-photo .badge{
  position:absolute;
  top:14px;left:14px;
}
.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(255,255,255,.86);
  color:#171513;
  border:1px solid rgba(255,255,255,.75);
  font-size:10px;
  font-weight:950;
  line-height:1;
  white-space:nowrap;
  box-shadow:0 8px 18px rgba(0,0,0,.08);
}
.badge.preorder{background:#fff4e9}
.badge.on-way{background:#fff0c9;border-color:#f1d38a;color:#6f4a00}
.category-info,.product-info{
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:9px;
  flex:1;
}
.category-info h3,.product-info h3{
  margin:0;
  font-size:22px;
  line-height:1.08;
  letter-spacing:-.035em;
  font-weight:950;
}
.category-info p,.product-info p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}
.card-bottom{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-end;
  margin-top:auto;
}
.price-stack small,.product-price small{
  display:block;
  color:#7d756e;
  font-size:12px;
  font-weight:850;
}
.price-stack b,.product-price b{
  display:block;
  color:var(--text);
  font-size:21px;
  line-height:1.1;
  font-weight:950;
}
.link-more{
  color:#171513;
  font-size:12px;
  font-weight:950;
  white-space:nowrap;
}

/* Product cards */
.product-card{
  display:flex;
  flex-direction:column;
}
.product-photo{
  height:360px;
  flex:0 0 360px;
}
.product-photo-blur{
  position:absolute;
  inset:-10%;
  z-index:0;
  background-size:cover;
  background-position:center center;
  filter:blur(24px) saturate(1.04) brightness(1.04);
  transform:scale(1.12);
  opacity:.58;
}
.product-photo::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.20),rgba(255,255,255,0) 28%,rgba(255,255,255,0) 70%,rgba(255,255,255,.20));
}
.product-photo-main{
  position:relative;
  z-index:2;
}
.product-badges{
  position:absolute;
  z-index:4;
  left:14px;
  right:14px;
  top:14px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  pointer-events:none;
}
.product-badges-left,.product-badges-right{
  display:flex;
  gap:8px;
  min-width:0;
}
.product-badges-right{justify-content:flex-end;flex-wrap:wrap}
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.chips span{
  min-height:28px;
  padding:0 10px;
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  background:#f3eee8;
  border:1px solid var(--line);
  color:#5a5249;
  font-size:11px;
  font-weight:850;
}
.product-price{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  margin-top:auto;
}
.product-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:6px;
}
.product-actions button{
  min-height:50px;
  border-radius:16px;
  padding:0 12px;
}

/* Audio */
.audio-strip{margin:0 0 16px}
.audio-card,.card-audio{
  background:#faf7f2;
  border:1px solid var(--line);
  border-radius:20px;
}
.audio-card{
  max-width:760px;
  margin:0 auto;
  padding:12px 14px;
}
.audio-copy,.card-audio-head,.audio-track-status{display:none!important}
.audio-demo{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  align-items:center;
  gap:12px;
}
.audio-play{
  width:42px;height:42px;
  display:grid;place-items:center;
  border:0;
  border-radius:14px;
  background:#171513;
  color:#fff;
}
.audio-track-top{
  display:flex;
  justify-content:space-between;
  gap:8px;
  margin-bottom:6px;
}
.audio-track-top b{font-size:13px}
.audio-time{color:#8e857d;font-size:11px;white-space:nowrap}
.audio-progress{
  position:relative;
  display:block;
  width:100%;
  height:5px;
  border:0;
  padding:0;
  border-radius:999px;
  background:#e6ded5;
  overflow:hidden;
  margin:0 0 8px;
}
.audio-progress-fill{
  position:absolute;left:0;top:0;bottom:0;width:0%;
  background:#171513;
}
.audio-wave{
  display:flex;
  align-items:end;
  gap:4px;
  height:28px;
  overflow:hidden;
}
.audio-bar{
  width:4px;
  border-radius:999px;
  background:#ded6cd;
}
.audio-bar.is-active,.audio-bar.is-current{background:#171513}
.card-audio{
  width:170px;
  margin:4px auto 2px;
  padding:6px 8px;
  border-radius:14px;
}
.card-audio .audio-demo{grid-template-columns:30px minmax(0,1fr);gap:8px}
.card-audio .audio-play{width:30px;height:30px;border-radius:10px}
.card-audio .audio-track-top{margin-bottom:4px}
.card-audio .audio-track-top b{font-size:10px}
.card-audio .audio-time{font-size:8px}
.card-audio .audio-progress{height:3px;margin-bottom:4px}
.card-audio .audio-wave{height:18px;gap:2px}
.card-audio .audio-bar{width:3px}

/* Product area and filters */
.product-panel{
  border-radius:26px;
  padding:20px;
  margin:12px 0 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.product-panel h3{margin:5px 0 0}
.subfilters{
  position:relative;
  z-index:20;
  margin:0 0 24px;
  padding:18px;
  border-radius:26px;
}
.filters-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:16px;
}
.filters-toolbar-title span{
  display:block;
  color:#7fb9ed;
  font-size:10px;
  font-weight:950;
  letter-spacing:.17em;
  text-transform:uppercase;
}
.filters-toolbar-title strong{
  display:block;
  margin-top:5px;
  font-size:19px;
  font-weight:950;
}
.filter-clear{
  min-height:42px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:#9f988f;
  font-weight:900;
  opacity:.45;
}
.filter-clear.visible{
  opacity:1;
  color:#171513;
}
.filter-groups{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:12px;
}
.filter-group{
  position:relative;
  min-width:0;
}
.filter-group.open{z-index:50}
.filter-trigger{
  width:100%;
  min-height:50px;
  padding:0 16px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#f8f5f1;
  color:#171513;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.filter-trigger b{
  min-width:20px;height:20px;
  display:grid;place-items:center;
  border-radius:999px;
  background:#171513;
  color:#fff;
  font-size:10px;
}
.filter-chevron::before{content:"⌄";font-style:normal;color:#8a8177}
.filter-group.open .filter-chevron::before{content:"⌃"}
.filter-dropdown{
  position:absolute;
  left:0;right:0;
  top:calc(100% + 8px);
  display:none;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:8px;
  box-shadow:0 18px 38px rgba(18,15,12,.10);
  max-height:280px;
  overflow:auto;
}
.filter-group.open .filter-dropdown{display:block}
.filter-options{display:flex;flex-direction:column;gap:4px}
.filter-option{
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:0 10px;
  border-radius:12px;
  border:0;
  background:transparent;
  color:#514a43;
  text-align:left;
  font-weight:750;
}
.filter-option i{display:none}
.filter-option.active,.filter-option:hover{background:#f4eee7;color:#171513}
.filter-option.active i{display:block;font-style:normal}

/* Modal */
.modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:grid;
  place-items:center;
  padding:20px;
}
.modal.hidden{display:none!important}
.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(238,233,225,.88);
  backdrop-filter:blur(12px);
}
.modal-card{
  position:relative;
  width:min(1460px,calc(100vw - 44px));
  max-height:calc(100vh - 44px);
  border-radius:32px;
  overflow:hidden;
  background:#fffdf9;
}
.modal-close{
  position:absolute;
  right:20px;top:20px;
  z-index:20;
  width:48px;height:48px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:#171513;
  font-size:28px;
  line-height:1;
  box-shadow:0 10px 24px rgba(20,16,12,.08);
}
.modal-grid{
  display:grid;
  grid-template-columns:minmax(560px,.98fr) minmax(520px,1fr);
  height:min(760px, calc(100vh - 44px));
  min-height:680px;
  align-items:stretch;
}
.modal-gallery{
  position:relative;
  min-height:0;
  height:100%;
  padding:18px;
  overflow:hidden;
  background:linear-gradient(180deg,#fbf8f4 0%,#f6f1eb 100%);
}
.gallery-main{
  position:absolute;
  inset:18px;
  border-radius:24px;
  overflow:hidden;
  background:#ede7df;
}
.gallery-main::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background-image:var(--gallery-bg, none);
  background-size:cover;
  background-position:center center;
  filter:blur(24px) saturate(1.02) brightness(1.02);
  transform:scale(1.08);
  opacity:.45;
}
.gallery-main img{
  position:absolute;
  inset:0;
  z-index:1;
  width:100%;
  height:100%;
  max-height:none;
  object-fit:cover;
  object-position:center center;
  border-radius:24px;
}
.gallery-main::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,.16),rgba(0,0,0,0) 18%,rgba(0,0,0,0) 72%,rgba(0,0,0,.18));
}
.gal-arrow{
  position:absolute;
  z-index:7;
  top:50%;
  transform:translateY(-50%);
  width:48px;height:48px;
  display:grid;place-items:center;
  border-radius:999px;
  background:rgba(255,255,255,.88);
  color:#171513;
  border:1px solid rgba(255,255,255,.8);
  font-size:0;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
  backdrop-filter:blur(10px);
}
.gal-arrow::before{
  display:block;
  font-size:28px;
  line-height:1;
  font-weight:900;
}
.gal-arrow.left{left:32px}
.gal-arrow.left::before{content:"‹"}
.gal-arrow.right{right:32px}
.gal-arrow.right::before{content:"›"}
.gal-counter{
  position:absolute;
  z-index:7;
  top:32px;
  right:32px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.82);
  color:#171513;
  border:1px solid rgba(255,255,255,.75);
  box-shadow:0 10px 22px rgba(0,0,0,.12);
  backdrop-filter:blur(10px);
  font-size:13px;
  font-weight:800;
}
.gallery-thumbs{
  position:absolute;
  z-index:6;
  left:34px;
  right:34px;
  bottom:34px;
  display:flex;
  gap:8px;
  overflow:auto;
  padding:0 0 2px;
}
.thumb{
  width:72px;height:58px;
  flex:0 0 72px;
  border-radius:14px;
  padding:2px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 10px 24px rgba(0,0,0,.16);
  backdrop-filter:blur(8px);
}
.thumb img{
  width:100%;height:100%;
  object-fit:cover;
  border-radius:11px;
}
.thumb.active{
  border-color:#171513;
  box-shadow:0 0 0 2px rgba(255,255,255,.8),0 12px 26px rgba(0,0,0,.20);
}
.modal-info{
  height:100%;
  padding:34px 34px 32px;
  background:linear-gradient(180deg,#fffdf9,#faf7f2);
  overflow:auto;
}
.modal-badge{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 15px;
  border-radius:999px;
  background:#f4eee7;
  border:1px solid var(--line);
  color:#171513;
  font-size:12px;
  font-weight:950;
  letter-spacing:.12em;
}
.modal-info h2{
  margin:16px 0 12px;
  font-size:44px;
  line-height:1;
  letter-spacing:-.045em;
  font-weight:950;
}
.modal-short{
  max-width:620px;
  color:var(--muted);
  font-size:16px;
  line-height:1.55;
}
.modal-info .chips{margin:16px 0 20px}
.spec-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:20px 0 24px;
}
.spec-grid div{
  padding:17px 18px;
  border-radius:18px;
  background:#f8f4ee;
  border:1px solid var(--line);
}
.spec-grid span{
  display:block;
  color:#9a8f85;
  font-size:12px;
  margin-bottom:7px;
}
.spec-grid b{font-size:15px}
.long-desc-wrap{
  margin-top:18px;
  padding-top:22px;
  border-top:1px solid var(--line);
}
.long-desc-title{
  margin-bottom:10px;
  font-size:20px;
  font-weight:950;
  letter-spacing:-.025em;
}
.long-desc{
  color:#6e6861;
  font-size:15px;
  line-height:1.65;
}
.long-desc p{margin:0 0 12px}
.modal-bottom{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  align-items:end;
  margin-top:28px;
}
.modal-bottom span{
  display:block;
  color:#9a8f85;
  font-size:12px;
}
.modal-bottom b{
  display:block;
  margin-top:3px;
  font-size:38px;
  line-height:1;
  letter-spacing:-.04em;
  font-weight:950;
}
.modal-bottom em{
  display:block;
  margin-top:4px;
  color:#9a8f85;
  text-decoration:line-through;
  font-style:normal;
}

/* Cart / support */
.cart-float{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:80;
  min-width:68px;
  min-height:52px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#171513;
  color:#fff;
  display:none;
}
.cart{
  position:fixed;
  z-index:900;
  top:18px;
  right:18px;
  width:min(420px,calc(100vw - 36px));
  max-height:calc(100vh - 36px);
  padding:20px;
  border-radius:28px;
  overflow:auto;
}
.cart-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.cart-head span{color:#a29284;font-size:11px;font-weight:950;letter-spacing:.14em}
.cart-head h3{margin:4px 0 0;font-size:28px}
.cart-head button{
  width:42px;height:42px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-size:24px;
}
.cart-items{display:flex;flex-direction:column;gap:10px;margin:18px 0}
.cart-item{
  display:grid;
  grid-template-columns:64px 1fr;
  gap:12px;
  align-items:center;
  padding:10px;
  border-radius:16px;
  background:#f8f4ee;
  border:1px solid var(--line);
}
.cart-item img{width:64px;height:52px;border-radius:12px;object-fit:cover}
.cart-item b{display:block;font-size:14px}
.cart-item span{color:var(--muted);font-weight:900}
.cart-total{
  display:flex;justify-content:space-between;
  padding:16px 0;
  border-top:1px solid var(--line);
}
.support{
  margin-top:32px;
  padding:24px;
  border-radius:28px;
}
.support-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:18px;
}
.support-grid>div{
  padding:18px;
  border-radius:20px;
  background:#f8f4ee;
  border:1px solid var(--line);
}
.support-grid b{font-size:16px}
.support-grid p{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.5}

/* Responsive */
@media (max-width:1180px){
  .app-shell{width:calc(100% - 32px)}
  .topbar{grid-template-columns:1fr auto;gap:12px}
  .brand-block{min-width:0}
  .topnav{
    grid-column:1 / -1;
    order:3;
    justify-content:center;
    overflow:auto;
  }
  .hero{
    grid-template-columns:1fr;
    height:auto;
    min-height:0;
    padding:24px;
  }
  .hero h1{font-size:60px;max-width:760px}
  .hero-subtitle{max-width:760px}
  .hero-media{height:520px;min-height:520px}
  .tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
  .scenario-grid,.category-grid,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .modal-grid{grid-template-columns:1fr;height:auto;min-height:0}
  .modal-gallery{height:560px;min-height:560px}
  .modal-info{height:auto;max-height:none}
}
@media (max-width:760px){
  .app-shell{width:calc(100% - 18px);padding-top:10px}
  .topbar{border-radius:22px}
  .brand-copy span{display:none}
  .brand-copy b{font-size:13px}
  .logo-box{width:44px;height:44px;border-radius:16px}
  .header-icon{width:44px;min-width:44px;height:44px}
  .cart-icon{min-width:44px;padding:0}
  .cart-word{display:none}
  .cart-icon svg{display:block}
  .cart-icon b{position:absolute;right:-4px;top:-5px}
  .topnav{justify-content:flex-start;gap:18px}
  .hero{padding:18px;border-radius:26px}
  .hero-kicker{
    max-width:100%;
    white-space:normal;
    min-height:38px;
    padding:9px 12px;
    font-size:9px;
    letter-spacing:.12em;
    margin-bottom:22px;
  }
  .hero h1{font-size:42px;line-height:.96}
  .hero-subtitle{font-size:15px;line-height:1.55}
  .hero-actions{width:100%}
  .primary-btn,.secondary-btn{width:100%;min-height:52px}
  .hero-media{height:360px;min-height:360px;border-radius:24px}
  .tabs{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px;min-height:0;border-radius:22px}
  .tab-btn{min-height:54px;font-size:12px}
  .scenario-grid,.category-grid,.product-grid{grid-template-columns:1fr}
  .product-photo{height:320px;flex-basis:320px}
  .filters-toolbar{flex-direction:column}
  .filter-groups{grid-template-columns:1fr 1fr}
  .modal{padding:8px}
  .modal-card{width:calc(100vw - 16px);max-height:calc(100vh - 16px);border-radius:24px}
  .modal-gallery{height:380px;min-height:380px;padding:10px}
  .gallery-main{inset:10px;border-radius:18px}
  .gallery-main img{border-radius:18px}
  .gal-arrow{width:40px;height:40px}
  .gal-arrow.left{left:16px}.gal-arrow.right{right:16px}
  .gallery-thumbs{left:20px;right:20px;bottom:18px}
  .modal-info{padding:24px 18px}
  .modal-info h2{font-size:34px}
  .spec-grid,.modal-bottom{grid-template-columns:1fr}
  .support-grid{grid-template-columns:1fr}
  .cart-float{display:inline-flex;align-items:center;justify-content:center;gap:6px}
}
@media (max-width:420px){
  .filter-groups{grid-template-columns:1fr}
  .hero h1{font-size:38px}
}


/* UXES7 v165 — larger hero/card proportions, no image crop, premium category pills */

/* Larger first screen card */
:root{
  --container:1320px;
}
.app-shell{
  width:min(calc(100% - 42px), var(--container));
}
.hero{
  min-height:760px;
  height:760px;
  padding:42px;
  gap:32px;
  border-radius:38px;
}
.hero-copy{
  justify-content:center;
}
.hero-kicker{
  min-height:48px;
  padding:0 20px;
  margin-bottom:38px;
  font-size:11px;
}
.hero h1{
  font-size:90px;
  line-height:.9;
  max-width:660px;
  margin-bottom:24px;
}
.hero-subtitle{
  font-size:18px;
  line-height:1.62;
  max-width:650px;
  margin-bottom:32px;
}
.hero-media{
  border-radius:34px;
}
.hero-media img{
  object-fit:contain;
  object-position:center center;
  padding:0;
}
.hero-media::before{
  opacity:.82;
  filter:blur(28px) saturate(1.05) brightness(1.03);
  transform:scale(1.12);
}

/* Category strip: no rectangular outline buttons, more premium pill/card look */
.tabs{
  min-height:106px;
  padding:14px;
  border-radius:32px;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  background:rgba(255,253,248,.92);
}
.tab-btn{
  min-height:76px;
  padding:0 16px;
  border-radius:22px;
  border:1px solid transparent;
  background:#f7f3ed;
  color:#514a43;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-size:13px;
  line-height:1.1;
  font-weight:950;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
.tab-btn svg{
  width:19px;
  height:19px;
  flex:0 0 19px;
  color:#6c635a;
}
.tab-btn:hover{
  background:#efe8df;
  color:#171513;
}
.tab-btn.active{
  background:#171513;
  color:#fff;
  border-color:#171513;
  box-shadow:0 14px 28px rgba(20,16,12,.12);
}
.tab-btn.active svg{
  color:#fff;
}

/* Product/category images: show full image with blurred duplicate background */
.category-photo,
.product-photo{
  background:#eee8df;
}
.category-photo::before,
.product-photo-blur{
  position:absolute;
  inset:-12%;
  z-index:0;
  background-size:cover;
  background-position:center center;
  filter:blur(26px) saturate(1.05) brightness(1.04);
  transform:scale(1.12);
  opacity:.72;
}
.category-photo::before{
  content:"";
  background-image:var(--category-bg, none);
}
.category-photo img,
.product-photo-main{
  position:relative;
  z-index:2;
  object-fit:contain;
  object-position:center center;
  padding:10px;
}
.category-photo img{
  padding:12px;
}
.product-photo{
  height:420px;
  flex-basis:420px;
}
.product-photo::after{
  z-index:3;
  background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,0) 22%,rgba(255,255,255,0) 74%,rgba(255,255,255,.22));
}
.product-card{
  min-height:740px;
}
.product-info{
  padding:20px;
}
.product-info h3{
  font-size:24px;
}
.product-info p{
  font-size:14px;
}
.product-actions button{
  min-height:54px;
}

/* Switch audio blocks should not dominate the cards */
.card-audio{
  width:184px;
  margin:6px auto 4px;
  background:#fbf8f3;
}

/* Modal gallery: no crop, full image visible, blur fills empty area */
.modal-card{
  width:min(1500px,calc(100vw - 44px));
}
.modal-grid{
  grid-template-columns:minmax(620px,1.05fr) minmax(520px,.95fr);
  height:min(820px, calc(100vh - 44px));
  min-height:740px;
}
.modal-gallery{
  padding:20px;
}
.gallery-main{
  inset:20px;
  border-radius:26px;
  background:#eee8df;
}
.gallery-main::before{
  background-image:var(--gallery-bg, none);
  opacity:.78;
  filter:blur(30px) saturate(1.06) brightness(1.04);
  transform:scale(1.12);
}
.gallery-main img{
  object-fit:contain;
  object-position:center center;
  padding:0;
  border-radius:26px;
}
.gallery-main::after{
  background:linear-gradient(180deg,rgba(0,0,0,.09),rgba(0,0,0,0) 20%,rgba(0,0,0,0) 78%,rgba(0,0,0,.12));
}
.gallery-thumbs{
  left:38px;
  right:38px;
  bottom:38px;
  background:rgba(255,255,255,.58);
  border:1px solid rgba(255,255,255,.75);
  border-radius:18px;
  padding:8px;
  backdrop-filter:blur(12px);
}
.thumb{
  width:78px;
  height:62px;
  flex-basis:78px;
  box-shadow:none;
}
.gal-arrow{
  background:rgba(255,255,255,.92);
}
.gal-arrow.left{left:36px}
.gal-arrow.right{right:36px}
.gal-counter{top:36px;right:36px}

/* Modal info bigger/more premium */
.modal-info{
  padding:42px 42px 38px;
}
.modal-info h2{
  font-size:50px;
}
.modal-short{
  font-size:17px;
}
.spec-grid div{
  padding:19px 20px;
}
.long-desc-title{
  font-size:22px;
}
.long-desc{
  font-size:16px;
}

/* Filters: stronger visual separation */
.subfilters{
  padding:22px;
  border-radius:30px;
}
.filter-groups{
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
}
.filter-trigger{
  min-height:56px;
  border-radius:18px;
  background:#fff;
  border-color:rgba(23,21,19,.14);
}
.filter-trigger:hover{
  background:#f4eee7;
}

/* Responsive adjustments */
@media (max-width:1180px){
  :root{--container:100%}
  .app-shell{width:calc(100% - 32px)}
  .hero{
    height:auto;
    min-height:0;
    padding:28px;
    grid-template-columns:1fr;
  }
  .hero h1{
    font-size:62px;
    max-width:760px;
  }
  .hero-subtitle{
    max-width:760px;
  }
  .hero-media{
    height:560px;
    min-height:560px;
  }
  .tabs{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .tab-btn{
    min-height:68px;
  }
  .modal-grid{
    grid-template-columns:1fr;
    height:auto;
    min-height:0;
  }
  .modal-gallery{
    height:620px;
    min-height:620px;
  }
}
@media (max-width:760px){
  .app-shell{width:calc(100% - 18px)}
  .hero{
    padding:20px;
    border-radius:28px;
  }
  .hero h1{
    font-size:44px;
  }
  .hero-subtitle{
    font-size:15px;
  }
  .hero-media{
    height:400px;
    min-height:400px;
  }
  .tabs{
    grid-template-columns:repeat(2,minmax(0,1fr));
    padding:10px;
    gap:8px;
  }
  .tab-btn{
    min-height:58px;
    font-size:12px;
    border-radius:17px;
  }
  .product-photo{
    height:350px;
    flex-basis:350px;
  }
  .product-card{
    min-height:0;
  }
  .modal-gallery{
    height:430px;
    min-height:430px;
    padding:10px;
  }
  .gallery-main{
    inset:10px;
    border-radius:20px;
  }
  .gallery-main img{
    border-radius:20px;
  }
  .gallery-thumbs{
    left:18px;
    right:18px;
    bottom:18px;
    padding:6px;
  }
  .thumb{
    width:62px;
    height:50px;
    flex-basis:62px;
  }
  .modal-info{
    padding:26px 18px;
  }
  .modal-info h2{
    font-size:36px;
  }
}


/* v166 — hard fix: category buttons are styled by both .tab-btn and #tabs button */
#tabs > button{
  appearance:none !important;
  min-width:0 !important;
  min-height:76px !important;
  padding:0 16px !important;
  border-radius:22px !important;
  border:1px solid transparent !important;
  background:#f7f3ed !important;
  color:#514a43 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  font-size:13px !important;
  line-height:1.1 !important;
  font-weight:950 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75) !important;
}
#tabs > button svg{
  width:19px !important;
  height:19px !important;
  flex:0 0 19px !important;
  color:#6c635a !important;
}
#tabs > button:hover{
  background:#efe8df !important;
  color:#171513 !important;
}
#tabs > button.active{
  background:#171513 !important;
  color:#fff !important;
  border-color:#171513 !important;
  box-shadow:0 14px 28px rgba(20,16,12,.12) !important;
}
#tabs > button.active svg{
  color:#fff !important;
}


/* v167 — scale + symmetry + no-blur previews */

/* +25% visual scale direction: wider canvas + larger major blocks */
:root{
  --container:1540px;
}
.app-shell{
  width:min(calc(100% - 24px), var(--container));
  padding-top:14px;
}

/* Header scale */
.topbar{
  min-height:86px;
  padding:14px 18px;
  border-radius:34px;
}
.logo-box{
  width:58px;
  height:58px;
  border-radius:20px;
}
.brand-block{
  min-width:340px;
}
.brand-copy b{
  font-size:17px;
}
.brand-copy span{
  font-size:12px;
}
.header-icon{
  height:54px;
  min-width:54px;
  border-radius:18px;
}
.cart-icon{
  min-width:116px;
}
.topnav button{
  font-size:13px;
}

/* Hero: more symmetric layout, less accidental emptiness */
.hero{
  grid-template-columns:1fr 1fr;
  height:760px;
  min-height:760px;
  padding:42px;
  gap:34px;
  border-radius:40px;
}
.hero-copy{
  justify-content:center;
  align-items:flex-start;
}
.hero-kicker{
  min-height:50px;
  padding:0 22px;
  margin-bottom:34px;
  font-size:11px;
}
.hero h1{
  font-size:92px;
  line-height:.9;
  max-width:680px;
  margin-bottom:26px;
}
.hero-subtitle{
  max-width:660px;
  font-size:18px;
  line-height:1.62;
  margin-bottom:34px;
}
.primary-btn,
.secondary-btn{
  min-height:62px;
  padding:0 34px;
  font-size:16px;
}
.hero-media{
  border-radius:36px;
}
.hero-media img{
  object-fit:cover;
  object-position:center center;
}
.hero-media::before{
  display:none;
}

/* Category pills: 7 visible categories in one symmetric row on desktop */
.tabs{
  grid-template-columns:repeat(5,minmax(0,1fr));
  min-height:104px;
  padding:14px;
  gap:12px;
  border-radius:34px;
}
#tabs > button,
.tab-btn{
  min-height:76px !important;
  border-radius:24px !important;
  background:#f6f1ea !important;
  border:1px solid transparent !important;
  box-shadow:none !important;
  font-size:13px !important;
  line-height:1.12 !important;
  padding:0 14px !important;
}
#tabs > button:hover,
.tab-btn:hover{
  background:#eee6dc !important;
  color:#171513 !important;
}
#tabs > button.active,
.tab-btn.active{
  background:#171513 !important;
  color:#fff !important;
  border-color:#171513 !important;
}
#tabs > button svg,
.tab-btn svg{
  width:20px !important;
  height:20px !important;
}

/* Category grid scale */
.section-head h2,
.category-heading h3,
.product-panel h3{
  font-size:34px;
}
.category-grid,
.product-grid{
  gap:24px;
}
.category-photo{
  height:270px;
}
.category-card{
  border-radius:32px;
}
.category-info{
  padding:22px;
}
.category-info h3{
  font-size:26px;
}
.category-info p{
  font-size:15px;
}
.price-stack b{
  font-size:24px;
}

/* Previews in categories and cards: NO blur, fill the preview area */
.category-photo::before,
.product-photo-blur{
  display:none !important;
}
.category-photo img,
.product-photo-main{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  padding:0 !important;
  filter:none !important;
}
.product-photo{
  height:470px;
  flex-basis:470px;
  background:#f0ebe4;
}
.product-card{
  min-height:790px;
  border-radius:32px;
}
.product-info{
  padding:22px;
  gap:11px;
}
.product-info h3{
  font-size:27px;
}
.product-info p{
  font-size:15px;
  line-height:1.5;
}
.product-price b{
  font-size:25px;
}
.product-actions button{
  min-height:58px;
  font-size:16px;
  border-radius:18px;
}
.chips span{
  min-height:32px;
  padding:0 12px;
  font-size:12px;
}

/* Modal: remove blur preview layer too, make gallery symmetrical */
.modal-card{
  width:min(1520px, calc(100vw - 36px));
}
.modal-grid{
  grid-template-columns:1fr 1fr;
  height:min(820px, calc(100vh - 36px));
}
.gallery-main::before{
  display:none;
}
.gallery-main img{
  object-fit:cover;
  object-position:center center;
  padding:0;
}
.modal-gallery{
  background:#f5f0e8;
}
.gallery-main{
  background:#f5f0e8;
}
.modal-info h2{
  font-size:52px;
}
.modal-short{
  font-size:18px;
}

/* Filters larger */
.subfilters{
  padding:24px;
  border-radius:32px;
}
.filter-groups{
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:14px;
}
.filter-trigger{
  min-height:60px;
  border-radius:20px;
  font-size:15px;
}

/* Responsive symmetry */
@media (max-width:1180px){
  .app-shell{
    width:calc(100% - 28px);
  }
  .hero{
    grid-template-columns:1fr;
    height:auto;
    min-height:0;
    padding:30px;
  }
  .hero h1{
    font-size:64px;
    max-width:780px;
  }
  .hero-media{
    height:560px;
    min-height:560px;
  }
  .tabs{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .category-grid,
  .product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .modal-grid{
    grid-template-columns:1fr;
    height:auto;
  }
  .modal-gallery{
    height:620px;
    min-height:620px;
  }
}
@media (max-width:760px){
  .app-shell{
    width:calc(100% - 16px);
  }
  .topbar{
    min-height:72px;
    padding:12px;
  }
  .logo-box{
    width:46px;
    height:46px;
  }
  .hero{
    padding:20px;
    border-radius:28px;
  }
  .hero h1{
    font-size:45px;
  }
  .hero-subtitle{
    font-size:15px;
  }
  .hero-media{
    height:380px;
    min-height:380px;
    border-radius:24px;
  }
  .tabs{
    grid-template-columns:repeat(2,minmax(0,1fr));
    min-height:0;
    padding:10px;
    gap:8px;
  }
  #tabs > button,
  .tab-btn{
    min-height:60px !important;
    font-size:12px !important;
    border-radius:18px !important;
  }
  .category-grid,
  .product-grid{
    grid-template-columns:1fr;
  }
  .category-photo{
    height:240px;
  }
  .product-photo{
    height:360px;
    flex-basis:360px;
  }
  .product-card{
    min-height:0;
  }
  .filter-groups{
    grid-template-columns:1fr 1fr;
  }
  .modal-gallery{
    height:420px;
    min-height:420px;
  }
  .modal-info h2{
    font-size:36px;
  }
}
@media (max-width:420px){
  .filter-groups{
    grid-template-columns:1fr;
  }
}


/* v168 — REAL visible scale: 3-column catalog, bigger cards, taller previews */

/* Desktop catalog must visibly grow, not just container grow */
@media (min-width:1181px){
  .category-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:28px !important;
  }

  .category-card{
    border-radius:36px !important;
    min-height:570px !important;
  }

  .category-photo{
    height:365px !important;
    min-height:365px !important;
    background:#eee8df !important;
  }

  .category-photo::before{
    display:none !important;
  }

  .category-photo img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
    padding:0 !important;
    filter:none !important;
  }

  .category-info{
    padding:26px 28px 24px !important;
    gap:12px !important;
  }

  .category-info h3{
    font-size:32px !important;
    line-height:1.02 !important;
    letter-spacing:-.045em !important;
  }

  .category-info p{
    font-size:16px !important;
    line-height:1.5 !important;
    min-height:48px !important;
  }

  .price-stack small{
    font-size:13px !important;
  }

  .price-stack b{
    font-size:29px !important;
    line-height:1 !important;
  }

  .link-more{
    font-size:13px !important;
  }

  /* Products also visually larger: 3 columns instead of 4 */
  .product-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:28px !important;
  }

  .product-card{
    border-radius:36px !important;
    min-height:880px !important;
  }

  .product-photo{
    height:540px !important;
    min-height:540px !important;
    flex:0 0 540px !important;
    background:#eee8df !important;
  }

  .product-photo-blur{
    display:none !important;
  }

  .product-photo-main{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
    padding:0 !important;
    filter:none !important;
  }

  .product-info{
    padding:26px 28px 24px !important;
    gap:12px !important;
  }

  .product-info h3{
    font-size:31px !important;
    line-height:1.02 !important;
  }

  .product-info p{
    font-size:16px !important;
    line-height:1.5 !important;
  }

  .product-price b{
    font-size:29px !important;
  }

  .product-actions button{
    min-height:62px !important;
    font-size:17px !important;
    border-radius:20px !important;
  }
}

/* Category strip: keep 7 visible categories in one row, but denser/smoother */
@media (min-width:1181px){
  .tabs{
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    gap:12px !important;
  }

  #tabs > button,
  .tab-btn{
    min-height:82px !important;
    border-radius:25px !important;
  }
}

/* Modal previews: no blur, full stretched image area */
.gallery-main::before{
  display:none !important;
}

.gallery-main img{
  object-fit:cover !important;
  object-position:center center !important;
  padding:0 !important;
}

/* Make version visually obvious only via layout, no debug labels */


/* v169 — only hero text placement, text content unchanged */
@media (min-width:1181px){
  .hero{
    align-items:stretch !important;
  }

  .hero-copy{
    justify-content:flex-start !important;
    align-items:flex-start !important;
    padding:96px 0 0 0 !important;
  }

  .hero-kicker{
    margin:0 0 46px 0 !important;
  }

  .hero h1{
    margin:0 0 34px 0 !important;
    max-width:690px !important;
  }

  .hero-subtitle{
    margin:0 0 42px 0 !important;
    max-width:660px !important;
  }

  .hero-actions{
    margin:0 !important;
  }
}

@media (max-width:1180px){
  .hero-copy{
    justify-content:flex-start !important;
    padding-top:24px !important;
  }

  .hero-kicker{
    margin-bottom:30px !important;
  }

  .hero h1{
    margin-bottom:24px !important;
  }

  .hero-subtitle{
    margin-bottom:30px !important;
  }
}

@media (max-width:760px){
  .hero-copy{
    padding-top:10px !important;
  }

  .hero-kicker{
    margin-bottom:22px !important;
  }

  .hero h1{
    margin-bottom:18px !important;
  }

  .hero-subtitle{
    margin-bottom:24px !important;
  }
}


/* v170 — hero empty top space fix. Text content unchanged. */
@media (min-width:1181px){
  .hero-copy{
    justify-content:flex-start !important;
    align-items:flex-start !important;
    padding:34px 0 0 0 !important;
  }

  .hero-kicker{
    margin:0 0 34px 0 !important;
  }

  .hero h1{
    margin:0 0 30px 0 !important;
  }

  .hero-subtitle{
    margin:0 0 36px 0 !important;
  }

  .hero-actions{
    margin:0 !important;
  }
}

@media (max-width:1180px){
  .hero-copy{
    padding-top:8px !important;
    justify-content:flex-start !important;
  }
}

@media (max-width:760px){
  .hero-copy{
    padding-top:0 !important;
  }

  .hero-kicker{
    margin-bottom:18px !important;
  }
}


/* v171 — hero grid rebalance: remove empty visual space in text column */
@media (min-width:1181px){
  .hero{
    gap:28px !important;
  }

  .hero-copy{
    display:grid !important;
    grid-template-rows:auto 1fr auto auto !important;
    align-content:stretch !important;
    justify-content:stretch !important;
    min-height:100% !important;
    padding:18px 0 !important;
  }

  .hero-kicker{
    align-self:start !important;
    margin:0 0 18px 0 !important;
  }

  .hero h1{
    align-self:center !important;
    margin:0 !important;
    max-width:640px !important;
  }

  .hero-subtitle{
    align-self:end !important;
    margin:18px 0 0 0 !important;
    max-width:620px !important;
  }

  .hero-actions{
    margin:18px 0 0 0 !important;
    align-self:end !important;
  }
}

@media (max-width:1180px){
  .hero{
    gap:18px !important;
  }

  .hero-copy{
    min-height:0 !important;
    padding:0 !important;
  }
}

@media (max-width:760px){
  .hero-copy{
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-start !important;
    align-items:flex-start !important;
    min-height:0 !important;
  }

  .hero h1{
    margin:0 0 18px 0 !important;
  }

  .hero-subtitle{
    margin:0 0 24px 0 !important;
  }

  .hero-actions{
    margin:0 !important;
  }
}


/* v172 — compact hero: remove empty spaces, text content unchanged */
@media (min-width:1181px){
  .hero{
    height:620px !important;
    min-height:620px !important;
    padding:38px 42px !important;
    gap:32px !important;
    align-items:stretch !important;
  }

  .hero-copy{
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:flex-start !important;
    min-height:100% !important;
    padding:0 !important;
  }

  .hero-kicker{
    margin:0 0 28px 0 !important;
    min-height:46px !important;
  }

  .hero h1{
    margin:0 0 24px 0 !important;
    max-width:650px !important;
    font-size:84px !important;
    line-height:.9 !important;
  }

  .hero-subtitle{
    margin:0 0 30px 0 !important;
    max-width:640px !important;
    font-size:17px !important;
    line-height:1.58 !important;
  }

  .hero-actions{
    margin:0 !important;
  }

  .primary-btn,
  .secondary-btn{
    min-height:56px !important;
    padding:0 30px !important;
  }
}

@media (max-width:1180px){
  .hero{
    height:auto !important;
    min-height:0 !important;
    padding:26px !important;
    gap:20px !important;
  }

  .hero-copy{
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-start !important;
    padding:0 !important;
    min-height:0 !important;
  }

  .hero-kicker{
    margin:0 0 22px 0 !important;
  }

  .hero h1{
    margin:0 0 20px 0 !important;
  }

  .hero-subtitle{
    margin:0 0 24px 0 !important;
  }

  .hero-actions{
    margin:0 !important;
  }
}

@media (max-width:760px){
  .hero{
    padding:18px !important;
    gap:16px !important;
  }

  .hero-kicker{
    margin-bottom:16px !important;
  }

  .hero h1{
    margin-bottom:16px !important;
  }

  .hero-subtitle{
    margin-bottom:20px !important;
  }
}


/* v173 — hero text placement aligned closer to provided reference */
@media (min-width:1181px){
  .hero-copy{
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-start !important;
    align-items:flex-start !important;
    padding-top:42px !important;
    padding-bottom:20px !important;
  }

  .hero-kicker{
    margin:0 0 26px 0 !important;
    width:auto !important;
    max-width:680px !important;
  }

  .hero h1{
    margin:0 0 20px 0 !important;
    max-width:620px !important;
    align-self:flex-start !important;
  }

  .hero-subtitle{
    margin:0 0 28px 0 !important;
    max-width:610px !important;
    align-self:flex-start !important;
  }

  .hero-actions{
    margin:0 !important;
    gap:16px !important;
    justify-content:flex-start !important;
  }
}

@media (max-width:1180px){
  .hero-copy{
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-start !important;
    align-items:flex-start !important;
    padding-top:6px !important;
    padding-bottom:0 !important;
  }

  .hero-kicker{
    margin:0 0 18px 0 !important;
    width:auto !important;
    max-width:100% !important;
  }

  .hero h1{
    margin:0 0 16px 0 !important;
    max-width:540px !important;
  }

  .hero-subtitle{
    margin:0 0 24px 0 !important;
    max-width:560px !important;
  }

  .hero-actions{
    margin:0 !important;
    gap:14px !important;
    flex-wrap:wrap !important;
    justify-content:flex-start !important;
  }
}

@media (max-width:760px){
  .hero{
    padding-top:14px !important;
  }

  .hero-copy{
    padding-top:0 !important;
    min-height:0 !important;
  }

  .hero-kicker{
    margin-bottom:14px !important;
    max-width:100% !important;
  }

  .hero h1{
    margin:0 0 16px 0 !important;
    max-width:460px !important;
  }

  .hero-subtitle{
    margin:0 0 20px 0 !important;
    max-width:100% !important;
  }

  .hero-actions{
    gap:12px !important;
    width:100% !important;
  }
}


/* v174 — visible hero layout change, text unchanged */
@media (min-width:1181px){
  .hero{
    height:620px !important;
    min-height:620px !important;
    padding:34px 42px !important;
    gap:34px !important;
    align-items:stretch !important;
  }

  .hero-copy{
    display:block !important;
    padding:0 !important;
    min-height:0 !important;
    height:auto !important;
  }

  .hero-kicker{
    display:inline-flex !important;
    margin:0 0 26px 0 !important;
    min-height:46px !important;
    padding:0 20px !important;
    max-width:680px !important;
  }

  .hero h1{
    margin:0 0 24px 0 !important;
    max-width:690px !important;
    font-size:96px !important;
    line-height:.88 !important;
    letter-spacing:-.072em !important;
  }

  .hero-subtitle{
    margin:0 0 28px 0 !important;
    max-width:660px !important;
    font-size:18px !important;
    line-height:1.5 !important;
  }

  .hero-actions{
    display:flex !important;
    justify-content:flex-start !important;
    align-items:center !important;
    gap:16px !important;
    margin:0 !important;
  }

  .primary-btn,
  .secondary-btn{
    min-height:56px !important;
    padding:0 30px !important;
    font-size:15px !important;
  }
}

@media (max-width:1180px){
  .hero{
    height:auto !important;
    min-height:0 !important;
    padding:24px !important;
  }

  .hero-copy{
    display:block !important;
    padding:0 !important;
  }

  .hero-kicker{
    margin:0 0 18px 0 !important;
  }

  .hero h1{
    margin:0 0 18px 0 !important;
    max-width:620px !important;
  }

  .hero-subtitle{
    margin:0 0 24px 0 !important;
    max-width:620px !important;
  }

  .hero-actions{
    justify-content:flex-start !important;
    margin:0 !important;
  }
}

@media (max-width:760px){
  .hero{
    padding:18px !important;
  }

  .hero h1{
    margin-bottom:16px !important;
  }

  .hero-subtitle{
    margin-bottom:20px !important;
  }

  .hero-actions{
    gap:12px !important;
  }
}


/* v175 — hero text breathing + larger action pills */

@media (min-width:1181px){
  .hero-copy{
    max-width:700px !important;
  }

  .hero h1{
    max-width:700px !important;
    font-size:92px !important;
    line-height:0.94 !important;
    letter-spacing:-0.048em !important;
    margin:0 0 28px 0 !important;
  }

  .hero-subtitle{
    max-width:650px !important;
    font-size:19px !important;
    line-height:1.58 !important;
    margin:0 0 34px 0 !important;
  }

  .hero-actions{
    gap:18px !important;
  }

  .hero-actions .primary-btn,
  .hero-actions .secondary-btn{
    min-height:68px !important;
    padding:0 36px !important;
    font-size:18px !important;
    font-weight:900 !important;
  }
}

@media (max-width:1180px){
  .hero-copy{
    max-width:100% !important;
  }

  .hero h1{
    max-width:100% !important;
    line-height:0.94 !important;
    letter-spacing:-0.04em !important;
    margin:0 0 22px 0 !important;
  }

  .hero-subtitle{
    max-width:100% !important;
    font-size:17px !important;
    line-height:1.62 !important;
    margin:0 0 28px 0 !important;
  }

  .hero-actions{
    gap:14px !important;
  }

  .hero-actions .primary-btn,
  .hero-actions .secondary-btn{
    min-height:64px !important;
    padding:0 30px !important;
    font-size:17px !important;
  }
}

@media (max-width:760px){
  .hero{
    padding:22px !important;
  }

  .hero h1{
    font-size:72px !important;
    line-height:0.93 !important;
    letter-spacing:-0.035em !important;
    margin:0 0 20px 0 !important;
  }

  .hero-subtitle{
    font-size:16px !important;
    line-height:1.65 !important;
    margin:0 0 26px 0 !important;
  }

  .hero-actions{
    width:100% !important;
    gap:14px !important;
  }

  .hero-actions .primary-btn,
  .hero-actions .secondary-btn{
    width:calc(50% - 7px) !important;
    min-height:66px !important;
    padding:0 18px !important;
    font-size:16px !important;
    border-radius:999px !important;
  }
}

@media (max-width:520px){
  .hero h1{
    font-size:62px !important;
    line-height:0.94 !important;
  }

  .hero-actions .primary-btn,
  .hero-actions .secondary-btn{
    min-height:64px !important;
    font-size:15px !important;
  }
}


/* v176 — card/modal images in native ratio with blurred fill inside same frame */

.category-photo,
.product-photo,
.gallery-main{
  background:#ebe5dd !important;
}

.category-photo{
  display:flex;
  align-items:center;
  justify-content:center;
}

.category-photo::before,
.product-photo-blur,
.gallery-main::before{
  background-position:center center !important;
  background-repeat:no-repeat !important;
  background-size:cover !important;
  opacity:.84 !important;
}

.category-photo::before,
.product-photo-blur{
  inset:-14% !important;
  filter:blur(32px) saturate(1.08) brightness(1.03) !important;
  transform:scale(1.14) !important;
}

.category-photo img,
.product-photo-main{
  position:relative !important;
  z-index:2 !important;
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  padding:14px !important;
}

.product-photo{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.gallery-main{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.gallery-main::before{
  inset:-14% !important;
  filter:blur(34px) saturate(1.08) brightness(1.03) !important;
  transform:scale(1.14) !important;
  opacity:.88 !important;
}

.gallery-main img{
  position:relative !important;
  inset:auto !important;
  z-index:1 !important;
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  padding:16px !important;
  border-radius:26px !important;
}

.gallery-main::after{
  background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,0) 18%,rgba(255,255,255,0) 80%,rgba(255,255,255,.18)) !important;
}

@media (max-width:900px){
  .product-photo{
    height:400px !important;
    flex-basis:400px !important;
  }

  .category-photo{
    height:220px !important;
  }

  .gallery-main img{
    padding:12px !important;
  }
}

@media (max-width:640px){
  .product-photo{
    height:360px !important;
    flex-basis:360px !important;
  }

  .category-photo{
    height:210px !important;
  }

  .category-photo img,
  .product-photo-main{
    padding:10px !important;
  }

  .gallery-main img{
    padding:10px !important;
  }
}


/* v177 — front product cards use filled image block */
.product-photo{
  overflow:hidden !important;
  background:#e9e3da !important;
}
.product-photo-blur{
  opacity:.28 !important;
  inset:-10% !important;
  filter:blur(24px) saturate(1.04) brightness(1.02) !important;
}
.product-photo-main{
  width:100% !important;
  height:100% !important;
  padding:0 !important;
  object-fit:cover !important;
  object-position:center center !important;
  border-radius:0 !important;
}
/* modal/gallery keep full image visible */
.gallery-main img{
  object-fit:contain !important;
  padding:16px !important;
  border-radius:26px !important;
}


/* v178 — modal image area enlarged, photo keeps its native proportion inside the same frame */
.modal-grid{
  grid-template-columns:minmax(700px,1.08fr) minmax(540px,.92fr) !important;
}
.modal-gallery{
  padding:18px 18px 116px !important;
  background:linear-gradient(180deg,#fbf8f4 0%,#f4eee7 100%) !important;
}
.gallery-main{
  inset:18px 18px 118px 18px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:26px !important;
  background:#e9e2d8 !important;
}
.gallery-main::before{
  inset:-12% !important;
  opacity:.86 !important;
  filter:blur(42px) saturate(1.06) brightness(1.02) !important;
  transform:scale(1.16) !important;
  background-size:cover !important;
  background-position:center center !important;
}
.gallery-main img{
  position:relative !important;
  inset:auto !important;
  z-index:2 !important;
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  padding:0 !important;
  border-radius:26px !important;
}
.gallery-main::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  z-index:1 !important;
  pointer-events:none !important;
  background:linear-gradient(180deg,rgba(255,255,255,.20),rgba(255,255,255,0) 20%,rgba(255,255,255,0) 80%,rgba(255,255,255,.16)) !important;
}
.gallery-thumbs{
  left:28px !important;
  right:28px !important;
  bottom:24px !important;
  gap:10px !important;
  padding:10px 12px !important;
  border-radius:22px !important;
  background:rgba(255,255,255,.72) !important;
  border:1px solid rgba(255,255,255,.66) !important;
  box-shadow:0 18px 36px rgba(20,16,12,.14) !important;
  backdrop-filter:blur(12px) !important;
}
.thumb{
  width:74px !important;
  height:58px !important;
  flex:0 0 74px !important;
  border-radius:14px !important;
  padding:2px !important;
}
.thumb img{
  object-fit:cover !important;
  border-radius:11px !important;
}
@media (max-width:1180px){
  .modal-grid{
    grid-template-columns:1fr !important;
    height:auto !important;
    min-height:0 !important;
  }
  .modal-gallery{
    min-height:700px !important;
  }
}
@media (max-width:760px){
  .modal-gallery{
    padding:14px 14px 104px !important;
    min-height:560px !important;
  }
  .gallery-main{
    inset:14px 14px 106px 14px !important;
  }
  .gallery-thumbs{
    left:20px !important;
    right:20px !important;
    bottom:18px !important;
    padding:8px 10px !important;
  }
  .thumb{
    width:68px !important;
    height:54px !important;
    flex-basis:68px !important;
  }
}


/* v179 — GLOBAL media fill: full image + duplicated blurred background in every card/gallery frame */

/* Shared media-frame behavior */
.category-photo,
.product-photo,
.gallery-main{
  position:relative !important;
  overflow:hidden !important;
  background:#e9e3da !important;
  isolation:isolate !important;
}

/* Blurred duplicate background for category cards */
.category-photo::before{
  content:"" !important;
  position:absolute !important;
  inset:-16% !important;
  z-index:0 !important;
  display:block !important;
  background-image:var(--media-bg, var(--category-bg, none)) !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
  filter:blur(34px) saturate(1.08) brightness(1.03) !important;
  transform:scale(1.16) !important;
  opacity:.92 !important;
  pointer-events:none !important;
}

/* Blurred duplicate background for product cards */
.product-photo::before{
  content:"" !important;
  position:absolute !important;
  inset:-16% !important;
  z-index:0 !important;
  display:block !important;
  background-image:var(--media-bg, none) !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
  filter:blur(34px) saturate(1.08) brightness(1.03) !important;
  transform:scale(1.16) !important;
  opacity:.92 !important;
  pointer-events:none !important;
}

/* Existing product blur div stays as extra fallback */
.product-photo-blur{
  display:block !important;
  opacity:.65 !important;
  inset:-16% !important;
  z-index:0 !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
  filter:blur(34px) saturate(1.08) brightness(1.03) !important;
  transform:scale(1.16) !important;
}

/* Blurred duplicate background for modal/gallery */
.gallery-main::before{
  content:"" !important;
  position:absolute !important;
  inset:-16% !important;
  z-index:0 !important;
  display:block !important;
  background-image:var(--media-bg, var(--gallery-bg, var(--modal-gallery-bg, none))) !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
  filter:blur(40px) saturate(1.08) brightness(1.03) !important;
  transform:scale(1.16) !important;
  opacity:.95 !important;
  pointer-events:none !important;
}

/* Foreground image: full photo in its native ratio, no crop */
.category-photo img,
.product-photo-main,
.gallery-main img{
  position:relative !important;
  inset:auto !important;
  z-index:2 !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  border-radius:inherit !important;
}

/* Card foreground padding keeps image from touching the frame */
.category-photo img{
  padding:12px !important;
}
.product-photo-main{
  padding:14px !important;
}

/* Modal photo should be as large as possible while keeping its actual ratio */
.gallery-main img{
  padding:0 !important;
  border-radius:26px !important;
}

/* Soft overlay over blurred empty areas only */
.category-photo::after,
.product-photo::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  z-index:1 !important;
  pointer-events:none !important;
  background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,0) 20%,rgba(255,255,255,0) 80%,rgba(255,255,255,.14)) !important;
}

/* Badges must stay above image and blur */
.product-badges,
.category-photo .badge{
  z-index:5 !important;
}

/* Modal bottom thumbs stay above all image layers */
.gallery-thumbs,
.gal-arrow,
.gal-counter{
  z-index:8 !important;
}

@media (max-width:900px){
  .category-photo img,
  .product-photo-main{
    padding:10px !important;
  }
}

@media (max-width:640px){
  .category-photo img,
  .product-photo-main{
    padding:8px !important;
  }

  .gallery-main img{
    padding:0 !important;
  }
}


/* v180 — front cards are image-fill; modal empty areas are filled by the same blurred photo INSIDE the image frame */

/* Front product/category cards: заливка, без пустых полос */
.product-photo,
.category-photo{
  overflow:hidden !important;
  background:#e9e3da !important;
}

.product-photo-main,
.category-photo img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  padding:0 !important;
  border-radius:0 !important;
}

/* Blur layer stays only as safety background, but foreground image fills the frame */
.product-photo::before,
.category-photo::before,
.product-photo-blur{
  opacity:.35 !important;
}

/* Modal/gallery: the whole left image area becomes one media-frame */
.modal-gallery{
  position:relative !important;
  padding:18px !important;
  overflow:hidden !important;
  background:#f4eee7 !important;
}

.gallery-main{
  position:absolute !important;
  inset:18px !important;
  border-radius:26px !important;
  overflow:hidden !important;
  background:#e9e3da !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  isolation:isolate !important;
}

/* The duplicated blurred photo fills ALL empty space inside the image frame */
.gallery-main::before{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:-18% !important;
  z-index:0 !important;
  background-image:var(--media-bg, var(--gallery-bg, var(--modal-gallery-bg, none))) !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
  filter:blur(42px) saturate(1.08) brightness(1.03) !important;
  transform:scale(1.18) !important;
  opacity:.96 !important;
  pointer-events:none !important;
}

/* Main modal image keeps its own proportions */
.gallery-main img{
  position:relative !important;
  inset:auto !important;
  z-index:2 !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  padding:0 !important;
  border-radius:26px !important;
}

.gallery-main::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  z-index:1 !important;
  pointer-events:none !important;
  background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,0) 18%,rgba(255,255,255,0) 82%,rgba(255,255,255,.16)) !important;
}

/* Thumbnails overlay inside the same photo frame, no separate empty beige block */
.gallery-thumbs{
  left:28px !important;
  right:28px !important;
  bottom:28px !important;
  z-index:8 !important;
  padding:10px 12px !important;
  border-radius:22px !important;
  background:rgba(255,255,255,.66) !important;
  border:1px solid rgba(255,255,255,.72) !important;
  box-shadow:0 18px 36px rgba(20,16,12,.16) !important;
  backdrop-filter:blur(14px) !important;
  -webkit-backdrop-filter:blur(14px) !important;
}

.gal-arrow,
.gal-counter{
  z-index:9 !important;
}

@media (max-width:1180px){
  .modal-gallery{
    min-height:700px !important;
    padding:16px !important;
  }

  .gallery-main{
    inset:16px !important;
  }
}

@media (max-width:760px){
  .modal-gallery{
    min-height:560px !important;
    padding:12px !important;
  }

  .gallery-main{
    inset:12px !important;
    border-radius:22px !important;
  }

  .gallery-main img{
    border-radius:22px !important;
  }

  .gallery-thumbs{
    left:20px !important;
    right:20px !important;
    bottom:20px !important;
    padding:8px 10px !important;
  }
}


/* v181 — wider product modal internals */
@media (min-width:1181px){
  .modal{
    padding:18px !important;
  }

  .modal-card{
    width:min(1760px, calc(100vw - 54px)) !important;
    max-width:none !important;
    border-radius:34px !important;
  }

  .modal-grid{
    grid-template-columns:minmax(860px, 1.28fr) minmax(520px, .72fr) !important;
    height:min(860px, calc(100vh - 54px)) !important;
    min-height:760px !important;
  }

  .modal-gallery{
    padding:22px 22px 122px !important;
  }

  .gallery-main{
    inset:22px 22px 126px 22px !important;
    border-radius:28px !important;
  }

  .gallery-main img{
    border-radius:28px !important;
  }

  .gallery-thumbs{
    left:34px !important;
    right:34px !important;
    bottom:28px !important;
    min-height:74px !important;
  }

  .thumb{
    width:84px !important;
    height:62px !important;
    flex-basis:84px !important;
  }

  .modal-info{
    padding:48px 42px 42px !important;
  }

  .modal-info h2{
    font-size:52px !important;
    line-height:.96 !important;
  }

  .modal-short{
    font-size:18px !important;
    line-height:1.55 !important;
  }

  .spec-grid{
    gap:14px !important;
  }

  .spec-grid div{
    padding:20px 22px !important;
    border-radius:20px !important;
  }
}

/* Large desktop: use almost the whole available width */
@media (min-width:1600px){
  .modal-card{
    width:min(1840px, calc(100vw - 70px)) !important;
  }

  .modal-grid{
    grid-template-columns:minmax(980px, 1.34fr) minmax(560px, .66fr) !important;
  }
}

/* Laptop safety */
@media (min-width:1181px) and (max-width:1350px){
  .modal-card{
    width:calc(100vw - 32px) !important;
  }

  .modal-grid{
    grid-template-columns:minmax(680px, 1.12fr) minmax(460px, .88fr) !important;
  }

  .modal-info{
    padding:34px 30px 32px !important;
  }
}


/* v182 — switch page audio cleanup */

/* Remove the separate large audio strip on switch page */
#audioStrip,
.audio-strip,
.audio-card{
  display:none !important;
}

/* Inline product-card audio should be a normal full-width sound track, not a tiny widget */
.product-card.has-audio .card-audio{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  margin:12px 0 10px !important;
  padding:10px 12px !important;
  border-radius:18px !important;
  background:#fbf8f3 !important;
  border:1px solid rgba(23,21,19,.10) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75) !important;
}

.product-card.has-audio .card-audio .audio-demo{
  display:grid !important;
  grid-template-columns:44px minmax(0,1fr) !important;
  align-items:center !important;
  gap:12px !important;
  width:100% !important;
}

.product-card.has-audio .card-audio .audio-play{
  width:44px !important;
  height:44px !important;
  min-width:44px !important;
  border-radius:14px !important;
  background:#171513 !important;
  color:#fff !important;
}

.product-card.has-audio .card-audio .audio-track-shell{
  min-width:0 !important;
  width:100% !important;
}

.product-card.has-audio .card-audio .audio-track-top{
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  gap:10px !important;
  margin:0 0 7px !important;
}

.product-card.has-audio .card-audio .audio-track-top b{
  display:block !important;
  font-size:12px !important;
  line-height:1 !important;
  color:#171513 !important;
  font-weight:950 !important;
}

.product-card.has-audio .card-audio .audio-time{
  display:block !important;
  font-size:10px !important;
  line-height:1 !important;
  color:#9a8f85 !important;
  white-space:nowrap !important;
}

.product-card.has-audio .card-audio .audio-progress{
  width:100% !important;
  height:5px !important;
  margin:0 0 8px !important;
  border-radius:999px !important;
  background:#e5ddd3 !important;
}

.product-card.has-audio .card-audio .audio-wave{
  display:flex !important;
  align-items:end !important;
  justify-content:space-between !important;
  gap:3px !important;
  width:100% !important;
  height:28px !important;
  overflow:hidden !important;
}

.product-card.has-audio .card-audio .audio-bar{
  flex:1 1 auto !important;
  min-width:2px !important;
  max-width:5px !important;
  border-radius:999px !important;
  background:#d8d0c7 !important;
}

/* Keep hidden helper labels hidden, but not the actual track label/time */
.product-card.has-audio .card-audio-head,
.product-card.has-audio .audio-track-status{
  display:none !important;
}

/* Mobile: make track still readable */
@media (max-width:760px){
  .product-card.has-audio .card-audio{
    margin:14px 0 12px !important;
    padding:12px !important;
    border-radius:18px !important;
  }

  .product-card.has-audio .card-audio .audio-demo{
    grid-template-columns:46px minmax(0,1fr) !important;
    gap:12px !important;
  }

  .product-card.has-audio .card-audio .audio-play{
    width:46px !important;
    height:46px !important;
    min-width:46px !important;
  }

  .product-card.has-audio .card-audio .audio-wave{
    height:30px !important;
  }
}


/* v183 — visible audio-wave animation fix */
/* Previous v182 full-width track overrode .is-active/.is-current bar colors. */

.product-card.has-audio .card-audio .audio-bar{
  transition:
    background-color .12s ease,
    opacity .12s ease,
    transform .12s ease,
    box-shadow .12s ease !important;
  transform-origin:50% 100% !important;
}

/* Played bars */
.product-card.has-audio .card-audio .audio-bar.is-active{
  background:#171513 !important;
  opacity:.92 !important;
  transform:scaleY(1.08) !important;
}

/* Current click/bar — this is the visible “typing” animation */
.product-card.has-audio .card-audio .audio-bar.is-current{
  background:#171513 !important;
  opacity:1 !important;
  transform:scaleY(1.36) !important;
  box-shadow:0 0 0 2px rgba(23,21,19,.08), 0 8px 16px rgba(23,21,19,.18) !important;
  animation: uxes7CurrentAudioBar .18s ease-out both !important;
}

/* When audio plays, make the whole wave feel alive */
.product-card.has-audio .audio-demo.playing .audio-wave{
  opacity:1 !important;
}

.product-card.has-audio .audio-demo.playing .audio-progress-fill{
  background:#171513 !important;
  box-shadow:0 0 0 1px rgba(23,21,19,.06), 0 0 18px rgba(23,21,19,.16) !important;
}

@keyframes uxes7CurrentAudioBar{
  0%{
    transform:scaleY(.72);
  }
  55%{
    transform:scaleY(1.42);
  }
  100%{
    transform:scaleY(1.18);
  }
}

/* Global fallback for any audio demo, not only product cards */
.audio-demo .audio-bar.is-active{
  background:#171513 !important;
  opacity:.9 !important;
}

.audio-demo .audio-bar.is-current{
  background:#171513 !important;
  opacity:1 !important;
  transform:scaleY(1.32) !important;
  box-shadow:0 7px 16px rgba(23,21,19,.16) !important;
}


/* v184 — symmetric filter layout for custom keyboards */
#subFilters.cat-custom .filter-groups{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:14px !important;
}
#subFilters.cat-custom .filter-group{
  min-width:0;
}
#subFilters.cat-custom .filter-trigger{
  min-height:60px;
}
@media (max-width:1180px){
  #subFilters.cat-custom .filter-groups{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media (max-width:640px){
  #subFilters.cat-custom .filter-groups{
    grid-template-columns:1fr !important;
  }
}


/* v185 — switch pack selector: front 10шт, modal 10/45/70/90/110 */
.pack-face{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:44px;
  padding:0 14px;
  margin:4px 0 2px;
  border-radius:16px;
  background:#f7f2ec;
  border:1px solid rgba(23,21,19,.10);
}
.pack-face span{
  color:#91877d;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.pack-face b{
  color:#171513;
  font-size:14px;
  font-weight:950;
}
.modal-pack-selector{
  margin:16px 0 18px;
  padding:16px;
  border-radius:22px;
  background:#f8f4ee;
  border:1px solid rgba(23,21,19,.10);
}
.modal-pack-selector.hidden{display:none!important}
.modal-pack-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
  margin-bottom:12px;
}
.modal-pack-head span{
  color:#9a8f85;
  font-size:11px;
  font-weight:950;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.modal-pack-head b{
  color:#171513;
  font-size:14px;
  font-weight:950;
  text-align:right;
}
.pack-options{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
}
.pack-option{
  min-height:68px;
  padding:10px 8px;
  border-radius:16px;
  border:1px solid rgba(23,21,19,.12);
  background:#fffdf8;
  color:#171513;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  font-weight:950;
  transition:background .16s ease, border-color .16s ease, transform .16s ease;
}
.pack-option span{
  font-size:13px;
  line-height:1;
}
.pack-option b{
  font-size:12px;
  color:#6f6861;
}
.pack-option.active{
  background:#171513;
  border-color:#171513;
  color:#fff;
  transform:translateY(-1px);
}
.pack-option.active b{
  color:#fff;
}
.cart-item small{
  display:block;
  color:#8b8177;
  font-size:11px;
  font-weight:850;
  margin:3px 0 2px;
}
@media (max-width:760px){
  .pack-options{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .pack-option{
    min-height:62px;
  }
}
@media (max-width:420px){
  .pack-options{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}


/* v187 — BigLucky pack selector on face cards */
.card-pack-selector{display:flex;flex-direction:column;gap:10px;margin:4px 0 2px}
.card-pack-options{display:flex;flex-wrap:wrap;gap:8px}
.card-pack-option{min-height:34px;padding:0 12px;border-radius:999px;border:1px solid rgba(23,21,19,.12);background:#fffdf8;color:#171513;font-size:12px;font-weight:900;letter-spacing:-.01em;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease}
.card-pack-option:hover{transform:translateY(-1px)}
.card-pack-option.active{background:#171513;border-color:#171513;color:#fff}
.product-card .pack-face{margin:0}


/* v192 — identical audio-track dimensions in all switch product cards */
.product-card.has-audio .card-audio{
  box-sizing:border-box !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  height:82px !important;
  min-height:82px !important;
  max-height:82px !important;
  margin:20px 0 16px !important;
  padding:12px 14px !important;
  border-radius:18px !important;
  align-self:stretch !important;
  overflow:hidden !important;
}

.product-card.has-audio .card-audio .audio-demo{
  box-sizing:border-box !important;
  width:100% !important;
  height:58px !important;
  min-height:58px !important;
  max-height:58px !important;
  display:grid !important;
  grid-template-columns:48px minmax(0,1fr) !important;
  gap:14px !important;
  align-items:center !important;
}

.product-card.has-audio .card-audio .audio-play{
  width:48px !important;
  height:48px !important;
  min-width:48px !important;
  max-width:48px !important;
  border-radius:15px !important;
}

.product-card.has-audio .card-audio .audio-track-shell{
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  overflow:hidden !important;
}

.product-card.has-audio .card-audio .audio-track-top{
  height:14px !important;
  margin:0 0 7px !important;
  display:flex !important;
  align-items:center !important;
}

.product-card.has-audio .card-audio .audio-progress{
  width:100% !important;
  height:5px !important;
  min-height:5px !important;
  max-height:5px !important;
  margin:0 0 8px !important;
}

.product-card.has-audio .card-audio .audio-wave{
  width:100% !important;
  height:24px !important;
  min-height:24px !important;
  max-height:24px !important;
  display:grid !important;
  grid-template-columns:repeat(26,1fr) !important;
  gap:7px !important;
  align-items:end !important;
}

.product-card.has-audio .card-audio .audio-bar{
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  justify-self:stretch !important;
  border-radius:999px !important;
}

/* Make the row around the audio predictable so price/buttons don't visually shift it */
.product-card.has-audio .product-price{
  margin-top:auto !important;
}

@media (max-width:760px){
  .product-card.has-audio .card-audio{
    height:84px !important;
    min-height:84px !important;
    max-height:84px !important;
    margin:18px 0 16px !important;
    padding:12px !important;
  }

  .product-card.has-audio .card-audio .audio-demo{
    grid-template-columns:48px minmax(0,1fr) !important;
    height:60px !important;
    min-height:60px !important;
    max-height:60px !important;
  }

  .product-card.has-audio .card-audio .audio-wave{
    height:25px !important;
    grid-template-columns:repeat(24,1fr) !important;
    gap:6px !important;
  }
}


/* v208 base color variants */
.card-variant-selector,
.modal-variant-selector{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:4px 0 2px;
}
.card-variant-selector.hidden,
.modal-variant-selector.hidden{display:none!important}
.variant-face,
.modal-variant-head{
  min-height:38px;
  border:1px solid rgba(23,21,19,.12);
  background:#f7f2ea;
  border-radius:16px;
  padding:0 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.variant-face span,
.modal-variant-head span{
  color:#9b948a;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.variant-face b,
.modal-variant-head b{
  color:#171513;
  font-size:13px;
  font-weight:950;
  letter-spacing:-.02em;
}
.variant-options,
.modal-variant-options{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.variant-options.balanced,
.modal-variant-options.balanced{
  justify-content:center;
}
.variant-option,
.modal-variant-option{
  min-height:34px;
  padding:0 12px 0 8px;
  border-radius:999px;
  border:1px solid rgba(23,21,19,.12);
  background:#fffdf8;
  color:#171513;
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:12px;
  font-weight:900;
  letter-spacing:-.01em;
  transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.variant-option:hover,
.modal-variant-option:hover{transform:translateY(-1px)}
.variant-option i,
.modal-variant-option i{
  width:16px;
  height:16px;
  border-radius:999px;
  background:var(--variant-color,#d9d3c9);
  border:2px solid rgba(255,255,255,.92);
  box-shadow:0 0 0 1px rgba(23,21,19,.16), inset 0 0 0 1px rgba(0,0,0,.04);
  flex:0 0 auto;
}
.variant-option.active,
.modal-variant-option.active{
  background:#171513;
  border-color:#171513;
  color:#fff;
  box-shadow:0 10px 24px rgba(23,21,19,.14);
}
.modal-variant-selector{margin:18px 0 12px}
.modal-variant-head{background:#fbf7f0}
.modal-variant-option{min-height:42px;font-size:13px;padding-inline:10px 14px}
.modal-variant-option i{width:20px;height:20px}
@media (max-width:640px){
  .variant-options,.modal-variant-options{gap:6px}
  .variant-option,.modal-variant-option{min-height:32px;font-size:11px;padding-right:10px}
  .variant-option i,.modal-variant-option i{width:15px;height:15px}
}


/* v218 — reliable catalogue filters */
#subFilters.subfilters{
  overflow:visible !important;
  isolation:isolate;
}
#subFilters .filter-group.open{
  z-index:1000 !important;
}
#subFilters .filter-dropdown{
  z-index:1001;
  visibility:hidden;
  opacity:0;
  pointer-events:none;
  transform:translateY(-4px);
  transition:opacity .14s ease, transform .14s ease, visibility .14s ease;
}
#subFilters .filter-group.open .filter-dropdown{
  display:block;
  visibility:visible;
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

/* v220 — lighter catalogue cards and stable off-screen rendering */
.product-card{
  content-visibility:auto;
  contain-intrinsic-size:880px;
}
.product-photo::before,
.product-photo-blur{
  display:none !important;
}
.product-photo{
  background:#f2eee8 !important;
}




/* v226 — keyboard color options as compact swatch grid (no horizontal scroll) */
.product-card[data-cat="keyboard"] .card-variant-selector{
  min-height:88px;
  height:88px;
  max-height:88px;
  flex:0 0 88px;
  gap:8px;
  margin:4px 0 2px;
}
.product-card[data-cat="keyboard"] .variant-face{
  min-height:38px;
  height:38px;
  flex:0 0 38px;
}
.product-card[data-cat="keyboard"] .variant-options,
.product-card[data-cat="keyboard"] .variant-options.balanced{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  align-content:flex-start;
  align-items:flex-start;
  gap:8px;
  min-height:42px;
  max-height:42px;
  overflow:visible;
  padding:0;
}
.product-card[data-cat="keyboard"] .variant-option{
  width:30px;
  min-width:30px;
  max-width:30px;
  height:30px;
  min-height:30px;
  padding:0;
  border-radius:999px;
  justify-content:center;
  gap:0;
}
.product-card[data-cat="keyboard"] .variant-option span{
  display:none;
}
.product-card[data-cat="keyboard"] .variant-option i{
  width:16px;
  height:16px;
}
.product-card[data-cat="keyboard"] .variant-option.active{
  box-shadow:none;
}
.product-card[data-cat="keyboard"] .variant-option.active i{
  box-shadow:0 0 0 2px rgba(255,255,255,.95), 0 0 0 1px rgba(23,21,19,.28), inset 0 0 0 1px rgba(0,0,0,.05);
}


/* v228 — setup bundles and decor category */
.modal-related{
  margin-top:18px;
  padding-top:22px;
  border-top:1px solid var(--line);
}
.modal-related.hidden{display:none!important}
.modal-related-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:12px;
}
.setup-product-card{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:12px;
  border-radius:18px;
  border:1px solid var(--line);
  background:#f8f4ee;
  cursor:pointer;
  transition:transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.setup-product-card:hover{
  transform:translateY(-2px);
  border-color:rgba(23,21,19,.18);
  box-shadow:0 12px 24px rgba(23,21,19,.08);
  background:#fbf8f3;
}
.setup-product-photo{
  aspect-ratio:1 / 1;
  border-radius:14px;
  overflow:hidden;
  background:#efe8df;
}
.setup-product-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.setup-product-meta span{
  display:block;
  color:#9a8f85;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:6px;
}
.setup-product-meta h4{
  margin:0 0 8px;
  font-size:16px;
  line-height:1.18;
  letter-spacing:-.02em;
  font-weight:900;
}
.setup-product-meta b{
  font-size:18px;
  line-height:1;
  letter-spacing:-.03em;
}
@media (max-width:760px){
  .modal-related-grid{grid-template-columns:1fr;}
}


/* v233 — setup extra add-ons section */
.setup-extras-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:12px;
}
.setup-extra-card{
  padding:16px 18px;
  border-radius:18px;
  border:1px solid var(--line);
  background:#f8f4ee;
}
.setup-extra-meta h4{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.1;
  letter-spacing:-.02em;
  font-weight:900;
}
.setup-extra-meta p{
  margin:0 0 10px;
  color:#6e6861;
  font-size:14px;
  line-height:1.5;
}
.setup-extra-meta b{
  font-size:16px;
  line-height:1;
  font-weight:900;
}


/* v234 — selectable setup extra product card */
.setup-extra-product{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:14px;
  align-items:center;
  cursor:pointer;
  transition:transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.setup-extra-product:hover{
  transform:translateY(-2px);
  border-color:rgba(23,21,19,.18);
  box-shadow:0 12px 24px rgba(23,21,19,.08);
}
.setup-extra-product.active{
  border-color:#171513;
  background:#f3eee6;
  box-shadow:0 10px 20px rgba(23,21,19,.08);
}
.setup-extra-photo{
  width:120px;
  aspect-ratio:1 / 1;
  border-radius:14px;
  overflow:hidden;
  background:#efe8df;
}
.setup-extra-photo img{
  width:100%;height:100%;display:block;object-fit:cover;
}
.setup-extra-meta span{
  display:block;
  color:#9a8f85;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:6px;
}
.setup-extra-meta em{
  display:block;
  margin-top:8px;
  color:#7b746d;
  font-size:12px;
  font-style:normal;
  font-weight:700;
}
@media (max-width:760px){
  .setup-extra-product{grid-template-columns:88px 1fr;}
  .setup-extra-photo{width:88px;}
}


/* v238 — clickable setup hotspots */
.modal-hotspots{
  position:absolute;
  inset:0;
  z-index:8;
}
.modal-hotspots.hidden{display:none!important}
.setup-hotspot{
  position:absolute;
  transform:translate(-50%,-50%);
  background:none;
  border:none;
  padding:0;
  cursor:pointer;
}
.setup-hotspot-dot{
  width:18px;
  height:18px;
  display:block;
  border-radius:999px;
  background:#fff;
  border:3px solid #171513;
  box-shadow:0 0 0 6px rgba(255,255,255,.18), 0 10px 24px rgba(0,0,0,.24);
}
.setup-hotspot-dot::after{
  content:"";
  position:absolute;
  inset:-8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.65);
  animation:hotspotPulse 1.8s ease-out infinite;
}
.setup-hotspot.active .setup-hotspot-dot{
  background:#171513;
  border-color:#fff;
}
.setup-hotspot-card{
  position:absolute;
  left:14px;
  top:14px;
  width:190px;
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(255,255,255,.85);
  box-shadow:0 14px 30px rgba(0,0,0,.22);
  backdrop-filter:blur(10px);
  text-align:left;
}
.setup-hotspot-tag{
  color:#8d7b5d;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.setup-hotspot-name{
  color:#171513;
  font-size:14px;
  line-height:1.22;
  font-weight:900;
}
.setup-hotspot-price{
  color:#171513;
  font-size:15px;
  line-height:1;
  font-weight:900;
}
.setup-hotspot-open{
  margin-top:4px;
  display:inline-flex;
  align-self:flex-start;
  padding:8px 10px;
  border-radius:999px;
  background:#171513;
  color:#fff;
  font-size:12px;
  font-weight:800;
}
@keyframes hotspotPulse{
  0%{transform:scale(.7);opacity:.9}
  100%{transform:scale(1.45);opacity:0}
}
@media (max-width:760px){
  .setup-hotspot-dot{width:16px;height:16px;border-width:2px}
  .setup-hotspot-card{width:168px;padding:10px 12px}
  .setup-hotspot-name{font-size:13px}
  .setup-hotspot-price{font-size:14px}
}


/* v239 — hotspot mini photo and smarter popup placement */
.setup-hotspot-photo{
  display:block;
  width:100%;
  aspect-ratio:1.45 / 1;
  border-radius:12px;
  overflow:hidden;
  background:#efe8df;
  margin-bottom:6px;
}
.setup-hotspot-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.setup-hotspot.is-up .setup-hotspot-card{
  top:auto;
  bottom:14px;
}
.setup-hotspot.is-left .setup-hotspot-card{
  left:auto;
  right:14px;
}
.setup-hotspot.is-right .setup-hotspot-card{
  left:14px;
  right:auto;
}
@media (max-width:760px){
  .setup-hotspot-photo{aspect-ratio:1.4 / 1;}
}


/* v240 — filled hotspot preview while images load */
.setup-hotspot-photo{
  position:relative;
  isolation:isolate;
  background:#ddd5ca;
}
.setup-hotspot-photo::before{
  content:"";
  position:absolute;
  z-index:0;
  inset:-8px;
  background-image:var(--hotspot-bg);
  background-position:center;
  background-size:cover;
  filter:blur(10px) saturate(.9);
  transform:scale(1.08);
  opacity:.48;
}
.setup-hotspot-photo::after{
  content:"";
  position:absolute;
  z-index:2;
  inset:0;
  background:linear-gradient(105deg,rgba(255,255,255,.16) 18%,rgba(255,255,255,.66) 42%,rgba(255,255,255,.16) 66%);
  background-size:220% 100%;
  animation:hotspotImageLoading 1.15s linear infinite;
  opacity:1;
  transition:opacity .2s ease;
}
.setup-hotspot-photo img{
  position:relative;
  z-index:1;
  object-fit:contain;
  opacity:0;
  transition:opacity .2s ease;
}
.setup-hotspot-photo.is-loaded img{
  opacity:1;
}
.setup-hotspot-photo.is-loaded::after,
.setup-hotspot-photo.is-error::after{
  opacity:0;
  animation:none;
}
.setup-hotspot-photo.is-error::before{
  opacity:.2;
}
@keyframes hotspotImageLoading{
  from{background-position:180% 0}
  to{background-position:-40% 0}
}


/* v243 — symmetric desktop category layout with PC category */
@media (min-width:1101px){
  .tabs{grid-template-columns:repeat(6,minmax(0,1fr)) !important;}
  #tabs .tab-btn[data-tab="all"]{grid-column:span 2;}
}


/* v249 — cleaner add-on cards and more air between major catalog sections */
.setup-extra-product{
  grid-template-columns:150px minmax(0,1fr);
  align-items:stretch;
}
.setup-extra-photo{
  width:100%;
  height:100%;
  min-height:154px;
  aspect-ratio:auto;
  align-self:stretch;
}
.setup-extra-photo img{
  object-fit:cover;
  object-position:center center;
}
.setup-extra-meta{
  align-self:start;
  padding-top:2px;
}

@media (min-width:1101px){
  .catalog{
    padding-top:110px;
  }
  .section-head-catalog{
    margin:0 0 34px;
  }
  .scenario-panel{
    margin-bottom:112px;
  }
  .category-heading{
    margin:0 0 30px;
  }
  #categoryGrid{
    margin-bottom:112px;
  }
  #productsArea{
    margin-top:112px;
  }
  .support{
    margin-top:120px;
  }
}

@media (max-width:760px){
  .setup-extra-product{
    grid-template-columns:104px minmax(0,1fr);
  }
  .setup-extra-photo{
    width:100%;
    min-height:124px;
  }
}


/* v250 — remove oversized gap when a category is opened */
@media (min-width:1101px){
  .catalog.category-open{
    padding-top:28px;
  }
  .catalog.category-open #productsArea{
    margin-top:0;
  }
}


/* v251 — tighter landing page rhythm */
@media (min-width:1101px){
  .catalog{
    padding-top:44px;
  }
  .section-head-catalog{
    margin:0 0 22px;
  }
  .scenario-panel{
    margin-bottom:52px;
  }
  .category-heading{
    margin:0 0 22px;
  }
  #categoryGrid{
    margin-bottom:56px;
  }
  #productsArea{
    margin-top:56px;
  }
  .support{
    margin-top:72px;
  }
  .catalog.category-open{
    padding-top:18px;
  }
}

.product-photo.image-error::before{content:"Фото временно недоступно";position:absolute;inset:0;display:grid;place-items:center;padding:24px;text-align:center;color:#7d756e;font-weight:800;z-index:1}.product-photo-main{transition:opacity .18s ease}


/* v273 — add-on quantity controls */
.setup-extra-controls{
  display:inline-grid;
  grid-template-columns:38px 48px 38px;
  align-items:center;
  margin-top:12px;
  border:1px solid rgba(23,21,19,.16);
  border-radius:999px;
  overflow:hidden;
  background:#fff;
}
.setup-extra-controls button{
  width:38px;height:36px;border:0;background:#171513;color:#fff;
  font-size:21px;font-weight:900;cursor:pointer;line-height:1;
}
.setup-extra-controls button:hover{background:#36312d;}
.setup-extra-controls strong{
  display:grid;place-items:center;height:36px;font-size:15px;font-weight:900;
  color:#171513;background:#fff;
}
.setup-extra-product.active .setup-extra-controls{box-shadow:0 0 0 2px rgba(23,21,19,.06);}
@media (max-width:760px){
  .setup-extra-controls{grid-template-columns:34px 42px 34px;}
  .setup-extra-controls button{width:34px;height:34px;}
  .setup-extra-controls strong{height:34px;}
}

/* v274 — Ultra Quality Photos
   Full-size originals on cards, lossless HQ assets for Setup №3,
   DM30, wall organizer and all pegboard modules. */
.product-photo-main,
.gallery-main img,
.gallery-thumbs img,
.setup-product-photo img,
.setup-extra-photo img,
.cart-item img{
  image-rendering:auto !important;
  filter:none !important;
}


/* v276 — compact accessory mini-sections */
.accessory-mini-groups{
  margin:14px 0 20px;
  padding:16px;
}
.accessory-mini-groups.hidden{display:none!important}
.accessory-mini-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:12px;
}
.accessory-mini-head>div{
  display:flex;
  align-items:baseline;
  gap:10px;
  min-width:0;
}
.accessory-mini-head span{
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
  color:#8d857d;
}
.accessory-mini-head strong{
  font-size:15px;
  line-height:1.2;
}
.accessory-mini-all{
  border:1px solid #ded8d1;
  border-radius:999px;
  background:#fff;
  padding:9px 13px;
  font:inherit;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
  white-space:nowrap;
}
.accessory-mini-all.active{
  background:#171412;
  color:#fff;
  border-color:#171412;
}
.accessory-mini-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.accessory-mini-card{
  min-width:0;
  text-align:left;
  border:1px solid #e2dcd5;
  border-radius:18px;
  background:linear-gradient(145deg,#fff,#f5f1eb);
  padding:14px 15px;
  cursor:pointer;
  display:grid;
  gap:5px;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.accessory-mini-card:hover{
  transform:translateY(-2px);
  border-color:#aaa198;
  box-shadow:0 10px 24px rgba(29,24,20,.08);
}
.accessory-mini-card>span{
  font-size:18px;
  line-height:1.05;
  font-weight:950;
}
.accessory-mini-card>strong{
  font-size:12px;
  color:#625b55;
}
.accessory-mini-card>small{
  font-size:11px;
  line-height:1.35;
  color:#8a8179;
}
.accessory-mini-card.active{
  background:#171412;
  border-color:#171412;
  color:#fff;
  box-shadow:0 12px 28px rgba(23,20,18,.18);
}
.accessory-mini-card.active>strong,
.accessory-mini-card.active>small{color:#d9d2cb}
@media(max-width:760px){
  .accessory-mini-groups{padding:12px;margin:10px 0 16px}
  .accessory-mini-head{align-items:flex-start}
  .accessory-mini-head>div{display:grid;gap:3px}
  .accessory-mini-grid{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding-bottom:3px;
  }
  .accessory-mini-card{
    flex:0 0 78%;
    scroll-snap-align:start;
  }
}

/* v277 — reliable hotspot popup images */
.setup-hotspot-photo img{
  opacity:1 !important;
  visibility:visible !important;
}
.setup-hotspot-photo::after{
  pointer-events:none !important;
}
.setup-hotspot-photo.is-loaded::after,
.setup-hotspot-photo.is-error::after{
  display:none !important;
}
.setup-hotspot-photo.is-error{
  background-image:var(--hotspot-bg);
  background-position:center;
  background-size:contain;
  background-repeat:no-repeat;
}


/* v284 — real mini-categories inside Accessories */
.accessory-mini-groups{
  overflow:hidden;
  padding:18px;
  border:1px solid rgba(31,26,22,.08);
}
.accessory-mini-title{
  display:grid !important;
  gap:3px !important;
}
.accessory-mini-title span{
  font-size:10px;
  letter-spacing:.15em;
  font-weight:950;
  color:#8e857d;
}
.accessory-mini-title strong{
  font-size:18px;
  line-height:1.1;
}
.accessory-mini-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.accessory-mini-card{
  display:grid;
  grid-template-columns:104px minmax(0,1fr);
  align-items:stretch;
  gap:0;
  min-height:118px;
  padding:0;
  overflow:hidden;
  background:#fff;
}
.accessory-mini-cover{
  position:relative;
  display:block;
  min-height:118px;
  overflow:hidden;
  background:#eee9e3;
  background-image:var(--accessory-mini-image);
  background-size:cover;
  background-position:center;
}
.accessory-mini-cover::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(255,255,255,.05),rgba(0,0,0,.06));
}
.accessory-mini-cover img{
  width:100%;
  height:100%;
  min-height:118px;
  object-fit:cover;
  display:block;
}
.accessory-mini-copy{
  min-width:0;
  padding:14px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  text-align:left;
}
.accessory-mini-copy small{
  font-style:normal;
  font-size:9px;
  letter-spacing:.13em;
  font-weight:950;
  color:#91877e;
}
.accessory-mini-copy b{
  margin-top:4px;
  font-size:19px;
  line-height:1.02;
  font-weight:950;
}
.accessory-mini-copy em{
  margin-top:7px;
  font-style:normal;
  font-size:11px;
  font-weight:900;
  color:#625b55;
}
.accessory-mini-copy i{
  margin-top:4px;
  display:-webkit-box;
  overflow:hidden;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  font-style:normal;
  font-size:10px;
  line-height:1.3;
  color:#8a8179;
}
.accessory-mini-card.active .accessory-mini-copy small,
.accessory-mini-card.active .accessory-mini-copy em,
.accessory-mini-card.active .accessory-mini-copy i{
  color:#d8d0c8;
}
.accessory-mini-active{
  margin-top:12px;
  padding:10px 12px;
  display:flex;
  align-items:center;
  gap:8px;
  border-radius:14px;
  background:#f1ede8;
}
.accessory-mini-active span{
  font-size:10px;
  font-weight:850;
  color:#81786f;
}
.accessory-mini-active strong{
  font-size:13px;
}
.accessory-mini-active button{
  margin-left:auto;
  padding:7px 11px;
  border:0;
  border-radius:999px;
  background:#171412;
  color:#fff;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
}
@media(max-width:980px){
  .accessory-mini-card{
    grid-template-columns:82px minmax(0,1fr);
  }
}
@media(max-width:760px){
  .accessory-mini-grid{
    display:flex;
    overflow-x:auto;
    gap:10px;
  }
  .accessory-mini-card{
    flex:0 0 88%;
    grid-template-columns:96px minmax(0,1fr);
    min-height:112px;
  }
  .accessory-mini-cover,
  .accessory-mini-cover img{
    min-height:112px;
  }
}


/* v284 stronger accessory mini-categories */
.accessory-mini-groups{display:block!important;}
.accessory-mini-groups.hidden{display:none!important;}
.accessory-mini-head{margin-bottom:14px;}
.accessory-mini-title strong{font-size:20px!important;}
.accessory-mini-all{font-weight:900;}
.accessory-mini-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important;}
.accessory-mini-card{border:1px solid rgba(20,16,14,.09)!important;box-shadow:0 12px 28px rgba(17,12,8,.06);}
.accessory-mini-card b{word-break:break-word;}
@media(max-width:760px){.accessory-mini-grid{display:flex!important;overflow-x:auto;}}


/* v284 — compact accessory subcategory pills, directly below heading */
.accessory-mini-groups{
  display:block;
  margin:12px 0 14px !important;
  padding:12px 14px !important;
  border-radius:22px !important;
  background:#f5f1eb !important;
  border:1px solid rgba(25,20,16,.07) !important;
  box-shadow:none !important;
}
.accessory-mini-groups.hidden{display:none !important;}
.accessory-pill-label{
  margin:0 4px 9px;
  color:#998b7d;
  font-size:10px;
  font-weight:950;
  letter-spacing:.15em;
}
.accessory-pill-row{display:flex;flex-wrap:wrap;gap:8px;}
.accessory-pill{
  appearance:none;
  display:flex;
  align-items:center;
  gap:9px;
  min-height:42px;
  padding:9px 14px;
  border:0;
  border-radius:999px;
  background:#fff;
  color:#171310;
  box-shadow:0 0 0 1px rgba(23,18,14,.08) inset;
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease;
}
.accessory-pill:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(20,14,10,.08);}
.accessory-pill span{font-size:13px;font-weight:950;white-space:nowrap;}
.accessory-pill small{font-size:10px;font-weight:850;color:#918478;white-space:nowrap;}
.accessory-pill.active{background:#171310;color:#fff;box-shadow:none;}
.accessory-pill.active small{color:rgba(255,255,255,.68);}
@media(max-width:760px){
  .accessory-pill-row{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px;}
  .accessory-pill{flex:0 0 auto;}
}


/* ==========================================================================\n   v288 — responsive modal + image-aligned hotspots\n   Covers compact 13-inch laptops through large 28-inch displays, tablets,\n   iPhones and Android devices. Breakpoints use viewport size, not physical\n   diagonal, because browsers do not expose reliable screen-inch data.\n   ========================================================================== */

.modal-hotspots{
  inset:auto;
  pointer-events:none;
  overflow:visible;
}
.setup-hotspot{
  pointer-events:auto;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.setup-hotspot-card{
  z-index:30;
  max-height:min(520px, calc(100dvh - 40px));
  overflow:auto;
  overscroll-behavior:contain;
}
.setup-hotspot-card-close{
  position:absolute;
  top:7px;
  right:7px;
  z-index:5;
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(255,255,255,.94);
  color:#171513;
  border:1px solid rgba(23,21,19,.12);
  box-shadow:0 6px 16px rgba(0,0,0,.12);
  font-size:20px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  touch-action:manipulation;
}
.setup-hotspot-photo{margin-top:1px;}

.modal-close{
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}

/* Large desktops: 24–28-inch class viewports */
@media (min-width:1920px){
  .modal-card{width:min(1880px, calc(100vw - 64px)) !important;}
  .modal-grid{
    grid-template-columns:minmax(1080px,1.38fr) minmax(560px,.62fr) !important;
    height:min(980px, calc(100dvh - 48px)) !important;
    min-height:0 !important;
  }
  .modal-info{padding:48px 46px 42px !important;}
  .modal-info h2{font-size:54px !important;}
}

/* Standard desktops / large laptops: roughly 18–24-inch viewports */
@media (min-width:1600px) and (max-width:1919px){
  .modal-card{width:calc(100vw - 42px) !important;}
  .modal-grid{
    grid-template-columns:minmax(900px,1.30fr) minmax(520px,.70fr) !important;
    height:calc(100dvh - 42px) !important;
    min-height:0 !important;
  }
}

/* Main laptop range: roughly 16–20-inch viewports */
@media (min-width:1367px) and (max-width:1599px){
  .modal{padding:14px !important;}
  .modal-card{width:calc(100vw - 28px) !important;max-height:calc(100dvh - 28px) !important;}
  .modal-grid{
    grid-template-columns:minmax(760px,1.18fr) minmax(480px,.82fr) !important;
    height:calc(100dvh - 28px) !important;
    min-height:0 !important;
  }
  .modal-gallery{padding:16px 16px 106px !important;}
  .gallery-main{inset:16px 16px 110px 16px !important;}
  .gallery-thumbs{bottom:20px !important;left:26px !important;right:26px !important;}
  .modal-info{padding:34px 30px 30px !important;}
  .modal-info h2{font-size:44px !important;}
}

/* Compact laptop range: common 13-inch / 1366×768 class screens */
@media (min-width:1001px) and (max-width:1366px),
       (min-width:1001px) and (max-height:800px){
  .modal{padding:10px !important;}
  .modal-card{
    width:calc(100vw - 20px) !important;
    max-height:calc(100dvh - 20px) !important;
    border-radius:24px !important;
  }
  .modal-grid{
    grid-template-columns:minmax(600px,1.12fr) minmax(390px,.88fr) !important;
    height:calc(100dvh - 20px) !important;
    min-height:0 !important;
  }
  .modal-gallery{padding:12px 12px 88px !important;}
  .gallery-main{inset:12px 12px 92px 12px !important;border-radius:20px !important;}
  .gallery-thumbs{left:18px !important;right:18px !important;bottom:14px !important;min-height:64px !important;}
  .thumb{width:68px !important;height:52px !important;flex-basis:68px !important;}
  .modal-info{padding:24px 24px 26px !important;}
  .modal-info h2{font-size:36px !important;margin-top:12px !important;}
  .modal-short{font-size:14px !important;line-height:1.45 !important;}
  .spec-grid{gap:8px !important;margin:14px 0 18px !important;}
  .spec-grid div{padding:13px 14px !important;}
  .modal-close{width:42px !important;height:42px !important;right:14px !important;top:14px !important;}
}

/* Tablets and very narrow laptops */
@media (min-width:761px) and (max-width:1000px){
  .modal{padding:10px !important;align-items:start !important;}
  .modal-card{
    width:calc(100vw - 20px) !important;
    height:calc(100dvh - 20px) !important;
    max-height:none !important;
    overflow:auto !important;
    border-radius:24px !important;
    overscroll-behavior:contain;
  }
  .modal-grid{display:block !important;height:auto !important;min-height:0 !important;}
  .modal-gallery{height:min(64dvh,650px) !important;min-height:460px !important;padding:12px 12px 92px !important;}
  .gallery-main{inset:12px 12px 96px 12px !important;}
  .modal-info{height:auto !important;padding:28px 24px 34px !important;overflow:visible !important;}
  .modal-close{position:fixed !important;top:calc(env(safe-area-inset-top) + 14px) !important;right:calc(env(safe-area-inset-right) + 14px) !important;z-index:10060 !important;}
}

/* iPhone and Android portrait/compact layouts */
@media (max-width:760px){
  .modal{
    padding:0 !important;
    display:block !important;
    overflow:hidden !important;
  }
  .modal-card{
    width:100vw !important;
    height:100dvh !important;
    max-height:100dvh !important;
    border-radius:0 !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    overscroll-behavior:contain;
    padding-top:env(safe-area-inset-top);
    padding-bottom:env(safe-area-inset-bottom);
  }
  .modal-grid{display:block !important;height:auto !important;min-height:0 !important;}
  .modal-gallery{
    position:relative !important;
    height:clamp(390px, 58dvh, 590px) !important;
    min-height:390px !important;
    padding:10px 10px 80px !important;
  }
  .gallery-main{
    inset:10px 10px 84px 10px !important;
    border-radius:18px !important;
  }
  .gallery-main img{border-radius:18px !important;}
  .gallery-thumbs{
    left:12px !important;
    right:12px !important;
    bottom:10px !important;
    min-height:58px !important;
    padding:6px 8px !important;
    gap:6px !important;
  }
  .thumb{width:60px !important;height:46px !important;flex:0 0 60px !important;border-radius:11px !important;}
  .gal-arrow{width:42px !important;height:42px !important;}
  .gal-arrow.left{left:14px !important;}
  .gal-arrow.right{right:14px !important;}
  .gal-counter{top:14px !important;right:14px !important;font-size:11px !important;padding:6px 9px !important;}
  .modal-info{
    height:auto !important;
    max-height:none !important;
    padding:22px 16px calc(30px + env(safe-area-inset-bottom)) !important;
    overflow:visible !important;
  }
  .modal-info h2{font-size:32px !important;line-height:1.02 !important;padding-right:44px !important;}
  .modal-short{font-size:14px !important;}
  .spec-grid{grid-template-columns:1fr !important;gap:8px !important;}
  .modal-bottom{grid-template-columns:1fr !important;}
  .modal-close{
    position:fixed !important;
    top:calc(env(safe-area-inset-top) + 10px) !important;
    right:calc(env(safe-area-inset-right) + 10px) !important;
    z-index:10080 !important;
    width:48px !important;
    height:48px !important;
    display:grid !important;
    place-items:center !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
  }
  .setup-hotspot-dot{width:15px !important;height:15px !important;border-width:2px !important;box-shadow:0 0 0 5px rgba(255,255,255,.18),0 5px 12px rgba(0,0,0,.28) !important;}
  .setup-hotspot-card{
    width:min(228px, 72vw) !important;
    max-height:min(330px, 48dvh) !important;
    padding:10px !important;
    border-radius:15px !important;
  }
  .setup-hotspot-photo{aspect-ratio:1.5/1 !important;margin-bottom:4px !important;}
  .setup-hotspot-card-close{width:34px;height:34px;top:5px;right:5px;}
  .setup-hotspot-name{font-size:13px !important;}
  .setup-hotspot-price{font-size:14px !important;}
  .setup-hotspot-open{padding:8px 10px !important;font-size:11px !important;}
}

/* Very small phones and browser UI-heavy screens */
@media (max-width:430px){
  .modal-gallery{height:clamp(360px, 54dvh, 500px) !important;min-height:360px !important;}
  .modal-info{padding-left:14px !important;padding-right:14px !important;}
  .modal-info h2{font-size:29px !important;}
  .setup-hotspot-card{width:min(210px, 70vw) !important;}
}

/* Phones in landscape / low-height laptop windows */
@media (max-width:1000px) and (max-height:520px){
  .modal-gallery{height:calc(100dvh - 12px) !important;min-height:320px !important;}
  .modal-info{padding-top:22px !important;}
}


/* v292 — compact and logical WLMOUSE variant selectors */
.mouse-variant-compact{
  display:grid;
  gap:10px;
  padding:12px;
  border:1px solid rgba(23,21,19,.10);
  border-radius:18px;
  background:#faf6ef;
}
.variant-compact-summary{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.variant-compact-summary>div{
  min-width:0;
  display:grid;
  gap:2px;
  padding:8px 10px;
  border-radius:12px;
  background:#fff;
  border:1px solid rgba(23,21,19,.08);
}
.variant-compact-summary span,
.variant-select-label>span{
  color:#9a8f83;
  font-size:10px;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
}
.variant-compact-summary b{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
  font-weight:950;
}
.variant-select-label{
  display:grid;
  gap:6px;
}
.variant-select,
.modal-variant-select{
  width:100%;
  min-height:42px;
  padding:0 38px 0 12px;
  border:1px solid rgba(23,21,19,.14);
  border-radius:13px;
  background:#fffdf8;
  color:#171513;
  font:800 13px/1.2 inherit;
  cursor:pointer;
}
.modal-variant-compact{
  display:grid;
  gap:10px;
  padding:12px;
  border-radius:16px;
  background:#fbf7f0;
  border:1px solid rgba(23,21,19,.08);
}
.modal-current-variant{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.modal-current-variant span{font-size:15px;font-weight:950}
.modal-current-variant small{
  padding:6px 9px;
  border-radius:999px;
  background:#fff;
  color:#75695d;
  font-size:11px;
  font-weight:850;
}
@media(max-width:640px){
  .variant-compact-summary{grid-template-columns:1fr}
  .variant-select,.modal-variant-select{min-height:44px;font-size:14px}
}


/* v293 — brand navigation, logo fit, modal/cart motion */
.logo-box img{
  width:82% !important;
  height:82% !important;
  object-fit:contain !important;
  object-position:center !important;
  padding:0 !important;
  transform:none !important;
}

.brand-groups{
  margin:0 0 14px;
  padding:16px 18px;
  border-radius:28px;
  overflow:hidden;
}
.brand-groups-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.brand-groups-head>div{display:grid;gap:3px;}
.brand-groups-head span{
  color:#80bfff;
  font-size:10px;
  font-weight:950;
  letter-spacing:.16em;
}
.brand-groups-head strong{font-size:18px;line-height:1.1;}
.brand-reset{
  appearance:none;
  border:1px solid var(--line);
  background:#fff;
  border-radius:999px;
  padding:8px 12px;
  color:#766c63;
  font-size:11px;
  font-weight:900;
}
.brand-pill-row{
  display:flex;
  align-items:center;
  gap:9px;
  overflow-x:auto;
  padding:2px 2px 7px;
  scrollbar-width:thin;
  scroll-snap-type:x proximity;
}
.brand-pill{
  flex:0 0 auto;
  min-height:46px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:0 15px;
  border:1px solid rgba(23,21,19,.09);
  border-radius:999px;
  background:#fff;
  color:#171513;
  box-shadow:0 6px 14px rgba(20,16,12,.025);
  font-weight:950;
  scroll-snap-align:start;
  transition:transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.brand-pill span{white-space:nowrap;font-size:13px;}
.brand-pill small{
  min-width:22px;
  height:22px;
  display:grid;
  place-items:center;
  padding:0 6px;
  border-radius:999px;
  background:#f3eee8;
  color:#877b70;
  font-size:10px;
}
.brand-pill:hover{transform:translateY(-1px);box-shadow:0 10px 20px rgba(20,16,12,.07);}
.brand-pill.active{background:#171513;color:#fff;border-color:#171513;box-shadow:0 12px 24px rgba(20,16,12,.16);}
.brand-pill.active small{background:rgba(255,255,255,.16);color:#fff;}

/* Product modal open/close motion */
.modal-backdrop{
  opacity:0;
  transition:opacity .26s ease;
}
.modal-card{
  opacity:0;
  transform:translateY(22px) scale(.978);
  transform-origin:center center;
  transition:opacity .24s ease, transform .32s cubic-bezier(.2,.8,.2,1);
  will-change:transform,opacity;
}
.modal.is-open .modal-backdrop{opacity:1;}
.modal.is-open .modal-card{opacity:1;transform:translateY(0) scale(1);}
.modal.is-closing .modal-backdrop{opacity:0;}
.modal.is-closing .modal-card{opacity:0;transform:translateY(14px) scale(.985);}

/* Add-to-cart feedback */
.cart-btn,.primary-btn,#modalAdd{transition:transform .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease;}
.cart-btn.is-added,#modalAdd.is-added{
  background:#23865f !important;
  color:#fff !important;
  transform:scale(.97);
  box-shadow:0 10px 22px rgba(35,134,95,.22) !important;
}
.cart-bump{animation:cartBump .62s cubic-bezier(.2,.8,.2,1);}
@keyframes cartBump{0%,100%{transform:scale(1)}35%{transform:scale(1.16) rotate(-4deg)}65%{transform:scale(.96) rotate(2deg)}}
.cart-toast{
  position:fixed;
  right:22px;
  bottom:82px;
  z-index:1500;
  display:flex;
  align-items:center;
  gap:10px;
  max-width:min(360px,calc(100vw - 32px));
  padding:12px 15px;
  border-radius:18px;
  background:#171513;
  color:#fff;
  box-shadow:0 20px 50px rgba(20,16,12,.25);
  opacity:0;
  transform:translateY(18px) scale(.96);
  pointer-events:none;
  transition:opacity .22s ease,transform .28s cubic-bezier(.2,.8,.2,1);
}
.cart-toast.show{opacity:1;transform:translateY(0) scale(1);}
.cart-toast>span{width:28px;height:28px;display:grid;place-items:center;border-radius:999px;background:#23865f;font-weight:950;}
.cart-toast div{min-width:0;display:grid;gap:2px;}
.cart-toast b{font-size:13px;}
.cart-toast small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(255,255,255,.68);font-size:11px;}

/* Right-side cart drawer */
.cart-backdrop{
  position:fixed;
  inset:0;
  z-index:1190;
  background:rgba(25,20,16,.34);
  backdrop-filter:blur(5px);
  opacity:0;
  transition:opacity .25s ease;
}
.cart-backdrop.is-open{opacity:1;}
.cart{
  z-index:1200 !important;
  top:12px !important;
  right:12px !important;
  bottom:12px !important;
  width:min(440px,calc(100vw - 24px)) !important;
  height:calc(100dvh - 24px) !important;
  max-height:none !important;
  padding:20px !important;
  border-radius:30px !important;
  overflow-y:auto !important;
  overscroll-behavior:contain;
  opacity:0;
  transform:translateX(calc(100% + 28px));
  transition:transform .30s cubic-bezier(.2,.8,.2,1),opacity .22s ease;
  box-shadow:0 28px 70px rgba(20,16,12,.24) !important;
}
.cart.is-open{opacity:1;transform:translateX(0);}
.cart-head{
  position:sticky;
  top:-20px;
  z-index:4;
  margin:-20px -20px 10px;
  padding:20px;
  background:rgba(255,253,249,.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(23,21,19,.07);
}
body.cart-open{overflow:hidden;}

@media (max-width:760px){
  .brand-groups{margin-bottom:10px;padding:14px 12px;border-radius:22px;}
  .brand-groups-head{align-items:center;margin-bottom:10px;}
  .brand-groups-head strong{font-size:16px;}
  .brand-pill-row{margin-right:-12px;padding-right:12px;}
  .brand-pill{min-height:42px;padding:0 13px;}
  .brand-pill span{font-size:12px;}
  .cart{
    top:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:min(92vw,420px) !important;
    height:100dvh !important;
    border-radius:24px 0 0 24px !important;
    padding:16px !important;
    padding-bottom:calc(18px + env(safe-area-inset-bottom)) !important;
  }
  .cart-head{top:-16px;margin:-16px -16px 10px;padding:calc(16px + env(safe-area-inset-top)) 16px 16px;}
  .cart-head button{width:48px;height:48px;font-size:28px;}
  .cart-float{z-index:100;right:14px;bottom:calc(14px + env(safe-area-inset-bottom));}
  .cart-toast{right:14px;bottom:calc(80px + env(safe-area-inset-bottom));}
}

@media (prefers-reduced-motion:reduce){
  .modal-backdrop,.modal-card,.cart,.cart-backdrop,.cart-toast,.brand-pill{transition:none !important;animation:none !important;}
}

/* UXES7 v294 — approved warm catalog layout. Existing gallery/hotspot styles stay intact. */
:root { --bg:#f4f1eb; --surface:#fffdfa; --text:#171513; --line:rgba(23,21,19,.09); --shadow:0 10px 32px rgba(25,20,16,.045); }
body.v294 { background:linear-gradient(145deg,#f8f6f2 0%,#f2eee7 100%); color:var(--text); }
.v294 .surface { background:var(--surface); backdrop-filter:none; -webkit-backdrop-filter:none; box-shadow:var(--shadow); border:1px solid var(--line); }
.v294 .app-shell { width:min(1280px,calc(100% - 48px)); padding:20px 0 100px; }
.v294 button,.v294 select,.v294 input { -webkit-tap-highlight-color:transparent; }
.v294 button:focus-visible,.v294 select:focus-visible,.v294 input:focus-visible,.v294 a:focus-visible,.v294 textarea:focus-visible { outline:3px solid #9573d3; outline-offset:3px; }
.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.skip-link { position:fixed; top:8px; left:8px; transform:translateY(-180%); z-index:5000; background:#171513; color:white; padding:12px 18px; border-radius:14px; }
.skip-link:focus { transform:translateY(0); }
.v294 .topbar { display:flex; align-items:center; min-height:76px; padding:12px 16px; border-radius:26px; gap:24px; }
.v294 .brand-block { min-width:0; margin-right:auto; text-decoration:none; color:inherit; gap:12px; }
.v294 .logo-box { flex:none; width:44px; height:44px; border-radius:12px; padding:3px; }
.v294 .logo-box img { width:100%!important; height:100%!important; object-fit:contain!important; }
.v294 .brand-copy b { font-size:14px; font-weight:900; letter-spacing:.18em; }
.v294 .brand-copy span { font-size:10px; }
.v294 .topnav { display:flex; gap:20px; margin:0; }
.v294 .topnav button { font-size:11px; letter-spacing:.035em; font-weight:800; }
.v294 .header-actions { gap:8px; }
.v294 .header-icon { min-width:44px; height:44px; border-radius:15px; box-shadow:none; }
.v294 .cart-icon { gap:8px; padding:0 12px; }
.v294 .cart-icon svg { display:block; width:19px; height:19px; }
.v294 .hero { display:grid!important; grid-template-columns:1fr 1.05fr!important; gap:24px!important; padding:18px!important; margin:18px 0 32px!important; height:auto!important; min-height:0!important; border-radius:30px!important; align-items:stretch!important; }
.v294 .hero-copy { padding:14px 12px; min-width:0; }
.v294 .hero h1 { font-size:clamp(40px,4.4vw,64px)!important; font-weight:900!important; line-height:.99!important; letter-spacing:-.055em!important; margin:0 0 18px!important; max-width:none!important; }
.v294 .hero-subtitle { font-size:15px!important; line-height:1.55!important; margin:0 0 24px!important; max-width:460px; }
.v294 .hero-media { height:auto!important; min-height:350px!important; border-radius:22px!important; aspect-ratio:auto!important; }
.v294 .hero-media::before,.v294 .hero-media::after { display:none!important; }
.v294 .hero-media img { width:100%!important; height:100%!important; object-fit:cover!important; object-position:50% 43%!important; }
.v294 .hero-actions { display:flex; gap:10px; width:100%; }
.v294 .primary-btn,.v294 .secondary-btn { min-height:48px; padding:0 22px; font-size:13px; font-weight:750; box-shadow:none; }
.v294 .hero-actions button { padding:0 20px; }
.v294 .hero-actions button span { margin-left:8px; }
.v294 .catalog { scroll-margin-top:16px; margin:0!important; }
.catalog-toolbar { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:0 0 18px; }
.catalog-toolbar h2 { font-size:38px; font-weight:900; letter-spacing:-.045em; margin:0; line-height:1.15; }
.catalog-search-sort { display:flex; align-items:center; gap:10px; width:min(650px,68%); }
.catalog-search { display:flex; align-items:center; gap:10px; min-height:46px; background:#fffdfa; border:1px solid var(--line); border-radius:999px; padding:0 16px; flex:1; min-width:0; }
.catalog-search svg { width:18px; height:18px; flex:none; color:#716a64; }
.catalog-search input { width:100%; min-width:0; border:0; background:transparent; font-size:13px; color:#171513; min-height:42px; outline-offset:0!important; }
.catalog-search input::placeholder { color:#827b75; opacity:1; }
.catalog-sort select { min-height:46px; max-width:185px; border:1px solid var(--line); border-radius:999px; padding:0 32px 0 16px; background:#fffdfa; color:#171513; font-size:12px; }
.catalog-layout { display:grid; grid-template-columns:204px minmax(0,1fr); gap:18px; align-items:start; }
.v294 .catalog-sidebar { position:sticky; top:16px; padding:10px; border-radius:22px; max-height:calc(100dvh - 32px); overflow-y:auto; }
.v294 .tabs { display:flex!important; flex-direction:column!important; grid-template-columns:none!important; gap:3px!important; padding:0!important; margin:0!important; min-height:0!important; background:transparent!important; border:0!important; box-shadow:none!important; border-radius:0!important; overflow:visible!important; }
.v294 #tabs > .tab-btn { display:flex!important; flex:none!important; width:100%!important; min-width:0!important; min-height:43px!important; justify-content:flex-start!important; gap:11px!important; padding:10px 12px!important; border-radius:13px!important; background:transparent!important; border:0!important; color:#5c554f!important; font-size:12px!important; font-weight:650!important; box-shadow:none!important; line-height:1.35!important; text-align:left; white-space:normal!important; grid-column:auto!important; }
.v294 #tabs > .tab-btn .tab-icon { display:flex; flex:none; }
.v294 #tabs > .tab-btn svg { width:18px!important; height:18px!important; }
.v294 #tabs > .tab-btn:hover { background:#f1ede6!important; color:#171513!important; }
.v294 #tabs > .tab-btn.active { background:#171513!important; color:#fff!important; }
.catalog-content { min-width:0; }
.v294 .brand-groups { display:block; min-width:0; margin:0 0 12px!important; padding:13px 14px!important; background:#fffdfa!important; border:1px solid var(--line); border-radius:20px!important; box-shadow:none!important; }
.v294 .brand-groups.hidden { display:none!important; }
.brand-shelf-label { font-size:10px; font-weight:750; letter-spacing:.1em; text-transform:uppercase; color:#81766c; margin:0 0 8px 3px; }
.v294 .brand-pill-row { display:flex; flex-wrap:nowrap; gap:7px; overflow-x:auto; padding:0 0 4px!important; margin:0!important; scrollbar-width:thin; scrollbar-color:#d6cec2 transparent; scroll-snap-type:x proximity; }
.v294 .brand-pill { flex:none; min-height:38px; padding:0 13px; gap:8px; background:#f5f1eb; border:1px solid transparent; border-radius:12px; box-shadow:none; font-weight:700; }
.v294 .brand-pill span { font-size:12px; }
.v294 .brand-pill small { font-size:10px; background:transparent; min-width:0; padding:0; color:#7b7066; }
.v294 .brand-pill.active { background:#171513; color:#fff; box-shadow:none; }
.v294 .brand-pill.active small { color:#d7cfc6; background:transparent; }
.v294 .brand-pill:hover { transform:none; border-color:#c9c0b5; box-shadow:none; }
.v294 .catalog-filters { margin:0 0 8px; }
.v294 .subfilters { padding:0!important; margin:0!important; min-height:0!important; border:0!important; background:transparent!important; box-shadow:none!important; overflow:visible!important; border-radius:0!important; }
.v294 .filter-groups { display:flex; flex-wrap:wrap; gap:6px; }
.v294 .filter-group { position:relative; min-width:0; }
.v294 .filter-trigger { display:flex; align-items:center; gap:6px; min-height:34px; padding:7px 11px; border:1px solid var(--line); border-radius:10px; background:rgba(255,253,250,.75); font-size:11px; font-weight:600; }
.v294 .filter-trigger b { background:#e9e2d8; font-size:10px; padding:1px 5px; border-radius:5px; }
.v294 .filter-chevron { width:6px; height:6px; border-right:1px solid currentColor; border-bottom:1px solid currentColor; transform:rotate(45deg); margin:0 2px 3px 5px; }
.v294 .filter-dropdown { display:none!important; position:absolute!important; top:calc(100% + 5px)!important; left:0!important; bottom:auto!important; right:auto!important; width:230px!important; min-width:190px!important; max-width:min(300px,80vw)!important; padding:7px!important; background:#fffdfa; border:1px solid var(--line); box-shadow:0 12px 36px #241a1020; border-radius:14px; z-index:30; }
.v294 .filter-group.open .filter-dropdown { display:block!important; }
.v294 .filter-options { display:flex; flex-direction:column; max-height:230px; overflow:auto; gap:3px; }
.v294 .filter-option { border:0; background:transparent; display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px; min-height:36px; border-radius:8px; text-align:left; font-size:12px; }
.v294 .filter-option i { visibility:hidden; font-style:normal; }
.v294 .filter-option.active { background:#eee8df; color:#171513; }
.v294 .filter-option.active i { visibility:visible; }
.v294 .filter-reset { border:0; background:transparent; color:#75665a; padding:7px 10px; font-size:12px; text-decoration:underline; }
.filter-empty { color:#756c64; font-size:13px; margin:6px 0; }
.catalog-result-count { color:#83796f; font-size:11px; margin:10px 2px; min-height:16px; }
.v294 .product-grid { display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:14px!important; align-items:stretch; }
.v294 .product-card { display:flex!important; flex-direction:column!important; min-width:0!important; height:auto!important; padding:12px!important; border:1px solid rgba(23,21,19,.035)!important; border-radius:23px!important; background:#fffdfa!important; overflow:hidden!important; box-shadow:0 8px 24px rgba(20,15,10,.025)!important; cursor:default; transition:box-shadow .18s ease,transform .18s ease; }
.v294 .product-card:hover { box-shadow:0 12px 28px rgba(20,15,10,.065)!important; transform:translateY(-2px); }
.v294 .product-card { min-height:0!important; content-visibility:visible; contain-intrinsic-size:none; }
.v294 .product-photo { display:block!important; width:100%!important; min-height:0!important; height:auto!important; aspect-ratio:1/1!important; padding:0!important; margin:0!important; border:0!important; border-radius:15px!important; background:#f5f2ed!important; position:relative!important; overflow:hidden!important; box-shadow:none!important; flex:none!important; transform:none!important; }
.v294 .product-photo::before,.v294 .product-photo::after { display:none!important; }
.v294 .product-photo-main { position:static!important; display:block!important; width:100%!important; height:100%!important; object-fit:contain!important; object-position:center!important; border-radius:0!important; margin:0!important; max-height:none!important; padding:0!important; filter:none!important; transform:none!important; background:transparent!important; z-index:auto!important; }
.v294 .product-photo.image-error::before { display:grid!important; content:'Фото временно недоступно'; position:absolute; inset:0; place-items:center; color:#7b7167; padding:15px; font-size:12px; }
.v294 .card-status { position:absolute; top:8px; left:8px; padding:5px 8px; font-size:10px; font-weight:650; background:#fff9e8eb; border-radius:8px; color:#725a24; }
.v294 .product-info { padding:12px 1px 0!important; display:flex!important; flex-direction:column!important; flex:1; min-width:0; gap:0!important; }
.v294 .product-info h3 { margin:0 0 7px!important; min-height:42px!important; max-height:none!important; font-size:15px!important; line-height:1.35!important; font-weight:800!important; letter-spacing:-.02em; }
.v294 .product-title { display:block!important; padding:0!important; margin:0!important; min-height:0!important; border:0!important; background:transparent!important; border-radius:0!important; text-align:left!important; font-size:inherit!important; font-weight:inherit!important; line-height:inherit!important; color:#171513!important; box-shadow:none!important; transform:none!important; }
.v294 .product-title:hover { text-decoration:underline; text-underline-offset:3px; }
.v294 .product-info .card-specs { display:-webkit-box!important; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden!important; min-height:32px!important; max-height:32px!important; padding:0!important; margin:0 0 9px!important; color:#7d746b!important; font-size:11px!important; line-height:16px!important; font-weight:400!important; }
.v294 .card-choice-slot { min-height:38px; margin-top:auto; margin-bottom:10px; }
.v294 .card-choice { display:block; width:100%; }
.v294 .variant-select { appearance:auto!important; width:100%!important; min-width:0!important; height:38px!important; min-height:38px!important; padding:0 9px!important; border:1px solid #ded8d0!important; border-radius:11px!important; background:#fff!important; color:#302a25!important; font-size:12px!important; font-weight:500!important; box-shadow:none!important; }
.v294 .card-choice-placeholder { display:block; height:38px; }
.v294 .product-price { display:flex!important; align-items:baseline!important; flex-wrap:wrap; justify-content:flex-start!important; min-height:29px!important; gap:5px 8px!important; padding:0!important; margin:0 0 10px!important; background:transparent!important; border:0!important; }
.v294 .product-price b { font-size:20px!important; font-weight:850!important; line-height:1.2; color:#171513!important; }
.v294 .product-price .unit-price { font-size:10px!important; color:#8c8177!important; font-weight:450!important; }
.v294 .product-actions { display:block!important; margin:0!important; padding:0!important; }
.v294 .product-actions .cart-btn { display:flex!important; width:100%!important; min-height:44px!important; border-radius:999px!important; background:#171513!important; color:#fff!important; padding:0 12px!important; font-size:12px!important; font-weight:700!important; gap:8px; box-shadow:none!important; }
.v294 .cart-btn svg { width:17px; height:17px; }
.v294 .cart-btn.is-added { background:#307357!important; }
.v294 .show-more { display:flex; margin:24px auto 0; min-width:200px; }
.v294 .empty-state { grid-column:1/-1; background:#fffdfa; border:1px solid var(--line); border-radius:22px; padding:32px; text-align:center; }
.v294 .empty-state b { font-size:20px; }
.v294 .empty-state p { color:#776e66; font-size:14px; }
.v294 .support-help { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:24px; padding:22px 26px; border-radius:25px; scroll-margin-top:20px; }
.support-help h2 { margin:0 0 5px; font-size:25px; line-height:1.15; font-weight:850; letter-spacing:-.035em; }
.support-help p { margin:0; color:#82786f; font-size:13px; }
.support-help button { flex:none; }
.site-footer { display:flex; justify-content:space-between; align-items:center; gap:15px; padding:24px 4px 0; color:#8b8177; font-size:10px; }
.site-footer button { padding:7px; border:0; background:transparent; color:#70655a; font-size:11px; }
.mobile-catalog-controls,.panel-mobile-head,.apply-mobile-filters { display:none!important; }
.catalog-backdrop { position:fixed; inset:0; z-index:1700; background:#201b1650; }
.v294 .cart { z-index:2200!important; background:#fffdfa!important; border-radius:26px!important; }
.v294 .cart-backdrop { z-index:2190!important; }
.v294 .cart-head { background:#fffdfa; backdrop-filter:none; }
.v294 .cart-head button { flex:none; border:1px solid var(--line); background:#fff; border-radius:13px; width:42px; height:42px; font-size:24px; }
.cart-tools { text-align:right; margin:-4px 0 4px; }
.cart-tools button { border:0; background:transparent; padding:8px; color:#8b6d5a; font-size:12px; }
.v294 .cart-items { margin:0; padding:0; }
.v294 .cart-item { display:grid!important; grid-template-columns:72px minmax(0,1fr)!important; gap:12px!important; margin:0!important; padding:18px 0!important; border:0!important; border-bottom:1px solid var(--line)!important; border-radius:0!important; background:transparent!important; }
.v294 .cart-item img { width:72px!important; height:72px!important; border-radius:12px!important; object-fit:contain!important; background:#f4f0e9; }
.cart-line-info { min-width:0; }
.v294 .cart-line-info>b { display:block; font-size:14px; line-height:1.35; }
.v294 .cart-line-info>small { display:block; font-size:11px; color:#82776d; margin:4px 0 7px; }
.v294 .cart-line-info>strong { display:block; font-size:15px; }
.cart-line-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:10px; }
.quantity-control { display:flex; align-items:center; border:1px solid var(--line); background:#fff; border-radius:11px; overflow:hidden; }
.quantity-control button { width:35px; height:35px; border:0; background:transparent; font-size:20px; color:#171513; }
.quantity-control button:disabled { color:#c5bdb3; cursor:default; }
.v294 .quantity-control span { min-width:24px; text-align:center; font-size:13px; color:#171513; margin:0; }
.remove-line { border:0; padding:8px 0; background:transparent; color:#8a7564; font-size:11px; text-decoration:underline; }
.cart-summary { padding:12px 0; }
.v294 .cart-total { margin:8px 0 15px; font-size:18px; }
.cart-note,.cart-feedback { font-size:12px; color:#7b7066; line-height:1.5; margin:10px 0; }
.cart-feedback { color:#48634f; }
.cart-feedback:empty,.cart-note:empty { display:none; }
.v294 #copyOrder:disabled { opacity:.4; cursor:default; }
#orderCopyText { display:block; width:100%; resize:vertical; border:1px solid var(--line); border-radius:12px; padding:12px; font-size:12px; margin-top:7px; }
#orderCopyFallback label { font-size:12px; }
.cart-empty { padding:36px 10px; text-align:center; }
.cart-empty b { font-size:20px; }
.cart-empty p { font-size:13px; line-height:1.5; color:#82766c; }
.v294 .cart-float { display:flex; align-items:center; justify-content:space-between; gap:16px; background:#171513; color:#fff; border:0; box-shadow:0 8px 28px #21190f26; min-width:220px; min-height:48px; width:auto; height:auto; border-radius:999px; padding:12px 20px; position:fixed; right:24px; bottom:20px; z-index:150; font-size:12px; }
.v294 .cart-float>span:first-child { font-weight:800; }
.v294 .cart-float>span:last-child { color:#e0d9d1; font-size:11px; }
.v294 .cart-toast { z-index:2400; }
.v294 .modal { z-index:2000!important; }
.v294 .modal-card { background:#fffdfa; }
.modal-audio { margin:14px 0; }
.modal-audio .card-audio { margin:0; }
.v294 .modal-card .modal-short { line-height:1.55; }
.v294 .hidden { display:none!important; }

@media(min-width:901px) and (max-width:1120px) {
 .v294 .app-shell { width:calc(100% - 36px); }
 .catalog-layout { grid-template-columns:175px minmax(0,1fr); gap:14px; }
 .v294 #tabs > .tab-btn { font-size:11px!important; padding:10px!important; gap:8px!important; }
 .v294 .product-grid { gap:10px!important; }
 .v294 .product-card { padding:9px!important; }
 .v294 .product-info h3 { font-size:14px!important; }
 .v294 .hero-actions button { padding:0 14px; font-size:12px; }
}
@media(max-width:900px) {
 .v294 .app-shell { width:calc(100% - 32px); padding-top:16px; }
 .v294 .hero { gap:18px!important; }
 .v294 .hero-media { min-height:300px!important; }
 .v294 .hero h1 { font-size:43px!important; }
 .v294 .hero-actions { gap:8px; }
 .v294 .hero-actions button { padding:0 15px; min-height:42px; font-size:11px; }
 .catalog-layout { grid-template-columns:minmax(0,1fr); }
 .v294 .mobile-catalog-controls { display:flex!important; gap:10px; margin:0 0 14px; }
 .mobile-catalog-controls button { flex:1; min-height:44px!important; }
 .v294 .panel-mobile-head { display:flex!important; justify-content:space-between; align-items:center; gap:16px; margin:0 0 16px; }
 .panel-mobile-head h3 { margin:0; font-size:24px; letter-spacing:-.03em; }
 .panel-mobile-head button { border:1px solid var(--line); background:#fff; border-radius:13px; width:44px; height:44px; font-size:25px; }
 .v294 .catalog-panel { display:none!important; position:fixed!important; inset:0 auto 0 0; width:min(86vw,380px); max-height:100dvh!important; padding:20px 16px!important; background:#fffdfa!important; border-radius:0 24px 24px 0!important; border:0!important; box-shadow:0 10px 40px #1c171330!important; overflow-y:auto!important; z-index:1800; margin:0!important; padding-bottom:max(20px,env(safe-area-inset-bottom))!important; }
 .v294 .catalog-panel.is-open { display:block!important; }
 .v294 .catalog-filters { left:auto!important; right:0!important; border-radius:24px 0 0 24px!important; }
 .v294 .filter-groups { flex-direction:column; gap:10px; }
 .v294 .filter-trigger { width:100%; justify-content:space-between; min-height:44px; font-size:13px; }
 .v294 .filter-dropdown { position:static!important; width:100%!important; min-width:0!important; max-width:none!important; margin:5px 0 0; box-shadow:none; }
 .v294 .filter-option { min-height:44px; font-size:13px; }
 .v294 .apply-mobile-filters { display:flex!important; width:100%; margin-top:24px; }
 .v294.catalog-panel-open { overflow:hidden!important; }
 .v294 #tabs > .tab-btn { min-height:46px!important; font-size:14px!important; }
}
@media(max-width:600px) {
 .v294 .app-shell { width:calc(100% - 28px); padding:12px 0 95px; }
 .v294 .topbar { min-height:64px; padding:10px 11px; border-radius:22px; gap:8px; }
 .v294 .brand-block { gap:8px; }
 .v294 .logo-box { width:35px; height:35px; padding:2px; border-radius:9px; }
 .v294 .brand-copy b { font-size:10px; letter-spacing:.13em; }
 .v294 .brand-copy span { display:none; }
 .v294 .topnav { display:none; }
 .v294 .header-icon { height:40px; min-width:40px; border-radius:12px; }
 .v294 .header-actions { gap:5px; }
 .v294 .cart-icon { padding:0 8px; min-width:64px; gap:5px; }
 .v294 .cart-word { display:none; }
 .v294 .cart-icon b { width:19px; min-width:19px; height:19px; font-size:10px; }
 .v294 .hero { grid-template-columns:minmax(0,1fr)!important; padding:15px!important; gap:16px!important; border-radius:24px!important; margin:12px 0 24px!important; }
 .v294 .hero-copy { padding:3px 2px 0; }
 .v294 .hero h1 { font-size:clamp(32px,8.4vw,48px)!important; line-height:.99!important; letter-spacing:-.05em!important; margin-bottom:14px!important; }
 .v294 .hero-subtitle { font-size:13px!important; margin-bottom:16px!important; line-height:1.5!important; max-width:330px; }
 .v294 .hero-actions { flex-wrap:wrap; gap:8px; }
 .v294 .hero-actions button { min-height:42px; padding:0 14px; font-size:11px; }
 .v294 .hero-media { min-height:0!important; height:180px!important; border-radius:16px!important; }
 .v294 .hero-media img { object-position:50% 41%!important; }
 .catalog-toolbar { display:block; margin-bottom:12px; }
 .catalog-toolbar h2 { font-size:30px; margin-bottom:12px; }
 .catalog-search-sort { width:100%; gap:7px; flex-wrap:wrap; }
 .catalog-search { flex:1 1 100%; min-height:44px; border-radius:15px; padding:0 12px; }
 .catalog-search input { min-height:42px; font-size:14px; }
 .catalog-sort { margin-left:auto; }
 .catalog-sort select { min-height:34px; border:0; background:transparent; font-size:11px; padding-left:8px; }
 .v294 .mobile-catalog-controls { margin-top:-3px; gap:8px; }
 .mobile-catalog-controls button { font-size:12px!important; border-radius:15px; }
 .v294 .brand-groups { border-radius:17px!important; padding:11px!important; margin-bottom:9px!important; }
 .v294 .brand-pill { min-height:36px; padding:0 11px; border-radius:11px; }
 .v294 .brand-pill span { font-size:11px; }
 .v294 .product-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:10px!important; }
 .v294 .product-card { padding:9px!important; border-radius:19px!important; }
 .v294 .product-photo { border-radius:12px!important; }
 .v294 .product-info { padding-top:10px!important; }
 .v294 .product-info h3 { min-height:36px!important; font-size:12px!important; line-height:18px!important; margin-bottom:6px!important; }
 .v294 .product-info .card-specs { font-size:10px!important; min-height:30px!important; max-height:30px!important; line-height:15px!important; margin-bottom:8px!important; }
 .v294 .card-choice-slot { min-height:36px; margin-bottom:9px; }
 .v294 .variant-select { height:36px!important; min-height:36px!important; font-size:11px!important; padding:0 6px!important; border-radius:10px!important; }
 .v294 .card-choice-placeholder { height:36px; }
 .v294 .product-price { min-height:43px!important; align-content:flex-start; gap:2px!important; margin-bottom:7px!important; }
 .v294 .product-price b { font-size:17px!important; width:100%; }
 .v294 .product-price .unit-price { font-size:9px!important; min-height:11px; }
 .v294 .product-actions .cart-btn { min-height:40px!important; padding:0 6px!important; font-size:10px!important; gap:5px; }
 .v294 .cart-btn svg { width:14px; height:14px; }
 .v294 .card-status { font-size:9px; padding:4px 6px; top:5px; left:5px; }
 .v294 .support-help { display:block; padding:20px; border-radius:22px; margin-top:20px; }
 .support-help h2 { font-size:22px; }
 .support-help p { font-size:12px; line-height:1.5; }
 .support-help button { margin-top:15px; min-height:44px!important; width:100%; }
 .site-footer { flex-wrap:wrap; font-size:9px; padding-top:20px; }
 .site-footer>span:nth-child(2) { display:none; }
 .v294 .cart-float { left:14px; right:14px; bottom:calc(10px + env(safe-area-inset-bottom)); width:calc(100% - 28px); min-width:0; border-radius:16px; min-height:50px; padding:12px 16px; }
 .v294 .cart { top:0!important; right:0!important; bottom:0!important; width:min(94vw,440px)!important; height:100dvh!important; border-radius:22px 0 0 22px!important; }
 .v294 .cart-toast { right:14px; left:14px; max-width:none; bottom:calc(72px + env(safe-area-inset-bottom)); }
}
@media(prefers-reduced-motion:reduce) { .v294 *, .v294 *::before, .v294 *::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }

/* v295 — compact home, full-width catalogue, readable cards and setup workspace. */
body.v295{--bg:#f6f4ef;--surface:#fff;--text:#171513;--line:#e8e5df;background:var(--bg);font-size:16px;color:var(--text)}
.v295 .surface{background:#fff;box-shadow:0 6px 22px #231a0d05;border-color:var(--line)}
.v295 .app-shell{width:min(1380px,calc(100% - 56px));padding:18px 0 88px}
.v295 .topbar{min-height:74px;border-radius:20px}
.v295 .brand-copy b{font-size:16px}.v295 .brand-copy span{font-size:12px}
.v295 .topnav{gap:24px}.v295 .topnav button{font-size:14px;letter-spacing:0;font-weight:650}
.v295 .hero{grid-template-columns:1fr 1.05fr!important;gap:20px!important;padding:14px!important;margin:16px 0!important;border-radius:22px!important}
.v295 .hero-copy{display:flex;flex-direction:column;justify-content:center;padding:12px 14px}
.v295 .hero h1{font-size:clamp(36px,3.8vw,56px)!important;line-height:1.02!important;letter-spacing:-.045em!important;margin:0 0 16px!important;font-weight:850!important}
.v295 .hero-subtitle{font-size:16px!important;line-height:1.5!important;margin:0 0 20px!important;max-width:520px;color:#6b6a67}
.v295 .hero-media{height:290px!important;min-height:0!important;border-radius:16px!important}
.v295 .hero-media img{object-position:50% 43%!important}
.v295 .hero-actions{flex-wrap:wrap}.v295 .hero-actions button{font-size:15px;min-height:46px;padding:0 22px}
.v295 .primary-btn,.v295 .secondary-btn{font-size:15px;min-height:46px;padding:0 20px}
.v295 .setup-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 22px}
.v295 .setup-shortcut{display:flex;align-items:center;gap:20px;padding:20px 24px;min-width:0;min-height:88px;border-radius:18px;text-align:left;color:var(--text);transition:border-color .15s}
.v295 .setup-shortcut:hover{border-color:#b9b2a6}.v295 .setup-shortcut>svg{width:38px;height:38px;flex:none}
.v295 .setup-shortcut>span{padding-left:20px;border-left:1px solid #ddd;min-width:0}.v295 .setup-shortcut b{display:block;font-size:20px;line-height:1.25;letter-spacing:-.025em}
.v295 .setup-shortcut small{display:block;font-size:15px;color:#6c6a65;margin-top:4px;line-height:1.4}.v295 .setup-shortcut i{font-style:normal;font-size:28px;margin-left:auto}
.v295 .catalog{margin:0!important;padding:0!important;scroll-margin-top:16px}
.v295 .catalog-toolbar{margin:0 0 14px;gap:20px}.v295 .catalog-toolbar h2{font-size:38px}
.v295 .catalog-search-sort{width:min(500px,55%)}.v295 .catalog-search{border-radius:14px;min-height:48px;background:#fff}
.v295 .catalog-search input{font-size:16px;min-height:46px}
.v295 .catalog-layout{display:flex;flex-direction:column;gap:14px;align-items:stretch}
.v295 .catalog-sidebar{position:static;max-height:none;overflow:visible;margin:0;padding:12px;border-radius:18px}
.v295 #tabs{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important;flex-direction:row!important}
.v295 #tabs>.tab-btn{padding:12px 14px!important;min-height:54px!important;font-size:16px!important;line-height:1.3!important;font-weight:550!important;border:1px solid var(--line)!important;border-radius:12px!important;gap:12px!important;background:#fff!important;color:#171513!important}
.v295 #tabs>.tab-btn.active{background:#171513!important;color:white!important;border-color:#171513!important}
.v295 #tabs>.tab-btn:hover:not(.active){background:#f5f3ef!important;border-color:#c7c0b5!important}
.v295 #tabs>.tab-btn svg{height:25px!important;width:25px!important}
.v295 .brand-groups{display:flex;align-items:center;gap:16px;padding:12px 16px!important;border-radius:16px!important;margin:0 0 12px!important;background:#fff!important}
.v295 .brand-shelf-label{font-size:15px;font-weight:750;letter-spacing:0;text-transform:none;margin:0;color:#171513}
.v295 .brand-pill-row{display:flex;flex-wrap:wrap;overflow:visible;gap:8px;width:100%;padding:0!important}
.v295 .brand-pill{min-height:42px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:0 18px;font-weight:500}
.v295 .brand-pill span{font-size:14px}.v295 .brand-pill.active{background:#171513;color:#fff}.v295 .all-brands{margin-left:auto}
.v295 .catalog-filters{margin-bottom:0}.v295 .filter-groups{gap:8px}.v295 .filter-trigger{min-height:42px;font-size:14px;padding:9px 13px;background:#fff}
.v295 .filter-option{min-height:42px;font-size:14px}.v295 .filter-reset{font-size:14px}.v295 .filter-empty{display:none}
.v295 .catalog-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 0 12px;min-height:44px}
.v295 .catalog-result-count{font-size:14px;color:#6a6762;margin:0;min-height:0}.v295 .catalog-sort select{font:inherit;font-size:14px;min-height:42px;border-radius:12px;background:#fff}
.v295 .product-grid{gap:18px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
.v295 .product-card{padding:12px!important;border-radius:20px!important;min-height:0!important;background:#fff!important;border:1px solid #ebe8e2!important;box-shadow:0 4px 14px #21170e04!important}
.v295 .product-card:hover{transform:none;box-shadow:0 6px 22px #21170e0c!important}
.v295 .product-photo{aspect-ratio:4/3!important;border-radius:12px!important;background:#faf9f6!important}
.v295 .product-photo-main{object-fit:contain!important;background:#faf9f6!important}
.v295 .photo-keyboard .product-photo-main,.v295 .photo-cover .product-photo-main{object-fit:cover!important;object-position:50% 55%!important}
.v295 .photo-mouse{background:#fff!important}.v295 .photo-mouse .product-photo-main{object-fit:cover!important;object-position:50% 55%!important;transform:scale(1.38)!important;background:#fff!important}
.v295 .product-info{padding:14px 4px 0!important}
.v295 .product-info h3{font-size:20px!important;line-height:1.3!important;min-height:0!important;margin:0 0 8px!important;font-weight:750!important;letter-spacing:-.025em}
.v295 .card-description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:16px!important;line-height:1.45!important;color:#5d626b!important;margin:0 0 12px!important;min-height:46px;max-height:70px;padding:0!important;font-weight:400!important}
.v295 .card-highlights{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:62px;margin-bottom:14px}
.v295 .card-highlights span{display:inline-block;border:1px solid #e0e3e7;border-radius:8px;padding:3px 9px;font-size:14px;line-height:1.35;color:#4b525d;overflow-wrap:anywhere}
.v295 .card-choice-slot{min-height:44px;margin-top:auto;margin-bottom:14px}.v295 .card-choice-placeholder{height:44px}
.v295 .variant-select{height:44px!important;min-height:44px!important;font-size:15px!important;padding:0 12px!important;border-radius:10px!important}
.v295 .product-price{min-height:32px!important;margin-bottom:12px!important;gap:8px 12px!important}
.v295 .product-price b{font-size:26px!important;line-height:1.15;width:auto!important}
.v295 .product-price .unit-price{font-size:14px!important;color:#717985!important;min-height:0!important}
.v295 .product-actions .cart-btn{min-height:48px!important;font-size:16px!important;font-weight:600!important}.v295 .cart-btn svg{width:20px;height:20px}
.v295 .setup-add{display:block;min-height:42px;width:100%;border:0;background:transparent;font-size:15px;font-weight:500;color:#606979;text-decoration:underline;text-underline-offset:3px;padding:10px 6px 2px;border-radius:8px}
.v295 .setup-add:hover{color:#171513}.v295 .card-status{font-size:12px}
.v295 .support-help{border-radius:18px;margin-top:20px;padding:24px}.v295 .support-help p{font-size:15px}.v295 .site-footer{font-size:12px}
.v295 .modal-card .modal-short{font-size:17px!important;line-height:1.55!important;color:#575c64!important}
.v295 #modalLongDesc,.v295 #modalLongDesc p{font-size:16px!important;line-height:1.65!important;color:#50545c!important}
.v295 #modalSpecs>div{padding:12px!important}.v295 #modalSpecs span,.v295 #modalSpecs b{font-size:15px!important;line-height:1.45!important}
.v295 .modal-setup-add{margin-bottom:16px;font-size:16px;text-align:left}
.v295 .modal{z-index:2400!important}.v295 .cart{z-index:2500!important}.v295 .cart-backdrop{z-index:2490!important}.v295 .cart-toast{z-index:2600!important}
.v295 .accessory-pill-row{flex-wrap:wrap;overflow:visible}.v295 .accessory-pill span{font-size:14px}.v295 .accessory-pill small{font-size:12px}
.v295 .cart-note,.v295 .cart-line-info small{font-size:14px}.v295 .cart-line-info>b{font-size:16px}.v295 .cart-feedback{font-size:14px}
.v295 button:disabled{cursor:not-allowed;opacity:.5}
.v295.workspace-open{overflow:hidden!important}
.v295 .workspace-overlay{position:fixed;inset:0;display:flex;align-items:flex-start;justify-content:center;padding:32px 20px;z-index:2300;overflow-y:auto;overscroll-behavior:contain}
.v295 .workspace-backdrop{position:fixed;inset:0;background:#19161166;backdrop-filter:blur(4px)}
.v295 .workspace-dialog{position:relative;width:min(1120px,100%);max-height:calc(100dvh - 64px);overflow-y:auto;overscroll-behavior:contain;background:#f6f4ef;border:1px solid #e4dfd7;border-radius:24px;padding:28px;box-shadow:0 18px 70px #17151326;scrollbar-gutter:stable}
.v295 .workspace-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px}
.v295 .workspace-head small{font-size:11px;font-weight:750;letter-spacing:.16em;color:#73716b}.v295 .workspace-head h2{font-size:30px;font-weight:800;line-height:1.2;letter-spacing:-.035em;margin:6px 0 0}
.v295 .workspace-close{position:sticky;top:0;align-self:flex-start;display:grid;place-items:center;flex:none;border:1px solid #ddd8d1;background:#fff;color:#171513;border-radius:12px;font-size:28px;width:44px;height:44px;z-index:2}
.v295 .workspace-nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.v295 .workspace-nav button,.v295 .upgrade-goals button{min-height:44px;border:1px solid #ddd8d1;background:#fff;border-radius:12px;padding:10px 16px;color:#171513;font-size:15px}
.v295 .workspace-nav [aria-pressed=true],.v295 .upgrade-goals .active{background:#171513;color:#fff;border-color:#171513}
.v295 .workspace-feedback{margin:0 0 16px;padding:12px 16px;background:#eaece5;color:#374332;border-radius:12px;font-size:15px;line-height:1.5}
.v295 .workspace-feedback:empty{display:none}
.v295 .workspace-intro{font-size:16px;line-height:1.6;color:#5e6168;margin:0 0 22px;max-width:850px}
.v295 .workspace-note{font-size:15px;line-height:1.55;color:#626567;margin:16px 0;padding:14px 16px;border:1px solid #dfdbd3;border-radius:12px;background:#f1eee7}
.v295 .setup-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;align-items:start}
.v295 .setup-group{border:1px solid #e4e0d8;border-radius:16px;padding:18px;background:#fff;margin-bottom:16px}
.v295 .setup-group h3{font-size:20px;letter-spacing:-.02em;margin:0 0 16px}.v295 .setup-group h3>span{font-size:14px;color:#7a7a75;margin-left:8px}
.v295 .setup-empty-note{font-size:15px;line-height:1.5;color:#747571;margin:0}
.v295 .setup-row{display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px;padding:14px 0;border-bottom:1px solid #ece9e3}.v295 .setup-row:last-child{border:0;padding-bottom:0}
.v295 .setup-image{padding:0;border:0;border-radius:10px;overflow:hidden;width:80px;height:80px;background:#f7f6f3}.v295 .setup-image img{display:block;width:100%;height:100%;object-fit:contain}
.v295 .setup-name{font-size:16px;text-align:left;background:transparent;border:0;color:#171513;font-weight:650;padding:0;line-height:1.4}
.v295 .setup-row-copy{display:flex;flex-direction:column;gap:5px}.v295 .setup-row-copy small{font-size:13px;color:#777}.v295 .setup-row-copy b{font-size:17px}
.v295 .setup-row-controls{grid-column:1/-1;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.v295 .setup-row-controls select{width:150px}.v295 .setup-qty{display:flex;gap:8px;align-items:center;font-size:13px;color:#60636b}.v295 .setup-qty input{width:64px!important}
.v295 .text-button{background:none;border:0;color:#636a78;min-height:40px;padding:6px 0;text-decoration:underline;text-underline-offset:3px;font-size:14px}
.v295 .setup-summary{position:sticky;top:0;background:#fff;border:1px solid #e4e0d8;border-radius:16px;padding:20px;display:flex;flex-direction:column;align-items:stretch;gap:12px}
.v295 .setup-summary>small{font-size:15px;color:#6b6d73}.v295 .setup-summary>strong{font-size:32px;letter-spacing:-.04em;line-height:1.2}.v295 .setup-summary>p{font-size:14px;line-height:1.5;color:#72747a;margin:0 0 6px}
.v295 .own-keyboard{border-top:1px solid #ddd8d1;margin-top:26px;padding-top:20px}.v295 .own-keyboard summary{font-size:17px;font-weight:650;cursor:pointer;padding:5px 0}.v295 .own-keyboard>p{font-size:15px;color:#676a70}
.v295 .workspace-dialog select,.v295 .workspace-dialog input,.v295 .workspace-dialog textarea{font:inherit;font-size:16px;min-height:44px;padding:10px 12px;border:1px solid #dcd8d0;border-radius:10px;background:#fff;color:#171513;max-width:100%}
.v295 .profile-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 20px}
.v295 .profile-fields label,.v295 .match-controls label,.v295 .brand-search{display:flex;flex-direction:column;gap:7px;font-size:14px;color:#5d6066;min-width:0}
.v295 .profile-fields input,.v295 .profile-fields select,.v295 .match-controls input,.v295 .match-controls select{width:100%}
.v295 .match-controls{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:16px}
.v295 .upgrade-goals{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.v295 .weight-field{display:flex;align-items:center;gap:12px;font-size:14px}.v295 .weight-field input{width:180px}
.v295 .recommendation-count{font-size:14px;color:#696c72;margin:18px 0 12px}
.v295 .workspace-dialog .product-info h3{font-size:18px!important}.v295 .workspace-dialog .card-description{font-size:16px!important}.v295 .workspace-dialog .product-grid{gap:12px!important}
.v295 .brand-search{max-width:480px;margin:0 0 20px}.v295 .brand-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.v295 .brand-choice{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;background:#fff;border:1px solid #dedad2;border-radius:12px;padding:12px 16px;font-size:16px;text-align:left;color:#171513}
.v295 .brand-choice small{font-size:13px;color:#777}.v295 .brand-choice.active{border-color:#171513;background:#171513;color:#fff}.v295 .brand-choice.active small{color:#ddd}
.v295 .shared-lines{background:#fff;border:1px solid #e4dfd5;border-radius:16px;padding:12px 18px}.v295 .shared-lines>div{display:flex;justify-content:space-between;gap:24px;padding:14px 0;font-size:15px;border-bottom:1px solid #eee}.v295 .shared-lines>div:last-child{border:0}.v295 .shared-lines b{flex:none;font-weight:550;color:#6b7076}
.v295 .setup-copy{margin-top:20px}.v295 .setup-copy label{display:block;font-size:14px;margin-bottom:8px}.v295 .setup-copy textarea{display:block;width:100%;font-size:13px;overflow-wrap:anywhere}
.v295 .saved-keyboard{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;background:#fff;border:1px solid #e4dfd5;border-radius:14px;padding:12px 16px;margin:0 0 18px}.v295 .saved-keyboard>span{font-size:14px;color:#72747a}.v295 .saved-keyboard>b{font-size:16px;overflow-wrap:anywhere}.v295 .saved-keyboard button{margin-left:auto}
@media(min-width:901px) and (max-width:1150px){
 .v295 #tabs>.tab-btn{font-size:14px!important;padding:10px!important;gap:8px!important}.v295 #tabs>.tab-btn svg{width:22px!important;height:22px!important}
 .v295 .hero h1{font-size:42px!important}.v295 .topnav{gap:16px}.v295 .topnav button{font-size:13px}
 .v295 .setup-shortcut{padding:18px;gap:14px}.v295 .setup-shortcut>span{padding-left:14px}.v295 .setup-shortcut b{font-size:18px}
}
@media(max-width:900px){
 .v295 .app-shell{width:calc(100% - 32px)}.v295 .brand-copy b{font-size:13px}.v295 .brand-copy span{font-size:10px}.v295 .topnav{display:none}
 .v295 .hero h1{font-size:38px!important}.v295 .hero-media{height:280px!important}.v295 .hero-copy{padding:8px}.v295 .hero-subtitle{font-size:15px!important}
 .v295 .hero-actions button{font-size:14px;min-height:44px;padding:0 16px}.v295 .setup-shortcut{gap:12px;padding:16px}.v295 .setup-shortcut>span{padding-left:12px}.v295 .setup-shortcut>svg{width:30px;height:30px}.v295 .setup-shortcut b{font-size:17px}.v295 .setup-shortcut small{font-size:14px}
 .v295 .catalog-layout{gap:0}.v295 .mobile-catalog-controls{display:flex!important;margin-bottom:14px;position:sticky;top:0;z-index:40;background:#f6f4ef;padding:8px 0;gap:8px}.v295 .mobile-catalog-controls button{font-size:14px!important;padding:0 12px;min-height:46px!important}
 .v295 .catalog-panel{width:min(94vw,520px);padding:22px 18px!important}.v295 #tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.v295 #tabs>.tab-btn{font-size:15px!important;min-height:62px!important;padding:12px!important}
 .v295 .catalog-filters .filter-trigger{font-size:16px}.v295 .filter-option{font-size:15px}.v295 .brand-groups{align-items:flex-start;gap:10px;padding:12px!important}.v295 .brand-shelf-label{padding-top:12px}.v295 .brand-pill-row{gap:6px}.v295 .brand-pill{padding:0 13px;min-height:40px}.v295 .all-brands{margin-left:0}
 .v295 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
 .v295 .setup-layout{grid-template-columns:minmax(0,1fr)}.v295 .setup-summary{position:static}.v295 .profile-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.v295 .workspace-dialog .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .v295 .brand-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .v295 .app-shell{width:calc(100% - 24px);padding:12px 0 90px}.v295 .topbar{border-radius:16px;min-height:62px;padding:9px 10px}
 .v295 .brand-copy b{font-size:12px;letter-spacing:.12em}.v295 .header-actions{gap:5px}.v295 .header-icon{min-width:40px;height:40px}
 .v295 .hero{grid-template-columns:1fr!important;margin:12px 0!important;padding:14px!important;gap:14px!important;border-radius:18px!important}.v295 .hero h1{font-size:36px!important;margin-bottom:12px!important;max-width:440px!important}.v295 .hero-copy{padding:4px}
 .v295 .hero-media{height:160px!important}.v295 .hero-subtitle{font-size:15px!important;margin-bottom:16px!important}.v295 .hero-actions{gap:8px}
 .v295 .setup-shortcuts{grid-template-columns:1fr;gap:10px;margin-bottom:18px}.v295 .setup-shortcut{min-height:76px;border-radius:14px;padding:14px 16px}.v295 .setup-shortcut b{font-size:18px}.v295 .setup-shortcut small{font-size:14px}
 .v295 .catalog-toolbar{margin-bottom:6px}.v295 .catalog-toolbar h2{font-size:30px;margin-bottom:12px}.v295 .catalog-search-sort{width:100%}.v295 .catalog-search{min-height:46px;border-radius:12px}.v295 .catalog-search input{font-size:16px}
 .v295 .brand-groups{display:block}.v295 .brand-shelf-label{display:block;margin-bottom:8px;padding:0;font-size:14px}.v295 .brand-pill span{font-size:13px}.v295 .brand-pill{padding:0 12px;min-height:40px;border-radius:999px}
 .v295 .catalog-meta{gap:8px;margin:4px 0 10px}.v295 .catalog-result-count{font-size:13px}.v295 .catalog-sort select{font-size:13px;max-width:180px;min-height:42px;border:1px solid var(--line);padding:0 26px 0 10px}
 .v295 .product-grid{grid-template-columns:1fr!important;gap:16px!important}.v295 .product-card{padding:12px!important;border-radius:18px!important}
 .v295 .product-photo{aspect-ratio:4/3!important}.v295 .product-info{padding:14px 4px 0!important}.v295 .product-info h3{font-size:21px!important;line-height:1.25!important;min-height:0!important}
 .v295 .card-description{font-size:16px!important;line-height:1.5!important;max-height:72px;min-height:0}.v295 .card-highlights{min-height:0;margin-bottom:16px;gap:7px;flex-direction:row;flex-wrap:wrap}.v295 .card-highlights span{font-size:14px}
 .v295 .variant-select{font-size:16px!important;height:46px!important;min-height:46px!important}.v295 .card-choice-slot{min-height:46px;margin-bottom:14px}.v295 .card-choice-placeholder{height:0}.v295 .card-choice-slot:has(.card-choice-placeholder){min-height:0;margin:0}
 .v295 .product-price{min-height:34px!important;margin-bottom:14px!important}.v295 .product-price b{font-size:26px!important;width:auto!important}.v295 .product-price .unit-price{font-size:14px!important}.v295 .product-actions .cart-btn{min-height:48px!important;font-size:16px!important}.v295 .cart-btn svg{width:20px;height:20px}
 .v295 .setup-add{font-size:15px;min-height:44px}.v295 .support-help{padding:20px}.v295 .support-help h2{font-size:24px}.v295 .support-help p{font-size:15px}.v295 .support-help button{font-size:15px}
 .v295 .workspace-overlay{padding:0;align-items:stretch}.v295 .workspace-dialog{width:100%;height:100dvh;max-height:none;border-radius:0;padding:20px 16px calc(24px + env(safe-area-inset-bottom));border:0}
 .v295 .workspace-head{gap:12px;margin-bottom:18px}.v295 .workspace-head h2{font-size:26px}.v295 .workspace-head small{font-size:10px}.v295 .workspace-nav{gap:6px}.v295 .workspace-nav button{font-size:14px;padding:9px 11px;min-height:44px}
 .v295 .workspace-intro{font-size:15px;margin-bottom:18px}.v295 .setup-group{padding:14px}.v295 .setup-group h3{font-size:20px}.v295 .setup-layout{gap:16px}
 .v295 .setup-row{grid-template-columns:68px minmax(0,1fr)}.v295 .setup-image{width:68px;height:68px}.v295 .setup-row-controls{gap:8px}.v295 .setup-qty{font-size:12px}.v295 .setup-row-controls select{width:142px}
 .v295 .profile-fields{gap:12px;grid-template-columns:1fr 1fr}.v295 .profile-fields>label:nth-child(-n+2){grid-column:1/-1}.v295 .profile-fields label{font-size:13px}
 .v295 .match-controls{grid-template-columns:1fr 1fr;gap:12px}.v295 .match-controls label:last-child{grid-column:1/-1}.v295 .upgrade-goals{gap:7px}.v295 .upgrade-goals button{padding:10px 12px;font-size:14px}
 .v295 .workspace-dialog .product-grid{grid-template-columns:1fr!important}.v295 .workspace-dialog .product-info h3{font-size:21px!important}
 .v295 .brand-choices{gap:8px}.v295 .brand-choice{padding:12px 10px;font-size:15px;overflow-wrap:anywhere}
 .v295 .shared-lines>div{flex-direction:column;gap:6px}.v295 .weight-field{flex-wrap:wrap}.v295 #modalSpecs span,.v295 #modalSpecs b{font-size:14px!important}
}

/* v297: original photos, framed using each source image's subject bounds. */
.v295 .product-photo.photo-framed {
  background:var(--photo-bg,#fff)!important;
  aspect-ratio:var(--photo-aspect,4/3)!important;
}
.v295 .product-photo.photo-framed .product-photo-main {
  position:absolute!important;
  inset:auto!important;
  left:var(--photo-left,0%)!important;
  top:var(--photo-top,0%)!important;
  width:var(--photo-width,100%)!important;
  height:var(--photo-height,100%)!important;
  min-width:0!important;
  max-width:none!important;
  min-height:0!important;
  max-height:none!important;
  object-fit:var(--photo-fit,contain)!important;
  object-position:var(--photo-position,50% 50%)!important;
  transform:none!important;
  background:transparent!important;
}

/* v298: focused keyboard upgrade flow. */
.v298 .workspace-dialog.workspace-upgrade{width:min(1160px,100%);padding:30px;background:#f6f4ef;box-sizing:border-box}
.v298 .workspace-upgrade .workspace-head{margin-bottom:20px;align-items:flex-start}
.v298 .workspace-upgrade .workspace-head h2{font-size:30px;line-height:1.2;margin-top:8px}
.v298 .workspace-upgrade .workspace-close{position:static;background:#fff;border-color:#e0dcd5;flex-shrink:0}
.v298 .workspace-upgrade .workspace-nav{gap:4px;background:#ebe8e2;border-radius:13px;padding:4px;display:inline-flex;max-width:100%;margin-bottom:26px}
.v298 .workspace-upgrade .workspace-nav button{border:0;background:transparent;border-radius:9px;min-height:42px;padding:10px 17px;font-size:14px;color:#66635d}
.v298 .workspace-upgrade .workspace-nav button[aria-pressed=true]{background:#fff;color:#171513;box-shadow:0 1px 4px #21170e0b}
.v298 .workspace-upgrade :is(button,input,select):focus-visible{outline:2px solid #171513;outline-offset:3px}
.v298 .workspace-upgrade #workspaceContent{min-width:0}
.v298 .upgrade-intro{margin:0 0 22px}
.v298 .upgrade-intro p{font-size:22px;line-height:1.35;letter-spacing:-.025em;font-weight:650;margin:0 0 6px;color:#171513}
.v298 .upgrade-intro>span{font-size:15px;line-height:1.55;color:#68665f}
.v298 .upgrade-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:18px;align-items:start}
.v298 .upgrade-model-panel,.v298 .upgrade-main-panel{min-width:0;padding:22px;background:#fff;border:1px solid #e5e1da;border-radius:18px}
.v298 .upgrade-step-title{display:flex;align-items:center;gap:10px;min-width:0;margin-bottom:20px}
.v298 .upgrade-step-title>span{display:grid;place-items:center;flex:0 0 28px;height:28px;border:1px solid #e1ddd6;border-radius:9px;color:#767169;font-size:11px;font-weight:600}
.v298 .upgrade-step-title h3{font-size:18px;line-height:1.35;font-weight:650;letter-spacing:-.02em;color:#171513;margin:0;min-width:0}
.v298 .upgrade-device{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.v298 .upgrade-device-photo{display:flex;width:100%;height:126px;align-items:center;justify-content:center;border-radius:12px;overflow:hidden;margin:0 0 8px;background:#fff}
.v298 .upgrade-device-photo img{width:100%;height:100%;object-fit:contain;display:block}
.v298 .upgrade-device-symbol{padding:16px;background:#f5f3ef;border-radius:12px;margin-bottom:10px}
.v298 .upgrade-device-symbol svg,.v298 .upgrade-model-empty>svg{width:36px;height:36px}
.v298 .upgrade-device-label{font-size:12px;color:#7b766e}
.v298 .upgrade-device h4,.v298 .upgrade-model-empty h4{font-size:21px;line-height:1.3;letter-spacing:-.025em;font-weight:650;margin:0;overflow-wrap:anywhere;color:#171513}
.v298 .upgrade-device p{margin:0;font-size:14px;color:#69665f;line-height:1.5}
.v298 .upgrade-device .text-button{font-size:14px;min-height:40px;color:#504e49}
.v298 .upgrade-save-hint{font-size:13px;line-height:1.6;color:#79746c;margin:14px 0 0;padding-top:16px;border-top:1px solid #eeeae4}
.v298 .upgrade-model-empty{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.v298 .upgrade-model-empty p{font-size:14px;line-height:1.6;color:#737068;margin:0}
.v298 .upgrade-model-editor label{font-size:14px;color:#4f4b45;display:block;margin-bottom:8px}
.v298 .upgrade-model-editor input{width:100%;min-width:0;font-size:16px;border-color:#dcd7cf;border-radius:10px}
.v298 .upgrade-model-results{max-height:252px;overflow-y:auto;overscroll-behavior:contain;margin:10px -6px 8px;padding:0 6px;scrollbar-width:thin}
.v298 .upgrade-model-results>button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:10px 8px;background:transparent;border:0;border-radius:8px;font-size:14px;color:#292622;text-align:left;line-height:1.4}
.v298 .upgrade-model-results>button:hover{background:#f4f2ee}
.v298 .upgrade-model-results>button span{min-width:0;overflow-wrap:anywhere}
.v298 .upgrade-model-results svg{width:16px;height:16px;flex-shrink:0;color:#888177}
.v298 .upgrade-model-editor .text-button{font-size:13px;line-height:1.4;min-height:40px;color:#59554e}
.v298 .upgrade-model-editor .upgrade-cancel{display:block}
.v298 .upgrade-model-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.v298 .upgrade-model-actions .primary-btn{font-size:14px;min-height:42px;padding:10px 14px}
.v298 .upgrade-field-error{font-size:13px;color:#9d382d;line-height:1.5;margin:8px 0}
.v298 .upgrade-field-error:empty{display:none}
.v298 .upgrade-search-empty{font-size:14px;line-height:1.5;color:#777168;padding:4px 0}
.v298 .upgrade-goal-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.v298 .upgrade-goal-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-width:0;min-height:192px;padding:16px 14px;background:#fff;border:1px solid #dedad3;border-radius:13px;color:#24211d;transition:background .15s,border-color .15s}
.v298 .upgrade-goal-card:hover{background:#f9f7f3;border-color:#a39b8e}
.v298 .upgrade-goal-card[aria-pressed=true]{background:#f3f0e9;border-color:#24211d;box-shadow:inset 0 0 0 1px #24211d}
.v298 .upgrade-goal-top{display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:18px}
.v298 .upgrade-goal-top>svg{width:24px;height:24px}
.v298 .upgrade-goal-check{width:20px;height:20px;border-radius:50%;background:#171513;color:#fff;visibility:hidden;display:grid;place-items:center}
.v298 .upgrade-goal-check svg{width:14px;height:14px}
.v298 .upgrade-goal-card[aria-pressed=true] .upgrade-goal-check{visibility:visible}
.v298 .upgrade-goal-card b{font-size:17px;line-height:1.3;font-weight:650;letter-spacing:-.02em;margin:0 0 7px}
.v298 .upgrade-goal-description{font-size:14px;line-height:1.45;color:#666158;margin-bottom:18px}
.v298 .upgrade-goal-card>small{font-size:12px;line-height:1.4;color:#81796e;margin-top:auto}
.v298 .upgrade-weight{display:grid;grid-template-columns:1fr 140px;gap:8px 16px;align-items:center;font-size:14px;color:#423d36;margin:20px 0 0}
.v298 .upgrade-weight>span>small{display:block;font-size:12px;color:#8b8378;margin-top:4px}
.v298 .upgrade-weight>small{grid-column:1/-1;font-size:13px;color:#7c756b;line-height:1.5}
.v298 .upgrade-weight-input{display:flex;position:relative;align-items:center;min-width:0}
.v298 .upgrade-weight-input input{width:100%;padding-right:26px;font-size:16px}
.v298 .upgrade-weight-input>span{position:absolute;right:12px;color:#888175;font-size:14px}
.v298 .upgrade-status{display:flex;align-items:flex-start;gap:11px;background:#f6f4ef;padding:15px 16px;border-radius:11px;margin:20px 0 0}
.v298 .upgrade-status-dot{width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#ad8c48;margin-top:7px}
.v298 .upgrade-status[data-kind=ready] .upgrade-status-dot{background:#5c7756}
.v298 .upgrade-status[data-kind=model] .upgrade-status-dot{background:#888175}
.v298 .upgrade-status b{display:block;font-size:14px;font-weight:600;line-height:1.45;color:#3e382e}
.v298 .upgrade-status p{margin:4px 0 0;font-size:13px;line-height:1.55;color:#777064}
.v298 .upgrade-disclosure{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;border:0;border-bottom:1px solid #eeeae4;background:none;font-size:14px;font-weight:500;color:#5c554b;padding:14px 0;min-height:48px;text-align:left}
.v298 .upgrade-disclosure>span:last-child{font-size:22px;font-weight:400}
.v298 .upgrade-compatibility-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px;padding:20px 0 2px}
.v298 .upgrade-field{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:14px;line-height:1.4;color:#4b453c}
.v298 .upgrade-field select{width:100%;font-size:15px;min-width:0}
.v298 .upgrade-field small{font-size:12px;line-height:1.55;color:#7a7369}
.v298 .upgrade-footer{display:flex;align-items:center;gap:16px;margin-top:20px}
.v298 .upgrade-submit{min-height:48px;padding:12px 20px;border-radius:11px;font-size:15px;line-height:1.35;display:flex;align-items:center;justify-content:center;gap:16px;flex-shrink:0;max-width:100%;white-space:normal}
.v298 .upgrade-submit svg{height:18px;width:18px;flex-shrink:0}
.v298 #upgradeActionHint{font-size:12px;line-height:1.5;color:#847b6e;max-width:170px}
.v298 .upgrade-recommendations{margin-top:30px;scroll-margin-top:18px}
.v298 .upgrade-recommendations>header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:8px}
.v298 .upgrade-recommendations .upgrade-step-title{margin:0}
.v298 #recommendationCount{font-size:13px;color:#81786c;line-height:1.5}
.v298 .upgrade-results-note{font-size:14px;line-height:1.6;color:#726a5f;margin:0 0 20px}
.v298 .upgrade-more{display:flex;margin:20px auto 0;min-height:46px;padding:12px 22px;font-size:15px}
@media(max-width:1050px){
 .v298 .upgrade-layout{grid-template-columns:230px minmax(0,1fr);gap:14px}
 .v298 .upgrade-model-panel,.v298 .upgrade-main-panel{padding:18px}
 .v298 .upgrade-goal-card{padding:14px 12px}.v298 .upgrade-goal-card b{font-size:16px}
 .v298 .upgrade-footer{flex-wrap:wrap;gap:10px}.v298 #upgradeActionHint{max-width:none}
}
@media(max-width:850px){
 .v298 .workspace-dialog.workspace-upgrade{padding:24px}
 .v298 .upgrade-layout{grid-template-columns:1fr}
 .v298 .upgrade-model-panel .upgrade-step-title{margin-bottom:14px}
 .v298 .upgrade-device{display:grid;grid-template-columns:108px minmax(0,1fr) auto;gap:4px 16px;align-items:center}
 .v298 .upgrade-device-photo,.v298 .upgrade-device-symbol{grid-row:1/4;width:108px;height:76px;margin:0}
 .v298 .upgrade-device-label{grid-column:2;align-self:end}
 .v298 .upgrade-device h4{grid-column:2;font-size:20px}
 .v298 .upgrade-device p{grid-column:2;align-self:start}
 .v298 .upgrade-device .text-button{grid-column:3;grid-row:1/4;align-self:center}
 .v298 .upgrade-save-hint{margin-top:14px;padding-top:12px}
 .v298 .upgrade-model-results{max-height:210px}
 .v298 .upgrade-goal-card{min-height:170px}
}
@media(max-width:600px){
 .v298 .workspace-dialog.workspace-upgrade{padding:22px 16px calc(24px + env(safe-area-inset-bottom));width:100%;border-radius:0;max-width:100vw}
 .v298 .workspace-upgrade .workspace-head h2{font-size:26px;line-height:1.2;max-width:250px}
 .v298 .workspace-upgrade .workspace-head{gap:12px;margin-bottom:18px}
 .v298 .workspace-upgrade .workspace-nav{display:grid;grid-template-columns:1fr 1fr 1.35fr;width:100%;margin-bottom:22px;gap:2px}
 .v298 .workspace-upgrade .workspace-nav button{font-size:12px;padding:8px 6px;line-height:1.35;min-height:46px;overflow-wrap:anywhere}
 .v298 .upgrade-intro p{font-size:20px}.v298 .upgrade-intro>span{font-size:14px}.v298 .upgrade-intro{margin-bottom:18px}
 .v298 .upgrade-model-panel,.v298 .upgrade-main-panel{padding:16px;border-radius:15px}
 .v298 .upgrade-step-title h3{font-size:17px}.v298 .upgrade-step-title{margin-bottom:16px}
 .v298 .upgrade-device{grid-template-columns:88px minmax(0,1fr);gap:4px 12px}
 .v298 .upgrade-device-photo,.v298 .upgrade-device-symbol{width:88px;height:74px;grid-row:1/4}
 .v298 .upgrade-device h4{font-size:18px}.v298 .upgrade-device p{font-size:13px}
 .v298 .upgrade-device .text-button{grid-column:1/-1;grid-row:4;justify-self:start;margin-top:4px}
 .v298 .upgrade-goal-cards{grid-template-columns:1fr;gap:9px}
 .v298 .upgrade-goal-card{display:grid;grid-template-columns:34px minmax(0,1fr) 20px;gap:5px 12px;min-height:0;padding:15px;text-align:left}
 .v298 .upgrade-goal-top{display:contents;margin:0}
 .v298 .upgrade-goal-top>svg{grid-column:1;grid-row:1/4;align-self:center}
 .v298 .upgrade-goal-check{grid-column:3;grid-row:1/4;align-self:center}
 .v298 .upgrade-goal-card b{grid-column:2;grid-row:1;font-size:17px;margin:0}
 .v298 .upgrade-goal-description{grid-column:2;grid-row:2;font-size:13px;line-height:1.4;margin:0}
 .v298 .upgrade-goal-card>small{grid-column:2;grid-row:3;font-size:12px;margin:2px 0 0}
 .v298 .upgrade-status{padding:13px;margin-top:16px}
 .v298 .upgrade-compatibility-fields{grid-template-columns:1fr;gap:18px;padding-top:18px}
 .v298 .upgrade-field select{font-size:16px}
 .v298 .upgrade-footer{flex-direction:column;align-items:stretch;margin-top:16px}
 .v298 .upgrade-submit{width:100%;font-size:15px;min-height:48px;gap:12px}
 .v298 #upgradeActionHint{text-align:center}
 .v298 .upgrade-weight{grid-template-columns:minmax(0,1fr) 118px;gap:8px}
 .v298 .upgrade-recommendations>header{align-items:flex-start;flex-direction:column;gap:8px}
 .v298 .upgrade-recommendations{margin-top:24px}.v298 .upgrade-results-note{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.v298 .upgrade-goal-card{transition:none}}
