
/* Menu Principal*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Header Styles */
.encabezado {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

header {
    margin: 0;
    padding: 0;
    display: block;
}

.menu-container {
   
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background-color: black;
    padding: 0 20px;
    height: 70px;
}

.logo-container {
    flex: 0 0 auto;
}

.logo1 {
    width: 60px;
    height: 60px;
}

.main-nav {
    flex: 1 1 auto;
}

.nav-list {
    display: flex;
    list-style-type: none;
 
}

.nav-list li {
    position: relative;

}

.nav-list li a {
   
    display: block;
    color: white;
    text-align: center;
    padding: 20px 15px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.nav-list li a:hover:not(.active) {
    background-color: rgb(255, 0, 21);
}

.active {
    background-color: rgb(0, 0, 0);
}

.search-cart-container {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
}

.search-container {
    position: relative;
    margin-right: 20px;
    width: 200px;
}

.search-container input[type="text"] {
    width: 100%;
    height: 40px;
    padding-left: 40px;
    border-radius: 20px;
    border: 1px solid #ccc;
    font-size: 16px;
    outline: none;
}

.search-container .fa-magnifying-glass {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
}

.btn-cart {
    position: relative;
}

.btn-cart button {
    border: none;
    background-color: transparent;
    cursor: pointer;
    position: relative;
}

.icon-cart {
    font-size: 2.3rem;
    color: rgb(238, 112, 112);
}

#cartCount {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: white;
    color: rgb(238, 112, 112);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.cart {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 0.8rem;
    z-index: 10;
    width: 550px;
    max-width: 90vw;
}

.btn-cart:hover .cart {
    display: block;
    opacity: 1;
}

.cart table {
   
    width: 100%;
    border-collapse: collapse;
    color: white;
}

.cart th, .cart td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cart img {
    width: 50px;
    height: auto;
}

.cart input[type="number"] {
    width: 50px;
    background-color: transparent;
    border: 1px solid white;
    color: white;
    padding: 5px;
    border-radius: 4px;
}

.cart button {
    background-color: #dc2626;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.total {
    text-align: right;
    padding-top: 10px;
}

#Enviar-ca {
    width: 100%;
    padding: 10px;
    background-color: rgba(255,255,255,0.75);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .menu-container {
        padding: 0 15px;
    }
    
    .search-container {
        width: 150px;
        margin-right: 10px;
    }
    
    .nav-list li a {
        padding: 20px 10px;
    }
}

@media (max-width: 768px) {
    .menu-container {
        height: auto;
        padding: 10px;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-list li {
        margin: 5px 0;
    }
    
    .nav-list li a {
        padding: 15px;
    }
    
    .search-cart-container {
        order: 2;
        margin-left: auto;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 1;
        margin-left: 15px;
    }
    
    .search-container {
        display: none;
    }
    
    .search-container.active {
        display: block;
        width: 100%;
        margin: 10px 0;
        
    }
    
    .main-nav.active {
        display: block;
    }
}

@media (max-width: 480px) {
    .logo1 {
        width: 50px;
        height: 50px;
    }
    
    .btn-cart {
        margin-left: 10px;
    }
    
    .cart {
        right: -50px;
        width: 300px;
    }
}


/* Main para los productos*/


main {
  margin-top: 0;
  padding-bottom: 30px;
}



.contenedor-productos {
 display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  
}

.producto {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.2s ease;
  
}

.producto:hover {
  transform: scale(1.03);
}

.producto img {
  max-width: 100%;
  border-radius: 8px;
  height: 180px;
  object-fit: cover;
}

.producto h3 {
  margin: 0.5rem 0 0.3rem;
  font-size: 1.1rem;
}

.descripcion {
  font-size: 0.9rem;
  color: #555;
}

.precio {
  font-weight: bold;
  font-size: 1rem;
  margin: 0.5rem 0;
}

.btn-agregar {
  background-color: #232323;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
s
.btn-agregar:hover {
  background-color: #444;
}


/* Detalles del producto */

.producto-detalle {
  max-width: 1000px;
  margin: 3rem auto;
  background-color: #f4f4f4;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.producto-detalle img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  object-fit: cover;
  flex: 1 1 300px;
}

.producto-detalle .info {
  flex: 1 1 300px;
}

.producto-detalle .info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.producto-detalle .info p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #444;
}

.producto-detalle .info label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  color: #222;
}

.producto-detalle .info select,
.producto-detalle .info input[type="number"] {
  width: 100%;
  padding: 0.4rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 0.3rem;
}

.btn-agregar2 {
  background-color: #232323;
  color: white;
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  margin-top: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-agregar2:hover {
  background-color: #444;
}


/* Footer */

.footer {
  width: auto;
  background-color: #3e0b0b;
  color: white;
  font-family: Arial, sans-serif;
  padding: 3rem 2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1300px;
  margin: auto;
}

.footer-column h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin: 0.3rem 0;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
}

.footer-column ul li a:hover {
  color: white;
}

.btn-vender {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border: 1px solid #fff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 0.5rem;
}

.social2-icons a {
  margin-right: 0.7rem;
  text-decoration: none;
  color: white;
  font-weight: bold;
}

.footer-column.apps img {
  width: 140px;
  margin: 0.3rem 0;
}


/* Separacion de pag */

.paginacion {
  text-align: center;
  margin-top: 2rem;
}

.paginacion a {
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #232323;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.paginacion a:hover {
  background-color: #444;
}
/* Hero */

/* Hero */

.hero {
    background: url('Imagenes/banner2.webp') no-repeat center center / cover;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: white;
}

@media (max-width: 768px) {
    .hero {
        min-height: 280px;
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 220px;
        padding: 30px 12px;
    }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.hero .btn {
    display: inline-block;
    background-color: #e63946;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.hero .btn:hover {
    background-color: #d62828;
}
/* Productos destacados index */

.productos-destacados {
  padding: 2rem;
  background-color: #f9f9f9;
  text-align: center;
}

.productos-destacados h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contenedor-productos2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
/* Estilos para el modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.close-modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-modal:hover {
  color: black;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.btn-submit {
  background-color: #25D366;
  color: white;
  padding: 12px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit:hover {
  background-color: #128C7E;
}

.fa-whatsapp {
  font-size: 20px;
}

/* ============================================================
   Riel de Productos Destacados — Index
   ============================================================ */

.riel-section {
  padding: 2.5rem 2rem;
  background-color: #fff;
}

.riel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.riel-header h2 {
  font-size: 1.8rem;
  color: #1a1a1a;
}

.ver-todos {
  font-size: 0.95rem;
  color: #e63946;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}

.ver-todos:hover {
  color: #c1121f;
}

/* Contenedor con overflow oculto */
.riel-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.riel-viewport {
  overflow: hidden;
  flex: 1;
}

/* Track: fila horizontal de tarjetas */
.riel-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Tarjeta individual del riel */
.producto-riel {
  flex: 0 0 220px;
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.producto-riel:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.producto-riel img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.producto-riel h3 {
  margin: 0.6rem 0 0.2rem;
  font-size: 1rem;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.producto-riel .descripcion {
  font-size: 0.82rem;
  color: #666;
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.producto-riel .precio {
  font-weight: bold;
  font-size: 1rem;
  color: #e63946;
  margin-bottom: 0.6rem;
}

.producto-riel .btn-agregar {
  width: 100%;
  background-color: #232323;
  color: white;
  border: none;
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background-color 0.3s ease;
}

.producto-riel .btn-agregar:hover:not(:disabled) {
  background-color: #444;
}

.producto-riel .btn-agregar:disabled {
  background-color: #bbb;
  cursor: not-allowed;
}

/* Botones prev / next */
.riel-btn {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #232323;
  background: #fff;
  color: #232323;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, color 0.2s;
}

.riel-btn:hover:not(:disabled) {
  background-color: #232323;
  color: #fff;
}

.riel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Skeleton loader */
.producto-riel.skeleton {
  background: linear-gradient(90deg, #ececec 25%, #f5f5f5 50%, #ececec 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  height: 300px;
  border-radius: 12px;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Responsive riel */
@media (max-width: 992px) {
  .producto-riel { flex: 0 0 180px; }
}

@media (max-width: 768px) {
  .producto-riel { flex: 0 0 160px; }
  .riel-header h2 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .producto-riel { flex: 0 0 140px; }
  .riel-btn { width: 34px; height: 34px; font-size: 1.2rem; }
  .riel-section { padding: 1.5rem 0.75rem; }
}

/* ============================================================
   Página de Ayuda
   ============================================================ */
 
.ayuda-seccion {
  max-width: 860px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}
 
.ayuda-seccion h2 {
  font-size: 1.7rem;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  border-left: 4px solid #e63946;
  padding-left: 0.75rem;
}
 
/* FAQ accordion con <details> nativo */
.faq-lista {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
 
.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
 
.faq-item:hover {
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
 
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  color: #222;
  background-color: #f9f9f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
 
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: #e63946;
  transition: transform 0.2s;
}
 
.faq-item[open] summary::after {
  content: '−';
}
 
.faq-item[open] summary {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
}
 
.faq-item p {
  padding: 1rem 1.25rem;
  color: #555;
  line-height: 1.7;
  background: #fff;
}
 
.faq-item a {
  color: #e63946;
  text-decoration: none;
  font-weight: 600;
}
 
/* Sección de contacto */
.ayuda-contacto {
  background-color: #f4f4f4;
  padding: 3rem 1.5rem;
  text-align: center;
  margin-top: 2rem;
}
 
.ayuda-contacto h2 {
  font-size: 1.7rem;
  color: #1a1a1a;
  margin-bottom: 0.4rem;
}
 
.ayuda-contacto > p {
  color: #666;
  margin-bottom: 2rem;
}
 
.contacto-cards {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}
 
.contacto-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  width: 220px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s;
}
 
.contacto-card:hover {
  transform: translateY(-4px);
}
 
.contacto-card i {
  font-size: 2.2rem;
  color: #e63946;
}
 
.contacto-card h3 {
  font-size: 1.1rem;
  color: #222;
}
 
.contacto-card p {
  font-size: 0.88rem;
  color: #666;
  text-align: center;
}
 
.btn-contacto {
  margin-top: 0.5rem;
  display: inline-block;
  background-color: #232323;
  color: #fff;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.88rem;
  transition: background-color 0.2s;
}
 
.btn-contacto:hover {
  background-color: #e63946;
}
 
.btn-contacto.sin-link {
  background-color: #aaa;
  cursor: default;
  pointer-events: none;
}
 
@media (max-width: 600px) {
  .contacto-cards {
    flex-direction: column;
    align-items: center;
  }
  .contacto-card {
    width: 100%;
    max-width: 320px;
  }
}
/* ============================================================
   Footer — Redes sociales y tiendas
   ============================================================ */
 
/* Iconos de redes sociales */
.social2-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
 
.social2-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ccc;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s, transform 0.2s;
}
 
.social2-icons a:hover { transform: translateY(-3px); }
 
.social2-icons a[aria-label="Facebook"]:hover  { background-color: #1877f2; color: #fff; }
.social2-icons a[aria-label="Instagram"]:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); color: #fff; }
.social2-icons a[aria-label="Twitter / X"]:hover { background-color: #000; color: #fff; }
.social2-icons a[aria-label="Discord"]:hover   { background-color: #5865f2; color: #fff; }
 
/* Badges de tiendas */
.footer-column.apps {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
 
.store-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  text-decoration: none;
  color: #fff;
  transition: background-color 0.2s, transform 0.2s;
  min-width: 150px;
}
 
.store-badge:hover {
  background-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}
 
.store-badge i {
  font-size: 1.6rem;
  color: #fff;
}
 
.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: 0.9rem;
  font-weight: 600;
}
 
.store-badge span small {
  font-size: 0.7rem;
  font-weight: 400;
  color: #bbb;
}
 
