/* ============================================
   PAGE-SPECIFIC STYLES
   ============================================ */

/* ============================================
   HERO SECTION - PREMIUM ENHANCED
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    background-color: rgba(0, 0, 0, 0.65);
    overflow: hidden;
}

/* Imagen de respaldo cuando el video no está disponible o no se soporta */
.hero-bg-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    margin: 0;
}

.hero-bg-fallback img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Video de fondo en bucle */
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Overlay oscuro para legibilidad del texto */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Contenedor del contenido centrado verticalmente */
.hero .hero-container {
    position: relative;
    z-index: 2;
    padding: 3rem var(--space-4) 5rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    box-sizing: border-box;
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 0;
}

/* Slide Up Animation */
.hero-slide-up {
    animation: heroSlideUp 1s ease-out;
}

@keyframes heroSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.hero-title {
    font-size: var(--text-6xl);
    font-weight: var(--font-extrabold);
    margin: 0;
    line-height: 1.15;
    color: var(--color-white);
    text-align: center;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.hero-subtitle {
    font-size: var(--text-xl);
    max-width: 800px;
    margin: 0;
    margin-inline: auto;
    opacity: 0.95;
    line-height: 1.7;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.8s ease-out 0.6s both;
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    animation: fadeIn 0.8s ease-out 0.8s both;
}

/* Premium Hero Buttons */
.btn-hero-primary {
    background: var(--color-secondary);
    color: var(--color-white);
    border: none;
    display: inline-flex;
    align-items: center;
    font-weight: var(--font-semibold);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: var(--color-secondary-light);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 193, 7, 0.3);
    /* Glow effect */
}

.btn-hero-primary svg {
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover svg {
    transform: translateX(5px);
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    font-weight: var(--font-semibold);
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Trust Indicators / Stats (fila de estadísticas) */
.hero-stats {
    display: flex;
    gap: var(--space-8);
    align-items: center;
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    margin: 0;
    animation: fadeIn 0.8s ease-out 1s both;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: white;
    line-height: 1;
    min-width: 80px;
    display: inline-block;
    text-align: center;
    margin-bottom: var(--space-1);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.9);
    font-weight: var(--font-medium);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}


/* ============================================
   FEATURES SECTION - PREMIUM
   ============================================ */

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-8);
}

.feature-card {
    text-align: center;
    padding: var(--space-8);
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;

    /* Responsive Widths for Flexbox */
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .feature-card {
        flex: 0 0 calc(50% - var(--space-8));
        max-width: calc(50% - var(--space-8));
    }
}

@media (min-width: 1200px) {
    .feature-card {
        flex: 0 0 calc(25% - (var(--space-8) * 3 / 4));
        max-width: calc(25% - (var(--space-8) * 3 / 4));
    }
}

/* Animated gradient border on hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent), var(--color-primary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 50px rgba(46, 125, 50, 0.2),
        0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Icon with pulse animation */
.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: var(--radius-2xl);
    font-size: var(--text-4xl);
    color: var(--color-white);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.3);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Pulse ring effect */
.feature-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    opacity: 0;
    transition: all 0.6s ease;
}

.feature-card:hover .feature-icon::before {
    width: 120%;
    height: 120%;
    opacity: 0.3;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 35px rgba(46, 125, 50, 0.5);
}

.feature-icon svg {
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon svg {
    transform: scale(1.1);
    animation: iconPulse 1.5s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1.2);
    }
}

.feature-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-3);
    color: var(--color-primary-dark);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-title {
    color: var(--color-primary);
    transform: translateY(-2px);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-description {
    color: var(--text-primary);
}


/* Categories Section */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

/* ============================================
   CATEGORY CARDS - PREMIUM 3D
   ============================================ */

.category-card {
    position: relative;
    min-height: 400px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-10);
    text-align: center;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(46, 125, 50, 0.15);
    border-color: rgba(46, 125, 50, 0.2);
}

/* Background Image Layer */
/* Background Image Layer */
.category-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    /* Increased visibility */
    transition: all 0.6s ease;
}

.category-card:hover .category-card-bg {
    transform: scale(1.1);
    opacity: 0.35;
    /* More visible on hover */
}

/* Animated Gradient Overlay */
.category-card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.7) 100%);
    /* More transparent to let image show */
    transition: all 0.4s ease;
}

