@charset "UTF-8";
@import url("fonts.css");
/* ==========================================================================
   BeadCrush — handmade beaded jewellery
   Design tokens + component styles. Shared by the WordPress theme and the
   static preview, so what you see in preview/ is what the theme renders.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Core palette. Every text/background pair below clears WCAG AA (4.5:1). */
  --ink:            #2E1626;  /* warm plum-brown. Body text, headings.       */
  --ink-soft:       #6B5460;  /* secondary copy, captions.        6.66:1     */
  --cream:          #FFFBF8;  /* page base. Warm ivory, not white.           */
  --blush:          #FDF0EC;  /* soft band for alternating sections.         */
  --blush-deep:     #FADDD6;  /* hero wash, hover fills.                     */
  --crush:          #C81E5A;  /* the pink. CTAs, prices, active nav. 5.54:1  */
  --crush-dark:     #A81549;  /* pressed / hover state.                      */
  --lilac:          #6D3B8E;  /* second brand colour, from the wordmark.     */
  --mint:           #2F7D72;  /* third bead accent, used sparingly.          */
  --gold:           #9A6B12;  /* the thread. Hairlines, small marks. 4.55:1  */
  --white:          #FFFFFF;
  --line:           #F0DFD9;  /* hairline borders on cream.                  */
  --danger:         #B3261E;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body:    "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* A 1.25 scale, clamped so it breathes on desktop without breaking mobile. */
  --t-xs:   0.75rem;
  --t-sm:   0.875rem;
  --t-base: 1rem;
  --t-lg:   1.125rem;
  --t-xl:   clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --t-2xl:  clamp(1.5rem,  1.3rem + 1vw,   2rem);
  --t-3xl:  clamp(1.875rem, 1.5rem + 1.8vw, 2.75rem);
  --t-4xl:  clamp(2.5rem,  1.9rem + 3vw,   4.25rem);

  /* Space — 4px base */
  --s-1: 0.25rem;  --s-2: 0.5rem;   --s-3: 0.75rem;  --s-4: 1rem;
  --s-5: 1.25rem;  --s-6: 1.5rem;   --s-8: 2rem;     --s-10: 2.5rem;
  --s-12: 3rem;    --s-16: 4rem;    --s-20: 5rem;    --s-24: 6rem;

  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(46, 22, 38, 0.05);
  --shadow:    0 4px 16px rgba(46, 22, 38, 0.07);
  --shadow-lg: 0 14px 38px rgba(46, 22, 38, 0.12);

  --container: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 220ms;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* The closed mobile drawer sits translated past the right edge. `clip`
     contains it without creating a scroll container, so the sticky header
     keeps working — `hidden` here would break it. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

/* Every icon from beadcrush_icon() carries .icon. Without a default size an
   unstyled icon inherits the SVG default of 300×150 and wrecks its container. */
.icon { width: 20px; height: 20px; flex: 0 0 auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-4);
  /* Fraunces variable axes: a little softness and wonk reads handmade. */
  font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 40;
}

h1 { font-size: var(--t-4xl); }
h2 { font-size: var(--t-3xl); }
h3 { font-size: var(--t-xl); }

p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--crush); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--crush-dark); }

/* Visible keyboard focus everywhere — never removed. */
:focus-visible {
  outline: 3px solid var(--lilac);
  outline-offset: 2px;
  border-radius: 4px;
}

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 200;
  background: var(--ink); color: var(--white); padding: var(--s-3) var(--s-5);
  border-radius: var(--radius-pill); text-decoration: none;
}
.skip-link:focus { top: var(--s-4); color: var(--white); }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-5);
}

.section { padding-block: var(--s-20); }
.section--tight { padding-block: var(--s-12); }
.section--blush { background: var(--blush); }

.stack > * + * { margin-top: var(--s-4); }

/* --------------------------------------------------------------------------
   4. The signature: a bead strand
   Beads threaded on a gold hairline. Pure CSS so it costs nothing. Used as
   section dividers and heading underlines throughout.
   -------------------------------------------------------------------------- */
