:root{
  --ivory:#FAF7F2;
  --ivory-deep:#F1EADB;
  --ink:#1A1712;
  --gold:#e4ad0a;
  --tan:#B8860B;
  --line: rgba(26,23,18,0.12);
}

*{margin:0;padding:0;box-sizing:border-box;}

html{scroll-padding-top:90px;} /* fixes anchor links landing under the sticky nav */

body{
  background:var(--ivory);
  color:var(--ink);
  font-family:'Inter',sans-serif;
  -webkit-font-smoothing:antialiased;
  position:relative;
}

/* ---------- signature texture: faint grain over every section ----------
   Keeps flat colour fields from reading corporate/digital-default; barely
   visible on purpose, echoes handmade small-batch product photography. */
body::before{
  content:"";
  position:fixed;inset:0;
  z-index:1;pointer-events:none;
  opacity:0.05;
  mix-blend-mode:multiply;
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="2" stitchTiles="stitch"/></filter><rect width="100%25" height="100%25" filter="url(%23n)"/></svg>');
}
header, .drawer, .overlay, .modal-overlay, .modal{position:relative;z-index:2;}
header{z-index:50;}

h1,h2,h3,.display{
  font-family:'Fraunces',serif;
  font-weight:500;
  letter-spacing:-0.01em;
  line-height:1.05;
}

a{color:inherit;text-decoration:none;}
button{
  font-family:inherit;color:inherit;border:none;background:none;cursor:pointer;
  -webkit-appearance:none;appearance:none;-webkit-text-fill-color:currentColor;
}
img{display:block;max-width:100%;}

a:focus-visible, button:focus-visible{outline:2px solid var(--ink); outline-offset:2px;}
.filter-pill[aria-pressed="true"]{background:var(--ink);color:var(--ivory);}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; transition-duration:0.001ms !important;}
}

.drop{width:18px;height:18px;flex-shrink:0;}

/* ---------- NAV ---------- */
header{
  position:sticky;top:0;z-index:50;
  background:rgba(250,247,242,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  max-width:1200px;margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 20px;
}
.brand{display:flex;align-items:center;gap:9px;}
.brand-name{font-family:'Fraunces',serif;font-size:17px;font-weight:600;letter-spacing:0.01em;}
.brand-name{display:block;width:130px;height:74px;overflow:hidden;}
.brand-name img{display:block;width:170px;max-width:none;height:auto;transform:translate(-20px,-20px);}
.brand-name .sub{display:block;font-family:'Inter',sans-serif;font-weight:500;font-size:9px;letter-spacing:0.18em;text-transform:uppercase;color:var(--tan);margin-top:1px;}

nav.links{display:none;gap:32px;}
nav.links a{
  font-size:13px;letter-spacing:0.04em;text-transform:uppercase;font-weight:600;
  position:relative;padding-bottom:4px;
}
nav.links a.active::after{
  content:"";position:absolute;left:0;bottom:-2px;width:100%;height:6px;
  background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 6"><path d="M1 4 Q 8 1, 15 4 T 30 4 T 45 4 T 59 4" fill="none" stroke="%23e4ad0a" stroke-width="2" stroke-linecap="round"/></svg>') repeat-x;
  background-size:60px 6px;
}

.nav-right{display:flex;align-items:center;gap:14px;}
.cart-btn{position:relative;display:flex;align-items:center;justify-content:center;width:38px;height:38px;}
.cart-count{
  position:absolute;top:-2px;right:-2px;background:var(--gold);color:var(--ink);
  font-size:10px;font-weight:700;width:16px;height:16px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
}
.menu-btn{display:flex;flex-direction:column;gap:4px;width:22px;}
.menu-btn span{height:2px;background:var(--ink);}
@media(min-width:860px){
  nav.links{display:flex;}
  .menu-btn{display:none;}
}

.mobile-menu{
  display:none;flex-direction:column;background:var(--ivory);
  border-bottom:1px solid var(--line);
}
.mobile-menu.open{display:flex;}
.mobile-menu a{padding:14px 20px;font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:0.04em;border-top:1px solid var(--line);}

section{padding:64px 20px;}
.max{max-width:1200px;margin:0 auto;}
.eyebrow{
  font-size:11px;letter-spacing:0.22em;text-transform:uppercase;color:var(--tan);font-weight:600;margin-bottom:10px;display:flex;align-items:center;gap:8px;
}

/* ---------- HERO (index only) ---------- */
.hero{position:relative;overflow:hidden;aspect-ratio:4/5;}
.slide{
  position:absolute;inset:0;opacity:0;transition:opacity 1.1s ease;
}
.slide img{width:100%;height:100%;object-fit:cover;}
.slide.show{opacity:1;}
.hero::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to top, rgba(26,23,18,0.6), rgba(26,23,18,0.1) 55%);
  pointer-events:none;
}
.hero-content{
  position:absolute;left:0;right:0;bottom:0;z-index:2;
  padding:0 20px 44px;color:var(--ivory);
}
.hero-content .eyebrow{color:var(--gold);}
.hero h1{font-size:38px;color:#fff;margin-bottom:10px;}
.hero p{font-size:15px;max-width:400px;color:rgba(255,255,255,0.88);margin-bottom:22px;line-height:1.5;}
.hero-ctas{display:flex;flex-wrap:wrap;gap:12px;}

.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:13px 24px;font-size:13px;font-weight:700;letter-spacing:0.04em;text-transform:uppercase;
  border:1.5px solid var(--gold);
}
.btn-solid{background:var(--gold);color:var(--ink);}
.btn-outline{background:transparent;color:#fff;border-color:rgba(255,255,255,0.7);}
.btn-outline:hover{border-color:var(--gold);color:var(--gold);}
.btn-solid:hover{background:transparent;color:var(--gold);}
.btn-dark{background:var(--ink);color:var(--ivory);border-color:var(--ink);}
.btn-dark:hover{background:transparent;color:var(--ink);}

.dots{position:absolute;bottom:16px;right:20px;z-index:2;display:flex;gap:6px;}
.dot{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,0.45);}
.dot.on{background:var(--gold);}