.category-card:hover .category-card-gradient {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.85) 0%,
            rgba(255, 255, 255, 0.6) 100%);
}

/* Content */
.category-card-content {
    position: relative;
    z-index: 2;
    padding: var(--space-10);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Icon with Animation */
.category-icon {
    width: 100px;
    height: 100px;
    margin-bottom: var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 50%;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-card:hover .category-icon {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(46, 125, 50, 0.35);
}

.category-icon svg {
    width: 48px;
    height: 48px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* Title */
.category-card h3 {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-primary-dark);
    margin-bottom: var(--space-3);
    transition: color 0.3s ease;
}

.category-card:hover h3 {
    color: var(--color-primary);
}

/* Description */
.category-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    font-size: var(--text-base);
}

/* Premium Button */
.category-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: var(--font-semibold);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.25);
}

.category-btn:hover {
    background: var(--color-primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.35);
}

.category-btn i {
    transition: transform 0.3s ease;
}

.category-btn:hover i {
    transform: translateX(5px);
}

/* Shine Effect */
.category-shine {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    pointer-events: none;
}

.category-card:hover .category-shine {
    animation: shine 1.5s ease-in-out;
}

@keyframes shine {
    0% {
        top: -50%;
        right: -50%;
    }

    100% {
        top: 150%;
        right: 150%;
    }
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.product-filters {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-3) var(--space-5);
    background: var(--bg-secondary);
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-lg);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-6);
}

/* PREMIUM PRODUCT CARDS */
.product-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(46, 125, 50, 0.2);
}

/* Image Container with Zoom */
.product-card>div:first-child {
    position: relative;
    overflow: hidden !important;
    background-color: var(--bg-secondary);
}

.product-card>div:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.product-card:hover>div:first-child::before {
    opacity: 1;
}

.product-card>div:first-child {
    transition: transform 0.6s ease !important;
}

.product-card:hover>div:first-child {
    transform: scale(1.1) !important;
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--color-gray-200) 0%, var(--color-gray-100) 100%);
    transition: transform 0.6s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-content {
    padding: var(--space-5);
    position: relative;
}

/* Floating Category Badge */
.product-category {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--color-primary);
    color: var(--color-white);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    margin-bottom: var(--space-3);
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
    transition: all 0.3s ease;
}

.product-card:hover .product-category {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.4);
}

.product-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-2);
    color: var(--color-primary-dark);
    transition: color 0.3s ease;
    line-height: 1.3;
}

.product-card:hover .product-title {
    color: var(--color-primary);
}

.product-description {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   LOCATIONS PAGE - PREMIUM
   ============================================ */

/* Premium Header */
.locations-header {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-accent) 100%);
    background-size: 200% 200%;
    color: white;
    padding: var(--space-16) 0;
    animation: gradientMove 10s ease infinite;
    overflow: hidden;
}

.locations-header-title {
    color: white;
    font-size: var(--text-5xl);
    margin-bottom: var(--space-4);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.locations-header-subtitle {
    font-size: var(--text-xl);
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Locations Grid */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-8);
}

/* Location Cards */
.location-card {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(46, 125, 50, 0.15);
    border-color: var(--color-primary);
}

/* Location Image */
.location-image-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.location-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-card:hover .location-image {
    transform: scale(1.1);
}

.location-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin: var(--space-6) var(--space-6) var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--bg-secondary);
}

.location-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-lg);
    color: white;
    transition: all 0.3s ease;
}

.location-card:hover .location-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.3);
}

.location-name {
    color: var(--color-primary-dark);
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-1);
    transition: color 0.3s ease;
}

.location-card:hover .location-name {
    color: var(--color-primary);
}

.location-city {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    display: block;
}

/* Location Details */
.location-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    padding: 0 var(--space-6);
}

.location-detail-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    color: var(--text-secondary);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.location-detail-item:hover {
    color: var(--color-primary);
    transform: translateX(3px);
}

.location-detail-item svg {
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 2px;
}

