:root {
    --primary-color: #A61C4F;
    /* Primary Color */
    --primary-dark: #8A1640;
    --secondary-color: #BF567D;
    /* Secondary Color */
    --accent-color: #D991AB;
    /* Accent Color */
    --background-color: #F2F2F2;
    /* Light Gray Background */
    --text-color: #2d3436;
    /* Darker, modern gray */
    --card-bg: #ffffff;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Softer, larger shadow */
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    background-image: linear-gradient(135deg, #F2D0DD 0%, #F2F2F2 100%);
    /* Subtle gradient background */
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: #2d3436;
}

/* Header */
header {
    background-color: #A61C4F;
    /* Primary Color for Navbar */
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0;
}

.logo img {
    height: 100px;
    margin-right: 10px;
    margin-bottom: 0;
    filter: brightness(0) invert(1);
    /* Convierte el logo a blanco */
}

nav {
    flex: 1;
    text-align: right;
    /* Right align for cleaner look with buttons */
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    /* Handle smaller screens gracefully */
}

nav a {
    text-decoration: none;
    color: #ffffff;
    margin: 0;
    /* Margin handled by gap */
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav a i {
    margin-right: 8px;
    font-size: 1.1em;
    color: #F2D0DD;
    transition: color 0.3s;
}

/* Hover Effects & Active States */
nav a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ffffff;
    padding: 10px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.menu-toggle i {
    transition: transform 0.3s ease;
}

.menu-toggle.active i {
    transform: rotate(90deg);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    /* Taller hero */
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    background: rgba(242, 208, 221, 0.92);
    backdrop-filter: blur(5px);
    padding: 40px 60px;
    border-radius: var(--radius);
    max-width: 600px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.3s;
    opacity: 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin: 0 0 15px;
    color: #A61C4F;
}

.hero-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 25px;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-hero {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(166, 28, 79, 0.5);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.slider-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid white;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Promotions Banner Section */
.promotions-section {
    margin-bottom: 80px;
    background: linear-gradient(135deg, rgba(242, 208, 221, 0.4) 0%, rgba(217, 145, 171, 0.2) 100%);
    padding: 60px 20px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
}

.promotions-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(166, 28, 79, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.promotions-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(217, 145, 171, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.promotions-section .section-title {
    position: relative;
    z-index: 2;
    font-size: 2.8rem;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.promotions-section .section-title::before {
    content: '✨';
    display: block;
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Promotions Modal */
.promotions-modal {
    display: none;
    position: fixed;
    z-index: 2500;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.promotions-modal.active {
    display: flex;
}

.promotions-modal-content {
    position: relative;
    width: 500px;
    max-width: 90vw;
    height: 700px;
    max-height: 90vh;
    background: rgba(240, 240, 240, 0.95);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

.promotions-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
    color: #2d3436;
}

.promotions-modal-close:hover {
    background: white;
    transform: rotate(90deg);
}

.promotions-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 245, 245, 0.5);
}

.promo-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.promo-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(40px);
    opacity: 0.8;
    z-index: 0;
}

.promo-slide.active {
    opacity: 1;
    position: relative;
}

.promo-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.promo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(45, 52, 54, 0.95), rgba(45, 52, 54, 0.7) 60%, transparent);
    color: white;
    padding: 50px 40px 40px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2;
}

.promo-overlay h2 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    background: none;
    -webkit-text-fill-color: unset;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.promo-overlay p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 500px;
}

.btn-promo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(166, 28, 79, 0.5);
}

.btn-promo:hover {
    background: linear-gradient(135deg, var(--primary-dark), #BF567D);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(166, 28, 79, 0.6);
}

.btn-promo i {
    font-size: 1.1rem;
}

.promo-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}

.promo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid white;
    box-sizing: border-box;
}

.promo-dot.active {
    background: white;
    transform: scale(1.3);
}

.promo-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Products Grid */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: var(--text-color);
}

.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.category-filter a {
    text-decoration: none;
    color: var(--text-color);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.category-filter a i {
    color: #A61C4F;
    transition: color 0.3s;
}

.category-filter a:hover,
.category-filter a.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(166, 28, 79, 0.4);
    border-color: transparent;
}

.category-filter a:hover i,
.category-filter a.active i {
    color: white;
}

/* Discounts Section */
.discounts-section {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.08) 0%, rgba(166, 28, 79, 0.08) 100%);
    padding: 50px 20px;
    margin-bottom: 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
}

