/**
 * Frontend Main Styles - Modern Edition
 * Color Palette: Beige, Verde, Terracota
 * Typography: Cormorant Garamond + Inter
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    /* Primary Colors */
    --color-beige: #F5F0E8;
    --color-beige-dark: #E8DFD0;
    --color-beige-light: #FAF8F5;

    --color-verde: #5C7A5E;
    --color-verde-claro: #8BA88C;
    --color-verde-oscuro: #456347;

    --color-terracota: #C17F59;
    --color-terracota-claro: #D9A384;
    --color-terracota-oscuro: #A66842;

    /* Neutrals */
    --color-texto: #3D3D3D;
    --color-texto-claro: #6B6B6B;
    --color-texto-muted: #999;
    --color-white: #FFFFFF;
    --color-black: #1A1A1A;

    /* Status Colors */
    --color-success: #5C7A5E;
    --color-warning: #E9B44C;
    --color-danger: #C45B4C;
    --color-info: #6B8E9F;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    --spacing-xxxl: 5rem;

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Borders */
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-pill: 50px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(92, 122, 94, 0.2);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-texto);
    background-color: var(--color-white);
    overflow-x: hidden;
}

::selection {
    background: var(--color-verde);
    color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-black);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
    color: var(--color-verde);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-verde-oscuro);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Modern Buttons
   ========================================================================== */
.btn {
    font-family: var(--font-body);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: var(--color-verde);
    border-color: var(--color-verde);
    color: var(--color-white);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--color-verde-oscuro);
    border-color: var(--color-verde-oscuro);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(92, 122, 94, 0.3);
}

.btn-secondary {
    background-color: var(--color-terracota);
    border-color: var(--color-terracota);
    color: var(--color-white);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--color-terracota-oscuro);
    border-color: var(--color-terracota-oscuro);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--color-verde);
    border-color: var(--color-verde);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--color-verde);
    border-color: var(--color-verde);
    color: var(--color-white);
}

/* Modern Button Styles */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    border-radius: var(--border-radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-modern i {
    transition: transform var(--transition-fast);
}

.btn-modern:hover i {
    transform: translateX(4px);
}

.btn-modern-primary {
    background: var(--color-verde);
    color: var(--color-white);
    border-color: var(--color-verde);
}

.btn-modern-primary:hover {
    background: var(--color-verde-oscuro);
    border-color: var(--color-verde-oscuro);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(92, 122, 94, 0.35);
}

.btn-modern-outline {
    background: transparent;
    color: var(--color-verde);
    border-color: var(--color-verde);
}

.btn-modern-outline:hover {
    background: var(--color-verde);
    color: var(--color-white);
    transform: translateY(-3px);
}

.btn-modern-white {
    background: var(--color-white);
    color: var(--color-verde);
    border-color: var(--color-white);
}

.btn-modern-white:hover {
    background: var(--color-beige);
    color: var(--color-verde-oscuro);
    transform: translateY(-3px);
}

.btn-modern-whatsapp {
    background: #25D366;
    color: var(--color-white);
    border-color: #25D366;
}

.btn-modern-whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
    color: var(--color-white);
    transform: translateY(-3px);
}

/* Hero Button */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    background: var(--color-terracota);
    color: var(--color-white);
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--border-radius-pill);
    transition: all var(--transition-normal);
    border: 2px solid var(--color-terracota);
}

.btn-hero:hover {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
    transform: translateY(-3px);
}

.btn-hero i {
    transition: transform var(--transition-fast);
}

.btn-hero:hover i {
    transform: translateX(6px);
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-control {
    border: 2px solid var(--color-beige-dark);
    border-radius: var(--border-radius);
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--color-verde);
    box-shadow: 0 0 0 4px rgba(92, 122, 94, 0.1);
}

.form-control::placeholder {
    color: var(--color-texto-muted);
}

/* ==========================================================================
   Announcement Bar
   ========================================================================== */
.announcement-bar {
    background: linear-gradient(90deg, var(--color-verde) 0%, var(--color-verde-oscuro) 100%);
    color: var(--color-white);
    padding: 0.625rem 0;
    font-size: 0.875rem;
    text-align: center;
    letter-spacing: 0.02em;
}

