/* ========================================
   LAVALLE COMPANY - ECOMMERCE
   Premium Natural Design
   Inspired by InkaCrops · Nature & Freshness
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Brand Colors - Premium Natural */
    --lv-white: #FFFFFF;
    --lv-bg: #FAFAF5;
    --lv-bg-light: #F4F4F0;
    --lv-bg-green: #FCEAEA;
    --lv-bg-green-light: #FCEAEA;
    --lv-green: #9B1B30;
    --lv-green-dark: #6D1322;
    --lv-green-light: #C4161C;
    --lv-orange: #E8A838;
    --lv-magenta: #AD0048;
    --lv-brown: #5D4037;
    --lv-teal: #1BB9BB;
    --lv-red: #E53935;
    --lv-gold: #C8A951;
    --lv-gold-light: #DBBF6A;
    --lv-cream: #FFF8EE;

    /* Text */
    --lv-text: #1A1A18;
    --lv-text-sec: #4A4A45;
    --lv-text-secondary: #4A4A45;
    --lv-text-light: #888880;

    /* Borders */
    --lv-border: #E8E8E0;
    --lv-border-2: #D0D0C8;
    --lv-border-green: #BED4A0;

    /* Shadows */
    --lv-shadow: 0 2px 8px rgba(0,0,0,0.06);
    --lv-shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --lv-shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --lv-shadow-xl: 0 16px 48px rgba(0,0,0,0.16);

    /* Typography */
    --lv-font-display: 'Playfair Display', Georgia, serif;
    --lv-font-body: 'Inter', -apple-system, sans-serif;

    /* Layout */
    --lv-radius: 8px;
    --lv-radius-lg: 16px;
    --lv-radius-xl: 30px;
    --lv-radius-full: 9999px;
    --lv-transition: all 0.35s ease;
    --lv-transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.ecommerce-body {
    font-family: var(--lv-font-body);
    background: var(--lv-bg);
    color: var(--lv-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

h1,h2,h3,h4,h5,h6 { font-family: var(--lv-font-display); }
a { color: var(--lv-green); text-decoration: none; transition: var(--lv-transition); }
a:hover { color: var(--lv-green-light); }
img { max-width: 100%; height: auto; }

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes popIn {
    0% { transform: scale(0); }
    70% { transform: scale(1.15); }
    100% { transform: scale(1); }
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   TOPBAR
   ======================================== */
.lv-topbar {
    background: var(--lv-green-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 8px 0;
    text-align: center;
    letter-spacing: 1px;
}
.lv-topbar strong { color: var(--lv-gold-light); }

/* ========================================
   NAVBAR
   ======================================== */
.lv-navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--lv-border);
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: var(--lv-transition);
}
.lv-navbar.scrolled {
    box-shadow: var(--lv-shadow-md);
    background: rgba(255,255,255,0.98);
}

.lv-navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.lv-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lv-logo img { height: 48px; border-radius: var(--lv-radius-full); }
.lv-logo-text {
    font-family: var(--lv-font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--lv-green-dark);
    letter-spacing: 1px;
    line-height: 1;
}
.lv-logo-text span {
    display: block;
    font-family: var(--lv-font-body);
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--lv-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.lv-nav-cats {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}
.lv-nav-cats a {
    display: block;
    color: var(--lv-text-sec);
    font-family: var(--lv-font-body);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 26px 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--lv-transition);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    position: relative;
}
.lv-nav-cats a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--lv-gold);
    transition: all 0.35s ease;
    transform: translateX(-50%);
}
.lv-nav-cats a:hover { color: var(--lv-green); }
.lv-nav-cats a:hover::after { width: 70%; }
.lv-nav-cats a.active { color: var(--lv-green); }
.lv-nav-cats a.active::after { width: 70%; background: var(--lv-green); }

.lv-nav-actions { display: flex; align-items: center; gap: 12px; }

.lv-cart-btn {
    position: relative;
    background: none;
    border: 2px solid var(--lv-green);
    color: var(--lv-green);
    width: 42px; height: 42px;
    border-radius: var(--lv-radius-full);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: var(--lv-transition);
    font-size: 1rem;
}
.lv-cart-btn:hover { background: var(--lv-green); color: var(--lv-white); transform: scale(1.05); }
.lv-cart-badge {
    position: absolute; top: -5px; right: -5px;
    background: var(--lv-orange); color: var(--lv-white);
    font-size: 0.6rem; font-weight: 700;
    width: 18px; height: 18px; border-radius: var(--lv-radius-full);
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--lv-white);
}

.lv-user-btn {
    background: var(--lv-green);
    border: none;
    color: var(--lv-white);
    width: 42px;
    height: 42px;
    border-radius: var(--lv-radius-full);
    cursor: pointer;
    transition: var(--lv-transition);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(45,90,39,0.2);
}
.lv-user-btn span { display: none; }
.lv-user-btn i { font-size: 1.15rem; }
.lv-user-btn:hover { background: var(--lv-green-light); transform: scale(1.05); }

.lv-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1060;
    padding: 4px;
}
.lv-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--lv-text);
    transition: var(--lv-transition);
    border-radius: 2px;
}

/* ========================================
   MOBILE MENU
   ======================================== */
.lv-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1055;
    background: rgba(27, 61, 23, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 100px 24px 24px;
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.lv-mobile-menu.active {
    transform: translateX(0);
}
.lv-mobile-menu .lv-mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 40px; height: 40px;
    border-radius: var(--lv-radius-full);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--lv-transition);
}
.lv-mobile-menu .lv-mobile-close:hover { background: rgba(255,255,255,0.2); }
.lv-mobile-menu .lv-mobile-nav { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 300px; }
.lv-mobile-menu .lv-mobile-nav a {
    color: rgba(255,255,255,0.8);
    font-family: var(--lv-font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 14px 20px;
    border-radius: var(--lv-radius);
    text-align: center;
    transition: var(--lv-transition);
    text-decoration: none;
}
.lv-mobile-menu .lv-mobile-nav a:hover {
    background: rgba(255,255,255,0.1);
    color: var(--lv-white);
}

/* ========================================
   HERO SLIDER
   ======================================== */
.lv-hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--lv-green-dark);
}

