/* ============================================================
   CSS VARIABLES & RESET
   ============================================================ */
:root {
  /* Brand -- sampled from the Ellorie Rose logo */
  --primary: #ED2190;          /* logo outline + lettering hot pink */
  --primary-dark: #C2116F;     /* buttons + headings (AA contrast on blush) */
  --primary-rgb: 237, 33, 144;
  --rose: #FB7AB0;             /* logo middle ring */
  --rose-rgb: 251, 122, 176;
  --blush: #F9C8DB;            /* logo badge background -- page canvas */
  --petal: #FDE4EE;            /* lighter surface for alternating sections */
  --cream: #FFF6FA;            /* cards + form fields */
  --ink: #5E0D36;              /* body text */
  --text-muted: #8A3A63;
  --stitch: rgba(237, 33, 144, 0.35);
  --footer: #5E0D36;

  /* Accent mix -- pink stays the lead; these play backup (see ACCENT MIX block) */
  --mint: #8ED8CF;             /* fills, tape, chips */
  --mint-soft: #E3F6F3;        /* tinted sections */
  --mint-dark: #17766C;        /* text/icons on mint-soft or cream */
  --sunny: #FFCF5C;
  --sunny-soft: #FFF4D6;
  --sunny-dark: #9A6400;
  --lilac: #C9B1F2;
  --lilac-soft: #F1EAFF;
  --lilac-dark: #6A43B3;
  --tangerine: #FBB549;        /* card colors sampled from the client's Tokyo theme pick */
  --orchid: #E6A1D7;
  --coral: #F7A3AB;

  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(194, 17, 111, 0.12);
  --shadow-lift: 0 16px 40px rgba(194, 17, 111, 0.22);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--blush);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
section[id], #hero-form, #bottom-form { scroll-margin-top: 90px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
  color: var(--primary-dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem);  font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem);  font-weight: 700; line-height: 1.25; }
