/* =========================================================================
   Julie DeFazio Fine Art — theme.css
   ========================================================================= */

:root {
  --background: #f9f5f1;
  --foreground: #201317;
  --primary: #804251;
  --primary-foreground: #fcfaf8;
  --secondary: #ece6df;
  --muted: #e2dbd5;
  --muted-foreground: #6b575e;
  --accent: #b88f7a;
  --border: #dad1c8;
  --butter: #f2ece4;
  --rosa: #d7758d;
  --marigold: #dd9e5f;
  --teal: #59cfb1;
  --indigo: #3b4a68;
  --surface-deep: #38242b;
  --surface-deep-foreground: #f5f0ea;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;

  --shadow-soft: 0 4px 24px -6px rgba(32, 19, 23, 0.08);
  --shadow-elevated: 0 10px 40px -10px rgba(32, 19, 23, 0.18);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --color-button-text: var(--primary-foreground);
  --btn-radius: 999px;
  --btn-height: 3rem;
  --btn-padding: 1rem 2.5rem;
  --btn-font-size: 0.7rem;
  --btn-font-weight: 500;
  --btn-letter-spacing: 0.28em;
  --btn-text-transform: uppercase;
  --card-radius: 0.5rem;
  --header-height: 80px;
  --logo-height: 60px;

  /* Lateral padding scale (matches live Lovable site) */
  --container-max-width: 80rem;    /* max-w-7xl */
  --container-padding-x: 1.5rem;   /* px-6 */
  --section-padding-x: 1.5rem;     /* px-6 */
  --section-padding-x-md: 3.5rem; /* md:px-14 */
  --section-padding-x-lg: 5rem;   /* lg:px-20 */
  --section-padding-x-xl: 6rem;   /* xl:px-24 */
  --gallery-track-padding-x-md: 3rem;  /* md:px-12 */
  --gallery-track-padding-x-lg: 4rem;  /* lg:px-16 */
}

@media (min-width: 1024px) {
  :root {
    --container-padding-x: 2rem; /* lg:px-8 */
  }
}

/* -------------------------------------------------------------------------
   Reset / base
   ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  font-weight: inherit;
  font-size: inherit;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; background: none; border: none; cursor: pointer; padding: 0; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.theme-product-card__image):not(.theme-hero__slide) {
  max-width: 100%;
  height: auto;
}
.cover-img,
.theme-product-card__image,
.theme-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
input, textarea, select { font-family: inherit; font-size: 1rem; }

.container-wide { width: 100%; max-width: var(--container-max-width); margin: 0 auto; padding-left: var(--container-padding-x); padding-right: var(--container-padding-x); }

.theme-section-divider { width: 100%; height: 1px; background: color-mix(in srgb, var(--border) 50%, transparent); }
.theme-section-padding { padding-block: 2.5rem; }
@media (min-width: 768px) { .theme-section-padding { padding-block: 3.5rem; } }
.theme-section-padding-lg { padding-block: 3rem; }
@media (min-width: 768px) { .theme-section-padding-lg { padding-block: 4rem; } }
.scroll-mt-24 { scroll-margin-top: 6rem; }

.theme-section-header { text-align: center; margin-bottom: 3rem; }
.theme-section-header--spacious { margin-bottom: 3.5rem; }
.theme-section-kicker {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--primary);
  font-family: var(--font-body);
  margin-bottom: 0.75rem;
}
.theme-collection-section .theme-section-kicker,
.theme-owners-section .theme-section-kicker,
.theme-shop-section .theme-section-kicker { color: var(--primary); }
.theme-featured-section .theme-section-kicker,
.theme-services-section__header .theme-section-kicker,
.theme-gallery-section__header .theme-section-kicker,
.theme-small-works-section__header .theme-section-kicker { color: var(--marigold); }
.theme-about-section .theme-section-kicker,
.theme-private-section .theme-section-kicker,
.theme-faq-section .theme-section-kicker,
.theme-cta-section .theme-section-kicker { color: var(--foreground); }
.theme-commissions-section .theme-section-kicker { color: var(--indigo); }
.theme-section-heading { font-family: var(--font-display); font-weight: 400; font-style: italic; color: var(--foreground); }
.theme-link-underline { position: relative; display: inline-block; font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-body); }
.theme-link-underline::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: currentColor; }
.theme-section-footer-link { text-align: center; margin-top: 3.5rem; }

.theme-btn-primary,
.theme-btn-accent,
.theme-btn-hero-primary,
.theme-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
.theme-btn-hero-primary { background: var(--background); color: var(--foreground); padding: 1rem 2.5rem; }
.theme-btn-hero-primary:hover { opacity: 0.9; }
.theme-btn-hero-primary.is-dark { background: var(--foreground); color: var(--background); }
.theme-btn-primary { background: var(--foreground); color: var(--background); padding: 1rem 2.5rem; border-radius: 999px; font-weight: 500; }
.theme-btn-primary:hover { opacity: 0.9; }
.theme-btn-accent { background: var(--primary); color: var(--primary-foreground); padding: 1rem 2.5rem; border-radius: 0; font-size: 0.6875rem; letter-spacing: 0.32em; font-weight: 400; }
.theme-btn-accent:hover { opacity: 0.9; }
.theme-btn-outline { border: 1px solid var(--border); padding: 0.65rem 1.5rem; border-radius: 0.375rem; background: transparent; }
.theme-btn-outline:hover { background: var(--secondary); }
.single-product .single_add_to_cart_button.theme-btn-primary,
.single-product .theme-add-to-cart-area .theme-btn-primary { border-radius: 999px; width: 100%; }

/* Section-scoped heading scales (Section 2.2.5) */
.about-heading { font-size: 1.875rem; line-height: 1.15; margin-bottom: 2rem; }
.collection-heading, .featured-heading, .shop-heading, .faq-heading, .gallery-heading { font-size: 1.875rem; line-height: 1.2; }
.small-works-heading { font-size: 2.25rem; line-height: 1.05; }
.owners-heading { font-size: 2.25rem; line-height: 1.15; margin-bottom: 1.75rem; }
.commissions-heading, .private-heading { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.75rem; }
.services-heading { font-size: 2.5rem; line-height: 1.05; }
.cta-band__title { font-size: 1.875rem; line-height: 1.2; margin-bottom: 1.5rem; }
@media (min-width: 768px) {
  .about-heading { font-size: 3rem; }
  .collection-heading, .featured-heading, .shop-heading, .faq-heading, .gallery-heading { font-size: 3rem; }
  .small-works-heading { font-size: 3rem; }
  .owners-heading { font-size: 3rem; }
  .commissions-heading, .private-heading { font-size: 3rem; }
  .services-heading { font-size: 3.75rem; }
  .cta-band__title { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .small-works-heading { font-size: 3.75rem; }
  .gallery-heading { font-size: 3.75rem; line-height: 1.05; letter-spacing: -0.025em; }
  .commissions-heading, .private-heading { font-size: 3.75rem; }
  .services-heading { font-size: 4.5rem; }
  .cta-band__title { font-size: 3.75rem; }
}
.owners-heading,
.commissions-heading,
.private-heading {
  font-style: normal;
  letter-spacing: -0.025em;
}
.owners-heading em,
.commissions-heading em,
.private-heading em {
  font-style: italic;
  color: var(--primary);
}

/* -------------------------------------------------------------------------
   Animations (Section 2.1)
   ---------------------------------------------------------------------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes kenBurns { 0% { transform: scale(1.05) translate3d(0,0,0); } 100% { transform: scale(1.15) translate3d(-1.5%,-2%,0); } }
@keyframes heroSlide { 0% { opacity: 0; } 2% { opacity: 1; } 12.5% { opacity: 1; } 16% { opacity: 0; } 100% { opacity: 0; } }
@keyframes revealFadeUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes revealFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mobileNavLinkIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }
.animate-ken-burns { animation: kenBurns 24s ease-in-out infinite alternate; transform-origin: center center; will-change: transform; }
.animate-hero-slide {
  opacity: 0;
  animation: heroSlide var(--hero-cycle, 48s) ease-in-out infinite, kenBurns 24s ease-in-out infinite alternate;
  animation-delay: var(--hero-delay, 0s), var(--hero-delay, 0s);
  animation-fill-mode: both, none;
  transform-origin: center center;
  will-change: opacity, transform;
}

.reveal-item { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth); }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
.scroll-reveal-section .reveal-item:nth-child(2) { transition-delay: 0.08s; }
.scroll-reveal-section .reveal-item:nth-child(3) { transition-delay: 0.16s; }
.scroll-reveal-section .reveal-item:nth-child(4) { transition-delay: 0.24s; }

body.is-customizer .reveal-item,
body.is-customizer .theme-product-card-wrap.reveal-item { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  .animate-ken-burns, .animate-hero-slide { animation: none !important; }
  .animate-hero-slide { opacity: 1; }
  .reveal-item { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* -------------------------------------------------------------------------
   Announcement bar
   ---------------------------------------------------------------------- */
.theme-announcement-bar { position: relative; background: var(--foreground); color: var(--background); }
.theme-announcement-bar__inner { padding: 0.5rem 0; text-align: center; }
.theme-announcement-bar__text { font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-body); }
.theme-announcement-bar__dismiss { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); opacity: 0.7; padding: 0.25rem; }
.theme-announcement-bar__dismiss:hover { opacity: 1; }
.theme-announcement-bar.is-dismissed { display: none; }

