/* Reset y variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #5B3A28;
    --secondary-color: #7B563D;
    --accent-color: #C77A3B;
    --text-dark: #2A2A2A;
    --text-light: #7B563D;
    --background-light: #EBDDC8;
    --olive-green: #9C9B6C;
    --white: #FFFFFF;
    --shadow: rgba(91, 58, 40, 0.1);
    --shadow-dark: rgba(91, 58, 40, 0.2);
    
    --font-primary: 'Cormorant Garamond', serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-image {
    height: 105px;
    max-height: 105px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 3fr 1fr;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, var(--background-light) 0%, var(--white) 100%);
    padding: 100px 40px 50px;
    position: relative;
    max-width: 100%;
}

.hero-content {
    width: 100%;
    max-width: 100%;
    text-align: center;
    z-index: 2;
    padding: 0 2rem;
    justify-self: center;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0 200px 100px 200px;
    line-height: 1.7;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--shadow);
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-dark);
}

/* Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    opacity: 0.8;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 9/16;
    max-height: 80vh;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 30px var(--shadow-dark);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: none;
    transition: opacity 0.5s ease;
    cursor: pointer;
    visibility: hidden;
}

.carousel-slide.active {
    opacity: 1;
    display: block;
    visibility: visible;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
}

.carousel-caption h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.carousel-caption p {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 300;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active, .dot:hover {
    background: white;
    transform: scale(1.2);
}

/* Sections */
.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

/* Catalog Section */
.catalog {
    padding: 80px 0;
    background: var(--background-light);
}

/* Paleta de colores para tab Combos */
.catalog.combos-active {
    --primary-color: #7D8243;
    --secondary-color: #939860;
    --accent-color: #858484;
    --text-dark: #2c2c2c;
    --background-light: #f8f9f5;
}

.catalog.combos-active .section-title {
    color: var(--primary-color);
}

.catalog.combos-active .tab-button.active {
    background: var(--primary-color);
    color: white;
}

.catalog.combos-active .tab-button:hover {
    background: rgba(125, 130, 67, 0.1);
    color: var(--primary-color);
}

.catalog.combos-active .product-card {
    border-color: var(--accent-color);
}

.catalog.combos-active .product-card:hover {
    box-shadow: 0 8px 25px rgba(125, 130, 67, 0.15);
    border-color: var(--primary-color);
}

.catalog.combos-active .product-card h3 {
    color: var(--primary-color);
}

.catalog.combos-active .product-card .price {
    color: var(--secondary-color);
}

.catalog.combos-active .modal-content {
    border-top: 4px solid var(--primary-color);
}

.catalog.combos-active .modal-header h2 {
    color: var(--primary-color);
}

.catalog.combos-active .modal-pricing .price-value {
    color: var(--secondary-color);
}

.catalog.combos-active .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.catalog.combos-active .btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Catalog Tabs */
.catalog-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.tab-button {
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-secondary);
}

.tab-button:hover {
    background: var(--background-light);
}

.tab-button.active {
    background: var(--primary-color);
    color: var(--white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.product-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

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

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

.product-info {
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-title {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    margin: 0;
    color: var(--text-dark);
    font-weight: 500;
    flex: 1;
}

.product-title-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0;
}

.product-description {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-primary);
    margin: 0;
    white-space: nowrap;
}

/* Precios más pequeños para categoría personalizado */
.product-card[data-category="personalizado"] .product-price {
    font-size: 1rem;
    font-weight: 500;
}

/* Fondo especial para imagen C021 en catálogo */
.product-card[data-category="personalizado"] .product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.product-card[data-category="personalizado"] .product-image img {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    width: 80%;
    height: auto;
    max-width: 250px;
    display: block;
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 15px;
}

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature h3 {
    font-family: var(--font-primary);
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--background-light);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
    text-align: left;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.info-icon i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.info-card h3 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.info-list li i {
    color: var(--olive-green);
    font-size: 0.9rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.info-note {
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
    display: block;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--background-light);
}

.contact-info {
    text-align: center;
    margin-top: 3rem;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 95px;
    max-height: 95px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-primary);
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--primary-color);
    color: var(--accent-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-dark);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000; /* Z-index alto para asegurar que siempre esté clickeable */
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    pointer-events: auto; /* Asegurar que siempre capture clicks */
}

