/* ==========================================================================
   Handmade by Rylee — theme.css
   Author: The Free Website Guys
   ========================================================================== */

:root {
  --color-background: #fbf8f4;
  --color-foreground: #152822;
  --color-primary: #d34583;
  --color-primary-foreground: #f8f6f2;
  --color-secondary: #f5eaed;
  --color-accent: #37beb5;
  --color-muted-foreground: #4c615a;
  --color-border: #e7dadd;
  --color-blush: #f7dee4;
  --color-blush-deep: #e0aeba;
  --color-butter: #fbe6a7;
  --color-mint: #c3eadb;
  --color-lilac: #dfcef3;
  --color-card: #fbfaf8;
  --color-button-text: var(--color-primary-foreground);

  --font-display: 'Varela Round', 'Helvetica Rounded', 'Arial Rounded MT Bold', sans-serif;
  --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;

  --radius: 1.25rem;
  --card-radius: 2rem;
  --logo-height: 88px;
  --header-height: 96px;
  --announcement-height: 0px;

  --btn-radius: 999px;
  --btn-height: 3rem;
  --btn-padding: 0 2rem;
  --btn-font-size: 0.75rem;
  --btn-font-weight: 500;
  --btn-letter-spacing: 0.24em;
  --btn-text-transform: uppercase;
  --btn-icon-padding: 0.6rem;

  --shadow-soft: 0 6px 24px -8px rgba(21, 40, 34, 0.08);
  --shadow-elevated: 0 14px 40px -12px rgba(21, 40, 34, 0.14);
  --shadow-candy: 0 14px 30px -18px rgba(211, 69, 61, 0.35), 0 2px 0 0 var(--color-blush);
  --transition-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: inherit;
  font-size: inherit;
  letter-spacing: 0.005em;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }

/* WordPress admin bar + fixed header/announcement */
body.admin-bar {
  --wp-admin-bar-height: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar {
    --wp-admin-bar-height: 46px;
  }
}
body:not(.admin-bar) {
  --wp-admin-bar-height: 0px;
}

a[href],
button:not(:disabled),
.theme-btn,
.cat-square,
.faq-item__trigger,
.theme-nav-link,
.theme-mega__link,
.theme-mega__all,
.theme-mega__feature,
.theme-mobile-menu__toggle,
.theme-mobile-menu__link,
.theme-icon-btn,
.theme-search-result,
.shop-filter__trigger,
.shop-filter__list button,
.theme-cart-item__qty button,
label[for] {
  cursor: pointer;
}

img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.hero-carousel__slide):not(.theme-product-card__image):not(.trending-card__image):not(.lifestyle-banner__image):not(.brand-story__image):not(.process-section__image) {
  max-width: 100%;
  height: auto;
}
.cover-img, .hero-carousel__slide, .theme-product-card__image, .trending-card__image, .lifestyle-banner__image, .brand-story__image, .process-section__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.italic { font-style: italic; }
.not-italic { font-style: normal; }

.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.container-editorial { width: 100%; max-width: 64rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 768px) {
  .container-wide, .container-editorial { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1024px) {
  .container-wide, .container-editorial { padding-left: 2.5rem; padding-right: 2.5rem; }
}
@media (min-width: 1280px) {
  .container-wide, .container-editorial { padding-left: 3rem; padding-right: 3rem; }
}

.label-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-muted-foreground);
  display: block;
}

/* ---------- Buttons ---------- */
.theme-btn {
  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-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}
.theme-btn-primary, .theme-btn-brand {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  border-color: var(--color-primary);
}
.theme-btn-primary:hover, .theme-btn-brand:hover {
  background: var(--color-background);
  color: var(--color-primary);
}
.theme-btn-outline {
  background: transparent;
  border-color: color-mix(in srgb, var(--color-primary) 40%, transparent);
  color: var(--color-foreground);
}
.theme-btn-outline:hover { background: var(--color-primary); color: var(--color-primary-foreground); }

/* ---------- Animations (Section 2.1) ---------- */
@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-decor-float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }

.animate-fade-in { animation: theme-fade-in 0.4s var(--transition-smooth) forwards; }

.reveal-item {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item,
.no-js .reveal-item {
  opacity: 1 !important;
  transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-item { transition: none; opacity: 1; transform: none; }
  .decor-float { animation: none; }
}

.decor-float {
  position: absolute;
  pointer-events: none;
  user-select: none;
  display: none;
  animation: theme-decor-float 7s ease-in-out infinite;
  z-index: 1;
}
@media (min-width: 768px) { .decor-float { display: block; } }

/* ---------- Announcement bar ---------- */
.theme-announcement {
  position: fixed;
  top: var(--wp-admin-bar-height, 0px);
  left: 0; right: 0;
  z-index: 60;
  background: var(--color-blush);
  color: var(--color-foreground);
  border-bottom: 1px solid var(--color-blush-deep);
}
.theme-announcement__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.35rem 2rem;
  position: relative;
}
.theme-announcement__text { font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500; text-align: center; }
.theme-announcement__close { position: absolute; right: 0.5rem; padding: 0.25rem; opacity: 0.7; }
.theme-announcement__close:hover { opacity: 1; }
.theme-announcement.is-hidden { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: var(--wp-admin-bar-height, 0px);
  left: 0; right: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--color-background) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: top 0.3s ease, background 0.3s ease;
}
body:has(.theme-announcement:not(.is-hidden)) {
  --announcement-height: 38px;
}
body:has(.theme-announcement:not(.is-hidden)) .site-header {
  top: calc(var(--wp-admin-bar-height, 0px) + var(--announcement-height));
}
@media (min-width: 1024px) {
  :root { --header-height: 112px; }
}
.site-header .container-wide { min-width: 0; }
.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  min-width: 0;
  gap: 0.5rem;
}
@media (min-width: 1024px) { .site-nav { height: 112px; } }

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 9.5rem);
  min-width: 0;
}
@media (max-width: 1023px) {
  .theme-mobile-toggle,
  .site-nav__actions { position: relative; z-index: 2; flex-shrink: 0; }
  .site-logo-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 12rem;
  }
}
@media (min-width: 1024px) {
  .site-logo {
    position: static;
    transform: none;
    max-width: none;
    flex-shrink: 0;
    z-index: 2;
  }
  .site-nav__actions {
    flex-shrink: 0;
    margin-left: auto;
    z-index: 2;
  }
  .site-nav__primary {
    z-index: 1;
  }
  .theme-nav-list { gap: 2.25rem; }
}
body.theme-mobile-menu-open .site-header {
  background: var(--color-background);
  backdrop-filter: none;
}
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; display: block; }
.site-logo-brandname { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }

.theme-mobile-toggle { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0.25rem; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle__label { font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.7; }
.theme-mobile-toggle__bars { position: relative; display: block; height: 1rem; width: 1.5rem; }
.theme-mobile-toggle__bars span { position: absolute; left: 0; top: 50%; height: 1px; width: 1.5rem; background: currentColor; transition: transform 0.3s ease; }
.theme-mobile-toggle__bars span:first-child { transform: translateY(-5px); }
.theme-mobile-toggle__bars span:last-child { transform: translateY(4px); width: 0.9rem; }
.theme-mobile-toggle[aria-expanded="true"] .theme-mobile-toggle__bars span:first-child { transform: translateY(0) rotate(45deg); }
.theme-mobile-toggle[aria-expanded="true"] .theme-mobile-toggle__bars span:last-child { transform: translateY(0) rotate(-45deg); width: 1.5rem; }

.site-nav__primary { display: none; overflow: visible; }
@media (min-width: 1024px) {
  .site-nav__primary { display: flex; align-items: center; gap: 2.25rem; position: absolute; left: 50%; transform: translateX(-50%); }
}
.theme-nav-list { display: flex; align-items: center; gap: 2.25rem; list-style: none; margin: 0; padding: 0; }
.theme-nav-item { position: relative; }
.theme-nav-link {
  font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.25rem;
  transition: color 0.3s;
}
.theme-nav-link:hover, .theme-nav-item.is-open .theme-nav-link { color: var(--color-primary); }

@media (min-width: 1024px) {
  .site-header > .container-wide { position: relative; }
  :root { --logo-height: 5.6rem; }
}
.theme-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.25s var(--transition-smooth), transform 0.25s var(--transition-smooth), visibility 0.25s;
  z-index: 45;
  pointer-events: none;
}
.theme-mega.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.theme-mega__shell {
  width: 100%;
  background: var(--color-background);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-elevated);
}
.theme-mega__inner.container-wide {
  max-width: 80rem;
  margin-inline: auto;
  padding-top: 3rem;
  padding-bottom: 3rem;
  box-sizing: border-box;
}
.theme-mega__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .theme-mega__grid.has-feature {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: stretch;
  }
}
.theme-mega__columns {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(var(--mega-cols, 1), minmax(0, 1fr));
}
.theme-mega__col { display: flex; flex-direction: column; min-width: 0; }
.theme-mega__col-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-foreground);
  margin: 0 0 1.75rem;
  font-weight: 400;
}
.theme-mega__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.875rem; }
.theme-mega__link {
  display: block;
  text-align: left;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
  transition: color 0.2s ease;
}
.theme-mega__link:hover { color: var(--color-primary); }
.theme-mega__all {
  align-self: flex-start;
  margin-top: 2.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: var(--color-foreground);
  border-bottom: 1px solid var(--color-foreground);
  padding-bottom: 0.25rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.theme-mega__all:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.theme-mega__feature {
  display: none;
  position: relative;
  overflow: hidden;
  text-align: left;
  color: #fff;
}
@media (min-width: 1024px) {
  .theme-mega__feature { display: block; }
}
.theme-mega__feature-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  overflow: hidden;
}
.theme-mega__feature-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--transition-smooth);
}
.theme-mega__feature:hover .theme-mega__feature-image { transform: scale(1.05); }
.theme-mega__feature-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.2));
  pointer-events: none;
}
.theme-mega__feature-top {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 1;
}
.theme-mega__feature-eyebrow {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.95);
}
.theme-mega__feature-bottom {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 1;
}
.theme-mega__feature-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.25;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}
.theme-mega__feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-family: var(--font-body);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  padding-bottom: 0.25rem;
}
.site-nav__actions { display: flex; align-items: center; gap: 0.25rem; }
.theme-icon-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0.5rem; transition: opacity 0.3s, transform 0.3s; }
.theme-icon-btn:hover { opacity: 0.7; }
.theme-cart-btn { position: relative; }
.theme-cart-btn:hover { transform: rotate(-6deg); }
.theme-cart-count {
  position: absolute; top: -2px; right: -2px;
  min-width: 20px; height: 20px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 500;
  background: var(--color-primary); color: var(--color-primary-foreground);
  border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

/* ---------- Mobile menu (Lovable: full-height panel, stacked links) ---------- */
.theme-mobile-menu {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  top: calc(var(--wp-admin-bar-height, 0px) + var(--announcement-height, 0px) + var(--header-height, 96px));
  z-index: 40;
  background: var(--color-background);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.theme-mobile-menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (min-width: 1024px) { .theme-mobile-menu { display: none !important; } }
.theme-mobile-menu__nav {
  padding: 2rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-sizing: border-box;
}
.theme-mobile-menu__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.theme-mobile-menu__list > li,
.theme-mobile-menu__list .menu-item {
  list-style: none;
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent);
  min-width: 0;
}
.theme-mobile-menu__item { border-bottom: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent); }
.theme-mobile-menu__link,
.theme-mobile-menu__toggle,
.theme-mobile-menu__list > li > a,
.theme-mobile-menu__list .menu-item > a {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: var(--color-foreground);
  transition: color 0.2s ease;
  box-sizing: border-box;
}
.theme-mobile-menu__list > li > a,
.theme-mobile-menu__list .menu-item > a { display: block; }
.theme-mobile-menu__link:hover,
.theme-mobile-menu__toggle:hover,
.theme-mobile-menu__list > li > a:hover,
.theme-mobile-menu__list .menu-item > a:hover { color: var(--color-primary); }
.theme-mobile-menu__toggle svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.theme-mobile-menu__item.is-open .theme-mobile-menu__toggle svg { transform: rotate(180deg); }
.theme-mobile-menu__sub { display: none; padding-bottom: 1rem; padding-left: 0.25rem; }
.theme-mobile-menu__item.is-open .theme-mobile-menu__sub { display: block; }
.theme-mobile-menu__sub-title {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-foreground) 50%, transparent);
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
}
.theme-mobile-menu__sub ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.theme-mobile-menu__sub ul:last-child { margin-bottom: 0.5rem; }
.theme-mobile-menu__sub a {
  display: block;
  padding: 0.625rem 0;
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  transition: color 0.2s ease;
}
.theme-mobile-menu__sub a:hover { color: var(--color-primary); }
.theme-mobile-menu__footer {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.theme-mobile-menu__email {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
  transition: color 0.2s ease;
  overflow-wrap: anywhere;
}
.theme-mobile-menu__email:hover { color: var(--color-primary); }
.theme-mobile-menu__quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.theme-mobile-menu__quick-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  border: 1px solid var(--color-border);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-family: var(--font-body);
  transition: background 0.2s ease, color 0.2s ease;
  min-width: 0;
}
.theme-mobile-menu__quick-btn:hover {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  border-color: var(--color-primary);
}
.theme-mobile-menu__cart-count { letter-spacing: 0.1em; }

/* ---------- Dialogs (search / contact) ---------- */
.theme-dialog { position: fixed; inset: 0; z-index: 70; display: none; }
.theme-dialog.is-open { display: block; }
.theme-dialog__overlay { position: absolute; inset: 0; background: rgba(21, 40, 34, 0.4); animation: theme-fade-in 0.25s ease; }
.theme-dialog__panel {
  position: relative; z-index: 1;
  max-width: 34rem; margin: 8vh auto 0;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 2rem;
  max-height: 82vh; overflow-y: auto;
  animation: theme-slide-up 0.35s var(--transition-smooth);
}
.theme-dialog__close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  padding: 0.25rem; border: none; background: transparent; color: inherit;
  opacity: 0.7; transition: opacity 0.2s ease;
}
.theme-dialog__close:hover { opacity: 1; }