/* -------------------------------------------------------------------------
   Header
   ---------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--background);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header.is-solid, .site-header.is-scrolled, .site-header.is-menu-open { background: color-mix(in srgb, var(--background) 95%, transparent); backdrop-filter: blur(6px); border-bottom-color: var(--border); }
.site-header__nav { display: flex; align-items: center; justify-content: space-between; height: 5rem; position: relative; }
.site-header__brand { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.site-header__wordmark { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.01em; color: var(--foreground); }
.site-header__wordmark em { font-style: italic; color: var(--primary); }
.site-header__tagline { display: none; font-size: 0.68rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted-foreground); margin-top: -0.1rem; }
@media (min-width: 640px) { .site-header__tagline { display: block; } }
@media (min-width: 768px) { .site-header__wordmark { font-size: 1.875rem; } }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }

.site-header__center { display: none; align-items: center; gap: 2rem; position: absolute; left: 50%; transform: translateX(-50%); }
@media (min-width: 1024px) { .site-header__center { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-link { font-size: 0.68rem; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase; cursor: pointer; transition: color 0.3s ease; font-family: var(--font-body); }
.theme-nav-link:hover { color: var(--primary); }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }
.site-header__icon-btn { position: relative; padding: 0.5rem; display: inline-flex; transition: opacity 0.2s ease; cursor: pointer; }
.site-header__icon-btn:hover { opacity: 0.6; }
.site-header__search { display: none; }
@media (min-width: 768px) { .site-header__search { display: inline-flex; } }
.theme-cart-count {
  position: absolute; top: -0.15rem; right: -0.15rem;
  width: 1.25rem; height: 1.25rem; display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 500; background: var(--primary); color: var(--primary-foreground); border-radius: 999px;
}
.theme-cart-count:empty { display: none; }
.site-header__menu-toggle { display: inline-flex; }
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }
.site-header__menu-toggle .icon-close { display: none; }
.site-header__menu-toggle.is-open .icon-menu { display: none; }
.site-header__menu-toggle.is-open .icon-close { display: inline-flex; }

@media (max-width: 1023px) {
  .site-header__mobile-menu {
    display: grid;
    grid-template-rows: 0fr;
    border-top: 1px solid transparent;
    transition:
      grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1),
      border-color 0.35s ease;
    pointer-events: none;
  }
  .site-header__mobile-menu.is-open {
    grid-template-rows: 1fr;
    border-top-color: var(--border);
    pointer-events: auto;
  }
  .site-header__mobile-menu > .theme-nav-list--mobile {
    overflow: hidden;
    min-height: 0;
    padding: 1rem 0;
  }
  .site-header__mobile-menu .theme-nav-list--mobile .theme-nav-link,
  .site-header__mobile-menu .theme-nav-list--mobile a {
    opacity: 0;
    transform: translateY(14px);
  }
  .site-header__mobile-menu.is-open .theme-nav-list--mobile .theme-nav-link,
  .site-header__mobile-menu.is-open .theme-nav-list--mobile a {
    animation: mobileNavLinkIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  .site-header__mobile-menu.is-open .theme-nav-list--mobile li:nth-child(1) .theme-nav-link,
  .site-header__mobile-menu.is-open .theme-nav-list--mobile li:nth-child(1) > a { animation-delay: 0.05s; }
  .site-header__mobile-menu.is-open .theme-nav-list--mobile li:nth-child(2) .theme-nav-link,
  .site-header__mobile-menu.is-open .theme-nav-list--mobile li:nth-child(2) > a { animation-delay: 0.1s; }
  .site-header__mobile-menu.is-open .theme-nav-list--mobile li:nth-child(3) .theme-nav-link,
  .site-header__mobile-menu.is-open .theme-nav-list--mobile li:nth-child(3) > a { animation-delay: 0.15s; }
  .site-header__mobile-menu.is-open .theme-nav-list--mobile li:nth-child(4) .theme-nav-link,
  .site-header__mobile-menu.is-open .theme-nav-list--mobile li:nth-child(4) > a { animation-delay: 0.2s; }
  .site-header__mobile-menu.is-open .theme-nav-list--mobile li:nth-child(5) .theme-nav-link,
  .site-header__mobile-menu.is-open .theme-nav-list--mobile li:nth-child(5) > a { animation-delay: 0.25s; }
  .site-header__mobile-menu.is-open .theme-nav-list--mobile li:nth-child(6) .theme-nav-link,
  .site-header__mobile-menu.is-open .theme-nav-list--mobile li:nth-child(6) > a { animation-delay: 0.3s; }
}
@media (min-width: 1024px) {
  .site-header__mobile-menu {
    display: none !important;
  }
}
.theme-nav-list--mobile { flex-direction: column; align-items: flex-start; gap: 1rem; }
.theme-nav-list--mobile .theme-nav-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  letter-spacing: 0.22em;
}
.theme-nav-list--mobile .theme-nav-link:hover { color: var(--muted-foreground); }

/* -------------------------------------------------------------------------
   Hero
   ---------------------------------------------------------------------- */