p  { font-size: clamp(1rem, 1.5vw, 1.1rem);   line-height: 1.65; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: ''; width: 10px; height: 10px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

/* ============================================================
   UTILITIES & SHARED BUTTONS
   ============================================================ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section--petal { background: var(--petal); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-header p { color: var(--text-muted); margin-top: 0.75rem; }
.section-cta { text-align: center; margin-top: 2.75rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.05rem); font-weight: 800;
  padding: 0.9rem 1.7rem; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-primary { background: var(--primary-dark); color: #fff; box-shadow: 0 6px 18px rgba(194, 17, 111, 0.28); }
.btn-primary:hover { background: var(--ink); }
.btn-outline { background: transparent; color: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline:hover { background: var(--primary-dark); color: #fff; }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-white:hover { background: var(--cream); color: var(--ink); }
.btn-fb { background: #1877F2; color: #fff; }
.btn-fb:hover { background: #0e5fcc; }

/* Stitched card -- dashed inner ring echoes the logo */
.stitched {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stitched::after {
  content: ''; position: absolute; inset: 8px; pointer-events: none;
  border: 2px dashed var(--stitch); border-radius: calc(var(--radius) - 6px);
}

/* Scalloped divider -- the logo's wavy edge */
.scallop {
  height: 22px;
  background:
    radial-gradient(circle at 14px -4px, transparent 14px, var(--scallop-color, var(--petal)) 15px) repeat-x;
  background-size: 28px 22px;
}
.scallop--flip { transform: rotate(180deg); }

.store-note {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 1rem; color: var(--text-muted);
}
.store-note svg { width: 18px; height: 18px; color: var(--primary); }

/* ============================================================
   SPLASH SCREEN
   ============================================================ */
.splash {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
  padding: 1.5rem; background: var(--blush);
  transition: opacity 350ms ease-in;
}
/* Timeline (2s total): logo 0-0.45s, services rise one by one 0.35-1.45s, splash fades 1.65-2s */
.splash img { width: min(56vw, 270px); height: auto; opacity: 0; transition: opacity 450ms ease-out; }
.splash.ready img { opacity: 1; }
.splash-services {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 0.9rem 1rem; max-width: 620px;
}
/* Embroidered patches: fabric fill, thread stitched around the edge, a little lopsided */
.splash-services li {
  --tilt: 0deg; --fabric: var(--cream); --thread: var(--primary); --text: var(--primary-dark);
  position: relative; white-space: nowrap;
  padding: 0.55em 1.15em 0.6em;
  background: var(--fabric); color: var(--text);
  font-family: var(--font-heading); font-variation-settings: 'SOFT' 100; font-weight: 800; line-height: 1.1;
  border-radius: 16px 24px 14px 26px;
  outline: 2.5px dashed var(--thread); outline-offset: -7px;
  box-shadow:
    inset 0 -3px 0 rgba(94, 13, 54, 0.12),
    inset 0 2px 0 rgba(255, 255, 255, 0.5),
    0 6px 14px rgba(94, 13, 54, 0.18);
  opacity: 0; transform: translateY(14px) rotate(var(--tilt));
}
.splash-services li:nth-child(1) { --tilt: -4deg; font-size: 1.15rem; margin-top: -0.4rem; }
.splash-services li:nth-child(2) {
  --tilt: 5deg; --fabric: var(--primary); --thread: #FFFFFF; --text: #FFFFFF;
  font-size: 1.45rem; border-radius: 30px 18px 34px 20px; margin-top: 0.5rem;
}
.splash-services li:nth-child(3) {
  --tilt: -2deg; --fabric: var(--primary-dark); --thread: #FFFFFF; --text: #FFFFFF;
  font-size: 1rem; border-radius: 12px 20px 10px 18px;
  outline-style: dotted; outline-width: 3.5px; /* rhinestones instead of thread */
}
.splash-services li:nth-child(4) {
  --tilt: 3.5deg; --fabric: #F7A8C8; --thread: var(--primary-dark); --text: var(--ink);
  font-size: 1.25rem; border-radius: 28px 12px 24px 14px; margin-top: -0.3rem;
}
.splash.ready .splash-services li { animation: splash-rise 0.38s ease-out forwards; }
.splash.ready .splash-services li:nth-child(1) { animation-delay: 0.35s; }
.splash.ready .splash-services li:nth-child(2) { animation-delay: 0.6s; }
.splash.ready .splash-services li:nth-child(3) { animation-delay: 0.85s; }
.splash.ready .splash-services li:nth-child(4) { animation-delay: 1.1s; }
@keyframes splash-rise { to { opacity: 1; transform: translateY(0) rotate(var(--tilt)); } }
@media (prefers-reduced-motion: reduce) {
  .splash-services li { transform: rotate(var(--tilt)); }
}
.splash.done { opacity: 0; pointer-events: none; }
.splash.skip { display: none; }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announce {
  background: var(--primary-dark); color: #fff;
  text-align: center; padding: 0.6rem 1rem;
  font-size: 1rem; font-weight: 700;
}
.announce a { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
header { position: sticky; top: 0; z-index: 1000; }
.nav {
  background: rgba(249, 200, 219, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 2px dashed var(--stitch);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0.6rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo img { width: 62px; height: 62px; }
.nav-logo-text {
  font-family: var(--font-heading); font-variation-settings: 'SOFT' 100;
  font-weight: 800; font-size: 1.25rem; line-height: 1.05; color: var(--primary-dark);
}
.nav-logo-text small { display: block; font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.04em; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-weight: 800; font-size: 1rem; color: var(--ink);
  padding: 0.35rem 0; border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--primary-dark); }
.nav-links a.nav-link--active { color: var(--primary-dark); border-bottom-color: var(--primary); }
.nav-right { display: flex; align-items: center; gap: 0.6rem; }
.nav-cta { padding: 0.7rem 1.3rem; }
.nav-social {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: #1877F2; color: white;
  transition: opacity 0.2s; flex-shrink: 0;
}
.nav-social:hover { opacity: 0.85; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
  position: relative; z-index: 1001;
}
.hamburger span {
  display: block; width: 26px; height: 3px; border-radius: 3px;
  background: var(--primary-dark); transition: transform 0.25s, opacity 0.25s;
}

.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: var(--blush);
  flex-direction: column; align-items: center; justify-content: center; gap: 1.75rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu img { width: 110px; height: 110px; margin-bottom: 0.5rem; }
.mobile-menu a:not(.btn) {
  font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800;
  font-family: var(--font-heading); font-variation-settings: 'SOFT' 100;
  color: var(--ink); transition: color 0.2s;
}
.mobile-menu a:not(.btn):hover { color: var(--primary-dark); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero-inner {
  display: grid; grid-template-columns: 55fr 45fr; gap: 4rem; align-items: center;
}
.hero-pill {
  display: inline-block; margin-bottom: 1.25rem;
  padding: 0.45rem 1rem; border-radius: 999px;
  background: var(--cream); border: 2px dashed var(--stitch);
  font-size: 0.9rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary-dark);
}
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-sub { margin-top: 1.25rem; max-width: 500px; color: var(--text-muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin: 1.75rem 0 2rem; }
.hero-badges li { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: 1rem; }
.hero-badges svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-visual { position: relative; }
.hero-arch {
  position: relative;
  aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lift);
  border: 6px solid var(--cream);
  background-color: var(--rose);
}
.hero-arch::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(var(--rose-rgb), 0) 0%, rgba(var(--primary-rgb), 0.12) 100%);
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1200ms ease-in-out;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide--1 { background-image: url('../images/stock/hero.jpg'); }
.hero-slide--2 { background-image: url('../images/stock/hero-2.jpg'); }
.hero-slide--3 { background-image: url('../images/stock/hero-3.jpg'); }
.hero-slide--4 { background-image: url('../images/stock/hero-4.jpg'); }
.hero-seal {
  position: absolute; left: -2.5rem; bottom: -1.5rem;
  width: clamp(120px, 14vw, 170px); height: auto;
  filter: drop-shadow(0 10px 20px rgba(194, 17, 111, 0.3));
}

/* Inner-page hero (shop, custom, visit) */
.page-hero { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.page-hero p { max-width: 620px; margin: 1rem auto 0; color: var(--text-muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.page-hero .hero-actions { justify-content: center; margin-top: 2rem; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar { overflow: hidden; padding: 1rem 0; background: var(--primary-dark); }
.trust-track { display: flex; width: max-content; animation: trust-scroll 28s linear infinite; }
.trust-set { display: flex; }
.trust-item {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.25rem 2.25rem; white-space: nowrap;
  color: #fff; font-weight: 800; font-size: 1rem; flex-shrink: 0;
}
.trust-item svg { width: 20px; height: 20px; color: var(--blush); }
@keyframes trust-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .trust-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
  .trust-set[aria-hidden="true"] { display: none; }
}

/* ============================================================
   SHOP CATEGORIES
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cat-card {
  display: flex; flex-direction: column; overflow: hidden; cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.cat-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-6px); }
.cat-img {
  aspect-ratio: 4 / 3; margin: 8px 8px 0; border-radius: calc(var(--radius) - 6px) calc(var(--radius) - 6px) 0 0;
  background-color: var(--rose); background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.cat-img svg { display: none; }
.cat-body { padding: 1.25rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.cat-body p { color: var(--text-muted); font-size: 1rem; }
.cat-link { margin-top: auto; padding-top: 0.6rem; font-weight: 800; color: var(--primary-dark); display: inline-flex; align-items: center; gap: 0.35rem; }
.cat-link svg { width: 18px; height: 18px; }
.cat-tag {
  align-self: flex-start; padding: 0.2rem 0.7rem; border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.12); color: var(--primary-dark);
  font-size: 0.9rem; font-weight: 800;
}

/* Category image slots -- 2-stop gradient renders until a photo is inserted */
.cat-img--new        { background-image: linear-gradient(135deg, rgba(var(--rose-rgb), 0.08) 0%, rgba(var(--primary-rgb), 0.08) 100%), url('../images/stock/cat-new.jpg'); }
.cat-img--clothing   { background-image: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--rose-rgb), 0.08) 100%), url('../images/stock/cat-clothing.jpg'); }
.cat-img--bows       { background-image: linear-gradient(135deg, rgba(var(--rose-rgb), 0.08) 0%, rgba(var(--primary-rgb), 0.08) 100%), url('../images/stock/cat-bows.jpg'); }
.cat-img--rhinestone { background-image: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--rose-rgb), 0.08) 100%), url('../images/stock/cat-rhinestone.jpg'); }
.cat-img--customs    { background-image: linear-gradient(135deg, rgba(var(--rose-rgb), 0.08) 0%, rgba(var(--primary-rgb), 0.08) 100%), url('../images/stock/cat-customs.jpg'); }
.cat-img--clearance  { background-image: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--rose-rgb), 0.08) 100%), url('../images/stock/cat-clearance.jpg'); }

