/* ================================================================
   PRIVACIDAD — Shared Theme + Dark/Light Mode + Mobile Responsive
================================================================ */

/* ── DARK MODE (default) ── */
:root {
  --black:       #0a0a0a;
  --surface:     #0a0a0a;
  --surface2:    #141414;
  --surface3:    #1e1e1e;
  --cream:       #e8ddd0;
  --cream-light: #f2ece4;
  --gold:        #c9a96e;
  --gold-light:  #e2c898;
  --text:        #e8ddd0;
  --text-muted:  #777;
  --text-faint:  #444;
  --border:      rgba(232,221,208,0.08);
  --border-mid:  rgba(232,221,208,0.15);
  --nav-bg:      rgba(10,10,10,0.97);
  --card-bg:     #141414;
  --input-bg:    rgba(232,221,208,0.04);
  --overlay-bg:  rgba(0,0,0,0.85);
  --shadow:      0 8px 40px rgba(0,0,0,0.5);
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.4);
  --toggle-bg:   #1e1e1e;
  --toggle-knob: #c9a96e;
  --scheme: dark;
}

/* ── LIGHT MODE ── */
[data-theme="light"] {
  --black:       #f8f4ef;
  --surface:     #f8f4ef;
  --surface2:    #eeebe6;
  --surface3:    #e4e0da;
  --cream:       #1a1410;
  --cream-light: #2a2218;
  --gold:        #9e7840;
  --gold-light:  #b8913a;
  --text:        #1a1410;
  --text-muted:  #8a7a6a;
  --text-faint:  #c0b8b0;
  --border:      rgba(26,20,16,0.1);
  --border-mid:  rgba(26,20,16,0.2);
  --nav-bg:      rgba(248,244,239,0.97);
  --card-bg:     #eeebe6;
  --input-bg:    rgba(26,20,16,0.04);
  --overlay-bg:  rgba(0,0,0,0.6);
  --shadow:      0 8px 40px rgba(0,0,0,0.12);
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.08);
  --toggle-bg:   #e4e0da;
  --toggle-knob: #9e7840;
  --scheme: light;
}

/* ── THEME TOGGLE BUTTON ── */
.theme-toggle {
  position: relative;
  width: 48px;
  height: 26px;
  background: var(--toggle-bg);
  border: 1px solid var(--border-mid);
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  flex-shrink: 0;
}
.theme-toggle::before {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: var(--toggle-knob);
  border-radius: 50%;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
[data-theme="light"] .theme-toggle::before {
  transform: translateX(22px);
}
.theme-toggle .t-icon {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  font-size: 10px; pointer-events: none;
}
.theme-toggle .t-sun  { right: 5px; }
.theme-toggle .t-moon { left: 5px; }
[data-theme="light"] .theme-toggle .t-sun  { opacity: 0; }
[data-theme="light"] .theme-toggle .t-moon { opacity: 1; }
.theme-toggle .t-sun  { opacity: 1; }
.theme-toggle .t-moon { opacity: 0; }

/* ── GLOBAL RESETS ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--surface);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
}

/* ── NAV — shared ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  padding: 18px 60px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  gap: 16px;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 400;
  letter-spacing: 6px; text-transform: uppercase;
  color: var(--text); text-decoration: none;
  white-space: nowrap; flex-shrink: 0;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex; gap: 32px; list-style: none;
}
.nav-links a {
  color: var(--text); text-decoration: none;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  opacity: 0.6; transition: opacity 0.3s; position: relative;
  white-space: nowrap;
}
.nav-links a.active, .nav-links a:hover { opacity: 1; }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold);
}
.nav-actions {
  display: flex; gap: 14px; align-items: center; flex-shrink: 0;
}
.nav-icon {
  color: var(--text); opacity: 0.6;
  transition: opacity 0.3s; font-size: 16px; cursor: pointer;
  background: none; border: none;
}
.nav-icon:hover { opacity: 1; }
.cart-wrap { display: flex; align-items: flex-start; }
.cart-badge {
  background: var(--gold); color: var(--black);
  font-size: 9px; font-weight: 500;
  padding: 2px 6px; border-radius: 10px;
  margin-left: -8px; margin-top: -10px;
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ── MOBILE NAV DRAWER ── */
.mobile-nav {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--surface);
  z-index: 290;
  flex-direction: column;
  padding: 90px 40px 40px;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block; padding: 16px 0;
  font-size: 26px; font-family: 'Cormorant Garamond', serif;
  font-weight: 300; color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s, padding-left 0.3s;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--gold); padding-left: 8px; }