.theme-hero__slideshow { position: relative; width: 100%; height: 62vh; min-height: 480px; overflow: hidden; }
@media (min-width: 768px) { .theme-hero__slideshow { height: 78vh; min-height: 600px; } }
.theme-hero__scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--foreground) 45%, transparent); }
.theme-hero__gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--foreground) 30%, transparent), transparent, color-mix(in srgb, var(--foreground) 40%, transparent)); }
.theme-hero__content { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; }
.theme-hero__inner { max-width: 48rem; }
.theme-hero__kicker { display: block; font-size: 0.75rem; letter-spacing: 0.36em; text-transform: uppercase; color: color-mix(in srgb, var(--background) 85%, transparent); margin-bottom: 1.5rem; }
.theme-hero__title { font-family: var(--font-display); font-weight: 400; font-size: 2.5rem; line-height: 1.05; color: var(--background); margin: 0 auto 2rem; }
.theme-hero__title em { font-style: italic; font-weight: 300; }
@media (min-width: 768px) { .theme-hero__title { font-size: 3.5rem; } }
@media (min-width: 1280px) { .theme-hero__title { font-size: 4.5rem; } }
.theme-hero__subtitle { color: color-mix(in srgb, var(--background) 90%, transparent); font-size: 1rem; font-weight: 300; line-height: 1.6; margin: 0 auto 2.5rem; max-width: 32rem; }
@media (min-width: 768px) { .theme-hero__subtitle { font-size: 1.125rem; } }
.theme-hero__cta { display: flex; justify-content: center; }
.theme-hero__slide:first-child { opacity: 1; }

/* -------------------------------------------------------------------------
   Collection tiles
   ---------------------------------------------------------------------- */
.theme-collection-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-collection-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-collection-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.5rem; } }
.theme-collection-tile { position: relative; aspect-ratio: 3 / 4; overflow: hidden; display: block; width: 100%; text-align: left; }
.theme-collection-tile__image { transition: transform 0.7s var(--transition-smooth); }
.theme-collection-tile:hover .theme-collection-tile__image { transform: scale(1.05); }
.theme-collection-tile__scrim { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--foreground) 85%, transparent), color-mix(in srgb, var(--foreground) 40%, transparent), color-mix(in srgb, var(--foreground) 10%, transparent)); transition: background 0.5s ease; }
.theme-collection-tile__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; text-align: left; }
@media (min-width: 768px) { .theme-collection-tile__content { padding: 1.75rem; } }
.theme-collection-tile__tagline { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.62rem; letter-spacing: 0.32em; text-transform: uppercase; margin-bottom: 0.5rem; filter: brightness(1.5); color: var(--background); text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
.theme-collection-tile__tagline.is-rosa { color: var(--rosa); }
.theme-collection-tile__tagline.is-marigold { color: var(--marigold); }
.theme-collection-tile__tagline.is-indigo { color: var(--indigo); }
.theme-collection-tile__tagline.is-teal { color: var(--teal); }
.theme-collection-tile__rule { height: 1px; width: 1.5rem; background: currentColor; }
.theme-collection-tile__label { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.875rem; margin-bottom: 0.5rem; color: var(--background); text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
@media (min-width: 768px) { .theme-collection-tile__label { font-size: 2.25rem; } }
.theme-collection-tile__explore { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--background); text-shadow: 0 1px 8px rgba(0,0,0,0.45); }

/* -------------------------------------------------------------------------
   Product grid & cards
   ---------------------------------------------------------------------- */
.theme-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; align-items: stretch; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2rem; } }
.theme-featured-products .theme-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 768px) { .theme-featured-products .theme-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 3rem; } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; }

.theme-product-card__image-wrapper {
  position: relative; aspect-ratio: 3 / 4; background: var(--secondary); overflow: hidden; margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}
.theme-product-card__image-link {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
}
.theme-product-card:hover .theme-product-card__image-wrapper { transform: translateY(-4px); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }
.theme-product-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--transition-smooth); }
.theme-product-card__badge {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
  padding: 0.25rem 0.75rem; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--foreground); color: var(--background); border-radius: 999px;
}
.theme-product-card__add {
  position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 3;
  width: 2.5rem; height: 2.5rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--background); color: var(--foreground); box-shadow: var(--shadow-soft);
  opacity: 1; transition: opacity 0.3s ease, transform 0.15s ease;
}
@media (min-width: 768px) { .theme-product-card__add { opacity: 0; } .theme-product-card:hover .theme-product-card__add { opacity: 1; } }
.theme-product-card__add:hover { transform: scale(1.08); }
.theme-product-card__add:active { transform: scale(0.92); }
.theme-product-card__info { text-align: center; margin-top: 1rem; flex: 1; display: flex; flex-direction: column; gap: 0.35rem; }
.theme-product-card__category { font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted-foreground); }
.theme-product-card__name { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 1.125rem; line-height: 1.3; color: var(--foreground); transition: color 0.3s ease; }
@media (min-width: 768px) { .theme-product-card__name { font-size: 1.25rem; } }
.theme-product-card:hover .theme-product-card__name { color: var(--primary); }
.theme-product-card__price { font-size: 0.875rem; font-weight: 300; color: var(--foreground); }
.theme-product-card__price ins { text-decoration: none; }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.4em; }

.theme-shop-item--hidden-initial { display: none; }
.theme-shop-item--filtered-out { display: none !important; }

/* -------------------------------------------------------------------------
   Split-grid sections (about media / artist / commissions / private)
   ---------------------------------------------------------------------- */
