/* ==========================================================================
   Hernandez Family Customz — theme.css
   Built by The Free Website Guys
   ========================================================================== */

:root {
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --radius: 0.125rem;
  --shadow-soft: 0 2px 0 0 rgba(26,29,35,0.08);
  --shadow-elevated: 0 10px 30px -14px rgba(26,29,35,0.35);
  --ease-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);

  --color-card: color-mix(in srgb, var(--color-background) 92%, white);
  --btn-radius: 9999px;
  --btn-height: 52px;
  --btn-padding: 0 2.5rem;
  --btn-font-size: 12px;
  --btn-font-weight: 500;
  --btn-letter-spacing: 0.32em;
  --btn-text-transform: uppercase;
  --btn-icon-padding: 0;
  --color-button-text: var(--color-primary-foreground);
  --checkout-gap: 2.5rem;
  --header-height: 80px;
}

/* ---------------------------- Reset & Base ------------------------------ */
*, *::before, *::after { box-sizing: border-box; border-color: var(--color-border); }
html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img) {
  max-width: 100%;
  height: auto;
}
.cover-img, .hero-bg-img, .product-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
button { font-family: inherit; cursor: pointer; background: none; border: none; padding: 0; color: inherit; }
a { color: inherit; text-decoration: none; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* Clickable elements */
.theme-nav-link,
.theme-mobile-nav-link,
.theme-footer-nav-link,
.theme-nav-list a,
.theme-mobile-nav-list a,
.theme-footer-nav-list a,
.theme-footer-nav-link,
.site-header__icon-btn,
.site-header__brand,
.site-header__logo-wrap,
.site-footer__logo-link,
.theme-announcement-bar__dismiss,
.category-tile,
.theme-cat-filter,
.faq-item__question,
.theme-accordion__trigger,
.theme-product-card,
.theme-product-thumb,
.theme-cart-item__image,
.theme-cart-item__remove,
.theme-modal__contact-link,
.site-footer__contact-item,
.link-underline,
.btn-hero-primary,
.btn-theme-primary,
.btn-theme-dark,
.btn-theme-outline,
.theme-attr-pill,
.theme-color-pill,
.theme-qty-minus,
.theme-qty-plus,
.theme-modal__close,
[data-cart-close],
[data-modal-close],
[data-cart-empty] {
  cursor: pointer;
}

/* WordPress admin bar — prevent header overlap when logged in */
body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: inherit;
  font-size: inherit;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}

.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding-inline: 1.5rem; box-sizing: border-box; }
@media (min-width: 1024px) { .container-wide { padding-inline: 2rem; } }
.container-narrow { width: 100%; max-width: 42rem; margin: 0 auto; padding-inline: 1.5rem; text-align: center; box-sizing: border-box; }

.theme-home,
.site-main,
.site-footer {
  max-width: 100%;
  overflow-x: clip;
}

.section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-marigold);
  margin-bottom: 0.75rem;
}
.section-heading { font-weight: 600; letter-spacing: 0.01em; }

.link-underline { position: relative; display: inline-block; }
.link-underline::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

.scroll-mt-24 { scroll-margin-top: 6rem; }
.theme-visually-hidden { display: none !important; }

/* Buttons */
.btn-hero-primary, .btn-theme-primary, .btn-theme-dark, .btn-theme-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 100%;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 1.25rem 3rem;
  border-radius: 0;
  transition: background-color 0.2s ease, opacity 0.2s ease, color 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-hero-primary { background: var(--color-marigold); color: var(--color-background); }
.btn-hero-primary:hover { background: color-mix(in srgb, var(--color-marigold) 90%, black); }
.btn-theme-dark { background: var(--color-foreground); color: var(--color-background); font-family: var(--font-display); }
.btn-theme-dark:hover { background: color-mix(in srgb, var(--color-foreground) 90%, white); }
.btn-theme-primary { background: var(--color-foreground); color: var(--color-background); padding: 1rem 1.5rem; border-radius: 9999px; width: 100%; font-weight: 500; }
.btn-theme-primary:hover { background: color-mix(in srgb, var(--color-foreground) 90%, white); }
.btn-theme-outline { background: transparent; color: var(--color-foreground); border: 1px solid var(--color-border); padding: 0.75rem 1.5rem; text-transform: none; letter-spacing: normal; font-size: 14px; }
.btn-theme-outline:hover { background: var(--color-secondary); }