.location-phone {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.location-phone:hover {
    color: var(--color-primary);
}

/* Map Preview */
.location-map-preview {
    margin-bottom: var(--space-6);
    padding: 0 var(--space-6);
}

.location-map-preview iframe {
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
}

.location-card:hover .location-map-preview iframe {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Location Button */
.location-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    transition: all 0.3s ease;
    margin: 0 var(--space-6) var(--space-6);
}

.location-btn svg {
    transition: transform 0.3s ease;
}

.location-btn:hover svg {
    transform: translateY(-2px);
}

/* ============================================
   CONTACT PAGE - PREMIUM
   ============================================ */

/* Premium Header */
.contact-header {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-accent) 100%);
    background-size: 200% 200%;
    color: white;
    padding: var(--space-16) 0;
    animation: gradientMove 10s ease infinite;
    overflow: hidden;
}

.contact-header-title {
    color: white;
    font-size: var(--text-5xl);
    margin-bottom: var(--space-4);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.contact-header-subtitle {
    font-size: var(--text-xl);
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* Contact Info Cards */
.contact-item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
    padding: var(--space-5);
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid transparent;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.15);
    border-left-color: var(--color-primary);
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-md);
    color: white;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
}

.contact-details h4 {
    color: var(--color-primary-dark);
    margin-bottom: var(--space-2);
    font-weight: var(--font-semibold);
    transition: color 0.3s ease;
}

.contact-item:hover .contact-details h4 {
    color: var(--color-primary);
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   ABOUT PAGE - PREMIUM
   ============================================ */

/* Premium Header */
/* Premium Header - Updated with Image */
.about-header {
    position: relative;
    background: url('../assets/images/about_hero_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: var(--space-16) 0;
    overflow: hidden;
}

.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(46, 125, 50, 0.85) 0%,
            rgba(46, 125, 50, 0.70) 50%,
            rgba(104, 159, 56, 0.75) 100%);
    z-index: 1;
}

.about-header .container {
    position: relative;
    z-index: 2;
}

.about-header-title {
    color: white;
    font-size: var(--text-5xl);
    margin-bottom: var(--space-4);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.about-header-subtitle {
    font-size: var(--text-xl);
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Mission Vision Values Cards */
.about-mvv-section {
    background: var(--bg-secondary);
}

.mvv-card {
    position: relative;
    background: #ffffff;
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
    border-top: 4px solid var(--color-primary);
}

.mvv-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(46, 125, 50, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.mvv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.mvv-card:hover::before {
    opacity: 1;
}

.mvv-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    background: rgba(46, 125, 50, 0.06);
    color: var(--color-primary);
}

.mvv-icon-svg {
    width: 1.8rem;
    height: 1.8rem;
}

.mvv-title {
    color: var(--color-primary-dark);
    text-align: center;
    margin-bottom: var(--space-4);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
}

.mvv-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: var(--text-base);
    text-align: left;
}

.mvv-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.mvv-list-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    color: var(--text-secondary);
}

.mvv-list-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: rgba(46, 125, 50, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.mvv-list-icon svg {
    width: 0.9rem;
    height: 0.9rem;
}

.mvv-list-text {
    line-height: 1.6;
}

.mvv-list-item:hover {
    color: var(--color-primary-dark);
    transform: translateX(4px);
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   FILTER PANEL B2B - Senior Corporate Design
   ============================================ */

/* Panel Card */
.filter-panel-b2b {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.04),
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 24px 48px -12px rgba(0, 0, 0, 0.10);
    font-family: var(--font-body);
}

/* Panel Header */
.filter-panel-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.filter-panel-header-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: rgba(46, 125, 50, 0.08);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.filter-panel-title {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.01em;
    line-height: 1;
}

/* Field Groups */
.filter-field-group {
    margin-bottom: 1.25rem;
}

.filter-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.6;
}

/* Inputs with Icon */
.filter-input-wrapper {
    position: relative;
}

.filter-input-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.filter-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: #111827;
    line-height: 1.6;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.filter-input-wrapper .filter-input {
    padding-left: 2.25rem;
}

.filter-input::placeholder {
    color: #9ca3af;
}

.filter-input:hover {
    border-color: #d1d5db;
    background: #ffffff;
}

.filter-input:focus {
    border-color: var(--color-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.10);
}

/* Remove number input spinners */
.filter-input[type="number"]::-webkit-inner-spin-button,
.filter-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.filter-input[type="number"] {
    -moz-appearance: textfield;
}

/* Custom Select */
.filter-select-wrapper {
    position: relative;
}