.bead-rule {
  --bead: 4px;
  height: 16px;
  border: 0;
  margin: 0;
  background-repeat: repeat-x, no-repeat;
  background-position: left center, center;
  background-size: 72px 16px, 100% 1px;
  background-image:
    radial-gradient(circle at 12px 8px, var(--crush) var(--bead), transparent calc(var(--bead) + 0.5px)),
    linear-gradient(var(--gold), var(--gold));
}
/* Three bead colours across a 72px repeat, so the strand reads as mixed beads. */
.bead-rule--full {
  background-image:
    radial-gradient(circle at 12px 8px, var(--crush) var(--bead), transparent calc(var(--bead) + 0.5px)),
    radial-gradient(circle at 36px 8px, var(--lilac) var(--bead), transparent calc(var(--bead) + 0.5px)),
    radial-gradient(circle at 60px 8px, var(--mint) var(--bead), transparent calc(var(--bead) + 0.5px)),
    linear-gradient(var(--gold), var(--gold));
  background-size: 72px 16px, 72px 16px, 72px 16px, 100% 1px;
  background-repeat: repeat-x, repeat-x, repeat-x, no-repeat;
  background-position: left center, left center, left center, center;
}

/* Section heading with a short strand beneath it. */
.section-head { text-align: center; margin-bottom: var(--s-12); }
.section-head p { color: var(--ink-soft); max-width: 56ch; margin-inline: auto; }
.section-head .bead-rule { width: 132px; margin: var(--s-4) auto 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--crush); margin-bottom: var(--s-3);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--gold);
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: var(--s-4) var(--s-8);
  min-height: 48px;                    /* 44px+ touch target */
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700; font-size: var(--t-base); line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--crush); color: var(--white); }
.btn--primary:hover { background: var(--crush-dark); color: var(--white); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }

.btn--soft { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--soft:hover { border-color: var(--crush); color: var(--crush); }

.btn__arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 251, 248, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-6); min-height: 84px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
/* Covers both the bundled SVG <img> and a Customizer-uploaded custom logo. */
.brand img, .brand svg, .brand .custom-logo { height: 52px; width: auto; max-width: none; }

.nav { display: flex; align-items: center; gap: var(--s-8); }
/* wp_nav_menu emits <li> items. Without this they keep their list markers and
   the header renders a row of bullets. `display: contents` lets the <a> sit
   directly in the flex row so the gap and underline still line up. */
.nav ul { display: contents; list-style: none; margin: 0; padding: 0; }
.nav li { list-style: none; display: contents; }
.nav a {
  position: relative;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--t-sm);
  padding-block: var(--s-2);
  transition: color var(--dur) var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--crush); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--crush); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: var(--s-2); }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;                 /* touch target */
  border: 0; background: transparent; border-radius: 50%;
  color: var(--ink); text-decoration: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.icon-btn:hover { background: var(--blush-deep); color: var(--crush); }
.icon-btn svg { width: 22px; height: 22px; }

.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 2px; right: 2px;
  min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center;
  background: var(--crush); color: var(--white);
  font-size: 11px; font-weight: 700; line-height: 1;
  border-radius: var(--radius-pill);
}

/* Both of these belong to the mobile drawer only, as do the in-drawer
   search/account links that replace the header icons on narrow screens. */
.nav-toggle, .nav-close, .nav__narrow { display: none; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 88% 15%, var(--blush-deep) 0%, transparent 55%),
    linear-gradient(180deg, var(--blush) 0%, var(--cream) 100%);
}
.hero__inner {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: var(--s-12); align-items: center;
  padding-block: var(--s-24);
}
.hero h1 { margin-bottom: var(--s-5); }
.hero h1 em {
  font-style: normal; color: var(--crush); display: block;
  font-variation-settings: "SOFT" 60, "WONK" 1, "opsz" 144;
}
.hero__lead { font-size: var(--t-lg); color: var(--ink-soft); max-width: 46ch; margin-bottom: var(--s-8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1; object-fit: cover;
}
/* The strand arcs out of the product photo and ties the two columns together. */
.hero__arc { position: absolute; inset: -8% -12% auto -18%; z-index: -1; opacity: 0.75; }

.hero__note {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--t-sm); color: var(--ink-soft);
}
.hero__note strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   8. Trust strip — one thin band, not a full section on every page
   -------------------------------------------------------------------------- */
