/* ============================================
   COMPONENTS · Elementos reutilizables
   ============================================ */

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--ff-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
}
.btn--sm { padding: 13px 22px; font-size: 0.78rem; }
.btn--gold {
  background: var(--c-gold);
  color: var(--c-coffee-ink);
  box-shadow: 0 12px 30px -10px rgba(201, 162, 106, 0.5);
}
.btn--gold:hover { background: var(--c-gold-bright); transform: translateY(-2px); }
.btn--green {
  background: var(--c-green);
  color: var(--c-cream);
  box-shadow: 0 12px 30px -10px rgba(4, 114, 67, 0.5);
}
.btn--green:hover { background: var(--c-green-deep); transform: translateY(-2px); }
.btn--ghost {
  border: 1px solid rgba(245, 239, 230, 0.35);
  color: var(--c-cream);
}
.btn--ghost:hover { background: rgba(245, 239, 230, 0.1); border-color: var(--c-cream); }

/* -------- Nav -------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26, 6, 8, 0.0);
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), padding .35s var(--ease);
  padding: 18px 0;
}
.nav.is-scrolled {
  background: rgba(26, 6, 8, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 0;
  border-bottom: 1px solid var(--c-line-dark);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand { display: flex; align-items: center; }
.nav__logo {
  height: 52px;
  width: auto;
  border-radius: 50%;
  background: var(--c-cream);
  padding: 4px;
  transition: height .3s var(--ease);
}
.nav.is-scrolled .nav__logo { height: 42px; }

.nav__links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav__links a {
  color: var(--c-cream);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  position: relative;
  transition: color .25s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--c-gold);
  transition: width .3s var(--ease);
}
.nav__links a:hover { color: var(--c-gold-bright); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  display: inline-block;
  background: var(--c-gold);
  color: var(--c-coffee-ink);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background .25s;
}
.nav__cta:hover { background: var(--c-gold-bright); }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--c-cream);
  transition: transform .3s var(--ease), opacity .3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--c-coffee-ink);
  padding: 24px;
  border-top: 1px solid var(--c-line-dark);
}
.nav__mobile a {
  color: var(--c-cream);
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line-dark);
  font-size: 1.05rem;
}
.nav__mobile a:last-child { border: none; }
.nav__cta--mobile { text-align: center; margin-top: 16px; padding: 16px 22px; }

/* -------- Product card -------- */
.product {
  background: rgba(245, 239, 230, 0.03);
  border: 1px solid var(--c-line-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.product:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 106, 0.35);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.product__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: radial-gradient(circle at 50% 55%, rgba(116, 0, 10, 0.45) 0%, #0d0305 70%);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.product__media--green {
  background: radial-gradient(circle at 50% 55%, rgba(4, 114, 67, 0.5) 0%, #05110a 70%);
}
.product__media img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform .6s var(--ease);
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.5));
}
.product:hover .product__media img { transform: scale(1.04); }

.product__tag {
  position: absolute;
  top: 24px; left: 24px;
  padding: 8px 18px;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.product__tag--gold {
  background: rgba(201, 162, 106, 0.95);
  color: var(--c-coffee-ink);
}
.product__tag--green {
  background: rgba(4, 114, 67, 0.95);
  color: var(--c-cream);
}

.product__body {
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}
.product__body h3 {
  font-family: var(--ff-serif);
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 500;
  color: var(--c-cream);
  letter-spacing: -0.01em;
}
.product__desc {
  color: rgba(245, 239, 230, 0.7);
  font-size: 0.95rem;
  line-height: 1.65;
}

.product__options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}
.opt-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.opt-group__label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.5);
}
.opt-group__row {
  display: flex;
  gap: 8px;
}
.opt {
  padding: 10px 18px;
  border: 1px solid var(--c-line-dark);
  border-radius: 999px;
  font-size: 0.82rem;
  color: rgba(245, 239, 230, 0.7);
  background: transparent;
  transition: all .25s var(--ease);
  letter-spacing: 0.02em;
}
.opt:hover { border-color: var(--c-gold); color: var(--c-gold-bright); }
.opt.active {
  background: var(--c-cream);
  color: var(--c-coffee-ink);
  border-color: var(--c-cream);
  font-weight: 500;
}
.product--tradicional .opt.active {
  background: var(--c-green);
  color: var(--c-cream);
  border-color: var(--c-green);
}

.product__foot {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--c-line-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.product__price {
  display: flex;
  flex-direction: column;
}
.product__price-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.5);
}
.product__price-value {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--c-gold-bright);
}

/* -------- Floating WhatsApp -------- */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 12px 28px -6px rgba(37, 211, 102, 0.6);
  z-index: 90;
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px solid #25D366;
  border-radius: 50%;
  opacity: 0;
  animation: pulse 2.5s ease-out infinite;
}
@keyframes pulse {
  0%   { opacity: 0.7; transform: scale(0.9); }
  100% { opacity: 0;   transform: scale(1.4); }
}
