/* ==========================================================================
   DEMADER - CATÁLOGO OFICIAL DE MOBILIARIO
   Archivo: assets/css/index.css
   Estilos universales autónomos sin dependencias externas
   ========================================================================== */

:root {
  /* Paleta Editorial DEMADER */
  --demader-charcoal: #141311;
  --demader-charcoal-light: #24221f;
  --demader-ivory: #faf8f5;
  --demader-ivory-pure: #ffffff;
  --demader-sand: #f2ede4;
  --demader-sand-dark: #e5ded0;
  --demader-gold-muted: #bda06e;
  --color-gold: #c5a059;
  --color-gold-hover: #b38f48;
  --color-dark: #141311;
  --color-text-main: #2b2927;
  --color-text-muted: #6b665f;
  --color-bg-main: #faf8f5;
  --color-bg-alt: #f3efe6;
  --color-border: #e8e2d5;
  --color-accent: #bda06e;
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #1eb956;

  /* Tipografías */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Sombras y Transiciones */
  --shadow-sm: 0 2px 8px rgba(20, 19, 17, 0.05);
  --shadow-md: 0 8px 24px rgba(20, 19, 17, 0.08);
  --shadow-lg: 0 20px 48px rgba(20, 19, 17, 0.12);
  --shadow-modal: 0 30px 80px rgba(0, 0, 0, 0.5);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--demader-ivory);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Contenedor Universal */
.site-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Tipografía de Sección */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  color: var(--demader-gold-muted);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: var(--demader-charcoal);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-lead {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto 16px auto;
}

.header-divider {
  width: 48px;
  height: 2px;
  background-color: var(--demader-gold-muted);
  margin: 0 auto;
}

/* ==========================================================================
   TOP PROMOBAR
   ========================================================================== */
.demader-topbar {
  background-color: var(--demader-charcoal);
  color: #ded8cb;
  font-size: 0.78rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-link {
  color: #ded8cb;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.topbar-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.demader-header {
  background-color: rgba(20, 15, 12, 0.48);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 72px;
  margin-bottom: -72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 18px rgba(10, 7, 5, 0.08);
  transition: background-color 300ms ease, box-shadow 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
}

.demader-header.is-scrolled {
  background-color: rgba(91, 62, 43, 0.48);
  border-bottom-color: rgba(239, 220, 199, 0.24);
  box-shadow: 0 6px 24px rgba(42, 27, 18, 0.2);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.nav-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand-logo-demader {
  position: absolute;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

.brand-logo-demader__white {
  color: #fff !important;
}

.brand-logo-demader__orange {
  color: #f47743 !important;
}

.brand-logo-demader:hover {
  opacity: 0.86;
}

.nav-links-menu {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 0;
  list-style: none;
}

.nav-category-menu {
  display: block;
  padding-top: 20px;
}

#primary-navigation {
  display: none;
  position: absolute;
  top: 100%;
  right: max(24px, calc((100vw - 1320px) / 2 + 24px));
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  padding: 18px 24px 24px;
  background: var(--demader-ivory);
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 30px rgba(41, 32, 23, 0.12);
}

#primary-navigation.is-open {
  display: block;
}

.nav-links-menu li {
  border-bottom: 1px solid var(--color-border);
}

.nav-menu-link {
  display: block;
  padding: 12px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--demader-charcoal);
  text-decoration: none;
  transition: var(--transition-fast);
}

.nav-menu-link:hover {
  color: var(--color-gold);
}

.nav-category-menu-title {
  display: block;
  margin-bottom: 9px;
  color: #806541;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.nav-category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
}

.nav-category-link {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
  color: var(--demader-charcoal);
  font-size: 0.84rem;
  text-decoration: none;
}

.nav-category-link:hover {
  border-color: var(--color-gold);
  background: var(--demader-sand);
}

.nav-menu-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  color: #f5f0e9;
  cursor: pointer;
  transition: var(--transition-fast);
}

.nav-menu-toggle:hover,
.nav-menu-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.nav-menu-toggle:focus-visible,
.nav-menu-link:focus-visible,
.nav-category-link:focus-visible,
.nav-login-link:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.nav-login-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: #f5f0e9;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.nav-login-link:hover {
  border-color: rgba(217, 170, 85, 0.75);
  background: rgba(217, 170, 85, 0.1);
}

.nav-action-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.btn-header-cotizar {
 position: relative;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 7px;
 height: 40px;
 padding: 0 13px;
 border: 1px solid rgba(217, 170, 85, 0.62);
 border-radius: 999px;
 background: rgba(20, 15, 12, 0.2);
 color: #f5f0e9;
 font-family: inherit;
 font-size: 0.82rem;
 font-weight: 700;
 cursor: pointer;
 white-space: nowrap;
 box-shadow: 0 2px 10px rgba(10, 7, 5, 0.08);
 transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn-header-cotizar:hover {
 transform: translateY(-1px);
 border-color: #d9aa55;
 background: rgba(217, 170, 85, 0.12);
 box-shadow: 0 4px 14px rgba(10, 7, 5, 0.14);
}

.btn-header-cotizar .cotizar-icon {
 color: #d9aa55;
 flex-shrink: 0;
}

.btn-header-cotizar > span:not(.cart-badge-count) {
 color: #f5f0e9;
}

.btn-header-cotizar .cart-badge-count {
 position: static;
 display: inline-grid;
 place-items: center;
 width: 19px;
 height: 19px;
 margin-left: 1px;
 border-radius: 50%;
 background: #d9aa55;
 color: #20170f;
 font-size: 0.68rem;
 line-height: 1;
}

.btn-icon-nav {
  background: transparent;
  border: 1px solid transparent;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  color: #f5f0e9;
  position: relative;
  transition: var(--transition-fast);
}

.btn-icon-nav:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-badge-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: #d9aa55;
  color: #20170f;
  font-size: 0.68rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   HERO PRINCIPAL DE DEMADER (Editorial de Mobiliario Prémium)
   ========================================================================== */
.demader-hero-root {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #2b1d15;
}

/* Desktop Hero (>= 769px) */
.demader-hero-desktop {
  display: block;
  position: relative;
  width: 100%;
  height: 82vh;
  min-height: 560px;
  max-height: 780px;
}

.hero-stage-backdrop {
  position: absolute;
  inset: 0;
  isolation: isolate;
  background:
    linear-gradient(112deg, rgba(20, 14, 10, 0.62) 0%, rgba(33, 22, 15, 0.36) 54%, rgba(25, 17, 12, 0.18) 100%),
    url("../img/hero/hero-fondo-madera.png") center 55% / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-furniture-showcase {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  padding: 40px;
}

.hero-furniture-img {
  max-width: 90% !important;
  max-height: 85% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  mix-blend-mode: normal;
  transition: opacity 0.4s ease, transform 0.45s ease;
}

.hero-furniture-img.is-shifting {
  opacity: 0.3;
  transform: scale(0.97);
}

.hero-furniture-img.is-visible {
  opacity: 1;
  transform: scale(1);
}

.hero-inspect-pill {
  position: absolute;
  bottom: 30px;
  left: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--demader-charcoal);
  border: 1px solid rgba(92, 75, 54, 0.16);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.hero-editorial-overlay {
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;
  width: auto;
  max-width: none;
  z-index: 2;
  color: #fff;
  text-align: center;
  transform: translateY(-50%);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.78);
}

.hero-material-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f0dfc9;
  margin-bottom: 12px;
}

