/* ============================================================
   PARTE 1: TU DISEÑO ORIGINAL (Intacto: Logo y Botones)
   ============================================================ */

/* --- Estilos para la Barra de Navegación --- */
.navbar {
    transition: all 0.3s ease;
    /* Eliminé cualquier regla que afectara el padding aquí */
}

.navbar-brand img {
    height: 80px;
    width: auto;
}

#main-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

#main-nav .nav-item {
    margin: 0 0.25rem;
}

#main-nav .nav-link:hover,
#main-nav .current-menu-item > .nav-link {
    background-color: #da6517 ;
    color: #ffffff;
}

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

/* --- ESTILOS PARA EL BOTÓN DEL CARRITO EN EL HEADER --- */
.cart-icon-button {
    border: 1px solid #c0c0c0;
    color: #6b6b6b !important;
    padding: 0.375rem 0.75rem;
    transition: all 0.3s ease;
    border-radius: 5px;
    border-color: #969695 !important;
}

.cart-icon-button:hover {
    background-color: #f8f9fa !important;
    border-color: #c05f5f  !important;
    color: #c05f5f !important;
}

.cart-icon-button i.bi {
    color: #a7a6a6 !important;
}
.cart-icon-button:hover i.bi {
    color: #c05f5f !important;
}

.cart-icon-button .badge {
    background-color: #e7e7f5 !important;
    color: #292929 !important;
    border: none !important;
}

/* --- Estilo para el header cuando se hace scroll --- */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    transition: background-color 0.4s ease-out;
}

.navbar-scrolled .navbar-brand img {
    height: 60px;
    transition: height 0.4s ease-out;
}


/* ============================================================
   PARTE 2: CORRECCIÓN ÚNICA DEL ESPACIO EN BLANCO
   (Solo afecta márgenes externos, no toca el diseño interno)
   ============================================================ */

/* 1. Quitamos el margen inferior de todo el bloque del encabezado */
header.site-header, 
header {
    margin-bottom: 0 !important;
}

/* 2. Quitamos el padding superior del contenido principal */
/* Esto es lo que solía empujar el banner hacia abajo */
main#content.site-content,
main#primary,
div.site-content,
body.page main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* 3. Aseguramos que el banner no tenga margen superior */
section.hero-slider {
    margin-top: 0 !important;
}