@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap');
:root{color-scheme:light;--ink:#322422;--wine:#6e2535;--wine-deep:#53202b;--paper:#fdfaf6;--line:#e4d9d1;--muted:#685653;--serif:"Libre Baskerville",Georgia,serif;--sans:"DM Sans",system-ui,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.55 var(--sans)}
a{color:inherit;text-decoration:none} button,input,select{font:inherit} button{cursor:pointer} button:disabled{cursor:default}
h1,h2,h3,p{margin:0} img{display:block;max-width:100%}
.wrap{width:min(100% - 3rem, 83rem);margin-inline:auto}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{position:fixed;z-index:10;inset:1rem auto auto 1rem;background:white;padding:1rem}
:focus-visible{outline:3px solid #9a4b54;outline-offset:4px}
.header{background:#fffaf4;border-bottom:1px solid #e6d9cc}
.topbar{min-height:5.5rem;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem}
.brand{display:block;width:clamp(11rem,20vw,14.5rem);max-width:100%}
.brand img{width:100%;height:auto}
nav{display:flex;gap:clamp(1rem, 3vw, 3rem);font-weight:600;white-space:nowrap}
nav a:hover,.footer a:hover{text-decoration:underline;text-underline-offset:.3rem}
.cart-button{justify-self:end;background:white;border:1px solid var(--line);border-radius:100px;color:var(--wine);font-weight:700;padding:.47rem .8rem}
.count{display:inline-grid;place-items:center;min-width:1.65rem;height:1.65rem;border-radius:50%;background:#f2e5e5;font-size:.85rem}
.hero{
  background-color:#4b2734;
  background-image:linear-gradient(105deg,#3e1f30 0%,rgba(67,31,48,.96) 18%,rgba(67,31,48,.81) 31%,rgba(67,31,48,.34) 39%,transparent 46%),url("assets/family-living-room.webp");
  background-position:center,right center;
  background-size:cover;
  background-repeat:no-repeat;
}
.hero-inner{min-height:clamp(22rem,34vw,52rem);display:flex;align-items:center}
.hero-copy{max-width:min(41%,36rem);padding:3rem .75rem 3rem 0;color:#fff7ed}
.eyebrow{font-size:.83rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--wine)}
h1,h2{font-family:var(--serif);letter-spacing:-.045em}
.hero h1{font-size:clamp(2.3rem,4.55vw,5rem);line-height:1.12;margin:.85rem 0 1.35rem;color:#fffdf8;text-shadow:0 2px 12px #36142666}
.hero .eyebrow{color:#ffe0a2}
.hero-description{max-width:24rem;font-size:clamp(1rem,1.6vw,1.25rem);margin-bottom:1.65rem}
.hero .primary{color:#432326;background:#ffdc92;border-color:#ffdc92}
.hero .primary:hover{background:#ffe9b8;border-color:#ffe9b8}
.hero a:focus-visible{outline-color:#fff7ed}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:2.8rem;border:1px solid var(--wine);border-radius:.32rem;padding:.54rem .95rem;background:transparent;color:var(--wine);font-weight:700;text-align:center}
.button:hover{background:#f4e7e5}.primary{color:white;background:var(--wine)}.primary:hover{background:var(--wine-deep)}
.button:disabled{opacity:.65}
.collections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.4rem;margin-block:2.35rem 3.5rem}
.collection{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,32%);align-items:center;gap:.6rem;min-height:13.25rem;border-radius:.75rem;padding:1.25rem 1.6rem;overflow:hidden}
.collection.applejack{background:#f5e4d3;color:#65331d}.collection.original{background:#eee7ef;color:#562c49}.collection.more{background:#e6eee0;color:#365339}
.collection h2{font-size:clamp(1.35rem,3vw,2.1rem);line-height:1.2;margin-bottom:.5rem}
.collection span{display:inline-block;font-weight:700;text-decoration:underline;text-underline-offset:.23rem;margin-top:.8rem}
.collection img{width:100%;height:10.5rem;object-fit:contain;mix-blend-mode:multiply}
.shop{scroll-margin-top:1rem;padding-bottom:4rem}
.shop-heading{display:flex;justify-content:space-between;align-items:baseline;gap:.7rem;margin-bottom:1.1rem}.shop-heading h2{font-size:clamp(1.85rem,4.3vw,3rem);line-height:1.2}
#results{color:var(--muted);white-space:nowrap}
.filters{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:.75rem;margin-bottom:1.4rem}
.filters label,.variant-label{display:grid;gap:.25rem;font-weight:600;font-size:.88rem}
input,select{min-width:0;width:100%;height:2.7rem;border:1px solid #cbbab3;border-radius:.28rem;background:#fff;color:var(--ink);padding:0 .63rem}
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.25rem}
.card{display:flex;flex-direction:column;background:white;border:1px solid var(--line);border-radius:.65rem;overflow:hidden}
.photo{margin:0;border:0;background:#f5efea;width:100%;padding:.75rem;display:block;aspect-ratio:1.08}
.photo img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.card-body{padding:.9rem;display:flex;flex-direction:column;gap:.4rem;flex:1}
.card-body small{color:var(--muted);font-size:.81rem}
.card h3 button{color:var(--ink);text-align:left;padding:0;background:none;border:0;font-weight:700;font-size:1.03rem;line-height:1.28}
.card h3 button:hover{text-decoration:underline;text-underline-offset:.16rem}
.card-actions{display:flex;align-items:center;justify-content:space-between;gap:.4rem;padding-top:.5rem;margin-top:auto}
.card-actions .button{font-size:.86rem;min-height:2.5rem;padding:.4rem .63rem}
.price{font-weight:700;white-space:nowrap;color:var(--wine-deep);font-size:.92rem}
.empty{grid-column:1/-1;padding:2.5rem 1rem;text-align:center;background:#f8efea;border-radius:.5rem}
.footer{background:#372527;color:#fff5e8}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;padding-block:2rem}
.footer-inner div:last-child{display:flex;gap:1.5rem;flex-wrap:wrap}.footer p{font-size:.91rem;color:#f1ded5}
.foot-brand{font:700 1.45rem var(--serif)}
dialog{color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:.7rem;width:min(100% - 1.5rem,50rem);max-height:calc(100dvh - 2rem);padding:1.2rem;overflow:auto}
dialog::backdrop{background:#24151ab0}
.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.65rem}
#product-dialog .dialog-head{justify-content:flex-end}
.close{background:#f4e6e6;border:0;border-radius:50%;color:var(--wine);font-size:1.6rem;width:2.35rem;height:2.35rem;line-height:1}
.product-detail{display:grid;grid-template-columns:1.1fr 1fr;gap:1.25rem}
.product-detail h2{line-height:1.25;font-size:clamp(1.5rem,3vw,2.05rem)}
.detail-photo{width:100%;aspect-ratio:1;object-fit:contain;background:#f5efea;border-radius:.5rem;padding:.5rem}
.thumbs{display:flex;gap:.45rem;margin-top:.5rem}
.thumbs button{width:3.6rem;height:3.6rem;padding:.2rem;background:white;border:1px solid var(--line);border-radius:.2rem}.thumbs button[aria-pressed="true"]{border-color:var(--wine)}.thumbs img{width:100%;height:100%;object-fit:contain}
.detail-copy{display:grid;gap:.8rem;align-content:start}.detail-copy .price{font-size:1.25rem}
#cart{width:min(100% - 1.5rem,34rem)}.bag-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:.7rem;border-bottom:1px solid var(--line);padding:.8rem 0}
.bag-row label{font-size:.81rem}.bag-row input{width:4rem}.remove{background:none;border:0;color:var(--wine);text-decoration:underline;padding:.25rem}
#bag-summary{padding-top:1rem}#bag-summary .button{width:100%;margin-top:.8rem}.subtotal{display:flex;justify-content:space-between;font-size:1.1rem}
[hidden]{display:none!important}
@media(max-width:1000px){.collections{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
  .hero{background-color:#f9ede1;background-image:url("assets/family-living-room-mobile.webp");background-size:100% auto;background-position:center top}
  .hero-inner{padding-top:49vw;min-height:0}
  .hero-copy{background:#482337;border-radius:.65rem;padding:1.15rem 1.25rem 1.3rem;width:100%;max-width:none;margin-bottom:.75rem}
  .hero h1{font-size:clamp(2.2rem,8.5vw,3.2rem);margin:.6rem 0 .8rem}
  .hero-description{margin-bottom:1rem}
}
@media(max-width:650px){
.wrap{width:calc(100% - 1.65rem)}.topbar{grid-template-columns:1fr 1fr;gap:.55rem;padding-block:.6rem}.topbar nav{grid-row:2;grid-column:1/-1;justify-content:space-between;gap:.5rem;font-size:.9rem}.header .brand{width:11.5rem}
.collections{grid-template-columns:1fr;gap:.6rem;margin-block:1.3rem 2.1rem}.collection{min-height:8.2rem;padding:.65rem 1rem}.collection img{height:7.2rem}.grid,.filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:.62rem}.filters{margin-bottom:1rem}
.card-body{padding:.56rem}.card-actions{align-items:start;flex-direction:column}.card-actions .button{width:100%}.footer-inner{align-items:start;flex-direction:column}.product-detail{grid-template-columns:1fr}.detail-photo{max-height:18rem}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
