/* ============================================= */
/* ESTILOS PRINCIPALES CORREGIDOS */
/* ============================================= */

* {
    margin: 0;
    padding: 3px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #757270;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --bg-color: #f9f9f9;
    --text-color: #333;
    --card-bg: white;
    --header-bg: white;
    --footer-bg: var(--primary-color);
    --footer-text: white;
    --input-bg: white;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 80px;
}

/* Header y Navegación */
header {
    background-color: var(--header-bg);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 9%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo con imagen */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: var(--transition);
    border-radius: 100px;
}

.logo h1 {
    font-size: 22px;
    color: #000000;
}

.logo span {
    color: #000000;
    font-family: "Noto Serif", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #938e8e;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    margin-left: 15px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== ESTILOS DEL BOTÓN DE MODO OSCURO ===== */
.dark-mode-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.dark-mode-toggle:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

/* ============================================= */
/* BANNER DESLIZANTE */
/* ============================================= */

.banner-container {
    overflow: hidden;
    width: 100%;                /* Ocupa todo el ancho disponible */
    /* max-width: 1400px; */    /* Elimina o comenta esta línea */
    /* border-radius: 10px; */  /* Opcional: quita si quieres bordes rectos */
    box-shadow: var(--shadow);  /* Mantén la sombra si la deseas */
}

.banner-slider {
    display: flex;
    transition: transform 0.5s ease;
    height: 500px;
}

.banner-slide {
    min-width: 101%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 30px;
}

.slide-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.slide-content p {
    font-size: 20px;
    max-width: 700px;
}

.slide-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 5px;
    height: 25px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: var(--secondary-color);
}

/* ============================================= */
/* SECCIONES GENERALES */
/* ============================================= */

.section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 28px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 10px auto;
}

/* ============================================= */
/* CATÁLOGO DE PRODUCTOS */
/* ============================================= */

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.product-img {

    width: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 20px;
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.product-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    flex: 1;
}

.product-btn:hover {
    background-color: #2c2c2e;
    transform: translateY(-2px);
}

.add-to-cart-card-btn {
    background-color: #ff7a0d;
    border: 2px solid var(--accent-color);
}

.view-details-btn {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

/* ============================================= */
/* BÚSQUEDA Y PAGINACIÓN */
/* ============================================= */

.search-container {
    max-width: 500px;
    margin: 0 auto 40px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 10px 15px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s;
}

.search-box:focus-within {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(117, 114, 112, 0.1);
}

.search-box i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 18px;
}

#searchInput {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 8px 0;
    background: transparent;
    color: var(--text-color);
}

#searchInput::placeholder {
    color: #999;
}

.clear-search {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    transition: all 0.3s;
}

.clear-search:hover {
    background: #f5f5f5;
    color: #666;
}

.pagination-controls {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.pagination-btn {
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-weight: 500;
    min-width: 120px;
    justify-content: center;
}

.pagination-btn:hover:not(.disabled) {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pagination-btn.disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none !important;
    box-shadow: none !important;
}

.page-info {
    font-size: 16px;
    color: #666;
    font-weight: 500;
    text-align: center;
    min-width: 200px;
}

/* ============================================= */
/* MODAL DE PRODUCTO - CORREGIDO */
/* ============================================= */

.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background: var(--card-bg);
    margin: 20px auto;
    width: 95%;
    max-width: 1000px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    min-height: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #777;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: var(--transition);
    border: none;
}

.close-modal:hover {
    background: var(--accent-color);
    color: white;
    transform: rotate(90deg);
}

.modal-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: auto;
    gap: 0;
}

/* Contenedor del carrusel - AHORA ES RESPONSIVO */
.modal-img-carousel {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 400px;
    /* Altura mínima */
    height: 100%;
    /* Ocupa todo el espacio disponible */
}

/* Carrusel principal - AHORA ES FLEXIBLE */
.product-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    /* Altura flexible */
    max-height: 500px;
    /* Altura máxima */
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* IMAGEN - COMPLETA Y RESPONSIVA */
.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Mantiene proporción completa */
    background: white;
    padding: 10px;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

