/* ---------- base reset ---------- */
* { box-sizing: border-box; margin:0; padding:0; }
html,body { height:100%; }
:root{
  --bg:#0b0b0b;
  --panel:#111;
  --muted:#bdbdbd;
  --white:#ffffff;
  --accent:#e6e6e6;
}
body{
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background:var(--bg);
  color:var(--white);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
}

/* wrapper */
.wrap{ max-width:1100px; margin:0 auto; padding:28px; }

/* ---------- header ---------- */
.site-header{ position:sticky; top:0; z-index:60; background:rgba(0,0,0,0.6); backdrop-filter: blur(6px); border-bottom:1px solid #222; }
.header-row{ display:flex; align-items:center; justify-content:space-between; gap:16px; }
.brand{ font-weight:800; font-size:1.2rem; letter-spacing:3px; }
.main-nav{ display:flex; gap:18px; align-items:center; }
.main-nav a{ color:var(--muted); text-decoration:none; font-size:0.9rem; letter-spacing:1px; padding:8px; }
.main-nav a.cta{ background:var(--white); color:#000; padding:8px 14px; border-radius:999px; font-weight:700; }
.mobile-toggle{ display:none; background:none; border:0; color:var(--white); font-size:22px; }

/* ---------- hero ---------- */
.hero{ padding:36px 0 12px; }
.hero-grid{ display:grid; grid-template-columns: 1fr 520px; gap:28px; align-items:center; position:relative; }
.hero-eyebrow{ color:var(--muted); font-size:13px; margin-bottom:8px; letter-spacing:1px; text-align: center; }
.hero-huge{ font-size:clamp(48px,9vw,110px); line-height:0.85; font-weight:900; letter-spacing:4px; margin:0; color:var(--white); text-transform:uppercase; text-align: center; }
.hero-lead{ color:var(--muted); margin:18px 0 22px; max-width:540px; font-size:15px; text-align: center; }
.hero-actions{ display:flex; gap:12px; justify-content: center; }
.btn{ display:inline-block; padding:12px 20px; border-radius:999px; text-decoration:none; border:1px solid #2a2a2a; font-weight:700; font-size:14px; text-align: center; }
.btn-primary{ background:var(--white); color:#000; border:none; }
.btn-outline{ background:transparent; color:var(--white); border:1px solid #444; }

/* right column visuals */
.hero-frame{ border-radius:10px; overflow:hidden; border:1px solid #222; box-shadow: 0 20px 50px rgba(0,0,0,0.6); background:linear-gradient(180deg,#090909,#0f0f0f); margin: 0 auto; }
.hero-image{ width:100%; height:420px; object-fit:cover; display:block; filter:grayscale(100%); }

.hero-mobile-mock{ display:none; position:absolute; right:-30px; top:12px; width:120px; transform:rotate(-4deg); box-shadow:0 10px 30px rgba(0,0,0,0.6); }
.hero-mobile-mock img{ width:100%; display:block; filter:grayscale(100%); }

/* nav strip */
.nav-strip{ margin-top:18px; padding:12px 0; border-top:1px solid #222; border-bottom:1px solid #222; background:#0b0b0b; }
.strip-inner{ display:flex; align-items:center; justify-content:space-between; }
.shop-bar{ display:flex; gap:12px; align-items:center; }

/* about magazine block */
.about-block{ padding:36px 0; border-bottom:1px solid #222; text-align: center; }
.about-grid{ display:grid; grid-template-columns:520px 1fr; gap:28px; align-items:center; }
.about-media img{ width:100%; height:340px; object-fit:cover; display:block; filter:grayscale(100%); margin: 0 auto; }
.about-title{ font-size:72px; font-weight:900; margin:8px 0; letter-spacing:3px; text-align: center; }
.muted{ color:var(--muted); text-align: center; }

/* product grid */
.products-section{ padding:36px 0; text-align: center; }
.section-title{ font-size:18px; letter-spacing:2px; color:var(--muted); margin-bottom:18px; text-transform:uppercase; text-align: center; }
.products-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.product-card{ background:#0e0e0e; border:1px solid #222; padding:12px; border-radius:8px; display:flex; flex-direction:column; gap:12px; text-align: center; }

/* ---------- IMÁGENES DE PRODUCTOS MEJORADAS ---------- */
.product-card .thumb {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  height: 320px; /* Más grande */
  width: 100%;
  background: #0e0e0e;
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.5s ease;
  filter: none; /* Quitamos el gris */
}

/* Imagen principal */
.product-card .thumb .front {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
  transform: scale(1);
}

/* Imagen secundaria (atrás) */
.product-card .thumb .back {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: scale(1.1);
}

/* Animación al hacer hover */
.product-card:hover .thumb .front {
  opacity: 0;
  transform: scale(1.1);
}

.product-card:hover .thumb .back {
  opacity: 1;
  transform: scale(1);
}

.info{ display:flex; justify-content:space-between; align-items:center; gap:8px; }
.title{ font-weight:800; font-size:13px; letter-spacing:0.6px; }
.price{ font-weight:900; }

/* custom CTA */
.custom-cta{ padding:48px 0; border-top:1px solid #222; text-align:center; background:#0b0b0b; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.custom-huge{ font-size:36px; letter-spacing:2px; margin-bottom:12px; font-weight:900; text-align: center; }

/* footer */
.footer-cta{ padding:34px 0; border-top:1px solid #222; background:#0b0b0b; text-align: center; }
.footer-inner{ display:flex; justify-content:space-between; align-items:center; gap:16px; }

/* tiny helpers */
.brand-sm{ font-weight:800; letter-spacing:2px; text-align: center; }

/* ---------- responsive ---------- */
@media (max-width:1100px){
  .hero-grid{ grid-template-columns: 1fr; text-align: center; }
  .about-grid{ grid-template-columns: 1fr; text-align: center; }
  .hero-image{ height:360px; }
  .hero-mobile-mock{ display:none; right:auto; position:static; transform:none; margin-top:12px; }
  .products-grid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:680px){
  .main-nav{ display:none; }
  .mobile-toggle{ display:block; }
  .wrap{ padding:18px; }
  .hero-huge{ font-size:46px; text-align: center; }
  .products-grid{ grid-template-columns:1fr; }
  .hero-image{ height:260px; }
  .hero-mobile-mock{ display:none; }
}
/* resaltar link activo */
.main-nav a.active {
  color: #ffffff !important;
  background: none;
  font-weight: 800;
}

/* estilos para formularios básicos */
.form { display:flex; flex-direction:column; gap:10px; max-width:700px; margin: 0 auto; text-align: left; }
.form input, .form textarea, .form select {
  padding:8px 10px; border-radius:6px; border:1px solid #222; background:#0e0e0e; color:#fff;
}

/* Manifesto Styles */
.manifesto-hero {
  text-align: center;
  padding: 60px 0 40px;
  border-bottom: 1px solid #222;
}

.manifesto-title {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 10px;
  text-align: center;
}

.manifesto-subtitle {
  color: var(--muted);
  font-size: 1.2rem;
  text-align: center;
}

.manifesto-content {
  padding: 50px 0;
  text-align: center;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.manifesto-block {
  background: var(--panel);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #222;
  text-align: center;
}

.manifesto-block h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--white);
  text-align: center;
}

.manifesto-block p {
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}

.manifesto-block.full-width {
  grid-column: 1 / -1;
  text-align: center;
}

/* ---------- CATEGORY CARDS CON FONDO ---------- */
.category-nav {
  background: var(--panel);
  padding: 20px 0;
  border-bottom: 1px solid #222;
  text-align: center;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.category-card {
  position: relative;
  background: var(--bg);
  padding: 25px 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1); /* Más transparente */
  border-radius: 6px;
  text-decoration: none;
  color: var(--white);
  transition: all 0.3s ease;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  background-color: rgba(11, 11, 11, 0.85); /* Transparencia */
}

/* Overlay para mejor legibilidad */
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Más transparente */
  z-index: 1;
  transition: background 0.3s ease;
}

.category-card:hover::before {
  background: rgba(0, 0, 0, 0.3); /* Aún más transparente al hover */
}

.category-card h4, 
.category-card .count {
  position: relative;
  z-index: 2;
}

/* Fondo específico para cada categoría */
.category-card:nth-child(1) {
  background-image: url('LOGO/logoletrasarven.jpgs');
}

.category-card:nth-child(2) {
  background-image: url('LOGO/logoletrasarven.jpg');
}

.category-card:nth-child(3) {
  background-image: url('LOGO/logoletrasarven.jpg');
}

.category-card:nth-child(4) {
  background-image: url('LOGO/logoletrasarven.jpg');
}

/* Efecto hover para category cards */
.category-card:hover {
  border-color: var(--white);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.category-card h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  text-align: center;
}

.category-card .count {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* Enhanced Footer */
.footer-enhanced {
  background: #050505;
  padding: 50px 0 20px;
  border-top: 1px solid #222;
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
  text-align: left;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.payment-methods {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
  justify-content: center;
}

.payment-methods span {
  background: #111;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Cart Styles */
.cart-icon {
  position: relative;
  margin-left: 20px;
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--white);
  color: var(--bg);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.cart-modal {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  background: var(--bg);
  border-left: 1px solid #222;
  z-index: 1000;
  padding: 20px;
  overflow-y: auto;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #222;
}

.cart-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-total {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #222;
  text-align: center;
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.total-row.total {
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #222;
}

/* Login/Register Modal */
.auth-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  border: 1px solid #222;
  padding: 30px;
  z-index: 1000;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.auth-tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #222;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
}

.auth-tab.active {
  color: var(--white);
  border-bottom: 2px solid var(--white);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

/* NUEVOS ESTILOS PARA LAS MEJORAS */

/* Fondo con imagen para la sección hero */
.hero-section {
  background-image: url('LOGO/buzoarven.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 0;
  position: relative;
  text-align: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Estilos para menús desplegables en colección */
.collection-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  justify-content: center;
}

/* Estilos para el menú desplegable de colección */
.collection-dropdown {
  position: relative;
  display: inline-block;
}

.collection-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.collection-dropdown > a i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.collection-dropdown:hover > a i {
  transform: rotate(180deg);
}

.collection-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--panel);
  min-width: 250px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
  z-index: 100;
  border: 1px solid #222;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 10px;
}

.collection-dropdown-content a {
  color: var(--muted);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-align: left;
  border-bottom: 1px solid rgba(34, 34, 34, 0.5);
}

.collection-dropdown-content a:last-child {
  border-bottom: none;
}

.collection-dropdown-content a:hover {
  background-color: #1a1a1a;
  color: var(--white);
  padding-left: 20px;
}

.collection-dropdown:hover .collection-dropdown-content {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Filtros de productos */
.product-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.filter-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-select {
  background: var(--panel);
  border: 1px solid #222;
  color: var(--white);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  text-align: center;
}

/* Animación para imágenes de productos */
.product-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  margin: 0 auto;
}

.product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: opacity 0.5s ease;
}

.product-image-front {
  opacity: 1;
}

.product-image-back {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.product-card:hover .product-image-front {
  opacity: 0;
}

.product-card:hover .product-image-back {
  opacity: 1;
}

/* Centrado del formulario de personalización */
.custom-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 0;
}

.custom-cta .form {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

/* Estilo para productos a encargo */
.encargo-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff6b00;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: bold;
}

.encargo-info {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #ff6b00;
  text-align: center;
}

/* Mejoras de contacto */
/* SECCIÓN GENERAL */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
}

/* COLUMNA IZQUIERDA (IMAGEN + TARJETA) */
.contact-left {
  position: relative;
  background: url("LOGO/modeloarven.png") center/cover no-repeat;
}

.contact-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.contact-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: black;
  padding: 45px 55px;
  border-radius: 0;
  width: 65%;
  color: #fff;
}

/* ICONOS MINIMALISTAS */
.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.contact-icon {
  font-size: 1.4rem;
  margin-right: 15px;
  color: white;
}

/* COLUMNA DERECHA (FORMULARIO) */
.contact-right {
  padding: 60px 80px;
  background: #f8f8f8;
}

.contact-right h2 {
  font-size: 2rem;
  color: black;
  margin-bottom: 40px;
}

/* Inputs tipo Vancouver */
.contact-right input,
.contact-right textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-bottom: 1px solid #000;
  margin-bottom: 30px;
  font-size: 1rem;
  background: transparent;
  outline: none;
}

.contact-right textarea {
  min-height: 130px;
  resize: none;
}

.contact-right button {
  width: 100%;
  padding: 15px;
  background: black;
  color: white;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-card {
    position: relative;
    transform: none;
    top: auto;
    left: auto;
    margin: 40px auto;
    width: 80%;
  }

  .contact-right {
    padding: 40px 25px;
  }
}
.icon-img {
  color: #ffffff;
  width: 22px;
  height: 22px;
  margin-right: 12px;
}

/* Contenedor del item */
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

/* SVGs controlables por color (usamos currentColor en el SVG) */
.contact-svg {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
  color: #ffffff; /* <-- color del icono */
}

/* Link del texto */
.contact-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
}

/* Estados hover (opcional, para feedback) */
.contact-item a:hover .contact-svg,
.contact-item a:hover .contact-link {
  opacity: 0.85;
  transform: translateY(-1px);
  transition: all 150ms ease;
}

/* Iconos de redes y pagos */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: center;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: #111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--white);
  color: var(--bg);
}

.payment-icons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.payment-icon {
  width: 40px;
  height: 25px;
  background: #111;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Submenús para remeras */
.submenu-dropdown {
  position: relative;
}

.submenu-dropdown-content {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background-color: var(--panel);
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border: 1px solid #222;
  border-radius: 6px;
  overflow: hidden;
}

.submenu-dropdown:hover .submenu-dropdown-content {
  display: block;
}

/* ---------- WHATSAPP FLOTANTE (FIXED) ---------- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Icono de WhatsApp específico */
.whatsapp-float i {
  font-size: 30px;
  line-height: 1;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1);
}

/* Responsividad mejorada */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .cart-modal {
    width: 100%;
  }
  
  .manifesto-grid {
    grid-template-columns: 1fr;
  }
  
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .product-filters {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-group {
    width: 100%;
    justify-content: center;
  }
  
  .filter-select {
    flex: 1;
    min-width: 150px;
  }
  
  .collection-menu {
    flex-direction: column;
    align-items: center;
  }
  
  .collection-dropdown {
    width: 100%;
    text-align: center;
  }
  
  .collection-dropdown-content {
    width: 100%;
  }
  
  .submenu-dropdown-content {
    left: 0;
    top: 100%;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
  }
  
  .whatsapp-float i {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
  
  .about-title {
    font-size: 48px;
  }
  
  .hero-huge {
    font-size: 36px;
  }
  
  .custom-huge {
    font-size: 28px;
  }
  
  /* AJUSTE RESPONSIVE PARA PRODUCTOS */
  .product-card .thumb {
    height: 280px;
  }
  
  .category-card {
    min-height: 150px;
  }
}

/* AJUSTE RESPONSIVE PARA PRODUCTOS */
@media (max-width: 768px) {
  .product-card .thumb {
    height: 280px;
  }
  
  .category-card {
    min-height: 150px;
  }
}

@media (max-width: 480px) {
  .product-card .thumb {
    height: 240px;
  }
  
  .category-card {
    min-height: 120px;
    padding: 20px 10px;
  }
}
/* ---------- SECCIÓN NOSOTROS CON VIDEO ---------- */
.nosotros-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background: #000;
}

.nosotros-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.nosotros-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: grayscale(100%) brightness(0.7);
}

.nosotros-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.8) 100%);
  z-index: 2;
}

.nosotros-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.nosotros-title {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 4px;
  margin-bottom: 30px;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.nosotros-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 40px;
  text-align: left;
}

.nosotros-text p {
  margin-bottom: 20px;
  color: var(--accent);
}

.nosotros-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

/* ---------- SECCIÓN INTERACTIVA FAQ/PAGOS ---------- */
.interactive-section {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 15px;
  color: var(--white);
  text-transform: uppercase;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.interactive-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: 1px solid #222;
  color: var(--muted);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  border-color: var(--white);
  color: var(--white);
}

.tab-btn.active {
  background: var(--white);
  color: #000;
  border-color: var(--white);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

/* FAQ Styles - ARREGLADO */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #222;
  margin-bottom: 10px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  user-select: none;
}

.faq-question i {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  color: var(--muted);
  line-height: 1.6;
  padding-top: 0;
}

.faq-answer p {
  margin-bottom: 15px;
}

/* ESTADO ACTIVO PARA FAQ - ARREGLADO */
.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
  padding-top: 15px;
  padding-bottom: 20px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Payment Methods Animation */
.payment-animation {
  max-width: 1000px;
  margin: 0 auto;
}

.payment-methods-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .payment-methods-container {
    grid-template-columns: 1fr;
  }
}

.payment-method {
  background: var(--panel);
  border: 1px solid #222;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
}

.payment-method:hover {
  transform: translateY(-5px);
  border-color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.payment-icon-large {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--white);
}

.payment-method h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--white);
}

