*,*::before,*::after{box-sizing:border-box}
:root{
  color-scheme:light;--paper:#f8f2e9;--card:#fffaf3;--navy:#102838;--body:#243d4b;--muted:#506371;
  --orange:#e58a33;--orange-hover:#f0a453;--ice:#dcecf4;--line:#d7cfc2;
  font-family:"Instrument Sans","Segoe UI",system-ui,sans-serif;color:var(--navy);background:var(--paper);
  line-height:1.5;font-synthesis:none;
}
html{scroll-behavior:smooth}
body,h1,h2,h3,h4,p,dl,dd{margin:0}
img{display:block;max-width:100%;object-fit:cover}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.65}
[hidden]{display:none!important}
:focus-visible{outline:3px solid #987029;outline-offset:4px}
.wrap{width:min(100% - 76px,1232px);margin-inline:auto}
.skip{position:absolute;top:.5rem;left:1rem;transform:translateY(-150%);background:white;padding:.6rem 1rem;z-index:4}
.skip:focus{transform:none}
.site-header{background:var(--paper);border-bottom:1px solid #e8dfd3}
.header-inner{display:flex;min-height:101px;justify-content:space-between;gap:28px;align-items:center}
.brand,.header-phone{display:flex;align-items:center;gap:13px;font-weight:850;letter-spacing:-.035em;white-space:nowrap}
.brand{font-size:clamp(1.1rem,2vw,1.65rem)}
.brand img{width:60px;height:66px;object-fit:contain}
.site-header nav{display:flex;justify-content:center;gap:clamp(19px,3vw,44px);padding-inline:clamp(15px,3vw,43px);border-inline:1px solid #cbbfb2}
.site-header nav a{font-weight:650}
.site-header nav a:hover,.header-phone a:hover{color:#8c4512}
.header-phone{font-size:clamp(1rem,1.9vw,1.45rem);gap:10px}
.icon{display:inline-block;width:1em;height:1em;flex:none;background:currentColor;mask:var(--glyph) center/contain no-repeat;font-size:1.4rem}
[data-icon=phone]{--glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 2.7c.7-.2 1.3.1 1.6.7l2.1 4c.3.6.2 1.2-.3 1.6l-1.6 1.4a13.4 13.4 0 0 0 5.2 5.2l1.5-1.7c.4-.5 1-.6 1.6-.3l4 2.2c.6.3.9.9.7 1.6-.5 2.6-2.2 4.2-4.8 4.1C10 21.1 2.7 13.8 2.5 7.2c-.1-2.3 1.6-4 4.1-4.5Z'/%3E%3C/svg%3E")}
[data-icon=truck]{--glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M2 5h13v12H2zM15 9h4l3 4v4h-7z'/%3E%3Ccircle cx='6.5' cy='18' r='2' fill='white'/%3E%3Ccircle cx='18.5' cy='18' r='2' fill='white'/%3E%3C/svg%3E")}
[data-icon=store]{--glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11v10h16V11M3 8.5 5 3h14l2 5.5v1A2.5 2.5 0 0 1 16.5 11 2.5 2.5 0 0 1 12 11a2.5 2.5 0 0 1-4.5 0A2.5 2.5 0 0 1 3 9.5zM9 21v-6h6v6'/%3E%3C/svg%3E")}
[data-icon=pin]{--glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 1.5a8.4 8.4 0 0 0-8.4 8.4c0 4.6 6 10.6 7.7 12.2a1 1 0 0 0 1.4 0c1.7-1.6 7.7-7.6 7.7-12.2A8.4 8.4 0 0 0 12 1.5Zm0 11.3a3.2 3.2 0 1 0 0-6.4 3.2 3.2 0 0 0 0 6.4Z'/%3E%3C/svg%3E")}
.hero{position:relative;isolation:isolate;overflow:hidden;background:#f7eee3}
.hero-inner{min-height:clamp(380px,38vw,500px);display:flex;align-items:center}
.hero-copy{position:relative;padding:44px 0 53px;max-width:55%}
.hero-media{position:absolute;inset:0 0 0 max(38%,calc((100% - 1232px)/2 + 455px));z-index:-1;clip-path:polygon(17% 0,100% 0,100% 100%,0 100%)}
.hero-media img{width:100%;height:100%;object-position:50% 40%}
h1,h2,h3,h4{line-height:1.08;font-weight:850;letter-spacing:-.042em}
h1{font-size:clamp(3rem,5.85vw,5.5rem)}
h2{font-size:clamp(2rem,4vw,3.35rem)}
h3{font-size:clamp(1.35rem,2.1vw,1.8rem)}
.hero-copy p{font-size:clamp(1.08rem,2vw,1.42rem);margin:23px 0 30px;line-height:1.45;color:var(--body)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--orange);color:#142634;padding:.78rem 1.12rem;min-height:48px;border:1.5px solid transparent;border-radius:9px;font-size:1rem;font-weight:800;text-align:center;line-height:1.25}
.button:hover{background:var(--orange-hover)}
.hero .button{min-width:216px;font-size:1.18rem;padding:1rem 1.2rem}
.button-outline{border-color:var(--navy);background:transparent}
.button-outline:hover{background:#e5eef3}
.offer{padding:44px 0 54px}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:22px}
.demo-note{font-size:.92rem;color:#75481d}
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.product-grid[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr));max-width:940px;margin-inline:auto}
.product-grid[data-count="1"]{grid-template-columns:minmax(0,1fr);max-width:560px;margin-inline:auto}
.product{display:flex;flex-direction:column;min-width:0;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--card)}
.product-photo{width:100%;height:auto;aspect-ratio:1.92;object-position:center 47%;border-radius:8px;background:#eee1d2}
.product-body{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:16px 7px 6px;min-width:0;overflow-wrap:anywhere}
.stock{display:inline-flex;align-items:center;gap:7px;margin-top:10px;padding:4px 10px 4px 6px;border-radius:7px;font-size:.91rem;font-weight:700;line-height:1.25}
.stock span{display:inline-grid;place-items:center;border-radius:50%;width:19px;height:19px;color:white;font-size:.8rem;background:#51616a}
.stock-available{background:#e1efdf;color:#244b2e}.stock-available span{background:#2c733d}
.stock-low{background:#ffe0b2;color:#67390a}.stock-low span{background:#9a530c}
.stock-out{background:#e9e6e3;color:#39444d}.stock-confirm{background:#e4edf4;color:#254151}
.description{color:var(--body);margin:12px 0 16px;min-height:3em;font-size:.96rem}
.spec-block{width:100%;margin-bottom:19px}
.spec-block h4{font-size:.98rem;letter-spacing:0;margin-bottom:8px}
.specs div{display:grid;grid-template-columns:1fr minmax(0,1.02fr);align-items:baseline;gap:12px;padding:7px 0;border-top:1px solid #e4dace;font-size:.88rem;line-height:1.28}
.specs dt{color:var(--body)}
.specs dd{font-weight:700;text-align:right}
.spec-block details{border-top:1px solid #e4dace}
.spec-block summary{cursor:pointer;color:#3d586a;padding:8px 0 2px;font-size:.86rem;font-weight:650}
.spec-block details .specs{margin-top:6px}
.purchase{width:100%;margin-top:auto}
.price{font-weight:850;letter-spacing:-.035em;font-size:clamp(1.4rem,2.45vw,1.95rem);margin-bottom:10px}
.price small{font-size:.68em;font-weight:600;letter-spacing:0}
.purchase .button{width:100%}
.empty{border:1px solid var(--line);border-radius:12px;padding:24px;background:var(--card)}
.empty p{margin-bottom:12px}
.delivery{background:var(--ice);padding:30px 0}
.delivery-inner{display:grid;grid-template-columns:1.08fr 1fr;gap:clamp(25px,5vw,68px);align-items:center}
.delivery img{width:100%;height:auto;aspect-ratio:2.05;border-radius:11px;object-position:55% 56%}
.delivery-copy{border-left:1px solid #afc0cd;padding:7px 0 7px clamp(22px,4vw,45px)}
.method{display:flex;align-items:flex-start;gap:14px;margin-top:20px}
.method .icon{font-size:2rem}
.method h3{font-size:1.2rem;letter-spacing:-.02em;padding:3px 0}
.method p{color:var(--body);font-size:.99rem;margin-top:3px}
.about{padding:34px 0 42px}
.about h2{font-size:clamp(1.9rem,3.25vw,2.75rem);margin-bottom:9px}
.about p{max-width:69ch;color:var(--body);font-size:1.08rem}
footer{color:#fff8ef;background:var(--navy);padding:29px 0 35px}
.contact-inner{display:grid;grid-template-columns:.95fr 1fr 1.03fr;gap:24px;align-items:center}
.contact-inner h2{font-size:clamp(1.65rem,3vw,2.6rem)}
.contact-row{display:flex;align-items:center;gap:16px;padding-left:clamp(16px,4vw,52px);border-left:1px solid #78909e;min-height:66px}
.contact-row .icon{font-size:2rem}
.contact-row a{font-size:clamp(1rem,1.85vw,1.3rem);font-weight:650}
.contact-row a:hover{text-decoration:underline}
.contact-row div a{display:block;white-space:nowrap}
address{font-style:normal}
dialog{width:min(calc(100% - 24px),620px);padding:0;max-height:calc(100% - 24px);border:0;border-radius:16px;background:var(--card);color:var(--navy);box-shadow:0 20px 80px #10283855}
dialog::backdrop{background:#10283888}
body:has(dialog[open]){overflow:hidden}
.dialog-head{position:relative;background:var(--navy);color:var(--card);padding:24px 56px 23px 27px}
.dialog-head h2{font-size:clamp(1.55rem,4vw,2.2rem)}
.dialog-head p{color:#d9e8ef;margin-top:7px}
.dialog-close{background:#294455;color:white;border:0;border-radius:50%;position:absolute;top:16px;right:16px;width:36px;height:36px;font-size:1.45rem;line-height:1}
.order-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 14px;padding:22px 27px 26px}
.wide{grid-column:1/-1}
label{display:flex;flex-direction:column;gap:4px;font-weight:650;font-size:.92rem}
input:not([type=checkbox]),textarea,select{width:100%;min-width:0;border:1px solid #cfc7b9;border-radius:7px;background:#fffdf8;color:var(--navy);padding:.6rem .7rem;min-height:44px}
input[type=checkbox]{accent-color:var(--navy);width:1.12rem;height:1.12rem}
textarea{resize:vertical}
.honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.form-note,.response{font-size:.9rem;color:var(--muted)}
.response{font-weight:650;color:#803e22}
.response:empty{display:none}
.order-success{padding:28px}
.order-success p{margin:10px 0 18px}
.admin .header-inner{min-height:85px}
.admin-main{width:min(100% - 48px,960px);padding-block:38px}
.admin-intro{margin-bottom:24px}.admin-intro h1{font-size:clamp(2.2rem,6vw,3.5rem);margin-bottom:8px}
.admin-section{margin-bottom:32px}
.admin-section h2{font-size:1.9rem;margin-bottom:15px}
.admin-section-head,.edit-top,.admin-actions,.order-top{display:flex;justify-content:space-between;gap:12px;align-items:center}
.toggle{flex-direction:row;align-items:center;gap:7px}
.edit-card,.order-card{border:1px solid var(--line);background:var(--card);border-radius:12px;padding:17px;margin-top:13px}
.edit-fields{display:grid;grid-template-columns:225px 1fr;gap:16px;margin:15px 0}
.edit-photo img{height:136px;width:100%;border-radius:7px;margin-bottom:6px}
.edit-text,.edit-pair{display:grid;gap:9px}.edit-pair{grid-template-columns:1fr 1fr}
.spec-editor{display:grid;grid-template-columns:1fr 1fr auto;gap:6px;margin-top:6px}
.small-button{font-size:.9rem;border:1px solid var(--line);border-radius:7px;padding:6px 10px;color:#683825;background:#f8eee5}
.add-spec{margin-top:10px;min-height:40px}
.admin-actions{padding-block:13px;justify-content:flex-start}.admin-actions p{font-size:.94rem}
.order-card p{margin:5px 0}
.order-card a{text-decoration:underline}.order-top time{white-space:nowrap;color:var(--muted);font-size:.86rem}
.customer-notes{white-space:pre-wrap;overflow-wrap:anywhere}
#more-orders{margin-top:10px}
@media(max-width:980px){
  .wrap{width:min(100% - 48px,1232px)}
  .header-inner{min-height:87px;gap:14px}.site-header nav{border:0;padding:0}
  .hero-media{left:37%}
  .product-grid{gap:11px}.product{padding:9px}.product-body{padding-inline:4px}
  .specs div{font-size:.82rem;gap:6px}
}
@media(max-width:760px){
  .wrap{width:calc(100% - 36px)}
  .header-inner{display:grid;grid-template-columns:1fr auto;min-height:0;padding:9px 0;gap:6px}
  .brand img{width:42px;height:46px}.brand,.header-phone{gap:7px}
  .site-header nav{grid-column:1/-1;grid-row:2;justify-content:space-between;gap:10px;padding:6px 1px 1px;font-size:.94rem;border-top:1px solid var(--line)}
  .hero-inner{min-height:0}.hero{display:grid}.hero-copy{max-width:100%;padding:26px 0 24px}
  .hero h1{font-size:clamp(2.7rem,9vw,4.15rem)}
  .hero-copy p{margin:14px 0 18px}.hero .button{min-height:48px;min-width:170px;font-size:1rem;padding:.76rem .9rem}
  .hero-media{position:relative;grid-row:2;inset:auto;clip-path:none;aspect-ratio:2.55}
  .hero-media img{object-position:center 43%}
  .section-heading{align-items:flex-start;flex-direction:column;gap:5px}
  .offer{padding:28px 0 35px}
  .product-grid,.product-grid[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-grid[data-count="1"]{max-width:none}
  .product-body{padding:12px 5px 4px}
  .specs div{font-size:.89rem}
  .delivery{padding:24px 0}.delivery-inner{grid-template-columns:1fr;gap:17px}
  .delivery-copy{border:0;padding:0}.method{margin-top:14px}
  .about{padding:25px 0 29px}
  .contact-inner{grid-template-columns:1fr 1fr;gap:14px}
  .contact-inner h2{grid-column:1/-1}.contact-inner h2 br{display:none}.contact-inner h2 br::after{content:" "}
  .contact-row{padding-left:0;border:0;min-height:50px;gap:9px}
  .contact-row .icon{font-size:1.25rem}.contact-row a{font-size:.92rem}
}
@media(max-width:540px){
  .product-grid,.product-grid[data-count="2"]{grid-template-columns:1fr}
  .product{padding:10px}.description{min-height:0}
  .delivery img{aspect-ratio:1.85}.contact-inner h2{font-size:1.75rem}
  .order-form,.dialog-head{padding-inline:16px}
  .dialog-head h2{padding-right:37px}
  .edit-fields{grid-template-columns:1fr}.edit-photo img{width:min(100%,300px)}
  .order-top{flex-wrap:wrap}
}
@media(max-width:340px){.contact-inner,.order-form{grid-template-columns:1fr}.header-phone .icon{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.auth-card{width:min(calc(100% - 36px),480px);margin:40px auto;padding:25px;border:1px solid var(--line);border-radius:12px;background:var(--card)}
.auth-card h1{font-size:2rem;margin-bottom:15px}.auth-card>p{margin-bottom:15px}.auth-card form{display:grid;gap:14px}.admin-nav{display:flex;align-items:center;flex-wrap:wrap;gap:15px}.admin-nav a{font-weight:650}

.product-photo-link{position:relative;display:block;border-radius:8px;overflow:hidden;background:#fff}
.product-photo{object-fit:contain;background:#fff}
.gallery-hint{position:absolute;right:8px;bottom:8px;border-radius:6px;background:#102838ec;color:#fff;padding:5px 9px;font-size:.875rem;font-weight:650}
.product-thumbnails{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:8px}
.product-thumbnails a{display:block;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:white}
.product-thumbnails img{width:100%;height:54px;object-fit:contain}
.product-photo-link:hover .gallery-hint{background:#27485d}
.contact-email{grid-column:2/-1;padding-left:clamp(16px,4vw,52px);font-weight:650}
.contact-email a:hover{text-decoration:underline}
.gallery-dialog{width:min(calc(100% - 24px),960px)}
.gallery-dialog[open]{display:flex;flex-direction:column}
.gallery-dialog .dialog-head{flex:none}
.gallery-stage{display:grid;place-items:center;min-height:120px;overflow:hidden;background:#fff}
.gallery-stage img{width:100%;height:min(55dvh,620px);object-fit:contain}
.gallery-stage p{padding:28px}
.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px;flex:none}
.gallery-controls p{white-space:nowrap;font-weight:650}
.gallery-thumbnails{display:flex;justify-content:center;gap:8px;padding:0 16px 16px;overflow-x:auto;flex:none}
.gallery-thumbnails button{padding:3px;border:2px solid transparent;border-radius:7px;background:white;flex:0 0 72px}
.gallery-thumbnails button[aria-pressed=true]{border-color:var(--navy)}
.gallery-thumbnails img{width:66px;height:50px;object-fit:contain}
.price-note-editor{margin:12px 0;max-width:640px}
.edit-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0 20px}
.edit-gallery-slot{min-width:0;border:1px solid var(--line);border-radius:8px;padding:8px}
.edit-gallery-slot img{width:100%;height:130px;object-fit:contain;background:#fff;border-radius:5px;margin:6px 0}
.edit-gallery-slot input[type=file]{font-size:.875rem;padding:5px}
.edit-gallery-slot .small-button{margin-top:6px}
.edit-gallery-slot small{display:block;min-height:24px}
.edit-fields{grid-template-columns:1fr}
@media(max-width:760px){.contact-email{grid-column:1/-1;padding-left:0}.edit-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.gallery-controls .button{font-size:.875rem;padding:8px}.edit-gallery{gap:7px}.edit-gallery-slot{padding:6px}}

.purchase-note{margin-top:8px;color:var(--muted);font-size:.875rem;text-align:center}
