/* Fuente general */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header completo */
.header {
    background: linear-gradient(to right, #111, #222);
    color: white;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    padding: 15px 0;
    position: relative;
    z-index: 10;
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
}

.logo img {
    height: 100px;
}

/* Menú */
.menu a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #0af;
}

.menu a::after {
    content: '';
    display: block;
    height: 3px;
    background: #0af;
    transition: width 0.3s ease;
    width: 0%;
    position: absolute;
    bottom: -5px;
    left: 0;
}

.menu a:hover::after {
    width: 100%;
}

/* Redes sociales */
.social img {
    width: 30px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.social img:hover {
    transform: scale(1.2);
}

/* WhatsApp flotante */
.btn-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.btn-whatsapp img {
    width: 60px;
    height: 60px;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.footer a {
    color: #0af;
    text-decoration: none;
}

.footer img {
    max-width: 40px;
    height: auto;
    margin-top: 10px;
}

/* Contenedor tienda */
.contenedor-tienda {
    display: flex;
    padding: 20px;
}

/* Filtros */
.filtros {
    width: 250px;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filtros h3 {
    color: #dc143c;
}

.filtros label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.filtros input,
.filtros select {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
}

.filtros .btn-rojo {
    width: 100%;
    margin-top: 15px;
}

/* Productos */
.productos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    flex-grow: 1;
}

.producto {
    background: white;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.producto:hover {
    transform: scale(1.03);
}

.producto img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

/* Precio */
.precio {
    font-size: 18px;
    color: #dc143c;
    font-weight: bold;
}

/* Botón agregar al carrito */
.btn-agregar {
    display: inline-block;
    margin-top: 10px;
    background: #25d366;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.btn-agregar:hover {
    background: #128c7e;
}

/* Carrito */
.carrito-container {
    padding: 30px;
}

.carrito-container table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.carrito-container th, .carrito-container td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
}

/* Métodos de pago */
.metodos-pago {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
}

.metodos-pago ul {
    list-style: none;
    padding: 0;
}

.metodos-pago li {
    margin-bottom: 10px;
}

/* Confirmación */
.confirmacion-container {
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    max-width: 800px;
    margin: auto;
}

.confirmacion-container h2, h3 {
    color: #2c3e50;
}

.confirmacion-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.confirmacion-container ul {
    list-style: none;
    padding: 0;
}

.confirmacion-container li {
    margin-bottom: 8px;
}

.confirmacion-container button, .btn-wsp {
    background: #25d366;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    margin-right: 10px;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.confirmacion-container button:hover, .btn-wsp:hover {
    background: #128c7e;
}

/* Botón rojo unificado */
.btn-rojo {
    display: inline-block;
    background-color: #dc143c;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    font-weight: bold;
    font-family: inherit;
}

.btn-rojo:hover {
    background-color: #b01032;
}
.producto h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    cursor: default;
    position: relative;
}

.producto h3[title] {
    cursor: help;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 15px #fff;
}

.modal-detalles {
    color: white;
    text-align: center;
    margin-top: 10px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
.inicio .banner {
    position: relative;
    text-align: center;
    color: white;
}

.banner img {
    width: 100%;
    height: auto;
}

.banner-texto {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 10px;
}

.btn-banner {
    background-color: #e60000;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
}

/* Sección de Tendencias */
.tendencias {
    margin-top: 30px;
}

.tendencias .lineas {
    display: flex;
    justify-content: space-between; /* Asegura que las cajas estén distribuidas con espacio entre ellas */
    gap: 20px; /* Espacio entre las cajas */
}

.tendencias .tarjeta-linea {
    width: 23%; /* Asegura que las cajas estén en línea */
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-sizing: border-box; /* Para que el padding no afecte el ancho */
}

.tendencias img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}


/* Sección de Videos */
.videos {
    margin-top: 40px;
    padding-top: 30px;
}

.carrusel-videos {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.carrusel-videos video {
    width: 30%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.promo {
    margin-top: 40px;
    text-align: center;
}

.promo-contenido {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.promo-contenido img {
    max-width: 300px;
    border-radius: 10px;
}

.promo-texto {
    max-width: 400px;
    text-align: left;
}

.form-cantidad {
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-cantidad button {
    padding: 4px 8px;
    font-size: 16px;
    cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-contenido {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
}

.modal-cerrar-x {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-contenido {
  background-color: #fff;
  margin: 10% auto;
  padding: 10px;
  border: 2px solid #ccc;
  width: 90%;
  max-width: 400px;
  text-align: center;
  border-radius: 10px;
  position: relative;
}

.img-modal {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.cerrar {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 28px;
  font-weight: bold;
  color: #444;
  cursor: pointer;
}


