/* =============================================================
   Laura's Solutions Shop — theme.css
   ============================================================= */

/* ─── CSS Variables ─── */
:root {
  --color-primary:     #f33a8e;
  --color-primary-fg:  #ffffff;
  --color-accent:      #ffcc14;
  --color-background:  #fdf9f4;
  --color-foreground:  #1f1816;
  --color-secondary:   #fff3cf;
  --color-muted-fg:    #726d6a;
  --color-border:      #e8ddd4;
  --color-header-bg:   #fff6e7;

  --font-display: 'Playfair Display', serif;
  --font-body:    'Inter', sans-serif;

  --radius:      1rem;
  --btn-radius:  9999px;
  --btn-height:  2.75rem;
  --btn-padding: 0 2rem;
  --btn-font-size:      0.875rem;
  --btn-font-weight:    600;
  --btn-letter-spacing: 0.01em;
  --btn-text-transform: none;
  --btn-icon-padding:   0.5rem;

  --card-radius:      1rem;
  --section-padding:  2rem;
  --checkout-gap:     2rem;
  --header-height:    64px;
  --logo-height:      60px;

  --shadow-soft:     0 4px 24px -4px rgba(31,24,22,0.06);
  --shadow-elevated: 0 12px 48px -12px rgba(243,58,142,0.15);
  --shadow-warm:     0 8px 32px -8px rgba(255,204,20,0.2);

  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset / Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-color: var(--color-border); }
html { scroll-behavior: smooth; }
body {
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--color-foreground);
}
input, textarea, select {
  font-family: var(--font-body);
  font-size: 0.875rem;
}

/* ─── Utilities ─── */
.container-wide { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 1.5rem; }
@media (min-width: 1024px) { .container-wide { padding-inline: 2rem; } }

.text-primary { color: var(--color-primary); }
.italic { font-style: italic; }
.text-center { text-align: center; }
.scroll-mt-header { scroll-margin-top: var(--header-height); }

/* ─── Typography utilities ─── */
.section-badge {
  display: inline-block;
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.75rem 2rem;
  border-radius: var(--btn-radius);
  border: 2px solid transparent;
  transition: opacity 0.2s ease, box-shadow 0.3s var(--transition-smooth), background-color 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-primary-fg);
}
.btn-primary:hover { opacity: 0.88; }

.btn-outline {
  background-color: transparent;
  color: var(--color-foreground);
  border-color: var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-foreground);
}
.btn-outline-light {
  background-color: transparent;
  color: var(--color-background);
  border: 2px solid rgba(253,249,244,0.4);
  border-radius: var(--btn-radius);
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.2s, color 0.2s;
}
.btn-outline-light:hover {
  background-color: var(--color-background);
  color: var(--color-foreground);
}
.btn-light {
  background-color: var(--color-background);
  color: var(--color-foreground);
  border-color: transparent;
}
.btn-light:hover { opacity: 0.9; }
.btn-glow:hover { box-shadow: 0 0 24px rgba(243,58,142,0.4); }

/* ─── Back link ─── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  font-family: var(--font-body);
  transition: color 0.2s;
  margin-bottom: 2rem;
}
.back-link:hover { color: var(--color-foreground); }

/* ─── Gradients ─── */
.gradient-warm {
  background: linear-gradient(135deg, var(--color-primary) 0%, #d63080 50%, var(--color-accent) 100%);
  color: var(--color-primary-fg);
}
/* Los h1–h6 globales fuerzan --color-foreground; aquí deben heredar el texto claro (Lovable: text-primary-foreground). */
.gradient-warm h1,
.gradient-warm h2,
.gradient-warm h3,
.gradient-warm h4,
.gradient-warm h5,
.gradient-warm h6 {
  color: inherit;
}
.gradient-soft {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-background) 100%);
}

/* ─── Link underline hover ─── */
.link-underline { position: relative; display: inline-block; }
.link-underline::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