.intro-strip{padding:48px 20px;border-bottom:1px solid var(--line);border-top:1px solid var(--line);}
.intro-strip .max{display:flex;flex-direction:column;gap:18px;align-items:flex-start;}
.intro-strip p{font-size:16px;line-height:1.65;max-width:640px;font-family:'Fraunces',serif;font-weight:400;}

.h2-row{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:28px;gap:16px;flex-wrap:wrap;}
.h2-row h2{font-size:28px;}
.link-arrow{font-size:12px;font-weight:700;letter-spacing:0.05em;text-transform:uppercase;border-bottom:1.5px solid var(--gold);padding-bottom:3px;white-space:nowrap;}

.scroller{display:flex;gap:16px;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x mandatory;}
.scroller .p-card{scroll-snap-align:start;min-width:200px;}

.p-card{background:var(--ivory-deep);border:1px solid var(--line);cursor:pointer;transition:border-color .2s;display:flex;flex-direction:column;}
.p-card:hover{border-color:var(--gold);}
.p-img{aspect-ratio:1;overflow:hidden;position:relative;}
.p-img img{width:100%;height:100%;object-fit:cover;}
.p-body{padding:12px;display:flex;flex-direction:column;flex:1;}
.p-name{font-family:'Fraunces',serif;font-size:15px;font-weight:600;margin-bottom:4px;}
.p-desc{font-size:12px;color:#5a5348;line-height:1.4;margin-bottom:10px;min-height:32px;}
.p-foot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:6px;margin-top:auto;}
.price-pill{
  background:var(--tan);color:#fff;font-size:10px;font-weight:700;
  width:100%;height:28px;padding:0 9px;display:inline-flex;align-items:center;justify-content:center;
  flex-shrink:0;white-space:nowrap;
}
.add-btn{
  color:var(--ink);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:0.03em;
  border:1.5px solid var(--ink);
  width:100%;height:28px;padding:0 8px;display:inline-flex;align-items:center;justify-content:center;
  min-width:0;white-space:nowrap;
}
.add-btn:hover{background:var(--ink);color:var(--ivory);}
.add-btn.added{background:var(--gold);border-color:var(--gold);color:var(--ink);}
.add-btn:disabled{opacity:0.4;cursor:not-allowed;border-color:#999;}
.add-btn:disabled:hover{background:none;color:var(--ink);}
.stock-badge{
  position:absolute;top:8px;left:8px;z-index:2;
  background:var(--ink);color:var(--ivory);font-size:10px;font-weight:700;
  text-transform:uppercase;letter-spacing:0.04em;padding:4px 9px;
}

/* ---------- editorial featured layout (home only) ----------
   Breaks the repeated-card rhythm on purpose: one product gets a bigger,
   more editorial treatment, the rest sit smaller beside it. With only 5
   products a flat grid reads sparse; this reads curated. */
.featured-editorial{display:grid;grid-template-columns:1fr;gap:16px;}
.featured-hero{background:var(--ivory-deep);border:1px solid var(--line);cursor:pointer;transition:border-color .2s;display:grid;grid-template-columns:1fr;}
.featured-hero:hover{border-color:var(--gold);}
.featured-hero .p-img{aspect-ratio:4/3;}
.featured-hero .p-body{padding:22px;display:flex;flex-direction:column;}
.featured-hero .eyebrow{margin-bottom:8px;}
.featured-hero .p-name{font-size:24px;margin-bottom:8px;}
.featured-hero .p-desc{font-size:14px;min-height:0;margin-bottom:18px;max-width:420px;}
.featured-hero .p-foot{gap:14px;}
.featured-rest{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
@media(min-width:640px){
  .featured-editorial{grid-template-columns:1.3fr 1fr;align-items:stretch;}
  .featured-hero .p-img{aspect-ratio:auto;height:100%;}
  .featured-hero{grid-template-columns:1fr 1fr;}
  .featured-rest{grid-template-columns:1fr 1fr;}
}

.concerns{
  padding:56px 20px;background:var(--ivory-deep);color:var(--ink);
  border-top:3px solid var(--gold);border-bottom:3px solid var(--gold);
}
.concerns h2{color:var(--ink);font-size:26px;}
.concerns .eyebrow{color:var(--tan);}
.pill-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;}
.pill{
  display:flex;align-items:center;gap:8px;
  padding:11px 18px;border:1.5px solid var(--ink);
  font-size:13px;font-weight:600;color:var(--ink);
  transition:border-color .2s, background .2s, color .2s;
}
.pill .drop path{fill:var(--tan);}
.pill:hover, .pill.active{border-color:var(--gold);background:var(--ink);color:var(--ivory);}
.pill:hover .drop path, .pill.active .drop path{fill:var(--gold);}

.story-teaser{padding:64px 20px;position:relative;overflow:hidden;}
.story-grid{display:grid;grid-template-columns:1fr;gap:28px;align-items:center;position:relative;}
.story-photo{
  aspect-ratio:3/4;overflow:hidden;
  border-radius:63% 37% 54% 46% / 43% 37% 63% 57%; /* organic, hand-poured edge instead of a hard crop */
}
.story-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;}
.story-text{position:relative;}
.story-text h2{font-size:26px;margin-bottom:14px;}
.story-text p{font-size:15px;line-height:1.7;color:#463f34;margin-bottom:16px;}
.sprig-accent{
  position:absolute;width:90px;height:135px;opacity:0.5;pointer-events:none;
  top:-20px;right:-10px;
}

.cta-banner{padding:56px 20px;text-align:center;background:var(--ivory-deep);border-top:1px solid var(--line);}
.cta-banner h2{font-size:26px;margin-bottom:8px;}
.cta-banner p{font-size:14px;color:#5a5348;margin-bottom:20px;}

/* ---------- CATALOGUE / RESULTS (shared page header) ---------- */
.cat-header{padding:44px 20px 0;}
.cat-header h1{font-size:30px;margin-bottom:8px;}
.cat-header p{font-size:14px;color:#5a5348;max-width:520px;}
.filter-bar{
  position:sticky;top:69px;z-index:20;background:var(--ivory);
  padding:16px 20px;border-bottom:1px solid var(--line);
  display:flex;gap:8px;overflow-x:auto;
}
.filter-pill{
  white-space:nowrap;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:0.03em;
  padding:9px 15px;border:1.5px solid var(--ink);flex-shrink:0;
}
.filter-pill.active{background:var(--ink);color:var(--ivory);}
.cat-grid{
  padding:32px 20px 72px;max-width:1200px;margin:0 auto;
  display:grid;grid-template-columns:1fr 1fr;gap:12px;
}
.cat-grid .p-desc{min-height:44px;}
.empty-state{padding:60px 20px;text-align:center;color:#8a8175;font-size:13px;grid-column:1/-1;}

/* Below ~375px (older/smaller phones), two columns leaves too little room
   for the price pill + Add button to sit on one line without overflowing.
   Single column here guarantees full card width instead. */
@media(max-width:374px){
  .cat-grid{grid-template-columns:1fr;}
}

/* ---------- ABOUT ---------- */
/* left-aligned to match Home/Catalogue/Results headers — was centered
   before, which was the "some headers centered, some left" inconsistency */
.about-hero{padding:56px 20px 0;}
.about-hero h1{font-size:32px;max-width:520px;margin:0 0 8px;}
.about-body{padding:40px 20px 72px;max-width:680px;margin:0 auto;}
.about-photo{
  aspect-ratio:1;max-width:280px;margin:0 0 32px;overflow:hidden;
  border-radius:58% 42% 61% 39% / 41% 55% 45% 59%;
}
.about-photo img{width:100%;height:100%;object-fit:cover;}
.about-body p{font-size:16px;line-height:1.8;font-family:'Fraunces',serif;font-weight:400;margin-bottom:18px;}
.mission-list{margin-top:36px;display:flex;flex-direction:column;gap:16px;}
.mission-item{display:flex;gap:12px;align-items:flex-start;padding-bottom:16px;border-bottom:1px solid var(--line);}
.mission-item .drop{margin-top:3px;}
.mission-item h2{font-size:15px;margin-bottom:3px;}
.mission-item p{font-size:13px;color:#5a5348;font-family:'Inter',sans-serif;line-height:1.5;margin:0;}

/* ---------- CONTACT ---------- */
/* kept centered on purpose — this is a single centered WhatsApp CTA card,
   a different pattern than the listing-page headers above, not a stray one */
.contact-page{padding:64px 20px 80px;text-align:center;}
.contact-page .eyebrow{justify-content:center;}
.contact-page h1{font-size:30px;max-width:460px;margin:0 auto 12px;}
.contact-page > .max > p{font-size:14px;color:#5a5348;max-width:400px;margin:0 auto 32px;}
.wa-card{max-width:420px;margin:0 auto 40px;padding:36px 24px;background:var(--ink);color:var(--ivory);}
.wa-card .drop path{fill:var(--gold);}
.wa-card h2{color:var(--ivory);font-size:20px;margin:14px 0 6px;}
.wa-card p{font-size:13px;color:rgba(250,247,242,0.7);margin-bottom:20px;}
.social-row{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;}
.social-link{display:flex;align-items:center;gap:8px;padding:12px 20px;border:1.5px solid var(--ink);font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:0.03em;}
.social-link:hover{background:var(--ink);color:var(--ivory);}

/* ---------- FOOTER ---------- */
footer{background:var(--ink);color:rgba(250,247,242,0.65);padding:40px 20px;text-align:center;}
footer .brand-name{color:var(--ivory);justify-content:center;}
footer .brand-name img{margin:0 auto;}
footer .brand{justify-content:center;margin-bottom:14px;}
footer p{font-size:12px;line-height:1.6;}

/* ---------- CART DRAWER ---------- */
.overlay{position:fixed;inset:0;background:rgba(26,23,18,0.5);z-index:90;opacity:0;pointer-events:none;transition:opacity .25s ease;}
.overlay.open{opacity:1;pointer-events:auto;}
.drawer{
  position:fixed;top:0;right:0;bottom:0;width:100%;max-width:380px;
  background:var(--ivory);z-index:91;
  transform:translateX(100%);transition:transform .3s ease;
  display:flex;flex-direction:column;
}
.drawer.open{transform:translateX(0);}
.drawer-head{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid var(--line);}
.drawer-head h2{font-size:19px;}
.drawer-items{flex:1;overflow-y:auto;padding:8px 20px;}
.cart-item{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid var(--line);}
.cart-item .thumb{width:56px;height:56px;flex-shrink:0;overflow:hidden;}
.cart-item .thumb img{width:100%;height:100%;object-fit:cover;}
.cart-item-info{flex:1;}
.cart-item-info .name{font-family:'Fraunces',serif;font-size:14px;font-weight:600;}
.cart-item-info .price{font-size:12px;color:var(--tan);margin-top:2px;}
.qty-row{display:flex;align-items:center;gap:10px;margin-top:8px;}
.qty-btn{width:22px;height:22px;border:1px solid var(--ink);display:flex;align-items:center;justify-content:center;font-size:13px;}
.qty-num{font-size:13px;font-weight:600;min-width:14px;text-align:center;}
.remove-btn{font-size:11px;color:var(--tan);text-decoration:underline;margin-left:auto;}
.drawer-empty{padding:60px 20px;text-align:center;color:#8a8175;font-size:13px;}
.drawer-foot{padding:20px;border-top:1px solid var(--line);}
.total-row{display:flex;justify-content:space-between;font-size:15px;font-weight:700;margin-bottom:14px;}
.wa-order-btn{
  width:100%;padding:15px;background:var(--gold);color:var(--ink);
  font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:0.04em;
  display:flex;align-items:center;justify-content:center;gap:8px;
}
.wa-order-btn:hover{background:var(--ink);color:var(--ivory);}
.wa-order-btn:disabled{opacity:0.5;cursor:not-allowed;}

/* ---------- PRODUCT MODAL (quick view) ---------- */
.modal-overlay{
  position:fixed;inset:0;background:rgba(26,23,18,0.55);z-index:95;
  opacity:0;pointer-events:none;transition:opacity .2s ease;
  display:flex;align-items:flex-end;justify-content:center;
}
.modal-overlay.open{opacity:1;pointer-events:auto;}
.modal{
  background:var(--ivory);width:100%;max-width:640px;max-height:88vh;overflow-y:auto;
  transform:translateY(30px);transition:transform .25s ease;
}
.modal-overlay.open .modal{transform:translateY(0);}
.modal-img{aspect-ratio:1;overflow:hidden;position:relative;}
.modal-img img{width:100%;height:100%;object-fit:cover;}
.modal-close{
  position:absolute;top:12px;right:12px;width:34px;height:34px;
  background:var(--ivory);display:flex;align-items:center;justify-content:center;z-index:2;
}
.modal-body{padding:24px;}
.modal-body .eyebrow{margin-bottom:6px;}
.modal-body h2{font-size:24px;margin-bottom:8px;}
.modal-price{display:inline-block;background:var(--tan);color:#fff;font-size:13px;font-weight:700;padding:6px 13px;margin-bottom:16px;}
.modal-desc{font-size:15px;line-height:1.6;color:#463f34;margin-bottom:18px;font-family:'Fraunces',serif;}
.modal-section{margin-bottom:18px;}
.modal-section h3{font-size:12px;text-transform:uppercase;letter-spacing:0.08em;color:var(--tan);margin-bottom:6px;font-family:'Inter',sans-serif;font-weight:700;}
.modal-section p{font-size:13px;color:#5a5348;line-height:1.6;}
.directions-list{padding-left:18px;}
.directions-list li{font-size:13px;color:#5a5348;line-height:1.6;margin-bottom:4px;}
.modal-tags{display:flex;flex-wrap:wrap;gap:6px;}
.modal-tag{font-size:11px;font-weight:600;border:1px solid var(--line);padding:4px 10px;color:var(--ink);}
.modal-actions{display:flex;align-items:center;gap:14px;margin-top:20px;flex-wrap:wrap;}
.modal-qty{display:flex;align-items:center;gap:12px;}
.modal-qty .qty-btn{width:30px;height:30px;font-size:16px;}
.modal-qty .qty-num{min-width:20px;font-size:15px;}
@media(min-width:640px){
  .modal-overlay{align-items:center;}
  .modal{display:grid;grid-template-columns:1fr 1fr;max-height:80vh;}
  .modal-img{aspect-ratio:auto;height:100%;}
}

/* ---------- TOAST ---------- */
.toast{
  position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(20px);
  background:var(--ink);color:var(--ivory);font-size:13px;font-weight:600;
  padding:13px 22px;z-index:99;opacity:0;pointer-events:none;
  transition:opacity .25s ease, transform .25s ease;
  display:flex;align-items:center;gap:8px;white-space:nowrap;
}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0);}
.toast svg{flex-shrink:0;}

/* ---------- REVIEWS ---------- */
.reviews{padding:64px 20px;background:var(--ivory-deep);}
.review-grid{display:grid;grid-template-columns:1fr;gap:16px;margin-top:24px;}
.review-card{background:var(--ivory);border:1px solid var(--line);padding:22px;}
.review-stars{color:var(--tan);font-size:14px;letter-spacing:2px;margin-bottom:10px;}
.review-quote{font-family:'Fraunces',serif;font-size:15px;line-height:1.6;margin-bottom:14px;}
.review-name{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:0.04em;color:var(--tan);}
.review-note{font-size:11px;color:#8a8175;margin-top:24px;text-align:center;}
@media(min-width:860px){.review-grid{grid-template-columns:repeat(3,1fr);}}

/* ---------- FAQ ---------- */
.faq{padding:64px 20px;}
.faq-list{margin-top:24px;max-width:720px;}
.faq-item{border-bottom:1px solid var(--line);}
.faq-q{
  width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;
  padding:18px 4px;font-family:'Fraunces',serif;font-size:16px;font-weight:600;text-align:left;
}
.faq-q .icon{flex-shrink:0;font-size:18px;color:var(--tan);transition:transform .2s;}
.faq-item.open .faq-q .icon{transform:rotate(45deg);}
.faq-a{max-height:0;overflow:hidden;transition:max-height .25s ease;}
.faq-item.open .faq-a{max-height:220px;}
.faq-a p{font-size:14px;line-height:1.6;color:#5a5348;padding:0 4px 18px;}
.faq-toggle-all{
  display:block;margin:20px auto 0;padding:10px 20px;background:none;
  border:1px solid var(--line);font-size:13px;font-weight:600;cursor:pointer;
  color:var(--ink);
}
.faq-toggle-all:hover{border-color:var(--tan);color:var(--tan);}

/* ---------- ACCESSIBILITY: skip link ---------- */
.skip-link{
  position:absolute;top:-100px;left:12px;z-index:200;
  background:var(--ink);color:var(--ivory);padding:12px 18px;font-size:13px;font-weight:700;
  transition:top .15s ease;
}
.skip-link:focus{top:12px;}

/* ---------- FOOTER SOCIAL ICONS ---------- */
.footer-social{display:flex;justify-content:center;gap:14px;margin:18px 0;}
.footer-social a{
  width:38px;height:38px;border:1.5px solid rgba(250,247,242,0.3);
  display:flex;align-items:center;justify-content:center;
  transition:border-color .2s, background .2s;
}
.footer-social a:hover{border-color:var(--gold);background:rgba(201,162,75,0.12);}
.footer-social svg{width:18px;height:18px;}
.footer-legal{display:flex;justify-content:center;gap:16px;margin-top:16px;font-size:11px;}
.footer-legal a{text-decoration:underline;text-underline-offset:2px;}
.footer-legal a:hover{color:var(--gold);}
.footer-credit{margin-top:14px;font-size:10px;letter-spacing:0.03em;color:rgba(250,247,242,0.4);}
.footer-credit a{text-decoration:underline;text-underline-offset:2px;color:rgba(250,247,242,0.6);}
.footer-credit a:hover{color:var(--gold);}

/* ---------- CART: unavailable items ---------- */
.cart-item.unavailable{opacity:0.6;}
.unavailable-tag{
  display:inline-block;font-size:10px;font-weight:700;text-transform:uppercase;
  color:#b3453a;margin-top:4px;
}
.cart-notice{
  background:#F6E9D8;border:1px solid var(--tan);padding:10px 12px;font-size:12px;
  margin-bottom:12px;color:#463f34;
}

/* ---------- LEGAL PAGES ---------- */
.legal-page{padding:56px 20px 80px;max-width:760px;margin:0 auto;}
.legal-page h1{font-size:28px;margin-bottom:6px;}
.legal-page .updated{font-size:12px;color:var(--tan);margin-bottom:32px;}
.legal-page h2{font-size:17px;margin:32px 0 10px;}
.legal-page p, .legal-page li{font-size:14px;line-height:1.7;color:#463f34;margin-bottom:10px;}
.legal-page ul{padding-left:20px;margin-bottom:14px;}
.legal-placeholder{
  background:#F6E9D8;border-left:3px solid var(--gold);padding:12px 16px;
  font-size:13px;color:#5a5348;margin:16px 0;
}

/* ---------- 404 ---------- */
.page-404{padding:100px 20px;text-align:center;}
.page-404 .drop{width:48px;height:48px;margin:0 auto 20px;}
.page-404 h1{font-size:32px;margin-bottom:10px;}
.page-404 p{font-size:14px;color:#5a5348;margin-bottom:26px;}

/* ---------- RESULTS GALLERY ---------- */
.result-card{
  display:block;width:100%;padding:0;border:1px solid var(--line);background:var(--ivory-deep);
  cursor:zoom-in;aspect-ratio:1/1;overflow:hidden;position:relative;
}
.result-card .p-img{width:100%;height:100%;}
.result-card img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease;}
.result-card:hover img{transform:scale(1.04);}
.result-card:focus-visible{outline:2px solid var(--ink);outline-offset:2px;}

/* homepage teaser — reuses the .scroller pattern already defined above,
   manual scroll-snap only, no autoplay (see README for why) */
.results-teaser{padding:64px 20px;}
.results-teaser-sub{font-size:14px;color:#5a5348;margin:-16px 0 4px;max-width:480px;}
.results-teaser .scroller{margin-top:20px;}
.results-teaser .scroller .result-card{scroll-snap-align:start;min-width:180px;max-width:180px;flex-shrink:0;}
.scroller-hint{position:relative;}
.scroller-hint::after{
  content:"";position:absolute;top:0;right:0;bottom:8px;width:56px;
  background:linear-gradient(to right, transparent, var(--ivory));pointer-events:none;
}

/* results page */
.results-disclaimer{
  max-width:720px;margin:20px auto 0;padding:12px 16px;background:#F6E9D8;
  border-left:3px solid var(--gold);font-size:12px;color:#5a5348;line-height:1.6;
}
.results-grid{
  padding:32px 20px 72px;max-width:1100px;margin:0 auto;
  display:grid;grid-template-columns:repeat(2,1fr);gap:12px;
}

/* ---------- LIGHTBOX ---------- */
.lightbox-overlay{
  position:fixed;inset:0;background:rgba(15,13,10,0.92);z-index:200;
  display:none;align-items:center;justify-content:center;padding:24px;
}
.lightbox-overlay.open{display:flex;}
.lightbox-inner{position:relative;max-width:min(90vw,640px);width:100%;}
.lightbox-img{width:100%;aspect-ratio:1/1;background:var(--ivory-deep);overflow:hidden;}
.lightbox-img img{width:100%;height:100%;object-fit:contain;background:#111;}
.lightbox-close{
  position:absolute;top:10px;right:10px;z-index:2;
  background:rgba(26,23,18,0.55);border:none;border-radius:50%;
  width:36px;height:36px;display:flex;align-items:center;justify-content:center;
  cursor:pointer;
}
.lightbox-close:hover{background:rgba(26,23,18,0.8);}
.lightbox-arrow{
  position:absolute;top:50%;transform:translateY(-50%);background:rgba(26,23,18,0.55);
  border:none;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;
  cursor:pointer;z-index:2;
}
.lightbox-arrow:hover{background:rgba(26,23,18,0.8);}
.lightbox-prev{left:10px;}
.lightbox-next{right:10px;}
.lightbox-count{
  text-align:center;color:rgba(250,247,242,0.7);font-size:12px;letter-spacing:0.04em;margin-top:12px;
}

/* ---------- IMAGE SKELETON (perceived load performance) ----------
   Shimmer shows behind every dynamically-loaded photo until it actually
   finishes loading (see initImageSkeletons in cart.js), then fades out.
   No layout shift either way since containers are already sized. */
.p-img, .modal-img, .about-photo, .story-photo, .thumb{
  background:linear-gradient(100deg, var(--ivory-deep) 30%, #ece2cc 50%, var(--ivory-deep) 70%);
  background-size:200% 100%;
  animation:skeleton-shimmer 1.4s ease-in-out infinite;
}
.p-img img, .modal-img img, .about-photo img, .story-photo img, .thumb img{
  opacity:0;transition:opacity .35s ease;
}
.p-img img.loaded, .modal-img img.loaded, .about-photo img.loaded, .story-photo img.loaded, .thumb img.loaded{
  opacity:1;
}
.img-loaded{animation:none !important;background:none !important;}
@keyframes skeleton-shimmer{
  0%{background-position:200% 0;}
  100%{background-position:-200% 0;}
}
@media (prefers-reduced-motion: reduce){
  .p-img, .modal-img, .about-photo, .story-photo, .thumb{animation:none;}
}

@media(min-width:640px){
  .cat-grid{grid-template-columns:repeat(3,1fr);}
  .hero{aspect-ratio:auto;height:78vh;min-height:520px;}
  .hero h1{font-size:52px;}
  .hero p{font-size:16px;max-width:460px;}
  .results-grid{grid-template-columns:repeat(3,1fr);}
}
@media(min-width:860px){
  .story-grid{grid-template-columns:1fr 1fr;}
  .cat-grid{grid-template-columns:repeat(4,1fr);}
  .hero h1{font-size:60px;}
  .results-grid{grid-template-columns:repeat(4,1fr);}
}