.payment-method p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.payment-brands {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-brand {
  background: #111;
  color: var(--muted);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
}

.payment-info {
  text-align: center;
  margin-top: 30px;
}

.payment-note {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}

/* Animations for payment methods */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-left {
  animation: slideInLeft 0.6s ease forwards;
}

.animate-right {
  animation: slideInRight 0.6s ease forwards;
}

.animate-center {
  animation: slideInUp 0.6s ease forwards;
}

/* Shipping Styles */
.shipping-container {
  max-width: 800px;
  margin: 0 auto 30px;
}

.shipping-method {
  display: flex;
  align-items: center;
  background: var(--panel);
  border: 1px solid #222;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.shipping-method:hover {
  border-color: var(--white);
  transform: translateX(5px);
}

.shipping-icon {
  font-size: 2rem;
  margin-right: 25px;
  color: var(--white);
  min-width: 50px;
}

.shipping-details {
  flex: 1;
}

.shipping-details h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--white);
}

.shipping-details p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.shipping-price {
  font-weight: 900;
  color: var(--white);
  font-size: 1.1rem;
}

.shipping-note {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-left: 3px solid var(--white);
}

.shipping-note p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nosotros-title {
    font-size: 2.5rem;
  }
  
  .nosotros-text {
    font-size: 1rem;
    text-align: center;
  }
  
  .nosotros-stats {
    gap: 30px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .shipping-method {
    flex-direction: column;
    text-align: center;
  }
  
  .shipping-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .nosotros-title {
    font-size: 2rem;
  }
  
  .interactive-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .tab-btn {
    width: 100%;
    max-width: 280px;
  }
  
  .payment-method {
    padding: 20px;
  }
}
/* Texto ancho completo solo para la sección EL ORIGEN */
.nosotros-section .nosotros-content {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 60px; /* opcional: podés bajar a 20px si lo querés aún más ancho */
}

