/* ═══════════════════════════════════════════════════════════════
   PATRICIA GREER PHOTOGRAPHY — Theme CSS
   Built by The Free Website Guys
════════════════════════════════════════════════════════════════ */

/* ─── CSS VARIABLES ─────────────────────────────────────────────────────── */
:root {
  /* Colors (overridden by Customizer inline style) */
  --color-background: #F8F5EF;
  --color-foreground: #1B272D;
  --color-primary:    #2E575F;
  --color-secondary:  #A9BAC2;
  --color-accent:     #D89035;
  --color-card:       #FFFDF8;
  --color-border:     #DCD8D1;
  --color-muted-fg:   #46555D;
  --color-button-text: #FFFDF8;
  --color-white:      #FFFFFF;

  /* Typography */
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Inter', sans-serif;

  /* Shadows */
  --shadow-soft:     0 4px 20px -4px rgba(27, 39, 45, 0.06);
  --shadow-elevated: 0 12px 40px -12px rgba(27, 39, 45, 0.14);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --header-height: 96px;
  --container-max: 1280px;
  --section-padding: 6rem;

  /* Buttons */
  --btn-radius:        0;
  --btn-height:        48px;
  --btn-padding:       0.75rem 2rem;
  --btn-font-size:     11px;
  --btn-font-weight:   500;
  --btn-letter-spacing: 0.24em;
  --btn-text-transform: uppercase;

  /* Card */
  --card-radius:  0;

  /* Logo */
  --logo-height: 60px;

  /* Reveal animation */
  --reveal-duration: 0.8s;
  --reveal-ease: cubic-bezier(0.25, 0.4, 0.25, 1);
}

/* ─── RESET ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { max-width: 100%; overflow-x: clip; }

body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.005em;
  font-weight: 400;
  font-size: inherit;
}

a { text-decoration: none; color: inherit; }

img:not(.cover-img):not(.hero-bg-img):not(.hero-slide):not(.product-card-img):not(.artist-slide):not(.artist-slide-img):not(.collection-tile-img):not(.gallery-cell-img):not(.product-main-img):not(.contact-cta-bg) {
  max-width: 100%;
  height: auto;
  display: block;
}

.cover-img, .hero-bg-img, .hero-slide, .product-card-img,
.artist-slide, .artist-slide-img, .collection-tile-img,
.gallery-cell-img, .product-main-img, .contact-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button { cursor: pointer; background: none; border: none; font-family: inherit; }

/* ─── UTILITIES ─────────────────────────────────────────────────────────── */
.container-wide {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

.full-bleed {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
}

.scroll-mt { scroll-margin-top: 6rem; }

.gallery-label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(27,39,45,0.7);
}

.collections-header > .gallery-label,
.shop-header > .gallery-label {
  margin-bottom: 1.25rem;
}

.text-primary { color: var(--color-primary); }

.link-underline {
  position: relative;
  display: inline-block;
}
.link-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.3s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-button-text);
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  padding: var(--btn-padding);
  min-height: var(--btn-height);
  border-radius: var(--btn-radius);
  border: none;
  transition: opacity 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover { opacity: 0.88; background-color: var(--color-primary); color: var(--color-button-text); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  padding: var(--btn-padding);
  min-height: var(--btn-height);
  border: 1px solid var(--color-border);
  border-radius: var(--btn-radius);
  transition: background-color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: none;
  text-decoration: none;
  transition: background-color 0.2s ease;
  cursor: pointer;
}
.btn-hero-primary:hover { background-color: rgba(255,255,255,0.9); color: var(--color-foreground); }

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  background: transparent;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1px solid rgba(255,255,255,0.8);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.btn-hero-outline:hover { background-color: rgba(255,255,255,0.1); border-color: var(--color-white); color: var(--color-white); }

.btn-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
.btn-load-more:hover { background-color: var(--color-primary); color: var(--color-button-text); }

/* ─── ANIMATIONS ─────────────────────────────────────────────────────────── */
@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) translate3d(0,0,0); }
  50%  { transform: scale(1.08) translate3d(-1%,-0.5%,0); }
  100% { transform: scale(1) translate3d(0,0,0); }
}

.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }
.kenburns-img { animation: kenburns 24s ease-in-out infinite; will-change: transform; }

/* Scroll-reveal */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--reveal-duration) var(--reveal-ease),
              transform var(--reveal-duration) var(--reveal-ease);
}
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-item[data-reveal-delay="1"] { transition-delay: 0.08s; }
.reveal-item[data-reveal-delay="2"] { transition-delay: 0.16s; }
.reveal-item[data-reveal-delay="3"] { transition-delay: 0.24s; }
.reveal-item[data-reveal-delay="4"] { transition-delay: 0.32s; }
.reveal-item[data-reveal-delay="5"] { transition-delay: 0.40s; }

