/* ============================================================
   TINKERING TOAD TRINKETS THEME — theme.css
   Whimsical cottagecore. All colors reference CSS custom properties
   emitted by inc/enqueue.php from Customizer color settings.
============================================================ */

:root {
  /* HSL components — consumed as hsl(var(--token)). Matches src/index.css (Lovable). */
  --color-primary: 272 49% 43%;
  --color-primary-deep: 270 52% 36%;
  --color-secondary: 275 55% 94%;
  --color-accent: 173 80% 40%;
  --color-accent-deep: 175 84% 32%;
  --color-gold: 38 92% 50%;
  --color-gold-deep: 32 95% 44%;
  --color-background: 280 60% 98%;
  --color-foreground: 270 30% 16%;
  --color-muted: 270 12% 42%;
  --color-border: 275 45% 89%;
  --color-plum: 268 51% 19%;
  --color-button-text: 0 0% 100%;
  --color-cream: 280 60% 98%;
  --color-brass-light: 173 65% 68%;
  --logo-height: 72px;

  --font-display: 'Fredoka', 'Quicksand', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-accent: 'Quicksand', 'Inter', sans-serif;

  --radius-lg: 1.5rem;
  --card-radius: 1.5rem;
  --btn-radius: 999px;
  --btn-height: 3.25rem;
  --btn-padding: 1rem 1.75rem;
  --btn-font-size: 0.875rem;
  --btn-font-size-compact: 0.75rem;
  --btn-font-weight: 700;
  --btn-letter-spacing: 0.12em;
  --btn-text-transform: uppercase;
  --header-height: 96px;
  --announcement-height: 2.75rem;
  --header-nav-height: var(--header-height);
  --page-top-offset: calc(var(--announcement-height) + var(--header-nav-height) + 1.5rem);
  --section-padding: 2rem;
  --checkout-gap: 2rem;

  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}
