html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
}
.navbar-brand {
    font-weight: bold;
    color: #fff !important;
}
.jumbotron {
    background: #343a40;
    color: white;
}
.card-title {
    font-size: 1.25rem;
    font-weight: bold;
}


/* Solo aplicar estilos de formulario a formularios de login/registro */
form.auth-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
}


/* Estilos generales */


.form-control {
    border-radius: 5px;
}

.form-label {
    font-weight: bold;
}

/* Estandarizar colores principales */
.btn-primary {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
    color: white !important;
}
.btn-primary:hover {
    background-color: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
}

.btn-success {
    background-color: #10b981 !important;
    border-color: #10b981 !important;
    color: white !important;
}
.btn-success:hover {
    background-color: #059669 !important;
    border-color: #059669 !important;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}
.card {
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    width: 100%;
    height: 250px;
    object-fit: contain; /* Cambiado a contain para no cortar productos */
    background-color: #ffffff;
    padding: 10px;
}

/* ====== Filter Toolbar ====== */
.filter-toolbar {
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 2rem;
}

.filter-toolbar .form-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.filter-toolbar .form-select {
    border-radius: 0.75rem;
    border: 1.5px solid #e2e8f0;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background-color: #f8fafc;
}

.filter-toolbar .form-select:focus {
    border-color: var(--primary-color, #0d6efd);
    box-shadow: 0 0 0 3px rgba(13,110,253,0.1);
    background-color: #fff;
}

/* ====== Product Card Premium ====== */
.product-card {
    border: none !important;
    border-radius: 1rem !important;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
}

.product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12) !important;
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Garantiza cuadrado perfecto */
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img-wrapper img {
    max-width: 95%;
    max-height: 95%;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transition: transform 0.5s ease;
}

.product-card .card-img-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    transition: transform 0.5s ease;
}

.product-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.product-card .card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.product-card .product-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-color, #0d6efd);
}

.product-card .card-body {
    padding: 1rem 1.1rem;
}

.product-card .card-actions .btn {
    font-size: 0.8rem;
    padding: 6px 14px !important;
}


.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: black; /* Fondo negro para los íconos */
    background-image: none; /* Elimina la imagen SVG predeterminada */
    width: 30px; /* Ajusta el tamaño */
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-control-prev-icon::after {
    content: '‹'; /* Flecha izquierda */
    font-size: 30px;
    color: white; /* Color blanco para el texto */
}

.carousel-control-next-icon::after {
    content: '›'; /* Flecha derecha */
    font-size: 30px;
    color: white; /* Color blanco para el texto */
}

/* ====== Responsive Utility for Product Grid and Layout ====== */
@media (max-width: 576px) {
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    .display-4 { font-size: 2.2rem !important; }
    .display-6 { font-size: 1.6rem !important; }
    
    /* Product Card Mobile Optimization */
    .product-card .card-title, .product-card-pro .card-title {
        font-size: 0.85rem !important;
        height: 2.2rem;
        overflow: hidden;
    }
    
    .product-card .card-body, .product-card-pro .card-body {
        padding: 0.75rem !important;
    }
    
    .product-card .btn, .card-pro-actions .btn {
        padding: 8px 10px !important;
        font-size: 0.75rem !important;
    }
    
    .product-card .product-price, .product-card-pro .product-price {
        font-size: 0.95rem !important;
    }

    /* Filter Toolbar Mobile */
    .filter-toolbar {
        padding: 1rem !important;
    }
    .filter-toolbar h5 { font-size: 1rem; }
}


/* Botones estandarizados en todo el sitio */
.btn {
    font-size: 1rem;
    padding: 10px 24px !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-radius: 8px; /* Standardize rounded square */
}
.btn.rounded-pill {
    border-radius: 50rem; /* Respect explicit pill shapes if applied */
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}




/* Dashboard */


.sidebar {
    background-color: #343a40;
    color: white;
    padding: 15px;
    height: 100vh;
    width: 250px;
    position: fixed;
    transition: left 0.3s ease;
}

.sidebar a {
    color: white;
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    display: block;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
}

.sidebar a:hover {
    background-color: #495057;
}

.sidebar h3 {
    margin-bottom: 20px;
}

.content {
    margin-left: 250px;
    flex-grow: 1;
    padding: 20px;
    overflow-x: hidden;
}

