/* =============================================
   CYGNUS BIJOU — Styles v2
   ============================================= */

/* --- Variables --- */
:root {
  --bg:           #FAFAF8;
  --bg-alt:       #F4F1EC;
  --dark:         #111010;
  --dark-2:       #1E1C1A;
  --text:         #2A2826;
  --text-muted:   #7A7672;
  --gold:         #C9A96E;
  --gold-light:   #DFC28F;
  --gold-dark:    #9E7E4A;
  --primary:      #b03080;
  --primary-dark: #8a1f60;
  --white:        #FFFFFF;
  --border:       #E5E0D8;

  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;

  --radius:       4px;
  --radius-lg:    12px;
  --transition:   0.25s ease;
  --shadow:       0 4px 24px rgba(0,0,0,0.07);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.15);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* --- Utility --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section--dark { background: var(--dark-2); color: var(--white); }
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
}
.section-title em { font-style: italic; color: var(--gold); }
.section-header { margin-bottom: 56px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.btn--primary {
  background: var(--gold);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,169,110,0.4);
}
.btn--outline {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn--outline:hover {
  background: var(--gold);
  color: var(--white);
}
.btn--dark {
  background: var(--dark);
  color: #fff;
  padding: 13px 32px;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn--dark:hover { background: var(--dark-2); transform: translateY(-2px); }

/* =============================================
   TOP BAR
   ============================================= */
.topbar {
  background: var(--dark);
  padding: 8px 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  text-align: center;
}
.topbar span { color: var(--gold-light); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}
.navbar__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.navbar__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 1px;
  line-height: 1;
}
.logo-cygnus {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--dark);
  text-transform: uppercase;
}
.logo-bijou {
  font-family: var(--font-serif);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.36em;
  color: var(--dark);
  text-transform: uppercase;
}

/* Search bar */
.navbar__search {
  flex: 1;
  max-width: 360px;
  position: relative;
}
.navbar__search input {
  width: 100%;
  padding: 9px 40px 9px 16px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
  outline: none;
}
.navbar__search input:focus { border-color: var(--gold); }
.navbar__search .search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.875rem;
  pointer-events: none;
}

