/* ==========================================================================
   Inspired by Nakeda — theme.css
   Built by The Free Website Guys
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (set defaults; overridden inline via Customizer)
   ------------------------------------------------------------------------- */
:root {
  --color-background:  #F9F6F1;
  --color-foreground:  #39213B;
  --color-primary:     #D49235;
  --color-primary-fg:  #FDFDFB;
  --color-secondary:   #F2ECE4;
  --color-accent:      #326367;
  --color-muted:       #E6E1DB;
  --color-muted-fg:    #655167;
  --color-border:      #DED8CE;
  --color-highlight:   #D8A498;

  --font-display: 'Cormorant Garamond', 'Playfair Display', serif;
  --font-body:    'Jost', 'Inter', 'Helvetica Neue', sans-serif;

  --radius:       0.25rem;
  --btn-radius:   0;
  --btn-height:   2.75rem;
  --btn-padding:  0.625rem 2rem;
  --btn-font-size:     0.6875rem;
  --btn-font-weight:   600;
  --btn-letter-spacing: 0.28em;
  --btn-text-transform: uppercase;

  --shadow-soft:     0 6px 24px -8px hsl(295 28% 18% / 0.18);
  --shadow-elevated: 0 14px 40px -12px hsl(295 28% 18% / 0.32);

  --transition-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);

  --header-height: 4.2rem;
  --logo-height:   60px;

  --card-radius: 0;
  --section-padding: 2rem;
  --checkout-gap:    2rem;
  --container-max:   80rem;
}

/* -------------------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-color: var(--color-border); }

html, body { overflow-x: hidden; }

body {
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-primary); }

button { cursor: pointer; background: none; border: none; font-family: var(--font-body); color: inherit; }

img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.shop-card__img):not(.product-carousel__img):not(.theme-product-main-image__img):not(.theme-product-thumb__img):not(.cart-item__image):not(.pair-card__img) {
  max-width: 100%;
  height: auto;
}

.cover-img,
.hero-bg-img,
.product-card-img,
.shop-card__img,
.product-carousel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.opacity-60 { opacity: 0.6; }

/* -------------------------------------------------------------------------
   3. TYPOGRAPHY UTILITIES
   ------------------------------------------------------------------------- */
.font-display  { font-family: var(--font-display); }
.font-body     { font-family: var(--font-body); }
.text-primary  { color: var(--color-primary); }
.text-muted-fg { color: var(--color-muted-fg); }
.text-foreground { color: var(--color-foreground); }
.text-background { color: var(--color-background); }

.label-eyebrow {
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-muted-fg);
  display: block;
}

/* -------------------------------------------------------------------------
   4. CONTAINER
   ------------------------------------------------------------------------- */
.container-wide {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 1024px) {
  .container-wide { padding-inline: 2.5rem; }
}

/* -------------------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: var(--btn-height);
  padding: var(--btn-padding);
  background-color: var(--color-foreground);
  color: var(--color-background);
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  border-radius: var(--btn-radius);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s var(--transition-smooth), color 0.3s var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover {
  background-color: var(--color-primary);
  color: var(--color-primary-fg);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: var(--btn-height);
  padding: var(--btn-padding);
  background-color: transparent;
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  border-radius: var(--btn-radius);
  border: 1px solid var(--color-foreground);
  cursor: pointer;
  transition: background-color 0.3s var(--transition-smooth), color 0.3s var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
}
.btn-outline:hover {
  background-color: var(--color-foreground);
  color: var(--color-background);
}

.btn-hero-primary,
.btn-hero-outline {
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 2.5rem;
  background-color: var(--color-foreground);
  color: var(--color-background);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  border-radius: 0;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s var(--transition-smooth), color 0.3s var(--transition-smooth);
}
.btn-hero-primary:hover {
  background-color: var(--color-primary);
  color: var(--color-primary-fg);
}

.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-height);
  padding: var(--btn-padding);
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  border-radius: var(--btn-radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s var(--transition-smooth), color 0.3s var(--transition-smooth);
  white-space: nowrap;
  align-self: flex-start;
}
.btn-light:hover {
  background-color: var(--color-primary);
  color: var(--color-primary-fg);
}

/* -------------------------------------------------------------------------
   6. HEADER
   ------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: color-mix(in srgb, var(--color-background) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-solid {
  background-color: var(--color-background);
  box-shadow: var(--shadow-soft);
}

.site-header__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  position: relative;
}

@media (min-width: 768px) {
  .site-header__inner { padding-inline: 2rem; }
}

.site-header__left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-header__nav {
  display: none;
}
@media (min-width: 1024px) {
  .site-header__nav { display: flex; align-items: center; gap: 1.75rem; }
}

.theme-nav-list { list-style: none; display: flex; gap: 1.75rem; }
.theme-nav-link,
.theme-nav-list a {
  font-size: 0.8125rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-foreground);
  text-decoration: none;
  transition: color 0.3s;
}
.theme-nav-link:hover,
.theme-nav-list a:hover { color: var(--color-primary); }
.theme-nav-list .current-menu-item > a { color: var(--color-primary); }

.site-header__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.site-header__logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo-img {
  height: var(--logo-height) !important;
  width: auto !important;
  display: block !important;
  max-height: calc(var(--header-height) - 1rem);
}

.site-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--color-foreground);
  line-height: var(--logo-height);
  display: block;
  white-space: nowrap;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 0;
}

.site-header__hamburger,
.site-header__search-btn,
.site-header__cart-btn {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-foreground);
  transition: color 0.3s;
  background: none;
  border: none;
  cursor: pointer;
}
.site-header__hamburger:hover,
.site-header__search-btn:hover,
.site-header__cart-btn:hover { color: var(--color-primary); }

.site-header__hamburger { display: inline-flex; }
@media (min-width: 1024px) { .site-header__hamburger { display: none; } }

.site-header__search-btn { display: none; }
@media (min-width: 640px) { .site-header__search-btn { display: inline-flex; } }

.site-header__cart-btn { position: relative; }

.theme-cart-count {
  position: absolute;
  top: -0.125rem;
  right: -0.125rem;
  width: 1.15rem;
  height: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 500;
  background-color: var(--color-primary);
  color: var(--color-primary-fg);
  border-radius: 50%;
  font-family: var(--font-body);
  pointer-events: none;
}
.theme-cart-count:empty { display: none; }

/* -------------------------------------------------------------------------
   7. MOBILE MENU
   ------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}
.mobile-menu.is-open { pointer-events: all; }

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background-color: color-mix(in srgb, var(--color-foreground) 30%, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }

.mobile-menu__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(88vw, 22rem);
  background-color: var(--color-background);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s var(--transition-smooth);
}
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }

.mobile-menu__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4.8rem;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
  padding-inline: 1.25rem;
}

.mobile-menu__close {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.25rem;
  color: var(--color-foreground);
  transition: color 0.3s;
}
.mobile-menu__close:hover { color: var(--color-primary); }

.mobile-menu__nav { flex: 1; overflow-y: auto; padding: 0.75rem 0.5rem; }

.mobile-nav-list { list-style: none; display: flex; flex-direction: column; }

.mobile-nav-link,
.mobile-nav-list a {
  display: block;
  padding: 1rem 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-foreground);
  text-decoration: none;
  transition: color 0.3s;
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent);
  width: 100%;
  text-align: left;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
}
.mobile-nav-link:hover,
.mobile-nav-list a:hover { color: var(--color-primary); }

.mobile-menu__footer {
  border-top: 1px solid var(--color-border);
  padding: 1rem 0.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  flex-shrink: 0;
}

.mobile-menu__search-btn,
.mobile-menu__cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s;
  cursor: pointer;
}

.mobile-menu__search-btn {
  border: 1px solid var(--color-border);
  color: var(--color-foreground);
  background: none;
}
.mobile-menu__search-btn:hover {
  background-color: var(--color-foreground);
  color: var(--color-background);
}

.mobile-menu__cart-btn {
  background-color: var(--color-foreground);
  color: var(--color-background);
  border: none;
}
.mobile-menu__cart-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-primary-fg);
}

/* -------------------------------------------------------------------------
   8. SEARCH DIALOG
   ------------------------------------------------------------------------- */