.hero-dynamic-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 4rem);
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  margin-bottom: 14px;
  color: #fff;
  transition: opacity 0.35s ease;
}

.hero-dynamic-title.is-shifting {
  opacity: 0.2;
}

.hero-dynamic-title.is-visible {
  opacity: 1;
}

.hero-complementary-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
  line-height: 1.55;
}

.hero-btn-discover {
  background-color: #fff;
  color: #241810;
  border: 1px solid #fff;
  padding: 14px 32px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-btn-discover:hover {
  background-color: var(--color-gold);
  color: #ffffff;
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.hero-indicators-corner {
  position: absolute;
  bottom: 28px;
  left: 7%;
  display: flex;
  gap: 10px;
  z-index: 6;
}

.hero-dot-indicator {
  width: 32px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.42);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-dot-indicator.active {
  background-color: #fff;
}

/* Mobile Hero (< 769px) */
.demader-hero-mobile {
  display: none;
  background-color: #2b1d15;
}

@media (max-width: 900px) {
  .demader-topbar {
    display: block;
    padding: 7px 0;
  }

  .topbar-container {
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  .topbar-carousel {
    flex: 1 1 100%;
    justify-content: center;
    text-align: center;
  }

  .topbar-carousel span {
    overflow-wrap: anywhere;
  }

  .topbar-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .demader-header {
    min-height: 68px;
    margin-bottom: -68px;
  }

  .nav-container {
    height: 68px;
    gap: 10px;
    padding: 0 18px;
  }

  .nav-action-buttons {
    position: static;
    display: flex;
    gap: 6px;
    margin-left: auto;
    pointer-events: auto;
    transform: none;
  }

  .nav-action-buttons > * {
    position: static;
    transform: none;
  }

  .nav-container > .btn-header-cotizar {
    position: relative;
    width: 38px;
    height: 38px;
    padding: 0;
  }

  .nav-container > .btn-header-cotizar > span:not(.cart-badge-count) {
    display: none;
  }

  .nav-container > .btn-header-cotizar .cotizar-icon {
    width: 16px;
    height: 16px;
  }

  .nav-container > .btn-header-cotizar .cart-badge-count {
    position: absolute;
    top: -3px;
    right: 0;
    width: 16px;
    height: 16px;
  }

  .nav-menu-toggle {
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
  }

  #primary-navigation {
    left: 0;
    right: 0;
    width: auto;
    max-height: calc(100dvh - 68px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 420px) {
  .nav-container {
    gap: 6px;
    padding: 0 12px;
  }

  .brand-logo-demader {
    font-size: 1.25rem;
    letter-spacing: 0.1em;
  }

  .nav-menu-toggle {
    width: 30px;
    height: 30px;
    min-height: 30px;
  }

  .nav-action-buttons {
    gap: 3px;
  }

  .nav-container > .btn-header-cotizar {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 360px) {
  .brand-logo-demader {
    font-size: 1.1rem;
    letter-spacing: 0.07em;
  }

  .nav-container > .btn-header-cotizar {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 768px) {
  .demader-hero-desktop {
    display: none;
  }
  .demader-hero-mobile {
    display: block;
  }
  .hero-mobile-photo-stage {
    position: relative;
    isolation: isolate;
    height: 52vh;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
      linear-gradient(145deg, rgba(20, 14, 10, 0.48) 0%, rgba(33, 22, 15, 0.34) 58%, rgba(25, 17, 12, 0.28) 100%),
      url("../img/hero/hero-fondo-madera.png") 32% center / cover no-repeat;
    padding: 20px;
  }
  .hero-mobile-img {
    max-width: 90% !important;
    max-height: 85% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    mix-blend-mode: normal;
  }
  .hero-mobile-material-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #f0dfc9;
    letter-spacing: 1.5px;
    text-transform: uppercase;
  }
  .hero-mobile-title-overlay {
    position: absolute;
    bottom: 28px;
    left: 0;
    right: 0;
    padding: 24px 20px 14px 20px;
    background: linear-gradient(to top, rgba(33, 23, 16, 0.98) 0%, rgba(33, 23, 16, 0.78) 65%, transparent 100%);
  }
  .hero-mobile-dynamic-title {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
  }
  .hero-mobile-bottom-card {
    background-color: #2b1d15;
    padding: 24px 20px;
  }
  .hero-mobile-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 18px;
  }
  .hero-mobile-btn-discover {
    width: 100%;
    background-color: #fff;
    color: #241810;
    border: 1px solid #fff;
    padding: 14px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 6px;
  }
}

/* ==========================================================================
   EXPLORA POR CATEGORÍA CON ROTACIÓN DINÁMICA CADA 1.5s
   ========================================================================== */
.categories-explorer {
  padding: 80px 0;
  background-color: var(--color-bg-main);
}

.category-cards-grid-reformed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.category-card-reformed {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.category-card-reformed:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold);
}

.cat-reformed-header {
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f2ede4;
  background-color: #faf8f5;
}

.cat-reformed-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--demader-gold-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cat-reformed-count {
  font-size: 0.72rem;
  font-weight: 600;
  background-color: #f0ece3;
  color: var(--demader-charcoal);
  padding: 2px 8px;
  border-radius: 12px;
}

.cat-reformed-img-box {
  height: 220px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  isolation: isolate;
  background: radial-gradient(circle at center, #ffffff 0%, #faf8f5 70%, #f4efe7 100%);
  border-bottom: 1px solid #f2ede4;
  position: relative;
  overflow: hidden;
}

.cat-rotator-img {
  max-width: 88% !important;
  max-height: 88% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  mix-blend-mode: multiply;
  transition: opacity 0.35s ease-in-out, transform 0.35s ease;
  display: block;
  margin: auto;
}

.cat-rotator-img.is-shifting {
  opacity: 0.25;
  transform: scale(0.96);
}

.cat-rotator-img.is-visible {
  opacity: 1;
  transform: scale(1);
}

.cat-reformed-content {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cat-reformed-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--demader-charcoal);
  margin-bottom: 8px;
  line-height: 1.25;
}

.cat-reformed-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}

.cat-reformed-cta {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--demader-charcoal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.category-card-reformed:hover .cat-reformed-cta {
  color: var(--color-gold);
}

/* ==========================================================================
   CATÁLOGO DE PRODUCTOS (Garantía de Imagen Completa & Separación Nítida)
   ========================================================================== */
.products-section {
  padding: 80px 0;
  background-color: #faf8f5;
  border-top: 1px solid var(--color-border);
}

.catalog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tab {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--demader-charcoal);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-tab:hover {
  background-color: var(--demader-sand);
}

.filter-tab.active {
  background-color: var(--demader-charcoal);
  color: var(--demader-ivory);
  border-color: var(--demader-charcoal);
}

.sort-select {
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  background-color: #ffffff;
  font-size: 0.84rem;
  font-family: inherit;
  color: var(--demader-charcoal);
  outline: none;
}

.products-grid-ordered {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(520px, 1fr));
 gap: 26px;
  align-items: stretch;
}

.product-card-ordered {
 min-height: 500px;
 overflow: hidden;
 border: 1px solid rgba(179, 137, 82, 0.35);
 border-radius: 22px;
 background: linear-gradient(135deg, #fffdfa 0%, #fbf6ee 100%);
 box-shadow: 0 12px 34px rgba(67, 48, 28, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.9);
 display: grid;
 grid-template-columns: minmax(220px, 43%) minmax(0, 57%);
 transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card-ordered:hover {
  transform: translateY(-4px);
 border-color: rgba(159, 112, 72, 0.62);
 box-shadow: 0 20px 46px rgba(67, 48, 28, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.card-image-stage {
 height: 100%;
 min-height: 500px;
 width: 100%;
 position: relative;
 isolation: isolate;
 background:
   radial-gradient(ellipse at 50% 42%, rgba(255, 255, 255, 0.9), transparent 58%),
   linear-gradient(145deg, #f3e8d8 0%, #fbf7f0 54%, #eee0ce 100%);
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 28px;
 border-right: 1px solid rgba(189, 160, 110, 0.24);
 cursor: zoom-in;
}

.card-product-img {
  max-width: 90% !important;
  max-height: 90% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  mix-blend-mode: multiply;
  transition: transform 0.3s ease;
}

.card-image-stage:hover .card-product-img {
  transform: scale(1.04);
}

.card-floating-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: linear-gradient(135deg, #9f6b2f, #71451f);
  box-shadow: 0 5px 14px rgba(71, 45, 19, 0.2);
  color: #fffaf2;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.card-btn-inspect-pill {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 7px 12px;
  border: 1px solid rgba(184, 145, 91, 0.28);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.9);
  color: #594632;
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(61, 43, 26, 0.1);
  backdrop-filter: blur(6px);
}

.card-specs-body {
  min-width: 0;
  padding: 30px 30px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(251, 246, 238, 0.92));
}

.card-specs-body > div:first-child {
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px !important;
}

.card-cat-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: #a56d2d;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.card-variant-count {
  padding: 5px 9px;
  border: 1px solid rgba(183, 142, 86, 0.24);
  border-radius: 999px;
  background: rgba(245, 234, 217, 0.72);
  color: #604d3b;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.card-title {
  font-family: var(--font-serif);
  margin: 0 0 10px;
  color: #302416;
  font-size: clamp(1.7rem, 2.25vw, 2.3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.card-dims-box {
  margin: 0 0 14px;
  padding: 13px 15px;
  border: 1px solid rgba(188, 145, 86, 0.16);
  border-radius: 13px;
  background: linear-gradient(110deg, rgba(245, 231, 211, 0.88), rgba(250, 243, 232, 0.75));
  color: #554331;
  font-size: 0.84rem;
  line-height: 1.5;
}

.card-desc {
  margin: 0 0 18px;
  color: #6b6259;
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}

.product-feature-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.product-feature-badges span {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--demader-ivory);
  color: var(--demader-charcoal-light);
  font-size: .75rem;
  font-weight: 700;
}

.card-final-price {
  display: grid;
  gap: 5px;
  margin: 0 0 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(183, 142, 86, 0.24);
  color: #302416;
}

.card-final-price del,
#qv-price del {
  color: #8d8175;
  font-size: 0.9em;
  font-weight: 400;
}

.configurator-price__from {
  color: var(--color-text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.configurator-price__discount {
  display: inline-block;
  margin-left: 4px;
  padding: 3px 7px;
  border-radius: 4px;
  background: #651b1b;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
}

.card-final-price strong {
  color: #2e241a;
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
  letter-spacing: 0.01em;
}

.card-final-price .configurator-price__discount {
  background: #a56d2d;
}

.card-final-price small {
  color: #766b60;
  font-size: 0.75rem;
  line-height: 1.4;
}

.card-actions-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
}

.btn-shop-purchase {
  width: 100%;
  margin-top: 10px;
  padding: 11px 14px;
  border: 1px solid var(--demader-charcoal);
  border-radius: 6px;
  color: var(--demader-ivory);
  background: var(--demader-charcoal);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-shop-purchase:hover {
  background: var(--demader-gold-muted);
  border-color: var(--demader-gold-muted);
}

.qv-config-actions {
  display: grid;
  gap: 10px;
}

.qv-visual {
  min-width: 0;
}

.qv-image-stage {
  display: flex;
  height: 320px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: radial-gradient(circle at center, #fff 0%, #faf8f5 75%, #f2ebdf 100%);
  cursor: zoom-in;
}

.qv-image-stage .quick-view-product-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.qv-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.qv-gallery:empty {
  display: none;
}

.qv-gallery-thumb {
  display: grid;
  width: 68px;
  gap: 3px;
  padding: 4px;
  border: 1px solid #ded5c8;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.qv-gallery-thumb img {
  width: 58px;
  height: 46px;
  object-fit: contain;
}

.qv-gallery-thumb small {
  overflow: hidden;
  color: var(--color-text-muted);
  font-size: 0.62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qv-gallery-thumb:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.qv-config-actions .btn-shop-purchase {
  margin-top: 0;
}

#qv-config-options {
  display: grid;
  gap: 12px;
}

.qv-configured-specs {
  display: grid;
  gap: 5px;
  margin: 8px 0 0;
  color: #444;
  font-size: 0.78rem;
}

.qv-configured-specs > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.qv-configured-specs dt {
  font-weight: 700;
}

.qv-configured-specs dd {
  margin: 0;
}

.card-configured-colors {
  margin: 8px 0;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.card-configured-colors strong {
  color: var(--demader-charcoal);
}

.qv-option-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.qv-option-group > legend,
.qv-option-group > span {
  display: block;
  margin-bottom: 8px;
  color: #25211d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qv-option-select select {
  width: 100%;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid #ded5c8;
  border-radius: 6px;
  background: #fff;
  color: var(--demader-charcoal);
  font: inherit;
}

.qv-color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qv-color-option {
  display: inline-flex;
  min-width: 54px;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--color-text-main);
  font: inherit;
  cursor: pointer;
}

.qv-color-option > span {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(30, 25, 20, 0.24);
  border-radius: 50%;
  background: var(--option-color);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.qv-color-option small {
  max-width: 88px;
  overflow: hidden;
  font-size: 0.67rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qv-color-option.is-selected {
  border-color: var(--demader-charcoal);
  background: #f7f2eb;
}

.qv-color-option:focus-visible,
.qv-option-select select:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.qv-selected-reference {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

#quick-view-modal .qv-recommendations[hidden] {
  display: none;
}

.qv-recommendations {
  min-width: 0;
  padding: 20px 24px 24px;
  border-top: 1px solid rgba(183, 142, 86, 0.24);
  background: linear-gradient(180deg, #fffdfa 0%, #f8f2e9 100%);
}

.qv-recommendations__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.qv-recommendations__heading {
  min-width: 0;
  text-align: left;
}

.qv-recommendations__heading > span {
  color: #a56d2d;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.qv-recommendations__heading h4 {
  margin: 4px 0 0;
  color: #302416;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 500;
}

.qv-recommendations__controls {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.qv-recommendations__controls button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(165, 109, 45, 0.38);
  border-radius: 50%;
  background: #fffdfa;
  color: #825629;
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.qv-recommendations__controls button:not(:disabled):hover {
  border-color: #825629;
  background: #825629;
  color: #fff;
}

.qv-recommendations__controls button:disabled {
  opacity: 0.38;
  cursor: default;
}

.qv-recommendations__controls button:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.qv-recommendations__viewport {
  overflow: hidden;
}

.qv-recommendations__list {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.qv-recommendations__list::-webkit-scrollbar {
  display: none;
}

.qv-recommendation {
  display: flex;
  flex: 0 0 clamp(210px, 23%, 248px);
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(179, 137, 82, 0.28);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.88);
  color: #302416;
  font: inherit;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.qv-recommendation:hover {
  transform: translateY(-2px);
  border-color: rgba(159, 112, 72, 0.68);
  box-shadow: 0 8px 18px rgba(67, 48, 28, 0.12);
}

.qv-recommendation__image {
  display: grid;
  width: 100%;
  height: clamp(125px, 14vw, 170px);
  flex: 0 0 auto;
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(255, 255, 255, 0.96), transparent 66%),
    linear-gradient(145deg, #f3e8d8, #fbf7f0 60%, #eee0ce);
}

.qv-recommendation__image img {
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  padding: 9%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 5px 5px rgba(67, 48, 28, 0.12));
}

.qv-recommendation__name {
  display: -webkit-box;
  width: 100%;
  min-height: 2.5em;
  margin-top: 9px;
  overflow: hidden;
  color: #302416;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.qv-recommendation__price {
  display: flex;
  min-height: 1.5em;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 6px;
  margin-top: 5px;
  color: #6a5947;
  font-size: 0.75rem;
  line-height: 1.3;
}

.qv-recommendation__price strong {
  color: #302416;
  font-size: 0.82rem;
}

.qv-recommendation__price .configurator-price__from {
  font-size: 0.66rem;
}

.qv-recommendation__price .configurator-price__discount {
  margin-left: 0;
  font-size: 0.65rem;
}

.qv-recommendation__link {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  color: #956735;
  font-size: 0.73rem;
  font-weight: 700;
}

.qv-recommendation:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .qv-recommendation {
    flex-basis: min(68%, 230px);
  }
}

@media (max-width: 420px) {
  .qv-recommendations {
    padding: 18px 16px 20px;
  }

  .qv-recommendations__top {
    align-items: center;
    gap: 8px;
  }

  .qv-recommendations__heading > span {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  .qv-recommendations__heading h4 {
    font-size: 1.28rem;
  }

  .qv-recommendations__controls {
    gap: 5px;
  }

  .qv-recommendations__controls button {
    width: 34px;
    height: 34px;
  }
}

.shop-toast {
  position: fixed;
  z-index: 1100;
  right: 1rem;
  bottom: 1rem;
  max-width: min(360px, calc(100% - 2rem));
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  color: #fff;
  background: var(--demader-charcoal);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.shop-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.shop-toast__link {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.btn-card-spec {
  min-height: 52px;
  flex: 1;
  padding: 10px 8px;
  border: 1px solid rgba(165, 109, 45, 0.58);
  border-radius: 999px;
  background: linear-gradient(135deg, #a9783f, #825629);
  box-shadow: 0 6px 14px rgba(113, 69, 31, 0.16);
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.15;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-fast);
}

.btn-card-spec:hover {
  border-color: #70451f;
  background: linear-gradient(135deg, #b98950, #956735);
  color: #fff;
}

.btn-card-wa {
  min-height: 52px;
  flex: 1;
  padding: 10px 8px;
  border: 1px solid rgba(165, 109, 45, 0.3);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #73502d;
  font-size: 0.78rem;
  line-height: 1.15;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-card-wa:hover {
  border-color: rgba(165, 109, 45, 0.65);
  background: #f5ead9;
  color: #54391e;
}

@media (max-width: 700px) {
 .products-grid-ordered {
   grid-template-columns: 1fr;
 }

 .product-card-ordered {
   min-height: 0;
   grid-template-columns: 1fr;
   border-radius: 14px;
 }

 .card-image-stage {
   min-height: 320px;
   height: 320px;
   border-right: 0;
   border-bottom: 1px solid rgba(189, 160, 110, 0.18);
 }

 .card-specs-body {
   padding: 24px 20px 20px;
 }

 .card-title {
   font-size: clamp(1.65rem, 7vw, 2rem);
 }

 .card-actions-row {
   grid-template-columns: repeat(2, minmax(0, 1fr));
 }
}

#quick-view-modal .image-detail-dialog {
  box-sizing: border-box;
  overflow-y: auto;
}

#quick-view-modal .image-detail-dialog > div:nth-child(2) {
  min-width: 0;
  box-sizing: border-box;
}

#quick-view-modal .image-detail-dialog > div:nth-child(2) > div {
  min-width: 0;
}

#quick-view-modal .image-detail-dialog p,
#quick-view-modal .image-detail-dialog span {
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  #quick-view-modal .image-detail-dialog {
    max-height: calc(100vh - 32px);
  }

  #quick-view-modal .image-detail-dialog > div:nth-child(2) {
    grid-template-columns: 1fr !important;
    padding: 16px !important;
  }
}

/* ==========================================================================
   MODAL DE INSPECCIÓN DE DETALLE Y ZOOM (ImageDetailModal)
   Garantiza que toda pieza se vea 100% íntegra y completa sin cortes
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(12, 10, 8, 0.92);
  backdrop-filter: blur(12px);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.open {
  display: flex;
}

.image-detail-dialog {
  width: 100%;
  max-width: 1100px;
  max-height: 96vh;
  background-color: #faf8f5;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  border: 1px solid #e5ded0;
  position: relative;
}

.image-detail-dialog.is-fullscreen {
  max-width: 100vw;
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
  border: none;
}

.image-detail-stage {
  flex: 1;
  width: 100%;
  height: min(62vh, 620px);
  min-height: 380px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  position: relative !important;
  isolation: isolate;
  background-color: #ffffff;
  background-image: radial-gradient(circle at center, #ffffff 0%, #faf8f5 65%, #f2ebdf 100%);
  user-select: none;
  padding: 28px;
}

.image-detail-modal-img {
  max-width: calc(100% - 32px) !important;
  max-height: calc(100% - 32px) !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  margin: auto !important;
  mix-blend-mode: multiply;
  transform-origin: center center;
  pointer-events: auto;
}

.quick-view-product-img {
  mix-blend-mode: multiply;
}

/* ==========================================================================
   COMPROMISO DEMADER / VIDEOS
   ========================================================================== */

.commitment-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 2% 0%, rgba(201, 168, 117, 0.13), transparent 25%),
    radial-gradient(ellipse at 98% 100%, rgba(201, 168, 117, 0.12), transparent 25%),
    linear-gradient(135deg, #fbf8f3 0%, #f5eee4 50%, #fbf8f3 100%);
}

.commitment-section .site-container {
  position: relative;
  z-index: 1;
}

.commitment-section .section-header {
  max-width: 760px;
  margin: 0 auto 34px;
}

.commitment-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 7px;
  color: #aa7b3d;
  font-size: 0.76rem;
  letter-spacing: 0.25em;
}

.commitment-kicker::before,
.commitment-kicker::after {
  width: clamp(32px, 8vw, 96px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(170, 123, 61, 0.8));
  content: "";
}

.commitment-kicker::after {
  transform: rotate(180deg);
}

.commitment-section-title {
  margin: 0 0 5px;
  color: #302416;
  font-size: clamp(2.25rem, 4vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.commitment-section-lead {
  margin: 0;
  color: #695b4a;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.5;
}

.commitment-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin: 12px auto 0;
  color: #b3874e;
}

.commitment-divider span {
  width: 82px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #bc9259);
}

.commitment-divider span:last-child {
  transform: rotate(180deg);
}

.commitment-divider svg {
  width: 23px;
  height: 23px;
}

.commitment-grid {
  display: grid;
  width: min(100%, 1240px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
  align-items: stretch;
}

.commitment-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 256px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 18px 22px 22px;
  border: 1px solid rgba(187, 139, 75, 0.52);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.76), rgba(250, 245, 237, 0.94));
  box-shadow: 0 8px 18px rgba(67, 48, 28, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-align: center;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.commitment-card::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 44px;
  height: 2px;
  border-radius: 0 0 3px 3px;
  background: #b88748;
  content: "";
  transform: translateX(-50%);
}

.commitment-card:hover {
  border-color: rgba(166, 115, 49, 0.78);
  box-shadow: 0 14px 28px rgba(67, 48, 28, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(-3px);
}

.commitment-card-title {
  display: flex;
  min-height: 126px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  margin: 0 0 7px;
  color: #302416;
  font-family: var(--font-serif);
  font-size: clamp(1.22rem, 1.6vw, 1.55rem);
  line-height: 1.12;
  text-wrap: balance;
}

.commitment-card-title > span:last-child {
  max-width: 16ch;
}

.commitment-card-icon {
  display: grid;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  place-items: center;
  border: 1px solid rgba(185, 133, 65, 0.13);
  border-radius: 50%;
  color: #a87938;
  background: radial-gradient(circle at 50% 35%, #f8ead3 0%, #f3dfc1 100%);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.72);
}

.commitment-card-icon svg {
  width: 46px;
  height: 46px;
}

.commitment-card-copy {
  max-width: 29ch;
  min-height: 0;
  margin: 0 auto;
  color: #62594f;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
  text-wrap: pretty;
}

.commitment-videos {
  margin-top: 56px;
  padding-top: 42px;
  border-top: 1px solid rgba(189, 160, 110, 0.28);
}

.commitment-videos {
  margin-top: 56px;
  padding-top: 42px;
  border-top: 1px solid rgba(189, 160, 110, 0.28);
}

.commitment-videos-heading {
  margin-bottom: 24px;
  text-align: center;
}

.commitment-videos-heading h3,
.commitment-videos-heading h2 {
  margin: 4px 0 6px;
  color: var(--demader-charcoal);
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.commitment-videos-heading p {
  margin: 0;
  color: var(--color-text-muted);
}

.commitment-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.commitment-video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 560px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--demader-charcoal);
  box-shadow: 0 14px 34px rgba(38, 30, 21, 0.12);
}

.commitment-video-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.commitment-video-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 17, 14, 0.08), rgba(20, 17, 14, 0.68));
}

.commitment-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  padding-left: 4px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  color: #fff;
  background: rgba(20, 17, 14, 0.72);
  font-size: 1.05rem;
  transform: translate(-50%, -50%);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.commitment-video-action {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}
.commitment-video-source {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(20, 17, 14, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
}

.commitment-video-card:hover > img { transform: scale(1.045); }
.commitment-video-card:hover .commitment-video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--demader-gold-muted); }
.commitment-video-card .commitment-video-play:focus-visible { outline: 3px solid var(--color-gold); outline-offset: 3px; }
.commitment-video-card .commitment-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #111;
}
.commitment-video-card .commitment-video-player[hidden] { display: none; }
.commitment-video-card.is-playing > img,
.commitment-video-card.is-playing > .commitment-video-shade,
.commitment-video-card.is-playing > .commitment-video-play,
.commitment-video-card.is-playing > .commitment-video-action,
.commitment-video-card.is-playing > .commitment-video-source { display: none; }

@media (max-width: 900px) { .commitment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .commitment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .commitment-card { min-height: 250px; padding: 18px 18px 20px; }
  .commitment-card-title { min-height: 122px; font-size: 1.25rem; }
  .commitment-section .section-header { margin-bottom: 28px; }
  .commitment-videos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .commitment-grid { grid-template-columns: 1fr; }
  .commitment-kicker { gap: 10px; font-size: 0.65rem; letter-spacing: 0.16em; }
  .commitment-divider span { width: 58px; }
  .commitment-card { min-height: 0; padding: 20px 22px 24px; }
  .commitment-card-title { min-height: 0; margin-bottom: 12px; }
  .commitment-card-copy { min-height: 0; }
  .commitment-videos-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .demader-topbar { font-size: 0.7rem; }
  .topbar-container { gap: 5px 10px; }
  .topbar-carousel { display: flex; }
  .topbar-links { gap: 6px 10px; }
  .topbar-link { font-size: 0.68rem; }
  .header-social-links { gap: 6px; }
  .header-social-link { width: 30px; height: 30px; }
}

/* ==========================================================================
   SHOWROOMS Y FOOTER
   ========================================================================== */.showrooms-section {
  padding: 80px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
}

.company-gallery-section {
  padding: clamp(52px, 7vw, 88px) 0;
  background:
    radial-gradient(ellipse at 50% 0, rgba(226, 209, 179, 0.26), transparent 58%),
    #f8f6f1;
}

.company-gallery-heading {
  margin-bottom: 30px;
}

.company-gallery-heading .section-title {
  margin-bottom: 10px;
}

.company-gallery {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding-bottom: 34px;
}

.company-gallery__viewport {
  height: clamp(250px, 48vw, 590px);
  overflow: hidden;
  border: 1px solid rgba(153, 124, 81, 0.25);
  border-radius: 22px;
  background: #e9e3d8;
  box-shadow: 0 22px 60px rgba(49, 37, 22, 0.13);
}

.company-gallery__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 650ms cubic-bezier(0.22, 0.68, 0, 1);
  will-change: transform;
}

.company-gallery__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 55%),
    #e9e3d8;
}

