:root {
    --primary-blue: #003366;
    --secondary-blue: #0066CC;
    --accent-red: #DC143C;
    --dark-red: #B22222;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-gray);
}

/* Header Profesional */
.main-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-logo {
    height: 40px;
    width: auto;
    max-height: 40px;
}

.navbar-brand-text {
    white-space: nowrap;
}

.navbar-brand-icon {
    font-size: 1.25rem;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background-color: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.navbar-actions {
    flex-wrap: wrap;
}

.btn-whatsapp-text {
    white-space: nowrap;
}

/* Botón carrito móvil */
.cart-toggle-btn-mobile {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.cart-toggle-btn-mobile:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.cart-toggle-btn-mobile .cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--accent-red);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    border: 2px solid var(--primary-blue);
}

/* Dropdown Menu Estilo Industrial */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: var(--light-gray);
    color: var(--primary-blue);
    padding-left: 2rem;
}

.dropdown-item.subcategory-item {
    padding-left: 2.5rem;
    font-size: 0.9rem;
    color: #666;
}

.dropdown-item.subcategory-item:hover {
    background-color: #e9ecef;
    color: var(--accent-red);
}

.dropdown-item.three-category-item {
    padding-left: 1.5rem;
    font-size: 0.85rem;
    color: #888;
}

.dropdown-item.three-category-item:hover {
    background-color: #e9ecef;
    color: var(--accent-red);
}

/* Submenu hover para terceras categorías */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-item {
    position: relative;
    padding-right: 2.5rem !important;
}

.dropdown-submenu > .submenu-trigger > .dropdown-item {
    position: relative;
    padding-right: 2.5rem !important;
}

.submenu-trigger {
    display: flex;
    align-items: stretch;
}

.submenu-trigger .dropdown-item {
    flex: 1;
}

.submenu-toggle {
    border: none;
    background: transparent;
    color: #666;
    width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.25s ease;
}

.dropdown-submenu.is-open > .submenu-trigger .submenu-toggle {
    transform: rotate(180deg);
    color: var(--accent-red);
}

.dropdown-submenu > .dropdown-item .fa-chevron-right.float-end {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
}

.dropdown-submenu > .submenu-trigger > .dropdown-item .fa-chevron-right.float-end {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
}

.dropdown-submenu-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 0.25rem;
    min-width: 220px;
    max-width: 280px;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1001;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    padding: 0.5rem 0;
}

.dropdown-submenu:hover > .dropdown-submenu-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

.dropdown-submenu:hover > .dropdown-item {
    background-color: var(--light-gray);
    color: var(--primary-blue);
}

.dropdown-submenu:hover > .submenu-trigger > .dropdown-item {
    background-color: var(--light-gray);
    color: var(--primary-blue);
}

.dropdown-submenu-menu .dropdown-item {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    white-space: normal;
    word-wrap: break-word;
}

.dropdown-submenu-menu .dropdown-item:hover {
    padding-left: 2rem;
}

@media (max-width: 991px) {
    #navbarNav {
        max-height: calc(100vh - 84px);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    #navbarNav .nav-item.dropdown > .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 0.25rem;
        max-height: min(65vh, calc(100vh - 160px));
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
    }

    .dropdown-submenu-menu {
        position: static;
        margin-left: 0;
        margin-top: 0;
        margin-bottom: 0;
        box-shadow: none;
        border-left: 3px solid var(--accent-red);
        padding: 0 0 0 0.75rem;
        background-color: #f8f9fa;
        border-radius: 0;
        display: block;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }
    
    .dropdown-submenu:hover > .dropdown-submenu-menu {
        display: block;
    }

    .dropdown-submenu > .submenu-trigger > .dropdown-item {
        padding-right: 0.75rem !important;
    }

    .dropdown-submenu.is-open > .dropdown-submenu-menu {
        margin-bottom: 0.5rem;
    }

    .dropdown-submenu > .dropdown-item .fa-chevron-right.float-end,
    .dropdown-submenu > .submenu-trigger > .dropdown-item .fa-chevron-right.float-end {
        display: none !important;
    }
}