/* ─── Animations ─── */
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp  { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn  { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes spin     { to { transform: rotate(360deg); } }

.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }

/* ─────────────────────────────────────────────
   HEADER
───────────────────────────────────────────── */
/* Igual que Lovable: fixed, z-50, backdrop-blur-md, border-b border-border/50, bg #fff6e7 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--color-header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 50%, transparent);
}
.site-header__inner {
  /* container-wide dentro del header: max-w-7xl + px-6 lg:px-8 (ya en .container-wide) */
  box-sizing: border-box;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
@media (min-width: 1024px) { .site-nav { height: 64px; } }

/* Mobile logo */
.mobile-logo { display: flex; align-items: center; }
.mobile-logo .site-logo-img { height: 56px; width: auto; border-radius: 9999px; }
.mobile-logo .site-logo-text { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }

/* Desktop nav */
.desktop-nav {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 1;
}
@media (min-width: 1024px) {
  .mobile-logo { display: none; }
  .desktop-nav { display: flex; }
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex: 1;
}
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }
.center-logo { margin-inline: 3rem; flex-shrink: 0; }
.center-logo .site-logo-img { height: 64px; width: auto; border-radius: 9999px; display: block; }
.center-logo .site-logo-text { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }

.nav-link {
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--color-foreground);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--color-primary); }

/* Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cart-btn {
  position: relative;
  padding: 0.5rem;
  color: var(--color-foreground);
  transition: color 0.2s;
}
.cart-btn:hover { color: var(--color-primary); }

.theme-cart-count {
  position: absolute;
  top: -2px; right: -2px;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  font-weight: 600;
  background-color: var(--color-primary);
  color: var(--color-primary-fg);
  border-radius: 9999px;
}
.theme-cart-count:empty { display: none; }

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  color: var(--color-foreground);
  transition: color 0.2s;
}
.mobile-menu-toggle:hover { color: var(--color-primary); }
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }

/* Mobile menu dropdown */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--color-border) 50%, transparent);
  padding: 1rem 0;
  animation: fadeIn 0.2s ease;
}
.mobile-menu.is-open { display: flex; }
.mobile-nav-link {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--color-foreground);
  text-align: left;
  transition: color 0.2s;
}
.mobile-nav-link:hover { color: var(--color-primary); }

/* Logo global rules */
.site-logo-img  { height: var(--logo-height) !important; width: auto !important; display: block; border-radius: 9999px; }
.site-logo-text { display: block; font-family: var(--font-display); font-weight: 700; }

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero-section {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(31,24,22,0.9) 0%, rgba(31,24,22,0.7) 50%, rgba(31,24,22,0.3) 100%);
}
.hero-content {
  padding-block: 6rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) { .hero-content { padding-block: 8rem; } }
.hero-text { max-width: 40rem; }

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 2rem;
  animation: fadeIn 0.6s var(--transition-smooth) both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 700;
  color: var(--color-background);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: slideUp 0.6s var(--transition-smooth) both;
}
.hero-title-em { color: var(--color-primary); font-style: italic; }
.hero-desc {
  color: rgba(253,249,244,0.75);
  font-size: 1.0625rem;
  max-width: 32rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: slideUp 0.6s 0.1s var(--transition-smooth) both;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: slideUp 0.6s 0.2s var(--transition-smooth) both;
}
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
.hero-cta-primary, .hero-cta-secondary {
  min-width: 160px;
}

/* ─────────────────────────────────────────────
   VALUE BAR
───────────────────────────────────────────── */
.valuebar-section { }
.valuebar-inner {
  padding-block: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 640px) {
  .valuebar-inner {
    flex-direction: row;
    gap: 3rem;
    padding-block: 1rem;
  }
}
.valuebar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 500;
}
.valuebar-dot { opacity: 0.4; display: none; }
@media (min-width: 640px) { .valuebar-dot { display: block; } }

/* ─────────────────────────────────────────────
   SECTIONS
───────────────────────────────────────────── */
.featured-section { padding-block: 5rem; }
@media (min-width: 1024px) { .featured-section { padding-block: 6rem; } }
.featured-section .section-header { margin-bottom: 3.5rem; }

.section-header { text-align: center; margin-bottom: 3rem; }

/* ─────────────────────────────────────────────
   PRODUCT GRID & CARDS
───────────────────────────────────────────── */
.theme-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 768px) {
  .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}
@media (min-width: 1280px) {
  .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; }
}

.featured-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .featured-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }
}