.trust {
  border-block: 1px solid var(--line);
  background: var(--white);
}
.trust ul {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6); list-style: none; margin: 0; padding: var(--s-6) 0;
}
.trust li { display: flex; align-items: center; gap: var(--s-3); justify-content: center; }
.trust svg { width: 26px; height: 26px; color: var(--crush); flex-shrink: 0; }
.trust b { display: block; font-size: var(--t-sm); font-weight: 700; line-height: 1.3; }
.trust span { font-size: var(--t-xs); color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   9. Product cards
   White cards on cream, so the pink product photography pops instead of
   blending into a pink card as it did in the original.
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-6);
  list-style: none; margin: 0; padding: 0;
}
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }

.product {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blush-deep); }

.product__media { position: relative; background: var(--blush); aspect-ratio: 1 / 1; }
.product__media img { width: 100%; height: 100%; object-fit: cover; }

.product__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-1); flex-grow: 1; }
.product__cat { font-size: var(--t-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.product__title { font-family: var(--font-body); font-size: var(--t-base); font-weight: 700; margin: 0; line-height: 1.35; }
.product__title a { color: var(--ink); text-decoration: none; }
/* Stretched link: the whole card is clickable, but only the title is in the
   tab order — no duplicate stops for keyboard and screen-reader users. */
.product__title a::after { content: ""; position: absolute; inset: 0; }
.product:hover .product__title a { color: var(--crush); }

.product__price { margin-top: auto; padding-top: var(--s-2); font-weight: 700; color: var(--crush); }
.product__price del { color: var(--ink-soft); font-weight: 500; margin-right: var(--s-2); }

.product__badge {
  /* Decorative label — must not swallow clicks meant for the card's link. */
  pointer-events: none;
  position: absolute; top: var(--s-3); left: var(--s-3); z-index: 2;
  background: var(--ink); color: var(--white);
  font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: var(--s-1) var(--s-3); border-radius: var(--radius-pill);
}
.product__badge--sale { background: var(--crush); }

.wishlist {
  position: absolute; top: var(--s-3); right: var(--s-3); z-index: 3;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.94); border: 0; border-radius: 50%;
  color: var(--ink-soft); box-shadow: var(--shadow-sm);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.wishlist:hover { color: var(--crush); transform: scale(1.08); }
.wishlist[aria-pressed="true"] { color: var(--crush); }
.wishlist[aria-pressed="true"] svg { fill: currentColor; }
.wishlist svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* --------------------------------------------------------------------------
   10. Category rail
   -------------------------------------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); list-style: none; margin: 0; padding: 0; }
.cat {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; aspect-ratio: 4 / 3; background: var(--blush);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
/* contain, not cover: these are whole objects — cropping lops off the charm.
   The letterboxing is invisible because the art's own ground is --blush too. */
.cat img { width: 100%; height: 100%; object-fit: contain; object-position: center 38%; }
.cat__label {
  position: absolute; inset-inline: var(--s-3); bottom: var(--s-3);
  background: rgba(255, 251, 248, 0.95);
  border-radius: var(--radius-pill);
  padding: var(--s-3) var(--s-5);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  color: var(--ink); font-weight: 700; font-size: var(--t-sm);
}
.cat__label span { color: var(--ink-soft); font-weight: 500; font-size: var(--t-xs); }

/* --------------------------------------------------------------------------
   11. Page header (inner pages)
   -------------------------------------------------------------------------- */
.page-head {
  background:
    radial-gradient(80% 120% at 15% 0%, var(--blush-deep) 0%, transparent 60%),
    var(--blush);
  padding-block: var(--s-16);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-head h1 { margin-bottom: var(--s-3); }
.breadcrumb { font-size: var(--t-sm); color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--crush); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--crush); font-weight: 600; }

