/* Craft — static demo storefront styles (shared across all demo pages) */
:root{
  --terracotta:#b5654a;
  --terracotta-dark:#9a4f37;
  --cream:#f7f1e8;
  --cream-deep:#efe5d5;
  --sage:#8a9a7b;
  --sage-soft:#dfe5d6;
  --ink:#2e2722;
  --muted:#6f655c;
  --white:#fffdf9;
  --radius:18px;
  --radius-lg:28px;
  --shadow:0 18px 40px -22px rgba(46,39,34,.45);
  --shadow-sm:0 10px 30px -24px rgba(46,39,34,.5);
  --maxw:1200px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',system-ui,sans-serif;
  color:var(--ink);
  background:var(--cream);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:'Fraunces',Georgia,serif;font-weight:600;line-height:1.12;letter-spacing:-.01em}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.wrap--narrow{max-width:760px}
.btn{
  display:inline-block;background:var(--terracotta);color:var(--white);
  padding:14px 28px;border-radius:999px;font-weight:600;font-size:.95rem;
  border:none;cursor:pointer;font-family:inherit;transition:background .2s,transform .2s;
}
.btn:hover{background:var(--terracotta-dark);transform:translateY(-2px)}
.btn-outline{background:transparent;color:var(--ink);border:1.5px solid var(--ink)}
.btn-outline:hover{background:var(--ink);color:var(--cream)}
.btn-lg{padding:16px 34px}
.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:.72rem;font-weight:600;color:var(--terracotta)}

/* Announcement */
.announce{background:var(--ink);color:var(--cream);text-align:center;font-size:.82rem;padding:9px 16px;letter-spacing:.04em}

/* Header */
header.site{position:sticky;top:0;z-index:50;background:rgba(247,241,232,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--cream-deep)}
.nav{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;max-width:var(--maxw);margin:0 auto}
.logo{font-family:'Fraunces',serif;font-size:1.6rem;font-weight:700;letter-spacing:-.02em}
.logo span{color:var(--terracotta)}
.nav ul{display:flex;gap:30px;list-style:none}
.nav ul a{font-weight:500;font-size:.95rem;color:var(--muted);transition:color .2s}
.nav ul a:hover,.nav ul a.active{color:var(--ink)}
.nav-actions{display:flex;align-items:center;gap:18px}
.cart-btn{display:flex;align-items:center;gap:7px;font-weight:600;font-size:.9rem}
.cart-count{background:var(--terracotta);color:#fff;font-size:.7rem;width:20px;height:20px;border-radius:50%;display:grid;place-items:center}
@media(max-width:820px){.nav ul{display:none}}

/* Hero */
.hero{position:relative;overflow:hidden;background:linear-gradient(120deg,var(--cream) 0%,var(--cream-deep) 100%)}
.hero-inner{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center;padding:72px 24px;max-width:var(--maxw);margin:0 auto}
.hero h1{font-size:clamp(2.6rem,5.5vw,4.2rem);margin:14px 0 18px}
.hero p{font-size:1.12rem;color:var(--muted);max-width:46ch;margin-bottom:30px}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap}
.hero-img{position:relative;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:4/5}
.hero-img img{width:100%;height:100%;object-fit:cover}
.hero-badge{position:absolute;bottom:18px;left:18px;background:var(--white);border-radius:14px;padding:12px 18px;box-shadow:var(--shadow);font-size:.82rem}
.hero-badge strong{display:block;font-family:'Fraunces',serif;font-size:1.05rem}
@media(max-width:820px){.hero-inner{grid-template-columns:1fr;gap:32px;padding:48px 24px}}

/* Page header (interior pages) */
.page-hero{background:linear-gradient(120deg,var(--cream) 0%,var(--cream-deep) 100%);padding:56px 0;text-align:center}
.page-hero h1{font-size:clamp(2.2rem,4.5vw,3.2rem);margin:8px 0}
.page-hero p{color:var(--muted);max-width:50ch;margin:0 auto}

/* Section heading */
.section{padding:72px 0}
.sec-head{text-align:center;max-width:620px;margin:0 auto 44px}
.sec-head h2{font-size:clamp(2rem,4vw,2.8rem);margin:10px 0}
.sec-head p{color:var(--muted)}