/* Controles del carrusel - POSICIÓN FIJA */
.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-prev,
.carousel-next {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Indicadores del carrusel - POSICIÓN FIJA */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.carousel-indicators .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-indicators .indicator.active {
    background-color: white;
    transform: scale(1.2);
}

/* Información del producto - REORGANIZADO */
.modal-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 600px;
}

.modal-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
}

.modal-price {
    font-size: 28px;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.modal-desc {
    margin-bottom: 25px;
    line-height: 1.6;
    color: #666;
    font-size: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* Sección de atributos del producto */
.product-attributes {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
    padding: 0;
}

/* Selector de medidas - CORREGIDO */
.measure-selector {
    margin: 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.measure-selector h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.measure-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.measure-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.measure-option:hover {
    border-color: var(--secondary-color);
    background: #f8f9fa;
}

.measure-option.selected {
    border-color: var(--accent-color);
    background: rgba(231, 76, 60, 0.05);
}

.measure-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.measure-price {
    font-weight: 700;
    color: #28a745;
    font-size: 14px;
}

/* Selector de colores - CORREGIDO */
.color-selector {
    margin: 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.color-selector h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.color-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.color-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.color-option:hover {
    border-color: var(--secondary-color);
    background: #f8f9fa;
}

.color-option.selected {
    border-color: var(--accent-color);
    background: rgba(231, 76, 60, 0.05);
}



.color-label {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.color-price {
    font-size: 14px;
    color: #28a745;
    font-weight: 600;
}

/* Campo de texto adicional */
.additional-details {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.additional-details h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
}

.additional-details textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    background: white;
}

/* Resumen de precio - CORREGIDO */
.price-summary {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.price-summary h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
}

.price-label {
    font-size: 14px;
    color: #666;
}

.price-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.price-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 2px solid #dee2e6;
    font-size: 16px;
    font-weight: 700;
}

.total-label {
    color: var(--primary-color);
}

.total-value {
    color: var(--accent-color);
    font-size: 18px;
}

/* Selector de cantidad - CORREGIDO */
.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.quantity-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #dee2e6;
    background: white;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.quantity-btn:hover {
    background: #f8f9fa;
    border-color: var(--secondary-color);
}

.quantity {
    font-size: 18px;
    font-weight: 600;
    min-width: 40px;
    text-align: center;

}

/* Botón agregar al carrito */
.add-to-cart-btn {
    width: 100%;
    padding: 16px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    margin-top: 10px;
}

.add-to-cart-btn:hover {
    background: #5c5957;
    transform: translateY(-2px);
}

.add-to-cart-btn i {
    font-size: 18px;
}

/* ============================================= */
/* CARRITO DE COMPRAS - CORREGIDO */
/* ============================================= */

.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
}

.cart-content {
    background: var(--card-bg);
    height: 100%;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    display: flex;
    flex-direction: column;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: var(--light-color);
    flex-shrink: 0;
}

.cart-title {
    font-size: 24px;
    color: var(--primary-color);
    margin: 0;
}

.close-cart {
    font-size: 28px;
    cursor: pointer;
    color: #777;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.close-cart:hover {
    background: #f5f5f5;
}

/* Cuerpo del carrito con scroll */
.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

/* Pasos del carrito */
.cart-step {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Contenedor de items del carrito */
.cart-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
}

/* Items individuales del carrito */
.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 16px;
    color: var(--primary-color);
}

.cart-item-details {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.cart-item-measure,
.cart-item-frame {
    display: block;
    margin: 2px 0;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-quantity button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-price {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 16px;
}

.remove-item {
    color: #e74c3c;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Total del carrito */
.cart-total {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
    margin: 20px 0;
    padding-top: 20px;
    border-top: 2px solid #eee;
}



.checkout-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    width: 100%;
}

.checkout-btn:hover {
    background-color: #5c5957;
}

/* ============================================= */
/* FORMULARIOS DE CHECKOUT - CORREGIDOS */
/* ============================================= */

.checkout-form,
.order-summary {
    display: none;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
}

/* Cuando un formulario está activo */
.checkout-form.active,
.order-summary.active {
    display: flex;
}

/* Contenido del formulario con scroll */
.checkout-form .form-content,
.order-summary .summary-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Encabezado del formulario */
.form-title,
.summary-title {
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--primary-color);
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

/* Grupos de formulario mejorados */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #919191;
    border-radius: 8px;
    font-size: 15px;

    color: #333;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(117, 114, 112, 0.2);
}

/* Grupo de opciones de entrega */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.2s;
}

.radio-option:hover {
    border-color: var(--secondary-color);
    background: white;
}

.radio-option input[type="radio"] {
    margin-top: 2px;
}

.radio-option label {
    flex: 1;
    cursor: pointer;
    font-weight: 500;
    color: #333;
}

/* Opción de entrega con descripción */
.delivery-option {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 15px;
}

.delivery-option.selected {
    border-color: var(--accent-color);
    background: rgba(231, 76, 60, 0.05);
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.option-title {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 16px;
}

.option-price {
    font-weight: 700;
    color: #28a745;
    font-size: 16px;
}

.option-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

.option-note {
    font-size: 13px;
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid #e74c3c;
}

/* Campos de dirección */
.address-fields {
    margin-top: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.address-fields .form-group {
    margin-bottom: 15px;
}

.address-fields textarea.form-input {
    min-height: 80px;
    resize: vertical;
}

/* Sección de método de pago */
.payment-method {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.payment-method h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
}

.payment-info {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.payment-info p {
    margin-bottom: 8px;
}

/* Botones del formulario */
.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.back-btn {
    background-color: #95a5a6;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    flex: 1;
    font-weight: 600;
    transition: var(--transition);
}

.back-btn:hover {
    background-color: #7f8c8d;
}

.continue-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    flex: 1;
    font-weight: 600;
    transition: var(--transition);
}

.continue-btn:hover {
    background-color: #5c5957;
}

/* Resumen del pedido */
.summary-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.summary-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 5px;
}

.summary-value {
    font-size: 14px;
    
    line-height: 1.5;
}

.order-products {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.order-product {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.order-product:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.order-product span {
    font-size: 14px;
}

.order-product span:first-child {
    color: #333;
}

.order-product span:last-child {
    font-weight: 600;
    color: var(--accent-color);
}

.finalize-btn {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    width: 100%;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.finalize-btn:hover {
    background-color: #219955;
}

/* ============================================= */
/* FOOTER Y BOTÓN WHATSAPP */
/* ============================================= */

/* Botón de WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 50px 5% 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--light-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 14px;
}

/* ============================================= */
/* MODO OSCURO - CORREGIDO */
/* ============================================= */

body.dark-mode {
    --primary-color: #3498db;
    --secondary-color: #b6b9ad;
    --accent-color: #e74c3c;
    --light-color: #34495e;
    --dark-color: #2c3e50;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --bg-color: #121212;
    --text-color: #ecf0f1;
    --card-bg: #2c3e50;
    --header-bg: #1a252f;
    --footer-bg: #1a252f;
    --footer-text: #ecf0f1;
    --input-bg: rgba(255, 255, 255, 0.1);
}

body.dark-mode .dark-mode-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .product-card,
body.dark-mode .modal-content,
body.dark-mode .cart-content,
body.dark-mode .checkout-form,
body.dark-mode .order-summary,
body.dark-mode #contacto {
    background-color: var(--card-bg);
    color: var(--text-color);
    box-shadow: var(--shadow);
}

body.dark-mode .product-title,
body.dark-mode .modal-title,
body.dark-mode .cart-title,
body.dark-mode .form-title,
body.dark-mode .summary-title,
body.dark-mode .section-title,
body.dark-mode h3 {
    color: var(--text-color);
}

body.dark-mode .product-desc,
body.dark-mode .modal-desc,
body.dark-mode .summary-label {
    color: rgba(236, 240, 241, 0.8);
}

body.dark-mode .form-input,
body.dark-mode textarea.form-input {
    background-color: #2c3e50;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-mode .form-input::placeholder {
    color: rgba(236, 240, 241, 0.6);
}

body.dark-mode .quantity-btn,
body.dark-mode .cart-item-quantity button {
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-mode .cart-item,
body.dark-mode .summary-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .cart-header,
body.dark-mode .form-group {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
}

body.dark-mode .footer-links a,
body.dark-mode .footer-links li,
body.dark-mode .footer-contacts a,
body.dark-mode .footer-contacts li {
    color: rgba(236, 240, 241, 0.8);
}

body.dark-mode .footer-links a:hover,
body.dark-mode .footer-contacts a:hover 
 {
    color: var(--secondary-color);
}

body.dark-mode .copyright {
    border-top-color: rgba(255, 255, 255, 0.1);
    color: rgba(236, 240, 241, 0.6);
}

body.dark-mode .logo span,
body.dark-mode .logo h1 {
    color: white;
}

body.dark-mode .measure-selector,
body.dark-mode .color-selector,
body.dark-mode .additional-details,
body.dark-mode .price-summary,
body.dark-mode .delivery-option,
body.dark-mode .payment-method {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .measure-option,
body.dark-mode .color-option {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .measure-option:hover,
body.dark-mode .color-option:hover,
body.dark-mode .radio-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .measure-name,
body.dark-mode .color-label,
body.dark-mode .price-label,
body.dark-mode .total-label {
    color: var(--text-color);
}

body.dark-mode .modal-img-carousel {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

body.dark-mode .carousel-slide img {
    background: #2c3e50;
}

body.dark-mode .additional-details textarea {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .option-note {
    background: rgba(231, 76, 60, 0.2);
    border-left-color: #e74c3c;
}

body.dark-mode .order-products {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}


/* ============================================= */
/* RESPONSIVE - DISPOSITIVOS PEQUEÑOS */
/* ============================================= */

@media (max-width: 992px) {
    body {
        zoom: 0.9;
    }
    
    .modal-product {
        grid-template-columns: 1fr;
    }

    .modal-img-carousel {
        padding: 15px;
        min-height: 350px;
    }

    .product-carousel {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    body {
        zoom: 0.8;
    }
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        background-color: white;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 25px;
        box-shadow: var(--shadow);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Logo en móviles */
    .logo-img {
        height: 80px;
        max-width: 160px;
    }

    /* Banner en móviles */
    .banner-slider {
        height: 300px;
    }

    .slide-content {
        padding: 20px;
    }

    .slide-content h2 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 16px;
    }

    /* Catálogo en móviles */
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .product-img {
        height: 180px;
    }

    .product-info {
        padding: 15px;
    }

    .product-title {
        font-size: 16px;
    }

    .product-desc {
        font-size: 12px;
    }

    .product-price {
        font-size: 18px;
    }

    .product-actions {
        flex-direction: column;
    }

    /* Modal en móviles */
    .product-modal {
        padding: 10px;
    }

    .modal-content {
        width: 100%;
        margin: 0;
        border-radius: 0;
        height: 100vh;
    }

    .close-modal {
        position: fixed;
        top: 15px;
        right: 15px;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        z-index: 3000;
    }



    .modal-img-carousel {
        padding: 10px;
        min-height: 300px;
        max-height: 40vh;
        /* Altura máxima en móviles */
    }

    .product-carousel {
        max-height: 300px;
    }

    .carousel-slide img {
        padding: 5px;
    }

    .carousel-controls {
        padding: 0 10px;
    }

    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .modal-info {
        padding: 20px;
        max-height: 65vh;
        overflow-y: auto;
        
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-price {
        font-size: 24px;
    }

    .product-attributes {
        gap: 15px;
    }

    .measure-selector,
    .color-selector,
    .additional-details,
    .price-summary {
        padding: 15px;
    }

    .measure-options,
    .color-options {
        gap: 8px;
    }

    .measure-option,
    .color-option {
        padding: 10px;
    }

    .quantity-selector {
        padding: 12px 15px;
    }

    .quantity-btn {
        width: 36px;
        height: 36px;
    }

    .add-to-cart-btn {
        padding: 14px;
        font-size: 15px;
    }

    /* Carrito en móviles */
    .cart-content {
        max-width: 100%;
    }

    .cart-header {
        padding: 15px;
    }

    .cart-title {
        font-size: 20px;
    }

    .close-cart {
        width: 36px;
        height: 36px;
        font-size: 24px;
    }

    .cart-body {
        padding: 15px;
    }

    .cart-item {
        flex-direction: column;
        padding: 15px;
        border: 1px solid #eee;
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .cart-item-img {
        width: 100%;
        height: 150px;
    }

    .cart-item-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .cart-item-quantity {
        justify-content: center;
        padding: 8px;
        border-radius: 20px;
    }

    .cart-item-price {
        text-align: center;
        font-size: 18px;
    }

    .cart-total {
        font-size: 18px;
        margin: 15px 0;
    }

    .checkout-btn {
        padding: 14px;
        font-size: 16px;
    }

    /* Formularios en móviles */
    .form-title,
    .summary-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-input {
        padding: 10px 12px;
        font-size: 14px;
    }

    .radio-option {
        padding: 12px;
    }

    .delivery-option {
        padding: 12px;
    }

    .option-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .address-fields {
        padding: 12px;
    }

    .form-buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }

    .back-btn,
    .continue-btn {
        padding: 12px;
        width: 100%;
    }

    .finalize-btn {
        padding: 14px;
        font-size: 16px;
    }

    /* Footer en móviles */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-column h3 {
        font-size: 18px;
    }

    .whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 26px;
        bottom: 50px;
        right: 70px;
    }
}

@media (max-width: 576px) {
    .nav-container {
        padding: 10px 25px;
    }

    .dark-mode-toggle {
        margin-left: 10px;
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }

    .cart-icon {
        margin-left: 10px;
    }

    /* Catálogo en móviles pequeños */
    .catalog-grid {
        grid-template-columns: repeat(1, 1fr);

        gap: 15px;
    }

    .product-img {
        height: 200px;
    }

    /* Banner en móviles pequeños */
    .banner-slider {
        height: 250px;
    }

    .slide-content h2 {
        font-size: 20px;
    }

    .slide-content p {
        font-size: 14px;
    }

    /* Modal en móviles pequeños */
    .modal-content {
        border-radius: 10px;
    }

    .close-modal {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .modal-img-carousel {
        padding: 8px;
        min-height: 250px;
        max-height: 35vh;
    }

    .product-carousel {
        max-height: 250px;
    }

    .carousel-controls {
        padding: 0 8px;
    }

    .carousel-prev,
    .carousel-next {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .carousel-indicators .indicator {
        width: 8px;
        height: 8px;
    }

    .modal-info {
        padding: 15px;
       
    }

    .modal-title {
        font-size: 18px;
    }

    .modal-price {
        font-size: 22px;
    }

    .measure-selector h4,
    .color-selector h4,
    .additional-details h4,
    .price-summary h4 {
        font-size: 15px;
    }

    .measure-option,
    .color-option {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .color-circle {
        margin: 0 auto;
    }

    .quantity-selector {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .quantity-label {
        margin-bottom: 5px;
    }

    .add-to-cart-btn {
        font-size: 14px;
    }

    /* Carrito en móviles pequeños */
    .cart-item-img {
        height: 120px;
    }

    .cart-item-title {
        font-size: 15px;
    }

    .cart-item-details {
        font-size: 12px;
    }

    .cart-total {
        font-size: 16px;
    }

    .checkout-btn {
        font-size: 15px;
    }

    /* Formularios en móviles pequeños */
    .form-title,
    .summary-title {
        font-size: 18px;
    }

    .form-label {
        font-size: 13px;
    }

    .form-input {
        font-size: 13px;
    }

    .option-title {
        font-size: 14px;
    }

    .option-price {
        font-size: 14px;
    }

    .option-description {
        font-size: 12px;
    }

    .option-note {
        font-size: 11px;
        padding: 6px 10px;
    }

    .summary-label {
        font-size: 13px;
    }

    .summary-value {
        font-size: 13px;
    }

    .order-product span {
        font-size: 12px;
    }

    .finalize-btn {
        font-size: 14px;
        padding: 12px;
    }

    /* Footer en móviles pequeños */
    footer {
        padding: 40px 15px 15px;
    }

    .footer-column h3 {
        font-size: 16px;
    }

    .footer-links li {
        font-size: 14px;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-img {
        height: 220px;
    }
}

/* Clases para controlar visibilidad del modal */
.product-modal[style*="display: none"] {
    display: none !important;
}

.product-modal[style*="display: block"] {
    display: block !important;
}

.product-modal:not(.active) {
    display: none;
}

.product-modal.active {
    display: block;
}

/* Prevenir scroll cuando modal está abierto */
body.modal-open {
    overflow: hidden;
}

/* Estilos para elementos de solo consulta */
.cart-item-price.consultar,
.no-price,
.order-product span:last-child.consultar {
    color: #e74c3c !important;
    font-style: italic;
}

.consultar-precio {
    background-color: #f8f9fa;
    border-left: 4px solid #e74c3c;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
}

.consultar-precio p {
    margin: 0;
    color: #e74c3c;
    font-size: 0.9em;
}

/* Estilos para métodos de pago */
.payment-method-selector {
    margin: 20px 0;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-option {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.payment-option h5 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 16px;
}

.payment-details {
    font-size: 14px;
    
    line-height: 1.5;
}

.payment-details p {
    margin: 5px 0;
}

/* ============================================= */
/* ESTILOS PARA IMAGEN EN TAMAÑO COMPLETO */
/* ============================================= */

.full-image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
    cursor: pointer;
}

.full-image-container {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.full-image-view {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.close-full-image {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
}

.close-full-image:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.image-caption {
    color: white;
    margin-top: 15px;
    text-align: center;
    font-size: 16px;
    max-width: 80%;
    opacity: 0.8;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Evitar scroll cuando el overlay está abierto */
.no-scroll {
    overflow: hidden;
}

/* Indicación visual para imágenes interactivas */
.product-img,
.modal-img,
.carousel-slide img,
.cart-item-img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-img:hover,
.modal-img:hover,
.carousel-slide img:hover,
.cart-item-img:hover {
    transform: scale(1.02);
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .full-image-container {
        max-width: 98%;
        max-height: 98%;
    }

    .full-image-view {
        max-height: 75vh;
    }

    .close-full-image {
        top: -50px;
        right: 10px;
        width: 44px;
        height: 44px;
        font-size: 28px;
        background: rgba(255, 255, 255, 0.3);
    }

    .image-caption {
        font-size: 14px;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .full-image-view {
        max-height: 70vh;
    }

    .close-full-image {
        top: -45px;
        right: 5px;
        width: 40px;
        height: 40px;
        font-size: 26px;
    }
}
/* ============================================= */
/* FILTRO DE PRODUCTOS */
/* ============================================= */

.search-filter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 10px 15px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s;
}

.search-box:focus-within {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(117, 114, 112, 0.1);
}

.search-box i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 18px;
}

#searchInput {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 8px 0;
    background: transparent;
    color: var(--text-color);
}

#searchInput::placeholder {
    color: #999;
}

.clear-search {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    transition: all 0.3s;
}

.clear-search:hover {
    background: #f5f5f5;
    color: #666;
}

.filter-box {
    min-width: 250px;
}

.filter-select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 2px solid var(--primary-color);
    background-color: var(--card-bg);
    color: var(--text-color);
    font-size: 16px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    font-weight: 500;
}

.filter-select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(117, 114, 112, 0.1);
}

.filter-select option {
    background-color: var(--card-bg);
    color: var(--text-color);
    padding: 10px;
}

/* Estilos para modo oscuro */
body.dark-mode .filter-select {
    background-color: var(--card-bg);
    color: var(--text-color);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .filter-select option {
    background-color: var(--card-bg);
    color: var(--text-color);
}

body.dark-mode .clear-search:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive para filtro */
@media (max-width: 768px) {
    .search-filter-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-box,
    .filter-box {
        width: 100%;
        min-width: auto;
    }
    
    .filter-select {
        padding: 10px 12px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .search-filter-container {
        margin: 0 auto 30px;
    }
    
    .filter-select {
        font-size: 14px;
    }
}





.footer-contacts {
    list-style: none;
}

.footer-contacts li {
    margin-bottom: 10px;
}

.footer-contacts a {
    color: #070707;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contacts a:hover {
    color: var(--secondary-color);
}