/* ============================================
   VARIABLES GLOBALES - LOR DE LA NATURE
   Colores: Verde argán (#2d6a4f) y terracota (#d4a373)
============================================ */
:root {
    --primary: #2d6a4f;
    --primary-dark: #1b4d3e;
    --primary-light: #40916c;
    --secondary: #d4a373;
    --secondary-dark: #b5835a;
    --accent: #f4a261;
    --light: #f8f9fa;
    --dark: #2f3e46;
    --white: #ffffff;
    --gray: #6c757d;
    --border: #dee2e6;
    --shadow: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 10px 25px rgba(0,0,0,0.15);
}

/* ============================================
   RESET Y BASE - FUENTES GOOGLE
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    padding-top: 80px;
}

/* Títulos con Playfair Display */
h1, h2, h3, h4, h5, h6,
.section-title,
.hero h1,
.product-title-link h3,
.offer-info h3,
.product-title,
.catalog-header h1,
.related-title,
.cta h2,
.benefit-card h3,
.contact-info h3,
.thanks-card h1,
.pack-info h2,
.offers-header h1,
.offers-section .section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

h1 {
    font-weight: 900;
}

/* ============================================
   CONTENEDOR PRINCIPAL
============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   HEADER - LOR DE LA NATURE
============================================ */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s;
}

.header.hide {
    transform: translateY(-100%);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
}

.logo-mobile {
    display: none;
}

/* Menú escritorio */
.nav-desktop .nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

/* Selector de idioma */
.lang-switcher {
    position: relative;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    transition: background 0.3s;
}

.lang-dropdown a:hover,
.lang-dropdown a.active {
    background: var(--light);
    color: var(--primary);
}

.flag-icon {
    width: 20px;
    height: 15px;
    display: inline-block;
    background-size: cover;
}

/* Menú móvil */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background: var(--white);
    transition: left 0.3s;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 999;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-nav-menu {
    list-style: none;
    padding: 20px;
}

.mobile-nav-menu li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-lang {
    padding: 20px;
    border-top: 1px solid var(--border);
}

.mobile-lang a {
    display: block;
    padding: 10px 0;
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
    position: relative;
    padding: 120px 0;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Tablet */
@media (max-width: 1024px) {
    .hero {
        padding: 100px 0;
    }
    .hero-content h1 {
        font-size: 40px;
    }
}

/* Móvil */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-content p {
        font-size: 16px;
    }
}

/* ============================================
   BOTONES
============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-product {
    display: block;
    background: var(--primary);
    color: var(--white);
    text-align: center;
    border-radius: 8px;
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 10px;
}

.btn-product:hover {
    background: var(--primary-dark);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1da851;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

/* ============================================
   PRODUCTOS GRID
============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.product-item {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* ============================================
   IMAGEN PRINCIPAL CON ZOOM
============================================ */
.product-image-container {
    display: block;
    text-align: center;
    padding: 15px;
}

.product-image-main {
    position: relative;
    overflow: hidden;
}

.product-image-main img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* ============================================
   MINIATURAS EN HORIZONTAL
============================================ */
.product-thumbnails {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 10px 15px 15px 15px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: #f5f5f5;
    flex-shrink: 0;
}

.thumbnail:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(45, 106, 79, 0.3);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   INFORMACIÓN DEL PRODUCTO
============================================ */
.product-info {
    padding: 15px;
    border-top: 1px solid var(--border);
    background: var(--white);
}

.product-badge {
    display: inline-block;
    background: #ff6b6b;
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-badge.offer {
    background: #ff9800;
}

.product-badge.pack-badge {
    background: var(--primary);
}

.product-info h3 {
    font-size: 18px;
    margin: 0 0 5px 0;
}

.product-info .product-category {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 5px;
}

.product-info .product-details {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 5px;
}

.product-info .product-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary);
    margin: 10px 0 5px;
}

.product-info .product-price-original {
    font-size: 14px;
    color: var(--gray);
    text-decoration: line-through;
    margin-bottom: 5px;
}

.product-info .product-rating {
    font-size: 13px;
    color: #ffc107;
    margin-bottom: 10px;
}

