/* Tema público de La Joya Única — tokens fieles a design/tokens.json y al tema Warehouse */

/* Fuentes locales (SIL Open Font License 1.1 — ver public/fonts/README.md) */
/* Amita 400 latin-ext */
@font-face {
  font-family: 'Amita';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/amita-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Amita 400 latin */
@font-face {
  font-family: 'Amita';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/amita-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Amita 700 latin-ext */
@font-face {
  font-family: 'Amita';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/amita-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Amita 700 latin */
@font-face {
  font-family: 'Amita';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/amita-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Lato 300 latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/lato-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Lato 300 latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/lato-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Lato 400 latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/lato-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Lato 400 latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/lato-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Lato 400 italic latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/lato-400-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Lato 400 italic latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/lato-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Lato 700 latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/lato-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Lato 700 latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/lato-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-text: #000000;
  --color-heading: #191919;
  --color-muted: #9e9e9e;
  --color-primary: #650772;
  --color-primary-hover: #191919;
  --color-menu-active: #8c4595;
  --color-menu-text: #4a4949;
  --color-breadcrumb-bg: #fdf1ff;
  --color-footer-bg: #3a0242;
  --color-footer-text: #ffffff;
  --color-price: #04aaaa;
  --color-accent: #00c8c8;
  --color-discount-flag: #cbb310;
  --color-border: #e3e3e3;
  --color-submenu-bg: #f4f2f2;
  --color-card-hover-text: #473b4a;
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #1ebe5b;

  --font-body: 'Lato', sans-serif;
  --font-display: 'Amita', cursive;

  --container-max: 1380px;
  --body-line-height: 1.4rem;
  --topbar-font: 0.75rem;
  --menu-font: 0.875rem;
  --menu-line-height: 2.8125rem;
  --breadcrumb-font: 0.8125rem;
  --page-title: 2rem;
  --card-title: 1rem;
  --card-price: 1.25rem;
  --product-price: 2.1875rem;
  --footer-title: 1.125rem;
  --card-padding: 1.9375rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 767px) {
  html {
    font-size: 14px;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: #777777;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 2000;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* ============================================================
   Botones y títulos comunes
   ============================================================ */

.btn-primary {
  display: inline-block;
  background: var(--color-primary);
  color: #ffffff;
  border: 0;
  padding: 0.65rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-primary-hover);
  color: #ffffff;
}

.page-title {
  position: relative;
  margin: 0 0 1.4rem;
  padding-bottom: 0.55em;
  font-family: var(--font-display);
  font-size: var(--page-title);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.3;
}

.page-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 5px;
  background: #595050;
}

.page-title-center {
  text-align: center;
}

.page-title-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-title {
  position: relative;
  margin: 0 0 1.5rem;
  padding-bottom: 0.55em;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-heading);
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 3px;
  background: var(--color-accent);
}

/* ============================================================
   Cabecera escritorio y megamenú
   ============================================================ */

.site-header {
  background: #ffffff;
  position: relative;
  z-index: 100;
}

.mobile-header {
  display: none;
}

.header-topbar {
  border-bottom: 1px solid var(--color-border);
  padding: 0.35rem 0;
  font-size: var(--topbar-font);
  background: #ffffff;
}

.header-topbar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.lang-switcher {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 0;
  padding: 0.15rem 0.25rem;
  font-family: var(--font-body);
  font-size: var(--topbar-font);
  color: var(--color-text);
  cursor: pointer;
}

.lang-flag {
  display: inline-block;
  width: 16px;
  height: 11px;
  object-fit: cover;
  vertical-align: middle;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 130px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: none;
  z-index: 250;
}

.lang-switcher:hover .lang-menu,
.lang-switcher:focus-within .lang-menu,
.lang-switcher.is-open .lang-menu {
  display: block;
}

.lang-menu li {
  border-bottom: 1px solid var(--color-border);
}

.lang-menu li:last-child {
  border-bottom: 0;
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.75rem;
  color: #685770;
  font-size: 0.8125rem;
}

.lang-menu a:hover,
.lang-menu li.is-current a {
  background: rgba(104, 87, 112, 0.06);
  color: var(--color-primary);
}

.header-brand-bar {
  padding: 0.75rem 0 0.65rem;
}

.header-brand-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-logo {
  display: inline-block;
  line-height: 0;
}

.site-logo img {
  display: block;
  height: 156px;
  width: auto;
}

.main-nav {
  background: #ffffff;
  border-bottom: 3px solid var(--color-border);
  position: relative;
}

.main-nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: static;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 1.25rem;
  line-height: var(--menu-line-height);
  font-size: var(--menu-font);
  text-transform: uppercase;
  color: var(--color-menu-text);
  white-space: nowrap;
}

.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link,
.nav-item.is-active > .nav-link {
  background: var(--color-menu-active);
  color: #ffffff;
}

/* Megamenú de Nuestras Joyas */
.megamenu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 300;
  pointer-events: none;
}

