/* ==========================================================================
   calma & té — Cinta superior, menú y footer (estilo v2)
   Se carga en todo el sitio, después de main.css. Prefijo cm- para lo nuevo;
   el resto son ajustes de apariencia sobre las clases existentes del header.
   ========================================================================== */

/* ── Cinta superior en movimiento ── */
.announcement-bar.cm-topbar {
  background: #2d4b3e;
  color: #f4f1ea;
  overflow: hidden;
  white-space: nowrap;
  text-align: left;
  padding: 9px 0;
  font-family: 'Quicksand', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.cm-topbar__track { display: inline-flex; animation: cm-marquee 32s linear infinite; }
.cm-topbar:hover .cm-topbar__track { animation-play-state: paused; }
.cm-topbar ul { display: inline-flex; align-items: center; flex-shrink: 0; list-style: none; margin: 0; padding: 0; }
.cm-topbar li { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; }
.cm-topbar li::after {
  content: '';
  width: 12px; height: 12px;
  background: currentColor;
  opacity: .85;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
@keyframes cm-marquee { to { transform: translateX(-50%); } }

/* ── Menú ── */
.site-header {
  background: rgba(244, 241, 234, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(45, 75, 62, .08);
}
.site-header .nav-inner { height: 76px; }

.site-header .nav-links { gap: 30px; }
.site-header .nav-links a {
  position: relative;
  padding: 6px 0;
  border-bottom: 0;
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #2d4b3e;
}
.site-header .nav-links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: #D27D2D;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.site-header .nav-links a:hover::after,
.site-header .nav-links a.active::after { transform: scaleX(1); }
.site-header .nav-links a.active { font-weight: 700; padding: 6px 0; border-bottom: 0; }

/* Botones redondos: buscar, carrito, menú móvil */
.site-header .nav-search-toggle,
.site-header .account-btn,
.site-header .cart-btn,
.site-header .hamburger {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1.5px solid #2d4b3e;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #2d4b3e;
  transition: background .3s, color .3s;
}
.site-header .nav-search-toggle:hover,
.site-header .account-btn:hover,
.site-header .account-btn.active,
.site-header .cart-btn:hover,
.site-header .hamburger:hover { background: #2d4b3e; color: #f4f1ea; opacity: 1; }
.site-header .account-btn { display: flex; text-decoration: none; }
@media (max-width: 768px) {
  .site-header .account-btn { display: none; } /* en móvil va en el menú, igual que el carrito */
}
.site-header .cart-btn svg { width: 20px; height: 20px; }
.site-header .cart-btn svg path { transition: fill .3s; }
.site-header .cart-btn:hover svg path { fill: #f4f1ea; }
.site-header .cart-count {
  top: -6px; right: -6px;
  width: 18px; height: 18px;
  background: #D27D2D;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
}
.site-header .nav-actions { gap: 10px; }
.site-header .hamburger span { background: currentColor; }

.site-header .mobile-menu { background: rgba(244, 241, 234, .98); }
.site-header .mobile-menu a {
  font-family: 'Quicksand', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .cm-topbar__track { animation: none; }
  .site-header .nav-links a::after { transition: none; }
}

/* ── Footer (verde bosque, como en la maqueta) ── */
/* main.css fuerza el fondo con !important; body[class] iguala su especificidad y esta hoja carga después */
body[class] .site-footer {
  background: #2d4b3e !important;
  color: #f4f1ea !important;
  border-top: 1px solid rgba(244, 241, 234, .15);
  font-family: 'Quicksand', sans-serif;
}
.site-footer .footer-logo { filter: brightness(0) invert(1); }
.site-footer .footer-tagline { color: rgba(244, 241, 234, .8); font-weight: 500; }
.site-footer .footer-col-title {
  font-family: 'Quicksand', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: #B2AC88;
}
.site-footer .footer-col li a {
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #f4f1ea;
}
.site-footer .footer-col li a:hover { color: #D27D2D; }
.site-footer .footer-social a { color: #f4f1ea; opacity: .8; }
.site-footer .footer-social a:hover { color: #D27D2D; opacity: 1; }
.site-footer .footer-social-btn { border-color: rgba(244, 241, 234, .3); }
.site-footer .footer-social-btn:hover { background: rgba(244, 241, 234, .1); }
.site-footer .footer-bottom { border-top-color: rgba(244, 241, 234, .15); }
.site-footer .footer-copy,
.site-footer .footer-secure-text { color: rgba(244, 241, 234, .75); font-family: 'Quicksand', sans-serif; }
.site-footer .footer-secure svg path { fill: #f4f1ea; fill-opacity: .6; }