:root {
    /* Standard Contrast: WCAG AA Compliant */
    --primary-color: #0E7985;
    /* Darkened for >4.5:1 contrast against white */
    --primary-dark: #0A5C66;
    --secondary-color: #D67A98;
    /* Darkened for better visibility */
    --accent-color: #FDC8D8;
    --accent-light: #FFF0F5;
    --background-color: #FAFAFA;
    --cream-color: #F2EBE5;
    --beige-color: #E6DDD5;
    --text-color: #424242;
    /* WCAG standard dark grey */
    --text-light: #616161;
    --text-dark: #121212;
    --card-bg: rgba(255, 255, 255, 0.95);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
    --font-primary: 'Outfit', sans-serif;
    --font-elegant: 'Playfair Display', serif;
    --transition-speed: 0.3s;
    --border-radius: 16px;
    --header-bg: rgba(255, 255, 255, 0.98);
    --footer-form-bg: #212121;
    --white-surface: #FFFFFF;
    /* For elements with white background */
    --border-subtle: rgba(0, 0, 0, 0.08);
}

/* Dark Mode Variables - Based on Logo Colors */
[data-theme="dark"] {
    --primary-color: #4DD0E1;
    /* Lighter teal for readability on dark surfaces */
    --primary-dark: #26C6DA;
    --secondary-color: #E8A4B8;
    /* Lighter pink for dark mode */
    --accent-color: #F5D0DC;
    /* Lighter accent for visibility */
    --accent-light: #2A2025;
    /* Dark pink-tinted surface */
    --background-color: #121212;
    /* Standard dark mode background */
    --cream-color: #1E1E1E;
    /* Elevated surface */
    --beige-color: #2C2C2C;
    --text-color: #EEEEEE;
    /* High emphasis text */
    --text-light: #B0B0B0;
    /* Medium emphasis text */
    --text-dark: #FFFFFF;
    --card-bg: #1E1E1E;
    /* Solid background for better performance/contrast */
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --header-bg: rgba(18, 18, 18, 0.98);
    --footer-form-bg: #000000;
    --white-surface: #1E1E1E;
    /* For elements that are white in light mode */
    --border-subtle: rgba(255, 255, 255, 0.1);
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Accessibility - Focus States */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Screen Reader Only - Accesibilidad */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip Link - Accesibilidad */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    z-index: 1001;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 8px 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}


.decorative-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.25;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    top: -200px;
    left: -200px;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: rgba(32, 141, 154, 0.12);
    bottom: -250px;
    right: -250px;
    animation-delay: -10s;
}

.decorative-leaf {
    position: fixed;
    width: 150px;
    height: 150px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 10 Q70 30 60 50 Q80 60 70 80 Q50 70 40 80 Q30 60 40 50 Q20 30 50 10' fill='%23208D9A' opacity='0.08'/%3E%3C/svg%3E") no-repeat center;
    z-index: -1;
    opacity: 0.5;
}

.leaf-1 {
    top: 20%;
    right: 5%;
    transform: rotate(25deg);
}

.leaf-2 {
    bottom: 30%;
    left: 5%;
    transform: rotate(-35deg);
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, 30px) rotate(5deg);
    }

    50% {
        transform: translate(40px, 20px) rotate(-5deg);
    }

    75% {
        transform: translate(10px, 40px) rotate(3deg);
    }
}

/* ==================== CREATIVE ANIMATIONS ==================== */

/* Shimmer effect for badges */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Gentle pulse for interactive elements - simplified */
@keyframes gentle-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Fade in up animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for cards */
@keyframes staggerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Skeleton loading animation */
@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

/* Glow animation */
@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(32, 141, 154, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(32, 141, 154, 0.5));
    }
}

/* Ripple effect */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Bounce in animation */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 1000;
    transition: width 0.1s ease-out;
    border-radius: 0 2px 2px 0;
}

/* ==================== HEADER ==================== */
.main-header {
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.main-header.header-hidden {
    transform: translateY(-100%);
}

.main-header.header-scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Spacer to prevent content jump when header is fixed */
.header-spacer {
    height: 0;
    transition: height 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header Actions (Theme Toggle + Cart) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: var(--cream-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    color: var(--text-color);
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(15deg);
}

.theme-toggle .sun-icon {
    position: absolute;
    transition: all 0.3s ease;
    opacity: 1;
    transform: rotate(0deg);
}

.theme-toggle .moon-icon {
    position: absolute;
    transition: all 0.3s ease;
    opacity: 0;
    transform: rotate(-90deg);
}

[data-theme="dark"] .theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="dark"] .theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}