.toggle-btn {
    display: none;
    color: white;
    border: none;
    background: none;
    font-size: 24px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .sidebar {
        left: -250px;
        position: fixed;
        z-index: 1000;
    }
    .sidebar.show {
        left: 0;
    }
    .content {
        margin-left: 0;
    }
    .toggle-btn {
        display: block;
        margin-left: 15px;
    }
}

.card {
    text-align: center;
    border: none;
    border-radius: 8px;
}

/* ================================== */
/* PREMIUM FRONTEND REDESIGN STYLES */
/* ================================== */

/* Typography Overrides */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    background-color: #f3f4f6; /* Lighter modern gray */
}

/* Navbar Glassmorphism (Light & Professional) */
.navbar-glass {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.navbar-glass .nav-link {
    color: #4b5563 !important; /* Elegant gray */
    transition: color 0.3s ease;
    font-weight: 500;
}

.navbar-glass .nav-link:hover {
    color: #2563eb !important; /* Primary blue on hover */
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Hero Carousel Section */
.hero-banner-carousel {
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    height: 480px;
    background: #111827;
}

.hero-banner-carousel .carousel-inner,
.hero-banner-carousel .carousel-item {
    height: 100%;
}

.hero-banner-carousel .carousel-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 1.2s ease-in-out, opacity 0.8s ease-in-out;
}

/* Glassmorphism Overlay for text legibility */
.hero-banner-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    z-index: 1;
}

.hero-banner-carousel .carousel-caption {
    z-index: 2;
    text-align: left;
    left: 8%;
    right: 8%;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
}

.hero-banner-carousel .carousel-caption h1 {
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
}

.hero-banner-carousel .carousel-caption p {
    font-size: 1.25rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease-out;
}

/* Indicators Styling */
.hero-banner-carousel .carousel-indicators {
    bottom: 30px;
    justify-content: flex-start;
    margin-left: 8%;
}

.hero-banner-carousel .carousel-indicators [data-bs-target] {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255,255,255,0.4);
    border: none;
    transition: all 0.3s ease;
}