.announcement-bar a {
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ==========================================================================
   Header - Planhat Style Dark Glassmorphism
   Ref: background-color:#00000080; backdrop-filter:blur(10px); height:74px
   ========================================================================== */
body {
    padding-top: 74px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.92);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
    height: 74px;
    animation: headerSlideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.site-header.scrolled {
    background-color: rgba(0, 0, 0, 0.92);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

@keyframes headerSlideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-inner {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    max-width: 1246px;
    margin: 0 auto;
    padding: 11px 46px 11px 10px;
}

/* Header Logo */
.header-logo {
    flex: none;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.85;
}

.logo img {
    max-height: 60px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease, opacity 0.2s ease;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.02em;
    display: inline-block;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.logo:hover .logo-text {
    opacity: 0.85;
}

/* Logo Text Effects */
.logo-effect-shine {
    background: linear-gradient(90deg, var(--logo-color, var(--color-verde)) 0%, var(--logo-color, var(--color-verde)) 40%, #fff 50%, var(--logo-color, var(--color-verde)) 60%, var(--logo-color, var(--color-verde)) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: logoShine 3s ease-in-out infinite;
}

.logo-effect-glow {
    text-shadow: 0 0 10px var(--logo-color, var(--color-verde)), 0 0 20px var(--logo-color, var(--color-verde)), 0 0 30px var(--logo-color, var(--color-verde));
    animation: logoGlow 2s ease-in-out infinite alternate;
}

.logo-effect-gradient {
    background: linear-gradient(45deg, var(--color-verde), var(--color-terracota), var(--color-verde));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: logoGradient 3s ease infinite;
}

.logo-effect-metallic {
    background: linear-gradient(135deg, #d4af37 0%, #f9f6e8 25%, #d4af37 50%, #f9f6e8 75%, #d4af37 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: logoMetallic 4s linear infinite;
}

.logo-effect-elegant {
    transition: transform 0.4s ease, letter-spacing 0.4s ease;
}

.logo:hover .logo-effect-elegant {
    transform: scale(1.05);
    letter-spacing: 0.1em;
}

@keyframes logoShine {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

@keyframes logoGlow {
    from { text-shadow: 0 0 5px var(--logo-color, var(--color-verde)), 0 0 10px var(--logo-color, var(--color-verde)); }
    to { text-shadow: 0 0 20px var(--logo-color, var(--color-verde)), 0 0 30px var(--logo-color, var(--color-verde)), 0 0 40px var(--logo-color, var(--color-verde)); }
}

@keyframes logoGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes logoMetallic {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 200%; }
}

/* Logo Stroke Animation Effect */
.logo-stroke-wrapper {
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.logo-stroke-text {
    display: inline-flex;
    position: relative;
}

.logo-stroke-text--shadow {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.15;
    filter: blur(2px);
    pointer-events: none;
}

.logo-stroke-char {
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--logo-color, currentColor);
    animation: logoCharDraw 0.6s cubic-bezier(0.5, 0, 0.5, 1) forwards;
    animation-play-state: running;
}

.logo-stroke-text--shadow .logo-stroke-char {
    -webkit-text-stroke-color: var(--logo-color, currentColor);
}

@keyframes logoCharDraw {
    0% {
        opacity: 0;
        -webkit-text-stroke-width: 0px;
        transform: translateY(5px);
    }
    30% {
        opacity: 1;
        -webkit-text-stroke-width: 2px;
        color: transparent;
    }
    70% {
        -webkit-text-stroke-width: 1.5px;
        color: transparent;
    }
    100% {
        opacity: 1;
        -webkit-text-stroke-width: 0px;
        color: var(--logo-color, currentColor);
        transform: translateY(0);
    }
}

/* Hover replay */
.logo:hover .logo-stroke-char {
    animation: logoCharDrawHover 0.5s cubic-bezier(0.5, 0, 0.5, 1) forwards;
}

@keyframes logoCharDrawHover {
    0% {
        -webkit-text-stroke-width: 0px;
        color: var(--logo-color, currentColor);
    }
    30% {
        -webkit-text-stroke-width: 2px;
        color: transparent;
    }
    70% {
        -webkit-text-stroke-width: 1.5px;
        color: transparent;
    }
    100% {
        -webkit-text-stroke-width: 0px;
        color: var(--logo-color, currentColor);
    }
}

/* Expandable Search (Desktop) */
.header-search-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.header-search-form {
    width: 0;
    overflow: hidden;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-search-wrapper.expanded .header-search-form {
    width: 260px;
    margin-right: 0.5rem;
}

.header-search-input {
    width: 100%;
    height: 38px;
    padding: 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-pill);
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.875rem;
    font-family: var(--font-body);
    color: var(--color-white);
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.header-search-input:focus {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.18);
}

.header-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.header-search-wrapper .search-preview {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 360px;
}

/* Search Results Dropdown - Dark Glassmorphism */
.search-results {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 380px;
    max-height: 420px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    z-index: 1002;
    padding: 0.5rem;
    animation: searchFadeIn 0.2s ease;
}

@keyframes searchFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-results::-webkit-scrollbar {
    width: 4px;
}

.search-results::-webkit-scrollbar-track {
    background: transparent;
}

.search-results::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.15s ease;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.search-result-item img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.search-result-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.search-result-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-title mark {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 2px;
    padding: 0 2px;
}

.search-result-price {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.search-result-empty {
    padding: 1.5rem 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.875rem;
}

.search-result-all {
    display: block;
    text-align: center;
    padding: 0.75rem;
    margin-top: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
    border-radius: 0 0 8px 8px;
}

.search-result-all:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.header-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    border: none;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    animation: navFadeIn 0.5s ease 0.4s both;
}

.header-action:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: translateY(-1px);
}

.header-action i {
    font-size: 1.2rem;
}

.header-action .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 600;
    background: var(--color-terracota);
    color: var(--color-white);
    border-radius: 50%;
}

/* Hamburger Menu Button */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 20px;
}

.hamburger span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger span:nth-child(2) {
    width: 70%;
}

.mobile-menu-trigger.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-trigger.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-trigger.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   Navigation - Planhat Style (Clean, Minimal)
   ========================================================================== */
.header-nav {
    flex: 1 0 0;
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: var(--border-radius);
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    animation: navFadeIn 0.5s ease both;
}

.nav-item:nth-child(1) .nav-link { animation-delay: 0.1s; }
.nav-item:nth-child(2) .nav-link { animation-delay: 0.15s; }
.nav-item:nth-child(3) .nav-link { animation-delay: 0.2s; }
.nav-item:nth-child(4) .nav-link { animation-delay: 0.25s; }
.nav-item:nth-child(5) .nav-link { animation-delay: 0.3s; }
.nav-item:nth-child(6) .nav-link { animation-delay: 0.35s; }

@keyframes navFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

/* Dropdown arrow rotation */
.nav-item.dropdown .nav-link i.bi-chevron-down {
    transition: transform 0.2s ease;
    font-size: 0.7rem;
}

.nav-item.dropdown:hover .nav-link i.bi-chevron-down {
    transform: rotate(180deg);
}

/* Highlight (Ofertas) */
.nav-link.highlight {
    color: var(--color-terracota-claro);
    font-weight: 600;
}

.nav-link.highlight:hover {
    background: rgba(193, 127, 89, 0.2);
    color: var(--color-terracota-claro);
}

.nav-link.highlight.active {
    background: rgba(193, 127, 89, 0.25);
    color: var(--color-terracota-claro);
}

/* ==========================================================================
   Mega Menu - Full Width Planhat Style
   ========================================================================== */
.nav-item.dropdown {
    position: static;
}

/* + icon rotation on hover */
.nav-item.dropdown .nav-link i.bi-plus {
    transition: transform 0.3s ease;
    font-size: 0.7rem;
}

.nav-item.dropdown:hover .nav-link i.bi-plus,
.nav-item.dropdown.mega-open .nav-link i.bi-plus {
    transform: rotate(45deg);
}

.mega-menu {
    position: fixed;
    top: 74px;
    left: 0;
    width: 100vw;
    min-height: 320px;
    padding: 0;
    background: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
}

.nav-item.dropdown:hover > .mega-menu,
.nav-item.dropdown.mega-open > .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mega-menu-inner {
    display: flex;
    align-items: stretch;
    max-width: 1246px;
    margin: 0 auto;
    padding: 3rem 46px;
    gap: 4rem;
    min-height: 320px;
}

/* Left side: category name, subcategories, CTA */
.mega-menu-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mega-menu-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.5rem;
}

.mega-menu-links {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mega-menu-links li a {
    display: inline-block;
    font-family: var(--megamenu-font, var(--font-heading));
    font-size: var(--megamenu-size, 1.05rem);
    font-weight: var(--megamenu-weight, 300);
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    padding: 0.4rem 0;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
    border-bottom: 1px solid transparent;
}

.mega-menu-links li a:hover {
    color: #ffffff;
    letter-spacing: 0.06em;
}

/* When no subcategories, show a nice message */
.mega-menu-content .mega-menu-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.25s ease;
    width: fit-content;
    margin-top: auto;
}

.mega-menu-content .mega-menu-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.mega-menu-content .mega-menu-cta i {
    transition: transform 0.2s ease;
}

.mega-menu-content .mega-menu-cta:hover i {
    transform: translateX(4px);
}

/* Right side: featured image */
.mega-menu-featured {
    flex: 0 0 400px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mega-menu-featured-img {
    width: 100%;
    height: 260px;
    border-radius: 12px;
    overflow: hidden;
}

.mega-menu-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nav-item.dropdown:hover .mega-menu-featured-img img,
.nav-item.dropdown.mega-open .mega-menu-featured-img img {
    transform: scale(1.03);
}

.mega-menu-featured-count {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

/* "Más" Menu - Grid of categories with images and subcategories */
.mega-menu-inner--more {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
    align-items: start;
}

.more-menu-category {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.more-menu-img {
    display: block;
    width: 100%;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
}

.more-menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.more-menu-category:hover .more-menu-img img {
    transform: scale(1.05);
}

.more-menu-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.more-menu-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.more-menu-title:hover {
    color: rgba(255, 255, 255, 0.7);
}

.more-menu-subs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.more-menu-subs li a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 0.15rem 0;
    display: block;
}

.more-menu-subs li a:hover {
    color: #ffffff;
}

/* ==========================================================================
   Mobile Menu Overlay - Glassmorphism
   ========================================================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow);
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    min-height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-menu-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
}

.mobile-menu-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mobile-menu-close:hover {
    background: rgba(255,255,255,0.2);
}

.mobile-menu-search {
    display: flex;
    margin-bottom: 2rem;
}

.mobile-menu-search input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: none;
    border-radius: var(--border-radius-pill) 0 0 var(--border-radius-pill);
    background: rgba(255,255,255,0.15);
    color: var(--color-white);
    font-size: 1rem;
}

.mobile-menu-search input::placeholder {
    color: rgba(255,255,255,0.6);
}

.mobile-menu-search button {
    padding: 0 1.5rem;
    border: none;
    border-radius: 0 var(--border-radius-pill) var(--border-radius-pill) 0;
    background: var(--color-terracota);
    color: var(--color-white);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mobile-menu-search button:hover {
    background: var(--color-terracota-oscuro);
}

.mobile-menu-nav {
    flex: 1;
}

.mobile-menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-nav > ul > li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    color: var(--color-white);
    font-size: 1.375rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all var(--transition-fast);
}

.mobile-menu-nav a:hover {
    color: var(--color-terracota-claro);
    padding-left: 0.5rem;
}

.mobile-menu-nav a.highlight {
    color: var(--color-terracota-claro);
}

.mobile-menu-nav .submenu {
    display: none;
    padding-left: 1rem;
    padding-bottom: 0.5rem;
}

.mobile-menu-nav .has-children.open .submenu {
    display: block;
}

.mobile-menu-nav .submenu a {
    font-size: 1rem;
    font-weight: 400;
    padding: 0.75rem 0;
    color: rgba(255,255,255,0.8);
}

.mobile-menu-nav .has-children > a i {
    transition: transform var(--transition-fast);
}

.mobile-menu-nav .has-children.open > a i {
    transform: rotate(90deg);
}

.mobile-menu-account {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.mobile-menu-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.25rem;
    transition: all var(--transition-fast);
}

.mobile-menu-social a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

/* ==========================================================================
   Main Content
   ========================================================================== */
.site-main {
    min-height: 60vh;
}

/* Section Styles */
.section {
    padding: var(--spacing-xxxl) 0;
    position: relative;
}

.section-header {
    margin-bottom: var(--spacing-xl);
}

.section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--color-beige);
    color: var(--color-verde);
    border-radius: var(--border-radius-pill);
    margin-bottom: 1rem;
}

.section-badge-accent {
    background: var(--color-terracota);
    color: var(--color-white);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 0.75rem;
    text-align: center;
}

.section-title::after {
    display: none;
}

.section-subtitle {
    color: var(--color-texto-claro);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.0625rem;
}

/* Background Variants */
.section-beige {
    background-color: var(--color-beige-light);
}

/* ==========================================================================
   Hero Banner Slider - Full Width Modern
   ========================================================================== */
.hero-banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
}

