:root{
  --blue:#0072bc;
  --blue-2:#0b8dcc;
  --blue-dark:#073f69;
  --blue-soft:#eaf6fc;
  --navy:#0e2d42;
  --ink:#102d3f;
  --muted:#617786;
  --line:#d9e4ea;
  --surface:#f5f8fa;
  --surface-2:#eef4f7;
  --green:#168a4b;
  --orange:#d86d12;
  --red:#b51d24;
  --white:#fff;
  --shadow:0 14px 38px rgba(15,47,67,.11);
  --shadow-sm:0 7px 22px rgba(15,47,67,.09);
  --radius:18px;
  --container:min(1440px,calc(100% - 40px));
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;overflow-x:hidden;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--surface);line-height:1.45}
body.menu-open,body.drawer-open,body.dialog-open{overflow:hidden}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{color:inherit}
img{display:block;max-width:100%}
svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hidden{display:none!important}
.mobile-only{display:none!important}
.container{width:var(--container);margin-inline:auto}
.skip-link{position:fixed;z-index:9999;left:12px;top:-100px;background:#fff;padding:10px 14px;border-radius:8px;box-shadow:var(--shadow)}
.skip-link:focus{top:12px}
.top-strip{height:38px;background:linear-gradient(90deg,var(--blue-dark),var(--blue));color:#fff;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.035em}
.top-strip__inner{height:100%;display:flex;align-items:center;gap:clamp(20px,5vw,70px)}
.top-strip__inner span,.top-strip__inner a{display:flex;align-items:center;gap:7px}
.top-strip__login{margin-left:auto}
.site-header{background:#fff;position:sticky;top:0;z-index:80;border-bottom:1px solid var(--line)}
.header-row{height:106px;display:grid;grid-template-columns:270px minmax(320px,1fr) 270px;align-items:center;gap:34px}
.logo img{width:min(225px,100%);height:auto}
.header-search{height:56px;border:1px solid #cbdbe3;border-radius:11px;display:grid;grid-template-columns:46px 1fr 54px;align-items:center;position:relative;background:#fff;box-shadow:0 2px 4px rgba(15,47,67,.02)}
.header-search>svg{justify-self:center;color:var(--navy)}
.header-search input{height:100%;border:0;outline:0;min-width:0;padding:0 10px;font-size:1rem;color:var(--ink)}
.header-search>button{height:46px;width:46px;border:0;border-radius:8px;background:var(--blue);color:#fff;display:grid;place-items:center;cursor:pointer;justify-self:center}
.header-actions{display:flex;justify-content:flex-end;align-items:center;gap:16px}
.header-action{border:0;background:none;display:flex;align-items:center;gap:8px;padding:8px;cursor:pointer;position:relative;font-weight:750;color:var(--navy)}
.header-action svg{width:25px;height:25px}
.header-action b{position:absolute;top:-1px;left:25px;background:var(--blue);color:#fff;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:.68rem}
.main-nav{border-top:1px solid #edf2f5;background:#fff}
.main-nav__inner{height:61px;display:flex;align-items:center;gap:clamp(24px,3.5vw,54px);font-size:.85rem;font-weight:800;text-transform:uppercase;letter-spacing:.035em}
.main-nav__inner>a{height:100%;display:flex;align-items:center;border-bottom:3px solid transparent}
.main-nav__inner>a:hover{color:var(--blue);border-bottom-color:var(--blue)}
.category-menu-button{height:100%;padding:0 25px;border:0;border-right:1px solid var(--line);background:#fff;color:var(--blue-dark);font-weight:900;text-transform:uppercase;display:flex;align-items:center;gap:10px;cursor:pointer;margin-left:-25px}
.sale-link{color:#e03636!important;margin-left:auto}
.suggestions{position:absolute;z-index:1200;top:calc(100% + 8px);left:0;right:0;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);overflow:hidden;max-height:min(520px,65vh);overflow-y:auto}
.suggestion-item{width:100%;border:0;background:#fff;text-align:left;display:grid;grid-template-columns:56px 1fr auto;gap:12px;align-items:center;padding:10px 12px;border-bottom:1px solid #edf2f5;cursor:pointer}
.suggestion-item:last-child{border-bottom:0}
.suggestion-item:hover,.suggestion-item.active{background:var(--blue-soft)}
.suggestion-item img{width:56px;height:46px;border-radius:8px;object-fit:cover;background:var(--surface-2)}
.suggestion-item strong{display:block;font-size:.91rem}
.suggestion-item small{display:block;color:var(--muted);margin-top:2px}
.suggestion-item em{font-style:normal;font-weight:900;color:var(--blue-dark);font-size:.84rem}
.overlay{position:fixed;z-index:110;inset:0;background:rgba(6,23,34,.52);backdrop-filter:blur(2px)}
.step-menu{position:fixed;z-index:120;top:0;bottom:0;left:0;width:min(390px,88vw);background:linear-gradient(180deg,#087fc4,#005b9e);color:#fff;box-shadow:24px 0 55px rgba(0,0,0,.27);display:flex;flex-direction:column}
.step-menu__head{height:94px;display:grid;grid-template-columns:46px 1fr 46px;align-items:center;padding:0 16px;border-bottom:1px solid rgba(255,255,255,.2)}
.step-menu__head img{width:210px;max-height:58px;object-fit:contain;filter:brightness(0) invert(1);justify-self:center}
.step-menu__head button{border:0;background:none;color:#fff;display:grid;place-items:center;height:42px;cursor:pointer}
.step-menu__title{padding:16px 22px 12px;font-size:.82rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;background:rgba(0,0,0,.08)}
.step-menu__list{overflow:auto;flex:1}
.step-link{width:100%;min-height:56px;border:0;border-bottom:1px solid rgba(255,255,255,.18);background:none;color:#fff;display:grid;grid-template-columns:30px 1fr 24px;align-items:center;gap:10px;text-align:left;padding:8px 22px;cursor:pointer;font-weight:800}
.step-link:hover,.step-link.active{background:rgba(255,255,255,.15)}
.step-link svg{width:20px;height:20px}
.step-menu__search{position:relative;padding:18px;background:rgba(0,0,0,.14)}
.step-menu__search>svg{position:absolute;left:31px;top:34px;color:var(--blue-dark)}
.step-menu__search input{width:100%;height:52px;border:0;border-radius:8px;padding:0 14px 0 44px;outline:0}
.step-menu__search .suggestions{top:auto;bottom:78px;left:18px;right:18px;color:var(--ink)}
main{min-height:60vh}
.app-loading{min-height:560px;display:grid;place-content:center;text-align:center;gap:10px;color:var(--muted)}
.spinner{width:42px;height:42px;border:4px solid #d9e7ed;border-top-color:var(--blue);border-radius:50%;animation:spin .8s linear infinite;margin:auto}
@keyframes spin{to{transform:rotate(360deg)}}
.hero{position:relative;z-index:10;min-height:570px;display:grid;align-items:center;overflow:visible;background:#172b38;color:#fff}
.hero__image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,33,48,.86),rgba(10,33,48,.35) 54%,rgba(10,33,48,.05)),linear-gradient(0deg,rgba(7,28,42,.35),transparent 45%)}
.hero__content{position:relative;z-index:5;padding:75px 0 120px;text-align:center;max-width:930px;margin:auto}
.hero__eyebrow{display:inline-flex;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.26);backdrop-filter:blur(8px);border-radius:999px;padding:7px 13px;text-transform:uppercase;letter-spacing:.08em;font-size:.75rem;font-weight:900}
.hero h1{font-size:clamp(2.6rem,5vw,5rem);line-height:1.02;letter-spacing:-.04em;margin:18px 0 10px}
.hero p{font-size:clamp(1rem,1.7vw,1.3rem);color:#e7f2f7;margin:0}
.hero-search{z-index:20;max-width:810px;margin:28px auto 0;background:#fff;padding:6px;border-radius:12px;display:grid;grid-template-columns:52px 1fr 58px;align-items:center;box-shadow:0 25px 55px rgba(0,0,0,.25);position:relative;color:var(--ink)}
.hero-search>svg{justify-self:center;color:var(--navy)}
.hero-search input{height:58px;border:0;outline:0;min-width:0;padding:0 8px;font-size:1.05rem}
.hero-search>button{height:52px;width:52px;border:0;border-radius:8px;background:var(--blue);color:#fff;display:grid;place-items:center;cursor:pointer}
.hero-search .suggestions{top:calc(100% + 8px);text-align:left;z-index:1300}
.hero-benefits{position:absolute;z-index:2;left:0;right:0;bottom:0;background:rgba(255,255,255,.94);color:var(--navy);backdrop-filter:blur(10px);border-top:1px solid rgba(255,255,255,.5)}
.hero-benefits__inner{display:grid;grid-template-columns:repeat(4,1fr);min-height:88px}
.benefit{display:flex;align-items:center;gap:12px;padding:16px 22px;border-right:1px solid var(--line)}
.benefit:last-child{border-right:0}
.benefit svg{color:var(--blue);width:34px;height:34px;flex:0 0 auto}
.benefit strong,.benefit small{display:block}
.benefit strong{font-size:.8rem;text-transform:uppercase;letter-spacing:.035em}
.benefit small{color:var(--muted);margin-top:2px}
.section{padding:70px 0}
.section.white{background:#fff}
.section.alt{background:var(--surface)}
.section-head{text-align:center;margin-bottom:30px}
.section-head small{display:block;color:var(--blue);font-weight:900;text-transform:uppercase;letter-spacing:.1em}
.section-head h2{font-size:clamp(2rem,4vw,3.2rem);line-height:1.05;margin:8px 0 7px;letter-spacing:-.035em}
.section-head p{margin:0 auto;color:var(--muted);max-width:700px}
.category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.category-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;transition:.2s;min-width:0}
.category-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-sm);border-color:#add4e5}
.category-card__media{aspect-ratio:4/3;background:var(--surface-2);overflow:hidden}
.category-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.category-card:hover img{transform:scale(1.035)}
.category-card__body{padding:15px}
.category-card h3{font-size:1rem;text-transform:uppercase;margin:0 0 8px}
.category-card span{display:flex;align-items:center;justify-content:space-between;color:var(--blue);font-size:.82rem;font-weight:800}
.category-card span svg{width:16px;height:16px}
.trust-row{margin-top:40px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(90deg,#f6fbfe,#edf7fc);display:grid;grid-template-columns:repeat(4,1fr)}
.trust-item{display:flex;align-items:center;gap:12px;padding:20px 24px;border-right:1px solid var(--line)}
.trust-item:last-child{border-right:0}
.trust-item svg{color:var(--blue);width:30px;height:30px}
.trust-item strong,.trust-item small{display:block}
.trust-item small{color:var(--muted);margin-top:2px}
.featured-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.product-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:.2s}
.product-card:hover{box-shadow:var(--shadow-sm);transform:translateY(-2px)}
.product-card__image{aspect-ratio:4/3;background:var(--surface-2);position:relative;overflow:hidden;cursor:pointer}
.product-card__image img{width:100%;height:100%;object-fit:cover}
.product-card__share{position:absolute;right:10px;top:10px;width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.94);display:grid;place-items:center;cursor:pointer;box-shadow:var(--shadow-sm)}
.product-card__share svg{width:17px;height:17px}
.product-card__body{padding:16px;display:flex;flex-direction:column;flex:1}
.product-card__category{color:var(--blue);font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.product-card h3{font-size:1.06rem;line-height:1.25;margin:7px 0 9px;min-height:2.55em}
.product-card__meta{color:var(--muted);font-size:.8rem;min-height:1.2em}
.stock-line{display:flex;align-items:center;gap:7px;color:var(--green);font-weight:850;font-size:.84rem;margin-top:11px}
.stock-line:before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
.stock-line.order{color:var(--orange)}
.stock-line.out{color:var(--red)}
.product-card__bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:auto;padding-top:14px}
.price-block small{display:block;color:var(--muted);font-size:.7rem}
.price-block strong{font-size:1.25rem;line-height:1.05}
.arrow-button{border:0;background:var(--blue);color:#fff;width:45px;height:45px;border-radius:11px;display:grid;place-items:center;cursor:pointer}
.button{border:0;border-radius:10px;min-height:48px;padding:0 20px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:900;cursor:pointer}
.button-primary{background:linear-gradient(135deg,var(--blue),var(--blue-2));color:#fff;box-shadow:0 8px 18px rgba(0,114,188,.2)}
.button-secondary{background:#fff;color:var(--blue-dark);border:1px solid #bfd3dd}
.button-light{background:#fff;color:var(--blue-dark)}
.button-full{width:100%}
.button:disabled{opacity:.48;cursor:not-allowed}
.page-banner{background:#fff;border-bottom:1px solid var(--line);padding:30px 0}
.breadcrumbs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:.8rem;color:var(--muted);margin-bottom:12px}
.breadcrumbs span{color:#91a2ac}
.page-banner h1{font-size:clamp(2.1rem,4vw,3.7rem);line-height:1;margin:0;letter-spacing:-.04em}
.page-banner p{color:var(--muted);margin:10px 0 0;max-width:760px}
.catalog-shell{padding:32px 0 75px}
.catalog-layout{display:grid;grid-template-columns:250px 1fr;gap:30px;align-items:start}
.sidebar{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;position:sticky;top:224px;max-height:calc(100vh - 245px);overflow:auto}
.sidebar h2{font-size:.85rem;text-transform:uppercase;letter-spacing:.07em;margin:8px 10px 12px;color:var(--muted)}
.sidebar-link{width:100%;border:0;background:none;border-radius:8px;padding:10px 11px;display:flex;align-items:center;justify-content:space-between;text-align:left;cursor:pointer;font-size:.86rem}
.sidebar-link:hover,.sidebar-link.active{background:var(--blue-soft);color:var(--blue-dark);font-weight:850}
.catalog-toolbar{background:#fff;border:1px solid var(--line);border-radius:14px;padding:13px;display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:10px;align-items:center;margin-bottom:18px;position:sticky;top:169px;z-index:10}
.catalog-search{height:48px;border:1px solid var(--line);border-radius:9px;display:flex;align-items:center;gap:9px;padding:0 13px}
.catalog-search input{border:0;outline:0;min-width:0;flex:1}
.select-control{height:48px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:0 38px 0 12px;min-width:165px}
.filter-toggle{height:48px;border:1px solid var(--line);border-radius:9px;background:#fff;display:flex;align-items:center;gap:8px;padding:0 15px;font-weight:850;cursor:pointer}
.filter-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;margin-bottom:18px;display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.filter-group h3{font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;margin:0 0 9px}
.filter-options{display:flex;flex-wrap:wrap;gap:7px}
.filter-chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 11px;font-size:.76rem;cursor:pointer}
.filter-chip.active{background:var(--blue);border-color:var(--blue);color:#fff}
.catalog-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}
.catalog-title-row h2{font-size:1.75rem;margin:0}
.catalog-title-row p{color:var(--muted);margin:4px 0 0}
.catalog-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.empty-state{background:#fff;border:1px solid var(--line);border-radius:16px;padding:55px 24px;text-align:center}
.empty-state svg{width:50px;height:50px;color:var(--blue);margin-bottom:10px}
.product-page{padding:34px 0 80px}
.product-layout{display:grid;grid-template-columns:minmax(340px,.9fr) minmax(500px,1.35fr);gap:34px;align-items:start}
.product-gallery{position:sticky;top:188px}
.product-main-image{aspect-ratio:4/3;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.product-main-image img{width:100%;height:100%;object-fit:cover}
.product-thumbs{display:flex;gap:10px;margin-top:10px;overflow-x:auto}
.product-thumb{width:76px;height:62px;border:2px solid transparent;border-radius:9px;padding:0;overflow:hidden;background:#fff;cursor:pointer;flex:0 0 auto}
.product-thumb.active{border-color:var(--blue)}
.product-thumb img{width:100%;height:100%;object-fit:cover}
.product-info{background:#fff;border:1px solid var(--line);border-radius:16px;padding:25px}
.product-info__head{display:flex;justify-content:space-between;gap:20px}
.product-info__head h1{font-size:clamp(1.9rem,3vw,3rem);line-height:1.06;margin:5px 0 10px;letter-spacing:-.035em}
.product-info__head p{color:var(--muted);margin:0}
.share-button{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:#fff;display:grid;place-items:center;cursor:pointer;flex:0 0 auto}
.live-status{margin:18px 0 14px;border-radius:10px;padding:10px 12px;background:#eefaf3;color:#14783f;font-size:.82rem;font-weight:800;display:flex;align-items:center;gap:8px}
.live-status.loading{background:#eef6fb;color:#446b82}
.live-status.warning{background:#fff4e7;color:#a35511}
.variant-table{border:1px solid var(--line);border-radius:13px;overflow:hidden}
.variant-row{display:grid;grid-template-columns:minmax(160px,1.2fr) minmax(170px,1fr) minmax(125px,.8fr) 132px;align-items:center;gap:15px;padding:14px 16px;border-bottom:1px solid var(--line)}
.variant-row:nth-child(even){background:#f1f8fc}
.variant-row:nth-child(odd){background:#fafbfc}
.variant-row.head{background:#edf3f6;font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;font-weight:900;color:var(--muted);padding-block:11px}
.variant-row:last-child{border-bottom:0}
.variant-size strong{display:block}
.variant-size small,.variant-price small,.variant-stock small{display:block;color:var(--muted);font-size:.72rem;margin-top:3px}
.variant-stock strong{display:flex;align-items:center;gap:7px;color:var(--green);font-size:.88rem}
.variant-stock strong:before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
.variant-stock.order strong{color:var(--orange)}
.variant-stock.out strong{color:var(--red)}
.variant-price strong{font-size:1.05rem}
.qty-stepper{display:grid;grid-template-columns:38px 46px 38px;height:40px;border:1px solid #cbdbe3;border-radius:9px;overflow:hidden;background:#fff}
.qty-stepper button{border:0;background:#f4f8fa;cursor:pointer;color:var(--blue-dark);display:grid;place-items:center}
.qty-stepper input{width:100%;border:0;border-inline:1px solid #dbe5ea;text-align:center;font-weight:900;outline:0}
.product-purchase-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}
.selected-total small{display:block;color:var(--muted)}
.selected-total strong{font-size:1.35rem}
.cut-callout{margin-top:16px;border:1px solid #cfe2eb;border-radius:11px;padding:14px 15px;display:flex;align-items:center;gap:12px;color:var(--blue-dark);background:#f8fcfe}
.cut-callout svg{color:var(--blue)}
.cut-callout span{flex:1}
.cut-callout strong,.cut-callout small{display:block}
.product-description{margin-top:22px;color:var(--muted);line-height:1.65}
.cart-drawer{position:fixed;z-index:130;right:0;top:0;bottom:0;width:min(480px,100%);background:#fff;box-shadow:-20px 0 50px rgba(0,0,0,.2);transform:translateX(104%);transition:transform .25s;display:flex;flex-direction:column}
.cart-drawer.open{transform:none}
.cart-drawer>header{height:90px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.cart-drawer>header small{color:var(--blue);font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.cart-drawer>header h2{margin:3px 0 0}
.cart-drawer>header button,.dialog-close{width:42px;height:42px;border:1px solid var(--line);background:#fff;border-radius:50%;display:grid;place-items:center;cursor:pointer}
.cart-drawer__items{flex:1;overflow:auto;padding:16px}
.cart-item{display:grid;grid-template-columns:78px 1fr auto;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);align-items:start}
.cart-item img{width:78px;height:66px;border-radius:9px;object-fit:cover;background:var(--surface-2)}
.cart-item h3{font-size:.91rem;margin:0 0 4px}
.cart-item p{font-size:.76rem;color:var(--muted);margin:0}
.cart-item__price{text-align:right;font-weight:900}
.cart-item__remove{border:0;background:none;color:#b03232;font-size:.72rem;padding:5px 0;cursor:pointer}
.cart-drawer>footer{padding:18px 20px;border-top:1px solid var(--line);background:#f8fafb}
.cart-summary-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.cart-summary-total{font-size:1.25rem;font-weight:950;margin:14px 0}
.cart-empty{text-align:center;padding:70px 25px;color:var(--muted)}
.cart-empty svg{width:58px;height:58px;color:#a7bdc8}
.checkout-dialog{width:min(920px,calc(100% - 28px));max-height:92vh;border:0;border-radius:20px;padding:0;background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.3);overflow:auto;color:var(--ink)}
.checkout-dialog::backdrop,.success-dialog::backdrop{background:rgba(5,24,36,.62);backdrop-filter:blur(4px)}
.dialog-close{position:absolute;right:18px;top:18px;z-index:2}
.checkout-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;padding:28px 70px 20px}
.progress-step{height:37px;border-radius:999px;background:#eef3f6;display:grid;place-items:center;font-size:.75rem;font-weight:850;color:var(--muted)}
.progress-step.active{background:var(--blue-soft);color:var(--blue-dark)}
.progress-step.current{background:var(--blue);color:#fff}
.checkout-grid{display:grid;grid-template-columns:1fr 300px;gap:24px;padding:10px 32px 32px}
.checkout-panel h2{margin:0 0 18px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.field{display:grid;gap:6px;font-size:.78rem;font-weight:800}
.field.span-2{grid-column:span 2}
.field input,.field textarea,.field select{border:1px solid #cbdbe3;border-radius:9px;min-height:46px;padding:10px 12px;outline:0;background:#fff}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,114,188,.1)}
.option-card{border:1px solid var(--line);border-radius:12px;padding:15px;display:grid;grid-template-columns:24px 1fr auto;align-items:start;gap:12px;margin-bottom:10px;cursor:pointer}
.option-card.selected{border-color:var(--blue);background:var(--blue-soft)}
.option-card input{margin-top:4px}
.option-card strong,.option-card small{display:block}
.option-card small{color:var(--muted);margin-top:3px}
.checkout-summary{background:#f3f7f9;border:1px solid var(--line);border-radius:13px;padding:18px;height:max-content;position:sticky;top:16px}
.checkout-summary h3{margin-top:0}
.checkout-summary-line{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px solid #dce6eb;font-size:.82rem}
.checkout-summary-total{display:flex;justify-content:space-between;font-size:1.2rem;font-weight:950;padding:14px 0}
.checkout-actions{display:flex;justify-content:space-between;gap:10px;margin-top:20px}
.checkout-error{background:#fff0ee;color:#a42d27;border:1px solid #efc6c0;border-radius:9px;padding:11px 13px;margin-bottom:12px}
.success-dialog{width:min(480px,calc(100% - 28px));border:0;border-radius:20px;padding:36px;text-align:center;color:var(--ink)}
.success-icon{width:70px;height:70px;border-radius:50%;background:#e7f8ed;color:var(--green);display:grid;place-items:center;margin:0 auto 15px}
.success-icon svg{width:38px;height:38px}
.site-footer{background:#0b3146;color:#fff;padding:55px 0 22px}
.footer-grid{display:grid;grid-template-columns:1.2fr repeat(3,1fr);gap:45px}
.footer-grid section{display:flex;flex-direction:column;align-items:flex-start;gap:9px}
.footer-grid img{width:230px;filter:brightness(0) invert(1)}
.footer-grid h3{margin:0 0 8px}
.footer-grid p,.footer-grid a{color:#caddE6;font-size:.87rem;margin:0}
.footer-grid a:hover{color:#fff}
.footer-bottom{margin-top:38px;padding-top:18px;border-top:1px solid rgba(255,255,255,.15);display:flex;justify-content:space-between;color:#a9c3cf;font-size:.75rem}
.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}
.mobile-bottom-nav{display:none}
@media (max-width:1180px){
  :root{--container:min(100% - 30px,1200px)}
  .header-row{grid-template-columns:220px 1fr 190px;gap:20px}
  .main-nav__inner{gap:24px}
  .category-grid{grid-template-columns:repeat(3,1fr)}
  .featured-grid{grid-template-columns:repeat(3,1fr)}
  .product-layout{grid-template-columns:.8fr 1.2fr}
}
@media (max-width:900px){
  .desktop-only{display:none!important}
  .mobile-only{display:block!important}
  :root{--container:calc(100% - 28px)}
  body{padding-bottom:76px}
  .top-strip{display:none}
  .site-header{top:0}
  .header-row{height:88px;grid-template-columns:52px 1fr 52px;gap:12px}
  .logo{justify-self:center}
  .logo img{width:250px;max-width:100%;max-height:62px;object-fit:contain}
  .icon-button{border:1px solid #cbdbe3;background:#fff;width:48px;height:48px;border-radius:50%;display:grid!important;place-items:center;cursor:pointer}
  .header-actions{display:block;justify-self:end}
  .cart-button{padding:8px 4px}
  .cart-button svg{width:31px;height:31px;color:var(--blue)}
  .cart-button b{left:26px;top:0}
  .mobile-search{padding:0 14px 14px;background:#fff}
  .mobile-search form{height:55px;border:1px solid #bfd3dd;border-radius:13px;display:grid;grid-template-columns:46px 1fr auto;align-items:center;position:relative;overflow:visible}
  .mobile-search form>svg{justify-self:center;color:var(--muted)}
  .mobile-search input{height:100%;border:0;outline:0;min-width:0;font-size:1rem}
  .mobile-search button{height:100%;border:0;border-radius:0 12px 12px 0;background:var(--blue);color:#fff;font-weight:900;padding:0 16px}
  .mobile-search .suggestions{top:calc(100% + 7px)}
  .hero{min-height:470px}
  .hero__content{padding:55px 0 110px}
  .hero h1{font-size:clamp(2.4rem,10vw,4.2rem)}
  .hero-search{display:none}
  .hero-benefits__inner{grid-template-columns:repeat(2,1fr)}
  .benefit{padding:12px 13px;min-height:67px}
  .benefit:nth-child(2){border-right:0}
  .benefit:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .benefit svg{width:27px;height:27px}
  .benefit strong{font-size:.68rem}
  .benefit small{font-size:.68rem}
  .section{padding:48px 0}
  .section-head{text-align:left}
  .category-grid{grid-template-columns:repeat(2,1fr);gap:11px}
  .category-card__body{padding:12px}
  .category-card h3{font-size:.86rem}
  .trust-row{grid-template-columns:repeat(2,1fr)}
  .trust-item{padding:14px;border-bottom:1px solid var(--line)}
  .trust-item:nth-child(2n){border-right:0}
  .featured-grid{grid-template-columns:1fr 1fr;gap:11px}
  .product-card h3{font-size:.95rem}
  .page-banner{padding:22px 0}
  .page-banner h1{font-size:2.25rem}
  .catalog-layout{display:block}
  .sidebar{display:none}
  .catalog-toolbar{top:143px;grid-template-columns:1fr auto;padding:10px;margin-inline:-14px;border-radius:0;border-inline:0}
  .catalog-toolbar .select-control{display:none}
  .filter-panel{grid-template-columns:1fr 1fr}
  .catalog-product-grid{grid-template-columns:1fr 1fr;gap:11px}
  .product-layout{display:block}
  .product-gallery{position:static;margin-bottom:14px}
  .product-info{padding:17px}
  .variant-row{grid-template-columns:1.25fr .95fr 110px;gap:10px;padding:12px}
  .variant-row.head{display:none}
  .variant-price{grid-column:2}
  .variant-stock{grid-column:1}
  .variant-qty{grid-column:3;grid-row:1/3;align-self:center}
  .product-purchase-footer{position:sticky;bottom:76px;background:#fff;margin-inline:-17px;margin-bottom:-17px;padding:13px 17px;border-top:1px solid var(--line);z-index:10;box-shadow:0 -8px 22px rgba(15,47,67,.08)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .mobile-bottom-nav{position:fixed;z-index:95;bottom:0;left:0;right:0;height:76px;background:#fff;border-top:1px solid var(--line);display:grid!important;grid-template-columns:repeat(4,1fr);padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -10px 28px rgba(15,47,67,.08)}
  .mobile-bottom-nav a,.mobile-bottom-nav button{border:0;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:.72rem;font-weight:800;color:#385468;position:relative}
  .mobile-bottom-nav svg{width:26px;height:26px;color:var(--blue)}
  .mobile-bottom-nav b{position:absolute;top:5px;right:23%;background:var(--blue);color:#fff;border-radius:50%;width:20px;height:20px;display:grid;place-items:center;font-size:.65rem}
  .checkout-grid{grid-template-columns:1fr;padding:12px 18px 24px}
  .checkout-summary{position:static;order:-1}
  .checkout-progress{padding:70px 18px 15px}
}
@media (max-width:620px){
  :root{--container:calc(100% - 24px)}
  .logo img{width:220px}
  .hero{min-height:430px}
  .hero__content{text-align:left;padding:48px 0 112px}
  .hero__eyebrow{font-size:.68rem}
  .hero h1{font-size:2.65rem}
  .hero p{font-size:.98rem}
  .hero-benefits__inner{min-height:97px}
  .benefit{gap:8px;padding:10px 7px}
  .benefit svg{width:24px;height:24px}
  .benefit small{display:none}
  .category-grid{gap:9px}
  .category-card__media{aspect-ratio:1.35/1}
  .category-card h3{font-size:.8rem;line-height:1.2}
  .category-card span{font-size:.7rem}
  .trust-row{display:none}
  .featured-grid{display:block}
  .product-card{display:grid;grid-template-columns:116px 1fr;margin-bottom:11px}
  .product-card__image{aspect-ratio:auto;height:100%;min-height:176px}
  .product-card__body{padding:13px}
  .product-card h3{min-height:0;margin:5px 0 6px;font-size:1rem}
  .product-card__meta{font-size:.74rem}
  .product-card__bottom{padding-top:10px}
  .catalog-product-grid{display:block}
  .catalog-title-row{align-items:flex-start;flex-direction:column}
  .filter-panel{grid-template-columns:1fr}
  .product-main-image{aspect-ratio:1.25/1}
  .product-info__head h1{font-size:1.85rem}
  .variant-table{border-radius:11px}
  .variant-row{display:grid;grid-template-columns:1fr auto;padding:13px 12px;gap:7px}
  .variant-size{grid-column:1}
  .variant-stock{grid-column:1}
  .variant-price{grid-column:1}
  .variant-qty{grid-column:2;grid-row:1/4;align-self:center}
  .qty-stepper{grid-template-columns:34px 40px 34px}
  .product-purchase-footer{gap:10px}
  .product-purchase-footer .button{padding-inline:13px;font-size:.82rem}
  .cart-item{grid-template-columns:64px 1fr auto}
  .cart-item img{width:64px;height:58px}
  .checkout-dialog{width:100%;max-height:100dvh;height:100dvh;border-radius:0}
  .checkout-progress{grid-template-columns:repeat(4,minmax(60px,1fr));overflow-x:auto}
  .progress-step{font-size:.64rem;padding:0 8px}
  .form-grid{grid-template-columns:1fr}
  .field.span-2{grid-column:auto}
  .checkout-actions{position:sticky;bottom:0;background:#fff;padding-top:12px}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;gap:5px}
}


/* V7.1 slimme maatfilters */
.filter-toggle{position:relative}.filter-toggle b{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--blue);color:#fff;font-size:.68rem}
.mobile-quick-filters{display:none;gap:8px;overflow-x:auto;padding:0 0 14px;scrollbar-width:none}.mobile-quick-filters::-webkit-scrollbar{display:none}.mobile-quick-filters button{white-space:nowrap;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:9px 13px;font-weight:800}.mobile-quick-filters button.active{background:var(--blue);border-color:var(--blue);color:#fff}
.filter-panel__head{display:none}.filter-panel__footer{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px;padding-top:4px}.filter-panel__head h2{margin:2px 0 0}.filter-panel__head small{color:var(--muted);font-weight:750}.filter-panel__head button{border:0;background:#edf5f9;width:42px;height:42px;border-radius:50%;display:grid;place-items:center}.filter-panel__head svg{width:20px;height:20px}.filter-group{scroll-margin-top:80px}

/* V7.1 rustige beheeromgeving */
body.admin-entry{background:#eef4f7;padding-top:72px}body.admin-entry>.utility-bar,body.admin-entry>.site-header,body.admin-entry>.site-footer,body.admin-entry>.mobile-bottom-nav{display:none!important}.admin-shell-bar{position:fixed;z-index:1000;top:0;left:0;right:0;height:72px;background:#fff;border-bottom:1px solid #dce8ed;display:flex;align-items:center;gap:18px;padding:0 26px;box-shadow:0 6px 18px rgba(11,53,73,.06)}.admin-shell-brand img{width:230px;height:auto;display:block}.admin-shell-bar>div{display:flex;flex-direction:column;line-height:1.15}.admin-shell-bar strong{color:#0d3348}.admin-shell-bar small{color:#69808d;margin-top:4px}.admin-shell-return{margin-left:auto;background:#078fc5;color:#fff!important;text-decoration:none;padding:11px 16px;border-radius:10px;font-weight:850}body.admin-entry #app{min-height:calc(100vh - 72px)}body.admin-entry .loading-state{min-height:55vh}

@media (max-width:760px){
  .mobile-quick-filters{display:flex;margin:0 -14px;padding:0 14px 12px}
  .filter-panel{position:fixed!important;z-index:210;left:0;right:0;bottom:0;top:auto;max-height:min(82vh,760px);overflow:auto;border-radius:22px 22px 0 0!important;margin:0!important;padding:0 16px calc(18px + env(safe-area-inset-bottom))!important;display:block!important;grid-template-columns:1fr!important;box-shadow:0 -20px 50px rgba(8,43,61,.22);transform:translateY(0);transition:transform .22s ease}
  .filter-panel.hidden{display:block!important;transform:translateY(110%);pointer-events:none}
  .filter-panel__head{display:flex;position:sticky;top:0;z-index:2;background:#fff;align-items:center;justify-content:space-between;margin:0 -16px 4px;padding:14px 16px;border-bottom:1px solid var(--line)}
  .filter-group{padding:14px 0;border-bottom:1px solid var(--line)}.filter-group h3{margin:0 0 10px}.filter-panel__footer{position:sticky;bottom:0;background:#fff;margin:0 -16px;padding:12px 16px;display:grid;grid-template-columns:1fr 1.25fr;border-top:1px solid var(--line)}
  body.admin-entry{padding-top:64px}.admin-shell-bar{height:64px;padding:0 14px;gap:10px}.admin-shell-brand img{width:165px}.admin-shell-bar>div{display:none}.admin-shell-return{font-size:.78rem;padding:9px 11px}
}

/* V8.1 beeldkwaliteit en zoeklaag */
.product-card__image img{image-rendering:auto;transform:translateZ(0)}
.suggestion-item img{image-rendering:auto}
.hero .suggestions{isolation:isolate}
@media(max-width:760px){.mobile-search{position:relative;z-index:90}.mobile-search .suggestions{z-index:1400}.site-header{overflow:visible}.header-row{overflow:visible}}


/* V8.4 zoeksuggesties leesbaar en compact */
.hero-search .suggestions,.header-search .suggestions,.mobile-search .suggestions{color:var(--ink);background:#fff;overflow-x:hidden}
.hero-search .suggestion-item,.header-search .suggestion-item,.mobile-search .suggestion-item{height:auto!important;min-height:68px!important;width:100%!important;max-width:none!important;padding:9px 12px!important;border-radius:0!important;background:#fff!important;color:var(--ink)!important;display:grid!important;grid-template-columns:64px minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;text-align:left!important;box-shadow:none!important}
.hero-search .suggestion-item:hover,.header-search .suggestion-item:hover,.mobile-search .suggestion-item:hover{background:var(--blue-soft)!important}
.suggestion-item picture{display:block;width:64px;height:52px;overflow:hidden;border-radius:8px;background:var(--surface-2)}
.suggestion-item picture img,.suggestion-item>img{width:64px!important;height:52px!important;object-fit:cover!important;border-radius:8px!important;margin:0!important}
.suggestion-item>span{min-width:0;display:block}
.suggestion-item strong{color:var(--navy)!important;font-size:.92rem!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere}
.suggestion-item small{color:var(--muted)!important;font-size:.76rem!important;line-height:1.25!important;white-space:normal!important;margin-top:3px!important}
.suggestion-item em{color:var(--blue-dark)!important;white-space:nowrap!important;align-self:center!important;font-size:.88rem!important}
.hero-search .suggestions{max-height:min(430px,56vh);z-index:5000}
@media(max-width:760px){.suggestion-item em{font-size:.8rem!important}.hero-search .suggestion-item,.header-search .suggestion-item,.mobile-search .suggestion-item{grid-template-columns:54px minmax(0,1fr) auto!important;gap:9px!important;padding:8px 10px!important}.suggestion-item picture,.suggestion-item picture img,.suggestion-item>img{width:54px!important;height:46px!important}.suggestions{max-height:58vh!important}}

/* V8.11 cumulatieve klantstatus en wensenlijst */
.product-card__favorite{position:absolute;z-index:4;top:12px;left:12px;width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.94);display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 14px rgba(10,48,68,.14)}
.product-card__favorite svg,.favorite-detail svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}
.product-card__favorite.active,.favorite-detail.active{background:#fff0f2;color:#d52f52}.product-card__favorite.active svg,.favorite-detail.active svg{fill:currentColor}
.product-head-actions{display:flex;gap:8px;align-items:center}.header-action span,.top-strip__login{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.free-trailer-note{margin:14px 0;padding:12px 14px;border:1px solid #b9ddeb;border-radius:12px;background:#eef9fd;color:#123b51;font-weight:750}
@media(max-width:760px){.product-card__favorite{width:34px;height:34px;top:8px;left:8px}.top-strip__login{max-width:105px}}


/* V8.13 mobiele header stabilisatie - behoud bestaand design */
.mobile-customer{display:none}
@media (max-width:900px){
  html,body{max-width:100%;overflow-x:hidden}
  .site-header,.header-row,.mobile-search,.mobile-search form{max-width:100%}
  .header-row{height:82px;grid-template-columns:48px minmax(0,1fr) 52px 48px;gap:7px;padding-left:0;padding-right:0}
  .logo{min-width:0;width:100%;display:flex;align-items:center;justify-content:center;overflow:hidden}
  .logo img{width:min(205px,100%);max-width:100%;max-height:56px;object-fit:contain}
  .header-actions{grid-column:3/5;display:grid!important;grid-template-columns:52px 48px;align-items:center;gap:0;justify-self:stretch;width:100%}
  .mobile-customer{display:flex!important;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:1px;text-decoration:none;color:var(--navy);font-size:.62rem;font-weight:850;line-height:1.05;overflow:hidden}
  .mobile-customer svg{width:24px;height:24px;flex:none}
  .mobile-customer span{display:block;max-width:50px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .cart-button{width:48px;height:48px;display:grid;place-items:center;padding:0!important;justify-self:end}
  .cart-button svg{width:28px;height:28px}
  .cart-button b{left:25px;top:-1px}
  .mobile-search{width:100%;box-sizing:border-box;padding:0 14px 13px}
  .mobile-search form{width:100%;box-sizing:border-box;grid-template-columns:minmax(0,1fr) 50px;overflow:visible}
  .mobile-search form>svg{display:none!important}
  .mobile-search input{width:100%;min-width:0;padding:0 13px;font-size:16px}
  .mobile-search button{width:50px;padding:0;border-radius:0 12px 12px 0;display:grid;place-items:center}
  .mobile-search button svg{width:23px;height:23px}
  .mobile-search .suggestions{left:0;right:0;width:100%;box-sizing:border-box}
}
@media (max-width:390px){
  .header-row{grid-template-columns:44px minmax(0,1fr) 48px 44px;gap:4px}
  .header-actions{grid-template-columns:48px 44px}
  .logo img{width:min(178px,100%)}
  .mobile-customer span{max-width:46px;font-size:.58rem}
  .mobile-search{padding-left:10px;padding-right:10px}
}


/* V9.4.3 inline zaagconfigurator */
.cut-callout{width:100%;text-align:left;border:1px solid var(--line);background:#fff;cursor:pointer;font:inherit}
.inline-cut-configurator{margin-top:14px;padding:22px;border:1px solid #b9d7e6;border-radius:16px;background:linear-gradient(180deg,#f8fcfe,#eef7fb);scroll-margin-top:110px}
.inline-cut-configurator.hidden{display:none}
.inline-cut-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:18px}.inline-cut-head h2{margin:2px 0 6px}.inline-cut-head p{margin:0;color:var(--muted)}
.inline-cut-close{border:0;background:#fff;border-radius:50%;width:38px;height:38px;font-size:28px;line-height:1;cursor:pointer;color:var(--ink);box-shadow:0 3px 14px rgba(6,54,77,.12)}
.inline-cut-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.inline-cut-field{display:grid;gap:7px}.inline-cut-field-wide{grid-column:span 3}.inline-cut-field span{font-weight:800;font-size:.88rem}.inline-cut-field input,.inline-cut-field select{width:100%;min-height:48px;border:1px solid #bfd3df;border-radius:10px;background:#fff;padding:10px 12px;font:inherit;color:var(--ink)}
.inline-cut-summary{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:16px;padding:14px 16px;border-radius:10px;background:#fff;border:1px solid #d4e3eb}.inline-cut-summary span{color:var(--muted)}.inline-cut-actions{display:flex;justify-content:flex-end;margin-top:16px}.inline-cut-empty{padding:4px}
@media(max-width:700px){.inline-cut-grid{grid-template-columns:1fr}.inline-cut-field-wide{grid-column:auto}.inline-cut-summary{align-items:flex-start;flex-direction:column}.inline-cut-actions .button{width:100%}}


/* V9.5 slimme zaagconfigurator */
.inline-cut-configurator{margin-top:18px;padding:22px;border:1px solid #cfe0ea;border-radius:18px;background:#fff}.cut-parts{display:grid;gap:10px;margin:14px 0}.cut-part-row{display:grid;grid-template-columns:1.5fr 1fr 1fr .65fr auto;gap:10px;align-items:end;padding:12px;border-radius:12px;background:#f3f8fb}.cut-part-row label{display:grid;gap:5px;font-size:13px;font-weight:700}.cut-part-row input{width:100%;min-height:44px;border:1px solid #bfd3df;border-radius:9px;padding:8px}.cut-remove{width:42px;height:42px;border:0;border-radius:9px;background:#fff;color:#a43b32;font-size:24px}.cut-add-row{margin-bottom:14px}.cut-drawing{display:grid;gap:18px;margin-top:18px}.cut-sheet{padding:14px;border:1px solid #d5e3eb;border-radius:14px;background:#f9fcfd}.cut-sheet svg{display:block;width:100%;max-height:380px;margin-top:10px}.sheet-bg{fill:#f0dfc5;stroke:#123047;stroke-width:4}.cut-piece{fill:#d9eff8;stroke:#078fc5;stroke-width:3}.cut-sheet text{font-size:28px;font-weight:700;fill:#102a3b}.inline-cut-summary{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:15px;border-radius:12px;background:#eaf7ee}.inline-cut-summary span{display:block}@media(max-width:760px){.cut-part-row{grid-template-columns:1fr 1fr}.cut-part-row label:first-child{grid-column:1/-1}.cut-remove{align-self:end}.inline-cut-summary{display:block}.inline-cut-summary span{margin-top:5px}}

/* V9.5.1: zaagmaten per 5 mm met schuifbalken */
.cut-dimension-field b{float:right;color:#087fba;font-size:.82rem}.cut-dimension-field input[type="range"]{min-height:24px;padding:0;border:0;background:transparent;accent-color:#078fc5;cursor:pointer}.cut-dimension-field input[type="number"]{font-weight:800}.cut-part-row{align-items:start}
/* V9.5.6: aparte zaagmodus voor balken/planken */
.cut-part-row-linear{grid-template-columns:minmax(150px,1fr) minmax(250px,2fr) minmax(90px,.55fr) 42px}
.cut-bar svg{min-width:760px;max-height:230px}.cut-bar{overflow-x:auto}
@media(max-width:760px){.cut-part-row-linear{grid-template-columns:1fr}.cut-bar svg{min-width:680px}}

/* V9.5.7: correcte handelsmaten en goed leesbare maatvoering */
.cut-sheet{overflow-x:auto;padding:18px}
.cut-sheet-title{display:flex;justify-content:space-between;gap:14px;align-items:center;font-size:1rem;margin-bottom:8px}
.cut-sheet-title span{font-weight:800;color:var(--muted)}
.cut-sheet svg{width:100%;min-width:760px;max-height:none;background:#fff;border-radius:10px}
.cut-sheet text{font-family:Arial,sans-serif;paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round}
.cut-piece-label{font-size:22px;font-weight:900;fill:#092d43}
.cut-piece-size{font-size:20px;font-weight:900;fill:#092d43}
.cut-rest{fill:#f0dfc5;stroke:#b88f56;stroke-width:2}
.cut-rest-label{font-size:22px;font-weight:900;fill:#6f4d20}
.cut-rest-size{font-size:20px;font-weight:900;fill:#6f4d20}
.cut-line{stroke:#d7372f;stroke-width:4;stroke-dasharray:9 6;vector-effect:non-scaling-stroke}
.dimension-line{stroke:#173b51;stroke-width:2;vector-effect:non-scaling-stroke}
.dimension-arrow{fill:#173b51;stroke:none}
.dimension-text{font-size:22px;font-weight:900;fill:#102f43;stroke-width:5px}
.vertical-dimension{transform-box:fill-box;transform-origin:center;transform:rotate(-90deg)}
.cut-caption{font-size:16px;font-weight:700;fill:#56707f;stroke-width:3px}
.variant-size strong{line-height:1.35}
@media(max-width:760px){.cut-sheet{padding:12px}.cut-sheet svg{min-width:700px}.cut-piece-label{font-size:24px}.cut-piece-size,.dimension-text{font-size:22px}}

/* V9.5.8: duidelijke lengtezaagtool */
.linear-cut-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(230px,.8fr);gap:18px;align-items:stretch}.linear-cut-canvas{overflow-x:auto;background:#fff;border:1px solid #d4e2e9;border-radius:14px;padding:10px}.linear-cut-canvas svg{display:block;min-width:760px;width:100%;height:auto}.linear-cut-list{background:#f7fbfd;border:1px solid #d4e2e9;border-radius:14px;padding:16px}.linear-cut-list h4{margin:0 0 10px}.linear-cut-list ol{margin:0;padding-left:22px;display:grid;gap:8px}.linear-cut-list li{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #deeaef;padding-bottom:7px}.linear-rest-row{display:flex;justify-content:space-between;margin-top:14px;padding-top:12px;border-top:2px solid #c6dce6}.cut-piece-number{font-size:34px;font-weight:900;fill:#07334a}.cut-piece-label{font-size:24px;font-weight:900}.cut-piece-size{font-size:22px;font-weight:800}.cut-rest-label,.cut-rest-size{font-size:20px;font-weight:800}.dimension-text{font-size:23px;font-weight:900}@media(max-width:820px){.linear-cut-layout{grid-template-columns:1fr}.linear-cut-list{font-size:15px}.linear-cut-canvas svg{min-width:700px}}

/* V9.6.1: lengtezaagplan volledig zichtbaar zonder horizontaal scrollen */
.cut-bar,
.cut-sheet.cut-bar,
.linear-cut-canvas{
  overflow:visible;
}
.cut-sheet-title{
  flex-wrap:wrap;
  align-items:flex-start;
}
.cut-sheet-title strong{
  flex:0 0 auto;
}
.cut-sheet-title span{
  flex:1 1 320px;
  text-align:right;
  white-space:normal;
}
.linear-cut-layout{
  grid-template-columns:1fr;
}
.linear-cut-canvas{
  width:100%;
  min-width:0;
  padding:12px;
}
.linear-cut-canvas svg,
.cut-bar svg,
.cut-sheet.cut-bar svg{
  display:block;
  width:100%;
  min-width:0 !important;
  max-width:100%;
  height:auto;
  margin:0;
}
.linear-cut-list{
  width:100%;
}
.linear-cut-list ol{
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  column-gap:24px;
}
.linear-rest-row{
  font-size:1.05rem;
}
@media(max-width:760px){
  .cut-sheet-title span{
    flex-basis:100%;
    text-align:left;
  }
  .linear-cut-canvas{
    padding:6px;
  }
  .linear-cut-list ol{
    grid-template-columns:1fr;
  }
}


/* V9.6.3: zaagvoorbeeld pas tonen na invoer */
.cut-preview-intro{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-top:18px;
  padding:16px 18px;
  border:1px dashed #9fc8db;
  border-radius:14px;
  background:#f4fafc;
  color:#244b60;
}
.cut-preview-intro strong{font-size:1.02rem;color:#0c354b}
.cut-preview-intro span{color:var(--muted)}
.cut-preview-trigger{display:flex;justify-content:flex-end;margin-top:14px}
.cut-preview-trigger .button{min-width:280px}
.cut-drawing:not(.hidden){margin-top:20px;animation:cutPreviewIn .22s ease-out}
.inline-cut-summary:not(.hidden){animation:cutPreviewIn .18s ease-out}
.inline-cut-actions:not(.hidden){animation:cutPreviewIn .22s ease-out}
@keyframes cutPreviewIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:700px){
  .cut-preview-trigger .button{width:100%;min-width:0}
  .cut-preview-intro{padding:14px}
}

/* V9.6.5: leesbaar zaagvoorbeeld met verhoudingen zo veel mogelijk op schaal */
.cut-sheet-readable{
  overflow:visible !important;
  padding:18px;
}
.cut-sheet-readable .cut-sheet-note{
  display:block;
  margin:4px 0 12px;
  padding:9px 12px;
  border-radius:9px;
  background:#eef7fb;
  color:#315a70;
  font-size:.9rem;
  font-weight:700;
}
.cut-sheet-plan{
  width:100%;
  overflow:hidden;
  border:1px solid #d4e2e9;
  border-radius:14px;
  background:#fff;
  padding:12px;
}
.cut-sheet-readable .cut-sheet-plan svg{
  display:block;
  width:100%;
  min-width:0 !important;
  max-width:100%;
  height:auto;
  margin:0;
}
.cut-sheet-legend{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:10px;
  margin:14px 0 0;
  padding:0;
  list-style:none;
}
.cut-sheet-legend li{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  padding:10px 12px;
  border:1px solid #d8e5eb;
  border-radius:10px;
  background:#f8fbfd;
}
.cut-legend-number{
  display:grid;
  place-items:center;
  flex:0 0 34px;
  width:34px;
  height:34px;
  border-radius:50%;
  background:#087fba;
  color:#fff;
  font-weight:900;
}
.cut-legend-name{
  display:grid;
  min-width:0;
}
.cut-legend-name strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#0b3045;
}
.cut-legend-name small{
  color:#587182;
  font-weight:700;
}
.cut-piece-badge{
  fill:#fff;
  stroke:#087fba;
  stroke-width:3;
  vector-effect:non-scaling-stroke;
}
.cut-piece-badge-text{
  fill:#07334a;
  font-size:22px;
  font-weight:900;
  stroke-width:3px;
}
.cut-piece-size-compact{
  font-size:18px;
}
@media(max-width:700px){
  .cut-sheet-readable{padding:12px}
  .cut-sheet-plan{padding:6px}
  .cut-sheet-legend{grid-template-columns:1fr}
  .cut-sheet-readable .dimension-text{font-size:25px}
  .cut-sheet-readable .cut-piece-label{font-size:24px}
  .cut-sheet-readable .cut-piece-size{font-size:21px}
}


/* V9.6.5: schaalbalk en gebalanceerde schaalweergave */
.cut-scale-line,.cut-scale-tick{
  stroke:#123047;
  stroke-width:3;
  vector-effect:non-scaling-stroke;
}
.cut-scale-text{
  font-size:16px;
  font-weight:900;
  fill:#123047;
  stroke-width:3px;
}


/* V9.7.4: zes categorieen op desktop en horizontale swipe op mobiel */
.category-grid--home{grid-template-columns:repeat(6,minmax(0,1fr));align-items:stretch}
@media(max-width:700px){
  .category-grid--home{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding:2px 4px 14px;margin-inline:-4px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .category-grid--home::-webkit-scrollbar{display:none}
  .category-grid--home .category-card{flex:0 0 min(78vw,300px);scroll-snap-align:start}
}


/* V9.7.5 - snelle keuze voor geschaafde eiken planken */
.oak-quick{display:grid;grid-template-columns:minmax(220px,.72fr) minmax(0,1.8fr);gap:18px;align-items:center;margin:18px 0 0;padding:16px 18px;border:1px solid rgba(8,119,184,.22);border-radius:18px;background:rgba(255,255,255,.94);box-shadow:0 12px 32px rgba(11,47,68,.12);color:#0c2d41;text-align:left}
.oak-quick__intro{display:flex;flex-direction:column;gap:2px}.oak-quick__intro small{font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#0877b8}.oak-quick__intro strong{font-size:1.18rem}.oak-quick__intro span{font-size:.88rem;color:#637b8b;line-height:1.35}
.oak-quick__controls{display:grid;grid-template-columns:minmax(155px,.65fr) minmax(250px,1.25fr) auto;gap:12px;align-items:end}.oak-quick__group{min-width:0}.oak-quick__group>span{display:block;margin:0 0 6px;font-size:.76rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:#516d7d}.oak-quick__chips{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}.oak-quick__chips button{flex:0 0 auto;border:1px solid #c7dbe6;background:#f6fbfd;color:#15384c;border-radius:999px;padding:8px 11px;font-weight:800;cursor:pointer}.oak-quick__chips button:hover,.oak-quick__chips button.active{background:#087fc3;border-color:#087fc3;color:#fff}.oak-quick__submit{display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;border:0;border-radius:13px;background:#087fc3;color:#fff;padding:11px 15px;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(8,127,195,.2)}.oak-quick__submit svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.oak-quick--compact{grid-template-columns:minmax(190px,.62fr) minmax(0,1.8fr);margin:0 0 16px;background:#eef8fc;box-shadow:none}.oak-quick--compact .oak-quick__intro span{display:none}
@media(max-width:900px){.oak-quick,.oak-quick--compact{grid-template-columns:1fr;gap:12px;padding:14px}.oak-quick__controls{grid-template-columns:1fr}.oak-quick__submit{width:100%}.oak-quick__chips{margin-right:-4px}.hero .oak-quick{margin-top:14px}}