/* Search dropdown */
.search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  z-index: 200;
  overflow: hidden;
  max-height: 360px;
  overflow-y: auto;
}
.search-dropdown.open { display: block; }
.search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--dark);
  transition: background var(--transition);
  border-bottom: 1px solid var(--border);
}
.search-result:last-child { border-bottom: none; }
.search-result:hover { background: var(--bg-alt); }
.search-result__img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  overflow: hidden;
}
.search-result__img img { width: 100%; height: 100%; object-fit: cover; }
.search-result__info { flex: 1; min-width: 0; }
.search-result__name {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result__cat {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: capitalize;
}
.search-result__price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-dark);
  flex-shrink: 0;
}
.search-no-results {
  padding: 18px 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* Search toggle button — solo mobile */
.search-toggle {
  display: none;
  padding: 6px;
  color: var(--text);
  align-items: center;
  transition: color var(--transition);
}
.search-toggle:hover { color: var(--gold); }

/* Mobile search panel */
.mobile-search-panel {
  display: none;
  position: sticky;
  top: 72px;
  z-index: 99;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 12px 16px;
}
.mobile-search-panel.open { display: block; }
.mobile-search-panel__inner {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mobile-search-wrap {
  flex: 1;
  position: relative;
}
.mobile-search-wrap input {
  width: 100%;
  padding: 11px 40px 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color var(--transition);
}
.mobile-search-wrap input:focus { border-color: var(--gold); }
.mobile-search-wrap .search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.mobile-search-close {
  padding: 8px;
  color: var(--text-muted);
  font-size: 1rem;
  flex-shrink: 0;
  transition: color var(--transition);
}
.mobile-search-close:hover { color: var(--text); }

/* Dropdown dentro del panel mobile — flujo normal, no absoluto */
.mobile-search-panel .search-dropdown {
  position: static;
  margin-top: 10px;
  border-radius: 12px;
  max-height: 320px;
}

.navbar__nav { display: flex; gap: 32px; }
.nav-link {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.navbar__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Wishlist navbar btn */
.wish-btn {
  position: relative;
  padding: 6px;
  color: var(--text);
  transition: color var(--transition);
  display: flex;
  align-items: center;
}
.wish-btn:hover { color: #e91e63; }
.wish-btn svg { transition: fill var(--transition); }
.wish-btn.has-items svg { fill: #e91e63; stroke: #e91e63; }
.wish-count {
  position: absolute;
  top: -2px; right: -4px;
  background: #e91e63;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.wish-count.visible { display: flex; }

.cart-btn {
  position: relative;
  padding: 6px;
  color: var(--text);
  transition: color var(--transition);
  display: flex;
  align-items: center;
}
.cart-btn:hover { color: var(--gold); }
.cart-count {
  position: absolute;
  top: -2px; right: -4px;
  background: var(--primary);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all var(--transition);
}
.cart-count.visible { opacity: 1; transform: scale(1); }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: all var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 72vh;
  min-height: 480px;
  max-height: 780px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 56px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('foto/portada.png');
  background-size: cover;
  background-position: center center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,8,6,0.18) 0%,
    transparent 40%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  animation: fade-up 0.9s ease both;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: none; }
}
.hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  animation: fade-up 0.9s 0.1s ease both;
}
.hero__tagline::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--gold);
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.07;
  color: #fff;
  margin-bottom: 24px;
  animation: fade-up 0.9s 0.2s ease both;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-light);
  display: block;
}
.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 440px;
  margin-bottom: 40px;
  line-height: 1.75;
  animation: fade-up 0.9s 0.3s ease both;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fade-up 0.9s 0.4s ease both;
}
.btn--hero-primary {
  background: var(--gold);
  color: #fff;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn--hero-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,169,110,0.4);
}
.btn--hero-outline {
  border: 1.5px solid rgba(60,40,10,0.45);
  color: var(--dark);
  padding: 14px 36px;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
}
.btn--hero-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fade-up 1s 0.8s ease both;
}
.scroll-pill {
  width: 24px; height: 38px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-pill::before {
  content: '';
  width: 3px; height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 100px;
  animation: scroll-dot 1.6s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* =============================================
   FEATURES STRIP
   ============================================= */
.features {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
}
.feature + .feature {
  border-left: 1px solid var(--border);
}
.feature__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.feature__desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =============================================
   FILTERS
   ============================================= */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  background: var(--bg);
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* Fila 2: color + ordenar */
.filters-row2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.color-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.color-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg);
  cursor: pointer;
  transition: all var(--transition);
}
.color-btn:hover { border-color: var(--gold); color: var(--gold); }
.color-btn.active { background: var(--gold); border-color: var(--gold); color: #fff; }
.color-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.color-dot--dorado  { background: #C9A96E; }
.color-dot--plateado { background: #A8B4BD; }
.color-btn.active .color-dot { background: rgba(255,255,255,0.85); }

/* Sort dropdown */
.sort-select {
  padding: 9px 36px 9px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: var(--font-sans);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A7672' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  outline: none;
  transition: border-color var(--transition);
}
.sort-select:hover, .sort-select:focus { border-color: var(--gold); }

/* =============================================
   PRODUCTS GRID
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(201,169,110,0.35);
}
.product-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card__placeholder {
  font-size: 4rem;
  opacity: 0.5;
  transition: transform var(--transition);
}
.product-card:hover .product-card__placeholder { transform: scale(1.1); }

/* Botón agregar al carrito — aparece al hover */
.product-card__add-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(17,16,16,0.85);
  backdrop-filter: blur(4px);
  padding: 12px;
  transform: translateY(100%);
  transition: transform 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.product-card:hover .product-card__add-overlay { transform: translateY(0); }
.product-card__add-overlay:hover { background: var(--gold); }

/* Wishlist button */
.product-card__wish {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition);
  cursor: pointer;
  z-index: 2;
}
.product-card:hover .product-card__wish { opacity: 1; transform: scale(1); }
.product-card__wish:hover { color: #e91e63; background: #fff; }
.product-card__wish.active { color: #e91e63; opacity: 1; transform: scale(1); }

.product-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 2;
}
.product-card__body { padding: 18px 20px; }
.product-card__category {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.product-card__name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.3;
  transition: color var(--transition);
}
.product-card__name a:hover { color: var(--gold); }

/* Rating stars */
.product-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.7rem;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-card__price {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--dark);
}
.add-to-cart {
  display: none; /* reemplazado por overlay */
}

/* =============================================
   NOSOTROS
   ============================================= */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__body {
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  line-height: 1.75;
}
.about__stats { display: grid; grid-template-columns: 1fr; gap: 32px; }
.stat { border-left: 2px solid var(--gold); padding-left: 24px; }
.stat__number {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.stat__label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =============================================
   CONTACTO
   ============================================= */
.contact { max-width: 700px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-success {
  display: none;
  color: #2e7d32;
  font-size: 0.875rem;
  text-align: center;
  padding: 12px;
  background: #f1f8f1;
  border-radius: var(--radius);
}
.form-success.visible { display: block; }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--dark); color: rgba(255,255,255,0.6); }
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding: 64px 0 52px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: start;
}
.footer__brand .logo-cygnus,
.footer__brand .logo-bijou { color: #fff; }
.footer__tagline {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  text-align: center;
}
.footer__col-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--gold); }
.footer__social { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: all var(--transition);
}
.footer__social a:hover { border-color: var(--gold); color: var(--gold); }
.footer__bottom { padding: 22px 0; text-align: center; }
.footer__bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.2); }