.theme-split-grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .theme-split-grid { grid-template-columns: 1fr 1fr; } }
.theme-split-grid__media { position: relative; min-height: 380px; }
@media (min-width: 768px) { .theme-split-grid__media { min-height: 520px; } }
@media (min-width: 1024px) { .theme-split-grid__media { min-height: 640px; } }
.theme-commissions-section .theme-split-grid__media,
.theme-private-section .theme-split-grid__media { min-height: 420px; }
@media (min-width: 768px) {
  .theme-commissions-section .theme-split-grid__media,
  .theme-private-section .theme-split-grid__media { min-height: 560px; }
}
@media (min-width: 1024px) {
  .theme-split-grid__media--order2 { order: 2; }
  .theme-split-grid__content--order1 { order: 1; }
}
@media (max-width: 1023px) {
  .theme-split-grid__media,
  .theme-split-grid__media--order2 { order: 1; }
  .theme-split-grid__content,
  .theme-split-grid__content--order1 { order: 2; }
}
.theme-split-grid__content { display: flex; align-items: center; background: var(--background); padding: 2.5rem var(--section-padding-x); }
.theme-split-grid__content--butter { background: var(--butter); }
@media (min-width: 768px) { .theme-split-grid__content { padding: 3.5rem var(--section-padding-x-md); } }
@media (min-width: 1024px) { .theme-split-grid__content { padding: 3.5rem var(--section-padding-x-lg); } }
@media (min-width: 1280px) { .theme-split-grid__content { padding: 3.5rem var(--section-padding-x-xl); } }
@media (max-width: 1023px) {
  .theme-split-grid__content {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }
}
.theme-split-grid__content-inner { max-width: 36rem; }
.theme-owners-section__quote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.4; color: color-mix(in srgb, var(--foreground) 85%, transparent); margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-owners-section__quote { font-size: 1.5rem; } }
.theme-about-section__paragraph { color: color-mix(in srgb, var(--foreground) 80%, transparent); line-height: 1.75; margin-bottom: 1.25rem; font-weight: 300; }
.theme-about-section__paragraph.is-italic { font-style: italic; color: color-mix(in srgb, var(--foreground) 70%, transparent); }
.theme-owners-section__image { object-position: center 25%; }
.theme-split-grid--reversed { direction: ltr; }
.theme-cart-drawer__item-variation { font-size: 0.78rem; color: var(--muted-foreground); margin-top: 0.25rem; }
.theme-modal__body { position: relative; }
.theme-private-section__badge { position: absolute; top: 1.25rem; left: 1.25rem; font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; background: color-mix(in srgb, var(--background) 85%, transparent); backdrop-filter: blur(4px); padding: 0.4rem 0.9rem; color: var(--foreground); }

/* -------------------------------------------------------------------------
   About section (centered, no image)
   ---------------------------------------------------------------------- */
.theme-about-section__inner { padding: 3rem var(--section-padding-x); }
@media (min-width: 768px) { .theme-about-section__inner { padding: 4rem var(--section-padding-x-md); } }
@media (min-width: 1024px) { .theme-about-section__inner { padding: 4rem var(--section-padding-x-lg); } }
.theme-about-section__content { max-width: 56rem; margin: 0 auto; text-align: center; }

/* -------------------------------------------------------------------------
   Services / Practice
   ---------------------------------------------------------------------- */
.theme-services-section { background: var(--butter); }
.theme-services-section__header { padding: 3rem var(--section-padding-x); text-align: center; }
@media (min-width: 768px) { .theme-services-section__header { padding: 4rem var(--section-padding-x-md); } }
@media (min-width: 1024px) { .theme-services-section__header { padding: 4rem var(--section-padding-x-lg); } }
.theme-service-row { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .theme-service-row { grid-template-columns: 1fr 1fr; } }
.theme-service-row__media { position: relative; min-height: 280px; }
@media (min-width: 768px) { .theme-service-row__media { min-height: 500px; } }
@media (min-width: 1024px) { .theme-service-row__media { min-height: 560px; } }
@media (min-width: 1024px) {
  .theme-service-row.is-reversed .theme-service-row__media { order: 2; }
  .theme-service-row.is-reversed .theme-service-row__content { order: 1; }
}
@media (max-width: 1023px) {
  .theme-service-row__media { order: 1; }
  .theme-service-row__content { order: 2; }
  .theme-service-row__content {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }
}
@media (max-width: 767px) {
  .theme-service-row__title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }
}
.theme-service-row__image { transition: transform 0.9s var(--transition-smooth); }
.theme-service-row:hover .theme-service-row__image { transform: scale(1.03); }
.theme-service-row__numeral { position: absolute; top: 1.25rem; left: 1.25rem; font-family: var(--font-display); font-size: 0.875rem; letter-spacing: 0.3em; padding: 0.25rem 0.5rem; background: color-mix(in srgb, var(--background) 85%, transparent); backdrop-filter: blur(4px); }
.theme-service-row__numeral.is-rosa { color: var(--rosa); }
.theme-service-row__numeral.is-marigold { color: var(--marigold); }
.theme-service-row__numeral.is-teal { color: var(--teal); }
.theme-service-row__content { display: flex; align-items: center; background: var(--butter); padding: 2.5rem var(--section-padding-x); }
@media (min-width: 768px) { .theme-service-row__content { padding: 3.5rem var(--section-padding-x-md); } }
@media (min-width: 1024px) { .theme-service-row__content { padding: 3.5rem var(--section-padding-x-lg); } }
@media (min-width: 1280px) { .theme-service-row__content { padding: 3.5rem var(--section-padding-x-xl); } }
.theme-service-row__content-inner { max-width: 36rem; }
.theme-service-row__kicker-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.theme-service-row__icon { display: flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--border); }
.theme-service-row__icon.is-rosa { border-color: color-mix(in srgb, var(--rosa) 40%, transparent); color: var(--rosa); }
.theme-service-row__icon.is-marigold { border-color: color-mix(in srgb, var(--marigold) 50%, transparent); color: var(--marigold); }
.theme-service-row__icon.is-teal { border-color: color-mix(in srgb, var(--teal) 40%, transparent); color: var(--teal); }
.theme-service-row__kicker { font-size: 0.75rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--foreground); }
.theme-service-row__title { font-family: var(--font-display); font-weight: 400; font-size: 3rem; line-height: 1.05; margin-bottom: 1.5rem; letter-spacing: -0.025em; color: var(--foreground); }
@media (min-width: 768px) { .theme-service-row__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-service-row__title { font-size: 4.5rem; } }
.theme-service-row__description { font-size: 1rem; color: var(--muted-foreground); font-weight: 300; line-height: 1.75; }
@media (min-width: 768px) { .theme-service-row__description { font-size: 1.125rem; } }

/* -------------------------------------------------------------------------
   Small works (dark band)
   ---------------------------------------------------------------------- */
.theme-small-works-section { background: var(--surface-deep); color: var(--surface-deep-foreground); overflow-x: clip; }
.theme-small-works-section .container-wide { min-width: 0; }
.theme-small-works-section__header { max-width: 42rem; margin: 0 auto 3rem; }
.theme-small-works-section__header .theme-section-kicker { margin-bottom: 1rem; }
.theme-small-works-section__header .theme-section-heading { color: var(--surface-deep-foreground); }
.small-works-heading { overflow-wrap: break-word; }
.small-works-heading__price { font-style: normal; color: var(--marigold); }
.theme-small-works-section__subtitle { font-weight: 300; color: color-mix(in srgb, var(--surface-deep-foreground) 75%, transparent); line-height: 1.75; margin-top: 1.5rem; }
.theme-small-works-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; min-width: 0; }
@media (min-width: 768px) { .theme-small-works-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.theme-small-works-item { display: block; text-align: left; min-width: 0; max-width: 100%; }
.theme-small-works-item__image-wrap { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: color-mix(in srgb, var(--surface-deep-foreground) 5%, transparent); }
.theme-small-works-item__image-wrap img { transition: transform 0.6s var(--transition-smooth); }
.theme-small-works-item:hover .theme-small-works-item__image-wrap img { transform: scale(1.05); }
.theme-small-works-item__meta { padding-top: 0.75rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; min-width: 0; max-width: 100%; }
@media (min-width: 768px) {
  .theme-small-works-item__meta {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 1rem;
  }
}
.theme-small-works-item__name { font-family: var(--font-display); font-style: italic; font-size: 1rem; line-height: 1.3; color: var(--surface-deep-foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; max-width: 100%; }
@media (min-width: 768px) { .theme-small-works-item__name { font-size: 1.25rem; } }
.theme-small-works-item__price {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marigold);
  max-width: 100%;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
@media (min-width: 768px) {
  .theme-small-works-item__price {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    white-space: nowrap;
    flex-shrink: 0;
  }
}
.theme-small-works-item__price ins { text-decoration: none; }
.theme-small-works-item__price del { opacity: 0.65; }

/* -------------------------------------------------------------------------
   Decorative interlude
   ---------------------------------------------------------------------- */
.theme-decorative-interlude { position: relative; height: 38vh; min-height: 280px; overflow: hidden; background: var(--background); }
@media (min-width: 768px) { .theme-decorative-interlude { height: 52vh; } }
.theme-decorative-interlude__scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--foreground) 25%, transparent); }