.lv-slide {
    position: absolute;
    inset: 0;
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    pointer-events: none;
}
.lv-slide.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.lv-slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(27,61,23,0.82) 0%, rgba(45,90,39,0.6) 40%, rgba(0,0,0,0.35) 100%);
}

.lv-slide-content {
    position: relative; z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 40px;
    color: var(--lv-white);
    text-align: center;
    animation: fadeInUp 1s ease 0.3s both;
}

.lv-slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--lv-gold-light);
    font-family: var(--lv-font-body);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 8px 22px;
    border-radius: var(--lv-radius-xl);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.lv-slide h1 {
    font-family: var(--lv-font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.2);
}
.lv-slide h1 em {
    font-style: italic;
    color: var(--lv-gold);
}

.lv-slide p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.8;
    opacity: 0.85;
    font-weight: 300;
}

/* Slider dots */
.lv-slider-dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.lv-slider-dot {
    width: 10px; height: 10px;
    border-radius: var(--lv-radius-full);
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: var(--lv-transition);
}
.lv-slider-dot.active { background: var(--lv-gold); width: 32px; border-radius: 5px; }

/* Scroll indicator */
.lv-hero-scroll {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255,255,255,0.5);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2.5s infinite;
}
.lv-hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

/* ========================================
   BUTTONS
   ======================================== */
.lv-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 30px;
    border-radius: var(--lv-radius-xl);
    font-family: var(--lv-font-body);
    font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none; cursor: pointer;
    transition: var(--lv-transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.lv-btn:active { transform: scale(0.97); }

.lv-btn-green {
    background: var(--lv-green);
    color: var(--lv-white);
    box-shadow: 0 4px 16px rgba(45,90,39,0.25);
}
.lv-btn-green:hover {
    background: var(--lv-green-light);
    color: var(--lv-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45,90,39,0.35);
}

.lv-btn-gold {
    background: var(--lv-gold);
    color: var(--lv-text);
    box-shadow: 0 4px 16px rgba(200,169,81,0.3);
}
.lv-btn-gold:hover {
    background: var(--lv-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200,169,81,0.4);
}

.lv-btn-orange { background: var(--lv-orange); color: var(--lv-white); }
.lv-btn-orange:hover { background: #d4952e; color: var(--lv-white); transform: translateY(-2px); }

.lv-btn-outline {
    background: none;
    border: 2px solid var(--lv-green);
    color: var(--lv-green);
}
.lv-btn-outline:hover { background: var(--lv-green); color: var(--lv-white); transform: translateY(-2px); }

.lv-btn-white {
    background: var(--lv-white);
    color: var(--lv-green);
    border: 2px solid rgba(255,255,255,0.5);
}
.lv-btn-white:hover { background: rgba(255,255,255,0.9); color: var(--lv-green-dark); transform: translateY(-2px); }

.lv-btn-light {
    background: var(--lv-bg-light);
    color: var(--lv-text);
    border: 1px solid var(--lv-border);
}
.lv-btn-light:hover { background: var(--lv-border); }

.lv-btn-sm { padding: 9px 20px; font-size: 0.72rem; }
.lv-btn-lg { padding: 15px 36px; font-size: 0.85rem; }
.lv-btn-block { width: 100%; }

/* ========================================
   SECTIONS
   ======================================== */
.lv-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 24px;
}

.lv-section-header { text-align: center; margin-bottom: 56px; }

.lv-section-tag {
    display: inline-block;
    color: var(--lv-green);
    font-family: var(--lv-font-body);
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: rgba(45,90,39,0.08);
    padding: 8px 22px;
    border-radius: var(--lv-radius-xl);
    margin-bottom: 14px;
}

.lv-section-title {
    font-family: var(--lv-font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--lv-text);
    line-height: 1.2;
    margin-bottom: 14px;
}
.lv-section-title em {
    font-style: italic;
    color: var(--lv-green);
}

.lv-section-subtitle {
    color: var(--lv-text-light);
    font-size: 0.95rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.lv-section-line {
    width: 60px; height: 3px;
    background: linear-gradient(to right, var(--lv-green), var(--lv-gold));
    margin: 16px auto 0;
    border-radius: 2px;
}

/* Background variants */
.lv-bg-light { background: var(--lv-bg-light); }
.lv-bg-green { background: var(--lv-bg-green); }
.lv-bg-dark { background: var(--lv-text); color: var(--lv-white); }
.lv-bg-cream { background: var(--lv-cream); }

/* ========================================
   FEATURES BAR
   ======================================== */
.lv-features-bar {
    background: var(--lv-green-dark);
    padding: 28px 0;
}
.lv-features-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.lv-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
}
.lv-feature-icon {
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--lv-radius-full);
    display: flex; align-items: center; justify-content: center;
    color: var(--lv-gold-light);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--lv-transition);
}
.lv-feature:hover .lv-feature-icon { background: rgba(255,255,255,0.15); }
.lv-feature strong {
    font-family: var(--lv-font-body);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--lv-white);
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 2px;
}
.lv-feature span {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
}

/* ========================================
   CATEGORY CARDS
   ======================================== */
.lv-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lv-cat-card {
    position: relative;
    border-radius: var(--lv-radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--lv-transition);
    aspect-ratio: 4 / 5;
    text-decoration: none;
}
.lv-cat-card:hover { transform: translateY(-8px); box-shadow: var(--lv-shadow-xl); }

.lv-cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.lv-cat-card:hover img { transform: scale(1.08); }

.lv-cat-card-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(27,61,23,0.9) 0%, rgba(27,61,23,0.4) 60%, transparent 100%);
    padding: 30px 24px;
    transition: var(--lv-transition);
}
.lv-cat-card:hover .lv-cat-card-overlay {
    background: linear-gradient(to top, rgba(27,61,23,0.95) 0%, rgba(27,61,23,0.5) 60%, rgba(0,0,0,0.1) 100%);
}