.has-mega:hover > .megamenu,
.has-mega:focus-within > .megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.megamenu-inner {
  background-color: #ffffff;
  background-image: url('/img/home/fondo-megamenu.webp');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  border: 1px solid var(--color-border);
  border-bottom: 2px solid #0f0100;
  box-shadow: 1px 17px 16px 4px rgba(0, 0, 0, 0.11);
  padding: 2.25rem 2.75rem 3.5rem;
  min-height: 290px;
}

.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.5rem 2rem;
}

.mega-col-title {
  display: block;
  margin-bottom: 0.65rem;
  padding-bottom: 0.3rem;
  font-size: 1.0625rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #3b3b3b;
}

.mega-col-title:hover,
.mega-col-title.is-active {
  color: #640063;
}

.mega-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-sublist li {
  margin: 0.3rem 0;
}

.mega-sublist a {
  display: inline-block;
  font-size: 0.95rem;
  color: #3b3b3b;
}

.mega-sublist a:hover,
.mega-sublist a.is-active {
  color: #640063;
}

/* ============================================================
   Cabecera móvil
   ============================================================ */

@media (max-width: 991px) {
  .desktop-header {
    display: none;
  }

  .mobile-header {
    display: block;
    border-bottom: 1px solid var(--color-border);
    background: #ffffff;
  }

  .mobile-main-bar {
    padding: 0.6rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
  }

  .mobile-logo {
    display: inline-block;
    line-height: 0;
  }

  .mobile-logo img {
    height: 118px;
    width: auto;
  }

  .mobile-buttons-bar {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    background: #ffffff;
  }

  .mobile-menu-toggle {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.85rem 1rem;
    background: transparent;
    border: 0;
    color: var(--color-text);
    cursor: pointer;
  }

  .mobile-menu-toggle[aria-expanded='true'],
  .mobile-menu-toggle:hover {
    background: var(--color-menu-active);
    color: #ffffff;
  }

  .mobile-lang-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text);
    border-left: 1px solid var(--color-border);
  }

  .mobile-menu-panel {
    background: #f2f2f2;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
  }

  .mobile-nav-list,
  .mobile-sublist {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-border);
  }

  .mobile-nav-link {
    display: block;
    flex: 1 1 auto;
    padding: 0.85rem 1.15rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text);
  }

  .mobile-nav-list > li:not(.mobile-nav-group) > .mobile-nav-link {
    border-bottom: 1px solid var(--color-border);
  }

  .mobile-sub-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    border-left: 1px solid var(--color-border);
    color: var(--color-text);
    cursor: pointer;
  }

  .mobile-sub-toggle[aria-expanded='true'] svg {
    transform: rotate(90deg);
  }

  .mobile-sublist {
    background: #fbfbfb;
  }

  .mobile-sublist .mobile-nav-link {
    padding-left: 1.75rem;
    font-weight: 400;
    text-transform: none;
  }

  .mobile-sublist-lvl2 {
    background: #ffffff;
  }

  .mobile-sublist-lvl2 .mobile-nav-link {
    padding-left: 2.5rem;
    border-bottom: 1px solid #efefef;
  }
}

