/* =========================================================================
   The Scoop Society — theme stylesheet
   Author: The Free Website Guys
   ========================================================================= */

:root {
  --color-background: #f9f6f0;
  --color-foreground: #30183a;
  --color-card: #fcfbf7;
  --color-primary: #4c245c;
  --color-primary-foreground: #fbf8f4;
  --color-secondary: #efbdd3;
  --color-muted-foreground: #6c5874;
  --color-accent: #c49d27;
  --color-accent-foreground: #2a1533;
  --color-border: #e6e0d5;
  --color-ivory: #fdfbf7;
  --color-linen: #f9f6f0;
  --color-bone: #efeae1;
  --color-rose: #c49d27;
  --color-rose-foreground: #2a1533;
  --color-destructive: #d04339;

  --color-button-text: var(--color-rose-foreground);
  --logo-height: 44px;

  --font-body: 'Switzer', system-ui, -apple-system, sans-serif;
  --font-display: 'Newsreader', Georgia, serif;

  --radius: 0.75rem;
  --card-radius: 1rem;
  --btn-radius: 999px;
  --btn-height: 3rem;
  --btn-padding: 0 1.75rem;
  --btn-font-size: 14px;
  --btn-font-weight: 500;
  --btn-letter-spacing: 0;
  --btn-text-transform: none;
  --btn-icon-padding: 0;

  --header-height: 116px;
  --shadow-soft: 0 4px 20px -8px rgba(48, 24, 58, 0.16);
  --shadow-elevated: 0 20px 50px -18px rgba(48, 24, 58, 0.3);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11';
}
img, video { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-featured-card__img):not(.theme-product-card__image) { height: auto; }
a, button, [role="button"], label[for],
select, summary, .theme-cat-filter, .theme-nav-anchor,
.theme-product-card__nav, .theme-product-thumb,
.faq-item__question, .testimonials-block__nav-btn,
.testimonials-dots button, input[type="submit"], input[type="button"],
input[type="reset"], input[type="image"], input[type="checkbox"],
input[type="radio"], .site-header__menu-toggle, .site-header__cart-btn {
  cursor: pointer;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; padding: 0; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: inherit;
  font-size: inherit;
}
h1, h2, h3, h4, h5, h6, .font-display { font-family: var(--font-display); letter-spacing: -0.012em; font-weight: 300; }
p { margin: 0; }
section[id] { scroll-margin-top: 80px; }
.text-rose { color: var(--color-rose); }

/* Matches Lovable `.container-wide`: max-w-7xl + px-5 / sm:px-6 / lg:px-10 */
.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .container-wide { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding: 0 2.5rem; } }

/* Cover-image helper (Section 15.1 — global img rule exclusion list) */
img.cover-img, video.cover-img,
.hero-section__video, .precontact-section__video,
.category-card__img-wrap img, .service-card > img,
.theme-product-card__image, .hero-featured-card__img img,
.theme-product-gallery__main img, .theme-product-thumb img,
.founder-photo-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

/* ---------- Buttons ---------- */
.btn-hero-primary, .btn-hero-outline, .theme-btn-primary, .theme-btn-outline, .theme-btn-ghost, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: var(--btn-height); padding: var(--btn-padding);
  border-radius: var(--btn-radius);
  font-size: var(--btn-font-size); font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing); text-transform: var(--btn-text-transform);
  white-space: nowrap; border: 1px solid transparent; transition: opacity .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn-hero-primary, .theme-btn-primary {
  background: var(--color-rose); color: var(--color-rose-foreground); border-color: var(--color-rose);
}
.btn-hero-primary:hover, .theme-btn-primary:hover { opacity: .9; }
.btn-hero-outline {
  background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px);
}
.btn-hero-outline:hover { background: rgba(255,255,255,.2); }
.theme-btn-outline, .btn-outline {
  background: transparent; color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-foreground) 25%, transparent);
}
.theme-btn-outline:hover, .btn-outline:hover { border-color: var(--color-foreground); background: color-mix(in srgb, var(--color-foreground) 4%, transparent); }
.theme-btn-ghost { background: transparent; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); height: 2.25rem; padding: 0 1rem; }
.theme-btn-ghost:hover { background: color-mix(in srgb, var(--color-foreground) 5%, transparent); }
button:disabled, .disabled { cursor: not-allowed !important; opacity: .5 !important; pointer-events: none !important; }

/* =========================================================================
   Animation & motion parity (Section 2.1)
   ========================================================================= */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal-item.is-revealed { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .reveal-item { transition: none !important; opacity: 1 !important; transform: none !important; }
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-in-bottom { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-33.3333%); } }
.animate-fade-in { animation: fade-in .7s ease-out both; }
.animate-slide-in-bottom { animation: slide-in-bottom .3s ease-out both; }

/* =========================================================================
   Header
   ========================================================================= */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
/* WordPress admin bar offset */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
body.admin-bar.theme-no-hero main,
body.admin-bar .generic-page,
body.admin-bar .shop-archive,
body.admin-bar .single-product,
body.admin-bar .notfound-page,
body.admin-bar .theme-thankyou-content-wrap {
  padding-top: calc(var(--header-height) + 32px);
}
body.admin-bar.theme-no-hero main.single-product,
body.admin-bar main.single-product {
  padding-top: calc(6rem + 32px);
}
@media (min-width: 1024px) {
  body.admin-bar.theme-no-hero main.single-product,
  body.admin-bar main.single-product {
    padding-top: calc(7rem + 32px);
  }
}
@media screen and (max-width: 782px) {
  body.admin-bar.theme-no-hero main,
  body.admin-bar .generic-page,
  body.admin-bar .shop-archive,
  body.admin-bar .single-product,
  body.admin-bar .notfound-page,
  body.admin-bar .theme-thankyou-content-wrap {
    padding-top: calc(var(--header-height) + 46px);
  }
  body.admin-bar.theme-no-hero main.single-product,
  body.admin-bar main.single-product {
    padding-top: calc(6rem + 46px);
  }
}
.announcement-bar {
  background: var(--color-foreground); color: var(--color-background);
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  padding: .5rem 0; text-align: center;
}
.announcement-bar__before { opacity: .9; }
.announcement-bar__highlight { color: var(--color-rose); }
.site-header__bar { transition: background-color .5s ease, border-color .5s ease; border-bottom: 1px solid transparent; }
.site-header:not(.is-solid) .site-header__bar { background: color-mix(in srgb, var(--color-foreground) 92%, transparent); border-color: color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.site-header.is-solid .site-header__bar,
.site-header.header-scrolled .site-header__bar {
  background: color-mix(in srgb, var(--color-ivory) 85%, transparent);
  backdrop-filter: blur(20px);
  border-color: color-mix(in srgb, var(--color-foreground) 10%, transparent);
}
@media (min-width: 1024px) {
  .site-header:not(.is-solid):not(.header-scrolled) .site-header__bar { background: transparent; border-color: transparent; }
}
.site-header__row {
  display: flex; align-items: center; justify-content: space-between;
  height: 3.5rem;
}
@media (min-width: 640px) { .site-header__row { height: 4rem; } }
@media (min-width: 1024px) {
  .site-header__row { height: 5rem; display: grid; grid-template-columns: 1fr auto 1fr; }
}
.site-header__menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%; order: 1;
  color: #fff; transition: background-color .2s ease, color .2s ease;
}
.site-header__menu-toggle svg { width: 1.25rem; height: 1.25rem; }
.site-header:not(.is-solid):not(.header-scrolled) .site-header__menu-toggle { color: #fff; }
.site-header.is-solid .site-header__menu-toggle,
.site-header.header-scrolled .site-header__menu-toggle { color: var(--color-foreground); }
.site-header__menu-toggle:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }

