.navbar-brand {
    font-size: 20px !important;
    font-weight: bold;
}

.navbar-brand img {
    display: none !important;
}

/* =====================================================
   TEMA PERSONALIZADO - Fresco/Moderno
   Verde #10B981 + Violeta #8B5CF6
   ===================================================== */

/* Variables de colores */
:root {
    --color-primary: #10B981;
    --color-primary-dark: #059669;
    --color-secondary: #8B5CF6;
    --color-secondary-dark: #7C3AED;
}

/* ===== HEADER ===== */
.site-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.site-header .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
}

.site-header .nav-link {
    color: white !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.site-header .nav-link:hover {
    color: #f0f0f0 !important;
    transform: translateY(-2px);
}

/* Buscador en header */
#product-search {
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    transition: all 0.3s ease;
}

#product-search:focus {
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

/* ===== BUSCADOR MÁS ANCHO ===== */
.search-container {
    max-width: 700px !important;
    width: 100% !important;
}

@media (min-width: 1200px) {
    .search-container {
        max-width: 800px !important;
    }
}

/* ===== BOTONES ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%) !important;
    border: none !important;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%) !important;
    border: none !important;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* ===== PRODUCTOS ===== */
.product_pod {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    background: white;
}

.product_pod:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.product_pod img {
    transition: transform 0.3s ease;
}

.product_pod:hover img {
    transform: scale(1.05);
}

.product_pod .card-body {
    padding: 1.25rem;
}

.product_pod h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.product_pod .price_color {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* ===== BOTÓN "AÑADIR AL CARRITO" CON HOVER ===== */
.product_pod .btn-block,
.product_pod form button[type="submit"] {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    pointer-events: none;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    padding: 10px;
    border-radius: 8px;
    margin: 10px auto 15px auto !important;
    width: calc(100% - 30px) !important;
    display: block !important;
}

.product_pod:hover .btn-block,
.product_pod:hover form button[type="submit"] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.product_pod .btn-block:hover,
.product_pod form button[type="submit"]:hover {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* ===== SLIDER ===== */
#productSlider {
    border-radius: 0;
    overflow: hidden;
}

#productSlider .carousel-item {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

#productSlider h2 {
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

#productSlider .btn {
    border-radius: 25px;
    padding: 12px 32px;
    font-weight: 700;
    font-size: 1.1rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.carousel-indicators li.active {
    width: 32px;
    border-radius: 6px;
    background: white;
}

/* ===== CATEGORÍAS DESTACADAS ===== */
.category-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) #f3f4f6;
}

.category-scroll::-webkit-scrollbar {
    height: 6px;
}

.category-scroll::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 3px;
}

.category-scroll::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 3px;
}

.category-card {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-card:hover {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.category-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    color: white;
    font-size: 18px;
}

.category-name {
    font-weight: 600;
    color: #374151;
    font-size: 15px;
}

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

/* ===== MENÚ EN BARRA SUPERIOR OSCURA ===== */
.top-menu-item {
    color: #d1d5db !important;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 8px 20px !important;
}

.top-menu-item:hover {
    color: var(--color-primary) !important;
}

/* ===== FOOTER ===== */
footer.site-footer {
    background: #1f2937;
    color: #d1d5db;
}

footer.site-footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

footer.site-footer a {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer.site-footer a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
    display: inline-block;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #374151;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-4px) scale(1.1);
    background: var(--color-primary);
}

/* ===== BOTÓN FLOTANTE WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 25px;
    background: #25D366;
    color: white;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #20BA5A;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
}

/* ===== PAGINADOR ELEGANTE ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pagination .page-item {
    list-style: none;
}

.pagination .page-link {
    padding: 10px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    background: white;
}

.pagination .page-link:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f3f4f6;
    border-color: #e5e7eb;
}

.pagination .page-item.disabled .page-link:hover {
    background: #f3f4f6;
    color: #374151;
    transform: none;
    box-shadow: none;
}

/* ===== FULL WIDTH - HOME ===== */
.container,
.container-fluid {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

header .container,
header .container-fluid {
    max-width: 100% !important;
}

.container-products {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

#content_inner {
    max-width: 100% !important;
    padding: 0 2rem;
}

#productSlider {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#productSlider .container,
#productSlider .row {
    max-width: 100% !important;
    padding-left: 2rem;
    padding-right: 2rem;
}

footer {
    width: 100% !important;
}

footer .container {
    max-width: 100% !important;
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}

.page-header {
    padding-left: 2rem;
    padding-right: 2rem;
}

.row.product-list {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

/* ===== PÁGINAS INTERNAS (Checkout, Carrito, Producto) ===== */
/* Aplicar solo si NO hay slider (páginas internas) */
body:not(:has(#productSlider)) .container {
    padding-left: 40px !important;
    padding-right: 40px !important;
}

body:not(:has(#productSlider)) .well,
body:not(:has(#productSlider)) .panel {
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 24px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

body:not(:has(#productSlider)) .table {
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

body:not(:has(#productSlider)) .table thead {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%) !important;
}

body:not(:has(#productSlider)) .table th {
    font-weight: 600 !important;
    color: #374151 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    #productSlider h2 {
        font-size: 1.75rem;
    }
    
    #productSlider p {
        font-size: 1rem;
    }
}



/* ===== FORZAR FULL-WIDTH EN TODAS LAS PÁGINAS ===== */

/* Eliminar márgenes laterales en TODAS las páginas */
body {
    background: #ffffff !important;
}

.container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
}

/* Páginas de checkout */
.checkout-index .container,
.checkout-shipping-address .container,
.checkout-shipping-method .container,
.checkout-payment-details .container {
    max-width: 100% !important;
    padding-left: 60px !important;
    padding-right: 60px !important;
}

/* Mejorar wells y panels */
.well,
.panel,
.panel-body {
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

/* Página de producto */
.product-page .container,
body[class*="product"] .container {
    max-width: 100% !important;
    padding-left: 60px !important;
    padding-right: 60px !important;
}

/* Carrito */
.basket-page .container,
body[class*="basket"] .container {
    max-width: 100% !important;
    padding-left: 60px !important;
    padding-right: 60px !important;
}
