/* =========================================================================
   LoonBalloon — theme.css
   -------------------------------------------------------------------------
   One source of truth for colour, type, space and radius. Everything below
   the token block composes from these; if a value appears twice as a literal,
   that is a bug waiting to be a redesign.

   Colour choices are contrast-checked, not vibes-checked:
     ink   #1B1033 on cream #FFF9F4 .... 17.2:1   body text
     muted #6B5B8A on cream ............  5.8:1   secondary text  (AA)
     white on red-deep #D0134A .........  5.4:1   primary buttons (AA)
     ink   on sun #FFC93C .............. 11.7:1   secondary buttons
     grape-deep #5B3BE0 on white .......  6.7:1   links
   The bright red #FF3D68 is 3.4:1 on white: it is used for balloons, shapes
   and headline accents at large sizes only, never for body copy.
   ====================================================================== */

:root {
  /* ---- palette ---- */
  --lb-ink:        #1B1033;
  --lb-ink-soft:   #4A3B6B;
  --lb-muted:      #6B5B8A;
  --lb-cream:      #FFF9F4;
  --lb-white:      #FFFFFF;
  --lb-line:       #EDE4F2;

  --lb-red:        #FF3D68;
  --lb-red-deep:   #D0134A;
  --lb-sun:        #FFC93C;
  --lb-mint:       #2BD9A0;
  --lb-mint-deep:  #0E8F66;
  --lb-sky:        #2BB3FF;
  --lb-grape:      #7C5CFF;
  --lb-grape-deep: #5B3BE0;
  --lb-orange:     #FF8A3D;

  /* ---- type ---- */
  --lb-font-display: "Fredoka", ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  --lb-font-body:    "Nunito", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Fluid type: clamp() rather than breakpoint steps, so a 420px phone and a
     390px phone do not get visibly different headline sizes. */
  --lb-t-hero: clamp(2.4rem, 1.3rem + 4.4vw, 4.6rem);
  --lb-t-h1:   clamp(2rem,   1.3rem + 2.6vw, 3.1rem);
  --lb-t-h2:   clamp(1.6rem, 1.2rem + 1.7vw, 2.35rem);
  --lb-t-h3:   clamp(1.25rem,1.1rem + 0.8vw, 1.6rem);
  --lb-t-body: 1.0625rem;
  --lb-t-sm:   0.9375rem;
  --lb-t-xs:   0.8125rem;

  /* ---- space ---- */
  --lb-gap:      1.25rem;
  --lb-section:  clamp(3rem, 1.5rem + 5vw, 5.5rem);
  --lb-shell:    1240px;
  --lb-shell-narrow: 780px;
  --lb-pad:      clamp(1rem, 0.4rem + 2vw, 2rem);

  /* ---- shape ---- */
  --lb-r-xs:  8px;
  --lb-r-sm:  12px;
  --lb-r:     20px;
  --lb-r-lg:  32px;
  --lb-pill:  999px;

  /* Shadows are tinted, not grey. A neutral drop shadow on a candy palette
     reads as dirt; a shadow carrying the ink hue reads as depth. */
  --lb-shadow-sm: 0 2px 6px rgba(27, 16, 51, .07);
  --lb-shadow:    0 10px 30px rgba(27, 16, 51, .10);
  --lb-shadow-lg: 0 24px 60px rgba(27, 16, 51, .16);
  --lb-shadow-pop: 0 6px 0 var(--lb-red-deep);

  --lb-ring: 0 0 0 3px #FFF, 0 0 0 6px var(--lb-grape-deep);
}

/* =============================== base ================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--lb-cream);
  color: var(--lb-ink);
  font-family: var(--lb-font-body);
  font-size: var(--lb-t-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--lb-grape-deep); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--lb-red-deep); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--lb-ring);
  border-radius: var(--lb-r-xs);
}

h1, h2, h3, h4, h5, h6, .lb-display {
  font-family: var(--lb-font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--lb-ink);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--lb-t-h1); }
h2 { font-size: var(--lb-t-h2); }
h3 { font-size: var(--lb-t-h3); }

p { margin: 0 0 1em; text-wrap: pretty; }

.lb-muted { color: var(--lb-muted); }
.lb-lead  { font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); color: var(--lb-ink-soft); }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.lb-skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 999;
  background: var(--lb-ink); color: #fff; padding: .75rem 1.25rem;
  border-radius: var(--lb-pill); font-weight: 700; transition: top .2s;
}
.lb-skip-link:focus { top: 1rem; color: #fff; }

/* ============================== layout ================================= */

