/* =============================================================
   Arts and Crafts by Lolo — theme.css
   Exact replica of Lovable frontend design
   ============================================================= */

/* ─── SELF-HOSTED FONTS (Cormorant Garamond + Abril Fatface + Cabin) ─── */
@font-face {
  font-family: 'Abril Fatface';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/abril-fatface-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Cabin';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cabin-latin-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Cabin';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cabin-latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Cabin';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cabin-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Cabin';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cabin-latin-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Cabin';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cabin-latin-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2');
}

/* ─── CSS CUSTOM PROPERTIES (overridden by wp_add_inline_style) ─── */
:root {
  --color-primary:     hsl(12, 62%, 48%);
  --color-accent:      hsl(348, 50%, 58%);
  --color-background:  hsl(35, 40%, 96%);
  --color-foreground:  hsl(20, 25%, 16%);
  --color-card:        hsl(35, 50%, 99%);
  --color-card-fg:     hsl(20, 25%, 16%);
  --color-secondary:   hsl(30, 35%, 90%);
  --color-muted:       hsl(30, 28%, 88%);
  --color-muted-fg:    hsl(20, 15%, 36%);
  --color-border:      hsl(30, 20%, 82%);
  --color-button-text: hsl(35, 40%, 96%);
  --color-destructive: hsl(0, 65%, 45%);

  --font-display: 'Abril Fatface', serif;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body:    'Cabin', system-ui, sans-serif;

  --radius:      0.5rem;
  --radius-md:   0.5rem;
  --radius-2xl:  1rem;

  --btn-height:          44px;
  --btn-padding:         0.75rem 1.5rem;
  --btn-font-size:       0.875rem;
  --btn-font-weight:     500;
  --btn-letter-spacing:  0.05em;
  --btn-text-transform:  uppercase;
  --btn-radius:          var(--radius);
  --btn-icon-padding:    0.5rem;

  --logo-height: 60px;

  --header-height: 72px;
  --section-padding: 2rem;
  --card-radius: var(--radius-md);
  --checkout-gap: 1.5rem;
  --checkout-max-width: 80rem; /* 1280px — shared by checkout, cart & my account */
}

/* ─── RESET & BASE ─── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  margin-top: 0 !important;
}

/* WordPress admin bar — keep fixed header below toolbar */
body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
body.admin-bar #wpadminbar {
  position: fixed;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  background-color: var(--color-background);
  color: var(--color-foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

p {
  line-height: 1.625;
}

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

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

::selection {
  background: color-mix(in srgb, var(--color-primary) 40%, transparent);
  color: var(--color-button-text);
}

/* ─── LAYOUT UTILITIES ─── */
.container-cottage {
  width: 100%;
  max-width: 72rem; /* 6xl = 1152px */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 1024px) {
  .container-cottage { padding-left: 2rem; padding-right: 2rem; }
}

.font-display { font-family: var(--font-heading) !important; font-weight: 400; }

.text-balance { text-wrap: balance; }

.bg-background {
  background-color: var(--color-background);
  min-height: 100vh;
  min-height: 100svh;
}

/* ─── LOVABLE TYPOGRAPHY SCALE (Tailwind breakpoints) ─── */

/* text-4xl → sm:text-6xl → lg:text-7xl */
.type-display-hero {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.05;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .type-display-hero { font-size: 3.75rem; }
}
@media (min-width: 1024px) {
  .type-display-hero { font-size: 4.5rem; }
}

/* text-3xl → sm:text-4xl → md:text-5xl → lg:text-6xl */
.type-display-xl {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 1.1;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .type-display-xl { font-size: 2.25rem; }
}
@media (min-width: 768px) {
  .type-display-xl { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .type-display-xl { font-size: 3.75rem; }
}

/* text-3xl → sm:text-4xl → md:text-5xl (services) */
.type-display-md {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 1.25;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .type-display-md { font-size: 2.25rem; }
}
@media (min-width: 768px) {
  .type-display-md { font-size: 3rem; }
}

/* text-xl → sm:text-2xl → md:text-3xl */
.type-display-marquee {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.2;
}
@media (min-width: 640px) {
  .type-display-marquee { font-size: 1.5rem; }
}
@media (min-width: 768px) {
  .type-display-marquee { font-size: 1.875rem; }
}

/* ─── TYPOGRAPHY UTILITIES ─── */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-primary);
  font-weight: 500;
  font-family: var(--font-body);
}

.deco-divider {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-style: italic;
}
.deco-divider::before,
.deco-divider::after {
  content: '';
  width: 40px;
  height: 1px;
  background: color-mix(in srgb, var(--color-primary) 50%, transparent);
}
@media (max-width: 640px) {
  .deco-divider::before,
  .deco-divider::after { width: 20px; }
}

.lolo-text-accent { color: var(--color-accent); }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  background-color: var(--color-primary);
  color: var(--color-button-text);
  padding: var(--btn-padding);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}