.hero-slide {
    position: relative;
    height: 75vh;
    min-height: 450px;
    max-height: 700px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero-slide-content-wrap {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 1.5rem 5rem;
    text-align: center;
    color: var(--color-white);
}

.hero-slide-top {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-slide-bottom {
    display: flex;
    justify-content: center;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    color: var(--color-white);
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-white);
    margin-bottom: 1.25rem;
    padding: 0.625rem 1.25rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-pill);
    border: 1px solid rgba(255,255,255,0.2);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-text {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Button - Glass style matching badge */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--border-radius-pill);
    transition: all var(--transition-normal);
    border: 1px solid rgba(255,255,255,0.2);
    animation: fadeInUp 0.8s ease-out 0.8s both;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    background: rgba(255,255,255,0.25);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-hero i {
    transition: transform var(--transition-fast);
}

.btn-hero:hover i {
    transform: translateX(6px);
}

/* Hero Slider Navigation */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.hero-nav:hover {
    background: var(--color-white);
    color: var(--color-verde);
    transform: translateY(-50%) scale(1.1);
}

/* Hero Pagination */
.hero-pagination {
    position: absolute;
    bottom: 30px !important;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--color-white);
    opacity: 0.4;
    margin: 0 6px !important;
    transition: all var(--transition-normal);
    border-radius: 50%;
}

.hero-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 36px;
    border-radius: 6px;
    background: var(--color-terracota);
}

/* Progress bar animation for autoplay */
.hero-swiper .swiper-slide-active .hero-slide-content > * {
    animation-play-state: running;
}

@media (max-width: 991px) {
    .hero-slide {
        height: 65vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-nav {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .hero-prev {
        left: 16px;
    }

    .hero-next {
        right: 16px;
    }
}

@media (max-width: 767px) {
    .hero-slide {
        height: 60vh;
        min-height: 350px;
    }

    .hero-slide-content-wrap {
        padding: 1.5rem 1rem 4rem;
    }

    .hero-slide-content {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-text {
        display: none;
    }

    .hero-nav {
        display: none;
    }

    .btn-hero {
        padding: 0.625rem 1.5rem;
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   Features Marquee Section (Configurable)
   ========================================================================== */
.section-features {
    /* Use CSS variables from inline style, with fallbacks */
    background: var(--features-bg, var(--color-verde));
    color: var(--features-color, var(--color-white));
    padding: 1rem 0;
    overflow: hidden;
}

.features-marquee {
    position: relative;
}

.features-track {
    display: flex;
    /* Use CSS variable for speed, with fallback */
    animation: marquee var(--features-speed, 30s) linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 2.5rem;
    color: inherit;
    white-space: nowrap;
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

a.feature-item:hover {
    opacity: 0.8;
}

.feature-item i {
    font-size: 1.25rem;
    /* Inherit the bar text color by default, can be overridden inline */
    color: inherit;
}

.feature-item span {
    color: inherit;
}

/* ==========================================================================
   Categories Grid - Modern Style
   ========================================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1199px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

.category-card-modern {
    position: relative;
    display: block;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    text-decoration: none;
}

.category-card-image {
    position: absolute;
    inset: 0;
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.category-card-modern:hover .category-card-image img {
    transform: scale(1.1);
}

.category-card-image .category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0,0,0,0.8) 100%);
    transition: all var(--transition-normal);
}

.category-card-modern:hover .category-card-overlay {
    background: linear-gradient(transparent 20%, rgba(92, 122, 94, 0.9) 100%);
}

.category-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: var(--color-white);
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.category-card-modern:hover .category-card-content {
    transform: translateY(0);
}

.category-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--color-white);
}

.category-card-count {
    font-size: 0.8125rem;
    opacity: 0.8;
    display: block;
    margin-bottom: 0.5rem;
}

.category-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-white);
    color: var(--color-verde);
    border-radius: 50%;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-fast);
}

.category-card-modern:hover .category-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   Categories Circular Grid - Modern Elegant Style
   ========================================================================== */
.categories-circular-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 3rem;
}

.category-circular-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 196px;
    transition: transform var(--transition-normal);
}

.category-circular-card:hover {
    transform: translateY(-8px);
}

.category-circular-image {
    position: relative;
    width: 168px;
    height: 168px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-beige-dark);
    box-shadow:
        0 8px 32px rgba(92, 122, 94, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
}

.category-circular-card:hover .category-circular-image {
    box-shadow:
        0 12px 40px rgba(92, 122, 94, 0.25),
        0 4px 16px rgba(0, 0, 0, 0.12);
}

.category-circular-image::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-verde), var(--color-terracota));
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.category-circular-card:hover .category-circular-image::before {
    opacity: 1;
}

.category-circular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.category-circular-card:hover .category-circular-image img {
    transform: scale(1.1);
}

.category-circular-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.category-circular-card:hover .category-circular-glow {
    opacity: 1;
}

.category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-beige-dark) 0%, var(--color-beige) 100%);
    color: var(--color-texto-muted);
    font-size: 2.8rem;
}

