/* Custom Font Declaration */
@font-face {
    font-family: 'Town10DisplayBold';
    src: url('fonts/town-10-display-bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Headings with Custom Font */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Town10DisplayBold', 'Arial', sans-serif;
    font-weight: bold;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-bar {
    background: #2e7d32;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
}

/* Contact Carousel Styles */
.contact-carousel {
    display: none;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.contact-slide {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
}

.contact-slide.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

.contact-slide.prev {
    transform: translateX(-100%);
}

.contact-slide.next {
    transform: translateX(100%);
}

.contact-desktop {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
}

/* Contact Link Styles */
.contact-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: inherit;
    text-decoration: none;
    transform: scale(1.05);
}

.contact-link:visited {
    color: inherit;
}

.contact-link span {
    pointer-events: none;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info i {
    font-size: 16px;
}

.navbar {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #2e7d32;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #eee;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #2e7d32;
    padding-left: 25px;
}

.dropdown-menu a i {
    margin-right: 10px;
    width: 16px;
    color: #666;
    transition: color 0.3s ease;
}

.dropdown-menu a:hover i {
    color: #2e7d32;
}

.dropdown > a i.fa-chevron-down {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.dropdown:hover > a i.fa-chevron-down {
    transform: rotate(180deg);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn, .account-btn, .cart-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.search-btn:hover, .cart-btn:hover {
    background: #f5f5f5;
}

.account-btn {
    background: #2e7d32;
    color: white;
    border-radius: 20px;
    padding: 8px 16px;
}

.account-btn:hover {
    background: #1b5e20;
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}
.mobile-menu-toggle i { display: none; font-size: 22px; color: #333; }
.mobile-menu-toggle.active i { display: inline-block; }
.mobile-menu-toggle.active span { display: none; }

.mobile-menu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.35); opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 900; }
.mobile-menu-overlay.open { opacity: 1; pointer-events: auto; }

/* Hero Section */
.hero {
    margin-top: 120px;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0;
}

.hero-content {
    width: 100%;
    height: calc(100vh - 120px);
    margin: 0;
    padding: 0;
}

.team-video {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.team-video iframe,
.team-video .hero-image {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    display: block;
}


/* Solutions Section */
.solutions-section {
    background-color: white;
    padding: 40px 0;
    text-align: center;
}

.solutions-title {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.solutions-title .highlight {
    color: #4CAF50;
}

.solutions-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.solutions-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    text-transform: uppercase;
}

.solutions-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.solutions-btn i {
    margin-left: 8px;
    font-size: 0.9rem;
}

/* Why Choose Mackpack Section */
.why-choose-section {
    background-color: #f5f5f5;
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.section-title .highlight {
    color: #4CAF50;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
    max-width: 100%;
    width: 100%;
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 1199px) and (min-width: 769px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.product-card {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(17,24,39,.08);
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(17,24,39,.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(17,24,39,.12);
    border-color: rgba(46,125,50,.24);
}

.product-image {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.product-image img,
.product-image svg {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.product-card p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.more-info-btn {
    background: none;
    border: none;
    color: #4CAF50;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.more-info-btn:hover {
    color: #45a049;
}

.more-info-btn i {
    margin-left: 5px;
    font-size: 0.8rem;
}

.benefits-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    width: 100%;
}

.benefit-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.benefit-icon {
    background: #4CAF50;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 1.5rem;
}

.benefit-text h4 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.cta-section {
    text-align: center;
}

.cta-button {
    background: linear-gradient(135deg, #333 0%, #111 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    text-transform: uppercase;
    box-shadow: 0 12px 26px rgba(17,24,39,.18);
}

.cta-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 18px 40px rgba(17,24,39,.22);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(17,24,39,.18);
}

.cta-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(46,125,50,.18), 0 18px 40px rgba(17,24,39,.22);
}

.cta-button i {
    margin-left: 8px;
    font-size: 0.9rem;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    padding: 60px 40px 40px;
    color: white;
    display: none;
}

.hero-text {
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hashtag {
    background: #4caf50;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 2rem;
    font-weight: bold;
}

.brand-name {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    color: #4caf50;
    background: rgba(255,255,255,0.9);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-top: 15px;
}

/* Sección Todo en un Solo Lugar */
.location-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.location-main-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    color: #333;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

.location-main-title .green-text {
    color: #4CAF50;
}

.location-main-title .red-dot {
    color: #ff4444;
    font-size: 2rem;
    vertical-align: top;
    margin-left: 10px;
}

.location-card {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.3);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 400px;
}

.location-text {
    padding: 60px 50px;
    color: white;
}

.location-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: white;
}

.location-divider {
    width: 60px;
    height: 3px;
    background-color: white;
    margin: 30px 0;
}

.location-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
}

.location-description strong {
    font-weight: 600;
    color: white;
}

.location-button-container {
    display: flex;
    align-items: center;
}

.location-btn {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.location-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.location-btn i.fa-map-marker-alt {
    font-size: 1.1rem;
}

.location-btn i.fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.location-btn:hover i.fa-chevron-down {
    transform: rotate(180deg);
}
.location-btn.open i.fa-chevron-down { transform: rotate(180deg); }

.location-image {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0 20px 20px 0;
}

.location-image .image-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-image .image-fallback svg {
    width: 100%;
    height: 100%;
    border-radius: 0 20px 20px 0;
}

.location-map { display: none; margin-top: 14px; }
.location-map.open { display: block; }
.map-embed { position: relative; padding-top: 56.25%; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar .contact-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        height: 40px;
        overflow: hidden;
    }
    
    .top-bar .contact-carousel {
        display: block;
        height: 40px;
    }
    
    .top-bar .contact-desktop {
        display: none;
    }
    
    .top-bar .contact-slide {
        height: 40px;
        padding: 8px 0;
    }
    
    .top-bar .contact-slide span {
        font-size: 13px;
        white-space: nowrap;
    }
    
    .navbar .container {
        flex-wrap: wrap;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 20px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: #f8f9fa;
        margin-top: 10px;
        padding: 0;
        min-width: auto;
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        max-height: 300px;
    }
    
    .dropdown-menu a {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        font-size: 1rem;
    }
    
    .dropdown-menu a:hover {
        background: #e9ecef;
        padding-left: 20px;
    }
    
    .dropdown:hover .dropdown-menu {
        /* Disable hover on mobile */
        opacity: 0;
        visibility: hidden;
        max-height: 0;
    }
}

/* Estilos específicos para celulares pequeños */
@media (max-width: 480px) {
    .navbar {
        padding: 10px 0;
    }
    
    .nav-brand .logo {
        height: 40px;
    }
    
    .nav-menu {
        margin-top: 15px;
        gap: 0;
    }
    
    .nav-menu li {
        border-bottom: 1px solid #eee;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        padding: 15px 10px;
        font-size: 1.1rem;
        font-weight: 500;
    }
    
    /* Dropdown específico para celulares pequeños */
    .dropdown-menu {
        background: #f0f0f0;
        margin-top: 0;
        border-top: 1px solid #ddd;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 250px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .dropdown-menu a {
        padding: 12px 25px;
        font-size: 0.95rem;
        color: #555;
        border-bottom: 1px solid #ddd;
    }
    
    .dropdown-menu a:hover {
        background: #e0e0e0;
        color: #2e7d32;
        padding-left: 30px;
    }
    
    .dropdown-menu a:last-child {
        border-bottom: none;
    }
    
    .dropdown-menu a i {
        font-size: 0.9rem;
        margin-right: 8px;
        width: 14px;
    }
    
    /* Mejorar el espaciado del menú móvil */
    .mobile-menu-toggle {
        padding: 8px;
        gap: 3px;
    }
    
    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
    }
    
    /* Ajustar acciones del navbar */
    .nav-actions {
        gap: 10px;
    }
    
    .search-btn, .cart-btn {
        padding: 6px 10px;
    }
    
    .account-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    /* Mejorar la animación de los dropdowns en celulares */
    .dropdown.active .dropdown-menu {
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            max-height: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            max-height: 250px;
            transform: translateY(0);
        }
    }
    
    /* Asegurar que el contenido no se desborde */
    .container {
        padding: 0 15px;
    }
    
    .navbar .container {
        padding: 0 6px;
    }
    .nav-brand { flex: 1; }
    
    .hero {
        margin-top: 140px;
        padding: 0;
        min-height: 60vh;
    }
    
    .hero-content {
        height: 60vh;
        min-height: 400px;
    }
    
    .team-video {
        height: 100%;
        min-height: 400px;
    }
    
    .team-video .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hashtag {
        font-size: 1.5rem;
    }
    
    .brand-name {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-overlay {
        padding: 40px 20px 30px;
    }
    
    .team-video {
        height: auto;
        min-height: 300px;
    }
    
    .solutions-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .solutions-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
        padding: 0 20px;
    }
    
    .solutions-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .products-grid {
        margin-bottom: 40px;
    }
    
    .benefits-section {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .benefit-item {
        padding: 20px;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }
    
    .benefit-icon i {
        font-size: 1.2rem;
    }
    
    .benefit-text h4 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 120px;
        padding: 0;
        min-height: 50vh;
    }
    
    .hero-content {
        height: 50vh;
        min-height: 350px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hashtag {
        font-size: 1.2rem;
        padding: 6px 15px;
    }
    
    .brand-name {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .team-video {
        height: 100%;
        min-height: 350px;
    }
    
    .team-video .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* Media query adicional para dispositivos muy pequeños */
@media (max-width: 360px) {
    .hero {
        min-height: 45vh;
    }
    
    .hero-content {
        height: 45vh;
        min-height: 320px;
    }
    
    .team-video {
        min-height: 320px;
    }
    
    .team-video .hero-image {
        object-fit: cover;
        object-position: center top;
    }
}

/* Bestsellers Section */
.bestsellers-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #1a1a1a 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

/* Protegemos Section */
.protegemos-section {
    background: #1a1a1a;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.protegemos-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.protegemos-icon {
    flex-shrink: 0;
}

.protegemos-icon svg {
    width: 80px;
    height: 80px;
}

.protegemos-text {
    text-align: left;
}

.protegemos-text h2 {
    font-size: 3rem;
    margin: 0;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.protegemos-text p {
    font-size: 1.8rem;
    margin: 10px 0 0 0;
    font-weight: 300;
    color: white;
    line-height: 1.2;
}

.highlight-green {
    color: #4CAF50;
}

/* Responsive for Protegemos Section */
@media (max-width: 768px) {
    .protegemos-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .protegemos-text {
        text-align: center;
    }
    
    .protegemos-text h2 {
        font-size: 2.2rem;
    }
    
    .protegemos-text p {
        font-size: 1.4rem;
    }
    
    .protegemos-icon svg {
        width: 60px;
        height: 60px;
    }
}

.bestsellers-content {
    background: #f8f9fa;
    color: #333;
    padding: 60px 0;
    margin-top: 40px;
}

.bestsellers-header-content {
    text-align: center;
    margin-bottom: 50px;
}

.bestsellers-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: #1a1a1a;
}

.bestsellers-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0;
    opacity: 0.8;
    font-weight: 300;
    color: #666;
}

.bestsellers-carousel {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0 20px;
}

.bestsellers-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.bestsellers-grid::-webkit-scrollbar {
    display: none;
}

.bestseller-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 280px;
    flex-shrink: 0;
}

.bestseller-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.bestseller-badge {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    border: 1px solid #FFD700;
    display: inline-block;
    margin-bottom: 15px;
}

.bestseller-image {
    margin: 20px 0;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.bestseller-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.bestseller-image svg,
.fallback-image {
    max-width: 100%;
    max-height: 100%;
}

.bestseller-card h4 {
    color: #1a1a1a;
    font-size: 1.1rem;
    margin: 20px 0 15px 0;
    font-weight: 600;
    line-height: 1.4;
    min-height: 50px;
}

.bestseller-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4CAF50;
    margin-bottom: 20px;
}

.bestseller-btn {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: white;
    border: 1px solid rgba(27,94,32,.25);
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    width: 100%;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    box-shadow: 0 12px 26px rgba(46,125,50,.18);
}

.bestseller-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 16px 34px rgba(46,125,50,.26);
}

.bestseller-btn:active {
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(46,125,50,.18);
}

.bestseller-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(46,125,50,.22), 0 16px 34px rgba(46,125,50,.26);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.carousel-nav:hover {
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
}

.carousel-next {
    right: 10px;
}

.carousel-nav i {
    color: #1a1a1a;
    font-size: 18px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .bestsellers-header {
        flex-direction: column;
        text-align: center;
    }
    
    .bestsellers-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .bestsellers-text h2 {
        font-size: 2rem;
    }
    
    .bestsellers-text p {
        font-size: 1.2rem;
    }
    
    .bestsellers-title {
        font-size: 2rem;
    }
    
    .bestsellers-carousel { padding: 0 10px; overflow: visible; }

    .bestsellers-content { padding: 32px 0; }
    .bestsellers-grid { display: grid; grid-template-columns: 1fr; gap: 12px; overflow: visible; }
    .bestseller-card { min-width: auto; width: 100%; padding: 12px; }
    .bestseller-image { height: clamp(90px, 26vw, 110px); margin: 10px 0; }
    .bestseller-card h4 { font-size: .95rem; margin: 10px 0; min-height: auto; }
    .bestseller-btn { padding: 9px 14px; font-size: .9rem; border-radius: 18px; }
    
    .carousel-nav {
         display: none;
     }
 }

/* Extra small phones */
@media (max-width: 480px) {
    .bestsellers-content { padding: 24px 0; }
    .bestsellers-grid { grid-template-columns: 1fr; }
    .bestseller-card { min-width: auto; width: 100%; padding: 10px; }
    .bestseller-image { height: clamp(80px, 30vw, 100px); }
    .bestseller-card h4 { font-size: .9rem; }
    .bestseller-btn { padding: 8px 12px; font-size: .85rem; }
}

@media (max-width: 430px) {
    .bestsellers-grid { gap: 10px; }
    .bestseller-card { min-width: auto; width: 100%; padding: 10px; }
    .bestseller-image { height: 100px; }
    .bestseller-card h4 { font-size: .88rem; margin: 8px 0; }
    .bestseller-btn { padding: 8px 12px; font-size: .84rem; }
}

@media (max-width: 360px) {
    .bestseller-card { min-width: 150px; }
    .bestseller-image { height: 90px; }
}

/* iOS Safari/Chrome specific compact fix */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 600px) {
        .bestsellers-section .bestseller-image { aspect-ratio: 16/9; height: auto !important; }
        .bestsellers-section .bestseller-card { padding: 10px !important; }
        .bestsellers-section .bestseller-btn { padding: 8px 12px !important; font-size: .85rem !important; }
        .bestsellers-section .bestseller-card h4 { font-size: .9rem !important; margin: 8px 0 !important; }
        .bestsellers-section .bestsellers-grid { display: grid !important; grid-template-columns: 1fr !important; overflow: visible !important; }
        .bestsellers-section .bestsellers-carousel { overflow: visible !important; }
    }
}

/* New Products Section */
.new-products-section {
    background: white;
    padding: 80px 20px;
    color: #333;
}

.new-products-header {
    text-align: center;
    margin-bottom: 50px;
}

.new-products-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: #1a1a1a;
}

.new-products-header p {
    font-size: 1.2rem;
    color: #666;
    font-weight: 300;
}

.new-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.product-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(17,24,39,.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(17,24,39,.08);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(17,24,39,.12);
    border-color: rgba(46,125,50,.24);
}

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.badge.new {
    background: #4CAF50;
    color: white;
}

.badge.bestseller {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    border: 1px solid #FFD700;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.product-image {
    margin: 20px 0;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.product-image svg,
.fallback-image {
    max-width: 100%;
    max-height: 100%;
}

.product-card h4 {
    color: #1a1a1a;
    font-size: 1.1rem;
    margin: 20px 0 15px 0;
    font-weight: 600;
    line-height: 1.4;
    min-height: 50px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.product-btn {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: white;
    border: 1px solid rgba(27,94,32,.25);
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    width: 100%;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    min-height: 44px;
    box-shadow: 0 12px 26px rgba(46,125,50,.18);
}

.product-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 16px 34px rgba(46,125,50,.26);
}

.product-btn:active {
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(46,125,50,.18);
}

.product-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(46,125,50,.22), 0 16px 34px rgba(46,125,50,.26);
}

.load-more-container {
    text-align: center;
    margin-top: 50px;
}

.load-more-btn {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    color: white;
    border: none;
    padding: 14px 26px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    box-shadow: 0 12px 26px rgba(17,24,39,.18);
}

.load-more-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 18px 40px rgba(17,24,39,.22);
}