.btn-primary:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
  color: var(--color-button-text);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent);
  color: var(--color-foreground);
  padding: var(--btn-padding);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  font-family: var(--font-body);
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}
.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-button-text);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* ─── ICONS ─── */
.lolo-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* ─── LOGO (matches Lovable Header.tsx) ─── */
.site-logo-img {
  height: var(--logo-height) !important;
  width: auto !important;
  display: block;
}
.site-logo-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  width: fit-content;
  line-height: 1.25; /* leading-tight */
  font-family: var(--font-heading) !important;
  font-weight: 400;
  font-style: normal;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.site-logo-text__name {
  display: block;
  font-family: var(--font-heading) !important;
  font-size: 1rem;       /* text-base */
  font-weight: 400;
  font-style: normal;
  line-height: 1.25;
  letter-spacing: normal;
  white-space: nowrap;
}
.site-logo-text__sub {
  display: block;
  font-family: var(--font-heading) !important;
  font-size: 9px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.25;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
  /* optical align: tracked uppercase sits flush under title like Lovable */
  margin-top: 0;
  margin-left: -0.3em;
  padding-left: 0.3em;
  width: fit-content;
}
@media (min-width: 640px) {
  .site-logo-text__name { font-size: 1.125rem; } /* sm:text-lg */
  .site-logo-text__sub  { font-size: 10px; }
}
@media (min-width: 768px) {
  .site-logo-text__name { font-size: 1.25rem; } /* md:text-xl */
}
.site-header:not(.is-solid) .site-logo-text__name {
  color: var(--color-background);
  filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1));
}
.site-header:not(.is-solid) .site-logo-text__sub {
  color: color-mix(in srgb, var(--color-background) 80%, transparent);
}
.site-header.is-solid .site-logo-text__name {
  color: var(--color-foreground);
  filter: none;
}
.site-header.is-solid .site-logo-text__sub {
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}