.theme-dialog--centered.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.theme-dialog--centered .theme-dialog__overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.8);
}
.theme-dialog--centered .theme-dialog__panel {
  position: relative;
  z-index: 1;
  width: calc(100% - 2rem);
  max-width: 32rem;
  max-height: 90vh;
  margin: 0;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-elevated);
  animation: theme-dialog-zoom-in 0.2s ease;
}
@keyframes theme-dialog-zoom-in {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.theme-search-panel__label { display: block; margin-bottom: 0.5rem; }
.theme-search-panel__input { width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem; background: var(--color-background); }
.theme-search-panel__results { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; max-height: 50vh; overflow-y: auto; }
.theme-search-result { display: flex; align-items: center; gap: 1rem; padding: 0.5rem; border-radius: var(--radius); transition: background 0.2s; }
.theme-search-result:hover { background: var(--color-secondary); }
.theme-search-result img { width: 3rem; height: 3rem; object-fit: cover; border-radius: 0.75rem; }

.theme-contact-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.theme-contact-panel__header { display: flex; flex-direction: column; gap: 0.375rem; }
.theme-contact-panel__eyebrow { margin-bottom: 0.125rem; }
.theme-contact-panel__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0;
}
.theme-contact-panel__desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.625;
  color: var(--color-muted-foreground);
}
.theme-contact-panel__email {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}
.theme-contact-panel__email a { transition: color 0.2s ease; }
.theme-contact-panel__email a:hover { color: var(--color-foreground); }
.theme-contact-panel__success { text-align: center; padding: 2rem 0; }
.theme-contact-panel__success-icon {
  width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--color-primary); color: var(--color-primary-foreground);
}
.theme-contact-panel__success-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}
.theme-contact-panel__success-text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}
.theme-contact-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-contact-form__row { grid-template-columns: 1fr 1fr; } }
.theme-contact-form label.label-eyebrow { margin-bottom: 0.375rem; }
.theme-contact-form input, .theme-contact-form textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--color-border);
  background: var(--color-background);
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}
.theme-contact-form textarea { resize: none; }
.theme-contact-form input::placeholder, .theme-contact-form textarea::placeholder { color: var(--color-muted-foreground); }
.theme-contact-form input:focus, .theme-contact-form textarea:focus { outline: none; border-color: var(--color-primary); }
.theme-contact-form__actions { display: flex; justify-content: flex-end; }
.theme-contact-form__submit { height: 2.75rem; padding-left: 1.5rem; padding-right: 1.5rem; }
.theme-contact-form__submit-icon { margin-left: 0.125rem; }
.theme-contact-form__submit:disabled .theme-contact-form__submit-icon { display: none; }
.theme-contact-form__status { font-size: 0.85rem; text-align: center; min-height: 1.2em; }
.theme-contact-form__status.is-error { color: #c32222; }

/* ---------- Hero ---------- */
.hero-carousel { position: relative; width: 100%; height: 100svh; overflow: hidden; }
.hero-carousel__slide {
  opacity: 0;
  transition: opacity 1.4s var(--transition-smooth), transform 1.4s var(--transition-smooth);
  transform: scale(1.04);
}
.hero-carousel__slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.hero-carousel__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.75));
}
.hero-carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  color: rgba(255,255,255,0.8); padding: 0.75rem; transition: color 0.3s;
  border: none; background: transparent; cursor: pointer;
}
.hero-carousel__arrow:hover { color: #fff; }
.hero-carousel__arrow--prev { left: 1rem; }
.hero-carousel__arrow--next { right: 1rem; }
@media (min-width: 768px) { .hero-carousel__arrow--prev { left: 2rem; } .hero-carousel__arrow--next { right: 2rem; } }
.hero-carousel__content {
  position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; justify-content: center;
  pointer-events: none;
}
.hero-carousel__content a,
.hero-carousel__content button { pointer-events: auto; }
@media (min-width: 768px) { .hero-carousel__content { align-items: center; } }
.hero-carousel__content-inner { max-width: 42rem; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; padding-bottom: 5rem; }
@media (min-width: 768px) { .hero-carousel__content-inner { padding-bottom: 0; } }
.hero-carousel__eyebrow { color: rgba(255,255,255,0.9); margin-bottom: 1.25rem; text-shadow: 0 1px 8px rgba(0,0,0,0.4); font-size: 0.85rem; letter-spacing: 0.3em; }
.hero-carousel__title {
  font-size: 3rem; line-height: 1.02; color: #fff; margin-bottom: 2rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
@media (min-width: 768px) { .hero-carousel__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-carousel__title { font-size: 4.5rem; } }
.hero-carousel__cta { box-shadow: var(--shadow-elevated); }
.hero-carousel__cta-arrow { display: inline-flex; animation: theme-hero-arrow 1.8s ease-in-out infinite; }
@keyframes theme-hero-arrow { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
.hero-carousel__dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 0.5rem; }
.hero-carousel__dot { height: 2px; width: 1.25rem; background: rgba(255,255,255,0.4); transition: all 0.5s; }
.hero-carousel__dot.is-active { width: 2.5rem; background: #fff; }

/* ---------- Caption strip ---------- */
.caption-strip { border-bottom: 1px solid var(--color-border); }
/* padding-block only — padding: 2rem 0 was zeroing .container-wide horizontal padding */
.caption-strip__inner {
  padding-block: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
@media (min-width: 768px) {
  .caption-strip__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 2rem;
  }
}
.caption-strip__headline { font-style: italic; font-size: 1.25rem; line-height: 1.35; }
@media (min-width: 768px) { .caption-strip__headline { font-size: 1.5rem; } }
.caption-strip__cta { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; transition: color 0.3s; }
.caption-strip__cta:hover { color: var(--color-primary); }
.caption-strip__cta svg { transition: transform 0.3s; }
.caption-strip__cta:hover svg { transform: translateX(4px); }

/* ---------- Trending ---------- */
.trending-section { background: color-mix(in srgb, var(--color-blush) 60%, transparent); padding: 5rem 0; }
@media (min-width: 1024px) { .trending-section { padding: 7rem 0; } }
.trending-section__head { margin-bottom: 3rem; }
.trending-section__headline { font-size: clamp(3.25rem, 11vw, 10rem); line-height: 0.95; letter-spacing: -0.01em; padding-bottom: 1rem; }
.trending-section__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 768px) { .trending-section__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .trending-section__grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }
.trending-card { display: block; }
.trending-card--0 { }
.trending-card--1 { }
@media (min-width: 1024px) { .trending-card--0 { margin-top: 4rem; } .trending-card--2 { margin-top: 8rem; } }
.trending-card__frame {
  position: relative; overflow: hidden; border-radius: 2.25rem; aspect-ratio: 3/4;
  background: var(--color-card); padding: 0.6rem; border: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
  box-shadow: var(--shadow-candy);
  transition: transform 0.5s var(--transition-smooth), box-shadow 0.5s var(--transition-smooth);
}
.trending-card:hover .trending-card__frame { transform: translateY(-6px) rotate(-1deg); }
.trending-card__image { border-radius: 1.75rem; transition: transform 1.2s ease-out; }
.trending-card:hover .trending-card__image { transform: scale(1.03); }
.trending-card__caption { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; line-height: 1.4; margin-top: 1.5rem; max-width: 20rem; }
.trending-card__link { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; opacity: 0.8; transition: color 0.3s; }
.trending-card:hover .trending-card__link { color: var(--color-primary); }

/* ---------- Categories ---------- */
.categories-section { position: relative; background: linear-gradient(to bottom, var(--color-background), color-mix(in srgb, var(--color-blush) 20%, transparent), var(--color-background)); }
.categories-section__decor { width: 4rem; top: 1.5rem; right: 1.5rem; }
@media (min-width: 1024px) { .categories-section__decor { width: 6rem; right: 3.5rem; } }
.categories-section__head { padding-top: 4rem; padding-bottom: 1.5rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; position: relative; z-index: 2; }
.categories-section__headline { font-size: 1.5rem; line-height: 1.2; }
@media (min-width: 768px) { .categories-section__headline { font-size: 1.875rem; } }
.categories-section__clear { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-primary); }
.categories-section__scroller-wrap { position: relative; }
.categories-section__scroller-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 3.5rem;
  right: 0;
  width: 2.5rem;
  background: linear-gradient(to left, var(--color-background), transparent);
  pointer-events: none;
  z-index: 2;
}
@media (min-width: 1280px) {
  .categories-section__scroller-wrap::after { display: none; }
}
.categories-section__scroller {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.5rem 1.5rem 4rem;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
@media (min-width: 768px) {
  .categories-section__scroller {
    gap: 1.25rem;
    padding-inline: 2rem;
    scroll-padding-inline: 2rem;
  }
}
@media (min-width: 1280px) {
  .categories-section__scroller {
    overflow: visible;
    scroll-snap-type: none;
    justify-content: center;
    width: 100%;
    max-width: 87.5rem; /* 1400px — Lovable xl:max-w-[1400px] */
    margin-inline: auto;
    padding-inline: 1.5rem; /* Lovable md:px-6 */
  }
}
.categories-section__tile-wrap {
  flex: 0 0 min(82vw, 17.5rem);
  scroll-snap-align: center;
  min-width: 0;
}
@media (min-width: 640px) {
  .categories-section__tile-wrap { flex: 0 0 44vw; scroll-snap-align: start; }
}
@media (min-width: 768px) { .categories-section__tile-wrap { flex: 0 0 32vw; } }
@media (min-width: 1024px) { .categories-section__tile-wrap { flex: 0 0 22vw; } }
@media (min-width: 1280px) {
  .categories-section__tile-wrap {
    flex: 1 1 0;
    flex-shrink: 1;
    min-width: 0;
    scroll-snap-align: none;
  }
}

.cat-square {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2rem;
  text-align: left;
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s var(--transition-smooth), box-shadow 0.5s var(--transition-smooth);
}
@media (max-width: 639px) {
  .cat-square {
    aspect-ratio: 5 / 6;
    border-radius: 1.75rem;
    box-shadow: var(--shadow-candy);
  }
  .cat-square__blob { width: 6.5rem; height: 6.5rem; bottom: -1.5rem; right: -1rem; }
  .cat-square__content { padding: 1.25rem 1.25rem 1.5rem; }
  .cat-square__eyebrow { font-size: 0.625rem; margin-bottom: 0.5rem; }
  .cat-square__title { font-size: clamp(1.5rem, 7vw, 1.875rem); line-height: 1.08; }
  .cat-square__cta { margin-top: 0.75rem; font-size: 0.625rem; }
}
.cat-square:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-elevated); }
.cat-square.is-active { box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 60%, transparent); }
.cat-square--pink { background-color: var(--color-blush); background-image: radial-gradient(color-mix(in srgb, var(--color-primary) 22%, transparent) 3px, transparent 3.5px); background-size: 26px 26px; }
.cat-square--teal { background-color: var(--color-mint); background-image: repeating-linear-gradient(45deg, color-mix(in srgb, var(--color-accent) 18%, transparent) 0 10px, transparent 10px 24px); }
.cat-square--butter { background-color: var(--color-butter); background-image: radial-gradient(circle at 50% 0, transparent 12px, color-mix(in srgb, var(--color-background) 55%, transparent) 12.5px); background-size: 34px 34px; }
.cat-square--lilac { background-color: var(--color-lilac); background-image: radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--color-background) 70%, transparent) 6px, transparent 6.5px), radial-gradient(circle at 70% 60%, color-mix(in srgb, var(--color-primary) 18%, transparent) 9px, transparent 9.5px); background-size: 52px 52px, 52px 52px; }
.cat-square__blob { position: absolute; bottom: -2rem; right: -1.5rem; width: 8rem; height: 8rem; border-radius: 999px; background: color-mix(in srgb, var(--color-background) 40%, transparent); }
.cat-square__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; }
@media (min-width: 768px) { .cat-square__content { padding: 2rem; } }
.cat-square__eyebrow { font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-bottom: 0.75rem; }
.cat-square__title { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.05; }
@media (min-width: 768px) { .cat-square__title { font-size: 2.25rem; } }
.cat-square__cta { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }

/* ---------- Shop ---------- */
.shop-section { position: relative; background: color-mix(in srgb, var(--color-blush) 25%, transparent); background-image: radial-gradient(color-mix(in srgb, var(--color-primary) 8%, transparent) 3px, transparent 3.5px); background-size: 34px 34px; }
.shop-section__head { padding-top: 6rem; padding-bottom: 3rem; text-align: center; }
@media (min-width: 1024px) { .shop-section__head { padding-top: 8rem; } }
.shop-heading { font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 3.75rem; } }
.shop-section__body { padding-bottom: 5rem; }
@media (min-width: 1024px) { .shop-section__body { padding-bottom: 7rem; } }

