/* Paleta de colores Groppo Construcción */
:root {
    --groppo-azul: #003d6b;
    --groppo-rojo: #a61a24;
    --groppo-gris-claro: #f8f9fa;
    --groppo-texto-oscuro: #1a1a1a;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--groppo-texto-oscuro);
    background-color: #ffffff;
}

/* Fondos y Bordes */
.bg-groppo-azul {
    background-color: var(--groppo-azul) !important;
}

/* Navbar modificaciones para calcar diseño */
.navbar {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.navbar-dark .navbar-nav .nav-link:hover {
    text-decoration: underline;
}

/* Carrito estilo icono limpio */
.nav-cart-link {
    color: #ffffff !important;
    font-size: 1.25rem;
    position: relative;
}

.nav-cart-link .badge-cart {
    font-size: 0.65rem;
    position: absolute;
    top: -2px;
    right: -8px;
    background-color: transparent;
    color: #ffffff;
}

/* Banner Principal */
.header-banner {
    background-size: cover;
    background-position: center;
    min-height: 420px;
    position: relative;
}

.banner-box {
    background-color: rgba(255, 255, 255, 0.92);
    padding: 2rem;
    max-width: 550px;
    border-bottom: 4px solid var(--groppo-rojo);
}

.banner-box h1 {
    font-size: 2rem;
    letter-spacing: 0.5px;
}

/* Sección Categorías Circulares */
.seccion-titulo {
    font-size: 1.35rem;
    letter-spacing: 1px;
}

.categoria-item {
    text-align: center;
    text-decoration: none;
    color: var(--groppo-texto-oscuro);
    display: block;
}

.categoria-item:hover {
    color: var(--groppo-azul);
}

.categoria-circulo {
    width: 110px;
    height: 110px;
    background-color: #e9ecef;
    border: 2px solid #ced4da;
    border-radius: 50%;
    margin: 0 auto 0.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.categoria-circulo img {
    max-width: 55%;
    max-height: 55%;
    object-fit: contain;
}

.categoria-item:hover .categoria-circulo {
    transform: scale(1.05);
    border-color: var(--groppo-azul);
}

.categoria-nombre {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Sidebar de Filtros Lateral */
.sidebar-filtros .titulo-filtro {
    background-color: var(--groppo-azul);
    color: #ffffff;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

.sidebar-filtros .titulo-filtro-activo {
    background-color: var(--groppo-azul);
    color: #ffffff;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 0;
}

.sidebar-filtros .list-group-item {
    border: none;
    padding: 6px 12px;
    font-size: 0.9rem;
    color: var(--groppo-texto-oscuro);
    font-weight: 500;
}

.sidebar-filtros .list-group-item a {
    text-decoration: none;
    color: inherit;
}

.sidebar-filtros .list-group-item a:hover {
    color: var(--groppo-azul);
}

/* Tarjetas de Producto Maqueta Exacta */
.card-producto {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    background-color: #ffffff;
}

.card-producto .card-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333333;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-agregar-carrito {
    background-color: var(--groppo-azul) !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    padding: 10px 5px !important;
    border-radius: 0px !important;
    transition: background-color 0.2s ease;
}

.btn-agregar-carrito:hover {
    background-color: #002b4d !important;
}

/* Footer Estilo Maqueta */
footer h6 {
    font-size: 0.9rem;
    font-weight: 600;
}

footer ul li a {
    font-size: 0.85rem;
    color: #ffffff !important;
    opacity: 0.85;
    text-decoration: none;
}

footer ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

footer .footer-bottom {
    font-size: 0.75rem;
    opacity: 0.7;
}