.lv-cat-card-title {
    color: var(--lv-white);
    font-family: var(--lv-font-display);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
}
.lv-cat-card-link {
    color: var(--lv-gold);
    font-family: var(--lv-font-body);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--lv-transition);
}
.lv-cat-card:hover .lv-cat-card-link {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   BANNER / CTA
   ======================================== */
.lv-banner {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.lv-banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(27,61,23,0.85) 0%, rgba(0,0,0,0.5) 100%);
}
.lv-banner-content {
    position: relative; z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 40px;
    color: var(--lv-white);
    text-align: center;
    width: 100%;
}
.lv-banner h2 {
    font-family: var(--lv-font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 14px;
}
.lv-banner h2 em { font-style: italic; color: var(--lv-gold); }
.lv-banner p { font-size: 1rem; opacity: 0.85; max-width: 550px; margin: 0 auto 28px; line-height: 1.8; font-weight: 300; }

/* CTA Section (productos page) */
.lv-cta-section {
    background: linear-gradient(135deg, var(--lv-green-dark) 0%, var(--lv-green) 100%);
    border-radius: var(--lv-radius-lg);
    padding: 48px 40px;
    text-align: center;
    color: var(--lv-white);
    position: relative;
    overflow: hidden;
}
.lv-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: var(--lv-radius-full);
    background: radial-gradient(circle, rgba(200,169,81,0.1), transparent 70%);
}
.lv-cta-section h2 {
    font-family: var(--lv-font-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
}
.lv-cta-section p {
    opacity: 0.8;
    font-size: 0.95rem;
    margin-bottom: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* ========================================
   STATS
   ======================================== */
.lv-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding: 20px 0;
}
.lv-stat { text-align: center; }
.lv-stat-number {
    font-family: var(--lv-font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--lv-green);
    line-height: 1;
}
.lv-stat-label {
    font-family: var(--lv-font-body);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--lv-text-light);
    margin-top: 8px;
}

/* ========================================
   PRODUCT CATALOG BAR
   ======================================== */
.lv-cat-bar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--lv-border);
    position: sticky;
    top: 72px;
    z-index: 100;
}
.lv-cat-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.lv-cat-bar-inner::-webkit-scrollbar { display: none; }

.lv-cat-pill {
    padding: 18px 20px;
    font-family: var(--lv-font-body);
    font-size: 0.72rem; font-weight: 600;
    color: var(--lv-text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--lv-transition);
    border: none; background: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}
.lv-cat-pill:hover { color: var(--lv-green); }
.lv-cat-pill.active { color: var(--lv-green); border-bottom-color: var(--lv-gold); }

.lv-search-wrap {
    margin-left: auto;
    position: relative;
    flex-shrink: 0;
}
.lv-search-wrap input {
    background: var(--lv-bg-light);
    border: 1px solid var(--lv-border);
    color: var(--lv-text);
    padding: 9px 14px 9px 36px;
    border-radius: var(--lv-radius-xl);
    font-size: 0.82rem;
    font-family: var(--lv-font-body);
    outline: none; width: 200px;
    transition: var(--lv-transition);
}
.lv-search-wrap input:focus { border-color: var(--lv-green); width: 260px; box-shadow: 0 0 0 3px rgba(45,90,39,0.08); }
.lv-search-wrap input::placeholder { color: var(--lv-text-light); }
.lv-search-wrap i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--lv-text-light); }

/* ========================================
   PRODUCT CARDS
   ======================================== */
.lv-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.lv-product-card {
    background: var(--lv-white);
    border: 1px solid var(--lv-border);
    border-radius: var(--lv-radius-lg);
    overflow: hidden;
    transition: var(--lv-transition);
}
.lv-product-card:hover { transform: translateY(-6px); box-shadow: var(--lv-shadow-lg); border-color: transparent; }

.lv-product-img-wrap {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, var(--lv-bg-light) 0%, var(--lv-cream) 100%);
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}
.lv-product-img-wrap img {
    max-height: 200px; max-width: 85%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.lv-product-card:hover .lv-product-img-wrap img { transform: scale(1.06) rotate(-2deg); }

.lv-product-badge {
    position: absolute; top: 14px; left: 14px;
    padding: 5px 14px; border-radius: var(--lv-radius-xl);
    font-family: var(--lv-font-body);
    font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.lv-product-badge.nuevo { background: var(--lv-green); color: var(--lv-white); }
.lv-product-badge.oferta { background: var(--lv-orange); color: var(--lv-white); }
.lv-product-badge.popular { background: var(--lv-magenta); color: var(--lv-white); }

.lv-product-body { padding: 18px 22px 22px; }
.lv-product-cat {
    font-family: var(--lv-font-body);
    font-size: 0.62rem; font-weight: 700; color: var(--lv-green);
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px;
}
.lv-product-name {
    font-family: var(--lv-font-display);
    font-size: 1.05rem; font-weight: 600; color: var(--lv-text);
    margin-bottom: 3px; line-height: 1.3;
}
.lv-product-desc { font-size: 0.78rem; color: var(--lv-text-light); margin-bottom: 16px; }

.lv-product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lv-product-price {
    font-family: var(--lv-font-display);
    font-size: 1.3rem; font-weight: 700; color: var(--lv-green-dark);
}
.lv-product-price-old {
    font-family: var(--lv-font-body);
    font-size: 0.78rem; color: var(--lv-text-light);
    text-decoration: line-through; margin-left: 6px;
}

.lv-product-actions { display: flex; align-items: center; gap: 6px; }

.lv-qty {
    display: flex; align-items: center;
    background: var(--lv-bg-light);
    border: 1px solid var(--lv-border);
    border-radius: var(--lv-radius);
    overflow: hidden;
}
.lv-qty button {
    background: none; border: none; color: var(--lv-text-sec);
    width: 30px; height: 34px; font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--lv-transition);
}
.lv-qty button:hover { background: var(--lv-green); color: var(--lv-white); }
.lv-qty input, .lv-qty span {
    width: 34px; text-align: center; background: none; border: none;
    border-left: 1px solid var(--lv-border); border-right: 1px solid var(--lv-border);
    color: var(--lv-text); font-size: 0.85rem; font-weight: 700;
    font-family: var(--lv-font-body); outline: none;
    padding: 4px 0; min-width: 34px;
    -moz-appearance: textfield;
}
.lv-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.lv-add-btn {
    background: var(--lv-green); color: var(--lv-white); border: none;
    width: 40px; height: 40px; border-radius: var(--lv-radius-full);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; cursor: pointer; transition: var(--lv-transition);
    box-shadow: 0 4px 12px rgba(45,90,39,0.25);
}
.lv-add-btn:hover { background: var(--lv-green-light); transform: scale(1.08); }
.lv-add-btn.added { background: var(--lv-gold); animation: popIn 0.3s ease; }

/* ========================================
   CART SIDEBAR
   ======================================== */
.lv-cart-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1060; opacity: 0; visibility: hidden;
    transition: var(--lv-transition);
}
.lv-cart-overlay.active { opacity: 1; visibility: visible; }