.shop-filters {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 2.5rem;
  justify-content: center;
  position: relative;
  z-index: 5;
}
.shop-filters:has(.shop-filter.is-open) {
  z-index: 40;
}
@media (min-width: 640px) {
  .shop-filters {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
  }
}
.shop-filter {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  min-width: 0;
  z-index: 1;
}
@media (min-width: 640px) {
  .shop-filter { max-width: 20rem; }
}
.shop-filter.is-open { z-index: 45; }
.shop-filter__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.25rem; border-radius: 999px; border: 1px solid var(--color-border);
  background: var(--color-background); transition: border-color 0.2s, box-shadow 0.2s;
}
.shop-filter__trigger:hover { border-color: var(--color-primary); box-shadow: var(--shadow-soft); }
.shop-filter__labels { display: flex; flex-direction: column; align-items: flex-start; }
.shop-filter__label { font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.shop-filter__value { font-size: 0.875rem; margin-top: 0.125rem; display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); }
.shop-filter__value-swatch {
  width: 0.875rem; height: 0.875rem; border-radius: 999px; flex-shrink: 0;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
}
.shop-filter__trigger > svg { transition: transform 0.3s; flex-shrink: 0; }
.shop-filter.is-open .shop-filter__trigger > svg { transform: rotate(180deg); }
.shop-filter__list {
  position: absolute; left: 0; right: 0; top: calc(100% + 0.5rem); z-index: 50;
  list-style: none; margin: 0; padding: 0;
  border-radius: 1rem; background: var(--color-background); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-elevated); max-height: 20rem; overflow: hidden; overflow-y: auto;
  display: none;
}
.shop-filter.is-open .shop-filter__list { display: block; animation: theme-fade-in 0.2s ease; }
.shop-filter__list li { margin: 0; padding: 0; }
.shop-filter__list-divider { border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); }
.shop-filter__list button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.625rem 1rem; border-radius: 0; font-size: 0.875rem; font-family: var(--font-body);
  text-align: left; color: var(--color-foreground); transition: background-color 0.2s ease, color 0.2s ease;
}
.shop-filter__list button:hover { background: color-mix(in srgb, var(--color-secondary) 60%, transparent); }
.shop-filter__list button.is-active { color: var(--color-primary); }
.shop-filter__option-main { display: inline-flex; align-items: center; gap: 0.625rem; min-width: 0; }
.shop-filter__option-main--accent { color: var(--color-primary); }
.shop-filter__color-wheel { color: var(--color-primary); }
.shop-filter__check { flex-shrink: 0; opacity: 0; visibility: hidden; }
.shop-filter__list button.is-active .shop-filter__check { opacity: 1; visibility: visible; }
.shop-filter__swatch {
  display: inline-block; width: 1rem; height: 1rem; border-radius: 999px; flex-shrink: 0;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
}
.shop-filters__clear-all {
  font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--color-primary); align-self: center; font-family: var(--font-body);
}
.shop-filters__clear-all:hover { opacity: 0.7; }
@media (min-width: 640px) {
  .shop-filters__clear-all { align-self: flex-end; padding-bottom: 0.75rem; }
}

.theme-product-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 1.5rem;
  row-gap: 2.5rem;
  align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .theme-product-grid { column-gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card-wrap[hidden] { display: none; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.theme-product-card__media-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 1.5rem;
}
.theme-product-card__add {
  position: relative;
  z-index: 3;
  pointer-events: auto;
  cursor: pointer;
}
.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  margin-bottom: 1.25rem;
  padding: 0.625rem;
  border-radius: 2rem;
  overflow: hidden;
  background: var(--color-card);
  border: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
  box-shadow: var(--shadow-candy);
  transition: transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
  will-change: transform;
}
.theme-product-card:hover .theme-product-card__image-wrapper {
  transform: translateY(-6px) rotate(-1.2deg);
}
.theme-product-card__image-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 1.5rem;
  background: color-mix(in srgb, var(--color-blush) 40%, transparent);
}
.theme-product-card__image {
  border-radius: 1.5rem;
  transition: transform 0.7s var(--transition-smooth);
}
.theme-product-card__image.is-out-of-stock { opacity: 0.6; }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }
.theme-product-badge {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
  pointer-events: none;
  padding: 0.25rem 0.75rem; border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--color-foreground);
}
.theme-product-badge--blush { background: var(--color-blush); }
.theme-product-badge--butter { background: var(--color-butter); }
.theme-product-badge--mint { background: var(--color-mint); }
.theme-product-badge--lilac { background: var(--color-lilac); }
.theme-product-badge--sky { background: color-mix(in srgb, var(--color-mint) 55%, var(--color-lilac)); }
.theme-product-badge--dark { left: auto; right: 0.75rem; background: var(--color-foreground); color: var(--color-background); }
.theme-product-card__image-inner .theme-product-card__add {
  position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem;
  padding: 0.75rem 1rem; border-radius: 999px; text-align: center;
  background: var(--color-primary); color: var(--color-primary-foreground);
  border: 1px solid var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700;
  opacity: 0; transform: translateY(0.5rem);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-soft);
  display: block;
  width: calc(100% - 1.5rem);
  line-height: 1.2;
  text-decoration: none;
  appearance: none;
}
.theme-product-card__title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
.theme-product-card:hover .theme-product-card__title-link { color: var(--color-primary); }
.theme-product-card:hover .theme-product-card__add { opacity: 1; transform: translateY(0); }
.theme-product-card__add:hover {
  background: var(--color-background);
  color: var(--color-primary);
  opacity: 1;
}
.theme-product-card__info {
  padding: 0 0.375rem;
  display: flex; flex-direction: column; gap: 0.375rem;
  flex: 1; min-width: 0;
}
.theme-product-card__cat {
  font-family: var(--font-body);
  font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--color-muted-foreground);
}
.theme-product-card__title {
  font-family: var(--font-display);
  font-size: 1rem; line-height: 1.375; font-weight: 400;
  transition: color 0.3s ease;
  overflow: hidden; text-overflow: ellipsis;
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.125rem; } }
.theme-product-card__price {
  font-family: var(--font-body);
  font-size: 1rem;
  color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
}
.theme-product-card__price del { opacity: 0.5; margin-right: 0.4rem; }

.theme-shop-empty-state {
  padding: 5rem 1rem; text-align: center; border-radius: 2rem;
  border: 2px dashed color-mix(in srgb, var(--color-blush-deep) 60%, transparent);
  background: var(--color-card);
}
.theme-shop-empty-state__title { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-shop-empty-state__text { font-size: 0.9rem; color: var(--color-muted-foreground); }
#shop-empty-state-filtered[hidden] { display: none; }

/* ---------- Process ---------- */
.process-section__grid { display: grid; grid-template-columns: 1fr; min-height: 60vh; }
@media (min-width: 1024px) { .process-section__grid { grid-template-columns: 1fr 1fr; min-height: 80vh; } }
.process-section__image-wrap { position: relative; min-height: 50vh; order: 2; }
@media (min-width: 1024px) { .process-section__image-wrap { min-height: 100%; order: 1; } }
.process-section__copy {
  display: flex; flex-direction: column; justify-content: center; padding: 5rem 2rem; order: 1;
  background-image: repeating-linear-gradient(45deg, color-mix(in srgb, var(--color-accent) 7%, transparent) 0 12px, transparent 12px 30px);
}
@media (min-width: 768px) { .process-section__copy { padding: 5rem 3.5rem; } }
@media (min-width: 1024px) { .process-section__copy { padding: 5rem 5rem; order: 2; } }
.process-section__headline { font-size: 2.25rem; line-height: 1.05; margin: 1.5rem 0 2rem; }
@media (min-width: 768px) { .process-section__headline { font-size: 3rem; } }
.process-section__text { display: flex; flex-direction: column; gap: 1rem; color: var(--color-muted-foreground); font-size: 0.95rem; line-height: 1.7; margin-bottom: 2.5rem; }
.process-section__quote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.4; border-top: 1px solid var(--color-border); padding-top: 2rem; }
@media (min-width: 768px) { .process-section__quote { font-size: 1.5rem; } }