.hero-banner-carousel .carousel-indicators .active {
    background-color: #2563eb;
    width: 60px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet & Mobile Adjustments */
@media (max-width: 991px) {
    .hero-banner-carousel {
        height: 400px;
        border-radius: 20px;
    }
    .hero-banner-carousel .carousel-caption h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .hero-banner-carousel {
        height: 350px;
        margin-left: 10px;
        margin-right: 10px;
    }
    .hero-banner-carousel .carousel-caption {
        text-align: center;
        left: 5%;
        right: 5%;
    }
    .hero-banner-carousel .carousel-indicators {
        justify-content: center;
        margin-left: 0;
    }
}

/* Filter Toolbar */
.filter-toolbar {
    background: white;
    border-radius: 16px;
    padding: 15px 25px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
    border: 1px solid #e5e7eb;
}

/* Solve global form width restriction explicitly for filter toolbar */
.filter-toolbar form {
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background-color: transparent;
}

.filter-toolbar .form-label {
    font-size: 0.85rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.filter-toolbar .form-select {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-details:hover {
    background-color: #1d4ed8; /* Darker blue */
    color: white;
}

.btn-whatsapp {
    background-color: #10b981; /* Vibrant WhatsApp Green */
    border: none;
    color: white;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-whatsapp:hover {
    background-color: #059669;
    color: white;
}

.card-actions {
    margin-top: auto; /* Push to bottom */
}

/* Footer Link Hovers */
.footer-link {
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: #2563eb !important;
}

/* Social icons hover */
.social-icons a:hover {
    color: #2563eb !important;
}

/* Premium Logo Presentation */
.navbar-brand.brand-container {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.navbar-brand.brand-container:hover {
    transform: scale(1.05);
}

.brand-logo-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 8px 16px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 1);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.navbar-brand.brand-container:hover .brand-logo-wrapper {
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2), inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(37, 99, 235, 0.3);
}

.brand-logo {
    height: 42px;
    max-height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
}

/* ================================== */
/* RESPONSIVE DESIGN FOR TABLETS & MOBILE */
/* ================================== */
@media (max-width: 768px) {
    /* Hero Banner Optimizations */
    .hero-banner {
        padding: 50px 0;
        border-radius: 0 0 20px 20px;
    }
    .hero-banner h1 {
        font-size: 2rem !important;
    }
    .hero-banner p {
        font-size: 1rem !important;
        padding: 0 15px;
    }

    /* Filters space reduction */
    .filter-toolbar {
        padding: 15px;
    }

    /* Product Cards scaling for 2-columns */
    .product-card .card-body {
        padding: 12px;
    }
    .product-card .card-title {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    .product-price {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }

    /* Scaled down Buttons */
    .btn {
        font-size: 0.85rem;
        padding: 8px 16px !important;
    }
    /* Footer spacing reduction */
    .mega-footer {
        padding-top: 2.5rem !important;
    }
}
/* New Button Styles */
.btn-whatsapp-outline {
    background-color: transparent;
    border: 2px solid #10b981;
    color: #10b981;
    font-weight: 600;
}
.btn-whatsapp-outline:hover {
    background-color: #10b981;
    color: white;
}

#cart-badge {
    font-size: 0.65rem;
    padding: 0.35em 0.5em;
    border: 2px solid #fff;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Predictive Search Styles */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.search-results-dropdown .list-group-item {
    background: transparent;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
}

.search-results-dropdown .list-group-item:hover {
    background: rgba(var(--bs-primary-rgb), 0.05);
    padding-left: 1.25rem !important;
}

.search-results-dropdown .list-group-item:last-child {
    border-bottom: none !important;
}

.rounded-pill-start {
    border-top-left-radius: 50rem !important;
    border-bottom-left-radius: 50rem !important;
}

.rounded-pill-end {
    border-top-right-radius: 50rem !important;
    border-bottom-right-radius: 50rem !important;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    max-width: 60px;
}

.whatsapp-float:hover {
    max-width: 350px;
    color: #fff;
    background-color: #20b858;
    transform: translateY(-5px);
}

.whatsapp-float i {
    font-size: 34px;
    min-width: 34px;
}

.whatsapp-float .float-text {
    margin-left: 15px;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover .float-text {
    opacity: 1;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 12px;
        max-width: 58px;
    }
    .whatsapp-float:hover {
        max-width: 58px;
    }
    .whatsapp-float .float-text {
        display: none;
    }
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.contact-info-card {
    background: linear-gradient(45deg, #0d6efd, #0a58ca);
    border: none;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.social-links-contact a {
    color: white;
    font-size: 1.5rem;
    transition: opacity 0.3s;
}

.social-links-contact a:hover {
    opacity: 0.8;
}

.shadow-btn {
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.shadow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(13, 110, 253, 0.3);
}

/* Contact Form Enhancements */
.ls-1 {
    letter-spacing: 1px;
}

.input-group-text {
    border-radius: 12px 0 0 12px !important;
    border-color: #dee2e6;
    color: #6c757d;
}

.input-group .form-control {
    border-radius: 0 12px 12px 0 !important;
    border-color: #dee2e6;
    background-color: #fff;
    font-size: 0.95rem;
}

.input-group .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1);
    z-index: 3;
}

.contact-info-card h2 {
    font-size: 2.2rem;
    line-height: 1.2;
}

/* WhatsApp Chat Window Modern Premium Styles */
.whatsapp-chat-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
}

.whatsapp-chat-card {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 40px);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    padding: 1.25rem !important;
}

.chat-avatar img {
    border: 2px solid rgba(255,255,255,0.8);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.chat-body {
    height: 400px;
    overflow-y: auto;
    background: #f8f9fa;
    background-image: linear-gradient(rgba(248, 249, 250, 0.95), rgba(248, 249, 250, 0.95)), url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    background-size: 250px;
    padding: 1.25rem !important;
    scroll-behavior: smooth;
}

/* Custom Scrollbar for Chat */
.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-track { background: transparent; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 10px; }

.message-user, .message-admin {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    max-width: 85%;
}

.message-user { align-self: flex-end; align-items: flex-end; }
.message-admin { align-self: flex-start; align-items: flex-start; }

.msg-bubble {
    padding: 10px 16px !important;
    border-radius: 18px !important;
    position: relative;
    font-size: 0.92rem !important;
}

.message-user .msg-bubble {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border-bottom-right-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.message-admin .msg-bubble {
    background: #fff;
    color: #1f2937;
    border-bottom-left-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

.typing-indicator {
    display: flex;
    padding: 10px 15px;
    background: #fff;
    border-radius: 15px;
    width: fit-content;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.typing-dot {
    width: 6px; height: 6px;
    background: #9ca3af;
    border-radius: 50%;
    margin: 0 2px;
    animation: typingPulse 1.4s infinite ease-in-out;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingPulse {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-4px); }
}

.whatsapp-float {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #10b981;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.whatsapp-float:hover { transform: scale(1.1) rotate(5deg); }

@media (max-width: 576px) {
    .whatsapp-chat-wrapper { bottom: 0; right: 0; width: 100%; top: 0; pointer-events: none; }
    .whatsapp-chat-wrapper * { pointer-events: auto; }
    .whatsapp-chat-card {
        bottom: 0; right: 0; width: 100% !important; height: 100% !important;
        border-radius: 0; margin: 0; position: fixed; top: 0; left: 0; z-index: 10001;
    }
    .chat-body { height: calc(100% - 140px); }
}

/* Badge de Oferta Premium */
.badge-offer-ribbon {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    background-color: #ff0000 !important; /* Rojo vibrante */
    color: #ffffff !important; /* Letras blancas */
    padding: 6px 14px !important;
    font-weight: 800 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    z-index: 20 !important;
    border-bottom-right-radius: 12px !important;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.15) !important;
    pointer-events: none !important;
}

.card-img-wrapper {
    position: relative !important;
}

/* ================================== */
/* ADMIN SIDEBAR SUBMENU STYLES       */
/* ================================== */
.menu-link {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}
.menu-link i {
    width: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}
.menu-link:hover {
    background-color: rgba(255,255,255,0.12);
    color: #fff;
}
.menu-link.active {
    background-color: rgba(255,255,255,0.18);
    color: #fff;
    font-weight: 600;
}

/* Submenu container */
.submenu-item {
    padding-left: 42px !important;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7) !important;
    border-left: 2px solid rgba(255,255,255,0.15);
    margin-left: 16px;
    border-radius: 0 8px 8px 0 !important;
}
.submenu-item:hover {
    color: #fff !important;
    border-left-color: rgba(255,255,255,0.5);
    background-color: rgba(255,255,255,0.08) !important;
}

/* Chevron rotation on collapse */

/* ================================== */
/* SHOP REDESIGN PREMIUM STYLES       */
/* ================================== */
.top-promo-banner {
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 1060;
}

.trending-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.flash-sale-container {
    background: linear-gradient(135deg, #e11d48 0%, #fb923c 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
    margin-bottom: 50px;
}

.flash-sale-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.countdown-timer .timer-unit {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 10px 15px;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 5px;
}

.timer-unit .number {
    font-size: 1.5rem;
    font-weight: 700;
}

.timer-unit .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Product Card Pro Improvements */
.product-card-pro {
    position: relative;
    display: flex;
    flex-direction: column;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
}

.product-card-pro:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-pro-actions {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 10px 15px 20px 15px !important;
    margin-top: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    z-index: 20 !important;
    background: #fff !important;
}

/* Elegant Button Styles */
.card-pro-actions .btn {
    padding: 10px 15px !important;
    font-size: 0.85rem !important;
    border-radius: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-add-cart {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: none !important;
    color: white !important;
}

.btn-outline-success {
    border: 1.5px solid #10b981 !important;
    color: #10b981 !important;
    background: transparent !important;
}

.btn-outline-success:hover {
    background: #10b981 !important;
    color: white !important;
}

.product-card-pro .card-img-wrapper {
    background: #f9fafb;
    padding: 20px;
}

.trending-carousel .carousel-inner {
    padding: 20px 0;
}

/* Custom Scrollbar for Carousel on Mobile */
.trending-carousel-mobile {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 20px;
}

.trending-carousel-mobile::-webkit-scrollbar {
    height: 4px;
}

.trending-carousel-mobile::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 10px;
}

/* Payment Logos & Grayscale Effect */
.grayscale-hover {
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
    cursor: default;
}

.grayscale-hover:hover {
    filter: grayscale(0%) opacity(1) !important;
    transform: scale(1.1);
}

.payment-logo {
    max-width: 80px;
    object-fit: contain;
}