/* ------------------------- Scroll-reveal system -------------------------- */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal-section.is-visible .reveal-up,
body.is-customizer .reveal-up,
.no-js .reveal-up {
  opacity: 1;
  transform: translateY(0);
}
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}
.reveal-item.is-visible,
body.is-customizer .reveal-item,
.no-js .reveal-item {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-item { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------------------------- Announcement bar --------------------------- */
.theme-announcement-bar { position: relative; background: var(--color-foreground); color: var(--color-background); overflow: hidden; }
.theme-announcement-bar__inner { padding: 0.5rem 2.75rem 0.5rem 1.5rem; text-align: center; }
.theme-announcement-bar__text { font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; margin: 0; overflow-wrap: anywhere; }
.theme-announcement-bar__dismiss {
  position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
  padding: 0.25rem; opacity: 0.7; transition: opacity 0.2s ease;
}
.theme-announcement-bar__dismiss:hover { opacity: 1; }
.theme-announcement-bar--hidden { display: none; }

/* --------------------------------- Header -------------------------------- */
.site-header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 50;
  max-width: 100%;
  overflow: visible;
  background: var(--color-background);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header.is-scrolled, .site-header.is-menu-open {
  background: color-mix(in srgb, var(--color-background) 95%, transparent);
  backdrop-filter: blur(6px);
  border-bottom-color: var(--color-border);
}
.site-header__nav { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 0.75rem; min-width: 0; }
.site-header__brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; flex-shrink: 1; }
.site-header__logo-wrap { position: relative; width: 56px; height: 56px; flex-shrink: 0; }
.site-logo-img { height: var(--logo-height, 60px) !important; width: auto !important; max-width: 100%; object-fit: contain; display: block; }
.site-header__logo-wrap .site-logo-img { height: 100%; width: 100%; }
.site-header__brand-text { display: none; flex-direction: column; line-height: 1; min-width: 0; }
@media (min-width: 640px) { .site-header__brand-text { display: flex; } }
.site-header__brand-line { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: 0.08em; overflow-wrap: anywhere; }
.site-header__brand-line--2 { letter-spacing: 0.28em; color: var(--color-primary); }
@media (min-width: 1024px) { .site-header__brand-line { font-size: 16px; } }

.site-header__center-nav { display: none; flex: 1; align-items: center; justify-content: center; }
@media (min-width: 1024px) { .site-header__center-nav { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 1rem; flex-wrap: nowrap; }
@media (min-width: 1280px) { .theme-nav-list { gap: 2rem; } }
.theme-nav-list a, .theme-nav-link {
  font-family: var(--font-display); font-weight: 500; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  white-space: nowrap; transition: color 0.3s ease; position: relative; display: inline-block;
}
.theme-nav-list a::after, .theme-nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-smooth);
}
.theme-nav-list a:hover::after, .theme-nav-link:hover::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
@media (min-width: 768px) { .site-header__actions { gap: 0.75rem; } }
.site-header__icon-btn { position: relative; padding: 0.5rem; transition: opacity 0.2s ease; }
.site-header__icon-btn:hover { opacity: 0.6; }
.theme-scroll-shop { display: none; }
@media (min-width: 768px) { .theme-scroll-shop.site-header__icon-btn { display: inline-flex; } }
.theme-cart-count {
  position: absolute; top: -2px; right: -2px; width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500; background: var(--color-primary); color: var(--color-primary-foreground);
  border-radius: 9999px;
}
.theme-cart-count:empty { display: none; }
.site-header__menu-toggle { display: inline-flex; }
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }
.icon-menu-close { display: none; }
.site-header.is-menu-open .icon-menu-open { display: none; }
.site-header.is-menu-open .icon-menu-close { display: block; }

.site-header__mobile-nav {
  display: none;
  border-top: 1px solid var(--color-border);
  padding-block: 1rem;
  opacity: 1;
}
.site-header.is-menu-open .site-header__mobile-nav {
  display: block;
  animation: mobileNavFadeIn 0.4s var(--ease-smooth) forwards;
}
@media (min-width: 1024px) { .site-header__mobile-nav { display: none !important; } }

.theme-mobile-nav-list,
.theme-mobile-nav-list ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.theme-mobile-nav-item { margin: 0; padding: 0; width: 100%; }
.theme-mobile-nav-link,
.theme-mobile-nav-list a {
  display: block;
  width: fit-content;
  max-width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
  background: none;
  border: 0;
  cursor: pointer;
}
.theme-mobile-nav-link:hover,
.theme-mobile-nav-list a:hover { color: var(--color-muted-foreground); }

@keyframes mobileNavFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.icon-12 { width: 12px; height: 12px; }
.icon-14 { width: 14px; height: 14px; }
.icon-16 { width: 16px; height: 16px; }
.icon-20 { width: 20px; height: 20px; }
.icon-28 { width: 28px; height: 28px; }
.icon-48 { width: 48px; height: 48px; }
.theme-icon { flex-shrink: 0; }

/* ---------------------------------- Hero ---------------------------------- */
.theme-no-hero .hero-section { display: none; }
.hero-section { background: var(--color-background); }
.hero-section__frame { position: relative; }
.hero-section__media {
  position: relative; width: 100%; height: 78vh; min-height: 560px;
}
@media (min-width: 768px) { .hero-section__media { height: 88vh; min-height: 680px; } }
.hero-section__backdrop {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-section__image { object-position: center; }
.hero-section__gradient {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, color-mix(in srgb, var(--color-foreground) 85%, transparent), color-mix(in srgb, var(--color-foreground) 45%, transparent), transparent);
}
.hero-section__inner {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; align-items: center;
}
.hero-section__content { max-width: 36rem; position: relative; z-index: 1; min-width: 0; }
.hero-section__content .btn-hero-primary {
  display: inline-flex;
  margin-top: 0;
  background-color: var(--color-marigold);
  color: var(--color-background);
  opacity: 1;
  visibility: visible;
}
.hero-section__eyebrow {
  display: block; font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--color-marigold);
  font-family: var(--font-body); margin-bottom: 1rem;
}
.hero-section__title {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 11vw, 3.75rem); line-height: 0.95; letter-spacing: 0.01em;
  color: var(--color-background); margin-bottom: 1.5rem; overflow-wrap: anywhere;
}
@media (min-width: 768px) { .hero-section__title { font-size: 4.5rem; } }
@media (min-width: 1280px) { .hero-section__title { font-size: 6rem; } }
.hero-section__title-line2 { white-space: normal; }
@media (min-width: 768px) { .hero-section__title-line2 { white-space: nowrap; } }
.hero-section__subtitle {
  color: color-mix(in srgb, var(--color-background) 90%, transparent);
  font-size: 1rem; line-height: 1.625; margin-bottom: 2.5rem; max-width: 42rem; overflow-wrap: anywhere;
}
@media (min-width: 768px) { .hero-section__subtitle { font-size: 1.125rem; } }

