/* Key to Life Collection — staging preview styles.
   PRELIMINARY branding (briefs only; real brand images not yet received):
   blush pink, metallic gold, marble, ivory. */
:root {
  --ivory: #fffaf4;
  --paper: #ffffff;
  --pink-soft: #f9e3ec;
  --pink: #eec3d3;
  --rose: #b84a6e;
  --rose-deep: #93395a;
  --gold: #c6a15b;
  --gold-deep: #a8823f;
  --ink: #3d2b32;
  --muted: #8a727b;
  --line: #ecd9df;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Jost", "Segoe UI", system-ui, sans-serif;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.55;
}
h1, h2, h3, .display { font-family: "Playfair Display", Georgia, serif; }

.ribbon {
  background: var(--ink);
  color: #f5d9e4;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
}
.ribbon strong { color: var(--gold); font-weight: 600; }

/* Marble hero: layered soft gradients suggest marble veining on ivory. */
.hero {
  background:
    linear-gradient(115deg, rgba(255,255,255,0) 42%, rgba(198,161,91,0.10) 46%, rgba(255,255,255,0) 52%),
    linear-gradient(160deg, rgba(249,227,236,0.9), rgba(255,250,244,0.4) 55%),
    radial-gradient(ellipse 60% 45% at 85% 10%, rgba(238,195,211,0.55), rgba(255,250,244,0) 70%),
    linear-gradient(200deg, rgba(255,255,255,0) 60%, rgba(198,161,91,0.08) 64%, rgba(255,255,255,0) 70%),
    #fdf3ec;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: 1080px; margin: 0 auto; padding: 3.2rem 1.25rem 2.6rem;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: center;
}
.eyebrow {
  letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.78rem;
  color: var(--gold-deep); margin-bottom: 0.9rem;
}
.logo-banner {
  width: 100%; max-width: 470px; height: auto; display: block;
  border-radius: 0.6rem;
  box-shadow: 0 12px 28px rgba(147,57,90,0.16);
  margin-bottom: 1.2rem;
}
.claims { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1.2rem; }
.claims span {
  border: 1px solid var(--gold); color: var(--gold-deep); background: var(--paper);
  border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.88rem; letter-spacing: 0.03em;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--rose); }
.tagline { margin-top: 1rem; font-size: 1.15rem; color: var(--ink); }
.tagline span { color: var(--rose-deep); }
.hero p.sub { margin-top: 0.7rem; color: var(--muted); max-width: 34rem; }
/* PHOTOS ARE NEVER CROPPED (Dee): every photo treatment uses
   object-fit: contain on a soft ivory-blush ground, so the FULL
   frame always shows — full head and the full hairstyle, nothing
   cut on any side. The letterbox bands are deliberate styling. */
.hero-photo {
  border-radius: 1.1rem; overflow: hidden;
  border: 3px solid rgba(198,161,91,0.55);
  box-shadow: 0 18px 40px rgba(147,57,90,0.18);
  background: linear-gradient(160deg, var(--pink-soft), var(--ivory));
}
.hero-photo img { display: block; width: 100%; aspect-ratio: 5/8; object-fit: contain; background: linear-gradient(160deg, var(--pink-soft), var(--ivory)); }
.badge {
  display: inline-block; margin-top: 1.4rem; padding: 0.55rem 1.1rem;
  border: 1px solid var(--gold); border-radius: 999px; color: var(--gold-deep);
  background: rgba(255,255,255,0.7); font-size: 0.92rem; letter-spacing: 0.04em;
}

main { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem 3rem; }
section { margin-top: 3rem; }
.section-head { text-align: center; margin-bottom: 1.6rem; }
.section-head .eyebrow { margin-bottom: 0.4rem; }
.section-head h2 { font-size: 2rem; font-weight: 600; }
.section-head p { color: var(--muted); margin-top: 0.35rem; }
.rule { width: 64px; height: 2px; background: var(--gold); margin: 0.8rem auto 0; border-radius: 2px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.gallery.solo { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } .gallery.solo { grid-template-columns: 1fr; } }
.gallery figure {
  background: var(--paper); border: 1px solid var(--line); border-radius: 0.9rem;
  overflow: hidden; box-shadow: 0 8px 22px rgba(61,43,50,0.06);
}
.gallery img { width: 100%; aspect-ratio: 4/5; object-fit: contain; background: linear-gradient(160deg, var(--pink-soft), var(--ivory)); display: block; }

.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.menu-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 0.9rem;
  padding: 1.3rem 1.4rem 1.1rem; box-shadow: 0 8px 22px rgba(61,43,50,0.05);
}
.menu-card h3 { font-size: 1.18rem; color: var(--rose-deep); margin-bottom: 0.4rem; }
.menu-card h4 {
  font-family: "Jost", sans-serif; font-size: 0.8rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-deep); margin: 0.9rem 0 0.2rem;
}
.item { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.32rem 0; }
.item .name { font-size: 1rem; }
.item .dots { flex: 1; border-bottom: 1px dotted var(--pink); transform: translateY(-3px); }
.item .price { font-weight: 600; color: var(--ink); white-space: nowrap; }
.menu-note { text-align: center; color: var(--muted); font-size: 0.92rem; margin-top: 1.2rem; }

.policies {
  background: linear-gradient(150deg, var(--pink-soft), #fdf0e9);
  border: 1px solid var(--line); border-radius: 1rem; padding: 1.8rem;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem 2rem;
}
.policy h3 { font-size: 1.05rem; color: var(--rose-deep); margin-bottom: 0.25rem; }
.policy p { font-size: 0.97rem; color: var(--ink); }

footer {
  border-top: 1px solid var(--line); background: var(--paper);
  text-align: center; padding: 2rem 1.25rem 2.4rem; color: var(--muted); font-size: 0.92rem;
}
footer .display { color: var(--ink); font-size: 1.2rem; margin-bottom: 0.3rem; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 2.2rem; }
  .hero-photo { max-width: 430px; margin: 0 auto; width: 100%; }
}
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 2.2rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .gallery.solo { grid-template-columns: 1fr; max-width: 320px; }
  .menu-grid { grid-template-columns: 1fr; }
  .policies { grid-template-columns: 1fr; }
}