.site-header__identity {
  display: flex; align-items: center; gap: .5rem; order: 2; flex-shrink: 0;
}
@media (min-width: 640px) { .site-header__identity { gap: .75rem; } }
@media (min-width: 1024px) { .site-header__identity { order: 1; justify-self: start; } }
.site-logo-badge { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; overflow: hidden; background: var(--color-ivory); border: 2px solid color-mix(in srgb, var(--color-rose) 40%, transparent); }
.site-logo-img { height: var(--logo-height) !important; width: var(--logo-height) !important; object-fit: contain; padding: 3px; }
.site-header__brand-text { display: none; font-family: var(--font-display); font-size: 17px; letter-spacing: -0.02em; color: #fff; }
.site-header.is-solid .site-header__brand-text, .site-header.header-scrolled .site-header__brand-text { color: var(--color-foreground); }
@media (min-width: 640px) { .site-header__brand-text { display: inline; } }
@media (min-width: 768px) { .site-header__brand-text { font-size: 20px; } }

.site-header__nav { display: none; order: 3; justify-self: center; align-items: center; }
@media (min-width: 1024px) { .site-header__nav { display: flex; order: 2; } }
.theme-nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: row; align-items: center; gap: 1.75rem;
}
.theme-nav-list > li { margin: 0; padding: 0; border: 0; list-style: none; }
.theme-nav-list a {
  position: relative; display: inline; padding: 0;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.85); transition: color .3s ease;
}
.site-header.is-solid .theme-nav-list a, .site-header.header-scrolled .theme-nav-list a { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
.theme-nav-list a:hover, .theme-nav-list a.is-active { color: var(--color-rose); }
.site-header:not(.is-solid):not(.header-scrolled) .theme-nav-list a:hover,
.site-header:not(.is-solid):not(.header-scrolled) .theme-nav-list a.is-active { color: #fff; }

/* Desktop nav must stay horizontal even if mobile modifiers leak */
.site-header__nav .theme-nav-list {
  display: flex; flex-direction: row; align-items: center; gap: 1.75rem; padding: 0;
}
.site-header__nav .theme-nav-list > li { border: 0; }
.site-header__nav .theme-nav-list a {
  position: relative; display: inline-block; padding: 0;
}
/* Active section underline (Lovable parity) */
.site-header__nav .theme-nav-list a::after {
  content: '';
  pointer-events: none;
  position: absolute;
  left: 0; right: 0; bottom: -0.375rem;
  height: 2px; border-radius: 999px;
  background: var(--color-rose);
  opacity: 0; transform: scaleX(0);
  transition: opacity .3s ease, transform .3s ease;
}
.site-header__nav .theme-nav-list a.is-active::after {
  opacity: 1; transform: scaleX(1);
}

.site-header__actions { display: flex; align-items: center; gap: .5rem; justify-self: end; order: 3; }
.site-header__cart-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%; color: #fff; transition: background-color .2s ease, color .2s ease;
}
.site-header.is-solid .site-header__cart-btn, .site-header.header-scrolled .site-header__cart-btn { color: var(--color-foreground); }
.site-header__cart-btn:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.theme-cart-count {
  position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 50%; background: var(--color-rose); color: var(--color-rose-foreground);
  font-size: 12px; font-weight: 500; display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }

.site-header__mobile-nav { display: none; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); background: color-mix(in srgb, var(--color-ivory) 95%, transparent); backdrop-filter: blur(20px); }
.site-header__mobile-nav.is-open { display: block; animation: fade-in .3s ease; }
#mobile-nav .theme-nav-list {
  display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 0;
}
#mobile-nav .theme-nav-list > li { border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
#mobile-nav .theme-nav-list > li:last-child { border-bottom: 0; }
#mobile-nav .theme-nav-list a {
  display: block; padding: .75rem 0;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  font-size: 14px; font-weight: 500;
}
#mobile-nav .theme-nav-list a:hover,
#mobile-nav .theme-nav-list a.is-active { color: var(--color-rose); }
.site-header:not(.is-solid):not(.header-scrolled) #mobile-nav .theme-nav-list a {
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.site-header:not(.is-solid):not(.header-scrolled) #mobile-nav .theme-nav-list a:hover,
.site-header:not(.is-solid):not(.header-scrolled) #mobile-nav .theme-nav-list a.is-active {
  color: var(--color-rose);
}
@media (min-width: 1024px) { .site-header__mobile-nav { display: none !important; } }

body.theme-no-hero .site-main, body:not(.theme-no-hero) .site-main { }
body.theme-no-hero main, .generic-page, .shop-archive, .single-product, .notfound-page, .theme-thankyou-content-wrap {
  padding-top: var(--header-height);
}
/* Match Lovable product page (pt-24 / lg:pt-28) */
body.theme-no-hero main.single-product,
main.single-product {
  padding-top: 6rem;
}
@media (min-width: 1024px) {
  body.theme-no-hero main.single-product,
  main.single-product {
    padding-top: 7rem;
  }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero-section {
  position: relative; width: 100%;
  min-height: 100svh; min-height: 100dvh;
  display: flex; flex-direction: column;
  /* Grow with content so CTAs are never clipped under the next section */
  height: auto;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero-section { min-height: max(640px, 100svh); min-height: max(640px, 100dvh); }
}
.hero-section__video { z-index: 0; }
.hero-section__scrim-1 { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 35%, transparent); pointer-events: none; }
.hero-section__scrim-2 { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.8), rgba(0,0,0,.6), rgba(0,0,0,.45)); pointer-events: none; }
.hero-section__scrim-3 { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.2), rgba(0,0,0,.45)); pointer-events: none; }
.hero-section__inner {
  position: relative; z-index: 10; flex: 1 0 auto; width: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 6.5rem; padding-bottom: 2.5rem; color: #fff;
}
@media (min-width: 640px) {
  .hero-section__inner { padding-top: 7rem; padding-bottom: 3rem; }
}
@media (min-width: 1024px) {
  .hero-section__inner {
    justify-content: flex-start;
    padding-top: 9rem;
    /* Leave room for the absolute featured product card */
    padding-bottom: 13.5rem;
  }
}
.hero-section__content { max-width: 42rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem; padding: .375rem 1rem;
  border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
}
@media (min-width: 640px) { .hero-badge { font-size: 12px; letter-spacing: .22em; } }
.hero-title {
  margin-top: 1rem; font-size: clamp(2.1rem, 7.5vw, 5rem); line-height: 1.05;
  text-shadow: 0 2px 30px rgba(0,0,0,.55);
}
@media (min-width: 640px) { .hero-title { margin-top: 1.5rem; line-height: 1.02; } }
.hero-title em { font-style: italic; color: var(--color-rose); }
.hero-subtitle { margin-top: 1rem; font-family: var(--font-display); font-weight: 300; font-size: 15px; color: rgba(255,255,255,.95); }
@media (min-width: 640px) { .hero-subtitle { font-size: 18px; } }
.hero-paragraph { margin-top: .75rem; max-width: 36rem; font-size: 14px; color: rgba(255,255,255,.9); line-height: 1.6; }
@media (min-width: 640px) { .hero-paragraph { font-size: 16px; } }
.hero-features { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: 13px; color: rgba(255,255,255,.85); }
.hero-features li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-features svg { color: var(--color-rose); flex-shrink: 0; }
@media (max-width: 639px) { .hero-features { flex-direction: column; } }
.hero-cta-row { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .hero-cta-row { flex-direction: row; gap: 1rem; margin-top: 2rem; } }