/* ============================================================
   FEATURE SPLIT (rhinestone, about, pickup)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media {
  aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden;
  border: 6px solid var(--cream); box-shadow: var(--shadow);
  background-color: var(--rose); background-size: cover; background-position: center;
}
.split-media--rhinestone { background-image: linear-gradient(160deg, rgba(var(--rose-rgb), 0) 0%, rgba(var(--primary-rgb), 0.1) 100%), url('../images/stock/feature-rhinestone.jpg'); }
.split-media--about      { background-image: linear-gradient(160deg, rgba(var(--rose-rgb), 0) 0%, rgba(var(--primary-rgb), 0.1) 100%), url('../images/stock/storefront.jpg'); }
.split-copy p { color: var(--text-muted); margin-top: 1rem; }
.check-list { display: grid; gap: 0.8rem; margin: 1.5rem 0 2rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-weight: 700; font-size: 1rem; line-height: 1.5; }
.check-list svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; margin-top: 1px; }

/* ============================================================
   HOW IT WORKS (ship / pickup / custom)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { padding: 2.25rem 1.75rem; text-align: center; }
.step-icon {
  width: 64px; height: 64px; margin: 0 auto 1.1rem; border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.12); color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
}
.step-icon svg { width: 30px; height: 30px; }
.step p { color: var(--text-muted); margin-top: 0.5rem; font-size: 1rem; }

/* ============================================================
   CUSTOM ORDERS
   ============================================================ */
.custom-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.custom-card { padding: 2.25rem 2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.custom-card p { color: var(--text-muted); font-size: 1rem; }
.custom-price { font-family: var(--font-heading); font-variation-settings: 'SOFT' 100; font-weight: 800; font-size: 1.15rem; color: var(--primary); }
.custom-card .btn { margin-top: auto; align-self: flex-start; }

/* ============================================================
   GALLERY
   ============================================================ */
/* Scrapbook wall: polaroid frames, gingham washi tape, handwritten captions, bow stickers */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2.75rem 2.25rem; padding: 1.5rem 1rem 1rem;
}
.gallery-item {
  --tilt: -3deg;
  position: relative; margin: 0;
  background: #fff; padding: 12px 12px 0; border-radius: 4px;
  box-shadow: 0 14px 30px rgba(94, 13, 54, 0.16), 0 2px 4px rgba(94, 13, 54, 0.08);
  transform: rotate(var(--tilt));
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-item:nth-child(2) { --tilt: 2.5deg; margin-top: 1.75rem; }
.gallery-item:nth-child(3) { --tilt: -1.5deg; }
.gallery-item:nth-child(4) { --tilt: 2deg; }
.gallery-item:nth-child(5) { --tilt: -2.5deg; margin-top: 1.75rem; }
.gallery-item:nth-child(6) { --tilt: 3deg; }
.gallery-item:hover { transform: rotate(0deg) scale(1.04); box-shadow: 0 22px 44px rgba(94, 13, 54, 0.24); z-index: 3; }
.gallery-item img {
  width: 100%; height: 250px; object-fit: cover; border-radius: 2px;
  background: linear-gradient(135deg, var(--rose) 0%, var(--primary) 100%);
}
.gallery-item figcaption {
  font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.55rem; line-height: 1;
  color: var(--primary-dark); text-align: center; padding: 0.7rem 0 0.85rem;
}
/* washi tape */
.gallery-item::before {
  content: ''; position: absolute; top: -14px; left: 50%; z-index: 2;
  width: 110px; height: 30px; transform: translateX(-50%) rotate(-4deg);
  background:
    repeating-linear-gradient(90deg, rgba(237, 33, 144, 0.32) 0 7px, transparent 7px 14px),
    repeating-linear-gradient(0deg, rgba(237, 33, 144, 0.32) 0 7px, rgba(255, 246, 250, 0.85) 7px 14px);
  box-shadow: 0 2px 4px rgba(94, 13, 54, 0.12);
  opacity: 0.9;
}
.gallery-item:nth-child(even)::before { transform: translateX(-50%) rotate(5deg); width: 90px; }
/* bow stickers on a few corners */
.gallery-item:nth-child(1)::after, .gallery-item:nth-child(4)::after, .gallery-item:nth-child(6)::after {
  content: ''; position: absolute; z-index: 2; width: 70px; height: 52px;
  background: url('../images/bows/bow-hot-pink.svg') center / contain no-repeat;
  filter: drop-shadow(0 4px 6px rgba(94, 13, 54, 0.25));
}
.gallery-item:nth-child(1)::after { right: -22px; bottom: 34px; transform: rotate(18deg); }
.gallery-item:nth-child(4)::after { left: -24px; top: 30px; transform: rotate(-20deg); background-image: url('../images/bows/bow-rhinestone.svg'); }
.gallery-item:nth-child(6)::after { right: -20px; top: 22px; transform: rotate(14deg); background-image: url('../images/bows/bow-rose-dots.svg'); }

/* Phones: the same polaroids drift by in a strip */
.gallery-marquee { display: none; }
.gallery-marquee-track { display: flex; width: max-content; padding: 1.25rem 0 1.5rem; animation: gallery-scroll 30s linear infinite; }
.gallery-marquee-set { display: flex; }
.gallery-marquee-item {
  width: 62vw; max-width: 250px; flex-shrink: 0; margin-right: 1.25rem;
  background: #fff; padding: 9px 9px 0; border-radius: 4px;
  box-shadow: 0 10px 22px rgba(94, 13, 54, 0.16);
  transform: rotate(-2deg);
}
.gallery-marquee-item:nth-child(even) { transform: rotate(2.5deg); }
.gallery-marquee-item img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; border-radius: 2px; background: linear-gradient(135deg, var(--rose) 0%, var(--primary) 100%); }
.gallery-marquee-item::after {
  content: attr(data-cap); display: block; text-align: center;
  font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.35rem; color: var(--primary-dark);
  padding: 0.5rem 0 0.65rem;
}
.img-missing { visibility: hidden; }
@keyframes gallery-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================
   VIP CLUB
   ============================================================ */
.vip {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: 28px; color: #fff;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  box-shadow: var(--shadow-lift);
}
.vip::after {
  content: ''; position: absolute; inset: 12px; pointer-events: none;
  border: 2px dashed rgba(255, 255, 255, 0.45); border-radius: 20px;
}
.vip h2 { color: #fff; }
.vip p { max-width: 560px; margin: 1rem auto 0; color: rgba(255, 255, 255, 0.92); }
.vip .eyebrow { color: #fff; }
.vip .eyebrow::before { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3); }
.vip-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 1.75rem 0 2rem; }
.vip-perks li {
  padding: 0.45rem 1rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 800; font-size: 1rem;
}
.vip-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; position: relative; z-index: 1; }

/* ============================================================
   VISIT / MAP
   ============================================================ */