.related-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .related-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Card wrapper */
.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }

/* Card */
.theme-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
/* Lovable: <a class="group block"> envuelve imagen + texto */
.theme-product-card-outer {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.theme-product-card-outer:hover { color: inherit; }

/* Image wrapper — rounded-2xl, shadow-soft, group-hover:shadow-elevated, duration-500 */
.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 1rem;
  overflow: hidden;
  background-color: var(--color-secondary);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.5s var(--transition-smooth);
}
.theme-product-card-outer:hover .theme-product-card__image-wrapper {
  box-shadow: var(--shadow-elevated);
}
.theme-product-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s ease-out;
}
.theme-product-card-outer:hover .theme-product-card__img { transform: scale(1.05); }

/* Card info */
.theme-product-card__info { padding: 0 0.25rem; flex: 1; }
.card-cat {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.card-title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.25rem;
  transition: color 0.3s;
}
.theme-product-card-outer:hover .card-title { color: var(--color-primary); }
.card-price {
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--color-foreground);
}
.card-price ins { text-decoration: none; }
.card-price del { opacity: 0.5; margin-right: 0.25rem; }

/* Quick add — Lovable: bottom-3 right-3 w-9 h-9 shadow-md bg-background/90 backdrop-blur-sm transition duration-300 */
.theme-card-quick-add {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  z-index: 4;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 4px 6px -1px rgba(31, 24, 22, 0.1), 0 2px 4px -2px rgba(31, 24, 22, 0.08);
  background-color: rgba(253, 249, 244, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--color-foreground);
  transition: background-color 0.3s var(--transition-smooth), color 0.3s var(--transition-smooth), transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
}
.theme-card-quick-add:hover {
  background-color: var(--color-primary);
  color: var(--color-primary-fg);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(243, 58, 142, 0.25);
}
.theme-card-quick-add:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.theme-card-quick-add__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.theme-card-quick-add__icon--check { display: none; }
.theme-card-quick-add.is-added {
  background-color: var(--color-primary);
  color: var(--color-primary-fg);
  transform: scale(1.1);
}
.theme-card-quick-add.is-added .theme-card-quick-add__icon--plus { display: none; }
.theme-card-quick-add.is-added .theme-card-quick-add__icon--check { display: flex; }

/* Badges (por encima del hit de imagen, por debajo del +) */
.sold-out-badge {
  position: absolute;
  z-index: 2;
  top: 0.75rem; left: 0.75rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: var(--color-foreground);
  color: var(--color-background);
  border-radius: 9999px;
  pointer-events: none;
}
.new-badge {
  position: absolute;
  z-index: 2;
  top: 0.75rem; right: 0.75rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: var(--color-primary);
  color: white;
  border-radius: 9999px;
  pointer-events: none;
}

/* ─────────────────────────────────────────────
   ABOUT PREVIEW (HOMEPAGE)
───────────────────────────────────────────── */
.about-preview-section { padding-block: 5rem; }
@media (min-width: 1024px) { .about-preview-section { padding-block: 7rem; } }
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-preview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.about-preview-photos {
  position: relative;
  max-width: 24rem;
  margin-inline: auto;
}
@media (min-width: 1024px) { .about-preview-photos { margin-inline: 0; } }

.about-main-photo {
  aspect-ratio: 3 / 4;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}
.about-main-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-secondary-photo {
  position: absolute;
  bottom: -2.5rem; right: -10rem;
  width: 13rem; height: 16rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  border: 4px solid var(--color-background);
  z-index: 1;
  display: none;
}
@media (min-width: 768px) { .about-secondary-photo { display: block; } }
.about-secondary-photo img { width: 100%; height: 100%; object-fit: cover; }

