/* =================================================================
   LUCKY LIL SCOOPS — design tokens
   Palette: bubblegum pink, deep raspberry, lilac, warm gold, cream.
   Display face: Fredoka (rounded, playful — used sparingly on headings).
   Body face: Plus Jakarta Sans (clean, modern, does the heavy lifting).
   Signature: the "scoop rim" scalloped edge + bead-strand divider,
   both drawn straight from the tub-of-beads logo.
================================================================= */

:root {
  --pink: #ff5fa2;
  --pink-dark: #c21e6d;
  --pink-deeper: #8c1150;
  --lilac: #9a6fe0;
  --lilac-light: #d9c7fb;
  --gold: #f3b33d;
  --cream: #fff6f9;
  --cream-deep: #ffe9f2;
  --ink: #35213a;
  --ink-soft: #6b5570;
  --white: #ffffff;
  --line: #f3d9e6;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-soft: 0 12px 30px -12px rgba(140, 17, 80, 0.25);
  --shadow-card: 0 8px 20px -10px rgba(140, 17, 80, 0.18);

  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  color: var(--pink-dark);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }

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

/* -----------------------------------------------------------
   Buttons
----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn--primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn--secondary {
  background: var(--white);
  color: var(--pink-dark);
  border-color: var(--pink);
}
.btn--ghost {
  background: transparent;
  color: var(--pink-dark);
  border-color: transparent;
}
.btn--block { width: 100%; }
.btn--sm { padding: 8px 18px; font-size: 0.85rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* -----------------------------------------------------------
   Bead-strand divider — the recurring signature motif.
   A row of small alternating beads, echoing the charm bracelets.
----------------------------------------------------------- */
.bead-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 32px;
}
.bead-divider span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
}
.bead-divider span:nth-child(3n+1) { background: var(--lilac); }
.bead-divider span:nth-child(4n+2) { background: var(--gold); }

/* -----------------------------------------------------------
   Scoop-rim card — scalloped top edge cut with a radial-gradient
   mask, echoing the pink tub rim in the brand mark.
----------------------------------------------------------- */
.scoop-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  padding-top: 14px;
}
.scoop-card::before {
  content: "";
  display: block;
  height: 14px;
  background:
    radial-gradient(circle at 10px 0, transparent 9px, var(--white) 9.5px) 0 -1px / 20px 14px repeat-x;
  position: relative;
  z-index: 2;
}

/* -----------------------------------------------------------
   Top announcement bar
----------------------------------------------------------- */
.announce {
  background: linear-gradient(90deg, var(--pink-dark), var(--pink));
  color: var(--white);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 9px 16px;
}

/* -----------------------------------------------------------
   Header / nav
----------------------------------------------------------- */
.site-header {
  background: rgba(255, 246, 249, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--pink-dark);
}
.brand img { width: 46px; height: 46px; border-radius: 50%; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--ink);
}
.main-nav a.active,
.main-nav a:hover { color: var(--pink-dark); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--pink);
  color: var(--pink-dark);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 0.9rem;
}
.cart-pill__count {
  background: var(--pink);
  color: var(--white);
  border-radius: 999px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--pink-dark);
  cursor: pointer;
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 10px 0; width: 100%; }
  .nav-toggle { display: block; }
}