.visit-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2rem; align-items: stretch; }
.visit-card { padding: 2.5rem 2.25rem; }
.visit-card p { color: var(--text-muted); margin-top: 0.75rem; }
.contact-list { display: grid; gap: 1.1rem; margin: 1.75rem 0 2rem; font-style: normal; }
.contact-row { display: flex; align-items: flex-start; gap: 0.85rem; font-weight: 700; font-size: 1rem; line-height: 1.5; }
.contact-row svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.contact-row a:hover { color: var(--primary-dark); text-decoration: underline; }
.contact-row span { display: block; font-weight: 600; color: var(--text-muted); }
.map-frame {
  min-height: 380px; border-radius: var(--radius); overflow: hidden;
  border: 6px solid var(--cream); box-shadow: var(--shadow);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 368px; border: 0; display: block; }

/* ============================================================
   BOTTOM CONTACT FORM
   ============================================================ */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.form-intro p { color: var(--text-muted); margin-top: 1rem; }
.form-card { padding: 2.25rem 2rem; }
.form-card h3 { margin-bottom: 0.35rem; }
.form-card > p { color: var(--text-muted); font-size: 1rem; margin-bottom: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; position: relative; z-index: 1; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 800; font-size: 1rem; }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: #fff; border: 2px solid rgba(var(--primary-rgb), 0.25);
  border-radius: 12px; padding: 0.75rem 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.15);
}
.form-submit { grid-column: 1 / -1; width: 100%; margin-top: 0.5rem; }
.form-note { grid-column: 1 / -1; text-align: center; color: var(--text-muted); font-size: 1rem; }
.form-success { display: none; text-align: center; padding: 2rem 1rem; position: relative; z-index: 1; }
.form-success.show { display: block; }
.form-success svg { width: 56px; height: 56px; color: var(--primary); margin: 0 auto 1rem; }
.form-success p { color: var(--text-muted); margin-top: 0.5rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--footer); color: #fff; }
.footer .scallop { --scallop-color: var(--footer); background-color: var(--blush); }
.footer-inner {
  max-width: 1180px; margin: 0 auto; padding: 3.5rem 1.5rem 2.5rem;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem;
}
.footer-brand img { width: 96px; height: 96px; margin-bottom: 1rem; }
.footer-brand p { color: rgba(255, 255, 255, 0.78); font-size: 1rem; max-width: 300px; }
.footer-col h4 {
  color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem;
}
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a, .footer-col p { color: rgba(255, 255, 255, 0.78); font-size: 1rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--rose); }
.footer-col address { font-style: normal; display: grid; gap: 0.6rem; }
.footer-bottom {
  max-width: 1180px; margin: 0 auto; padding: 1.25rem 1.5rem 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { color: rgba(255, 255, 255, 0.65); font-size: 1rem; }
.footer-bottom a { color: rgba(255, 255, 255, 0.85); }
.footer-bottom a:hover { color: var(--rose); }

/* ============================================================
   CONTACT BUTTON + PANEL
   ============================================================ */
.contact-fab {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1001;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem;
}
.contact-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.4rem; border-radius: 999px;
  background: var(--primary-dark); color: #fff;
  font-family: var(--font-heading); font-variation-settings: 'SOFT' 100;
  font-weight: 800; font-size: 1.05rem; letter-spacing: 0.01em;
  border: 3px solid var(--cream);
  box-shadow: 0 8px 22px rgba(94, 13, 54, 0.35);
  transform-origin: 50% 100%;
  animation: contact-jiggle 5s ease-in-out infinite;
  transition: background 0.2s;
}
.contact-btn:hover { background: var(--ink); }
.contact-fab.is-open .contact-btn { animation: none; background: var(--ink); }
@keyframes contact-jiggle {
  0%, 84%, 100% { transform: rotate(0) scale(1); }
  86% { transform: rotate(-8deg) scale(1.06); }
  89% { transform: rotate(7deg) scale(1.06); }
  92% { transform: rotate(-5deg) scale(1.04); }
  95% { transform: rotate(3deg) scale(1.02); }
  98% { transform: rotate(0) scale(1); }
}
.contact-panel {
  width: 330px; padding: 1.6rem 1.5rem 1.4rem;
  animation: contact-in 220ms ease-out;
}
.contact-panel[hidden] { display: none; }
.contact-panel > * { position: relative; z-index: 1; }
@keyframes contact-in { from { opacity: 0; } to { opacity: 1; } }
.contact-panel h3 { margin-bottom: 0.9rem; }
.contact-panel .eyebrow { margin-bottom: 0.4rem; }
.contact-close {
  position: absolute; top: 0.85rem; right: 0.85rem; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--petal); color: var(--primary-dark); font-size: 1.3rem; line-height: 1;
}
.contact-close:hover { background: var(--primary-dark); color: #fff; }
.contact-phone {
  display: flex; flex-direction: column; align-items: center; gap: 0.1rem;
  padding: 0.8rem; border-radius: 14px; text-align: center;
  background: var(--petal); border: 2px dashed var(--stitch);
  transition: background 0.2s;
}
.contact-phone:hover { background: #fff; }
.contact-phone span { font-size: 1rem; font-weight: 700; color: var(--text-muted); }
.contact-phone strong { font-family: var(--font-heading); font-variation-settings: 'SOFT' 100; font-size: 1.45rem; color: var(--primary-dark); }
.contact-or { text-align: center; font-size: 1rem; font-weight: 700; color: var(--text-muted); margin: 0.9rem 0 0.6rem; }
.contact-quick { display: grid; gap: 0.6rem; }
.contact-quick label { display: grid; gap: 0.25rem; font-weight: 800; font-size: 1rem; }
.contact-quick input, .contact-quick textarea {
  font: inherit; font-weight: 600; font-size: 1rem; color: var(--ink);
  background: #fff; border: 2px solid rgba(var(--primary-rgb), 0.25); border-radius: 10px; padding: 0.55rem 0.75rem;
}
.contact-quick textarea { resize: vertical; min-height: 70px; }
.contact-quick input:focus, .contact-quick textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.15); }
.contact-quick .btn { width: 100%; margin-top: 0.2rem; }
.contact-err { font-weight: 800; font-size: 1rem; color: var(--primary-dark); }
.contact-err:empty { display: none; }
.contact-btn-icon { display: none; }
/* Phones + small tablets: round phone button that just calls */
@media (max-width: 768px) {
  .contact-fab { right: 1rem; bottom: 1rem; }
  .contact-btn { width: 60px; height: 60px; padding: 0; border-radius: 50%; }
  .contact-btn-text { display: none; }
  .contact-btn-icon { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-btn { animation: none; }
}

/* ============================================================
   STORE TOAST (demo mode -- shown until a store URL is set)
   ============================================================ */
.store-toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 1500;
  width: min(92vw, 460px); margin-left: calc(min(92vw, 460px) / -2);
  background: var(--ink); color: #fff; border-radius: 16px;
  padding: 1rem 1.25rem; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  font-size: 1rem; line-height: 1.5;
  opacity: 0; pointer-events: none; transition: opacity 300ms ease-in;
}
.store-toast.show { opacity: 1; }
.store-toast strong { color: var(--rose); }