@media (min-width: 768px) {
  :root { --page-top-offset: calc(var(--announcement-height) + var(--header-nav-height) + 2rem); }
}
@media (min-width: 1024px) {
  :root { --page-top-offset: calc(var(--announcement-height) + var(--header-nav-height) + 2.5rem); }
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  background: hsl(var(--color-background));
  color: hsl(var(--color-foreground));
  font-family: var(--font-body);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
p, li { text-wrap: pretty; margin: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
[role="button"], label[for], select, .shop-cat-chip, .thoughts-card-link, .theme-product-card__overlay-link, .faq-item-toggle { cursor: pointer; }
button:disabled, [aria-disabled="true"] { cursor: not-allowed; }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
::selection { background: hsl(var(--color-primary)); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding-inline: 1rem; }
@media (min-width: 640px) { .container-wide { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding-inline: 2rem; } }

.section-pad { padding-block: 3rem; }
@media (min-width: 768px) { .section-pad { padding-block: 5rem; } }
@media (min-width: 1024px) { .section-pad { padding-block: 7rem; } }
.rel-z1 { position: relative; z-index: 1; }

/* --------------------- Cover image completeness list (Section 15.1) --------------------- */
img:not(.cover-img):not(.hero-bg-img):not(.theme-product-card-img):not(.theme-product-main-img):not(.thoughts-card-img):not(.charm-gallery-img) {
  max-width: 100%;
  height: auto;
}
.cover-img, .hero-bg-img, .theme-product-card-img, .theme-product-main-img, .thoughts-card-img, .charm-gallery-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* --------------------- Buttons --------------------- */
.btn-primary, .btn-outline-primary, .btn-outline-teal, .btn-teal, .btn-outline-cream,
.btn-hero-primary, .btn-hero-outline, .btn-header-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: var(--btn-radius);
  min-height: var(--btn-height);
  padding: var(--btn-padding);
  font-family: var(--font-accent);
  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, background-color 0.2s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}
.shop-preview-section .btn-primary,
.shop-preview-section .btn-outline-primary,
.btn-header-cta { font-size: var(--btn-font-size-compact); }
.btn-header-cta { letter-spacing: 0.16em; }
.btn-primary, .btn-hero-primary, .btn-header-cta { background: hsl(var(--color-primary)); color: hsl(var(--color-button-text)); }
.btn-primary:hover, .btn-hero-primary:hover, .btn-header-cta:hover { background: hsl(var(--color-primary-deep)); }
.btn-outline-primary { background: transparent; border: 2px solid color-mix(in srgb, hsl(var(--color-primary)) 25%, transparent); color: hsl(var(--color-primary)); }
.btn-outline-primary:hover { background: hsl(var(--color-secondary)); }
.btn-outline-teal { background: transparent; border: 2px solid color-mix(in srgb, hsl(var(--color-accent)) 40%, transparent); color: hsl(var(--color-accent-deep)); }
.btn-outline-teal:hover { background: color-mix(in srgb, hsl(var(--color-accent)) 10%, transparent); }
.btn-teal { background: hsl(var(--color-accent)); color: #fff; }
.btn-teal:hover { background: hsl(var(--color-accent-deep)); }
.btn-hero-outline { background: transparent; border: 2px solid rgba(255,255,255,0.45); color: hsl(var(--color-cream)); }
.btn-hero-outline:hover { background: rgba(255,255,255,0.1); }
.btn-outline-cream { background: transparent; border: 2px solid rgba(255,255,255,0.4); color: hsl(var(--color-cream)); }
.btn-outline-cream:hover { background: rgba(255,255,255,0.1); }
.btn-full { width: 100%; }
.single_add_to_cart_button, .single-product .single_add_to_cart_button,
.single-product .single_add_to_cart_button.button { text-transform: none; }
.btn-hero-primary, .btn-hero-outline { text-transform: uppercase; }

/* --------------------- Pills / badges --------------------- */
.eyebrow { display: block; font-family: var(--font-accent); font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: hsl(var(--color-primary)); }
.pill-teal, .pill-purple, .pill-gold, .pill-gold-dark {
  display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px;
  padding: 0.5rem 1rem; font-family: var(--font-accent); font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.25rem;
  max-width: 100%;
  box-sizing: border-box;
}
.pill-label { min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.pill-teal { background: color-mix(in srgb, hsl(var(--color-accent)) 10%, transparent); color: hsl(var(--color-accent-deep)); border: 1px solid color-mix(in srgb, hsl(var(--color-accent)) 30%, transparent); }
.pill-purple { background: color-mix(in srgb, hsl(var(--color-primary)) 10%, transparent); color: hsl(var(--color-primary)); border: 1px solid color-mix(in srgb, hsl(var(--color-primary)) 25%, transparent); }
.pill-gold { background: color-mix(in srgb, hsl(var(--color-gold)) 15%, transparent); color: hsl(var(--color-gold-deep)); border: 1px solid color-mix(in srgb, hsl(var(--color-gold)) 35%, transparent); }
.pill-gold-dark { background: hsl(var(--color-cream) / 0.1); color: hsl(var(--color-brass-light)); border: 1px solid hsl(var(--color-brass-light) / 0.4); }

/* --------------------- Reveal animations (Section 2.1) --------------------- */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
  will-change: opacity, transform;
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .reveal-item { transition: none !important; opacity: 1 !important; transform: none !important; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --------------------- Header --------------------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
.announcement-bar { background: hsl(var(--color-plum)); color: hsl(var(--color-cream)); }
.announcement-bar .container-wide { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.announcement-text { display: flex; align-items: center; justify-content: center; gap: 0.5rem; text-align: center; font-family: var(--font-accent); font-weight: 600; font-size: 0.75rem; margin: 0; }
@media (min-width: 640px) { .announcement-text { font-size: 0.875rem; } }
.announcement-text svg { color: hsl(var(--color-brass-light)); flex-shrink: 0; }

.header-inner { transition: all 0.5s var(--transition-smooth); background: transparent; }
.site-header.is-solid .header-inner,
.header-inner.is-solid { background: color-mix(in srgb, hsl(var(--color-background)) 95%, transparent); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid hsl(var(--color-border)); box-shadow: 0 1px 2px rgba(0,0,0,0.04); }

.site-nav { display: flex; align-items: center; gap: 0.75rem; height: 96px; transition: height 0.3s var(--transition-smooth); }
.header-inner.is-scrolled .site-nav { height: 72px; }

.site-brand { display: flex; align-items: center; gap: 0.6rem; min-height: 44px; flex-shrink: 0; }
.site-logo-img { height: var(--logo-height) !important; width: var(--logo-height) !important; border-radius: 999px; object-fit: cover; border: 2px solid color-mix(in srgb, hsl(var(--color-accent)) 80%, transparent); box-shadow: 0 4px 14px rgba(0,0,0,0.18); transition: all 0.3s ease; position: static; }
.header-inner.is-scrolled .site-logo-img { height: 44px !important; width: 44px !important; }
.site-logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: var(--logo-height); color: hsl(var(--color-primary)); }
.site-header:not(.is-solid) .site-logo-text { color: #fff; }
.site-brand-name { font-family: var(--font-display); font-weight: 600; }

.site-nav-links { display: none; flex: 1; align-items: center; justify-content: center; gap: 1.75rem; }
@media (min-width: 1024px) { .site-nav-links { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; }
.theme-nav-list a {
  font-family: var(--font-accent); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; padding: 0.75rem 0; color: rgba(255,255,255,0.9); transition: color 0.3s ease;
  text-shadow: 0 1px 6px hsl(var(--color-plum) / 0.55);
}
.site-header.is-solid .theme-nav-list a { color: color-mix(in srgb, hsl(var(--color-foreground)) 80%, transparent); text-shadow: none; }
.theme-nav-list a:hover { color: hsl(var(--color-primary)); }
.site-header:not(.is-solid) .theme-nav-list a:hover { color: #fff; }
.theme-nav-list .current-menu-item > a,
.theme-nav-list a[aria-current="page"] { color: hsl(var(--color-primary)); }
.site-header:not(.is-solid) .theme-nav-list .current-menu-item > a,
.site-header:not(.is-solid) .theme-nav-list a.is-nav-active,
.site-header:not(.is-solid) .theme-nav-list a[aria-current="page"] { color: hsl(var(--color-brass-light)); }
.site-header.is-solid .theme-nav-list a.is-nav-active { color: hsl(var(--color-primary)); }

.site-nav-actions { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
@media (min-width: 1024px) { .site-nav-actions { margin-left: 0; } }
.btn-header-cta { display: none; padding: 0.75rem 1.25rem; min-height: 44px; margin-right: 0.25rem; }
@media (min-width: 1024px) { .btn-header-cta:not(.btn-header-cta--mobile) { display: inline-flex; } }
.site-header:not(.is-solid) .btn-header-cta:not(.btn-header-cta--mobile) { background: hsl(var(--color-cream)); color: hsl(var(--color-plum)); }
.site-header:not(.is-solid) .btn-header-cta:not(.btn-header-cta--mobile):hover { background: hsl(var(--color-brass-light)); color: hsl(var(--color-plum)); }

.cart-toggle-btn, .mobile-menu-toggle {
  position: relative; padding: 0.75rem; min-height: 44px; min-width: 44px; border-radius: 999px;
  background: transparent; border: none; color: rgba(255,255,255,0.9); transition: all 0.3s ease;
  display: inline-flex; align-items: center; justify-content: center;
}
.site-header.is-solid .cart-toggle-btn, .site-header.is-solid .mobile-menu-toggle { color: color-mix(in srgb, hsl(var(--color-foreground)) 80%, transparent); }
.cart-toggle-btn:hover, .mobile-menu-toggle:hover { background: rgba(255,255,255,0.15); }
.site-header.is-solid .cart-toggle-btn:hover, .site-header.is-solid .mobile-menu-toggle:hover { background: hsl(var(--color-secondary)); color: hsl(var(--color-primary)); }
.mobile-menu-toggle { display: inline-flex; }
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }
.theme-cart-count {
  position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 999px;
  background: hsl(var(--color-primary)); color: #fff; font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }

.mobile-menu { border-top: 1px solid hsl(var(--color-border)); padding-block: 1rem; }
.mobile-menu[hidden] { display: none !important; }
.mobile-menu.is-open { display: block; animation: fadeIn 0.7s var(--transition-smooth) forwards; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav-list { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav-list a {
  display: flex; align-items: center; gap: 0.5rem; text-align: left;
  padding: 0.75rem; border-radius: 0.75rem;
  font-family: var(--font-accent); font-size: 0.875rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600;
  color: color-mix(in srgb, hsl(var(--color-foreground)) 85%, transparent);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.mobile-nav-list a:hover,
.mobile-nav-list a:focus-visible {
  background: hsl(var(--color-secondary));
  color: hsl(var(--color-primary));
}
.mobile-nav-list .current-menu-item > a,
.mobile-nav-list a.is-nav-active,
.mobile-nav-list a[aria-current="page"] {
  color: hsl(var(--color-primary));
  background: hsl(var(--color-secondary));
}
.btn-header-cta--mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: auto;
  margin-top: 0.75rem;
  padding: 0.875rem 1.25rem;
  min-height: 0;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  font-weight: 700;
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu.is-open { animation: none; }
}

/* --------------------- Hero --------------------- */
.hero-section { position: relative; width: 100%; overflow: hidden; min-height: 100svh; display: flex; align-items: center; padding-block: 8rem 4rem; }
body.theme-no-hero .hero-section { display: none; }
.hero-bg-wrap { position: absolute; inset: 0; overflow: hidden; }
.hero-ken-burns { position: absolute; inset: 0; overflow: hidden; }
.hero-ken-burns-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  pointer-events: none;
}
.hero-ken-burns-slide.is-active { opacity: 1; z-index: 1; }
.hero-ken-burns-img {
  position: absolute; left: 50%; top: 50%;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.02);
  will-change: transform;
}
.hero-ken-burns-slide.is-rotated .hero-ken-burns-img {
  transform: translate(-50%, -50%) rotate(90deg) scale(1.85);
}
.hero-ken-burns-slide.is-active .hero-ken-burns-img {
  animation: heroKenBurnsZoom 9s linear forwards;
}
.hero-ken-burns-slide.is-active.is-rotated .hero-ken-burns-img {
  animation: heroKenBurnsZoomRotated 9s linear forwards;
}
@keyframes heroKenBurnsZoom {
  from { transform: translate(-50%, -50%) scale(1.02); }
  to { transform: translate(-50%, -50%) scale(1.18); }
}
@keyframes heroKenBurnsZoomRotated {
  from { transform: translate(-50%, -50%) rotate(90deg) scale(1.85); }
  to { transform: translate(-50%, -50%) rotate(90deg) scale(2.154); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-ken-burns-slide { transition: none; }
  .hero-ken-burns-slide.is-active .hero-ken-burns-img,
  .hero-ken-burns-slide.is-active.is-rotated .hero-ken-burns-img { animation: none; }
}
.hero-bg-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to bottom, color-mix(in srgb, hsl(var(--color-plum)) 60%, transparent), color-mix(in srgb, hsl(var(--color-plum)) 38%, transparent) 50%, color-mix(in srgb, hsl(var(--color-plum)) 65%, transparent)); }
.hero-inner { position: relative; z-index: 3; max-width: 56rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-badge { color: hsl(var(--hero-badge-color)); border: 1px solid hsl(var(--hero-badge-color) / 0.5); background: hsl(var(--color-cream) / 0.1); backdrop-filter: blur(6px); }
.hero-title { color: hsl(var(--hero-title-color)); font-size: 2.5rem; line-height: 1.04; text-wrap: balance; text-shadow: 0 3px 10px rgba(0,0,0,0.55); }
.hero-title-accent { display: block; color: hsl(var(--hero-title-accent-color)); }
@media (min-width: 640px) { .hero-title { font-size: 3.25rem; } }
@media (min-width: 768px) { .hero-title { font-size: 4rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }
.hero-ctas { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; width: 100%; justify-content: center; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; width: auto; } }
.hero-stats { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; font-size: 0.875rem; color: hsl(var(--color-cream)); text-shadow: 0 1px 8px hsl(var(--color-plum) / 0.55); }
.hero-stats span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-stats svg { color: hsl(var(--color-brass-light)); }

/* --------------------- Section heads --------------------- */
.section-head { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
@media (min-width: 768px) { .section-head { grid-template-columns: repeat(12, 1fr); gap: 3rem; margin-bottom: 4rem; } }
.section-head-copy { grid-column: span 12; }
@media (min-width: 768px) { .section-head-copy { grid-column: span 7; } }
.section-head-side, .section-head-intro { grid-column: span 12; color: hsl(var(--color-muted)); font-size: 1rem; line-height: 1.625; }
@media (min-width: 768px) {
  .thoughts-section .section-head-side,
  .charmbar-section .section-head-intro,
  .craftfairs-section .section-head-side { font-size: 1.125rem; }
}
@media (min-width: 768px) { .section-head-side, .section-head-intro { grid-column: span 5; } }
.section-head-ctas { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .section-head-ctas { flex-direction: row; } }

.section-heading { font-size: 1.875rem; line-height: 1.08; text-wrap: balance; }
@media (min-width: 768px) { .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .section-heading { font-size: 3.75rem; } }
.charmbar-heading { font-size: 1.875rem; line-height: 1.08; text-wrap: balance; }
@media (min-width: 768px) { .charmbar-heading { font-size: 3rem; } }
.craftfairs-heading { font-size: 1.875rem; line-height: 1.08; text-wrap: balance; }
@media (min-width: 768px) { .craftfairs-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .craftfairs-heading { font-size: 3.75rem; } }
.shop-heading, .thoughts-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .shop-heading, .thoughts-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-heading, .thoughts-heading { font-size: 3.75rem; } }
.about-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .about-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-heading { font-size: 3.4rem; } }
.faq-heading, .contact-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .faq-heading { font-size: 3rem; } .contact-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-heading { font-size: 3.75rem; } }
.custom-orders-heading { font-size: 1.875rem; line-height: 1.08; color: hsl(var(--color-cream)); }
@media (min-width: 768px) { .custom-orders-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .custom-orders-heading { font-size: 3rem; } }

.text-accent-teal { color: hsl(var(--color-accent-deep)); }
.text-accent-primary { color: hsl(var(--color-primary)); }
.text-accent-brass { color: hsl(var(--color-brass-light)); }

.shop-preview-section {
	background: hsl(var(--color-mint));
	border-top: 1px solid hsl(var(--color-border));
	border-bottom: 1px solid hsl(var(--color-border));
}
.shop-preview-section .shop-toolbar { margin-bottom: 2.5rem; }
.shop-preview-footer {
	margin-top: 3rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
}
@media (min-width: 640px) {
	.shop-preview-footer { flex-direction: row; }
}
.shop-show-more-btn { width: 100%; }
.shop-show-more-btn[hidden],
.shop-show-more-btn.is-hidden {
	display: none !important;
}
@media (min-width: 640px) {
	.shop-show-more-btn { width: auto; }
}
.shop-empty-text { font-size: 0.875rem; color: hsl(var(--color-muted)); margin-top: 0.5rem; }

/* --------------------- Charm Bar section --------------------- */
.charmbar-section { position: relative; overflow: hidden; background: hsl(var(--color-secondary)); border-top: 1px solid hsl(var(--color-border)); border-bottom: 1px solid hsl(var(--color-border)); }
.charmbar-bg-wrap { position: absolute; inset: 0; overflow: hidden; opacity: 0.35; }
.charmbar-bg-overlay { position: absolute; inset: 0; background: color-mix(in srgb, hsl(var(--color-secondary)) 60%, transparent); }
.charmbar-steps { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .charmbar-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .charmbar-steps { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.75rem; } }
.charmbar-step-card { background: #fff; border-radius: var(--card-radius); border: 1px solid color-mix(in srgb, hsl(var(--color-primary)) 15%, transparent); padding: 2rem; box-shadow: 0 8px 24px -12px color-mix(in srgb, hsl(var(--color-primary)) 35%, transparent); transition: box-shadow 0.3s ease, transform 0.3s ease; }
.charmbar-step-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px -14px color-mix(in srgb, hsl(var(--color-primary)) 40%, transparent); }
.charmbar-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.charmbar-step-icon { width: 3.5rem; height: 3.5rem; border-radius: 1rem; background: color-mix(in srgb, hsl(var(--color-accent)) 10%, transparent); border: 1px solid color-mix(in srgb, hsl(var(--color-accent)) 25%, transparent); display: flex; align-items: center; justify-content: center; color: hsl(var(--color-accent-deep)); }
.charmbar-step-num { font-family: var(--font-display); font-size: 1.875rem; color: color-mix(in srgb, hsl(var(--color-primary)) 25%, transparent); }
.charmbar-step-card h3 { font-size: 1.25rem; line-height: 1.375; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .charmbar-step-card h3 { font-size: 1.5rem; } }
.charmbar-step-card p { color: hsl(var(--color-muted)); font-size: 0.875rem; line-height: 1.625; }
@media (min-width: 768px) { .charmbar-step-card p { font-size: 1rem; } }
.charmbar-callout { margin-top: 3rem; border-radius: var(--card-radius); background: hsl(var(--color-primary)); color: #fff; padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .charmbar-callout { flex-direction: row; align-items: center; justify-content: space-between; padding: 2.5rem; } }
.charmbar-callout-copy h3 { font-size: 1.5rem; line-height: 1.375; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .charmbar-callout-copy h3 { font-size: 1.875rem; } }
.charmbar-callout-copy p { opacity: 0.9; font-size: 0.875rem; line-height: 1.625; }
@media (min-width: 768px) { .charmbar-callout-copy p { font-size: 1rem; } }
.charmbar-callout-note { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.15); border-radius: 999px; padding: 0.5rem 1rem; font-family: var(--font-accent); font-weight: 600; font-size: 0.75rem; }
@media (min-width: 768px) { .charmbar-callout-note { font-size: 0.875rem; } }
.charmbar-callout-ctas { display: flex; flex-direction: column; gap: 0.75rem; flex-shrink: 0; }
@media (min-width: 1024px) { .charmbar-callout-ctas { flex-direction: row; } }

/* --------------------- Shop preview / Product grid --------------------- */
.theme-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.75rem; } }
.theme-featured-products { grid-template-columns: 1fr; }
@media (min-width: 640px) { .theme-featured-products { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .theme-featured-products { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid color-mix(in srgb, hsl(var(--color-primary)) 10%, transparent);
  border-radius: var(--card-radius); overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.theme-product-card:hover { border-color: color-mix(in srgb, hsl(var(--color-accent)) 45%, transparent); box-shadow: 0 12px 28px -14px color-mix(in srgb, hsl(var(--color-primary)) 35%, transparent); transform: translateY(-4px); }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 4/5; background: hsl(var(--color-secondary)); overflow: hidden; }
.theme-product-card__tag { position: absolute; top: 1rem; left: 1rem; z-index: 1; border-radius: 999px; background: color-mix(in srgb, #fff 95%, transparent); padding: 0.3rem 0.75rem; font-family: var(--font-accent); font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: hsl(var(--color-primary)); }
.theme-product-card:hover .theme-product-card-img { transform: scale(1.06); }
.theme-product-card-img { transition: transform 0.7s cubic-bezier(0.25,0.4,0.25,1); }
.theme-product-card__info { flex: 1; display: flex; flex-direction: column; padding: 1.25rem 1.5rem; }
.theme-product-card__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; min-width: 0; }
.theme-product-card__title { font-size: 1.125rem; color: hsl(var(--color-primary)); line-height: 1.375; min-width: 0; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.25rem; } }
.theme-product-card:hover .theme-product-card__title { color: hsl(var(--color-primary-deep)); }
.theme-product-card__price { font-family: var(--font-accent); font-weight: 700; white-space: nowrap; color: hsl(var(--color-primary)); }
.theme-product-card__notes { font-size: 0.875rem; color: hsl(var(--color-muted)); line-height: 1.625; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.theme-product-card__footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid color-mix(in srgb, hsl(var(--color-primary)) 10%, transparent); display: flex; justify-content: flex-end; }
.theme-product-card__cta { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-accent); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: hsl(var(--color-primary)); }
.theme-product-card:hover .theme-product-card__cta span { transform: translateX(4px); }
.theme-product-card__cta span { display: inline-block; transition: transform 0.3s ease; }

/* --------------------- Custom orders banner --------------------- */
.custom-orders-section { background: hsl(var(--color-plum)); position: relative; overflow: hidden; }
.custom-orders-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .custom-orders-grid { grid-template-columns: repeat(12,1fr); gap: 4rem; } }
.custom-orders-copy { grid-column: span 12; }
@media (min-width: 1024px) { .custom-orders-copy { grid-column: span 7; } }
.custom-orders-copy p { margin-top: 1.25rem; color: hsl(var(--color-cream) / 0.8); line-height: 1.625; max-width: 42rem; }
.custom-orders-ctas { grid-column: span 12; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 1024px) { .custom-orders-ctas { grid-column: span 5; align-items: flex-end; } }

/* --------------------- About / Meet the Maker --------------------- */
.about-section {
	background: hsl(var(--color-background));
	border-top: 1px solid hsl(var(--color-border));
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
}
/* Matches Lovable: container-wide py-12 md:py-20 lg:py-28 */
.about-section-pad {
	padding-block: 3rem;
}
@media (min-width: 768px) {
	.about-section-pad { padding-block: 5rem; }
}
@media (min-width: 1024px) {
	.about-section-pad { padding-block: 7rem; }
}
/* Mobile: single column like Lovable grid-cols-1 — do NOT use span-N here
   (span-12 on a 1-col grid creates implicit tracks and overflows). */
.about-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	align-items: center;
	width: 100%;
	min-width: 0;
}
.about-photos {
	order: 2;
	min-width: 0;
	width: 100%;
	max-width: 100%;
}
.about-photos-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	width: 100%;
	min-width: 0;
}
.about-photo-frame {
	position: relative;
	min-width: 0;
	overflow: hidden;
	aspect-ratio: 3 / 4;
	border-radius: var(--card-radius);
	border: 1px solid color-mix(in srgb, hsl(var(--color-primary)) 15%, transparent);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.about-photo-frame--offset {
	margin-top: 2rem;
	border-color: color-mix(in srgb, hsl(var(--color-accent)) 25%, transparent);
}
.about-photo {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	border: none;
	border-radius: 0;
	box-shadow: none;
}
.about-copy {
	order: 1;
	min-width: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
.about-copy > * { max-width: 100%; min-width: 0; box-sizing: border-box; }
.about-copy .section-heading {
	max-width: 100%;
	overflow-wrap: anywhere;
	word-break: break-word;
	text-wrap: pretty;
}
.about-copy .heading-lead,
.about-copy .heading-accent { overflow-wrap: anywhere; }
.about-text { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; color: hsl(var(--color-muted)); font-size: 1rem; line-height: 1.625; }
.about-text p { overflow-wrap: anywhere; }
.about-pills {
	margin-top: 2rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	width: 100%;
	min-width: 0;
}
.about-pills .pill-gold,
.about-pills .pill-teal,
.about-pills .pill-purple {
	margin-bottom: 0;
	max-width: 100%;
	min-width: 0;
	white-space: normal;
	overflow-wrap: anywhere;
	line-height: 1.35;
}
.about-ctas {
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	width: 100%;
	min-width: 0;
}
.about-ctas .btn-primary,
.about-ctas .btn-outline-primary {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	white-space: normal;
	overflow-wrap: anywhere;
	text-wrap: balance;
}
/* Tablet+ CTAs only — keep desktop/tablet row layout intact */
@media (min-width: 640px) {
	.about-ctas { flex-direction: row; flex-wrap: wrap; }
	.about-ctas .btn-primary,
	.about-ctas .btn-outline-primary { width: auto; flex: 1 1 12rem; }
}
/* Desktop 12-col layout (unchanged from Lovable lg:grid-cols-12) */
@media (min-width: 1024px) {
	.about-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
	.about-photos { grid-column: span 6; order: 1; }
	.about-copy { grid-column: span 6; order: 2; }
}

/* --------------------- Craft fairs --------------------- */
.craftfairs-section { position: relative; overflow: hidden; background: hsl(var(--color-secondary)); border-top: 1px solid hsl(var(--color-border)); border-bottom: 1px solid hsl(var(--color-border)); }
.craftfairs-bg-wrap { position: absolute; inset: 0; overflow: hidden; opacity: 0.3; }
.craftfairs-bg-overlay { position: absolute; inset: 0; background: color-mix(in srgb, hsl(var(--color-secondary)) 60%, transparent); }
.craftfairs-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .craftfairs-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.75rem; } }
.craftfairs-card { background: #fff; border-radius: var(--card-radius); border: 1px solid color-mix(in srgb, hsl(var(--color-primary)) 10%, transparent); padding: 1.75rem; display: flex; gap: 1.25rem; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.craftfairs-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px -14px color-mix(in srgb, hsl(var(--color-primary)) 30%, transparent); }
.craftfairs-card-icon { flex-shrink: 0; width: 3.5rem; height: 3.5rem; border-radius: 1rem; background: color-mix(in srgb, hsl(var(--color-primary)) 10%, transparent); border: 1px solid color-mix(in srgb, hsl(var(--color-primary)) 20%, transparent); display: flex; align-items: center; justify-content: center; color: hsl(var(--color-primary)); }
.craftfairs-card h3 { font-size: 1.25rem; line-height: 1.375; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .craftfairs-card h3 { font-size: 1.5rem; } }
.craftfairs-card-location { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-accent); font-weight: 600; color: hsl(var(--color-accent-deep)); font-size: 0.875rem; margin-bottom: 0.25rem; }
.craftfairs-card-timing { font-family: var(--font-accent); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; color: hsl(var(--color-gold-deep)); margin-bottom: 0.75rem; }
.craftfairs-card-detail { color: hsl(var(--color-muted)); line-height: 1.625; font-size: 0.875rem; }
.craftfairs-group-callout { margin-top: 2rem; border-radius: var(--card-radius); border: 1px solid color-mix(in srgb, hsl(var(--color-accent)) 30%, transparent); background: #fff; padding: 2rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center; }
@media (min-width: 1024px) { .craftfairs-group-callout { grid-template-columns: repeat(12,1fr); } }
.craftfairs-group-callout > div { grid-column: span 12; }
@media (min-width: 1024px) { .craftfairs-group-callout > div { grid-column: span 8; } }
.craftfairs-group-callout h3 { font-size: 1.5rem; line-height: 1.375; margin: 0.5rem 0; }
@media (min-width: 768px) { .craftfairs-group-callout h3 { font-size: 1.875rem; } }
.craftfairs-group-callout p { color: hsl(var(--color-muted)); font-size: 0.875rem; line-height: 1.625; }
@media (min-width: 768px) { .craftfairs-group-callout p { font-size: 1rem; } }
.craftfairs-group-callout > a { grid-column: span 12; justify-self: start; }
@media (min-width: 1024px) { .craftfairs-group-callout > a { grid-column: span 4; justify-self: end; } }

/* --------------------- Thoughts --------------------- */
.thoughts-section { background: hsl(var(--color-secondary)); border-top: 1px solid hsl(var(--color-border)); border-bottom: 1px solid hsl(var(--color-border)); }
.thoughts-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .thoughts-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .thoughts-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.75rem; } }
.thoughts-card-link { display: block; height: 100%; }
.thoughts-card { height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--card-radius); border: 1px solid color-mix(in srgb, hsl(var(--color-primary)) 10%, transparent); background: #fff; box-shadow: 0 8px 24px -14px color-mix(in srgb, hsl(var(--color-primary)) 25%, transparent); transition: border-color 0.3s ease, transform 0.3s ease; }
.thoughts-card-link:hover .thoughts-card { border-color: color-mix(in srgb, hsl(var(--color-accent)) 45%, transparent); transform: translateY(-4px); }
.thoughts-card-img-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; background: hsl(var(--color-secondary)); }
.thoughts-card-link:hover .thoughts-card-img { transform: scale(1.05); }
.thoughts-card-img { transition: transform 0.7s ease; }
.thoughts-card-body { flex: 1; display: flex; flex-direction: column; padding: 1.5rem 1.75rem; }
.thoughts-card-date { color: hsl(var(--color-accent-deep)); margin-bottom: 0.5rem; font-family: var(--font-accent); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; }
.thoughts-card-body h3 { font-size: 1.25rem; line-height: 1.375; color: hsl(var(--color-primary)); margin-bottom: 0.5rem; }
@media (min-width: 768px) { .thoughts-card-body h3 { font-size: 1.5rem; } }
.thoughts-card-excerpt { font-size: 0.875rem; color: hsl(var(--color-muted)); line-height: 1.625; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.thoughts-card-cta { margin-top: auto; padding-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-accent); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: hsl(var(--color-primary)); }