.company-gallery__slide img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.company-gallery__control {
  position: absolute;
  top: calc(50% - 17px);
  z-index: 1;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  color: #fffaf2;
  background: rgba(48, 36, 22, 0.66);
  box-shadow: 0 8px 24px rgba(32, 24, 16, 0.22);
  font-size: 1.25rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.company-gallery__control:hover {
  background: #76502b;
  transform: scale(1.06);
}

.company-gallery__control:focus-visible,
.company-gallery__indicators button:focus-visible {
  outline: 3px solid #b98950;
  outline-offset: 3px;
}

.company-gallery__control--previous {
  left: 18px;
}

.company-gallery__control--next {
  right: 18px;
}

.company-gallery__indicators {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.company-gallery__indicators button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c9bca8;
  cursor: pointer;
  transition: width var(--transition-fast), border-radius var(--transition-fast), background var(--transition-fast);
}

.company-gallery__indicators button[aria-current="true"] {
  width: 26px;
  border-radius: 999px;
  background: #8a6438;
}

.company-video-section {
  padding: 1px 0 clamp(56px, 7vw, 88px);
  background: #fff;
}

@media (max-width: 620px) {
  .company-gallery-section {
    padding: 54px 0 58px;
  }

  .company-gallery-heading {
    margin-bottom: 22px;
  }

  .company-gallery__viewport {
    height: clamp(230px, 70vw, 360px);
    border-radius: 16px;
  }

  .company-gallery__control {
    width: 38px;
    height: 38px;
  }

  .company-gallery__control--previous {
    left: 10px;
  }

  .company-gallery__control--next {
    right: 10px;
  }

  .company-video-section {
    padding-bottom: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-gallery__track,
  .company-gallery__control,
  .company-gallery__indicators button {
    transition: none;
  }
}

.showrooms-grid {
  display: grid;
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
}

.showroom-card {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(179, 137, 82, 0.34);
  border-radius: 22px;
  background: linear-gradient(140deg, #fffdfa 0%, #f8f2e9 100%);
  box-shadow: 0 16px 38px rgba(67, 48, 28, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
}

.showroom-city {
  font-size: 0.74rem;
  font-weight: 700;
  color: #a56d2d;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}

.showroom-name {
  font-family: var(--font-serif);
  margin: 0 0 12px;
  color: #302416;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.showroom-info-p {
  color: #62594f;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 8px;
}

.showroom-map-link {
  margin-top: 8px;
  color: var(--demader-charcoal);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.showroom-map-button {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(189, 160, 110, 0.48);
  border-radius: 16px;
  background: #fffdfa;
  box-shadow: 0 8px 22px rgba(28, 24, 20, 0.09);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.showroom-map-button:hover {
  color: var(--demader-charcoal);
  border-color: var(--demader-gold-muted);
  box-shadow: 0 8px 20px rgba(28, 24, 20, 0.14);
  transform: translateY(-2px);
}

.showroom-map-preview {
  display: block;
  height: clamp(220px, 32vw, 340px);
  background: #e9e5dc;
  pointer-events: none;
}

.showroom-map-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.72) contrast(1.03);
  pointer-events: none;
}

.showroom-map-button-label {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fffdfa;
  border-top: 1px solid rgba(189, 160, 110, 0.38);
}

.showroom-map-button-label > span {
  color: #d94b42;
}

.quote-request-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  background: rgba(20, 17, 14, 0.62);
}

.quote-request-modal[hidden] {
  display: none;
}

.quote-request-dialog {
  width: min(760px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.24);
}

.quote-request-header,
.quote-request-dialog footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.quote-request-header {
  margin-bottom: 22px;
}

.quote-request-header h2 {
  margin: 4px 0;
  color: var(--demader-charcoal);
  font-family: var(--font-serif);
}

.quote-request-header p,
.quote-request-products p {
  margin: 5px 0 0;
  color: var(--color-text-muted);
  font-size: 0.86rem;
}

.quote-request-header > button {
  border: 0;
  background: transparent;
  color: var(--demader-charcoal);
  cursor: pointer;
  font-size: 1.6rem;
}

.quote-request-products {
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #faf8f5;
}

.quote-request-products h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
}

.quote-request-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quote-request-grid label,
.quote-request-details {
  display: grid;
  gap: 6px;
  color: var(--demader-charcoal);
  font-size: 0.86rem;
  font-weight: 600;
}

.quote-request-grid input,
.quote-request-details textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--demader-charcoal);
  font: inherit;
}

.quote-request-details {
  margin-top: 16px;
}

.quote-request-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 16px 0;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.quote-request-consent input {
  margin-top: 3px;
}

.quote-request-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.quote-request-message {
  min-height: 1.2em;
  color: var(--demader-charcoal);
  font-size: 0.86rem;
}

.quote-request-message.is-error {
  color: #b91c1c;
}

.quote-request-dialog footer {
  justify-content: flex-end;
  margin-top: 12px;
}

.quote-request-dialog footer button {
  cursor: pointer;
}

.quote-request-dialog footer button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.quote-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -12px 0 40px rgba(28, 20, 16, 0.18);
}