/* ============================================================
   ANIMATIONS & FADE-IN
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .gallery-marquee-track { animation: none; }
}

/* ============================================================
   RESPONSIVE -- 960px
   ============================================================ */
@media (max-width: 960px) {
  .nav-links { gap: 1.25rem; }
  .nav-logo-text { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(n) { margin-top: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE -- 768px
   ============================================================ */
@media (max-width: 768px) {
  .nav-links, .nav-right .nav-cta, .nav-right .nav-social { display: none; }
  .hamburger { display: flex; }
  .nav-logo img { width: 54px; height: 54px; }
  .nav-logo-text { display: block; font-size: 1.1rem; }

  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 380px; margin: 0 auto; width: 100%; }
  .hero-seal { left: -0.75rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .split, .visit-grid, .form-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--reverse .split-media { order: 0; }
  .split-media { max-width: 460px; width: 100%; margin: 0 auto; }
  .steps, .custom-grid { grid-template-columns: 1fr; }

  .gallery-grid { display: none; }
  .gallery-marquee {
    display: block; width: 100vw; position: relative;
    left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; overflow: hidden;
  }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
}

/* ============================================================
   RESPONSIVE -- 480px
   ============================================================ */
@media (max-width: 480px) {
  .cat-grid, .form-grid { grid-template-columns: 1fr; }
  .visit-card, .form-card { padding: 2rem 1.4rem; }
}

/* ============================================================
   FORM + CARD HELPERS
   ============================================================ */
.form-head p { color: var(--text-muted); font-size: 1rem; }
.step-icon--left { margin: 0 0 0.5rem; }

/* ============================================================
   CUSTOM ORDER BUILDER (custom-orders.html, built by js/estimator.js)
   ============================================================ */
.estimator { scroll-margin-top: 90px; }
.est-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 2.5rem; align-items: start; }
.est-builder { display: grid; gap: 1.25rem; }

.est-step {
  border: 0; border-radius: var(--radius); background: var(--cream);
  box-shadow: var(--shadow); padding: 1.5rem; min-width: 0;
  outline: 2px dashed var(--stitch); outline-offset: -8px;
}
.est-step.is-missing { outline-color: var(--primary); outline-style: solid; }
.est-step legend {
  float: left; width: 100%; display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem;
  font-family: var(--font-heading); font-variation-settings: 'SOFT' 100;
  font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--primary-dark);
  margin-bottom: 1rem;
}
.est-step legend small { font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; color: var(--text-muted); }
.est-step legend + * { clear: both; }
.est-req { font-family: var(--font-body); font-style: normal; font-size: 0.9rem; font-weight: 800; color: #fff; background: var(--primary); padding: 0.15rem 0.6rem; border-radius: 999px; }
.est-step-num {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-dark); color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 800;
}

/* item tiles */
.est-treats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.75rem; }
.est-treat {
  position: relative; cursor: pointer; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  padding: 1.1rem 0.6rem; border-radius: 16px;
  background: #fff; border: 2px solid rgba(var(--primary-rgb), 0.18);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.est-treat:hover { border-color: rgba(var(--primary-rgb), 0.5); }
.est-treat input, .est-chip input, .est-swatch input { position: absolute; opacity: 0; pointer-events: none; }
.est-treat-icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--primary-rgb), 0.12); color: var(--primary-dark);
}
.est-treat-icon svg { width: 26px; height: 26px; }
.est-treat-name { font-family: var(--font-heading); font-variation-settings: 'SOFT' 100; font-weight: 700; font-size: 1.05rem; line-height: 1.2; color: var(--ink); }
.est-treat-from { font-size: 0.9rem; font-weight: 700; color: var(--text-muted); }
.est-treat:has(input:checked) { border-color: var(--primary); background: var(--petal); box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.2); }
.est-treat:has(input:checked) .est-treat-icon { background: var(--primary-dark); color: #fff; }
.est-treat:has(input:focus-visible), .est-chip:has(input:focus-visible), .est-swatch:has(input:focus-visible) { outline: 3px solid var(--primary); outline-offset: 2px; }

/* option chips */
.est-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.est-chip { position: relative; cursor: pointer; }
.est-chip span {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.5rem 1rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; color: var(--ink);
  background: #fff; border: 2px solid rgba(var(--primary-rgb), 0.2);
  transition: background 0.2s, border-color 0.2s;
}
.est-chip span small { font-size: 0.9rem; font-weight: 800; color: var(--primary-dark); }
.est-chip:hover span { border-color: rgba(var(--primary-rgb), 0.55); }
.est-chip input:checked + span { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.est-chip input:checked + span small { color: var(--blush); }
.est-chip input:checked + span::before { content: '\2713'; }
.est-chip--sm span { padding: 0.4rem 0.8rem; min-width: 3rem; justify-content: center; }

/* grouped sizes */
.est-size-groups { display: grid; gap: 0.85rem; }
.est-size-group { display: grid; grid-template-columns: 110px 1fr; gap: 0.75rem; align-items: center; }
.est-size-label { font-weight: 800; font-size: 1rem; }
.est-size-label small { display: block; font-size: 0.9rem; color: var(--primary-dark); }

/* color swatches */
.est-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 0.6rem; }
.est-swatch {
  position: relative; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  padding: 0.6rem 0.25rem; border-radius: 14px; border: 2px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.est-swatch:hover { background: rgba(var(--primary-rgb), 0.06); }
.est-swatch-dot {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--sw); border: 2px solid rgba(94, 13, 54, 0.18);
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.12);
}
.est-swatch-name { font-size: 0.9rem; font-weight: 700; text-align: center; line-height: 1.25; }
.est-swatch:has(input:checked) { border-color: var(--primary); background: var(--petal); }
.est-swatch:has(input:checked) .est-swatch-dot { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--primary); }