.search-dialog {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.search-dialog.is-open {
  pointer-events: all;
  opacity: 1;
}

.search-dialog__backdrop {
  position: absolute;
  inset: 0;
  background-color: color-mix(in srgb, var(--color-foreground) 40%, transparent);
  backdrop-filter: blur(4px);
}

.search-dialog__panel {
  position: relative;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  background-color: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-elevated, 0 20px 60px rgba(0, 0, 0, 0.12));
}

.search-dialog__inner {
  padding-block: 2.5rem;
}

@media (min-width: 1024px) {
  .search-dialog__inner {
    padding-block: 3.5rem;
  }
}

.search-dialog__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  padding: 0.5rem;
  color: var(--color-muted-fg);
  opacity: 0.7;
  transition: opacity 0.3s, color 0.3s;
}
@media (min-width: 1024px) {
  .search-dialog__close {
    top: 1.75rem;
    right: 2rem;
  }
}
.search-dialog__close:hover {
  opacity: 1;
  color: var(--color-foreground);
}

.search-dialog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .search-dialog__grid {
    grid-template-columns: 260px 1fr;
    gap: 4rem;
  }
}

.search-dialog__sidebar-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-foreground);
  margin-bottom: 1.5rem;
}

.search-dialog__cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.search-dialog__cat-btn {
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
  transition: color 0.3s;
}
.search-dialog__cat-btn:hover {
  color: var(--color-primary);
}

.search-dialog__main {
  min-width: 0;
}
@media (min-width: 1024px) {
  .search-dialog__main {
    padding-right: 4rem;
  }
}

.search-dialog__input-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
  padding-bottom: 0.75rem;
  color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}

.search-dialog__input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-foreground);
  outline: none;
}
.search-dialog__input::placeholder {
  color: color-mix(in srgb, var(--color-foreground) 40%, transparent);
}

.search-dialog__results {
  margin-top: 2.5rem;
}

.search-dialog__results-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-foreground);
  margin-bottom: 1.5rem;
}

.search-dialog__no-results {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
  margin-bottom: 1.5rem;
}
.search-dialog__no-results em {
  font-family: var(--font-display);
  font-style: italic;
}

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

.search-dialog__product {
  text-align: left;
}

.search-dialog__product-image {
  aspect-ratio: 1;
  overflow: hidden;
  background-color: var(--color-secondary);
}

.search-dialog__product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition-smooth);
}
.search-dialog__product:hover .search-dialog__product-image img {
  transform: scale(1.05);
}

.search-dialog__product-title {
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--color-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-dialog__product-price {
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
}

/* -------------------------------------------------------------------------
   9. CONTACT MODAL
   ------------------------------------------------------------------------- */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.contact-modal.is-open {
  pointer-events: all;
  opacity: 1;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: color-mix(in srgb, var(--color-foreground) 50%, transparent);
}

.contact-modal__box {
  position: relative;
  background-color: var(--color-background);
  width: min(90vw, 32rem);
  max-height: 90dvh;
  overflow-y: auto;
  padding: 1.5rem 2rem 2rem;
  border: 1px solid var(--color-border);
  transform: scale(0.97);
  transition: transform 0.3s var(--transition-smooth);
}
.contact-modal.is-open .contact-modal__box { transform: scale(1); }

.contact-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--color-muted-fg);
  transition: color 0.3s;
}
.contact-modal__close:hover { color: var(--color-foreground); }

.contact-modal__header { margin-bottom: 1rem; }
.contact-modal__eyebrow { margin-bottom: 0.5rem; }
.contact-modal__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.contact-modal__desc {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
}