/* --------------------------------------------------------------------------
   12. Shop layout
   -------------------------------------------------------------------------- */
.shop-layout { display: grid; grid-template-columns: 244px 1fr; gap: var(--s-12); align-items: start; }

.filters { position: sticky; top: 108px; }
.filters h2 { font-size: var(--t-base); font-family: var(--font-body); font-weight: 700; margin-bottom: var(--s-4); }
.filters + .filters, .filter-group + .filter-group { margin-top: var(--s-8); }
.filter-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-1); }
.filter-group a {
  display: flex; justify-content: space-between; gap: var(--s-3);
  padding: var(--s-2) var(--s-3); margin-inline: calc(var(--s-3) * -1);
  border-radius: var(--radius); color: var(--ink); text-decoration: none; font-size: var(--t-sm);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.filter-group a:hover { background: var(--blush); color: var(--crush); }
.filter-group a[aria-current="true"] { color: var(--crush); font-weight: 700; background: var(--blush); }
.filter-group a span { color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* Scoped to beat `.filter-group ul { display: grid }`, which would otherwise
   stack the swatches one per row. */
.filter-group ul.swatches { display: flex; flex-wrap: wrap; gap: var(--s-3); padding: 0; margin: 0; list-style: none; }
.swatch {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  padding: 0; cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.swatch:hover { transform: scale(1.12); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px var(--ink); }

/* WooCommerce's price-filter widget arrives in its own purple (#7f54b3).
   Its selectors are four classes deep (.woocommerce .widget_price_filter
   .ui-slider .ui-slider-range), so these have to match that specificity —
   loading later is not enough on its own. */
.woocommerce .widget_price_filter .price_slider_wrapper { padding-top: var(--s-2); }
.woocommerce .widget_price_filter .price_slider {
  position: relative; height: 4px; margin: var(--s-5) 9px var(--s-6);
  background: var(--blush-deep); border: 0; border-radius: var(--radius-pill);
}
.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
  background-color: var(--crush); border-radius: var(--radius-pill);
}
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
  width: 18px; height: 18px; top: -0.45em; margin-left: -9px;
  background-color: var(--white);
  border: 2px solid var(--crush); border-radius: 50%;
  box-shadow: var(--shadow-sm); cursor: grab;
}
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle:active { cursor: grabbing; }
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle:focus-visible {
  outline: 3px solid var(--lilac); outline-offset: 2px;
}
.price_slider_amount {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3); flex-wrap: wrap; font-size: var(--t-sm); color: var(--ink-soft);
}
.price_slider_amount .price_label { order: 1; }
.woocommerce .widget_price_filter .price_slider_amount .button,
.price_slider_amount .button {
  order: 2;
  padding: var(--s-2) var(--s-5); min-height: 40px;
  background: var(--ink); color: var(--white);
  border: 0; border-radius: var(--radius-pill);
  font-size: var(--t-sm); font-weight: 700; cursor: pointer;
  transition: background-color var(--dur) var(--ease);
}
.price_slider_amount .button:hover { background: var(--crush); }
.price_slider_amount input[type="text"] { display: none; }

.shop-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-6);
}
.shop-bar p { color: var(--ink-soft); font-size: var(--t-sm); margin: 0; }
.select {
  appearance: none; -webkit-appearance: none;
  padding: var(--s-3) var(--s-10) var(--s-3) var(--s-4); min-height: 44px;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  background-color: var(--white); font-size: var(--t-sm); font-weight: 600;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232E1626' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--s-4) center;
}