/* Customizer + no-observer fallback */
.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  .reveal-item { opacity: 1 !important; transform: none !important; transition: none !important; }
  .kenburns-img { animation: none !important; }
  .contact-cta-bg.kenburns-img { transform: none !important; }
  .animate-kenburns { animation: none !important; }
}

/* ─── SITE HEADER ────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.3s ease-out, border-color 0.3s ease-out, backdrop-filter 0.3s ease-out;
  background-color: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background-color: rgba(248,245,239,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(220,216,209,0.6);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1rem;
}
@media (min-width: 768px) { .site-nav { height: 96px; } }

.site-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: color 0.2s;
}
@media (min-width: 768px) { .site-logo-text { font-size: 1.75rem; } }

/* Overlay (transparent) state */
.site-header:not(.is-solid) .site-logo-text { color: rgba(255,255,255,1); }
.site-header:not(.is-solid) .site-logo-text:hover { color: rgba(255,255,255,0.8); }
.site-header.is-solid .site-logo-text { color: var(--color-foreground); }
.site-header.is-solid .site-logo-text:hover { color: var(--color-primary); }

.site-logo-img  { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-logo-text { line-height: var(--logo-height); display: block; }

.nav-desktop { display: none; }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; align-items: center; gap: 2rem; }
}
@media (min-width: 1280px) { .nav-desktop { gap: 2.5rem; } }

.theme-nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.theme-nav-list li { margin: 0; }

.theme-nav-link, .theme-nav-list a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
}
.site-header:not(.is-solid) .theme-nav-link,
.site-header:not(.is-solid) .theme-nav-list a {
  color: rgba(255,255,255,0.85);
}
.site-header:not(.is-solid) .theme-nav-link:hover,
.site-header:not(.is-solid) .theme-nav-list a:hover { color: rgba(255,255,255,1); }
.site-header.is-solid .theme-nav-link,
.site-header.is-solid .theme-nav-list a { color: rgba(27,39,45,0.8); }
.site-header.is-solid .theme-nav-link:hover,
.site-header.is-solid .theme-nav-list a:hover { color: var(--color-primary); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Cart button */
.cart-btn {
  position: relative;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-header:not(.is-solid) .cart-btn { color: rgba(255,255,255,1); }
.site-header:not(.is-solid) .cart-btn:hover { color: rgba(255,255,255,0.8); }
.site-header.is-solid .cart-btn { color: rgba(27,39,45,0.8); }
.site-header.is-solid .cart-btn:hover { color: var(--color-primary); }

.theme-cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
}
.theme-cart-count:empty { display: none; }

/* Mobile menu toggle */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin-right: -8px;
  transition: opacity 0.2s;
}
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }
.site-header:not(.is-solid) .mobile-menu-btn { color: rgba(255,255,255,1); }
.site-header.is-solid .mobile-menu-btn { color: var(--color-foreground); }
.mobile-menu-btn:hover { opacity: 0.7; }

/* Mobile nav */
.nav-mobile {
  border-top: 1px solid rgba(220,216,209,0.6);
  padding: 1rem 0;
}
.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.theme-nav-link.mobile {
  display: block;
  text-align: left;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  color: rgba(27,39,45,0.8);
  text-decoration: none;
}
.theme-nav-link.mobile:hover { color: var(--color-primary); }

/* ─── SITE MAIN ──────────────────────────────────────────────────────────── */
.site-main { min-height: 60vh; }
.theme-no-hero .site-main { padding-top: var(--header-height); }

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero-section { background-color: var(--color-background); }
.hero-inner {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1.4s var(--ease-smooth);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide:not(.is-active) { opacity: 0; }

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}
.hero-overlay-solid { background-color: rgba(27,39,45,0.60); }
.hero-overlay-gradient {
  background: linear-gradient(to bottom, rgba(27,39,45,0.40), rgba(27,39,45,0.30) 50%, rgba(27,39,45,0.70));
}

.hero-content {
  position: relative;
  z-index: 20;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
}
.hero-content-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 64rem;
  padding: 0 0.5rem;
}

.hero-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--color-white);
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
  font-size: clamp(2.5rem, 7vw, 5.75rem);
  opacity: 0;
}
.hero-heading.gsap-ready { opacity: 1; }

.hero-ctas {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0;
}
.hero-ctas.gsap-ready { opacity: 1; }
@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; justify-content: center; }
}

/* ─── ABOUT ──────────────────────────────────────────────────────────────── */
.about-section { background-color: var(--color-background); }
.about-inner {
  padding: 6rem 0;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .about-inner { padding: 8rem 0; } }

.about-label { margin-bottom: 1.5rem; }

.about-heading-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--color-foreground);
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .about-heading-text { font-size: 2.25rem; } }
@media (min-width: 1024px) { .about-heading-text { font-size: 2.5rem; } }