.contact-modal__email-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}
.contact-modal__email-link { transition: color 0.3s; word-break: break-all; }
.contact-modal__email-link:hover { color: var(--color-foreground); }

.contact-modal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 480px) {
  .contact-modal__grid { grid-template-columns: 1fr 1fr; }
}

.contact-modal__field { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1rem; }

.contact-input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  outline: none;
  transition: border-color 0.2s;
}
.contact-input::placeholder { color: var(--color-muted-fg); }
.contact-input:focus { border-color: var(--color-primary); }
.contact-input--textarea { resize: vertical; min-height: 7rem; }

.contact-modal__submit-row { display: flex; justify-content: flex-end; }
.contact-modal__submit { height: 2.75rem; }

.contact-modal__success {
  text-align: center;
  padding: 2rem 0;
}
.contact-modal__success-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 1rem;
  color: var(--color-primary-fg);
}
.contact-modal__success-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.contact-modal__success-sub {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-fg);
}

/* -------------------------------------------------------------------------
   10. HERO SECTION
   ------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
}

.hero-section__image-wrap {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
  background-color: var(--color-secondary);
}

.hero-section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  animation: hero-scale-in 1.6s cubic-bezier(0.25, 0.4, 0.25, 1) forwards;
}

@keyframes hero-scale-in {
  from { transform: scale(1.05); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.hero-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, color-mix(in srgb, var(--color-background) 80%, transparent) 0%, color-mix(in srgb, var(--color-background) 30%, transparent) 50%, transparent 100%);
}

.hero-section__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
}

.hero-section__inner {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 4rem;
  max-width: 40rem;
}

@media (min-width: 768px) {
  .hero-section__inner { padding-left: 3rem; padding-bottom: 6rem; }
}
@media (min-width: 1024px) {
  .hero-section__inner { padding-left: 5rem; padding-bottom: 7rem; }
}

.hero-section__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .hero-section__eyebrow { font-size: 0.6875rem; } }

.hero-section__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.5rem;
  line-height: 1.05;
  color: var(--color-foreground);
  margin-bottom: 1.5rem;
  max-width: 30rem;
}
@media (min-width: 768px) { .hero-section__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-section__title { font-size: 4.5rem; } }

.hero-section__subtitle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  max-width: 28rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}
@media (min-width: 768px) { .hero-section__subtitle { font-size: 1rem; } }

/* Reveal animation */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Customizer preview fallback */
.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }

/* -------------------------------------------------------------------------
   11. SECTION HEADER
   ------------------------------------------------------------------------- */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1.5rem;
}

.section-header__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-foreground);
}
@media (min-width: 640px) { .section-header__title { font-size: 0.875rem; } }

.carousel-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.carousel-nav__btn {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  color: var(--color-foreground);
  transition: background-color 0.3s, color 0.3s;
  background: none;
  cursor: pointer;
}
.carousel-nav__btn:hover {
  background-color: var(--color-foreground);
  color: var(--color-background);
}

.shrink-0 { flex-shrink: 0; }

/* -------------------------------------------------------------------------
   12. FEATURED CAROUSEL
   ------------------------------------------------------------------------- */
.featured-carousel {
  background-color: var(--color-background);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 1024px) {
  .featured-carousel { padding-top: 5rem; padding-bottom: 5rem; }
}

.product-carousel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: none;
}
.product-carousel::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .product-carousel { gap: 1.5rem; } }

.product-carousel__card {
  flex-shrink: 0;
  width: 68vw;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  display: block;
}
@media (min-width: 640px) {
  .product-carousel__card { width: calc((100% - 1.25rem) / 2); }
}
@media (min-width: 768px) {
  .product-carousel__card { width: calc((100% - 2.5rem) / 3); }
}
@media (min-width: 1024px) {
  .product-carousel__card { width: calc((100% - 4.5rem) / 4); }
}

.product-carousel__image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: color-mix(in srgb, var(--color-muted) 40%, transparent);
  overflow: hidden;
}

.product-carousel__img {
  transition: opacity 0.5s;
  object-fit: cover;
}
.product-carousel__card:hover .product-carousel__img { opacity: 0.9; }

.product-carousel__info {
  padding-top: 1rem;
  text-align: center;
}

.product-carousel__title {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--color-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
}
.product-carousel__card:hover .product-carousel__title { color: var(--color-primary); }

.product-carousel__subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  margin-top: 0.125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-carousel__cat {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  color: var(--color-muted-fg);
  margin-top: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-carousel__price {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-foreground);
  margin-top: 0.25rem;
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  background-color: color-mix(in srgb, var(--color-background) 90%, transparent);
  backdrop-filter: blur(4px);
  color: var(--color-foreground);
  padding: 0.375rem 0.75rem;
}

/* -------------------------------------------------------------------------
   13. CATEGORY TILES
   ------------------------------------------------------------------------- */
.category-tiles {
  background-color: var(--color-background);
  padding-bottom: 1rem;
}

.category-tiles__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
@media (min-width: 1024px) {
  .category-tiles__grid { grid-template-columns: repeat(4, 1fr); }
}

.category-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--color-secondary);
  display: block;
  text-decoration: none;
}

.category-tile__img { transition: transform 0.7s ease; }
.category-tile:hover .category-tile__img { transform: scale(1.05); }

.category-tile__overlay {
  position: absolute;
  inset: 0;
  background-color: color-mix(in srgb, var(--color-foreground) 25%, transparent);
  transition: background-color 0.3s;
}
.category-tile:hover .category-tile__overlay {
  background-color: color-mix(in srgb, var(--color-foreground) 40%, transparent);
}

.category-tile__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-background);
  font-size: 0.875rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-align: center;
  padding-inline: 1rem;
  pointer-events: none;
}
@media (min-width: 768px) { .category-tile__label { font-size: 1rem; } }

/* -------------------------------------------------------------------------
   14. SHOP SECTION
   ------------------------------------------------------------------------- */
