/* Sweetly Made Co. — shared styles */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Montserrat:wght@400;500;600&display=swap');

:root{
  --berry:#C2185B;
  --berry-dark:#9E1149;
  --cream:#FBF3E9;
  --charcoal:#3E2723;
  --muted:#8A6D5E;
  --white:#FFFFFF;
  --maxw:1100px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Montserrat',system-ui,sans-serif;
  color:var(--charcoal);
  background:var(--cream);
  line-height:1.7;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.script{font-family:'Pacifico',cursive;font-weight:400}

/* ---------- Nav ---------- */
header.nav{
  position:sticky;top:0;z-index:50;
  background:var(--cream);
  border-bottom:1px solid rgba(194,24,91,.18);
}
.nav-inner{
  max-width:var(--maxw);margin:0 auto;padding:.85rem 1.5rem;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
}
.brand{display:flex;flex-direction:column;align-items:center;line-height:1;white-space:nowrap}
.brand .name{font-family:'Pacifico',cursive;font-size:1.7rem}
.brand .a{color:var(--charcoal)}
.brand .b{color:var(--berry)}
.brand .sub{font-size:.6rem;letter-spacing:.22em;text-transform:uppercase;font-weight:600;color:var(--muted);margin-top:.5rem;text-align:center}
.brand .name{margin-bottom:.1rem}
.nav-links{display:flex;gap:1.6rem;align-items:center;flex-wrap:wrap}
.nav-links a{
  font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;font-weight:600;
  color:var(--charcoal);padding:.25rem 0;border-bottom:2px solid transparent;
}
.nav-links a:hover,.nav-links a.active{color:var(--berry);border-color:var(--berry)}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;font-weight:600;font-size:.8rem;letter-spacing:.1em;
  text-transform:uppercase;padding:.85rem 1.6rem;border-radius:999px;
  border:2px solid var(--berry);transition:all .15s ease;cursor:pointer;
}
.btn-primary{background:var(--berry);color:var(--cream)}
.btn-primary:hover{background:var(--berry-dark);border-color:var(--berry-dark)}
.btn-outline{background:transparent;color:var(--berry)}
.btn-outline:hover{background:var(--berry);color:var(--cream)}

/* ---------- Sections ---------- */
section{padding:4.5rem 1.5rem}
.wrap{max-width:var(--maxw);margin:0 auto}
.center{text-align:center}
h1.display{font-family:'Pacifico',cursive;font-weight:400;font-size:clamp(2.6rem,6vw,4.2rem);line-height:1.3;margin-bottom:1rem;padding-bottom:.15em}
h2.heading{font-family:'Pacifico',cursive;font-weight:400;font-size:clamp(2rem,4vw,2.8rem);color:var(--berry);margin-bottom:.4rem}
.eyebrow{text-transform:uppercase;letter-spacing:.28em;font-size:.72rem;font-weight:600;color:var(--muted);margin-bottom:.8rem}
.lead{font-size:1.1rem;max-width:620px;margin:0 auto}
.tagline{letter-spacing:.18em;text-transform:uppercase;font-size:.78rem;font-weight:600;color:var(--muted)}

/* ---------- Hero ---------- */
.hero{background:var(--cream);text-align:center;padding-top:3.5rem}
.hero .badge{width:min(500px,90vw);margin:0 auto 1.6rem}
.hero .cta{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;margin-top:1.8rem}

/* ---------- Product grid ---------- */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.6rem;margin-top:2.5rem}
.card{background:var(--white);border-radius:16px;overflow:hidden;border:1px solid rgba(194,24,91,.12);transition:transform .15s ease,box-shadow .15s ease;display:flex;flex-direction:column}
.card:hover{transform:translateY(-4px);box-shadow:0 10px 24px rgba(62,39,35,.10)}
.card .thumb{height:190px;display:flex;align-items:center;justify-content:center;font-family:'Pacifico',cursive;font-size:1.8rem;color:var(--cream)}
.thumb.tees{background:var(--berry)}
.thumb.hats{background:var(--charcoal)}
.thumb.cups{background:var(--muted)}
.card .body{padding:1.3rem;display:flex;flex-direction:column;flex:1}
.card .body .cta{margin-top:auto;padding-top:1rem}
.card h3{font-family:'Pacifico',cursive;font-weight:400;font-size:1.5rem;color:var(--berry);margin-bottom:.3rem}
.card p{font-size:.92rem;color:var(--charcoal)}