.about-body {
  color: rgba(27,39,45,0.75);
  font-family: var(--font-body);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 0;
}
@media (min-width: 768px) { .about-body { font-size: 1.125rem; } }

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-primary);
  text-decoration: none;
}
.about-cta svg {
  transition: transform 0.3s var(--transition-smooth);
}
.about-cta:hover svg {
  transform: translateY(2px);
}

/* ─── GALLERY INTERLUDE ──────────────────────────────────────────────────── */
.gallery-interlude {
  background-color: var(--color-background);
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 200px 200px 200px;
}
@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 260px 260px;
  }
}
@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr;
    grid-template-rows: clamp(420px, 52vw, 560px);
  }
}

.gallery-cell {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  display: block;
  background: var(--color-border);
}
.gallery-cell:focus { outline: none; }
.gallery-cell:focus-visible { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--color-primary) 60%, transparent); }

/* Last cell spans 2 columns on mobile/tablet */
.gallery-cell:last-child { grid-column: span 2; }
@media (min-width: 1024px) { .gallery-cell:last-child { grid-column: span 1; } }

.gallery-cell-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms ease-out;
}
.gallery-cell:hover .gallery-cell-img { transform: scale(1.03); }

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(27,39,45,0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.3s var(--ease-smooth);
}
@media (min-width: 640px) { .gallery-lightbox { padding: 2.5rem; } }
.gallery-lightbox[hidden] { display: none; }

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 50%;
  transition: color 0.2s;
  z-index: 10;
}
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev  { left: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 0.5rem; top: 50%; transform: translateY(-50%); }
@media (min-width: 640px) {
  .lightbox-close { top: 1.5rem; right: 1.5rem; }
  .lightbox-prev  { left: 1.5rem; }
  .lightbox-next  { right: 1.5rem; }
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { color: var(--color-white); }
.lightbox-close:focus-visible, .lightbox-prev:focus-visible, .lightbox-next:focus-visible {
  outline: 2px solid rgba(255,255,255,0.6);
  outline-offset: 2px;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
  animation: fadeIn 0.3s var(--ease-smooth);
}

/* ─── COLLECTIONS ────────────────────────────────────────────────────────── */
.collections-section { background-color: var(--color-card); overflow: hidden; }

.collections-header {
  padding: 6rem 0 3rem;
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .collections-header { padding: 8rem 0 4rem; } }

.collections-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
}
@media (min-width: 768px) { .collections-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .collections-heading { font-size: 3.75rem; } }

.collections-subheading {
  color: rgba(27,39,45,0.7);
  font-family: var(--font-body);
  line-height: 1.7;
  font-size: 1rem;
}

.collections-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 640px) { .collections-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .collections-grid { grid-template-columns: repeat(3, 1fr); } }

.collection-tile {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: var(--color-border);
  aspect-ratio: 4/5;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
@media (min-width: 640px) { .collection-tile { aspect-ratio: 3/4; } }
@media (min-width: 1024px) { .collection-tile { aspect-ratio: 4/5; } }
.collection-tile:focus { outline: none; }
.collection-tile:focus-visible { box-shadow: inset 0 0 0 2px var(--color-accent); }

.collection-tile-img {
  transition: transform 0.7s ease-out;
}
.collection-tile:hover .collection-tile-img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .collection-tile-img { transition: none; } }

.collection-tile-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(27,39,45,0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.collection-tile:hover .collection-tile-overlay { opacity: 1; }

.collection-tile-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 2;
}
.collection-tile:hover .collection-tile-content { opacity: 1; transform: translateY(0); }

.collection-tile-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 1.2;
  color: var(--color-background);
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) { .collection-tile-title { font-size: 2.25rem; } }

.collection-tile-blurb {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(248,245,239,0.85);
  line-height: 1.6;
  max-width: 28ch;
  margin-bottom: 1.5rem;
}

.collection-tile-cta {
  position: relative;
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-background);
}
.collection-tile-cta::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 100%;
  background: var(--color-background);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.collection-tile:hover .collection-tile-cta::after { transform: scaleX(1); }

/* ─── ARTIST SECTION ─────────────────────────────────────────────────────── */
.artist-section { background-color: var(--color-background); }
.artist-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: auto;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .artist-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 720px;
  }
}

/* Slider col: order 2 on mobile, 1 on desktop */
.artist-slider-col {
  order: 2;
  position: relative;
  min-height: 380px;
}
@media (min-width: 768px) {
  .artist-slider-col { min-height: 55vh; }
}
@media (min-width: 1024px) {
  .artist-slider-col {
    order: 1;
    min-height: 720px;
    height: 100%;
  }
}