/* ============================================================
   Migas de pan
   ============================================================ */

.breadcrumb-bar {
  background: var(--color-breadcrumb-bg);
  padding: 0.75rem 0;
  font-size: var(--breadcrumb-font);
  color: var(--color-heading);
  box-shadow: 0 5px 13px 0 rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.35rem;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  margin-right: 0.35rem;
  color: var(--color-heading);
}

.breadcrumb-item a {
  color: var(--color-heading);
}

.breadcrumb-item a:hover {
  color: var(--color-primary);
}

/* ============================================================
   Portada: Hero
   ============================================================ */

.hero-slider {
  position: relative;
  overflow: hidden;
  background: #f5eff7;
  min-height: 560px;
}

.hero-track {
  position: relative;
  min-height: 560px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  display: flex;
  align-items: center;
}

.hero-slide.is-active {
  position: relative;
  min-height: 560px;
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.08) 55%, rgba(255, 255, 255, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-copy {
  max-width: 680px;
}

.hero-title {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 4.7rem);
  font-weight: 700;
  line-height: 1.18;
  color: #3a0242;
}

.hero-subtitle {
  margin: 1.45rem 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  color: #3a0242;
  font-weight: 400;
}

.btn-hero {
  display: inline-block;
  background: #000000;
  color: #ffffff;
  padding: 0.78rem 2rem;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 2px;
}

.btn-hero:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.hero-visual {
  flex: 0 1 460px;
  display: flex;
  justify-content: flex-end;
}

.hero-visual img {
  max-height: 440px;
  width: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.14));
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 5;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(51, 51, 51, 0.35);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--color-primary);
  transform: scale(1.15);
}

@media (max-width: 767px) {
  .hero-slider,
  .hero-track,
  .hero-slide.is-active {
    min-height: 360px;
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 2.25rem;
    padding-bottom: 3rem;
  }

  .hero-visual {
    display: none;
  }
}

/* ============================================================
   Secciones de portada
   ============================================================ */

.home-section {
  padding: 3.75rem 0;
}

.section-header {
  margin-bottom: 1.75rem;
}

.section-header-center {
  text-align: center;
}

.section-header-left {
  text-align: left;
}

.section-eyebrow {
  margin: 0 0 0.35rem;
  color: var(--color-muted);
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  font-weight: 300;
  font-style: italic;
}

.section-display-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: #0c0c0c;
  line-height: 1.25;
}

.section-title-center {
  text-align: center;
  margin-bottom: 2.25rem;
}

/* Pestañas Novedades / Populares */
.tabs-nav {
  display: flex;
  gap: 1.75rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.75rem;
}

.tab-btn {
  position: relative;
  background: transparent;
  border: 0;
  padding: 0.6rem 0.2rem 0.75rem;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-heading);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}

.tab-btn.is-active,
.tab-btn:hover {
  border-bottom-color: var(--color-accent);
  color: var(--color-heading);
}

