:root {
  /* Paleta inspirada en la referencia: crema, rosa blush, negro y malva */
  --brand-900: #111111;   /* negro principal (texto, footer, botones) */
  --brand-800: #2b2b2b;
  --brand-700: #a4426e;   /* malva/frambuesa: precios y acentos */
  --brand-600: #111111;   /* botones primarios en negro */
  --brand-500: #b85c86;
  --brand-100: #f6dbe4;   /* rosa blush */
  --brand-50:  #fbeff3;   /* rosa muy suave */

  --accent-600: #a4426e;
  --accent-500: #c0618b;
  --accent-100: #f5ebdc;  /* crema de la barra superior */

  --success-600: #2f7d4f;
  --success-100: #dcf1e3;

  --danger-600: #c0392b;
  --warning-500: #d9962b;

  --bg-page: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f2f1ef;  /* gris cálido del fondo de las fotos */
  --border: #e6e2dd;
  --border-strong: #cfc9c2;

  --text-main: #111111;
  --text-secondary: #55504b;
  --text-muted: #8a847d;

  --wsp-color: #25d366;
  --ig-color: #e1306c;

  /* Esquinas casi rectas, como el estilo de la marca */
  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-lg: 4px;
  --radius-xl: 6px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(17, 17, 17, 0.05);
  --shadow-sm: 0 2px 6px rgba(17, 17, 17, 0.05);
  --shadow-md: 0 10px 28px rgba(17, 17, 17, 0.10);
  --shadow-lg: 0 20px 44px rgba(17, 17, 17, 0.18);
  --shadow-brand: 0 6px 16px rgba(17, 17, 17, 0.16);

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
}

/* Reset global */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Jost", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
}

input,
textarea {
  user-select: text;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100%;
}

body {
  background: var(--bg-page);
  color: var(--text-main);
  padding-top: 68px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

button,
a {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--brand-700);
  outline-offset: 2px;
}

/* Preloader */
.preloader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.preloader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-card {
  background: var(--surface);
  padding: 2rem 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.preloader-spinner {
  width: 42px;
  height: 42px;
  border: 2px solid var(--brand-100);
  border-top-color: var(--brand-700);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Navbar */
.navbar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 68px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  z-index: 2000;
  display: flex;
  align-items: center;
}

.navbar-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-img-logo {
  height: 42px;
  width: 42px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--border);
  transition: transform var(--transition-fast);
}

.brand-img-logo:active {
  transform: scale(0.94);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.2rem;
  border-bottom: 1px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--brand-700);
  border-bottom-color: var(--brand-700);
}

.nav-cart-btn {
  background: var(--brand-900);
  border: none;
  color: #fff;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  outline: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.nav-cart-btn:hover {
  background: var(--brand-700);
}

.nav-cart-btn:active {
  transform: scale(0.96);
}

.nav-badge {
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

/* Hero */
.hero-banner-section {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #fdf4f7 0%, #f6dbe4 100%);
  border-bottom: 1px solid #efc9d6;
  overflow: hidden;
  padding: 1.6rem 1rem 1.2rem;
  text-align: center;
  touch-action: pan-y;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.slide-tag {
  display: inline-block;
  background: #ffffff;
  color: var(--brand-700);
  box-shadow: var(--shadow-xs);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.5rem;
}

.slide-content {
  width: 100%;
  padding: 0 0.5rem;
}

.slide-content h2 {
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--brand-900);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.slide-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 0.75rem;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--border-strong);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.dot.active {
  background: var(--brand-900);
  width: 22px;
  border-radius: var(--radius-pill);
}

/* Layout */
.main-layout {
  max-width: 1200px;
  width: 100%;
  margin: 1.75rem auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1;
}

@media (min-width: 900px) {
  .main-layout {
    flex-direction: row;
    align-items: flex-start;
  }
}

.catalog-section {
  flex: 2;
  width: 100%;
}

/* Filtros */
.filter-bar {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.filter-tab {
  background: var(--surface-alt);
  border: 1px solid transparent;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-main);
  cursor: pointer;
  white-space: nowrap;
  outline: none;
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  border-color: var(--brand-700);
  color: var(--brand-700);
  background: var(--brand-50);
}

.filter-tab.active {
  background: var(--brand-900);
  color: #fff;
  border-color: var(--brand-900);
}

/* Productos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

@media (min-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1.25rem;
  }
}

.product-card {
  background: var(--surface);
  border: none;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow var(--transition-normal);
}

.product-card:hover {
  box-shadow: var(--shadow-md);
}

.product-card:active {
  transform: scale(0.99);
}

.product-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--surface-alt);
  cursor: pointer;
  transition: transform 0.35s ease;
}

.product-card:hover .product-img {
  transform: scale(1.02);
}

.product-details {
  padding: 0.8rem 0.2rem 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.product-category {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.product-name {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 0.3rem;
  cursor: pointer;
  line-height: 1.3;
}

.product-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-700);
  margin-bottom: 0.7rem;
}

.btn-add-item {
  width: 100%;
  background: var(--brand-900);
  color: #fff;
  border: none;
  padding: 0.7rem;
  border-radius: var(--radius-md);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-add-item:hover {
  background: var(--brand-700);
}

.btn-add-item:active {
  transform: scale(0.98);
}

/* Personalización */
.custom-card {
  margin-top: 2rem;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

.custom-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--brand-900);
  margin-bottom: 0.4rem;
}