/* WooCommerce renders its own ordering form and result count — give them the
   same treatment as the theme's demo markup so the two are indistinguishable. */
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select.orderby {
  appearance: none; -webkit-appearance: none;
  padding: var(--s-3) var(--s-10) var(--s-3) var(--s-4); min-height: 44px;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  background-color: var(--white); color: var(--ink);
  font-size: var(--t-sm); font-weight: 600;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232E1626' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--s-4) center;
}
.woocommerce-result-count { margin: 0; color: var(--ink-soft); font-size: var(--t-sm); }

/* WooCommerce pagination uses its own list classes. */
.woocommerce-pagination ul.page-numbers {
  display: flex; justify-content: center; gap: var(--s-2);
  margin-top: var(--s-12); list-style: none; padding: 0; border: 0;
}
.woocommerce-pagination ul.page-numbers li { border: 0; }
.woocommerce-pagination .page-numbers {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding-inline: var(--s-3);
  border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--t-sm);
  background: var(--white);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.woocommerce-pagination a.page-numbers:hover { border-color: var(--crush); color: var(--crush); }
.woocommerce-pagination .page-numbers.current { background: var(--crush); border-color: var(--crush); color: var(--white); }

.pagination { display: flex; justify-content: center; gap: var(--s-2); margin-top: var(--s-12); list-style: none; padding: 0; }
.pagination a, .pagination span {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding-inline: var(--s-3);
  border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--t-sm);
  background: var(--white);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.pagination a:hover { border-color: var(--crush); color: var(--crush); }
.pagination [aria-current="page"] { background: var(--crush); border-color: var(--crush); color: var(--white); }

/* --------------------------------------------------------------------------
   13. About page
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-16); align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-8); list-style: none; margin: 0; padding: 0; }
.value { text-align: center; }
.value__icon {
  width: 62px; height: 62px; margin: 0 auto var(--s-4);
  display: grid; place-items: center; border-radius: 50%;
  /* White, not blush — these sit on a blush section, where blush is invisible. */
  background: var(--white); border: 1px solid var(--line); color: var(--crush);
}
.value__icon svg { width: 26px; height: 26px; }
.value__icon svg { width: 27px; height: 27px; }
.value h3 { font-size: var(--t-base); font-family: var(--font-body); font-weight: 700; margin-bottom: var(--s-2); }
.value p { font-size: var(--t-sm); color: var(--ink-soft); margin: 0; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-8); text-align: center; }
.stat__num {
  font-family: var(--font-display); font-size: var(--t-3xl); font-weight: 600; color: var(--crush);
  display: block; line-height: 1;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 100;
}
.stat__label { font-size: var(--t-sm); color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   13b. Custom orders band + numbered steps
   The numbering is kept because these genuinely are sequential steps — it
   encodes order the reader needs, rather than decorating the list.
   -------------------------------------------------------------------------- */
.steps { list-style: none; counter-reset: step; margin: var(--s-8) 0; padding: 0; display: grid; gap: var(--s-5); }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 38px 1fr; gap: var(--s-4); align-items: start;
  font-size: var(--t-sm); color: var(--ink-soft);
}
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--gold);
  font-family: var(--font-display); font-size: var(--t-base); font-weight: 600; color: var(--gold);
}
.steps b { display: block; color: var(--ink); font-size: var(--t-base); margin-bottom: 2px; }