/* ============================================================
   Rejilla y tarjeta de producto
   ============================================================ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 1199px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  padding: var(--card-padding);
  text-align: center;
  transition: box-shadow 0.25s ease, color 0.2s ease;
}

@media (max-width: 767px) {
  .product-card {
    padding: 0.65rem;
  }
}

@media (hover: hover) {
  .product-card:hover {
    box-shadow: 0 0 23px 0 rgba(166, 186, 189, 0.48);
    color: var(--color-card-hover-text);
  }

  .product-card:hover .card-title a {
    color: var(--color-card-hover-text);
  }
}

.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #fafafa;
  margin-bottom: 0.85rem;
}

.card-img-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.card-img-secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.card-media:hover .card-img-secondary {
  opacity: 1;
}

.card-media:hover .card-img-primary:not(:only-child) {
  opacity: 0;
}

.card-flag-discount {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: var(--color-discount-flag);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.18rem 0.45rem;
  line-height: 1.2;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  align-items: center;
}

.card-title {
  margin: 0 0 0.45rem;
  font-family: var(--font-body);
  font-size: var(--card-title);
  font-weight: 700;
  line-height: 1.35;
}

.card-title a {
  color: var(--color-heading);
}

.card-prices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.price-regular {
  font-size: 0.9rem;
  color: var(--color-muted);
  text-decoration: line-through;
}

.price-current {
  font-size: var(--card-price);
  font-weight: 700;
  color: var(--color-price);
}

.price-from {
  font-size: 0.85rem;
  font-weight: 400;
  color: #666666;
}

.card-swatches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.card-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(0, 0, 0, 0.14);
}

.card-swatch-more {
  font-size: 0.72rem;
  color: #666666;
  font-weight: 700;
  padding-left: 0.1rem;
}

/* ============================================================
   Banners de categoría (Portada)
   ============================================================ */

.cat-banners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.cat-banners-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 767px) {
  .cat-banners-grid,
  .cat-banners-3 {
    grid-template-columns: 1fr;
  }
}

.cat-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 9 / 7;
  background: #f4f2f2;
}

.cat-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.cat-banner:hover img {
  transform: scale(1.04);
}

.cat-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(210deg, rgba(237, 237, 237, 0.28) 23%, rgba(186, 243, 255, 0.38) 100%);
}

.cat-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem 2.75rem;
}

.cat-banner-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.3vw, 3.2rem);
  font-weight: 400;
  color: #0c0c0c;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.75);
}

.cat-banner-btn {
  font-size: 1rem;
  padding: 0.55rem 1.5rem;
}

/* ============================================================
   Te garantizamos
   ============================================================ */

.home-guarantees-section {
  background: #ffffff;
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  text-align: center;
}

@media (max-width: 991px) {
  .guarantees-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.guarantee-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem;
}

.guarantee-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  color: #000000;
}

.guarantee-label {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-heading);
}

/* ============================================================
   ¿Qué gema estás buscando? (Portada)
   ============================================================ */

.home-gems-box {
  background: rgba(255, 255, 255, 0.9);
  border-top: 2px solid #a3ffd4;
  border-bottom: 2px solid #a3ffd4;
  padding: 1.75rem 1.25rem;
}

.home-gems-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.15rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 991px) {
  .home-gems-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .home-gems-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home-gem-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  color: var(--color-heading);
}

.home-gem-link:hover {
  background: var(--color-breadcrumb-bg);
  color: var(--color-primary);
}

.home-gem-circle {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4f2f2;
  border: 1px solid var(--color-border);
}

.home-gem-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-gem-fallback {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
}

.home-gem-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.section-cta-wrap {
  text-align: center;
  margin-top: 1.75rem;
}

/* ============================================================
   Banner promocional y testimonios
   ============================================================ */

.home-promo-banner {
  display: block;
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 4px;
}

.home-promo-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.testimonials-stars {
  display: block;
  margin: 0.75rem auto 0;
  height: 36px;
  width: auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 767px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  margin: 0;
  padding: 2rem 1.75rem;
  background: #fafafa;
  border: 1px solid #f0eef2;
  border-radius: 20px;
  text-align: center;
}

.testimonial-text {
  margin: 0 0 1rem;
  color: #777777;
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-heading);
}

/* ============================================================
   Listado (Categoría / Gema) e Índice de gemas
   ============================================================ */

.page-container {
  padding-bottom: 4rem;
}

.listing-header {
  margin-bottom: 1.5rem;
}

.listing-description {
  color: #333333;
  line-height: 1.65;
  max-width: 980px;
}

.listing-description p {
  margin: 0 0 0.75rem;
}

.subcategories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
}