.hero-featured-card-wrap { position: absolute; z-index: 10; bottom: 2.5rem; right: 2.5rem; display: none; pointer-events: none; }
@media (min-width: 1024px) { .hero-featured-card-wrap { display: flex; justify-content: flex-end; } }
.hero-featured-card {
  pointer-events: auto; width: 28rem; display: flex; align-items: stretch; gap: .75rem;
  border-radius: 1rem; background: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.5);
  backdrop-filter: blur(40px); padding: .75rem; box-shadow: 0 25px 60px -15px rgba(0,0,0,.55);
  transition: background-color .3s ease, border-color .3s ease;
}
@media (min-width: 640px) { .hero-featured-card { gap: 1rem; } }
.hero-featured-card:hover { background: rgba(255,255,255,.42); border-color: rgba(255,255,255,.6); }
.hero-featured-card__img {
  position: relative; width: 8rem; height: 8rem; border-radius: .75rem; overflow: hidden; flex-shrink: 0;
  background: rgba(255,255,255,.2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
}
@media (min-width: 640px) { .hero-featured-card__img { width: 9rem; height: 9rem; } }
.hero-featured-card__img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s ease;
}
.hero-featured-card:hover .hero-featured-card__img img { transform: scale(1.05); }
.hero-featured-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: .25rem .25rem .25rem 0; }
.hero-featured-card__title { font-family: var(--font-display); font-weight: 300; font-size: 18px; line-height: 1.2; color: #fff; }
@media (min-width: 640px) { .hero-featured-card__title { font-size: 20px; } }
.hero-featured-card__excerpt {
  margin-top: .375rem; font-size: 13px; line-height: 1.35; color: rgba(255,255,255,.85);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-featured-card__cta {
  margin-top: .5rem; align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .875rem; border-radius: 999px; background: var(--color-foreground); color: #fff; font-size: 12px; font-weight: 500;
  transition: background-color .2s ease;
}
.hero-featured-card:hover .hero-featured-card__cta { background: color-mix(in srgb, var(--color-foreground) 90%, transparent); }
.hero-featured-card__cta svg { color: var(--color-rose); }

/* =========================================================================
   Section shared elements
   ========================================================================= */
.eyebrow { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--color-rose); margin-bottom: 1rem; font-weight: 500; }
.section-lede { margin-top: 1.25rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.6; max-width: 40rem; }
@media (min-width: 768px) { .section-lede { font-size: 15px; } }
.pull-quote { font-family: var(--font-display); font-style: italic; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); border-left: 2px solid color-mix(in srgb, var(--color-rose) 70%, transparent); padding-left: 1.25rem; font-size: 20px; line-height: 1.35; }
@media (min-width: 768px) { .pull-quote { font-size: 24px; } }

/* =========================================================================
   Category showcase
   ========================================================================= */
.category-section { background: var(--color-ivory); padding: 5rem 0; }
@media (min-width: 768px) { .category-section { padding: 7rem 0; } }
.section-intro { max-width: 42rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .section-intro { margin-bottom: 3.5rem; } }
.section-heading { font-weight: 300; line-height: 1.05; text-wrap: balance; }
.category-section__heading, .founder-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .category-section__heading, .founder-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .founder-section__heading { font-size: 3.4rem; } }
.category-section__heading em { font-style: italic; color: var(--color-rose); }

.category-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .category-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }
.category-card {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 1.5rem;
  background: var(--color-card); border: 1px solid var(--color-border); box-shadow: var(--shadow-soft);
  transition: box-shadow .5s ease;
}
.category-card:hover { box-shadow: var(--shadow-elevated); }
@media (min-width: 768px) and (max-width: 1023px) { .category-card--wide { grid-column: span 2; } }
.category-card__img-wrap { position: absolute; inset: 0; overflow: hidden; }
.category-card__img-wrap img { transition: transform 1.4s cubic-bezier(.22,.61,.36,1); }
.category-card:hover .category-card__img-wrap img { transform: scale(1.04); }
.category-card__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.25), transparent); }
.category-card__body { position: absolute; inset-inline: 0; bottom: 0; padding: 1.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.category-card__title { font-family: var(--font-display); font-weight: 300; color: #fff; font-size: 1.875rem; line-height: 1.05; margin-bottom: 1.5rem; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
@media (min-width: 768px) { .category-card__title { font-size: 2.25rem; } }
.category-card__cta {
  display: inline-flex; align-items: center; gap: .5rem; padding: .625rem 1.25rem; border-radius: 999px;
  background: var(--color-accent); color: var(--color-accent-foreground); font-size: 13px; font-weight: 500; transition: background-color .3s ease, color .3s ease;
}
.category-card:hover .category-card__cta { background: var(--color-rose); color: var(--color-rose-foreground); }

/* =========================================================================
   About / Our Story
   ========================================================================= */
.about-section { background: var(--color-ivory); padding: 6rem 0; }
@media (min-width: 768px) { .about-section { padding: 8rem 0; } }
.about-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.about-section__heading { font-size: 2.25rem; margin-top: .5rem; }
@media (min-width: 768px) { .about-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section__heading { font-size: 3.2rem; } }
.about-section__intro .pull-quote { margin-top: 2rem; }
.about-section__copy { display: flex; flex-direction: column; gap: 1.25rem; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); max-width: 65ch; }
@media (min-width: 768px) { .about-section__copy { font-size: 1rem; } }

.pillars-grid { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.pillar-card { height: 100%; border-radius: 1rem; border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); background: var(--color-linen); padding: 1.5rem; }
.pillar-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--color-rose); color: var(--color-rose-foreground); margin-bottom: 1rem; }
.pillar-card__title { font-size: 1.25rem; margin-bottom: .5rem; }
.pillar-card__body { font-size: 14px; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }

/* =========================================================================
   Founder
   ========================================================================= */
.founder-section { background: var(--color-linen); padding: 6rem 0; overflow-x: clip; }
@media (min-width: 768px) { .founder-section { padding: 8rem 0; } }
.founder-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; min-width: 0; }
@media (min-width: 1024px) { .founder-section__grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.founder-section__photo,
.founder-section__copy { display: flex; min-width: 0; max-width: 100%; }
.founder-section__copy { flex-direction: column; }
.founder-photo-frame { position: relative; width: 100%; min-height: 520px; aspect-ratio: 4/5; border-radius: 1rem; overflow: hidden; background: var(--color-bone); box-shadow: var(--shadow-elevated); }
@media (min-width: 1024px) { .founder-photo-frame { min-height: 0; aspect-ratio: auto; height: 100%; } }
.founder-photo-badge {
  position: absolute; top: 1rem; left: 1rem; max-width: calc(100% - 2rem);
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .375rem .75rem; border-radius: 999px; background: var(--color-rose); color: var(--color-rose-foreground);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
}
.founder-photo-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, var(--color-foreground) 70%, transparent); flex-shrink: 0; }
.founder-section__copy .eyebrow { margin-bottom: 1.25rem; }
.founder-section__copy .pull-quote { margin-top: 2rem; overflow-wrap: break-word; }
.founder-section__heading { overflow-wrap: break-word; word-break: break-word; max-width: 100%; }
.founder-section__paragraphs {
  margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem;
  font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  max-width: 65ch; overflow-wrap: break-word;
}
.founder-stats {
  margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); padding-top: 2rem;
}
@media (min-width: 480px) { .founder-stats { gap: 1.5rem; } }
.founder-stat { min-width: 0; }
.founder-stat__value {
  font-family: var(--font-display); font-weight: 300; font-size: 1.25rem; color: var(--color-rose);
  line-height: 1.15; overflow-wrap: break-word;
}
@media (min-width: 480px) { .founder-stat__value { font-size: 1.5rem; } }
@media (min-width: 768px) { .founder-stat__value { font-size: 1.875rem; } }
.founder-stat__label {
  margin-top: .25rem; font-size: 11px; text-transform: uppercase; letter-spacing: .12em;
  color: color-mix(in srgb, var(--color-foreground) 60%, transparent); line-height: 1.35; overflow-wrap: break-word;
}
@media (min-width: 480px) {
  .founder-stat__label { font-size: 12px; letter-spacing: .18em; }
}

/* =========================================================================
   Shop section
   ========================================================================= */
.shop-section { background: var(--color-ivory); padding: 6rem 0; }
@media (min-width: 768px) { .shop-section { padding: 8rem 0; } }
.shop-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 3.2rem; } }
.shop-section__head { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
@media (min-width: 1024px) { .shop-section__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.shop-section__intro { max-width: 42rem; }
.shop-search { position: relative; width: 100%; }
@media (min-width: 1024px) { .shop-search { width: 20rem; } }
.shop-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.shop-search input {
  width: 100%; height: 2.75rem; padding: 0 1rem 0 2.75rem; border-radius: 999px;
  background: var(--color-linen); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
  font-size: 14px; color: var(--color-foreground);
}
.shop-search input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.shop-search input:focus { outline: none; border-color: color-mix(in srgb, var(--color-rose) 60%, transparent); }
.shop-note {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 2rem; padding: .5rem 1rem;
  border-radius: 999px; background: var(--color-linen); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
  font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
}
.shop-note svg { color: var(--color-rose); flex-shrink: 0; }
.shop-category-pills { display: flex; flex-wrap: wrap; gap: .625rem; margin-bottom: 2.5rem; }
.theme-cat-filter {
  height: 2.5rem; padding: 0 1.25rem; border-radius: 999px; font-size: 14px; font-weight: 500; border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
  background: transparent; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.theme-cat-filter:hover { border-color: var(--color-rose); color: var(--color-rose); }
.theme-cat-filter.is-active { background: var(--color-rose); color: var(--color-rose-foreground); border-color: var(--color-rose); }
.shop-empty-state { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }

.theme-product-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem 1.5rem;
  align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, 1fr); column-gap: 1.5rem; row-gap: 2.5rem; } }
