:root{--paper:#faf8f3;--linen:#eee9e0;--green:#203d32;--ink:#242622;--muted:#62665f;--brass:#a88755;--line:#ddd8cf;--red:#713d40;--white:#fffefa;--radius:5px;--space:8px;--max:1360px;--ease:180ms ease;--shadow:0 12px 40px #2426221b;font-family:Inter,'Helvetica Neue',Arial,sans-serif;color:var(--ink);background:var(--paper);font-size:16px;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:105px}body{margin:0;line-height:1.55}img{display:block;max-width:100%}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}a{color:inherit;text-underline-offset:3px}button,a,input,select,textarea{transition:background var(--ease),color var(--ease),border-color var(--ease)}:focus-visible{outline:2px solid var(--green);outline-offset:4px}a:hover{text-decoration-color:var(--brass)}[hidden]{display:none!important}h1,h2,h3,p,figure{margin:0}h1,h2,h3{line-height:1.16;letter-spacing:-.035em;font-weight:620}h1{font-size:clamp(2.4rem,4.4vw,4.25rem)}h2{font-size:clamp(1.6rem,2.7vw,2.45rem)}h3{font-size:1.2rem}p{line-height:1.65}.shell{width:min(var(--max),calc(100% - 96px));margin:auto}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip:focus{position:fixed;top:10px;left:10px;padding:12px;background:var(--white);z-index:20}.primary,.secondary,.text-button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:10px 20px;border:1px solid transparent;border-radius:var(--radius);font-weight:600;font-size:.94rem;text-decoration:none;line-height:1.3}.primary{background:var(--green);color:var(--paper);border-color:var(--green)}.primary:hover:not(:disabled){background:#345646}.secondary{background:transparent;border-color:#b6bcb2;color:var(--green)}.secondary:hover:not(:disabled){background:#e7eae1;border-color:var(--green)}.text-button{background:transparent;border:0;text-decoration:underline;text-underline-offset:3px;padding:8px 10px;color:var(--green)}.icon-button{background:transparent;border:0;padding:8px;min-width:44px;min-height:44px;color:var(--green)}.icon-button:hover{background:#e8ece3}.text-link{display:inline-flex;gap:9px;align-items:center;color:var(--green);font-weight:600;min-height:44px}.site-header,.admin-top{background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:8}.nav{display:flex;justify-content:space-between;align-items:center;gap:28px;min-height:82px}.brand{display:block;flex-shrink:0}.brand img{width:230px;height:auto}.nav nav{display:flex;align-items:center;gap:clamp(20px,3vw,44px)}.nav nav a{text-decoration:none;font-size:.94rem;font-weight:550;white-space:nowrap;min-height:44px;display:flex;align-items:center;gap:6px}.nav nav a:hover{text-decoration:underline}.nav-tools{display:flex;gap:8px;align-items:center}.nav-tools .sign-in-link{min-height:44px;padding-inline:12px;white-space:nowrap}.currency{font-size:.8rem;color:var(--muted);padding:0 6px}.bag-trigger{gap:6px}.bag-trigger span{font-size:.8rem;min-width:15px;text-align:center}.mobile-menu{display:none}.announcement{background:var(--green);color:var(--paper);text-align:center;font-size:.9rem;padding:8px 16px}.preview-note{font-size:.82rem;color:var(--muted);border-bottom:1px solid var(--line);padding:12px 0;display:flex;gap:10px;align-items:center}.preview-note:first-letter{text-transform:uppercase}.preview-note span{border-left:1px solid var(--line);padding-left:10px}.hero{display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;gap:clamp(24px,5.5vw,90px);padding:48px 0 64px}.hero-copy{max-width:560px;padding:12px 0 20px}.hero-copy h1{font-weight:620;line-height:1.08;letter-spacing:-.055em;max-width:630px}.hero-copy p{font-size:clamp(1rem,1.4vw,1.2rem);max-width:390px;color:var(--muted);margin:25px 0 30px}.hero-art img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}.hero-art figcaption{font-size:.77rem;color:var(--muted);padding-top:8px;text-align:right;min-height:24px}.collection{padding:24px 0 66px;border-top:1px solid var(--line)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:12px 0 24px}.section-heading p{color:var(--muted);margin-top:6px}.result-count{font-size:.88rem;color:var(--muted);white-space:nowrap}.catalog-controls{display:flex;align-items:end;gap:16px;margin-bottom:24px}.search{display:flex;align-items:center;gap:10px;min-width:170px;max-width:290px;flex:1;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:0 12px;height:46px}.search:focus-within{outline:2px solid var(--green);outline-offset:2px}.search input{flex:1;align-self:stretch;min-width:0;min-height:0;border:0;padding:0;outline:none;background:transparent;font-size:.92rem}.search svg{flex-shrink:0;color:var(--muted)}.filters{display:flex;align-items:end;justify-content:flex-end;flex:2;gap:10px}.filter-field{min-width:0;flex:1;max-width:190px}.filter-field span{display:block;font-size:.78rem;color:var(--muted);margin-bottom:5px}.filter-field select{font-size:.88rem;width:100%;padding-right:24px}.filter-toggle{display:none}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:38px 24px}.product{min-width:0;display:flex;flex-direction:column}.product-image{display:block;position:relative;aspect-ratio:4/5;overflow:hidden;background:var(--linen)}.product-image img{width:100%;height:100%;object-fit:cover}.secondary-image{position:absolute;inset:0;opacity:0;transition:opacity var(--ease)}@media(hover:hover){.product-image:hover .secondary-image{opacity:1}}.stock-label{position:absolute;top:12px;left:12px;color:var(--ink);background:var(--paper);padding:5px 9px;font-size:.73rem;font-weight:550}.product-info{padding-top:15px;display:flex;flex-direction:column;flex:1;align-items:stretch}.category{font-size:.81rem;color:var(--muted);line-height:1.45;margin-bottom:5px}.product-title{font-size:1.03rem;font-weight:620;line-height:1.4;text-decoration:none;overflow-wrap:anywhere}.product-title:hover{text-decoration:underline}.product-price{font-size:1.08rem;font-weight:650;margin:9px 0 17px;color:var(--green)}.product-price span{font-size:.85rem;font-weight:500}.add{justify-content:space-between;width:100%;margin-top:auto;min-height:44px;padding:10px 12px}.empty-state{padding:40px 16px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}.empty-state img{object-fit:contain}.empty-state p{color:var(--muted)}.about{background:var(--linen);display:grid;grid-template-columns:.65fr 1fr;align-items:center;gap:clamp(24px,5vw,72px);padding:38px 7%;margin-bottom:40px}.about-art{display:flex;justify-content:center}.about-art img{width:min(100%,240px);height:auto;max-height:270px;object-fit:contain}.about p{max-width:600px;margin:15px 0;color:var(--muted)}.service-strip{display:flex;justify-content:space-between;gap:32px;padding:0 0 48px}.service-strip>div{display:flex;align-items:flex-start;gap:14px;flex:1}.service-strip svg{flex-shrink:0;color:var(--green);margin-top:4px}.service-strip strong{font-size:.93rem}.service-strip p{font-size:.87rem;color:var(--muted)}.footer{background:var(--green);color:var(--paper);padding:48px 0 20px}.footer-grid{display:grid;grid-template-columns:1.3fr .7fr 1.15fr 1fr;gap:35px;padding-bottom:32px}.footer-identity img{width:220px;height:auto;max-width:100%;margin-bottom:12px}.footer h2{font-size:.95rem;font-weight:650;letter-spacing:0;margin:10px 0 12px}.footer p,.footer a{font-size:.88rem;line-height:1.6;overflow-wrap:anywhere}.footer p{color:#e1e5dc;max-width:260px}.footer a:not(.footer-identity a){display:block;text-decoration:none;margin:0 0 9px}.footer a:hover{text-decoration:underline}.footer-bottom{border-top:1px solid #ffffff38;display:flex;justify-content:space-between;gap:15px;padding-top:18px;font-size:.8rem;color:#e1e5dc}.footer-bottom a{font-size:inherit;margin:0!important}.footer :focus-visible{outline-color:var(--paper)}
input:not([type=checkbox]):not([type=radio]):not([type=search]),select,textarea{border:1px solid #bcbfb5;background:var(--white);border-radius:var(--radius);padding:11px 12px;min-height:46px;max-width:100%;width:100%}textarea{resize:vertical}input[type=checkbox]{width:18px;height:18px;accent-color:var(--green);flex:none}label{font-size:.91rem;font-weight:550}label input:not([type=checkbox]),label textarea,label select{display:block;margin-top:6px}small,.muted{font-size:.86rem;color:var(--muted)}.preline{white-space:pre-line;overflow-wrap:anywhere}.center{text-align:center}.full{width:100%}.back{display:inline-flex;min-height:44px;align-items:center;color:var(--green);font-size:.94rem;margin-bottom:16px}.product-page{padding:24px 0 60px}.detail-layout{display:grid;grid-template-columns:1fr .85fr;gap:clamp(30px,7vw,100px);align-items:start}.detail-image{border:0;background:var(--linen);padding:0;width:100%;cursor:zoom-in;display:block}.detail-image img{width:100%;aspect-ratio:4/5;max-height:640px;height:auto;object-fit:contain}.detail-copy{padding:12px 0}.detail-copy h1{font-size:clamp(2rem,3.2vw,3.3rem);margin:8px 0 14px;overflow-wrap:anywhere}.detail-price{font-size:1.45rem;color:var(--green);font-weight:650;margin-bottom:20px}.detail-copy>.preline{margin-bottom:24px}.detail-spec{border-top:1px solid var(--line);padding:15px 0;font-size:.92rem}.detail-spec p{margin:5px 0;color:var(--muted)}.thumbnails{display:flex;gap:9px;flex-wrap:wrap;padding-top:12px}.thumbnails button{background:var(--linen);border:1px solid var(--line);padding:2px;width:70px;height:70px}.thumbnails button[aria-pressed=true]{border:2px solid var(--green)}.thumbnails img{width:100%;height:100%;object-fit:cover}.detail-controls{display:grid;gap:16px;padding-bottom:24px}.detail-buy{display:flex;gap:12px;align-items:end}.detail-buy .primary{flex:1}.detail-buy label{width:88px}.detail-buy input{width:88px}.dialog-open{overflow:hidden}dialog{border:0;color:var(--ink);background:var(--paper);padding:0;box-shadow:var(--shadow);max-width:100%}dialog::backdrop{background:#20292380}.drawer{position:fixed;right:0;left:auto;top:0;bottom:0;width:min(100%,480px);height:100dvh;max-height:100dvh;margin:0;overflow:auto}.drawer-header{display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;padding:17px 24px;background:var(--paper);border-bottom:1px solid var(--line);z-index:1}.drawer-header h2{font-size:1.5rem}.drawer-body{padding:20px 24px 30px}.cart-item{display:grid;grid-template-columns:82px 1fr auto;gap:14px;border-bottom:1px solid var(--line);padding:16px 0;align-items:start}.cart-item img{width:82px;height:100px;object-fit:cover}.cart-item-info{min-width:0}.cart-item strong{display:block;overflow-wrap:anywhere;font-size:.95rem}.cart-item small{display:block;overflow-wrap:anywhere;margin:4px 0}.cart-item .remove{font-size:.8rem;padding:4px;min-height:44px}.qty{display:flex;align-items:center;gap:10px;margin:8px 0}.qty button{border:1px solid var(--line);border-radius:4px;background:var(--white);min-height:40px;min-width:40px;font-size:1.1rem}.qty button:hover{border-color:var(--green)}.qty span{min-width:14px;text-align:center}.cart-warning{color:var(--red);font-size:.82rem}.summary-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;font-size:.94rem}.summary-row.total{font-size:1.17rem;border-top:1px solid var(--line);margin-top:7px;padding:16px 0}.drawer #cart-summary{margin-top:22px}.drawer #country{margin:8px 0}.drawer #delivery-estimate{margin-bottom:8px}.accept{display:flex;align-items:flex-start;gap:10px;line-height:1.5;margin:16px 0;font-weight:400}.accept input{margin:3px 0 0}.checkout{width:100%;min-height:52px}.checkout+.muted{margin:12px 0}.toast{position:fixed;bottom:24px;right:24px;max-width:calc(100% - 48px);z-index:12;background:var(--green);color:var(--paper);padding:14px 20px;border-radius:var(--radius);box-shadow:var(--shadow);font-size:.94rem}.page{width:min(var(--max),calc(100% - 96px));margin:auto;padding:48px 0 80px;min-height:55vh}.page.narrow{max-width:760px}.page h1{font-size:clamp(2rem,4vw,3rem);margin-bottom:16px}.page h2{font-size:1.55rem;margin:25px 0 12px}.page p{margin-bottom:14px}.page .primary{margin-top:12px}.notice,.error{padding:12px 16px;border:1px solid var(--line);border-radius:var(--radius);background:#f0ede5;color:var(--ink);font-size:.91rem}.error{background:#f5e8e8;border-color:#dcbabd;color:#713d40}.admin-top .nav{min-height:70px}.admin-top .brand img{width:190px}.admin .admin-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 20px}.admin-heading h1,.admin-heading h2,.admin-heading p{margin:0}.admin-heading p{color:var(--muted);margin-top:8px}.admin-heading .primary{margin:0}.admin-heading-actions{display:flex;gap:10px;flex-wrap:wrap}.admin-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0 30px}.admin-stat{background:var(--white);border:1px solid var(--line);padding:18px}.admin-stat span{display:block;color:var(--muted);font-size:.9rem}.admin-stat strong{font-size:1.9rem;line-height:1.5}.table-wrap{overflow-x:auto;border:1px solid var(--line);background:var(--white)}table{width:100%;border-collapse:collapse;text-align:left;font-size:.91rem}th,td{padding:14px 16px;border-bottom:1px solid var(--line);vertical-align:middle}th{font-size:.8rem;color:var(--muted);font-weight:600;background:#f1f0ea;white-space:nowrap}td{overflow-wrap:anywhere}tr:last-child td{border-bottom:0}.admin-product{display:flex;gap:12px;align-items:center;min-width:170px}.admin-product img{width:50px;height:60px;object-fit:cover;background:var(--linen)}.admin-product small{display:block;margin-top:3px}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.actions .secondary,.actions .text-button{min-height:38px;padding:6px 11px;font-size:.83rem}.danger{color:var(--red)}.order{border:1px solid var(--line);background:var(--white);margin:10px 0}.order summary{padding:16px;cursor:pointer;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:center}.order summary::before{content:'+';color:var(--green);font-weight:700}.order[open] summary::before{content:'−'}.order summary .status{text-transform:capitalize;margin-right:auto;font-size:.88rem;color:var(--muted)}.order-inner{padding:16px;border-top:1px solid var(--line)}.inline-form{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.inline-form label{flex:1;min-width:160px}.inline-form .primary{margin:0}.form-stack{display:grid;gap:20px}.form-stack fieldset{border:1px solid var(--line);padding:20px;min-width:0;display:grid;gap:18px}.form-stack legend{font-size:1.1rem;font-weight:650;padding:0 8px}.form-stack label small{display:block;margin-top:5px;font-weight:400}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.edit-image{width:96px;height:110px;object-fit:cover}.photo-list{display:flex;flex-wrap:wrap;gap:12px}.photo-row{padding:8px;background:var(--white);border:1px solid var(--line);width:120px}.photo-row img{width:100%;height:105px;object-fit:cover}.photo-row .photo-actions{display:flex;justify-content:center;flex-wrap:wrap}.photo-row button{padding:5px;min-width:32px;min-height:32px;border:0;background:transparent;font-size:.82rem}.variant-row,.zone-row{display:grid;grid-template-columns:1.3fr 1fr .8fr 1fr auto;gap:9px;align-items:end;padding:12px 0;border-bottom:1px solid var(--line)}.variant-row label,.zone-row label{font-size:.8rem;min-width:0}.variant-row input,.zone-row input{font-size:.88rem;padding:8px!important}.category-row{display:flex;gap:10px;align-items:center;margin:8px 0}.category-row input{flex:1;min-width:0}.settings-page{max-width:950px}.policy-text{white-space:pre-line;overflow-wrap:anywhere}.policy-page p,.policy-page ul{margin-bottom:16px}.footer .admin-top{position:static}
@media(max-width:1150px){.shell,.page{width:calc(100% - 64px)}.brand img{width:205px}.nav{gap:16px}.nav nav{gap:22px}.hero{gap:38px}.catalog-controls{flex-wrap:wrap}.search{max-width:none;flex:1 0 100%}.filters{flex:1;justify-content:start}.filter-field{max-width:none}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 20px}.footer-grid{grid-template-columns:1.2fr 1fr 1.1fr;gap:30px}.footer-grid>div:last-child{grid-column:1/-1}}
@media(max-width:850px){.nav .mobile-menu{display:inline-flex}.site-header .nav{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;min-height:66px}.site-header .brand{justify-self:center}.site-header .brand img{width:clamp(145px,28vw,220px)}.site-header nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--paper);padding:14px 24px 20px;border-bottom:1px solid var(--line);box-shadow:var(--shadow);flex-direction:column;align-items:stretch;gap:0}.site-header nav.open{display:flex}.site-header nav a{min-height:48px;padding:0 8px}.currency{display:none}.nav-tools{gap:2px}.hero{gap:25px;padding:32px 0 42px}.hero-copy h1{font-size:clamp(2rem,4.8vw,3.25rem)}.hero-copy p{margin:16px 0 20px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-strip{gap:20px}.detail-layout{gap:26px}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:last-child{grid-column:auto}.admin .admin-heading{align-items:flex-start;flex-wrap:wrap}.variant-row,.zone-row{grid-template-columns:1fr 1fr}.variant-row .remove-row,.zone-row .remove-row{justify-self:start}}
@media(max-width:580px){html{scroll-padding-top:86px}.shell,.page{width:calc(100% - 32px)}.site-header .nav{gap:3px;grid-template-columns:44px minmax(0,1fr) auto;min-height:64px}.site-header .brand img{width:min(100%,185px)}.search-trigger{min-width:40px;padding:6px}.bag-trigger{min-width:44px;gap:2px;padding:5px}.preview-note{font-size:.73rem;gap:7px;line-height:1.4;padding:9px 0}.preview-note span{padding-left:7px}.hero{grid-template-columns:1fr;gap:22px;padding:26px 0 29px}.hero-copy{padding:0}.hero-copy h1{font-size:clamp(2.15rem,8.5vw,2.8rem);max-width:420px}.hero-copy p{font-size:1rem;margin:15px 0 19px}.hero-copy .primary{min-height:48px}.hero-art figcaption{font-size:.73rem;padding-top:5px;min-height:0}.collection{padding:20px 0 38px}.section-heading{margin:2px 0 18px;align-items:start}.section-heading h2{font-size:1.8rem}.section-heading p{font-size:.92rem}.result-count{font-size:.8rem;padding-top:7px}.catalog-controls{gap:8px;align-items:center;margin-bottom:20px}.search{flex:1 1 0;min-width:0}.filter-toggle{display:inline-flex;padding:9px 11px;flex:none}.filters{display:none;flex:1 0 100%;background:var(--linen);padding:12px;flex-wrap:wrap;gap:10px}.filters.open{display:flex}.filter-field{flex:1 1 40%;max-width:none}.filters .text-button{min-height:44px}.product-grid{gap:26px 14px}.product-info{padding-top:11px}.category{font-size:.75rem}.product-title{font-size:.96rem}.product-price{font-size:1rem;margin:7px 0 12px}.stock-label{font-size:.67rem;top:7px;left:7px;padding:4px 6px}.add{font-size:.84rem;gap:4px;padding:9px 9px;min-height:44px}.add svg{width:14px;height:14px}.about{grid-template-columns:1fr;gap:14px;padding:24px;margin-bottom:29px}.about-art{justify-content:flex-start}.about-art img{width:96px;max-height:160px}.about h2{font-size:1.65rem}.about p{font-size:.95rem}.service-strip{flex-direction:column;gap:17px;padding:0 0 32px}.footer{padding:32px 0 18px}.footer-grid{grid-template-columns:1fr 1fr;gap:18px 14px;padding-bottom:22px}.footer-identity{grid-column:1/-1}.footer-identity img{width:190px}.footer-grid>div:last-child{grid-column:1/-1}.footer h2{font-size:.88rem}.footer a,.footer p{font-size:.86rem}.footer-bottom{flex-wrap:wrap;gap:9px;font-size:.76rem}.drawer-header{padding:14px 16px}.drawer-body{padding:12px 16px 24px}.cart-item{grid-template-columns:66px 1fr auto;gap:10px}.cart-item img{width:66px;height:82px}.cart-item .remove{padding:3px}.qty button{min-width:44px;min-height:44px}.toast{bottom:16px;right:16px;max-width:calc(100% - 32px)}.detail-layout{grid-template-columns:1fr;gap:14px}.detail-image img{max-height:460px}.detail-copy{padding-top:4px}.detail-copy h1{font-size:2rem}.product-page{padding:12px 0 32px}.page{padding:28px 0 48px}.admin-top .nav{flex-wrap:wrap;gap:0;padding:8px 0}.admin-top .brand img{width:165px}.admin-top nav{gap:12px;flex-wrap:wrap}.admin-top nav a{font-size:.82rem;min-height:38px}.admin-stats{grid-template-columns:1fr 1fr;gap:8px}.admin-stat{padding:12px}.admin-stat strong{font-size:1.55rem}.admin-stat span{font-size:.8rem}.admin-heading-actions{gap:6px}.form-stack fieldset{padding:12px}.two-fields{gap:10px}.variant-row,.zone-row{gap:8px}.category-row{flex-wrap:wrap}.category-row input{flex-basis:100%}.order summary{gap:8px;padding:12px}.admin .table-wrap table{min-width:620px}}
@media(max-width:350px){.shell,.page{width:calc(100% - 24px)}.site-header .nav{grid-template-columns:40px minmax(0,1fr) auto}.site-header .search-trigger{display:none}.product-grid{grid-template-columns:1fr}.hero-copy h1{font-size:2.05rem}.hero-art img{aspect-ratio:3/2}.footer-grid{grid-template-columns:1fr}.footer-grid>div{grid-column:1}.detail-buy{flex-wrap:wrap}.detail-buy .primary{min-width:150px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Custom engraving category and thermos bottle listing. */
#engravings .product-image { background: #e7e5dd; }
#engravings .product-image img { object-fit: contain; padding: .75rem; }
.engraving-category-page, .bottle-page { padding-bottom: clamp(3rem, 6vw, 6rem); }
.engraving-crumbs { display: flex; flex-wrap: wrap; align-items: baseline; gap: .65rem; padding: 1.3rem 0 1.8rem; color: var(--muted); font-size: .9rem; }
.engraving-crumbs a { color: var(--green); }
.engraving-lead { margin: .65rem 0 1.7rem; color: var(--muted); }
.engraving-item { display: block; max-width: 15rem; text-decoration: none; }
.engraving-item-photos { display: flex; align-items: center; justify-content: center; height: 11rem; padding: .55rem; background: #e8e9e1; border-radius: var(--radius); overflow: hidden; }
.engraving-item-photos img { width: 48%; height: 100%; object-fit: contain; }
.engraving-item-photos img:first-child { margin-right: -12%; }
.engraving-item-copy { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem 1rem; padding: 1rem 0; }
.engraving-item-copy h2 { font-size: 1.5rem; color: var(--green); }
.engraving-item-copy span { font-size: .9rem; color: var(--muted); }
.engraving-item:hover h2 { text-decoration: underline; }
.bottle-page { max-width: 58rem; }
.bottle-layout { display: grid; grid-template-columns: minmax(0, 22.5rem) minmax(0, 1fr); align-items: start; gap: clamp(1.5rem, 3vw, 2.75rem); }
.bottle-gallery { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); align-items: start; gap: .65rem; }
.bottle-rail { display: grid; align-content: start; gap: .5rem; }
.photo-thumb, .design-swatch { position: relative; display: block; overflow: hidden; border: 2px solid transparent; border-radius: 4px; background: #fff; }
.photo-thumb { aspect-ratio: 1; }
.photo-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }
.gallery-choice[aria-current] { border-color: var(--ink); }
.gallery-choice:hover { border-color: var(--green); }
.bottle-stage { width: 100%; padding: 0; border: 0; display: grid; place-items: center; min-width: 0; background: white; border-radius: var(--radius); cursor: zoom-in; }
.bottle-stage img { width: 100%; height: min(19rem, 58vh); padding: .4rem; object-fit: contain; }
.bottle-info h1 { font-size: clamp(1.8rem, 3vw, 2.7rem); margin: .25rem 0 .45rem; }
.bottle-intro, #bottle-description, .bottle-quote p { color: var(--muted); }
.bottle-quote { margin: 1.1rem 0 1.25rem; padding: .8rem 1.05rem; background: #eeeae0; border-radius: var(--radius); }
.bottle-quote strong { font-size: 1.5rem; }
.bottle-quote p, #bottle-description { font-size: .9rem; }
.bottle-option-label { display: block; font-weight: 600; margin: 0 0 .55rem; }
.bottle-option-label strong { margin-left: .45rem; font-weight: 400; }
.bottle-swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 2.875rem)); gap: .4rem; }
.design-swatch { aspect-ratio: 1; background: #e9e8e2; }
.design-swatch img { position: absolute; left: 50%; top: 50%; height: 231%; width: auto; max-width: none; transform: translate(-49%, -57%); }
.design-swatch.personal-mark img { height: 395%; transform: translate(-49%, -72%); }
#bottle-description { margin: .55rem 0 1.15rem; }
.quantity-control { display: inline-flex; align-items: stretch; border: 1px solid #bcbeb5; border-radius: 4px; background: white; }
.quantity-control button, .quantity-control input { height: 2.8rem; border: none; background: transparent; text-align: center; font-size: 1rem; }
.quantity-control button { width: 2.75rem; }
.quantity-control input[type="number"] { width: 4rem; min-width: 0; padding: .35rem; border: 0; appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button { -webkit-appearance: none; }
.bottle-order .primary { display: flex; margin-top: 1.2rem; }
@media(max-width: 670px) {
  .bottle-layout { grid-template-columns: 1fr; gap: 1.4rem; }
  .bottle-gallery { grid-template-columns: 2.75rem minmax(0,1fr); max-width: 22.5rem; gap: .5rem; }
  .bottle-rail { gap: .35rem; }
  .bottle-stage img { height: 18rem; }
}
@media(max-width: 520px) {
  .engraving-crumbs { gap: .4rem; padding: 1rem 0; }
  .bottle-swatches { gap: .25rem; }
}

.collection .product-image { height: 11rem; aspect-ratio: auto; }
.collection .product-image img { object-fit: contain; }
.storefront .hero-art img { max-height: 12.5rem; }
.product-page .detail-image img { max-height: 19rem; }
@media (min-width: 761px) {
  .storefront, .engraving-category-page { max-width: 70rem; }
  .storefront .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 25rem); gap: 2rem; padding: 1.35rem 0; }
  .hero-copy h1 { max-width: 18ch; font-size: clamp(2rem, 3vw, 2.8rem); }
  .storefront .hero-art img { height: 12.5rem; aspect-ratio: auto; }
  .collection .product-grid { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1.5rem 1rem; }
  .engraving-category-page .engraving-item-copy { display: grid; gap: .2rem; padding: .6rem 0; }
  .product-page .detail-layout { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 2.25rem; }
  .product-page .detail-image img { height: 19rem; aspect-ratio: auto; }
  .bottle-page .engraving-crumbs { padding: .95rem 0 1.15rem; }
  .bottle-quote { margin: .7rem 0 .8rem; padding: .5rem .8rem; }
  .bottle-quote strong { font-size: 1.25rem; }
  .bottle-info h1 { font-size: 2rem; }
  #bottle-description { margin: .35rem 0 .75rem; }
  .bottle-order .primary { margin-top: .8rem; }
}

/* Let the footer absorb spare viewport height while longer pages scroll normally. */
.shop-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.shop-page > main { margin-block: 0; }
.shop-page > main.page { min-height: 0; }
.shop-page > .footer { margin-top: auto; }
.shop-page > .engraving-category-page { padding-bottom: 1rem; }
.login-page { max-width: 26rem; }
.login-page h1 { margin-bottom: 1.2rem; }

html:has(.photo-dialog[open]) { overflow: hidden; }
.photo-dialog {
  width: min(94vw, 72rem);
  height: 92vh;
  height: 92dvh;
  max-height: 100%;
  border-radius: var(--radius);
}
.photo-dialog[open] { display: flex; flex-direction: column; }
.photo-toolbar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
  padding: .25rem .5rem;
  border-bottom: 1px solid var(--line);
}
.photo-viewport {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--photo-surface, var(--white));
}
.photo-viewport:focus-visible { outline-offset: -3px; }
.photo-viewport img {
  flex: none;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  cursor: zoom-in;
}
.photo-dialog[data-zoomed] img { max-width: none; max-height: none; cursor: zoom-out; }
.photo-thumb, #thumbnails button { cursor: zoom-in; }
.engraving-showcase { margin: 2rem 0 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.engraving-showcase h2 { margin-bottom: 1rem; font-size: 1.5rem; }
.showcase-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(8rem, 100%), 1fr)); gap: 1rem; max-width: 60rem; }
.showcase-photos button { display: block; width: 100%; padding: 0; border: 0; background: var(--linen); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.showcase-photos img { width: 100%; height: auto; }
.showcase-photos figcaption { padding-top: .45rem; font-size: .9rem; }
