/* Modern Store Styles - ComBenavides 2025 - Morph Theme Integration */

/* CSS Variables for consistent theming - ComBenavides Brand Colors for Morph Theme */
:root {
    /* Primary Brand Colors - ComBenavides Corporate Blue (Professional Version) */
    --primary-color: #5B6BCF;
    /* ComBenavides Blue - Professional & Modern */
    --primary-dark: #4A5AB8;
    --primary-light: #6C7CD6;

    /* Secondary Brand Colors - Orange (ComBenavides Professional Version) */
    --secondary-color: #E68B3A;
    --secondary-dark: #D4762A;
    --secondary-light: #EDA055;

    /* Accent Colors */
    --accent-color: #E68B3A;
    /* Main orange accent - Professional */
    --accent-orange: #E68B3A;
    --accent-orange-dark: #D4762A;
    --accent-orange-light: #F2B366;

    /* Morph Theme Integration */
    --morph-primary: #5B6BCF;
    --morph-secondary: #E68B3A;

    /* Neutral Colors - Updated for Morph */
    --gray-900: #0f172a;
    --gray-800: #1e293b;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;

    /* Text Colors */
    --text-color: var(--gray-900);
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-500);
    --text-light: var(--gray-400);

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: var(--gray-50);
    --bg-dark: var(--gray-900);
    --bg-medium: var(--gray-800);

    /* Status Colors */
    --success-color: #22c55e;
    --danger-color: #ef4444;
    --warning-color: var(--secondary-color);
    --info-color: var(--primary-color);

    /* Border & UI */
    --border-color: var(--gray-200);
    --border-dark: var(--gray-300);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;

    /* Shadows - Enhanced for Morph */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Gradients - Updated for Morph aesthetics */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    --gradient-mixed: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-morph: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #EC6B18 100%);

    /* Typography - Professional ecommerce fonts */
    --font-family-display: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-family-primary: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --bs-font-sans-serif: Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* Modern Typography - Professional fonts for ecommerce */
/*@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Source+Sans+Pro:wght@300;400;600;700&display=swap');*/
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&family=Source+Sans+Pro:wght@300;400;600;700&display=swap");

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

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    margin: 0;
    padding: 0;
}

/* Typography Hierarchy - Professional ecommerce styling */
h1, h2, h3, h4, h5, h6,
.section-title,
.product-title,
.card-title,
.navbar-brand,
.btn,
.badge {
    /*font-family: var(--bs-font-sans-serif);*/
    font-family: var(--bs-font-sans-serif);
    font-weight: 600;
}

h1 { 
    font-size: 2.5rem; 
    font-weight: 700; 
    line-height: 1.2; 
}

h2 { 
    font-size: 2rem; 
    font-weight: 600; 
    line-height: 1.3; 
}

h3 { 
    font-size: 1.5rem; 
    font-weight: 600; 
    line-height: 1.4; 
}

/* Product and content text using readable font */
p, .card-text, .product-description, 
.product-details, .form-control,
.form-label, small, .small {
    font-family: var(--font-family-primary);
}

/* Price styling with display font for impact */
.price, .product-price, .price-container {
    font-family: var(--bs-font-sans-serif);
    font-weight: 700;
}

.modern-store {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Header Styles */
.modern-header {
    background: white;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 100;
}

.header-top {
    background: #f8f9fa;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    transition: all 0.3s ease;
}

.header-main {
    padding: 16px 0;
    background: white;
    transition: all 0.3s ease;
}

/* Sticky Header Behavior */
.header-sticky .header-top {
    transform: translateY(-100%);
    opacity: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
}

.header-sticky .header-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
}

.header-sticky {
    margin-bottom: 80px;
    /* Compensate for fixed header */
}

.contact-info-top,
.email-info-top {
    display: flex;
    align-items: center;
}

.contact-text {
    color: var(--text-secondary);
    font-weight: 500;
}

.contact-link-top {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link-top:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.social-title {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
}

.social-links-top {
    display: flex;
    gap: 10px;
}

.social-link-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
}