.nosotros-section .nosotros-text {
  max-width: 100% !important;
  width: 100%;
}
/* ---------- CARRITO MEJORADO ---------- */
.cart-modal {
  width: 450px;
  max-width: 100%;
  padding: 0;
  display: none;
}

.cart-content {
  padding: 20px;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}

.cart-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #222;
  position: relative;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.cart-item-details {
  flex: 1;
}

.cart-item-details h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.cart-item-price {
  font-weight: 900;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 10px;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #444;
  background: var(--panel);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.quantity-btn:hover {
  border-color: var(--white);
  background: #222;
}

.quantity {
  min-width: 20px;
  text-align: center;
  font-weight: 700;
}

.cart-item-remove {
  position: absolute;
  top: 15px;
  right: 0;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.cart-item-remove:hover {
  color: var(--white);
}

.cart-coupon {
  margin: 20px 0;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  border: 1px solid #222;
}

.coupon-input {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.coupon-input input {
  flex: 1;
  padding: 10px;
  background: var(--panel);
  border: 1px solid #222;
  border-radius: 4px;
  color: var(--white);
  font-size: 0.9rem;
}

.btn-coupon {
  padding: 10px 15px;
  background: var(--panel);
  border: 1px solid #444;
  border-radius: 4px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-coupon:hover {
  border-color: var(--white);
  background: #222;
}

.coupon-note {
  color: #4CAF50;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.coupon-note i {
  font-size: 0.9rem;
}

.cart-subtotal {
  margin: 20px 0;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  border: 1px solid #222;
}

.subtotal-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 1rem;
}

.free-shipping-note {
  color: var(--muted);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Sección de envíos */
.shipping-section {
  margin: 25px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  border: 1px solid #222;
}

.shipping-section h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--white);
}

.shipping-location {
  margin-bottom: 20px;
}

.shipping-location p {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.shipping-location strong {
  color: var(--white);
}

.change-cp-btn {
  background: none;
  border: none;
  color: var(--white);
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.9rem;
  margin-left: 5px;
}

.shipping-warning {
  color: #ff6b00 !important;
  font-size: 0.8rem !important;
  font-style: italic;
  margin-top: 10px;
}

/* Formulario CP */
.cp-form {
  margin: 15px 0;
  display: none;
}

.cp-form input {
  padding: 10px;
  background: var(--panel);
  border: 1px solid #222;
  border-radius: 4px;
  color: var(--white);
  font-size: 0.9rem;
  width: 150px;
  margin-right: 10px;
}

.btn-calculate {
  padding: 10px 15px;
  background: var(--panel);
  border: 1px solid #444;
  border-radius: 4px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-calculate:hover {
  border-color: var(--white);
  background: #222;
}

.cp-error {
  color: #ff4444;
  font-size: 0.8rem;
  margin-top: 5px;
  display: none;
}

/* Opciones de envío */
.shipping-options {
  margin: 20px 0;
}

.shipping-option {
  margin-bottom: 15px;
}

.shipping-option input[type="radio"] {
  display: none;
}

.shipping-option label {
  display: block;
  padding: 15px;
  background: var(--panel);
  border: 1px solid #222;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 40px;
}

.shipping-option label:hover {
  border-color: #444;
}

.shipping-option input[type="radio"]:checked + label {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.shipping-option label::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid #444;
  border-radius: 50%;
  background: var(--panel);
}

.shipping-option input[type="radio"]:checked + label::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
}

.shipping-name {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 5px;
}

.shipping-time {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 5px;
}

.shipping-price {
  display: block;
  font-weight: 900;
  font-size: 1rem;
  color: var(--white);
}

/* Punto de retiro */
.pickup-section {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #222;
}

.pickup-section h5 {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--white);
}

.pickup-option {
  margin-bottom: 15px;
}

.pickup-option input[type="radio"] {
  display: none;
}

.pickup-option label {
  display: block;
  padding: 15px;
  background: var(--panel);
  border: 1px solid #222;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 40px;
}

.pickup-option label:hover {
  border-color: #444;
}

.pickup-option input[type="radio"]:checked + label {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.pickup-option label::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid #444;
  border-radius: 50%;
  background: var(--panel);
}

.pickup-option input[type="radio"]:checked + label::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
}

.pickup-name {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 5px;
}

.pickup-time {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 5px;
}

.pickup-price {
  display: block;
  font-weight: 900;
  font-size: 1rem;
  color: #4CAF50;
}

.view-locations {
  margin-top: 10px;
  padding: 6px 12px;
  background: none;
  border: 1px solid #444;
  border-radius: 4px;
  color: var(--white);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-locations:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.pickup-note {
  color: var(--muted);
  font-size: 0.8rem;
  font-style: italic;
  margin-top: 10px;
}

/* Resumen final */
.cart-total {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #222;
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.total-row.total-final {
  font-weight: 900;
  font-size: 1.2rem;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #222;
}

.installment-note {
  text-align: center;
  margin: 15px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.installment-note strong {
  color: var(--white);
}

.btn-checkout {
  width: 100%;
  padding: 15px;
  background: var(--white);
  color: #000;
  border: none;
  border-radius: 999px;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.btn-checkout:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.more-products {
  display: block;
  text-align: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.more-products:hover {
  color: var(--white);
}

.privacy-policy-link {
  text-align: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #222;
}

.privacy-policy-link a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s ease;
}

.privacy-policy-link a:hover {
  color: var(--white);
}

.privacy-policy-link i {
  margin-right: 5px;
}

/* Modal de Direcciones */
.locations-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  border: 1px solid #222;
  padding: 30px;
  z-index: 1001;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
}

.locations-content {
  position: relative;
}

.locations-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #222;
}

.locations-header h4 {
  font-size: 1.2rem;
  color: var(--white);
}

.locations-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.locations-list {
  margin-bottom: 20px;
}

.location-item {
  padding: 20px;
  background: var(--panel);
  border: 1px solid #222;
  border-radius: 6px;
  margin-bottom: 15px;
}

.location-item h5 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--white);
}

.location-item p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.location-item i {
  width: 16px;
  text-align: center;
}

.location-note {
  color: #ff6b00 !important;
  font-style: italic;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #222;
}

/* Modal de Política de Privacidad */
.privacy-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  border: 1px solid #222;
  padding: 20px;
  z-index: 1001;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
}