.artist-slider {
  position: relative;
  width: 100%;
  height: 68vw;
  min-height: 380px;
  max-height: 520px;
  overflow: hidden;
  background-color: var(--color-card);
  opacity: 0;
  transition: opacity 0.9s var(--ease-smooth);
}
.artist-slider.is-visible { opacity: 1; }
@media (min-width: 768px) {
  .artist-slider { height: 55vh; max-height: none; }
}
@media (min-width: 1024px) {
  .artist-slider {
    height: 100%;
    min-height: 720px;
    max-height: none;
  }
}

.artist-slide {
  transition: opacity 1.4s var(--ease-smooth);
  will-change: opacity;
}
.artist-slide.is-active { opacity: 1; }
.artist-slide:not(.is-active) { opacity: 0; }

.artist-slider-gradient {
  pointer-events: none;
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(27,39,45,0.55), rgba(27,39,45,0.10) 60%, transparent);
  z-index: 2;
}

.artist-wordmark {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 10;
  line-height: 1.2;
}
@media (min-width: 768px) { .artist-wordmark { bottom: 2rem; left: 2rem; } }

.artist-wordmark-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--color-white);
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
@media (min-width: 768px) { .artist-wordmark-name { font-size: 1.5rem; } }

.artist-wordmark-title {
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

/* Text col: order 1 on mobile, 2 on desktop */
.artist-text-col {
  order: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 1.5rem;
}
@media (min-width: 640px) { .artist-text-col { padding: 4rem 2.5rem; } }
@media (min-width: 768px) { .artist-text-col { padding: 5rem 3.5rem; } }
@media (min-width: 1024px) { .artist-text-col { order: 2; padding: 6rem 4rem; } }
@media (min-width: 1280px) { .artist-text-col { padding: 6rem 6rem; } }

.artist-text-inner {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 1024px) { .artist-text-inner { margin: 0; text-align: left; } }

.artist-label { margin-bottom: 1.5rem; }

.artist-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-foreground);
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .artist-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .artist-heading { font-size: 3.75rem; } }

.artist-body {
  color: rgba(27,39,45,0.8);
  font-family: var(--font-body);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.artist-cta-wrap { display: flex; justify-content: center; }
@media (min-width: 1024px) { .artist-cta-wrap { justify-content: flex-start; } }
.artist-cta { text-transform: none; letter-spacing: 0.025em; font-size: 0.875rem; padding: 0.75rem 1.75rem; }
.artist-cta:hover { opacity: 0.9; }

/* ─── SHOP SECTION ───────────────────────────────────────────────────────── */
.shop-section { background-color: var(--color-white, #fff); }
.shop-inner {
  padding-top: 5rem;
  padding-bottom: 5rem;
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 1023px) {
  .shop-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 768px) {
  .shop-inner {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.shop-header { text-align: center; margin-bottom: 3.5rem; }

.shop-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1.25;
  margin: 0 0 2.5rem;
}
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 3.75rem; } }

.shop-search-wrap {
  position: relative;
  max-width: 28rem;
  margin: 0 auto 2.5rem;
  display: flex;
  align-items: center;
}
.shop-search-icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted-fg);
  pointer-events: none;
}
.shop-search-input {
  width: 100%;
  padding: 0.5rem 0 0.5rem 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-foreground);
  outline: none;
  transition: border-color 0.2s;
}
.shop-search-input:focus { border-bottom-color: var(--color-primary); }
.shop-search-input::placeholder { color: var(--color-muted-fg); }

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.shop-filter-btn {
  white-space: nowrap;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  background: transparent;
  color: rgba(27,39,45,0.8);
  cursor: pointer;
  transition: all 0.3s ease;
}
.shop-filter-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.shop-filter-btn.is-active { background-color: var(--color-primary); color: var(--color-button-text); border-color: var(--color-primary); }

/* Product grid */
.shop-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) { .shop-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .shop-product-grid { gap: 2.5rem; } }
@media (min-width: 1024px) { .shop-product-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

.shop-load-more-wrap { text-align: center; margin-top: 3.5rem; }

.shop-empty-state { text-align: center; padding: 5rem 0; }
.shop-empty-text { color: var(--color-muted-fg); font-family: var(--font-body); font-style: italic; }

/* ─── PRODUCT CARD ───────────────────────────────────────────────────────── */
.theme-product-card-wrap {
  display: block;
  transition: transform 0.3s var(--ease-smooth);
}
.theme-product-card-wrap:hover {
  transform: translateY(-3px);
}
@media (prefers-reduced-motion: reduce) {
  .theme-product-card-wrap { transition: none; }
  .theme-product-card-wrap:hover { transform: none; }
}

.theme-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.theme-product-card__image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background-color: var(--color-card);
  margin-bottom: 1.25rem;
}

.product-card-img {
  transition: transform 0.8s var(--ease-smooth);
}
.theme-product-card:hover .product-card-img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .product-card-img { transition: none; } }

/* Hit-area overlay link */
.theme-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: auto;
  display: block;
}
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }

.product-sold-out-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  padding: 4px 12px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background-color: rgba(248,245,239,0.9);
  color: var(--color-foreground);
}

/* Add to Cart button (card) */
.product-card-atc {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  padding: 0.75rem;
  background-color: var(--color-primary);
  color: var(--color-button-text);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 3;
  pointer-events: auto;
}
.theme-product-card:hover .product-card-atc { opacity: 1; transform: translateY(0); }
.product-card-atc.loading { opacity: 0.6; pointer-events: none; cursor: wait; }

.theme-product-card__info {
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.product-card-cat {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(27,39,45,0.6);
  margin-bottom: 0;
}
.product-card-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.375;
  color: var(--color-foreground);
  transition: color 0.3s ease;
  margin-bottom: 0;
}
@media (min-width: 768px) { .product-card-name { font-size: 1.25rem; } }
.theme-product-card:hover .product-card-name { color: var(--color-primary); }

.product-card-price {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(27,39,45,0.8);
}
.product-card-price .woocommerce-Price-amount { color: rgba(27,39,45,0.8); }

/* ─── CONTACT CTA SECTION ────────────────────────────────────────────────── */
.contact-cta-section {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
@media (min-width: 768px) { .contact-cta-section { min-height: 680px; } }
@media (min-width: 1024px) { .contact-cta-section { min-height: 88vh; } }

.contact-cta-bg {
  z-index: 0;
  object-position: center 60%;
}

@media (max-width: 767px) {
  .contact-cta-bg {
    object-position: center center;
  }
  .contact-cta-bg.kenburns-img {
    animation: none !important;
    transform: none !important;
  }
}

.contact-cta-overlay { position: absolute; inset: 0; z-index: 1; }
.contact-cta-overlay-solid { background-color: rgba(27,39,45,0.40); }
@media (min-width: 768px) { .contact-cta-overlay-solid { background-color: rgba(27,39,45,0.35); } }
.contact-cta-overlay-gradient {
  background: linear-gradient(to bottom, rgba(27,39,45,0.45), rgba(27,39,45,0.15) 40%, rgba(27,39,45,0.55));
}

.contact-cta-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  padding: 6rem 1.5rem;
  color: var(--color-white);
}
@media (min-width: 768px) { .contact-cta-content { padding: 7rem 2.5rem; } }

.contact-cta-label {
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  letter-spacing: 0.32em;
  margin-bottom: 1.75rem;
}

.contact-cta-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 3rem;
  line-height: 1.05;
  color: var(--color-white);
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .contact-cta-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .contact-cta-heading { font-size: 4.5rem; } }

.contact-cta-body {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 40ch;
  margin: 0 auto 2.25rem;
}
@media (min-width: 768px) { .contact-cta-body { font-size: 1.125rem; } }

.contact-cta-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .contact-cta-links { flex-direction: row; justify-content: center; gap: 1rem; }
}
.contact-cta-email, .contact-cta-phone {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.9);
  transition: text-decoration-color 0.2s;
}
.contact-cta-email:hover, .contact-cta-phone:hover { text-decoration-color: rgba(255,255,255,1); }
.contact-cta-sep { display: none; color: rgba(255,255,255,0.5); }
@media (min-width: 640px) { .contact-cta-sep { display: inline; } }

.contact-cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) { .contact-cta-buttons { flex-direction: row; justify-content: center; } }

.contact-cta-btn-primary {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
}
.contact-cta-btn-outline {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
}

/* ─── CONTACT MODAL ──────────────────────────────────────────────────────── */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.contact-modal[hidden] { display: none; }

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(27,39,45,0.5);
  cursor: pointer;
  animation: fadeIn 0.2s ease;
}

.contact-modal-panel {
  position: relative;
  z-index: 1;
  background-color: var(--color-card);
  width: 100%;
  max-width: 32rem;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem 1.5rem;
  animation: slideUp 0.3s var(--ease-smooth);
}
@media (min-width: 640px) { .contact-modal-panel { padding: 2.5rem; } }

.contact-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 4px;
  color: rgba(27,39,45,0.6);
  transition: opacity 0.2s;
}
.contact-modal-close:hover { opacity: 0.5; }

.contact-modal-heading {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 400;
  color: var(--color-foreground);
  margin-bottom: 0.5rem;
}
.contact-modal-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  margin-bottom: 1.25rem;
}

.contact-modal-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-modal-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-fg);
}
.contact-modal-contact-item a:hover { color: var(--color-foreground); }