.product-info .btn-product {
    margin: 0;
    width: 100%;
}

/* ============================================
   CARRUSEL DE OFERTAS
============================================ */
.offers-carousel-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f0f7f0 0%, #e8f5e9 100%);
}

.offers-carousel-section .section-header {
    width: 100%;
    margin-bottom: 25px;
}

.offers-carousel-section .section-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    text-align: center;
    font-size: 26px;
    white-space: normal;
}

.offers-carousel-section .section-title .section-icon {
    width: 26px;
    height: 26px;
}

.offers-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.carousel-item {
    display: none;
}

.carousel-item.active {
    display: block;
    animation: fadeIn 0.5s;
}

.offer-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: row;
    height: auto;
    min-height: 180px;
}

.offer-image-placeholder {
    width: 35%;
    height: auto;
    min-height: 180px;
    overflow: hidden;
    flex-shrink: 0;
}

.offer-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.offer-card:hover .offer-image-placeholder img {
    transform: scale(1.03);
}

.offer-info {
    padding: 20px 25px;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.offer-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.3;
}

.offer-info p {
    color: #666;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.offer-info .btn {
    margin-top: 5px;
    align-self: flex-start;
    padding: 8px 20px;
    font-size: 14px;
}

.offer-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff6b6b;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    white-space: nowrap;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
    z-index: 10;
}