.hero-anim { opacity: 1; transform: none; }
html.js-hero-animate .hero-anim {
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.8s var(--ease-smooth) forwards;
}
html.js-hero-animate .hero-anim--1 { animation-delay: 0.25s; }
html.js-hero-animate .hero-anim--2 { animation-delay: 0.35s; transform: translateY(24px); }
html.js-hero-animate .hero-anim--3 { animation-delay: 0.55s; transform: translateY(16px); }
@keyframes heroReveal { to { opacity: 1; transform: translateY(0); } }
body.is-customizer .hero-anim,
html.js-hero-animate .hero-section.is-revealed .hero-anim { opacity: 1; transform: none; animation: none; }
@media (prefers-reduced-motion: reduce) {
  html.js-hero-animate .hero-anim { animation: none; opacity: 1; transform: none; }
}

/* ---------------------------------- About --------------------------------- */
.about-section { background: #fff; overflow-x: clip; }
.about-section__inner { padding-block: 5rem; }
@media (min-width: 768px) { .about-section__inner { padding-block: 7rem; } }
.about-section__heading { font-size: clamp(2rem, 8vw, 2.25rem); line-height: 1.25; margin-bottom: 2rem; overflow-wrap: anywhere; }
@media (min-width: 768px) { .about-section__heading { font-size: 3.75rem; } }
.about-section__paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }
.about-section__cta { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-display); font-weight: 500; }

/* ------------------------------ Category tiles ----------------------------- */
.category-section { background: var(--color-background); overflow-x: clip; }
.category-section__inner { padding-block: 4rem 5rem; }
@media (min-width: 768px) { .category-section__inner { padding-block: 5rem; } }
.category-section__header { text-align: center; margin-bottom: 2.5rem; }
.category-section__heading { font-size: clamp(2rem, 8vw, 2.25rem); overflow-wrap: anywhere; }
@media (min-width: 768px) { .category-section__heading { font-size: 3.75rem; } }
.category-section__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .category-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.category-tile { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; text-align: left; cursor: pointer; }
.category-tile__image { z-index: 0; transform-origin: center center; transition: transform 0.7s var(--ease-smooth); }
.category-tile:hover .category-tile__image { transform: scale(1.05); }
.category-tile__gradient {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 90%, transparent), color-mix(in srgb, var(--color-foreground) 40%, transparent), color-mix(in srgb, var(--color-foreground) 10%, transparent));
  transition: background 0.5s ease;
}
.category-tile:hover .category-tile__gradient {
  background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 95%, transparent), color-mix(in srgb, var(--color-foreground) 40%, transparent), color-mix(in srgb, var(--color-foreground) 10%, transparent));
}
.category-tile__content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; text-align: left; color: var(--color-background); text-shadow: 0 1px 8px rgba(0,0,0,0.45); pointer-events: none; }
@media (min-width: 768px) { .category-tile__content { padding: 1.75rem; } }
.category-tile__tagline { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 0.5rem; color: var(--color-marigold); filter: brightness(1.5); }
.category-tile__tagline-bar { height: 1px; width: 1.5rem; background: currentColor; }
.category-tile__label { font-size: 1.875rem; letter-spacing: 0.02em; margin-bottom: 0.5rem; color: var(--color-background); }
@media (min-width: 768px) { .category-tile__label { font-size: 2.25rem; } }
.category-tile__shop-now { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }

/* --------------------------------- Owners ---------------------------------- */
.owners-section { background: var(--color-background); overflow-x: clip; }
.owners-section__grid { display: grid; grid-template-columns: 1fr; align-items: stretch; min-width: 0; }
@media (min-width: 1024px) { .owners-section__grid { grid-template-columns: 1fr 1fr; } }
.owners-section__media { display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; }
@media (min-width: 768px) { .owners-section__media { padding: 5rem 3.5rem; } }
@media (min-width: 1024px) { .owners-section__media { padding: 6rem 4rem; } }
.owners-section__frame { position: relative; width: 100%; max-width: 32rem; aspect-ratio: 4/5; overflow: hidden; background: var(--color-secondary); box-shadow: var(--shadow-elevated); }
.owners-section__content { display: flex; align-items: center; background: var(--color-background); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .owners-section__content { padding: 6rem 3.5rem; } }
@media (min-width: 1280px) { .owners-section__content { padding: 6rem 6rem; } }
.owners-section__inner { max-width: 36rem; }
.owners-section__heading { font-size: clamp(2.25rem, 9vw, 3rem); line-height: 1.02; margin-bottom: 1.75rem; overflow-wrap: anywhere; }
@media (min-width: 768px) { .owners-section__heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .owners-section__heading { font-size: 4.5rem; } }
.owners-section__quote { font-family: var(--font-display); font-size: 1.5rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.375; letter-spacing: 0.02em; margin-bottom: 2rem; text-transform: none; }
@media (min-width: 768px) { .owners-section__quote { font-size: 1.875rem; } }
.owners-section__paragraph { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }

/* --------------------------------- Services --------------------------------- */
.services-section { background: var(--color-butter); }
.services-section__inner { padding-block: 5rem; }
@media (min-width: 768px) { .services-section__inner { padding-block: 7rem; } }
.services-section__header { text-align: center; margin-bottom: 3.5rem; }
@media (min-width: 768px) { .services-section__header { margin-bottom: 5rem; } }
.services-section__heading { font-size: clamp(2.25rem, 9vw, 3rem); line-height: 1.02; overflow-wrap: anywhere; }
@media (min-width: 768px) { .services-section__heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .services-section__heading { font-size: 4.5rem; } }
.services-section__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .services-section__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .services-section__grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }
.service-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-border);
  overflow: hidden; box-shadow: var(--shadow-soft); transition: box-shadow 0.3s ease;
}
.service-card:hover { box-shadow: var(--shadow-elevated); }
.service-card__image-wrapper { position: relative; aspect-ratio: 1/1; width: 100%; overflow: hidden; background: #fff; }
.service-card__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card__image { transform: scale(1.05); }
.service-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
@media (min-width: 768px) { .service-card__body { padding: 2rem; } }
.service-card__subtitle { display: block; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.service-card__title { font-size: 1.5rem; line-height: 1.05; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .service-card__title { font-size: 1.875rem; } }
.service-card__description { font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.7; flex: 1; }

/* ----------------------------------- Shop ------------------------------------ */
.shop-section { background: var(--color-background); overflow-x: clip; }
.shop-section__inner { padding-block: 4rem 6rem; min-width: 0; }
@media (min-width: 768px) { .shop-section__inner { padding-block: 6rem; } }
.shop-section__header { text-align: center; margin-bottom: 3rem; }
.shop-heading { font-size: clamp(2rem, 8vw, 2.25rem); margin-bottom: 2.5rem; overflow-wrap: anywhere; }
@media (min-width: 768px) { .shop-heading { font-size: 3.75rem; } }

.shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search__icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.shop-search__input {
  width: 100%; padding: 0.5rem 0 0.5rem 1.75rem; background: transparent; border: none; border-bottom: 1px solid var(--color-border);
  font-family: var(--font-body); font-size: 1rem; color: var(--color-foreground); transition: border-color 0.2s ease;
}
.shop-search__input:focus { outline: none; border-color: var(--color-foreground); }
.shop-search__input::placeholder { color: var(--color-muted-foreground); }

.shop-category-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.theme-cat-filter {
  padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body);
  border-radius: 9999px; border: 1px solid var(--color-border); background: transparent; color: var(--color-foreground);
  transition: all 0.3s ease;
}
.theme-cat-filter:hover { border-color: var(--color-foreground); }
.theme-cat-filter.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.shop-price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.shop-price-filter__toggle {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground);
  transition: color 0.3s ease; font-family: var(--font-body);
}
.shop-price-filter__toggle:hover { color: var(--color-foreground); }
.shop-price-filter__value { opacity: 0.7; text-transform: none; letter-spacing: normal; }
.shop-price-filter__chevron { transition: transform 0.3s ease; }
.shop-price-filter.is-open .shop-price-filter__chevron { transform: rotate(180deg); }
.shop-price-filter__panel { width: 100%; max-width: 24rem; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth); }
.shop-price-filter.is-open .shop-price-filter__panel { max-height: 200px; opacity: 1; padding: 0.5rem 0; }
.shop-price-filter__labels { display: flex; justify-content: space-between; font-size: 14px; color: var(--color-muted-foreground); margin-top: 0.75rem; }

.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 9999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-secondary); }
.range-track-fill { background: var(--color-primary); }
.range-input {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0;
  -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none;
}
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%;
  background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer;
}
.range-input::-moz-range-thumb {
  pointer-events: auto; width: 20px; height: 20px; border-radius: 50%;
  background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer;
}
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.theme-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }
.theme-product-card-wrap { width: auto; min-width: 0; max-width: 100%; }
.theme-product-card-wrap.is-filtered-out { display: none !important; }
.theme-product-card-wrap.is-beyond-initial:not(.show-all) { display: none !important; }

.theme-product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }
.theme-product-grid--related .theme-product-card-wrap { width: auto; }

.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper {
  position: relative; aspect-ratio: 3/4; background: var(--color-secondary); overflow: hidden; margin-bottom: 1.25rem;
}
.theme-product-card__image-wrapper .theme-card-link {
  position: absolute; inset: 0; z-index: 1;
}
.theme-product-card__image { transition: transform 0.7s var(--ease-smooth); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }

.theme-product-card__badge {
  position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.25rem 0.75rem; font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.18em; background: var(--color-foreground); color: var(--color-background);
  border-radius: 9999px; z-index: 3;
}
.theme-product-card__quick-add {
  position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 3;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--color-background); color: var(--color-foreground); box-shadow: var(--shadow-soft);
  opacity: 1; transition: opacity 0.3s ease, transform 0.2s ease;
  pointer-events: auto;
}
@media (min-width: 768px) { .theme-product-card__quick-add { opacity: 0; } .theme-product-card:hover .theme-product-card__quick-add { opacity: 1; } }
.theme-product-card__quick-add:hover { transform: scale(1.08); }
.theme-product-card__quick-add:active { transform: scale(0.92); }
.theme-product-card__info { text-align: center; margin-top: 1rem; }
.theme-product-card__title {
  font-family: var(--font-body); font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em;
  line-height: 1.375; color: var(--color-foreground); margin-bottom: 0.5rem;
}
.theme-product-card__title-link {
  color: inherit; text-decoration: none; transition: color 0.3s ease;
}
.theme-product-card__title-link:hover { color: var(--color-primary); }
@media (min-width: 768px) { .theme-product-card__title { font-size: 16px; } }
.theme-product-card__price { font-size: 16px; color: var(--color-foreground); font-weight: 400; }
@media (min-width: 768px) { .theme-product-card__price { font-size: 18px; } }
.theme-product-card__price .woocommerce-Price-amount { font-family: var(--font-body); }