.lb-shell { width: min(var(--lb-shell), 100% - (2 * var(--lb-pad))); margin-inline: auto; }
.lb-shell--narrow { width: min(var(--lb-shell-narrow), 100% - (2 * var(--lb-pad))); }

.lb-section { padding-block: var(--lb-section); position: relative; }
.lb-section--tight { padding-block: calc(var(--lb-section) * .6); }
.lb-section--white { background: var(--lb-white); }
.lb-section--ink { background: var(--lb-ink); color: #fff; }
.lb-section--ink h2, .lb-section--ink h3 { color: #fff; }

.lb-section__head { text-align: center; max-width: 44rem; margin: 0 auto clamp(1.75rem, 1rem + 2vw, 3rem); }
.lb-section__head p { color: var(--lb-muted); margin-bottom: 0; }

.lb-eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--lb-font-display); font-weight: 600;
  font-size: var(--lb-t-xs); letter-spacing: .12em; text-transform: uppercase;
  color: var(--lb-red-deep); background: #FFE7EE;
  padding: .35rem .8rem; border-radius: var(--lb-pill); margin-bottom: .9rem;
}

/* Confetti: a tiled SVG rather than dozens of DOM nodes. It is decorative, so
   it is a background and never announced to a screen reader. */
.lb-confetti { position: relative; }
/* Content inside a confetti panel is lifted above the pattern. Without this the
   dots land ON the headline and the input field, which reads as artefacting
   rather than decoration. */
.lb-confetti > * { position: relative; z-index: 1; }
.lb-confetti::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .34;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Crect fill='%23FFC93C' x='12' y='18' width='7' height='7' rx='2' transform='rotate(24 15 21)'/%3E%3Ccircle fill='%232BD9A0' cx='92' cy='30' r='4'/%3E%3Crect fill='%237C5CFF' x='66' y='84' width='6' height='6' rx='2' transform='rotate(-18 69 87)'/%3E%3Ccircle fill='%23FF3D68' cx='30' cy='92' r='3.5'/%3E%3Crect fill='%232BB3FF' x='100' y='96' width='7' height='7' rx='2' transform='rotate(38 103 99)'/%3E%3Ccircle fill='%23FF8A3D' cx='58' cy='48' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

/* ============================== buttons ================================ */

.lb-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
  --btn-bg: var(--lb-red-deep);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--lb-font-display); font-weight: 600; font-size: 1rem;
  line-height: 1; text-decoration: none; cursor: pointer;
  padding: .95rem 1.6rem; border: 0; border-radius: var(--lb-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  box-shadow: 0 4px 0 rgba(27,16,51,.18);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.lb-btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce #respond input#submit:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(27,16,51,.20);
  background: var(--btn-bg); color: var(--btn-fg);
}
.lb-btn:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(27,16,51,.2); }

.lb-btn--sun   { --btn-bg: var(--lb-sun);   --btn-fg: var(--lb-ink); }
.lb-btn--mint  { --btn-bg: var(--lb-mint);  --btn-fg: var(--lb-ink); }
.lb-btn--ink   { --btn-bg: var(--lb-ink);   --btn-fg: #fff; }
.lb-btn--ghost {
  --btn-bg: rgba(255,255,255,.82); --btn-fg: var(--lb-ink);
  box-shadow: inset 0 0 0 2px var(--lb-ink);
}
.lb-btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--lb-ink); background: rgba(27,16,51,.06); }
.lb-btn--lg { padding: 1.15rem 2.1rem; font-size: 1.08rem; }
.lb-btn--block { width: 100%; }

/* ============================== header ================================= */