.carousel-prev { left: 15px; }
.carousel-next { right: 15px; }

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--primary);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   SECCIONES
============================================ */
.productos-section,
.packs-section,
.benefits {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.section-title {
    font-size: 32px;
    color: var(--dark);
}

.view-all {
    color: var(--primary);
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}

/* Beneficios */
.benefits {
    background: linear-gradient(135deg, #f0f7f0 0%, #e8f5e9 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary);
}

.benefit-card h3 {
    margin-bottom: 10px;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

/* ============================================
   CONTACTO
============================================ */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ff6b6b;
}

.error-message {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.contact-info {
    background: var(--light);
    padding: 30px;
    border-radius: 12px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.info-icon {
    font-size: 24px;
    color: var(--primary);
}

.contact-whatsapp {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

/* ============================================
   PAGINACIÓN Y FILTROS
============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-link {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 5px;
    transition: all 0.3s;
}

.page-link:hover,
.page-link.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.filters {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.filters-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 5px 12px;
    border-radius: 20px;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

.results-count {
    margin: 20px 0;
    color: var(--gray);
}

.no-results {
    text-align: center;
    padding: 60px 0;
}

/* ============================================
   FOOTER - LOR DE LA NATURE
============================================ */
.footer {
    background: #1a3a2c;
    color: rgba(255,255,255,0.8);
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 15px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-contact a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--secondary);
}

.footer-contact i {
    width: 20px;
    margin-right: 8px;
    color: var(--secondary);
}

.footer-col h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* Newsletter */
.newsletter h4 {
    margin-bottom: 10px;
}

.newsletter-text {
    font-size: 12px;
    margin-bottom: 10px;
    opacity: 0.7;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    outline: none;
}

.newsletter-form button {
    background: var(--secondary);
    border: none;
    border-radius: 30px;
    width: 38px;
    height: 38px;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: var(--secondary-dark);
}

/* Métodos de pago */
.payment-methods {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.payment-methods h4 {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.payment-icons img {
    height: 32px;
    width: auto;
    transition: transform 0.3s, opacity 0.3s;
    border-radius: 6px;
    background: white;
    padding: 5px 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    object-fit: contain;
}

.payment-icons img:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.secure-text {
    font-size: 12px;
    margin-top: 15px;
    color: rgba(255,255,255,0.6);
}

.secure-text i {
    color: #28a745;
    margin-right: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-credit {
    margin-top: 8px;
    font-size: 12px;
}

/* ============================================
   SECCIONES DE OFERTAS
============================================ */
.offers-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.offers-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.offers-header p {
    font-size: 18px;
    opacity: 0.9;
}

.offers-section {
    padding: 60px 0;
}

.products-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
}

/* Secciones de ofertas */
.discount-direct {
    background: linear-gradient(135deg, #f0f7f0 0%, #ffffff 100%);
}

.flash-offers {
    background: linear-gradient(135deg, #fff5f0 0%, #ffffff 100%);
}

.sample-packs {
    background: linear-gradient(135deg, #f0f5ff 0%, #ffffff 100%);
}

.special-packs {
    background: linear-gradient(135deg, #f5f0f7 0%, #ffffff 100%);
}

.offers-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.offers-section .section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

/* Tarjetas base para ofertas */
.offers-section .product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.offers-section .product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Badges */
.discount-badge-large {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 14px;
    border-radius: 40px;
    font-weight: bold;
    font-size: 14px;
    z-index: 10;
    background: #ff4444;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pack-badge-large {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 14px;
    border-radius: 40px;
    font-weight: bold;
    font-size: 14px;
    z-index: 10;
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.flash-badge-large {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 14px;
    border-radius: 40px;
    font-weight: bold;
    font-size: 14px;
    z-index: 10;
    background: #f59e0b;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Precios en ofertas */
.discount-price {
    color: #ff4444;
}

.pack-price {
    color: var(--primary);
}

.launch-price {
    color: #f59e0b;
}

.savings-info {
    font-size: 12px;
    color: #10b981;
    font-weight: 500;
    text-align: center;
    margin: 8px 12px;
}

/* Botones específicos de ofertas */
.btn-discount {
    background: #ff4444;
}

.btn-discount:hover {
    background: #cc0000;
}

.btn-flash {
    background: #f59e0b;
}

.btn-flash:hover {
    background: #d97706;
}

.btn-pack {
    background: var(--primary);
}

.btn-pack-special {
    background: var(--primary);
}

/* Stock limitado y cuenta atrás */
.stock-warning {
    background: #fee2e2;
    padding: 6px 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 11px;
    margin: 0 12px 12px;
    color: #dc2626;
    font-weight: 500;
}

.countdown-timer {
    background: #fef3c7;
    padding: 6px 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 12px;
    margin: 0 12px 12px;
    color: #d97706;
    font-weight: 500;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1199px) and (min-width: 768px) {
    .products-grid-horizontal {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .thumbnail {
        width: 65px;
        height: 65px;
    }
    
    .product-image-main img {
        max-height: 250px;
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .logo-desktop {
        display: none;
    }
    
    .logo-mobile {
        display: block;
        height: 40px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .filters-row {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-group {
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .products-grid-horizontal {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-thumbnails {
        gap: 10px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-image-main img {
        max-height: 220px;
    }
    
    .offer-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .offer-image-placeholder {
        width: 100%;
        height: 160px;
        min-height: auto;
    }
    
    .offer-info {
        text-align: center;
        padding: 15px;
    }
    
    .offer-info .btn {
        align-self: center;
    }
    
    .offer-badge {
        font-size: 10px;
        padding: 3px 10px;
        top: 10px;
        left: 10px;
        white-space: normal;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .carousel-prev { left: 8px; }
    .carousel-next { right: 8px; }
    
    .offers-section .product-card h3 {
        font-size: 14px;
        min-height: 38px;
    }
    
    .offers-section .product-price {
        font-size: 20px;
    }
    
    .offers-header h1 {
        font-size: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .newsletter-form {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .products-grid-horizontal {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .offers-section {
        padding: 40px 0;
    }
    
    .offers-section .section-title {
        font-size: 24px;
    }
    
    .discount-badge-large,
    .pack-badge-large,
    .flash-badge-large {
        font-size: 12px;
        padding: 4px 10px;
    }
    
    .offers-header h1 {
        font-size: 28px;
    }
    
    .offers-header p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .thumbnail {
        width: 55px;
        height: 55px;
    }
    
    .product-thumbnails {
        gap: 8px;
    }
    
    .product-image-main img {
        max-height: 200px;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
        padding: 0 40px;
    }
    
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 35px;
    }
    
    .products-grid-horizontal {
        grid-template-columns: repeat(5, 1fr);
        gap: 35px;
    }
}