.category-circular-content {
    text-align: center;
    margin-top: 1rem;
}

.category-circular-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-texto);
    margin: 0 0 0.25rem;
    transition: color var(--transition-fast);
}

.category-circular-card:hover .category-circular-title {
    color: var(--color-verde);
}

.category-circular-count {
    font-size: 0.85rem;
    color: var(--color-texto-muted);
    display: block;
}

@media (max-width: 991px) {
    .categories-circular-grid {
        gap: 1.5rem 2rem;
    }

    .category-circular-card {
        width: 168px;
    }

    .category-circular-image {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 575px) {
    .categories-circular-grid {
        gap: 1.25rem 1.5rem;
    }

    .category-circular-card {
        width: 140px;
    }

    .category-circular-image {
        width: 112px;
        height: 112px;
    }

    .category-circular-title {
        font-size: 1rem;
    }

    .category-circular-count {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   Product Cards - Ultra Modern Style
   ========================================================================== */
.product-card {
    --card-radius: var(--border-radius-lg);
    background: var(--color-white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--card-radius);
    padding: 1px;
    background: linear-gradient(135deg, transparent 50%, var(--color-verde-claro) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
    z-index: 1;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
}

.product-card:hover::before {
    opacity: 1;
}

/* Media Container */
.product-card-media {
    position: relative;
    padding-top: 125%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-beige-light) 0%, var(--color-beige) 100%);
}

.product-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.product-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--transition-slow);
}

.product-card-img-hover {
    opacity: 0;
    transform: scale(1.05);
}

.product-card:hover .product-card-img:not(.product-card-img-hover) {
    transform: scale(1.1);
}

.product-card:hover .product-card-img-hover {
    opacity: 1;
    transform: scale(1);
}

/* Placeholder Image */
.placeholder-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-beige-light) 0%, var(--color-beige) 100%);
}

.placeholder-image svg {
    width: 60%;
    height: 60%;
    max-width: 120px;
    max-height: 120px;
    opacity: 0.7;
}

.category-card-image .placeholder-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 200px;
}

.category-card-image .placeholder-image svg {
    width: 40%;
    height: 40%;
}

/* Badges */
.product-card-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3;
}

/* ========== ELEGANT SALE BADGE - Art & Deco Style ========== */
.badge-sale-elegant {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 12px 10px;
    background: linear-gradient(165deg, #d4a574 0%, #c4956a 40%, #b8865a 100%);
    clip-path: polygon(0 0, 100% 0, 100% 75%, 50% 100%, 0 75%);
    box-shadow: 2px 2px 10px rgba(180, 130, 90, 0.3);
}

.badge-sale-elegant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.2), transparent);
}

.badge-sale-elegant .sale-percent {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #3d2c1e;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.badge-sale-elegant .sale-label {
    font-size: 0.5rem;
    font-weight: 600;
    color: #5a4332;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-top: 2px;
    position: relative;
    z-index: 1;
}

/* ========== ECLIPSE NEW BADGE ========== */
@keyframes eclipse {
    0% {
        transform: translateX(110%);
    }
    100% {
        transform: translateX(-110%);
    }
}

.badge-eclipse-wrapper {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
}

.badge-eclipse-glow {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    overflow: hidden;
    filter: blur(3px);
}

.badge-eclipse-glow .eclipse.glow {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    z-index: -1;
    background-image:
        radial-gradient(circle at 50% 50%, transparent, black),
        linear-gradient(white, white);
    transform: translateX(50%);
    filter: blur(2px);
    animation: eclipse 3s linear infinite;
}

.badge-eclipse {
    position: relative;
    border-radius: 9999px;
    font-size: 0.7rem;
    color: white;
    font-weight: 400;
    background: rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.badge-eclipse .eclipse {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: white;
    z-index: -1;
    transform: translateX(50%);
    filter: blur(2px);
    animation: eclipse 3s linear infinite;
}

.badge-eclipse-inner {
    margin: 2px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.92);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* ========== SOLDOUT OVERLAY ========== */
.badge-soldout-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    padding: 2rem 1rem 1rem;
    text-align: center;
}

.badge-soldout-overlay span {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    backdrop-filter: blur(4px);
}

/* Legacy product-badge for backwards compatibility */
.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
}

.product-badge i {
    font-size: 0.875rem;
}

/* ========== BADGES FOR PRODUCT DETAIL PAGE ========== */
.product-badges-detail {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    z-index: 10;
}

.badge-sale-detail {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.25rem;
    background: var(--color-terracota);
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 4px;
    box-shadow: 0 3px 12px rgba(193, 127, 89, 0.3);
    position: relative;
    overflow: hidden;
}

.badge-sale-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: detail-shine 3s ease-in-out infinite;
}

.badge-sale-detail .sale-value {
    position: relative;
    z-index: 1;
}

@keyframes detail-shine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.badge-new-detail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.6rem 1.25rem;
    background: transparent;
    color: var(--color-verde);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid var(--color-verde);
    border-radius: 4px;
}

.badge-new-detail i {
    font-size: 0.9rem;
}

/* Eclipse Badge in Product Detail */
.badge-eclipse-detail {
    position: relative !important;
    top: auto !important;
    right: auto !important;
}

.badge-eclipse-detail .badge-eclipse {
    font-size: 0.8rem;
}

.badge-eclipse-detail .badge-eclipse-inner {
    padding: 8px 18px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Badge New with Stroke Animation */
.badge-new-stroke {
    display: inline-flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    --stroke-color: var(--color-verde);
}

.badge-new-char {
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--stroke-color);
    animation: badgeCharDraw 0.6s cubic-bezier(0.5, 0, 0.5, 1) forwards;
}