.close:hover {
    background: var(--background-light);
    transform: scale(1.1);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.modal-image {
    background: var(--background-light);
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h2 {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.modal-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 300;
}

.modal-pricing {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 10px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.price-row.highlighted {
    background: rgba(199, 122, 59, 0.2);
    padding: 0.7rem 1rem;
    box-shadow: 0 2px 10px rgba(199, 122, 59, 0.25);
    border-left: 3px solid var(--accent-color);
}

.price-row.wholesale {
    border-top: 1px solid rgba(91, 58, 40, 0.2);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.price-row.wholesale.highlighted {
    background: rgba(156, 155, 108, 0.25);
    padding: 1rem;
    margin-top: 0.5rem;
    border-top: 3px solid var(--olive-green);
    border-left: 3px solid var(--olive-green);
    box-shadow: 0 3px 15px rgba(156, 155, 108, 0.3);
    animation: pulseHighlight 2s ease-in-out infinite;
}

@keyframes pulseHighlight {
    0%, 100% {
        box-shadow: 0 3px 15px rgba(156, 155, 108, 0.3);
    }
    50% {
        box-shadow: 0 5px 20px rgba(156, 155, 108, 0.4);
    }
}

.price-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 400;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-primary);
    text-align: right;
    flex-shrink: 0;
}

/* Precios más pequeños en modal para categoría personalizado */
.modal-content[data-category="personalizado"] .price-value {
    font-size: 1.2rem;
    font-weight: 500;
    white-space: pre-line;
    line-height: 1.3;
    text-align: right;
}

/* Fondo especial para imagen C021 en modal */
.modal-content[data-category="personalizado"] .modal-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.modal-content[data-category="personalizado"] .modal-image img {
    background-color: #EBDDC8;
    padding: 20px;
    border-radius: 15px;
    width: 75%;
    height: auto;
    max-width: 400px;
    display: block;
}

.price-row.wholesale .price-value {
    color: var(--olive-green);
}

/* Controles de selección en modal */
.modal-selection-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 10px;
    margin-top: 1rem;
}

.modal-selection-label {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
}

.modal-selection-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-quantity-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    transition: var(--transition);
}