.contact-form-success {
  text-align: center;
  padding: 2rem 0;
}
.contact-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--color-button-text);
  animation: successBounce 0.5s var(--ease-smooth);
}
@keyframes successBounce { from { transform: scale(0); } to { transform: scale(1); } }
.contact-success-heading { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.contact-success-body { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-fg); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-form-row { grid-template-columns: 1fr 1fr; } }
.contact-form-group { display: flex; flex-direction: column; }
.contact-form-label { font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.contact-form-input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-foreground);
  outline: none;
  transition: box-shadow 0.3s;
  border-radius: 0.375rem;
}
.contact-form-input::placeholder { color: var(--color-muted-fg); }
.contact-form-input:focus { box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 30%, transparent); border-color: var(--color-primary); }
.contact-form-textarea { resize: none; }
.contact-form-footer { display: flex; justify-content: flex-end; }
.contact-form-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-primary);
  color: var(--color-button-text);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  min-height: 2.75rem;
  border: 1px solid var(--color-primary);
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.contact-form-submit:hover {
  background-color: var(--color-background);
  color: var(--color-primary);
}
.contact-form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--color-border);
  background-color: var(--color-card);
}

/* container-wide py-14 lg:py-16 */
.footer-inner {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 1024px) {
  .footer-inner {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-10 md:gap-12 */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .footer-grid { gap: 3rem; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.footer-brand { text-align: center; }
@media (min-width: 640px) { .footer-brand { text-align: left; } }

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 400;
  color: var(--color-foreground);
  line-height: 1.25;
  margin: 0;
}

.footer-tagline {
  margin: 1rem auto 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(27,39,45,0.7);
  line-height: 1.625;
  max-width: 24rem;
}
@media (min-width: 640px) {
  .footer-tagline { margin-left: 0; margin-right: 0; }
}

.footer-col { min-width: 0; }

.footer-col-heading {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(27,39,45,0.6);
  margin: 0 0 1.25rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links li { margin: 0; padding: 0; }

.footer-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(27,39,45,0.8);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--color-primary); }

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* mt-12 pt-6 border-t gap-3 */
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}
.footer-bottom p { margin: 0; }

.footer-copyright, .footer-credit {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(27,39,45,0.6);
}
.footer-credit > span:first-child { color: rgba(27,39,45,0.5); }
.footer-credit-link { font-weight: 500; color: rgba(27,39,45,0.8); transition: color 0.2s; }
.footer-credit-link:hover { color: var(--color-primary); }

/* ─── CART DRAWER ────────────────────────────────────────────────────────── */
#theme-cart-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(27,39,45,0.2);
  z-index: 99;
  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;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
  max-width: 28rem;
  background-color: var(--color-background);
  z-index: 100;
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.cart-drawer-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cart-drawer-close { padding: 4px; color: var(--color-foreground); transition: opacity 0.2s; }
.cart-drawer-close:hover { opacity: 0.5; }

.cart-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: var(--color-muted-fg);
}
.cart-empty-msg {
  font-family: var(--font-body);
  font-size: 0.875rem;
  margin: 1rem 0 1.5rem;
}
.cart-continue-btn { font-size: 0.875rem; padding: 0.625rem 1.5rem; }

.cart-items-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item { display: flex; gap: 1rem; }
.cart-item-img-link {
  width: 80px;
  height: 96px;
  flex-shrink: 0;
  overflow: hidden;
  background-color: var(--color-secondary);
  display: block;
}
.cart-item-img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }

.cart-item-name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  color: var(--color-foreground);
  transition: opacity 0.2s;
}
.cart-item-name:hover { opacity: 0.7; }
.cart-item-price { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-fg); margin-top: 2px; }
.cart-item-price .woocommerce-Price-amount { color: var(--color-muted-fg); }

.cart-item-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; }
.cart-item-meta-key { font-family: var(--font-body); font-size: 12px; color: var(--color-muted-fg); }
.cart-item-meta-val { font-family: var(--font-body); font-size: 12px; color: var(--color-foreground); }

.cart-item-qty-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.cart-qty-btn {
  padding: 4px;
  background-color: transparent;
  color: var(--color-foreground);
  border-radius: 4px;
  transition: background-color 0.2s;
}
.cart-qty-btn:hover { background-color: var(--color-secondary); }
.cart-qty-display { font-family: var(--font-body); font-size: 0.875rem; min-width: 1.5rem; text-align: center; }
.cart-remove-btn {
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.cart-remove-btn:hover { color: var(--color-foreground); }

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.875rem;
}
.cart-subtotal-label { color: var(--color-muted-fg); }
.cart-subtotal-value { font-weight: 500; color: var(--color-foreground); }
.cart-subtotal-value .woocommerce-Price-amount { color: var(--color-foreground); }
.cart-shipping-note { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-fg); }

.cart-checkout-btn {
  width: 100%;
  justify-content: center;
  text-transform: none;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  padding: 0.875rem 1.5rem;
}
.cart-empty-btn {
  width: 100%;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.625rem;
}

/* ─── SINGLE PRODUCT PAGE ────────────────────────────────────────────────── */
.single-product-main { background-color: var(--color-background); padding-bottom: 0; }