/* text fields */
.est-text-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.85rem; }
.est-text { display: grid; gap: 0.35rem; font-weight: 800; font-size: 1rem; }
.est-text input, .est-form input, .est-form textarea {
  font: inherit; font-weight: 600; color: var(--ink);
  background: #fff; border: 2px solid rgba(var(--primary-rgb), 0.25); border-radius: 12px; padding: 0.65rem 0.85rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.est-text input:focus, .est-form input:focus, .est-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.15); }

/* quantity + add */
.est-add-row { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.est-qty { display: inline-flex; align-items: center; border: 2px solid rgba(var(--primary-rgb), 0.25); border-radius: 999px; overflow: hidden; background: #fff; }
.est-qty button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--primary-dark); font-size: 1.4rem; font-weight: 800; cursor: pointer; }
.est-qty button:hover { background: var(--petal); }
.est-qty output { min-width: 2.5rem; text-align: center; font-weight: 800; font-size: 1.15rem; }
.est-line-price { font-family: var(--font-heading); font-variation-settings: 'SOFT' 100; font-weight: 800; font-size: 1.6rem; color: var(--primary-dark); }
.est-line-price small, .est-line-amt small, .est-total-amt small { display: block; font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; color: var(--text-muted); }
.est-add { margin-left: auto; }
.est-add-err { flex-basis: 100%; text-align: right; font-weight: 800; color: var(--primary-dark); }

/* summary panel */
.est-summary {
  position: sticky; top: 96px; padding: 2rem 1.5rem 1.5rem;
  scroll-margin-top: 90px;
}
.est-summary > * { position: relative; z-index: 1; }
.est-summary.is-bumped { animation: est-bump 0.5s ease-in-out; }
@keyframes est-bump { 40% { box-shadow: 0 0 0 6px rgba(var(--primary-rgb), 0.3), var(--shadow-lift); } }
.est-summary h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.est-lines { display: grid; gap: 0.6rem; margin-bottom: 1.25rem; }
.est-empty { color: var(--text-muted); font-weight: 600; }
.est-line {
  display: grid; grid-template-columns: 1fr auto auto; gap: 0.6rem; align-items: start;
  padding: 0.75rem 0.85rem; border-radius: 12px; background: #fff; border-left: 4px solid var(--primary);
}
.est-line strong { font-family: var(--font-heading); font-variation-settings: 'SOFT' 100; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.est-line p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.45; margin-top: 0.2rem; }
.est-line-amt { font-weight: 800; text-align: right; }
.est-remove { width: 28px; height: 28px; border-radius: 50%; border: 0; cursor: pointer; background: var(--petal); color: var(--primary-dark); font-size: 1.1rem; line-height: 1; }
.est-remove:hover { background: var(--primary-dark); color: #fff; }
.est-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0 1.25rem; border-top: 2px dashed var(--stitch); }
.est-total span { font-weight: 800; }
.est-total-amt { font-family: var(--font-heading); font-variation-settings: 'SOFT' 100; font-size: 2.2rem; line-height: 1; text-align: right; color: var(--primary-dark); }
.est-form { display: grid; gap: 0.85rem; }
.est-form label { display: grid; gap: 0.35rem; font-weight: 800; font-size: 1rem; }
.est-form label small { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
.est-form textarea { min-height: 80px; resize: vertical; }
.est-form .btn { width: 100%; margin-top: 0.25rem; }
.est-form-err { color: var(--primary-dark); font-weight: 800; }
.est-form-err:empty { display: none; }
.est-alt { text-align: center; font-weight: 700; font-size: 1rem; }
.est-alt a { color: var(--primary-dark); text-decoration: underline; }
.est-preview summary { cursor: pointer; font-weight: 700; font-size: 1rem; color: var(--text-muted); text-align: center; }
.est-preview summary:hover { color: var(--primary-dark); }
.est-preview textarea {
  width: 100%; margin-top: 0.6rem; resize: vertical;
  font: 600 0.9rem/1.45 var(--font-body); color: var(--ink);
  background: #fff; border: 2px solid rgba(var(--primary-rgb), 0.2); border-radius: 10px; padding: 0.7rem;
}
.est-done { text-align: center; padding: 1rem 0; }
.est-done svg { width: 56px; height: 56px; color: var(--primary); margin: 0 auto 0.75rem; }
.est-done p { color: var(--text-muted); margin-top: 0.5rem; }
.est-clear { display: block; margin: 0.75rem auto 0; border: 0; background: none; cursor: pointer; font: inherit; font-weight: 700; color: var(--text-muted); text-decoration: underline; }
.est-clear:hover { color: var(--primary-dark); }
.est-fine { font-size: 1rem; color: var(--text-muted); line-height: 1.5; margin-top: 1rem; }

@media (max-width: 960px) {
  .est-grid { grid-template-columns: 1fr; }
  .est-summary { position: relative; top: 0; }
}
@media (max-width: 480px) {
  .est-step { padding: 1.25rem 1rem; }
  .est-add { margin-left: 0; width: 100%; }
  .est-size-group { grid-template-columns: 1fr; gap: 0.4rem; }
  .est-swatches { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .est-summary.is-bumped { animation: none; }
}
.est-clear[hidden] { display: none; }

/* ============================================================
   FALLING BOWS (js/main.js -- pages with .bow-layer)
   ============================================================ */
.bow-layer { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.bow-layer.back  { z-index: 1; }   /* between section backgrounds and content */
.bow-layer.front { z-index: 900; } /* over content, under the nav */
.bow-layer.back .bow img { opacity: 0.75; }
.bow { position: absolute; left: 0; top: 0; will-change: transform; }
.bow img { width: 100%; height: auto; filter: drop-shadow(0 10px 14px rgba(94, 13, 54, 0.22)); }

/* Drag & toss */
.bow-layer .bow { pointer-events: auto; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.bow-layer .bow img { transition: transform 0.15s ease; -webkit-user-drag: none; }
.bow-layer .bow.grabbed { cursor: grabbing; }
.bow-layer .bow.grabbed img { transform: scale(1.12); }

/* Content sits above the back bow layer */
.container, .trust-bar, .gallery-marquee, .announce, .footer-inner, .footer-bottom { position: relative; z-index: 2; }

/* Reduced motion: still bows in the hero */
.hero, .page-hero { position: relative; }
.hero-bow-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-bow-layer .bow { left: var(--x); top: var(--y); transform: translate(-50%, -50%) rotate(var(--r)); }

/* ============================================================
   PAGE RIBBON (js/main.js -- satin ribbon winding down the page,
   unrolls across the hero, then draws further as you scroll)
   ============================================================ */
body { position: relative; }
.page-ribbon {
  position: absolute; left: 0; top: 0; width: 100%;
  z-index: 1; pointer-events: none; opacity: 0.85;
}
@media (max-width: 768px) { .page-ribbon { opacity: 0.6; } }

/* ============================================================
   HERO PAGE-LOAD FADE (homepage: the only entrance animation;
   the ribbon carries the rest of the scroll)
   ============================================================ */
.js .hero .hero-copy, .js .hero .hero-visual { opacity: 0; transform: translateY(24px); }
.splash-gone .hero .hero-copy { animation: hero-rise 0.9s ease-out forwards; }
.splash-gone .hero .hero-visual { animation: hero-rise 0.9s ease-out 0.18s forwards; }
@keyframes hero-rise { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .js .hero .hero-copy, .js .hero .hero-visual { transform: none; }
  @keyframes hero-rise { to { opacity: 1; transform: none; } }
}

/* Custom Orders: builder sits right under a compact intro */
.page-hero--tight { padding-bottom: 2rem; }
.est-top { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.text-link { color: var(--primary-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--ink); }

/* ============================================================
   ACCENT MIX -- mint, sunny & lilac sprinkled around the pink.
   Pink keeps buttons, headings and links; accents go on
   decoration (tags, icons, tape, chips, stitching, tints).
   ============================================================ */
.section--mint { background: var(--mint-soft); }

/* candy stripe under the announcement bar */
.announce { border-bottom: 5px solid; border-image: linear-gradient(90deg, var(--primary) 0 20%, var(--lilac) 20% 40%, var(--mint) 40% 60%, var(--sunny) 60% 80%, var(--rose) 80% 100%) 1; }

/* eyebrow dots take turns by section */
.section:nth-of-type(4n+2) .eyebrow::before { background: var(--mint); box-shadow: 0 0 0 3px rgba(142, 216, 207, 0.35); }
.section:nth-of-type(4n+3) .eyebrow::before { background: var(--sunny); box-shadow: 0 0 0 3px rgba(255, 207, 92, 0.35); }
.section:nth-of-type(4n)   .eyebrow::before { background: var(--lilac); box-shadow: 0 0 0 3px rgba(201, 177, 242, 0.4); }

/* hero */
.hero-pill { border-color: var(--mint-dark); }
.hero-badges li:nth-child(1) svg { color: var(--sunny-dark); }
.hero-badges li:nth-child(2) svg { color: var(--primary); }
.hero-badges li:nth-child(3) svg { color: var(--mint-dark); }
.hero-arch { box-shadow: 0 0 0 5px var(--mint), var(--shadow-lift); }

/* trust bar goes mint */
.trust-bar { background: var(--mint); }
.trust-item { color: var(--ink); }
.trust-item svg { color: var(--primary-dark); }

/* splash patches */
.splash-services li:nth-child(1) { --fabric: var(--mint); --thread: #fff; --text: var(--ink); }
.splash-services li:nth-child(4) { --fabric: var(--sunny); --thread: var(--primary-dark); }

/* category cards: solid candy colors (tangerine, mint, orchid, coral, repeat in sixes) */
.cat-card { --card: var(--cream); --stitch: rgba(255, 255, 255, 0.85); background: var(--card); }
.cat-card:nth-child(6n+1), .cat-card:nth-child(6n+5) { --card: var(--tangerine); }
.cat-card:nth-child(6n+2), .cat-card:nth-child(6n)   { --card: var(--mint); }
.cat-card:nth-child(6n+3) { --card: var(--orchid); }
.cat-card:nth-child(6n+4) { --card: var(--coral); }
.cat-img { background-color: rgba(255, 255, 255, 0.4); }
.cat-card h3, .cat-card .cat-link { color: var(--ink); }
.cat-card .cat-body p { color: var(--ink); }
.cat-card .cat-tag { background: #fff; color: var(--primary-dark); }

/* step + custom cards: candy-colored top band */
.step, .custom-card { border-top: 8px solid var(--band, var(--primary)); }
.step:nth-child(4n+1), .custom-card:nth-child(4n+1) { --band: var(--tangerine); }
.step:nth-child(4n+2), .custom-card:nth-child(4n+2) { --band: var(--orchid); }
.step:nth-child(4n+3), .custom-card:nth-child(4n+3) { --band: var(--coral); }
.step:nth-child(4n),   .custom-card:nth-child(4n)   { --band: var(--mint); }

/* feature photos get a colored ring */
.split-media--rhinestone { box-shadow: 0 0 0 5px var(--lilac), var(--shadow); }
.split-media--about      { box-shadow: 0 0 0 5px var(--sunny), var(--shadow); }
.check-list li:nth-child(3n+1) svg { color: var(--mint-dark); }
.check-list li:nth-child(3n+2) svg { color: var(--primary); }
.check-list li:nth-child(3n)   svg { color: var(--lilac-dark); }

/* step icons + custom cards */
.step .step-icon, .custom-card .step-icon { background: var(--band); color: var(--ink); }
.custom-card:nth-child(4n+1) { --stitch: rgba(23, 118, 108, 0.35); }
.custom-card:nth-child(4n+2) { --stitch: rgba(154, 100, 0, 0.3); }
.custom-card:nth-child(4n+3) { --stitch: rgba(106, 67, 179, 0.35); }
.custom-card:nth-child(4n+1) .custom-price { color: var(--mint-dark); }
.custom-card:nth-child(4n+2) .custom-price { color: var(--sunny-dark); }
.custom-card:nth-child(4n+3) .custom-price { color: var(--lilac-dark); }

/* gallery washi tape in mixed colors */
.gallery-item:nth-child(4n+2)::before { background: repeating-linear-gradient(90deg, rgba(23, 118, 108, 0.25) 0 7px, transparent 7px 14px), var(--mint); opacity: 0.85; }
.gallery-item:nth-child(4n+3)::before { background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.55) 0 6px, transparent 6px 12px), var(--sunny); opacity: 0.85; }
.gallery-item:nth-child(4n)::before   { background: radial-gradient(circle, rgba(255, 255, 255, 0.75) 2.5px, transparent 3px) 0 0 / 12px 12px, var(--lilac); opacity: 0.9; }
.gallery-marquee-item:nth-child(4n+2) { box-shadow: 0 10px 22px rgba(94, 13, 54, 0.16), inset 0 -6px 0 var(--mint); }
.gallery-marquee-item:nth-child(4n+3) { box-shadow: 0 10px 22px rgba(94, 13, 54, 0.16), inset 0 -6px 0 var(--sunny); }
.gallery-marquee-item:nth-child(4n)   { box-shadow: 0 10px 22px rgba(94, 13, 54, 0.16), inset 0 -6px 0 var(--lilac); }

/* VIP perks as candy chips */
.vip-perks li { color: var(--ink); border-color: rgba(255, 255, 255, 0.6); }
.vip-perks li:nth-child(3n+1) { background: var(--mint); }
.vip-perks li:nth-child(3n+2) { background: var(--sunny); }
.vip-perks li:nth-child(3n)   { background: var(--lilac); }

/* visit + forms */
.visit-card { --stitch: rgba(23, 118, 108, 0.35); }
.map-frame { box-shadow: 0 0 0 5px var(--mint), var(--shadow); }
.form-card { --stitch: rgba(106, 67, 179, 0.35); }
.contact-row:nth-child(3n+1) svg { color: var(--mint-dark); }
.contact-row:nth-child(3n)   svg { color: var(--lilac-dark); }

/* custom order builder step numbers */
.est-step:nth-child(4n+2) .est-step-num { background: var(--mint-dark); }
.est-step:nth-child(4n+3) .est-step-num { background: var(--sunny-dark); }
.est-step:nth-child(4n)   .est-step-num { background: var(--lilac-dark); }

/* footer */
.footer-col:nth-child(4n+2) h4 { color: var(--mint); }
.footer-col:nth-child(4n+3) h4 { color: var(--sunny); }
.footer-col:nth-child(4n)   h4 { color: var(--lilac); }
.footer-col a:hover, .footer-bottom a:hover { color: var(--mint); }

/* ============================================================
   SEASONAL BAND (Home) -- content + on/off in js/config.js
   Pink-led with accent sparkles; swap-friendly for any season.
   ============================================================ */
.seasonal { padding: clamp(3rem, 6vw, 4.5rem) 0 0; }
.seasonal-band {
  --stitch: rgba(106, 67, 179, 0.35);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 2rem;
  padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 3.5rem);
  overflow: hidden; border-top: 8px solid var(--lilac);
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.9) 0 1.5px, transparent 2.5px) 0 0 / 46px 46px,
    radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.75) 0 1px, transparent 2px) 0 0 / 34px 34px,
    linear-gradient(135deg, var(--cream) 0%, var(--petal) 55%, var(--lilac-soft) 100%);
}
.seasonal-copy { position: relative; z-index: 1; }
.seasonal-copy p:not(.eyebrow) { color: var(--text-muted); margin: 0.85rem 0 1.75rem; max-width: 520px; }
.seasonal .eyebrow::before { background: var(--sunny); box-shadow: 0 0 0 3px rgba(255, 207, 92, 0.4); }

.seasonal-art { position: relative; min-height: 220px; display: grid; place-items: center; }
.seasonal-bow { position: absolute; height: auto; filter: drop-shadow(0 8px 12px rgba(94, 13, 54, 0.22)); }
.seasonal-bow--1 { width: min(68%, 250px); transform: rotate(-8deg); }
.seasonal-bow--2 { width: min(34%, 120px); top: 4%; right: 6%; transform: rotate(16deg); }
.seasonal-bow--3 { width: min(30%, 105px); bottom: 2%; left: 4%; transform: rotate(-18deg); }
.seasonal-photo {
  width: 100%; max-width: 360px; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 140px 140px 18px 18px; box-shadow: 0 0 0 5px var(--lilac), var(--shadow);
}
.seasonal-art.has-photo .seasonal-bow--1, .seasonal-art.has-photo .seasonal-bow--3 { display: none; }
.seasonal-art.has-photo .seasonal-bow--2 { top: -6%; right: 2%; }

.seasonal-flake, .seasonal-spark { position: absolute; pointer-events: none; }
.seasonal-flake { color: #fff; opacity: 0.95; filter: drop-shadow(0 1px 2px rgba(106, 67, 179, 0.35)); }
.seasonal-flake--1 { width: 34px; top: 14%; left: 47%; }
.seasonal-flake--2 { width: 22px; bottom: 12%; left: 6%; }
.seasonal-flake--3 { width: 26px; top: 10%; right: 4%; color: var(--lilac); }
.seasonal-spark { width: 18px; }
.seasonal-spark--1 { top: 22%; left: 4%; color: var(--sunny); }
.seasonal-spark--2 { bottom: 16%; left: 52%; color: var(--mint); }
.seasonal-spark--3 { top: 58%; right: 3%; width: 14px; color: var(--primary); }
@media (prefers-reduced-motion: no-preference) {
  .seasonal-spark { animation: seasonal-twinkle 2.8s ease-in-out infinite; }
  .seasonal-spark--2 { animation-delay: 0.9s; }
  .seasonal-spark--3 { animation-delay: 1.8s; }
}
@keyframes seasonal-twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.7); } }