.shop-section__show-more { text-align: center; margin-top: 3rem; }
.shop-section__show-more button { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-family: var(--font-body); }
.shop-section__empty { text-align: center; padding: 5rem 0; }
.shop-section__empty p { color: var(--color-muted-foreground); }

/* ------------------------------------ FAQ ------------------------------------- */
.faq-section { background: var(--color-background); }
.faq-section__inner { padding-block: 5rem; }
@media (min-width: 768px) { .faq-section__inner { padding-block: 7rem; } }
.faq-section__header { text-align: center; margin-bottom: 3rem; }
@media (min-width: 768px) { .faq-section__header { margin-bottom: 4rem; } }
.faq-section__heading { font-size: clamp(2rem, 8vw, 2.25rem); line-height: 1.02; overflow-wrap: anywhere; }
@media (min-width: 768px) { .faq-section__heading { font-size: 3.75rem; } }
.faq-list { max-width: 48rem; margin: 0 auto; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:last-child { border-bottom: none; }
.faq-item__question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.25rem 0; text-align: left;
}
@media (min-width: 768px) { .faq-item__question { padding: 1.5rem 0; } }
.faq-item__question span { font-family: var(--font-display); font-size: 1.125rem; letter-spacing: 0.01em; transition: color 0.2s ease; text-transform: none; overflow-wrap: anywhere; }
@media (min-width: 768px) { .faq-item__question span { font-size: 1.25rem; } }
.faq-item__question:hover span { color: var(--color-marigold); }
.faq-item__chevron { flex-shrink: 0; color: var(--color-marigold); transition: transform 0.3s ease; }
.faq-item__question[aria-expanded="true"] .faq-item__chevron { transform: rotate(180deg); }
.faq-item__answer { overflow: hidden; }
.faq-item__answer p { padding-bottom: 1.5rem; padding-right: 2.5rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin: 0; }

/* -------------------------------- Contact CTA ---------------------------------- */
.contact-cta-section { position: relative; background: var(--color-butter); overflow: hidden; }
.contact-cta-section__bg { opacity: 0.7; }
.contact-cta-section__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--color-background) 60%, transparent), color-mix(in srgb, var(--color-background) 40%, transparent), color-mix(in srgb, var(--color-background) 80%, transparent));
}
.contact-cta-section__inner { position: relative; padding-block: 6rem; }
@media (min-width: 768px) { .contact-cta-section__inner { padding-block: 8rem; } }
.contact-cta-card {
  max-width: 42rem; margin: 0 auto; text-align: center;
  background: color-mix(in srgb, var(--color-background) 95%, transparent);
  backdrop-filter: blur(6px); box-shadow: var(--shadow-elevated);
  padding: 3rem 2rem; border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
}
@media (min-width: 768px) { .contact-cta-card { padding: 4rem 3.5rem; } }
.contact-cta-card__title { font-size: clamp(2rem, 8vw, 2.25rem); line-height: 1.02; margin-bottom: 1.5rem; overflow-wrap: anywhere; }
@media (min-width: 768px) { .contact-cta-card__title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-cta-card__title { font-size: 3.75rem; } }
.contact-cta-card__text { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin: 0 auto 2.5rem; max-width: 32rem; }

/* -------------------------------- Contact modal --------------------------------- */
#theme-contact-modal-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.5); opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
}
body.theme-modal-open #theme-contact-modal-overlay { opacity: 1; pointer-events: auto; }
.theme-modal {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -48%) scale(0.96); z-index: 101;
  width: calc(100% - 2rem); max-width: 32rem; max-height: 90vh; overflow-y: auto;
  background: var(--color-background); border: 1px solid var(--color-border); border-radius: 0.5rem;
  box-shadow: var(--shadow-elevated); padding: 1.5rem; opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
body.theme-modal-open .theme-modal { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.theme-modal__close { position: absolute; right: 1rem; top: 1rem; opacity: 0.7; transition: opacity 0.2s ease; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__header { margin-bottom: 1rem; }
.theme-modal__title { font-size: 1.875rem; letter-spacing: 0.04em; margin-bottom: 0.5rem; }
.theme-modal__description { font-size: 14px; color: var(--color-muted-foreground); margin: 0; }
.theme-modal__contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 14px; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-modal__contact-link { display: flex; align-items: center; gap: 0.5rem; transition: color 0.2s ease; }
.theme-modal__contact-link:hover { color: var(--color-foreground); }
.theme-modal__success { text-align: center; padding: 2rem 0; }
.theme-modal__success-icon {
  width: 56px; height: 56px; background: var(--color-primary); color: var(--color-primary-foreground);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; border-radius: 50%;
}
.theme-modal__success-title { font-size: 1.5rem; margin-bottom: 0.5rem; letter-spacing: 0.04em; }
.theme-modal__success-text { font-size: 14px; color: var(--color-muted-foreground); margin: 0; }
.theme-modal__form { display: flex; flex-direction: column; gap: 1rem; }
.theme-modal__form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-modal__form-row { grid-template-columns: 1fr 1fr; } }
.theme-form-field label { font-size: 14px; font-weight: 500; display: block; margin-bottom: 0.375rem; }
.theme-form-field input, .theme-form-field textarea {
  width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border);
  border-radius: 0.375rem; font-size: 1rem; transition: box-shadow 0.3s ease;
}
.theme-form-field input:focus, .theme-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-form-field textarea { resize: none; }
.theme-modal__form-actions { display: flex; justify-content: flex-end; }
.theme-modal__form-actions .btn-theme-dark { padding: 0.625rem 1.5rem; text-transform: none; letter-spacing: normal; font-family: var(--font-body); font-size: 14px; border-radius: 0.375rem; }