.lv-cart-sidebar {
    position: fixed; top: 0; right: -440px; width: 420px; max-width: 90vw; height: 100vh;
    background: var(--lv-white);
    z-index: 1070; display: flex; flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--lv-shadow-xl);
}
.lv-cart-sidebar.active { right: 0; }

.lv-cart-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 24px; border-bottom: 1px solid var(--lv-border);
}
.lv-cart-header h3 {
    font-family: var(--lv-font-display);
    font-size: 1.15rem; font-weight: 700; margin: 0;
    display: flex; align-items: center; gap: 8px;
}
.lv-cart-header h3 span {
    background: var(--lv-green); color: var(--lv-white);
    font-family: var(--lv-font-body);
    font-size: 0.65rem; font-weight: 700;
    padding: 3px 10px; border-radius: var(--lv-radius-xl);
}

.lv-cart-close {
    background: var(--lv-bg-light); border: 1px solid var(--lv-border);
    color: var(--lv-text-light);
    width: 36px; height: 36px; border-radius: var(--lv-radius-full);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--lv-transition);
}
.lv-cart-close:hover { background: var(--lv-text); color: var(--lv-white); }

.lv-cart-warning {
    background: #FFF3CD;
    border-left: 3px solid var(--lv-orange);
    color: #856404;
    font-size: 0.72rem; font-weight: 600;
    padding: 10px 16px; margin: 14px 16px 0;
    border-radius: var(--lv-radius);
    display: flex; align-items: center; gap: 8px;
}

.lv-cart-items { flex: 1; overflow-y: auto; padding: 16px; }

.lv-cart-item {
    display: flex; gap: 12px; padding: 14px;
    background: var(--lv-bg-light); border: 1px solid var(--lv-border);
    border-radius: var(--lv-radius); margin-bottom: 10px;
    animation: slideIn 0.3s ease;
}
.lv-cart-item-img {
    width: 64px; height: 64px;
    background: var(--lv-white); border-radius: var(--lv-radius);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; border: 1px solid var(--lv-border);
}
.lv-cart-item-img img { max-width: 48px; max-height: 48px; object-fit: contain; }
.lv-cart-item-info { flex: 1; min-width: 0; }
.lv-cart-item-name { font-size: 0.85rem; font-weight: 600; color: var(--lv-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-cart-item-desc { font-size: 0.7rem; color: var(--lv-text-light); }
.lv-cart-item-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.lv-cart-item-price { font-family: var(--lv-font-display); font-size: 0.95rem; font-weight: 700; color: var(--lv-green-dark); }
.lv-cart-item-remove { background: none; border: none; color: var(--lv-text-light); cursor: pointer; transition: var(--lv-transition); padding: 4px; }
.lv-cart-item-remove:hover { color: var(--lv-red); }

.lv-cart-empty { text-align: center; padding: 60px 20px; color: var(--lv-text-light); }
.lv-cart-empty i { font-size: 3rem; display: block; margin-bottom: 16px; color: var(--lv-green); opacity: 0.2; }

.lv-cart-footer { border-top: 1px solid var(--lv-border); padding: 20px 24px; background: var(--lv-bg-light); }
.lv-cart-total-row { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--lv-text-sec); margin-bottom: 4px; }
.lv-cart-total-row.total {
    font-size: 1.1rem; font-weight: 700; color: var(--lv-text);
    padding-top: 12px; border-top: 2px solid var(--lv-border); margin-top: 10px;
}
.lv-cart-total-row.total .amount { color: var(--lv-green-dark); font-family: var(--lv-font-display); font-size: 1.3rem; }

/* ========================================
   AUTH / FORMS
   ======================================== */
.lv-auth-wrapper {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--lv-bg-light) 0%, var(--lv-cream) 100%);
    padding: 24px;
}
.lv-auth-card {
    width: 100%; max-width: 440px;
    background: var(--lv-white);
    border: 1px solid var(--lv-border);
    border-radius: var(--lv-radius-lg);
    padding: 44px 40px;
    box-shadow: var(--lv-shadow-lg);
    animation: fadeInUp 0.6s ease;
}
.lv-auth-logo { text-align: center; margin-bottom: 32px; }
.lv-auth-logo img { height: 52px; margin-bottom: 16px; border-radius: var(--lv-radius-full); }
.lv-auth-logo h2 {
    font-family: var(--lv-font-display);
    font-size: 1.3rem; font-weight: 700; margin-bottom: 6px;
}
.lv-auth-logo p { color: var(--lv-text-light); font-size: 0.85rem; }