/* ─── ANIMATIONS ─── */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-marquee { animation: marquee 40s linear infinite; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.animate-float { animation: float-y 6s ease-in-out infinite; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(2rem); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

.js-reveal {
  opacity: 0;
  transform: translateY(2rem);
  filter: blur(6px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1),
              transform 0.9s cubic-bezier(0.16,1,0.3,1),
              filter 0.9s cubic-bezier(0.16,1,0.3,1);
}
.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.5s ease, border-color 0.5s ease, padding 0.5s ease, backdrop-filter 0.5s ease;
  padding: 1.25rem 0;
  background-color: transparent;
}
.site-header.is-solid {
  background-color: color-mix(in srgb, var(--color-background) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.site-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) {
  .site-nav { display: flex; }
}
.site-header__mobile {
  display: flex;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .site-header__mobile { display: none; }
}
.theme-nav-list {
  display: flex;
  align-items: center;
  gap: 2rem; /* gap-8 */
  list-style: none;
  padding: 0;
  margin: 0;
}
.theme-nav-list a,
.theme-nav-link {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-decoration: none;
  transition: color 0.2s;
}
/* Color based on header state — desktop nav & controls only (not mobile drawer links) */
.site-header:not(.is-solid) .site-nav .theme-nav-list a,
.site-header:not(.is-solid) .site-nav .theme-nav-link,
.site-header:not(.is-solid) .site-header__cart-btn,
.site-header:not(.is-solid) .site-header__hamburger {
  color: var(--color-background);
}
.site-header:not(.is-solid) .site-nav .theme-nav-list a:hover,
.site-header:not(.is-solid) .site-nav .theme-nav-link:hover {
  color: var(--color-accent);
}
.site-header.is-solid .site-nav .theme-nav-list a,
.site-header.is-solid .site-nav .theme-nav-link {
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
}
.site-header.is-solid .site-nav .theme-nav-list a:hover,
.site-header.is-solid .site-nav .theme-nav-link:hover {
  color: var(--color-primary);
}
.site-header.is-solid .site-header__cart-btn { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.site-header.is-solid .site-header__hamburger { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }

.site-header__cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: inherit;
  transition: color 0.2s;
  padding: 0;
}
.site-header__hamburger {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  display: flex;
  align-items: center;
}
.site-header__hamburger .close-icon { display: none; }
.site-header.menu-open .site-header__hamburger .hamburger-icon { display: none; }
.site-header.menu-open .site-header__hamburger .close-icon { display: flex; }

/* Cart badge */
.theme-cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--color-primary);
  color: var(--color-button-text);
  font-size: 10px;
  font-weight: 500;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  line-height: 1;
}
.theme-cart-count:empty { display: none; }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  z-index: 49;
}
.mobile-nav.is-open { display: block; }
.mobile-nav__inner {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.mobile-nav-list,
.mobile-nav .theme-nav-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav-list > li,
.mobile-nav .theme-nav-list > li {
  width: 100%;
}
.mobile-nav-list a,
.mobile-nav-list .theme-nav-link,
.mobile-nav .theme-nav-list a,
.mobile-nav .theme-nav-list .theme-nav-link {
  display: block;
  width: 100%;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  text-decoration: none;
}
.mobile-nav-list a:hover,
.mobile-nav-list .theme-nav-link:hover,
.mobile-nav .theme-nav-list a:hover,
.mobile-nav .theme-nav-list .theme-nav-link:hover {
  color: var(--color-primary);
}

/* ─── HERO ─── */
.hero-section {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  will-change: transform;
  transform-origin: center center;
}
.hero-bg__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-bg__placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-foreground);
}
.hero-bg__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg__overlay--lr {
  background: linear-gradient(to right,
    color-mix(in srgb, var(--color-foreground) 75%, transparent),
    color-mix(in srgb, var(--color-foreground) 55%, transparent),
    color-mix(in srgb, var(--color-foreground) 20%, transparent));
}
.hero-bg__overlay--tb {
  background: linear-gradient(to top,
    color-mix(in srgb, var(--color-foreground) 70%, transparent),
    color-mix(in srgb, var(--color-foreground) 20%, transparent),
    color-mix(in srgb, var(--color-foreground) 40%, transparent));
}
.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 8rem;
  padding-bottom: 5rem;
  color: var(--color-background);
  will-change: transform;
}
.hero-content__inner {
  max-width: 42rem;
}
.hero-eyebrow {
  display: inline-flex;
  margin-bottom: 1.5rem;
  color: color-mix(in srgb, var(--color-background) 80%, transparent);
  font-style: italic;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  background: color-mix(in srgb, var(--color-background) 50%, transparent);
}
.hero-headline {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.05;
  text-wrap: balance;
  color: var(--color-background);
}
@media (min-width: 640px) {
  .hero-headline { font-size: 3.75rem; }
}
@media (min-width: 1024px) {
  .hero-headline { font-size: 4.5rem; }
}
.hero-headline__line2 {
  display: block;
  color: var(--color-accent);
  font-style: italic;
}
.hero-subtext {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: color-mix(in srgb, var(--color-background) 85%, transparent);
  max-width: 36rem;
  line-height: 1.625;
}
@media (min-width: 640px) {
  .hero-subtext { font-size: 1.125rem; }
}
.hero-ctas {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-cta-2 {
  background-color: color-mix(in srgb, var(--color-background) 10%, transparent);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-color: color-mix(in srgb, var(--color-background) 40%, transparent);
  color: var(--color-background);
}
.hero-cta-2:hover {
  background-color: var(--color-background);
  color: var(--color-foreground);
  border-color: var(--color-background);
}

/* ─── MARQUEE ─── */
.marquee-strip {
  background-color: var(--color-card);
  border-top: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  padding: 1rem 0;
}
@media (min-width: 640px) {
  .marquee-track { padding: 1.25rem 0; }
}
.marquee-set {
  display: flex;
  flex-shrink: 0;
}
.marquee-item {
  margin: 0 2.5rem;
  opacity: 0.9;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.2;
}
@media (min-width: 640px) {
  .marquee-item { font-size: 1.5rem; }
}
@media (min-width: 768px) {
  .marquee-item { font-size: 1.875rem; }
}

/* ─── ABOUT ─── */
.about-section {
  position: relative;
  background-color: var(--color-background);
}
.about-section__grid {
  padding-top: 4rem;
  padding-bottom: 4rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .about-section__grid {
    grid-template-columns: 5fr 7fr;
    padding-top: 6rem;
    padding-bottom: 6rem;
    gap: 2.5rem;
  }
}
@media (min-width: 1024px) {
  .about-section__grid {
    padding-top: 8rem;
    padding-bottom: 8rem;
    gap: 3rem;
  }
}
.about-section__image-col { position: relative; }
.about-section__image-wrap {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.about-section__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-section__image--placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-muted);
}
.about-section__sticker {
  position: absolute;
  bottom: -1rem;
  right: 0.75rem;
  background-color: var(--color-accent);
  color: var(--color-button-text);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.2);
  transform: rotate(-3deg);
  font-size: 1rem;
}
@media (min-width: 640px) {
  .about-section__sticker {
    bottom: -1.5rem;
    right: -1rem;
    padding: 0.75rem 1.25rem;
    font-size: 1.125rem;
  }
}
.about-section__text-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-section__heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 1.1;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .about-section__heading { font-size: 2.25rem; }
}
@media (min-width: 768px) {
  .about-section__heading { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .about-section__heading { font-size: 3.75rem; }
}
.about-section__text {
  font-size: 1.125rem;
  color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
  line-height: 1.625;
}
.about-section__text--sm {
  font-size: 1rem;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  line-height: 1.625;
}
.about-section__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1rem;
}
.about-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.about-badge__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: var(--color-secondary);
  border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
  display: grid;
  place-items: center;
  color: var(--color-accent);
}
.about-badge__label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ─── SHOP SECTION ─── */
.shop-section {
  background-color: var(--color-background);
  border-top: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent);
}
.shop-section > .container-cottage {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .shop-section > .container-cottage { padding-top: 6rem; padding-bottom: 6rem; }
}
.shop-section__header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3.5rem;
}
.shop-section__heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 1.25;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .shop-section__heading { font-size: 2.25rem; }
}
@media (min-width: 768px) {
  .shop-section__heading { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .shop-section__heading { font-size: 3.75rem; }
}
.shop-section__subtext {
  margin-top: 1.25rem;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  line-height: 1.625;
}
.shop-section__more {
  text-align: center;
  margin-top: 3rem;
}
.shop-section__custom-note {
  text-align: center;
  margin-top: 3rem;
  font-size: 1.125rem;
  color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
  font-style: italic;
}
.shop-section__custom-note a {
  color: var(--color-accent);
}
.shop-section__custom-note a:hover { text-decoration: underline; }

/* ─── PRODUCT GRID ─── */
.theme-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 640px) {
  .theme-product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.theme-product-card-wrap { height: 100%; }

/* ─── PRODUCT CARD ─── */
.theme-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--color-card);
  border-radius: 1rem;
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.5s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1);
  text-decoration: none;
  color: inherit;
}
.theme-product-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.2);
  transform: translateY(-6px);
}
.theme-product-card__image-link {
  display: block;
  overflow: hidden;
}
.theme-product-card__image-wrapper {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--color-muted);
  position: relative;
}
.theme-product-card__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s ease;
}
.theme-product-card:hover .theme-product-card__image-wrapper img {
  transform: scale(1.05);
}
.theme-product-card__info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.theme-product-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.theme-product-card__tagline {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: color-mix(in srgb, var(--color-foreground) 50%, transparent);
}
.theme-product-card__footer {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.theme-product-card__price {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}
.theme-product-card__cta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  transition: text-decoration 0.2s;
}
.theme-product-card:hover .theme-product-card__cta { text-decoration: underline; text-underline-offset: 4px; }
.theme-product-card__sold-out {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-destructive);
}

/* WooCommerce price HTML */
.theme-product-card__price .woocommerce-Price-amount { font-size: 0.875rem; }