.theme-product-grid--related { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, 1fr); } }
.shop-grid-item { display: flex; }
.theme-product-card-wrap { display: flex; flex-direction: column; width: 100%; height: 100%; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper {
  position: relative; aspect-ratio: 1 / 1; background: var(--color-linen); border-radius: .75rem; overflow: hidden; margin-bottom: 1rem;
}
.theme-product-card__image {
  opacity: 0;
  object-fit: cover !important;
  object-position: center center !important;
  transition: opacity .4s ease, transform 1.4s cubic-bezier(.22,.61,.36,1);
}
.theme-product-card__image.is-active { opacity: 1; }
.theme-product-card:hover .theme-product-card__image.is-active { transform: scale(1.04); }
.theme-card-link { position: absolute; inset: 0; z-index: 5; }
.theme-product-card__badge {
  position: absolute; top: .75rem; left: .75rem; z-index: 10; background: var(--color-foreground); color: var(--color-background);
  font-size: 11px; font-weight: 500; padding: .25rem .625rem; border-radius: 999px;
}
.theme-product-card__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 20; width: 2rem; height: 2rem; border-radius: 50%;
  background: color-mix(in srgb, var(--color-background) 85%, transparent); backdrop-filter: blur(4px);
  display: inline-flex; align-items: center; justify-content: center; color: var(--color-foreground);
  opacity: 0; transition: opacity .3s ease, background-color .3s ease, color .3s ease; box-shadow: var(--shadow-soft);
  pointer-events: auto;
}
.theme-product-card:hover .theme-product-card__nav { opacity: 1; }
.theme-product-card__nav--prev { left: .5rem; } .theme-product-card__nav--next { right: .5rem; }
.theme-product-card__nav:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-product-card__dots { position: absolute; top: .75rem; right: .75rem; z-index: 10; display: flex; gap: .25rem; pointer-events: none; }
.theme-product-card__dot { height: 4px; width: 4px; border-radius: 999px; background: color-mix(in srgb, var(--color-background) 60%, transparent); transition: width .2s ease, background-color .2s ease; }
.theme-product-card__dot.is-active { width: 1rem; background: var(--color-background); }
.theme-product-card__quick-actions {
  position: absolute; inset-inline: .75rem; bottom: .75rem; z-index: 20; display: flex; align-items: center; gap: .5rem;
  opacity: 0; transition: opacity .5s ease; pointer-events: none;
}
.theme-product-card:hover .theme-product-card__quick-actions { opacity: 1; pointer-events: auto; }
.theme-product-card__customize {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 2.5rem; border-radius: 999px;
  background: var(--color-rose); color: var(--color-rose-foreground); font-size: 14px; font-weight: 500; box-shadow: var(--shadow-soft);
  transition: background-color .3s ease; pointer-events: auto;
}
.theme-product-card__customize:hover { opacity: .9; }
.theme-product-card__quickview {
  width: 2.5rem; height: 2.5rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--color-rose); color: var(--color-rose-foreground); box-shadow: var(--shadow-soft); transition: opacity .3s ease; pointer-events: auto;
}
.theme-product-card__quickview:hover { opacity: .9; }
.theme-product-card__info { flex: 1; display: block; padding: 0 2px; }
.theme-product-card__category { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: color-mix(in srgb, var(--color-primary) 90%, transparent); margin-bottom: .375rem; font-weight: 500; }
.theme-product-card__title { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.35; color: var(--color-foreground); transition: color .3s ease; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.3rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { margin-top: .375rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-product-card__price .woocommerce-Price-amount { font-weight: 500; }

.shop-view-more-wrap { margin-top: 3rem; display: flex; justify-content: center; }

/* =========================================================================
   Marquee
   ========================================================================= */
.marquee-strip { background: var(--color-rose); padding: 1.25rem 0; overflow: hidden; }
.marquee-strip__track { display: flex; white-space: nowrap; width: max-content; animation: theme-marquee 22s linear infinite; }
.marquee-strip__item { display: flex; align-items: center; flex-shrink: 0; font-family: var(--font-display); font-size: 1.125rem; color: var(--color-rose-foreground); }
@media (min-width: 768px) { .marquee-strip__item { font-size: 1.25rem; } }
.marquee-strip__item span:first-child { margin: 0 1.5rem; }
@media (min-width: 768px) { .marquee-strip__item span:first-child { margin: 0 2rem; } }
.marquee-strip__divider { color: color-mix(in srgb, var(--color-rose-foreground) 70%, transparent); font-size: .875rem; }

/* =========================================================================
   Services
   ========================================================================= */
.services-section { background: var(--color-ivory); padding: 6rem 0; }
@media (min-width: 768px) { .services-section { padding: 8rem 0; } }
.section-intro-wide { max-width: 48rem; }
.services-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .services-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-section__heading { font-size: 3.2rem; } }
.services-grid { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { position: relative; aspect-ratio: 4/5; background: var(--color-linen); overflow: hidden; cursor: pointer; }
.service-card > img { transition: transform .7s ease; }
.service-card:hover > img { transform: scale(1.1); }
.service-card__scrim { position: absolute; inset: 0; background: linear-gradient(to top, var(--color-foreground), color-mix(in srgb, var(--color-foreground) 80%, transparent), color-mix(in srgb, var(--color-foreground) 30%, transparent)); opacity: .95; }
.service-card__body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.75rem; color: #fff; }
@media (min-width: 640px) { .service-card__body { padding: 2rem; } }
.service-card__title { font-family: var(--font-display); font-weight: 300; font-size: 1.5rem; line-height: 1.2; }
@media (min-width: 640px) { .service-card__title { font-size: 1.75rem; } }
.service-card__desc { margin-top: .75rem; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.85); max-width: 20rem; }
@media (min-width: 640px) { .service-card__desc { font-size: 14px; } }
.service-card__rule { display: block; width: 2rem; height: 1px; background: var(--color-rose); margin-top: 1.5rem; transition: width .5s ease; }
.service-card:hover .service-card__rule { width: 4rem; }

.services-cta-band {
  margin-top: 2.5rem; background: var(--color-foreground); color: #fff; border: 1px solid var(--color-border); border-radius: 1rem;
  padding: 2rem; display: grid; gap: 1.5rem; align-items: center;
}
@media (min-width: 640px) { .services-cta-band { padding: 2rem 3rem; } }
@media (min-width: 1024px) { .services-cta-band { grid-template-columns: auto 1fr auto; } }
.services-cta-band__icon { color: var(--color-rose); }
.services-cta-band__icon--desktop { display: none; }
.services-cta-band__icon--mobile { display: inline-flex; }
@media (min-width: 1024px) {
  .services-cta-band__icon--desktop { display: inline-flex; }
  .services-cta-band__icon--mobile { display: none; }
}
.services-cta-band__copy h3 { font-family: var(--font-display); font-weight: 300; font-size: 1.5rem; line-height: 1.2; }
@media (min-width: 640px) { .services-cta-band__copy h3 { font-size: 1.875rem; } }
@media (min-width: 1024px) { .services-cta-band__copy h3 { font-size: 2.125rem; } }
.services-cta-band__copy p { margin-top: .75rem; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.75); max-width: 42rem; }
@media (min-width: 640px) { .services-cta-band__copy p { font-size: 14px; } }
.services-cta-band__link { display: inline-flex; align-items: center; gap: .5rem; font-size: 14px; font-weight: 500; color: var(--color-rose); border-bottom: 1px solid color-mix(in srgb, var(--color-rose) 40%, transparent); padding-bottom: .25rem; }
@media (min-width: 1024px) { .services-cta-band__link { justify-self: end; } }

/* =========================================================================
   FAQ + Testimonials
   ========================================================================= */
.faq-section { background: var(--color-linen); border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); padding: 6rem 0; }
@media (min-width: 768px) { .faq-section { padding: 8rem 0; } }
.faq-section__stack { display: flex; flex-direction: column; gap: 5rem; }
@media (min-width: 768px) { .faq-section__stack { gap: 6rem; } }
.faq-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .faq-section__grid { grid-template-columns: 4fr 8fr; } }
.faq-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .faq-heading { font-size: 3rem; } }
.faq-side-card { display: none; margin-top: 2.5rem; position: relative; overflow: hidden; border-radius: 1rem; border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); background: var(--color-linen); padding: 1.75rem; }
@media (min-width: 1024px) { .faq-side-card { display: block; } }
.faq-side-card__blob { position: absolute; top: -2.5rem; right: -2.5rem; width: 8rem; height: 8rem; border-radius: 50%; background: var(--color-secondary); filter: blur(40px); }
.faq-side-card__icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--color-rose); color: var(--color-rose-foreground); margin-bottom: 1.25rem; }
.faq-side-card h3 { position: relative; font-family: var(--font-display); font-weight: 300; font-size: 1.5rem; margin-bottom: .5rem; }
.faq-side-card p { position: relative; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.6; margin-bottom: 1.5rem; }
.faq-side-card .btn-hero-primary { position: relative; height: 2.25rem; padding: 0 1rem; }

.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
.faq-item__question span:first-child { font-family: var(--font-display); font-weight: 300; font-size: 1.125rem; line-height: 1.35; }
@media (min-width: 768px) { .faq-item__question span:first-child { font-size: 1.25rem; } }
.faq-item__icon { flex-shrink: 0; color: var(--color-rose); }
.faq-item__icon .icon-minus { display: none; }
.faq-item.is-open .faq-item__icon .icon-plus { display: none; }
.faq-item.is-open .faq-item__icon .icon-minus { display: inline; }
.faq-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease-out; }
.faq-item.is-open .faq-item__panel { grid-template-rows: 1fr; }
.faq-item__panel-inner { overflow: hidden; }
.faq-item__panel p { padding-bottom: 1.5rem; padding-right: 2rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.6; max-width: 42rem; }
@media (min-width: 768px) { .faq-item__panel p { font-size: 15px; } }