.about-spinning-badge {
  position: absolute;
  top: -2rem; right: -5rem;
  width: 9rem; height: 9rem;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
@media (min-width: 1024px) { .about-spinning-badge { display: flex; } }
.spinning-badge-bg {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background-color: var(--color-accent);
}
.spinning-text {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  animation: spin 12s linear infinite;
}
.spinning-text text {
  fill: var(--color-foreground);
  font-size: 9.2px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.spinning-heart-icon {
  width: 1.25rem; height: 1.25rem;
  color: var(--color-primary);
  position: relative;
  z-index: 1;
}
.about-deco-dot {
  position: absolute;
  top: -1rem; left: -1rem;
  width: 4rem; height: 4rem;
  border-radius: 9999px;
  background-color: rgba(243,58,142,0.2);
  z-index: -1;
  display: none;
}
@media (min-width: 1024px) { .about-deco-dot { display: block; } }
.about-primary-pink-dot { display: none; }

.about-preview-h2 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}
.about-preview-para {
  color: var(--color-muted-fg);
  line-height: 1.75;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.about-preview-btn { margin-top: 2rem; }

/* ─────────────────────────────────────────────
   CUSTOM ORDERS CTA
───────────────────────────────────────────── */
.custom-orders-section { padding-block: 4rem; }
.custom-orders-box {
  border-radius: 1.5rem;
  padding: 3rem 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 767px) { .custom-orders-box { padding: 2.5rem 1.5rem; } }
.custom-orders-deco-1 {
  position: absolute; top: 1.5rem; right: 2rem;
  width: 5rem; height: 5rem;
  border-radius: 9999px;
  background-color: rgba(255,255,255,0.2);
}
.custom-orders-deco-2 {
  position: absolute; bottom: 1rem; left: 1.5rem;
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  background-color: rgba(253,249,244,0.1);
}
.custom-orders-icon { margin-bottom: 1.25rem; opacity: 0.9; position: relative; z-index: 1; }
.custom-orders-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 1rem;
  position: relative; z-index: 1;
}
.custom-orders-desc {
  max-width: 28rem;
  margin-inline: auto;
  margin-bottom: 2rem;
  opacity: 0.9;
  font-family: var(--font-body);
  font-size: 1rem;
  position: relative; z-index: 1;
}
.custom-orders-btn { position: relative; z-index: 1; }

/* ─────────────────────────────────────────────
   SHOP SECTION
───────────────────────────────────────────── */
.shop-section { padding-block: 5rem; }
@media (min-width: 1024px) { .shop-section { padding-block: 6rem; } }

.shop-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .shop-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.shop-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.1;
}
.shop-search-wrap {
  position: relative;
  width: 100%;
  max-width: 18rem;
}
.shop-search-icon {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted-fg);
  pointer-events: none;
}
.shop-search-input {
  width: 100%;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  background-color: var(--color-background);
  padding: 0 2.75rem 0 2.75rem;
  font-size: 0.875rem;
  color: var(--color-foreground);
  box-shadow: var(--shadow-soft);
}
.shop-search-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-primary);
  border-color: var(--color-primary);
}
.shop-search-clear {
  position: absolute;
  right: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted-fg);
}
.shop-search-clear:hover { color: var(--color-foreground); }

.shop-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .shop-layout { flex-direction: row; gap: 2.5rem; }
}

.shop-sidebar { width: 100%; }
@media (min-width: 1024px) { .shop-sidebar { width: 11rem; flex-shrink: 0; } }
.shop-sidebar-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
}
@media (min-width: 1024px) {
  .shop-sidebar-inner {
    flex-direction: column;
    flex-wrap: nowrap;
    position: sticky;
    top: calc(var(--header-height) + 1rem);
  }
}

.shop-cat-btn {
  width: auto;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background-color: rgba(255,243,207,0.6);
  color: var(--color-foreground);
  transition: all 0.3s;
  pointer-events: auto;
}
@media (min-width: 1024px) { .shop-cat-btn { width: 100%; padding: 1.25rem 1rem; } }
.shop-cat-btn:hover { background-color: rgba(243,58,142,0.1); color: var(--color-primary); }
.shop-cat-btn.active {
  background-color: var(--color-primary);
  color: var(--color-primary-fg);
  box-shadow: var(--shadow-elevated);
}

.shop-grid-wrap { flex: 1; min-width: 0; }

.shop-load-more-wrap { text-align: center; margin-top: 2.5rem; }
.shop-no-results { text-align: center; padding-block: 5rem; }
.shop-no-results p { color: var(--color-muted-fg); margin-bottom: 1rem; }

