/* ============================================================
   FRØST · Header · CSS
   Announcement bar + Header sticky con shrink + Mobile menu
   ============================================================ */

:root {
  --frost-navy-900: #0F2640;
  --frost-navy-700: #1B3A5C;
  --frost-ice-50:   #F4F7FA;
  --frost-ice-100:  #E5EBF0;
  --frost-ice-200:  #D5DEE7;
  --frost-slate-400:#8E97A4;
  --frost-slate-500:#6B7785;
  --frost-slate-700:#3D4854;
  --frost-bone:     #FAFAF7;
  --frost-accent:   #7FA3C4;
  --frost-ease:     cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.frost-announcement {
  background: var(--frost-navy-900);
  color: var(--frost-bone);
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  font-weight: 500;
  text-transform: uppercase;
  padding: 0 24px;
}
.frost-announcement-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.frost-announcement-msg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.6s var(--frost-ease), transform 0.6s var(--frost-ease);
  color: rgba(250, 250, 247, 0.85);
}
.frost-announcement-msg.active {
  opacity: 1;
  transform: translateY(0);
}
.frost-announcement-msg.exiting {
  opacity: 0;
  transform: translateY(-100%);
}
.frost-announcement-msg em {
  color: var(--frost-accent);
  font-style: normal;
  margin: 0 8px;
  font-weight: 600;
}

/* ============================================================
   HEADER PRINCIPAL · STICKY + SHRINK
   ============================================================ */
.frost-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--frost-bone);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--frost-ease),
              border-color 0.3s var(--frost-ease),
              box-shadow 0.3s var(--frost-ease);
  font-family: 'Montserrat', sans-serif;
}

/* Variante transparente sobre hero (solo en home, antes de scroll) */
.frost-header-transparent {
  background: transparent;
}

/* Estado scrolled · solid + blur + sombra */
.frost-header.scrolled {
  background: rgba(250, 250, 247, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--frost-ice-100);
  box-shadow: 0 1px 24px rgba(15, 38, 64, 0.04);
}

.frost-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 56px;
  height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  transition: height 0.3s var(--frost-ease);
}
.frost-header.scrolled .frost-header-inner {
  height: 64px;
}

/* LOGO · wordmark FRØST editorial */
.frost-header-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--frost-navy-900);
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s var(--frost-ease), font-size 0.3s var(--frost-ease);
  justify-self: start;
  white-space: nowrap;
}
.frost-header-logo:hover {
  color: var(--frost-navy-700);
}
.frost-header.scrolled .frost-header-logo {
  font-size: 20px;
}

/* NAV CENTRO */
.frost-header-nav-wrapper {
  justify-self: center;
}
.frost-header-nav {
  display: flex;
  gap: 44px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.frost-header-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.frost-header-nav a {
  position: relative;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--frost-slate-700);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.3s var(--frost-ease);
  display: inline-block;
}
.frost-header-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--frost-navy-900);
  transition: width 0.4s var(--frost-ease);
}
.frost-header-nav a:hover {
  color: var(--frost-navy-900);
}
.frost-header-nav a:hover::after,
.frost-header-nav a.active::after {
  width: 100%;
}
.frost-header-nav a.active {
  color: var(--frost-navy-900);
}

/* ICONOS DERECHA */
.frost-header-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}
.frost-header-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--frost-navy-900);
  text-decoration: none;
  transition: all 0.3s var(--frost-ease);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.frost-header-icon:hover {
  background: var(--frost-ice-100);
  color: var(--frost-navy-900);
}
.frost-header-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
  fill: none;
  stroke: currentColor;
}

/* Cart count badge */
.frost-header-icon-cart {
  position: relative;
}
.frost-header-cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--frost-navy-900);
  color: var(--frost-bone);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 0 0 2px var(--frost-bone);
}
.frost-header-transparent:not(.scrolled) .frost-header-cart-count {
  box-shadow: 0 0 0 2px transparent;
}

/* HAMBURGER · solo mobile */
.frost-header-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 0;
  z-index: 101;
  position: relative;
}
.frost-header-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--frost-navy-900);
  transition: all 0.3s var(--frost-ease);
}
.frost-header-hamburger.open span {
  background: var(--frost-bone);
}
.frost-header-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.frost-header-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.frost-header-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================================
   MOBILE MENU FULLSCREEN
   ============================================================ */
