:root {
  --bg: #090909;
  --bg-raised: #141414;
  --bg-card: #121212;
  --line: #262626;
  --text: #f5f5f4;
  --text-muted: #8f8f8f;
  --gold: #d4a34b;
  --gold-soft: #e8c78a;
  --sale: #e0483f;
  --green: #3ba55d;
  --radius: 8px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.announce {
  background: linear-gradient(90deg, #b8862f, #e8c78a, #b8862f);
  background-size: 200% 100%;
  animation: shimmer 5s linear infinite;
  border-bottom: 1px solid #8a651f;
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #17140c;
}
.announce strong { font-weight: 800; }

header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: 0.02em; }
.logo-accent { color: var(--gold); }
.nav-links { display: flex; gap: 28px; font-size: 13.5px; color: var(--text-muted); }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 16px; align-items: center; }
.cart-btn {
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  color: var(--text);
}
.cart-btn:hover { border-color: var(--gold); }
.cart-btn .count {
  background: var(--gold);
  color: #100c04;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.hero { padding: 64px 0 56px; text-align: center; border-bottom: 1px solid var(--line); }
.hero .eyebrow { animation: fadeUp 0.7s ease both; }
.hero h1 { animation: fadeUp 0.7s ease 0.08s both; }
.hero p { animation: fadeUp 0.7s ease 0.16s both; }
.hero-ctas { animation: fadeUp 0.7s ease 0.24s both; }
.eyebrow { color: var(--gold); font-size: 13px; margin-bottom: 14px; letter-spacing: 0.02em; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 720px;
  margin: 0 auto;
}
.hero p { margin: 18px auto 0; color: var(--text-muted); font-size: 16px; max-width: 460px; }
.hero-ctas { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary { background: var(--gold); color: #100c04; }
.btn-primary:hover { opacity: 0.94; transform: translateY(-1px); box-shadow: 0 8px 18px -6px rgba(212,163,75,0.5); }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-primary:hover::after { left: 130%; }
.btn-secondary { border: 1px solid var(--line); color: var(--text); background: none; }
.btn-secondary:hover { border-color: var(--gold); }
.btn-block { display: block; width: 100%; text-align: center; }

.section-head { margin-bottom: 28px; text-align: center; }
.section-head h2 { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.section-head p { color: var(--text-muted); font-size: 13.5px; margin-top: 6px; }

section { padding: 56px 0; border-bottom: 1px solid var(--line); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  border-color: #4a4a4a;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -8px rgba(0,0,0,0.55);
}
.card.featured:hover { box-shadow: 0 14px 32px -8px rgba(212,163,75,0.28); }
.card-media {
  aspect-ratio: 1/1;
  background: var(--bg-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0) 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.card:hover .card-media::after { transform: translateX(100%); }
.card-icon { width: 40%; max-width: 64px; color: var(--gold-soft); opacity: 0.85; transition: transform 0.35s ease; }
.card-icon svg { width: 100%; height: 100%; }
.card.featured .card-icon { color: var(--gold); }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.card:hover .card-img { transform: scale(1.06); }
.card:hover .card-icon { transform: scale(1.08); }
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.card-body .desc { font-size: 12.5px; color: var(--text-muted); flex: 1; line-height: 1.5; }
.price-row { display: flex; align-items: baseline; gap: 7px; margin-top: 4px; }
.price { font-size: 18px; font-weight: 700; color: var(--text); }
.price-old { font-size: 12.5px; color: var(--text-muted); text-decoration: line-through; }
.card .btn { margin-top: 8px; font-size: 12.5px; padding: 10px 14px; }

.card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, #1a1508, var(--bg-card) 45%);
}
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gold);
  color: #100c04;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 0 rgba(212,163,75,0.5);
  animation: badgePulse 2.4s ease-in-out infinite;
}
@keyframes badgePulse {
  0% { box-shadow: 0 0 0 0 rgba(212,163,75,0.45); }
  70% { box-shadow: 0 0 0 8px rgba(212,163,75,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,163,75,0); }
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}
.trust-item { font-size: 13.5px; color: var(--text-muted); }
.trust-item .icon { font-size: 20px; margin-bottom: 8px; }

.testimonial-empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13.5px;
}

/* Carrusel de opiniones */
.carousel { position: relative; display: flex; align-items: center; gap: 8px; }
.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 12px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: min(320px, 82vw);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.review-card:hover { border-color: #4a4a4a; transform: translateY(-2px); }
.review-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }
.review-text { font-size: 13.5px; color: var(--text); line-height: 1.6; flex: 1; }
.review-name { font-size: 12.5px; color: var(--text-muted); font-weight: 600; }
.carousel-nav {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  color: var(--text);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.carousel-nav:hover { border-color: var(--gold); transform: scale(1.05); }
@media (min-width: 760px) {
  .carousel-nav { display: flex; }
}

.newsletter { display: flex; gap: 10px; flex-wrap: wrap; max-width: 440px; margin: 0 auto; justify-content: center; }
.newsletter input {
  flex: 1;
  min-width: 200px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--text);
  font-size: 13.5px;
}
.newsletter input:focus { outline: none; border-color: var(--gold); }

footer { padding: 40px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.foot-brand .logo { display: block; margin-bottom: 10px; }
.foot-brand p { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.foot-col h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 12px; }
.foot-col a { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.foot-col a:hover { color: var(--text); }
.foot-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 11.5px; color: var(--text-muted); padding-top: 20px; border-top: 1px solid var(--line);
}

.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(360px, 100%);
  background: var(--bg-raised); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform 0.25s ease;
  z-index: 100; display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { padding: 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.cart-head h3 { font-family: var(--serif); font-size: 17px; }
.cart-close { cursor: pointer; color: var(--text-muted); background: none; border: none; font-size: 20px; }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 18px; }
.cart-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.cart-empty { color: var(--text-muted); font-size: 13.5px; padding: 20px 0; text-align: center; }
.cart-foot { padding: 18px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.overlay.open { opacity: 1; pointer-events: auto; }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav { justify-content: center; }
  .hero { padding: 48px 0 40px; }
  section { padding: 40px 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
}