/* ─────────────────────────────────────────────
   BOTTOM CTA
───────────────────────────────────────────── */
.bottom-cta-section {
  position: relative;
  min-height: 35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bottom-cta-bg {
  position: absolute;
  inset: 0;
}
.bottom-cta-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.bottom-cta-overlay {
  position: absolute; inset: 0;
  background-color: rgba(31,24,22,0.7);
}
.bottom-cta-content {
  position: relative;
  z-index: 1;
  padding-block: 6rem;
}
@media (min-width: 1024px) { .bottom-cta-content { padding-block: 8rem; } }
.bottom-cta-inner {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}
.bottom-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  color: var(--color-background);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.bottom-cta-em { color: var(--color-primary); font-style: italic; }
.bottom-cta-desc {
  color: rgba(253,249,244,0.7);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* ─────────────────────────────────────────────
   INNER PAGES BASE
───────────────────────────────────────────── */
.inner-page-main { padding-top: var(--header-height); }
.pt-inner { padding-top: 2.5rem; padding-bottom: 40px; }

/* ─────────────────────────────────────────────
   ABOUT PAGE
───────────────────────────────────────────── */
.about-hero-section { padding-block: 2rem 3rem; }
.about-hero-inner {
  max-width: 56rem;
  margin-inline: auto;
  text-align: center;
}
.about-page-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.about-page-author {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  font-style: italic;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.about-content-section { padding-block: 2rem 3rem; }
.about-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .about-content-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.about-story p {
  color: var(--color-muted-fg);
  line-height: 1.75;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.about-testimonial { position: relative; }
.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--color-primary);
  line-height: 1;
  position: absolute;
  top: -1rem; left: -0.5rem;
}
.testimonial-text {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--color-foreground);
  padding-left: 1.5rem;
  padding-top: 1rem;
}
.testimonial-by {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-left: 1.5rem;
}
.testimonial-by-label {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  font-family: var(--font-body);
}
.testimonial-by-name {
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-foreground);
}

.about-follow { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.about-follow-label {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 1rem;
}
.about-follow-links { display: flex; flex-direction: column; gap: 0; }
.about-social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  font-family: var(--font-body);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.about-social-link:hover { color: var(--color-primary); }

.about-mission-section { background-color: var(--color-secondary); padding-block: 5rem; }
@media (min-width: 1024px) { .about-mission-section { padding-block: 7rem; } }
.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .about-mission-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.about-mission-photo {
  aspect-ratio: 4 / 5;
  border-radius: 1rem;
  overflow: hidden;
  max-width: 32rem;
  margin-inline: auto;
}
@media (min-width: 1024px) { .about-mission-photo { margin-inline: 0; } }
.about-mission-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-mission-text p {
  color: var(--color-muted-fg);
  line-height: 1.75;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.about-mission-text h2 { margin-bottom: 1.5rem; }

/* ─────────────────────────────────────────────
   CONTACT PAGE
───────────────────────────────────────────── */
.contact-wrap { max-width: 56rem; margin-inline: auto; }
.contact-header { text-align: center; margin-bottom: 3rem; }
.contact-h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.contact-intro { color: var(--color-muted-fg); font-family: var(--font-body); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 2fr; gap: 2.5rem; } }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-card {
  background-color: var(--color-secondary);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.contact-card p { font-size: 0.875rem; color: var(--color-muted-fg); margin-bottom: 0.75rem; font-family: var(--font-body); }
.contact-details-list { display: flex; flex-direction: column; gap: 1rem; }
.contact-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: var(--color-muted-fg);
}
.contact-details-list li a { transition: color 0.2s; }
.contact-details-list li a:hover { color: var(--color-primary); }
.contact-icon { color: var(--color-primary); flex-shrink: 0; }
.contact-address { align-items: flex-start; }
.break-all { word-break: break-all; }

.contact-social-links { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-primary);
  font-family: var(--font-body);
  transition: color 0.2s;
}
.contact-social-link:hover { text-decoration: underline; }