.shop-section {
  background-color: var(--color-background);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 1024px) {
  .shop-section { padding-top: 5rem; padding-bottom: 5rem; }
}

.shop-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.shop-section__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-foreground);
}
@media (min-width: 640px) { .shop-section__title { font-size: 0.875rem; } }

.shop-section__count {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted-fg);
}

.shop-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: end;
}
@media (min-width: 1024px) {
  .shop-controls { grid-template-columns: 1fr auto; gap: 2.5rem; }
}

.shop-controls__search {
  position: relative;
  max-width: 28rem;
  width: 100%;
}
.shop-controls__search svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted-fg);
  pointer-events: none;
}
.shop-controls__search-input {
  width: 100%;
  height: 2.75rem;
  padding-left: 2.25rem;
  padding-right: 0.75rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-background);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}
.shop-controls__search-input::placeholder { color: var(--color-muted-fg); }
.shop-controls__search-input:focus { border-color: var(--color-foreground); }

.shop-controls__price { width: 100%; }
@media (min-width: 1024px) { .shop-controls__price { width: 18rem; } }

.shop-controls__price-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.shop-controls__price-label {
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
}
.shop-controls__price-values {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-foreground);
}

/* Price Range Slider */
.price-range-wrapper {
  position: relative;
  height: 1.5rem;
}

.range-track-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  background-color: var(--color-muted);
  border-radius: 2px;
  pointer-events: none;
  z-index: 0;
}

.range-track-fill {
  position: absolute;
  height: 4px;
  background-color: var(--color-primary);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
  border-radius: 2px;
}

.price-range-wrapper .range-input {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  height: 1.5rem;
  background: transparent;
  outline: none;
  cursor: pointer;
  pointer-events: none;
}
.price-range-wrapper .range-input--min { z-index: 2; }
.price-range-wrapper .range-input--max { z-index: 3; }

.price-range-wrapper .range-input::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
  border-radius: 2px;
}
.price-range-wrapper .range-input::-moz-range-track {
  height: 4px;
  background: transparent;
  border-radius: 2px;
}
.price-range-wrapper .range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--color-foreground);
  border-radius: 50%;
  cursor: grab;
  border: 2px solid var(--color-background);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  margin-top: -7px;
  pointer-events: all;
}
.price-range-wrapper .range-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--color-foreground);
  border-radius: 50%;
  cursor: grab;
  border: 2px solid var(--color-background);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  pointer-events: all;
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.shop-filter-btn {
  padding-inline: 1rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--color-border);
  background-color: var(--color-background);
  color: var(--color-foreground);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.shop-filter-btn:hover,
.shop-filter-btn.is-active {
  background-color: var(--color-foreground);
  color: var(--color-background);
  border-color: var(--color-foreground);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.25rem;
  row-gap: 2.5rem;
  align-items: start;
}
@media (min-width: 768px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .shop-grid { grid-template-columns: repeat(4, 1fr); } }

/* Product card (shared across shop, archive, homepage) */
.theme-product-card-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.theme-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: auto;
  display: block;
}

.theme-product-card-wrap *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card__image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-color: color-mix(in srgb, var(--color-muted) 40%, transparent);
}

.product-card-img { transition: opacity 0.5s; object-fit: cover; }
.theme-product-card-wrap:hover .product-card-img { opacity: 0.9; }

.theme-product-card__info { padding-top: 1rem; text-align: center; flex: 1; }
.theme-product-card__title {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--color-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
  min-width: 0;
}
.theme-product-card-wrap:hover .theme-product-card__title { color: var(--color-primary); }

.theme-product-card__subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  margin-top: 0.125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.theme-product-card__cat {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  color: var(--color-muted-fg);
  margin-top: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.theme-product-card__price {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-foreground);
  margin-top: 0.25rem;
}

/* Shop card (front-page shop grid, no pointer-events overlay, direct link) */
.shop-card {
  display: block;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  width: 100%;
}
.shop-card:hover { color: inherit; }
.shop-card__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: color-mix(in srgb, var(--color-muted) 40%, transparent);
  overflow: hidden;
  isolation: isolate;
}
.shop-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.5s;
}
.shop-card:hover .shop-card__img { opacity: 0.9; }
.shop-card__info { padding-top: 1rem; text-align: center; }
.shop-card__title {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--color-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
}
.shop-card:hover .shop-card__title { color: var(--color-primary); }
.shop-card__subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  margin-top: 0.125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shop-card__cat {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  color: var(--color-muted-fg);
  margin-top: 0.25rem;
}
.shop-card__price {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-foreground);
  margin-top: 0.25rem;
}

.shop-no-results {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.shop-view-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* -------------------------------------------------------------------------
   15. BRAND / AUTHOR SECTION
   ------------------------------------------------------------------------- */
.brand-section {
  background-color: color-mix(in srgb, var(--color-secondary) 40%, transparent);
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  .brand-section { padding-top: 7rem; padding-bottom: 7rem; }
}

.brand-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .brand-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.brand-section__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .brand-section__image-wrap { aspect-ratio: auto; min-height: 28rem; }
}
.brand-section__image-wrap img { object-fit: cover; }

.brand-section__eyebrow.label-eyebrow { }
.brand-section__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.5rem;
  color: var(--color-foreground);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
@media (min-width: 768px) { .brand-section__title { font-size: 3.125rem; } }

.brand-section__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.brand-section__body p {
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  line-height: 1.7;
}
.brand-section__sign-off {
  font-family: var(--font-display) !important;
  font-style: italic !important;
  font-size: 1.125rem !important;
  color: var(--color-foreground) !important;
}

.brand-section__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }

.brand-section__linkedin-btn {
  height: 2.75rem;
  padding: 0 1.5rem;
  border: 1px solid var(--color-foreground);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s, color 0.3s;
  text-decoration: none;
  color: var(--color-foreground);
}
.brand-section__linkedin-btn:hover {
  background-color: var(--color-foreground);
  color: var(--color-background);
}