/* ---------- Brand ---------- */
.brand-section { background: color-mix(in srgb, var(--color-blush) 35%, transparent); padding: 5rem 0; border-radius: 2.5rem; margin: 2rem 0.75rem; }
@media (min-width: 768px) { .brand-section { margin: 2rem 1.5rem; } }
@media (min-width: 1024px) { .brand-section { padding: 7rem 0; margin: 2rem 2.5rem; } }
.brand-story { margin-bottom: 6rem; }
@media (min-width: 1024px) { .brand-story { margin-bottom: 9rem; } }
.brand-story__row-a { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: end; margin-bottom: 2.5rem; }
@media (min-width: 1024px) { .brand-story__row-a { grid-template-columns: 5fr 7fr; gap: 2.5rem; margin-bottom: 4rem; } }
.brand-story__headline { font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 1024px) { .brand-story__headline { font-size: 3.75rem; text-align: right; } }
.brand-story__row-b { position: relative; display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .brand-story__row-b { grid-template-columns: repeat(12, minmax(0,1fr)); gap: 2.5rem; } }
.brand-story__glyph { position: absolute; top: -2.5rem; right: 0; font-family: var(--font-display); font-style: italic; font-size: 20rem; line-height: 1; color: color-mix(in srgb, var(--color-foreground) 4%, transparent); pointer-events: none; display: none; user-select: none; }
@media (min-width: 1024px) { .brand-story__glyph { display: block; } }
.brand-story__image-wrap { position: relative; }
@media (min-width: 1024px) { .brand-story__image-wrap { grid-column: 3 / span 7; } }
.brand-story__image { position: relative; width: 100%; aspect-ratio: 4/3; border-radius: 2rem; }
@media (min-width: 1024px) { .brand-story__image { aspect-ratio: 5/4; } }
.brand-story__image-wrap { aspect-ratio: 4/3; }
@media (min-width: 1024px) { .brand-story__image-wrap { aspect-ratio: 5/4; } }
.brand-story__quote-card {
  display: none; position: absolute; top: 25%; left: -1.5rem; width: 260px;
  background: var(--color-background); border: 1px solid var(--color-border); box-shadow: var(--shadow-elevated);
  padding: 1.5rem; border-radius: 1.5rem;
  background-image: radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--color-background) 55%, transparent) 7px, transparent 7.5px), radial-gradient(circle at 70% 60%, color-mix(in srgb, var(--color-primary) 10%, transparent) 10px, transparent 10.5px);
  background-size: 64px 64px, 64px 64px;
}
@media (min-width: 768px) { .brand-story__quote-card { display: block; } }
@media (min-width: 1024px) { .brand-story__quote-card { left: -6rem; width: 300px; padding: 1.75rem; } }
.brand-story__quote-title { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.4; }
@media (min-width: 1024px) { .brand-story__quote-title { font-size: 1.5rem; } }
.brand-story__quote-body { margin-top: 1rem; font-size: 0.8rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.6; }
.brand-story__side { display: flex; flex-direction: column; gap: 1rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 1.05rem; line-height: 1.7; }
@media (min-width: 1024px) { .brand-story__side { grid-column: 10 / span 3; padding-top: 1rem; } }
.brand-story__side-quote { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; padding-top: 0.5rem; }

.brand-carry__head { text-align: center; margin-bottom: 2.5rem; }
.brand-carry__headline { font-size: 1.875rem; line-height: 1.1; margin: 1rem 0; }
@media (min-width: 768px) { .brand-carry__headline { font-size: 2.25rem; } }
@media (min-width: 1024px) { .brand-carry__headline { font-size: 3rem; } }
.brand-carry__paragraph { max-width: 40rem; margin: 0 auto; font-size: 0.95rem; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.brand-carry__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .brand-carry__grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.brand-carry__card {
  position: relative; overflow: hidden; background: var(--color-background); padding: 2rem;
  border: 1px solid var(--color-border); border-radius: 2rem; text-align: center;
  transition: transform 0.5s, border-color 0.5s, background 0.5s, box-shadow 0.5s;
}
.brand-carry__card:hover { transform: translateY(-4px); border-color: var(--color-blush-deep); background: color-mix(in srgb, var(--color-blush) 25%, transparent); box-shadow: var(--shadow-candy); }
.brand-carry__icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 999px; border: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-blush) 50%, transparent); color: var(--color-primary); margin-bottom: 1rem; transition: all 0.5s; }
.brand-carry__card:hover .brand-carry__icon { border-color: var(--color-blush-deep); background: var(--color-background); transform: scale(1.1) rotate(-6deg); }
.brand-carry__label { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; }
.brand-carry__sub { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-muted-foreground); margin-top: 0.5rem; }

/* ---------- FAQ ---------- */
.resources-section { padding-top: 5rem; }
@media (min-width: 1024px) { .resources-section { padding-top: 7rem; } }
.faq-section__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .faq-section__grid { grid-template-columns: 4fr 8fr; gap: 4rem; } }
.faq-section__sticky { position: static; }
@media (min-width: 1024px) { .faq-section__sticky { position: sticky; top: 8rem; align-self: start; } }
.faq-section__headline { font-size: 2.25rem; line-height: 1.05; margin-top: 1rem; }
@media (min-width: 768px) { .faq-section__headline { font-size: 3rem; } }
.faq-section__accordion { border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; text-align: left; }
.faq-item__q { display: flex; align-items: center; gap: 1rem; padding-right: 1rem; min-width: 0; }
.faq-item__icon { flex-shrink: 0; color: var(--color-primary); transition: transform 0.5s, color 0.5s; }
.faq-item[data-open="true"] .faq-item__icon { color: var(--color-accent); transform: rotate(8deg); }
.faq-item__q span:last-child { font-family: var(--font-display); font-size: 1.125rem; }
@media (min-width: 768px) { .faq-item__q span:last-child { font-size: 1.25rem; } }
.faq-item__trigger:hover .faq-item__q span:last-child { color: var(--color-primary); }
.faq-item__toggle { flex-shrink: 0; width: 1.75rem; height: 1.75rem; display: flex; align-items: center; justify-content: center; border: 1px solid var(--color-border); border-radius: 999px; transition: border-color 0.3s; }
.faq-item__trigger:hover .faq-item__toggle { border-color: var(--color-primary); }
.faq-item__toggle-minus { display: none; }
.faq-item[data-open="true"] .faq-item__toggle-plus { display: none; }
.faq-item[data-open="true"] .faq-item__toggle-minus { display: block; }
.faq-item__panel { overflow: hidden; transition: height 0.4s var(--transition-smooth); }
.faq-item__panel p { padding-bottom: 1.5rem; padding-right: 3rem; color: var(--color-muted-foreground); font-size: 0.9rem; line-height: 1.7; }

.lifestyle-banner { display: block; position: relative; width: 100%; margin-top: 6rem; overflow: hidden; border-radius: 2.5rem; }
.lifestyle-banner__frame { position: relative; width: 100%; aspect-ratio: 4/5; }
@media (min-width: 768px) { .lifestyle-banner__frame { aspect-ratio: 21/9; } }
.lifestyle-banner__image { transition: transform 1.4s ease-out; }
.lifestyle-banner:hover .lifestyle-banner__image { transform: scale(1.03); }
.lifestyle-banner__gradient { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 60%, transparent), color-mix(in srgb, var(--color-foreground) 20%, transparent), transparent); }
.lifestyle-banner__content { position: absolute; inset: 0; display: flex; align-items: flex-end; color: #fff; }
.lifestyle-banner__content .container-wide { padding-bottom: 2.5rem; }
@media (min-width: 768px) { .lifestyle-banner__content .container-wide { padding-bottom: 4rem; } }
.lifestyle-banner__content .label-eyebrow { color: rgba(255,255,255,0.9); margin-bottom: 1rem; }
.lifestyle-banner__headline { font-size: 1.875rem; line-height: 1.05; max-width: 42rem; }
@media (min-width: 768px) { .lifestyle-banner__headline { font-size: 3rem; } }
@media (min-width: 1024px) { .lifestyle-banner__headline { font-size: 3.75rem; } }
.lifestyle-banner__cta { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.9); transition: color 0.3s; }
.lifestyle-banner:hover .lifestyle-banner__cta { color: #fff; }

.contact-cta {
  position: relative; overflow: hidden; margin-top: 1.5rem; padding: 6rem 0; border-radius: 2.5rem;
  background:
    radial-gradient(60% 80% at 15% 20%, color-mix(in srgb, var(--color-primary) 10%, transparent), transparent 65%),
    radial-gradient(55% 75% at 85% 85%, color-mix(in srgb, var(--color-accent) 14%, transparent), transparent 70%),
    radial-gradient(65% 70% at 50% 110%, color-mix(in srgb, var(--color-blush) 70%, transparent), transparent 70%),
    linear-gradient(140deg, color-mix(in srgb, var(--color-blush) 55%, transparent) 0%, var(--color-background) 55%, color-mix(in srgb, var(--color-blush) 55%, transparent) 100%);
}
@media (min-width: 768px) { .contact-cta { padding: 8rem 0; } }
.contact-cta__decor--1 { width: 5rem; top: 2rem; left: 2rem; }
.contact-cta__decor--2 { width: 4rem; bottom: 2.5rem; right: 2rem; animation-delay: 1.8s; }
@media (min-width: 1024px) { .contact-cta__decor--1 { width: 7rem; left: 4rem; } .contact-cta__decor--2 { width: 6rem; right: 5rem; } }
.contact-cta__inner { position: relative; z-index: 2; text-align: center; }
.contact-cta__headline { font-size: 2.25rem; line-height: 1.05; margin: 1.25rem 0 2rem; }
@media (min-width: 768px) { .contact-cta__headline { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-cta__headline { font-size: 3.75rem; } }
.contact-cta__paragraph { max-width: 32rem; margin: 0 auto 2.5rem; color: var(--color-muted-foreground); font-size: 0.95rem; line-height: 1.7; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  border-top: 4px solid var(--color-blush);
}
.site-footer__shell {
  padding-top: 4rem;
  padding-bottom: 1.5rem;
}
@media (min-width: 1024px) {
  .site-footer__shell { padding-top: 5rem; }
}
.site-footer .label-eyebrow {
  color: color-mix(in srgb, var(--color-primary-foreground) 70%, transparent);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
}
@media (min-width: 1024px) {
  .site-footer__grid { gap: 4rem; }
}
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer__logo-wrap { display: inline-flex; flex-direction: column; align-items: flex-start; color: inherit; }
.site-footer__logo-badge {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--color-background); padding: 0.5rem;
}
.site-footer__logo-badge img { height: 5rem; width: 5rem; object-fit: contain; }
.site-footer__tagline {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-primary-foreground) 70%, transparent);
}
.site-footer__desc {
  margin-top: 1.25rem;
  max-width: 24rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.625;
  color: color-mix(in srgb, var(--color-primary-foreground) 70%, transparent);
}
.site-footer__col h4 { margin-bottom: 1.25rem; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__col a,
.site-footer__col button,
.site-footer__col li {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-primary-foreground) 70%, transparent);
  transition: color 0.25s ease;
}
.site-footer__col a:hover,
.site-footer__col button:hover {
  color: var(--color-primary-foreground);
}
.site-footer__email { display: flex; align-items: center; gap: 0.5rem; }
.site-footer__email a:hover { color: var(--color-primary-foreground); }
.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--color-primary-foreground) 15%, transparent);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 640px) {
  .site-footer__bottom { flex-direction: row; align-items: center; }
}
.site-footer__bottom p {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-primary-foreground) 70%, transparent);
}
.site-footer__bottom a {
  color: color-mix(in srgb, var(--color-primary-foreground) 70%, transparent);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.25s ease;
}
.site-footer__bottom a:hover { color: var(--color-primary-foreground); }