.privacy-content {
  position: relative;
}

.privacy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #222;
}

.privacy-header h4 {
  font-size: 1.3rem;
  color: var(--white);
}

.privacy-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.privacy-body {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 10px;
  margin-bottom: 20px;
}

.privacy-body h1,
.privacy-body h2,
.privacy-body h3 {
  color: var(--white);
  margin: 20px 0 10px 0;
}

.privacy-body h1 {
  font-size: 1.5rem;
  border-bottom: 1px solid #222;
  padding-bottom: 10px;
}

.privacy-body h2 {
  font-size: 1.2rem;
}

.privacy-body h3 {
  font-size: 1.1rem;
}

.privacy-body p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.privacy-body ul, 
.privacy-body ol {
  color: var(--muted);
  margin-bottom: 15px;
  padding-left: 20px;
}

.privacy-body li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.privacy-body strong {
  color: var(--accent);
}

.privacy-footer {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #222;
}

.btn-accept {
  padding: 12px 40px;
  background: var(--white);
  color: #000;
  border: none;
  border-radius: 999px;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-accept:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .cart-modal {
    width: 100%;
    height: 100vh;
  }
  
  .cart-content {
    max-height: 100vh;
  }
  
  .privacy-modal,
  .locations-modal {
    width: 95%;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .cart-item {
    flex-direction: column;
  }
  
  .cart-item-image {
    width: 100%;
    height: 150px;
  }
  
  .coupon-input {
    flex-direction: column;
  }
  
  .cp-form input {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .btn-calculate {
    width: 100%;
  }
}
.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.3;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(120%);
}
/* ESTILOS PARA LAS MEJORAS DEL CARRITO */

/* Notificación del carrito */
.empty-cart-message {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

.empty-cart-message i {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.5;
}

.empty-cart-message p {
  margin-bottom: 20px;
}

/* Botones de cantidad mejorados */
.quantity-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #444;
  background: var(--panel);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.2s ease;
}

.quantity-btn:hover {
  border-color: var(--white);
  background: #222;
  transform: scale(1.1);
}

.quantity-btn:active {
  transform: scale(0.95);
}

/* Información adicional del producto en el carrito */
.cart-item-color,
.cart-item-size {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 5px;
}

/* Estilos para el formulario de contacto con información del carrito */
.order-summary-box {
  background: var(--panel);
  border: 1px solid #222;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.order-summary-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--white);
}

.order-summary-items {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 15px;
}

.order-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #222;
}