.filter-select {
    width: 100%;
    padding: 0.625rem 2.25rem 0.625rem 0.875rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: #111827;
    line-height: 1.6;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.filter-select:hover {
    border-color: #d1d5db;
    background: #ffffff;
}

.filter-select:focus {
    border-color: var(--color-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.10);
}

.filter-select-chevron {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #9ca3af;
    display: flex;
    align-items: center;
}

/* Price Side-by-side Inputs */
.filter-price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.filter-price-field {
    position: relative;
    flex: 1;
}

.filter-price-currency {
    position: absolute;
    left: 0.625rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    font-weight: 600;
    color: #9ca3af;
    pointer-events: none;
    line-height: 1;
}

/* Read-only price labels — left (min) and right (max) anchored */
.filter-price-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.875rem;
}

.filter-price-label {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.01em;
    line-height: 1;
}

/* Dual Range Slider */
.filter-slider-container {
    position: relative;
    height: 20px;
    margin: 0.25rem 0 0.5rem;
}

.filter-slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #e5e7eb;
    border-radius: 999px;
    transform: translateY(-50%);
    z-index: 1;
}

.filter-slider-active-bar {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 999px;
    box-shadow: 0 0 6px rgba(46, 125, 50, 0.35);
}

.custom-thumb {
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--color-primary);
    box-shadow: 0 1px 4px rgba(46, 125, 50, 0.25), 0 0 0 3px rgba(46, 125, 50, 0.08);
    cursor: grab;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

.custom-thumb.dragging {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.35), 0 0 0 5px rgba(46, 125, 50, 0.12);
}

/* Divider */
.filter-divider {
    height: 1px;
    background: #f3f4f6;
    margin: 1.25rem 0;
}

/* Footer */
.filter-footer {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.filter-results-count {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
    letter-spacing: 0.01em;
    line-height: 1.6;
}

.filter-reset-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.625rem 1rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.01em;
    background: transparent;
    border: 1.5px solid rgba(46, 125, 50, 0.35);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.filter-reset-btn:hover {
    background: rgba(46, 125, 50, 0.05);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.08);
    color: var(--color-primary-dark);
}

/* ============================================
   NUESTROS COMPROMISOS - Header estático + Grid 2x2 B2B
   ============================================ */

.commitments-section .container {
    max-width: var(--container-max, 1200px);
}

.commitments-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.commitments-title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-primary-dark);
    margin: 0 0 var(--space-4);
    line-height: 1.2;
}

.commitments-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.commitments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.commitment-item {
    padding: 2rem 2.5rem;
    border-radius: 16px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    transition: box-shadow 0.3s ease, transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.commitment-item:hover {
    box-shadow: 0 20px 40px -8px rgba(0, 100, 0, 0.12), 0 8px 16px -4px rgba(0, 100, 0, 0.07);
    background-color: #ffffff;
    border-color: rgba(46, 125, 50, 0.12);
    transform: translateY(-5px);
}

.commitment-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: var(--space-4);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.25s ease;
}

.commitment-item:hover .commitment-icon {
    transform: translateY(-3px);
}

.commitment-icon svg {
    width: 100%;
    height: 100%;
}

.commitment-heading {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--space-3);
}

.commitment-desc {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 968px) {
    .commitments-title {
        font-size: var(--text-2xl);
    }

    .commitments-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   CTA SECTION - PREMIUM
   ============================================ */

.cta-card {
    position: relative;
    background-color: var(--color-primary-dark);
    background-image: url('../assets/images/agricultural-field.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: white;
    text-align: center;
    padding: var(--space-12);
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 50, 0, 0.5);
    z-index: 0;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Floating Particles */
.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cta-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: ctaFloat 12s infinite ease-in-out;
}

.cta-particle:nth-child(1) {
    width: 60px;
    height: 60px;
    left: 15%;
    top: 30%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.cta-particle:nth-child(2) {
    width: 80px;
    height: 80px;
    right: 20%;
    top: 50%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.cta-particle:nth-child(3) {
    width: 50px;
    height: 50px;
    left: 60%;
    top: 20%;
    animation-delay: 4s;
    animation-duration: 16s;
}

@keyframes ctaFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.1;
    }

    50% {
        transform: translateY(-20px) translateX(15px) scale(1.2);
        opacity: 0.2;
    }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    color: white;
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
    font-weight: var(--font-extrabold);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
    font-size: var(--text-xl);
    margin-bottom: var(--space-8);
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA Specific Buttons */
.btn-cta-primary {
    background: var(--color-secondary);
    color: var(--color-white);
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    font-weight: var(--font-semibold);
}

.btn-cta-primary:hover:not(:disabled) {
    background: var(--color-secondary-light);
    color: var(--color-white);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 193, 7, 0.4);
}

.btn-cta-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-weight: var(--font-semibold);
}