/* --------------------- FAQ --------------------- */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: repeat(12,1fr); gap: 4rem; align-items: center; } }
.faq-intro-col { grid-column: span 12; }
@media (min-width: 1024px) { .faq-intro-col { grid-column: span 5; } }
.faq-intro-col p { margin-top: 1.25rem; color: hsl(var(--color-muted)); line-height: 1.625; }
.faq-ctas { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .faq-ctas { flex-direction: row; } }
.faq-items-col { grid-column: span 12; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 1024px) { .faq-items-col { grid-column: span 7; } }
.faq-item { border-radius: 1rem; border: 1px solid color-mix(in srgb, hsl(var(--color-primary)) 15%, transparent); background: #fff; transition: border-color 0.3s ease; }
.faq-item.is-open { border-color: color-mix(in srgb, hsl(var(--color-accent)) 45%, transparent); box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.faq-item-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left; padding: 1.25rem 1.5rem; min-height: 44px; background: none; border: none; }
.faq-item-q { font-family: var(--font-display); font-weight: 400; font-size: 1rem; line-height: 1.375; }
@media (min-width: 768px) { .faq-item-q { font-size: 1.125rem; } }
.faq-item-icon { width: 2.25rem; height: 2.25rem; flex-shrink: 0; border-radius: 999px; background: hsl(var(--color-secondary)); color: hsl(var(--color-primary)); display: flex; align-items: center; justify-content: center; transition: background 0.3s ease, color 0.3s ease; }
.faq-item.is-open .faq-item-icon { background: hsl(var(--color-accent)); color: #fff; }
.faq-item-icon .icon-minus { display: none; }
.faq-item.is-open .faq-item-icon .icon-plus { display: none; }
.faq-item.is-open .faq-item-icon .icon-minus { display: block; }
.faq-item-panel { display: none; padding: 0 1.5rem 1.5rem; margin-top: -0.25rem; }
.faq-item.is-open .faq-item-panel { display: block; animation: fadeIn 0.3s ease; }
.faq-item-panel p { font-size: 0.875rem; color: hsl(var(--color-muted)); line-height: 1.625; }
@media (min-width: 768px) { .faq-item-panel p { font-size: 1rem; } }

/* --------------------- Contact --------------------- */
.contact-section {
	position: relative;
	overflow: hidden;
	background: hsl(var(--color-plum));
	color: hsl(var(--color-cream));
	width: 100%;
	max-width: 100%;
}
.contact-bg-wrap { position: absolute; inset: 0; overflow: hidden; }
.contact-bg-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, color-mix(in srgb, hsl(var(--color-plum)) 80%, transparent), color-mix(in srgb, hsl(var(--color-plum)) 50%, transparent) 50%, color-mix(in srgb, hsl(var(--color-plum)) 85%, transparent)); }
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	align-items: center;
	width: 100%;
	min-width: 0;
}
@media (min-width: 1024px) {
	.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
}
.contact-copy { min-width: 0; width: 100%; max-width: 100%; }
.contact-copy p { margin-top: 1.25rem; color: hsl(var(--color-cream) / 0.75); line-height: 1.625; max-width: 34rem; }
.contact-social { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.contact-social a { width: 3rem; height: 3rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; color: hsl(var(--color-brass-light)); transition: all 0.3s ease; }
.contact-social a:hover { border-color: hsl(var(--color-brass-light)); background: rgba(255,255,255,0.1); }
/* Matches Lovable: rounded-3xl bg-card p-6 md:p-8 lg:p-10 shadow-elevated */
.contact-form-card {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	border-radius: 1.5rem;
	background: #fff;
	color: hsl(var(--color-foreground));
	padding: 1.5rem;
	box-shadow: 0 18px 40px -20px hsl(var(--color-plum) / 0.55);
}
@media (min-width: 768px) {
	.contact-form-card { padding: 2rem; }
}
@media (min-width: 1024px) {
	.contact-form-card { padding: 2.5rem; }
}
.contact-form-title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.375;
	text-wrap: balance;
	color: hsl(var(--color-accent-deep));
	margin: 0;
}
.contact-form-success { text-align: center; padding-block: 2rem; }
.contact-success-icon { width: 3.5rem; height: 3.5rem; border-radius: 999px; background: hsl(var(--color-accent)); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; color: #fff; }
.contact-form-success h3 { font-size: 1.5rem; color: hsl(var(--color-accent-deep)); margin-bottom: 0.75rem; }
.contact-form-success p { color: hsl(var(--color-muted)); font-size: 0.875rem; line-height: 1.625; }

/* --------------------- Forms (shared: contact, inquiry) --------------------- */
.theme-contact-form { display: flex; flex-direction: column; gap: 1rem; min-width: 0; width: 100%; }
.form-row-2 {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	align-items: stretch;
	min-width: 0;
	width: 100%;
}
@media (min-width: 768px) {
	.form-row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.form-row-2 .form-field { display: flex; flex-direction: column; min-width: 0; }
.form-field { min-width: 0; width: 100%; }
.form-field label {
	display: block;
	font-family: var(--font-accent);
	font-weight: 600;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin-bottom: 0.5rem;
	color: hsl(var(--color-accent-deep));
	line-height: 1.35;
}
.form-field input,
.form-field select,
.form-field textarea {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	border-radius: 0.75rem;
	border: 1px solid color-mix(in srgb, hsl(var(--color-accent)) 35%, transparent);
	background: hsl(var(--color-background));
	padding: 0.75rem 1rem;
	min-height: 44px;
	font-size: 0.875rem;
	color: hsl(var(--color-accent-deep));
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
	color: color-mix(in srgb, hsl(var(--color-accent-deep)) 55%, transparent);
}
.form-field input:not([type="date"]),
.form-field select {
	height: 44px;
}
.form-field input[type="date"] {
	height: 44px;
	line-height: 1.25;
	-webkit-appearance: none;
	appearance: none;
}
.form-field select {
	line-height: 1.25;
	cursor: pointer;
}
.form-field textarea { resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
	outline: none;
	border-color: hsl(var(--color-accent));
	box-shadow: 0 0 0 3px color-mix(in srgb, hsl(var(--color-accent)) 20%, transparent);
}
.form-error { color: #d92d20; font-size: 0.85rem; }
.form-required { color: hsl(var(--color-accent-deep)); }
.form-row-3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-items: stretch; min-width: 0; }
@media (min-width: 768px) { .form-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-inquiry-form { gap: 1.5rem; }
.theme-contact-form .btn-primary {
	width: 100%;
	padding: 1rem 1.5rem;
	min-height: 44px;
	font-size: 0.875rem;
	letter-spacing: 0.12em;
}
.theme-contact-form button[disabled],
.inquiry-page button[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
}

/* --------------------- Footer --------------------- */
.site-footer {
	background: hsl(var(--color-plum));
	color: hsl(var(--color-cream));
	border-top: 1px solid rgba(255,255,255,0.1);
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
}
.footer-inner { padding-block: 3rem 2rem; min-width: 0; }
@media (min-width: 768px) { .footer-inner { padding-block: 5rem 2rem; } }
/* Mobile: 1 col — do NOT use span-N (creates implicit tracks / overflow). */
.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	width: 100%;
	min-width: 0;
}
.footer-brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	min-width: 0;
	width: 100%;
	max-width: 100%;
}
.footer-logo-img { border-radius: 999px; max-width: 100%; height: auto; }
.footer-about-text {
	margin-top: 1.5rem;
	font-size: 0.875rem;
	color: hsl(var(--color-cream) / 0.75);
	max-width: 28rem;
	line-height: 1.625;
	overflow-wrap: anywhere;
}
.footer-tagline {
	margin-top: 1rem;
	font-family: var(--font-display);
	font-size: 1rem;
	color: hsl(var(--color-brass-light));
	overflow-wrap: anywhere;
}
.footer-nav-cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	min-width: 0;
	width: 100%;
	max-width: 100%;
}
@media (min-width: 640px) {
	.footer-nav-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.footer-nav-col { min-width: 0; }
.footer-eyebrow {
	font-size: 0.75rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 600;
	color: hsl(var(--color-brass-light));
	margin-bottom: 1.25rem;
}
.footer-nav-col ul li a,
.footer-nav-col ul li button {
	display: inline-block;
	max-width: 100%;
	padding: 0.5rem 0;
	font-size: 0.875rem;
	color: hsl(var(--color-cream) / 0.75);
	overflow-wrap: anywhere;
}
.footer-nav-col ul li a:hover { color: #fff; }
.footer-contact { min-width: 0; width: 100%; max-width: 100%; }
.footer-contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.5rem 0;
	font-size: 0.875rem;
	color: hsl(var(--color-cream) / 0.75);
	min-width: 0;
}
.footer-contact-list li > span {
	min-width: 0;
	overflow-wrap: anywhere;
}
.footer-contact-list svg { color: hsl(var(--color-brass-light)); flex-shrink: 0; margin-top: 0.15rem; }
.footer-mailto {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: inherit;
	max-width: 100%;
	min-width: 0;
}
.footer-mailto:hover { color: #fff; }
.footer-mailto span {
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}
.footer-social { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a { width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; color: hsl(var(--color-brass-light)); }
.footer-social a:hover { background: rgba(255,255,255,0.1); border-color: hsl(var(--color-brass-light)); }
.footer-bottom {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255,255,255,0.1);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	text-align: center;
	min-width: 0;
	width: 100%;
}
@media (min-width: 640px) {
	.footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-copyright,
.footer-credit {
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: hsl(var(--color-cream) / 0.55);
	font-family: var(--font-accent);
	max-width: 100%;
	overflow-wrap: anywhere;
}
.footer-credit a { color: hsl(var(--color-cream) / 0.8); text-underline-offset: 4px; }
.footer-credit a:hover { color: hsl(var(--color-brass-light)); text-decoration: underline; }
/* Desktop/tablet 12-col (matches Lovable md:grid-cols-12) — unchanged layout */
@media (min-width: 768px) {
	.footer-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; }
	.footer-brand { grid-column: span 4; align-items: flex-start; text-align: left; }
	.footer-nav-cols { grid-column: span 4; }
	.footer-contact { grid-column: span 4; }
}

/* --------------------- Inner page shell (clear fixed header + announcement) --------------------- */
body.theme-no-hero .site-main:not(.home-main) {
  padding-top: var(--page-top-offset);
  padding-bottom: 4rem;
}

/* --------------------- Generic page shell / 404 / policies / inquiry --------------------- */
.page-shell { max-width: 56rem; }
.page-title { font-size: 2rem; line-height: 1.08; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .page-title { font-size: 2.75rem; } }
.policies-title, .thoughts-archive-title, .shop-page-title {
  font-size: 1.875rem;
  line-height: 1.08;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .policies-title, .thoughts-archive-title, .shop-page-title { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .policies-title, .thoughts-archive-title, .shop-page-title { font-size: 3.75rem; }
}
.shop-page-title { max-width: 56rem; margin-left: auto; margin-right: auto; }
.shop-page-intro { color: hsl(var(--color-muted)); line-height: 1.625; margin-top: 0.75rem; font-size: 1rem; }
@media (min-width: 768px) { .shop-page-intro { font-size: 1.125rem; } }
.error-404-inner { max-width: 40rem; margin: 0 auto; text-align: center; padding-block: 4rem; }
.error-404-inner p { margin: 1.5rem 0 2rem; color: hsl(var(--color-muted)); line-height: 1.625; }
.policies-hero, .thoughts-archive-hero { max-width: 48rem; margin: 0 auto; text-align: center; padding-bottom: 3rem; }
.thoughts-archive-hero p { color: hsl(var(--color-muted)); line-height: 1.625; margin-top: 1rem; font-size: 1rem; }
@media (min-width: 768px) { .thoughts-archive-hero p { font-size: 1.125rem; } }

/* --------------------- Inquiry page (Match.tsx / CustomOrderInquiry) --------------------- */
.inquiry-page {
  min-height: 100svh;
  background-image:
    radial-gradient(60% 60% at 15% 20%, color-mix(in srgb, hsl(var(--color-secondary)) 28%, transparent) 0%, transparent 70%),
    radial-gradient(55% 55% at 85% 15%, color-mix(in srgb, hsl(var(--color-accent)) 22%, transparent) 0%, transparent 70%),
    radial-gradient(70% 70% at 60% 95%, color-mix(in srgb, hsl(var(--color-accent)) 16%, transparent) 0%, transparent 70%);
}
body.theme-no-hero .site-main.inquiry-page { padding-bottom: 0; }
.inquiry-layout {
  max-width: 56rem;
  margin-inline: auto;
  padding-block: 3rem;
}
@media (min-width: 768px) { .inquiry-layout { padding-block: 5rem; } }
.inquiry-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--color-muted));
  transition: color 0.2s ease;
  padding-block: 0.5rem;
}
.inquiry-back-link:hover { color: hsl(var(--color-primary)); }
.inquiry-back-link svg { flex-shrink: 0; }
.inquiry-hero { margin-top: 1.5rem; margin-bottom: 2.5rem; text-align: left; }
.inquiry-badge { margin-bottom: 1.25rem; }
.inquiry-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 1.06;
  text-wrap: balance;
}
@media (min-width: 768px) { .inquiry-title { font-size: 3rem; } }
@media (min-width: 1024px) { .inquiry-title { font-size: 3.5rem; } }
.inquiry-title-lead { display: inline; }
.inquiry-title-accent { display: inline; }
.inquiry-intro {
  margin-top: 1.25rem;
  max-width: 42rem;
  color: hsl(var(--color-muted));
  line-height: 1.625;
  font-size: 1rem;
  text-wrap: pretty;
}
@media (min-width: 768px) { .inquiry-intro { font-size: 1.125rem; } }
.inquiry-form-card {
  width: 100%;
  background: #fff;
  border-radius: 1.5rem;
  border: 1px solid color-mix(in srgb, hsl(var(--color-primary)) 15%, transparent);
  padding: 1.5rem;
  box-shadow: 0 8px 24px -12px color-mix(in srgb, hsl(var(--color-primary)) 35%, transparent);
}
@media (min-width: 768px) { .inquiry-form-card { padding: 2.5rem; } }
.inquiry-booking-panel {
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, hsl(var(--color-accent)) 30%, transparent);
  background: color-mix(in srgb, hsl(var(--color-accent)) 5%, transparent);
  padding: 1.25rem;
}
.inquiry-contact-row {
  padding-top: 0.5rem;
  border-top: 1px solid color-mix(in srgb, hsl(var(--color-primary)) 10%, transparent);
}
.inquiry-fee-heading {
  margin: 0;
  text-align: center;
  font-family: var(--font-accent);
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--color-accent-deep));
  line-height: 1.625;
}
.inquiry-footer-note {
  margin: 0;
  text-align: center;
  font-size: 0.75rem;
  color: hsl(var(--color-muted));
  line-height: 1.625;
}
.inquiry-success-view { padding-bottom: 3rem; }
.inquiry-success-hero { text-align: center; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .inquiry-success-hero { margin-bottom: 3rem; } }
.inquiry-success-badge { margin-top: 1rem; margin-bottom: 1rem; }
.inquiry-success-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.08;
  margin-bottom: 1rem;
  text-wrap: balance;
}
@media (min-width: 768px) { .inquiry-success-title { font-size: 3rem; } }
.inquiry-success-intro {
  color: hsl(var(--color-muted));
  line-height: 1.625;
  max-width: 36rem;
  margin-inline: auto;
}
.inquiry-summary-card {
  border-radius: 1.5rem;
  border: 1px solid color-mix(in srgb, hsl(var(--color-primary)) 15%, transparent);
  background: #fff;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 24px -12px color-mix(in srgb, hsl(var(--color-primary)) 35%, transparent);
}
@media (min-width: 768px) { .inquiry-summary-card { padding: 2.5rem; } }
.inquiry-summary-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.inquiry-summary-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 2rem;
  margin: 0;
}
@media (min-width: 640px) { .inquiry-summary-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.inquiry-summary-item--wide { grid-column: 1 / -1; }
.inquiry-summary-list dt {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(var(--color-muted));
  margin-bottom: 0.25rem;
}
.inquiry-summary-list dd {
  margin: 0;
  color: hsl(var(--color-foreground));
  font-size: 0.875rem;
  line-height: 1.625;
}
.inquiry-success-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
@media (min-width: 640px) {
  .inquiry-success-actions { flex-direction: row; justify-content: center; }
}
.inquiry-success-actions .btn-primary,
.inquiry-success-actions .btn-outline-primary { min-width: 12rem; }

.policies-list { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 3rem; padding-bottom: 5rem; }
.policy-block .policy-icon { display: inline-flex; width: 3.5rem; height: 3.5rem; border-radius: 1rem; background: hsl(var(--color-secondary)); color: hsl(var(--color-primary)); align-items: center; justify-content: center; margin-bottom: 1rem; }
.policy-block h2 { font-size: 1.5rem; line-height: 1.25; margin-bottom: 1rem; }
@media (min-width: 768px) { .policy-block h2 { font-size: 1.625rem; } }
.policy-block p { color: hsl(var(--color-muted)); line-height: 1.625; margin-bottom: 0.75rem; font-size: 0.875rem; }
@media (min-width: 768px) { .policy-block p { font-size: 0.9375rem; } }

.thoughts-archive-list { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 3rem; padding-bottom: 5rem; }
.thought-full-img { position: relative; aspect-ratio: 16/9; border-radius: var(--card-radius); overflow: hidden; margin-bottom: 1.5rem; }
.thought-full-date { color: hsl(var(--color-accent-deep)); font-family: var(--font-accent); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 0.5rem; }
.thought-full-body h2 { font-size: 1.875rem; line-height: 1.1; color: hsl(var(--color-primary)); margin-bottom: 1rem; }
@media (min-width: 768px) { .thought-full-body h2 { font-size: 3rem; } }
.thought-full-body p { color: hsl(var(--color-muted)); line-height: 1.625; margin-bottom: 1rem; font-size: 1rem; }
@media (min-width: 768px) { .thought-full-body p { font-size: 1.125rem; } }
.thought-divider { border: none; border-top: 1px solid hsl(var(--color-border)); margin: 0; }

/* ============================================================
   WOOCOMMERCE
============================================================ */

/* Shop archive */
.shop-hero { max-width: 48rem; margin: 0 auto; text-align: center; padding-bottom: 2rem; }
.shop-toolbar { background: #fff; border: 1px solid color-mix(in srgb, hsl(var(--color-primary)) 10%, transparent); border-radius: var(--card-radius); padding: 1.5rem; margin-bottom: 2.5rem; box-shadow: 0 8px 24px -16px color-mix(in srgb, hsl(var(--color-primary)) 30%, transparent); display: flex; flex-direction: column; gap: 1.25rem; }
.shop-toolbar-row { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .shop-toolbar-row { flex-direction: row; } }
.shop-search-wrap, .shop-sort-wrap { position: relative; flex: 1; }
.shop-sort-wrap { flex: none; width: 100%; }
@media (min-width: 640px) { .shop-sort-wrap { width: 14rem; } }
.shop-search-wrap svg, .shop-sort-wrap svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: hsl(var(--color-muted)); pointer-events: none; }
.shop-search-wrap input, .shop-sort-wrap select { width: 100%; padding: 0.75rem 1rem 0.75rem 2.5rem; min-height: 44px; border-radius: 0.75rem; border: 1px solid hsl(var(--color-border)); background: hsl(var(--color-background)); font-size: 0.875rem; }
.shop-sort-wrap select { appearance: none; }
.shop-search-wrap input:focus, .shop-sort-wrap select:focus { outline: none; border-color: hsl(var(--color-accent)); box-shadow: 0 0 0 3px color-mix(in srgb, hsl(var(--color-accent)) 20%, transparent); }
.shop-categories-row .eyebrow { color: hsl(var(--color-muted)); margin-bottom: 0.75rem; }
.shop-category-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.shop-cat-chip { display: inline-flex; align-items: center; border-radius: 999px; padding: 0.6rem 1rem; min-height: 44px; font-family: var(--font-accent); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; border: 1px solid hsl(var(--color-border)); background: hsl(var(--color-background)); color: color-mix(in srgb, hsl(var(--color-foreground)) 75%, transparent); transition: all 0.2s ease; }
.shop-cat-chip:hover { border-color: color-mix(in srgb, hsl(var(--color-accent)) 50%, transparent); }
.shop-cat-chip.is-active { background: hsl(var(--color-primary)); color: #fff; border-color: hsl(var(--color-primary)); }
.shop-result-count { font-family: var(--font-accent); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.16em; color: hsl(var(--color-muted)); margin-bottom: 1.5rem; }
.shop-results { padding-bottom: 5rem; }
.shop-empty-state, .shop-empty-title { text-align: center; padding-block: 3rem; }
.shop-empty-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.shop-pagination { margin-top: 3rem; display: flex; justify-content: center; gap: 0.5rem; }
.shop-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 0.75rem; border-radius: 0.75rem; border: 1px solid hsl(var(--color-border)); font-weight: 600; }
.shop-pagination .page-numbers.current { background: hsl(var(--color-primary)); color: #fff; border-color: hsl(var(--color-primary)); }

/* Add to cart button overrides (Section 11.4.1) */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
  background-color: hsl(var(--color-primary)) !important;
  color: hsl(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:hover {
  opacity: 0.85 !important;
  background-color: hsl(var(--color-primary)) !important;
  color: hsl(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: hsl(var(--color-primary)) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Hide "View cart" injected after AJAX add (Section 11.4.2) */
.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; }

/* Scoped notice visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-radius: 0.75rem; border: 1px solid hsl(var(--color-border)); background: #fff;
  padding: 1rem 1.5rem; font-family: var(--font-body); font-size: 0.875rem; list-style: none;
}
.woocommerce-error { border-color: #f3b6b6; color: #a52424; }

/* Single product layout */
.back-to-shop-row { padding-block: 1.5rem; }
.back-to-shop-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: hsl(var(--color-muted)); }
.back-to-shop-link:hover { color: hsl(var(--color-foreground)); }
.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 4rem; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-main-image-wrap { position: relative; aspect-ratio: 3/4; background: hsl(var(--color-secondary)); overflow: hidden; border-radius: var(--card-radius); margin-bottom: 1rem; }
.theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: 100%; }
.theme-product-thumb { position: relative; width: 4.5rem; height: 4.5rem; border-radius: 0.75rem; overflow: hidden; border: 2px solid transparent; opacity: 0.6; transition: all 0.2s ease; padding: 0; background: none; }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumb:hover, .theme-product-thumb.is-active { opacity: 1; border-color: hsl(var(--color-primary)); }
.posted_in { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: hsl(var(--color-muted)); font-family: var(--font-body); }
.posted_in a { color: hsl(var(--color-muted)); }
.product-title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.2; margin: 0.5rem 0 1rem; overflow-wrap: break-word; word-break: break-word; }
@media (min-width: 768px) { .product-title { font-size: 1.875rem; } }
.theme-price, .theme-price .amount { font-size: 1.5rem; font-weight: 600; margin-bottom: 1.5rem; display: block; }
.theme-stock-out { color: #b23434; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; margin-bottom: 1.5rem; font-family: var(--font-body); }
.theme-product-description { color: hsl(var(--color-muted)); line-height: 1.75; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-option-group { margin-bottom: 1.5rem; }
.theme-option-group h3, .theme-option-group label { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.75rem; display: block; font-family: var(--font-body); font-style: normal; }
.theme-option-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-option-pills[data-option-group="color"] { gap: 0.75rem; }
.theme-option-pill { padding: 0.6rem 1.1rem; min-height: 44px; border-radius: 0.75rem; border: 1px solid hsl(var(--color-border)); background: #fff; font-size: 0.875rem; transition: all 0.2s ease; }
.theme-option-pill:hover { border-color: color-mix(in srgb, hsl(var(--color-primary)) 50%, transparent); }
.theme-option-pills:not([data-option-group="color"]) .theme-option-pill.is-selected { background: hsl(var(--color-primary)); color: #fff; border-color: hsl(var(--color-primary)); }
.theme-option-pill--color {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-body);
}
.theme-option-pill--color.is-selected {
  background: color-mix(in srgb, hsl(var(--color-primary)) 5%, transparent);
  color: hsl(var(--color-foreground));
  border-color: hsl(var(--color-primary));
}
.theme-color-swatch {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--color-border));
  flex-shrink: 0;
}
.theme-color-label { line-height: 1.25; }
.theme-option-group input[type="text"] { width: 100%; padding: 0.75rem 1rem; min-height: 44px; border-radius: 0.75rem; border: 1px solid hsl(var(--color-border)); }

.theme-quantity-wrapper { display: inline-flex; align-items: stretch; border: 1px solid hsl(var(--color-border)); border-radius: var(--btn-radius); overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { width: 3rem; background: hsl(var(--color-background)); border: none; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; transition: background 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: hsl(var(--color-secondary)); }
.theme-qty-input { width: 3.25rem; text-align: center; border: none; border-left: 1px solid hsl(var(--color-border)); border-right: 1px solid hsl(var(--color-border)); -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-product-details-section { border-top: 1px solid hsl(var(--color-border)); padding-top: 2rem; }
.theme-product-details-section h3 { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; font-family: var(--font-body); }
.theme-product-details-section ul { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details-section li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: hsl(var(--color-muted)); font-family: var(--font-body); }
.theme-product-details-section li::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: hsl(var(--color-primary)); margin-top: 0.5rem; flex-shrink: 0; }

.related-products-section { padding-top: 3rem; border-top: 1px solid hsl(var(--color-border)); }
.related-products-heading { font-size: 1.25rem; font-weight: 700; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-products-heading { font-size: 1.5rem; } }
.theme-related-products-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 1024px) { .theme-related-products-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }

/* Variations table (present for compatibility; catalog is simple products) */
.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; }
.theme-variable-product-form .theme-variation-attributes { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.25rem; }
.theme-variation-option--hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.theme-variable-product-form select {
	width: 100%;
	padding: 0.75rem 1rem;
	min-height: 44px;
	border-radius: 0.75rem;
	border: 1px solid color-mix(in srgb, hsl(var(--color-accent)) 35%, transparent);
	background: #fff;
	font-size: 0.875rem;
	color: hsl(var(--color-accent-deep));
	box-sizing: border-box;
}
.theme-variable-product-form select:focus {
	outline: none;
	border-color: hsl(var(--color-accent));
	box-shadow: 0 0 0 3px color-mix(in srgb, hsl(var(--color-accent)) 20%, transparent);
}
.theme-variable-submit:disabled { opacity: 0.45; cursor: not-allowed; }

/* Cart drawer */
#theme-cart-overlay { position: fixed; inset: 0; background: hsl(var(--color-plum) / 0.35); z-index: 60; 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: 100%; width: 100%; max-width: 26rem; background: #fff; z-index: 61;
  box-shadow: -20px 0 60px rgba(0,0,0,0.25); 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: 1.5rem; border-bottom: 1px solid hsl(var(--color-border)); }
