:root {
  --white:#fff;
  --paper:#f5f5f3;
  --ink:#1c1d1b;
  --muted:#5d655e;
  --line:#dde0d9;
  --control-border:#858d80;
  --orange:#f15a30;
  --orange-dark:#b93718;
  --orange-hover:#e85229;
  --green:#356744;
  --font:'Golos Text',Arial,sans-serif;
  --display:'Roboto Condensed','Arial Narrow',var(--font);
  --radius:24px;
  --radius-small:16px;
  --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;
  --space-5:20px;--space-6:24px;--space-7:28px;--space-8:32px;
  --header-offset:120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:var(--header-offset)}
body{margin:0;background:var(--white);color:var(--ink);font:16px/1.6 var(--font);-webkit-font-smoothing:antialiased}
body.modal-open{overflow:hidden}
button,input,select,textarea{font:inherit}
button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
button{border:0;background:none;color:inherit;cursor:pointer}
button:disabled{cursor:not-allowed}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
h1,h2,h3,p{margin:0}
button,a,input,select,textarea{outline-offset:4px}
:focus-visible{outline:3px solid var(--orange-dark)}
[hidden]{display:none!important}
.container{width:calc(100% - 80px);max-width:1360px;margin-inline:auto}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);vertical-align:middle;flex-shrink:0}
.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--white)}
.icon-button:hover{background:var(--paper);border-color:var(--control-border)}
.header{position:sticky;top:0;z-index:20;background:var(--white);border-bottom:1px solid var(--line)}
.header-inner{display:grid;grid-template-columns:auto minmax(240px,1fr) auto;gap:40px;align-items:center;min-height:96px;padding-block:16px}
.brand{display:inline-flex;align-items:center;justify-self:start;min-height:44px}
.brand-logo{width:144px;height:auto}
.search-form{display:flex;align-items:center;gap:12px;min-width:0;min-height:56px;border:1px solid var(--control-border);border-radius:32px;padding:4px 4px 4px 20px;background:var(--paper)}
.search-form:focus-within{border-color:var(--ink);box-shadow:0 0 0 2px var(--ink)}
.search-form>svg{color:var(--muted);width:20px;height:20px}
.search-form input{min-width:0;flex:1;width:100%;min-height:44px;padding:0;border:0;outline:none;background:none;color:var(--ink);font-size:16px;line-height:1.4}
.search-form input::placeholder{color:var(--muted);opacity:1}
.search-form input::-webkit-search-cancel-button{-webkit-appearance:none}
.search-submit{align-self:stretch;min-height:46px;padding:0 24px;border-radius:28px;background:var(--ink);color:var(--white);font-size:14px;font-weight:550}
.search-submit:hover{background:#3a3f36}
.clear-search{display:grid;place-items:center;min-width:44px;height:44px;padding:0;border-radius:50%}
.clear-search:hover{background:var(--line)}
.clear-search>svg{width:18px;height:18px}
.header-actions{display:flex;align-items:center;gap:8px}
.cart-toggle,.wholesale-toggle{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 16px;border:1px solid var(--line);border-radius:30px;white-space:nowrap;font-size:14px;font-weight:550}
.cart-toggle:hover,.wholesale-toggle:hover{border-color:var(--ink);background:var(--paper)}
.wholesale-toggle[data-price-tier="wholesale"]{color:var(--orange-dark);border-color:currentColor}
.cart-toggle>b{display:grid;place-items:center;min-width:28px;height:28px;padding-inline:6px;border-radius:50%;background:var(--ink);color:var(--white);font-size:12px;font-variant-numeric:tabular-nums}
.hero{display:grid;grid-template-columns:1fr 1.05fr;gap:24px;margin-top:32px}
.hero-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:520px;padding:36px 40px;background:var(--paper);border-radius:var(--radius)}
.hero-copy-top{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%}
.hero-mini-mark{color:var(--orange);font-size:30px;line-height:1;font-weight:800;letter-spacing:-4px;transform:skew(-9deg);padding-right:6px}
.hero-minimum{border:1px solid #cdd2c8;border-radius:24px;padding:6px 12px;font-size:12px;line-height:1.5;color:var(--muted)}
.hero h1{font-family:var(--display);font-size:clamp(44px,4.45vw,66px);font-weight:800;letter-spacing:-.03em;line-height:1.06;margin:32px 0 24px}
.hero h1>span{color:var(--orange)}
.hero-description{max-width:410px;color:var(--muted);font-size:16px;line-height:1.75}
.button{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:52px;padding:8px 16px 8px 24px;border-radius:30px;font-size:14px;font-weight:550;line-height:1.5;transition:background .15s,color .15s}
.primary{background:var(--orange);color:var(--ink)}
.primary:hover{background:var(--orange-hover)}
.button>svg{width:20px;height:20px}
.button-arrow{display:grid;place-items:center;width:36px;height:36px;background:var(--white);border-radius:50%}
.button-arrow>svg{width:20px;height:20px}
.hero .button{margin-top:28px;padding:8px 8px 8px 24px;gap:32px}
.hero-footnote{display:flex;align-items:flex-start;gap:8px;margin-top:auto;padding-top:28px;font-size:12px;line-height:1.7;color:var(--muted)}
.hero-footnote>.status-dot{margin-top:7px}
.hero-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(300px,1fr) 176px;gap:24px;min-width:0}
.hero-visual{grid-column:1/-1;position:relative;overflow:hidden;border-radius:var(--radius);background:var(--ink)}
.hero-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 48%}
.photo-label{position:absolute;bottom:20px;left:20px;right:76px;width:max-content;max-width:calc(100% - 96px);padding:10px 16px;background:var(--white);border-radius:28px;font-size:12px;font-weight:550;line-height:1.5}
.photo-arrow{position:absolute;bottom:20px;right:20px;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--orange);color:var(--ink)}
.hero-category{position:relative;min-width:0;overflow:hidden;border-radius:var(--radius);background:var(--paper)}
.hero-category>img{width:100%;height:100%;object-fit:cover}
.hero-category>span{position:absolute;left:12px;right:12px;bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:8px 12px;border-radius:26px;background:var(--white);font-size:14px;font-weight:500}
.hero-category>span>svg{width:18px;height:18px}
.hero-visual:hover .photo-arrow,.hero-category:hover>span{background:var(--orange);color:var(--ink)}
h2{font-size:38px;font-weight:550;line-height:1.2;letter-spacing:-1.5px}
h2>span{color:var(--orange)}
.catalog-section,.purchase-section{padding-top:72px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}
.catalog-source{display:flex;align-items:center;gap:8px;padding:8px 12px;flex-shrink:0;border-radius:24px;background:var(--paper);color:var(--muted);font-size:12px;line-height:1.5}
.catalog-source.is-unavailable .status-dot{background:var(--orange-dark)}
.catalog-controls{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--line);scroll-margin-top:0}
.catalog-controls:focus{outline:none}
.category-toggle{display:none}
.category-tabs{display:flex;flex-wrap:wrap;gap:8px}
.category-tabs>button{min-height:44px;border:1px solid var(--control-border);border-radius:24px;padding:9px 18px;font-size:14px;font-weight:450;line-height:1.5;white-space:nowrap}
.category-tabs>button.active{border-color:var(--ink);background:var(--ink);color:var(--white)}
.category-tabs>button:hover:not(.active){background:var(--paper);border-color:var(--ink)}
.catalog-tools{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px}
#result-count{font-size:14px;line-height:1.6;color:var(--muted)}
.catalog-options{display:flex;align-items:center;gap:24px}
.stock-filter{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;font-size:14px;white-space:nowrap}
.stock-filter input{width:20px;height:20px;margin:0;accent-color:var(--ink)}
.sort-label{display:flex;align-items:center;gap:12px;font-size:14px}
.sort-label>span{color:var(--muted)}
#sort{min-height:44px;max-width:100%;padding:8px 32px 8px 14px;border:1px solid var(--control-border);border-radius:24px;background:var(--white);color:var(--ink);font-size:14px;cursor:pointer}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.product-card{display:flex;flex-direction:column;min-width:0;padding:12px;border:1px solid var(--line);border-radius:22px;background:var(--white);transition:border-color .15s}
.product-card:hover{border-color:var(--control-border)}
.product-photo{position:relative;display:block;width:100%;padding:0;overflow:hidden;border-radius:14px;background:var(--paper)}
.product-photo.is-placeholder::after{content:"Фото пока нет";position:absolute;bottom:12px;left:8px;right:8px;color:var(--muted);font-size:12px;line-height:1.5;text-align:center}
.product-photo>img{width:100%;aspect-ratio:1.12;object-fit:contain;padding:16px}
.product-badge{position:absolute;top:10px;left:10px;max-width:calc(100% - 20px);padding:5px 10px;z-index:1;border-radius:18px;background:var(--white);font-size:12px;font-weight:500;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-badge.muted{color:var(--muted)}
.product-info{display:flex;flex-direction:column;flex:1;padding:16px 4px 4px;min-width:0}
.product-sku{display:flex;justify-content:space-between;gap:8px;margin-bottom:8px;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.product-sku>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-name{min-height:48px;text-align:left;padding:0;overflow-wrap:anywhere;font-size:16px;font-weight:550;line-height:1.5}
.product-name:hover{color:var(--orange-dark)}
.product-spec{margin-top:8px;color:var(--muted);font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.product-stock{display:block;margin:12px 0 16px;color:var(--green);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.product-stock>.status-dot{margin-right:6px}
.product-stock.unavailable{color:var(--muted)}
.product-stock.unavailable>.status-dot{background:var(--muted)}
.price-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:8px;min-width:0}
.price-row strong{font-size:28px;font-weight:650;line-height:1.3;letter-spacing:-1px;overflow-wrap:anywhere;max-width:100%;font-variant-numeric:tabular-nums}
.price-row>span{font-size:12px;color:var(--muted)}
.unit-price{font-size:12px;line-height:1.6;color:var(--muted);margin-top:4px}
.buy-row{display:flex;gap:8px;min-height:44px;margin-top:20px}
.quantity-control{display:flex;align-items:center;min-width:130px;min-height:48px;border:1px solid var(--control-border);border-radius:24px;background:var(--paper);color:var(--ink);overflow:hidden;flex-shrink:0}
.quantity-control>button{display:grid;place-items:center;flex:0 0 36px;min-width:36px;min-height:46px;padding:0;font-size:20px;line-height:1}
.quantity-control>button:hover:not(:disabled){background:var(--line)}
.quantity-control>button:disabled{color:#979d94}
.quantity-control>input{appearance:textfield;-moz-appearance:textfield;flex:1;width:56px;min-width:56px;height:46px;padding:0;border:0;outline:0;background:none;color:inherit;text-align:center;font-size:16px;font-variant-numeric:tabular-nums}
.quantity-control:focus-within{outline:2px solid var(--ink);outline-offset:2px}
.quantity-control input::-webkit-inner-spin-button,.quantity-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.add-button{display:flex;flex:1;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:48px;padding:10px 12px;border-radius:24px;background:var(--ink);color:var(--white);font-size:14px;font-weight:550;line-height:1.5;white-space:nowrap}
.add-button>svg{width:16px;height:16px}
.add-button:hover:not(:disabled){background:var(--orange);color:var(--ink)}
.add-button:disabled{background:var(--paper);color:var(--muted);border:1px solid var(--line)}
.pagination-row{display:grid;grid-template-columns:1fr auto 1fr;gap:24px;align-items:center;padding-block:32px 20px}
.page-summary{font-size:14px;color:var(--muted)}
.pagination{max-width:100%}
.pagination-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;padding:4px;border-radius:28px;background:var(--paper)}
.pagination-number,.pagination-arrow{display:flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;padding:8px 12px;border-radius:24px;font-size:14px;font-weight:500;line-height:1.5}
.pagination-number.is-current{background:var(--orange);color:var(--ink)}
.pagination-number:hover:not(.is-current),.pagination-arrow:hover:not(:disabled){background:var(--white)}
.pagination-arrow:disabled{color:#92998a}
.pagination-prev>svg{transform:rotate(180deg)}
.pagination-arrow>svg{width:18px;height:18px}
.pagination-ellipsis{font-size:14px;color:var(--muted);padding-inline:4px}
.back-to-catalog{justify-self:end;display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px;color:var(--muted)}
.back-to-catalog>svg{width:16px;height:16px;transform:rotate(-90deg)}
.catalog-note{font-size:13px;color:var(--muted);line-height:1.7;max-width:900px}
.empty-results{grid-column:1/-1;padding:64px 24px;border-radius:var(--radius);background:var(--paper);text-align:center}
.empty-results h3{font-size:26px;letter-spacing:-.6px;font-weight:550;margin-bottom:12px}
.empty-results p{font-size:16px;color:var(--muted);overflow-wrap:anywhere}
.empty-results>button{min-height:48px;padding:12px 24px;margin-top:24px;border-radius:26px;background:var(--ink);color:var(--white);font-size:14px}
.purchase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:var(--radius);background:var(--paper);overflow:hidden}
.purchase-grid>div{padding:32px}
.purchase-grid>div+div{border-left:1px solid var(--line)}
.step-number{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:var(--white);color:var(--ink);font-size:12px;font-weight:550;margin-bottom:28px}
.purchase-grid h3{font-size:20px;font-weight:550;letter-spacing:-.5px;margin-bottom:12px;line-height:1.4}
.purchase-grid p{font-size:15px;color:var(--muted);line-height:1.8}
.footer{padding:40px 40px 24px;margin-top:72px;border-radius:var(--radius) var(--radius) 0 0;background:var(--ink);color:var(--white)}
.footer-main{display:flex;align-items:flex-start;justify-content:space-between;gap:32px}
.footer-brand{padding:8px 14px;border-radius:999px;background:var(--white)}
.footer-brand .brand-logo{width:160px}
.footer-brand:focus-visible{outline-color:var(--orange)}
.footer-main>p{font-size:16px;line-height:1.7;color:#c8cec3}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:24px;margin-top:40px;border-top:1px solid #484e44;font-size:12px;line-height:1.6;color:#c8cec3}
.footer-legal{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:13px}
.footer a:not(.footer-brand){display:inline-flex;align-items:center;gap:8px;min-height:44px}
.footer a:hover{color:var(--orange)}
.footer-bottom svg{width:16px;height:16px}
.eyebrow{font-size:12px;color:var(--muted);line-height:1.6}
.icon-library{position:absolute;width:0;height:0;overflow:hidden}
.skip-link{position:fixed;z-index:200;left:16px;top:-100px;padding:12px 20px;min-height:48px;background:var(--ink);color:var(--white);border-radius:24px;font-size:14px}
.skip-link:focus{top:16px}
dialog{border:0;padding:0;color:var(--ink);background:var(--white)}
dialog::backdrop{background:#171b176b}
.cart-dialog{position:fixed;inset:16px 16px 16px auto;margin:0;width:560px;max-width:calc(100% - 32px);height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);border-radius:24px;overflow:auto;overscroll-behavior:contain;scroll-padding-top:112px}
.drawer-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px;background:var(--white);border-bottom:1px solid var(--line)}
.drawer-head .eyebrow{display:none}
.drawer-head h2{font-size:28px;line-height:1.3;letter-spacing:-1px}
.drawer-head h2>span{font-size:14px;vertical-align:top;color:var(--muted);margin-left:8px}
.cart-content{padding:0 24px 32px}
.cart-empty{padding:64px 8px;text-align:center}
.cart-empty>svg{width:44px;height:44px;margin-bottom:24px;color:var(--muted)}
.cart-empty h3{font-size:26px;font-weight:550;letter-spacing:-.5px;line-height:1.4}
.cart-empty p{font-size:16px;color:var(--muted);margin:16px 0 28px;line-height:1.8}
.cart-item{display:grid;grid-template-columns:80px minmax(0,1fr);gap:16px;padding:24px 0;border-bottom:1px solid var(--line)}
.cart-item>img{width:80px;height:96px;padding:8px;border-radius:12px;background:var(--paper);object-fit:contain}
.cart-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.cart-item-head h3{font-size:16px;line-height:1.5;font-weight:550;overflow-wrap:anywhere}
.remove-item{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;padding:0;border-radius:50%;color:var(--muted)}
.remove-item:hover{background:var(--paper);color:var(--ink)}
.remove-item>svg{width:18px;height:18px}
.cart-item-stock{font-size:13px;line-height:1.6;color:var(--muted);margin:8px 0}
.cart-item-spec{font-size:13px;color:var(--muted);line-height:1.6;margin:4px 0 12px}
.cart-item-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.cart-item-bottom strong{font-size:20px;line-height:1.4;letter-spacing:-.3px;font-weight:600;font-variant-numeric:tabular-nums}
.minimum-progress{margin:28px 0}
.minimum-progress>div{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px;line-height:1.6}
.minimum-progress progress{appearance:none;display:block;width:100%;height:6px;border:0;margin-top:12px;overflow:hidden;border-radius:4px;background:var(--line)}
.minimum-progress progress::-webkit-progress-bar{background:var(--line)}
.minimum-progress progress::-webkit-progress-value{background:var(--orange)}
.minimum-progress progress::-moz-progress-bar{background:var(--orange)}
.cart-total{display:flex;align-items:center;justify-content:space-between;gap:16px}
.cart-total>span{font-size:20px}
.cart-total>strong{font-size:32px;font-weight:600;letter-spacing:-1px;font-variant-numeric:tabular-nums}
.cart-shipping-note{font-size:14px;line-height:1.7;color:var(--muted);margin-top:12px}
.full-width{width:100%}
#checkout-button{margin-top:24px}
#checkout-button:disabled{background:var(--paper);color:var(--muted);border:1px solid var(--line)}
#checkout-form{margin-top:28px;padding-top:28px;border-top:1px solid var(--line);scroll-margin-top:0}
#checkout-form h3{font-size:24px;font-weight:550;letter-spacing:-.6px;line-height:1.4}
#checkout-form>p{font-size:14px;line-height:1.8;color:var(--muted);margin:16px 0 24px}
#checkout-form label{display:block;font-size:14px;font-weight:500;line-height:1.6;margin:24px 0}
#checkout-form input,#checkout-form textarea{display:block;width:100%;min-height:52px;border:1px solid var(--control-border);border-radius:14px;background:var(--paper);color:var(--ink);font-size:16px;line-height:1.6;padding:12px 16px;margin-top:8px}
#checkout-form input::placeholder,#checkout-form textarea::placeholder{color:var(--muted);opacity:1}
#checkout-form textarea{min-height:128px;resize:vertical}
.checkout-legal a{text-decoration:underline;text-underline-offset:3px}
#checkout-form .consent-option{display:flex;align-items:flex-start;gap:12px;min-height:44px;font-weight:400;font-size:14px;line-height:1.75}
#checkout-form .consent-option input{display:block;flex:0 0 20px;width:20px;min-width:20px;height:20px;min-height:20px;margin:3px 0 0;padding:0;border-radius:4px;accent-color:var(--ink)}
.consent-option a{text-decoration:underline;text-underline-offset:3px}
#order-progress:empty{display:none}
#place-order{justify-content:center}
#checkout-form .form-error{color:var(--orange-dark);font-size:14px;font-weight:500}
.product-dialog{width:1040px;max-width:calc(100% - 48px);max-height:calc(100dvh - 48px);border-radius:24px;overflow:hidden}
.product-dialog[open]{display:flex;flex-direction:column}
.dialog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-shrink:0;min-height:72px;padding:12px 20px;background:var(--white);border-bottom:1px solid var(--line)}
.dialog-toolbar>span{font-size:14px;color:var(--muted)}
#product-detail{min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px}
.product-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;min-height:480px}
.detail-image{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:320px;overflow:hidden}
.detail-image>img{width:100%;height:100%;max-height:600px;object-fit:contain}
.detail-image.is-placeholder::after{content:"Фото пока нет";position:absolute;bottom:12px;left:8px;right:8px;color:var(--muted);font-size:14px;text-align:center}
.detail-gallery{align-self:start;min-width:0;outline-offset:3px}
.detail-gallery-stage{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;aspect-ratio:1.12}
.detail-gallery .detail-image{min-height:0;height:auto}
.detail-gallery .detail-image>img{position:absolute;inset:0}
.detail-gallery .detail-image.is-placeholder::after{content:"Фото недоступно"}
.detail-gallery-count{padding-top:8px;text-align:center;color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums}
.detail-gallery-arrow{display:grid;place-items:center;align-self:center;width:44px;height:44px;padding:0;border-radius:8px;color:var(--ink);outline-offset:-3px}
.detail-gallery-arrow>svg{width:36px;height:36px}
.detail-gallery-prev>svg{transform:scaleY(1.2) rotate(90deg)}
.detail-gallery-next>svg{transform:scaleY(1.2) rotate(-90deg)}
.detail-gallery-arrow:hover[aria-disabled="false"]{color:var(--orange-dark)}
.detail-gallery-arrow[aria-disabled="true"]{cursor:default;color:var(--muted);opacity:.45}
.detail-copy{display:flex;flex-direction:column;min-width:0;padding:28px;border-radius:18px;background:var(--paper)}
.detail-copy h2{font-size:32px;font-weight:600;letter-spacing:-1px;line-height:1.2;margin:16px 0 20px;overflow-wrap:anywhere}
.detail-description{font-size:16px;line-height:1.8;color:var(--muted);white-space:pre-line;overflow-wrap:anywhere}
.detail-description:empty,.detail-specs:empty{display:none}
.detail-specs{margin:20px 0}
.detail-specs>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;border-bottom:1px solid #ccd1c6;padding:12px 0;font-size:14px;line-height:1.6}
.detail-specs dt{color:var(--muted);overflow-wrap:anywhere}
.detail-specs dd{margin:0;text-align:right;overflow-wrap:anywhere}
.detail-copy .product-stock{font-size:14px;margin-top:auto;padding-top:20px}
.detail-copy .price-row{background:var(--ink);color:var(--white);padding:20px 20px 4px;margin:0;border-radius:16px 16px 0 0}
.detail-copy .price-row strong{font-size:32px}
.detail-copy .price-row>span{color:#ccd2c5;font-size:14px}
.detail-copy .unit-price{background:var(--ink);color:#ccd2c5;padding:0 20px;margin:0;font-size:13px}
.detail-copy .buy-row{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;min-height:80px;padding:16px 20px 20px;margin:0;border-radius:0 0 16px 16px;background:var(--ink)}
.detail-copy .quantity-control{color:var(--white);background:var(--ink);border-color:#767e6d}
.detail-copy .quantity-control>button:hover:not(:disabled){background:#3a4034}
.detail-copy .quantity-control:focus-within{outline-color:var(--white)}
.detail-copy .add-button{background:var(--orange);color:var(--ink);white-space:normal}
.detail-copy .add-button:disabled{background:#34392f;color:#c8cec3;border-color:#737b6c}
.detail-copy .add-button:only-child{grid-column:1/-1}
.detail-copy .add-button:hover:not(:disabled){background:var(--orange-hover)}
.detail-feedback{font-size:14px;line-height:1.7;color:var(--green);margin-top:16px}
.detail-feedback:empty{display:none}
.detail-view-cart{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;min-height:44px;padding:8px 0;font-size:14px;font-weight:550;text-decoration:underline;text-underline-offset:4px}
.success-dialog{width:520px;max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);overflow:auto;border-radius:24px;padding:40px}
.success-dialog .product-close{position:absolute;right:16px;top:16px}
.success-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:24px;border-radius:50%;background:var(--orange);color:var(--ink)}
.success-dialog>.eyebrow{display:none}
.success-dialog h2{font-size:30px;font-weight:550;line-height:1.3;letter-spacing:-1px;margin:16px 0}
.success-dialog>p{font-size:16px;line-height:1.8;color:var(--muted)}
.wholesale-dialog h2{margin:0 52px 12px 0}
.wholesale-dialog form{display:grid;gap:12px;margin-top:20px}
.wholesale-dialog label{font-size:14px;font-weight:550}
.wholesale-dialog input{width:100%;min-height:52px;padding:12px 16px;border:1px solid var(--control-border);border-radius:14px;background:var(--paper);color:var(--ink)}
.wholesale-dialog .button{width:100%;justify-content:center;padding-inline:16px}
.wholesale-dialog #wholesale-exit{margin-top:20px}
.wholesale-dialog .button:disabled{background:var(--line);color:var(--muted)}
.wholesale-dialog #wholesale-error{margin-top:12px;color:var(--orange-dark);font-size:14px}
.wholesale-dialog p:empty{margin:0}
.price-row .price-unavailable,.detail-copy .price-row .price-unavailable{font-size:16px;letter-spacing:0}
.cart-item-bottom .price-unavailable{color:var(--muted);font-size:13px}
.success-note{margin:16px 0 28px}
.toast{position:fixed;bottom:24px;left:50%;display:flex;align-items:center;gap:12px;max-width:calc(100% - 32px);width:max-content;padding:12px 20px;border-radius:20px;background:var(--ink);color:var(--white);box-shadow:0 8px 32px #15191324;z-index:100;transform:translate(-50%,12px);opacity:0;visibility:hidden;transition:opacity .15s,transform .15s;font-size:14px;line-height:1.6}
.toast.visible{opacity:1;visibility:visible;transform:translate(-50%,0)}
.toast>svg{width:20px;height:20px;color:#bcdbbd}
.toast>span{min-width:0;max-width:560px;overflow-wrap:anywhere}
.toast>button{flex-shrink:0;min-height:44px;color:#ffb89d;font-size:14px;font-weight:500}
@media(max-width:1240px){
  .container{width:calc(100% - 64px)}
  .header-inner{gap:24px}
  .hero-copy{padding:32px;min-height:500px}
  .hero h1{font-size:52px}
  .hero-gallery{grid-template-rows:minmax(280px,1fr) 168px}
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .purchase-grid>div{padding:28px}
  .pagination-row{grid-template-columns:1fr auto}
  .back-to-catalog{display:none}
}
@media(max-width:900px){
  .container{width:calc(100% - 48px)}
  .header-inner{grid-template-columns:auto minmax(0,1fr) auto;gap:20px}
  .cart-toggle,.wholesale-toggle{padding-inline:12px;gap:8px}
  .hero{gap:16px}
  .hero-copy{padding:28px;min-height:500px}
  .hero h1{font-size:44px}
  .hero-copy-top{gap:12px;flex-wrap:wrap}
  .hero-minimum{font-size:12px}
  .hero-gallery{gap:16px;grid-template-rows:minmax(280px,1fr) 160px}
  .photo-label{left:16px;bottom:16px;font-size:12px;padding:8px 12px}
  .photo-arrow{right:16px;bottom:16px}
  .hero-category>span{font-size:13px;left:8px;right:8px;bottom:8px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .section-heading h2{font-size:32px}
  .catalog-tools{align-items:flex-start;flex-direction:column;gap:12px}
  .catalog-options{width:100%;justify-content:space-between}
  .purchase-grid>div{padding:24px}
  .purchase-grid h3{font-size:18px}
  .purchase-grid p{font-size:14px}
  .footer{padding:32px 28px 20px}
  .footer-bottom{flex-wrap:wrap;gap:12px 24px}
  .footer-legal{order:2;width:100%;gap:8px 24px}
  .footer-bottom>a{margin-left:auto}
  .detail-copy{padding:24px}
  .detail-copy .buy-row{grid-template-columns:1fr}
}
@media(max-width:760px){
  :root{--header-offset:160px}
  .header-inner{grid-template-columns:minmax(0,1fr) auto;gap:12px 16px;padding-block:12px;min-height:0}
  .brand{grid-column:1;grid-row:1}
  .header-actions{grid-column:2;grid-row:1}
  .cart-toggle,.wholesale-toggle{min-height:44px}
  .search-form{grid-column:1/-1;grid-row:2;min-height:52px}
  .search-submit{min-height:42px}
  .hero{grid-template-columns:1fr;margin-top:24px;gap:16px}
  .hero-copy{min-height:0;padding:32px}
  .hero-copy-top{flex-wrap:nowrap}
  .hero h1{font-size:clamp(40px,7vw,54px);margin-block:28px 20px}
  .hero h1 br{display:none}
  .hero-description{max-width:540px}
  .hero-footnote{margin-top:0;padding-top:24px}
  .hero-gallery{grid-template-rows:280px 168px;gap:16px}
  .catalog-section,.purchase-section{padding-top:56px}
  .section-heading{align-items:flex-start}
  .catalog-source{max-width:160px}
  .purchase-grid{grid-template-columns:1fr}
  .purchase-grid>div{display:grid;grid-template-columns:40px minmax(0,1fr);gap:8px 20px;padding:28px}
  .purchase-grid>div+div{border-left:0;border-top:1px solid var(--line)}
  .step-number{grid-row:1/3;margin:0}
  .purchase-grid h3{font-size:20px;margin:0}
  .purchase-grid p{font-size:15px}
  .product-dialog{width:580px;max-width:calc(100% - 24px);max-height:calc(100dvh - 24px)}
  .product-detail-grid{grid-template-columns:1fr;min-height:0}
  .detail-image{min-height:0;height:300px}
  .detail-gallery-stage{height:300px}
  .detail-copy .product-stock{margin-top:12px;padding-top:0}
  .detail-copy h2{font-size:30px}
  .pagination-row{display:flex;flex-direction:column;gap:16px;padding-block:28px 16px}
  .page-summary{order:1}
  .pagination-controls{gap:4px}
  .pagination-arrow>span{display:none}
}
@media(max-width:600px){
  .container{width:calc(100% - 32px)}
  .header-inner{gap:12px}
  .brand-logo{width:116px}
  .cart-toggle>span{display:none}
  .cart-toggle{padding-inline:12px}
  .header-actions{gap:6px}
  .wholesale-toggle{padding-inline:8px;font-size:12px}
  .search-form{gap:8px;padding-left:14px}
  .search-form>svg{width:18px;height:18px}
  .search-submit{padding-inline:18px}
  .hero-copy{padding:28px 24px}
  .hero h1{font-size:42px}
  .hero .button{margin-top:24px}
  .hero-gallery{grid-template-rows:240px 156px}
  .hero-visual,.hero-category{border-radius:20px}
  .hero-category>span{font-size:13px;padding-inline:10px;gap:4px}
  .hero-category>span>svg{width:16px;height:16px}
  .photo-label{left:12px;bottom:12px;padding:8px 12px;right:68px;max-width:calc(100% - 80px)}
  .photo-arrow{right:12px;bottom:12px}
  .catalog-section,.purchase-section{padding-top:48px}
  .section-heading{gap:16px;margin-bottom:24px;flex-wrap:wrap}
  .section-heading h2{font-size:30px}
  .catalog-source{max-width:none;font-size:12px}
  .category-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;border:1px solid var(--control-border);border-radius:24px;padding:10px 16px;font-size:14px;text-align:left}
  .category-toggle b{font-weight:500}
  .category-toggle svg{width:18px;height:18px}
  .categories-open .category-toggle svg{transform:rotate(180deg)}
  .category-tabs{display:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
  .categories-open .category-tabs{display:grid}
  .category-tabs>button{padding-inline:10px;font-size:14px;white-space:normal}
  .catalog-tools{margin-top:20px}
  .catalog-options{flex-direction:row;align-items:center;gap:12px}
  .stock-filter{font-size:14px;gap:8px}
  .sort-label{justify-content:flex-end;flex:1;min-width:0}
  .sort-label>span{display:none}
  #sort{font-size:16px;width:100%;max-width:100%;min-width:0;padding-right:24px}
  .product-grid{gap:16px 12px}
  .product-card{padding:10px;border-radius:18px}
  .product-photo{border-radius:10px}
  .product-photo>img{aspect-ratio:1;padding:12px}
  .product-badge{top:8px;left:8px;max-width:calc(100% - 16px);font-size:12px;padding:4px 8px}
  .product-info{padding:12px 0 0}
  .product-sku{font-size:12px;gap:4px}
  .product-name{font-size:14px;min-height:44px;line-height:1.6}
  .product-spec,.product-stock,.unit-price{font-size:12px}
  .product-stock{margin-block:12px}
  .price-row{padding-top:4px}
  .price-row strong{font-size:26px}
  .price-row>span{font-size:12px}
  .buy-row{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:16px}
  .quantity-control{min-width:0;width:100%}
  .quantity-control>button{flex-basis:32px;min-width:32px}
  .quantity-control>input{width:52px;min-width:52px}
  .add-button{min-height:48px;padding:10px 8px;font-size:14px}
  .product-card .add-button>svg{display:none}
  .pagination-number,.pagination-arrow{min-width:40px;padding-inline:8px}
  .page-summary{font-size:14px}
  .catalog-note{font-size:13px}
  .purchase-grid>div{padding:24px 20px;gap:8px 16px}
  .footer{padding:32px 24px 20px;margin-top:48px}
  .footer-main{flex-direction:column;gap:20px}
  .footer-brand .brand-logo{width:136px}
  .footer-main>p{font-size:16px}
  .footer-main>p br{display:none}
  .footer-bottom{margin-top:28px;padding-top:20px;gap:12px}
  .footer-legal{flex-direction:column;gap:0;font-size:14px}
  .footer-bottom>a{font-size:12px}
  .cart-dialog{inset:8px;max-width:calc(100% - 16px);width:calc(100% - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:20px}
  .drawer-head{padding:20px}
  .drawer-head h2{font-size:26px}
  .cart-content{padding:0 20px 28px}
  .cart-item{grid-template-columns:64px minmax(0,1fr);gap:12px;padding-block:20px}
  .cart-item>img{width:64px;height:80px;padding:6px}
  .cart-item-head h3{font-size:14px}
  .cart-item-spec{font-size:12px}
  .cart-item-bottom strong{font-size:18px}
  .cart-item-bottom .quantity-control{width:130px}
  .cart-total>strong{font-size:30px}
  .cart-dialog{scroll-padding-top:104px}
  #checkout-form h3{font-size:24px}
  .dialog-toolbar{min-height:64px;padding:10px 16px}
  #product-detail{padding:12px}
  .detail-image,.detail-gallery-stage{height:240px}
  .detail-copy{padding:24px 20px;border-radius:14px}
  .detail-copy h2{font-size:28px}
  .detail-specs>div{font-size:14px;gap:12px}
  .detail-copy .price-row{padding:20px 16px 4px}
  .detail-copy .unit-price{padding-inline:16px}
  .detail-copy .buy-row{padding:16px;gap:12px}
  .success-dialog{padding:36px 24px}
  .success-dialog h2{font-size:28px}
  .toast{padding:8px 12px;gap:8px;font-size:14px}
  .toast>button{font-size:13px}
}
@media(max-width:360px){
  .header-inner .brand-logo{width:94px}
  .hero-minimum{font-size:12px;padding:6px 10px}
  .hero h1{font-size:38px}
  .hero-gallery{grid-template-rows:220px 140px;gap:12px}
  .hero-category>span{font-size:12px;padding-inline:8px}
  .hero-category>span>svg{width:14px}
  .product-grid{grid-template-columns:1fr;gap:20px}
  .product-photo>img{aspect-ratio:1.3;padding:24px}
  .product-name{font-size:16px;min-height:44px}
  .buy-row{grid-template-columns:130px minmax(0,1fr)}
  .product-card .add-button{font-size:14px}
  .product-card .quantity-control{min-width:130px}
  .pagination-controls{gap:2px;padding:2px}
  .pagination-number,.pagination-arrow{min-width:40px;padding-inline:6px}
  .cart-item{grid-template-columns:48px minmax(0,1fr);gap:10px}
  .cart-item>img{width:48px;height:64px}
  .cart-item-head{gap:0}
  .cart-item-head h3{font-size:14px}
  .detail-copy{padding:20px 16px}
  .detail-copy h2{font-size:26px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
}