.custom-band__media { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.custom-band__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.custom-band__media img:first-child { transform: rotate(-2deg); }
.custom-band__media img:last-child { transform: rotate(2deg); margin-top: var(--s-8); }

/* --------------------------------------------------------------------------
   13c. Reviews
   -------------------------------------------------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); list-style: none; margin: 0; padding: 0; }
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--s-8); display: flex; flex-direction: column; gap: var(--s-4);
}
.review__stars { display: flex; gap: 2px; color: var(--gold); }
.review__stars svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.review blockquote { margin: 0; }
.review blockquote p { font-size: var(--t-base); line-height: 1.65; }
.review footer { margin-top: auto; padding-top: var(--s-3); border-top: 1px solid var(--line); }
.review footer b { display: block; font-size: var(--t-sm); }
.review footer span { font-size: var(--t-xs); color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   14. Forms / contact
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--t-sm); font-weight: 600; }
.field .req { color: var(--crush); }
.field input, .field textarea, .field select {
  width: 100%; padding: var(--s-4); min-height: 52px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 156px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--crush);
  box-shadow: 0 0 0 3px rgba(200, 30, 90, 0.14);
}
.field .hint { font-size: var(--t-xs); color: var(--ink-soft); }

/* Form feedback. Never colour alone — an icon glyph carries the same meaning
   for anyone who cannot separate the two greens and reds. */
.form-notice {
  display: flex; gap: var(--s-3); align-items: flex-start;
  padding: var(--s-4); border-radius: var(--radius);
  font-size: var(--t-sm); margin: var(--s-5) 0 0;
  border: 1px solid;
}
.form-notice::before { font-weight: 700; }
.form-notice--ok { background: #EEF7F1; border-color: #B7DFC7; color: #1C5233; }
.form-notice--ok::before { content: "✓"; }
.form-notice--error { background: #FDEEEC; border-color: #F2BDB6; color: #8A1F16; }
.form-notice--error::before { content: "!"; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); }
.contact-list li { display: flex; gap: var(--s-4); align-items: flex-start; }
.contact-list .ci {
  width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 50%; background: var(--blush); color: var(--crush);
}
.contact-list .ci svg { width: 21px; height: 21px; }
.contact-list b { display: block; font-size: var(--t-sm); }
.contact-list a, .contact-list p { color: var(--ink-soft); text-decoration: none; margin: 0; font-size: var(--t-sm); }
.contact-list a:hover { color: var(--crush); text-decoration: underline; }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--s-8);
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--blush); border-top: 1px solid var(--line); padding-block: var(--s-16) var(--s-8); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.4fr; gap: var(--s-10); }
.footer-brand img, .footer-brand svg { height: 50px; width: auto; max-width: none; margin-bottom: var(--s-4); }
.footer-brand p { font-size: var(--t-sm); color: var(--ink-soft); max-width: 34ch; }
.site-footer h2 { font-family: var(--font-body); font-size: var(--t-sm); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--s-5); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.site-footer ul a { color: var(--ink-soft); text-decoration: none; font-size: var(--t-sm); }
.site-footer ul a:hover { color: var(--crush); text-decoration: underline; }

.socials { display: flex; gap: var(--s-3); margin-bottom: var(--s-6); }
.socials a {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: var(--white); color: var(--ink); border: 1px solid var(--line);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.socials a:hover { background: var(--crush); color: var(--white); border-color: var(--crush); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }

.newsletter { display: flex; gap: var(--s-2); }
.newsletter input {
  flex: 1; min-width: 0; padding: var(--s-3) var(--s-4); min-height: 48px;
  border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--white);
}
.newsletter input:focus { outline: none; border-color: var(--crush); box-shadow: 0 0 0 3px rgba(200, 30, 90, 0.14); }
.newsletter button {
  width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--crush); color: var(--white); border: 0; border-radius: 50%;
  transition: background-color var(--dur) var(--ease);
}
.newsletter button:hover { background: var(--crush-dark); }

.colophon {
  margin-top: var(--s-12); padding-top: var(--s-6); border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap;
  font-size: var(--t-sm); color: var(--ink-soft);
}
.colophon p { margin: 0; }

/* --------------------------------------------------------------------------
   16. Announcement bar
   -------------------------------------------------------------------------- */
