/* Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Google Fonts - Barlow Condensed */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;500;600;700;800;900&display=swap');

/* ========================================
   BLUEOPANAMA - ESTILOS PERSONALIZADOS
   ======================================== */

/* Variables CSS para fácil personalización */
:root {
    /* Colores */
    --primary-color: #264A9B;
    --secondary-color: #FFD500;
    --accent-color: #f8f9fa;
    --text-dark: #000;
    --text-muted: #6c757d;
    --border-color: #ddd;
    --hover-color: #333;
    
    /* Sombras */
    --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 25px rgba(0,0,0,0.15);
    
    /* Bordes */
    --border-radius: 4px;
    --border-radius-round: 200px;
    
    /* Tipografía */
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Tamaños de fuente */
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 0.8rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
}

/* ========================================
   BASE STYLES
   ======================================== */ 
  .alert-danger .alert-success {
   margin-top: 20px !important;
   }
body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6; 
    background-color: #ffffff; 

}

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

.bg-dark {
    background-color: var(--primary-color) !important;
} 
.btn-primary {
    background-color: var(--primary-color) !important;

    color: white !important; 
    border-radius: var(--border-radius-round) !important; 
    padding: 12px !important;
    font-weight: var(--font-weight-medium) !important;
    font-size: var(--font-size-sm) !important;
    transition: all 0.3s ease !important; 
    border: none !important;
    letter-spacing: 0.5px !important; 
} 
.btn-purchase {
    background-color: var(--primary-color) !important; 
    border-radius: 200px !important;
  
}

/* ========================================
   TIPOGRAFÍA GLOBAL
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
}

/* Clases utilitarias de tipografía */
.text-xs { font-size: var(--font-size-xs); }
.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }
.text-3xl { font-size: var(--font-size-3xl); }
.text-4xl { font-size: var(--font-size-4xl); }

.font-light { font-weight: var(--font-weight-light); }
.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }
.font-extrabold { font-weight: var(--font-weight-extrabold); }

/* ========================================
   NAVEGACIÓN
   ======================================== */
.navbar {
    padding: 1rem 0;
    background-color: #264A9B !important;
    box-shadow: var(--shadow-light);
}

.navbar-brand {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-dark) !important;
}

.navbar-nav .nav-link {
color: white !important; 
    font-weight: var(--font-weight-light);
    font-size: var(--font-size-sm);
    padding: 0.5rem 1.5rem !important;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    border-bottom: 1px solid white;
}

/* Navbar Icons (Cart, Favorites, User) */
.navbar .text-decoration-none {
    transition: all 0.3s ease;
}

.navbar .text-decoration-none:hover {
    transform: scale(1.1);
    color: var(--primary-color) !important;
}

.navbar .badge { 
    font-size: 10px !important;
    min-width: 18px;
    height: 18px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important; 
    padding: 0;
}

/* Mobile navbar icons */
@media (max-width: 991.98px) {
    .navbar .badge {
        font-size: 8px !important;
        min-width: 16px;
        height: 16px;
    }
}

/* ========================================
   BOTONES
   ======================================== */
.btn {
    border-radius: var(--border-radius-round) !important;
}

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