.order-summary-item:last-child {
  border-bottom: none;
}

.order-summary-total {
  font-weight: bold;
  font-size: 1.1rem;
  padding-top: 15px;
  border-top: 2px solid #222;
}

/* Estilos para el autocompletado de CP */
.cp-suggestions {
  position: absolute;
  background: var(--panel);
  border: 1px solid #222;
  border-radius: 4px;
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
  z-index: 1000;
  display: none;
}

.cp-suggestion {
  padding: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cp-suggestion:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mejoras responsive para el carrito */
@media (max-width: 768px) {
  .cart-modal {
    width: 100%;
  }
  
  .cart-item {
    flex-direction: column;
    text-align: center;
  }
  
  .cart-item-image {
    width: 100%;
    height: 150px;
    margin-bottom: 15px;
  }
  
  .cart-item-details {
    width: 100%;
  }
  
  .color-options,
  .multi-color-options {
    justify-content: center;
  }
  
  .size-quantity-grid,
  .color-quantity-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .size-quantity-grid,
  .color-quantity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .quantity-btn {
    width: 28px;
    height: 28px;
  }
}
/* ESTILOS ADICIONALES PARA EL CARRITO COMPLETO */

/* Notificación del carrito */
#cartNotification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #ffffff;
  color: #000000;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(150%);
  transition: transform 0.3s ease;
}