.mobile-nav-footer {
  margin-top: auto; display: flex; gap: 20px; padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ── BACKGROUNDS ── */
.bg-1  { background: linear-gradient(135deg,#1a0f0f,#2d1810,#1a1208); }
.bg-2  { background: linear-gradient(135deg,#0f1a14,#0d1f1a,#0a1510); }
.bg-3  { background: linear-gradient(135deg,#0f0f1a,#141025,#0a0a18); }
.bg-4  { background: linear-gradient(135deg,#1a1208,#2a1f10,#1a1510); }
.bg-5  { background: linear-gradient(135deg,#1a0a0a,#280d0d,#1a0f0f); }
.bg-6  { background: linear-gradient(135deg,#0a1218,#0d1c2a,#080e14); }
.bg-7  { background: linear-gradient(135deg,#141a0a,#1c2710,#0e1508); }
.bg-8  { background: linear-gradient(135deg,#1a0a14,#28101e,#140a10); }
.bg-9  { background: linear-gradient(135deg,#0f0e0a,#1a1b0c,#141408); }
.bg-10 { background: linear-gradient(135deg,#0a0a1a,#0c0c24,#080814); }
.bg-11 { background: linear-gradient(135deg,#1a1414,#261a1a,#141010); }
.bg-12 { background: linear-gradient(135deg,#0a1414,#0d1e1e,#081010); }

[data-theme="light"] .bg-1  { background: linear-gradient(135deg,#e8d5c8,#d4bfb2,#c8b8a8); }
[data-theme="light"] .bg-2  { background: linear-gradient(135deg,#c8d8cc,#b8ccbe,#a8c0b0); }
[data-theme="light"] .bg-3  { background: linear-gradient(135deg,#c8c8d8,#bcbcd0,#b0b0c8); }
[data-theme="light"] .bg-4  { background: linear-gradient(135deg,#d8d0c0,#ccbea8,#c0b498); }
[data-theme="light"] .bg-5  { background: linear-gradient(135deg,#d8c8c8,#ccb8b8,#c0a8a8); }
[data-theme="light"] .bg-6  { background: linear-gradient(135deg,#c0ccd8,#b0bece,#a0b0c0); }
[data-theme="light"] .bg-7  { background: linear-gradient(135deg,#ccd4c0,#bccab0,#acc0a0); }
[data-theme="light"] .bg-8  { background: linear-gradient(135deg,#d4c0cc,#c8b0c0,#bca0b4); }
[data-theme="light"] .bg-9  { background: linear-gradient(135deg,#d0ccc0,#c4c0b0,#b8b4a0); }
[data-theme="light"] .bg-10 { background: linear-gradient(135deg,#c8c8d8,#bebebc,#b4b4d0); }
[data-theme="light"] .bg-11 { background: linear-gradient(135deg,#d4cccc,#c8c0c0,#bcb4b4); }
[data-theme="light"] .bg-12 { background: linear-gradient(135deg,#c0d4d4,#b4cccc,#a8c4c4); }

/* ── BADGES ── */
.badge { font-size: 8px; letter-spacing: 2px; text-transform: uppercase; padding: 4px 10px; font-weight: 500; }
.b-new  { background: var(--gold); color: #0a0a0a; }
.b-sale { background: #c94e4e; color: #fff; }
.b-best { background: rgba(232,221,208,.12); color: var(--text); border: 1px solid var(--border-mid); }
[data-theme="light"] .b-best { background: rgba(26,20,16,.08); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; padding: 16px 44px;
  background: var(--text); color: var(--surface);
  text-decoration: none; font-size: 10px;
  letter-spacing: 4px; text-transform: uppercase;
  font-weight: 500; transition: all 0.3s;
  position: relative; overflow: hidden; cursor: pointer;
  border: none; font-family: 'Jost', sans-serif;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold); transform: translateX(-101%);
  transition: transform 0.4s ease;
}
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:hover::before { transform: translateX(0); }
[data-theme="light"] .btn-primary { color: var(--surface); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text); text-decoration: none; opacity: 0.6;
  transition: opacity 0.3s; background: none; border: none;
  cursor: pointer; font-family: 'Jost', sans-serif;
}
.btn-outline::after { content: '→'; transition: transform 0.3s; }
.btn-outline:hover { opacity: 1; }
.btn-outline:hover::after { transform: translateX(5px); }

.btn-gold {
  padding: 14px 28px; background: var(--gold); color: #0a0a0a;
  border: none; font-family: 'Jost', sans-serif;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  cursor: pointer; transition: background 0.3s; font-weight: 500;
}
.btn-gold:hover { background: var(--gold-light); }

/* ── SECTION LABELS ── */
.section-label {
  font-size: 9px; letter-spacing: 6px; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 16px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300; line-height: 1.1; letter-spacing: -0.5px;
}
.section-title em { font-style: italic; color: var(--gold-light); }
.section-line { height: 1px; background: var(--gold); }

/* ── PRODUCT CARD (shared) ── */
.card {
  position: relative; overflow: hidden;
  background: var(--card-bg); cursor: pointer;
  text-decoration: none; display: block;
  transition: box-shadow 0.3s;
}
.card:hover { box-shadow: var(--shadow); }
.card-thumb { aspect-ratio: 3/4; position: relative; overflow: hidden; }
.card-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94);
}
.card:hover .card-img { transform: scale(1.06); }
.card-img::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 40% 30%, rgba(201,169,110,.1) 0%, transparent 55%);
}
.card-ico { font-size: 70px; opacity: 0.1; position: absolute; filter: blur(0.5px); }
.card-lbl {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif; font-size: 90px;
  font-weight: 300; font-style: italic; opacity: 0.05;
  color: var(--cream); line-height: 1; white-space: nowrap; pointer-events: none;
}
.card-ov {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.1) 55%, transparent 100%);
}
[data-theme="light"] .card-ov {
  background: linear-gradient(to top, rgba(0,0,0,.5) 0%, rgba(0,0,0,.05) 55%, transparent 100%);
}
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 5px; }
.wish-btn {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px;
  border: 1px solid rgba(232,221,208,.2); border-radius: 50%;
  background: rgba(10,10,10,.5); display: flex; align-items: center;
  justify-content: center; font-size: 14px; opacity: 0;
  transform: translateY(-6px); transition: all 0.3s; cursor: pointer;
  color: var(--cream);
}
.card:hover .wish-btn { opacity: 1; transform: translateY(0); }
.wish-btn:hover { border-color: var(--gold); }
.wish-btn.liked { color: #e06060; border-color: #e06060; opacity: 1; transform: translateY(0); }
.card-info { padding: 14px 16px 18px; background: var(--card-bg); transition: background 0.35s; }
.card-cat { font-size: 8px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; display: block; }
.card-name { font-family: 'Cormorant Garamond', serif; font-size: 16px; font-weight: 400; color: var(--text); margin-bottom: 8px; line-height: 1.2; }
.card-bot { display: flex; align-items: center; justify-content: space-between; }
.price-old { font-size: 10px; color: var(--text-muted); text-decoration: line-through; margin-right: 6px; }
.price { font-size: 13px; color: var(--gold-light); font-weight: 400; }
.clr-dots { display: flex; gap: 4px; align-items: center; }
.cdot { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); flex-shrink: 0; }
[data-theme="light"] .cdot { border: 1px solid rgba(0,0,0,.2); }
.cdot-more { font-size: 9px; color: var(--text-muted); }
.sz-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 8px; }
.sz-tag { font-size: 8px; letter-spacing: .5px; padding: 2px 6px; border: 1px solid var(--border); color: var(--text-muted); }
.sz-tag.avail { border-color: rgba(201,169,110,.3); color: var(--gold); }
.card-hover-row {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  background: rgba(10,10,10,.92);
  border-top: 1px solid rgba(201,169,110,.15);
  display: flex; align-items: center; justify-content: space-between;
  transform: translateY(100%); transition: transform 0.35s ease;
}
[data-theme="light"] .card-hover-row { background: rgba(240,235,228,.95); border-top-color: rgba(158,120,64,.2); }
.card:hover .card-hover-row { transform: translateY(0); }
.hover-label { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface3); border: 1px solid rgba(201,169,110,.2);
  color: var(--text); padding: 12px 28px;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  opacity: 0; pointer-events: none; z-index: 1000; white-space: nowrap;
  box-shadow: var(--shadow);
}

/* ── FOOTER ── */
.site-footer {
  padding: 40px 60px 28px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  background: var(--surface);
}
.f-copy { font-size: 10px; color: var(--text-muted); letter-spacing: .5px; }
.f-copy span { color: var(--gold); }
.f-links { display: flex; gap: 20px; flex-wrap: wrap; }
.f-links a { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); text-decoration: none; transition: color .3s; }
.f-links a:hover { color: var(--gold); }

/* ================================================================
   MOBILE RESPONSIVE — breakpoints
================================================================ */

/* ── Tablet ≤ 1024px ── */
@media (max-width: 1024px) {
  .nav { padding: 16px 24px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 9px; letter-spacing: 2px; }
  .site-footer { padding: 32px 24px 20px; }
}

/* ── Mobile ≤ 768px ── */
@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .nav-actions .nav-icon:not(.always-show) { display: none; }
  .section-title { font-size: clamp(28px, 8vw, 48px); }
  .site-footer { flex-direction: column; text-align: center; gap: 12px; padding: 24px 20px; }
  .f-links { justify-content: center; }
}

/* ── Small mobile ≤ 480px ── */
@media (max-width: 480px) {
  .nav-logo { font-size: 18px; letter-spacing: 4px; }
  .btn-primary { padding: 14px 28px; font-size: 9px; }
}