.load-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(17,24,39,.18);
}

.load-more-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(46,125,50,.18), 0 18px 40px rgba(17,24,39,.22);
}

/* Responsive adjustments for new products */
@media (max-width: 1024px) {
    .new-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .new-products-header h2 {
        font-size: 2rem;
    }
    
    .new-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .product-card {
        padding: 20px;
    }
    
    .product-card h4 {
        font-size: 1rem;
        min-height: 45px;
    }
    
    .product-price {
        font-size: 1.3rem;
    }
}

/* Sección Frescura por + Tiempo */
.frescura-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.frescura-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    letter-spacing: 1px;
}

.green-text {
    color: #4CAF50;
}

.vitafilm-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
    margin: 0 auto 40px auto;
    max-width: 1200px;
}

.vitafilm-image {
    flex: 1;
    position: relative;
}

.vitafilm-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.image-fallback {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
}

.vitafilm-content {
    flex: 1;
    padding-left: 20px;
}

.vitafilm-icon {
    margin-bottom: 15px;
}

.vitafilm-product-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.vitafilm-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
}

.vitafilm-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

.cta-section {
    text-align: center;
}

.cta-text {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
}

.cta-button {
    background: linear-gradient(135deg, #333 0%, #111 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    box-shadow: 0 12px 26px rgba(17,24,39,.18);
}

.cta-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 18px 40px rgba(17,24,39,.22);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(17,24,39,.18);
}