#cartNotification i.fa-check-circle {
  color: #4CAF50;
  font-size: 1.2rem;
}

/* Mensaje carrito vacío */
.empty-cart-message {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

.empty-cart-message i {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.5;
}

.empty-cart-message p {
  margin-bottom: 20px;
  font-size: 1rem;
}

.empty-cart-message .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Info adicional productos */
.cart-item-color,
.cart-item-size {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 5px;
  display: block;
}

/* Botones de cantidad mejorados */
.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.quantity-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #444;
  background: var(--panel);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.2s ease;
}

.quantity-btn:hover {
  border-color: var(--white);
  background: #222;
  transform: scale(1.1);
}

.quantity-btn:active {
  transform: scale(0.95);
}

.quantity {
  min-width: 30px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
}

/* Modales mejorados */
.locations-modal,
.privacy-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  border: 1px solid #222;
  padding: 20px;
  z-index: 1001;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
}

.locations-content,
.privacy-content {
  position: relative;
}

.locations-header,
.privacy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #222;
}

.locations-header h4,
.privacy-header h4 {
  font-size: 1.2rem;
  color: var(--white);
}

.locations-close,
.privacy-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive mejorado */
@media (max-width: 768px) {
  .cart-modal {
    width: 100%;
  }
  
  .cart-item {
    flex-direction: column;
    text-align: center;
  }
  
  .cart-item-image {
    width: 100%;
    height: 150px;
    margin-bottom: 15px;
  }
  
  .cart-item-details {
    width: 100%;
  }
  
  .locations-modal,
  .privacy-modal {
    width: 95%;
    padding: 15px;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-float i {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .cp-form input {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .btn-calculate {
    width: 100%;
  }
  
  .cart-item-quantity {
    justify-content: center;
  }
}

/* ---------- TRANSFER MODAL ---------- */
.transfer-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  border: 1px solid #222;
  padding: 30px;
  z-index: 1000;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
}

.transfer-content {
  position: relative;
}

.transfer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #222;
}

.transfer-header h3 {
  font-size: 1.3rem;
  color: var(--white);
}

.transfer-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.transfer-alert {
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid #ff6b00;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 20px;
  text-align: center;
}

.transfer-alert i {
  color: #ff6b00;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.transfer-alert p {
  color: #ff6b00;
  font-weight: 700;
  margin: 5px 0;
}

.transfer-data {
  background: var(--panel);
  border: 1px solid #222;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}

.transfer-data h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--white);
  text-align: center;
}

