/* ============================================
   OPUS SUPLEMENTOS — Stylesheet
   Dark premium gym aesthetic
   ============================================ */

/* ── CSS Custom Properties ── */
:root {
  --black: #0a0a0a;
  --black-card: #1a1a1a;
  --black-hover: #222222;
  --red: #e31e24;
  --red-dark: #b8181d;
  --red-glow: rgba(227, 30, 36, 0.4);
  --white: #f5f5f5;
  --white-dim: #b0b0b0;
  --gray: #888888;
  --green: #25d366;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;

  --nav-height: 70px;
  --container-max: 1200px;
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--red);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ── Container ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 3rem;
  font-size: 1rem;
}

.accent {
  color: var(--red);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform var(--transition);
}

.btn:hover::after {
  transform: translateX(0);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
  box-shadow: 0 0 25px var(--red-glow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-whatsapp {
  background: var(--green);
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1da851;
  color: #fff;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.4);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.2rem;
}

.btn-success {
  background: var(--green) !important;
  border-color: var(--green) !important;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid rgba(227, 30, 36, 0.2);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-logo .logo-accent {
  color: var(--red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero Section ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: var(--nav-height) 20px 40px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(227, 30, 36, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(227, 30, 36, 0.08) 0%, transparent 50%),
    var(--black);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(227, 30, 36, 0.03) 2px,
      rgba(227, 30, 36, 0.03) 4px
    );
  animation: scanline 8s linear infinite;
}

@keyframes scanline {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

#hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: var(--red);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.1; }
  100% { opacity: 0; transform: translateY(-100vh) scale(1); }
}

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

.hero-tag {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.3s;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 6.5rem);
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.5s;
}

.hero-title .line {
  display: block;
}

.hero-title .red-line {
  color: var(--red);
  text-shadow: 0 0 40px var(--red-glow);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--white-dim);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.7s;
}

.hero-cta {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.9s;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Sections ── */
section {
  padding: 80px 0;
}

.section-dark {
  background: var(--black-card);
}

/* ── Brands Section ── */
.brands-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.brand-item {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--gray);
  text-transform: uppercase;
  padding: 20px 30px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: default;
}

.brand-item:hover {
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 0 20px var(--red-glow);
  transform: translateY(-2px);
}

/* ── Categories Grid ── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1rem;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}

.category-card:hover {
  border-color: var(--red);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--red-glow);
}

.category-card svg {
  margin: 0 auto 12px;
  transition: transform var(--transition);
}

.category-card:hover svg {
  transform: scale(1.15);
}

.category-card h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
}

/* ── Benefits Section ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
}

.benefit-card:hover {
  border-color: rgba(227, 30, 36, 0.3);
  transform: translateY(-3px);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: rgba(227, 30, 36, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.benefit-card p {
  color: var(--white-dim);
  font-size: 0.95rem;
}

/* ── Products Grid ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.product-card:hover {
  border-color: var(--red);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--red-glow);
}

.product-card-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #111;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-img img {
  transform: scale(1.08);
}

.product-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.product-card-img .product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.product-card-body {
  padding: 1.2rem;
}

.product-marca {
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.product-nombre {
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 4px;
  line-height: 1.2;
}

.product-sabor {
  font-size: 0.85rem;
  color: var(--red);
  margin-bottom: 2px;
}

.product-cantidad {
  font-size: 0.8rem;
  color: var(--white-dim);
  margin-bottom: 8px;
}

.product-precio {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--red);
  margin-bottom: 1rem;
}

.product-card-actions {
  display: flex;
  gap: 8px;
}

.product-card-actions .btn {
  flex: 1;
  font-size: 0.75rem;
  padding: 8px 10px;
}

/* ── Tienda Page ── */
.page-header {
  padding: calc(var(--nav-height) + 40px) 0 40px;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(227, 30, 36, 0.08) 0%, transparent 60%),
    var(--black);
}

.page-header h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-transform: uppercase;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--gray);
}

.breadcrumb a:hover {
  color: var(--red);
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 3rem;
  padding: 0 20px;
}

.filter-btn {
  background: var(--black-card);
  color: var(--white-dim);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 20px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
}

.filter-btn:hover {
  border-color: var(--red);
  color: var(--white);
}

.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

#productos-grid {
  transition: opacity 0.2s ease;
}

/* ── Product Detail Page ── */
.producto-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.producto-imagen {
  background: var(--black-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.producto-imagen img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.producto-info {
  padding-top: 1rem;
}

.producto-info h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  margin-top: 0.8rem;
}

.producto-marca {
  font-size: 1rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.producto-sabor,
.producto-presentacion {
  font-size: 1rem;
  color: var(--white-dim);
  margin-top: 0.5rem;
}

.producto-precio-detalle {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--red);
  margin: 1rem 0;
  text-shadow: 0 0 30px var(--red-glow);
}

.producto-descripcion {
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.producto-acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.producto-envio-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1rem;
  background: rgba(227, 30, 36, 0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(227, 30, 36, 0.15);
  font-size: 0.9rem;
  color: var(--white-dim);
}

.producto-not-found {
  text-align: center;
  padding: 4rem 2rem;
}

/* ── Carrito Page ── */
#carrito-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

#carrito-vacio {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  gap: 1.5rem;
}

#carrito-vacio svg {
  opacity: 0.3;
}

#carrito-vacio h2 {
  font-size: 2rem;
  text-transform: uppercase;
}

#carrito-vacio p {
  color: var(--gray);
}