/* -------------------------------------------------------------------------
   Gallery carousel
   ---------------------------------------------------------------------- */
.theme-gallery-section__inner { padding-block: 3rem; }
@media (min-width: 768px) { .theme-gallery-section__inner { padding-block: 4rem; } }
.theme-gallery-section__header { margin-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-gallery-section__header { margin-bottom: 3.5rem; } }
.theme-gallery-track-wrap { padding-bottom: 0; }
.theme-gallery-track { display: flex; gap: 1rem; overflow-x: auto; padding: 0 var(--section-padding-x) 0.5rem; scrollbar-width: none; scroll-behavior: smooth; }
@media (min-width: 768px) { .theme-gallery-track { gap: 1.5rem; padding: 0 var(--gallery-track-padding-x-md) 0.5rem; } }
@media (min-width: 1024px) { .theme-gallery-track { padding: 0 var(--gallery-track-padding-x-lg) 0.5rem; } }
.theme-gallery-track::-webkit-scrollbar { display: none; }
.theme-gallery-track__item { flex-shrink: 0; width: 78%; position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
@media (min-width: 640px) { .theme-gallery-track__item { width: 55%; } }
@media (min-width: 768px) { .theme-gallery-track__item { width: 40%; } }
@media (min-width: 1024px) { .theme-gallery-track__item { width: 30%; } }
@media (min-width: 1280px) { .theme-gallery-track__item { width: 26%; } }
.theme-gallery-track__trigger {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}
.theme-gallery-track__item img { transition: transform 0.9s var(--transition-smooth); }
.theme-gallery-track__trigger:hover img { transform: scale(1.04); }
.theme-gallery-section__controls { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.theme-icon-btn { height: 3rem; width: 3rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, var(--foreground) 20%, transparent); color: color-mix(in srgb, var(--foreground) 70%, transparent); transition: color 0.2s ease, border-color 0.2s ease; }
.theme-icon-btn:hover { color: var(--primary); border-color: var(--primary); }

.theme-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.theme-gallery-lightbox.is-open { display: flex; }
body.gallery-lightbox-open { overflow: hidden; }
.theme-gallery-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--foreground) 72%, transparent);
  animation: fadeIn 0.25s ease;
}
.theme-gallery-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 56rem);
  max-height: 90vh;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  animation: slideUp 0.3s var(--transition-smooth);
}
.theme-gallery-lightbox__figure { margin: 0; min-width: 0; }
.theme-gallery-lightbox__image {
  display: block;
  width: 100%;
  max-height: calc(90vh - 4rem);
  object-fit: contain;
  background: var(--background);
  box-shadow: var(--shadow-elevated);
}
.theme-gallery-lightbox__caption {
  margin-top: 0.75rem;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--background);
}
.theme-gallery-lightbox__close,
.theme-gallery-lightbox__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--background) 35%, transparent);
  color: var(--background);
  background: color-mix(in srgb, var(--foreground) 25%, transparent);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.theme-gallery-lightbox__close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
}
.theme-gallery-lightbox__nav { width: 3rem; height: 3rem; flex-shrink: 0; }
.theme-gallery-lightbox__close:hover,
.theme-gallery-lightbox__nav:hover {
  color: var(--background);
  border-color: var(--background);
  background: color-mix(in srgb, var(--foreground) 45%, transparent);
}
@media (max-width: 767px) {
  .theme-gallery-lightbox__dialog {
    display: block;
    width: 100%;
  }
  .theme-gallery-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }
  .theme-gallery-lightbox__nav--prev { left: 0.25rem; }
  .theme-gallery-lightbox__nav--next { right: 0.25rem; }
  .theme-gallery-lightbox__close { top: -3rem; }
}

/* -------------------------------------------------------------------------
   FAQ accordion
   ---------------------------------------------------------------------- */
.theme-faq-section { background: var(--butter); }
.theme-faq-list { max-width: 48rem; margin: 0 auto; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.theme-faq-item { border-bottom: 1px solid var(--border); }
.theme-faq-item:last-child { border-bottom: none; }
.theme-faq-item__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; text-align: left; }
@media (min-width: 768px) { .theme-faq-item__trigger { padding: 1.75rem 0; } }
.theme-faq-item__question { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; color: var(--foreground); transition: color 0.2s ease; }
@media (min-width: 768px) { .theme-faq-item__question { font-size: 1.5rem; } }
.theme-faq-item__trigger:hover .theme-faq-item__question { color: var(--primary); }
.theme-faq-item__icon { flex-shrink: 0; height: 2rem; width: 2rem; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 999px; color: var(--muted-foreground); transition: color 0.2s ease, border-color 0.2s ease; }
.theme-faq-item__trigger:hover .theme-faq-item__icon { border-color: var(--primary); color: var(--primary); }
.theme-faq-item__icon .icon-minus { display: none; }
.theme-faq-item.is-open .theme-faq-item__icon .icon-plus { display: none; }
.theme-faq-item.is-open .theme-faq-item__icon .icon-minus { display: inline-flex; }
.theme-faq-item__panel { overflow: hidden; height: 0; opacity: 0; transition: height 0.35s var(--transition-smooth), opacity 0.35s var(--transition-smooth); }
.theme-faq-item.is-open .theme-faq-item__panel { height: auto; opacity: 1; }
.theme-faq-item__answer { padding-bottom: 1.5rem; padding-right: 3.5rem; font-size: 1rem; color: var(--muted-foreground); font-weight: 300; line-height: 1.75; }
@media (min-width: 768px) { .theme-faq-item__answer { padding-bottom: 1.75rem; } }

/* -------------------------------------------------------------------------
   Shop section
   ---------------------------------------------------------------------- */