.announce {
  background: var(--ink); color: var(--white);
  text-align: center; font-size: var(--t-sm); padding: var(--s-3) var(--s-5);
}
.announce b { color: var(--blush-deep); }

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__inner { padding-block: var(--s-16); gap: var(--s-8); }
  .product-grid, .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
  .split { gap: var(--s-10); }
  .values { grid-template-columns: repeat(2, 1fr); gap: var(--s-6); }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    border: 0; background: transparent; border-radius: 50%; color: var(--ink);
  }
  .nav-toggle svg { width: 24px; height: 24px; }
  /* backdrop-filter makes the header a containing block for position:fixed
     descendants, which sized the drawer to the header instead of the viewport.
     The blur buys nothing on a phone, so drop it below this breakpoint. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }

  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: var(--s-20) var(--s-6) var(--s-6);
    background: var(--cream); border-left: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
    z-index: 120;
  }
  .nav[data-open="true"] { transform: translateX(0); }
  /* In the drawer the items stack, so let the <li> be real blocks again. */
  .nav ul { display: block; }
  .nav li { display: block; }
  .nav a { display: block; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); font-size: var(--t-lg); }
  .nav a::after { display: none; }
  .nav-close { display: inline-grid; position: absolute; top: var(--s-4); right: var(--s-4); }

  .hero__inner { grid-template-columns: 1fr; padding-block: var(--s-12); }
  .hero__media { order: -1; }
  .hero__arc { display: none; }

  .shop-layout { grid-template-columns: 1fr; gap: var(--s-8); }
  .filters { position: static; }

  .split { grid-template-columns: 1fr; gap: var(--s-8); }
  .reviews { grid-template-columns: 1fr; }
  .trust ul { grid-template-columns: repeat(2, 1fr) !important; gap: var(--s-5); }
  .trust li { justify-content: flex-start; }
  .section { padding-block: var(--s-16); }
}

@media (max-width: 640px) {
  /* The brand lockup plus four 44px targets overflows a phone header, which
     pushed the menu button off-screen entirely. Search and account move into
     the drawer; cart and menu stay reachable in the bar. */
  .icon-btn--wide { display: none; }
  /* Needs to outrank `.nav a { display: block }` from the drawer breakpoint,
     or the icon and label stack instead of sitting side by side. */
  .nav a.nav__narrow {
    display: flex; align-items: center; gap: var(--s-3);
    padding: var(--s-4) 0; border-bottom: 1px solid var(--line);
    color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--t-lg);
  }
  .nav__narrow:hover { color: var(--crush); }

  .product-grid, .product-grid--3, .cat-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
  /* 4:3 leaves almost no room above the label once the card is half-width. */
  .cat { aspect-ratio: 1 / 1; }
  .cat__label { padding: var(--s-2) var(--s-4); font-size: var(--t-xs); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: var(--s-6); }
  .product__body { padding: var(--s-4); }
  .colophon { justify-content: center; text-align: center; }
  .site-header__inner { min-height: 68px; }
  .brand img, .brand svg, .brand .custom-logo { height: 40px; }
}

/* Two across is the norm for a phone shop grid; only drop to one on the
   genuinely tiny viewports where two would squeeze the price off the card. */