.transfer-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.transfer-row:last-child {
  border-bottom: none;
}

.transfer-row .label {
  color: var(--muted);
  font-weight: 600;
}

.transfer-row .value {
  color: var(--white);
  font-weight: 700;
  text-align: right;
}

.copy-btn {
  background: none;
  border: 1px solid #444;
  color: var(--white);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  margin-left: 10px;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.copy-btn.copied {
  background: #4CAF50;
  border-color: #4CAF50;
}

.transfer-form {
  margin-top: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  background: var(--panel);
  border: 1px solid #222;
  border-radius: 4px;
  color: var(--white);
  font-size: 0.9rem;
}

.form-group textarea {
  min-height: 80px;
  resize: vertical;
}

.file-input {
  position: relative;
}

.file-input input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-input .file-label {
  display: block;
  padding: 12px;
  background: var(--panel);
  border: 2px dashed #444;
  border-radius: 4px;
  text-align: center;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-input .file-label:hover {
  border-color: var(--white);
  color: var(--white);
}

.file-input .file-label i {
  margin-right: 8px;
}

.file-name {
  margin-top: 5px;
  font-size: 0.8rem;
  color: var(--muted);
}

.btn-transfer {
  width: 100%;
  padding: 15px;
  background: var(--white);
  color: #000;
  border: none;
  border-radius: 999px;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-transfer:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.transfer-note {
  text-align: center;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.8rem;
}

.transfer-note a {
  color: #ff6b00;
  text-decoration: none;
}

/* ---------- MENU DESPLEGABLE MEJORADO ---------- */
.collection-dropdown {
  position: relative;
}

.collection-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
}

.collection-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--bg);
  min-width: 250px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 100;
  border: 1px solid #222;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 10px;
}