.lb-announce {
  background: linear-gradient(90deg, var(--lb-grape), var(--lb-red) 45%, var(--lb-orange));
  color: #fff; text-align: center;
  font-size: var(--lb-t-sm); font-weight: 700;
  padding: .55rem var(--lb-pad);
}
.lb-announce a { color: #fff; text-underline-offset: .2em; }

.lb-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,249,244,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--lb-line);
}
.lb-header__bar {
  display: flex; align-items: center; gap: var(--lb-gap);
  min-height: 72px; padding-block: .5rem;
}
.lb-brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; flex: 0 0 auto; }
.lb-brand__mark { width: 42px; height: 42px; flex: 0 0 auto; }
.lb-brand__name {
  font-family: var(--lb-font-display); font-weight: 700; font-size: 1.4rem;
  color: var(--lb-ink); letter-spacing: -.02em; line-height: 1;
}
.lb-brand__name em { font-style: normal; color: var(--lb-red-deep); }

.lb-nav { margin-inline-start: auto; }
.lb-nav ul { list-style: none; display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; }
.lb-nav li { position: relative; }
.lb-nav a {
  display: block; padding: .6rem .85rem; border-radius: var(--lb-pill);
  font-weight: 700; font-size: var(--lb-t-sm); color: var(--lb-ink); text-decoration: none;
}
.lb-nav a:hover { background: #FFE7EE; color: var(--lb-red-deep); }
.lb-nav .current-menu-item > a, .lb-nav .current_page_item > a { background: var(--lb-sun); color: var(--lb-ink); }

.lb-nav .sub-menu {
  position: absolute; top: calc(100% + .4rem); left: 0; min-width: 14rem;
  background: #fff; border: 1px solid var(--lb-line); border-radius: var(--lb-r);
  box-shadow: var(--lb-shadow); padding: .5rem; flex-direction: column; gap: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.lb-nav li:hover > .sub-menu,
.lb-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.lb-header__actions { display: flex; align-items: center; gap: .4rem; flex: 0 0 auto; }
.lb-icon-btn {
  display: inline-flex; align-items: center; justify-content: center; position: relative;
  width: 44px; height: 44px; border-radius: var(--lb-pill);
  background: transparent; border: 0; cursor: pointer; color: var(--lb-ink); text-decoration: none;
}
.lb-icon-btn:hover { background: #FFE7EE; color: var(--lb-red-deep); }
.lb-cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 20px; height: 20px;
  display: grid; place-items: center; padding: 0 5px;
  background: var(--lb-red-deep); color: #fff;
  font-size: 11px; font-weight: 800; line-height: 1; border-radius: var(--lb-pill);
}
.lb-burger { display: none; }

/* The search field collapses to an icon on small screens rather than
   disappearing: a shop where you cannot search is a catalogue, not a shop. */
.lb-search { flex: 1 1 auto; max-width: 26rem; }
.lb-search form { display: flex; align-items: center; gap: .4rem;
  background: #fff; border: 2px solid var(--lb-line); border-radius: var(--lb-pill); padding: .25rem .3rem .25rem 1rem; }
.lb-search input[type="search"] {
  flex: 1; border: 0; outline: none; background: transparent;
  font: inherit; font-size: var(--lb-t-sm); color: var(--lb-ink); min-width: 0;
}
.lb-search button { border: 0; background: var(--lb-ink); color: #fff; width: 36px; height: 36px;
  border-radius: var(--lb-pill); display: grid; place-items: center; cursor: pointer; }

@media (max-width: 1024px) {
  .lb-burger { display: inline-flex; }
  .lb-nav {
    position: fixed; inset: 0 0 0 auto; width: min(22rem, 86vw);
    background: #fff; box-shadow: var(--lb-shadow-lg); padding: 5rem 1.25rem 2rem;
    transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; z-index: 60;
  }
  .lb-nav[data-open="true"] { transform: none; }
  .lb-nav ul { flex-direction: column; align-items: stretch; gap: .15rem; }
  .lb-nav a { padding: .8rem 1rem; font-size: 1rem; }
  .lb-nav .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 3px solid var(--lb-line);
    border-radius: 0; margin-left: 1rem; padding-left: .25rem;
  }
  .lb-nav-scrim {
    position: fixed; inset: 0; background: rgba(27,16,51,.45); z-index: 55;
    opacity: 0; visibility: hidden; transition: opacity .25s;
  }
  .lb-nav-scrim[data-open="true"] { opacity: 1; visibility: visible; }
  .lb-search { order: 10; flex-basis: 100%; max-width: none; padding-bottom: .6rem; }
}

/* =============================== hero ================================== */

.lb-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -10%, #FFE7EE 0%, transparent 60%),
    radial-gradient(900px 480px at 6% 8%, #E6F6FF 0%, transparent 58%),
    var(--lb-cream);
}
.lb-hero.lb-confetti::before { opacity: .22; }
.lb-hero__grid {
  display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: center;
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 5rem) clamp(3rem, 2rem + 5vw, 6rem);
}
@media (min-width: 900px) { .lb-hero.lb-confetti::before { opacity: .22; }
.lb-hero__grid { grid-template-columns: 1.05fr .95fr; } }

.lb-hero h1 { font-size: var(--lb-t-hero); font-weight: 700; margin-bottom: .35em; }
/* Painted as a background gradient rather than a positioned pseudo-element:
   a pseudo-element needs a stacking context to sit behind the glyphs, and the
   moment the heading gains one for any other reason the bar disappears. A
   background band cannot break that way, and it wraps with the text. */
.lb-hero h1 .lb-pop {
  color: var(--lb-red-deep);
  background-image: linear-gradient(transparent 58%, #FFDF8F 58%, #FFDF8F 92%, transparent 92%);
  padding-inline: .06em;
}
.lb-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.lb-hero__trust {
  display: flex; flex-wrap: wrap; gap: 1.1rem 1.75rem; margin-top: 2rem;
  font-size: var(--lb-t-sm); color: var(--lb-muted); font-weight: 600;
}
.lb-hero__trust span { display: inline-flex; align-items: center; gap: .45rem; }

/* The balloon cluster. Each balloon floats on its own offset cycle so the
   group never pulses in lockstep, which is what makes CSS motion look cheap. */
.lb-hero__art { position: relative; min-height: 320px; }
.lb-balloon { position: absolute; width: 30%; transform-origin: 50% 100%; }
.lb-balloon--1 { left: 4%;  top: 6%;  width: 34%; animation: lb-float 7s ease-in-out infinite; }
.lb-balloon--2 { left: 34%; top: 0;   width: 38%; animation: lb-float 8.5s ease-in-out infinite .6s; }
.lb-balloon--3 { left: 64%; top: 10%; width: 32%; animation: lb-float 6.4s ease-in-out infinite 1.2s; }
.lb-balloon--4 { left: 18%; top: 46%; width: 26%; animation: lb-float 9s   ease-in-out infinite .3s; }
.lb-balloon--5 { left: 54%; top: 52%; width: 28%; animation: lb-float 7.6s ease-in-out infinite 1.5s; }

@keyframes lb-float {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-16px) rotate(1.5deg); }
}