.product-breadcrumb {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
}
.breadcrumb-back, .breadcrumb-item { color: var(--color-muted-fg); text-decoration: none; transition: color 0.2s; }
.breadcrumb-back:hover, .breadcrumb-item:hover { color: var(--color-foreground); }
.breadcrumb-sep { opacity: 0.5; }
.breadcrumb-current { color: var(--color-foreground); }

.theme-product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 6rem;
  padding-top: 1rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; }
}

.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }

.product-gallery-mobile { display: block; }
.product-gallery-desktop { display: none; }
@media (min-width: 1024px) {
  .product-gallery-mobile { display: none; }
  .product-gallery-desktop { display: flex; flex-direction: column; gap: 1rem; }
}

.product-gallery-main-wrap {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background-color: var(--color-secondary);
}

.product-main-img { object-fit: cover; }

/* Thumbnails */
.product-thumbnails {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  overflow-x: auto;
  padding-bottom: 4px;
  flex-wrap: wrap;
  max-width: 100%;
}
.product-thumb {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  overflow: hidden;
  background-color: var(--color-secondary);
}
.product-thumb-img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s; }
.product-thumb:not(.is-active) .product-thumb-img { opacity: 0.6; }
.product-thumb:not(.is-active):hover .product-thumb-img { opacity: 1; }
.product-thumb::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background-color: var(--color-foreground);
  opacity: 0;
  transition: opacity 0.2s;
}
.product-thumb.is-active::after { opacity: 1; }

/* Product info column */
.single-product .theme-product-info {
  position: sticky;
  top: 7rem;
}

.product-category-label {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(27,39,45,0.6);
  display: block;
  margin-bottom: 0.75rem;
}

.product-title {
  font-family: var(--font-display);
  font-weight: 400; /* Tailwind preflight reset */
  font-size: 2.5rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  overflow-wrap: break-word;
  word-break: break-word;
}
@media (min-width: 768px) { .product-title { font-size: 3rem; } }

.product-price {
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: var(--color-foreground);
  margin-bottom: 1.5rem;
}
.product-price .woocommerce-Price-amount { color: var(--color-foreground); font-size: 1.5rem; }

.product-out-of-stock {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 4px 12px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background-color: rgba(248,245,239,0.9);
  color: var(--color-foreground);
  border: 1px solid var(--color-border);
}

.product-description {
  color: var(--color-muted-fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Add to cart area */
.single-product .theme-add-to-cart-area {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.single-product .single_add_to_cart_button {
  flex: 1 1 auto;
  min-width: 160px;
}

.theme-quantity-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  background-color: var(--color-background);
}
.theme-qty-minus, .theme-qty-plus {
  width: 40px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-foreground);
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  font-family: var(--font-body);
}
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--color-border); }
.theme-qty-input {
  width: 48px;
  height: 48px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
}
.theme-qty-input::-webkit-inner-spin-button,
.theme-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Short description as "Details" section */
.product-short-description-section {
  margin-bottom: 1.5rem;
}
.product-accordion-title {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

/* Accordions */
.product-accordions { border-top: 1px solid var(--color-border); margin-top: 2.5rem; }
.product-accordion { border-bottom: 1px solid var(--color-border); }
.product-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}
.product-accordion-trigger span {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
}
.accordion-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.product-accordion-trigger.is-open .accordion-chevron { transform: rotate(180deg); }
.product-accordion-content {
  overflow: hidden;
  transition: height 0.25s ease;
}
.product-accordion-content[hidden] { display: none; }
.product-accordion-text {
  padding-bottom: 1.5rem;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-muted-fg);
  line-height: 1.7;
}
.product-accordion-text p { margin-bottom: 0.75rem; }
.product-accordion-text p:last-child { margin-bottom: 0; }

/* Variation form */
.single-product .variations.shop_attributes tbody,
.single-product .variations.shop_attributes tbody tr,
.single-product .variations.shop_attributes tbody td { display: block; width: 100%; }
.single-product .variations.shop_attributes tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations.shop_attributes tbody td.label label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  font-style: normal;
}
.single-product .variations.shop_attributes tbody td.value { padding-top: 0; }

.theme-attr-select-hidden { display: none !important; }

.variation-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.variation-pill {
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  color: var(--color-foreground);
}
.variation-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.variation-pill.is-selected { background-color: var(--color-primary); color: var(--color-button-text); border-color: var(--color-primary); }

.reset_variations { display: none; font-family: var(--font-body); font-size: 12px; color: var(--color-muted-fg); margin-top: 0.5rem; }

/* WooCommerce variation area */
.single_variation_wrap { margin-top: 1rem; }
.woocommerce-variation-price { margin-bottom: 1rem; }
.woocommerce-variation-price .woocommerce-Price-amount { font-size: 1.5rem; color: var(--color-foreground); }