.custom-card p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.custom-card textarea {
  width: 100%;
  height: 90px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.8rem;
  font-size: 0.87rem;
  resize: none;
  outline: none;
  margin-bottom: 0.8rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.custom-card textarea:focus {
  border-color: var(--brand-700);
  box-shadow: 0 0 0 3px rgba(164, 66, 110, 0.14);
}

.btn-custom-action {
  background: var(--brand-900);
  color: #fff;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
  transition: background var(--transition-fast);
}

.btn-custom-action:hover {
  background: var(--brand-700);
}

/* Modal producto */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.55);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--surface);
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
  display: block !important;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-main);
  z-index: 10;
  outline: none;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.modal-close:hover {
  background: var(--brand-100);
  color: var(--brand-700);
}

.modal-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 0.9rem;
  background: var(--surface-alt);
}

.modal-promo-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--brand-900);
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 5px;
}

.modal-promo-badge:empty {
  display: none;
}

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

.modal-box h3 {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
  color: var(--brand-900);
}

.modal-price {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand-700);
  margin-bottom: 0.6rem;
}

.modal-desc {
  font-size: 0.87rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.modal-color-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.color-quantity-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.modal-color-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
}

.color-info-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.color-dot {
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  border: 1.5px solid var(--border-strong) !important;
}

.color-name-text {
  font-size: 0.87rem;
  font-weight: 500;
}

.qty-selector-mini {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn-mini {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  font-weight: bold;
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
}

.qty-btn-mini:hover {
  border-color: var(--brand-700);
  color: var(--brand-700);
}

.qty-btn-mini:active {
  background: var(--brand-900);
  color: #fff;
}

.qty-val-num {
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 18px;
  text-align: center;
}

.color-input-text {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.87rem;
  outline: none;
  margin-top: 0.4rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.color-input-text:focus {
  border-color: var(--brand-700);
  box-shadow: 0 0 0 3px rgba(164, 66, 110, 0.14);
}

.btn-modal-add {
  width: 100%;
  background: var(--brand-900);
  color: #fff;
  border: none;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 1rem;
  outline: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-modal-add:hover {
  background: var(--brand-700);
}

.btn-modal-add:active {
  transform: scale(0.98);
}

/* Toast */
.coquette-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--brand-900);
  color: #fff;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-lg);
  z-index: 5000;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
  text-align: center;
}

.coquette-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Alerta Instagram */
.center-toast-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(17, 17, 17, 0.6) !important;
  backdrop-filter: blur(8px) !important;
  z-index: 999999 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
  padding: 1rem !important;
}

.center-toast-overlay.show {
  opacity: 1 !important;
  visibility: visible !important;
}

.center-toast-card {
  background: var(--surface) !important;
  width: 100% !important;
  max-width: 400px !important;
  padding: 2.2rem 2rem !important;
  border-radius: var(--radius-xl) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-lg) !important;
  text-align: center !important;
  transform: scale(0.92) !important;
  transition: transform 0.3s ease !important;
}

.center-toast-overlay.show .center-toast-card {
  transform: scale(1) !important;
}

.center-toast-icon {
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
}

.center-toast-title {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--brand-900);
  margin-bottom: 0.6rem;
}

.center-toast-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.2rem;
}

.center-toast-text strong {
  color: var(--brand-700);
  display: block;
  margin-top: 0.3rem;
  font-weight: 600;
}

.center-toast-timer-badge {
  display: inline-block;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-100);
}

/* Carrito */
.cart-sidebar {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 88px;
  min-width: 300px;
}

.cart-sidebar h2 {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.6rem;
  color: var(--brand-900);
}

.cart-items-box {
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 0.8rem;
}

