:root {
  --color-bg: #0a0a0a;
  --color-surface: #141414;
  --color-surface-2: #1e1e1e;
  --color-gold: #C9A84C;
  --color-gold-light: #e2c06a;
  --color-text: #f0f0f0;
  --color-muted: #888888;
  --font-main: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: background 0.3s;
}

.navbar-logo {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  text-decoration: none;
  text-transform: uppercase;
}

.navbar-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navbar-links a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}

.navbar-links a:hover {
  opacity: 1;
  color: var(--color-gold);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  background: none;
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--color-gold);
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.65rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
}

.lang-toggle:hover {
  background: rgba(201,168,76,0.15);
}

.cart-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  opacity: 0.8;
  transition: opacity 0.2s;
  position: relative;
  padding: 0.25rem;
}

.cart-btn:hover { opacity: 1; }

.cart-count {
  position: absolute;
  top: -4px; right: -6px;
  background: var(--color-gold);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

.cart-count.visible { display: flex; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201,168,76,0.08) 0%, transparent 70%),
    linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(5rem, 18vw, 12rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.9;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--color-gold);
}

.hero-slogan {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 300;
  color: var(--color-muted);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.btn-primary {
  display: inline-block;
  background: var(--color-gold);
  color: #000;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--color-gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--color-gold);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border: 1px solid var(--color-gold);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--color-gold);
  color: #000;
}

/* ─── SECTION BASICS ─── */
section {
  padding: 6rem 2rem;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-muted);
  font-weight: 300;
  max-width: 500px;
  line-height: 1.7;
}

/* ─── DIVIDER ─── */
.divider {
  width: 40px;
  height: 2px;
  background: var(--color-gold);
  margin: 1.5rem 0;
}

/* ─── PRODUCTS ─── */
.products-section {
  background: var(--color-surface);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5px;
  margin-top: 4rem;
}

.product-card {
  background: var(--color-bg);
  overflow: hidden;
  transition: transform 0.3s;
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.product-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.product-info {
  padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.product-style {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.4rem;
}

.product-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-gold);
}

.add-to-cart {
  background: none;
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--color-gold);
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.add-to-cart:hover {
  background: var(--color-gold);
  color: #000;
}

/* ─── ABOUT STRIP ─── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-img-placeholder {
  aspect-ratio: 4/5;
  background: url('../img/rock.png') center center / cover no-repeat;
  border: 1px solid rgba(201,168,76,0.1);
  overflow: hidden;
}

/* ─── YAPE SECTION ─── */
.yape-section {
  background: var(--color-surface);
  text-align: center;
}

.yape-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(201,168,76,0.2);
  padding: 3rem;
  margin-top: 3rem;
  max-width: 400px;
  width: 100%;
}

.yape-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-gold);
  letter-spacing: 0.05em;
}

.yape-steps {
  list-style: none;
  text-align: left;
  width: 100%;
}

.yape-steps li {
  font-size: 0.85rem;
  color: var(--color-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  gap: 0.75rem;
}

.yape-steps li span.step-num {
  color: var(--color-gold);
  font-weight: 700;
  min-width: 20px;
}

/* ─── FOOTER ─── */
.footer {
  padding: 3rem 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--color-gold);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* ─── CART SIDEBAR ─── */
.cart-sidebar {
  position: fixed;
  top: 0; right: -420px;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: var(--color-surface);
  z-index: 200;
  padding: 2rem;
  border-left: 1px solid rgba(255,255,255,0.06);
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open { right: 0; }

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.cart-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.cart-close {
  background: none;
  border: none;
  color: var(--color-muted);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.2s;
}

.cart-close:hover { color: var(--color-text); }

.cart-items { flex: 1; }

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

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-size: 0.8rem;
  color: var(--color-gold);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.qty-btn {
  background: var(--color-surface-2);
  border: none;
  color: var(--color-text);
  width: 24px; height: 24px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.qty-btn:hover { background: rgba(201,168,76,0.2); }

.qty-num {
  font-size: 0.85rem;
  min-width: 20px;
  text-align: center;
}

.cart-footer { margin-top: 1.5rem; }

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cart-total-amount { color: var(--color-gold); }

/* ─── MOBILE ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-text);
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .navbar { padding: 1.25rem 1.25rem; }
  .hamburger { display: flex; }

  .navbar-links {
    display: none;
    position: fixed;
    top: 65px; left: 0; right: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(201,168,76,0.15);
  }

  .navbar-links.open { display: flex; }
  .navbar-links a { font-size: 1rem; }

  .about-strip {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  section { padding: 4rem 1.25rem; }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}

/* ─── AGOTADO BADGE ─── */
.agotado-badge {
  display: inline-block;
  margin-top: 0.75rem;
  color: #DF0026 !important;
  border: 2px solid #DF0026;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: 0;
}