.modal-quantity-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.modal-quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.modal-quantity-display {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-secondary);
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 120px 0 0;
        gap: 0;
        min-height: auto;
        position: relative;
    }
    
    .hero-content {
        margin-bottom: 0;
        padding: 2rem 20px;
        width: 100%;
        max-width: 100%;
        position: relative;
        z-index: 2;
        background: var(--white);
        border-radius: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-carousel {
        position: relative;
        width: 100%;
        height: 100vh;
        opacity: 1;
        transform: none;
        margin: 0;
        padding: 0;
        z-index: 1;
        display: flex !important;
        visibility: visible !important;
        order: 2;
    }
    
    .carousel-container {
        height: 100vh !important;
        width: 100% !important;
        border-radius: 0;
        box-shadow: none;
        position: relative;
        aspect-ratio: unset !important;
    }
    
    .carousel-slide {
        display: block !important;
        visibility: visible !important;
    }
    
    .carousel-slide.active {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .carousel-slide:not(.active) {
        opacity: 0 !important;
    }
    
    .carousel-slide img {
        object-fit: cover;
        object-position: center;
        width: 100% !important;
        height: 100% !important;
        display: block !important;
    }
    
    .carousel-btn,
    .carousel-dots {
        z-index: 10;
    }
    
    .catalog-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tab-button {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        max-width: 350px;
    }
    
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .modal-image {
        height: 250px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-carousel {
        max-width: 100%;
        min-width: 300px;
    }
    
    .carousel-container {
        height: 350px;
    }
    
    .logo-image {
        height: 105px;
        max-height: 105px;
    }
    
    .footer-logo {
        height: 95px;
        max-height: 95px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin: 0 0 2.5rem 0;
    }
    
    .modal-content {
        margin: 5% auto;
        width: 95%;
        max-height: 90vh; /* Altura máxima del modal */
        overflow-y: auto; /* Scroll en todo el modal */
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch; /* Smooth scroll en iOS */
    }
    
    .close {
        position: absolute; /* Volver a absolute */
        top: 10px;
        right: 10px;
        z-index: 10000; /* Z-index muy alto */
        font-size: 30px;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    
    .modal-body {
        grid-template-columns: 1fr; /* Una columna en mobile */
    }
    
    .modal-image {
        height: 200px; /* Altura reducida */
    }
    
    .modal-info {
        padding: 1.5rem;
    }
    
    .modal-info h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .modal-info p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .modal-pricing {
        margin: 1.5rem 0;
    }
    
    .price-label {
        font-size: 0.85rem;
    }
    
    .price-value {
        font-size: 1.25rem;
    }
    
    .modal-selection-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .modal-selection-label {
        text-align: center;
        font-size: 0.95rem;
    }
    
    .modal-selection-buttons {
        justify-content: center;
    }
    
    .modal-quantity-btn {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .modal-quantity-display {
        font-size: 1.2rem;
    }
    
    .hero-carousel {
        max-width: 100%;
        min-width: 250px;
    }
    
    .carousel-container {
        height: 300px;
    }
    
    .logo-image {
        height: 105px;
        max-height: 105px;
    }
    
    .footer-logo {
        height: 95px;
        max-height: 95px;
    }
    
    .social-links {
        justify-content: center; /* Centrar social links en mobile */
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

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

/* ========== SISTEMA DE PROMOCIONES ========== */

/* Banner superior animado */
.promo-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #a46a3a; /* Fondo sólido sin degradado */
    color: var(--white);
    padding: 10px 0;
    z-index: 1001;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.promo-banner-content {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.promo-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 75s linear infinite;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Ajuste del header para compensar el banner */
body:has(.promo-banner:not([style*="display: none"])) .header {
    top: 38px;
    padding-top: 15px;
    padding-bottom: 15px;
}

body:has(.promo-banner:not([style*="display: none"])) .hero {
    margin-top: 38px;
}

/* Modal de promoción */
/* Banner clickeable */
.promo-banner {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.promo-banner:hover {
    opacity: 0.9;
}

/* Estilos del modal de promo */
.promo-modal-content {
    max-width: 600px;
    background: #faf5f0;
    border-radius: 12px;
    padding: 50px;
    position: relative;
}

.promo-modal-body {
    text-align: center;
}

.promo-close {
    color: #6b442d;
    font-size: 32px;
    font-weight: 400;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 1;
}

.promo-close:hover,
.promo-close:focus {
    color: #8c532b;
}

/* Título principal fijo del modal */
/* Editable: color, font-size, margin */
.promo-main-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 600; /* Solo negrita, sin cursiva */
    color: #6b442d; /* Color cálido para título (editable) */
    margin-bottom: 30px; /* Espacio aumentado entre título fijo y subtítulo */
    letter-spacing: 1px;
}

/* Subtítulo de la promoción (configurable) */
/* Editable: color, font-size, margin */
.promo-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    font-weight: 600;
    color: #6b442d;
    margin-bottom: 30px; /* Espacio aumentado entre subtítulo y descripción */
    letter-spacing: 0.5px;
}

/* Fecha de vigencia (opcional) - Estilo pill */
/* Editable: background-color, color, font-size, display (none para ocultar) */
.promo-date-range {
    display: inline-block;
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff; /* Blanco para alto contraste */
    background: #8c532b; /* Fondo oscuro para destacar */
    padding: 8px 20px;
    border-radius: 25px; /* Forma de pill */
    margin-bottom: 20px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(140, 83, 43, 0.25);
}

/* Descripción de la promoción */
/* Editable: color, font-size, max-width */
.promo-description {
    font-family: var(--font-secondary);
    font-size: 1.05rem;
    color: #4a3b2e; /* Color para mejor legibilidad (editable) */
    line-height: 2;
    margin-bottom: 30px;
}

.promo-description em {
    font-style: italic;
}

.promo-description strong {
    font-weight: 600;
}

/* Botón CTA */
/* Editable: background, padding, border-radius, colors */
.promo-cta {
    display: inline-block;
    background: var(--accent-color); /* Color base del botón */
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease; /* Transición suave */
    box-shadow: 0 4px 15px rgba(199, 122, 59, 0.3);
}

/* Hover del botón con elevación */
/* Editable: background-color, transform, box-shadow */
.promo-cta:hover {
    background: #8c532b; /* Color más oscuro en hover (editable) */
    transform: translateY(-2px); /* Leve elevación */
    box-shadow: 0 6px 20px rgba(140, 83, 43, 0.4);
}

/* Media queries para promociones */
@media (max-width: 768px) {
    .promo-banner {
        padding: 8px 0;
    }
    
    .promo-text {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }
    
    body:has(.promo-banner:not([style*="display: none"])) .header {
        top: 34px;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    
    body:has(.promo-banner:not([style*="display: none"])) .hero {
        margin-top: 34px;
    }
    
    .promo-modal-content {
        max-width: 92%;
        margin: 5% auto;
        padding: 35px 25px; /* Padding cómodo */
        max-height: 90vh; /* Altura máxima */
        overflow-y: auto; /* Scroll si es necesario */
        -webkit-overflow-scrolling: touch; /* Smooth scroll en iOS */
    }
    
    .promo-close {
        position: absolute; /* Volver a absolute */
        right: 10px;
        top: 10px;
        z-index: 10000;
        font-size: 30px;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    
    .promo-main-title {
        font-size: 1.45rem; /* Tamaño reducido para que quepa en una línea */
        margin-bottom: 20px;
        white-space: nowrap; /* Evitar salto de línea */
        overflow: hidden;
        text-overflow: ellipsis; /* Por si acaso, pero debería caber */
    }
    
    .promo-subtitle {
        font-size: 1.15rem; /* Subtítulo legible */
        margin-bottom: 20px;
    }
    
    .promo-date-range {
        font-size: 0.8rem;
        padding: 7px 16px;
        margin-bottom: 20px;
    }
    
    .promo-description {
        font-size: 1rem; /* Tamaño cómodo para lectura */
        color: #4a3b2e;
        line-height: 1.75; /* Line height cómodo */
        margin-bottom: 25px;
    }
    
    .promo-cta {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
}

/* ========== WIDGET DE SELECCIÓN DE MODELOS ========== */
.selection-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.selection-widget-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px var(--shadow-dark);
    transition: var(--transition);
    position: relative;
    font-size: 1.5rem;
}

.selection-widget-toggle:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 6px 25px var(--shadow-dark);
}

.selection-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    transition: transform 0.2s ease;
}

.selection-badge:empty {
    display: none;
}

.selection-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 40px);
    max-height: 70vh;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-dark);
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.selection-panel.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.selection-panel-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--background-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--background-light);
}

.selection-panel-header h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0;
}

.close-panel-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.close-panel-btn:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.selection-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    min-height: 100px;
}