.btn-cta-outline:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

/* ============================================
   DASHBOARD STYLES
   ============================================ */

.dashboard {
    min-height: calc(100vh - 200px);
    padding: var(--space-8) 0;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
    gap: var(--space-4);
}

.dashboard-title {
    font-size: var(--text-4xl);
    color: var(--color-primary-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.chart-container {
    background: var(--bg-primary);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-8);
}

.search-bar {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 250px;
}

/* ============================================
   LOGIN PAGE
   ============================================ */

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-accent) 100%);
    padding: var(--space-6);
}

.login-card {
    background: var(--bg-primary);
    padding: var(--space-10);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    width: 100%;
    max-width: 450px;
}

.login-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.login-logo {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
}

.login-title {
    font-size: var(--text-3xl);
    color: var(--color-primary-dark);
    margin-bottom: var(--space-2);
}

.login-subtitle {
    color: var(--text-secondary);
    font-size: var(--text-base);
}

/* ============================================
   RECEIPT QUERY
   ============================================ */

.query-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-primary);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.receipt-result {
    margin-top: var(--space-8);
    padding: var(--space-6);
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--color-primary);
}

.receipt-detail {
    display: flex;
    justify-content: space-between;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-light);
}

.receipt-detail:last-child {
    border-bottom: none;
}

.receipt-label {
    font-weight: var(--font-semibold);
    color: var(--text-primary);
}

.receipt-value {
    color: var(--text-secondary);
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-title {
    font-size: var(--text-4xl);
    color: var(--color-primary-dark);
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
    margin-top: var(--space-8);
    padding: var(--space-4);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.pagination-info {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
}

.pagination {
    display: flex;
    gap: var(--space-2);
    align-items: center;
}

.pagination-btn {
    padding: var(--space-2) var(--space-4);
    background: var(--bg-primary);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    transition: all var(--transition-speed);
}

.pagination-btn:hover:not(:disabled) {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-1px);
}

.pagination-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
}

/* ============================================
   DASHBOARD TABS
   ============================================ */

.dashboard-tabs {
    display: flex;
    gap: var(--space-3);
    border-bottom: 2px solid var(--border-medium);
}

.dashboard-tab {
    padding: var(--space-4) var(--space-6);
    background: transparent;
    border: none;
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    transition: all var(--transition-speed);
}

.dashboard-tab:hover {
    color: var(--color-primary);
}

.dashboard-tab.active {
    color: var(--color-primary);
}

.dashboard-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-primary);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
    }

    .hero .hero-container {
        padding: 2.5rem var(--space-4) 4rem;
    }

    .hero-content {
        gap: 2rem;
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

    .hero-subtitle {
        font-size: var(--text-lg);
    }

    .contact-grid,
    .about-section {
        grid-template-columns: 1fr;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-bar {
        flex-direction: column;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-4);
        padding: var(--space-4);
        width: 100%;
    }

    .stat-item {
        flex: 1 1 40%;
        min-width: 120px;
    }

    .stat-divider {
        display: none;
    }

    .login-card {
        padding: var(--space-6);
    }

    /* Product Filters Sidebar - Mobile */
    .products-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   PRODUCT FILTERS SIDEBAR - RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {

    /* Stack filters on top for tablets and mobile */
    #app .container>div[style*="grid-template-columns: 280px 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Make filter sidebar non-sticky on mobile */
    .card[style*="position: sticky"] {
        position: relative !important;
        top: auto !important;
        margin-bottom: var(--space-6);
    }

    /* Adjust products grid for smaller screens */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    }

    /* Category Carousel - Show 2 cards on tablet, 1 on mobile */
    .categories-track {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive - Mobile only */
@media (max-width: 576px) {
    .categories-track {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1025px) {

    /* Ensure products grid uses 3 columns on larger screens */
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}