/* Botones WhatsApp */
.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.btn-primary-custom {
    background-color: var(--accent-red);
    color: white;
    border: none;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--dark-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
}

.btn-secondary-custom {
    background-color: var(--secondary-blue);
    color: white;
    border: none;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

/* Logo en navbar */
.navbar-brand img {
    height: 40px;
    width: auto;
    margin-right: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    height: 300px;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Estilos adicionales para contenido */
.content-wrapper {
    min-height: calc(100vh - 200px);
}

/* Logo en Hero */
.hero-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Productos Section */
.products-section {
    padding: 4rem 0;
    background-color: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), var(--dark-red));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Product Cards */
.products-section .row.g-4 > [class*="col-"],
.clearance-section .row.g-4 > [class*="col-"] {
    display: flex;
    align-items: stretch;
}

.product-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    background: white;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-image {
    height: 250px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

/* Botón de lupa sobre la imagen del producto */
.product-image-zoom-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    left: auto;
    bottom: auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

.product-image-zoom-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-1px) scale(1.05);
}

.product-image-zoom-btn i {
    pointer-events: none;
}

/* Modal de imagen de producto */
.product-image-modal .modal-dialog {
    max-width: 900px;
}

.product-image-modal .modal-content {
    background: #090c10;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 45px rgba(0,0,0,0.7);
    overflow: hidden;
}

.product-image-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: #fff;
}

.product-image-modal-title {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.product-image-modal-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: background 0.2s ease, transform 0.15s ease;
    cursor: pointer;
}

.product-image-modal-close:hover {
    background: rgba(255,255,255,0.15);
    transform: rotate(90deg);
}

.product-image-modal-body {
    padding: 1rem;
    background: radial-gradient(circle at top, #1b2433 0, #05070a 55%, #020204 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image-modal-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.7);
}

.product-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.75rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.product-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0;
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.45;
}

.title-wrap-limit {
    max-height: calc(1.3em * 3);
    overflow: hidden;
}

.product-read-more {
    text-decoration: none;
    line-height: 1.1;
}

.product-read-more:hover {
    text-decoration: underline;
}

.product-actions .add-to-cart-btn,
.product-actions .product-whatsapp-btn {
    width: 100%;
    min-height: 40px;
    white-space: nowrap;
}

.product-actions .product-whatsapp-btn {
    margin-top: 0;
}

.product-category {
    display: inline-block;
    background-color: var(--bs-secondary-bg);
    color: var(--bs-secondary-color);
    border: 1px solid var(--bs-border-color);
    padding: 0.2rem 0.55rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-media {
    background: var(--bs-light);
    border-radius: 0.75rem;
    overflow: hidden;
}

.new-badge {
    background: #e8f7ee !important;
    color: #198754 !important;
    border: 1px solid #b7e4c7 !important;
}

.product-price {
    color: var(--accent-red);
    font-size: 1.1rem;
}

.product-whatsapp-btn {
    width: 100%;
    background-color: #25D366;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0;
}

.product-whatsapp-btn:hover {
    background-color: #20BA5A;
    color: white;
    transform: scale(1.02);
}

/* Filtros activos */
.active-filters {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.filter-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-red), var(--dark-red));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.filter-badge .remove-filter {
    margin-left: 0.5rem;
    cursor: pointer;
    opacity: 0.8;
}

.filter-badge .remove-filter:hover {
    opacity: 1;
}

/* Buscador Profesional */
.search-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.search-form {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary-blue);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--accent-red), var(--dark-red));
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: linear-gradient(135deg, var(--dark-red), var(--accent-red));
    transform: translateY(-50%) scale(1.05);
}

.search-results-info {
    margin-top: 1rem;
    color: #666;
    font-size: 0.95rem;
}

.search-results-info strong {
    color: var(--primary-blue);
}

/* Paginación Profesional */
.pagination-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination-info {
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-link {
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    background-color: white;
    color: var(--primary-blue);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 44px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination .page-link:hover {
    background-color: var(--secondary-blue);
    color: white;
    border-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.2);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--accent-red), var(--dark-red));
    color: white;
    border-color: var(--accent-red);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
}

.pagination .page-item.disabled .page-link {
    background-color: #f5f5f5;
    color: #ccc;
    border-color: #e0e0e0;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination .page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
}