@keyframes badgeCharDraw {
    0% {
        opacity: 0;
        -webkit-text-stroke-width: 0px;
        transform: translateY(8px);
    }
    30% {
        opacity: 1;
        -webkit-text-stroke-width: 2px;
        color: transparent;
    }
    70% {
        -webkit-text-stroke-width: 1.5px;
        color: transparent;
    }
    100% {
        opacity: 1;
        -webkit-text-stroke-width: 0px;
        color: var(--stroke-color);
        transform: translateY(0);
    }
}

/* Hover effect - replay animation */
.badge-new-stroke:hover .badge-new-char {
    animation: badgeCharDrawHover 0.5s cubic-bezier(0.5, 0, 0.5, 1) forwards;
}

@keyframes badgeCharDrawHover {
    0% {
        -webkit-text-stroke-width: 0px;
        color: var(--stroke-color);
    }
    30% {
        -webkit-text-stroke-width: 2px;
        color: transparent;
    }
    70% {
        -webkit-text-stroke-width: 1.5px;
        color: transparent;
    }
    100% {
        -webkit-text-stroke-width: 0px;
        color: var(--stroke-color);
    }
}

/* Quick Actions Overlay */
.product-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    pointer-events: none;
}

.product-card:hover .product-card-overlay {
    opacity: 1;
}

.product-card-actions {
    display: flex;
    gap: 10px;
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

.product-card:hover .product-card-actions {
    transform: translateY(0);
}

.action-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: 50%;
    color: var(--color-texto);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    pointer-events: auto;
}

.action-btn i {
    font-size: 1.125rem;
    transition: transform var(--transition-fast);
}

.action-btn:hover {
    transform: scale(1.15);
}

.action-btn:hover i {
    transform: scale(1.1);
}

.action-btn:active {
    transform: scale(0.95);
}

.action-wishlist:hover {
    background: var(--color-terracota);
    color: var(--color-white);
}

.action-view:hover {
    background: var(--color-verde);
    color: var(--color-white);
}

.action-cart:hover {
    background: var(--color-black);
    color: var(--color-white);
}

.action-btn.active {
    background: var(--color-terracota);
    color: var(--color-white);
}

.action-btn.active i::before {
    content: "\f415"; /* bi-heart-fill */
}

/* Action Tooltip */
.action-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    background: var(--color-black);
    color: var(--color-white);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.action-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--color-black);
}

.action-btn:hover .action-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Stock Progress Bar */
.product-stock-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    padding: 6px 12px;
    z-index: 1; /* Below overlay so action buttons are not blocked */
    backdrop-filter: blur(5px);
}

/* When card has stock bar, move the action buttons higher */
.product-card-media:has(.product-stock-bar) .product-card-overlay {
    padding-bottom: 55px; /* Extra space above stock bar */
}

.stock-progress {
    height: 3px;
    background: linear-gradient(90deg, var(--color-terracota), var(--color-warning));
    border-radius: 2px;
    margin-bottom: 3px;
    animation: progress-pulse 2s ease-in-out infinite;
}

@keyframes progress-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.stock-text {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--color-terracota);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Content Area */
.product-card-content {
    padding: 1.25rem 1.25rem 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-category {
    display: inline-block;
    font-size: 0.6875rem;
    color: var(--color-verde);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.product-card-category:hover {
    color: var(--color-terracota);
}

.product-card-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-texto);
    margin-bottom: 0.5rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.product-card-title a:hover {
    color: var(--color-verde);
}

/* Rating */
.product-card-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 0.75rem;
}

.product-card-rating i {
    font-size: 0.75rem;
    color: var(--color-warning);
}

.rating-count {
    font-size: 0.75rem;
    color: var(--color-texto-muted);
    margin-left: 6px;
}

/* Price */
.product-card-price {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.price-current {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-verde-oscuro);
    letter-spacing: -0.02em;
}

.price-original {
    font-size: 0.9375rem;
    color: var(--color-texto-muted);
    text-decoration: line-through;
}

/* Customer discount badge */
.badge-cliente-discount {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    background: linear-gradient(135deg, var(--color-terracota) 0%, var(--color-terracota-oscuro) 100%);
    color: white;
    font-size: 0.625rem;
    font-weight: 600;
    border-radius: var(--border-radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

/* Installments */
.product-card-installments {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--color-verde);
    margin-bottom: 0.5rem;
}

.product-card-installments i {
    font-size: 0.875rem;
}

/* Footer / Add to Cart Button */
.product-card-footer {
    padding: 0.5rem 1.25rem 1.25rem;
}

.btn-add-to-cart {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: var(--color-beige);
    border: none;
    color: var(--color-texto);
    padding: 0.875rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-add-to-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-verde), var(--color-verde-oscuro));
    transition: left var(--transition-normal);
    z-index: 0;
}

.btn-add-to-cart .btn-text,
.btn-add-to-cart .btn-icon {
    position: relative;
    z-index: 1;
    transition: all var(--transition-normal);
}

.btn-add-to-cart .btn-icon {
    width: 0;
    opacity: 0;
    overflow: hidden;
    margin-left: 0;
}

.btn-add-to-cart:hover {
    color: var(--color-white);
}

.btn-add-to-cart:hover::before {
    left: 0;
}

.btn-add-to-cart:hover .btn-icon {
    width: 20px;
    opacity: 1;
    margin-left: 8px;
}

.btn-add-to-cart:active {
    transform: scale(0.98);
}

/* Notify Button Variant */
.btn-add-to-cart.btn-notify {
    background: transparent;
    border: 2px dashed var(--color-texto-muted);
    color: var(--color-texto-muted);
}

.btn-add-to-cart.btn-notify::before {
    background: linear-gradient(90deg, var(--color-terracota), var(--color-terracota-oscuro));
}

.btn-add-to-cart.btn-notify:hover {
    border-color: transparent;
    color: var(--color-white);
}

/* Adding to cart animation */
.btn-add-to-cart.adding {
    pointer-events: none;
}

.btn-add-to-cart.adding .btn-text {
    opacity: 0;
}

.btn-add-to-cart.adding::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-white);
    border-top-color: transparent;
    border-radius: 50%;
    animation: btn-spin 0.8s linear infinite;
    z-index: 2;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

.btn-add-to-cart.added::before {
    left: 0;
}

.btn-add-to-cart.added .btn-text::after {
    content: '✓ Agregado';
}

/* Card Variants */
.product-card.card-horizontal {
    flex-direction: row;
}

.product-card.card-horizontal .product-card-media {
    width: 40%;
    padding-top: 0;
    min-height: 200px;
}

.product-card.card-horizontal .product-card-content {
    width: 60%;
}

/* Compact Card */
.product-card.card-compact .product-card-media {
    padding-top: 100%;
}

.product-card.card-compact .product-card-content {
    padding: 1rem;
}

.product-card.card-compact .product-card-title {
    font-size: 0.9375rem;
    -webkit-line-clamp: 1;
}