.discounts-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.discounts-section .section-title {
    position: relative;
    z-index: 2;
    color: #e74c3c;
    font-size: 2.8rem;
    margin-bottom: 40px;
    animation: pulse-subtle 2s ease-in-out infinite;
}

.discounts-section .section-title i {
    margin-right: 12px;
    animation: bounce-icon 1.5s ease-in-out infinite;
}

@keyframes pulse-subtle {
    0%, 100% {
        text-shadow: 0 0 10px rgba(231, 76, 60, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(231, 76, 60, 0.6);
    }
}

@keyframes bounce-icon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.discounts-section .product-grid {
    position: relative;
    z-index: 2;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    /* More breathing room */
    margin-bottom: 80px;
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Product Card */
.product-card {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* Add a subtle highlight border on hover */
.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius);
    border: 2px solid var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    z-index: 10;
}

.product-card:hover::after {
    opacity: 0.5;
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.product-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    cursor: pointer;
}

.product-card:hover .product-image {
    transform: scale(1.05);
    /* Zoom effect */
}

.product-image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5000;
}

.product-image-container:hover .product-image-modal {
    opacity: 1;
}

.product-image-enlarged {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 4px;
}

.product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: linear-gradient(to bottom, #fff, #F2F2F2);
}

.product-name {
    font-size: 1.1rem;
    margin: 0 0 8px 0;
    font-weight: 700;
    color: #2d3436;
    line-height: 1.3;
}

.product-description {
    color: #636e72;
    font-size: 0.85rem;
    flex-grow: 1;
    margin-bottom: 12px;
    line-height: 1.5;
    max-height: 4.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Product Price with Discount */
.product-price-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: auto;
    margin-bottom: 10px;
    gap: 5px;
}

.product-price {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 800;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.05);
    margin-top: auto;
}

.product-price-original {
    font-size: 1rem;
    color: #999;
    opacity: 0.6;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    font-weight: 600;
}

.discount-badge {
    position: absolute;
    top: -8px;
    right: 0;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.btn-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    /* WhatsApp Green */
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 8px;
}

.btn-buy:hover {
    background-color: #128C7E;
}

.btn-buy i {
    margin-right: 8px;
}

/* Product Name Link */
.product-name-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-name-link:hover .product-name {
    color: var(--primary-color);
}

.product-image-container a {
    display: block;
    cursor: pointer;
}

/* Product Detail Page */
.product-detail-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: rgba(166, 28, 79, 0.1);
}

.back-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(-5px);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.product-detail-image {
    position: relative;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-detail-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Product Gallery Styles */
.product-gallery {
    width: 100%;
}

.gallery-main-image {
    position: relative;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 15px;
}

.gallery-main-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-thumbnail {
    width: calc(33.33% - 7px);
    max-width: 150px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-thumbnail:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(166, 28, 79, 0.3);
}

.gallery-thumbnail.active {
    border-color: var(--primary-color);
    box-shadow: 0 6px 15px rgba(166, 28, 79, 0.4);
}

.gallery-thumbnail img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-thumbnail:hover img {
    transform: scale(1.05);
}

.detail-discount-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.product-detail-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.2;
}

.product-detail-price-section {
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
    padding: 20px 0;
}

.detail-price-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-price {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 900;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.05);
}

.detail-price-original {
    font-size: 1.5rem;
    color: #999;
    text-decoration: line-through;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
    font-weight: 600;
}

