/* ===========================================
   VARIABLES Y RESET
   =========================================== */
   :root {
    --primary-color: #8B6F47;
    --secondary-color: #2C1810;
    --accent-color: #C9A961;
    --dark-bg: #1a1410;
    --light-bg: #fafafa;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --gray: #5a5a5a;
    --light-gray: #f0f0f0;
    --success: #2d7a3e;
    --danger: #c53030;
    --shadow: 0 15px 35px rgba(0,0,0,0.08);
    --shadow-lg: 0 25px 50px rgba(0,0,0,0.15);
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--light-bg);
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Botón de WhatsApp Flotante */
.whatsapp-button {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s, box-shadow 0.3s;
}

    .whatsapp-button img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
    }

    .whatsapp-button:hover {
        background-color: #20c15d;
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    }
	

/* ===========================================
   NAVBAR - Diseño único
   =========================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(26, 20, 16, 0.98), rgba(26, 20, 16, 0.95));
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(26, 20, 16, 0.99);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border-bottom-color: rgba(201, 169, 97, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-img {
    height: 70px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 4px 12px rgba(201, 169, 97, 0.3));
}

.logo-img:hover {
    filter: drop-shadow(0 6px 20px rgba(201, 169, 97, 0.5));
    transform: translateY(-2px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: 8px 0;
    text-transform: lowercase;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.nav-link::first-letter {
    text-transform: uppercase;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.cart-link {
    position: relative;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 10px;
    border-radius: 8px;
    transition: var(--transition);
}

.cart-link:hover {
    background: rgba(201, 169, 97, 0.1);
    color: var(--accent-color);
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: linear-gradient(135deg, #c53030, #e53e3e);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(197, 48, 48, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===========================================
   HERO SECTION - Diseño cinematográfico
   =========================================== */
   .hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 40px 80px;
    background: 
        /*linear-gradient(165deg, rgba(26, 20, 16, 0.88) 0%, rgba(44, 24, 16, 0.85) 50%, rgba(26, 20, 16, 0.88) 100%),*/
        url('../images/Hero_Banner.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    /*background: radial-gradient(circle at 30% 50%, rgba(139, 111, 71, 0.08) 0%, transparent 50%);*/
    animation: rotateGradient 30s linear infinite;
}

@keyframes rotateGradient {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 6.5rem;
    line-height: 0.95;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.title-line {
    display: block;
    background: linear-gradient(120deg, #ffffff 0%, var(--accent-color) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shineText 4s ease-in-out infinite;
}

@keyframes shineText {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.6;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    padding: 15px;
    background: rgba(201, 169, 97, 0.05);
    border-radius: 12px;
    border-left: 3px solid var(--accent-color);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(201, 169, 97, 0.1);
    transform: translateX(10px);
}

.feature-item i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.hero-image {
    position: relative;
    animation: fadeInRight 1.2s ease 0.3s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floating-product {
    width: 100%;
    max-width: 550px;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4));
    animation: floatProduct 8s ease-in-out infinite;
}

@keyframes floatProduct {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    33% { transform: translateY(-25px) rotate(3deg) scale(1.02); }
    66% { transform: translateY(-10px) rotate(-3deg) scale(0.98); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounceArrow 2.5s ease-in-out infinite;
}

@keyframes bounceArrow {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-20px); }
}

.mouse {
    width: 28px;
    height: 48px;
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    position: relative;
    opacity: 0.7;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 3px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(18px); }
}