.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 110;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.logo:hover {
    transform: scale(1.05);
}

.cart-icon {
    padding: 8px;
    color: var(--primary-color);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.header-text {
    text-align: center;
    padding: 1.5rem 1rem 2rem;
    background: linear-gradient(to bottom, transparent, var(--cream-color) 60%);
}

.header-text h1 {
    font-family: var(--font-elegant);
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary-color), #2ab0c0, var(--secondary-color), var(--primary-color));
    background-size: 300% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 8s ease-in-out infinite;
}

.tagline {
    font-family: var(--font-elegant);
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.header-description {
    font-size: 0.95rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white-surface);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.1);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 105;
    padding-top: 100px;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav ul {
    list-style: none;
    padding: 2rem;
}

.mobile-nav li {
    margin-bottom: 1rem;
}

.mobile-nav a {
    display: block;
    padding: 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    background: var(--cream-color);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    background: linear-gradient(135deg, var(--cream-color) 0%, var(--beige-color) 100%);
    padding: 5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--background-color), transparent);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #2ab0c0, var(--primary-color));
    background-size: 200% 100%;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    animation: shimmer 4s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(32, 141, 154, 0.3);
    position: relative;
    overflow: hidden;
}

.about-section h2 {
    font-family: var(--font-elegant);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.highlight-text {
    font-size: 1.3rem !important;
    color: var(--primary-color) !important;
    font-weight: 600;
}

.product-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin: 2rem 0 !important;
}