.testimonials-block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.testimonials-block__heading { font-family: var(--font-display); font-weight: 300; font-size: 1.875rem; line-height: 1.2; }
@media (min-width: 768px) { .testimonials-block__heading { font-size: 2.25rem; } }
.testimonials-block__nav { display: none; align-items: center; gap: .5rem; }
@media (min-width: 768px) { .testimonials-block__nav { display: flex; } }
.testimonials-block__nav-btn { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s ease, color .2s ease; }
.testimonials-block__nav-btn:hover { border-color: var(--color-rose); color: var(--color-rose); }
.testimonials-viewport { overflow: hidden; margin: 0 -0.75rem; }
.testimonials-track { display: flex; transition: transform .4s ease; }
.testimonial-slide { flex: 0 0 100%; padding: 0 .75rem; }
@media (min-width: 768px) { .testimonial-slide { flex: 0 0 50%; } }
@media (min-width: 1024px) { .testimonial-slide { flex: 0 0 25%; } }
.testimonial-card { height: 100%; background: var(--color-ivory); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); border-radius: 1rem; padding: 1.5rem; display: flex; flex-direction: column; }
.testimonial-card__stars { display: flex; gap: 2px; margin-bottom: 1rem; color: var(--color-rose); }
.testimonial-card__text { font-size: 14px; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); flex: 1; }
.testimonial-card__meta { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.testimonial-card__name { font-size: 14px; font-weight: 500; }
.testimonial-card__city { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.testimonials-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 2rem; }
.testimonials-dots button { height: 6px; width: 6px; border-radius: 999px; background: color-mix(in srgb, var(--color-foreground) 25%, transparent); transition: width .2s ease, background-color .2s ease; }
.testimonials-dots button:hover { background: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.testimonials-dots button.is-active { width: 2rem; background: var(--color-rose); }

/* =========================================================================
   Pre-contact CTA
   ========================================================================= */
.precontact-section { position: relative; overflow: hidden; }
.precontact-section__scrim-radial { position: absolute; inset: 0; background: radial-gradient(at center, color-mix(in srgb, var(--color-foreground) 40%, transparent) 0%, color-mix(in srgb, var(--color-foreground) 62%, transparent) 70%, color-mix(in srgb, var(--color-foreground) 84%, transparent) 100%); pointer-events: none; }
.precontact-section__scrim-dark { position: absolute; inset: 0; background: rgba(0,0,0,.55); pointer-events: none; }
.precontact-section__inner { position: relative; z-index: 10; padding-top: 7rem; padding-bottom: 7rem; text-align: center; color: #fff; }
@media (min-width: 768px) { .precontact-section__inner { padding-top: 10rem; padding-bottom: 10rem; } }
.precontact-eyebrow {
  display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .75rem;
  max-width: 100%; font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.85); margin-bottom: 1.5rem; font-weight: 500;
}
@media (min-width: 640px) { .precontact-eyebrow { letter-spacing: .38em; } }
.precontact-eyebrow .rule { height: 1px; width: 2rem; background: color-mix(in srgb, var(--color-rose) 80%, transparent); flex-shrink: 0; }
.precontact-heading { font-size: clamp(2rem, 5.4vw, 4rem); line-height: 1.05; max-width: 56rem; margin: 0 auto; text-shadow: 0 2px 30px rgba(0,0,0,.55); overflow-wrap: break-word; }
.precontact-heading em { font-style: italic; color: var(--color-rose); }
.precontact-paragraph { margin: 1.75rem auto 0; max-width: 36rem; font-size: 15px; color: rgba(255,255,255,.85); line-height: 1.6; overflow-wrap: break-word; }
.precontact-section__inner > div:last-child { margin-top: 2.5rem; }

/* =========================================================================
   Contact
   ========================================================================= */
.contact-section { background: var(--color-linen); padding: 6rem 0 3rem; }
@media (min-width: 768px) { .contact-section { padding: 8rem 0 4rem; } }
.contact-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact-section__intro { display: flex; flex-direction: column; height: 100%; }
.contact-title { font-size: 2.25rem; }
@media (min-width: 768px) { .contact-title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3.4rem; } }
.contact-info-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-row { display: inline-flex; align-items: center; gap: 1rem; transition: color .2s ease; }
.contact-info-row:hover { color: var(--color-rose); }
.contact-info-row__icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--color-ivory); border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s ease; flex-shrink: 0; }
.contact-info-row:hover .contact-info-row__icon { border-color: var(--color-rose); }
.contact-info-row__text { display: flex; flex-direction: column; text-align: left; }
.contact-info-row__label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.contact-info-row__value { font-size: 15px; font-weight: 500; }
.contact-quote-card { margin-top: auto; padding-top: 2.5rem; position: relative; }
.contact-quote-card { position: relative; border-radius: 1rem; border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); background: color-mix(in srgb, var(--color-ivory) 70%, transparent); padding: 1.5rem 1.75rem; margin-top: 2.5rem; }
.contact-quote-card__badge { position: absolute; top: -.75rem; left: 1.5rem; display: inline-flex; align-items: center; gap: .375rem; padding: .25rem .75rem; border-radius: 999px; background: var(--color-rose); color: var(--color-rose-foreground); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.contact-quote-card .pull-quote { font-size: 18px; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
@media (min-width: 768px) { .contact-quote-card .pull-quote { font-size: 20px; } }
.contact-quote-card__note { margin-top: .75rem; padding-left: 1.25rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); letter-spacing: .01em; }

.contact-form { background: var(--color-ivory); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow-soft); height: 100%; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) { .contact-form { padding: 2rem; } }
.contact-form__fields { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-form__row { grid-template-columns: 1fr 1fr; } }
.contact-form__field label, .contact-form__field > label { display: block; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: .5rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; height: 3rem; padding: 0 1rem; background: var(--color-ivory);
  border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); border-radius: .5rem;
  font-size: 14px; color: var(--color-foreground); transition: border-color .2s ease;
}
.contact-form textarea { height: auto; padding: .75rem 1rem; resize: none; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-rose); }
.contact-form__select-wrap { position: relative; }
.contact-form__select-wrap select { appearance: none; padding-right: 2.5rem; }
.contact-form__select-wrap svg { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--color-foreground) 55%, transparent); pointer-events: none; }
.contact-form__submit { padding-top: .5rem; display: flex; flex-direction: column; gap: .75rem; }
.contact-form__submit-btn { width: 100%; }
.contact-form__note { text-align: center; font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--color-linen); border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.site-footer__inner { padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-top: 5rem; padding-bottom: 5rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.site-footer__logo { display: inline-flex; align-items: center; gap: .75rem; }
.site-footer__brand-text { font-family: var(--font-display); font-weight: 300; font-size: 1.125rem; }
.site-footer__desc { margin-top: 1rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.6; max-width: 20rem; }
.site-footer__heading { font-family: var(--font-display); font-weight: 300; font-size: 1.125rem; margin-bottom: 1rem; }
.site-footer__links { display: flex; flex-direction: column; gap: .625rem; }
.site-footer__links a, .site-footer__note { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); }
.site-footer__links a:hover { color: var(--color-rose); }
.site-footer__mail-link { display: inline-flex; align-items: center; gap: .5rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); text-align: center; font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); display: flex; flex-direction: column; gap: .5rem; }
.site-footer__tagline { color: var(--color-rose); }
.site-footer__bottom a { color: var(--color-rose); }
.site-footer__bottom a:hover { text-decoration: underline; }