/* -------------------------------------------------------------------------
   16. TESTIMONIALS
   ------------------------------------------------------------------------- */
.testimonials-section {
  background-color: color-mix(in srgb, var(--color-secondary) 40%, transparent);
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  .testimonials-section { padding-top: 7rem; padding-bottom: 7rem; }
}

.testimonials-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1.5rem;
}
@media (min-width: 1024px) { .testimonials-section__header { margin-bottom: 3.5rem; } }

.testimonials-section__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.5rem;
  color: var(--color-foreground);
  margin-top: 0.75rem;
  line-height: 1.1;
}
@media (min-width: 768px) { .testimonials-section__title { font-size: 3.125rem; } }

.testimonials-carousel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: none;
}
.testimonials-carousel::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .testimonials-carousel { gap: 1.5rem; } }

.testimonial-card {
  flex-shrink: 0;
  width: 82vw;
  scroll-snap-align: start;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.5s ease-out, background-color 0.5s, box-shadow 0.5s, border-color 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-0.5rem);
  background-color: color-mix(in srgb, var(--color-secondary) 40%, transparent);
  box-shadow: 0 28px 60px -24px color-mix(in srgb, var(--color-foreground) 35%, transparent);
  border-color: var(--color-primary);
}
@media (min-width: 640px) {
  .testimonial-card { width: calc((100% - 1.25rem) / 2); padding: 2.5rem; }
}
@media (min-width: 1024px) {
  .testimonial-card { width: calc((100% - 3rem) / 3); }
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--color-foreground);
  margin-bottom: 1.5rem;
  flex: 1;
  transition: color 0.5s;
}
@media (min-width: 768px) { .testimonial-card__quote { font-size: 1.5rem; } }
.testimonial-card:hover .testimonial-card__quote { color: var(--color-primary); }

.testimonial-card__footer { margin-top: auto; }
.testimonial-card__name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
}
.testimonial-card__place {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted-fg);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* -------------------------------------------------------------------------
   17. DIVIDER SECTION
   ------------------------------------------------------------------------- */
.divider-section {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}
@media (min-width: 768px) { .divider-section { height: 80vh; } }
@media (min-width: 1024px) { .divider-section { height: 85vh; } }

.divider-section__bg { object-fit: cover; object-position: center; }

.divider-section__overlay {
  position: absolute;
  inset: 0;
  background-color: color-mix(in srgb, var(--color-foreground) 45%, transparent);
}

.divider-section__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 1.5rem;
}

.divider-section__figure { max-width: 48rem; text-align: center; }

.divider-section__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.875rem;
  color: var(--color-background);
  line-height: 1.15;
}
@media (min-width: 768px) { .divider-section__quote { font-size: 3.125rem; } }
@media (min-width: 1024px) { .divider-section__quote { font-size: 3.75rem; } }

.divider-section__attribution {
  margin-top: 2rem;
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-background) 80%, transparent);
}
@media (min-width: 768px) { .divider-section__attribution { font-size: 0.6875rem; } }

/* -------------------------------------------------------------------------
   18. FAQ SECTION
   ------------------------------------------------------------------------- */
.faq-section {
  background-color: var(--color-background);
  padding-top: 5rem;
  padding-bottom: 7rem;
  border-top: 1px solid var(--color-border);
}
@media (min-width: 1024px) {
  .faq-section { padding-top: 7rem; padding-bottom: 8.75rem; }
}

.faq-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .faq-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.faq-section__intro { }
@media (min-width: 1024px) {
  .faq-section__intro { position: sticky; top: 8rem; }
}

.faq-section__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.5rem;
  color: var(--color-foreground);
  margin-top: 0.75rem;
  line-height: 1.1;
}
@media (min-width: 768px) { .faq-section__title { font-size: 3.125rem; } }

.faq-section__subtitle {
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
  line-height: 1.7;
  margin-top: 1.5rem;
  max-width: 28rem;
}

.faq-item { border-bottom: 1px solid var(--color-border); }

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  gap: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.faq-item__question {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  transition: color 0.3s;
}
@media (min-width: 768px) { .faq-item__question { font-size: 1rem; } }
.faq-item__trigger:hover .faq-item__question { color: var(--color-primary); }

.faq-item__icon { flex-shrink: 0; color: var(--color-foreground); }

.faq-item__answer {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
  line-height: 1.7;
  padding-bottom: 1.5rem;
  padding-right: 2.5rem;
}
.faq-item__answer p { }

/* -------------------------------------------------------------------------
   19. MARQUEE
   ------------------------------------------------------------------------- */
.marquee-section {
  background-color: var(--color-foreground);
  color: var(--color-background);
  border-top: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .marquee-section { padding-top: 2rem; padding-bottom: 2rem; }
}

.marquee-section__track-wrap { display: flex; white-space: nowrap; }

.marquee-section__track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  animation: ibn-marquee 38s linear infinite;
}
@media (min-width: 1024px) { .marquee-section__track { gap: 3.5rem; padding-right: 3.5rem; } }
.marquee-section__track-wrap:hover .marquee-section__track { animation-play-state: paused; }

.marquee-section__item {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
}
@media (min-width: 1024px) { .marquee-section__item { gap: 3.5rem; } }

.marquee-section__word {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.875rem;
  color: var(--color-background);
}
@media (min-width: 768px) { .marquee-section__word { font-size: 2.5rem; } }
@media (min-width: 1024px) { .marquee-section__word { font-size: 3.125rem; } }

.marquee-section__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--color-primary);
  flex-shrink: 0;
}

@keyframes ibn-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* -------------------------------------------------------------------------
   20. CONTACT SECTION
   ------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--color-background);
  padding-top: 5rem;
  padding-bottom: 7rem;
  border-top: 1px solid var(--color-border);
}
@media (min-width: 1024px) {
  .contact-section { padding-top: 7rem; padding-bottom: 8.75rem; }
}