/* Contact form */
.contact-success {
  text-align: center;
  padding-block: 5rem;
}
.success-icon {
  width: 4rem; height: 4rem;
  background-color: var(--color-primary);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  color: var(--color-primary-fg);
}
.contact-success h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.contact-success p { color: var(--color-muted-fg); margin-bottom: 2rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; }
.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: var(--color-foreground);
  font-family: var(--font-body);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 0 1px var(--color-primary);
  border-color: var(--color-primary);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-muted-fg); }
.form-group textarea { resize: none; }
.contact-submit { align-self: flex-start; }

/* ─────────────────────────────────────────────
   FAQ PAGE
───────────────────────────────────────────── */
.faq-wrap { max-width: 48rem; margin-inline: auto; padding-block: 2.5rem 5rem; }
.faq-header { text-align: center; margin-bottom: 3rem; }
.faq-h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.faq-intro { color: var(--color-muted-fg); font-family: var(--font-body); }
.faq-sections { display: flex; flex-direction: column; gap: 2.5rem; }
.faq-cat-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
.faq-items { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--color-foreground);
  transition: background-color 0.2s;
}
.faq-question:hover { background-color: rgba(255,243,207,0.5); }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-chevron { flex-shrink: 0; color: var(--color-muted-fg); transition: transform 0.3s; }
.faq-answer { padding: 0 1.25rem 1.25rem; }
.faq-answer p { font-size: 0.875rem; color: var(--color-muted-fg); line-height: 1.7; font-family: var(--font-body); }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.site-footer {
  background-color: var(--color-header-bg);
  border-top: 1px solid var(--color-border);
}
.footer-inner { padding-block: 3.5rem; }
@media (min-width: 1024px) { .footer-inner { padding-block: 5rem; } }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand .footer-logo-link { display: inline-block; margin-bottom: 1.25rem; }
.footer-brand .site-logo-img { height: 5rem !important; }
.footer-site-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }

.footer-tagline {
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  max-width: 22rem;
  line-height: 1.7;
  font-family: var(--font-body);
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.social-btn {
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  background-color: rgba(243,58,142,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: background-color 0.3s, color 0.3s;
}
.social-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-primary-fg);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}
.theme-footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-nav-list a,
.theme-footer-nav-list li a {
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  font-family: var(--font-body);
  transition: color 0.2s;
}
.theme-footer-nav-list a:hover,
.theme-footer-nav-list li a:hover { color: var(--color-primary); }

.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  font-family: var(--font-body);
}
.footer-contact-list li a { transition: color 0.2s; }
.footer-contact-list li a:hover { color: var(--color-primary); }
.footer-icon { color: var(--color-primary); flex-shrink: 0; margin-top: 0.1rem; }
.footer-address { align-items: flex-start; }

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-bottom p { font-size: 0.75rem; color: var(--color-muted-fg); font-family: var(--font-body); }
.footer-bottom a:hover { color: var(--color-primary); text-decoration: underline; }
.footer-bottom-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .footer-bottom-right { flex-direction: row; align-items: center; gap: 1rem; }
}

/* ─────────────────────────────────────────────
   SINGLE PRODUCT PAGE
───────────────────────────────────────────── */
.single-product-main { padding-top: var(--header-height); }
.product-back-link-row { padding-block: 1.5rem; }

.theme-product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  .theme-product-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.theme-product-layout { min-width: 0; }

/* Gallery */
.theme-product-gallery { min-width: 0; max-width: 100%; }
.product-main-img-wrap {
  border-radius: var(--card-radius);
  overflow: hidden;
  background-color: var(--color-secondary);
  margin-bottom: 1rem;
}
.product-main-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.theme-product-thumbnails {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  max-width: 100%;
}
.product-thumb-btn {
  width: 5rem; height: 6rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: var(--color-secondary);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.product-thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb-btn.is-active { border-color: var(--color-foreground); }
.product-thumb-btn:hover { border-color: var(--color-primary); }

/* Product info */
.theme-product-info { min-width: 0; max-width: 100%; padding-top: 0; }
@media (min-width: 1024px) { .theme-product-info { padding-top: 2.5rem; } }

.product-categories {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 0.5rem;
  overflow-wrap: break-word;
}
.product-categories a { color: inherit; transition: color 0.2s; }
.product-categories a:hover { color: var(--color-primary); }

.product-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}
.product-price {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
}
.product-price .woocommerce-Price-amount { font-weight: 600; }
.product-price ins { text-decoration: none; }
.product-price del { color: var(--color-muted-fg); font-size: 0.9em; margin-right: 0.5rem; }