/* --- Booking pages (book.html / booked.html) --- */
.page-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.page-head .brand {
  max-width: 1080px; margin: 0 auto; padding: 0.8rem 1.25rem;
  display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--ink);
  font-family: "Playfair Display", Georgia, serif; font-size: 1.35rem; font-weight: 600;
}
.page-head .brand em { font-style: italic; color: var(--rose); }
.page-head .brand img {
  height: 46px; width: auto; max-width: 150px; object-fit: contain;
  border-radius: 0.35rem;
}
.book-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 1rem;
  padding: 1.6rem 1.6rem 1.3rem; box-shadow: 0 10px 26px rgba(61,43,50,0.06);
  max-width: 640px; margin: 0 auto;
}
.card-title { font-size: 1.4rem; color: var(--rose-deep); margin-bottom: 0.8rem; }
.fld, .fld-label { display: block; font-size: 0.95rem; color: var(--ink); margin-top: 1.1rem; font-weight: 500; }
.fld input, .fld select {
  display: block; width: 100%; margin-top: 0.35rem; padding: 0.7rem 0.8rem;
  font: inherit; font-weight: 400; color: var(--ink);
  border: 1px solid #d9bcc7; border-radius: 0.6rem; background: #fff;
}
.btn {
  display: inline-block; margin-top: 1.2rem; padding: 0.75rem 1.5rem;
  border: none; border-radius: 999px; font: inherit; font-weight: 600;
  letter-spacing: 0.03em; cursor: pointer; text-decoration: none; text-align: center;
}
.btn-rose { background: var(--rose-deep); color: #fff; }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #fff; width: 100%; font-size: 1.05rem; }
.btn:hover { filter: brightness(1.06); }
.option-list { display: grid; gap: 0.55rem; margin-top: 0.5rem; }
.option-card {
  display: flex; align-items: center; gap: 0.7rem; cursor: pointer;
  border: 1px solid var(--line); border-radius: 0.7rem; padding: 0.65rem 0.9rem; background: #fffdf9;
}
.option-card input { accent-color: var(--rose-deep); width: 1.1rem; height: 1.1rem; }
.option-card span { flex: 1; }
.option-card strong { color: var(--rose-deep); }
.slot-list { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.5rem; }
.slot-pill {
  border: 1px solid var(--pink); border-radius: 999px; padding: 0.5rem 1rem;
  cursor: pointer; background: #fff; font-weight: 500;
}
.slot-pill input { accent-color: var(--rose-deep); margin-right: 0.35rem; }
.slot-pill:has(input:checked) { background: var(--pink-soft); border-color: var(--rose); }
.day-strip { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.day-chip {
  display: flex; flex-direction: column; align-items: center; gap: 0.05rem;
  min-width: 4.4rem; padding: 0.55rem 0.4rem; cursor: pointer;
  border: 1px solid #d9bcc7; border-radius: 0.7rem; background: #fff;
  font: inherit; color: var(--ink);
}
.day-chip .dc-wd { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }
.day-chip .dc-md { font-weight: 600; }
.day-chip .dc-tag { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.day-chip.is-picked { background: var(--pink-soft); border-color: var(--rose); box-shadow: 0 0 0 1px var(--rose); }
.day-chip.is-off {
  background: #f1ecec; border-color: #ddd3d6; color: #a08b93;
  opacity: 0.55; cursor: not-allowed; box-shadow: none;
}
.day-chip.is-off .dc-wd { color: #a08b93; }
.promo-row { display: flex; gap: 0.6rem; align-items: flex-end; margin-top: 1rem; }
.promo-row .fld { margin-top: 0; }
.promo-msg { color: var(--rose-deep); font-weight: 600; margin-top: 0.5rem; }
.svc-photo { display: block; width: 100%; height: auto; max-height: 480px; object-fit: contain; background: linear-gradient(160deg, var(--pink-soft), var(--ivory)); border-radius: 0.8rem; margin-bottom: 0.9rem; }
.page-nav {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; justify-content: center;
  padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); background: #fff;
}
.page-nav a { color: var(--rose-deep); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.page-nav a:hover { text-decoration: underline; }
.page-nav a.here { color: var(--ink); border-bottom: 2px solid var(--gold); }
.acct-link { display: inline-block; margin-left: 0.9rem; color: var(--rose-deep); font-weight: 600; }
.acct-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.acct-section { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.5rem; margin: 1.6rem 0 0.6rem; }
.appt-card { margin-top: 0; }
.appt-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; align-items: center; }
.mini-btn {
  display: inline-block; padding: 0.45rem 0.9rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--rose); background: #fff; color: var(--rose-deep);
  font: inherit; font-size: 0.88rem; font-weight: 600; text-decoration: none;
}
.mini-btn:hover { background: var(--pink-soft); }
.mini-btn.danger { border-color: #c0564f; color: #a03a34; }
.mini-btn.danger:hover { background: #fdeceb; }
.empty-note { color: var(--muted); padding: 0.4rem 0 0.8rem; }
.resched-panel { border-top: 1px dashed var(--line); margin-top: 1rem; padding-top: 0.8rem; }
.resched-panel .slot-pills { margin-top: 0.8rem; }
.fld-label { font-size: 0.92rem; font-weight: 600; margin-bottom: 0.2rem; }
.policies-box {
  margin-top: 1.2rem; border: 1px solid var(--line); border-radius: 0.8rem;
  background: linear-gradient(150deg, var(--pink-soft), #fdf0e9); padding: 1rem 1.1rem;
}
.policies-box ul { margin: 0.5rem 0 0.2rem 1.1rem; font-size: 0.94rem; }
.policies-box li { margin-bottom: 0.4rem; }
.policies-box .ack { margin-top: 0.7rem; }
.ack { display: flex; gap: 0.6rem; margin-top: 1.1rem; font-size: 0.92rem; color: var(--ink); cursor: pointer; }
.ack input { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; accent-color: var(--rose-deep); flex-shrink: 0; }
.fineprint { color: var(--muted); font-size: 0.88rem; margin-top: 0.7rem; }
.form-error {
  background: #fdecec; border: 1px solid #e5a3a3; color: #7a1f1f;
  border-radius: 0.7rem; padding: 0.75rem 1rem; margin-bottom: 0.6rem; font-weight: 500;
}
.sum-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.5rem 0; border-bottom: 1px dotted var(--pink);
}
.sum-row:last-child { border-bottom: none; }
.sum-row span { color: var(--muted); }
.status-line { font-size: 1.05rem; margin-bottom: 0.8rem; }
.status-line.is-confirmed { color: #20512a; font-weight: 600; }
.status-line.is-held { color: var(--rose-deep); font-weight: 600; }
a.book-btn {
  display: inline-block; margin-top: 1.4rem; padding: 0.8rem 1.7rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #fff;
  border-radius: 999px; font-weight: 600; letter-spacing: 0.03em; text-decoration: none;
  box-shadow: 0 10px 22px rgba(168,130,63,0.30);
}
a.book-btn:hover { filter: brightness(1.06); }
.center-cta { text-align: center; margin-top: 1.4rem; }
.center-cta .book-btn { margin-top: 0; }
.owner-link{margin-top:.9rem;font-size:.8rem;letter-spacing:.04em}
.owner-link a{color:#a98a2f;text-decoration:none;border-bottom:1px dotted #a98a2f}
.owner-link a:hover{color:#7c641f}

/* --- Shop pages (bundles / Wig Boutique / checkout / order) --- */
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 1.4rem; }
@media (max-width: 760px) { .shop-grid { grid-template-columns: 1fr; } }
.shop-card .fld { margin-top: 0.8rem; }
/* Product photos are shown whole, never cropped (site-wide rule). */
.prod-photo { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: linear-gradient(160deg, var(--pink-soft), var(--ivory)); border-radius: 0.6rem; display: block; margin-bottom: 0.7rem; }
.shop-buy-row { display: flex; gap: 0.7rem; align-items: flex-end; margin-top: 0.9rem; }
.shop-buy-row .qty-inp { width: 5rem; }
.bag-bar {
  position: sticky; bottom: 1rem; z-index: 5;
  display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; justify-content: space-between;
  background: var(--paper); border: 1px solid var(--gold); border-radius: 999px;
  padding: 0.6rem 0.7rem 0.6rem 1.3rem; margin-top: 1.6rem;
  box-shadow: 0 12px 30px rgba(61,43,50,0.16); font-size: 1rem;
}
.bag-bar[hidden] { display: none; }
.bag-actions { display: flex; gap: 0.5rem; align-items: center; }
.cart-line { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; padding: 0.6rem 0; border-bottom: 1px dotted var(--pink); }
.cart-line:last-child { border-bottom: none; }
.cart-line .cl-name { flex: 1; }
.cart-line .cl-qty { display: flex; align-items: center; gap: 0.35rem; }
.cart-line .cl-qty input { width: 3.6rem; padding: 0.4rem 0.5rem; border: 1px solid #d9bcc7; border-radius: 0.5rem; font: inherit; }
.addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 0.8rem; }
.addr-grid .wide { grid-column: 1 / -1; }
.fulfill-list { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.5rem; }
