/**
 * GLAB MÉDICA - Estilos del Frontend
 * Sistema de Catálogo y Cotizaciones
 */

:root {
    --primary: #0b2c6b;
    --primary-dark: #0b7a98;
    --secondary: #0eb7c0;
    --dark: #0b2c6b;
    --darker: #374b72;
    --light: #e3ecf4;
    --gray: #627494;
    --glab-green: #0eb7c0;
    --glab-blue: #0b2c6b;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(135deg, #0b2c6b 0%, #374b72 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --radius: 1rem;
    --radius-lg: 1.5rem;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar */
.main-header .navbar {
    background: rgba(11, 44, 107, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition);
}

.main-header .navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand .navbar-logo {
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.brand-text {
    align-items: center;
    gap: 0.25rem;
}

.brand-glab {
    color: var(--glab-green);
    font-weight: 800;
}

.brand-medica {
    color: #fff;
    font-weight: 600;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff;
}

.navbar .dropdown-menu {
    border: none;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 0.5rem;
}

.navbar .dropdown-item {
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
}

.navbar .dropdown-item:hover {
    background: var(--light);
}

.search-form .form-control {
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: var(--radius) 0 0 var(--radius);
}

.search-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-form .btn-search {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.btn-cart {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 0.5rem 1rem;
}

.btn-cart:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--secondary);
    font-size: 0.7rem;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Compensar altura del navbar fijo */
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
}

.hero-badge {
    display: inline-block;
    background: rgba(14, 183, 192, 0.2);
    color: var(--secondary);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.hero-scroll a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

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

/* Section Styles */
.section-header {
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: rgba(11, 44, 107, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.125rem;
}

/* Category Cards */
.category-card {
    display: block;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.category-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

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

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

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: #fff;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.category-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.category-link {
    color: var(--secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Product Cards */
.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
}

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

.product-card.category-card {
    border: 2px solid rgba(11, 44, 107, 0.15);
}

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

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-featured {
    background: var(--secondary);
    color: #fff;
}

.badge-request {
    background: #ffc107;
    color: #333;
}

.product-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.btn-action {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-action:hover {
    background: var(--primary);
    color: #fff;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 1rem;
    margin: 0.5rem 0;
    line-height: 1.4;
}

.product-title a {
    color: inherit;
    text-decoration: none;
}

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

.product-brand {
    font-size: 0.85rem;
    color: var(--gray);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Features Section */
.feature-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(11, 44, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin: 0 auto 1.5rem;
}

.feature-card h4 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-dark);
    padding: 5rem 0;
}

.cta-content h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Header */
.page-header {
    background: var(--gradient-dark);
    padding: 8rem 0 3rem;
    color: #fff;
    margin-top: 80px; /* Compensar altura del navbar fijo */
}

.page-header-sm {
    padding: 7rem 0 2rem;
}

.page-header .breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 1rem;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.5);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Filter Sidebar */
.filter-sidebar {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.filter-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

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

.category-list li {
    margin-bottom: 0.25rem;
}

.category-item-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
}

.category-item-wrapper .category-link {
    flex: 1;
    min-width: 0;
}

.category-list .category-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: #333;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: var(--transition);
    flex: 1;
}

.category-list .category-link:hover,
.category-list .category-link.active {
    background: rgba(11, 44, 107, 0.1);
    color: var(--primary);
}

.category-list .subcategory-toggle {
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #666;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: var(--transition);
    flex-shrink: 0;
    min-width: 32px;
    height: 32px;
    line-height: 1;
    vertical-align: middle;
}

.category-list .subcategory-toggle:hover {
    background: rgba(11, 44, 107, 0.1);
    color: var(--primary);
}

.category-list .subcategory-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(11, 44, 107, 0.2);
}

.category-list .subcategory-toggle i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
    display: inline-block;
    line-height: 1;
    width: auto;
    height: auto;
}

.category-list li.has-subcategories.active .subcategory-toggle i {
    transform: rotate(180deg);
}

.subcategory-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin 0.3s ease;
}