/* Mantener abierto al pasar el mouse */
.collection-dropdown:hover .collection-dropdown-content {
  display: block;
  animation: fadeInUp 0.3s ease;
}

.collection-dropdown-content a {
  color: var(--muted);
  padding: 15px 20px;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(34, 34, 34, 0.5);
  white-space: nowrap;
}

.collection-dropdown-content a:last-child {
  border-bottom: none;
}

.collection-dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  padding-left: 25px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Responsive para menú */
@media (max-width: 768px) {
  .collection-dropdown-content {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(0,0,0,0.9);
    margin-top: 0;
  }
  
  .collection-dropdown:hover .collection-dropdown-content {
    display: block;
  }
}
/* ========== RESPONSIVE MÍNIMO ========== */
/* Para que todo se adapte sin cambiar tu diseño */

@media (max-width: 1024px) {
  .wrap {
    max-width: 95%;
    padding: 0 30px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .contact-section {
    grid-template-columns: 1fr;
  }
  
  .contact-card {
    position: relative;
    transform: none;
    width: 90%;
    margin: -50px auto 30px;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    padding-top: 80px;
    z-index: 1000;
    border-left: 1px solid #222;
  }
  
  .main-nav.active {
    right: 0;
    display: flex;
  }
  
  .main-nav a {
    padding: 15px 25px;
    border-bottom: 1px solid #222;
    width: 100%;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-card .thumb {
    height: 250px;
  }
  
  .cart-modal,
  .transfer-modal {
    width: 100%;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .cart-item {
    flex-direction: column;
    text-align: center;
  }
  
  .cart-item-image {
    width: 100%;
    height: 150px;
  }
}
/* Estilos específicos para el modal de newsletter */
.auth-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  border: 1px solid #222;
  padding: 40px;
  z-index: 1000;
  width: 90%;
  max-width: 400px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.7);
}

.auth-tabs {
  display: flex;
  margin-bottom: 25px;
  border-bottom: 1px solid #222;
  justify-content: center;
}

.auth-tab {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.auth-tab:hover {
  color: var(--white);
}

.auth-tab.active {
  color: var(--white);
  border-bottom: 2px solid var(--white);
}

.auth-form {
  display: none;
  animation: fadeIn 0.4s ease;
}

.auth-form.active {
  display: block;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  background: var(--panel);
  border: 1px solid #222;
  border-radius: 4px;
  color: var(--white);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--white);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--white);
}

.form-note a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.form-note a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Animaciones para el modal */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Botón para abrir el modal de newsletter */
.newsletter-trigger {
  cursor: pointer;
  color: var(--white);
  background: #ff6b00;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
}

/* Modal overlay */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 999;
}
/* ========== ANIMACIONES PARA NOTIFICACIONES ========== */
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

.custom-notification {
  font-family: 'Montserrat', sans-serif;
  animation: slideInRight 0.3s ease;
}

/* ========== ESTILOS PARA FORMULARIOS DE REGISTRO/LOGIN ========== */
.auth-tabs {
  display: flex;
  margin-bottom: 25px;
  border-bottom: 1px solid #222;
  justify-content: center;
}

.auth-tab {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.auth-tab:hover {
  color: var(--white);
}

.auth-tab.active {
  color: var(--white);
  border-bottom: 2px solid var(--white);
}

.auth-form {
  display: none;
  animation: fadeIn 0.4s ease;
}

.auth-form.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  background: var(--panel);
  border: 1px solid #222;
  border-radius: 4px;
  color: var(--white);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--white);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--white);
}

.form-note a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.form-note a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ========== MODAL OVERLAY ========== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 999;
}/* Estilos para el sistema de usuario */
.user-welcome {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.9rem;
}

.btn-login, .btn-logout {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.btn-login:hover, .btn-logout:hover {
  background: var(--white);
  color: var(--black);
}

/* Estilos para formularios */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.checkbox-label input[type="checkbox"] {
  width: auto;
}

.form-note {
  text-align: center;
  margin-top: 15px;
  font-size: 0.8rem;
  color: var(--muted);
}

.form-note a {
  color: var(--white);
  text-decoration: underline;
}

/* Estilos para las pestañas */
.auth-tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.auth-tab {
  flex: 1;
  padding: 12px;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.auth-tab.active {
  color: var(--white);
  border-bottom: 2px solid var(--white);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .user-welcome span {
    display: none;
  }
  
  .auth-modal {
    width: 95%;
    max-width: 95%;
  }
}