/* ---------------------------------- Cart drawer ---------------------------------- */
#theme-cart-overlay {
  position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
#theme-cart-drawer {
  position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 61;
  background: var(--color-background); 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; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; opacity: 0.7; transition: opacity 0.2s ease; }
.theme-cart-drawer__close:hover { opacity: 1; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer__empty svg { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 80px; height: 96px; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; display: block; }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 14px; font-weight: 500; display: block; margin-bottom: 0.125rem; transition: opacity 0.2s ease; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 14px; color: var(--color-muted-foreground); margin: 0; }
.theme-cart-item__meta { margin-top: 0.25rem; display: flex; flex-direction: column; gap: 0.125rem; }
.theme-cart-item__meta { list-style: none; margin: 0.5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.theme-cart-item__meta-row { display: flex; align-items: center; gap: 0.5rem; font-size: 12px; color: var(--color-muted-foreground); margin: 0; }
.theme-cart-item__meta-swatch { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--color-border); flex-shrink: 0; display: inline-block; }
.theme-cart-item__meta-text { display: inline-flex; flex-wrap: wrap; gap: 0.25rem; align-items: center; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background-color 0.2s ease; }
.theme-cart-item__qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 14px; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 14px; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal-row { display: flex; justify-content: space-between; font-size: 14px; }
.theme-cart-drawer__subtotal-row span:first-child { color: var(--color-muted-foreground); }
.theme-cart-drawer__subtotal { font-weight: 500; }
.theme-cart-drawer__shipping-note { font-size: 14px; color: var(--color-muted-foreground); margin: 0; }
.theme-cart-drawer__checkout-btn { text-align: center; }
.theme-cart-drawer__empty-btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; }

.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; }

/* ------------------------------ Single product page ------------------------------- */
.single-product-main { padding-top: 6rem; }
@media (min-width: 1024px) { .single-product-main { padding-top: 7rem; } }
.product-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem;
  padding-block: 1.5rem; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground);
}
.product-breadcrumb a, .product-breadcrumb__cat { transition: color 0.2s ease; }
.product-breadcrumb a:hover, .product-breadcrumb__cat:hover { color: var(--color-foreground); }
.product-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.product-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;
  min-width: 0;
}
@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%; }
.theme-product-gallery { display: flex; flex-direction: column; gap: 1rem; }
.theme-product-gallery__main { aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; position: relative; }
.theme-product-thumbnails { display: flex; gap: 0.75rem; overflow-x: auto; flex-wrap: wrap; max-width: 100%; padding-bottom: 0.25rem; }
.theme-product-thumb { position: relative; width: 80px; height: 80px; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); }
.theme-product-thumb img { opacity: 0.6; transition: opacity 0.2s ease; }
.theme-product-thumb:hover img, .theme-product-thumb.is-active img { opacity: 1; }
.theme-product-thumb::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-foreground); opacity: 0; transition: opacity 0.2s ease; }
.theme-product-thumb.is-active::after { opacity: 1; }

.theme-product-info { position: sticky; top: 7rem; }
.theme-product-info__category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-info__category a { color: var(--color-muted-foreground); }
.product-title { font-family: var(--font-body); font-weight: 600; font-size: 1.875rem; line-height: 1.1; margin-top: 0.75rem; margin-bottom: 1.25rem; overflow-wrap: break-word; word-break: break-word; }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.theme-product-info__price { font-size: 1.25rem; margin-bottom: 1.5rem; }
.theme-stock-indicator { font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1rem; }
.theme-stock-indicator--out { color: var(--color-destructive); }
.theme-product-info__short-desc { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; font-size: 1rem; }

.theme-attr-group { margin-bottom: 1.5rem; }
.theme-attr-group__label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body); font-weight: 400; color: var(--color-muted-foreground); margin-bottom: 0.75rem; }
.theme-attr-group__options { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.theme-attr-pill, .theme-color-pill {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.15em;
  text-transform: uppercase; border: 1px solid var(--color-border); border-radius: 9999px; font-family: var(--font-body);
  transition: all 0.2s ease;
}
.theme-attr-pill:hover, .theme-color-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-attr-pill.is-selected { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.theme-color-pill.is-selected { border-color: var(--color-foreground); background: color-mix(in srgb, var(--color-foreground) 5%, transparent); }
.theme-color-pill__swatch { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--color-border); display: inline-block; flex-shrink: 0; }
.theme-attr-select-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 0.75rem; transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input {
  width: 3rem; text-align: center; border: none; background: transparent; padding: 0.5rem 0; font-size: 14px;
  -moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-add-to-cart-area {
  display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 0.5rem;
}
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.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-foreground) !important;
  color: var(--color-background) !important;
  border: none !important;
  border-radius: 9999px !important;
  min-height: 52px !important;
  padding: 0 1.5rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: 0.85 !important;
  background-color: var(--color-foreground) !important;
  color: var(--color-background) !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-foreground) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Card compact quick-add button — overrides global rules for the icon-only card variant */