.cart-rules-box {
  background: var(--accent-100);
  border: 1px solid #ecdcc4;
  border-radius: var(--radius-md);
  padding: 0.8rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.cart-rules-box p {
  margin-bottom: 0.2rem;
}

.empty-text {
  font-size: 0.87rem;
  color: var(--text-muted);
  text-align: center;
  padding: 1.5rem 0;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.cart-item-thumb-box {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  cursor: pointer;
  flex-shrink: 0;
}

.cart-item-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-fast);
}

.cart-item-thumb-box:active .cart-item-thumb {
  transform: scale(1.08);
}

.item-info {
  flex-grow: 1;
}

.item-info span {
  display: block;
}

.item-title {
  font-weight: 600;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.item-title:hover {
  color: var(--brand-700);
}

.item-sub {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.btn-remove-item {
  background: none;
  border: none;
  color: var(--danger-600);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  outline: none;
}

.cart-footer {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--brand-900);
}

.checkout-btns {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.btn-checkout {
  width: 100%;
  border: none;
  padding: 0.8rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.btn-checkout:hover {
  filter: brightness(0.94);
}

.btn-checkout:active {
  transform: scale(0.98);
}

.btn-checkout.wsp {
  background-color: var(--wsp-color);
  color: #fff;
}

.btn-checkout.ig {
  background-color: var(--ig-color);
  color: #fff;
}

.btn-checkout:disabled {
  background-color: var(--surface-alt);
  color: var(--text-muted);
  cursor: not-allowed;
}

/* Botón flotante */
.mobile-only {
  display: none;
}

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

  .mobile-only {
    display: block;
  }
}

.floating-cart-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--brand-900);
  color: #fff;
  border: none;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-brand);
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  outline: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.floating-cart-btn:hover {
  background-color: var(--brand-700);
}

.floating-cart-btn:active {
  transform: scale(0.96);
}

.badge-count {
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

/* Modal carrito */
.cart-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.55);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-modal-content {
  width: 100%;
  max-width: 390px;
  height: 100%;
  background: var(--surface);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -8px 0 30px rgba(17, 17, 17, 0.18);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.cart-modal-overlay.open .cart-modal-content {
  transform: translateX(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.8rem;
}

.modal-header h2 {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-900);
}

.btn-close-modal {
  background: none;
  border: none;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  outline: none;
}

/* Footer */
.coquette-footer {
  background: var(--brand-900);
  color: #e8e4df;
  margin-top: auto;
  padding: 2.4rem 1rem 1.5rem;
  width: 100%;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 1.8rem;
}

.footer-col h3 {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.8rem;
}

.footer-col p,
.footer-col ul {
  font-size: 0.88rem;
  color: #c9c3bc;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.45rem;
}

.footer-link {
  color: #f0b8cf;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.2rem;
  text-align: center;
  font-size: 0.82rem;
  color: #a39d96;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto;
  }
}

/* ===== Banner con video de fondo + control de música ===== */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-bg:not(.is-visible) {
  pointer-events: none;
}

/* Capa clara para que el texto se lea sobre el GIF */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.88) 0%, rgba(253,244,247,0.55) 55%, rgba(246,219,228,0.25) 100%);
  z-index: 1;
}

.hero-carousel,
.carousel-dots {
  position: relative;
  z-index: 2;
}

.hero-controls {
  position: absolute;
  left: 16px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-ctrl-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.85);
  color: var(--brand-900);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.hero-ctrl-btn:hover {
  background: var(--brand-900);
  color: #fff;
}

.hero-ctrl-btn svg {
  width: 20px;
  height: 20px;
}

.hero-ctrl-btn .icon-on { display: none; }
.hero-ctrl-btn[aria-pressed="true"] .icon-on { display: block; }
.hero-ctrl-btn[aria-pressed="true"] .icon-muted { display: none; }

/* ===== Navbar responsive en pantallas pequeñas ===== */
.navbar-container {
  gap: 0.75rem;
}

.nav-brand-logo,
.nav-cart-btn {
  flex-shrink: 0;
}

.nav-links {
  min-width: 0;
}

.nav-links a {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .navbar-container {
    padding: 0 0.75rem;
    gap: 0.5rem;
  }

  .nav-links {
    gap: 0.4rem;
  }

  .nav-links a {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    padding: 0.4rem 0.15rem;
  }

  .nav-cart-btn {
    padding: 0.45rem 0.7rem;
    gap: 5px;
  }
}

@media (max-width: 380px) {
  .brand-img-logo {
    height: 36px;
    width: 36px;
  }

  .nav-links a {
    font-size: 0.62rem;
    letter-spacing: 0.03em;
  }
}

/* ===== Fundido entre banners ===== */
.hero-bg {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-bg.is-visible {
  opacity: 1;
}