.product-sold-out-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--color-muted-fg);
  color: var(--color-background);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.product-description {
  color: var(--color-muted-fg);
  line-height: 1.75;
  margin-bottom: 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Add to cart area */
.theme-add-to-cart-area {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  align-items: center;
}
.theme-quantity-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
}
.theme-qty-minus, .theme-qty-plus {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: background-color 0.2s;
  color: var(--color-foreground);
  pointer-events: auto;
}
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--color-secondary); }
.theme-qty-input {
  padding: 0.75rem 0.5rem;
  min-width: 2.5rem;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  font-size: 0.875rem;
  background-color: transparent;
  color: var(--color-foreground);
  -moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-qty-input:focus { outline: none; }

.product-production-notice {
  font-size: 0.75rem;
  color: var(--color-muted-fg);
  text-align: center;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.product-details-section {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  margin-top: 1rem;
}
.product-details-title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.product-details-section ul { display: flex; flex-direction: column; gap: 0.5rem; }
.product-details-section li {
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-family: var(--font-body);
}
.product-details-section li::before {
  content: '';
  display: inline-block;
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--color-primary);
  border-radius: 9999px;
  margin-top: 0.45rem;
  flex-shrink: 0;
}

/* Add to cart button 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-primary-fg) !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;
  flex: 1 1 auto;
  min-width: 160px;
}
/* WooCommerce: form.cart .button { float:left } quita el botón del flujo y el margin-top no “separa” del bloque de cantidad */
.woocommerce div.product form.cart .single_add_to_cart_button.button,
.woocommerce-page div.product form.cart .single_add_to_cart_button.button {
  float: none !important;
  clear: both;
  margin-top: 30px !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-primary-fg) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.4 !important;
  background-color: var(--color-primary) !important;
}

/* Hide "View Cart" after AJAX add */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Variations table layout */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
  display: block;
  width: 100%;
}
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .variations td.label label { font-size: 0.875rem; font-weight: 500; font-family: var(--font-body); }
.single-product .variations td.value select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  background-color: var(--color-background);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  margin-bottom: 0.5rem;
}
.single-product .reset_variations {
  font-size: 0.75rem;
  color: var(--color-muted-fg);
  text-decoration: underline;
  cursor: pointer;
}
.single-product .single_variation { margin-bottom: 1rem; }
.single-product .woocommerce-variation-price .woocommerce-Price-amount { font-size: 1.125rem; font-weight: 600; }

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

/* Related products */
.related-products-section {
  padding-block: 5rem;
  border-top: 1px solid var(--color-border);
}
.related-products-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 2.5rem;
}

/* ─────────────────────────────────────────────
   CART DRAWER
───────────────────────────────────────────── */
#theme-cart-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(31,24,22,0.2);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
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: 201;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 32px rgba(31,24,22,0.15);
  transform: translateX(100%);
  transition: transform 0.3s var(--transition-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);
  flex-shrink: 0;
}
.cart-drawer-title-row { display: flex; align-items: center; gap: 0.75rem; }
.cart-drawer-title { font-family: var(--font-display); font-size: 1.125rem; }
.cart-drawer-close {
  padding: 0.25rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  color: var(--color-foreground);
}
.cart-drawer-close:hover { opacity: 1; }