.theme-product-card .add_to_cart_button.ajax_add_to_cart,
.theme-product-card button.theme-product-card__quick-add {
  min-height: unset !important;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background-color: var(--color-background) !important;
  color: var(--color-foreground) !important;
  box-shadow: var(--shadow-soft) !important;
  border: none !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart:hover,
.theme-product-card button.theme-product-card__quick-add:hover {
  background-color: var(--color-background) !important;
  color: var(--color-foreground) !important;
  opacity: 1 !important;
}

.theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.theme-accordion__trigger span { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; font-family: var(--font-body); }
.theme-accordion__chevron { transition: transform 0.2s ease; }
.theme-accordion__trigger[aria-expanded="true"] .theme-accordion__chevron { transform: rotate(180deg); }
.theme-accordion__body { padding-bottom: 1.5rem; font-size: 15px; color: var(--color-muted-foreground); line-height: 1.7; overflow-wrap: break-word; word-break: break-word; }
.theme-accordion__body p { margin: 0 0 1rem; white-space: pre-line; }
.theme-details-heading { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; margin: 1rem 0 0.5rem; color: var(--color-foreground); }
.theme-details-list p { margin: 0 0 0.5rem; }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-section__header { text-align: center; margin-bottom: 3rem; }
.related-products-section__eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; text-transform: uppercase; }
.related-products-section__heading { font-size: 1.875rem; font-weight: 400; }
@media (min-width: 768px) { .related-products-section__heading { font-size: 2.25rem; } }

.posted_in, .woocommerce-product-details__short-description, .woocommerce-variation-description {
  overflow-wrap: break-word; word-break: break-word;
}

/* ------------------------------------ Shop archive ------------------------------------ */
.shop-archive-main { padding-block: 6rem; }
.shop-archive-main__inner .page-title { text-align: center; margin-bottom: 2.5rem; font-size: 2.25rem; }
.shop-archive-main__empty { text-align: center; color: var(--color-muted-foreground); padding: 3rem 0; }
.woocommerce-pagination { display: flex; justify-content: center; margin-top: 3rem; }
.woocommerce-pagination ul { display: flex; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.woocommerce-pagination a, .woocommerce-pagination span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--color-border); border-radius: 0.25rem; font-size: 14px;
}
.woocommerce-pagination .current { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

/* WC notices — scoped visibility */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
  padding: 1rem 1.5rem; border-radius: 0.375rem; font-size: 14px; list-style: none; margin: 0 0 1.5rem;
  border: 1px solid var(--color-border); background: var(--color-secondary); color: var(--color-foreground);
}
.woocommerce-error { border-color: var(--color-destructive); background: color-mix(in srgb, var(--color-destructive) 10%, white); }

/* -------------------------------------- 404 -------------------------------------- */
.theme-fallback-main { padding-block: 4rem; }
.theme-404-main { min-height: 60vh; display: flex; align-items: center; padding-block: 6rem; }
.theme-404-inner { text-align: center; max-width: 32rem; margin: 0 auto; }
.theme-404-title { font-size: 2.5rem; margin-bottom: 1rem; }
.theme-404-text { color: var(--color-muted-foreground); margin-bottom: 2rem; }

/* ---------------------------------- Page / Checkout shell --------------------------------- */
.site-main { padding-bottom: 4rem; }
.theme-page-container { padding-block: 6rem 4rem; }
.page-title { font-size: 2.25rem; margin-bottom: 2rem; }

