@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --bg: #faf8f5;
  --panel: rgba(255, 253, 248, 0.86);
  --panel-strong: rgba(255, 253, 247, 0.96);
  --border: rgba(22, 101, 52, 0.18);
  --text: #1a1612;
  --muted: #6b6058;
  --accent: #166534;
  --accent-2: #ff7dd4;
  --accent-3: #9c7fff;
  --shadow: rgba(30, 18, 10, 0.16);
  --radius: 28px;
  font-family: 'Space Grotesk', 'Orbitron', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(circle at top, rgba(210, 170, 120, 0.10), transparent 20%),
    radial-gradient(circle at 80% 10%, rgba(255, 140, 180, 0.07), transparent 16%),
    linear-gradient(180deg, #faf8f5 0%, #f3ede6 40%, #ece5da 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(30, 18, 10, 0.055) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.12;
  pointer-events: none;
}

.page-shell {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 24px 24px 48px;
}

.page-logo {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  pointer-events: none;
}

.page-logo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  filter: drop-shadow(0 0 68px rgba(109, 227, 255, 0.14));
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 20px;
  border: 1px solid rgba(255,248,235,0.50);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,252,244,0.52) 0%, rgba(255,250,240,0.20) 100%);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.75), inset 0 -1px 0 rgba(15,23,42,0.05), 0 8px 32px rgba(15,23,42,0.09), 0 2px 8px rgba(15,23,42,0.05);
  margin-bottom: 24px;
}