.subcat-pill {
  display: inline-block;
  padding: 0.45rem 1rem;
  border: 1px solid var(--color-border);
  background: #ffffff;
  color: var(--color-heading);
  font-size: 0.9rem;
  font-weight: 700;
}

.subcat-pill:hover {
  border-color: var(--color-primary);
  background: var(--color-breadcrumb-bg);
  color: var(--color-primary);
}

.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  margin-bottom: 1.25rem;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: #555555;
}

.gems-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 1.15rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.gem-index-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 1.2rem 0.9rem;
  border: 1px solid var(--color-border);
  background: #ffffff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.gem-index-link:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(101, 7, 114, 0.1);
}

.gem-index-swatch {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4f2f2;
  border: 1px solid var(--color-border);
}

.gem-index-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gem-index-name {
  font-weight: 700;
  color: var(--color-heading);
}

.gem-index-count {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* ============================================================
   Ficha de gema (/es/gemas/<gema>)
   ============================================================ */

.gem-sheet {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
  padding-top: 0.5rem;
}

.gem-sheet-lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gem-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 2.85rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
}

.gem-tagline {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 400;
  color: #595050;
  line-height: 1.45;
}

.gem-photo {
  margin: 0;
  width: 100%;
  max-width: 360px;
  display: flex;
  justify-content: center;
}

.gem-photo img {
  display: block;
  max-width: 100%;
  max-height: 360px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.gem-sheet-body {
  color: #2b2b2b;
  font-size: 1rem;
  line-height: 1.7;
}

.gem-properties p {
  margin: 0 0 0.95rem;
}

.gem-properties p:last-child {
  margin-bottom: 0;
}

.gem-divider {
  border: 0;
  border-top: 1px solid #d7c3dc;
  margin: 1.5rem 0;
}

.gem-facts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gem-fact p {
  margin: 0 0 0.5rem;
}

.gem-fact p:last-child {
  margin-bottom: 0;
}

.gem-fact strong {
  color: var(--color-heading);
}

.gem-section-divider {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 2.5rem 0 1.75rem;
}

.gem-jewelry-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--color-heading);
}

.gem-empty-state {
  text-align: center;
  padding: 2.25rem 1.5rem;
  background: var(--color-breadcrumb-bg);
  border: 1px solid #eedcf2;
  border-radius: 6px;
}

.gem-empty-text {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  color: #3a2b3e;
  line-height: 1.6;
}

.gem-empty-whatsapp {
  padding: 0.75rem 1.4rem;
}

@media (max-width: 900px) {
  .gem-sheet {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .gem-photo {
    max-width: 280px;
  }

  .gem-photo img {
    max-height: 280px;
  }

  .gem-sheet-body {
    padding-top: 0;
  }

  .gem-section-divider {
    margin: 2rem 0 1.35rem;
  }
}

/* ============================================================
   Ficha de producto
   ============================================================ */

.product-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.75rem;
  align-items: start;
}

@media (max-width: 900px) {
  .product-main {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.product-gallery {
  position: relative;
}

.product-cover {
  position: relative;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  overflow: hidden;
}

.product-main-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #ffffff;
}

.product-flag-discount {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  background: var(--color-discount-flag);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
}

.product-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
}

.thumb-btn {
  display: block;
  padding: 2px;
  border: 2px solid transparent;
  background: #ffffff;
  cursor: pointer;
  width: 84px;
  height: 84px;
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-btn.is-active,
.thumb-btn:hover {
  border-color: var(--color-primary);
}

@media (max-width: 767px) {
  .product-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
  }

  .thumb-btn {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
}

.product-info {
  position: sticky;
  top: 1.5rem;
}

@media (max-width: 900px) {
  .product-info {
    position: static;
  }
}

.product-page-title {
  margin-bottom: 1rem;
}

.product-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 0.85rem;
  margin-bottom: 1.25rem;
}