.lv-form-group { margin-bottom: 16px; }
.lv-form-group label {
    display: block;
    font-family: var(--lv-font-body);
    font-size: 0.72rem; font-weight: 600;
    color: var(--lv-text-sec);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.lv-form-control {
    width: 100%; background: var(--lv-bg-light);
    border: 1px solid var(--lv-border);
    color: var(--lv-text); padding: 12px 16px;
    border-radius: var(--lv-radius);
    font-size: 0.88rem; font-family: var(--lv-font-body);
    transition: var(--lv-transition); outline: none;
}
.lv-form-control:focus { border-color: var(--lv-green); box-shadow: 0 0 0 3px rgba(45,90,39,0.08); background: var(--lv-white); }
.lv-form-control::placeholder { color: var(--lv-text-light); }
textarea.lv-form-control { resize: vertical; min-height: 80px; }
select.lv-form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888880' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.lv-form-check { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--lv-text-sec); }
.lv-form-check input[type="checkbox"] { accent-color: var(--lv-green); width: 16px; height: 16px; }

.lv-auth-divider { display: flex; align-items: center; gap: 16px; margin: 24px 0; color: var(--lv-text-light); font-size: 0.75rem; }
.lv-auth-divider::before, .lv-auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--lv-border); }
.lv-auth-footer { text-align: center; margin-top: 24px; font-size: 0.85rem; color: var(--lv-text-sec); }

/* ========================================
   CHECKOUT
   ======================================== */
.lv-checkout-wrap {
    max-width: 1100px; margin: 0 auto; padding: 40px 24px;
    display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start;
}

.lv-card {
    background: var(--lv-white);
    border: 1px solid var(--lv-border);
    border-radius: var(--lv-radius-lg);
    padding: 28px;
    margin-bottom: 20px;
    transition: var(--lv-transition);
}
.lv-card:hover { box-shadow: var(--lv-shadow); }
.lv-card h3 {
    font-family: var(--lv-font-display);
    font-size: 1rem; font-weight: 700; color: var(--lv-text);
    margin-bottom: 20px;
    display: flex; align-items: center; gap: 10px;
}

.lv-step-num {
    background: var(--lv-green); color: var(--lv-white);
    width: 28px; height: 28px; border-radius: var(--lv-radius-full);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--lv-font-body);
    font-size: 0.7rem; font-weight: 700;
}