/* ---------- Story / split ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:center}
.split .panel{background:var(--berry);color:var(--cream);border-radius:20px;padding:3rem 2rem;text-align:center}
.split .panel .big{font-family:'Pacifico',cursive;font-size:2.4rem;line-height:1.2}
.prose p{margin-bottom:1.1rem}
@media(max-width:760px){.split{grid-template-columns:1fr}}

/* ---------- Band ---------- */
.band{background:var(--berry);color:var(--cream);text-align:center}
.band h2{color:var(--cream)}
.band .btn-outline{color:var(--cream);border-color:var(--cream)}
.band .btn-outline:hover{background:var(--cream);color:var(--berry)}

/* ---------- Form ---------- */
.form{max-width:560px;margin:2rem auto 0;display:grid;gap:1rem;text-align:left}
.form label{font-size:.74rem;text-transform:uppercase;letter-spacing:.12em;font-weight:600;color:var(--muted);display:block;margin-bottom:.35rem}
.form input,.form textarea,.form select{
  width:100%;padding:.8rem 1rem;border:1px solid rgba(62,39,35,.25);border-radius:10px;
  font-family:inherit;font-size:1rem;background:var(--white);color:var(--charcoal);
}
.form input:focus,.form textarea:focus,.form select:focus{outline:2px solid var(--berry);border-color:var(--berry)}
.contact-list{display:flex;gap:2rem;justify-content:center;flex-wrap:wrap;margin-top:1.5rem}
.contact-list a{font-weight:600;color:var(--berry)}

/* ---------- Policies ---------- */
.policies{max-width:760px;margin:2.2rem auto 0;text-align:left}
.policy{background:var(--white);border-radius:14px;border:1px solid rgba(194,24,91,.12);padding:1.3rem 1.6rem;margin-bottom:1.1rem}
.policy h3{font-family:'Pacifico',cursive;font-weight:400;font-size:1.45rem;color:var(--berry);margin-bottom:.35rem}
.policy p{font-size:.98rem}