.theme-shop-section__padding { padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-shop-section__padding { padding-bottom: 6rem; } }
.theme-shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; }
.theme-shop-search svg { color: var(--muted-foreground); flex-shrink: 0; }
.theme-shop-search input { flex: 1; border: none; background: transparent; outline: none; padding: 0.25rem 0; color: var(--foreground); }
.theme-shop-search input::placeholder { color: var(--muted-foreground); }
.theme-shop-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.theme-cat-filter {
  padding: 0.5rem 1.25rem; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
  border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--foreground);
  transition: all 0.3s ease;
}
.theme-cat-filter:hover { border-color: var(--primary); color: var(--primary); }
.theme-cat-filter.is-active { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.theme-shop-price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.theme-shop-price-filter__toggle { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-foreground); transition: color 0.3s ease; }
.theme-shop-price-filter__toggle:hover { color: var(--foreground); }
.theme-shop-price-filter__toggle svg { transition: transform 0.3s ease; }
.theme-shop-price-filter__toggle.is-open svg { transform: rotate(180deg); }
.theme-shop-price-filter__panel { width: 100%; max-width: 22rem; padding: 0.5rem 0; }
.theme-shop-price-filter__values { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.75rem; }

/* Dual-handle price range (Section 31.4) */
.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.range-track-bg { left: 0; right: 0; background: var(--border); }
.range-track-fill { background: var(--primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; border-radius: 999px; background: var(--background); border: 2px solid var(--primary); cursor: pointer; margin-top: 0; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 999px; background: var(--background); border: 2px solid var(--primary); cursor: pointer; }
.range-input::-moz-range-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

/* -------------------------------------------------------------------------
   Final CTA band
   ---------------------------------------------------------------------- */
.theme-cta-section { position: relative; background: var(--butter); overflow: hidden; }
.theme-cta-section__scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--foreground) 25%, transparent); }
.theme-cta-section__inner { position: relative; padding-block: 3.5rem; }
@media (min-width: 768px) { .theme-cta-section__inner { padding-block: 5rem; } }
.theme-cta-section__panel { max-width: 42rem; margin: 0 auto; text-align: center; background: color-mix(in srgb, var(--background) 85%, transparent); backdrop-filter: blur(4px); box-shadow: var(--shadow-elevated); padding: 3rem 2rem; border: 1px solid color-mix(in srgb, var(--border) 60%, transparent); }
@media (min-width: 768px) { .theme-cta-section__panel { padding: 4rem 3.5rem; } }
.theme-cta-section__paragraph { color: color-mix(in srgb, var(--foreground) 80%, transparent); font-weight: 300; line-height: 1.75; margin-bottom: 2.5rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
.theme-cta-section__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
@media (min-width: 640px) { .theme-cta-section__actions { flex-direction: row; } }

/* -------------------------------------------------------------------------
   Footer
   ---------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); background: var(--butter); }
.site-footer__inner { padding-block: 3rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-block: 3.5rem; } }
.site-footer .site-header__wordmark { font-size: 1.875rem; letter-spacing: -0.025em; }
.site-footer .site-header__tagline { display: block; font-size: 0.6875rem; letter-spacing: 0.34em; margin-top: 0.125rem; padding-left: 0.625rem; }
.site-footer__top { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 768px) { .site-footer__top { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer__nav { display: flex; flex-wrap: wrap; align-items: center; }
.site-footer__nav .theme-nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 768px) {
  .site-footer__nav .theme-nav-list { gap: 1.75rem; }
}
.site-footer__nav .theme-nav-link {
  color: var(--muted-foreground);
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  font-family: var(--font-body);
  font-weight: 400;
  transition: color 0.2s ease;
}
.site-footer__nav .theme-nav-link:hover { color: var(--foreground); }
.site-footer__contact { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .site-footer__contact { flex-direction: row; align-items: center; gap: 1.25rem; } }
.site-footer__contact-link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); font-family: var(--font-body); transition: color 0.2s ease; }
.site-footer__contact-link:hover { color: var(--foreground); }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 1.25rem; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; align-items: center; } }
.site-footer__legal { display: flex; flex-direction: column; gap: 0.25rem; }
.site-footer__quote { font-size: 0.8125rem; color: var(--muted-foreground); font-style: italic; font-family: var(--font-display); letter-spacing: 0.025em; }
.site-footer__copyright { font-size: 0.75rem; color: var(--muted-foreground); font-family: var(--font-body); letter-spacing: 0.025em; }
.site-footer__credit { font-size: 0.75rem; color: var(--muted-foreground); font-family: var(--font-body); letter-spacing: 0.025em; }
@media (min-width: 640px) { .site-footer__credit { text-align: right; } }
.site-footer__credit a { text-decoration: underline; transition: color 0.2s ease; }
.site-footer__credit a:hover { color: var(--foreground); }

/* -------------------------------------------------------------------------
   Contact modal
   ---------------------------------------------------------------------- */
.theme-modal { position: fixed; inset: 0; z-index: 70; display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.theme-modal.is-open { display: flex; }
.theme-modal__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--foreground) 45%, transparent); animation: fadeIn 0.25s ease; }
.theme-modal__panel { position: relative; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto; background: var(--background); box-shadow: var(--shadow-elevated); padding: 2rem 1.75rem; border-radius: var(--card-radius); animation: slideUp 0.3s var(--transition-smooth); }
@media (min-width: 640px) { .theme-modal__panel { padding: 2.5rem; } }
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; padding: 0.4rem; opacity: 0.6; transition: opacity 0.2s ease; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__title { font-family: var(--font-display); font-size: 1.875rem; font-weight: 400; margin-bottom: 0.5rem; }
.theme-modal__description { color: var(--muted-foreground); font-size: 0.9rem; margin-bottom: 1.5rem; }
.theme-modal__contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 1.5rem; }
.theme-modal__contact-row a { display: flex; align-items: center; gap: 0.5rem; transition: color 0.2s ease; }
.theme-modal__contact-row a:hover { color: var(--foreground); }
.theme-contact-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-contact-form__row { grid-template-columns: 1fr 1fr; } }
.theme-contact-form label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.4rem; display: block; }
.theme-contact-form input, .theme-contact-form textarea {
  width: 100%; padding: 0.65rem 0.85rem; background: var(--background); border: 1px solid var(--border);
  border-radius: 0.375rem; font-size: 1rem; color: var(--foreground); transition: box-shadow 0.3s ease;
}
.theme-contact-form input::placeholder, .theme-contact-form textarea::placeholder { color: var(--muted-foreground); }
.theme-contact-form input:focus, .theme-contact-form textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 50%, transparent); }
.theme-contact-form textarea { resize: none; }
.theme-contact-form__actions { display: flex; justify-content: flex-end; }
.theme-contact-form__error { color: #b82e2e; font-size: 0.85rem; }
.theme-modal__success { text-align: center; padding: 2rem 0; animation: fadeIn 0.4s ease; }
.theme-modal__success-icon { width: 3.5rem; height: 3.5rem; background: var(--primary); color: var(--primary-foreground); border-radius: 999px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-modal__success h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-modal__success p { font-size: 0.875rem; color: var(--muted-foreground); }

/* -------------------------------------------------------------------------
   Side cart drawer & overlay (Sections 12, 22.5, 31.6)
   ---------------------------------------------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--foreground) 20%, transparent); 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%; height: 100dvh; max-height: 100dvh; width: 100%; max-width: 26rem; background: var(--background);
  z-index: 91; box-shadow: var(--shadow-elevated); display: flex; flex-direction: column; overflow: hidden;
  transform: translateX(100%); transition: transform 0.35s var(--transition-smooth);
}
body.admin-bar #theme-cart-drawer {
  top: 32px;
  height: calc(100% - 32px);
  height: calc(100dvh - 32px);
  max-height: calc(100dvh - 32px);
}
@media screen and (max-width: 782px) {
  body.admin-bar #theme-cart-drawer {
    top: 46px;
    height: calc(100% - 46px);
    height: calc(100dvh - 46px);
    max-height: calc(100dvh - 46px);
  }
}
body.cart-open { overflow: hidden; }
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--border); }
.theme-cart-drawer__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; opacity: 0.7; transition: opacity 0.2s ease; }
.theme-cart-drawer__close:hover { opacity: 1; }
.theme-cart-drawer__empty { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; color: var(--muted-foreground); }
.theme-cart-drawer__items { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-drawer__item { display: flex; gap: 1rem; }
.theme-cart-drawer__item-image { position: relative; width: 5rem; height: 6rem; flex-shrink: 0; background: var(--secondary); overflow: hidden; display: block; }
.theme-cart-drawer__item-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-cart-drawer__item-body { flex: 1; min-width: 0; }
.theme-cart-drawer__item-name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity 0.2s ease; }
.theme-cart-drawer__item-name:hover { opacity: 0.7; }
.theme-cart-drawer__item-price { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.15rem; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-drawer__item-controls .theme-qty-minus,
.theme-cart-drawer__item-controls .theme-qty-plus { padding: 0.25rem; border-radius: 0.25rem; transition: background 0.2s ease; }
.theme-cart-drawer__item-controls .theme-qty-minus:hover,
.theme-cart-drawer__item-controls .theme-qty-plus:hover { background: var(--secondary); }
.theme-cart-drawer__item-qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-drawer__item-remove { margin-left: auto; font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.2s ease; }
.theme-cart-drawer__item-remove:hover { color: var(--foreground); }
.theme-cart-drawer__footer { flex-shrink: 0; padding: 1.5rem; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal span:first-child { color: var(--muted-foreground); }
.theme-cart-drawer__subtotal span:last-child { font-weight: 500; }
.theme-cart-drawer__note { font-size: 0.8rem; color: var(--muted-foreground); }
.theme-cart-drawer__checkout { width: 100%; text-align: center; }
.theme-cart-drawer__empty-btn { width: 100%; }

/* Hide WooCommerce's own "View cart" link 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; }

/* -------------------------------------------------------------------------
   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: var(--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:hover,
.add_to_cart_button.button:hover {
  opacity: 0.85 !important;
  background-color: var(--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(--primary) !important;
}
/* Card compact circular button — overrides global rules (scoped after) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart,
.theme-product-card__add.add_to_cart_button.ajax_add_to_cart {
  min-height: unset !important;
  height: 2.5rem !important;
  width: 2.5rem !important;
  padding: 0 !important;
  border-radius: 50% !important;
}
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.single_add_to_cart_button, .add_to_cart_button, .theme-btn-hero-primary, .theme-btn-primary, .theme-btn-accent { text-transform: var(--btn-text-transform); }
.single-product .single_add_to_cart_button.button,
.single-product .single_add_to_cart_button.theme-btn-primary { text-transform: uppercase; }

/* -------------------------------------------------------------------------
   Single Product page (Sections 11, 11.13)
   ---------------------------------------------------------------------- */
.single-product .theme-breadcrumb { padding: 1.5rem 0; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); }
.single-product .theme-breadcrumb a { transition: color 0.2s ease; }
.single-product .theme-breadcrumb a:hover { color: var(--foreground); }
.single-product .theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.single-product .theme-breadcrumb__current { color: var(--foreground); }

.single-product .theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 6rem; padding-top: 1rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .single-product .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }

.single-product .theme-product-gallery,
.single-product .theme-product-info { min-width: 0; max-width: 100%; }

.single-product .theme-product-gallery__main { position: relative; aspect-ratio: 1 / 1; background: var(--secondary); overflow: hidden; margin-bottom: 1rem; }
.single-product .theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.75rem; max-width: 100%; overflow-x: auto; }
.single-product .theme-product-thumbnails__item { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--secondary); }
.single-product .theme-product-thumbnails__item img { transition: opacity 0.2s ease; opacity: 0.6; }
.single-product .theme-product-thumbnails__item:hover img { opacity: 1; }
.single-product .theme-product-thumbnails__item.is-active img { opacity: 1; }
.single-product .theme-product-thumbnails__item::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--foreground); opacity: 0; transition: opacity 0.2s ease; }
.single-product .theme-product-thumbnails__item.is-active::after { opacity: 1; }

.single-product .theme-product-info__category { font-size: 0.8rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted-foreground); }
.single-product .product-title { font-family: var(--font-body); font-weight: 600; font-size: 1.875rem; line-height: 1.1; margin: 0.75rem 0 1.25rem; color: var(--foreground); }
@media (min-width: 768px) { .single-product .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .single-product .product-title { font-size: 2.75rem; } }
.single-product .theme-product-info__price { font-size: 1.25rem; margin-bottom: 1.5rem; color: var(--foreground); }
.single-product .theme-product-info__price ins { text-decoration: none; }
.single-product .theme-product-info__stock.is-out-of-stock { display: inline-block; margin-bottom: 1.25rem; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: #b82e2e; }
.single-product .theme-product-info__excerpt { color: var(--muted-foreground); line-height: 1.75; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.single-product .theme-product-info__description { color: var(--muted-foreground); line-height: 1.75; white-space: pre-line; overflow-wrap: break-word; word-break: break-word; }
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

.single-product .theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.single-product .theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--border); }
.single-product .theme-quantity-wrapper button { padding: 0.6rem 0.9rem; transition: background 0.2s ease; }
.single-product .theme-quantity-wrapper button:hover { background: var(--secondary); }
.single-product .theme-quantity-wrapper .theme-qty-input { width: 3rem; text-align: center; border: none; background: transparent; -moz-appearance: textfield; }
.single-product .theme-quantity-wrapper .theme-qty-input::-webkit-outer-spin-button,
.single-product .theme-quantity-wrapper .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.single-product .theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--border); }
.theme-accordion { border-bottom: 1px solid var(--border); }
.theme-accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; font-size: 0.8rem; letter-spacing: 0.25em; text-transform: uppercase; }
.theme-accordion__trigger svg { transition: transform 0.2s ease; }
.theme-accordion.is-open .theme-accordion__trigger svg { transform: rotate(180deg); }
.theme-accordion__panel { display: none; padding-bottom: 1.5rem; }
.theme-accordion.is-open .theme-accordion__panel { display: block; }
.theme-accordion__panel p { margin-bottom: 1rem; color: var(--muted-foreground); font-size: 0.9rem; line-height: 1.75; }
.theme-accordion__panel ul { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-accordion__panel li { display: flex; align-items: flex-start; font-size: 0.9rem; color: var(--muted-foreground); }

/* Variation swatches */
.theme-variation-attributes { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 1.5rem; }
.theme-variation-attribute__label {
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-family: var(--font-body);
  margin-bottom: 0.75rem;
}
.theme-variation-swatches { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-variation-swatch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-body);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--foreground);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.theme-variation-swatch:hover { border-color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.theme-variation-swatch.is-selected {
  background: var(--foreground);
  color: var(--background);
  border-color: var(--foreground);
}
.theme-variation-swatch.is-color.is-selected {
  background: color-mix(in srgb, var(--foreground) 5%, transparent);
  color: var(--foreground);
  border-color: var(--foreground);
}
.theme-variation-swatch__dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.theme-variation-swatch.is-selected .theme-variation-swatch__dot { border-color: color-mix(in srgb, var(--foreground) 25%, transparent); }
.theme-variation-attribute__select { display: none; }
.theme-attr-select-hidden { display: none !important; }
.theme-add-to-cart-area--variable { margin-top: 1rem; }
.theme-add-to-cart-area--variable .quantity { display: inline-flex; align-items: center; border: 1px solid var(--border); }
.theme-add-to-cart-area--variable .qty {
  width: 3rem;
  text-align: center;
  border: none;
  background: transparent;
  padding: 0.6rem 0.25rem;
  -moz-appearance: textfield;
}
.theme-add-to-cart-area--variable .qty::-webkit-outer-spin-button,
.theme-add-to-cart-area--variable .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Related products */
.theme-related-products { padding: 4rem 0; border-top: 1px solid var(--border); margin-top: 2rem; }
.theme-related-products__header { text-align: center; margin-bottom: 2.5rem; }
.theme-related-products__title-1 { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--muted-foreground); margin-bottom: 0.4rem; }
.theme-related-products__title-2 { font-size: 1.875rem; }
@media (min-width: 768px) { .theme-related-products__title-2 { font-size: 2.25rem; } }