/* =============================================
   CART DRAWER
   ============================================= */
.cart-drawer {
  position: fixed;
  top: 0; right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100%;
  background: var(--white);
  z-index: 200;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
}
.cart-drawer.open { right: 0; }
.cart-drawer__header {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.cart-drawer__header h3 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 400; }
.cart-close { font-size: 1rem; color: var(--text-muted); transition: color var(--transition); }
.cart-close:hover { color: var(--text); }
.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-empty { color: var(--text-muted); font-size: 0.9rem; text-align: center; margin-top: 40px; }
.cart-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.cart-item__emoji {
  width: 52px; height: 52px;
  background: var(--bg-alt);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  overflow: hidden;
}
.cart-item__info { flex: 1; }
.cart-item__name { font-family: var(--font-serif); font-size: 1rem; font-weight: 400; margin-bottom: 2px; }
.cart-item__price { font-size: 0.875rem; color: var(--gold-dark); font-weight: 500; }
.cart-item__remove { color: var(--text-muted); font-size: 0.85rem; transition: color var(--transition); padding: 4px; }
.cart-item__remove:hover { color: #c62828; }
.cart-drawer__footer { padding: 24px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-family: var(--font-serif); font-size: 1.1rem; }
#cart-total { font-weight: 500; color: var(--gold-dark); }

/* OVERLAY */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.overlay.active { opacity: 1; pointer-events: all; }

/* =============================================
   MOBILE FILTER SHEET
   ============================================= */
.mobile-filter-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 24px;
}
.mobile-filter-open {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg);
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}
.mobile-filter-open:hover { border-color: var(--gold); color: var(--gold); }
.mobile-filter-open.has-active { border-color: var(--gold); color: var(--gold); background: rgba(201,169,110,0.06); }
.mobile-filter-count {
  display: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  align-items: center;
  justify-content: center;
}
.mobile-filter-count.visible { display: flex; }

/* Overlay */
.filter-sheet-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 300;
}
.filter-sheet-overlay.open { display: block; }

/* Panel desde abajo */
.filter-sheet {
  position: fixed;
  bottom: -100%;
  left: 0; right: 0;
  background: var(--white);
  border-radius: 20px 20px 0 0;
  z-index: 301;
  transition: bottom 0.35s cubic-bezier(0.4,0,0.2,1);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}
.filter-sheet.open { bottom: 0; }
.filter-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
}
.filter-sheet__close {
  font-size: 1rem;
  color: var(--text-muted);
  padding: 4px;
  transition: color var(--transition);
}
.filter-sheet__close:hover { color: var(--text); }
.filter-sheet__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.filter-sheet__section {}
.filter-sheet__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.filter-sheet__options { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet-cat-btn, .sheet-color-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all var(--transition);
}
.sheet-cat-btn:hover, .sheet-color-btn:hover { border-color: var(--gold); color: var(--gold); }
.sheet-cat-btn.active, .sheet-color-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.sheet-color-btn.active .color-dot { background: rgba(255,255,255,0.85); }
.filter-sheet__footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

