/* Reset y Variables CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #D4AF37;
    --secondary-color: #B8860B;
    --accent-color: #FFD700;
    --success-color: #8B4513;
    --text-primary: #2C1810;
    --text-secondary: #5D4E37;
    --text-light: #8B7355;
    --bg-primary: #ffffff;
    --bg-secondary: #FDF5E6;
    --bg-accent: #F5F5DC;
    --border-color: #DEB887;
    --coffee-dark: #3C2415;
    --coffee-medium: #5D4E37;
    --coffee-light: #8B7355;
    --gold-dark: #B8860B;
    --gold-light: #FFD700;
    --shadow-sm: 0 1px 2px 0 rgb(44 24 16 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(44 24 16 / 0.1), 0 2px 4px -2px rgb(44 24 16 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(44 24 16 / 0.1), 0 4px 6px -4px rgb(44 24 16 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(44 24 16 / 0.1), 0 8px 10px -6px rgb(44 24 16 / 0.1);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header y Navegación */
.header {
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('img/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.hero-image {
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--accent-color);
    color: white;
}

.btn-secondary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
    background: #25d366;
    color: black !important;
    font-size: 0.9rem;
    padding: 8px 16px;
    min-width: 120px;
    text-align: center;
}

.btn-whatsapp:hover {
    background: #128c7e;
    color: black !important;
}

.btn-call {
    background: var(--text-primary);
    color: white;
    font-size: 0.9rem;
    padding: 8px 16px;
    min-width: 120px;
    text-align: center;
}

.btn-call:hover {
    background: var(--text-secondary);
}