/* -------------------------------------------------------------------------
   Shop archive
   ---------------------------------------------------------------------- */
.theme-shop-archive__inner { padding: 4rem 0 6rem; }
.theme-shop-archive__header { text-align: center; margin-bottom: 3rem; }
.theme-shop-archive__empty { text-align: center; padding: 4rem 0; color: var(--muted-foreground); }
.theme-shop-archive__pagination { display: flex; justify-content: center; margin-top: 3rem; }
.theme-shop-archive__pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; margin: 0 0.25rem; border: 1px solid var(--border); font-size: 0.875rem; }
.theme-shop-archive__pagination .page-numbers.current { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.theme-shop-section__empty { text-align: center; padding: 5rem 0; color: var(--muted-foreground); }

/* -------------------------------------------------------------------------
   404 page
   ---------------------------------------------------------------------- */
.theme-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; background: var(--muted); }
.theme-404__inner { text-align: center; padding: 5rem 0; }
.theme-404__title { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.theme-404__message { font-size: 1.25rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.theme-404__link { color: var(--primary); text-decoration: underline; }
.theme-404__link:hover { opacity: 0.9; }

/* -------------------------------------------------------------------------
   Generic page template
   ---------------------------------------------------------------------- */
.theme-page { padding: 3rem 0 5rem; }
.page-title { font-size: 2.25rem; margin-bottom: 2rem; }
body:not(.woocommerce-checkout) .theme-page .entry-content { max-width: 48rem; margin: 0 auto; line-height: 1.75; }
.theme-page .entry-content p { margin-bottom: 1.25rem; }

/* -------------------------------------------------------------------------
   WooCommerce notices (scoped, Section 14.1)
   ---------------------------------------------------------------------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none; padding: 1rem 1.5rem; margin: 0 0 1.5rem; border-radius: 0.375rem; font-size: 0.9rem;
  background: var(--secondary); color: var(--foreground); border-left: 3px solid var(--primary);
}
.woocommerce-error { border-left-color: #b82e2e; }

/* =========================================================================
   WooCommerce Checkout Block overrides (Section 13)
   ========================================================================= */
body.woocommerce-checkout .site-main { padding-top: 2rem; padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-width: 100%; }
body.woocommerce-checkout .page-title { max-width: var(--container-max-width); margin: 0 auto 2rem; padding-left: var(--container-padding-x); padding-right: var(--container-padding-x); }

body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}
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-notice-banner { grid-column: 1 / -1; }

body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--secondary);
  border-radius: var(--card-radius);
  padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background-color: var(--background);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 50%, transparent);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--primary) !important;
  color: var(--primary-foreground) !important;
  border-radius: 999px !important;
  font-family: var(--font-body) !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem !important;
  height: auto !important;
  padding: 1rem 2rem !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }
body.woocommerce-checkout .wc-block-components-notice-banner {
  border-radius: 0.375rem;
  font-family: var(--font-body);
}
body.woocommerce-checkout h2, body.woocommerce-checkout h3 {
  font-family: var(--font-display);
  font-weight: 400;
}

/* -------------------------------------------------------------------------
   Cart / My Account / Thank you page width parity (Section 13.7)
   ---------------------------------------------------------------------- */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: 2rem; padding-bottom: 4rem; }
body.woocommerce-cart .wc-block-cart,
body.woocommerce-account .woocommerce-MyAccount-content { max-width: var(--container-max-width); margin: 0 auto; padding-left: var(--container-padding-x); padding-right: var(--container-padding-x); }

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 { max-width: 60rem; margin: 0 auto; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 1.5rem; margin-bottom: 2rem; background: var(--secondary); border-radius: var(--card-radius); }
body.theme-thankyou-page .woocommerce-order-overview li { flex: 1 1 auto; font-size: 0.9rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-size: 1.5rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--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; }
@media (min-width: 768px) {
  body.theme-thankyou-page .woocommerce-customer-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; }

/* -------------------------------------------------------------------------
   Customizer control CSS moved to customizer-controls.css (Section 22.3.8)
   ---------------------------------------------------------------------- */

/* -------------------------------------------------------------------------
   Clickable elements — pointer cursor
   ---------------------------------------------------------------------- */
.theme-link-underline,
.theme-collection-tile,
.theme-product-card__image-link,
.theme-small-works-item,
.theme-product-thumbnails__item,
.theme-cat-filter,
.theme-faq-item__trigger,
.theme-announcement-bar__dismiss,
.theme-icon-btn,
.theme-gallery-track__trigger,
[data-gallery-open],
[data-gallery-lightbox-close],
[data-gallery-lightbox-prev],
[data-gallery-lightbox-next],
.theme-variation-swatch,
[data-attribute-value],
.theme-product-card__add,
[role="button"],
[data-contact-open],
[data-cart-open],
[data-mobile-menu-toggle],
[data-faq-trigger],
[data-accordion-trigger],
[data-category-filter],
[data-shop-see-more],
label[for],
input[type="submit"],
input[type="button"],
input[type="reset"],
.add_to_cart_button,
.single_add_to_cart_button {
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .site-header__mobile-menu.is-open {
    animation: none !important;
  }
  .site-header__mobile-menu,
  .site-header__mobile-menu .theme-nav-list--mobile .theme-nav-link,
  .site-header__mobile-menu .theme-nav-list--mobile a {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