.frost-mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--frost-navy-900);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--frost-ease), visibility 0.5s var(--frost-ease);
  display: flex;
  flex-direction: column;
  padding: 120px 32px 40px;
  pointer-events: none;
  overflow-y: auto;
}
.frost-mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.frost-mobile-menu-nav {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.frost-mobile-menu-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.frost-mobile-menu-nav a {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 200;
  letter-spacing: -0.02em;
  color: var(--frost-bone);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid rgba(127, 163, 196, 0.15);
  transition: color 0.3s var(--frost-ease), padding-left 0.4s var(--frost-ease);
  opacity: 0;
  transform: translateY(20px);
}
.frost-mobile-menu.open .frost-mobile-menu-nav a {
  opacity: 1;
  transform: translateY(0);
  transition: color 0.3s var(--frost-ease),
              padding-left 0.4s var(--frost-ease),
              opacity 0.6s var(--frost-ease) calc(var(--i, 0) * 0.08s + 0.2s),
              transform 0.6s var(--frost-ease) calc(var(--i, 0) * 0.08s + 0.2s);
}
.frost-mobile-menu-nav a:hover,
.frost-mobile-menu-nav a.active {
  color: var(--frost-accent);
  padding-left: 12px;
}
.frost-mobile-menu-footer {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(127, 163, 196, 0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.frost-mobile-menu-footer a {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--frost-accent);
  text-decoration: none;
  transition: color 0.3s var(--frost-ease);
}
.frost-mobile-menu-footer a:hover {
  color: var(--frost-bone);
}

/* ============================================================
   AJUSTES PARA QUE NO PISE EL HEADER DE ELEMENTOR
   (solo si por alguna razón se cuela el de Elementor)
   ============================================================ */
.elementor-location-header,
header.elementor-location-header {
  display: none !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .frost-announcement {
    font-size: 10px;
    letter-spacing: 0.18em;
    height: 32px;
    padding: 0 16px;
  }
  .frost-header-inner {
    grid-template-columns: 1fr auto;
    padding: 0 24px;
    height: 64px;
    gap: 16px;
  }
  .frost-header.scrolled .frost-header-inner {
    height: 56px;
  }
  .frost-header-nav-wrapper {
    display: none;
  }
  .frost-header-hamburger {
    display: flex;
  }
  .frost-header-icons {
    gap: 4px;
  }
  .frost-header-logo {
    font-size: 20px;
    letter-spacing: 0.28em;
  }
  .frost-header.scrolled .frost-header-logo {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .frost-header-icon-account {
    /* en mobile chico, solo dejamos cart visible al lado del hamburger */
    display: none;
  }
  .frost-mobile-menu-nav a {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .frost-announcement-msg,
  .frost-header,
  .frost-header-inner,
  .frost-header-logo,
  .frost-mobile-menu,
  .frost-mobile-menu-nav a,
  .frost-header-hamburger span {
    transition: none !important;
    animation: none !important;
  }
}


/* ════════════════════════════════════════════════════════════
   FRØST · FOOTER REBRAND (Dare to Differ · oscuro)
   Override aditivo al final de frost-header.css (que es la
   única hoja que carga globalmente en todas las páginas).
   Usa wrapper .elementor-113 para vencer al CSS embebido del
   widget HTML del Theme Builder Footer FRØST.
   ════════════════════════════════════════════════════════════ */

.frost-footer {
    background: #08090B !important;
    border-top: 1px solid rgba(127, 163, 196, 0.12) !important;
}

/* Brand / tagline */
.frost-footer .frost-footer-tagline {
    color: #C7CDD4 !important;
}

/* Títulos de columna · accent ice editorial */
.frost-footer .frost-footer-col-title {
    color: #7FA3C4 !important;
    letter-spacing: 0.28em !important;
}

/* Links de navegación · usa wrapper Elementor para vencer */
.elementor-113 .frost-footer .frost-footer-nav a,
.frost-footer .frost-footer-link {
    color: #C7CDD4 !important;
}
.elementor-113 .frost-footer .frost-footer-nav a:hover,
.frost-footer .frost-footer-link:hover {
    color: #FAFAF7 !important;
}

/* Newsletter · copy + input + botón */
.frost-footer .frost-footer-newsletter-copy {
    color: #C7CDD4 !important;
}
.elementor-113 .frost-footer .frost-footer-newsletter-form .frost-footer-newsletter-field {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(127, 163, 196, 0.25) !important;
    color: #FAFAF7 !important;
}
.frost-footer .frost-footer-newsletter-field::placeholder {
    color: #5A6470 !important;
}
.frost-footer .frost-footer-newsletter-field:focus {
    border-color: #7FA3C4 !important;
}
.elementor-113 .frost-footer .frost-footer-newsletter-form button.frost-footer-newsletter-btn {
    background: #FAFAF7 !important;
    color: #08090B !important;
    border: 1px solid #FAFAF7 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.elementor-113 .frost-footer .frost-footer-newsletter-form button.frost-footer-newsletter-btn:hover {
    background: transparent !important;
    color: #FAFAF7 !important;
}

/* Divider sutil */
.frost-footer .frost-footer-divider {
    background: rgba(127, 163, 196, 0.15) !important;
}

/* Contacto · íconos + texto */
.frost-footer .frost-footer-contact-item {
    color: #C7CDD4 !important;
}
.frost-footer .frost-footer-contact-item a {
    color: #C7CDD4 !important;
}
.frost-footer .frost-footer-contact-item a:hover {
    color: #FAFAF7 !important;
}
.frost-footer .frost-footer-contact-icon {
    color: #7FA3C4 !important;
}

/* Pagos */
.frost-footer .frost-footer-payments-label {
    color: #8E97A4 !important;
    letter-spacing: 0.28em !important;
}

/* Bottom bar · copyright + legales */
.frost-footer .frost-footer-bottom {
    border-top: 1px solid rgba(127, 163, 196, 0.1) !important;
}
.frost-footer .frost-footer-copy {
    color: #8E97A4 !important;
}
.frost-footer .frost-footer-legal-links a {
    color: #8E97A4 !important;
}
.frost-footer .frost-footer-legal-links a:hover {
    color: #FAFAF7 !important;
}

/* Social icons · círculos sutiles */
.frost-footer .frost-footer-social a {
    color: #C7CDD4 !important;
    border-color: rgba(127, 163, 196, 0.25) !important;
}
.frost-footer .frost-footer-social a:hover {
    color: #FAFAF7 !important;
    border-color: #7FA3C4 !important;
    background: rgba(127, 163, 196, 0.08) !important;
}