.selection-items::-webkit-scrollbar {
    width: 6px;
}

.selection-items::-webkit-scrollbar-track {
    background: var(--background-light);
}

.selection-items::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

.empty-selection {
    text-align: center;
    color: var(--text-light);
    padding: 2rem;
    font-style: italic;
}

.selection-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 10px;
    margin-bottom: 0.75rem;
}

.selection-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.selection-item-info {
    flex: 1;
    min-width: 0;
}

.selection-item-title {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.selection-item-price {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.selection-item-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    font-weight: 600;
}

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

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-display {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-secondary);
}

.delete-item-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #dc3545;
    background: var(--white);
    color: #dc3545;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-left: 0.5rem;
}

.delete-item-btn:hover {
    background: #dc3545;
    color: var(--white);
    transform: scale(1.1);
}

.selection-panel-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--background-light);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--white);
}

.clear-selection-btn {
    padding: 0.75rem 1rem;
    background: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.clear-selection-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.send-whatsapp-btn {
    padding: 1rem;
    background: #25D366;
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.send-whatsapp-btn:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.send-whatsapp-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.add-to-selection-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 2px 10px var(--shadow);
	gap: 0.15rem;
}

.add-to-selection-btn .add-symbol {
    font-weight: 700;
    font-size: 0.9rem;
    transform: translateY(-1px);
}

.add-to-selection-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.product-card {
    position: relative;
}

/* Responsive para widget */
@media (max-width: 768px) {
    .selection-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .selection-widget-toggle {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .selection-panel {
        width: calc(100vw - 40px);
        max-height: 60vh;
        bottom: 75px;
    }
    
    .selection-item {
        padding: 0.75rem;
    }
    
    .selection-item-image {
        width: 50px;
        height: 50px;
    }
    
    .add-to-selection-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        top: 8px;
        right: 8px;
    }
    
    .delete-item-btn {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
        margin-left: 0.25rem;
    }
}