.brand-panel {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #6de3ff, transparent 28%),
    linear-gradient(130deg, #0d172a 30%, #12203a 100%);
  box-shadow: 0 0 28px rgba(109, 227, 255, 0.25);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 12px;
  background: radial-gradient(circle, rgba(255,252,244,0.58), transparent 55%);
  border-radius: 50%;
}

.brand-eyebrow {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand-subtitle {
  margin: 2px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.language-switcher {
  display: flex;
  gap: 8px;
}

.topbar-cart { position: relative; margin-left: 12px; color: var(--text); text-decoration: none; display: flex; align-items: center; }
.topbar-cart:hover { opacity: 0.7; }
.topbar-cart-badge { position: absolute; top: -7px; right: -9px; background: #166534; color: #fff; font-size: 0.65rem; font-weight: 700; width: 17px; height: 17px; border-radius: 50%; display: none; align-items: center; justify-content: center; }

.currency-switcher { display: flex; gap: 4px; margin-left: 10px; }
.cur-btn { border: 1px solid rgba(26,22,18,0.22); background: transparent; color: var(--text,#1a1612); padding: 5px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; cursor: pointer; transition: all 0.15s; line-height: 1; }
.cur-btn:hover { border-color: var(--text,#1a1612); }
.cur-btn.active { background: var(--text,#1a1612); color: var(--bg,#faf8f5); border-color: var(--text,#1a1612); }

.lang-btn {
  border: 1px solid rgba(255,248,235,0.50);
  background: linear-gradient(145deg, rgba(255,252,244,0.50) 0%, rgba(255,250,240,0.18) 100%);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.68), 0 3px 8px rgba(15,23,42,0.07);
  cursor: pointer;
  font-weight: 700;
}

.lang-btn.active {
  color: var(--text);
  background: linear-gradient(145deg, rgba(255,253,248,0.98) 0%, rgba(245,240,232,0.92) 100%);
  border: 1px solid rgba(210,195,175,0.50);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.90), 0 3px 10px rgba(15,23,42,0.10);
}

.hero-panel {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 40px;
}

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

.hero-feature-img {
  width: 100%;
  max-width: 720px;
  max-height: 720px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  margin-bottom: 28px;
  box-shadow: 0 12px 40px rgba(26,22,18,0.18);
}

.hero-tag {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(22, 101, 52, 0.10);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-size: clamp(3rem, 4vw, 5rem);
  line-height: 0.95;
  margin: 0 0 20px;
  letter-spacing: -0.05em;
  text-shadow: 0 0 24px rgba(109, 227, 255, 0.12);
}

.hero-text {
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

/* ── Dropdown "Ver colecciones" ── */
.dropdown-wrap {
  position: relative;
  display: inline-block;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px;
  min-width: 180px;
  z-index: 200;
}
.dropdown-menu-inner {
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid rgba(26, 22, 18, 0.12);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(26, 22, 18, 0.14);
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.dropdown-wrap:hover .dropdown-menu,
.dropdown-wrap:focus-within .dropdown-menu {
  display: block;
}
.dropdown-item {
  display: block;
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1612;
  text-decoration: none;
  transition: background 0.15s;
  letter-spacing: 0.01em;
}
.dropdown-item:hover {
  background: rgba(26, 22, 18, 0.06);
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(145deg, rgba(255,253,248,0.95) 0%, rgba(245,240,232,0.90) 100%);
  color: var(--text);
  border: 1px solid rgba(210,195,175,0.40);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.90), 0 4px 14px rgba(15,23,42,0.09);
}

.btn-secondary {
  border: 1px solid rgba(18, 25, 37, 0.12);
  color: var(--text);
  background: rgba(255,252,244,0.75);
}

.hero-display {
  position: relative;
  min-height: 420px;
}

.hero-card {
  position: relative;
  z-index: 2;
  padding: 32px;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255,252,244,0.56) 0%, rgba(255,250,240,0.22) 100%);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(255,248,235,0.55);
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.80), inset 0 -1px 0 rgba(15,23,42,0.06), 0 30px 90px rgba(15,23,42,0.12), 0 4px 12px rgba(15,23,42,0.06);
}

.hero-card .hero-chip {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(109, 227, 255, 0.08);
  margin-bottom: 18px;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
}

.hero-card h2 {
  margin: 0 0 14px;
  font-size: 1.75rem;
}

.hero-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-ring {
  position: absolute;
  inset: 18% 0 auto auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(109, 227, 255, 0.22);
  filter: blur(0.85px);
  box-shadow: 0 0 120px rgba(109, 227, 255, 0.18);
}

.hero-grid {
  position: absolute;
  right: -10%;
  top: 62%;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle, rgba(255,125,212,0.14), transparent 55%);
  border-radius: 28px;
  transform: rotate(18deg);
}

/* Collections and intro removed — styles cleaned */


@media (max-width: 880px) {

}

/* Contact panel removed — styles cleaned */

.footer {
  margin-top: 42px;
  text-align: center;
  color: #166534;
  font-size: 0.95rem;
}

.instagram-links {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.instagram-label {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #166534;
}

.instagram-accounts {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(22, 101, 52, 0.35);
  background: rgba(22, 101, 52, 0.07);
  color: #166534;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.instagram-link:hover {
  background: rgba(22, 101, 52, 0.15);
  border-color: rgba(22, 101, 52, 0.60);
  color: #14532d;
}

@media (max-width: 960px) {
  .hero-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-display {
    min-height: 340px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 18px 16px 32px;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links {
    justify-content: center;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 12vw, 3.8rem);
  }

  .carousel-track {
    grid-auto-columns: minmax(280px, 320px);
  }

  .product-card {
    min-width: 280px;
  }
  
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Collections grid (homepage small cards) */
.collections-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 8px;
  margin-top: 32px;
  padding: 0 1.25%;
}

.collection-group:only-child {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .collections-wrapper {
    grid-template-columns: 1fr;
  }
}

.collection-group {
  display: grid;
  gap: 18px;
}

.collection-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.collection-header h2 {
  margin: 0;
  font-size: 1.65rem;
}

.section-eyebrow {
  margin: 0 0 6px;
  color: #66748b;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-note {
  margin: 0;
  max-width: 620px;
  color: #66748b;
  font-size: 0.95rem;
  line-height: 1.5;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.product-card.small {
  width: 100%;
  max-width: none;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, rgba(255,252,244,0.54) 0%, rgba(255,250,240,0.20) 100%);
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
  border: 1px solid rgba(255,248,235,0.48);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.72), inset 0 -1px 0 rgba(15,23,42,0.04), 0 12px 32px rgba(15,23,42,0.09), 0 2px 6px rgba(15,23,42,0.05);
}
.product-card.small a { text-decoration: none; color: inherit; display: block; }
.product-media.small {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.product-media.small img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-info.small { padding: 12px 10px; text-align: center; }
.product-title { margin: 0; font-size: 0.95rem; font-weight: 700; }

.card-overlay {
  position: absolute;
  inset: 0;
  bottom: 42px; /* stop above the product-info strip */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  background: linear-gradient(to top, rgba(18,10,4,0.72) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
  border-radius: 16px 16px 0 0;
}
.product-card.small:hover .card-overlay {
  opacity: 1;
  pointer-events: none;
}
.card-price-label {
  color: rgba(255,252,244,0.92);
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0 0 7px;
  letter-spacing: 0.04em;
}

.card-add-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #166534;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 14px rgba(22,101,52,0.35);
}
.card-add-btn:hover { transform: scale(1.12); }
.card-add-btn.added { background: linear-gradient(135deg, #22c55e, #16a34a); }

.product-details {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.product-price {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.product-details .btn-primary {
  width: fit-content;
  padding: 12px 22px;
}

.product-main-image {
  max-width: 420px;
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  margin: 18px auto 0;
}

/* ── Gallery / Lightbox ─────────────────────────────── */
.gallery-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.91);
  z-index: 9500;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.gallery-overlay.open {
  display: flex;
}
.gallery-close {
  position: fixed;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  opacity: 0.75;
  transition: opacity 0.15s;
  z-index: 1;
}
.gallery-close:hover { opacity: 1; }
.gallery-prev,
.gallery-next {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.10);
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s;
}
.gallery-prev:hover,
.gallery-next:hover {
  background: rgba(255, 255, 255, 0.22);
}
.gallery-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(82vw, 640px);
}
.gallery-img {
  max-width: 100%;
  max-height: 62vh;
  border-radius: 14px;
  object-fit: contain;
}
.gallery-name {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
}
.gallery-desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  text-align: center;
  line-height: 1.65;
  max-width: 520px;
}
.gallery-dots {
  display: flex;
  gap: 8px;
}
.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s;
}
.gallery-dot.active {
  background: #fff;
}

/* ── Collection inline carousel ── */
.col-carousel { margin-top: 20px; display: flex; flex-direction: column; align-items: center; }
.cc-main-row { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 100%; padding: 0 12.5%; }
.cc-main-wrap { position: relative; flex: 1; min-width: 0; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: rgba(26,22,18,0.04); }
.cc-main-wrap a { display: block; width: 100%; height: 100%; }
.cc-main-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.35s ease; }
.cc-nav { display: none; }
.cc-main-wrap { cursor: grab; }
.cc-main-wrap:active { cursor: grabbing; }
.cc-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,0.5)); color: #fff; font-size: 0.95rem; font-weight: 600; pointer-events: none; letter-spacing: -0.01em; }
.cc-thumbs-outer { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; width: 100%; max-width: 100%; padding: 0 12.5%; }
.cc-tnav { background: none; border: none; cursor: pointer; font-size: 1.6rem; color: #9e9389; padding: 4px 6px; line-height: 1; flex-shrink: 0; transition: color 0.15s; }
.cc-tnav:hover { color: #1a1612; }
.cc-thumbs { display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden; flex: 1; max-width: 410px; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
.cc-thumbs::-webkit-scrollbar { display: none; }
.cc-thumb { flex-shrink: 0; width: 74px; height: 74px; border-radius: 9px; overflow: hidden; cursor: pointer; opacity: 0.32; border: 2px solid transparent; transition: opacity 0.2s, border-color 0.2s; }
.cc-thumb.active { opacity: 1; border-color: #14532d; }
.cc-thumb:hover:not(.active) { opacity: 0.62; }
.cc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