/* Sin productos */
.no-products {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.no-products i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 1rem;
}

/* Sección de Liquidación */
.clearance-section {
    background: #f3f6fb;
    padding: 3rem 0;
    margin-bottom: 0;
}

.clearance-title {
    color: var(--accent-red);
}

.clearance-subtitle {
    color: #555;
}

.clearance-card {
    border: 1px dashed rgba(220, 20, 60, 0.4);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.clearance-card:hover {
    border-style: solid;
}

.clearance-badge {
    background: linear-gradient(135deg, var(--accent-red), var(--dark-red));
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.clearance-placeholder {
    background: linear-gradient(135deg, #fbe9e9 0%, #f5f5f5 100%);
}

/* Carrito de Compras */
.cart-toggle-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-red), var(--dark-red));
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.cart-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.6);
}

.cart-toggle-btn .cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--secondary-blue);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 2px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
}

.cart-header h5 {
    margin: 0;
    font-weight: 700;
}

.cart-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: transform 0.2s ease;
}

.cart-close-btn:hover {
    transform: rotate(90deg);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.cart-empty i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 0.5rem;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.cart-item-image-placeholder {
    width: 60px;
    height: 60px;
    background-color: var(--light-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    flex-shrink: 0;
}


.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.cart-item-description {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background-color: var(--light-gray);
    border-color: var(--secondary-blue);
}

.quantity-value {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.remove-item-btn {
    background: none;
    border: none;
    color: var(--accent-red);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: transform 0.2s ease;
}

.remove-item-btn:hover {
    transform: scale(1.2);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 2px solid var(--light-gray);
    background-color: var(--light-gray);
}

.cart-total {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cart-action-btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear-cart {
    background-color: #dc3545;
    color: white;
}

.btn-clear-cart:hover {
    background-color: #c82333;
}

.btn-send-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-send-whatsapp:hover {
    background-color: #20BA5A;
}

.cart-notification {
    position: fixed;
    bottom: 100px;
    right: 2rem;
    background-color: var(--primary-blue);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.cart-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.add-to-cart-btn {
    width: 100%;
    background-color: var(--secondary-blue);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.add-to-cart-btn:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

.product-card-body .product-whatsapp-btn {
    margin-top: 0;
}

@media (max-width: 575.98px) {
    .product-actions .add-to-cart-btn,
    .product-actions .product-whatsapp-btn {
        padding: 0.5rem !important;
        min-height: 38px;
    }
}

@media (min-width: 992px) {
    .product-media {
        --bs-aspect-ratio: 75%;
    }
}

/* Responsive - Tablet y Móvil */
@media (max-width: 991px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-logo {
        height: 32px;
        max-height: 32px;
    }
    
    .navbar-nav {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0.5rem !important;
        font-size: 0.95rem;
    }
    
    .navbar-actions {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        justify-content: flex-start;
    }
    
    .btn-whatsapp {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .dropdown-menu {
        margin-top: 0.25rem;
        border-radius: 6px;
    }
    
    .dropdown-item {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
        letter-spacing: 0.5px;
    }
    
    .navbar-brand-text {
        font-size: 0.95rem;
    }
    
    .navbar-logo {
        height: 28px;
        max-height: 28px;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.65rem 0.5rem !important;
        font-size: 0.9rem;
    }
    
    .navbar-nav .nav-link i {
        font-size: 0.85rem;
    }
    
    .btn-whatsapp {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }
    
    .btn-whatsapp-text {
        display: inline;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .cart-toggle-btn {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .cart-toggle-btn-mobile {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .search-container {
        padding: 1.5rem;
    }

    .search-input {
        padding-right: 100px;
        font-size: 0.95rem;
    }

    .search-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .pagination-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination .page-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        min-width: 40px;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-brand-text {
        font-size: 0.85rem;
    }
    
    .navbar-logo {
        height: 24px;
        max-height: 24px;
    }
    
    .cart-toggle-btn-mobile {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        margin-left: 0.25rem;
    }
    
    .btn-whatsapp {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .btn-whatsapp i {
        font-size: 0.9rem;
    }
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