.quote-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid #eee8e1;
}

.quote-drawer__eyebrow {
  color: var(--demader-accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-drawer__header h3 {
  margin: 3px 0 0;
  font-family: var(--font-serif);
  font-size: 1.45rem;
}

.quote-drawer__close {
  width: 38px;
  height: 38px;
  border: 1px solid #ebe4dc;
  border-radius: 50%;
  background: #fff;
  color: var(--demader-charcoal);
  font-size: 1.45rem;
  cursor: pointer;
}

.quote-drawer__items { flex: 1; overflow-y: auto; padding: 18px 22px; }
.quote-drawer__footer { padding: 16px 22px 20px; border-top: 1px solid #eee8e1; background: #fbf8f4; }
.quote-drawer__primary, .quote-drawer__secondary, .quote-drawer-browse {
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}

.quote-drawer__primary, .quote-drawer-browse {
  border: 0;
  background: var(--demader-accent);
 color: #000 !important;
  box-shadow: 0 7px 18px rgba(244, 119, 67, 0.22);
}

.quote-drawer__primary {
 display: block;
 min-height: 46px;
 margin-top: 8px;
 color: #000 !important;
 opacity: 1 !important;
 visibility: visible !important;
}

.quote-drawer__catalog {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 7px;
 width: 100%;
 min-height: 42px;
 margin-bottom: 8px;
 border: 1px solid #dfd5cb;
 border-radius: 10px;
 background: #fff;
 color: var(--demader-charcoal);
 font-family: inherit;
 font-weight: 700;
 cursor: pointer;
}

.quote-drawer__catalog span {
 color: var(--demader-accent);
 font-size: 1.2rem;
 line-height: 1;
}

.quote-drawer__secondary {
  margin-top: 8px;
  border: 1px solid #d8cec4;
  background: #fff;
  color: var(--demader-charcoal);
}

.quote-drawer-empty { text-align: center; }
.quote-drawer-empty__icon { width: 58px; height: 58px; margin: 4px auto 14px; padding: 14px; border-radius: 50%; background: #fff1e8; color: var(--demader-accent); }
.quote-drawer-empty__icon svg { width: 100%; height: 100%; }
.quote-drawer-empty h4 { margin: 0; font-family: var(--font-serif); font-size: 1.25rem; }
.quote-drawer-empty > p { max-width: 280px; margin: 7px auto 18px; color: var(--color-text-muted); font-size: 0.86rem; line-height: 1.55; }
.quote-drawer-products { display: grid; gap: 8px; margin-bottom: 14px; text-align: left; }
.quote-drawer-products > span { margin-bottom: 2px; color: var(--demader-charcoal); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.quote-drawer-product { display: grid; grid-template-columns: 48px minmax(0, 1fr) 28px; align-items: center; gap: 10px; min-height: 58px; padding: 6px 8px; border: 1px solid #ebe5de; border-radius: 10px; background: #fff; color: var(--demader-charcoal); font-family: inherit; text-align: left; cursor: pointer; }
.quote-drawer-product:hover { border-color: var(--demader-accent); background: #fffaf7; }
.quote-drawer-product img { width: 48px; height: 44px; border-radius: 6px; background: #f4f1ed; object-fit: contain; }
.quote-drawer-product strong { overflow: hidden; font-size: 0.78rem; text-overflow: ellipsis; white-space: nowrap; }
.quote-drawer-product > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--demader-accent); color: #fff; font-size: 1.1rem; }
.quote-drawer-browse { min-height: 42px; background: transparent; border: 1px solid #d9cfc5; color: var(--demader-charcoal); box-shadow: none; }
.quote-drawer-selection-summary { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; padding: 14px 16px; border: 1px solid #eadfd5; border-radius: 12px; background: #fffaf7; }
.quote-drawer-selection-summary strong { color: var(--demader-charcoal); font-family: var(--font-serif); font-size: 1rem; }
.quote-drawer-selection-summary span { color: var(--color-text-muted); font-size: 0.78rem; }
.quote-drawer-selection-list { display: grid; gap: 9px; }
.quote-drawer-selection-item { display: grid; grid-template-columns: 58px minmax(0, 1fr) 32px; align-items: center; gap: 12px; padding: 10px; border: 1px solid #ece6df; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(45, 35, 28, 0.05); }
.quote-drawer-selection-item img { width: 58px; height: 58px; border-radius: 8px; background: #f5f2ee; object-fit: contain; }
.quote-drawer-selection-info { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.quote-drawer-selection-info strong { overflow: hidden; color: var(--demader-charcoal); font-size: 0.86rem; text-overflow: ellipsis; white-space: nowrap; }
.quote-drawer-selection-info span { color: var(--color-text-muted); font-size: 0.76rem; }
.quote-drawer-selection-item .quote-drawer-remove { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f7f3ef; color: #8c8178; font-size: 1.25rem; cursor: pointer; }
.quote-drawer-quantity { display: inline-grid; grid-template-columns: 30px 34px 30px; align-items: center; width: max-content; height: 30px; overflow: hidden; border: 1px solid #ded5cc; border-radius: 999px; background: #fff; }
.quote-drawer-quantity button { width: 30px; height: 30px; padding: 0; border: 0; background: #faf8f5; color: var(--demader-charcoal); font-size: 1rem; font-weight: 700; cursor: pointer; }
.quote-drawer-quantity span { display: grid; place-items: center; height: 30px; color: var(--demader-charcoal); font-size: 0.82rem; font-weight: 800; }
#quote-request-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quote-request-product-card { display: grid; grid-template-columns: 68px minmax(0, 1fr); align-items: center; gap: 12px; min-width: 0; padding: 10px; border: 1px solid #e6ded4; border-radius: 10px; background: #fff; }
.quote-request-product-card img { width: 68px; height: 68px; border-radius: 8px; background: #f4f1ed; object-fit: contain; }
.quote-request-product-details { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.quote-request-product-details strong { overflow: hidden; color: var(--demader-charcoal); font-size: 0.82rem; text-overflow: ellipsis; }
.quote-request-product-details span { color: var(--color-text-muted); font-size: 0.72rem; }
.quote-request-product-details b { width: max-content; margin-top: 3px; padding: 4px 8px; border-radius: 999px; background: #fff1e8; color: #b94f20; font-size: 0.72rem; }

@media (max-width: 600px) {
  .quote-request-modal {
    padding: 10px;
  }

  .quote-request-dialog {
    max-height: calc(100vh - 20px);
    padding: 18px;
  }

  .quote-request-grid {
    grid-template-columns: 1fr;
  }

  #quote-request-items {
    grid-template-columns: 1fr;
  }
}

.demader-footer {
  background-color: var(--demader-charcoal);
  color: #cfc8bd;
  padding: 60px 0 30px 0;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--demader-ivory);
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.header-social-links,
.footer-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social-links { margin-top: 18px; }

.header-social-link,
.footer-social-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
  transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.header-social-link {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.footer-social-button {
  border: 1px solid rgba(189, 160, 110, 0.42);
  color: #d8cbb7;
  background: rgba(255, 255, 255, 0.025);
}

.header-social-link svg,
.footer-social-button svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.header-social-link svg rect,
.header-social-link[aria-label="Instagram"] svg circle,
.footer-social-button svg rect,
.footer-social-instagram svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.header-social-login svg {
  fill: none;
  stroke: currentColor;
}

.header-social-login:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.header-social-link:hover,
.footer-social-button:hover { transform: translateY(-2px); color: #fff; }
.header-social-whatsapp:hover,
.footer-social-whatsapp:hover { background: #25d366; border-color: #25d366; }
.header-social-link[aria-label="Instagram"]:hover,
.footer-social-instagram:hover { background: #c13584; border-color: #c13584; }
.header-social-link[aria-label="Facebook"]:hover,
.footer-social-facebook:hover { background: #1877f2; border-color: #1877f2; }
.header-social-link[aria-label="TikTok"]:hover,
.footer-social-tiktok:hover { background: #111; border-color: #69c9d0; }

.footer-social-button:focus-visible,
.showroom-map-button:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: #8f887d;
}

.floating-contact-actions {
  position: fixed;
  left: max(20px, env(safe-area-inset-left));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100vw - 40px);
}

.floating-cart {
  position: relative;
  display: grid;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #fffaf2;
  background: linear-gradient(145deg, #a9783f, #76502b);
  box-shadow: 0 10px 28px rgba(67, 48, 28, 0.28);
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.floating-cart svg {
  width: 23px;
  height: 23px;
}

.floating-cart:hover {
  color: #fff;
  background: linear-gradient(145deg, #b98950, #895f35);
  box-shadow: 0 14px 34px rgba(67, 48, 28, 0.36);
  transform: translateY(-3px);
}

.floating-cart__badge {
  position: absolute;
  top: -3px;
  right: -3px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 4px;
  border: 2px solid #fffaf2;
  border-radius: 999px;
  color: #261b11;
  background: #e4b85e;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.floating-whatsapp {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 10px 30px rgba(21, 100, 58, 0.28);
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.floating-whatsapp svg {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  fill: currentColor;
}

.floating-whatsapp__help-icon {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 2px solid #25d366;
  border-radius: 50%;
  color: #168b45;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.floating-whatsapp:hover {
  color: #fff;
  background: #20bd5a;
  box-shadow: 0 14px 36px rgba(21, 100, 58, 0.36);
  transform: translateY(-3px);
}

.floating-whatsapp:focus-visible { outline: 3px solid var(--demader-charcoal); outline-offset: 3px; }

@media (max-width: 620px) {
  .floating-contact-actions {
    gap: 8px;
  }
  .floating-cart { width: 58px; height: 58px; flex-basis: 58px; }
}

.page-scroll-controls {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-scroll-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(189, 160, 110, 0.55);
  border-radius: 50%;
  background: rgba(250, 248, 245, 0.94);
  color: #806541;
  box-shadow: 0 3px 12px rgba(20, 19, 17, 0.12);
  cursor: pointer;
  opacity: 0.86;
  transition: var(--transition-fast);
}

.page-scroll-button[hidden] {
  display: none;
}

.page-scroll-button:hover {
  background: var(--demader-charcoal);
  color: var(--demader-ivory);
  opacity: 1;
  transform: translateY(-2px);
}

.page-scroll-button:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.page-scroll-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.catalog-notice[hidden] {
  display: none;
}

.catalog-notice {
  position: fixed;
  left: max(24px, env(safe-area-inset-left));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 1200;
  display: flex;
  width: min(420px, calc(100vw - 48px));
  align-items: flex-start;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--demader-sand-dark);
  border-left: 3px solid var(--demader-gold-muted);
  border-radius: 12px;
  background: var(--demader-ivory);
  color: var(--demader-charcoal);
  box-shadow: var(--shadow-lg);
  animation: catalog-notice-enter 0.24s ease-out;
}

.catalog-notice-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--demader-sand);
  color: #806541;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
}

.catalog-notice-content {
  flex: 1;
  padding-top: 1px;
}

.catalog-notice-content strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
}

.catalog-notice-content p {
  color: var(--color-text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.catalog-notice-close {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.catalog-notice-close:hover,
.catalog-notice-close:focus-visible {
  background: var(--demader-sand);
  color: var(--demader-charcoal);
}

.catalog-notice-close:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.catalog-notice-close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

@keyframes catalog-notice-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .catalog-notice {
    left: max(16px, env(safe-area-inset-left));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: calc(100vw - 32px);
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-notice {
    animation: none;
  }
}