.product-card.card-compact .price-current {
    font-size: 1.25rem;
}

.product-card.card-compact .product-card-footer {
    padding: 0 1rem 1rem;
}

/* Product Slider Navigation */
.product-slider {
    position: relative;
}

.products-prev,
.products-next {
    width: 48px !important;
    height: 48px !important;
    background: var(--color-white) !important;
    border-radius: 50% !important;
    color: var(--color-verde) !important;
    box-shadow: var(--shadow-md) !important;
    transition: all var(--transition-fast) !important;
}

.products-prev {
    left: -24px !important;
}

.products-next {
    right: -24px !important;
}

.products-prev:hover,
.products-next:hover {
    background: var(--color-verde) !important;
    color: var(--color-white) !important;
    transform: scale(1.1);
}

.products-prev::after,
.products-next::after {
    font-size: 1rem !important;
}

@media (max-width: 767px) {
    .products-prev,
    .products-next {
        display: none !important;
    }
}

/* ==========================================================================
   Promo Banners - Modern Style
   ========================================================================== */
.promo-banner-modern {
    display: block;
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    aspect-ratio: 16/9;
}

.promo-banner-image {
    position: absolute;
    inset: 0;
}

.promo-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.promo-banner-modern:hover .promo-banner-image img {
    transform: scale(1.05);
}

.promo-banner-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    background: linear-gradient(transparent 30%, rgba(0,0,0,0.7) 100%);
    color: var(--color-white);
    transition: all var(--transition-normal);
}

.promo-banner-modern:hover .promo-banner-content {
    background: linear-gradient(transparent 10%, rgba(0,0,0,0.8) 100%);
}

.promo-banner-subtitle {
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-terracota-claro);
    margin-bottom: 0.5rem;
}

.promo-banner-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.promo-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--color-white);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

.promo-banner-modern:hover .promo-banner-btn {
    opacity: 1;
    transform: translateY(0);
}

.promo-banner-btn i {
    transition: transform var(--transition-fast);
}

.promo-banner-modern:hover .promo-banner-btn i {
    transform: translateX(4px);
}

/* ==========================================================================
   Sales Section
   ========================================================================== */
.section-sales {
    position: relative;
    overflow: hidden;
}

.sales-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--color-beige-light);
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
}

@media (max-width: 991px) {
    .sales-background {
        display: none;
    }
}

/* ==========================================================================
   Promotion Banner - Full Width
   ========================================================================== */
.section-promotion {
    position: relative;
    padding: var(--spacing-xxxl) 0;
    background: var(--promo-bg);
    color: var(--promo-color);
    overflow: hidden;
}

.promotion-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.promotion-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.promotion-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.2);
    border-radius: var(--border-radius-pill);
    margin-bottom: 1.5rem;
}

.promotion-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: inherit;
}

.promotion-text {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.promotion-countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.countdown-item {
    text-align: center;
}

.countdown-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    line-height: 1;
}

.countdown-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.countdown-separator {
    font-size: 2rem;
    opacity: 0.5;
    align-self: flex-start;
    padding-top: 0.5rem;
}

/* ==========================================================================
   Testimonials - Modern Cards
   ========================================================================== */
.section-testimonials {
    position: relative;
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: var(--color-beige-light);
    z-index: 0;
}

.testimonial-card-modern {
    position: relative;
    background: var(--color-white);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: all var(--transition-normal);
}

.testimonial-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    color: var(--color-beige-dark);
    line-height: 1;
}

.testimonial-stars {
    color: var(--color-warning);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--color-texto);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-verde);
    color: var(--color-white);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.testimonial-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-verde);
}

.testimonial-info strong {
    display: block;
    color: var(--color-texto);
    margin-bottom: 0.125rem;
}

.testimonial-info span {
    font-size: 0.875rem;
    color: var(--color-texto-muted);
}

/* ==========================================================================
   Blog Cards - Modern Style
   ========================================================================== */
.blog-card-modern {
    background: var(--color-white);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: all var(--transition-normal);
}

.blog-card-modern:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.blog-card-modern .blog-card-image {
    display: block;
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.blog-card-modern .blog-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card-modern:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-modern .blog-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 60%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.blog-card-modern:hover .blog-card-overlay {
    opacity: 1;
}

.blog-card-modern .blog-card-body {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.blog-card-date {
    font-size: 0.8125rem;
    color: var(--color-texto-muted);
}

.blog-card-category {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-verde);
    background: var(--color-beige);
    padding: 0.25rem 0.625rem;
    border-radius: var(--border-radius);
}

.blog-card-modern .blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-card-modern .blog-card-title a {
    color: var(--color-texto);
}

.blog-card-modern .blog-card-title a:hover {
    color: var(--color-verde);
}

.blog-card-excerpt {
    font-size: 0.9375rem;
    color: var(--color-texto-claro);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 500;
    color: var(--color-verde);
    font-size: 0.9375rem;
}

.blog-card-link:hover {
    color: var(--color-verde-oscuro);
}

.blog-card-link i {
    transition: transform var(--transition-fast);
}

.blog-card-link:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.section-cta {
    padding: var(--spacing-xxl) 0 var(--spacing-xxxl);
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--color-verde) 0%, var(--color-verde-oscuro) 100%);
    border-radius: var(--border-radius-xl);
    color: var(--color-white);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.cta-text {
    opacity: 0.9;
    margin: 0;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .cta-card {
        flex-direction: column;
        text-align: center;
    }
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    .cta-actions .btn-modern {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Footer - Modern Style (Dark Theme)
   ========================================================================== */
.site-footer {
    background: #1a1a1a;
    color: #e5e5e5;
}

/* Newsletter Card */
.footer-newsletter {
    padding: var(--spacing-xxl) 0;
    background: transparent;
}

.newsletter-card {
    position: relative;
    padding: 3rem;
    background: var(--color-verde);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
}

.newsletter-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='1'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.newsletter-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.2);
    color: var(--color-white);
    border-radius: var(--border-radius-pill);
    margin-bottom: 1rem;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.newsletter-text {
    color: rgba(255,255,255,0.85);
}

.newsletter-form {
    margin-top: 1.5rem;
}

.newsletter-input-group {
    display: flex;
    background: var(--color-white);
    border-radius: var(--border-radius-pill);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.newsletter-input-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    background: transparent;
}

.newsletter-input-group input:focus {
    outline: none;
}

.newsletter-input-group button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--color-terracota);
    border: none;
    color: var(--color-white);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.newsletter-input-group button:hover {
    background: var(--color-terracota-oscuro);
}

@media (max-width: 991px) {
    .newsletter-card {
        padding: 2rem;
    }
    .newsletter-input-group {
        flex-direction: column;
        border-radius: var(--border-radius-lg);
    }
    .newsletter-input-group input {
        border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    }
    .newsletter-input-group button {
        justify-content: center;
        border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    }
}

/* Main Footer */
.footer-main {
    padding: var(--spacing-xxl) 0;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #333333;
}