/* ---------- Footer ---------- */
footer.site{background:var(--charcoal);color:var(--cream);text-align:center;padding:2.5rem 1.5rem}
footer.site .fbrand{font-family:'Pacifico',cursive;font-size:1.6rem}
footer.site .fbrand .b{color:#F4A9C7}
footer.site .fsub{font-size:.62rem;letter-spacing:.22em;text-transform:uppercase;color:#C9B7AE;margin-top:.25rem}
footer.site .flinks{display:flex;gap:1.4rem;justify-content:center;flex-wrap:wrap;margin:1rem 0}
footer.site .flinks a{font-size:.78rem;letter-spacing:.1em;text-transform:uppercase}
footer.site .flinks a.ficon{display:inline-flex;align-items:center;padding:0;border-bottom:none}
footer.site .flinks a.ficon svg{display:block;width:20px;height:20px}
footer.site .flinks a.ficon:hover{color:#F4A9C7}
footer.site small{color:#C9B7AE;display:block;margin-top:.8rem}

.note{background:#FFF7DB;border:1px solid #E8D38A;color:#7A6320;border-radius:10px;padding:.9rem 1.1rem;font-size:.85rem;max-width:620px;margin:1.5rem auto 0}
.note.center{text-align:center}

/* ---------- Reviews ---------- */
.review-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:1.4rem;margin-top:1rem}
.review-card{flex:0 1 320px;max-width:360px;background:var(--white);border-radius:16px;
  border:1px solid rgba(194,24,91,.12);padding:1.5rem;text-align:left;
  box-shadow:0 6px 18px rgba(62,39,35,.06);display:flex;flex-direction:column;gap:.7rem}
.review-card .rc-stars{color:#E8B423;font-size:1.1rem;letter-spacing:2px}
.review-card .rc-text{font-size:1rem;color:var(--charcoal);font-style:italic;margin:0}
.review-card .rc-photo{width:100%;height:200px;object-fit:cover;border-radius:10px}
.review-card .rc-name{font-family:'Pacifico',cursive;color:var(--berry);font-size:1.05rem}
.review-empty{max-width:560px;margin:0 auto;text-align:center;color:var(--muted);font-size:1.05rem}

/* Review funnel */
.funnel{margin-top:1.8rem}
.stars{display:flex;gap:.4rem;justify-content:center}
.stars .star{background:none;border:none;cursor:pointer;font-size:2.6rem;line-height:1;
  color:rgba(251,243,233,.35);transition:transform .1s ease,color .1s ease;padding:0}
.stars .star:hover{transform:scale(1.12)}
.stars .star.lit{color:#FFD45E}
.stars-hint{color:var(--cream);font-size:.9rem;margin-top:.8rem;letter-spacing:.04em}
.funnel-panel{padding:3.5rem 1.5rem}
.consent{font-size:.9rem}
.consent label{display:flex;gap:.6rem;align-items:flex-start;text-transform:none;letter-spacing:normal;
  font-size:.9rem;color:var(--charcoal);font-weight:400}
.consent input{width:auto;margin-top:.2rem}
.form input[type=file]{padding:.55rem;background:var(--white)}

/* ---------- Mobile ---------- */
@media (max-width:680px){
  .nav-inner{flex-direction:column;gap:.7rem;padding:.8rem 1rem}
  .brand{align-items:center}
  .nav-links{gap:.7rem 1.1rem;justify-content:center;flex-wrap:wrap;width:100%}
  .nav-links a{font-size:.74rem;letter-spacing:.08em}
  section{padding:3rem 1.2rem}
  h1.display{line-height:1.25}
  .lead{font-size:1rem}
  .hero{padding-top:2.5rem}
  .hero .cta{flex-direction:column;align-items:stretch}
  .hero .cta .btn{text-align:center}
  .band .btn-outline,.hero .cta .btn{width:100%}
  .grid{gap:1.1rem;margin-top:1.8rem}
  .gallery{gap:1rem}
  .tile{flex:1 1 100%;max-width:100%}
  .panel{padding:2rem 1.2rem}
  .contact-list{flex-direction:column;gap:.8rem}
  .policy{padding:1.1rem 1.2rem}
  footer.site .flinks{gap:.8rem 1.1rem}
}

/* ---------- Gallery ---------- */
.gallery{display:flex;flex-wrap:wrap;justify-content:center;gap:1.2rem;margin-top:2.2rem}
.tile{flex:0 1 250px;max-width:300px;background:var(--white);border-radius:14px;overflow:hidden;border:1px solid rgba(194,24,91,.12);margin:0;transition:transform .15s ease,box-shadow .15s ease}
.tile:hover{transform:translateY(-4px);box-shadow:0 10px 24px rgba(62,39,35,.10)}
.tile .img{height:230px;display:flex;align-items:center;justify-content:center;font-family:'Pacifico',cursive;color:var(--cream);font-size:1.25rem;text-align:center;padding:1rem}
.tile .img.a{background:var(--berry)}
.tile .img.b{background:var(--charcoal)}
.tile .img.c{background:var(--muted)}
.tile .img.d{background:#D98AAE}
.tile img{width:100%;height:230px;object-fit:cover;display:block}
.tile img.contain{object-fit:contain;background:var(--cream);padding:.4rem}
.tile figcaption{padding:.85rem 1rem;font-size:.85rem;color:var(--charcoal)}
.gallery-hint{font-size:.85rem;color:var(--muted);font-style:italic;margin-top:.6rem}
.gallery-card{cursor:zoom-in}
.gallery-card:focus{outline:3px solid var(--berry);outline-offset:2px}
.gallery-cover{position:relative}
.gallery-cover .photo-count{position:absolute;bottom:.6rem;right:.6rem;
  background:rgba(34,26,24,.78);color:var(--cream);font-size:.72rem;font-weight:600;
  letter-spacing:.04em;padding:.3rem .6rem;border-radius:999px;display:flex;align-items:center;gap:.3rem}
.tile img{transition:transform .15s ease,filter .15s ease}
.tile:hover img{filter:brightness(.92)}

/* ---------- Lightbox ---------- */
.lightbox{position:fixed;inset:0;z-index:200;display:none;align-items:center;justify-content:center;
  background:rgba(34,26,24,.92);padding:2rem}
.lightbox.open{display:flex}
.lb-figure{margin:0;max-width:90vw;max-height:88vh;display:flex;flex-direction:column;align-items:center;gap:.8rem}
.lb-figure img{max-width:90vw;max-height:78vh;width:auto;height:auto;border-radius:12px;
  box-shadow:0 12px 40px rgba(0,0,0,.45);background:var(--cream)}
.lb-figure figcaption{font-family:'Pacifico',cursive;color:var(--cream);font-size:1.3rem;text-align:center}
.lb-close{position:absolute;top:1rem;right:1.4rem;background:none;border:none;color:var(--cream);
  font-size:2.6rem;line-height:1;cursor:pointer;padding:.2rem .6rem}
.lb-nav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(251,243,233,.15);
  border:none;color:var(--cream);font-size:1.8rem;cursor:pointer;width:54px;height:54px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;transition:background .15s ease}
.lb-nav:hover{background:rgba(251,243,233,.3)}
.lb-prev{left:1.2rem}
.lb-next{right:1.2rem}
@media(max-width:680px){
  .lb-nav{width:44px;height:44px;font-size:1.4rem}
  .lb-prev{left:.4rem}.lb-next{right:.4rem}
  .lb-figure img{max-height:70vh}
}
.tile figcaption b{font-family:'Pacifico',cursive;font-weight:400;color:var(--berry);font-size:1.1rem;display:block;margin-bottom:.1rem}