@media (max-width: 330px) {
  .product-grid, .product-grid--3, .cat-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   18. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover, .product:hover, .cat:hover, .socials a:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   19. Reveal on scroll — opt-in, and inert without JS or with reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 620ms var(--ease), transform 620ms var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   20. Motion — "beads catch the light"
   One idea, applied in a few deliberate places rather than scattered effects.
   Everything animates transform/opacity/background-position only, and the whole
   section is inert under prefers-reduced-motion.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {

  /* -- the signature: a glint travels the bead strand ----------------------- */
  .bead-rule { position: relative; overflow: hidden; }
  .bead-rule::after {
    content: "";
    position: absolute; inset: 0;
    pointer-events: none;
    background-image: radial-gradient(ellipse 46px 9px at center,
      rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%);
    background-repeat: no-repeat;
    background-size: 92px 100%;
    animation: bead-glint 6s linear infinite;
  }
  /* The footer strand is long — give it a slower, later pass so the two rules
     on screen at once never march in lockstep. */
  .site-footer .bead-rule::after { animation-duration: 9s; animation-delay: 1.5s; }

  @keyframes bead-glint {
    0%        { background-position: 0% center;   opacity: 0; }
    12%, 78%  { opacity: 1; }
    100%      { background-position: 100% center; opacity: 0; }
  }

  /* -- hero: one orchestrated entrance, not five separate ones -------------- */
  .hero__copy > * {
    opacity: 0;
    animation: rise 700ms var(--ease) both;
  }
  .hero__copy > *:nth-child(1) { animation-delay: 60ms; }
  .hero__copy > *:nth-child(2) { animation-delay: 150ms; }
  .hero__copy > *:nth-child(3) { animation-delay: 260ms; }
  .hero__copy > *:nth-child(4) { animation-delay: 360ms; }
  .hero__copy > *:nth-child(5) { animation-delay: 460ms; }

  .hero__media { opacity: 0; animation: settle 900ms var(--ease) 120ms both; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes settle {
    from { opacity: 0; transform: scale(0.965) translateY(10px); }
    to   { opacity: 1; transform: none; }
  }

  /* The bracelet rests, then drifts — a long, shallow float reads as weight,
     where a fast bob would read as a floating balloon. */
  .hero__media img { animation: drift 9s ease-in-out 1.2s infinite; }
  @keyframes drift {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-9px); }
  }

  /* A warm glow behind the product, breathing in time with the SVG's own halo */
  .hero__glow { animation: breathe 7s ease-in-out infinite; }
  @keyframes breathe {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50%      { opacity: 0.9;  transform: scale(1.06); }
  }

  /* -- product cards: light sweeps across the gloss on hover ---------------- */
  .product__media::after {
    content: "";
    position: absolute; inset: 0; z-index: 1;
    pointer-events: none;
    background: linear-gradient(102deg,
      transparent 38%, rgba(255, 255, 255, 0.6) 50%, transparent 62%);
    transform: translateX(-130%);
    transition: transform 760ms var(--ease);
  }
  .product:hover .product__media::after,
  .product:focus-within .product__media::after { transform: translateX(130%); }

  .cat img { transition: transform 560ms var(--ease); }
  .cat:hover img, .cat:focus-visible img { transform: scale(1.06); }

  /* -- buttons: the same sweep, quicker ------------------------------------- */
  .btn--primary::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(102deg,
      transparent 40%, rgba(255, 255, 255, 0.28) 50%, transparent 60%);
    transform: translateX(-130%);
    transition: transform 640ms var(--ease);
  }
  .btn--primary:hover::after { transform: translateX(130%); }

  /* -- wishlist: a pop plus one ring, so the tap is unmistakable ------------ */
  .wishlist[aria-pressed="true"] svg { animation: pop 440ms var(--ease); }
  @keyframes pop {
    0%   { transform: scale(1); }
    45%  { transform: scale(1.34); }
    100% { transform: scale(1); }
  }
  .wishlist[aria-pressed="true"]::after {
    content: "";
    position: absolute; inset: 0;
    border: 2px solid var(--crush);
    border-radius: 50%;
    animation: ring 560ms var(--ease) forwards;
  }
  @keyframes ring {
    from { opacity: 0.7; transform: scale(1); }
    to   { opacity: 0;   transform: scale(1.9); }
  }
}

/* The sweeps need a clipping context and a stacking order regardless of
   whether motion is enabled, so these live outside the media query. */
/* The sweep is clipped inside the media box, so the body needs no stacking
   fix — and must NOT be positioned, or it would capture the card's stretched
   title link and shrink the click target to the text block. */
.product__media { overflow: hidden; }
.btn--primary { position: relative; overflow: hidden; }
.btn--primary > * { position: relative; z-index: 1; }

.hero__glow {
  position: absolute;
  inset: 4% -6% 4% -6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side,
    rgba(250, 221, 214, 0.95), rgba(253, 240, 236, 0.5) 60%, transparent 78%);
  opacity: 0.7;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   21. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .hero__arc, .newsletter { display: none; }
  body { background: #fff; color: #000; }
}