/* ===========================================
   BUTTONS - Diseño único
   =========================================== */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(139, 111, 71, 0.3);
    border: 1px solid rgba(201, 169, 97, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(139, 111, 71, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 55px;
    font-size: 1.05rem;
}

/* ===========================================
   FEATURES BANNER - Diseño asimétrico
   =========================================== */
.features-banner {
    padding: 100px 40px;
    background: linear-gradient(180deg, var(--light-bg) 0%, #ffffff 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(139, 111, 71, 0.1);
    position: relative;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(139, 111, 71, 0.1) 0%, rgba(201, 169, 97, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.feature-card p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===========================================
   PRODUCTOS SECTION - Grid 4 columnas
   =========================================== */
.productos {
    padding: 120px 40px;
    background: linear-gradient(180deg, #ffffff 0%, var(--light-bg) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    letter-spacing: 3px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    border-radius: 4px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    font-weight: 300;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.producto-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(139, 111, 71, 0.08);
}

.producto-card:hover {
    transform: translateY(-18px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.producto-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.producto-badge span {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    backdrop-filter: blur(10px);
}

.badge-destacado {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.95), rgba(139, 111, 71, 0.95));
    color: white;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
}

.badge-stock {
    background: rgba(197, 48, 48, 0.95);
    color: white;
    box-shadow: 0 4px 15px rgba(197, 48, 48, 0.4);
    animation: pulseStock 2s ease-in-out infinite;
}

@keyframes pulseStock {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.producto-image {
    position: relative;
    padding: 3.5rem;
    background: linear-gradient(135deg, #fafafa, #ffffff);
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.producto-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250%;
    height: 250%;
    background: radial-gradient(circle, rgba(139, 111, 71, 0.06) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.producto-card:hover .producto-image::before {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0;
}

.producto-image img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 35px rgba(0,0,0,0.12));
    transition: var(--transition);
}

.producto-card:hover .producto-image img {
    transform: scale(1.08) rotate(-3deg);
}

.producto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 20, 16, 0.85), rgba(44, 24, 16, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.producto-card:hover .producto-overlay {
    opacity: 1;
}

.btn-quick-view {
    background: white;
    color: var(--secondary-color);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    transform: translateY(25px);
    transition: var(--transition);
    font-size: 0.9rem;
}

.producto-card:hover .btn-quick-view {
    transform: translateY(0);
}

.btn-quick-view:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.05);
}

.producto-info {
    padding: 2.5rem 2rem;
}

.producto-nombre {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    line-height: 1.4;
}

.producto-descripcion {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.7;
}

.producto-specs {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
    flex-wrap: wrap;
}

.producto-specs span {
    background: var(--light-gray);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.producto-specs i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.producto-footer {
    border-top: 1px solid var(--light-gray);
    padding-top: 1.8rem;
}

.producto-precio {
    margin-bottom: 1.8rem;
}

.precio-label {
    font-size: 0.85rem;
    color: var(--gray);
    display: block;
    margin-bottom: 5px;
}

.precio-valor {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.8rem;
    color: var(--primary-color);
    display: block;
    line-height: 1;
    letter-spacing: 1px;
}

.producto-actions {
    display: grid;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.cantidad-selector {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--light-gray);
    border-radius: 10px;
    padding: 6px;
}

.btn-cantidad {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cantidad:hover {
    background: var(--accent-color);
    transform: scale(1.08);
}

.cantidad-selector input {
    width: 45px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 700;
    font-size: 1rem;
}

.btn-add-cart {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 13px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.85rem;
}

.btn-add-cart:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(139, 111, 71, 0.4);
}

.btn-add-cart i {
    font-size: 1.1rem;
}

/* ===========================================
   CTA SECTION
   =========================================== */
.cta-section {
    padding: 120px 40px;
    background: 
        linear-gradient(135deg, rgba(26, 20, 16, 0.97) 0%, rgba(44, 24, 16, 0.97) 100%),
        url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1" fill="rgba(201,169,97,0.1)"/></svg>');
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 111, 71, 0.15) 0%, transparent 70%);
    animation: floatGlow 12s ease-in-out infinite;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, -50px) scale(1.2); }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 80px 40px 40px;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    font-weight: 700;
}

.footer-col p {
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-representative {
    color: var(--accent-color) !important;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(201, 169, 97, 0.1);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* ===========================================
   TOAST NOTIFICATION - Continuación
   =========================================== */
   .toast {
    position: fixed;
    bottom: -100px;
    right: 40px;
    background: white;
    padding: 22px 35px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 420px;
    border: 1px solid rgba(139, 111, 71, 0.1);
}

.toast.show {
    bottom: 40px;
    animation: slideInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideInUp {
    from {
        transform: translateY(150px) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--danger);
}

/* ===========================================
   MODAL STYLES
   =========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 20, 16, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-overlay.show {
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 24px;
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.85);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: var(--danger);
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(197, 48, 48, 0.3);
}

.modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: #a02020;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3.5rem;
}

.modal-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fafafa, #ffffff);
    border-radius: 16px;
    padding: 2rem;
}

.modal-image img {
    width: 100%;
    border-radius: 12px;
    filter: drop-shadow(0 15px 40px rgba(0,0,0,0.15));
}

.modal-info h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.modal-description {
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.modal-specs {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: var(--transition);
}

.spec-item:hover {
    background: rgba(139, 111, 71, 0.08);
    transform: translateX(8px);
}

.spec-item i {
    font-size: 1.6rem;
    color: var(--primary-color);
}

.spec-item span {
    color: var(--text-dark);
    font-weight: 500;
}

.modal-price {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(139, 111, 71, 0.08), rgba(201, 169, 97, 0.08));
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-value {
    font-family: 'Bebas Neue', cursive;
    font-size: 3.5rem;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.modal-actions {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

/* ===========================================
   RESPONSIVE - Diseño adaptativo mejorado
   =========================================== */
@media (max-width: 1400px) {
    .productos-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 1200px) {
    .productos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-title {
        font-size: 5.5rem;
    }
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-image {
        order: 1;
    }
    
    .feature-item {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        padding: 2.5rem;
    }
    
    .nav-container {
        padding: 1.2rem 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 95px;
        flex-direction: column;
        background: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 15px 40px rgba(0,0,0,0.5);
        padding: 3rem 0;
        gap: 2rem;
    }
    
    .nav-menu.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, -7px);
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 120px 20px 60px;
    }
    
    .features-banner {
        padding: 80px 20px;
    }
    
    .productos {
        padding: 80px 20px;
    }
    
    .productos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 80px 20px;
    }
    
    .footer {
        padding: 60px 20px 30px;
    }
    
    .modal-body {
        padding: 2rem;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .toast {
        right: 20px;
        left: 20px;
        max-width: calc(100% - 40px);
    }
    
    .toast.show {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .producto-actions {
        flex-direction: column;
    }
    
    .cantidad-selector,
    .btn-add-cart {
        width: 100%;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .cantidad-selector,
    .modal-actions .btn {
        width: 100%;
    }
    
    .nav-container {
        padding: 1rem 20px;
    }
    
    .logo-img {
        height: 55px;
    }
}

/* ===========================================
   ANIMACIONES ADICIONALES
   =========================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===========================================
   UTILITY CLASSES
   =========================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.pt-1 { padding-top: 1rem; }
.pt-2 { padding-top: 2rem; }
.pt-3 { padding-top: 3rem; }

.pb-1 { padding-bottom: 1rem; }
.pb-2 { padding-bottom: 2rem; }
.pb-3 { padding-bottom: 3rem; }

/* ===========================================
   SCROLLBAR PERSONALIZADO
   =========================================== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* ===========================================
   SELECTION COLOR
   =========================================== */
::selection {
    background: var(--accent-color);
    color: var(--dark-bg);
}

::-moz-selection {
    background: var(--accent-color);
    color: var(--dark-bg);
}