/* ─── HOW IT WORKS ─── */
.services-section {
  background-color: var(--color-background);
}
.services-section > .container-cottage {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .services-section > .container-cottage { padding-top: 6rem; padding-bottom: 6rem; }
}
.services-section__header { max-width: 42rem; margin-bottom: 3.5rem; }
.services-section__heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 1.25;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .services-section__heading { font-size: 2.25rem; }
}
@media (min-width: 768px) {
  .services-section__heading { font-size: 3rem; }
}
.services-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  position: relative;
  background-color: var(--color-card);
  border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: border-color 0.3s;
  overflow: hidden;
}
.service-card:hover {
  border-color: color-mix(in srgb, var(--color-accent) 40%, transparent);
}
.service-card__number {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 3.75rem;
  color: color-mix(in srgb, var(--color-accent) 30%, transparent);
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  line-height: 1;
}
.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  margin-top: 1rem;
}
.service-card__desc {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  line-height: 1.6;
}

/* ─── CONTACT ─── */
.contact-section {
  background-color: var(--color-background);
  border-top: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent);
}
.contact-section > .container-cottage {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .contact-section > .container-cottage { padding-top: 6rem; padding-bottom: 6rem; }
}
.contact-section__header { max-width: 48rem; margin-bottom: 3.5rem; }
.contact-section__heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 1.1;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .contact-section__heading { font-size: 2.25rem; }
}
@media (min-width: 768px) {
  .contact-section__heading { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .contact-section__heading { font-size: 3.75rem; }
}
.contact-section__heading-em { opacity: 0.9; }
.contact-section__subtext {
  margin-top: 1.25rem;
  font-size: 1rem;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  max-width: 36rem;
  line-height: 1.625;
}
.contact-bento {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .contact-bento {
    grid-template-columns: repeat(12, 1fr);
  }
  .contact-image-tile { grid-column: span 12; }
  .contact-tile--email { grid-column: span 7; }
  .contact-tile--phone { grid-column: span 5; }
  .contact-tile--studio { grid-column: span 12; }
}
@media (min-width: 1024px) {
  .contact-image-tile { grid-column: span 5; grid-row: span 2; }
  .contact-tile--email { grid-column: span 5; }
  .contact-tile--phone { grid-column: span 4; }
  .contact-tile--studio { grid-column: span 3; }
}

/* Image tile */
.contact-image-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.2);
  min-height: 260px;
}
@media (min-width: 768px) {
  .contact-image-tile { min-height: 320px; }
}
.contact-image-tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-image-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}
.contact-image-tile__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: white;
}
.contact-image-tile__quote {
  font-size: 1.5rem;
  line-height: 1.3;
}
.contact-image-tile__author {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  opacity: 0.8;
}

/* Contact tiles */
.contact-tile {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--color-border) 50%, transparent);
  background-color: var(--color-card);
  transition: border-color 0.3s, background-color 0.3s;
  text-decoration: none;
  color: inherit;
}
a.contact-tile:hover {
  border-color: color-mix(in srgb, var(--color-accent) 60%, transparent);
  background-color: color-mix(in srgb, var(--color-secondary) 40%, transparent);
}
.contact-tile__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}
.contact-tile__value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.3;
  word-break: break-all;
}
.contact-tile__cta {
  margin-top: auto;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
}
a.contact-tile:hover .contact-tile__cta { text-decoration: underline; text-underline-offset: 4px; }
.contact-tile__note {
  margin-top: auto;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: color-mix(in srgb, var(--color-foreground) 50%, transparent);
}

/* ─── FOOTER ─── */
.site-footer {
  background-color: var(--color-card);
  color: var(--color-foreground);
  border-top: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent);
}
.site-footer__main {
  padding-top: 3rem;
  padding-bottom: 3rem;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .site-footer__main {
    grid-template-columns: repeat(3, 1fr);
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}
.site-footer__brand-name { line-height: 1.2; }
.site-footer__brand-main { font-size: 1.5rem; }
.site-footer__brand-sub  { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.7; }
.site-footer__brand-desc { font-size: 0.875rem; opacity: 0.8; line-height: 1.6; max-width: 20rem; margin-top: 1rem; }
.site-footer__col-title  { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 1rem; }
.site-footer__contact-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; opacity: 0.9; }
.site-footer__contact-item { display: flex; align-items: flex-start; gap: 0.5rem; }
.site-footer__contact-text { display: flex; flex-direction: column; }
.site-footer__contact-note { font-size: 0.75rem; opacity: 0.7; font-style: italic; }
.site-footer__link { transition: color 0.2s; }
.site-footer__link:hover { color: var(--color-accent); }
.site-footer__note { font-size: 0.75rem; opacity: 0.7; line-height: 1.6; }
.site-footer__bar {
  border-top: 1px solid rgba(255,255,255,0.15);
}
.site-footer__bar-inner {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  font-size: 0.75rem;
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .site-footer__bar-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
  }
}
.site-footer__tagline { font-family: var(--font-heading); font-style: italic; }

