/* ============ Mould & Play Studio — shared styles ============ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Work+Sans:wght@400;500;600;700&family=Alex+Brush&display=swap');

:root{
  --cream: #FBF6EC;
  --cream-deep: #F3EBDA;
  --forest: #46592F;
  --forest-deep: #384823;
  --blush: #E9A6B6;
  --blush-deep: #DD8CA0;
  --plum: #7C5296;
  --ink: #332F1E;
  --ink-soft: #5B5640;
  --line: rgba(51,48,31,0.15);
  --card: #FFFFFF;
  --radius: 16px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Work Sans', sans-serif;
  font-size:17px;
  line-height:1.6;
}
h1,h2,h3,.display{
  font-family:'Fraunces', serif;
  font-weight:600;
  letter-spacing:-0.01em;
  margin:0;
  color:var(--forest-deep);
}
.script{
  font-family:'Alex Brush', cursive;
  color:var(--plum);
  font-weight:400;
}
a{color:inherit;}
img{display:block;max-width:100%;}
.wrap{max-width:1160px; margin:0 auto; padding:0 28px;}
button{font-family:inherit;}

/* ---------- Header ---------- */
header.site-header{
  position:sticky; top:0; z-index:60;
  background:rgba(251,246,236,0.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
}
nav.main-nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 28px;
  max-width:1160px; margin:0 auto;
}
.brand{
  display:flex; align-items:center; gap:12px;
  text-decoration:none;
}
.brand img{height:52px; width:52px; border-radius:50%; object-fit:cover;}
.brand-name{
  font-family:'Fraunces',serif; font-weight:600; font-size:1.15rem;
  color:var(--forest-deep);
  line-height:1.1;
}
.brand-name span{display:block; font-size:0.72rem; font-family:'Work Sans',sans-serif; font-weight:500; color:var(--ink-soft); letter-spacing:0.03em;}
.nav-links{
  display:flex; align-items:center; gap:30px;
  list-style:none; margin:0; padding:0;
}
.nav-links a{
  text-decoration:none; font-weight:500; font-size:0.98rem; color:var(--ink);
  padding:6px 2px; border-bottom:2px solid transparent;
  transition:border-color .15s ease, color .15s ease;
}
.nav-links a:hover, .nav-links a.active{ border-color:var(--blush-deep); color:var(--forest-deep); }
.nav-right{display:flex; align-items:center; gap:16px;}
.cart-btn{
  position:relative;
  display:inline-flex; align-items:center; gap:8px;
  background:var(--forest); color:#fff;
  padding:10px 18px; border-radius:30px; border:none; cursor:pointer;
  font-weight:600; font-size:0.95rem;
  transition:background .15s ease, transform .15s ease;
}
.cart-btn:hover{background:var(--forest-deep); transform:translateY(-1px);}
.cart-count{
  background:var(--blush-deep); color:#fff;
  min-width:20px; height:20px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  font-size:0.75rem; font-weight:700; padding:0 4px;
}
.wa-link{
  display:inline-flex; align-items:center; gap:7px;
  text-decoration:none; font-weight:600; font-size:0.93rem;
  color:var(--forest-deep);
}
.wa-link svg{width:16px;height:16px;}
.menu-toggle{display:none; background:none; border:none; font-size:1.6rem; color:var(--forest-deep); cursor:pointer;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:14px 26px; border-radius:30px;
  font-weight:600; font-size:1rem;
  text-decoration:none; border:none; cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary{background:var(--blush-deep); color:#fff; box-shadow:0 6px 0 rgba(51,47,30,0.12);}
.btn-primary:hover{transform:translateY(-2px);}
.btn-outline{background:transparent; color:var(--forest-deep); border:1.5px solid var(--forest);}
.btn-outline:hover{background:var(--forest); color:#fff;}
.btn-dark{background:var(--forest-deep); color:#fff;}
.btn-dark:hover{background:var(--forest);}
.btn-block{width:100%;}
.btn:disabled{opacity:0.5; cursor:not-allowed; transform:none;}

/* ---------- Sections ---------- */
section{padding:64px 0;}
.section-head{max-width:56ch; margin-bottom:40px;}
.eyebrow{font-size:0.98rem; font-weight:600; color:var(--blush-deep); margin-bottom:10px;}
.section-head h2{font-size:clamp(1.7rem,3vw,2.4rem);}
.section-head p{margin-top:12px; color:var(--ink-soft); font-size:1.05rem;}

/* ---------- Footer ---------- */
footer.site-footer{
  background:var(--forest-deep);
  color:#EFE9D8;
  padding:52px 0 28px;
  margin-top:40px;
}
footer.site-footer h2{color:#fff; font-size:clamp(1.6rem,3vw,2.2rem); max-width:14ch;}
footer.site-footer a{text-decoration:none;}
.footer-grid{
  display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:40px;
  padding-bottom:32px; border-bottom:1px solid rgba(255,255,255,0.15);
}
.footer-col h3{font-family:'Fraunces',serif; color:#fff; font-size:1.05rem; margin-bottom:14px; font-weight:600;}
.footer-col p, .footer-col a{color:#D9D2BC; font-size:0.95rem; display:block; margin-bottom:8px;}
.footer-col a:hover{color:#fff;}
.bottom-line{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px;
  padding-top:22px; font-size:0.85rem; color:#B9B192;
}

/* ---------- Utility cards ---------- */
.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
}

.collections-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.collections-grid h3{ overflow-wrap:break-word; line-height:1.3; }

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .nav-links{
    position:fixed; top:78px; left:0; right:0;
    background:var(--cream); border-bottom:1px solid var(--line);
    flex-direction:column; align-items:flex-start; gap:0;
    padding:8px 28px 18px;
    transform:translateY(-140%); opacity:0;
    transition:transform .2s ease, opacity .2s ease;
    pointer-events:none;
  }
  .nav-links.open{ transform:translateY(0); opacity:1; pointer-events:auto; }
  .nav-links li{width:100%; padding:10px 0; border-bottom:1px solid var(--line);}
  .menu-toggle{display:block;}
  .footer-grid{grid-template-columns:1fr; gap:28px;}
}

@media (max-width:560px){
  nav.main-nav{ padding:12px 16px; flex-wrap:nowrap; gap:8px; }
  .brand{ gap:8px; min-width:0; }
  .brand img{ height:40px; width:40px; flex-shrink:0; }
  .brand-name{ font-size:0.95rem; white-space:nowrap; }
  .brand-name span{ font-size:0.62rem; white-space:nowrap; }
  .nav-right{ gap:8px; flex-shrink:0; }
  .wa-text{ display:none; }
  .wa-link{ padding:6px; }
  .cart-btn{ padding:8px 12px; font-size:0.85rem; }
  .collections-grid{ grid-template-columns:repeat(2,1fr); gap:14px; }
  .collections-grid h3{ font-size:1.05rem !important; }
}

/* ---------- Finished-examples gallery ---------- */
.gallery{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.gallery figure{margin:0; overflow:hidden;}
.gallery img{width:100%; aspect-ratio:4/5; object-fit:cover;}
.gallery figcaption{padding:12px 14px; font-size:0.95rem; color:var(--ink-soft);}

/* ---------- Phone layout: single column, large pictures ---------- */
.box-examples{display:grid; grid-template-columns:1fr 1fr; gap:20px;}
.box-examples figure{margin:0; overflow:hidden;}
.box-examples img{width:100%; aspect-ratio:3/4; object-fit:cover;}
.box-examples figcaption{padding:14px 16px; font-size:0.95rem; color:var(--ink-soft);}
@media (max-width:700px){
  body{font-size:16px;}
  section{padding:40px 0;}
  .wrap{padding:0 16px;}
  [style*="grid-template-columns"]{grid-template-columns:1fr !important; gap:20px !important;}
  [style*="padding:52p"]{padding:28px 20px !important;}
  .collections-grid{grid-template-columns:1fr; gap:18px;}
  .collection-head{grid-template-columns:1fr !important;}
  .item-grid{grid-template-columns:1fr !important;}
  .item-card img.product-photo{aspect-ratio:1/1 !important;}
  .qty-btn{width:44px; height:44px; font-size:1.3rem;}
  .add-btn,.btn{min-height:48px;}
  .box-examples{grid-template-columns:1fr;}
  .gallery{display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:14px; margin:0 -16px; padding:0 16px 8px; -webkit-overflow-scrolling:touch;}
  .gallery figure{flex:0 0 86%; scroll-snap-align:center;}
  #checkout-modal{padding:22px 18px;}
  #checkout-overlay{padding:16px 10px;}
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{transition:none !important; animation:none !important;}
}

.wa-float{position:fixed;left:14px;bottom:14px;z-index:90;background:#25D366;color:#fff;font-weight:700;text-decoration:none;padding:12px 16px;border-radius:999px;box-shadow:0 4px 14px rgba(0,0,0,.25);font-size:.95rem;max-width:calc(100vw - 28px);}
@media(max-width:600px){.wa-float span{display:none;}.wa-float{padding:14px 16px;font-size:1.3rem;}}