/* =========================================================================
   404
   ========================================================================= */
.notfound-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; }
.notfound-page__inner { text-align: center; padding: 5rem 0; }
.notfound-page__inner h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.notfound-page__inner p { margin-bottom: 1.5rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* Generic pages */
.generic-page__container { padding-top: 3rem; padding-bottom: 3rem; }
.page-title { font-size: 2.5rem; margin-bottom: 1.5rem; font-family: var(--font-display); font-weight: 300; }

/* =========================================================================
   WooCommerce — single product page (Section 11)
   ========================================================================= */
.single-product__breadcrumb { padding: .5rem 0 1rem; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.single-product__breadcrumb a:hover { color: var(--color-primary); }
.single-product__breadcrumb span { margin: 0 .5rem; opacity: .5; }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 5rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { position: sticky; top: 7rem; } }
.theme-product-gallery__main { position: relative; aspect-ratio: 1/1; width: 100%; background: var(--color-linen); border-radius: .75rem; overflow: hidden; margin-bottom: 1rem; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: .625rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { position: relative; aspect-ratio: 1/1; background: var(--color-linen); border-radius: .375rem; overflow: hidden; border: 2px solid transparent; transition: border-color .2s ease; }
.theme-product-thumb.is-active { border-color: var(--color-primary); }
.theme-product-thumb:hover { border-color: color-mix(in srgb, var(--color-foreground) 20%, transparent); }

.theme-product-info__category { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--color-primary); margin-bottom: .75rem; font-weight: 500; }
.product-title { font-family: var(--font-body); font-weight: 600; font-size: 1.875rem; line-height: 1.05; margin-bottom: 1rem; }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.6rem; } }
.theme-product-info__price { font-size: 20px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); margin-bottom: 1.75rem; }
.theme-product-info__stock.is-out { display: inline-block; margin-bottom: 1.5rem; padding: .375rem .875rem; border-radius: 999px; background: color-mix(in srgb, var(--color-destructive) 12%, transparent); color: var(--color-destructive); font-size: 13px; font-weight: 500; }
.theme-product-info__description { font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__description p + p { margin-top: 1em; }

.personalization-box { margin-bottom: 2rem; padding: 1.25rem; border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); border-radius: .75rem; background: color-mix(in srgb, var(--color-linen) 50%, transparent); }
.personalization-box__heading { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); font-weight: 500; margin-bottom: 1rem; }
.personalization-box__row { display: grid; grid-template-columns: 1fr; gap: .75rem; margin-bottom: .75rem; }
@media (min-width: 480px) { .personalization-box__row { grid-template-columns: 1fr 1fr; } }
.personalization-field { display: block; }
.personalization-field--full { grid-column: 1 / -1; }
.personalization-field span:first-child, .personalization-field__text-head { display: block; font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-bottom: .375rem; }
.personalization-field select {
  width: 100%; height: 2.75rem; padding: 0 2.25rem 0 .75rem; background: var(--color-ivory);
  border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); border-radius: .375rem;
  font-size: 14px; color: var(--color-foreground); appearance: none; background-repeat: no-repeat;
  background-position: right .75rem center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23524a44' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.personalization-field select:focus { outline: none; border-color: var(--color-primary); }
.personalization-field--ribbon .personalization-field__swatch-wrap { position: relative; }
.personalization-field--ribbon select { padding-left: 2.25rem; }
.personalization-field__swatch { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--color-foreground) 25%, transparent); pointer-events: none; }
.personalization-field--text { margin-top: .25rem; }
.personalization-field__text-head { display: flex; align-items: center; justify-content: space-between; }
.personalization-field__counter { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.personalization-field textarea {
  width: 100%; padding: .625rem .75rem; background: var(--color-ivory);
  border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); border-radius: .375rem;
  font-size: 14px; color: var(--color-foreground); resize: none;
}
.personalization-field textarea:focus { outline: none; border-color: var(--color-primary); }
.personalization-box__error { margin-top: .5rem; display: flex; align-items: center; gap: .375rem; font-size: 12px; color: var(--color-destructive); }

.quantity-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: .625rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); border-radius: 999px; }
.theme-quantity-wrapper button { padding: .625rem 1rem; transition: color .2s ease; }
.theme-quantity-wrapper button:hover { color: var(--color-primary); }
.theme-qty-input { width: 2.75rem; text-align: center; border: none; background: transparent; font-size: 14px; font-weight: 500; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-quantity-wrapper-outer { margin-bottom: 1.5rem; }

.theme-add-to-cart-area { display: flex; flex-direction: column; align-items: stretch; gap: .75rem; }
@media (min-width: 640px) { .theme-add-to-cart-area { flex-direction: row; } }
.theme-add-to-cart-area .single_add_to_cart_button,
.theme-add-to-cart-area .theme-btn-outline { flex: 1 1 0; width: 100%; min-width: 0; }

.theme-product-info__details { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-product-info__details-heading { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 1rem; }
.theme-product-info__details-body ul { display: flex; flex-direction: column; gap: .625rem; }
.theme-product-info__details-body li { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); display: flex; align-items: flex-start; overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__details-body li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--color-primary); margin: .5rem .75rem 0 0; flex-shrink: 0; }

.theme-product-info__trust { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); text-align: center; }
.theme-product-info__trust svg { display: block; margin: 0 auto .5rem; color: var(--color-primary); }
.theme-product-info__trust span { display: block; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

.related-products-section { padding: 5rem 0; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.related-products-section__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; gap: 1rem; }
.related-products-section__heading { font-family: var(--font-display); font-weight: 300; font-size: 1.875rem; }
@media (min-width: 768px) { .related-products-section__heading { font-size: 2.25rem; } }
.related-products-section__viewall { display: none; align-items: center; gap: .375rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
@media (min-width: 640px) { .related-products-section__viewall { display: inline-flex; } }
.related-products-section__viewall:hover { color: var(--color-primary); }

/* Variations table reflow if the store ever adds a variable product */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: .25rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }

/* =========================================================================
   Add-to-cart button style override (Section 11.4.1)
   ========================================================================= */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button,
button.single_add_to_cart_button {
  background-color: var(--color-rose) !important;
  color: var(--color-rose-foreground) !important;
  border: 1px solid var(--color-rose) !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  cursor: pointer !important;
  transition: opacity .2s ease, background-color .2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: .9 !important;
  background-color: var(--color-rose) !important;
  color: var(--color-rose-foreground) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: .4 !important;
  pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: .4 !important;
  background-color: var(--color-rose) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Notices — scoped visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
  border-radius: .5rem; padding: 1rem 1.25rem; font-size: 14px; background: var(--color-linen);
  border-top: 3px solid var(--color-primary); color: var(--color-foreground); margin-bottom: 1.5rem;
}
.woocommerce-error { border-top-color: var(--color-destructive); }

/* =========================================================================
   Shop archive
   ========================================================================= */
.shop-archive { padding-bottom: 5rem; }
.shop-archive .container-wide { padding-top: 2.5rem; }
.woocommerce-pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; }
.woocommerce-pagination ul { display: flex; gap: .5rem; }
.woocommerce-pagination a, .woocommerce-pagination span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem;
  border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); font-size: 14px;
}
.woocommerce-pagination .current { background: var(--color-rose); color: var(--color-rose-foreground); border-color: var(--color-rose); }