/* ─── CART DRAWER ─── */
#theme-cart-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 59;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay {
  opacity: 1;
  pointer-events: auto;
}
#theme-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(420px, 100vw);
  background-color: var(--color-background);
  z-index: 60;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
}
body.cart-open #theme-cart-drawer {
  transform: translateX(0);
}
#theme-cart-drawer.is-updating {
  opacity: 0.6;
  pointer-events: none;
}
.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.cart-drawer__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
}
.cart-drawer__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-foreground);
  padding: 0.25rem;
  border-radius: var(--radius);
  transition: background-color 0.2s;
}
.cart-drawer__close:hover { background-color: var(--color-muted); }
.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}
.cart-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  gap: 1rem;
  padding: 2rem;
}
.cart-drawer__empty-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--color-muted);
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--color-foreground) 50%, transparent);
}
.cart-drawer__empty-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
}
.cart-items-list { display: flex; flex-direction: column; gap: 1.5rem; }
.cart-item {
  display: flex;
  gap: 1rem;
}
.cart-item__thumb {
  width: 4.5rem;
  height: 4.5rem;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--color-muted);
  border: 1px solid var(--color-border);
}
.cart-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}
.cart-item__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-item__price { font-family: var(--font-heading); font-size: 1rem; flex-shrink: 0; }
.cart-item__variation {
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
  margin-top: 0.125rem;
}
.cart-item__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.cart-item__qty-wrap {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.cart-item__qty-btn {
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-foreground);
  transition: background-color 0.2s;
}
.cart-item__qty-btn:hover { background-color: var(--color-muted); }
.cart-item__qty-val {
  width: 1.75rem;
  text-align: center;
  font-size: 0.875rem;
}
.cart-item__remove {
  background: none;
  border: none;
  cursor: pointer;
  color: color-mix(in srgb, var(--color-foreground) 40%, transparent);
  transition: color 0.2s;
}
.cart-item__remove:hover { color: var(--color-destructive); }
.cart-drawer__footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.cart-drawer__subtotal-label { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.cart-drawer__subtotal-val { font-family: var(--font-heading); }
.cart-drawer__checkout {
  display: block;
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ─── WOOCOMMERCE OVERRIDES ─── */
.woocommerce-notices-wrapper { display: none; }
.single-product .woocommerce-notices-wrapper { display: block; }

/* Add to cart button overrides (shop cards — not single-product outline CTA) */
.single_add_to_cart_button.button:not(.btn-outline),
.add_to_cart_button.button:not(.btn-outline),
a.single_add_to_cart_button:not(.btn-outline),
a.add_to_cart_button:not(.btn-outline) {
  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: var(--btn-text-transform) !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:not(.btn-outline):hover,
.add_to_cart_button.button:not(.btn-outline):hover {
  opacity: 0.85 !important;
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 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;
}
/* Hide "View cart" after AJAX add */
.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; }

/* Loading state */
.ajax_add_to_cart.theme-btn-loading {
  opacity: 0.6 !important;
  pointer-events: none !important;
  cursor: wait !important;
}

/* ─── SINGLE PRODUCT PAGE (matches Lovable ProductDetail pt-28 pb-20) ─── */
body.single-product .site-main,
main.site-main.single-product {
  padding-top: 7rem;
  padding-bottom: 5rem;
}
.theme-product-page {
  padding-top: 0;
  padding-bottom: 0;
}
.theme-back-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
  transition: color 0.2s;
  margin-bottom: 2rem;
  text-decoration: none;
}
.theme-back-link:hover { color: var(--color-primary); }
.theme-back-link .lolo-icon { flex-shrink: 0; }
.theme-product-layout {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .theme-product-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.theme-product-layout { min-width: 0; }
.theme-product-gallery,
.theme-product-info { min-width: 0; max-width: 100%; }

/* Gallery */
#product-main-img {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-muted);
  border: 1px solid var(--color-border);
  position: relative;
}
#product-main-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.theme-product-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  max-width: 100%;
}
.theme-thumb-btn {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border);
  transition: border-color 0.2s;
  background: none;
  padding: 0;
  cursor: pointer;
}
.theme-thumb-btn.is-active { border-color: var(--color-primary); }
.theme-thumb-btn:hover:not(.is-active) { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Product info */
.theme-product-tagline {
  display: block;
  margin-bottom: 0.75rem;
}
.theme-product-title {
  font-size: 2.25rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .theme-product-title { font-size: 3rem; }
}
.theme-product-price {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}
.theme-product-price .woocommerce-Price-amount,
.theme-product-price__value {
  color: var(--color-primary);
}
.theme-product-price .currency-code {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: color-mix(in srgb, var(--color-foreground) 50%, transparent);
  font-weight: 400;
}
.theme-product-description {
  color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
  line-height: 1.625;
  margin-bottom: 2rem;
}
.theme-product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
  margin-bottom: 2rem;
}
.theme-product-features .theme-product-feature {
  letter-spacing: 0.2em;
}
.theme-product-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.theme-product-feature .lolo-icon { color: var(--color-primary); }
.theme-product-divider { border-top: 1px solid var(--color-border); padding-top: 2rem; }
.theme-add-to-cart-area {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.theme-qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.theme-qty-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}
.theme-quantity-wrapper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.theme-qty-minus,
.theme-qty-plus {
  width: 2.5rem;
  min-height: 2.5rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  color: var(--color-foreground);
}
.theme-qty-minus:hover,
.theme-qty-plus:hover { background-color: var(--color-muted); }
.theme-qty-input {
  width: 3rem;
  min-width: 3rem;
  height: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
  margin: 0;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  line-height: 2.5rem;
  border: none;
  border-radius: 0;
  background: none;
  color: var(--color-foreground);
  box-shadow: none;
  -moz-appearance: textfield;
  appearance: textfield;
}
.theme-qty-input::-webkit-inner-spin-button,
.theme-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
/* Product CTAs — match Lovable: flex-col sm:flex-row gap-3, btn-outline + btn-primary */
.theme-btn-row,
.theme-product-form-wrapper.theme-btn-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}
@media (min-width: 640px) {
  .theme-btn-row,
  .theme-product-form-wrapper.theme-btn-row {
    flex-direction: row;
    align-items: stretch;
  }
}
.single-product .theme-product-form-wrapper > a,
.single-product .theme-product-form-wrapper > .btn-outline,
.single-product .theme-product-form-wrapper > .btn-primary {
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem;
  margin: 0 !important;
  padding: 0.75rem 1.5rem !important;
  width: auto !important;
  min-height: unset !important;
  height: auto !important;
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  line-height: 1.25rem !important;
  border-radius: var(--radius) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease !important;
}
.single-product .theme-product-form-wrapper > .btn-outline,
.single-product .theme-product-form-wrapper > a.btn-outline {
  background-color: transparent !important;
  color: var(--color-foreground) !important;
  border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent) !important;
  opacity: 1 !important;
}
.single-product .theme-product-form-wrapper > .btn-outline:hover,
.single-product .theme-product-form-wrapper > a.btn-outline:hover {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border-color: var(--color-primary) !important;
  opacity: 1 !important;
  transform: translateY(-2px);
}
.single-product .theme-product-form-wrapper > .btn-primary {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border: none !important;
}
.single-product .theme-product-form-wrapper > .btn-primary:hover {
  background-color: var(--color-accent) !important;
  color: var(--color-button-text) !important;
  transform: translateY(-2px);
}
.single-product .theme-product-form-wrapper > a .lolo-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.theme-handmade-note {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--color-foreground) 50%, transparent);
  font-style: italic;
  font-family: var(--font-heading);
}