.product-detail-description {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    padding: 18px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.product-detail-description h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

.detail-list li:last-child {
    border-bottom: none;
}

.detail-list li i {
    color: var(--primary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.product-detail-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn-buy-detail {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-buy-detail:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-buy-detail i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.btn-secondary-detail {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.95rem;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn-secondary-detail:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary-detail i {
    margin-right: 8px;
}

.product-detail-extra {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.extra-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #555;
    font-size: 0.95rem;
}

.extra-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
    width: 30px;
    text-align: center;
}

/* Related Products Carousel */
.related-products-section {
    margin: 60px auto 40px;
    padding: 0 20px;
}

.related-products-section .section-title {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.carousel-wrapper {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease-in-out;
}

.carousel-item {
    flex: 0 0 250px;
    min-width: 250px;
}

.carousel-card {
    display: block;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.carousel-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.carousel-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.carousel-card:hover .carousel-image img {
    transform: scale(1.1);
}

.carousel-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 900;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.carousel-info {
    padding: 15px;
}

.carousel-info h4 {
    font-size: 1rem;
    margin: 0 0 10px 0;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.3;
    min-height: 2.6em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.carousel-price-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.carousel-price {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 800;
}

.carousel-price-original {
    font-size: 0.85rem;
    color: #999;
    text-decoration: line-through;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

/* Footer */
footer {
    background-color: #F2D0DD;
    text-align: center;
    padding: 40px 20px;
    margin-top: 50px;
    color: #2d3436;
}

/* Admin Styles (Basic) */
.admin-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.admin-container h3 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.admin-container label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.admin-container input,
.admin-container textarea,
.admin-container select {
    margin-bottom: 15px;
}

.admin-container table {
    margin-top: 20px;
}

.admin-container table th {
    background-color: var(--primary-color);
    color: white;
}

.tabs {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
}

.tab-link {
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-color);
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.tab-link:hover {
    color: var(--primary-color);
}

.tab-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-danger {
    background-color: #ff6b6b;
    color: white;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    /* Slightly rounder inputs */
    font-family: inherit;
    box-sizing: border-box;
    /* Fix for width overflow */
}

/* Sections */
.section-bg {
    background-color: var(--secondary-color);
    padding: 60px 0;
    margin: 50px 0;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.review-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: #f1c40f;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Contact & Location */
.contact-location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-list {
    list-style: none;
    padding: 0;
    font-size: 1.1rem;
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-list i {
    color: var(--primary-color);
    width: 30px;
    font-size: 1.3rem;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    width: 100%;
    box-sizing: border-box;
}

.map-container iframe {
    width: 100%;
    max-width: 100%;
    display: block;
    box-sizing: border-box;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback: Asegurar que elementos sean visibles en móviles */
@media (max-width: 768px) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
    }

    /* En móviles, el modal no se activa con hover sino con click */
    .product-image-container:hover .product-image-modal {
        opacity: 0;
    }
    
    /* Agregar cursor pointer para indicar que es clickeable */
    .product-image {
        cursor: pointer;
    }
}

/* Floating WhatsApp Widget */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    font-size: 30px;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Promotion Button */
.btn-promotion {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(166, 28, 79, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.btn-promotion:hover {
    transform: scale(1.1) rotateZ(20deg);
    box-shadow: 0 6px 15px rgba(166, 28, 79, 0.6);
}

.btn-promotion i {
    animation: twinkle 1.5s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: white;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 25px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--primary-dark);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    color: white;
    background: none;
    -webkit-text-fill-color: unset;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border-radius: 50%;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(166, 28, 79, 0.15);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #999;
    font-size: 0.85rem;
}

.preview-section {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.preview-section h3 {
    margin-top: 0;
    color: var(--text-color);
}

.promotion-preview {
    display: flex;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #eee;
}

.promotion-preview img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.preview-text {
    flex: 1;
}

.preview-text h4 {
    margin: 0 0 5px 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.preview-text p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 20px 30px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 0 0 20px 20px;
}

.btn-secondary {
    background: #e0e0e0;
    color: var(--text-color);
}

.btn-secondary:hover {
    background: #d0d0d0;
}

/* ============================================
   RESPONSIVE MEDIA QUERIES - CLEAN
   ============================================ */

/* Tablet Large (1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .hero-slider {
        height: 500px;
    }

    .hero-content {
        padding: 30px 40px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
    }

    .contact-location-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    nav {
        gap: 5px;
    }

    nav a {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    /* Product Detail Responsive */
    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }

    .product-detail-title {
        font-size: 2rem;
    }

    .detail-price {
        font-size: 2rem;
    }

    .detail-price-original {
        font-size: 1.2rem;
    }
    
    /* Carousel Responsive */
    .related-products-section {
        margin: 40px auto 30px;
    }
    
    .carousel-item {
        flex: 0 0 220px;
        min-width: 220px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Tablet Small / Mobile Large (768px) */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        width: 100%;
        padding: 0 12px;
        overflow: hidden;
    }

    body {
        overflow-x: hidden;
    }

    .header-container {
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #A61C4F;
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 0;
        z-index: 999;
    }

    nav.active {
        max-height: 400px;
    }

    nav a {
        padding: 15px 20px;
        border-radius: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        justify-content: flex-start;
        font-size: 1rem;
        width: 100%;
        box-sizing: border-box;
        display: flex;
    }

    nav a:last-child {
        border-bottom: none;
    }

    nav a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateX(5px);
    }

    nav a i {
        margin-right: 12px;
    }

    .hero-slider {
        height: 400px;
        margin-bottom: 40px;
    }

    .hero-content {
        padding: 25px 30px;
        max-width: 500px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .promotions-section {
        padding: 40px 20px;
        margin-bottom: 60px;
    }

    .promotions-section .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .promotions-carousel {
        height: auto;
        max-height: 500px;
    }

    .promo-image {
        max-height: 500px;
    }

    .promo-overlay {
        padding: 30px 25px 25px;
    }

    .promo-overlay h2 {
        font-size: 1.8rem;
    }

    .promo-overlay p {
        font-size: 0.95rem;
    }

    .btn-promo {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .promotions-modal-content {
        width: 90vw;
        height: calc(90vw * 1.4);
        max-height: 90vh;
    }

    .promotions-modal-close {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .category-filter {
        gap: 10px;
        margin-bottom: 30px;
    }

    .category-filter a {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .product-image-container {
        height: 200px;
    }

    .product-info {
        padding: 15px;
    }

    .product-name {
        font-size: 1.1rem;
    }

    .product-description {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .product-price {
        font-size: 1.2rem;
    }

    .btn-buy {
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .discounts-section {
        padding: 30px 15px;
        margin-bottom: 30px;
        border-radius: 15px;
        margin-left: 0;
        margin-right: 0;
    }

    .discounts-section .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .discounts-section .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
        padding: 10px;
    }

    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }

    /* Product Detail Responsive */
    .product-detail-container {
        padding: 15px;
    }

    .product-detail {
        padding: 25px;
        gap: 25px;
    }

    .product-detail-title {
        font-size: 1.8rem;
    }

    .product-detail-description h3 {
        font-size: 1.3rem;
    }

    .detail-list li {
        font-size: 0.95rem;
    }

    .product-detail-actions {
        flex-direction: column;
    }

    .btn-buy-detail,
    .btn-secondary-detail {
        padding: 15px 25px;
        font-size: 1rem;
    }

    .btn-promotion {
        margin-left: 0;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .modal-content {
        width: 95%;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-header h2 {
        font-size: 1.4rem;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-footer {
        flex-direction: column-reverse;
        padding: 15px 20px;
    }

    .btn {
        width: 100%;
    }

    .promotion-preview {
        flex-direction: column;
    }

    .promotion-preview img {
        width: 100%;
        height: 150px;
    }
}

/* Mobile (599px) */
@media (max-width: 599px) {
    .container {
        padding: 0 10px;
        overflow: hidden;
    }

    body {
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }

    .header-container {
        padding: 0 10px;
    }

    .logo img {
        height: 80px;
        margin-right: 8px;
    }

    .hero-slider {
        height: 300px;
        margin-bottom: 30px;
    }

    .hero-content {
        padding: 20px 20px;
        max-width: 90%;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .btn-hero {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .promotions-section {
        padding: 30px 15px;
        margin-bottom: 40px;
        border-radius: 15px;
    }

    .promotions-section .section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .promotions-section .section-title::before {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .promo-overlay {
        padding: 20px 15px 15px;
    }

    .promo-overlay h2 {
        font-size: 1.3rem;
    }

    .promo-overlay p {
        font-size: 0.85rem;
        max-width: 100%;
    }

    .btn-promo {
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    /* Product Detail Responsive */
    .product-detail {
        padding: 20px;
    }

    .product-detail-title {
        font-size: 1.5rem;
    }

    .detail-price {
        font-size: 1.8rem;
    }

    .detail-price-original {
        font-size: 1.1rem;
    }

    .product-detail-description {
        padding: 20px;
    }

    .product-detail-description h3 {
        font-size: 1.2rem;
    }

    .detail-list li {
        font-size: 0.9rem;
        padding: 10px 0;
    }

    .btn-buy-detail,
    .btn-secondary-detail {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .product-detail-extra {
        padding: 20px;
    }

    .extra-item {
        font-size: 0.85rem;
    }

    .extra-item i {
        font-size: 1.1rem;
    }

    /* Carousel Responsive */
    .related-products-section {
        margin: 30px auto 25px;
        padding: 0 10px;
    }
    
    .carousel-container {
        padding: 0 40px;
    }
    
    .carousel-item {
        flex: 0 0 180px;
        min-width: 180px;
    }
    
    .carousel-image {
        height: 150px;
    }
    
    .carousel-info {
        padding: 12px;
    }
    
    .carousel-info h4 {
        font-size: 0.9rem;
        min-height: 2.4em;
    }
    
    .carousel-price {
        font-size: 1rem;
    }
    
    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 40px;
        padding: 5px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .discounts-section .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 5px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .category-filter {
        gap: 8px;
        margin-bottom: 20px;
    }

    .category-filter a {
        padding: 8px 14px;
        font-size: 0.8rem;
        gap: 5px;
    }

    .product-image-container {
        height: 150px;
    }

    .product-info {
        padding: 12px;
    }

    .product-name {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .product-description {
        font-size: 0.75rem;
        margin-bottom: 10px;
        display: none;
    }

    .product-price {
        font-size: 1rem;
    }

    .btn-buy {
        padding: 6px 12px;
        font-size: 0.8rem;
        width: 100%;
        justify-content: center;
    }

    .btn-buy i {
        margin-right: 4px;
    }

    .discounts-section {
        padding: 30px 15px;
        margin-bottom: 30px;
    }

    .discounts-section .section-title {
        font-size: 1.5rem;
    }

    .contact-location-grid {
        gap: 20px;
    }

    .contact-list {
        font-size: 1rem;
    }

    .contact-list li {
        margin-bottom: 12px;
    }

    .floating-whatsapp {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .btn-promotion {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-left: 0;
    }

    footer {
        padding: 30px 15px;
        font-size: 0.9rem;
    }

    .modal-content {
        width: 95%;
    }

    .modal-header h2 {
        font-size: 1.2rem;
    }
}

/* Extra Small (479px) */
@media (max-width: 479px) {
    .container {
        padding: 0 8px;
        overflow: hidden;
    }

    body {
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }

    .header-container {
        padding: 0 8px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo img {
        height: 70px;
        margin-right: 5px;
    }

    nav a {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .hero-slider {
        height: 250px;
        margin-bottom: 20px;
    }

    .hero-content {
        padding: 15px 15px;
    }

    .hero-content h1 {
        font-size: 1.2rem;
    }

    .hero-content p {
        font-size: 0.8rem;
    }

    .promotions-section {
        padding: 20px 10px;
        margin-bottom: 30px;
    }

    /* Product Detail Responsive */
    .back-link {
        font-size: 0.85rem;
        padding: 8px 15px;
        margin-bottom: 20px;
    }

    .product-detail-container {
        margin: 20px auto;
        padding: 10px;
    }

    .product-detail {
        padding: 15px;
        gap: 20px;
    }

    .product-detail-title {
        font-size: 1.3rem;
    }

    .detail-price {
        font-size: 1.5rem;
    }

    .detail-price-original {
        font-size: 1rem;
    }

    .detail-discount-badge {
        padding: 8px 15px;
        font-size: 0.9rem;
        top: 10px;
        right: 10px;
    }

    .product-detail-description {
        padding: 15px;
    }

    .product-detail-description h3 {
        font-size: 1.1rem;
    }

    .detail-list li {
        font-size: 0.85rem;
        padding: 8px 0;
    }

    .btn-buy-detail,
    .btn-secondary-detail {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .btn-buy-detail i,
    .btn-secondary-detail i {
        font-size: 1rem;
    }

    .product-detail-extra {
        padding: 15px;
    }

    .extra-item {
        font-size: 0.8rem;
        gap: 10px;
    }

    .extra-item i {
        font-size: 1rem;
        width: 25px;
    }

    /* Carousel Responsive */
    .related-products-section {
        margin: 25px auto 20px;
        padding: 0 5px;
    }
    
    .related-products-section .section-title {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
    
    .carousel-container {
        padding: 0 35px;
    }
    
    .carousel-item {
        flex: 0 0 160px;
        min-width: 160px;
    }
    
    .carousel-image {
        height: 130px;
    }
    
    .carousel-info {
        padding: 10px;
    }
    
    .carousel-info h4 {
        font-size: 0.85rem;
        min-height: 2.2em;
    }
    
    .carousel-price {
        font-size: 0.95rem;
    }
    
    .carousel-price-original {
        font-size: 0.75rem;
    }
    
    .carousel-discount-badge {
        font-size: 0.65rem;
        padding: 4px 8px;
    }
    
    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .promotions-section .section-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .promotions-section .section-title::before {
        font-size: 1.2rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 30px;
        padding: 5px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .discounts-section .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 5px;
    }

    .section-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .category-filter a {
        padding: 7px 12px;
        font-size: 0.75rem;
    }

    .product-image-container {
        height: 200px;
    }

    .product-info {
        padding: 10px;
    }

    .product-name {
        font-size: 0.9rem;
    }

    .product-price {
        font-size: 0.95rem;
    }

    .btn-buy {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .floating-whatsapp {
        bottom: 10px;
        right: 10px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    footer {
        padding: 20px 10px;
        font-size: 0.85rem;
    }
}