@media (max-width: 768px) {
  .seasonal-band { grid-template-columns: 1fr; text-align: center; gap: 0.5rem; }
  .seasonal-copy p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
  .seasonal-copy .btn { width: 100%; }
  .seasonal-art { order: -1; min-height: 150px; }
  .seasonal-bow--1 { width: 170px; }
  .seasonal-bow--2 { width: 74px; right: 10%; }
  .seasonal-bow--3 { width: 64px; left: 10%; }
  .seasonal-flake--1 { left: auto; right: 8%; top: auto; bottom: 30%; }
}

/* ============================================================
   REVIEWS (Home) -- text, name + stars only
   ============================================================ */
.review-stars { display: inline-flex; gap: 2px; color: var(--sunny); vertical-align: middle; }
.review-stars svg { width: 20px; height: 20px; filter: drop-shadow(0 1px 0 rgba(154, 100, 0, 0.35)); }
.reviews-score { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 800; }
.reviews-score .review-stars svg { width: 24px; height: 24px; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.review-card { display: flex; flex-direction: column; gap: 0.9rem; padding: 2rem 1.75rem 1.75rem; border-top: 8px solid var(--band, var(--primary)); }
.review-card blockquote { flex: 1; }
.review-card blockquote p { color: var(--ink); font-size: 1.02rem; }
.review-card figcaption { font-family: var(--font-heading); font-variation-settings: 'SOFT' 100; font-weight: 800; font-size: 1.1rem; color: var(--primary-dark); }
.review-card:nth-child(4n+1) { --band: var(--mint); }
.review-card:nth-child(4n+2) { --band: var(--orchid); }
.review-card:nth-child(4n+3) { --band: var(--sunny); }
.review-card:nth-child(4n)   { --band: var(--lilac); }
@media (max-width: 960px) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .review-grid { grid-template-columns: 1fr; } .review-card { padding: 1.75rem 1.4rem 1.5rem; } }