.theme-cart-drawer-header h2 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-close { background: none; border: none; padding: 0.25rem; opacity: 0.7; }
.theme-cart-close:hover { opacity: 1; }
.theme-cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-empty svg { color: hsl(var(--color-muted)); margin-bottom: 1rem; }
.theme-cart-empty p { color: hsl(var(--color-muted)); margin-bottom: 1.5rem; }
.theme-cart-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item-img { width: 5rem; height: 6rem; flex-shrink: 0; background: hsl(var(--color-secondary)); overflow: hidden; border-radius: 0.5rem; }
.theme-cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item-body { flex: 1; min-width: 0; }
.theme-cart-item-name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-body); }
.theme-cart-item-meta { margin-top: 0.25rem; font-family: var(--font-body); }
.theme-cart-item-meta-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.theme-cart-meta-line { display: flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; color: hsl(var(--color-muted)); line-height: 1.4; }
.theme-cart-meta-line--note .theme-cart-meta-value { font-style: italic; }
.theme-cart-meta-value { min-width: 0; overflow-wrap: anywhere; }
.theme-color-swatch--sm { width: 0.75rem; height: 0.75rem; }
.theme-cart-item-price { font-size: 0.875rem; color: hsl(var(--color-muted)); margin-top: 0.25rem; font-family: var(--font-body); }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { width: 1.75rem; height: 1.75rem; border-radius: 0.4rem; border: 1px solid hsl(var(--color-border)); background: hsl(var(--color-background)); font-size: 0.875rem; }
.theme-cart-qty-btn:hover { background: hsl(var(--color-secondary)); }
.theme-cart-qty-value { font-size: 0.875rem; width: 1.5rem; text-align: center; font-family: var(--font-body); }
.theme-cart-remove { margin-left: auto; font-size: 0.75rem; color: hsl(var(--color-muted)); background: none; border: none; }
.theme-cart-remove:hover { color: hsl(var(--color-foreground)); text-decoration: underline; }
.theme-cart-footer { padding: 1.5rem; border-top: 1px solid hsl(var(--color-border)); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; font-family: var(--font-body); }
.theme-cart-subtotal-row span:last-child { font-weight: 700; }
.theme-cart-note { font-size: 0.75rem; color: hsl(var(--color-muted)); }