.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    min-width: 120px;
    text-align: center;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Secciones */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-intro {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Featured Brands */
.featured-brands {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.brand-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.brand-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.brand-content {
    padding: 1.5rem;
}

.brand-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.brand-content p {
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Catalog */
.catalog {
    padding: 80px 0;
    background: var(--bg-primary);
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* Category Descriptions */
.category-descriptions {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.category-description {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.category-description.hidden {
    display: none;
}

.category-description h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.category-description p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.1rem;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.feature-tag {
    background: var(--bg-accent);
    color: var(--text-secondary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: var(--bg-primary);
    margin: 2% auto;
    padding: 0;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: var(--text-light);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
    background: var(--bg-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 2rem;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-image:hover {
    transform: scale(1.05);
}

.product-details h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-details .product-category {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.benefits-list,
.business-attributes-list {
    list-style: none;
    margin: 1rem 0;
}

.benefits-list li,
.business-attributes-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.business-attributes-list li::before {
    content: '💼';
    position: absolute;
    left: 0;
}

.whatsapp-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-whatsapp-large {
    background: #25d366;
    color: white;
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    flex: 1;
    min-width: 200px;
}

.btn-whatsapp-large:hover {
    background: #128c7e;
}

/* How to Buy */
.how-to-buy {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.commercial-conditions {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.commercial-conditions h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.commercial-conditions ul {
    list-style: none;
}

.commercial-conditions li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.commercial-conditions li::before {
    content: '📋';
    position: absolute;
    left: 0;
}

/* About Us */
.about-us {
    padding: 80px 0;
    background: var(--bg-primary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Contact */
.contact {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-item {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.contact-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.phone-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.phone-item span {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.phone-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    word-break: break-all;
    overflow-wrap: break-word;
    hyphens: auto;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 0.5rem;
    word-break: break-all;
    overflow-wrap: break-word;
    hyphens: auto;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    color: #d1d5db;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent-color);
}

.social-link i {
    font-size: 1.2rem;
    width: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('img/heromovil.jpg');
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
        min-height: 100vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .brands-grid {
        grid-template-columns: 1fr;
    }

    .category-filter {
        flex-direction: column;
        align-items: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .whatsapp-buttons {
        flex-direction: column;
    }

    .phone-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-call,
    .btn-whatsapp {
        width: 100%;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .product-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .feature-card,
    .brand-card,
    .step,
    .contact-item {
        padding: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .product-gallery {
        grid-template-columns: 1fr;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 80px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--shadow-xl);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: white;
    text-decoration: none;
}

.whatsapp-float i {
    margin-top: 2px;
}

/* Animación de pulso para WhatsApp */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Tooltip para el botón de WhatsApp */
.whatsapp-float::before {
    content: "¡Cotiza por WhatsApp!";
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--text-primary);
    color: white;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.whatsapp-float::after {
    content: "";
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--text-primary);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Responsive para el botón de WhatsApp */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 26px;
        bottom: 70px;
        right: 15px;
    }
    
    .whatsapp-float::before {
        right: 65px;
        font-size: 11px;
        padding: 4px 8px;
        max-width: 120px;
        word-wrap: break-word;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
    }
    
    .whatsapp-float::after {
        right: 55px;
        border-width: 4px;
    }
}

@media (max-width: 600px) {
    .whatsapp-float::before {
        display: none;
    }
    
    .whatsapp-float::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 60px;
        right: 10px;
    }
}

/* Utilidades */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
/* 
Product Detail Pages */
.product-detail {
    padding: 120px 0 80px;
    background: var(--bg-primary);
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 0.5rem;
    color: var(--text-light);
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Product Gallery */
.product-gallery-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    width: 100%;
    height: 500px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-gallery {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    object-fit: cover;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Product Info */
.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-category {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.product-short-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.product-presentations,
.product-colors {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--primary-color);
}

.product-presentations h3,
.product-colors h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.presentations-list,
.colors-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.presentation-tag,
.color-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
}

.whatsapp-buttons-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-whatsapp-large {
    background: #25d366;
    color: white;
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-whatsapp-large:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Product Description Sections */
.product-description-section {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 3rem;
}

.description-content,
.benefits-section,
.business-attributes-section,
.ideal-for-section {
    margin-bottom: 2.5rem;
}

.description-content h2,
.benefits-section h3,
.business-attributes-section h3,
.ideal-for-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.description-content p,
.ideal-for-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.1rem;
}

.benefits-list,
.business-attributes-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.benefits-list li,
.business-attributes-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.5;
    border-bottom: 1px solid var(--border-color);
}

.benefits-list li:last-child,
.business-attributes-list li:last-child {
    border-bottom: none;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.business-attributes-list li::before {
    content: '💼';
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

.back-to-catalog {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive Design for Product Pages */
@media (max-width: 768px) {
    .product-detail {
        padding: 100px 0 60px;
    }
    
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .main-image {
        height: 300px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-description-section {
        padding: 2rem;
    }
    
    .whatsapp-buttons-section {
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 1.75rem;
    }
    
    .main-image {
        height: 250px;
    }
    
    .thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .product-description-section {
        padding: 1.5rem;
    }
    
    .btn-whatsapp-large {
        padding: 12px 24px;
        font-size: 1rem;
    }
}/* Addi
tional Product Page Styles */
.product-features-special {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--success-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
}

.feature-badge i {
    font-size: 1rem;
}

.product-manufacturer {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--primary-color);
}

.product-manufacturer h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.product-manufacturer p {
    color: var(--text-secondary);
    margin: 0;
}

.product-ingredients {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--primary-color);
}

.product-ingredients h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.ingredients-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ingredient-tag {
    background: var(--text-secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Logo link styling */
.nav-logo a {
    text-decoration: none;
    color: inherit;
}

.nav-logo a:hover {
    color: var(--primary-color);
}

/* Responsive adjustments for product features */
@media (max-width: 768px) {
    .product-features-special {
        margin: 1rem 0;
    }
    
    .feature-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .ingredients-list {
        flex-direction: column;
    }
    
    .ingredient-tag {
        text-align: center;
    }
}/* S
croll Down Arrow */
.scroll-down-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-arrow-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: var(--transition);
}

.scroll-arrow-link:hover {
    color: var(--accent-color);
    transform: translateY(-5px);
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: bounce-arrow 2s infinite;
    transition: var(--transition);
}

.scroll-arrow-link:hover .scroll-arrow {
    border-color: var(--accent-color);
    background: rgba(245, 158, 11, 0.2);
}

.scroll-arrow i {
    font-size: 1.2rem;
    animation: chevron-bounce 2s infinite;
}

.scroll-text {
    font-size: 0.875rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    opacity: 0.9;
}

/* Animaciones para el scroll arrow */
@keyframes bounce-arrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes chevron-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-1px);
    }
}

/* Responsive para scroll arrow */
@media (max-width: 768px) {
    .scroll-down-arrow {
        bottom: 20px;
    }
    
    .scroll-arrow {
        width: 45px;
        height: 45px;
    }
    
    .scroll-arrow i {
        font-size: 1.1rem;
    }
    
    .scroll-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .scroll-down-arrow {
        bottom: 15px;
    }
    
    .scroll-arrow {
        width: 40px;
        height: 40px;
    }
    
    .scroll-arrow i {
        font-size: 1rem;
    }
    
    .scroll-text {
        font-size: 0.75rem;
    }
}

/* Ocultar scroll arrow cuando no esté en el hero */
@media (max-height: 600px) {
    .scroll-down-arrow {
        display: none;
    }
}

/* Quote Floating Button */
.quote-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 90px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    box-shadow: var(--shadow-xl);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    animation: pulse-quote 3s infinite;
}

.quote-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.quote-float::before {
    content: "\f232";
    font-family: "Font Awesome 6 Brands";
    font-size: 28px;
}

/* Animación de pulso para el botón de cotización */
@keyframes pulse-quote {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Tooltip para el botón de cotización */
.quote-float:hover::after {
    content: "¡Cotizar por WhatsApp!";
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #25D366;
    color: white;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    z-index: 1002;
}

/* Quote Modal Styles */
.quote-modal-content {
    max-width: 600px;
    margin: 5% auto;
}

.quote-modal-title {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.quote-modal-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.quote-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-quote-country {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    background: var(--bg-primary);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.btn-quote-country.active {
    border-color: var(--success-color);
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(37, 211, 102, 0.05) 100%);
}

.btn-quote-country.active:hover {
    border-color: var(--success-color);
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(37, 211, 102, 0.1) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-quote-country.disabled {
    border-color: var(--border-color);
    background: var(--bg-secondary);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-quote-country.disabled:hover {
    transform: none;
    box-shadow: none;
}

.country-flag {
    font-size: 2rem;
    line-height: 1;
}

.country-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.country-name {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-primary);
}

.country-phone {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
}

.coming-soon {
    font-size: 0.75rem;
    color: var(--warning-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-quote-country .fab {
    font-size: 1.5rem;
    color: var(--success-color);
}

.btn-quote-country.disabled .fab {
    color: var(--text-light);
}

/* Responsive para el botón de cotización */
@media (max-width: 768px) {
    .quote-float {
        width: 55px;
        height: 55px;
        font-size: 20px;
        bottom: 80px;
        right: 15px;
    }
    
    .quote-float::before {
        font-size: 24px;
    }
    
    .quote-float:hover::after {
        right: 65px;
        font-size: 11px;
        padding: 4px 8px;
        max-width: 120px;
        word-wrap: break-word;
        white-space: normal;
    }
    
    .quote-buttons-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .btn-quote-country {
        padding: 1rem;
    }
    
    .country-flag {
        font-size: 1.5rem;
    }
    
    .country-name {
        font-size: 1rem;
    }
    
    .country-phone {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .quote-float::before {
        font-size: 26px;
    }
}

/* ===== CONFIGURACIONES DE ACCESIBILIDAD Y RENDIMIENTO ===== */

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Mejoras para usuarios con preferencias de contraste alto */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #000000;
        --text-secondary: #333333;
        --bg-primary: #ffffff;
        --border-color: #000000;
    }
    
    .btn, .nav-link, .footer-section a {
        border: 2px solid currentColor;
    }
}

/* Forzar modo claro siempre - modo oscuro deshabilitado */
/* El sitio web siempre se mostrará en modo claro independientemente de las preferencias del sistema */

/* Optimizaciones de rendimiento */
.hero-image,
.product-image,
.feature-icon {
    will-change: transform;
    transform: translateZ(0);
}

/* Lazy loading para imágenes */
img[loading="lazy"] {
    opacity: 1;
    transition: opacity 0.3s;
}

img[loading="lazy"].loading {
    opacity: 0.5;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Mejoras de focus para accesibilidad */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn:focus,
.nav-link:focus,
input:focus,
textarea:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

/* Skip link para navegación por teclado */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Mejoras de legibilidad */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Optimización de fuentes */
@font-face {
    font-family: 'Inter';
    font-display: swap;
}

/* Optimización de animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Mejoras de rendimiento para scroll */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Optimización de contenido crítico */
.critical-content {
    contain: layout style paint;
}

/* Mejoras para impresión */
@media print {
    .header,
    .footer,
    .quote-float,
    .whatsapp-modal {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: none;
        margin: 0;
        padding: 0;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
}