.product-price-current {
  font-size: var(--product-price);
  font-weight: 700;
  color: var(--color-price);
  line-height: 1.1;
}

.product-price-regular {
  font-size: 1.25rem;
  color: var(--color-muted);
  text-decoration: line-through;
}

.product-discount-badge {
  background: var(--color-discount-flag);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
}

.product-tax-note {
  width: 100%;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.product-summary {
  margin-top: 1.65rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  color: #333333;
  line-height: 1.6;
}

.product-summary p {
  margin: 0 0 0.65rem;
}

/* Selector de gemas (muestras cuadradas con bordes sutiles como en PrestaShop) */
.variant-group {
  margin-bottom: 1.5rem;
}

.variant-label {
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  color: var(--color-heading);
}

.swatch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.swatch-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-border);
  background: #ffffff;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

/* La muestra lleva el nombre de la gema dentro de la imagen: se enseña entera, en cuadro, como en el sitio actual */
.swatch-link.has-texture {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 2px;
  padding: 2px;
}

@media (max-width: 767px) {
  .swatch-link.has-texture {
    width: 3.9rem;
    height: 3.9rem;
  }
}

.swatch-texture {
  display: block;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.swatch-link.is-text-chip {
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--color-heading);
}

.swatch-link:hover {
  border-color: var(--color-menu-active);
  transform: translateY(-1px);
}

.swatch-link.is-selected {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(101, 7, 114, 0.22);
}

.swatch-link.is-text-chip.is-selected {
  background: var(--color-primary);
  color: #ffffff;
}

/* Selector de talla o medida */
.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.option-btn {
  padding: 0.55rem 1.05rem;
  background: #ffffff;
  color: var(--color-heading);
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.option-btn:hover {
  border-color: var(--color-primary);
}

.option-btn.is-selected {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

/* Botón WhatsApp verde */
.product-whatsapp-box {
  margin-top: 1.5rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: auto;
  max-width: 100%;
  background: var(--color-whatsapp);
  color: #ffffff;
  padding: 0.85rem 1.4rem;
  border-radius: 4px;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp svg {
  flex: 0 0 24px;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background: var(--color-whatsapp-hover);
  color: #ffffff;
}

/* Pestaña descripción */
.product-tabs-section {
  margin-top: 3.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.product-tabs-header {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
}

.product-tab-active {
  padding: 0.65rem 1.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-heading);
  border-bottom: 3px solid var(--color-accent);
  margin-bottom: -1px;
}

.product-description-body {
  max-width: 920px;
  margin: 0 auto;
  line-height: 1.7;
  color: #222222;
}

.product-description-body img {
  margin: 1rem auto;
  display: block;
}

.product-related-section {
  margin-top: 3.5rem;
}

/* ============================================================
   Páginas de contenido (pg-section, pg-cols, pg-col, pg-figure, pg-button)
   ============================================================ */

.cms-body {
  line-height: 1.65;
}

.pg-section {
  margin-bottom: 2.5rem;
}

.pg-section h2 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.75rem;
  margin: 0.75rem 0;
  line-height: 1.3;
}

.pg-section h3 {
  font-family: var(--font-display);
  color: var(--color-heading);
  font-size: 1.25rem;
  margin: 0.6rem 0;
}

.pg-section a {
  color: var(--color-primary);
  text-decoration: none;
}

.pg-section a:hover {
  text-decoration: underline;
}

.pg-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
}

.pg-col {
  flex: 1 1 0;
  min-width: 0;
}

.pg-cols-2 > .pg-col {
  flex: 1 1 calc(50% - 1.5rem);
}

.pg-cols-3 > .pg-col {
  flex: 1 1 calc(33.333% - 1.5rem);
}

.pg-cols-4 > .pg-col {
  flex: 1 1 calc(25% - 1.5rem);
}

.pg-cols-5 > .pg-col {
  flex: 1 1 calc(20% - 1.5rem);
}

.pg-cols-6 > .pg-col {
  flex: 1 1 calc(16.666% - 1.5rem);
}

.pg-col .pg-cols-2 {
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: nowrap;
}

.pg-col .pg-cols-2 > .pg-col:first-child {
  flex: 0 0 44px;
}

.pg-col .pg-cols-2 > .pg-col:last-child {
  flex: 1 1 auto;
}

.pg-col .pg-cols-2 h2 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0;
  line-height: 1.25;
}