.subcategory-list.show {
    max-height: 400px;
    margin: 0.5rem 0 0.5rem 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.subcategory-list li {
    margin-bottom: 0.25rem;
}

.subcategory-list a {
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    font-size: 0.9rem;
    color: #666;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.subcategory-list a:hover,
.subcategory-list a.active {
    background: rgba(11, 44, 107, 0.1);
    color: var(--primary);
    padding-left: 2.75rem;
}

.subcategory-list a i {
    font-size: 0.875rem;
    opacity: 0.8;
    display: inline-block;
    line-height: 1;
    width: auto;
    height: auto;
    flex-shrink: 0;
}

/* Scrollbar personalizado para subcategorías */
.subcategory-list.show::-webkit-scrollbar {
    width: 6px;
}

.subcategory-list.show::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.subcategory-list.show::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.subcategory-list.show::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Dropdown submenu en navbar */
.dropend {
    position: relative;
}

.dropend .d-flex {
    width: 100%;
}

.dropend .dropdown-toggle-split,
.mobile-subcategory-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: inherit;
    padding: 0.5rem;
    cursor: pointer;
    min-width: 30px;
}

.dropend .dropdown-toggle-split:hover,
.mobile-subcategory-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.dropend .dropdown-toggle-split:focus,
.mobile-subcategory-toggle:focus {
    outline: none;
    box-shadow: none;
}

.dropend .dropdown-toggle-split i,
.mobile-subcategory-toggle i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.dropend .dropdown-toggle-split[aria-expanded="true"] i,
.mobile-subcategory-toggle[aria-expanded="true"] i {
    transform: rotate(90deg);
}

@media (max-width: 991.98px) {
    .mobile-subcategory-toggle[aria-expanded="true"] i {
        transform: rotate(180deg);
    }
}

.dropend > .dropdown-menu,
.dropend .dropdown-submenu {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 0.125rem;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    min-width: 220px;
    display: none;
    position: absolute;
    z-index: 1000;
}

/* Estilos para móvil - subcategorías como lista anidada */
@media (max-width: 991.98px) {
    .dropend {
        position: static;
    }
    
    /* Asegurar que el navbar collapse respete los márgenes */
    .navbar-collapse {
        margin-top: 1rem;
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Asegurar que el dropdown principal respete los márgenes */
    .navbar .dropdown-menu {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0.5rem;
    }
    
    .dropend .dropdown-submenu,
    .mobile-subcategory-list {
        position: static;
        display: none;
        left: auto;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0.5rem;
        padding-left: 0.75rem;
        padding-right: 0.5rem;
        border-left: 2px solid rgba(255, 255, 255, 0.1);
        max-height: 300px;
        overflow-y: auto;
        overflow-x: hidden;
        min-width: auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 0.5rem;
    }
    
    /* Asegurar que los items del dropdown no se salgan */
    .navbar .dropdown-item {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
    
    .dropend .d-flex {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    
    /* Asegurar que el flex-grow-1 no cause overflow */
    .dropend .dropdown-item.flex-grow-1 {
        min-width: 0;
        flex: 1 1 auto;
    }
    
    .mobile-subcategory-list.show {
        display: block;
    }
    
    .mobile-subcategory-toggle i {
        transition: transform 0.3s ease;
    }
    
    .mobile-subcategory-toggle[aria-expanded="true"] i {
        transform: rotate(180deg);
    }
    
    .dropend .dropdown-toggle-split {
        min-width: 35px;
    }
    
    /* Scrollbar personalizado para móvil */
    .dropend .dropdown-submenu::-webkit-scrollbar,
    .mobile-subcategory-list::-webkit-scrollbar {
        width: 6px;
    }
    
    .dropend .dropdown-submenu::-webkit-scrollbar-track,
    .mobile-subcategory-list::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
    }
    
    .dropend .dropdown-submenu::-webkit-scrollbar-thumb,
    .mobile-subcategory-list::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 10px;
    }
    
    .dropend .dropdown-submenu::-webkit-scrollbar-thumb:hover,
    .mobile-subcategory-list::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5);
    }
    
    /* Para Firefox */
    .dropend .dropdown-submenu,
    .mobile-subcategory-list {
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.1);
    }
}