/* ============================================================
   CHECKOUT BLOCK OVERRIDES (Section 13)
============================================================ */
.checkout-back-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  color: hsl(var(--color-muted));
  font-family: var(--font-body);
  margin-bottom: 2rem;
  transition: color 0.2s ease;
}
.checkout-back-link:hover { color: hsl(var(--color-foreground)); }
.checkout-back-link svg { margin-right: 0.5rem; flex-shrink: 0; }
.checkout-page-title { margin-bottom: 0.75rem; }
.checkout-intro {
  color: hsl(var(--color-muted));
  font-family: var(--font-body);
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 36rem;
  line-height: 1.625;
}

body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }
body.woocommerce-checkout .page-shell,
body.woocommerce-cart .page-shell,
body.woocommerce-account .page-shell { max-width: 80rem; }

body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
  body.woocommerce-checkout .wc-block-checkout.wc-block-components-sidebar-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--checkout-gap, 2rem);
    align-items: start;
  }
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0; width: 100%; max-width: none;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
  width: 100% !important; max-width: none !important;
  border-radius: 0.75rem; border: 1px solid hsl(var(--color-border));
  font-family: var(--font-body); font-size: 0.9rem; color: hsl(var(--color-foreground));
  background-color: #fff;
  padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  border-color: hsl(var(--color-accent));
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: hsl(var(--color-muted)); }
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 {
  background-color: hsl(var(--color-secondary));
  border-radius: var(--card-radius);
  padding: var(--section-padding, 2rem);
}
body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
  padding: 2.5rem 1rem 3rem;
  font-family: var(--font-body);
  color: hsl(var(--color-muted));
  line-height: 1.625;
}
body.woocommerce-checkout .wc-block-checkout-empty .wc-block-components-button,
.entry-content .wc-block-checkout-empty .wc-block-components-button {
  margin-top: 0.5rem;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: hsl(var(--color-primary)) !important;
  color: #fff !important;
  border-radius: var(--btn-radius) !important;
  font-family: var(--font-body) !important;
  text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }
body.woocommerce-checkout h2, body.woocommerce-checkout h3 { font-family: var(--font-display); font-weight: 600; }
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: 0.75rem; }

.woocommerce-checkout .form-row .input-text, .woocommerce-checkout .form-row select {
  border-radius: 0.75rem; border: 1px solid hsl(var(--color-border)); font-family: var(--font-body);
}

/* Cart / My Account width parity (Section 13.7) */

/* Thank you page (Section 22.8) */
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 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: 1.5rem; margin: 1.5rem 0; background: hsl(var(--color-secondary)); border-radius: var(--card-radius); }
body.theme-thankyou-page .woocommerce-order-overview li { list-style: none; font-size: 0.9rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 1.5rem 0; }
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 hsl(var(--color-border)); text-align: left; }
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; margin-top: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
  max-width: 480px; overflow-wrap: break-word; font-style: normal; line-height: 1.7;
}

/* ============================================================
   Customizer preview / admin panel controls
============================================================ */
.theme-media-control { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-media-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-media-url-input { width: 100%; min-width: 0; box-sizing: border-box; }
.theme-media-preview { max-width: 100%; height: auto; display: block; border-radius: 0.5rem; }