.carrito-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--black-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1rem;
  transition: all var(--transition);
  animation: slideIn 0.3s ease;
}

.carrito-item-removing {
  opacity: 0;
  transform: translateX(-30px);
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.carrito-item-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
}

.carrito-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carrito-item-info h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
}

.carrito-item-marca {
  font-size: 0.8rem;
  color: var(--gray);
}

.carrito-item-presentacion {
  font-size: 0.8rem;
  color: var(--white-dim);
}

.carrito-item-precio {
  font-size: 0.9rem;
  color: var(--white-dim);
}

.carrito-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.cantidad-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  overflow: hidden;
}

.btn-cantidad {
  background: var(--black-card);
  color: var(--white);
  border: none;
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-cantidad:hover {
  background: var(--red);
}

.cantidad-valor {
  width: 40px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  border-left: 1px solid rgba(255,255,255,0.15);
  border-right: 1px solid rgba(255,255,255,0.15);
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carrito-item-subtotal {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--red);
}

.btn-eliminar {
  background: none;
  border: none;
  color: var(--gray);
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition);
  font-family: var(--font-body);
}

.btn-eliminar:hover {
  color: var(--red);
}

/* Resumen */
#carrito-resumen {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

#carrito-resumen h3 {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.resumen-linea {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  font-size: 1rem;
  color: var(--white-dim);
}

.resumen-total {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

.resumen-envio {
  margin: 1rem 0;
}

.resumen-envio label {
  display: block;
  font-size: 0.9rem;
  color: var(--white-dim);
  margin-bottom: 8px;
}

.resumen-envio select {
  width: 100%;
  padding: 10px 14px;
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.envio-gratis {
  color: var(--green) !important;
  font-weight: 700;
}

#carrito-resumen .btn {
  width: 100%;
  margin-top: 10px;
}

.btn-mp {
  background: #009ee3;
}

.btn-mp:hover {
  background: #007db8;
  box-shadow: 0 0 20px rgba(0, 158, 227, 0.3);
}

.btn-vaciar {
  font-size: 0.85rem;
  padding: 8px;
  border-color: rgba(255,255,255,0.15);
  color: var(--gray);
}

/* ── Nosotros Page ── */
.about-hero {
  text-align: center;
  padding: calc(var(--nav-height) + 60px) 20px 60px;
  background:
    radial-gradient(ellipse at center, rgba(227, 30, 36, 0.1) 0%, transparent 60%),
    var(--black);
}

.about-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.about-hero p {
  color: var(--white-dim);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  color: var(--white-dim);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 4rem 0;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--black-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition);
}

.stat-card:hover {
  border-color: rgba(227, 30, 36, 0.3);
  transform: translateY(-3px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--red);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--white-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

.about-brands {
  max-width: 800px;
  margin: 0 auto;
}

.about-brand-item {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.about-brand-item h3 {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  color: var(--red);
}

.about-brand-item p {
  color: var(--white-dim);
  line-height: 1.7;
}

/* ── Contact Page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all var(--transition);
}

.contact-info-card:hover {
  border-color: rgba(227, 30, 36, 0.3);
  transform: translateX(5px);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(227, 30, 36, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-card h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--white-dim);
  font-size: 0.9rem;
}

.contact-buttons {
  display: flex;
  gap: 12px;
  margin-top: 2rem;
}

.contact-envio {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
}

.contact-envio h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--red);
}

.contact-envio p {
  color: var(--white-dim);
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

/* Form */
.contact-form {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form h2 {
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 10px var(--red-glow);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
}

/* ── Footer ── */
.footer {
  background: var(--black-card);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand .nav-logo {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--red);
}

.footer-links a {
  display: block;
  color: var(--gray);
  padding: 4px 0;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--gray);
  font-size: 0.85rem;
}

/* ── Toast Notification ── */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--black-card);
  border: 1px solid var(--red);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 15px var(--red-glow);
}

.toast-show {
  transform: translateY(0);
  opacity: 1;
}

.toast-hide {
  transform: translateX(100px);
  opacity: 0;
}

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}

.modal-overlay.modal-active {
  opacity: 1;
}

.modal-content {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  max-width: 480px;
  width: 100%;
  transform: scale(0.9);
  transition: transform var(--transition);
}

.modal-active .modal-content {
  transform: scale(1);
}

.modal-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--red);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.modal-content h3 {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.modal-content p {
  color: var(--white-dim);
  margin-bottom: 0.5rem;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1.5rem;
}

.modal-actions .btn {
  width: 100%;
}

/* ── Scroll Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-slow);
}

.stagger-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */

/* Tablet */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .producto-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  #carrito-content {
    grid-template-columns: 1fr;
  }

  #carrito-resumen {
    position: static;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.8rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .brands-grid {
    gap: 1.5rem;
  }

  .brand-item {
    font-size: 1.1rem;
    padding: 14px 20px;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .category-card {
    padding: 1.2rem 0.5rem;
  }

  .category-card h3 {
    font-size: 0.85rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 50px 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .carrito-item {
    grid-template-columns: 60px 1fr;
    gap: 0.8rem;
  }

  .carrito-item-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .producto-acciones {
    flex-direction: column;
  }

  .producto-acciones .btn {
    width: 100%;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .contact-buttons .btn {
    width: 100%;
  }

  .filters {
    gap: 6px;
  }

  .filter-btn {
    font-size: 0.85rem;
    padding: 6px 14px;
  }

  .toast-notification {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