/* ============================ category tiles =========================== */

.lb-tiles {
  display: grid; gap: var(--lb-gap);
  grid-template-columns: repeat(auto-fit, minmax(min(21rem, 100%), 1fr));
}
.lb-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 15rem; padding: 1.25rem; border-radius: var(--lb-r-lg);
  background: var(--lb-white); box-shadow: var(--lb-shadow-sm);
  text-decoration: none; color: var(--lb-ink); overflow: hidden; isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease;
}
.lb-tile:hover { transform: translateY(-4px); box-shadow: var(--lb-shadow); color: var(--lb-ink); }
.lb-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.lb-tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(27,16,51,0) 30%, rgba(27,16,51,.35) 62%, rgba(27,16,51,.82) 100%);
}
.lb-tile--has-image { color: #fff; }
.lb-tile--has-image .lb-tile__name, .lb-tile--has-image .lb-tile__count { color: #fff; }
.lb-tile__name { font-family: var(--lb-font-display); font-weight: 600; font-size: 1.2rem; }
.lb-tile__count { font-size: var(--lb-t-xs); color: var(--lb-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

/* Colour-blocked fallback so an empty catalogue still looks designed rather
   than broken. Cycles through the palette by nth-child. */
.lb-tile:not(.lb-tile--has-image):nth-child(6n+1) { background: #FFE7EE; }
.lb-tile:not(.lb-tile--has-image):nth-child(6n+2) { background: #FFF3D6; }
.lb-tile:not(.lb-tile--has-image):nth-child(6n+3) { background: #E1FBF1; }
.lb-tile:not(.lb-tile--has-image):nth-child(6n+4) { background: #E6F6FF; }
.lb-tile:not(.lb-tile--has-image):nth-child(6n+5) { background: #EFEAFF; }
.lb-tile:not(.lb-tile--has-image):nth-child(6n+6) { background: #FFEEE1; }
.lb-tile:not(.lb-tile--has-image)::after { display: none; }

/* ============================== USP strip ============================== */

.lb-usps { display: grid; gap: var(--lb-gap); grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); }
.lb-usp { display: flex; gap: .9rem; align-items: flex-start; }
.lb-usp__icon {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: var(--lb-r-sm);
  display: grid; place-items: center; background: var(--lb-sun); color: var(--lb-ink);
}
.lb-usp:nth-child(2) .lb-usp__icon { background: var(--lb-mint); }
.lb-usp:nth-child(3) .lb-usp__icon { background: var(--lb-sky); }
.lb-usp:nth-child(4) .lb-usp__icon { background: #FFB9CA; }
.lb-usp h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.lb-usp p { margin: 0; font-size: var(--lb-t-sm); color: var(--lb-muted); }

/* ============================== occasions ============================== */

.lb-chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.lb-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .6rem 1.15rem; border-radius: var(--lb-pill);
  background: #fff; box-shadow: var(--lb-shadow-sm);
  font-family: var(--lb-font-display); font-weight: 600; font-size: var(--lb-t-sm);
  color: var(--lb-ink); text-decoration: none;
  transition: transform .15s ease, background-color .15s ease;
}
.lb-chip:hover { transform: translateY(-2px); background: var(--lb-sun); color: var(--lb-ink); }

/* ============================ testimonials ============================= */

.lb-quotes { display: grid; gap: var(--lb-gap); grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); }
.lb-quote {
  background: #fff; border-radius: var(--lb-r-lg); padding: 1.6rem;
  box-shadow: var(--lb-shadow-sm); position: relative;
  display: flex; flex-direction: column;
}
.lb-quote figcaption { margin-top: auto; }
.lb-quote__stars { color: var(--lb-sun); letter-spacing: .1em; font-size: 1.05rem; }
.lb-quote blockquote { margin: .6rem 0 1rem; font-size: 1.02rem; }
.lb-quote cite { font-style: normal; font-weight: 800; font-size: var(--lb-t-sm); color: var(--lb-muted); }

/* ============================= newsletter ============================== */

.lb-cta {
  border-radius: var(--lb-r-lg); padding: clamp(1.75rem, 1rem + 3vw, 3.25rem);
  background: linear-gradient(135deg, var(--lb-grape), var(--lb-red) 60%, var(--lb-orange));
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.lb-cta.lb-confetti::before { opacity: .16; }
.lb-cta h2 { color: #fff; }
.lb-cta p { color: rgba(255,255,255,.92); max-width: 34rem; margin-inline: auto; }
.lb-cta form { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.4rem; }
.lb-cta input[type="email"] {
  flex: 1 1 18rem; max-width: 24rem; border: 0; border-radius: var(--lb-pill);
  padding: 1rem 1.3rem; font: inherit; color: var(--lb-ink);
}

/* ============================== footer ================================= */

.lb-footer { background: var(--lb-ink); color: #D9CFEA; padding-block: var(--lb-section) 2rem; margin-top: var(--lb-section); }
.lb-footer a { color: #D9CFEA; text-decoration: none; }
.lb-footer a:hover { color: #fff; text-decoration: underline; }
.lb-footer .lb-btn { color: var(--btn-fg); text-decoration: none; }
.lb-footer .lb-btn:hover { color: var(--btn-fg); text-decoration: none; }
.lb-footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); }
.lb-footer h2, .lb-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: .8rem; }
.lb-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: var(--lb-t-sm); }
.lb-footer__brand .lb-brand__name { color: #fff; }
.lb-footer__brand p { font-size: var(--lb-t-sm); max-width: 24rem; }
.lb-footer__bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between;
  font-size: var(--lb-t-xs); color: #A899C4;
}
.lb-social { display: flex; gap: .5rem; }
.lb-social a {
  width: 40px; height: 40px; border-radius: var(--lb-pill);
  display: grid; place-items: center; background: rgba(255,255,255,.08);
}
.lb-social a:hover { background: var(--lb-red-deep); color: #fff; }

/* ============================ woocommerce ============================== */

.woocommerce .lb-shell { }

.lb-page-head {
  background: linear-gradient(180deg, #FFE7EE, var(--lb-cream));
  padding-block: clamp(2rem, 1rem + 3vw, 3.25rem);
  position: relative; overflow: hidden;
}
.lb-page-head.lb-confetti::before { opacity: .3; }
.lb-page-head h1 { margin-bottom: .25rem; }
.woocommerce-breadcrumb, .lb-breadcrumb {
  font-size: var(--lb-t-sm); color: var(--lb-muted); font-weight: 600;
}
.woocommerce-breadcrumb a { color: var(--lb-muted); }

.lb-shop-layout { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.75rem); align-items: start; }
@media (min-width: 900px) {
  body:not(.lb-no-sidebar) .lb-shop-layout { grid-template-columns: 17rem 1fr; }
}
.lb-widget { background: #fff; border-radius: var(--lb-r); padding: 1.15rem 1.25rem; box-shadow: var(--lb-shadow-sm); margin-bottom: var(--lb-gap); }
.lb-widget__title { font-size: 1rem; margin-bottom: .6rem; }
.lb-widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; font-size: var(--lb-t-sm); }

.woocommerce ul.products {
  display: grid; gap: var(--lb-gap); margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr));
}
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none; }
.woocommerce ul.products li.product {
  width: auto !important; margin: 0 !important; float: none !important;
  background: #fff; border-radius: var(--lb-r-lg); padding: .85rem .85rem 1.15rem;
  box-shadow: var(--lb-shadow-sm); text-align: center; position: relative;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: var(--lb-shadow); }
.woocommerce ul.products li.product a img {
  border-radius: var(--lb-r); margin-bottom: .85rem; aspect-ratio: 3 / 4; object-fit: cover; width: 100%;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--lb-font-display); font-size: 1.02rem; font-weight: 600;
  padding: 0 .2rem; margin: 0 0 .35rem; color: var(--lb-ink); line-height: 1.25;
  overflow-wrap: anywhere;
}
.woocommerce ul.products li.product .price {
  color: var(--lb-ink); font-weight: 800; font-size: 1.05rem; margin: 0 0 .85rem;
}
.woocommerce ul.products li.product .price del { color: var(--lb-muted); font-weight: 600; margin-right: .35rem; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--lb-red-deep); }
.woocommerce ul.products li.product .button { margin-top: auto; }
.woocommerce ul.products li.product .star-rating { margin: 0 auto .5rem; color: var(--lb-sun); }

.woocommerce span.onsale, .woocommerce ul.products li.product .onsale {
  position: absolute; top: 1rem; left: 1rem; right: auto; margin: 0;
  background: var(--lb-red-deep); color: #fff;
  font-family: var(--lb-font-display); font-weight: 600; font-size: var(--lb-t-xs);
  min-height: 0; min-width: 0; line-height: 1; padding: .45rem .75rem; border-radius: var(--lb-pill);
}

.woocommerce .woocommerce-result-count { color: var(--lb-muted); font-size: var(--lb-t-sm); }
.woocommerce .woocommerce-ordering select,
.woocommerce select, .woocommerce input[type="text"], .woocommerce input[type="email"],
.woocommerce input[type="tel"], .woocommerce input[type="password"], .woocommerce input[type="number"],
.woocommerce textarea {
  border: 2px solid var(--lb-line); border-radius: var(--lb-r-sm);
  padding: .7rem .9rem; font: inherit; background: #fff; color: var(--lb-ink);
}

.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: .4rem; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border-radius: var(--lb-pill); min-width: 42px; height: 42px;
  display: grid; place-items: center; background: #fff; box-shadow: var(--lb-shadow-sm);
  font-weight: 700; color: var(--lb-ink); padding: 0;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--lb-ink); color: #fff; }

/* single product */
.woocommerce div.product { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
@media (min-width: 900px) {
  .woocommerce div.product { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; }
  .woocommerce div.product .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; }
  .woocommerce div.product .summary { width: 100% !important; float: none !important; margin: 0 !important; }
  .woocommerce div.product .woocommerce-tabs,
  .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
}
.woocommerce div.product .woocommerce-product-gallery img { border-radius: var(--lb-r-lg); }
.woocommerce div.product .product_title { font-size: var(--lb-t-h1); }
.woocommerce div.product p.price, .woocommerce div.product span.price {
  color: var(--lb-ink); font-size: 1.6rem; font-weight: 800; font-family: var(--lb-font-display);
}
.woocommerce div.product p.price ins { text-decoration: none; color: var(--lb-red-deep); }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-block: 1.25rem; }
.woocommerce .quantity .qty {
  width: 5.5rem; text-align: center; border: 2px solid var(--lb-line);
  border-radius: var(--lb-pill); padding: .8rem .6rem; font: inherit; font-weight: 700;
}
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: #fff; border: 0; border-radius: var(--lb-pill); box-shadow: var(--lb-shadow-sm); margin: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-family: var(--lb-font-display); font-weight: 600; color: var(--lb-ink); padding: .7rem 1.2rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--lb-ink); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff; }

/* messages, cart, checkout */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-top: 0; border-radius: var(--lb-r); background: #fff;
  box-shadow: var(--lb-shadow-sm); padding: 1rem 1.25rem 1rem 3.25rem;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { top: 1.1rem; left: 1.25rem; }
.woocommerce-message { border-left: 5px solid var(--lb-mint-deep); }
.woocommerce-info    { border-left: 5px solid var(--lb-sky); }
.woocommerce-error   { border-left: 5px solid var(--lb-red-deep); }

.woocommerce table.shop_table {
  border: 0; border-radius: var(--lb-r); overflow: hidden; background: #fff; box-shadow: var(--lb-shadow-sm);
}
.woocommerce table.shop_table th { font-family: var(--lb-font-display); font-weight: 600; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-top-color: var(--lb-line); }
.woocommerce .cart_totals h2, .woocommerce-checkout h3 { font-size: var(--lb-t-h3); }

/* =============================== misc ================================== */

.lb-entry { max-width: 46rem; }
.lb-entry img { border-radius: var(--lb-r); }
.lb-entry blockquote {
  margin: 1.5rem 0; padding: 1rem 1.4rem; border-left: 5px solid var(--lb-sun);
  background: #fff; border-radius: 0 var(--lb-r) var(--lb-r) 0;
}
.lb-card { background: #fff; border-radius: var(--lb-r-lg); box-shadow: var(--lb-shadow-sm); padding: 1.5rem; }

.lb-404 { text-align: center; padding-block: var(--lb-section); }
.lb-404 .lb-code { font-family: var(--lb-font-display); font-size: clamp(4rem, 2rem + 12vw, 9rem); line-height: .9; color: var(--lb-red-deep); }

.lb-posts { display: grid; gap: var(--lb-gap); grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr)); }
.lb-post { background: #fff; border-radius: var(--lb-r-lg); box-shadow: var(--lb-shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.lb-post__media img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.lb-post__body { padding: 1.15rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.lb-post__meta { font-size: var(--lb-t-xs); color: var(--lb-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

.lb-pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 2rem; }
.lb-pagination .page-numbers {
  min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 .6rem;
  border-radius: var(--lb-pill); background: #fff; box-shadow: var(--lb-shadow-sm);
  font-weight: 700; color: var(--lb-ink); text-decoration: none;
}
.lb-pagination .page-numbers.current { background: var(--lb-ink); color: #fff; }

@media print {
  .lb-header, .lb-footer, .lb-announce, .lb-cta { display: none !important; }
  body { background: #fff; }
}

/* Applied by assets/js/theme.js once the page has scrolled past the header's
   resting position. Without JS the header simply never gains the shadow, which
   is a cosmetic difference and not a functional one. */
.lb-header.is-stuck { box-shadow: 0 6px 24px rgba(27,16,51,.10); }