/* Related products */
.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-header { text-align: center; margin-bottom: 3rem; }
.related-subheading {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--color-muted-fg);
  margin-bottom: 0.5rem;
}
.related-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.875rem;
  color: var(--color-foreground);
}
@media (min-width: 768px) { .related-heading { font-size: 3rem; } }

.related-products-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1.5rem !important;
}
@media (min-width: 1024px) {
  .related-products-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 2rem !important; }
}

/* ─── WOOCOMMERCE OVERRIDES ──────────────────────────────────────────────── */
.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(--color-primary) !important;
  color: var(--color-button-text) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
  text-decoration: none !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: 0.85 !important;
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.4 !important;
  background-color: var(--color-primary) !important;
}

/* Single product page — full-width ATC matching Lovable */
.single-product .single_add_to_cart_button.button,
.single-product .theme-add-to-cart-area .single_add_to_cart_button {
  width: 100% !important;
  min-height: unset !important;
  padding: 1rem 2rem !important;
  font-size: 12px !important;
  letter-spacing: 0.25em !important;
  border-radius: 0 !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}
.single-product .single_add_to_cart_button.button:hover,
.single-product .theme-add-to-cart-area .single_add_to_cart_button:hover {
  opacity: 1 !important;
  background-color: var(--color-accent) !important;
  color: var(--color-foreground) !important;
}

/* Override for card compact button */
.theme-product-card .add_to_cart_button.ajax_add_to_cart.product-card-atc {
  min-height: unset !important;
  padding: 0.75rem !important;
  letter-spacing: 0.22em !important;
  font-size: 11px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

/* Hide WC "View Cart" link after add */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Hide WC spinner on card button */
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Button lock during add */
.ajax_add_to_cart.theme-btn-loading {
  opacity: 0.6 !important;
  pointer-events: none !important;
  cursor: wait !important;
}

/* WC notices */
.woocommerce-message, .woocommerce-info { border-top-color: var(--color-primary); }
.woocommerce-error { border-top-color: #b00; }
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }

/* ─── CHECKOUT ───────────────────────────────────────────────────────────── */
body.woocommerce-checkout .site-main { padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-width: 100%; }

body.woocommerce-checkout .wc-block-checkout { display: block; }

@media (min-width: 768px) {
  body.woocommerce-checkout
  .wc-block-components-sidebar-layout.is-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    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-checkout__sidebar {
  background-color: var(--color-card);
  border-radius: 4px;
  padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  color: var(--color-foreground) !important;
  border: 1px solid var(--color-border) !important;
  background-color: var(--color-background) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  border-color: var(--color-primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 25%, transparent) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  letter-spacing: 0.24em !important;
  text-transform: uppercase !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  opacity: 0.88 !important;
}

/* ─── THANK YOU PAGE ─────────────────────────────────────────────────────── */
body.theme-thankyou-page .woocommerce-order { color: var(--color-foreground); font-family: var(--font-body); }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.875rem;
  padding-bottom: 1rem;
}
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 0; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { font-family: var(--font-body); font-size: 0.875rem; padding: 1rem; background: var(--color-card); border: 1px solid var(--color-border); }
body.theme-thankyou-page .woocommerce-order-overview strong { display: block; font-size: 1rem; color: var(--color-foreground); }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); font-family: var(--font-body); font-size: 0.875rem; }
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 { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-customer-details { margin-top: 2rem; }
.thankyou-content { padding: 3rem 0; }

/* ─── ARCHIVE PRODUCT ────────────────────────────────────────────────────── */
.archive-product-main { padding-bottom: 4rem; }
.shop-archive .shop-header { padding: 3rem 0 2rem; }
.shop-archive .shop-heading { font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; }

/* ─── 404 PAGE ───────────────────────────────────────────────────────────── */
.error-404-main { min-height: 80vh; display: flex; align-items: center; }
.error-404-content { text-align: center; padding: 4rem 0; }
.error-404-title { font-family: var(--font-display); font-size: 6rem; font-weight: 400; color: var(--color-foreground); margin-bottom: 1rem; }
.error-404-subtitle { font-family: var(--font-body); font-size: 1.25rem; color: var(--color-muted-fg); margin-bottom: 1rem; }
.error-404-body { font-family: var(--font-body); font-size: 1rem; color: var(--color-muted-fg); margin-bottom: 2rem; }
.error-404-cta { text-transform: none; font-size: 0.875rem; letter-spacing: 0.05em; }

/* ─── PAGE TITLE ─────────────────────────────────────────────────────────── */
.page-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--color-foreground);
}

.site-main-content { padding: 3rem 0 5rem; }

/* ─── MISC ───────────────────────────────────────────────────────────────── */
.posted_in, .woocommerce-product-details__short-description,
.woocommerce-variation-description {
  overflow-wrap: break-word;
  word-break: break-word;
}