.cart-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  color: var(--color-muted-fg);
  gap: 1rem;
}
.cart-empty-state p { font-family: var(--font-body); }

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.cart-item { display: flex; gap: 1rem; }
.cart-item-thumb {
  display: block;
  width: 5rem; height: 6rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: var(--color-secondary);
  flex-shrink: 0;
}
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.25rem;
  transition: opacity 0.2s;
}
.cart-item-name:hover { opacity: 0.7; }
.cart-item-price { font-size: 0.875rem; color: var(--color-muted-fg); }
.cart-item-variation { font-size: 0.75rem; color: var(--color-muted-fg); margin-top: 0.25rem; }
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.cart-qty-btn {
  padding: 0.25rem;
  border-radius: 0.25rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: background-color 0.2s;
  color: var(--color-foreground);
  pointer-events: auto;
}
.cart-qty-btn:hover { background-color: var(--color-secondary); }
.cart-item-qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.cart-remove-btn {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--color-muted-fg);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  pointer-events: auto;
}
.cart-remove-btn:hover { color: var(--color-foreground); }

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}
.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}
.cart-subtotal-row span { color: var(--color-muted-fg); }
.cart-subtotal-amount { font-weight: 600; color: var(--color-foreground); }
.cart-shipping-note { font-size: 0.75rem; color: var(--color-muted-fg); font-family: var(--font-body); }
.cart-checkout-btn { width: 100%; border-radius: var(--btn-radius); }

/* ─────────────────────────────────────────────
   ARCHIVE / SHOP PAGE
───────────────────────────────────────────── */
.archive-product-main { padding-top: var(--header-height); padding-bottom: 5rem; }
.archive-shop-section { padding-block: 3rem; }
.no-products { color: var(--color-muted-fg); text-align: center; padding: 3rem; }
.woocommerce-pagination ul {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
  font-size: 0.875rem;
  transition: background-color 0.2s;
}
.woocommerce-pagination ul li a:hover { background-color: var(--color-secondary); }
.woocommerce-pagination ul li span.current { background-color: var(--color-primary); color: white; border-color: var(--color-primary); }

/* ─────────────────────────────────────────────
   WOOCOMMERCE NOTICES
───────────────────────────────────────────── */
/* Hide notices in single product — drawer provides feedback */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
/* Hide in cart drawer itself */
#theme-cart-drawer .woocommerce-message { display: none; }

/* Style notices on other pages */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
}
.woocommerce-message { background-color: var(--color-secondary); border-left: 4px solid var(--color-primary); }
.woocommerce-error  { background-color: #fef2f2; border-left: 4px solid #ef4444; color: #991b1b; }
.woocommerce-info   { background-color: #eff6ff; border-left: 4px solid #3b82f6; }

/* ─────────────────────────────────────────────
   CHECKOUT
───────────────────────────────────────────── */
body.woocommerce-checkout .site-main {
  padding-top: var(--header-height);
  padding-bottom: 4rem;
}
body.woocommerce-checkout .inner-page-container { max-width: 100%; }
body.woocommerce-checkout .page-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
}
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.wc-block-checkout.is-large {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--checkout-gap);
    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-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  background-color: var(--color-background);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-fg) !important;
  border-radius: var(--btn-radius) !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  border: none !important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-secondary);
  border-radius: var(--card-radius);
  padding: var(--section-padding);
}
/* Notice elements full-width in grid */
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }

/* ─────────────────────────────────────────────
   THANK YOU PAGE
───────────────────────────────────────────── */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order { padding-block: 2rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  padding-bottom: 1rem;
}
body.theme-thankyou-page .woocommerce-order-overview {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  background-color: var(--color-secondary);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview li {
  font-size: 0.875rem;
  font-family: var(--font-body);
}
body.theme-thankyou-page .woocommerce-order-overview strong { font-weight: 600; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; }
body.theme-thankyou-page .woocommerce-customer-details address {
  background-color: var(--color-secondary);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  font-style: normal;
  font-size: 0.875rem;
  font-family: var(--font-body);
  max-width: 480px;
  overflow-wrap: break-word;
}
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 1rem; font-size: 0.875rem; border-bottom: 1px solid var(--color-border); }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }

/* ─────────────────────────────────────────────
   NOT FOUND
───────────────────────────────────────────── */
.notfound-wrap {
  padding-block: 8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.notfound-wrap h1 { font-size: clamp(2rem, 5vw, 3rem); }
.notfound-wrap p { color: var(--color-muted-fg); font-family: var(--font-body); }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 767px) {
  .about-secondary-photo { display: none; }
  .about-spinning-badge  { display: none; }
  .shop-header { flex-direction: column; }
  .shop-search-wrap { max-width: 100%; }
}

/* ─────────────────────────────────────────────
   SCROLL-MT UTILITY
───────────────────────────────────────────── */
#shop { scroll-margin-top: var(--header-height); }