.btn-primary:hover {
    background-color: var(--hover-color);
    border-color: var(--hover-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.btn-login {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-medium);
    width: 100%;
}

.btn-login:hover {
    background-color: var(--hover-color);
    color: white;
}

/* ========================================
   FORMULARIOS
   ======================================== */
.form-control {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 12px;
    font-size: var(--font-size-sm);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: var(--text-muted);
    font-weight: var(--font-weight-normal);
}

.form-select {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.search-input {
    border-radius: var(--border-radius-round) !important;
}

/* ========================================
   BREADCRUMBS
   ======================================== */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-custom {
    margin-bottom: 30px;
    margin-top: 0;
    background-color: #f0f0f0;
    padding: 40px;
}

/* Breadcrumb que ocupa todo el ancho */
.breadcrumb-full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    margin-bottom: 0;
    background-color: #f5f5f5;
    padding: 40px 0;
}

/* Sin fondo para vistas de productos */
.breadcrumb-full-width.bg-transparent {
    background-color: transparent;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
}

/* ========================================
   TARJETAS DE PRODUCTOS
   ======================================== */
.product-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

.product-image {
    height: 200px;
    object-fit: cover;
    background-color: var(--accent-color);
    transition: transform 0.3s ease;
}

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

.badge-stock {
    position: absolute;
    top: 10px;
    right: 10px;
    font-weight: var(--font-weight-medium);
}

/* ========================================
   BARRA DE BÚSQUEDA
   ======================================== */
.search-container {
    position: relative;
}

.search-container .form-control {
    padding-right: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.search-container .btn {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--text-muted);
}

/* ========================================
   FILTROS
   ======================================== */
.filters-sidebar {
    background-color: var(--accent-color);
    border-radius: var(--border-radius);
    padding: 20px;
    border: 1px solid var(--border-color);
}

.filter-title {
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* ========================================
   DROPDOWN MENÚS
   ======================================== */
.dropdown-menu {
    display: none;
}

.dropdown-menu.show { 
    border-radius: 20px; 
    padding: 10px;
    display: block; 
    border: 1px solid var(--border-color);
}

.dropdown-item {
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

/* ========================================
   ALERTAS
   ======================================== */
.alert {
    border-radius: var(--border-radius);
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

/* ========================================
   BADGES
   ======================================== */
.badge {
    font-weight: var(--font-weight-medium);
}

/* ========================================
   ANIMACIONES
   ======================================== */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

/* ========================================
   CLASES UTILITARIAS
   ======================================== */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.border-custom {
    border-color: var(--border-color) !important;
}

.shadow-custom {
    box-shadow: var(--shadow-medium) !important;
}

.rounded-custom {
    border-radius: var(--border-radius) !important;
}

.color {
    color: #ffffff !important;
}

.color-light {
    color: #d5d5d5 !important;
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */
.min-vh-100 {
    min-height: 100vh !important;
}

.flex-grow-1 {
    flex-grow: 1 !important;
}

.cursor-pointer {
    cursor: pointer;
}

.transition-all {
    transition: all 0.3s ease;
}

/* ========================================
   BRAND SPECIFIC
   ======================================== */
.blueopanama-logo {
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.blueopanama-primary {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.blueopanama-secondary {
    background-color: var(--secondary-color) !important;
    color: white !important;
}

/* ========================================
   LOGIN CONTAINER
   ======================================== */
.login-container {
    max-width: 400px;
    margin: 0 auto;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    margin-top: auto;
    color: #ffffff !important;
    background-color: var(--primary-color) !important;
}

footer a:hover {
    color: var(--secondary-color) !important;
    transition: color 0.3s ease;
}

footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

footer .form-control:focus {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color:var(--primary-color);
        border-top: 1px solid #dee2e6;
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .navbar-nav .nav-link {  
     
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid #f8f9fa;
        font-size: var(--font-size-base) !important;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: #f8f9fa;
        border-radius: 4px;
        padding-left: 0.5rem !important;
        transition: all 0.3s ease;
    }
    
    .search-input {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        flex-direction: column !important;
    }

    .d-flex.align-items-center.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
    }

    .search-container input {
        width: 100% !important;
    }

    .product-card {
        margin-bottom: 1rem;
    }

    .filters-sidebar {
        margin-bottom: 2rem;
    }
    
    footer .col-md-6 {
        margin-bottom: 2rem;
    }
    
    footer .input-group {
        max-width: 100%;
    }
    
    footer .d-flex.gap-3 {
        justify-content: center !important;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    h1, h2, h3, h4, h5, h6 {
        font-size: 1.2rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    footer .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    footer h5 {
        font-size: 1.1rem;
    }
    
    footer .input-group input {
        font-size: 0.9rem;
    }
}

/* ========================================
   NAVBAR TOGGLER
   ======================================== */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========================================
   EFECTOS HOVER GLOBALES
   ======================================== */
a:hover {
    color: var(--secondary-color) !important;
    transition: color 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
} 
.btn-outline-light{
   border-radius: 0px !important;
} 

/* ========================================
   CATÁLOGO MODERNO
   ======================================== */

/* Filtros modernos */
.filters-modern {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.applied-filters {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.filter-section-title {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: #333;
    margin-bottom: 15px;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.filter-tag {
    background: #f0f0f0;
    color: #666;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-tag i {
    cursor: pointer;
    font-size: 10px;
}

.results-count {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.filter-section {
    margin-bottom: 25px;
}

.filter-options {
    display: flex;
    flex-flow: row wrap; /* importante para que pasen hacia abajo */
    gap: 8px;
  }
  

.filter-option {  
    border-radius: 200px !important; 
    border: 1px solid #dddddd !important;  
    text-align: center;
    width: 100px !important;
    display: flex;
    align-items: center; 
    justify-content: center;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    text-align: left;
    width: 100%;
}

.filter-option:hover {
    background: #f8f9fa;
}

.filter-option.active {
    background: #333;
    color: white;
}

.filter-option.active .filter-name {
    color: white;
}

.filter-name { 
    text-align: center;
    font-size: 14px;
    color: #333;
    font-weight: var(--font-weight-normal);
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-clear {
    flex: 1;
    padding: 10px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-clear:hover {
    background: #f8f9fa;
}

.btn-apply {
    flex: 1;
    padding: 10px;
    background: #333;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-apply:hover {
    background: #555;
}

/* Cards de productos modernos */
.product-card-modern {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.product-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    z-index: 2;
}

.product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.action-btn {
    width: 36px;
    height: 36px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.action-btn:hover {
    background: #333;
    color: white;
    transform: scale(1.1);
}

.action-btn.active {
    background: #dc3545;
    color: white;
}

.action-btn.active:hover {
    background: #c82333;
}

.action-btn i {
    font-size: 14px;
}

.product-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #ffffff;
}

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

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

.product-info {
    padding: 16px;
}

.product-title {
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-description {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}

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



.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #ffc107;
    font-size: 12px;
} 

.rating-count {
    font-size: 12px;
    color: #666;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
}

.current-price {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: #333;
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.product-stock {
    margin-top: 8px;
}

.product-stock small {
    font-size: 12px;
    font-weight: 500;
}

/* Filtros mejorados */
.filter-option input[type="radio"] {
    display: none;
}

.filter-option {
    display: block;
    padding: 8px 12px;
    margin-bottom: 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.filter-option:hover {
    background: #f8f9fa;
}

.filter-option.active {
    background: #333;
    color: white;
}

.filter-option.active .filter-name {
    color: white;
}

.filter-name {
    font-size: 14px;
    color: #333;
    font-weight: var(--font-weight-normal);
}

.price-range {
    padding: 8px 0;
}

.price-range .form-control {
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 6px 8px;
    font-size: 14px;
}

.price-range .form-control:focus {
    border-color: #333;
    box-shadow: 0 0 0 0.2rem rgba(51, 51, 51, 0.25);
}

/* Paginación moderna */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding: 0 15px;
    overflow-x: auto;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: max-content;
}

.page-item {
    display: flex;
    flex-shrink: 0;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.page-link:hover {
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
}

.page-item.active .page-link {
    background: #333;
    border-color: #333;
    color: white;
}

.page-item.disabled .page-link {
    color: #ccc;
    cursor: not-allowed;
}

.page-item.disabled .page-link:hover {
    background: transparent;
    color: #ccc;
}

/* Estilos responsivos para paginación */
@media (max-width: 768px) {
    .pagination-container {
        margin-top: 30px;
        padding: 0 10px;
        justify-content: flex-start;
    }
    
    .pagination {
        gap: 4px;
        padding-bottom: 10px;
    }
    
    .page-link {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }
    
    /* Ocultar algunos números de página en móvil para evitar desbordamiento */
    .page-item:not(.active):not(:first-child):not(:last-child):not(:nth-child(2)):not(:nth-last-child(2)) {
        display: none;
    }
    
    /* Mostrar solo páginas importantes en móvil */
    .page-item.active,
    .page-item:first-child,
    .page-item:last-child,
    .page-item:nth-child(2),
    .page-item:nth-last-child(2) {
        display: flex !important;
    }
}

@media (max-width: 480px) {
    .pagination-container {
        margin-top: 25px;
        padding: 0 5px;
    }
    
    .pagination {
        gap: 2px;
    }
    
    .page-link {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    /* En pantallas muy pequeñas, mostrar solo anterior, actual y siguiente */
    .page-item:not(.active):not(:first-child):not(:last-child) {
        display: none;
    }
    
    .page-item.active,
    .page-item:first-child,
    .page-item:last-child {
        display: flex !important;
    }
    
    /* Agregar puntos suspensivos visuales */
    .page-item.active:not(:nth-child(2))::before {
        content: "...";
        display: flex;
        align-items: center;
        margin-right: 8px;
        color: #666;
        font-size: 12px;
    }
    
    .page-item.active:not(:nth-last-child(2))::after {
        content: "...";
        display: flex;
        align-items: center;
        margin-left: 8px;
        color: #666;
        font-size: 12px;
    }
}

/* Wrapper de paginación */
.pagination-wrapper {
    margin-top: 40px;
    width: 100%;
}

.pagination-info {
    padding: 10px 0;
    border-top: 1px solid #eee;
    margin-top: 15px;
}

/* Mejoras adicionales para paginación */
.pagination .page-link i {
    font-size: 12px;
}

/* Scroll horizontal suave para paginación en móvil */
.pagination-container::-webkit-scrollbar {
    height: 4px;
}

.pagination-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.pagination-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.pagination-container::-webkit-scrollbar-thumb:hover {
    background: #999;
}

@media (max-width: 768px) {
    .pagination-wrapper {
        margin-top: 30px;
    }
    
    .pagination-container {
        scrollbar-width: thin;
        scrollbar-color: #ccc #f1f1f1;
    }
    
    /* Mejorar visibilidad de elementos de paginación en móvil */
    .pagination .page-link {
        min-width: 35px;
        text-align: center;
    }
    
    /* Asegurar que los botones de navegación sean visibles */
    .page-item:first-child .page-link,
    .page-item:last-child .page-link {
        display: flex !important;
        background: #f8f9fa;
        border-color: #333;
    }
    
    .page-item:first-child .page-link:hover,
    .page-item:last-child .page-link:hover {
        background: #333;
        color: white;
    }
}

@media (max-width: 480px) {
    .pagination-wrapper {
        margin-top: 25px;
    }
    
    /* Simplificar aún más en pantallas muy pequeñas */
    .pagination .page-link {
        min-width: 32px;
        padding: 8px 4px;
    }
    
    /* Ocultar texto de navegación, solo mostrar iconos */
    .page-item:first-child .page-link span,
    .page-item:last-child .page-link span {
        display: none;
    }
}

/* Notificaciones */
.alert {
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
}

.btn-close {
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    color: inherit;
    opacity: 0.7;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
}

.btn-close:hover {
    opacity: 1;
}

/* Estado vacío */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

/* Estilos para favoritos en el perfil */
.empty-wishlist-profile {
    background: #f8f9fa;
    border-radius: 12px;
    margin: 20px 0;
}

.empty-wishlist-profile .fa-heart {
    color: #dee2e6;
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.wishlist-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.wishlist-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-color: #e0e0e0;
}

/* Imagen del producto */
.wishlist-item .wishlist-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    flex-shrink: 0;
}

.wishlist-item .wishlist-image .product-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.wishlist-item .wishlist-image .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    background: #f8f9fa;
}

.wishlist-item .wishlist-image .product-image.error {
    opacity: 0.6;
    filter: grayscale(1);
}

.wishlist-item .wishlist-image .product-image.loaded {
    opacity: 1;
}

.wishlist-item:hover .wishlist-image .product-image {
    transform: scale(1.08);
}

/* Botón de eliminar */
.wishlist-item .remove-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(220, 53, 69, 0.95);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    font-size: 12px;
    backdrop-filter: blur(10px);
}

.wishlist-item .remove-wishlist:hover {
    background: #dc3545;
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

/* Información del producto */
.wishlist-item .wishlist-info {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Nombre del producto */
.wishlist-item .product-name h6 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    height: auto;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wishlist-item .product-name .product-title {
    color: #2c3e50 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.wishlist-item .product-name .product-title:hover {
    color: var(--primary-color) !important;
}

/* Precio del producto */
.wishlist-item .product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.wishlist-item .price-display {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wishlist-item .current-price {
    font-size: 18px;
    font-weight: 700;
    color: #e74c3c;
    line-height: 1;
}



.wishlist-item .no-price {
    font-size: 14px;
    color: #95a5a6;
    font-style: italic;
}



/* Estado del stock */
.wishlist-item .stock-status {
    margin: 0;
}

.wishlist-item .status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    width: fit-content;
}

.wishlist-item .status-badge.status-available {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.wishlist-item .status-badge.status-low {
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.wishlist-item .status-badge.status-unavailable {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.wishlist-item .status-badge.status-unknown {
    background: rgba(149, 165, 166, 0.1);
    color: #7f8c8d;
    border: 1px solid rgba(149, 165, 166, 0.2);
}

.wishlist-item .status-badge i {
    font-size: 10px;
}

/* Botones de acción */
.wishlist-item .action-buttons {
    margin-top: auto;
}

.wishlist-item .add-to-cart-btn {
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a8a 100%);
}

.wishlist-item .add-to-cart-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(38, 74, 155, 0.3);
}

.wishlist-item .add-to-cart-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #95a5a6;
    transform: none;
    box-shadow: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.section-header h4 {
    margin: 0;
    flex-grow: 1;
}

/* Responsive adjustments for wishlist */
@media (max-width: 768px) {
    .wishlist-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }
    
    .wishlist-item {
        min-height: 300px;
    }
    
    .wishlist-item .wishlist-image {
        height: 140px;
    }
    
    .wishlist-item .wishlist-info {
        padding: 12px;
        gap: 8px;
    }
    
    .wishlist-item .product-name h6 {
        font-size: 13px;
        min-height: 36px;
    }
    
    .wishlist-item .current-price {
        font-size: 16px;
    }
    

    
    .wishlist-item .add-to-cart-btn {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .wishlist-item .status-badge {
        font-size: 10px;
        padding: 4px 8px;
    }
}

@media (max-width: 480px) {
    .wishlist-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }
    
    .wishlist-item {
        min-height: 280px;
    }
    
    .wishlist-item .wishlist-image {
        height: 120px;
    }
    
    .wishlist-item .wishlist-info {
        padding: 10px;
        gap: 6px;
    }
    
    .wishlist-item .product-name h6 {
        font-size: 12px;
        min-height: 32px;
    }
    
    .wishlist-item .current-price {
        font-size: 15px;
    }
    

    
    .wishlist-item .add-to-cart-btn {
        font-size: 11px;
        padding: 6px 10px;
    }
}

@media (max-width: 360px) {
    .wishlist-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .wishlist-item {
        min-height: 320px;
    }
    
    .wishlist-item .wishlist-image {
        height: 160px;
    }
}

/* Fallback styles for wishlist items */
.wishlist-item {
    /* Ensure proper display even if flexbox fails */
    display: block;
}

.wishlist-item .wishlist-image {
    /* Ensure image container is visible */
    min-height: 150px;
    background: #f8f9fa;
    position: relative;
}

.wishlist-item .wishlist-image img {
    /* Ensure images are visible */
    max-width: 100%;
    height: auto;
    min-height: 150px;
    object-fit: cover;
}

.wishlist-item .wishlist-info {
    /* Ensure info section is properly spaced */
    padding: 12px;
    background: white;
}

/* Debug styles */
#debug-info {
    margin-bottom: 20px;
    font-family: monospace;
}

#debug-info pre {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px;
}

/* Mejoras adicionales para wishlist */
.wishlist-item {
    /* Asegurar que las cards tengan una apariencia consistente */
    will-change: transform;
    backface-visibility: hidden;
}

.wishlist-item .wishlist-image {
    /* Mejorar la calidad de las imágenes */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.wishlist-item .product-image {
    /* Asegurar que las imágenes se vean nítidas */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Animaciones suaves para mejor UX */
.wishlist-item * {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mejorar la legibilidad del texto */
.wishlist-item .product-title {
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Efectos hover mejorados */
.wishlist-item:hover .remove-wishlist {
    transform: scale(1.1) rotate(90deg);
}

/* Estados de carga para imágenes */
.wishlist-item .product-image:not(.loaded):not(.error) {
    opacity: 0;
    filter: blur(2px);
}

.wishlist-item .product-image.loaded {
    opacity: 1;
    filter: blur(0);
}

.wishlist-item .product-image.error {
    opacity: 0.7;
    filter: grayscale(1) blur(0);
}

/* ========================================
   MODAL DE VISTA RÁPIDA
   ======================================== */
.quick-view-modal .modal-backdrop {
    background: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.quick-view-modal .modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.quick-view-modal .modal-header {
    display: flex;
    justify-content: between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.quick-view-modal .modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    color: #333;
}

.quick-view-modal .modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    margin-left: auto;
}

.quick-view-modal .modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.quick-view-modal .modal-body {
    padding: 24px;
}

.quick-view-modal .rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.quick-view-modal .rating i {
    font-size: 14px;
}

.quick-view-modal .price {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========================================
   NOTIFICACIONES
   ======================================== */
.notification-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-content i {
    font-size: 16px;
}

/* ========================================
   MEJORAS ADICIONALES
   ======================================== */

/* Hover effects mejorados */
.filter-option {
    position: relative;
    overflow: hidden;
}

.filter-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.filter-option:hover::before {
    left: 100%;
}

/* Animación de carga para botones */
.btn-apply:disabled {
    position: relative;
    overflow: hidden;
}

.btn-apply:disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Mejoras en las cards de productos */
.product-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.product-card-modern:hover::before {
    opacity: 1;
}

/* Efecto de pulso para badges de descuento */
.discount-badge { 
    border-radius: 200px !important;
    animation: pulse-discount 2s infinite;
}

@keyframes pulse-discount {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Responsive para modal */
@media (max-width: 768px) {
    .quick-view-modal .modal-content {
        margin: 10px;
        max-height: 95vh;
    }
    
    .quick-view-modal .modal-body {
        padding: 16px;
    }
    
    .quick-view-modal .modal-header {
        padding: 16px;
    }
    
    .quick-view-modal .row {
        flex-direction: column;
    }
    
    .quick-view-modal .col-md-6:first-child {
        margin-bottom: 20px;
    }
}  
.product-card-modern {
 border-radius: 30px !important; 
box-shadow: none !important;
}

/* ========================================
   MI CUENTA - DISEÑO MODERNO
   ======================================== */

/* Sidebar de cuenta */
.account-sidebar {

    border-radius: 8px;
    padding: 0;
  
    overflow: hidden;
 
}

.user-info {
   
    color: #333;
    text-align: left;
 
    margin-bottom: 10px !important;
} 

.user-avatar {
    width: 50px;
    height: 50px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 20px;
    color: #666;
}

.user-name {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 4px;
    color: #333;
}

.user-email {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.account-nav {
    padding: 0;
}

.account-nav  .nav-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: #666;
    text-decoration: none;
  
    transition: all 0.2s ease;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 14px; 
    background: none; 
    border-radius: 14px !important; 
    border: none !important; 
    margin-top: 10px;
}

.account-nav .nav-item:hover {
    background: #f8f9fa;
    color: #333 !important;
    text-decoration: none;
}

.nav-item.active {
    background: #F6F6F6;
    color: #333 !important;
    border-left: 3px solid #007bff;
}

.nav-item i {
    width: 18px;
    margin-right: 12px;
    font-size: 14px;
}

.nav-item span {
    font-size: 14px;
    font-weight: var(--font-weight-normal);
}

.logout-form {
    margin: 0;
}

.logout-btn {
    display: flex;
    align-items: center;
  
    color: #dc3545;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    transition: all 0.2s ease;
    border-bottom: none;
    font-size: 14px;
}

.logout-btn:hover {
    background: #f8f9fa;
    color: #dc3545;
}

.logout-btn i {
    width: 18px;
    margin-right: 12px;
    font-size: 14px;
}

.logout-btn span {
    font-size: 14px;
    font-weight: var(--font-weight-normal);
} 

@media (max-width: 768px) {
    .account-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        overflow-x: auto;     /* Permite scroll horizontal */
        white-space: nowrap;  /* Evita que los elementos bajen a otra línea */
        padding: 10px;
        -webkit-overflow-scrolling: touch; /* Scroll suave en iOS */
        scrollbar-width: none; /* Oculta scrollbar en Firefox */
     }
     
     .account-nav::-webkit-scrollbar {
        display: none; /* Oculta scrollbar en Chrome/Safari */
     }
     
} 
.account-form input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px !important;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05); 
    margin-bottom: 10px;
  }
  
  .account-form input:focus {
    border-color: #3b82f6; /* azul moderno */
    background-color: #fff;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2); /* efecto de enfoque */
  }
  

/* Secciones de contenido */
.account-section {
    display: none;
    background: white;

    padding: 24px;
   
    border-left: 1px solid #f0f0f0;
}

.account-section.active {
    display: block;
}

.section-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.section-header h4 {
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
    color: #333;
    margin-bottom: 4px;
}

.section-header p {
    margin: 0;
    font-size: 14px;
}

/* Órdenes */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-card {
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.order-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #f0f0f0;
}

.order-number {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    color: #333;
    margin-bottom: 4px;
}

.order-date {
    font-size: 12px;
    color: #666;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: var(--font-weight-medium);
}

.status-badge.processing {
    background: #fff3cd;
    color: #856404;
}

.status-badge.delivered {
    background: #d4edda;
    color: #155724;
}

.status-badge.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.order-body {
    padding: 20px;
}

.order-product {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    background: #f8f9fa;
}

.product-details h6 {
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: #333;
    margin-bottom: 4px;
}

.product-details p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.product-price {
    margin-left: auto;
}

.product-price .price {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    color: #333;
}

.order-footer {
    padding: 16px 20px;
    background: #f8f9fa;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* Lista de deseos */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.wishlist-item { 
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.wishlist-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.wishlist-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.wishlist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.remove-wishlist:hover {
    background: #dc3545;
    color: white;
}

.wishlist-info {
    padding: 16px;
}

.wishlist-info h6 {
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: #333;
    margin-bottom: 8px;
}

.wishlist-info .price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.wishlist-info .current {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    color: #333;
}

.wishlist-info .original {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

/* Formularios de cuenta */
.account-form {
    max-width: 600px;
}

.account-form .form-control {
    margin-bottom: 16px;
}

.account-form .form-label {
    font-weight: var(--font-weight-medium);
    color: #333;
    margin-bottom: 8px;
}

/* Responsive para Mi cuenta */
@media (max-width: 768px) {
    .account-sidebar {
        margin-bottom: 20px;
    }
    
    .user-info {
        padding: 16px;
    }
    
    .user-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .nav-item {
        padding: 12px 16px;
    }
    
    .account-section {
        padding: 20px;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .order-product {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .product-price {
        margin-left: 0;
    }
    
    .order-footer {
        flex-direction: column;
        gap: 8px;
    }
    
    .order-footer .btn {
        width: 100%;
    }
    
    .wishlist-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   SISTEMA DE GAMIFICACIÓN
   ======================================== */

/* Cards principales de gamificación */
.gamification-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gamification-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gamification-card .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    padding: 1.25rem;
}

.gamification-card .card-body {
    padding: 1.5rem;
}

/* Estadísticas de puntos */
.stat-item {
    padding: 1rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Nivel y progreso */
.level-display {
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.level-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    position: relative;
}

.level-badge::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255,255,255,0.3), transparent);
    z-index: -1;
}

.progress-section {
    padding: 1rem;
}

.progress {
    border-radius: 10px;
    background-color: #e9ecef;
    overflow: hidden;
}

.progress-bar {
    border-radius: 10px;
    background: linear-gradient(90deg, #ffc107 0%, #ffb300 100%);
    transition: width 0.6s ease;
}

/* Lista de transacciones */
.transaction-list {
    max-height: 400px;
    overflow-y: auto;
}

.transaction-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-item:hover {
    background: #f8f9fa;
    border-radius: 8px;
}

.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    margin-right: 1rem;
    flex-shrink: 0;
}

.transaction-details {
    flex: 1;
}

.transaction-description {
    font-weight: var(--font-weight-medium);
    color: #333;
    margin-bottom: 0.25rem;
}

.transaction-date {
    font-size: 0.875rem;
    color: #6c757d;
}

.transaction-points {
    font-weight: var(--font-weight-bold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Lista de beneficios */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.benefits-list li:last-child {
    border-bottom: none;
}

/* Vista previa de niveles */
.levels-preview {
    max-height: 300px;
    overflow-y: auto;
}

.level-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.level-item:hover {
    background: #f8f9fa;
}

.level-item.active {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-color: #ffc107;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.level-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    flex-shrink: 0;
}

.level-info {
    flex: 1;
}

.level-name {
    font-weight: var(--font-weight-semibold);
    color: #333;
    margin-bottom: 0.25rem;
}

.level-range {
    font-size: 0.875rem;
    color: #6c757d;
}

.level-discount {
    font-size: 0.875rem;
    color: #28a745;
    font-weight: var(--font-weight-medium);
}

.level-current {
    flex-shrink: 0;
    font-size: 1.2rem;
}

/* Acciones rápidas */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.action-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    background: #f8f9fa;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.action-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
    color: inherit;
    text-decoration: none;
}

.action-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.action-text {
    flex: 1;
}

.action-title {
    font-weight: var(--font-weight-medium);
    color: #333;
    margin-bottom: 0.25rem;
}

.action-points {
    font-size: 0.875rem;
    color: #28a745;
    font-weight: var(--font-weight-medium);
}

/* Widget de puntos */
.points-widget {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.points-widget .points-count {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.25rem;
}

.points-widget .points-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Ranking */
.ranking-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.ranking-item:hover {
    background: #f8f9fa;
}

.ranking-item.current-user {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 4px solid #ffc107;
}

.ranking-position {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #6c757d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    margin-right: 1rem;
    flex-shrink: 0;
}

.ranking-position.top-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
}

.ranking-position.top-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #a0a0a0 100%);
}

.ranking-position.top-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #b8860b 100%);
}

.ranking-user {
    flex: 1;
}

.ranking-name {
    font-weight: var(--font-weight-medium);
    color: #333;
    margin-bottom: 0.25rem;
}

.ranking-level {
    font-size: 0.875rem;
    color: #6c757d;
}

.ranking-points {
    font-weight: var(--font-weight-bold);
    color: #007bff;
    flex-shrink: 0;
}

/* Filtros de transacciones */
.transaction-filters {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.filter-row {
    display: flex;
    gap: 1rem;
    align-items: end;
}

.filter-group {
    flex: 1;
}

.filter-group label {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: #333;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
    
    .level-badge {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .transaction-item {
        padding: 0.75rem;
    }
    
    .transaction-icon {
        width: 35px;
        height: 35px;
        margin-right: 0.75rem;
    }
    
    .level-item {
        padding: 0.75rem;
    }
    
    .level-icon {
        width: 35px;
        height: 35px;
        margin-right: 0.75rem;
    }
    
    .action-item {
        padding: 0.75rem;
    }
    
    .action-icon {
        width: 35px;
        height: 35px;
        margin-right: 0.75rem;
    }
    
    .filter-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .ranking-item {
        padding: 0.75rem;
    }
    
    .ranking-position {
        width: 35px;
        height: 35px;
        margin-right: 0.75rem;
    }
}

/* Animaciones */
@keyframes levelUp {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.level-up-animation {
    animation: levelUp 0.6s ease-in-out;
}

@keyframes pointsEarned {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-20px); opacity: 0; }
}

.points-earned-animation {
    animation: pointsEarned 1s ease-out forwards;
}

/* Widget de puntos en navegación */
.points-widget-nav {
    margin-right: 1rem;
}

.points-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.points-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    color: white;
    text-decoration: none;
}

.points-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

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

.points-icon {
    margin-right: 0.5rem;
    font-size: 1.2rem;
    color: #ffc107;
}

.points-info {
    text-align: center;
    margin-right: 0.5rem;
}

.points-count {
    font-size: 0.9rem;
    font-weight: var(--font-weight-bold);
    line-height: 1;
}

.points-label {
    font-size: 0.7rem;
    opacity: 0.9;
    line-height: 1;
}

.level-badge-small {
    width: 20px;
    height: 20px;
    font-size: 8px;
}

/* ========================================
   FILTROS MÓVIL - MODAL DESDE ABAJO
   ======================================== */

/* Botón de filtros para móvil */
.btn-filters-mobile {
    width: 100%;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.btn-filters-mobile:hover {
    background: #f8f9fa;
    border-color: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-filters-mobile .filter-count {
    background: #333;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    margin-left: auto;
}

/* Modal de filtros móvil */
.filters-modal-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filters-modal-mobile.show {
    display: block;
    opacity: 1;
}

.filters-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.filters-modal-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 20px 20px 0 0;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.filters-modal-mobile.show .filters-modal-content {
    transform: translateY(0);
}

/* Header del modal */
.filters-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 15px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.filters-modal-header::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
}

.filters-modal-title {
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    color: #333;
    margin: 0;
}

.filters-modal-close {
    background: #f8f9fa;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filters-modal-close:hover {
    background: #e9ecef;
    color: #333;
}

/* Body del modal */
.filters-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    max-height: calc(85vh - 140px);
}

.filters-modal-body::-webkit-scrollbar {
    width: 4px;
}

.filters-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.filters-modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.filters-modal-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Secciones de filtros en móvil */
.filter-section-mobile {
    margin-bottom: 30px;
}

.applied-filters-mobile {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

/* Footer del modal */
.filters-modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.btn-clear-mobile {
    flex: 1;
    padding: 14px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #666;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-clear-mobile:hover {
    background: #f8f9fa;
    border-color: #333;
}

.btn-apply-mobile {
    flex: 2;
    padding: 14px;
    background: #333;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-apply-mobile:hover {
    background: #555;
    transform: translateY(-1px);
}

.btn-apply-mobile:active {
    transform: translateY(0);
}

/* Animaciones específicas para móvil */
@keyframes slideUpModal {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideDownModal {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}

/* Responsive para tablets */
@media (min-width: 576px) and (max-width: 991.98px) {
    .filters-modal-content {
        max-height: 75vh;
        border-radius: 16px 16px 0 0;
    }
    
    .filters-modal-body {
        max-height: calc(75vh - 140px);
    }
}

/* Ocultar en desktop */
@media (min-width: 992px) {
    .btn-filters-mobile,
    .filters-modal-mobile {
        display: none !important;
    }
} 
.about-text  {
   background-image: url('../images/poligon.svg');
   background-size: contain;
   background-position: center;
   background-repeat: no-repeat; 
   max-width: 100%;
   height: 300px;
   padding: 20px;
   border-radius: 20px;
   color: white;
   font-size: 16px; 
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 20px;
   font-weight: 600;
   font-size: 18px;
   line-height: 1.5;
  } 
  .image-about {
    position: relative;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
  } 
  @media (max-width: 768px) { 
    .about-text  {  
       
        background-image: none !important;
        height: 300px; 
        font-size: 14px; 
        border-radius: 70px !important;
       }  
       .image-about {
        position: relative;
        top: -50px;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
      } 
       
    }  
    .shadow-sm:hover {
        transform: none !important;
    }

/* Estilos adicionales para paginación responsiva */
.pagination-wrapper {
    margin-top: 40px;
    width: 100%;
}

.pagination-info {
    padding: 10px 0;
    border-top: 1px solid #eee;
    margin-top: 15px;
}

/* Mejoras adicionales para paginación */
.pagination .page-link i {
    font-size: 12px;
}

/* Scroll horizontal suave para paginación en móvil */
.pagination-container::-webkit-scrollbar {
    height: 4px;
}

.pagination-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.pagination-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.pagination-container::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Estilos específicos para móvil */
@media (max-width: 768px) {
    .pagination-wrapper {
        margin-top: 30px;
    }
    
    .pagination-container {
        scrollbar-width: thin;
        scrollbar-color: #ccc #f1f1f1;
    }
    
    /* Mejorar visibilidad de elementos de paginación en móvil */
    .pagination .page-link {
        min-width: 35px;
        text-align: center;
    }
    
    /* Asegurar que los botones de navegación sean visibles */
    .page-item:first-child .page-link,
    .page-item:last-child .page-link {
        display: flex !important;
        background: #f8f9fa;
        border-color: #333;
    }
    
    .page-item:first-child .page-link:hover,
    .page-item:last-child .page-link:hover {
        background: #333;
        color: white;
    }
}

@media (max-width: 480px) {
    .pagination-wrapper {
        margin-top: 25px;
    }
    
    /* Simplificar aún más en pantallas muy pequeñas */
    .pagination .page-link {
        min-width: 32px;
        padding: 8px 4px;
    }
    
    /* Ocultar texto de navegación, solo mostrar iconos */
    .page-item:first-child .page-link span,
    .page-item:last-child .page-link span {
        display: none;
    }
} 
.navbar .badge {
    font-size: 10px !important;
    min-width: 18px;
    height: 18px;
    display: flex
;
    align-items: center;
    /* justify-content: center; */
    padding: 0;
} 
.badge-cart { 
    background-color: #000000 !important;
    font-size: 10px !important;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
} 
.badge-favorites { 
    background-color: #dc3545 !important;
    font-size: 10px !important;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
} 
form  {
 margin-bottom: 0 !important; 
}

/* ===== ESTILOS PARA PÁGINA DE DETALLE DE PRODUCTO ===== */

/* Imagen principal del producto */
.main-product-image {
    border-radius: 12px;
    height: 500px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}



/* Información del producto */
.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.stock-status .badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Precios */
.product-price {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-price .current-price {
    font-size: 2.0rem;
    font-weight: 700;
    color: #333; 
}

.product-price .original-price {
    font-size: 1.5rem;
    color: #999;
    text-decoration: line-through;
}

/* Colores disponibles */
.color-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #666;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.color-option.active {
    border-color: #333;
    transform: scale(1.1);
}

.color-option:hover {
    transform: scale(1.05);
}

/* Selector de cantidad */
.quantity-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #666;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.quantity-selector {
    max-width: 150px;
}

.quantity-input {
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 60px;
    height: 40px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Botones de acción */
.add-to-cart-btn {
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: #555;
    transform: translateY(-2px);
}

.wishlist-btn { 
    width: 37px;
    height: 37px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.wishlist-btn.active {
    background: #333;
    color: white;
    border-color: #333;
}

.wishlist-btn:hover {
    background: #f8f9fa;
    border-color: #333;
}

/* Información de envío */
.shipping-info {
    padding: 15px 0;
    border-top: 1px solid #eee;
}

/* Sección de detalles */
.product-details-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    margin-top: 40px;
}

.details-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
}

.product-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 20px;
}

.features-list li:before {
    content: "•";
    color: #333;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.features-list li:last-child {
    border-bottom: none;
}

/* Productos relacionados */
.related-products-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.related-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.related-product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.discount-badge {
    background: #151515;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.stock-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.related-product-category {
    margin-bottom: 8px;
}

.related-product-category small {
    font-size: 0.8rem;
    color: #666;
}

.product-actions-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-product-card:hover .product-actions-overlay {
    opacity: 1;
}

.wishlist-overlay-btn,
.quick-view-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.related-product-info {
    padding: 20px;
}

.related-product-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
    height: 40px;
    overflow: hidden;
}

.related-product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.related-product-rating .stars {
    display: flex;
    gap: 2px;
}

.related-product-rating .stars i {
    color: #ffc107;
    font-size: 0.8rem;
}

.related-product-rating .rating-count {
    font-size: 0.8rem;
    color: #666;
}

.related-product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.related-product-price .current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
}

.related-product-price .original-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
} 
.cart-icon {
    display: none;
}

/* Responsive para página de producto */
@media (max-width: 980px) { 
    .cart-icon {
        display: block;
    }
    .main-product-image {
        height: 350px;
    }
    
  
    .product-price .current-price {
        font-size: 2rem;
    }
    
    .product-price .original-price {
        font-size: 1.25rem;
    }
    
    .product-details-section {
        padding: 25px 20px;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .image-thumbnails .thumbnail-item {
        width: 60px;
        height: 60px;
    }
} 


@media (max-width: 480px) { 
   
    .main-product-image {
        height: 300px;
    }
    
   
    .product-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .product-price .current-price {
        font-size: 1.75rem;
    }
    
    .related-products-grid {
        grid-template-columns: 1fr;
    }
    
    .color-option {
        width: 35px;
        height: 35px;
    }
} 
.product-actions-2 {
    display: flex;
 
    align-items: start;
    justify-content: space-between;
} 
.product-actions-2  .add-to-cart-btn{
   margin-bottom: 0px !important; 
   width: 85% !important;
}
       
.product-actions-2  .wishlist-btn{
    width: 55px !important;
    height: 55px !important;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
}

/* ========================================
   FILTROS TIPO PILL - DISEÑO MODERNO
   ======================================== */

/* Contenedor de pills */
.filter-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

/* Estilo base para pills */
.filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 400;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    white-space: nowrap;
    min-height: 36px;
}

/* Ocultar input radio */
.filter-pill input[type="radio"] {
    display: none;
}

/* Hover state */
.filter-pill:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    color: #495057;
    transform: translateY(-1px);
}

/* Estado activo */
.filter-pill.active {
    background: #343a40;
    border-color: #343a40;
    color: #ffffff;
    font-weight: 500;
}

/* Hover en estado activo */
.filter-pill.active:hover {
    background: #23272b;
    border-color: #23272b;
    transform: translateY(-1px);
}

/* Texto dentro del pill */
.pill-text {
    font-size: 14px;
    line-height: 1.2;
}

/* Sección de filtros */
.filter-section {
    margin-bottom: 32px;
}

.filter-section:last-child {
    margin-bottom: 24px;
}

/* Título de sección */
.filter-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

/* Responsive para tablets */
@media (max-width: 768px) {
    .filter-pills-container {
        gap: 6px;
    }
    
    .filter-pill {
        padding: 6px 12px;
        font-size: 13px;
        min-height: 32px;
    }
    
    .filter-section-title {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .filter-section {
        margin-bottom: 24px;
    }
}

/* Responsive para móviles */
@media (max-width: 480px) {
    .filter-pills-container {
        gap: 4px;
    }
    
    .filter-pill {
        padding: 5px 10px;
        font-size: 12px;
        min-height: 28px;
        border-radius: 16px;
    }
    
    .filter-section-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .filter-section {
        margin-bottom: 20px;
    }
}

/* Animación suave para cambios de estado */
.filter-pill {
    animation: none;
}

.filter-pill.active {
    animation: pillActivate 0.2s ease-out;
}

@keyframes pillActivate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Mejoras en el contenedor de filtros */
.filters-modern {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f3f4;
}

/* Botones de acción mejorados */
.filter-actions {
    display: flex;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #f1f3f4;
    margin-top: 24px;
}

.btn-clear,
.btn-apply {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-clear {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #6c757d;
}

.btn-clear:hover {
    background: #e9ecef;
    color: #495057;
}

.btn-apply {
    background: #343a40;
    border: 1px solid #343a40;
    color: #ffffff;
}

.btn-apply:hover {
    background: #23272b;
    border-color: #23272b;
}  

.account-form button{
    background: #343a40 !important;
    border: 1px solid #343a40 !important;
    color: #ffffff !important; 
    border-radius: 200px !important;
} 

.btn-save:hover{
    background: #23272b !important;
    border-color: #23272b !important;
}

/* ========================================
   SKELETON LOADING - ELEMENTOS FANTASMA
   ======================================== */

/* Animación base para skeleton */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

/* Contenedor base de skeleton */
.skeleton {
    display: inline-block;
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0;
    background-image: linear-gradient(
        90deg,
        #f0f0f0 0px,
        #e0e0e0 40px,
        #f0f0f0 80px
    );
    background-size: 200px 100%;
    background-repeat: no-repeat;
    animation: shimmer 1.4s ease-in-out infinite;
}

/* Skeleton para card completa de producto */
.product-card-skeleton {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: 100%;
    min-height: 350px;
    position: relative;
    animation: skeleton-pulse 1.5s ease-in-out infinite alternate;
}

@keyframes skeleton-pulse {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.8;
    }
}

/* Elementos individuales del skeleton */
.skeleton-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(
        90deg,
        #f0f0f0 25%,
        #e0e0e0 50%,
        #f0f0f0 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.4s ease-in-out infinite;
}

.skeleton-content {
    padding: 16px;
}

.skeleton-title {
    height: 16px;
    width: 80%;
    margin-bottom: 12px;
    border-radius: 4px;
}

.skeleton-title-line2 {
    height: 16px;
    width: 60%;
    margin-bottom: 16px;
    border-radius: 4px;
}

.skeleton-price {
    height: 20px;
    width: 40%;
    margin-bottom: 8px;
    border-radius: 4px;
}

.skeleton-stock {
    height: 12px;
    width: 50%;
    margin-bottom: 12px;
    border-radius: 4px;
}

.skeleton-button {
    height: 14px;
    width: 30%;
    border-radius: 4px;
}

/* Skeleton para elementos específicos */
.skeleton-circle {
    border-radius: 50%;
}

.skeleton-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 45px;
    height: 22px;
    border-radius: 4px;
}

.skeleton-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skeleton-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

/* Grid de skeleton loading */
.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Asegurar que los skeletons usen el mismo sistema de grid que las product cards */
#products-skeleton {
    display: none !important; /* Inicialmente oculto */
    flex-wrap: wrap;
    position: relative;
}

#products-skeleton.skeleton-active {
    display: flex !important;
}

#products-content {
    display: flex !important;
    flex-wrap: wrap;
    position: relative;
}

#products-content.content-hidden {
    display: none !important;
}

#products-skeleton .col-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

@media (min-width: 768px) {
    #products-skeleton .col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (min-width: 1200px) {
    #products-skeleton .col-xl-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
}

/* Variaciones de skeleton para diferentes anchos */
.skeleton-line-full { width: 100%; }
.skeleton-line-90 { width: 90%; }
.skeleton-line-80 { width: 80%; }
.skeleton-line-70 { width: 70%; }
.skeleton-line-60 { width: 60%; }
.skeleton-line-50 { width: 50%; }
.skeleton-line-40 { width: 40%; }
.skeleton-line-30 { width: 30%; }

/* Skeleton loading para filtros */
.skeleton-filter {
    height: 40px;
    margin-bottom: 8px;
    border-radius: 6px;
}

.skeleton-filter-title {
    height: 16px;
    width: 70%;
    margin-bottom: 12px;
    border-radius: 4px;
}

/* Estados de carga adicionales */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 12px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Skeleton responsive - actualizado para coincidir con product cards */
@media (max-width: 768px) {
    .product-card-skeleton {
        width: 100%;
        min-height: 280px; /* Ajustado para coincidir con responsive */
    }
    
    .skeleton-image {
        height: 150px; /* Coincide con product-image-container responsive */
    }
    
    .skeleton-content {
        padding: 12px;
    }
    
    /* Títulos más pequeños en móvil */
    .skeleton-title {
        height: 14px; /* Coincide con font-size: 14px del responsive */
        margin-bottom: 8px;
    }
    
    .skeleton-title-line2 {
        height: 12px;
        margin-bottom: 12px;
    }
    
    /* Precios más pequeños */
    .skeleton-price {
        height: 16px;
        margin-bottom: 6px;
    }
    
    /* Stock más pequeño */
    .skeleton-stock {
        height: 10px;
        margin-bottom: 8px;
    }
    
    /* Badges y botones más pequeños */
    .skeleton-badge {
        width: 40px;
        height: 18px;
        top: 8px;
        left: 8px;
    }
    
    .skeleton-actions {
        top: 8px;
        right: 8px;
        gap: 6px;
    }
    
    .skeleton-action-btn {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .product-card-skeleton {
        min-height: 260px;
    }
    
    .skeleton-image {
        height: 140px;
    }
    
    .skeleton-content {
        padding: 10px;
    }
    
    .skeleton-title {
        height: 12px;
        margin-bottom: 6px;
    }
    
    .skeleton-title-line2 {
        height: 12px;
        margin-bottom: 10px;
    }
    
    .skeleton-price {
        height: 14px;
        margin-bottom: 4px;
    }
    
    .skeleton-stock {
        height: 10px;
        margin-bottom: 6px;
    }
    
    .skeleton-badge {
        width: 35px;
        height: 16px;
        top: 6px;
        left: 6px;
    }
    
    .skeleton-actions {
        top: 6px;
        right: 6px;
        gap: 4px;
    }
    
    .skeleton-action-btn {
        width: 28px;
        height: 28px;
    }
}

/* Animación de aparición suave cuando se carga el contenido real */
.skeleton-fade-out {
    animation: skeletonFadeOut 0.3s ease-out forwards;
}

@keyframes skeletonFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.95);
    }
}

.content-fade-in {
    animation: contentFadeIn 0.5s ease-out forwards;
    opacity: 0;
}

@keyframes contentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mejoras visuales para skeleton */
.skeleton-shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200px 100%;
    background-repeat: no-repeat;
    animation: shimmer 1.2s ease-in-out infinite;
} 

@media (max-width: 768px) {
    .product-card-modern {
        width: 100%;
    } 
    .product-title {
        font-size: 14px !important;
    } 
    .product-image-container {
        position: relative;
        height: 150px;
        overflow: hidden;
        background: #ffffff;
    }
   
} 

/* ========================================
   FIN SKELETON LOADING
   ======================================== */

/* ========================================
   CART STYLES - DISEÑO EXACTO IMAGEN
   ======================================== */

/* Cart Section */
.cart-section {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cart-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

/* Cart Item */
.cart-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
    gap: 1rem;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.cart-item-image .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.product-name {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-color {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #666;
}

.color-label {
    font-weight: 400;
}

.color-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
}

.cart-item-price {
    flex-shrink: 0;
    margin: 0 1rem;
}

.cart-item-price .price {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
}

/* Quantity Controls */
.cart-item-quantity {
    flex-shrink: 0;
    margin: 0 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.quantity-btn {
    background: #f8f9fa;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: #e9ecef;
    color: #333;
}

.quantity-btn:active {
    background: #dee2e6;
}

.quantity-input {
    border: none;
    background: #fff;
    width: 50px;
    height: 32px;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    outline: none;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input[type=number] {
    -moz-appearance: textfield;
}

/* Remove Button */
.cart-item-remove {
    flex-shrink: 0;
}

.remove-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 1.125rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.remove-btn:hover {
    background: #fee;
    color: #dc3545;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 3rem 0;
}

.empty-cart-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-cart h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.empty-cart p {
    margin-bottom: 1.5rem;
}

/* Order Summary */
.order-summary {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: fit-content;
}

.summary-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.summary-label {
    font-size: 0.95rem;
    color: #666;
    font-weight: 400;
}

.summary-value {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}

.summary-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 1.5rem 0;
}

.summary-total {
    margin-bottom: 0;
    padding-top: 0.5rem;
}

.summary-total .summary-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
}

.summary-total .summary-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
}

/* Checkout Button */
.btn-checkout {
    background: #333;
    color: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.875rem 1.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-checkout:hover {
    background: #222;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-checkout:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Continue Shopping Link */
.continue-shopping {
    color: #666;
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.continue-shopping:hover {
    color: #333;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cart-section,
    .order-summary {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .cart-item {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem 0;
    }
    
    /* Primera fila: imagen y detalles */
    .cart-item-row-1 {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        width: 100%;
    }
    
    .cart-item-image {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }
    
    .cart-item-details {
        flex: 1;
        min-width: 0;
    }
    
    /* Segunda fila: precio, cantidad y remove */
    .cart-item-row-2 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 1rem;
    }
    
    .cart-item-price {
        margin: 0;
        flex: 0 0 auto;
    }
    
    .cart-item-quantity {
        margin: 0;
        flex: 0 0 auto;
    }
    
    .cart-item-remove {
        flex: 0 0 auto;
    }
    
    .product-name {
        font-size: 0.9rem;
    }
    
    .cart-item-price .price {
        font-size: 1rem;
    }
    
    .summary-title {
        font-size: 1.125rem;
    }
    
    .empty-cart {
        padding: 2rem 0;
    }
    
    .empty-cart-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .cart-section,
    .order-summary {
        padding: 1rem;
    }
    
    .cart-title {
        font-size: 1.25rem;
    }
    
    .cart-item {
        padding: 0.75rem 0;
    }
    
    .cart-item-image {
        width: 50px;
        height: 50px;
    }
    
    .quantity-controls {
        scale: 0.9;
    }
    
    .remove-btn {
        font-size: 1rem;
        width: 28px;
        height: 28px;
    }
}

/* Checkout Page Styles */
.checkout-section {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.checkout-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

/* Payment Options */
.payment-option {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.payment-option:hover {
    border-color: #ccc;
}

.payment-option.active {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.payment-option-header {
    padding: 1rem;
    background: #fff;
}

.payment-radio-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    margin: 0;
    width: 100%;
}

.payment-radio {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: #007bff;
}

.payment-label {
    font-weight: 500;
    color: #333;
    flex: 1;
}

.payment-description {
    display: block;
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
    line-height: 1.4;
}

.payment-logo {
    width: 50px;
    height: auto;
    margin-left: auto;
}

.payment-cards {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.card-logo {
    width: 32px;
    height: 20px;
    object-fit: contain;
}

/* Payment Details */
.payment-details {
    padding: 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    display: none;
}

.payment-details.active {
    display: block;
}

.card-input {
    position: relative;
}

.card-icons {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
}

.cvv-input-container {
    position: relative;
}

.cvv-help {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    cursor: help;
}

.security-info {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 4px;
    font-size: 0.875rem;
}

/* Order Summary */
.order-summary-checkout {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.summary-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.view-cart-link {
    color: #007bff;
    text-decoration: none;
    font-size: 0.875rem;
}

.view-cart-link:hover {
    text-decoration: underline;
}

/* Cart Items Preview */
.cart-items-preview {
    margin-bottom: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
}

.cart-item-preview {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item-preview:last-child {
    border-bottom: none;
}

.item-image {
    position: relative;
    flex-shrink: 0;
}

.preview-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.item-quantity {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #333;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 500;
}

.item-details {
    flex: 1;
    min-width: 0;
}

.item-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

.item-variant {
    color: #666;
    font-size: 0.75rem;
}

.item-price {
    font-weight: 500;
    color: #333;
    font-size: 0.875rem;
}

/* Order Totals */
.order-totals {
    margin-bottom: 1.5rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.total-label {
    font-size: 0.9rem;
    color: #666;
}

.total-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.total-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 1rem 0;
}

.total-final {
    margin-bottom: 0;
    padding-top: 0.5rem;
}

.total-final .total-label {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.total-final .total-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #333;
}

/* Checkout Button */
.btn-checkout-final {
    background: #1a1a1a;
    color: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-checkout-final:hover {
    background: #000;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.continue-shopping-link {
    color: #666;
    text-decoration: underline;
    font-size: 0.9rem;
}

.continue-shopping-link:hover {
    color: #333;
}

/* Checkout Responsive */
@media (max-width: 768px) {
    .checkout-section,
    .order-summary-checkout {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .order-summary-checkout {
        position: static;
    }
    
    .payment-radio-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .payment-logo {
        margin-left: 0;
        align-self: flex-start;
    }
    
    .summary-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
} 


.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.checkout-section {
    padding-right: 40px;
}

.checkout-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
}

.payment-option {
    position: relative;
    margin-bottom: 20px;
}

.payment-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.payment-label {
    display: block;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.payment-label:hover {
    border-color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.payment-radio:checked + .payment-label {
    border-color: #333;
    background: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.payment-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
}

.payment-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.payment-icon {
    width: 50px;
    height: 50px;
    background: #f1f3f4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #666;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.payment-radio:checked + .payment-label .payment-icon {
    background: #333;
    color: white;
}

.payment-details {
    flex: 1;
    min-width: 0;
}

.payment-title {
    font-size: 18px !important;
    font-weight: 600;
    color: #333 !important;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.payment-description {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.payment-checkmark {
    flex-shrink: 0;
    margin-left: 15px;
}

.checkmark-circle {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: transparent;
    background: white;
    transition: all 0.3s ease;
}

.payment-radio:checked + .payment-label .checkmark-circle {
    background: #333;
    border-color: #333;
    color: white;
}

.checkout-note {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    border-left: 4px solid #007bff;
}

.note-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.note-content i {
    color: #007bff;
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 16px;
}

.note-content strong {
    color: #333;
}

.checkout-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 0;
    transition: color 0.3s ease;
}

.btn-back:hover {
    color: #333;
    text-decoration: none;
}

.btn-confirm {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #333;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
}

.btn-confirm:hover {
    background: #222;
    transform: translateY(-1px);
}

.btn-confirm:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
}

.order-summary-checkout {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    position: sticky;
    top: 20px;
}

.summary-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
}

.cart-items-preview {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 25px;
}

.cart-item-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.cart-item-preview:last-child {
    border-bottom: none;
}

.item-image {
    position: relative;
    flex-shrink: 0;
}

.preview-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.item-quantity {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #333;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

.item-details {
    flex: 1;
    min-width: 0;
}

.item-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
}

.item-color {
    display: flex;
    align-items: center;
    gap: 6px;
}

.color-label {
    font-size: 12px;
    color: #666;
}

.color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #ddd;
}

.item-price {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    flex-shrink: 0;
}

.order-totals {
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.total-row.total-final {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.total-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.total-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.total-value.free-service {
    color: #666;
    font-style: italic;
}

.total-final .total-label,
.total-final .total-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.security-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    color: #666;
    font-size: 14px;
}

.security-info i {
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .checkout-container {
        padding: 20px 10px;
    }
    
    .checkout-section {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .checkout-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .payment-content {
        padding: 20px;
    }
    
    .payment-info {
        gap: 15px;
    }
    
    .payment-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .payment-title {
        font-size: 16px;
    }
    
    .checkout-actions {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .btn-confirm {
        width: 100%;
    }
    
    .order-summary-checkout {
        padding: 20px;
    }
    
    .summary-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .payment-content {
        padding: 15px;
    }
    
    .payment-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .payment-checkmark {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .checkout-note {
        padding: 15px;
    }
    
    .note-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
} 
/* Footer responsive styles */
@media (max-width: 768px) {
    footer .col-md-6 {
        margin-bottom: 2rem;
    }
    
    footer .input-group {
        max-width: 100%;
    }
    
    footer .d-flex.gap-3 {
        justify-content: center !important;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    footer .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    footer h5 {
        font-size: 1.1rem;
    }
    
    footer .input-group input {
        font-size: 0.9rem;
    }
}

/* Hover effects */
footer a:hover {
    color: #007bff !important;
    transition: color 0.3s ease;
}

footer .btn-outline-light:hover {
    background-color: #007bff;
    border-color: #007bff;
}

/* Input styling */
footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

footer .form-control:focus {
    background-color: transparent;
    border-color: #007bff;
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

@media (max-width: 991.98px) {
  .dropdown-menu {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 80vw !important;
    height: 100vh !important;
    max-width: 400px;
    background: #fff !important;
    box-shadow: -2px 0 16px rgba(0,0,0,0.15) !important;
    border-radius: 0 !important;
    z-index: 1050 !important;
    display: block !important;
    opacity: 0 !important;
    transition: right 0.3s cubic-bezier(.4,0,.2,1), opacity 0.2s !important;
    padding: 32px 24px 24px 24px !important;
    overflow-y: auto !important;
  }
  .dropdown-menu.show {
    right: 0 !important;
    opacity: 1 !important;
  }
  .dropdown-backdrop {
    content: '' !important;
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    background: rgba(0,0,0,0.3) !important;
    z-index: 1049 !important;
    display: none !important;
  }
  .dropdown-menu.show ~ .dropdown-backdrop {
    display: block !important;
  }
}