.footer-widget p {
    color: #b3b3b3;
    font-size: 0.9375rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333333;
    border-radius: 50%;
    color: #e5e5e5;
    font-size: 1.125rem;
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--color-verde);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.625rem;
}

.footer-links a {
    color: #b3b3b3;
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-verde-claro);
    transform: translateX(4px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    margin-bottom: 1rem;
    color: #b3b3b3;
    font-size: 0.9375rem;
}

.footer-contact i {
    color: var(--color-verde-claro);
    margin-top: 0.25rem;
    font-size: 1rem;
}

.footer-contact a {
    color: #b3b3b3;
}

.footer-contact a:hover {
    color: var(--color-verde-claro);
}

/* Bottom Footer */
.footer-bottom {
    background: #0d0d0d;
    padding: 1.25rem 0;
    font-size: 0.875rem;
    border-top: 1px solid #333333;
}

.footer-bottom p {
    color: #999999;
}

.footer-legal a {
    color: #999999;
}

.footer-legal a:hover {
    color: var(--color-verde-claro);
}

.footer-legal .list-inline-item:not(:last-child)::after {
    content: '|';
    color: #666666;
    margin-left: 0.5rem;
}

/* ==========================================================================
   WhatsApp Float Button - Pulse Animation
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-normal);
}

.whatsapp-float:hover {
    background: #128C7E;
    color: #fff;
    transform: scale(1.1);
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: whatsapp-pulse 2s ease-out infinite;
}

.whatsapp-pulse:nth-child(2) {
    animation-delay: 1s;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--color-verde);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    z-index: 998;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-verde-oscuro);
    transform: translateY(-4px);
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb-section {
    background: var(--color-beige-light);
    padding: var(--spacing-md) 0;
}

.breadcrumb {
    margin: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--color-texto-claro);
}

.breadcrumb-item a:hover {
    color: var(--color-verde);
}

.breadcrumb-item.active {
    color: var(--color-texto);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    color: var(--color-texto-muted);
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
    gap: 0.375rem;
}

.page-link {
    border: none;
    color: var(--color-texto);
    padding: 0.625rem 1rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
}

.page-link:hover {
    background: var(--color-beige);
    color: var(--color-verde);
}

.page-item.active .page-link {
    background: var(--color-verde);
    color: var(--color-white);
}

.page-item.disabled .page-link {
    background: transparent;
    color: var(--color-texto-muted);
}

/* ==========================================================================
   Alerts
   ========================================================================== */
.alert {
    border: none;
    border-radius: var(--border-radius-lg);
    padding: 1rem 1.5rem;
}

.alert-success {
    background: rgba(92, 122, 94, 0.15);
    color: var(--color-verde-oscuro);
}

.alert-danger {
    background: rgba(196, 91, 76, 0.15);
    color: var(--color-danger);
}

.alert-warning {
    background: rgba(233, 180, 76, 0.15);
    color: #8a6914;
}

.alert-info {
    background: rgba(107, 142, 159, 0.15);
    color: var(--color-info);
}

/* ==========================================================================
   Loading States
   ========================================================================== */
.loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--color-beige-dark);
    border-top-color: var(--color-verde);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.skeleton {
    background: linear-gradient(90deg, var(--color-beige-light) 25%, var(--color-beige) 50%, var(--color-beige-light) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--border-radius);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-verde { color: var(--color-verde) !important; }
.text-terracota { color: var(--color-terracota) !important; }
.bg-beige { background-color: var(--color-beige) !important; }
.bg-verde { background-color: var(--color-verde) !important; }
.bg-terracota { background-color: var(--color-terracota) !important; }

.divider {
    height: 1px;
    background: var(--color-beige-dark);
    margin: var(--spacing-xl) 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991.98px) {
    .section {
        padding: var(--spacing-xxl) 0;
    }
}

@media (max-width: 767.98px) {
    .section-header {
        text-align: center;
    }

    .footer-newsletter .row {
        text-align: center;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .col-md-6:last-child {
        margin-top: 0.5rem;
    }
}

@media (max-width: 991.98px) {
    .header-inner {
        padding: 0 1rem;
    }
}

@media (max-width: 575.98px) {
    .header-action {
        width: 36px;
        height: 36px;
    }

    .header-action i {
        font-size: 1.1rem;
    }

    .header-actions {
        gap: 0;
    }

    .header-inner {
        padding: 0 0.75rem;
    }

    .product-card-body {
        padding: 1rem;
    }

    .product-card-title {
        font-size: 0.9375rem;
    }

    .whatsapp-float,
    .back-to-top {
        right: 16px;
    }

    .whatsapp-float {
        bottom: 16px;
        width: 56px;
        height: 56px;
    }

    .back-to-top {
        bottom: 88px;
        width: 44px;
        height: 44px;
    }
}

/* ==========================================================================
   Product Detail Page - Price Section
   ========================================================================== */
.product-price-section {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-lg);
    background: var(--color-beige-light);
    border-radius: var(--border-radius);
}

.product-price-current {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-verde);
    line-height: 1.2;
}

.product-price-current small {
    font-size: 0.875rem;
    font-weight: 400;
}

.product-price-original {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.product-price-original del {
    font-size: 1.125rem;
    color: var(--color-texto-muted);
}

.product-discount-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--color-terracota);
    color: var(--color-white);
    border-radius: var(--border-radius);
}

.product-discount-badge.badge-cliente {
    background: linear-gradient(135deg, var(--color-info) 0%, #4a7a8f 100%);
    margin-left: 0.25rem;
}

/* Price Breaks Container */
.price-breaks-container {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-beige-dark);
}

.price-breaks-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-verde);
    margin-bottom: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-breaks-header i {
    font-size: 1rem;
}

.price-breaks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
}

.price-break-card {
    position: relative;
    background: var(--color-white);
    border: 2px solid var(--color-beige-dark);
    border-radius: var(--border-radius);
    padding: 0.875rem 0.75rem;
    text-align: center;
    transition: all var(--transition-fast);
}

.price-break-card:hover {
    border-color: var(--color-verde-claro);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.price-break-card.base-price {
    background: var(--color-beige-light);
}

.price-break-card.best-price {
    border-color: var(--color-verde);
    background: linear-gradient(135deg, rgba(92, 122, 94, 0.08) 0%, rgba(139, 168, 140, 0.05) 100%);
}

.price-break-card .break-quantity {
    margin-bottom: 0.5rem;
}

.price-break-card .qty-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-texto);
    line-height: 1;
}

.price-break-card .qty-label {
    font-size: 0.7rem;
    color: var(--color-texto-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.price-break-card .break-price-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-verde-oscuro);
}

.price-break-card .break-price-value small {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-texto-muted);
    margin-left: 2px;
}

.price-break-card .break-price-original {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-texto-muted);
    text-decoration: line-through;
    margin-bottom: 2px;
}