.lv-summary-sticky { position: sticky; top: 120px; }
.lv-summary-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--lv-border); }
.lv-summary-item:last-of-type { border-bottom: none; }
.lv-summary-item-img { width: 50px; height: 50px; background: var(--lv-bg-light); border-radius: var(--lv-radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lv-summary-item-img img { max-width: 38px; max-height: 38px; }
.lv-summary-item-info { flex: 1; }
.lv-summary-item-name { font-size: 0.82rem; font-weight: 600; }
.lv-summary-item-qty { font-size: 0.7rem; color: var(--lv-text-light); }
.lv-summary-item-price { font-family: var(--lv-font-display); font-size: 0.88rem; font-weight: 700; color: var(--lv-green-dark); align-self: center; }

/* ========================================
   NOTIFICATIONS
   ======================================== */
.lv-notif-card {
    background: var(--lv-white);
    border: 1px solid var(--lv-border);
    border-radius: var(--lv-radius-lg);
    padding: 24px; margin-bottom: 16px;
    transition: var(--lv-transition);
}
.lv-notif-card:hover { box-shadow: var(--lv-shadow-md); }
.lv-notif-card.unread { border-left: 4px solid var(--lv-green); }

.lv-notif-icon { width: 44px; height: 44px; border-radius: var(--lv-radius-full); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.lv-notif-icon.success { background: var(--lv-bg-green); color: var(--lv-green); }
.lv-notif-icon.info { background: var(--lv-cream); color: var(--lv-orange); }
.lv-notif-icon.dispatch { background: #E3F2FD; color: #1976D2; }

.lv-status {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px; border-radius: var(--lv-radius-xl);
    font-family: var(--lv-font-body);
    font-size: 0.62rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.lv-status.pending { background: #FFF3E0; color: #E65100; }
.lv-status.approved { background: var(--lv-bg-green); color: var(--lv-green); }
.lv-status.dispatched { background: #E3F2FD; color: #1565C0; }

/* ========================================
   PEDIDOS - STATS, FILTERS, CARDS
   ======================================== */

/* Stats */
.lv-pedido-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--lv-white);
    border: 1px solid var(--lv-border);
    border-radius: var(--lv-radius-lg);
    padding: 18px 20px;
    transition: var(--lv-transition);
}
.lv-pedido-stat:hover { box-shadow: var(--lv-shadow-md); }
.lv-pedido-stat-icon {
    width: 44px; height: 44px;
    border-radius: var(--lv-radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.lv-pedido-stat-value {
    font-family: var(--lv-font-display);
    font-size: 1.2rem; font-weight: 800;
    color: var(--lv-text); line-height: 1.2;
}
.lv-pedido-stat-label {
    font-size: 0.7rem; color: var(--lv-text-light);
    text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600;
}

/* Filters */
.lv-pedido-filters {
    background: var(--lv-white);
    border: 1px solid var(--lv-border);
    border-radius: var(--lv-radius-lg);
    padding: 20px 24px;
    margin-bottom: 20px;
}
.lv-pedido-filters-row {
    display: flex; flex-wrap: wrap; gap: 24px;
    margin-bottom: 16px;
}
.lv-pedido-filter-group { flex: 1; min-width: 200px; }
.lv-pedido-filter-label {
    display: block;
    font-size: 0.68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--lv-text-light);
    margin-bottom: 8px;
}
.lv-pedido-tabs {
    display: flex; flex-wrap: wrap; gap: 6px;
}
.lv-pedido-tab {
    padding: 7px 16px;
    border-radius: var(--lv-radius-xl);
    border: 1px solid var(--lv-border);
    background: transparent;
    font-family: var(--lv-font-body);
    font-size: 0.75rem; font-weight: 600;
    color: var(--lv-text-sec);
    cursor: pointer;
    transition: var(--lv-transition);
}
.lv-pedido-tab:hover {
    border-color: var(--lv-green);
    color: var(--lv-green);
}
.lv-pedido-tab.active {
    background: var(--lv-green);
    border-color: var(--lv-green);
    color: var(--lv-white);
}

/* Search */
.lv-pedido-search {
    position: relative;
}
.lv-pedido-search i {
    position: absolute;
    left: 14px; top: 50%; transform: translateY(-50%);
    font-size: 0.85rem; color: var(--lv-text-light);
}
.lv-pedido-search input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1px solid var(--lv-border);
    border-radius: var(--lv-radius-md);
    font-family: var(--lv-font-body);
    font-size: 0.82rem;
    color: var(--lv-text);
    background: var(--lv-cream);
    transition: var(--lv-transition);
}
.lv-pedido-search input:focus {
    outline: none;
    border-color: var(--lv-green);
    background: var(--lv-white);
    box-shadow: 0 0 0 3px rgba(45,90,39,0.08);
}
.lv-pedido-search input::placeholder { color: var(--lv-text-light); }

/* Count */
.lv-pedido-count {
    font-size: 0.78rem; font-weight: 600;
    color: var(--lv-text-light);
    margin-bottom: 16px;
    padding-left: 2px;
}

/* Order Cards */
.lv-pedido-card {
    background: var(--lv-white);
    border: 1px solid var(--lv-border);
    border-left: 4px solid var(--lv-border);
    border-radius: var(--lv-radius-lg);
    margin-bottom: 12px;
    cursor: pointer;
    transition: var(--lv-transition);
    animation: fadeSlideUp 0.35s ease both;
}
.lv-pedido-card:hover {
    box-shadow: var(--lv-shadow-md);
    transform: translateY(-1px);
}
.lv-pedido-card--pending { border-left-color: #E65100; }
.lv-pedido-card--approved { border-left-color: var(--lv-green); }
.lv-pedido-card--dispatched { border-left-color: #1565C0; }

.lv-pedido-card-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
    flex-wrap: wrap;
}
.lv-pedido-card-left { flex: 1; min-width: 200px; }
.lv-pedido-card-right { text-align: right; flex-shrink: 0; }

.lv-pedido-card-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 6px;
}
.lv-pedido-card-id {
    font-size: 1rem; font-weight: 700;
    font-family: var(--lv-font-display);
    color: var(--lv-text);
}
.lv-pedido-card-date {
    font-size: 0.75rem; color: var(--lv-text-light);
    margin-bottom: 10px;
    display: flex; align-items: center; gap: 4px;
}
.lv-pedido-card-items {
    display: flex; flex-wrap: wrap; gap: 6px;
}
.lv-pedido-item-tag {
    display: inline-flex; align-items: center;
    font-size: 0.72rem; color: var(--lv-text-sec);
    background: var(--lv-cream);
    padding: 4px 10px;
    border-radius: var(--lv-radius-xl);
}
.lv-pedido-item-qty {
    font-weight: 700; color: var(--lv-green-dark);
    margin-right: 3px;
}
.lv-pedido-card-total-label {
    font-size: 0.68rem; color: var(--lv-text-light);
    text-transform: uppercase; letter-spacing: 1px;
}
.lv-pedido-card-total {
    font-size: 1.3rem; font-weight: 800;
    color: var(--lv-green-dark);
    font-family: var(--lv-font-display);
    margin-bottom: 8px;
}

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

@media (max-width: 576px) {
    .lv-pedido-filters-row { flex-direction: column; gap: 16px; }
    .lv-pedido-stat { padding: 14px 16px; }
    .lv-pedido-stat-value { font-size: 1rem; }
    .lv-pedido-card-body { flex-direction: column; }
    .lv-pedido-card-right { text-align: left; }
}

/* ========================================
   SUCCESS / DETAIL
   ======================================== */
.lv-success-box { text-align: center; padding: 60px 24px; }
.lv-success-icon {
    width: 80px; height: 80px; border-radius: var(--lv-radius-full);
    background: var(--lv-bg-green);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px; color: var(--lv-green); font-size: 2rem;
    animation: popIn 0.5s ease;
}
.lv-success-box h2 {
    font-family: var(--lv-font-display);
    font-size: 1.4rem; font-weight: 700; margin-bottom: 8px;
}
.lv-success-box p { color: var(--lv-text-sec); font-size: 0.9rem; max-width: 420px; margin: 0 auto 28px; }

.lv-detail-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--lv-border); font-size: 0.85rem; }
.lv-detail-row:last-child { border-bottom: none; }
.lv-detail-label { color: var(--lv-text-light); }
.lv-detail-value { font-weight: 700; }

/* ========================================
   WHATSAPP BUTTON
   ======================================== */
.lv-whatsapp { position: fixed; bottom: 28px; right: 28px; z-index: 1000; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.lv-whatsapp-tooltip {
    background: var(--lv-white); color: var(--lv-text);
    font-size: 0.78rem; font-weight: 600;
    padding: 10px 18px; border-radius: var(--lv-radius-xl);
    box-shadow: var(--lv-shadow-md);
    opacity: 0; transform: translateY(6px);
    transition: var(--lv-transition); pointer-events: none;
}
.lv-whatsapp:hover .lv-whatsapp-tooltip { opacity: 1; transform: translateY(0); }
.lv-whatsapp-btn {
    width: 58px; height: 58px; border-radius: var(--lv-radius-full);
    background: #25D366; color: var(--lv-white); border: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; cursor: pointer;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--lv-transition); text-decoration: none;
}
.lv-whatsapp-btn:hover { transform: scale(1.1); color: var(--lv-white); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }

/* ========================================
   TOAST
   ======================================== */
.lv-toast {
    position: fixed; top: 84px; right: 24px;
    background: var(--lv-white); border: 2px solid var(--lv-green);
    border-radius: var(--lv-radius-xl);
    padding: 14px 22px;
    display: flex; align-items: center; gap: 10px;
    z-index: 2000; box-shadow: var(--lv-shadow-lg);
    transform: translateX(calc(100% + 40px));
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.85rem; font-weight: 600; color: var(--lv-green-dark);
}
.lv-toast.show { transform: translateX(0); }
.lv-toast i { color: var(--lv-green); font-size: 1.1rem; }

.lv-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e4e4e4 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--lv-radius);
}

/* ========================================
   ACCORDION (Bootstrap override)
   ======================================== */
.accordion-button:not(.collapsed) {
    background: rgba(45,90,39,0.06);
    color: var(--lv-green-dark);
    box-shadow: none;
}
.accordion-button:focus {
    border-color: var(--lv-green);
    box-shadow: 0 0 0 3px rgba(45,90,39,0.08);
}
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232D5A27' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

/* ========================================
   ALLIES / PARTNERS BAR
   ======================================== */
.lv-ally-name {
    font-family: var(--lv-font-body);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--lv-text-light);
    letter-spacing: 3px;
    padding: 12px 24px;
    transition: var(--lv-transition);
}
.lv-ally-name:hover { color: var(--lv-green); }

/* Allies Carousel */
.lv-allies-carousel {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.lv-allies-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    will-change: transform;
}

.lv-ally-item {
    flex: 0 0 150px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: opacity 0.3s, transform 0.3s;
}
.lv-ally-item:hover {
    opacity: 1;
    transform: scale(1.08);
}
.lv-ally-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.lv-ally-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* User Dropdown */
.lv-user-dropdown {
    position: relative;
}
.lv-user-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 160px;
    background: var(--lv-white);
    border-radius: var(--lv-radius-lg);
    box-shadow: var(--lv-shadow-lg);
    border: 1px solid var(--lv-border);
    padding: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1100;
}
.lv-user-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lv-user-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    color: var(--lv-text-sec);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--lv-radius);
    transition: var(--lv-transition);
}
.lv-user-menu a i {
    font-size: 0.9rem;
    color: var(--lv-green);
}
.lv-user-menu a:hover {
    background: var(--lv-bg-light);
    color: var(--lv-green);
    transform: translateX(4px);
}
.lv-user-menu hr {
    margin: 4px 0;
    border: 0;
    border-top: 1px solid var(--lv-border);
}
.lv-user-menu .text-danger:hover {
    color: var(--lv-red) !important;
}
.lv-user-menu .text-danger i {
    color: var(--lv-red) !important;
}