/* Responsive layout for single product */
.single-product .theme-add-to-cart-area {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ─── RELATED PRODUCTS ─── */
.theme-related-section { margin-top: 6rem; }
.theme-related-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.theme-related-title { font-family: var(--font-heading); font-size: clamp(1.875rem, 3vw, 2.5rem); }
.theme-related-viewall {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  text-decoration: none;
}
.theme-related-viewall:hover { text-decoration: underline; }
.theme-related-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .theme-related-grid { grid-template-columns: repeat(3, 1fr); }
}
.theme-related-card {
  display: block;
  background-color: var(--color-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s, transform 0.3s;
}
.theme-related-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.15); transform: translateY(-4px); }
.theme-related-card__img {
  aspect-ratio: 1;
  overflow: hidden;
  background-color: var(--color-muted);
}
.theme-related-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.theme-related-card:hover .theme-related-card__img img { transform: scale(1.05); }
.theme-related-card__info {
  padding: 1.25rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.theme-related-card__name { font-family: var(--font-heading); font-size: 1.25rem; }
.theme-related-card__price { font-family: var(--font-heading); font-size: 1.125rem; color: var(--color-primary); flex-shrink: 0; }

/* ─── ARCHIVE / SHOP PAGE ─── */
.woocommerce-page:not(.single-product) .site-main { padding-top: var(--header-height); }
.theme-archive-page { padding: 4rem 0; }
.theme-archive-header { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.theme-archive-title { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.theme-archive-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
}

/* Variable product selects hidden for custom buttons */
.theme-attr-select-hidden { display: none !important; }

/* Variation table layout */
.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; }
.single-product .variations tbody td.value { padding-top: 0; }

/* ─── CHECKOUT, CART, MY ACCOUNT & ORDER RECEIVED ─── */
:is(body.woocommerce-checkout, body.woocommerce-cart, body.woocommerce-account, body.theme-thankyou-page) .site-main,
.entry-content:has(.wc-block-checkout, .wc-block-cart, .woocommerce-MyAccount-navigation, .woocommerce-order, [class*="wc-block-order-confirmation"]) {
  padding-top: var(--header-height);
  padding-bottom: 4rem;
}

/* Parent shells must not compress WooCommerce page content */
:is(body.woocommerce-checkout:not(.theme-thankyou-page), body.woocommerce-cart, body.woocommerce-account) :is(#page-content, .entry-content, .site-main, article),
.entry-content:has(.wc-block-checkout, .wc-block-cart, .woocommerce-MyAccount-navigation) {
  max-width: none !important;
  width: 100%;
}

:is(body.woocommerce-checkout, body.woocommerce-cart, body.woocommerce-account) .page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 3vw, 3rem);
  max-width: var(--checkout-max-width);
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem 1rem;
  box-sizing: border-box;
}
:is(body.woocommerce-checkout, body.woocommerce-cart, body.woocommerce-account) .page-title.container-cottage {
  max-width: var(--checkout-max-width);
}
@media (min-width: 1024px) {
  :is(body.woocommerce-checkout, body.woocommerce-cart, body.woocommerce-account) .page-title {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Block wrappers — centered content column (checkout & cart) */
:is(body.woocommerce-checkout, body.woocommerce-cart) :is(.wp-block-woocommerce-checkout, .wc-block-checkout, .wp-block-woocommerce-cart, .wc-block-cart),
.entry-content :is(.wp-block-woocommerce-checkout, .wc-block-checkout, .wp-block-woocommerce-cart, .wc-block-cart) {
  max-width: var(--checkout-max-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

/* My Account shortcode wrapper */
body.woocommerce-account .entry-content > .woocommerce,
.entry-content > .woocommerce:has(.woocommerce-MyAccount-navigation) {
  max-width: var(--checkout-max-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  :is(body.woocommerce-checkout, body.woocommerce-cart) :is(.wp-block-woocommerce-checkout, .wc-block-checkout, .wp-block-woocommerce-cart, .wc-block-cart),
  .entry-content :is(.wp-block-woocommerce-checkout, .wc-block-checkout, .wp-block-woocommerce-cart, .wc-block-cart),
  body.woocommerce-account .entry-content > .woocommerce,
  .entry-content > .woocommerce:has(.woocommerce-MyAccount-navigation) {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Notices — same width/alignment as page content */
:is(body.woocommerce-checkout, body.woocommerce-cart, body.woocommerce-account) :is(.wc-block-components-notices, .woocommerce-notices-wrapper),
.entry-content > :is(.wc-block-components-notices, .woocommerce-notices-wrapper),
.entry-content :is(.wc-block-checkout, .wc-block-cart) .wc-block-components-notices {
  max-width: var(--checkout-max-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}
.entry-content > :is(.wc-block-components-notices, .woocommerce-notices-wrapper) {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 1024px) {
  .entry-content > :is(.wc-block-components-notices, .woocommerce-notices-wrapper) {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Two-column layout — checkout & cart sidebar-layout containers */
@media (min-width: 768px) {
  :is(body.woocommerce-checkout, body.woocommerce-cart) :is(.wc-block-components-sidebar-layout, .wc-block-checkout-sidebar-layout, .wc-block-cart-sidebar-layout),
  .entry-content :is(.wc-block-components-sidebar-layout, .wc-block-checkout-sidebar-layout, .wc-block-cart-sidebar-layout) {
    display: grid;
    grid-template-columns: 1fr minmax(360px, 400px);
    gap: var(--checkout-gap);
    align-items: start;
  }

  :is(body.woocommerce-checkout, body.woocommerce-cart) :is(.wc-block-components-sidebar-layout, .wc-block-checkout-sidebar-layout, .wc-block-cart-sidebar-layout) > .wc-block-components-notices,
  :is(body.woocommerce-checkout, body.woocommerce-cart) :is(.wc-block-components-sidebar-layout, .wc-block-checkout-sidebar-layout, .wc-block-cart-sidebar-layout) > :first-child,
  .entry-content :is(.wc-block-components-sidebar-layout, .wc-block-checkout-sidebar-layout, .wc-block-cart-sidebar-layout) > .wc-block-components-notices,
  .entry-content :is(.wc-block-components-sidebar-layout, .wc-block-checkout-sidebar-layout, .wc-block-cart-sidebar-layout) > :first-child {
    grid-column: 1 / -1;
    order: 1;
  }

  :is(body.woocommerce-checkout, body.woocommerce-cart) :is(.wc-block-checkout__main, .wc-block-cart__main),
  .entry-content :is(.wc-block-checkout__main, .wc-block-cart__main) {
    order: 2;
  }

  :is(body.woocommerce-checkout, body.woocommerce-cart) :is(.wc-block-checkout__sidebar, .wc-block-cart__sidebar),
  .entry-content :is(.wc-block-checkout__sidebar, .wc-block-cart__sidebar) {
    order: 3;
    min-width: 360px;
  }

  /* My Account — nav (narrow) + content (wide) */
  body.woocommerce-account .entry-content > .woocommerce,
  .entry-content > .woocommerce:has(.woocommerce-MyAccount-navigation) {
    display: grid;
    grid-template-columns: minmax(240px, 300px) 1fr;
    gap: var(--checkout-gap);
    align-items: start;
  }
}

:is(body.woocommerce-checkout, body.woocommerce-cart) :is(.wc-block-components-sidebar-layout, .wc-block-checkout-sidebar-layout, .wc-block-cart-sidebar-layout) > *,
.entry-content :is(.wc-block-components-sidebar-layout, .wc-block-checkout-sidebar-layout, .wc-block-cart-sidebar-layout) > * {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

:is(body.woocommerce-checkout, body.woocommerce-cart) :is(.wc-block-checkout__main, .wc-block-checkout__sidebar, .wc-block-cart__main, .wc-block-cart__sidebar),
.entry-content :is(.wc-block-checkout__main, .wc-block-checkout__sidebar, .wc-block-cart__main, .wc-block-cart__sidebar) {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

body.woocommerce-account :is(.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content),
.entry-content .woocommerce-MyAccount-navigation,
.entry-content .woocommerce-MyAccount-content {
  float: none;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

:is(body.woocommerce-checkout, body.woocommerce-cart) :is(.wp-block-woocommerce-checkout-order-summary-block, .wp-block-woocommerce-cart-order-summary-block),
.entry-content :is(.wp-block-woocommerce-checkout-order-summary-block, .wp-block-woocommerce-cart-order-summary-block) {
  width: 100%;
}

:is(body.woocommerce-checkout, body.woocommerce-cart) :is(.wc-block-checkout__sidebar, .wc-block-cart__sidebar),
.entry-content :is(.wc-block-checkout__sidebar, .wc-block-cart__sidebar) {
  background-color: color-mix(in srgb, var(--color-muted) 40%, var(--color-card));
  border-radius: var(--card-radius);
  padding: var(--section-padding);
}
:is(body.woocommerce-checkout, .entry-content) .wc-block-components-text-input input,
:is(body.woocommerce-checkout, .entry-content) .wc-block-components-select select,
:is(body.woocommerce-checkout, .entry-content) .wc-block-components-textarea textarea {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-card);
}
:is(body.woocommerce-checkout, .entry-content) .wc-block-components-text-input input:focus,
:is(body.woocommerce-checkout, .entry-content) .wc-block-components-select select:focus {
  outline: none;
  border-color: var(--color-primary);
}
:is(body.woocommerce-checkout, .entry-content) .wc-block-components-checkout-place-order-button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  width: 100% !important;
  padding: 0.875rem 1.5rem !important;
  cursor: pointer !important;
}
:is(body.woocommerce-checkout, .entry-content) .wc-block-components-checkout-place-order-button:hover {
  background-color: var(--color-accent) !important;
}

/* ─── THANK YOU / ORDER RECEIVED ─── */
body.theme-thankyou-page :is(#page-content, .site-main, article) {
  max-width: none !important;
  width: 100%;
}

body.theme-thankyou-page .entry-content,
.entry-content:has(.woocommerce-order, [class*="wc-block-order-confirmation"]) {
  max-width: var(--checkout-max-width) !important;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  body.theme-thankyou-page .entry-content,
  .entry-content:has(.woocommerce-order, [class*="wc-block-order-confirmation"]) {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

body.theme-thankyou-page :is(.wc-block-components-notices, .woocommerce-notices-wrapper) {
  max-width: var(--checkout-max-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  body.theme-thankyou-page :is(.wc-block-components-notices, .woocommerce-notices-wrapper) {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .entry-content > .woocommerce {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 2rem 0 0;
  box-sizing: border-box;
}

body.theme-thankyou-page :is(
  .woocommerce-order h2,
  .woocommerce-order-details__title,
  [class*="wc-block-order-confirmation"] h1,
  [class*="wc-block-order-confirmation"] h2
) {
  font-family: var(--font-heading);
  padding: 0 0 1rem;
}

body.theme-thankyou-page .woocommerce-order-overview {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--checkout-gap);
  margin-bottom: 2rem;
}

body.theme-thankyou-page .woocommerce-order-overview li {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  min-width: 0;
  box-sizing: border-box;
}

body.theme-thankyou-page .woocommerce-order-details table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

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: var(--checkout-gap);
}

@media (min-width: 768px) {
  body.theme-thankyou-page .woocommerce-customer-details .woocommerce-columns,
  body.theme-thankyou-page .woocommerce-customer-details .u-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--checkout-gap);
    align-items: start;
  }
}

body.theme-thankyou-page .woocommerce-customer-details address {
  max-width: 100%;
  overflow-wrap: break-word;
}

body.theme-thankyou-page .entry-content > [class*="wc-block-order-confirmation"],
body.theme-thankyou-page .entry-content > [class*="wp-block-woocommerce-order-confirmation"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body.theme-thankyou-page { overflow-x: hidden; }

/* ─── PAGE ─── */
.page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 3vw, 3rem);
  padding: 2rem 0 1rem;
}
.entry-content { padding-bottom: 4rem; }

/* ─── 404 ─── */
.not-found-page {
  display: flex;
  justify-content: center;
  padding: 8rem 1.5rem;
}
.not-found-page__inner { text-align: center; max-width: 32rem; }
.not-found-page__title { font-size: clamp(2rem, 4vw, 3rem); margin: 1rem 0; }
.not-found-page__text { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-bottom: 2rem; }

/* ─── WOOCOMMERCE NOTICES ─── */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error { background-color: color-mix(in srgb, var(--color-destructive) 10%, var(--color-card)); border: 1px solid color-mix(in srgb, var(--color-destructive) 30%, transparent); border-radius: var(--radius); padding: 1rem 1.25rem; color: var(--color-destructive); margin-bottom: 1rem; }
.woocommerce-message { background-color: color-mix(in srgb, var(--color-primary) 10%, var(--color-card)); border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1rem; }

/* ─── INNER PAGE HEADER SPACING ─── */
.theme-no-hero .site-main { padding-top: var(--header-height); }

/* ─── PRODUCT PAGE SOLD OUT ─── */
.theme-stock-sold-out {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--color-destructive);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* ─── HOVER EFFECTS ─── */
.hover\:underline:hover { text-decoration: underline; }

/* ─── WooCommerce breadcrumb removal ─── */
.woocommerce-breadcrumb { display: none !important; }

/* ─── RESPONSIVE UTILITIES ─── */
.overflow-wrap-anywhere {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ─── PRODUCT CARD: HIT-AREA OVERLAY (PATTERN A) ─── */
.theme-product-card { position: relative; }
.theme-card-overlay-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
  display: block;
}
.theme-product-card > *:not(.theme-card-overlay-link) { pointer-events: none; }
.theme-product-card__image-wrapper { position: relative; overflow: hidden; }

/* Gallery prev/next buttons */
.theme-gallery-prev,
.theme-gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--color-background) 90%, transparent);
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s;
  z-index: 2;
}
.theme-gallery-prev { left: 0.75rem; }
.theme-gallery-next { right: 0.75rem; }
.theme-gallery-prev:hover,
.theme-gallery-next:hover { background-color: var(--color-background); }

/* Variable product single_variation_wrap — hide until variation selected */
.single_variation_wrap { display: flex; flex-direction: column; gap: 1.25rem; }

/* Shop product grid scoped to homepage — 3 columns exactly */
.shop-product-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .shop-product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .shop-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Flex utility for buttons */
.flex-1 { flex: 1; }
.justify-center { justify-content: center; }

@media (max-width: 767px) {
  .contact-bento { grid-template-columns: 1fr; }
  .contact-image-tile { min-height: 220px; }
}

/* ─── PRODUCT SINGLE RESPONSIVE ─── */
@media (max-width: 1023px) {
  .theme-product-layout { grid-template-columns: 1fr; }
}
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* ─── DISPLAY FONT — inheritance & WooCommerce Blocks ─── */
:is(h1, h2, h3, h4, h5, h6, .font-display) :where(span, em, a, strong) {
  font-family: inherit;
}

:is(body.woocommerce-checkout, body.woocommerce-cart, .entry-content) :is(
  .wc-block-components-title,
  .wc-block-checkout__main h2,
  .wc-block-cart__main h2,
  .wc-block-components-product-name,
  .wc-block-components-product-price,
  .wc-block-components-order-summary-item__description
) {
  font-family: var(--font-heading);
  font-weight: 400;
}