.contact-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .contact-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.contact-section__info { display: flex; flex-direction: column; justify-content: center; }
.contact-section__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.5rem;
  color: var(--color-foreground);
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
@media (min-width: 768px) { .contact-section__title { font-size: 3.125rem; } }

.contact-section__subtitle {
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 28rem;
}

.contact-section__links { display: flex; flex-direction: column; gap: 1rem; }

.contact-section__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  transition: color 0.3s;
  text-decoration: none;
  word-break: break-all;
}
.contact-section__link:hover { color: var(--color-primary); }

.contact-section__note {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 22rem;
}
@media (min-width: 1024px) { .contact-section__note { padding: 3rem; } }

.contact-section__note-overlay {
  position: absolute;
  inset: 0;
  background-color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
}

.contact-section__note-content { position: relative; }

.contact-section__note-eyebrow {
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-background) 80%, transparent);
  display: block;
  margin-bottom: 0.75rem;
}

.contact-section__note-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--color-background);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .contact-section__note-title { font-size: 1.875rem; } }

.contact-section__note-subtitle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-background) 85%, transparent);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 28rem;
}

/* -------------------------------------------------------------------------
   21. FOOTER
   ------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-foreground);
  color: var(--color-background);
}

.site-footer__inner {
  padding-top: 4rem;
  padding-bottom: 0.5rem;
}
@media (min-width: 1024px) { .site-footer__inner { padding-top: 5rem; } }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; }
}

.site-footer__brand { }

.site-footer__wordmark { display: inline-block; text-decoration: none; }
.site-footer__wordmark:hover .site-footer__wordmark-main { color: var(--color-primary); }

.site-footer__wordmark-main {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.875rem;
  line-height: 1;
  color: var(--color-background);
  transition: color 0.3s;
}
@media (min-width: 1024px) { .site-footer__wordmark-main { font-size: 2.5rem; } }

.site-footer__wordmark-sub {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-background) 60%, transparent);
}

.site-footer__tagline {
  margin-top: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-background) 70%, transparent);
  max-width: 18rem;
  line-height: 1.6;
}

.site-footer__col-heading {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.site-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer__link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-background) 70%, transparent);
  transition: color 0.3s;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
}
.site-footer__link:hover { color: var(--color-primary); }

.site-footer__links--contact { }
.site-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.site-footer__contact-item svg { flex-shrink: 0; margin-top: 0.125rem; }

.site-footer__bottom {
  border-top: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .site-footer__bottom { flex-direction: row; justify-content: space-between; }
}

.site-footer__copyright,
.site-footer__credit {
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-background) 60%, transparent);
}

.site-footer__credit-link {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: inherit;
  transition: color 0.3s;
}
.site-footer__credit-link:hover { color: var(--color-primary); }

/* -------------------------------------------------------------------------
   22. SIDE CART DRAWER
   ------------------------------------------------------------------------- */
#theme-cart-overlay {
  position: fixed;
  inset: 0;
  background-color: color-mix(in srgb, var(--color-foreground) 30%, transparent);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay {
  opacity: 1;
  pointer-events: all;
}

#theme-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 32rem;
  background-color: var(--color-background);
  z-index: 60;
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer {
  transform: translateX(0);
}

#theme-cart-drawer.is-updating {
  opacity: 0.6;
  pointer-events: none;
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.cart-drawer__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
}

.cart-drawer__close {
  padding: 0.25rem;
  color: var(--color-foreground);
  transition: opacity 0.3s;
}
.cart-drawer__close:hover { opacity: 0.6; }

.cart-drawer__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  gap: 0;
}
.cart-drawer__empty svg { color: var(--color-muted-fg); margin-bottom: 1.25rem; }
.cart-drawer__empty-msg {
  font-family: var(--font-body);
  color: var(--color-muted-fg);
  margin-bottom: 1.5rem;
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  min-width: 0;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cart-item { display: flex; gap: 1.25rem; }

.cart-item__image-link {
  width: 6rem;
  height: 8rem;
  background-color: var(--color-secondary);
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}
.cart-item__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item__details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.cart-item__name {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-foreground);
  text-decoration: none;
  transition: opacity 0.3s;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.cart-item__name:hover { opacity: 0.7; }

.cart-item__variation {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.75rem;
  color: var(--color-muted-fg);
  margin-top: 0.375rem;
}

.cart-item__price {
  font-family: var(--font-body);
  font-size: 0.875rem;
  margin-top: 0.375rem;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
}

.cart-item__qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
}
.cart-item__qty-btn {
  padding: 0.375rem 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}
.cart-item__qty-btn:hover { background-color: var(--color-secondary); }

.cart-item__qty-num {
  padding-inline: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  min-width: 1.75rem;
  text-align: center;
}

.cart-item__remove {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted-fg);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s;
  cursor: pointer;
  background: none;
  border: none;
}
.cart-item__remove:hover { color: var(--color-foreground); }

/* Pair with */
.cart-pair-with {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
.cart-pair-with__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.cart-pair-with__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  margin-inline: -0.25rem;
  padding-inline: 0.25rem;
}

.pair-card {
  flex-shrink: 0;
  width: var(--pair-card-width, 8rem);
  text-decoration: none;
  color: inherit;
  display: block;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
}
.pair-card:hover,
.pair-card:focus-visible {
  color: inherit;
}
.pair-card__image-wrap {
  aspect-ratio: 3 / 4;
  background-color: var(--color-secondary);
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.pair-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  display: block;
}
.pair-card:hover .pair-card__img { transform: scale(1.05); }
.pair-card__name {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  white-space: normal;
}
.pair-card__price {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted-fg);
  margin-top: 0.125rem;
}

.pair-card.is-pair-hidden {
  display: none;
}

.cart-drawer__footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-drawer__subtotal-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.cart-drawer__subtotal-label,
.cart-drawer__subtotal-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.cart-drawer__subtotal-value ins { text-decoration: none; }