/* ---------- Generic pages ---------- */
.theme-page-container { padding: 8rem 0 5rem; }
.page-title { font-size: 2.25rem; margin-bottom: 2rem; }
.theme-404 { min-height: 60vh; display: flex; align-items: center; }
.theme-404__inner { text-align: center; padding: 8rem 0; }
.theme-404__code { font-family: var(--font-display); font-size: 5rem; color: var(--color-primary); display: block; }
.theme-404__title { font-size: 2rem; margin: 1rem 0; }
.theme-404__text { color: var(--color-muted-foreground); margin-bottom: 2rem; }

/* ==========================================================================
   WOOCOMMERCE
   ========================================================================== */
.woocommerce-archive-main { padding-top: 7rem; }
@media (min-width: 1024px) { .woocommerce-archive-main { padding-top: 8rem; } }
body.theme-no-hero .site-main.single-product-main,
.single-product-main {
  padding-top: calc(
    var(--wp-admin-bar-height, 0px) + var(--announcement-height, 0px) + var(--header-height, 96px) + 1rem
  ) !important;
  padding-bottom: 5rem;
  background: var(--color-background);
}
.shop-archive-header { text-align: center; padding: 2rem 0 3rem; }
.shop-archive-body { padding-bottom: 5rem; }
.theme-shop-empty { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }

/* Single product */
.single-product .theme-product-layout { min-width: 0; }
.theme-breadcrumb { font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); padding: 1.5rem 2rem 0; }
.theme-breadcrumb--inline { padding: 0; margin-bottom: 1.5rem; }
.theme-breadcrumb__sep { margin: 0 0.5rem; }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-product-columns { display: grid; grid-template-columns: 1fr; gap: 0; align-items: start; }
@media (min-width: 1024px) { .theme-product-columns { grid-template-columns: minmax(0, 1fr) 440px; } }
@media (min-width: 1280px) { .theme-product-columns { grid-template-columns: minmax(0, 1fr) 500px; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery { background: var(--color-background); }
@media (min-width: 1024px) {
  .theme-product-gallery {
    position: sticky;
    top: calc(var(--wp-admin-bar-height, 0px) + var(--announcement-height, 0px) + var(--header-height, 96px) + 1rem);
    align-self: start;
  }
}
.theme-product-gallery__row { display: flex; align-items: stretch; }
.theme-product-thumbnails {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--color-background) 40%, transparent);
}
@media (min-width: 768px) { .theme-product-thumbnails:not(.theme-product-thumbnails--mobile) { display: flex; } }
@media (min-width: 1024px) { .theme-product-thumbnails:not(.theme-product-thumbnails--mobile) { padding: 1.5rem; } }
.theme-product-thumbnails--mobile { display: flex; flex-direction: row; gap: 0.5rem; padding: 1rem; overflow-x: auto; }
@media (min-width: 768px) { .theme-product-thumbnails--mobile { display: none; } }
.theme-product-thumb {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
@media (min-width: 1024px) {
  .theme-product-thumbnails:not(.theme-product-thumbnails--mobile) .theme-product-thumb {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
  }
}
.theme-product-thumb.is-active { border-color: var(--color-foreground); opacity: 1; }
.theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-product-main-image {
  flex: 1;
  min-width: 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
@media (min-width: 768px) { .theme-product-main-image { min-height: 78vh; padding: 1.5rem; } }
@media (min-width: 1024px) { .theme-product-main-image { min-height: 88vh; } }
.single-product #product-main-img,
.single-product .theme-product-main-img {
  position: static !important;
  inset: auto !important;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  object-position: center;
  border-radius: 2rem;
  background: var(--color-card);
  padding: 0.75rem;
  box-shadow: var(--shadow-candy);
}
.theme-product-info { padding: 2.5rem 1.5rem; }
@media (min-width: 768px) { .theme-product-info { padding: 2.5rem 2.5rem; } }
@media (min-width: 1024px) { .theme-product-info { padding: 4rem 3rem; } }
.product-title { font-family: var(--font-body); font-weight: 400; font-size: 0.9375rem; letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.5; }
.theme-product-info__sku { margin-top: 0.75rem; font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-info__divider { height: 1px; background: var(--color-border); margin: 1.75rem 0; }
.theme-product-info__price { font-family: var(--font-body); font-size: 1.125rem; color: var(--color-foreground); }
.theme-stock-indicator--out { margin-top: 0.5rem; font-size: 0.8rem; font-weight: 700; color: #c32222; }
.theme-product-info__note { margin-top: 1.75rem; background: color-mix(in srgb, var(--color-secondary) 70%, transparent); border-radius: 1.5rem; padding: 1rem 1.25rem; font-size: 0.8rem; line-height: 1.6; }
.theme-product-info__details { margin-top: 3rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__details h2 { font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 1.25rem; font-family: var(--font-body); color: var(--color-foreground); }
.theme-product-info__description { font-family: var(--font-display); font-size: 1.1875rem; line-height: 1.55; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); white-space: pre-line; }
.theme-product-info__description p { margin: 0 0 1rem; }
.theme-product-info__detail-list { margin: 1.5rem 0 0; padding-left: 1.25rem; list-style: disc; }
.theme-product-info__detail-list li { margin-bottom: 0.625rem; font-family: var(--font-body); font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.6; }
.theme-product-info__detail-list li::marker { color: var(--color-primary); }

.theme-add-to-cart-area {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}
.theme-add-to-cart-area--pdp { margin-top: 2rem; }
.theme-pdp-atc-wrap { margin-top: 2rem; }
.single-product .theme-pdp-atc.button,
.single-product .theme-pdp-atc.single_add_to_cart_button {
  width: 100%;
  min-height: 3.5rem !important;
  height: auto !important;
  padding: 0 1.25rem !important;
  border-radius: 999px !important;
  background: var(--color-foreground) !important;
  color: var(--color-background) !important;
  border: 1px solid var(--color-foreground) !important;
  font-family: var(--font-body) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  transition: background 0.25s ease, color 0.25s ease !important;
}
.single-product .theme-pdp-atc.button:hover:not(:disabled),
.single-product .theme-pdp-atc.single_add_to_cart_button:hover:not(:disabled) {
  background: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  border-color: var(--color-primary) !important;
  opacity: 1 !important;
}
.single-product .theme-pdp-atc:disabled,
.single-product .theme-pdp-atc.disabled {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
}
.theme-variation-group { margin-top: 1.75rem; }
.theme-variation-label { font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; font-family: var(--font-body); font-weight: 400; }
.single-product .theme-variation-pills,
.single-product .theme-variation-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; }
.single-product .theme-variation-pill,
.single-product .theme-variation-chip {
  min-width: 3.5rem; padding: 0.625rem 1rem; font-size: 0.75rem; font-family: var(--font-body);
  letter-spacing: 0.06em; text-transform: uppercase; border-radius: 999px;
  border: 1px solid var(--color-border); background: transparent;
  transition: border-color 0.2s, background 0.2s, color 0.2s, opacity 0.2s; cursor: pointer;
}
.single-product .theme-variation-pill.is-selected,
.single-product .theme-variation-chip.is-selected,
.single-product .theme-variation-pill:hover:not(:disabled),
.single-product .theme-variation-chip:hover:not(:disabled) { border-color: var(--color-foreground); }
.single-product .theme-variation-pill.is-selected,
.single-product .theme-variation-chip.is-selected { background: var(--color-foreground); color: var(--color-background); }
.single-product .theme-variation-pill:disabled,
.single-product .theme-variation-chip:disabled { opacity: 0.45; cursor: not-allowed; }
.single-product .theme-attr-select-hidden,
.single-product .theme-variation-select-hidden select {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.single-product .theme-variation-select-wrap { position: relative; }
.single-product .woocommerce-variation.single_variation { display: none !important; }
.single-product table.variations { display: none !important; }
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: 999px; overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; }
.theme-qty-input { width: 3rem; text-align: center; border: none; background: transparent; font-family: var(--font-body); font-size: 0.9rem; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single_add_to_cart_button.button,
.add_to_cart_button.button:not(.theme-product-card__add):not(.theme-cart-drawer__pair-item),
a.single_add_to_cart_button,
a.add_to_cart_button:not(.theme-product-card__add):not(.theme-cart-drawer__pair-item) {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border: none !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: none !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:not(.theme-product-card__add):not(.theme-cart-drawer__pair-item):hover {
  opacity: 0.85 !important;
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
}
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.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: 0.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: 0.4 !important;
  background-color: var(--color-primary) !important;
}

.theme-product-card .theme-product-card__add.button,
.theme-product-card .theme-product-card__add.add_to_cart_button {
  min-height: unset !important;
  height: auto !important;
  width: auto !important;
  padding: 0.75rem 1rem !important;
  border-radius: 999px !important;
  border: 1px solid var(--color-primary) !important;
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  font-family: var(--font-body) !important;
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  display: block !important;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease !important;
}
.theme-product-card:hover .theme-product-card__add.button,
.theme-product-card:hover .theme-product-card__add.add_to_cart_button {
  opacity: 1;
  transform: translateY(0);
}
.theme-product-card .theme-product-card__add.button:hover,
.theme-product-card .theme-product-card__add.add_to_cart_button:hover {
  opacity: 1 !important;
  background-color: var(--color-background) !important;
  color: var(--color-primary) !important;
}
.theme-product-card .theme-product-card__add.theme-btn-loading,
.theme-product-card .theme-product-card__add.loading {
  opacity: 0.85 !important;
  pointer-events: none !important;
  cursor: wait !important;
}

.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

.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; }

/* Variations */
.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: 0.25rem; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .variations tbody td.value select { padding: 0.6rem 0.85rem; border: 1px solid var(--color-border); border-radius: 0.85rem; background: var(--color-background); font-family: var(--font-body); }
.single_variation_wrap { margin-top: 1.5rem; }

/* Related products (PDP — matches ProductDetail.tsx) */
.related-products-section {
  margin-top: 3rem;
  padding-top: 6rem;
  padding-bottom: 6rem;
  border-top: 1px solid var(--color-border);
}
.related-products-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}
.related-products__heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.25;
  font-weight: 400;
}
@media (min-width: 768px) { .related-products__heading { font-size: 2.25rem; } }
.related-products-section__grid {
  column-gap: 2rem;
  row-gap: 3rem;
}

.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error { background: #fdeaea; color: #a51c1c; border-radius: 0.75rem; padding: 1rem 1.25rem; margin-bottom: 1.5rem; list-style: none; }

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* ---------- Cart drawer ---------- */
#theme-cart-overlay {
  position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 30%, transparent);
  z-index: 65; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }
#theme-cart-drawer {
  position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 32rem;
  background: var(--color-background); z-index: 66; box-shadow: var(--shadow-elevated);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.4s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 2rem 2rem 1.25rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__header h2 { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; }
.theme-cart-drawer__close { padding: 0.25rem; opacity: 0.7; }
.theme-cart-drawer__close:hover { opacity: 1; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; gap: 1.25rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem 2rem; display: flex; flex-direction: column; gap: 2rem; }
.theme-cart-item { display: flex; gap: 1.25rem; }
.theme-cart-item__image {
  display: grid;
  width: 6rem;
  height: 8rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--color-secondary);
}
.theme-cart-item__image img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.theme-cart-item__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.theme-cart-item__name { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; transition: opacity 0.2s; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__meta { list-style: none; margin: 0.4rem 0 0; padding: 0; font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-item__meta li { margin-bottom: 0.2rem; }
.theme-cart-item__meta-label { font-style: normal; }
.theme-cart-item__price { font-size: 0.9rem; margin-top: 0.4rem; }
.theme-cart-item__controls { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; }
.theme-cart-item__qty { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-cart-item__qty button { padding: 0.4rem 0.6rem; }
.theme-cart-item__qty button:hover { background: var(--color-secondary); }
.theme-cart-item__qty span { padding: 0 0.6rem; font-size: 0.9rem; min-width: 28px; text-align: center; display: inline-block; }
.theme-cart-item__remove { font-size: 0.72rem; color: var(--color-muted-foreground); text-decoration: underline; text-underline-offset: 4px; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__pair { padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.theme-cart-drawer__pair-heading { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; margin-bottom: 1rem; }
.theme-cart-drawer__pair-list {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  margin-left: -0.25rem;
  margin-right: -0.25rem;
  padding: 0 0.25rem 0.5rem;
}
.theme-cart-drawer__pair-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  flex-shrink: 0;
  width: 8rem;
  min-height: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-align: left;
  cursor: pointer;
}
.theme-cart-drawer__pair-item:hover {
  opacity: 1 !important;
  background: transparent !important;
  color: inherit !important;
}
.theme-cart-drawer__pair-image {
  display: grid;
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 10.667rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--color-secondary);
}
.theme-cart-drawer__pair-image img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease;
}
.theme-cart-drawer__pair-item:hover .theme-cart-drawer__pair-image img { transform: scale(1.05); }
.theme-cart-drawer__pair-name { display: block; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-drawer__pair-price { display: block; font-size: 0.72rem; color: var(--color-muted-foreground); margin-top: 0.15rem; }
.theme-cart-drawer__footer { padding: 1.5rem 2rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--font-display); font-size: 1.25rem; }
.theme-cart-drawer__note { font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout { width: 100%; }

/* ==========================================================================
   CHECKOUT BLOCK, CART, MY ACCOUNT, THANK YOU
   ========================================================================== */
:root {
  --checkout-max-width: 1280px;
  --checkout-gap: 2rem;
  --checkout-gutter: 1.5rem;
}
@media (min-width: 768px) {
  :root { --checkout-gutter: 2rem; }
}
@media (min-width: 1024px) {
  :root { --checkout-gutter: 2.5rem; }
}
@media (min-width: 1280px) {
  :root { --checkout-gutter: 3rem; }
}

body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
  padding-top: calc(var(--wp-admin-bar-height, 0px) + var(--announcement-height, 0px) + var(--header-height, 96px));
  padding-bottom: 4rem;
}
body.woocommerce-checkout .theme-checkout-main {
  padding-top: 0;
  padding-bottom: 0;
}
.theme-checkout-shell {
  width: 100%;
  max-width: none;
  padding-top: calc(var(--wp-admin-bar-height, 0px) + var(--announcement-height, 0px) + var(--header-height, 96px) + 0.5rem);
  padding-bottom: 4rem;
  box-sizing: border-box;
}
body.woocommerce-checkout .theme-checkout-main > .container-wide,
body.woocommerce-checkout .theme-checkout-shell,
body.woocommerce-checkout .theme-checkout-main .entry-content {
  max-width: none;
  width: 100%;
}
.theme-checkout-header {
  max-width: var(--checkout-max-width);
  width: 100%;
  margin-inline: auto;
  margin-bottom: 0;
  box-sizing: border-box;
  padding-inline: var(--checkout-gutter);
}
.checkout-continue-link,
.theme-checkout-header__continue {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}
.checkout-continue-link:hover,
.theme-checkout-header__continue:hover { color: var(--color-foreground); }
.checkout-continue-link__icon { flex-shrink: 0; }
.theme-checkout-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .theme-checkout-title { font-size: 2.25rem; }
}
.theme-checkout-intro {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-muted-foreground);
}
body.woocommerce-checkout .theme-checkout-main .entry-content,
.entry-content:has(.wc-block-checkout) {
  margin-top: 0;
  padding-top: 0;
  max-width: none;
  width: 100%;
}
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout,
.entry-content > .wp-block-woocommerce-checkout:first-child {
  margin-top: 0;
}
/* Root checkout block only — inner .wc-block-components-sidebar-layout also has .wc-block-checkout */
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout,
.entry-content > .wp-block-woocommerce-checkout {
  max-width: var(--checkout-max-width);
  width: 100%;
  min-width: 0;
  margin-inline: auto !important;
  margin-top: 0;
  padding-top: 0;
  padding-inline: var(--checkout-gutter);
  box-sizing: border-box;
  font-family: var(--font-body);
  color: var(--color-foreground);
}
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout.alignwide,
.entry-content > .wp-block-woocommerce-checkout.alignwide {
  margin-top: 0;
  max-width: var(--checkout-max-width);
  width: 100%;
}
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout.wc-block-checkout,
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout > .wc-block-checkout-sidebar-layout.wc-block-checkout,
.entry-content > .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout.wc-block-checkout,
.entry-content > .wp-block-woocommerce-checkout > .wc-block-checkout-sidebar-layout.wc-block-checkout {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  padding-inline: 0;
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-components-main {
  margin-top: 0;
  padding-top: 0;
}
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout .wc-block-checkout-sidebar-layout,
.entry-content > .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout,
.entry-content > .wp-block-woocommerce-checkout .wc-block-checkout-sidebar-layout {
  margin-top: 0;
  padding-top: 0;
}
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout > .wc-block-components-notices:empty,
.entry-content > .wp-block-woocommerce-checkout > .wc-block-components-notices:empty {
  display: none;
  margin: 0;
  padding: 0;
}
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout > .wc-block-components-notices,
.entry-content > .wp-block-woocommerce-checkout > .wc-block-components-notices {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  margin-top: 0;
  padding-top: 0;
  padding-inline: 0;
  margin-bottom: var(--checkout-gap);
  box-sizing: border-box;
}
@media (min-width: 768px) {
  body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout > .wc-block-checkout-sidebar-layout,
  .entry-content > .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout,
  .entry-content > .wp-block-woocommerce-checkout > .wc-block-checkout-sidebar-layout {
    display: grid !important;
    grid-template-columns: 1fr minmax(360px, 400px);
    gap: var(--checkout-gap);
    align-items: start;
    flex-direction: unset;
    flex-wrap: nowrap;
    margin: 0;
  }
  body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout .wc-block-checkout__main,
  body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout .wc-block-components-main,
  body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
  body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout .wc-block-components-sidebar,
  .entry-content > .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout .wc-block-checkout__main,
  .entry-content > .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout .wc-block-components-main,
  .entry-content > .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
  .entry-content > .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    width: auto !important;
    max-width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
  }
}
@media (min-width: 768px) {
  body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar),
  .entry-content > .wp-block-woocommerce-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) {
    display: grid;
    grid-template-columns: 1fr minmax(360px, 400px);
    gap: var(--checkout-gap);
    align-items: start;
  }
  body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) > .wc-block-components-notices,
  .entry-content > .wp-block-woocommerce-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) > .wc-block-components-notices {
    grid-column: 1 / -1;
  }
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
  background: transparent;
  border-radius: 0;
  padding: 0;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
  width: 100%;
  background: color-mix(in srgb, var(--color-secondary) 70%, transparent);
  border-radius: var(--card-radius);
  padding: 2rem;
  box-sizing: border-box;
}
/* Mobile: WC shows sidebar summary + fill in main — keep fill-wrapper only (Lovable-style single summary) */
@media (max-width: 781px) {
  body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout > .wc-block-checkout__sidebar,
  body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout > .wc-block-components-sidebar,
  .entry-content > .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout > .wc-block-checkout__sidebar,
  .entry-content > .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout > .wc-block-components-sidebar {
    display: none !important;
  }
}
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout.is-small > .wc-block-checkout__sidebar,
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout.is-small > .wc-block-components-sidebar,
.entry-content > .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout.is-small > .wc-block-checkout__sidebar,
.entry-content > .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout.is-small > .wc-block-components-sidebar {
  display: none !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner {
  border-radius: 0.85rem;
}
body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
  margin-inline: auto;
  max-width: 36rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
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 {
  font-family: var(--font-body);
  border: 1px solid var(--color-border);
  border-radius: 0.85rem;
  background: var(--color-background);
  width: 100% !important;
  max-width: none !important;
  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-primary); outline: none; }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  border-radius: var(--btn-radius) !important;
  font-family: var(--font-body) !important;
  letter-spacing: var(--btn-letter-spacing);
  text-transform: none;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.85; }