.pg-cols-4 .pg-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pg-figure {
  margin: 0;
}

.pg-figure img {
  max-width: 100%;
  height: auto;
  display: block;
}

a.pg-button {
  display: inline-block;
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.7rem 1.6rem;
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 0.5rem;
}

a.pg-button:hover {
  background: var(--color-primary-hover);
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 767px) {
  .pg-cols-2 > .pg-col,
  .pg-cols-3 > .pg-col,
  .pg-cols-4 > .pg-col,
  .pg-cols-5 > .pg-col,
  .pg-cols-6 > .pg-col {
    flex: 1 1 100%;
  }

  .pg-col .pg-cols-2 > .pg-col:first-child {
    flex: 0 0 40px;
  }

  .pg-col .pg-cols-2 > .pg-col:last-child {
    flex: 1 1 auto;
  }
}

/* ============================================================
   Página 404
   ============================================================ */

.not-found-box {
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.not-found-code {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--color-primary);
  line-height: 1;
}

.not-found-text {
  margin: 0 0 1.75rem;
  color: #555555;
  font-size: 1.05rem;
}

/* ============================================================
   Pie morado
   ============================================================ */

.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
}

.site-footer a {
  color: var(--color-footer-text);
}

.site-footer a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-main {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  padding-top: 3.5rem;
  padding-bottom: 2.75rem;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 575px) {
  .footer-main {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
    padding-bottom: 2rem;
  }
}

.footer-socials {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.14);
}

.footer-title {
  position: relative;
  margin: 0 0 1rem;
  padding-bottom: 0.55em;
  font-family: var(--font-display);
  font-size: var(--footer-title);
  font-weight: 700;
  color: #ffffff;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 3px;
  background: #ffffff;
}

.footer-links,
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
}

.footer-brand-name {
  font-weight: 700;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-row svg {
  flex: 0 0 auto;
}

/* Botones «Mostrar» para datos de contacto protegidos con Turnstile */
.reveal-btn {
  display: inline;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.reveal-btn:hover,
.reveal-btn:focus-visible {
  color: var(--color-primary-hover);
}

.reveal-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.reveal-btn-footer {
  color: var(--color-footer-text);
}

.reveal-btn-footer:hover,
.reveal-btn-footer:focus-visible {
  color: rgba(255, 255, 255, 0.8);
}

.reveal-turnstile {
  display: block;
  flex-basis: 100%;
  margin: 0.5rem 0;
}

.reveal-error {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.85rem;
  color: #b00020;
}

.site-footer .reveal-error {
  display: block;
  flex-basis: 100%;
  margin-left: 0;
  color: #ffd4dc;
}

.footer-bottom {
  border-top: 1px solid rgba(161, 161, 161, 0.25);
  padding: 1.1rem 0 1.4rem;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  text-align: center;
}

.footer-eu-banner img {
  display: block;
  max-height: 62px;
  width: auto;
  background: #ffffff;
  padding: 5px 10px;
  border-radius: 3px;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================================
   Burbuja flotante de WhatsApp
   ============================================================ */

.wa-float {
  position: fixed;
  right: 25px;
  bottom: 36px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.07);
  background: var(--color-whatsapp-hover);
}

.wa-float img {
  width: 34px;
  height: 34px;
  display: block;
}

@media (max-width: 767px) {
  .wa-float {
    right: 16px;
    bottom: 20px;
    width: 52px;
    height: 52px;
  }

  .wa-float img {
    width: 30px;
    height: 30px;
  }
}