/* Product grid */
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
@media(max-width:1000px){.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.grid{grid-template-columns:1fr}}
.card{background:var(--white);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);transition:transform .25s,box-shadow .25s;display:flex;flex-direction:column}
.card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.card-img{aspect-ratio:1/1;overflow:hidden;background:var(--cream-deep);display:block}
.card-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.card:hover .card-img img{transform:scale(1.05)}
.card-body{padding:18px 18px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.card-cat{font-size:.72rem;text-transform:uppercase;letter-spacing:.12em;color:var(--sage)}
.card-title{font-family:'Fraunces',serif;font-size:1.12rem;font-weight:600}
.card-title a{color:inherit}
.card-price{font-weight:600;color:var(--terracotta)}
.card .btn{margin-top:auto;width:100%;text-align:center;padding:11px;font-size:.88rem}

/* Collection list */
.coll-list{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
@media(max-width:820px){.coll-list{grid-template-columns:1fr}}
.coll{position:relative;border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:3/4;box-shadow:var(--shadow)}
.coll img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.coll:hover img{transform:scale(1.06)}
.coll-cap{position:absolute;inset:auto 0 0 0;padding:26px 22px;color:#fff;background:linear-gradient(to top,rgba(28,22,18,.78),transparent)}
.coll-cap h3{font-size:1.4rem}
.coll-cap span{font-size:.85rem;opacity:.9}

/* Image with text */
.iwt{background:var(--sage-soft)}
.iwt-inner{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;padding:80px 24px;max-width:var(--maxw);margin:0 auto}
.iwt-img{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:5/4}
.iwt-img img{width:100%;height:100%;object-fit:cover}
.iwt h2{font-size:clamp(1.9rem,4vw,2.6rem);margin:12px 0 16px}
.iwt p{color:var(--muted);margin-bottom:14px}
@media(max-width:820px){.iwt-inner{grid-template-columns:1fr;gap:32px;padding:56px 24px}}

/* Testimonials */
.testimonials__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
@media(max-width:820px){.testimonials__grid{grid-template-columns:1fr}}
.testimonial{background:var(--white);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow-sm)}
.testimonial .stars{color:var(--terracotta);font-size:1.05rem;letter-spacing:2px;margin-bottom:12px}
.testimonial .stars .empty{color:var(--cream-deep)}
.testimonial blockquote{font-family:'Fraunces',serif;font-size:1.12rem;line-height:1.5;margin:0 0 16px}
.testimonial .name{font-weight:600;color:var(--muted);font-size:.92rem}

/* Instagram */
.insta{background:var(--cream-deep)}
.insta__handle{display:inline-block;margin-top:8px;font-weight:600;color:var(--terracotta)}
.insta__grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
@media(max-width:820px){.insta__grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:480px){.insta__grid{grid-template-columns:repeat(2,1fr)}}
.insta__item{display:block;aspect-ratio:1/1;overflow:hidden;border-radius:14px}
.insta__item img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.insta__item:hover img{transform:scale(1.07)}

/* FAQ */
.faq__list{display:flex;flex-direction:column;gap:12px;max-width:760px;margin:0 auto}
.faq__item{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden}
.faq__q{display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer;list-style:none;padding:20px 24px;font-family:'Fraunces',serif;font-size:1.08rem;font-weight:600}
.faq__q::-webkit-details-marker{display:none}
.faq__icon{font-size:1.4rem;color:var(--terracotta);transition:transform .25s;flex-shrink:0}
.faq__item[open] .faq__icon{transform:rotate(45deg)}
.faq__a{padding:0 24px 22px;color:var(--muted)}

/* CTA band */
.cta-band{padding:72px 0;text-align:center;background:var(--terracotta);color:var(--cream)}
.cta-band__inner{max-width:700px;margin:0 auto}
.cta-band h2{font-size:clamp(2rem,4.5vw,3rem);color:var(--white)}
.cta-band p{font-size:1.1rem;opacity:.92;max-width:48ch;margin:0 auto 1.8em}
.cta-band .btn{background:var(--ink);color:var(--cream)}
.cta-band .btn:hover{background:#1d1813}

/* Newsletter */
.news{background:var(--terracotta);color:var(--cream);text-align:center;border-radius:var(--radius-lg);padding:64px 28px;margin:72px auto;max-width:var(--maxw)}
.news h2{color:var(--white);font-size:clamp(1.9rem,4vw,2.6rem);margin-bottom:12px}
.news p{opacity:.9;max-width:46ch;margin:0 auto 26px}
.news form{display:flex;gap:10px;max-width:440px;margin:0 auto;flex-wrap:wrap;justify-content:center}
.news input{flex:1;min-width:200px;padding:14px 18px;border-radius:999px;border:none;font-family:inherit;font-size:.95rem}
.news .btn{background:var(--ink)}
.news .btn:hover{background:#1d1813}

/* Footer */
footer.site{background:var(--ink);color:var(--cream);padding:60px 0 28px}
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:36px}
@media(max-width:820px){.foot-grid{grid-template-columns:1fr 1fr}}
.foot-grid h4{font-family:'Inter',sans-serif;font-size:.8rem;text-transform:uppercase;letter-spacing:.14em;margin-bottom:16px;color:var(--sage-soft)}
.foot-grid ul{list-style:none;display:flex;flex-direction:column;gap:10px}
.foot-grid a{color:rgba(247,241,232,.72);font-size:.92rem}
.foot-grid a:hover{color:var(--cream)}
.foot-brand p{color:rgba(247,241,232,.7);max-width:34ch;margin-top:12px;font-size:.92rem}
.foot-bottom{border-top:1px solid rgba(247,241,232,.14);margin-top:40px;padding-top:22px;text-align:center;font-size:.82rem;color:rgba(247,241,232,.6)}

/* Shop filters */
.shop-layout{display:grid;grid-template-columns:230px 1fr;gap:36px;align-items:start}
@media(max-width:820px){.shop-layout{grid-template-columns:1fr}}
.filters{background:var(--white);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow-sm);position:sticky;top:90px}
.filters h3{font-size:1.05rem;margin-bottom:14px}
.filters fieldset{border:none;margin-bottom:22px}
.filters legend{font-size:.78rem;text-transform:uppercase;letter-spacing:.1em;color:var(--sage);margin-bottom:10px;font-weight:600}
.filters label{display:flex;align-items:center;gap:8px;font-size:.92rem;padding:5px 0;cursor:pointer}
.shop-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;flex-wrap:wrap;gap:12px}
.shop-toolbar select{padding:10px 14px;border-radius:999px;border:1.5px solid var(--cream-deep);font-family:inherit;background:var(--white)}

/* Product page */
.product{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
@media(max-width:820px){.product{grid-template-columns:1fr;gap:28px}}
.product__gallery .main-img{width:100%;border-radius:var(--radius-lg);object-fit:cover;box-shadow:var(--shadow);aspect-ratio:1/1}
.product__thumbs{display:flex;gap:10px;margin-top:14px}
.product__thumbs img{width:80px;height:80px;object-fit:cover;border-radius:12px;cursor:pointer;border:2px solid transparent}
.product__thumbs img.active,.product__thumbs img:hover{border-color:var(--terracotta)}
.product__info h1{font-size:clamp(2rem,4vw,2.8rem);margin:.2em 0}
.product__price{font-size:1.5rem;font-weight:600;color:var(--terracotta);margin:8px 0 18px}
.product__buy{display:flex;gap:12px;align-items:stretch;margin:20px 0}
.qty{display:flex;align-items:center;border:1.5px solid var(--cream-deep);border-radius:999px;overflow:hidden;background:var(--white)}
.qty button{width:42px;height:46px;border:none;background:none;font-size:1.2rem;cursor:pointer;color:var(--ink)}
.qty input{width:46px;text-align:center;border:none;font-family:inherit;font-size:1rem;background:none}
.product__desc{color:var(--muted);margin-top:18px}
.product__desc ul{margin:12px 0 0 18px}

/* Cart */
.cart-item{display:grid;grid-template-columns:120px 1fr auto auto;gap:20px;align-items:center;padding:20px 0;border-bottom:1px solid var(--cream-deep)}
.cart-item img{width:120px;height:120px;object-fit:cover;border-radius:var(--radius)}
.cart-item .ci-title{font-family:'Fraunces',serif;font-size:1.1rem;font-weight:600}
.cart-item .ci-variant{color:var(--muted);font-size:.9rem;margin:4px 0}
.cart-item .ci-price{color:var(--terracotta);font-weight:600}
.cart-item .ci-remove{display:block;margin-top:8px;font-size:.82rem;color:var(--muted);text-decoration:underline;background:none;border:none;cursor:pointer;padding:0}
.cart-foot{display:flex;justify-content:flex-end;align-items:center;gap:28px;flex-wrap:wrap;padding-top:28px}
.cart-foot .totals{font-size:1.2rem;display:flex;gap:12px;align-items:baseline}
@media(max-width:640px){.cart-item{grid-template-columns:80px 1fr}.cart-item img{width:80px;height:80px}}

/* Contact form */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
@media(max-width:820px){.contact-grid{grid-template-columns:1fr}}
.form-field{margin-bottom:18px}
.form-field label{display:block;font-weight:600;font-size:.9rem;margin-bottom:6px}
.form-field input,.form-field textarea{width:100%;padding:13px 16px;border-radius:14px;border:1.5px solid var(--cream-deep);font-family:inherit;font-size:.95rem;background:var(--white)}
.form-field textarea{min-height:140px;resize:vertical}
.form-error{color:#b5654a;font-size:.82rem;margin-top:5px;display:none}
.form-field.invalid input,.form-field.invalid textarea{border-color:#c0392b}
.form-field.invalid .form-error{display:block}
.form-success{background:var(--sage-soft);border-radius:14px;padding:16px 18px;margin-top:14px;display:none}
.contact-info p{margin-bottom:14px;color:var(--muted)}
.contact-info strong{color:var(--ink)}

/* About */
.values{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
@media(max-width:820px){.values{grid-template-columns:1fr}}
.value{background:var(--white);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow-sm)}
.value h3{font-size:1.2rem;margin-bottom:8px}
.value p{color:var(--muted);font-size:.95rem}

/* Blog */
.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
@media(max-width:820px){.article-grid{grid-template-columns:1fr}}
.article-card{background:var(--white);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm)}
.article-card .a-img{display:block;aspect-ratio:3/2;overflow:hidden}
.article-card .a-img img{width:100%;height:100%;object-fit:cover}
.article-card .a-body{padding:22px}
.article-card .a-date{color:var(--sage);font-size:.8rem;text-transform:uppercase;letter-spacing:.08em}
.article-card h3{font-size:1.3rem;margin:8px 0}
.article-card p{color:var(--muted);font-size:.95rem;margin-bottom:10px}
.article-card .a-link{color:var(--terracotta);font-weight:600;font-size:.9rem}