/* Scrollbar personalizado para dropdown de subcategorías */
.dropend .dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropend .dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.dropend .dropdown-menu::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.dropend .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Footer sublinks */
.footer-sublinks {
    list-style: none;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    display: none;
    animation: slideDown 0.3s ease;
}

.footer-sublinks.show {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.footer-sublinks li {
    margin-bottom: 0.5rem;
}

.footer-sublinks a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.footer-sublinks a:hover {
    color: rgba(255, 255, 255, 0.9);
    padding-left: 0.25rem;
}

.footer-sublinks a i {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Footer category links */
.footer-category-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem;
}

.footer-category-link {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85) !important;
    flex: 1;
    text-decoration: none;
    white-space: normal;
    word-wrap: break-word;
    min-width: 0;
}

.footer-category-link:hover {
    color: #fff !important;
}

.footer-category-link i {
    font-size: 0.9rem;
    opacity: 0.9;
    flex-shrink: 0;
}

.footer-toggle-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.footer-toggle-btn:hover {
    color: #fff;
}

.footer-toggle-btn i {
    transition: transform 0.3s ease;
    display: inline-block;
}

.footer-toggle-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Catalog Header */
.catalog-header {
    background: #fff;
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* No Products */
.no-products {
    background: #fff;
    border-radius: var(--radius);
    padding: 3rem;
}

/* Pagination */
.pagination .page-link {
    border: none;
    color: var(--dark);
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 0.5rem;
}

.pagination .page-item.active .page-link {
    background: var(--primary);
}

/* Product Detail */
.product-gallery .main-image {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.product-gallery .main-image img {
    width: 100%;
    height: auto;
}

.gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.gallery-thumbs .thumb {
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.gallery-thumbs .thumb.active,
.gallery-thumbs .thumb:hover {
    border-color: var(--primary);
}

.gallery-thumbs .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-detail {
    position: sticky;
    top: 100px;
}

.product-category-badge {
    display: inline-block;
    background: rgba(11, 44, 107, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-title-detail {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.meta-item {
    font-size: 0.9rem;
    color: var(--gray);
}

.product-description {
    padding: 1.5rem;
    background: var(--light);
    border-radius: var(--radius);
}

.product-actions-detail .btn-lg {
    padding: 0.875rem 1.5rem;
}

/* Cart */
.cart-item {
    padding: 1.5rem;
    background: #fff;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cart-item-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    height: 80px;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
}

.cart-item-info h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.cart-item-info h5 a {
    color: inherit;
    text-decoration: none;
}

.quote-form-card .card {
    border: none;
    box-shadow: var(--shadow);
}

/* Empty Cart */
.empty-cart {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
}

/* Contact */
.contact-info {
    padding: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(11, 44, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-text h5 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-text p {
    margin: 0;
    color: var(--gray);
}

.contact-form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.contact-map .card {
    border: none;
    box-shadow: var(--shadow);
}

.map-responsive {
    position: relative;
    width: 100%;
}

.map-responsive iframe {
    width: 100% !important;
    height: 450px;
    border: 0;
    border-radius: 0.5rem;
    display: block;
}

.social-links .social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(11, 44, 107, 0.1);
    color: var(--primary);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: var(--transition);
}

.social-links .social-link:hover {
    background: var(--primary);
    color: #fff;
}

/* Footer */
.main-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
}

.footer-top {
    padding: 4rem 0;
}

.footer-brand h3 {
    font-size: 1.75rem;
}

.footer-brand .footer-slogan {
    color: rgba(255, 255, 255, 0.8) !important;
}

.footer-title {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
}

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

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--secondary);
}

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

.footer-bottom p {
    font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

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

/* Buttons */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

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

.btn-success {
    background: #25d366;
    border-color: #25d366;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 7rem 0 2rem;
    }
    
    .filter-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 70px; /* Menos padding en móviles */
    }
    
    .page-header {
        margin-top: 70px; /* Menos margin en móviles */
        padding: 6rem 0 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .navbar-actions .search-form {
        display: none !important;
    }
}