.social-link-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: white;
}

.header-main {
    padding: 16px 0;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    max-height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-container:hover img {
    transform: scale(1.05);
}

/* Modern Search Bar */
.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 48px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.search-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    border-radius: var(--border-radius);
    color: white;
    padding: 0 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-btn:hover {}

/* Cart Header */
.cart-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-menu .user-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.user-menu .user-link:hover {
    color: var(--primary-color);
}

/* User Dropdown Styles */
.user-dropdown {
    position: relative;
}

.user-link.user-logged {
    padding: 6px 12px;
    border-radius: 25px;
    background: var(--bg-light, #f8f9fa);
    transition: all 0.3s ease;
}

.user-link.user-logged:hover {
    background: var(--primary-color);
    color: white;
}

.user-link.user-logged:hover .user-avatar {
    background: white;
    color: var(--primary-color);
}

.user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.user-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown:hover .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-user-info {
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color, #0056b3));
    color: white;
}

.dropdown-user-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
}

.dropdown-user-email {
    display: block;
    font-size: 12px;
    opacity: 0.85;
    margin-top: 2px;
}

.user-dropdown-menu .dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 0;
}

.user-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: var(--text-primary, #333);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.user-dropdown-menu .dropdown-item i {
    width: 18px;
    text-align: center;
    color: var(--text-muted, #666);
    transition: color 0.2s ease;
}

.user-dropdown-menu .dropdown-item:hover {
    background: var(--bg-light, #f8f9fa);
    color: var(--primary-color);
}

.user-dropdown-menu .dropdown-item:hover i {
    color: var(--primary-color);
}

.user-dropdown-menu .dropdown-item-logout {
    color: var(--danger-color, #dc3545);
}

.user-dropdown-menu .dropdown-item-logout i {
    color: var(--danger-color, #dc3545);
}

.user-dropdown-menu .dropdown-item-logout:hover {
    background: #fff5f5;
}

.wishlist-btn {
    position: relative;
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.wishlist-btn:hover {
    border-color: var(--danger-color);
    color: var(--danger-color);
}

.wishlist-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

/* Cart Button - mismo estilo que wishlist */
.cart-btn {
    position: relative;
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.cart-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.cart-btn .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.cart-icon {
    position: relative;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-icon:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    text-align: center;
}

/* Navigation */
.modern-navbar {
    background: var(--primary-color);
    padding: 0;
}

/* Support Navigation Bar - Below Hero Section */
.support-navbar {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 3px solid var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.support-nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.support-nav-item {
    position: relative;
}

.support-nav-link {
    display: flex;
    align-items: center;
    padding: 0.65rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.support-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 89, 230, 0.1), transparent);
    transition: left 0.5s ease;
}

.support-nav-link:hover::before {
    left: 100%;
}

.support-nav-link:hover {
    color: var(--primary-color);
    background: rgba(52, 89, 230, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 89, 230, 0.15);
}

.support-nav-link.highlight {
    background: linear-gradient(135deg, rgba(236, 107, 24, 0.1), rgba(236, 107, 24, 0.05));
    color: var(--accent-color);
    border: 1px solid rgba(236, 107, 24, 0.2);
}

.support-nav-link.highlight:hover {
    background: linear-gradient(135deg, var(--accent-color), #d4570a);
    color: white;
    transform: translateY(-2px);
}

.support-nav-link.special {
    background: linear-gradient(135deg, rgba(52, 89, 230, 0.1), rgba(52, 89, 230, 0.05));
    color: var(--primary-color);
    border: 1px solid rgba(52, 89, 230, 0.2);
}

.support-nav-link.special:hover {
    background: var(--gradient-primary);
    color: white;
}

.support-nav-extra {
    display: flex;
    align-items: center;
}

.nav-help-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.navbar-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 16px 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
    margin: 4px 0;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
}

.nav-link.special {
    background: var(--gradient-secondary);
    color: white;
    font-weight: 600;
}

.nav-link.special:hover {
    background: var(--secondary-dark);
    color: white;
}

/* E-commerce Sections - Modern Design */

/* Value Proposition Section */
.value-proposition {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.value-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.value-icon i {
    font-size: 1.5rem;
    color: white;
}

.value-content h5 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.value-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

/* Categories Showcase */
.categories-showcase {
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Category Feature Cards */
.category-feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.category-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.category-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.category-image {
    text-align: center;
    margin-bottom: 0.15rem;
}

.category-mega-icon {
    font-size: 4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.category-stats {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.discount-badge {
    background: var(--gradient-secondary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.category-cta {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-cta:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* Compact Category Cards */
.category-card-compact {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
}

.category-card-compact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.category-icon-compact {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.category-icon-compact i {
    color: white;
    font-size: 1.2rem;
}

.category-info-compact {
    flex: 1;
}

.category-info-compact h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.category-info-compact p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.category-arrow {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.category-card-compact:hover .category-arrow {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* Social Proof Section */
.social-proof {
    background: var(--gradient-primary);
}

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

.proof-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: white;
}

.proof-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Enhanced Sidebar */
.special-offer-banner {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-dark));
    border-radius: 12px;
    padding: 1.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.special-offer-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.offer-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4757;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0 12px 0 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.offer-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.offer-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
}

.whatsapp-banner {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 12px;
    padding: 1.5rem;
    color: white;
    text-align: center;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.whatsapp-icon i {
    font-size: 2rem;
}

.whatsapp-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.whatsapp-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: scale(1.05);
}

/* Enhanced Product Sections */
.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header-inline .section-title {
    font-size: 1.75rem;
    margin: 0;
    display: flex;
    align-items: center;
}

.view-all-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.view-all-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* Benefits Stack */
.benefits-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.benefit-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid;
    transition: all 0.3s ease;
}

.benefit-card.primary {
    background: rgba(52, 89, 230, 0.05);
    border-left-color: var(--primary-color);
}

.benefit-card.success {
    background: rgba(34, 197, 94, 0.05);
    border-left-color: #22c55e;
}

.benefit-card.warning {
    background: rgba(236, 107, 24, 0.05);
    border-left-color: var(--accent-color);
}

.benefit-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.benefit-card.primary .benefit-icon {
    background: var(--primary-color);
    color: white;
}

.benefit-card.success .benefit-icon {
    background: #22c55e;
    color: white;
}

.benefit-card.warning .benefit-icon {
    background: var(--accent-color);
    color: white;
}

.benefit-info h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.benefit-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.benefit-detail {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.newsletter-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.newsletter-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.newsletter-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.newsletter-benefits {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.benefit-tag {
    background: rgba(52, 89, 230, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.newsletter-form .form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.newsletter-form .input-group {
    margin-bottom: 0.5rem;
}

.newsletter-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px 0 0 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.newsletter-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.newsletter-form .btn {
    border-radius: 0 8px 8px 0;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

.newsletter-form .form-text {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.hero-section {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
    /* Enhanced fallback background for when video is not available */
    background-image:
        linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--secondary-color) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="tech-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><rect x="8" y="8" width="4" height="4" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23tech-pattern)"/></svg>');
    background-size: cover, 40px 40px;
    background-attachment: fixed, scroll;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 2;
}

.hero-title {
    font-size: 2.7rem;
    font-weight: 700;
    position: relative;
    z-index: 10;
}

.hero-subtitle {
    font-size: 2rem;
    opacity: 0.8;
    position: relative;
    z-index: 10;
}

.hero-actions {
    position: relative;
    z-index: 10;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--primary-color);
    padding: 14px 28px;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    text-decoration: none;
    color: var(--primary-dark);
}

.hero-cta-secondary {
    background: var(--gradient-secondary);
    color: white;
    border: none;
}

.hero-cta-secondary:hover {
    background: var(--secondary-dark);
    color: white;
}

/* Special Day CTA Button */
.hero-cta-special {
    background: var(--special-day-color, var(--gradient-secondary));
    color: white;
    border: none;
    animation: pulse-special 2s infinite;
    position: relative;
    overflow: hidden;
}

.hero-cta-special::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine-special 3s infinite;
}

.hero-cta-special:hover {
    transform: scale(1.05);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@keyframes pulse-special {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { box-shadow: 0 0 20px 5px rgba(255, 255, 255, 0.2); }
}

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

/* Special Day Promotional Bar */
.special-day-bar {
    position: relative;
    overflow: hidden;
    z-index: 101;
}

.special-day-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer-bar 3s infinite;
}

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

.special-day-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.special-day-link:hover {
    color: rgba(255, 255, 255, 0.9) !important;
    transform: scale(1.02);
}

.special-day-icon {
    animation: bounce-icon 1s ease-in-out infinite;
}

@keyframes bounce-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.special-day-name {
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.special-day-desc {
    font-size: 0.85rem;
    opacity: 0.9;
}

.special-day-separator {
    opacity: 0.6;
}

.special-day-dates {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.35em 0.65em;
    align-items: center;
}

.special-day-arrow {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.special-day-link:hover .special-day-arrow {
    transform: translateX(5px);
}

/* Special Day Ribbon - Cinta diagonal en esquina superior izquierda */
.special-day-ribbon {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 120px;
    height: 120px;
    overflow: hidden;
    z-index: 1000;
    pointer-events: none;
}

.special-day-ribbon span {
    position: absolute;
    display: block;
    width: 180px;
    padding: 8px 0;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 0.5);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    /* Posicionar en diagonal */
    top: 26px;
    left: -45px;
    transform: rotate(-45deg);
}

.hero-image {
    position: relative;
    z-index: 10;
}

/* Video Background for Hero Section */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.5s ease-in-out;
}

/* Hide video until it's loaded */
.hero-video-bg:not([data-loaded="true"]) {
    opacity: 0;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Quick Categories */
.quick-categories {
    background: white;
}

.category-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
}

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

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-mixed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 32px;
}

.category-card:nth-child(even) .category-icon {
    background: var(--gradient-secondary);
}

.category-card h3 {
    font-family: var(--bs-font-sans-serif);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.category-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.category-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.widget-title {
    font-family: var(--bs-font-sans-serif);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

/* WhatsApp Banner */
.whatsapp-banner {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    text-align: center;
    color: white;
}

.whatsapp-content h5 {
    font-weight: 600;
    margin-bottom: 12px;
}

.whatsapp-content p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.whatsapp-btn {
    background: white;
    color: #25d366;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: #128c7e;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.view-all-btn {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    color: var(--secondary-dark);
    text-decoration: none;
    transform: translateX(4px);
}

/* Promo Cards */
.promo-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.promo-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    position: relative;
}

.promo-card i {
    font-size: 32px;
    color: var(--primary-color);
    position: absolute;
    top: -16px;
    right: 16px;
    background: white;
    padding: 8px;
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.promo-card h4 {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.promo-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 14px;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--gradient-mixed) !important;
}

.newsletter-form .input-group {
    max-width: 400px;
    margin-left: auto;
}

.newsletter-form .form-control {
    border: none;
    padding: 12px 16px;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.newsletter-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 12px 24px;
    font-weight: 600;
}

/* Modern Footer */
.modern-footer {
    background: var(--bg-dark);
    color: white;
    margin-top: auto;
}

.recent-views-section {
    background: var(--bg-secondary);
    background: #efefef;
}

.map-section {
    position: relative;
    height: 410px;
    overflow: hidden;
}

.footer-main {
    background: var(--bg-dark);
    padding: 60px 0 40px;
}

.footer-brand .footer-logo {
    max-height: 100px;
    /*filter: brightness(0) invert(1);*/
}

.footer-title {
    font-family: var(--bs-font-sans-serif);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-description {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 24px;
}

.newsletter-mini h6 {
    color: white;
    font-weight: 600;
}

.newsletter-form-footer .input-group {
    max-width: 300px;
}

.newsletter-form-footer .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.newsletter-form-footer .form-control::placeholder {
    color: #d1d5db;
}

.newsletter-form-footer .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: none;
    color: white;
}

.newsletter-form-footer .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-links a::before {
    content: '→';
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.footer-links a:hover::before {
    transform: translateX(4px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item i {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-label {
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
    font-size: 14px;
}

.contact-value {
    color: #d1d5db;
    margin: 0;
    line-height: 1.5;
}

.contact-value a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value a:hover {
    color: var(--primary-color);
}

.footer-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-media {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social-title {
    color: white;
    font-weight: 600;
    margin: 0;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    color: white;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.payment-title {
    color: white;
    font-weight: 600;
    margin: 0;
    font-size: 14px;
}

.payment-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.payment-icons i {
    font-size: 24px;
    color: #d1d5db;
    transition: color 0.3s ease;
}

.payment-icons i:hover {
    color: var(--primary-color);
}

.copyright-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text {
    color: #d1d5db;
    margin: 0;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-legal a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-legal .separator {
    color: #6b7280;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.product-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.product-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--bg-secondary);
    background-color: #fff;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--danger-color);
    color: white;
    padding: 4px 8px;
    border-radius: var(--border-radius);
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--text-primary);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.price-current {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.price-original {
    font-size: 16px;
    text-decoration: line-through;
    color: var(--text-muted);
}

.product-actions {
    display: flex;
    gap: 8px;
}

.product-recent {
    box-shadow: none;
    transition: box-shadow 0.3s;
    transition: all 0.3s ease;
}

.product-recent:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);

}

.product-recent-image {
    height: 100px;
}

.product-recent-image img {
    transition: transform 0.3s ease;
}

.product-recent:hover .product-recent-image img {
    transform: scale(1.05);
}

.btn-add-cart {
    flex: 1;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
}

.btn-wishlist {
    background: white;
    color: var(--text-muted);
    border: 2px solid var(--border-color);
    padding: 12px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-wishlist:hover {
    color: var(--danger-color);
    border-color: var(--danger-color);
}

/* Section Titles */
.section-title {
    font-family: var(--bs-font-sans-serif);
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 48px;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

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

.mb-4 {
    margin-bottom: 24px;
}

.mt-4 {
    margin-top: 24px;
}

.p-4 {
    padding: 24px;
}

/* Print Styles */
@media print {

    .modern-header,
    .newsletter-section,
    .hero-section,
    .quick-categories {
        display: none;
    }

    .main-content {
        padding: 0;
    }

    .product-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}

/* Morph Theme Integration Enhancements */
/* Ensure our custom components blend seamlessly with Morph */

/* ComBenavides Brand Colors for Bootstrap Variables - Professional Version */
:root {
    /* Primary - ComBenavides Blue (Professional) */
    --bs-primary: #5B6BCF !important;
    --bs-primary-rgb: 91, 107, 207 !important;
    
    /* Warning - ComBenavides Orange (Professional) */
    --bs-warning: #E68B3A !important;
    --bs-warning-rgb: 230, 139, 58 !important;
    
    /* Success - Morph Default Green */
    --bs-success: #22c55e !important;
    --bs-success-rgb: 34, 197, 94 !important;
    
    /* Info - Morph Default Sky Blue */
    --bs-info: #06b6d4 !important;
    --bs-info-rgb: 6, 182, 212 !important;
    
    /* Danger - Morph Default Red */
    --bs-danger: #ef4444 !important;
    --bs-danger-rgb: 239, 68, 68 !important;
    
    /* Secondary - Morph Default Gray */
    --bs-secondary: #6b7280 !important;
    --bs-secondary-rgb: 107, 114, 128 !important;
    
    /* Dark - Morph Default */
    --bs-dark: #1f2937 !important;
    --bs-dark-rgb: 31, 41, 55 !important;
    
    /* Light - Morph Default */
    --bs-light: #f3f4f6 !important;
    --bs-light-rgb: 243, 244, 246 !important;
}

/* Override Bootstrap/Morph components with brand colors - Professional Version */
.btn-primary {
    --bs-btn-bg: #5B6BCF;
    --bs-btn-border-color: #5B6BCF;
    --bs-btn-hover-bg: #4A5AB8;
    --bs-btn-hover-border-color: #4A5AB8;
    --bs-btn-active-bg: #4A5AB8;
    --bs-btn-active-border-color: #4A5AB8;
    background: var(--gradient-primary);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    --bs-btn-color: #5B6BCF;
    --bs-btn-border-color: #5B6BCF;
    --bs-btn-hover-bg: #5B6BCF;
    --bs-btn-hover-border-color: #5B6BCF;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

/* Warning (Orange) Button Styles - Professional Version */
.btn-warning {
    --bs-btn-bg: #E68B3A;
    --bs-btn-border-color: #E68B3A;
    --bs-btn-hover-bg: #D4762A;
    --bs-btn-hover-border-color: #D4762A;
    --bs-btn-active-bg: #D4762A;
    --bs-btn-active-border-color: #D4762A;
    background: var(--gradient-secondary);
    border: none;
    color: white;
    font-weight: 500;
}

.btn-warning:hover {
    background: var(--secondary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-warning {
    --bs-btn-color: #E68B3A;
    --bs-btn-border-color: #E68B3A;
    --bs-btn-hover-bg: #E68B3A;
    --bs-btn-hover-border-color: #E68B3A;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

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

/* Text colors override - Professional Version */
.text-primary {
    color: #5B6BCF !important;
}

.text-warning {
    color: #E68B3A !important;
}

/* Background colors override */
.bg-primary {
    background-color: #5B6BCF !important;
}

.bg-warning {
    background-color: #E68B3A !important;
}

/* Border colors override */
.border-primary {
    border-color: #5B6BCF !important;
}

.border-warning {
    border-color: #E68B3A !important;
}

/* Navigation bar colors */
.navbar-brand {
    color: #5B6BCF !important;
}

.nav-link:hover,
.nav-link.active {
    color: #5B6BCF !important;
}

/* Form controls */
.form-control:focus {
    border-color: #5B6BCF;
    box-shadow: 0 0 0 0.2rem rgba(91, 107, 207, 0.25);
}

.form-select:focus {
    border-color: #5B6BCF;
    box-shadow: 0 0 0 0.2rem rgba(91, 107, 207, 0.25);
}

/* Badge styles with brand colors */
.badge-primary {
    background: var(--primary-color);
}

.badge-warning {
    background: var(--secondary-color);
    color: white;
}

/* Accent button with ComBenavides orange */
.btn-accent {
    background: var(--gradient-secondary);
    border: none;
    color: white;
    font-weight: 500;
}

.btn-accent:hover {
    background: var(--secondary-dark);
    color: white;
    transform: translateY(-1px);
}

/* Enhanced card styling for Morph */
.card {
    border: none;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

/* Morph-specific navigation improvements */
.navbar-brand {
    font-weight: 600;
    color: var(--primary-color) !important;
}

/* Form controls with Morph styling */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

/* Ensure badges work well with Morph */
.badge-primary {
    background: var(--primary-color);
}

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

/* Text utilities for ComBenavides colors */
.text-brand-primary {
    color: var(--primary-color) !important;
}

.text-brand-accent {
    color: var(--accent-color) !important;
}

/* Background utilities */
.bg-brand-primary {
    background: var(--primary-color) !important;
}

.bg-brand-accent {
    background: var(--accent-color) !important;
}

.bg-gradient-brand {
    background: var(--gradient-mixed) !important;
}

.badge-brand-prod {
    font-size: 0.55em;
}

/* ==================== Mobile Filters Responsive Design ==================== */

/* Mobile filters styles for better UX */
.mobile-filters-form {
    max-width: 100%;
}

.mobile-filter-select select {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid var(--gray-300);
    background-color: var(--bg-primary);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.mobile-filter-select select:focus {
    outline: 0;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(91, 107, 207, 0.25);
}

/* Filter toggle button styling */
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Clear filters button styling */
.btn-outline-secondary {
    border-color: var(--gray-400);
    color: var(--gray-600);
    transition: all 0.15s ease-in-out;
}

.btn-outline-secondary:hover {
    background-color: var(--gray-600);
    border-color: var(--gray-600);
    color: white;
    transform: translateY(-1px);
}

/* Filter actions container for mobile */
.filter-actions-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Collapse animation enhancement */
#mobileFilters {
    transition: all 0.3s ease;
}

/* Filter labels in mobile */
.mobile-filters-form .form-label {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Results count in mobile header */
.d-lg-none .text-muted {
    font-size: 0.9rem;
    color: var(--text-secondary) !important;
}

/* Apply button styling */
.mobile-filters-form .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    transition: all 0.15s ease-in-out;
}

.mobile-filters-form .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(91, 107, 207, 0.2);
}

/* Desktop clear filters button */
.d-none.d-lg-block .btn-outline-secondary {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

/* ==================== End Mobile Filters ==================== */

/*===================================
  RESPONSIVE STYLES - BOOTSTRAP 5.3.8
=====================================*/

/* Extra Large devices (large desktops, 1200px and down) */
@media (max-width: 1199.98px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
}

/* Large devices (desktops, 992px and down) */
@media (max-width: 991.98px) {
    /* Navigation */
    .modern-navbar {
        position: relative;
    }

    .navbar-nav-wrapper {
        position: relative;
        min-height: 60px;
        display: flex;
        align-items: center;
    }

    /* Support Navigation */
    .support-nav-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .support-nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }

    .support-nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .support-nav-title {
        font-size: 1rem;
    }

    .support-nav-extra {
        display: none;
    }

    /* Hero Section */
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .hero-cta {
        display: block;
        text-align: center;
        margin-bottom: 16px;
    }

    /* Categories */
    .category-card {
        margin-bottom: 24px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    /* Value cards */
    .value-card {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .value-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .category-feature-card {
        margin-bottom: 1.5rem;
    }

    .section-header-inline {
        flex-direction: column;
        align-items: flex-start;
    }

    .benefits-stack {
        margin-top: 2rem;
    }

    .newsletter-card {
        padding: 2rem;
    }

    .newsletter-content {
        margin-bottom: 2rem;
        text-align: center;
    }

    /* Tablet spacing adjustments */
    .d-none.d-lg-block {
        display: none !important;
    }
    
    .d-lg-none {
        display: block !important;
    }
}

/* Medium devices (tablets, 768px and down) */
@media (max-width: 767.98px) {
    /* Hero Section */
    .hero-section {
        padding: 25px 0;
        text-align: center;
    }

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

    /* Video background optimization for mobile */
    .hero-video-bg {
        opacity: 0.2;
        object-position: center center;
    }

    .hero-video-overlay {
        background: rgba(0, 0, 0, 0.5);
    }

    .section-title {
        font-size: 2rem;
    }

    /* Header */
    .header-main {
        padding: 10px 0;
    }

    .search-container {
        margin: 10px 0;
    }

    .cart-header {
        gap: 12px;
    }

    /* Navigation */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Categories */
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .hero-actions .hero-cta {
        justify-content: center;
    }

    .hero-nav-links {
        margin-top: 24px;
    }

    .nav-links-container {
        justify-content: center;
        gap: 12px;
    }

    /* Header Top */
    .header-top {
        text-align: center;
        padding: 6px 0;
    }

    .top-bar-right {
        margin-top: 6px;
        justify-content: center;
    }

    .contact-info-top {
        justify-content: center;
        font-size: 13px;
    }

    .social-links-top {
        gap: 8px;
    }

    .social-link-top {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .social-title {
        font-size: 13px;
    }

    .email-info-top {
        display: none !important;
    }

    /* Newsletter */
    .newsletter-form .input-group {
        margin: 0;
    }

    .newsletter-section .col-lg-6:first-child {
        margin-bottom: 24px;
        text-align: center;
    }

    /* Sidebar */
    .promo-sidebar {
        margin-top: 24px;
    }

    .sidebar-widget {
        margin-bottom: 24px;
    }

    /* Footer */
    .footer-main {
        padding: 40px 0 30px;
    }

    .contact-info {
        gap: 20px;
    }

    .contact-item {
        gap: 12px;
    }

    .contact-item i {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .social-media,
    .payment-methods {
        justify-content: center;
        margin-bottom: 16px;
    }

    .footer-legal {
        justify-content: center;
        margin-top: 16px;
    }

    .footer-actions {
        justify-content: center;
    }

    .map-section {
        height: 300px;
    }
}

/* Small devices (landscape phones, 576px and down) */
@media (max-width: 575.98px) {
    /* Support Navigation */
    .support-nav-menu {
        gap: 0.5rem;
    }

    .support-nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .support-nav-link span:not(.badge) {
        display: none;
    }

    .support-nav-link i {
        margin: 0;
    }

    /* Hero Section */
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Further video optimization for small screens */
    .hero-video-bg {
        opacity: 0.15;
        transform: scale(1.1);
    }

    .hero-video-overlay {
        background: rgba(0, 0, 0, 0.6);
    }

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

    /* Categories */
    .category-card {
        padding: 24px 16px;
    }

    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 16px;
    }

    .category-card h3 {
        font-size: 1.25rem;
    }

    /* Buttons and Forms */
    .hero-cta {
        padding: 14px 24px;
        font-size: 14px;
    }

    .search-input {
        padding: 10px 14px 10px 40px;
        font-size: 14px;
    }

    .search-icon {
        left: 14px;
    }

    .search-btn {
        padding: 0 12px;
    }

    .cart-icon,
    .wishlist-btn {
        width: 40px;
        height: 40px;
    }

    /* Widgets and Banners */
    .sidebar-widget {
        padding: 20px;
    }

    .whatsapp-banner {
        padding: 20px;
    }

    .trust-badge {
        padding: 20px 12px;
    }

    .trust-badge i {
        font-size: 36px;
    }

    .newsletter-form .form-control,
    .newsletter-form .btn {
        padding: 10px 16px;
    }

    /* Value Cards */
    .value-card {
        padding: 1rem;
    }

    .category-feature-card {
        padding: 1.5rem;
    }

    .category-card-compact {
        padding: 1rem;
    }

    .proof-number {
        font-size: 2rem;
    }

    .newsletter-form .input-group {
        flex-direction: column;
    }

    .newsletter-form .form-control,
    .newsletter-form .btn {
        border-radius: 8px;
    }

    .newsletter-form .btn {
        margin-top: 0.5rem;
    }

    /* Footer */
    .footer-main {
        padding: 32px 0 24px;
    }

    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }

    .newsletter-form-footer .input-group {
        max-width: 100%;
    }

    .footer-actions .btn {
        width: 100%;
        margin-bottom: 8px;
    }

    .social-media,
    .payment-methods {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .map-section {
        height: 280px;
    }

    /* Mobile Filters */
    .mobile-filters-form .form-label {
        font-size: 0.85rem;
    }
    
    .mobile-filter-select select {
        font-size: 0.85rem;
        padding: 0.4rem;
    }
    
    .d-lg-none .px-2 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    .mobile-filters-form {
        padding: 0.5rem;
    }
    
    /* Adjust button sizes for very small screens */
    .filter-actions-mobile .btn-sm {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    .filter-actions-mobile .btn-sm .fa {
        font-size: 0.7rem;
    }
}

/* Extra Small devices (portrait phones, 400px and down) */
@media (max-width: 399.98px) {
    .container {
        padding: 0 12px;
    }

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

    .section-title {
        font-size: 1.5rem;
    }

    .category-card {
        padding: 20px 12px;
    }

    .hero-section {
        padding: 40px 0;
    }

    .quick-categories {
        padding: 32px 0;
    }

    .main-content {
        padding: 32px 0;
    }

    .newsletter-section {
        padding: 32px 0;
    }

    .trust-section {
        padding: 24px 0;
    }
}