/* ------------------------------------- Footer -------------------------------------- */
.site-footer { background: var(--color-surface-deep); color: var(--color-surface-deep-foreground); }
.site-footer__main { padding-block: 3.5rem; }
@media (min-width: 1024px) { .site-footer__main { padding-block: 4.5rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(12, minmax(0,1fr)); gap: 3rem; } }
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
@media (min-width: 1024px) { .site-footer__brand { grid-column: span 4; } }
.site-footer__logo-link { width: 64px; height: 64px; display: inline-block; flex-shrink: 0; }
@media (min-width: 640px) { .site-footer__logo-link { width: 80px; height: 80px; } }
.site-footer__logo-link .site-logo-img { height: 100%; width: 100%; object-fit: contain; }
.site-footer__brand-text { display: flex; flex-direction: column; line-height: 1; }
.site-footer__brand-name { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.04em; }
.site-footer__tagline { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; opacity: 0.6; margin-top: 0.5rem; }
@media (min-width: 1024px) { .site-footer__nav, .site-footer__contact { grid-column: span 4; } }
.site-footer__heading { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; opacity: 0.5; margin: 0 0 1.25rem; font-family: var(--font-body); }
.theme-footer-nav-list,
.theme-footer-nav-list ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.theme-footer-nav-list li { margin: 0; padding: 0; }
.theme-footer-nav-link,
.theme-footer-nav-list a {
  display: inline-block;
  text-align: left;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: color 0.2s ease, opacity 0.2s ease;
  width: fit-content;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.theme-footer-nav-link:hover,
.theme-footer-nav-list a:hover { opacity: 1; color: inherit; }
.site-footer__contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__contact-item { display: flex; align-items: flex-start; gap: 0.5rem; font-family: var(--font-body); font-size: 14px; opacity: 0.75; transition: opacity 0.2s ease; margin: 0; }
a.site-footer__contact-item:hover { opacity: 1; }
.site-footer__address svg { margin-top: 0.125rem; flex-shrink: 0; }
.site-footer__bottom { border-top: 1px solid color-mix(in srgb, var(--color-surface-deep-foreground) 10%, transparent); }
.site-footer__bottom-inner { padding-block: 1.5rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; }
@media (min-width: 640px) { .site-footer__bottom-inner { flex-direction: row; } }
.site-footer__copyright, .site-footer__credit { font-size: 12px; opacity: 0.6; letter-spacing: 0.02em; text-align: center; margin: 0; }
@media (min-width: 640px) { .site-footer__copyright { text-align: left; } .site-footer__credit { text-align: right; } }
.site-footer__credit a { font-weight: 700; opacity: 0.9; transition: color 0.2s ease; }
.site-footer__credit a:hover { opacity: 1; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ==========================================================================
   WooCommerce Checkout Block overrides
   ========================================================================== */
:root {
  --checkout-max-width: 80rem;
  --checkout-sidebar-min: 360px;
  --checkout-sidebar-max: 400px;
}

body.woocommerce-checkout .site-main,
body.woocommerce-checkout.site-main--checkout {
  padding-top: var(--header-height, 80px);
  padding-bottom: 4rem;
}

.theme-checkout-shell {
  width: 100%;
  max-width: var(--checkout-max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
  padding-block: 2rem 4rem;
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .theme-checkout-shell { padding-inline: 2rem; }
}

.theme-checkout-header { margin-bottom: 2.5rem; }
.theme-checkout-header__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  color: var(--color-muted-foreground);
  margin-bottom: 2rem;
  transition: color 0.2s ease;
}
.theme-checkout-header__back:hover { color: var(--color-foreground); }
.theme-checkout-header__back-icon { transform: rotate(180deg); }
.theme-checkout-header__title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.1;
  margin: 0 0 2.5rem;
}
@media (min-width: 768px) {
  .theme-checkout-header__title { font-size: 2.5rem; }
}
.theme-checkout-header__intro {
  margin: -1.5rem 0 2.5rem;
  color: var(--color-muted-foreground);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 42rem;
}

/* Neutralize parent width constraints (dedicated + embedded block). */
body.woocommerce-checkout .theme-checkout-shell .entry-content,
body.woocommerce-checkout .entry-content,
.entry-content:has(.wc-block-checkout) {
  max-width: none !important;
  width: 100%;
  margin-inline: 0;
  padding-inline: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout {
  width: 100%;
  max-width: var(--checkout-max-width);
  margin-inline: auto;
  box-sizing: border-box;
}

/* Two-column layout on the real sidebar layout container. */
@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
  body.woocommerce-checkout .wc-block-checkout-sidebar-layout.wc-block-checkout.is-large,
  .entry-content .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
  .entry-content .wc-block-checkout-sidebar-layout.wc-block-checkout.is-large {
    display: grid;
    grid-template-columns: 1fr minmax(var(--checkout-sidebar-min), var(--checkout-sidebar-max));
    gap: var(--checkout-gap, 1.5rem);
    align-items: start;
  }
}

body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner {
  grid-column: 1 / -1;
  order: 1;
}

body.woocommerce-checkout .wc-block-checkout__main,
.entry-content .wc-block-checkout__main {
  order: 2;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar {
  order: 3;
  min-width: var(--checkout-sidebar-min);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wp-block-woocommerce-checkout-totals-block {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
  width: 100%;
  background-color: var(--color-secondary);
  border-radius: 0.5rem;
  padding: 2rem;
  box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
  width: 100%;
  max-width: var(--checkout-max-width);
  margin-inline: auto;
  box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
  margin-inline: auto;
  max-width: 36rem;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
.entry-content .wc-block-components-text-input input,
.entry-content .wc-block-components-select select,
.entry-content .wc-block-components-textarea textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-foreground);
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  background: var(--color-background);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-components-text-input input:focus,
.entry-content .wc-block-components-select select:focus {
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent);
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
.entry-content .wc-block-components-text-input input::placeholder { color: var(--color-muted-foreground); }
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
.entry-content .wc-block-components-text-input input,
.entry-content .wc-block-components-select select {
  width: 100% !important;
  max-width: none !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-components-checkout-place-order-button {
  background-color: var(--color-foreground) !important;
  color: var(--color-background) !important;
  border-radius: 9999px !important;
  font-family: var(--font-body) !important;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner { border-radius: 0.375rem; }
body.woocommerce-checkout h2,
body.woocommerce-checkout .wc-block-components-title,
.entry-content .wc-block-checkout h2,
.entry-content .wc-block-checkout .wc-block-components-title {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

/* ---------------------------------- Thank-you page ---------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-order-details,
body.theme-thankyou-page .woocommerce-customer-details {
  margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview {
  display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 1.5rem; margin: 0 0 2rem;
  background: var(--color-secondary); border-radius: 0.5rem;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); padding: 0 0 1rem 0; font-size: 1.5rem; }
body.theme-thankyou-page .woocommerce-customer-details address {
  max-width: 480px; overflow-wrap: break-word;
}
@media (min-width: 768px) {
  body.theme-thankyou-page .woocommerce-customer-details {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
  }
  body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; }
}

/* ---------------------------------- Cart / Account pages parity ---------------------------------- */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height, 80px); }