.price-break-card .break-savings {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-terracota);
    color: var(--color-white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.price-break-card .best-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-verde);
    color: var(--color-white);
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: var(--border-radius-pill);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.price-breaks-legend {
    margin-top: 1.25rem;
    padding: 0.75rem 1rem;
    background: var(--color-beige-light);
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    color: var(--color-texto-claro);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

.price-breaks-legend i {
    color: var(--color-verde);
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

@media (max-width: 576px) {
    .price-breaks-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .price-break-card {
        padding: 0.625rem 0.5rem;
    }

    .price-break-card .qty-number {
        font-size: 1rem;
    }

    .price-break-card .break-price-value {
        font-size: 0.95rem;
    }

    .price-breaks-legend {
        font-size: 0.75rem;
    }
}

/* Promotion Banner */
.promotion-banner {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--color-terracota) 0%, var(--color-terracota-oscuro) 100%);
    color: var(--color-white);
    border-radius: var(--border-radius);
    margin: var(--spacing-md) 0;
    font-weight: 500;
}

/* Product Stock Status */
.product-stock {
    margin: var(--spacing-md) 0;
}

.stock-available {
    color: var(--color-success);
    font-weight: 500;
}

.stock-unavailable {
    color: var(--color-danger);
    font-weight: 500;
}

/* ==========================================================================
   Cart Sidebar (Offcanvas)
   ========================================================================== */
#cartSidebar.offcanvas {
    width: 520px;
    max-width: 95vw;
    background: var(--color-white);
    border-left: 1px solid var(--color-beige-dark);
}

#cartSidebar .offcanvas-header {
    background: var(--color-beige);
    border-bottom: 1px solid var(--color-beige-dark);
    padding: 1rem 1.25rem;
}

#cartSidebar .offcanvas-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-texto);
    display: flex;
    align-items: center;
}

#cartSidebar .offcanvas-title i {
    color: var(--color-verde);
}

#cartSidebar .offcanvas-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

@media (max-width: 575.98px) {
    #cartSidebar.offcanvas {
        width: 100%;
        max-width: 100%;
    }
}

/* ==========================================================================
   Premium Visual Enhancements
   ========================================================================== */

/* Glassmorphism for Cards */
.card-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.card-glass-dark {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Section Gradients */
.section-gradient {
    background: linear-gradient(135deg, var(--color-beige) 0%, #fff 100%);
}

.section-gradient-reverse {
    background: linear-gradient(135deg, #fff 0%, var(--color-beige) 100%);
}

.section-gradient-verde {
    background: linear-gradient(135deg, var(--color-verde) 0%, var(--color-verde-oscuro) 100%);
}

/* Enhanced Product Card Hover */
.product-card {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Shine Effect on Buttons */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: btn-shine 3s ease-in-out infinite;
}

@keyframes btn-shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Improved Typography */
.heading-display {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.heading-elegant {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Subtle Parallax on Images */
.parallax-hover {
    overflow: hidden;
}

.parallax-hover img {
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.parallax-hover:hover img {
    transform: scale(1.08);
}

/* Animated Badge */
.badge-animated {
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Floating Animation */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Smooth Reveal on Scroll */
[data-aos] {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* WhatsApp Float Button - Premium Style */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.75rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-normal);
}

.whatsapp-float:hover {
    background: #128C7E;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-pulse:nth-child(2) {
    animation-delay: 0.3s;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.whatsapp-float i {
    position: relative;
    z-index: 1;
}

/* Interactive Elements */
[data-magnetic] {
    cursor: pointer;
}

/* Subtle Glow Effect */
.glow-verde {
    box-shadow: 0 0 20px rgba(92, 122, 94, 0.3);
}

.glow-terracota {
    box-shadow: 0 0 20px rgba(193, 127, 89, 0.3);
}

/* Improved Focus States for Accessibility */
.btn:focus-visible,
.form-control:focus-visible,
a:focus-visible {
    outline: 2px solid var(--color-verde);
    outline-offset: 2px;
}

/* Smooth Image Loading */
.img-lazy {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.img-lazy.loaded {
    opacity: 1;
}

/* Enhanced Scroll Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Premium Input Focus */
.form-control-premium {
    border: 2px solid var(--color-beige-dark);
    border-radius: var(--border-radius-lg);
    padding: 1rem 1.25rem;
    transition: all var(--transition-normal);
}

.form-control-premium:focus {
    border-color: var(--color-verde);
    box-shadow: 0 0 0 4px rgba(92, 122, 94, 0.15), 0 4px 15px rgba(92, 122, 94, 0.1);
}

/* Category Cards Premium Hover */
.category-circular-card {
    transition: all var(--transition-normal);
}

.category-circular-card:hover {
    transform: translateY(-8px);
}

.category-circular-card:hover .category-circular-glow {
    opacity: 1;
}

.category-circular-glow {
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--color-verde), var(--color-terracota));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
    filter: blur(8px);
}

/* Testimonial Cards Enhancement */
.testimonial-card-modern {
    transition: all var(--transition-normal);
}

.testimonial-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-beige-dark), transparent);
    margin: var(--spacing-xxxl) 0;
}

/* Elegant Line Under Headings */
.heading-underline {
    position: relative;
    padding-bottom: 1rem;
}

.heading-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-verde), var(--color-terracota));
    border-radius: 2px;
}

.heading-underline.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Quick View Transition */
.quick-view-enter {
    opacity: 0;
    transform: scale(0.9);
}

.quick-view-enter-active {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark Mode Preparation (optional toggle) */
@media (prefers-color-scheme: dark) {
    :root.dark-mode {
        --color-beige: #1a1a1a;
        --color-beige-dark: #2d2d2d;
        --color-beige-light: #0f0f0f;
        --color-texto: #f5f5f5;
        --color-texto-claro: #b0b0b0;
        --color-white: #1a1a1a;
        --color-black: #f5f5f5;
    }
}

/* Page Transition Overlay */
.page-transition {
    position: fixed;
    inset: 0;
    background: var(--color-beige);
    z-index: 99999;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s cubic-bezier(0.83, 0, 0.17, 1);
}

.page-transition.active {
    transform: scaleY(1);
    transform-origin: top;
}

/* ===== Product Videos Showcase ===== */
.section-product-videos {
    background: linear-gradient(180deg, #1a1a1a 0%, #2a2520 100%);
    padding: 5rem 0;
    position: relative;
}

.section-product-videos .section-header {
    margin-bottom: 3rem;
}

.section-product-videos .section-title {
    color: #fff;
}

.product-videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-video-card {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    color: inherit;
    border-color: rgba(201, 169, 110, 0.3);
}

.product-video-wrapper {
    position: relative;
    aspect-ratio: 3 / 5;
    overflow: hidden;
    background: #000;
}

.product-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-video-card:hover .product-video-bg {
    transform: scale(1.05);
}

.product-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 40%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.product-video-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.product-video-category {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}

.product-video-name {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-video-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.product-video-cta {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-top: 0.3rem;
}

.product-video-card:hover .product-video-cta {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991px) {
    .product-videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .product-videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .product-video-content {
        padding: 1rem;
    }

    .product-video-name {
        font-size: 0.9rem;
    }

    .section-product-videos {
        padding: 3rem 0 2.5rem;
    }
}