.product-types span {
    background: var(--white-surface);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-types span:hover {
    background: linear-gradient(135deg, var(--primary-color), #2ab0c0);
    color: white;
}

.subtitle {
    font-style: italic;
    color: var(--secondary-color) !important;
    font-size: 1.1rem !important;
}

/* ==================== MARQUEE BANNER ==================== */
.marquee-banner {
    background: linear-gradient(135deg, var(--primary-color), #2ab0c0);
    padding: 0.9rem 0;
    overflow: hidden;
    position: relative;
}

.marquee-banner::before,
.marquee-banner::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.marquee-banner::before {
    left: 0;
    background: linear-gradient(to right, var(--primary-color), transparent);
}

.marquee-banner::after {
    right: 0;
    background: linear-gradient(to left, #2ab0c0, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 0 1.5rem;
}

.marquee-item {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.marquee-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.marquee-icon {
    vertical-align: middle;
    margin-right: 0.3rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Dark mode */
[data-theme="dark"] .marquee-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

[data-theme="dark"] .marquee-banner::before {
    background: linear-gradient(to right, var(--primary-dark), transparent);
}

[data-theme="dark"] .marquee-banner::after {
    background: linear-gradient(to left, var(--primary-color), transparent);
}

[data-theme="dark"] .marquee-item {
    color: #121212;
}

/* Responsive */
@media (max-width: 768px) {
    .marquee-banner {
        padding: 0.7rem 0;
    }

    .marquee-item {
        font-size: 0.85rem;
    }

    .marquee-content {
        gap: 2rem;
    }

    .marquee-banner::before,
    .marquee-banner::after {
        width: 40px;
    }
}

/* ==================== PRODUCTS SECTION ==================== */
.products-section {
    padding: 5rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.products-section h3 {
    font-family: var(--font-elegant);
    color: var(--primary-color);
    font-size: 2.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Category Filters */
.category-filters-wrapper {
    position: relative;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin: 2rem auto 3rem;
    padding: 0 1rem;
    max-width: 1200px;
}

/* Mobile Category Filters - Horizontal Scroll */
@media (max-width: 768px) {
    .category-filters-wrapper {
        position: relative;
    }

    /* Indicadores de scroll fade */
    .category-filters-wrapper::before,
    .category-filters-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 30px;
        z-index: 2;
        pointer-events: none;
    }

    .category-filters-wrapper::before {
        left: 0;
        background: linear-gradient(to right, var(--background-color), transparent);
    }

    .category-filters-wrapper::after {
        right: 0;
        background: linear-gradient(to left, var(--background-color), transparent);
    }

    .category-filters {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0.5rem 1rem;
        gap: 0.6rem;
        margin: 1.5rem 0 2rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .category-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        scroll-snap-align: start;
        flex-shrink: 0;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .filter-btn span:not(.filter-icon):not(.filter-count) {
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .filter-btn .filter-count {
        display: none;
    }
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    background: var(--white-surface);
    border: 2px solid var(--cream-color);
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: transparent;
}

/* Product count badge on filter */
.filter-btn .filter-count {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.7rem;
    margin-left: 0.3rem;
}

.filter-btn:not(.active) .filter-count {
    background: var(--cream-color);
    color: var(--text-light);
}

.filter-icon {
    font-size: 1.1rem;
}

/* Product Category Badge */
.product-category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.carousel-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.carousel-track-container {
    overflow: hidden;
    flex: 1;
    border-radius: var(--border-radius);
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 0;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white-surface);
    border: 2px solid var(--cream-color);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--beige-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    padding: 0;
}

.carousel-dot:hover {
    background: var(--primary-color);
    opacity: 0.7;
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 0 4px rgba(32, 141, 154, 0.2);
}

/* Catalog CTA Button */
.catalog-cta {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.catalog-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), #2ab0c0);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(32, 141, 154, 0.3);
    animation: catalog-btn-glow 2.5s ease-in-out infinite;
}

@keyframes catalog-btn-glow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(32, 141, 154, 0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(32, 141, 154, 0.5);
    }
}

.catalog-btn:hover {
    box-shadow: 0 6px 25px rgba(32, 141, 154, 0.35);
}

.catalog-btn:hover svg {
    transform: translateX(4px);
}

.catalog-btn svg {
    transition: transform 0.3s ease;
}

[data-theme="dark"] .catalog-btn {
    box-shadow: 0 4px 20px rgba(77, 208, 225, 0.3);
}

[data-theme="dark"] .catalog-btn:hover {
    box-shadow: 0 8px 30px rgba(77, 208, 225, 0.4);
}

/* Product Cards */
.product-card {
    min-width: 300px;
    max-width: 320px;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 1px solid var(--border-subtle);
    position: relative;
    flex-shrink: 0;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
    cursor: pointer;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color), var(--secondary-color));
    background-size: 200% 100%;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 5;
    animation: shimmer 3s ease-in-out infinite;
    box-shadow: 0 2px 10px rgba(214, 122, 152, 0.4);
}

.product-badge.principal {
    background: linear-gradient(135deg, var(--primary-color), #2ab0c0, var(--primary-color));
    background-size: 200% 100%;
    box-shadow: 0 2px 10px rgba(32, 141, 154, 0.4);
}

.product-badge.popular {
    background: linear-gradient(135deg, #FFD700, #FFA500, #FFD700);
    background-size: 200% 100%;
    color: #333;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
}

.product-badge.nuevo {
    background: linear-gradient(135deg, #00C853, #69F0AE, #00C853);
    background-size: 200% 100%;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 200, 83, 0.4);
}

.product-badge.mas-vendido {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E, #FF6B6B);
    background-size: 200% 100%;
    color: white;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.4);
}

.product-image-container {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(
        90deg,
        var(--cream-color) 0px,
        var(--beige-color) 40px,
        var(--cream-color) 80px
    );
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite linear;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.4s ease;
}

.product-image-container img[src] {
    animation: fadeInUp 0.5s ease-out;
}

.product-card:hover .product-image-container img {
    transform: scale(1.03);
}

/* Image overlay on hover */
.product-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.3) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-image-container::after {
    opacity: 1;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.product-title {
    font-family: var(--font-elegant);
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s ease;
}

.product-card:hover .product-title {
    color: var(--primary-color);
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-price::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: gentle-pulse 2s ease-in-out infinite;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 0.9rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0.6rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.whatsapp-btn:hover::before {
    left: 100%;
}

.whatsapp-btn:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.whatsapp-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.whatsapp-btn svg {
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover svg {
    transform: rotate(-15deg) scale(1.1);
}

/* ==================== FEATURES SECTION ==================== */
.features-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white-surface);
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.05);
    margin-bottom: 4rem;
}

.feature {
    text-align: center;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.feature:hover {
    background: var(--cream-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, var(--cream-color), var(--beige-color));
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-color), #2ab0c0);
    color: white;
}

.feature h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.feature:hover h4 {
    color: var(--primary-color);
}

.feature p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-section {
    padding: 4rem 1.5rem;
    background: var(--cream-color);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-section .section-header {
    margin-bottom: 2.5rem;
}

.testimonials-section h3 {
    font-family: var(--font-elegant);
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--white-surface);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    display: flex;
    gap: 0.2rem;
    color: #FFB800;
}

.testimonial-stars svg {
    width: 16px;
    height: 16px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.7;
    font-style: italic;
    flex-grow: 1;
    margin: 0;
}

.testimonial-text::before {
    content: '"';
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    line-height: 0;
    vertical-align: bottom;
    margin-right: 0.2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid var(--cream-color);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #2ab0c0);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.testimonial-product {
    display: inline-block;
    background: var(--cream-color);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    width: fit-content;
}

/* Dark Mode */
[data-theme="dark"] .testimonials-section {
    background: var(--beige-color);
}

[data-theme="dark"] .testimonial-card {
    background: var(--card-bg);
}

[data-theme="dark"] .testimonial-author {
    border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .testimonial-product {
    background: rgba(77, 208, 225, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 1rem;
    }

    .testimonials-section h3 {
        font-size: 1.6rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== TRUST BADGES ==================== */
.trust-badges-section {
    background: linear-gradient(135deg, var(--primary-color), #2ab0c0);
    padding: 2rem 1rem;
    margin-bottom: 0;
}

.trust-badges-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    flex: 1;
    min-width: 220px;
    max-width: 280px;
}

.trust-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon svg {
    stroke: white;
}

.trust-text {
    display: flex;
    flex-direction: column;
    color: white;
}

.trust-text strong {
    font-size: 0.95rem;
    font-weight: 600;
}

.trust-text span {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Dark mode */
[data-theme="dark"] .trust-badges-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

[data-theme="dark"] .trust-text {
    color: #121212;
}

[data-theme="dark"] .trust-icon svg {
    stroke: #121212;
}

[data-theme="dark"] .feature-icon {
    background: linear-gradient(135deg, var(--beige-color), var(--card-bg));
}

[data-theme="dark"] .feature:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-color), #26C6DA);
    color: #121212;
}

/* Responsive */
@media (max-width: 768px) {
    .trust-badges-container {
        gap: 1rem;
    }

    .trust-badge {
        min-width: calc(50% - 0.5rem);
        padding: 0.8rem 1rem;
    }

    .trust-icon {
        font-size: 1.5rem;
    }

    .trust-text strong {
        font-size: 0.85rem;
    }

    .trust-text span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .trust-badge {
        min-width: 100%;
        max-width: 100%;
    }
}

/* ==================== FOOTER ==================== */
.professional-footer {
    background: var(--cream-color);
    overflow: visible;
    position: relative;
    padding-top: 2rem;
}


/* Instagram Feed Section */
.instagram-section {
    padding: 3rem 2rem;
    background: var(--white-surface);
    max-width: 800px;
    margin: 0 auto 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.instagram-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--cream-color);
    margin-bottom: 1.5rem;
}

.instagram-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.instagram-info {
    flex: 1;
}

.instagram-handle {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
}

.instagram-handle:hover {
    color: var(--primary-color);
}

.instagram-tagline {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.2rem;
}

.instagram-follow-btn {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.instagram-follow-btn:hover {
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.instagram-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-bottom: 1.5rem;
}

.instagram-post {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border-radius: 4px;
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.3s ease;
}

.instagram-post:hover img {
    transform: scale(1.05);
}

.instagram-post::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        rgba(240, 148, 51, 0.3),
        rgba(220, 39, 67, 0.3),
        rgba(188, 24, 136, 0.3)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.instagram-post::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 40px;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.instagram-post:hover::before {
    opacity: 1;
}

.instagram-post:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.instagram-cta {
    display: block;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    padding: 1rem;
    border-top: 1px solid var(--cream-color);
    transition: all 0.3s ease;
}

.instagram-cta:hover {
    color: var(--primary-dark);
    background: var(--cream-color);
}

/* Dark mode adjustments for Instagram section */
[data-theme="dark"] .instagram-section {
    background: var(--card-bg);
}

[data-theme="dark"] .instagram-header {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .instagram-cta {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ==================== DARK MODE COMPLETE FIXES ==================== */

/* Mobile Navigation - Dark Mode */
[data-theme="dark"] .mobile-nav {
    background: var(--card-bg);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .mobile-nav a {
    color: var(--text-color);
}

[data-theme="dark"] .mobile-nav a:hover {
    background: var(--beige-color);
    color: var(--primary-color);
}

/* Product Types Tags - Dark Mode */
[data-theme="dark"] .product-types span {
    background: var(--beige-color);
    color: var(--text-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .product-types span:hover {
    background: var(--primary-color);
    color: #121212;
}

/* Filter Buttons - Dark Mode */
[data-theme="dark"] .filter-btn {
    background: var(--card-bg);
    border-color: var(--beige-color);
    color: var(--text-color);
}

[data-theme="dark"] .filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(77, 208, 225, 0.2);
}

[data-theme="dark"] .filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #26C6DA);
    color: #121212;
    border-color: transparent;
}

/* Product Category Badge - Dark Mode */
[data-theme="dark"] .product-category-badge {
    background: rgba(30, 30, 30, 0.95);
    color: var(--text-color);
}

/* Product Card - Dark Mode */
[data-theme="dark"] .product-card {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .product-card:hover {
    box-shadow: 0 20px 50px rgba(77, 208, 225, 0.15);
}

/* Product Badge - Dark Mode */
[data-theme="dark"] .product-badge {
    color: #121212;
}

[data-theme="dark"] .product-badge.principal {
    color: #121212;
}

/* Carousel Buttons - Dark Mode */
[data-theme="dark"] .carousel-btn {
    background: var(--card-bg);
    border-color: var(--beige-color);
    color: var(--primary-color);
}

[data-theme="dark"] .carousel-btn:hover {
    background: var(--primary-color);
    color: #121212;
    border-color: var(--primary-color);
}

/* Features Section - Dark Mode */
[data-theme="dark"] .features-section {
    background: var(--card-bg);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

/* Header Border - Dark Mode */
[data-theme="dark"] .main-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* About Section gradient fix */
[data-theme="dark"] .about-section::before {
    background: linear-gradient(to bottom, var(--background-color), transparent);
}

/* Section Badge - Dark Mode */
[data-theme="dark"] .section-badge {
    color: #121212;
}

/* Highlight Text - Dark Mode */
[data-theme="dark"] .highlight-text {
    color: var(--primary-color) !important;
}

/* Subtitle (italic) - Dark Mode */
[data-theme="dark"] .subtitle {
    color: var(--secondary-color) !important;
}

/* Instagram Handle - Dark Mode */
[data-theme="dark"] .instagram-handle {
    color: var(--text-dark);
}

[data-theme="dark"] .instagram-handle:hover {
    color: var(--primary-color);
}

/* Footer Brand - Dark Mode */
[data-theme="dark"] .footer-brand {
    background: var(--card-bg);
}

/* Professional Footer - Dark Mode */
[data-theme="dark"] .professional-footer {
    background: var(--beige-color);
}

/* Header Text Gradient - Dark Mode */
[data-theme="dark"] .header-text {
    background: linear-gradient(to bottom, transparent, var(--cream-color) 60%);
}

[data-theme="dark"] .header-text h1 {
    background: linear-gradient(135deg, var(--primary-color), #4DD0E1);
    background-clip: text;
    -webkit-background-clip: text;
}

/* Tagline - Dark Mode */
[data-theme="dark"] .tagline {
    color: var(--secondary-color);
}

/* Scroll Progress - Dark Mode */
[data-theme="dark"] .scroll-progress {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Feature hover - Dark Mode */
[data-theme="dark"] .feature:hover {
    background: var(--beige-color);
}

/* About section h2 underline - Dark Mode */
[data-theme="dark"] .about-section h2::after {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Product card border on hover - Dark Mode */
[data-theme="dark"] .product-card:hover {
    border-color: var(--primary-color);
}

/* Filter count badge - Dark Mode */
[data-theme="dark"] .filter-btn:not(.active) .filter-count {
    background: var(--beige-color);
    color: var(--text-light);
}

/* Category filters wrapper fade - Dark Mode */
@media (max-width: 768px) {
    [data-theme="dark"] .category-filters-wrapper::before {
        background: linear-gradient(to right, var(--background-color), transparent);
    }

    [data-theme="dark"] .category-filters-wrapper::after {
        background: linear-gradient(to left, var(--background-color), transparent);
    }
}

/* WhatsApp Button Text - Dark Mode */
[data-theme="dark"] .whatsapp-btn {
    color: white;
}

/* Blobs - Dark Mode (reduce opacity) */
[data-theme="dark"] .decorative-blob {
    opacity: 0.2;
}

[data-theme="dark"] .blob-1 {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-light));
}

[data-theme="dark"] .blob-2 {
    background: rgba(77, 208, 225, 0.15);
}

/* Decorative Leaves - Dark Mode */
[data-theme="dark"] .decorative-leaf {
    opacity: 0.3;
}



.footer-brand {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--white-surface);
}

.footer-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.brand-tagline {
    font-family: var(--font-elegant);
    font-style: italic;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.brand-type {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form-section {
    background: #2D2D2D;
    padding: 3rem 2rem;
    text-align: center;
}

.whatsapp-form-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.whatsapp-form-icon {
    animation: gentle-pulse 2s ease-in-out infinite;
}

.contact-form-section h3 {
    color: white;
    font-family: var(--font-elegant);
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
}

.whatsapp-form-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: transparent;
    color: white;
    border: 2px solid #25D366;
    font-family: var(--font-primary);
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    transition: left 0.4s ease;
    z-index: -1;
}

.submit-btn:hover {
    border-color: #25D366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.submit-btn:hover::before {
    left: 0;
}

.submit-btn:hover svg {
    transform: rotate(-15deg) scale(1.1);
}

.submit-btn svg {
    transition: transform 0.3s ease;
}

.submit-btn:active {
    transform: translateY(0);
}

.footer-bottom {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.heart {
    color: var(--accent-color);
    animation: heartbeat 1.5s infinite;
    display: inline-block;
}

@keyframes heartbeat {

    0%,
    30%,
    100% {
        transform: scale(1);
    }

    15%,
    45% {
        transform: scale(1.15);
    }
}

/* ==================== WHATSAPP FLOATING BUTTON ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ==================== SCROLL TO TOP BUTTON ==================== */
.scroll-to-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .features-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .header-text h1 {
        font-size: 2.2rem;
    }

    .about-section h2 {
        font-size: 2rem;
    }

    .products-section h3 {
        font-size: 1.8rem;
    }

    .carousel-container {
        flex-direction: column;
    }

    .carousel-track-container {
        order: 1;
        width: 100%;
    }

    .carousel-btn {
        display: none;
    }

    .carousel-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 1rem;
        gap: 1rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
        transform: none !important;
    }

    .carousel-track::-webkit-scrollbar {
        display: none;
    }

    .product-card {
        scroll-snap-align: center;
        min-width: calc(100vw - 3rem);
        max-width: calc(100vw - 3rem);
        flex-shrink: 0;
    }

    .carousel-track-container {
        overflow: visible;
    }

    .features-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 2rem 1rem;
        margin: 0 1rem 2rem;
    }

    .feature {
        padding: 1.5rem 0.5rem;
    }

    .instagram-banner {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 50px;
        height: 50px;
    }

    .header-text h1 {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .header-description {
        font-size: 0.85rem;
    }

    .about-section {
        padding: 3rem 1rem;
    }

    .about-section h2 {
        font-size: 1.7rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .product-types span {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .product-card {
        min-width: calc(100vw - 2.5rem);
        max-width: calc(100vw - 2.5rem);
    }

    .product-image-container {
        height: 220px;
    }

    /* Categorías más compactas en móvil pequeño */
    .filter-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }

    .filter-btn .filter-icon {
        font-size: 1rem;
    }

    .filter-btn span:not(.filter-icon):not(.filter-count) {
        max-width: 65px;
    }

    .features-section {
        grid-template-columns: 1fr 1fr;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature h4 {
        font-size: 0.95rem;
    }

    .feature p {
        font-size: 0.8rem;
    }

    .instagram-handle {
        font-size: 1.4rem;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        left: 20px;
    }
}