.cart-drawer__tax-note {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted-fg);
}

.cart-drawer__checkout {
  width: 100%;
  height: 3rem;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-primary-fg);
  text-decoration: none;
  transition: opacity 0.2s;
}
.cart-drawer__checkout:hover { opacity: 0.85; color: var(--color-primary-fg); }

/* WooCommerce: hide "View cart" link injected 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; }

/* -------------------------------------------------------------------------
   23. SINGLE PRODUCT PAGE
   ------------------------------------------------------------------------- */
.single-product .theme-inner-page {
  padding-top: var(--header-height);
}

.single-product__back {
  padding: 1.5rem 1.5rem 0;
  max-width: var(--container-max);
  margin-inline: auto;
}
@media (min-width: 768px) { .single-product__back { padding: 2rem 2.5rem 0; } }

.single-product__back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  text-decoration: none;
  transition: color 0.3s;
}
.single-product__back-link:hover { color: var(--color-foreground); }

.theme-product-layout {
  display: grid;
  grid-template-columns: 1fr;
  min-width: 0;
  max-width: var(--container-max);
  margin-inline: auto;
}
@media (min-width: 1024px) {
  .theme-product-layout { grid-template-columns: 1fr 440px; }
}
@media (min-width: 1280px) {
  .theme-product-layout { grid-template-columns: 1fr 500px; }
}

.theme-product-gallery {
  position: relative;
  background-color: var(--color-background);
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 1024px) {
  .theme-product-gallery { position: sticky; top: var(--header-height); align-self: start; }
}

.theme-product-gallery__row {
  display: flex;
}

.theme-product-thumbnails {
  display: none;
  flex-direction: column;
  flex-shrink: 0;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  max-width: 100%;
}
@media (min-width: 768px) {
  .theme-product-thumbnails { display: flex; background-color: color-mix(in srgb, var(--color-background) 40%, transparent); }
}

.theme-product-thumb {
  width: 3.5rem;
  height: 3.5rem;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: border-color 0.3s, opacity 0.3s;
  opacity: 0.6;
  background: none;
  padding: 0;
  cursor: pointer;
}
@media (min-width: 1024px) { .theme-product-thumb { width: 4rem; height: 4rem; } }
.theme-product-thumb.is-active { border-color: var(--color-foreground); opacity: 1; }
.theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb__img { width: 100%; height: 100%; object-fit: cover; display: block; }

.theme-product-main-image {
  flex: 1;
  min-width: 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) { .theme-product-main-image { min-height: 78vh; } }
@media (min-width: 1024px) { .theme-product-main-image { min-height: 88vh; } }

.theme-product-main-image__img {
  width: 100%;
  height: 100%;
  max-height: 88vh;
  object-fit: contain;
  display: block;
}

/* Mobile thumbs */
.theme-product-mobile-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.theme-product-mobile-thumbs::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .theme-product-mobile-thumbs { display: none; } }

.theme-product-info {
  padding: 2.5rem 1.5rem;
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 768px) { .theme-product-info { padding: 2.5rem; } }
@media (min-width: 1024px) { .theme-product-info { padding: 4rem 3rem; } }

.single-product__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  margin-bottom: 1.5rem;
}
.single-product__breadcrumb-link { transition: color 0.3s; text-decoration: none; color: inherit; }
.single-product__breadcrumb-link:hover { color: var(--color-foreground); }
.single-product__breadcrumb-sep { margin-inline: 0.5rem; }

.single-product__cats {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  margin-bottom: 0.5rem;
  overflow-wrap: break-word;
}
.single-product__cats a { color: inherit; text-decoration: none; transition: color 0.2s; }
.single-product__cats a:hover { color: var(--color-primary); }

.single-product__title.product-title {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--color-foreground);
  margin-bottom: 0;
  font-weight: 400;
}
@media (min-width: 768px) { .single-product__title.product-title { font-size: 1rem; } }

.variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; }
.product-title { font-family: var(--font-body); font-weight: 600; }

.single-product__edition {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  margin-top: 0.5rem;
}

.single-product__sku {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  margin-top: 0.75rem;
}

.single-product__divider {
  height: 1px;
  background-color: var(--color-border);
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
}

.single-product__price {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--color-foreground);
}
.single-product__price .woocommerce-Price-amount { font-family: var(--font-body); }

.single-product__stock--out {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-fg);
}

.single-product__note {
  margin-top: 1.75rem;
  background-color: color-mix(in srgb, var(--color-secondary) 70%, transparent);
  padding: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
  line-height: 1.6;
  border-radius: var(--radius);
}

.single-product__description {
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--color-foreground) 90%, transparent);
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: pre-line;
}

/* Variations */
.theme-attr-select-hidden { display: none !important; }

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
  display: block;
  width: 100%;
}
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }

.theme-attr-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.theme-attr-btn {
  min-width: 3.5rem;
  padding: 0.625rem 1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  background: none;
  color: var(--color-foreground);
}
.theme-attr-btn:hover { border-color: var(--color-foreground); }
.theme-attr-btn.is-selected {
  background-color: var(--color-foreground);
  color: var(--color-background);
  border-color: var(--color-foreground);
}

.theme-add-to-cart-area {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.theme-quantity-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  height: 3.5rem;
}
.theme-qty-minus,
.theme-qty-plus {
  padding-inline: 0.75rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-foreground);
  transition: background-color 0.2s;
  cursor: pointer;
  background: none;
  border: none;
}
.theme-qty-minus:hover,
.theme-qty-plus:hover { background-color: var(--color-secondary); }

.theme-qty-input {
  width: 3rem;
  text-align: center;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-foreground);
  background: transparent;
  -moz-appearance: textfield;
  appearance: textfield;
}
.theme-qty-input::-webkit-inner-spin-button,
.theme-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.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: none !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
  text-decoration: none !important;
  height: 3.5rem !important;
  flex: 1 1 auto;
  min-width: 10rem;
}
.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,
.single_add_to_cart_button.button.wc-variation-is-unavailable,
a.single_add_to_cart_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;
}