/* =============================================
   REVEAL ANIMATION
   ============================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .navbar__search { display: none; }
  .search-toggle { display: flex; }
  .features__grid { grid-template-columns: repeat(2,1fr); }
  .feature + .feature:nth-child(3) { border-left: none; }
}

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 48px; }
  .about__stats { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 680px) {
  .navbar__nav { display: none; }
  .navbar__nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--bg);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
    z-index: 99;
  }
  .menu-toggle { display: flex; }
  .section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr; gap: 24px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 32px; text-align: center; }
  .footer__brand { display: flex; flex-direction: column; align-items: center; }
  .footer__brand .logo-cygnus { font-size: 1.8rem; }
  .footer__brand .logo-bijou { font-size: 0.72rem; letter-spacing: 0.42em; }
  .footer__col { display: flex; flex-direction: column; align-items: center; }
  .footer__nav { align-items: center; gap: 14px; }
  .footer__social { justify-content: center; }
  .footer__bottom p { font-size: 0.7rem; }

  /* Hero */
  .hero { height: 90vh; max-height: none; }
  .hero__bg {
    background-image: url('foto/portada4.png');
    background-position: center 40%;
  }
  .hero__title { font-size: 2.2rem; }
  .hero__subtitle { font-size: 0.9rem; margin-bottom: 28px; }
  .hero__actions { flex-direction: column; }
  .btn--hero-primary, .btn--hero-outline { text-align: center; justify-content: center; }
  .hero__scroll { display: none; }

  /* Features */
  .features { padding: 20px 0; }
  .features__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 8px;
    gap: 4px;
  }
  .feature + .feature { border-left: none; }
  .feature__icon { font-size: 1.2rem; }
  .feature__title { font-size: 0.68rem; }
  .feature__desc { font-size: 0.63rem; }

  /* Filtros: ocultar desktop, mostrar mobile */
  .filters { display: none; }
  .filters-row2 { display: none; }
  .mobile-filter-bar { display: flex; }

  /* Productos: 2 columnas en mobile */
  .products-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-card__body { padding: 12px 12px; }
  .product-card__name { font-size: 0.95rem; }
  .product-card__price { font-size: 1rem; }

  /* Corazón de favoritos: siempre visible en mobile */
  .product-card__wish { opacity: 1; transform: scale(1); }

}

/* =============================================
   WHATSAPP FLOAT BUTTON
   ============================================= */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 8000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-decoration: none;
}

/* Card tooltip */
.wa-float__card {
  background: #fff;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.13);
  width: 240px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.97);
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform-origin: bottom right;
}
.wa-float:hover .wa-float__card,
.wa-float.open .wa-float__card {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.wa-float__card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.wa-float__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.wa-float__info-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 2px;
  font-family: var(--font-sans);
}
.wa-float__info-status {
  font-size: 0.7rem;
  color: #25D366;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-sans);
}
.wa-float__info-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #25D366;
  flex-shrink: 0;
}
.wa-offline { color: #f59e0b !important; }
.wa-offline::before { background: #f59e0b !important; }
.wa-float__card-msg {
  font-size: 0.8125rem;
  color: #555;
  line-height: 1.55;
  margin: 0 0 14px;
  font-family: var(--font-sans);
}
.wa-float__card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 100px;
  transition: background 0.18s;
  font-family: var(--font-sans);
}
.wa-float__card-cta:hover { background: #1ebe5d; }

/* Botón principal */
.wa-float__btn {
  position: relative;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}
.wa-float:hover .wa-float__btn {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

/* Pulso */
.wa-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37,211,102,0.35);
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* Mobile: card se abre al tap, no hover */
@media (max-width: 680px) {
  .wa-float { bottom: 20px; right: 16px; }
  .wa-float__card { width: 210px; }
  .wa-float:hover .wa-float__card { opacity: 0; pointer-events: none; transform: translateY(8px) scale(0.97); }
  .wa-float.open .wa-float__card  { opacity: 1; pointer-events: all;  transform: translateY(0) scale(1); }
}