/* ========================================
   MI CUENTA
   ======================================== */
.lv-cuenta-card {
    background: var(--lv-white);
    border: 1px solid var(--lv-border);
    border-radius: var(--lv-radius-lg);
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--lv-transition);
}
.lv-cuenta-card:hover {
    box-shadow: var(--lv-shadow-md);
}

/* Profile card */
.lv-cuenta-profile {
    text-align: center;
    padding: 40px 24px 32px;
}

/* Avatar wrapper con hover */
.lv-cuenta-avatar-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    cursor: pointer;
    border-radius: 50%;
}
.lv-cuenta-avatar-wrapper:hover .lv-cuenta-avatar-overlay {
    opacity: 1;
}
.lv-cuenta-avatar-wrapper:hover .lv-cuenta-avatar {
    transform: scale(1.03);
}
.lv-cuenta-avatar-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 2;
}
.lv-cuenta-avatar-overlay i {
    color: var(--lv-white);
    font-size: 1.5rem;
}

.lv-cuenta-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lv-green), var(--lv-green-light));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(45,90,39,0.25);
    overflow: hidden;
    transition: transform 0.25s ease;
}
.lv-cuenta-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lv-cuenta-avatar span {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--lv-white);
    font-family: var(--lv-font-display);
    letter-spacing: 2px;
}
.lv-cuenta-avatar i {
    font-size: 2.2rem;
    color: var(--lv-white);
}
.lv-cuenta-name {
    font-family: var(--lv-font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--lv-text);
    margin-bottom: 4px;
}
.lv-cuenta-email {
    display: block;
    font-size: 0.85rem;
    color: var(--lv-text-light);
    margin-bottom: 16px;
}
.lv-cuenta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(45,90,39,0.08);
    color: var(--lv-green);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.lv-cuenta-badge i {
    font-size: 0.85rem;
}
.lv-cuenta-since {
    font-size: 0.78rem;
    color: var(--lv-text-light);
    margin-bottom: 20px;
}
.lv-cuenta-since i {
    margin-right: 4px;
}
.lv-cuenta-logout {
    width: 100%;
    border-color: var(--lv-red) !important;
    color: var(--lv-red) !important;
}
.lv-cuenta-logout:hover {
    background: var(--lv-red) !important;
    color: var(--lv-white) !important;
}

/* Card header & body */
.lv-cuenta-card-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--lv-border);
}
.lv-cuenta-card-header h4 {
    font-family: var(--lv-font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--lv-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.lv-cuenta-card-header h4 i {
    color: var(--lv-green);
    font-size: 1.1rem;
}
.lv-cuenta-card-body {
    padding: 20px 24px;
}

/* Data fields */
.lv-cuenta-field {
    margin-bottom: 4px;
}
.lv-cuenta-field label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--lv-text-light);
    margin-bottom: 4px;
}
.lv-cuenta-field span {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--lv-text);
}