/* -----------------------------------------------------------
   Hero
----------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 15% 20%, var(--cream-deep), var(--cream) 55%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 24px 40px;
  max-width: 1180px;
  margin: 0 auto;
}
.hero__art {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}
.hero__art img { border-radius: 50%; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream-deep);
  color: var(--pink-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero__cta { display: flex; gap: 14px; margin: 28px 0; flex-wrap: wrap; }
.hero__badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge-pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 40px; }
  .hero__art { order: -1; max-width: 340px; margin: 0 auto; }
}

/* -----------------------------------------------------------
   Product grid + cards
----------------------------------------------------------- */
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-heading .eyebrow {
  display: block;
  color: var(--lilac);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 28px -12px rgba(140, 17, 80, 0.28);
}
.product-card__media {
  aspect-ratio: 1 / 1;
  background: var(--cream-deep);
  position: relative;
  overflow: hidden;
}
.product-card__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.product-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: var(--pink-deeper);
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 999px;
}
.product-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-card__name { font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.product-card__desc {
  color: var(--ink-soft);
  font-size: 0.85rem;
  flex: 1;
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.price { font-weight: 800; color: var(--pink-dark); font-size: 1.1rem; }
.price--strike { color: var(--ink-soft); text-decoration: line-through; font-weight: 500; font-size: 0.9rem; margin-right: 6px; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
}

/* -----------------------------------------------------------
   Category chips
----------------------------------------------------------- */
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 2px solid var(--line);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: var(--white);
}
.chip.active {
  border-color: var(--pink);
  color: var(--pink-dark);
  background: var(--cream-deep);
}

/* -----------------------------------------------------------
   Product options (per-product option groups, e.g. Quantity, Size, Video)
----------------------------------------------------------- */
.option-group { margin-bottom: 22px; }
.option-group__label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 10px;
  color: var(--ink);
}
.option-group__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.option-choice { cursor: pointer; }
.option-choice__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.option-choice__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: var(--white);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.option-choice__delta {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold);
}
.option-choice__input:checked + .option-choice__box .option-choice__delta {
  color: var(--pink-dark);
}
.option-choice__input:checked + .option-choice__box {
  border-color: var(--pink);
  color: var(--pink-dark);
  background: var(--cream-deep);
}
.option-choice__input:focus-visible + .option-choice__box {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* -----------------------------------------------------------
   Cart line options summary (shown under the product name)
----------------------------------------------------------- */
.cart-item__options {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* -----------------------------------------------------------
   Product detail page
----------------------------------------------------------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}
.product-detail__media {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 20px;
}
.product-detail__media img { border-radius: var(--radius-md); aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.stock-note { font-size: 0.85rem; font-weight: 700; }
.stock-note.in-stock { color: #1c8a5c; }
.stock-note.low-stock { color: var(--gold); }
.stock-note.out-stock { color: #c0392b; }

@media (max-width: 800px) {
  .product-detail { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------
   Forms
----------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--ink);
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--pink);
}
textarea { resize: vertical; min-height: 110px; }
.field { margin-bottom: 18px; }
.field-hint { font-size: 0.78rem; color: var(--ink-soft); margin-top: 4px; }

/* -----------------------------------------------------------
   Cards / panels used across cart, checkout, about, contact
----------------------------------------------------------- */
.panel {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px;
}

/* Cart table */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}
.cart-table td {
  padding: 16px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); }
.qty-input {
  width: 64px;
  padding: 8px;
  text-align: center;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
}
.remove-link { color: var(--ink-soft); font-size: 0.82rem; font-weight: 700; text-decoration: underline; }
.remove-link:hover { color: var(--pink-dark); }

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.95rem;
}
.summary-row.total {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--pink-dark);
  border-top: 2px solid var(--line);
  margin-top: 8px;
  padding-top: 14px;
}

/* Alerts / flash messages */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 20px;
}
.alert--success { background: #e3f6ec; color: #1c7a4b; }
.alert--error { background: #fde8e8; color: #b02a2a; }
.alert--info { background: var(--cream-deep); color: var(--pink-dark); }

/* -----------------------------------------------------------
   Footer
----------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, var(--white), var(--cream-deep));
  border-top: 1px solid var(--line);
  padding: 48px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.footer-grid h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--pink-dark); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; color: var(--ink-soft); }
.footer-bottom {
  text-align: center;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-soft);
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

/* -----------------------------------------------------------
   About / Contact page extras
----------------------------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.value-card__icon { font-size: 1.6rem; margin-bottom: 10px; display: block; }

/* Media variant — full-bleed image "header" that shares the card's own
   rounded corners (via overflow:hidden clipping, not a separate radius),
   so the image never looks like a separate pasted-on box. */
.value-card--media { padding: 0; overflow: hidden; text-align: center; }
.value-card--media .value-card__media {
  width: 100%;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  display: block;
}
.value-card--media .value-card__body {
  padding: 22px;
}
.value-card--media .value-card__body h3 { margin-top: 0; }

/* -----------------------------------------------------------
   Utility
----------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--ink-soft); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