.theme-btn-primary {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-fg) !important;
}

.single-product__details-section { margin-top: 3rem; }
.single-product__details-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-foreground);
  margin-bottom: 1.25rem;
  font-weight: 400;
}
.woocommerce-product-details__short-description {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--color-foreground) 90%, transparent);
  overflow-wrap: break-word;
  word-break: break-word;
}
.woocommerce-product-details__short-description ul,
.single-product__description ul {
  margin-top: 1.5rem;
  padding-left: 1.25rem;
  list-style-type: disc;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.woocommerce-product-details__short-description ul li::marker,
.single-product__description ul li::marker { color: var(--color-primary); }
.woocommerce-product-details__short-description ul li { line-height: 1.6; }

/* Related products */
.related-products-section {
  padding-top: 6rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--color-border);
  margin-top: 3rem;
}

.related-products-section__header { margin-bottom: 3rem; }
.related-products-section__title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.2;
}
@media (min-width: 768px) { .related-products-section__title { font-size: 2.5rem; } }
.related-products-section__title em { font-style: italic; color: var(--color-primary); }

.related-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 2rem;
  row-gap: 3rem;
}
@media (min-width: 640px) { .related-products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .related-products-grid { grid-template-columns: repeat(3, 1fr); } }

/* Single variation wrap */
.single_variation_wrap { }
.woocommerce-variation.single-variation { }
.woocommerce-variation-price { margin-bottom: 0.5rem; }

/* -------------------------------------------------------------------------
   24. INNER PAGES (non-homepage)
   ------------------------------------------------------------------------- */
.theme-inner-page {
  padding-top: var(--header-height);
  min-height: 60dvh;
}

.page-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.5rem;
  color: var(--color-foreground);
  margin-bottom: 2rem;
  line-height: 1.1;
}
@media (min-width: 768px) { .page-title { font-size: 3rem; } }

/* -------------------------------------------------------------------------
   25. WOOCOMMERCE ARCHIVE
   ------------------------------------------------------------------------- */
.woocommerce-archive .shop-grid { margin-top: 2rem; }
.woocommerce-archive__title { margin-bottom: 2rem; }

.woocommerce-archive .theme-product-card-wrap {
  /* Equal-height cards in archive */
}

/* Pagination */
.page-numbers { display: flex; gap: 0.5rem; margin-top: 4rem; justify-content: center; }
.page-numbers a, .page-numbers span {
  width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: 0.875rem;
  border: 1px solid var(--color-border);
  text-decoration: none; color: var(--color-foreground);
  transition: background-color 0.2s, color 0.2s;
}
.page-numbers .current,
.page-numbers a:hover {
  background-color: var(--color-foreground);
  color: var(--color-background);
  border-color: var(--color-foreground);
}

/* -------------------------------------------------------------------------
   26. WOOCOMMERCE NOTICES
   ------------------------------------------------------------------------- */
.woocommerce-message, .woocommerce-error, .woocommerce-info {
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--color-primary);
  background-color: color-mix(in srgb, var(--color-primary) 8%, var(--color-background));
  list-style: none;
}
.woocommerce-error {
  border-color: #e74c3c;
  background-color: color-mix(in srgb, #e74c3c 8%, var(--color-background));
}

/* Hide notices where drawer already provides feedback */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* -------------------------------------------------------------------------
   27. CHECKOUT (WooCommerce Checkout Block)
   ------------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
  padding-top: var(--header-height);
  padding-bottom: 4rem;
}

body.woocommerce-checkout .wc-block-checkout {
  display: block;
}

@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
  body.woocommerce-checkout .wc-block-checkout.has-dark-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    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-checkout__sidebar {
  background-color: var(--color-secondary);
  border-radius: var(--card-radius);
  padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  border: 1px solid var(--color-border);
  background-color: var(--color-background);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
  padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  border-color: 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;
  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: uppercase !important;
  border-radius: 0 !important;
  border: none !important;
  padding: 0 2rem !important;
  width: 100% !important;
  min-height: var(--btn-height) !important;
}

body.woocommerce-checkout h2,
body.woocommerce-checkout .wc-block-checkout__step-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--color-foreground);
  margin-bottom: 1rem;
}

/* -------------------------------------------------------------------------
   28. THANK YOU PAGE
   ------------------------------------------------------------------------- */
body.theme-thankyou-page .site-main { padding-top: var(--header-height); }
body.theme-thankyou-page .woocommerce-order { font-family: var(--font-body); }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--color-foreground);
  padding-bottom: 1rem;
}
body.theme-thankyou-page .woocommerce-order-overview {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding: 1rem 0;
  border: 1px solid var(--color-border);
  margin-bottom: 2rem;
  padding-inline: 1.5rem;
}
body.theme-thankyou-page .woocommerce-order-overview li {
  font-family: var(--font-body);
  font-size: 0.875rem;
}
body.theme-thankyou-page .woocommerce-order-details table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.875rem;
}
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
  padding: 0.5rem 0;
  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 { overflow-x: hidden; }

/* -------------------------------------------------------------------------
   29. WooCommerce Buttons Style Override (final authority)
   ------------------------------------------------------------------------- */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  background-color: var(--color-foreground);
  color: var(--color-background);
  border-radius: 0;
  border: none;
  padding: 0 2rem;
  min-height: var(--btn-height);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background-color: var(--color-primary);
  color: var(--color-primary-fg);
}

/* -------------------------------------------------------------------------
   30. UTILITY
   ------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.scroll-mt-32 { scroll-margin-top: 8rem; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

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

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

/* Scroll-reveal section scoping for related products */
.scroll-reveal-section .reveal-item { }

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal-item { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-section__bg { animation: none; opacity: 1; transform: scale(1); }
  .marquee-section__track { animation-duration: 120s; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