/* =========================================================================
   Side cart drawer (Section 12)
   ========================================================================= */
#theme-cart-overlay {
  position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--color-foreground) 30%, transparent);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
#theme-cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 91;
  background: var(--color-ivory); box-shadow: var(--shadow-elevated); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.22,1,.36,1);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: .6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-cart-drawer__header h2 { font-family: var(--font-display); font-size: 1.5rem; }
.theme-cart-drawer__close { padding: .375rem; border-radius: 50%; transition: background-color .2s ease; }
.theme-cart-drawer__close:hover { background: color-mix(in srgb, var(--color-foreground) 6%, transparent); }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer__empty svg { color: color-mix(in srgb, var(--color-foreground) 30%, transparent); margin-bottom: 1rem; }
.theme-cart-drawer__empty p { margin-bottom: 1.5rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__img { position: relative; display: block; width: 5rem; height: 6rem; border-radius: .375rem; overflow: hidden; background: var(--color-bone); flex-shrink: 0; }
.theme-cart-item__img img {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important; max-width: none !important;
  object-fit: cover; object-position: center; display: block;
}
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { display: block; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-cart-item__name:hover { color: var(--color-primary); }
.theme-cart-item__price { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: .125rem; }
.theme-cart-item__meta {
  list-style: none; margin: .375rem 0 0; padding: 0;
  display: flex; flex-direction: column; gap: .125rem;
  font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.35;
}
.theme-cart-item__meta-label { color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.theme-cart-item__meta-ribbon { display: flex; align-items: center; gap: .375rem; flex-wrap: wrap; }
.theme-cart-item__swatch {
  display: inline-block; width: .625rem; height: .625rem; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); flex-shrink: 0;
}
.theme-cart-item__meta-favorites {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.theme-cart-item__controls { display: flex; align-items: center; gap: .5rem; margin-top: .75rem; }
.theme-cart-item__qty-btn { padding: .25rem; border-radius: .25rem; transition: background-color .2s ease; }
.theme-cart-item__qty-btn:hover { background: var(--color-bone); }
.theme-cart-item__qty { font-size: 13px; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-cart-item__remove:hover { color: var(--color-destructive); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); background: color-mix(in srgb, var(--color-linen) 40%, transparent); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 14px; }
.theme-cart-drawer__subtotal span:last-child { font-weight: 500; }
.theme-cart-drawer__note { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-cart-drawer__checkout { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; justify-content: center; }

/* =========================================================================
   Checkout / Cart / My Account (WooCommerce Blocks, Section 13)
   ========================================================================= */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar {
  min-width: 0; width: 100%; max-width: none;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-cart .wc-block-components-text-input input {
  width: 100% !important; max-width: none !important;
}
body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
  body.woocommerce-checkout .wc-block-checkout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--checkout-gap, 2rem);
    align-items: start;
  }
  body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart.is-large,
  body.woocommerce-cart .wc-block-cart {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--checkout-gap, 2rem);
    align-items: start;
  }
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__sidebar {
  background-color: var(--color-ivory);
  border-radius: var(--card-radius);
  padding: var(--section-padding, 2rem);
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .woocommerce-checkout .form-row .input-text,
body.woocommerce-checkout .woocommerce-checkout .form-row select {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-foreground);
  border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
  border-radius: .5rem;
  background-color: var(--color-ivory);
  padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  border-color: var(--color-rose);
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-rose) !important; color: var(--color-rose-foreground) !important;
  border-radius: var(--btn-radius) !important; font-weight: 500 !important; text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: .9; }

.page-title, body.woocommerce-checkout .entry-content, body.woocommerce-cart .entry-content, body.woocommerce-account .entry-content {
  max-width: 80rem; margin-left: auto; margin-right: auto;
}

/* =========================================================================
   Thank-you page (Section 22.8)
   ========================================================================= */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: var(--header-height); }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { max-width: 80rem; margin: 0 auto; }
body.theme-thankyou-page h2, body.theme-thankyou-page .woocommerce-order-details__title {
  font-family: var(--font-display); font-weight: 300; font-size: 1.75rem; padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; list-style: none; padding: 1.5rem; margin-bottom: 2rem;
  background: var(--color-linen); border-radius: var(--card-radius);
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: .75rem; border-bottom: 1px solid var(--color-border); text-align: left; font-size: 14px; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@media (min-width: 768px) {
  body.theme-thankyou-page .woocommerce-customer-details {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
  }
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; overflow-wrap: break-word; border: 1px solid var(--color-border); border-radius: var(--card-radius); padding: 1.25rem; font-size: 14px; line-height: 1.6; }

/* =========================================================================
   Responsive layout safety rules (Section 11.13)
   ========================================================================= */
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* =========================================================================
   Floating promo popup (Lovable PromoBanner parity)
   ========================================================================= */
.theme-promo-banner {
  position: fixed; bottom: 1.5rem; left: 1rem; right: 1rem; z-index: 50;
  display: none; align-items: flex-start; gap: .75rem;
  background: var(--color-foreground); color: var(--color-background);
  border-radius: 1rem; box-shadow: var(--shadow-elevated);
  padding: 1rem 1.25rem; animation: fade-in .7s ease-out both;
}
@media (min-width: 640px) {
  .theme-promo-banner { left: auto; right: 1.5rem; max-width: 26rem; }
}
.theme-promo-banner.is-visible { display: flex; }
.theme-promo-banner__text { flex: 1; width: 100%; font-size: 13px; line-height: 1.6; margin: 0; }
@media (min-width: 640px) { .theme-promo-banner__text { font-size: 15px; } }
.theme-promo-banner__close {
  flex-shrink: 0; margin-top: .125rem; padding: .375rem; border-radius: 999px;
  color: inherit; line-height: 0; transition: background-color .2s ease;
}
.theme-promo-banner__close:hover { background: rgba(255,255,255,.1); }
body.admin-bar .theme-promo-banner { bottom: calc(1.5rem + 32px); }
@media screen and (max-width: 782px) {
  body.admin-bar .theme-promo-banner { bottom: calc(1.5rem + 46px); }
}