/* Address */
.lv-cuenta-address {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.lv-cuenta-address-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(45,90,39,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lv-cuenta-address-icon i {
    font-size: 1.2rem;
    color: var(--lv-green);
}
.lv-cuenta-address strong {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 2px;
}
.lv-cuenta-address p {
    font-size: 0.85rem;
    color: var(--lv-text-sec);
    margin: 0;
}

/* Quick links */
.lv-cuenta-quick {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: var(--lv-white);
    border: 1px solid var(--lv-border);
    border-radius: var(--lv-radius-lg);
    text-decoration: none;
    transition: var(--lv-transition);
    height: 100%;
}
.lv-cuenta-quick:hover {
    border-color: var(--lv-green);
    box-shadow: var(--lv-shadow-md);
    transform: translateY(-2px);
}
.lv-cuenta-quick-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.lv-cuenta-quick-icon i {
    font-size: 1.4rem;
}
.lv-cuenta-quick strong {
    font-family: var(--lv-font-display);
    font-size: 0.9rem;
    color: var(--lv-text);
    margin-bottom: 2px;
}
.lv-cuenta-quick span {
    font-size: 0.75rem;
    color: var(--lv-text-light);
}

/* ========================================
   MODALES ECOMMERCE
   ======================================== */
.lv-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.lv-modal-overlay.active { opacity: 1; }

.lv-modal {
    background: var(--lv-white);
    border-radius: var(--lv-radius-lg);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.25s ease;
}
.lv-modal-overlay.active .lv-modal {
    transform: translateY(0) scale(1);
}

.lv-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--lv-border);
}
.lv-modal-header h3 {
    font-family: var(--lv-font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
}
.lv-modal-header h3 i { color: var(--lv-green); }
.lv-modal-close {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--lv-text-light);
    cursor: pointer;
    padding: 4px;
    border-radius: var(--lv-radius-sm);
    transition: var(--lv-transition);
}
.lv-modal-close:hover { color: var(--lv-text); background: var(--lv-cream); }

.lv-modal-body { padding: 24px; }

.lv-modal-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--lv-text-light);
    margin-bottom: 6px;
}
.lv-modal-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--lv-border);
    border-radius: var(--lv-radius-md);
    font-family: var(--lv-font-body);
    font-size: 0.88rem;
    color: var(--lv-text);
    background: var(--lv-white);
    transition: var(--lv-transition);
}
.lv-modal-input:focus {
    outline: none;
    border-color: var(--lv-green);
    box-shadow: 0 0 0 3px rgba(45,90,39,0.08);
}
.lv-modal-input::placeholder { color: var(--lv-text-light); }

.lv-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid var(--lv-border);
    background: var(--lv-cream);
    border-radius: 0 0 var(--lv-radius-lg) var(--lv-radius-lg);
}

/* Button sizes */
.lv-btn-xs {
    padding: 5px 12px;
    font-size: 0.7rem;
}
.lv-btn-light {
    background: var(--lv-white);
    border: 1px solid var(--lv-border);
    color: var(--lv-text-sec);
}
.lv-btn-light:hover {
    background: var(--lv-cream);
    border-color: var(--lv-text-light);
}

/* Alerts */
.lv-alert {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-radius: var(--lv-radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
}
.lv-alert-success {
    background: var(--lv-bg-green);
    color: var(--lv-green-dark);
    border: 1px solid rgba(45,90,39,0.15);
}
.lv-alert-error {
    background: #FFF3F3;
    color: #C62828;
    border: 1px solid rgba(198,40,40,0.15);
}

@media (max-width: 576px) {
    .lv-modal { max-width: 100%; margin: 10px; }
    .lv-modal-body { padding: 16px; }
    .lv-modal-footer { padding: 12px 16px; }
}

/* ========================================
   FOOTER
   ======================================== */
.lv-footer { background: var(--lv-text); color: var(--lv-white); padding: 56px 0 0; }
.lv-footer-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px;
}
.lv-footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.8; margin-top: 16px; }
.lv-footer h5 {
    font-family: var(--lv-font-body);
    font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--lv-gold); margin-bottom: 20px;
}
.lv-footer-links { list-style: none; padding: 0; margin: 0; }
.lv-footer-links li { margin-bottom: 10px; }
.lv-footer-links a {
    color: rgba(255,255,255,0.5); font-size: 0.85rem;
    text-decoration: none; transition: var(--lv-transition);
}
.lv-footer-links a:hover { color: var(--lv-white); padding-left: 4px; }
.lv-footer-socials { display: flex; gap: 8px; margin-top: 16px; }
.lv-footer-socials a {
    width: 38px; height: 38px; border-radius: var(--lv-radius-full);
    background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5); font-size: 0.9rem;
    transition: var(--lv-transition); text-decoration: none;
}
.lv-footer-socials a:hover { background: var(--lv-green); color: var(--lv-white); }
.lv-footer-bar {
    background: rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.35); text-align: center;
    padding: 16px;
    font-family: var(--lv-font-body);
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 1px; margin-top: 48px;
}

/* ========================================
   TABLE OVERRIDES
   ======================================== */
.table { color: var(--lv-text); }
.table th { color: var(--lv-text-light); font-family: var(--lv-font-body); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .lv-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .lv-cat-grid .lv-cat-card { aspect-ratio: 3 / 4; }
    .lv-checkout-wrap { grid-template-columns: 1fr; }
    .lv-footer-inner { grid-template-columns: 1fr 1fr; }
    .lv-features-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .lv-slide h1 { font-size: 2rem; }
    .lv-slide { min-height: 70vh; }
    .lv-slide-content { padding: 60px 24px; }
    .lv-nav-cats { display: none; }
    .lv-menu-toggle { display: flex; }
    .lv-product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
    .lv-footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .lv-stats { gap: 30px; }
    .lv-stat-number { font-size: 2.5rem; }
    .lv-section { padding: 48px 16px; }
    .lv-section-title { font-size: 1.6rem; }
    .lv-cat-grid { grid-template-columns: 1fr 1fr; }
    .lv-cat-grid .lv-cat-card { aspect-ratio: 3 / 4; }
    .lv-banner h2 { font-size: 1.6rem; }
    .lv-features-inner { grid-template-columns: 1fr; }
    .lv-cart-sidebar { width: 100%; right: -100%; }
    .lv-hero-scroll { display: none; }
}

@media (max-width: 480px) {
    .lv-slide h1 { font-size: 1.6rem; }
    .lv-slide { min-height: 60vh; }
    .lv-cat-grid { grid-template-columns: 1fr; }
    .lv-cat-grid .lv-cat-card { aspect-ratio: 16 / 9; }
    .lv-whatsapp { bottom: 16px; right: 16px; }
    .lv-whatsapp-btn { width: 50px; height: 50px; font-size: 1.4rem; }
    .lv-product-grid { grid-template-columns: 1fr; }
    .lv-auth-card { padding: 28px 20px; }
}