body.woocommerce-cart .wc-block-cart,
body.woocommerce-account .woocommerce-MyAccount-content {
  max-width: 100%;
}

/* Thank you page */
body.theme-thankyou-page { overflow-x: hidden; }
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 {
  font-family: var(--font-body);
}
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
  list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 0; margin: 1.5rem 0 2.5rem;
}
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: 0.75rem; border-bottom: 1px solid var(--color-border); }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details {
  display: flex; flex-direction: column; gap: 1.5rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
  max-width: 480px; overflow-wrap: break-word;
}

/* ==========================================================================
   COLOR SEARCH DIALOG (Lovable ColorSearchDialog)
   ========================================================================== */
.theme-color-search {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  animation: theme-fade-in 0.25s var(--transition-smooth);
}
.theme-color-search.is-open { display: block; }
.theme-color-search__backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--color-foreground) 40%, transparent);
  backdrop-filter: blur(4px);
  border: none;
  cursor: pointer;
}
.theme-color-search__panel {
  position: relative;
  background: var(--color-background);
  width: 100%;
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-elevated);
}
@media (min-width: 768px) {
  .theme-color-search__panel {
    height: auto;
    max-height: 94vh;
  }
}
.theme-color-search__topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--color-background) 95%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
}
.theme-color-search__topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.theme-color-search .container-wide {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 1024px) {
  .theme-color-search .container-wide {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}
.theme-color-search__topbar-label {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.theme-color-search__topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .theme-color-search__topbar-actions { gap: 1.5rem; }
}
.theme-color-search__result-count {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  white-space: nowrap;
}
.theme-color-search__close {
  padding: 0.5rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.theme-color-search__close:hover { opacity: 1; }
.theme-color-search__body {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 1024px) {
  .theme-color-search__body {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
.theme-color-search__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .theme-color-search__layout {
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
  }
}
@media (min-width: 1024px) {
  .theme-color-search__layout {
    grid-template-columns: 320px 1fr;
    gap: 4rem;
  }
}
.theme-color-search__sidebar { align-self: start; }
@media (min-width: 768px) {
  .theme-color-search__sidebar { position: sticky; top: 6rem; }
}
.theme-color-search__active-name {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
  margin: 0 0 0.75rem;
}
.theme-color-search__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.theme-color-search__chip-wrap { position: relative; }
.theme-color-search__chip {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
  cursor: pointer;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.theme-color-search__chip.is-active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 30%, transparent);
}
.theme-color-search__chip-remove {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: var(--color-background);
  border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.theme-color-search__add-color {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px dashed color-mix(in srgb, var(--color-foreground) 30%, transparent);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.theme-color-search__add-color:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.theme-color-search__wheel-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}
.theme-color-search__wheel-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.theme-color-search__wheel-hide {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  z-index: 2;
  padding: 0.375rem;
  background: color-mix(in srgb, var(--color-background) 80%, transparent);
  border-radius: 999px;
  opacity: 0.7;
  cursor: pointer;
}
.theme-color-search__wheel-hide:hover { opacity: 1; }
.theme-color-search__wheel {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-foreground) 10%, transparent);
}
.theme-color-search__wheel canvas {
  display: block;
  width: 220px;
  height: 220px;
  cursor: crosshair;
  touch-action: none;
}
.theme-color-search__wheel-indicator {
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  border: 2px solid var(--color-background);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.theme-color-search__lightness {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.25rem;
}
.theme-color-search__lightness input[type="range"] {
  writing-mode: vertical-lr;
  height: 11rem;
  width: 0.25rem;
  cursor: pointer;
  accent-color: var(--color-primary);
}
.theme-color-search__lightness span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 50%, transparent);
}
.theme-color-search__presets-label {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 50%, transparent);
  margin: 0 0 0.75rem;
}
.theme-color-search__preset-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.625rem;
  max-width: 260px;
}
.theme-color-search__preset {
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
  cursor: pointer;
  transition: transform 0.2s;
}
.theme-color-search__preset:hover { transform: scale(1.1); }
.theme-color-search__hint {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  font-family: var(--font-body);
  line-height: 1.6;
  color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
}
.theme-color-search__results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 1024px) {
  .theme-color-search__results { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}
@media (min-width: 1280px) {
  .theme-color-search__results { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.theme-color-search__card {
  display: block;
  text-align: left;
  color: inherit;
  transition: opacity 0.2s;
}
.theme-color-search__card:hover { opacity: 0.9; }
.theme-color-search__card-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-secondary);
}
.theme-color-search__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition-smooth);
}
.theme-color-search__card:hover .theme-color-search__card-image img { transform: scale(1.05); }
.theme-color-search__card-name {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-family: var(--font-body);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.theme-color-search__card-price {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
}
.theme-color-search__empty { padding: 6rem 0; text-align: center; }
.theme-color-search__empty-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}
.theme-color-search__empty-text {
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
  margin: 0;
}

/* ==========================================================================
   RESPONSIVE HELPERS
   ========================================================================== */
@media (max-width: 1023px) {
  .site-nav__primary { display: none !important; }
  .theme-mega { display: none !important; visibility: hidden !important; pointer-events: none !important; }
}
.site-main,
.front-page-main,
.page-main {
  min-width: 0;
  max-width: 100%;
}
.container-wide,
.container-editorial {
  min-width: 0;
}
.trending-section__headline,
.categories-section__headline,
.shop-section__headline {
  overflow-wrap: break-word;
  word-break: break-word;
}
.categories-section__scroller {
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 1280px) {
  .categories-section__scroller {
    max-width: 87.5rem;
  }
}
.decor-float {
  max-width: min(6rem, 20vw);
  pointer-events: none;
}