.cta-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(46,125,50,.18), 0 18px 40px rgba(17,24,39,.22);
}

/* Sección Bolsa Impresa */
.bolsa-impresa-section {
    background: url('img/17mackpack_banner_bolsas_image_25.jpg') center/contain no-repeat;
    background-size: 100% auto;
    padding: 0;
    min-height: 500px;
    color: white;
    text-align: left;
    display: flex;
    align-items: center;
}

.bolsa-content {
    max-width: 600px;
}

.bolsa-title {
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 30px;
}

.bolsa-cta-button {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.bolsa-cta-button:hover {
    background-color: white;
    color: #333;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .frescura-section { padding: 40px 15px; }
    .frescura-title {
        font-size: 2rem;
    }
    
    .vitafilm-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .vitafilm-content {
        padding-left: 0;
    }
    
    .bolsa-title {
        font-size: 1.8rem;
    }
    
    .bolsa-impresa-section {
        padding: 30px 0;
        text-align: center;
        min-height: 300px;
        background: url('img/17mackpack_banner_bolsas_image_25.jpg') center/cover no-repeat;
    }
}

@media (max-width: 480px) {
    .frescura-title {
        font-size: 1.6rem;
    }
    
    .vitafilm-product-title {
        font-size: 1.4rem;
    }
    
    .bolsa-title {
        font-size: 1.4rem;
    }
    
    .bolsa-cta-button {
         padding: 12px 20px;
         font-size: 0.8rem;
     }
 }

 /* Sección Imprime y Personaliza */
.imprime-section {
    padding: 80px 0;
    background-color: #ffffff;
}

 .imprime-content {
     display: flex;
     align-items: center;
     gap: 60px;
 }

 .imprime-text {
     flex: 1;
     max-width: 500px;
 }

 .imprime-title {
     font-size: 2.8rem;
     font-weight: bold;
     line-height: 1.2;
     margin-bottom: 25px;
     color: #333;
 }

 .imprime-description {
     font-size: 1rem;
     line-height: 1.6;
     color: #666;
     margin-bottom: 15px;
 }

 .imprime-highlight {
     font-size: 1.1rem;
     font-weight: bold;
     color: #333;
     margin-bottom: 30px;
 }

 .imprime-buttons {
     display: flex;
     gap: 15px;
 }

 .btn-conoce-mas {
     background-color: #333;
     color: white;
     border: none;
     padding: 12px 25px;
     border-radius: 25px;
     font-size: 0.9rem;
     font-weight: 500;
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .btn-conoce-mas:hover {
     background-color: #555;
 }

 .btn-cotiza {
     background-color: #4CAF50;
     color: white;
     border: none;
     padding: 12px 25px;
     border-radius: 25px;
     font-size: 0.9rem;
     font-weight: 500;
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .btn-cotiza:hover {
     background-color: #45a049;
 }

 .imprime-images {
     flex: 1;
 }

 .bolsa-types {
     display: flex;
     flex-direction: column;
     gap: 20px;
     align-items: flex-end;
 }

 .bolsa-card {
     display: flex;
     align-items: center;
     width: 100%;
     max-width: 585px;
     height: 169px;
     background: white;
     border-radius: 12px;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
     overflow: hidden;
     transition: all 0.3s ease;
     cursor: pointer;
     margin: 10px 0;
     padding: 26px;
     gap: 26px;
 }

 .bolsa-card:hover {
     transform: translateY(-3px);
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
 }

 .bolsa-image {
     flex-shrink: 0;
     width: 237px;
     height: 169px;
     border-radius: 8px;
     overflow: hidden;
 }

 .bolsa-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .bolsa-content {
     flex: 1;
     display: flex;
     align-items: center;
     gap: 12px;
 }

 .bolsa-icon-circle {
     width: 32px;
     height: 32px;
     background: #333;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
 }

 .bolsa-title {
     color: #333;
     font-size: 14px;
     font-weight: 600;
     line-height: 1.3;
 }

 .green-arrow {
     flex-shrink: 0;
     display: flex;
     align-items: center;
     justify-content: center;
     color: #4CAF50;
 }

 /* Sección Logística */
 .logistica-section {
     padding: 80px 0;
     background-color: #f8f9fa;
 }

 .logistica-title {
     font-size: 2.5rem;
     font-weight: bold;
     text-align: center;
     margin-bottom: 15px;
     color: #333;
     line-height: 1.2;
 }

 .logistica-subtitle {
     font-size: 1.1rem;
     text-align: center;
     color: #666;
     margin-bottom: 50px;
     max-width: 600px;
     margin-left: auto;
     margin-right: auto;
 }

 .logistica-content {
     display: flex;
     align-items: center;
     gap: 50px;
     max-width: 1000px;
     margin: 0 auto;
 }

 .logistica-image {
     flex: 1;
 }

 .logistica-image img {
     width: 100%;
     height: 400px;
     object-fit: cover;
     border-radius: 15px;
 }

 .logistica-info {
     flex: 1;
     padding-left: 30px;
 }

 .logistica-badge {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     width: 50px;
     height: 50px;
     background-color: #4CAF50;
     border-radius: 50%;
     margin-bottom: 20px;
 }

 .badge-icon {
     color: white;
     font-size: 1.5rem;
     font-weight: bold;
 }

 .logistica-product-title {
     font-size: 2rem;
     font-weight: bold;
     margin-bottom: 10px;
     color: #333;
 }

 .logistica-product-subtitle {
     font-size: 1.1rem;
     color: #666;
     margin-bottom: 20px;
     font-weight: 500;
 }

 .logistica-description {
     font-size: 1rem;
     line-height: 1.6;
     color: #555;
     margin-bottom: 30px;
 }

 .logistica-cta {
     text-align: center;
 }

 .logistica-cta-text {
     font-size: 1.2rem;
     color: #333;
     margin-bottom: 15px;
     font-weight: 500;
 }

 .logistica-btn {
     background-color: #4CAF50;
     color: white;
     border: none;
     padding: 12px 25px;
     border-radius: 25px;
     font-size: 0.9rem;
     font-weight: 500;
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .logistica-btn:hover {
     background-color: #45a049;
     transform: translateY(-2px);
 }

 /* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .imprime-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .imprime-title {
        font-size: 2.2rem;
    }
    .imprime-section { padding: 50px 0; }
     
     .bolsa-types {
         align-items: center;
     }
     
     .bolsa-card {
         width: 100%;
         max-width: 320px;
         flex-direction: column;
         height: auto;
         padding: 14px;
         gap: 12px;
     }
     .bolsa-image { width: 100%; height: 150px; }
     
     .logistica-content {
         flex-direction: column;
         gap: 30px;
     }
     
     .logistica-info {
         padding-left: 0;
         text-align: center;
     }
     
     .logistica-title {
         font-size: 2rem;
     }
 }

@media (max-width: 480px) {
    .imprime-title {
        font-size: 1.8rem;
    }
     
     .imprime-buttons {
         flex-direction: column;
         gap: 10px;
     }
     
    .bolsa-card {
        width: 100%;
        max-width: 280px;
        flex-direction: column;
        height: auto;
        padding: 12px;
        gap: 10px;
    }
    .bolsa-image { width: 100%; height: 130px; }
     
     .bolsa-info {
         padding: 12px 15px;
     }
     
     .bolsa-title {
         font-size: 0.85rem;
         margin: 0 10px;
     }
     
     .bolsa-icon-circle {
         width: 30px;
         height: 30px;
     }
     
     .logistica-title {
         font-size: 1.6rem;
     }
     
     .logistica-product-title {
         font-size: 1.5rem;
     }
  }

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    outline: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-float i {
    color: white;
    font-size: 28px;
}

/* Tooltip para el botón de WhatsApp */
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
    font-weight: 500;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Animación de pulso */
@keyframes pulse {
    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);
    }
}

.whatsapp-float.pulse {
    animation: pulse 2s infinite;
}

/* Sección Historias de Éxito */
.success-stories-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.success-stories-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.success-stories-subtitle {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 4px solid #f0f0f0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.testimonial-rating i {
    color: #ffd700;
    font-size: 1.1rem;
}

.testimonial-author {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.testimonial-date {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

.testimonial-quote {
    position: absolute;
    bottom: 20px;
    right: 25px;
    font-size: 3rem;
    color: #e0e0e0;
    opacity: 0.3;
}

/* Responsive styles for Success Stories */
@media (max-width: 768px) {
    .success-stories-section {
        padding: 60px 0;
    }
    
    .success-stories-title {
        font-size: 2.2rem;
    }
    
    .success-stories-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .success-stories-title {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
    
    .testimonial-quote {
        font-size: 2.5rem;
        bottom: 15px;
        right: 20px;
    }
}

/* Sección de Contacto Verde */
.contact-green-section {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

/* Parte superior con imagen del catálogo */
.contact-green-top {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.1);
}

.contact-green-top-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 60px;
}

.contact-green-image {
    flex: 0 0 300px;
}

.catalog-phone-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.catalog-phone-fallback {
    width: 100%;
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.contact-green-text {
    flex: 1;
    text-align: left;
}

.contact-green-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    font-weight: 400;
}

.contact-green-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-green-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-weight: 400;
}

/* Parte inferior con mensaje y botón */
.contact-green-bottom {
    padding: 60px 0;
    text-align: center;
}

.contact-green-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-green-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-green-btn {
    background-color: #8BC34A;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: none;
}

.contact-green-btn:hover {
    background-color: #7CB342;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.contact-green-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive styles for Contact Green Section */
@media (max-width: 768px) {
    .contact-green-top {
        padding: 40px 0;
    }
    
    .contact-green-top-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .contact-green-image {
        flex: none;
    }
    
    .contact-green-text {
        text-align: center;
    }
    
    .contact-green-main-title {
        font-size: 2.5rem;
    }
    
    .contact-green-bottom {
        padding: 50px 0;
    }
    
    .contact-green-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    .contact-green-btn {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .contact-green-top {
        padding: 30px 0;
    }
    
    .contact-green-top-content {
        gap: 30px;
    }
    
    .contact-green-image {
        flex: 0 0 250px;
    }
    
    .catalog-phone-image,
    .catalog-phone-fallback {
        max-width: 250px;
    }
    
    .contact-green-subtitle {
        font-size: 1rem;
    }
    
    .contact-green-main-title {
        font-size: 2rem;
    }
    
    .contact-green-description {
        font-size: 1.1rem;
    }
    
    .contact-green-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .contact-green-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

/* Sección de Preguntas Frecuentes */
.faq-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

.faq-title-green {
    color: #4CAF50;
}

.faq-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 400;
    margin-bottom: 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    background: white;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #4CAF50;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #fafafa;
}

.faq-item.active .faq-answer {
    padding: 20px 30px 30px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive styles for FAQ Section */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-header {
        margin-bottom: 40px;
    }
    
    .faq-title {
        font-size: 2.2rem;
    }
    
    .faq-subtitle {
        font-size: 1.1rem;
    }
    
    .faq-question {
        padding: 20px 25px;
        font-size: 1rem;
    }
    
    .faq-icon {
        margin-left: 15px;
    }
    
    .faq-answer {
        padding: 0 25px;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px 25px 25px;
    }
}

@media (max-width: 480px) {
    .faq-title {
        font-size: 1.8rem;
    }
    
    .faq-question {
        padding: 18px 20px;
        font-size: 0.95rem;
    }
    
    .faq-icon {
        margin-left: 10px;
        font-size: 1.3rem;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px 20px 20px;
    }
}

/* Sección de Blog */
.blog-section {
    background-color: white;
    padding: 80px 0;
}

.blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
    line-height: 1.2;
}

.blog-title-green {
    color: #4CAF50;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-image-fallback {
    width: 100%;
    height: 100%;
}

.blog-image-fallback svg {
    width: 100%;
    height: 100%;
}

.blog-content {
    padding: 25px;
}

.blog-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-date {
    font-size: 0.9rem;
    color: #999;
    font-weight: 500;
}

.blog-footer {
    text-align: center;
}

.blog-btn {
    background-color: #333;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.blog-btn:hover {
    background-color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

/* Responsive styles for Blog Section */
@media (max-width: 768px) {
    .blog-section {
        padding: 60px 0;
    }
    
    .blog-header {
        margin-bottom: 40px;
    }
    
    .blog-title {
        font-size: 2.2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 40px;
    }
    
    .blog-card {
        margin: 0 10px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-card-title {
        font-size: 1.2rem;
    }
    
    .blog-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .blog-title {
        font-size: 1.8rem;
    }
    
    .blog-grid {
        gap: 20px;
    }
    
    .blog-card {
        margin: 0 5px;
    }
    
    .blog-content {
        padding: 18px;
    }
    
    .blog-card-title {
        font-size: 1.1rem;
    }
    
    .blog-card-excerpt {
        font-size: 0.95rem;
    }
    
    .blog-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}

/* Sección de Newsletter */
.newsletter-section {
    background-image: url('img/28mackpack_blog_images2_25.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    position: relative;
    color: white;
}

.newsletter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.newsletter-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-subtitle {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 15px;
    font-weight: 400;
}

.newsletter-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 40px;
    line-height: 1.2;
}

.newsletter-title-green {
    color: #4CAF50;
}

.newsletter-form {
    margin-top: 30px;
}

.newsletter-input-group {
    text-align: left;
}

.newsletter-label {
    display: block;
    font-size: 1rem;
    color: white;
    margin-bottom: 10px;
    font-weight: 500;
}

.newsletter-form-row {
    display: flex;
    gap: 15px;
    align-items: stretch;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    background: white;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.3);
}

.newsletter-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 140px;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.newsletter-btn:active {
    transform: translateY(0);
}

/* Responsive styles for Newsletter Section */
@media (max-width: 768px) {
    .newsletter-section {
        padding: 80px 0;
    }
    
    .newsletter-title {
        font-size: 2.2rem;
    }
    
    .newsletter-form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-input {
        padding: 12px 18px;
    }
    
    .newsletter-btn {
        padding: 12px 25px;
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .newsletter-section {
        padding: 60px 0;
    }
    
    .newsletter-title {
        font-size: 1.8rem;
    }
    
    .newsletter-subtitle {
        font-size: 1rem;
    }
    
    .newsletter-content {
        padding: 0 20px;
    }
    
    .newsletter-input {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
    
    .newsletter-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* Responsive para el botón de WhatsApp */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .whatsapp-float i {
        font-size: 24px;
    }
    
    .whatsapp-tooltip {
        right: 65px;
        font-size: 12px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
        font-size: 22px;
    }
    
    .whatsapp-float i {
        font-size: 22px;
    }
    
    .whatsapp-tooltip {
        display: none; /* Ocultar tooltip en pantallas muy pequeñas */
    }
    
    /* Location Section Responsive */
    .location-main-title {
        font-size: 2.5rem;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .location-text {
        padding: 40px 30px;
        order: 1;
    }
    
    .location-title {
        font-size: 1.8rem;
    }
    
    .location-image {
        order: 2;
        height: 300px;
    }
    
    .location-image img,
    .location-image .image-fallback svg {
        border-radius: 0 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .location-main-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .location-text {
        padding: 30px 20px;
    }
    
    .location-title {
        font-size: 1.5rem;
    }
    
    .location-description {
        font-size: 0.9rem;
    }
    
    .location-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

/* Logo y descripción */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 200px;
    height: auto;
    object-fit: contain;
}

.footer-logo-text h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    margin-bottom: 5px;
}

.footer-logo-text p {
    color: #ccc;
    font-size: 1rem;
    margin: 0;
}

/* Enlaces de navegación */
.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links-group a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links-group a:hover {
    color: #4CAF50;
}

/* Redes sociales */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #4CAF50;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Newsletter del footer */
.footer-newsletter h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-newsletter p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.footer-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #444;
    border-radius: 5px;
    background: #1a1a1a;
    color: white;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.footer-input:focus {
    border-color: #4CAF50;
}

.footer-input::placeholder {
    color: #888;
}

.footer-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.footer-btn:hover {
    background: #45a049;
}

/* Checkbox personalizado */
.footer-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.4;
    cursor: pointer;
}

.footer-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 16px;
    height: 16px;
    border: 2px solid #444;
    border-radius: 3px;
    background: transparent;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.footer-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #4CAF50;
    border-color: #4CAF50;
}

.footer-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.footer-checkbox a {
    color: #4CAF50;
    text-decoration: none;
}

.footer-checkbox a:hover {
    text-decoration: underline;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.payment-methods h5 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.payment-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.payment-card {
    background: white;
    color: #333;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 50px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.payment-card.visa {
    background: #1a1a1a;
    color: white;
}

.payment-card.mastercard {
    background: #eb001b;
    color: white;
}

.payment-card.paypal {
    background: #1a1a1a;
    color: white;
}

.payment-card.gpay {
    background: #1a1a1a;
    color: white;
}

.payment-card.amex {
    background: #1a1a1a;
    color: white;
}

.footer-copyright {
    color: #888;
    font-size: 0.85rem;
}

/* Responsive styles for Footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-links {
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .payment-icons {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .footer-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .footer-logo-img {
        width: 40px;
        height: 40px;
    }
    
    .payment-icons {
        justify-content: flex-start;
    }
    
    .payment-card {
        font-size: 0.75rem;
        padding: 6px 10px;
        min-width: 45px;
    }
}

/* Sección de Compra Sin Salir de Casa */
.compra-section {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

.compra-full-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .compra-full-image {
        width: 100%;
        height: auto;
    }
}

/* ----------------------- */
/* Carrito: Modal y Toast  */
/* ----------------------- */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 9990;
}
.cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 380px;
    max-width: 92vw;
    height: 100vh;
    background: #ffffff;
    box-shadow: -10px 0 24px rgba(0,0,0,0.15);
    z-index: 10000;
    transition: right .3s ease;
    display: flex;
    flex-direction: column;
}
.cart-drawer.open { right: 0; }
.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #eee;
    font-weight: 800;
}
.cart-close {
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
}
.cart-items {
    flex: 1;
    overflow: auto;
    padding: 12px 18px;
}
.cart-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding: 10px 0;
}
.cart-item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
}
.cart-item .name { font-weight: 700; }
.cart-item .price { color: #2e7d32; font-weight: 800; }
.cart-item .actions { display: flex; align-items: center; gap: 8px; }
.cart-item .qty-btn { width: 30px; height: 30px; border: 1px solid rgba(17,24,39,.12); background: #fff; border-radius: 10px; cursor: pointer; font-weight: 900; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease; }
.cart-item .qty-btn:hover { background: #f6f7f9; border-color: rgba(46,125,50,.35); box-shadow: 0 10px 18px rgba(17,24,39,.10); transform: translateY(-1px); }
.cart-item .qty-btn:active { transform: translateY(0); box-shadow: none; }
.cart-item .qty-btn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(46,125,50,.18), 0 10px 18px rgba(17,24,39,.10); }
.cart-item .qty { min-width: 28px; text-align: center; font-weight: 700; }
.cart-item .remove-btn { border: none; background: transparent; color: #888; cursor: pointer; }
.cart-footer {
    border-top: 1px solid #eee;
    padding: 16px 18px;
}
.cart-total { display: flex; justify-content: space-between; font-weight: 800; margin-bottom: 12px; }
.cart-actions { display: flex; gap: 10px; }
.btn-checkout { background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%); color: #fff; border: 1px solid rgba(27,94,32,.25); border-radius: 14px; padding: 12px 16px; font-weight: 900; cursor: pointer; flex: 1; width: 100%; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; box-shadow: 0 12px 26px rgba(46,125,50,.18); transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.btn-checkout:hover { transform: translateY(-1px); filter: brightness(1.03); box-shadow: 0 16px 34px rgba(46,125,50,.26); }
.btn-checkout:active { transform: translateY(0); box-shadow: 0 10px 22px rgba(46,125,50,.18); }
.btn-checkout:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(46,125,50,.22), 0 16px 34px rgba(46,125,50,.26); }
.btn-clear { background: rgba(17,24,39,.06); color: #111827; border: 1px solid rgba(17,24,39,.12); border-radius: 14px; padding: 12px 16px; font-weight: 800; cursor: pointer; min-height: 44px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn-clear:hover { background: rgba(17,24,39,.10); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(17,24,39,.10); }
.btn-clear:active { transform: translateY(0); box-shadow: none; }
.btn-clear:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(46,125,50,.18), 0 10px 22px rgba(17,24,39,.10); }
.cart-empty { text-align: center; color: #666; padding: 24px 0; }

/* Toast de agregado */
.cart-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #2e7d32;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0,0,0,.15);
    opacity: 0;
    transform: translateY(10px);
    transition: all .25s ease;
    z-index: 10001;
    font-weight: 800;
    pointer-events: none;
}

/* ----------------------- */
/* Modal de Detalles       */
/* ----------------------- */
.details-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 11000; }
.details-overlay.open { opacity: 1; pointer-events: auto; }
.details-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.98); width: 860px; max-width: 94vw; max-height: 90vh; background: #fff; border-radius: 14px; box-shadow: 0 20px 40px rgba(0,0,0,.18); display: grid; grid-template-rows: auto 1fr; overflow: hidden; z-index: 11001; opacity: 0; pointer-events: none; transition: transform .2s ease, opacity .2s ease; }
.details-modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.details-header { position: relative; display:flex; justify-content: center; align-items:center; padding:16px 20px; border-bottom:1px solid #eee; }
.details-title { font-weight: 800; text-align:center; font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
.details-close { position:absolute; right:16px; top:50%; transform: translateY(-50%); border:none; background:transparent; font-size:20px; cursor:pointer; }
.details-content { padding: 16px 20px; overflow:auto; }
.details-primary { background:#fff; overflow:hidden; }
.details-primary img { width:100%; max-height:75vh; height:auto; object-fit:contain; object-position:center; border-radius:12px; background:#fff; transition: transform .2s ease, transform-origin .2s ease; cursor: zoom-in; }
.details-primary.zoomed img { transform: scale(2); cursor: zoom-out; }
.details-list { margin-top:16px; display:grid; gap:20px; }
.details-item-title { font-weight:800; margin-bottom:8px; text-align:center; }
.details-item-img { width:100%; height:auto; max-height:75vh; object-fit:contain; background:#fff; border-radius:12px; }
.details-item-actions { display:flex; justify-content:center; margin-top:10px; }
.details-sep { height:3px; background:#e8e8e8; margin:10px 0; }
.details-thumbs { display:flex; gap:10px; margin-top:12px; overflow-x:auto; padding-bottom:8px; scroll-behavior:smooth; }
.details-thumb { flex: 0 0 92px; width:92px; height:92px; border-radius:10px; overflow:hidden; border:2px solid transparent; cursor:pointer; }
.details-thumb.active { border-color:#2e7d32; }
.details-thumb img { width:100%; height:100%; object-fit:contain; object-position:center; background:#fff; }
.details-info { padding-top:16px; display:grid; gap:8px; border-top:1px solid #eee; }
.details-meta { color:#2e7d32; font-weight:700; }
.details-actions { margin-top: 10px; display:flex; gap:10px; }
.details-quote { background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%); color:#fff; border: 1px solid rgba(27,94,32,.25); border-radius:14px; padding:12px 16px; font-weight:900; cursor:pointer; min-height:44px; box-shadow: 0 12px 26px rgba(46,125,50,.18); transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.details-quote:hover { transform: translateY(-1px); filter: brightness(1.03); box-shadow: 0 16px 34px rgba(46,125,50,.26); }
.details-quote:active { transform: translateY(0); box-shadow: 0 10px 22px rgba(46,125,50,.18); }
.details-quote:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(46,125,50,.22), 0 16px 34px rgba(46,125,50,.26); }
.cart-toast.show { opacity: 1; transform: translateY(0); }

/* Clon volador para animación */
.fly-clone {
    position: fixed;
    z-index: 10002;
    pointer-events: none;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
    transition: transform .6s ease, opacity .6s ease;
}
.details-caption { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:12px; }
.details-caption-title { font-weight:800; }
.details-caption .details-quote { margin-top:0; }
