body {
    color: #333; /* Texto oscuro (gris muy oscuro) */
    background-color: #f7f7f9; /* Blanco muy suave, casi gris claro */
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1320px;
}

/* Asegura que los títulos también sean oscuros */
h1, h2, h3, h4, h5, h6 {
    color: #222;
}

a {
    color: #333;
    text-decoration: none;
}

header, .nnSoftMenu {
    background: #ffffff;
    border-bottom: 1px solid #dadcde;
}

#homepage-hero h1 {
    line-height: 3.6rem;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -8px; /* justo arriba del dropdown */
    right: 1.5rem; /* ajusta según la alineación */
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 8px solid #343a40; /* color del fondo del dropdown */
    z-index: 1001;
}

/* Oculta el chevron cuando el dropdown está abierto */
.dropdown-toggle.show::after {
    opacity: 0 !important;
}

.dropdown-menu.show.langSwitcher {
    width: auto;
    min-width: -webkit-fill-available;
    text-align: right;
}

.dropdown-menu.show.langSwitcher .dropdown-item {
    min-width: 0;
    width: auto;
    padding: 5px 25px;
}

a,
a:focus,
a:hover,
.btn,
.btn:focus,
.btn:hover,
.page-link,
.page-link:focus,
.page-link:hover,
.form-control:focus,
.form-select:focus, .accordion-button:focus {
    box-shadow: none !important;
    outline: none !important;
}

.accordion-button:not(.collapsed) {
    box-shadow: none;
}

.nnSoftHeaderLiveSearch {
    max-width: 600px;
}

.nnSoftCartCount {
    position: absolute;
    right: 2px;
    top: -2px;
    border: 1px solid #ec1c22;
    padding: 0 5px;
    font-size: 10px;
    border-radius: 50%;
    background: #ec1c22;
    color: #fff;
    font-weight: bold;
}

.nnSoftMenu {
    height: 60px;
    z-index: 9;
}

.nnSoftMenuOffcanvas {
    background: #ec1c22;
    color: #fff;
    font-weight: bold;
    height: 60px;
    width: fit-content;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
}

.nnSoftMenu {
    font-family: "BPG Nino Mtavruli Bold", sans-serif !important;
}

.nnSoftMenuList .nav-link {
    border-bottom: 3px solid #ffffff;
}

.nnSoftMenuList .nav-link.active, .nnSoftMenuList .nav-link:hover {
    border-bottom: 3px solid #ec1c22;
}

#heroCarousel .heroCarouselBlock {
    background-size: cover;
    height: 550px;
}

#heroCarousel .carousel-item .overlay {
    background-color: rgba(0, 0, 0, 0.5); /* Negro con opacidad del 50% */
    z-index: 1;
}

#heroCarousel .carousel-item .container {
    z-index: 2;
}

#heroCarousel h1 {
    color: #ffffff;
    font-size: 2rem;
}

.nnSoftHomeTitle .nnSoftHomeTitleEndA {
    border: 1px solid #dddddd;
    padding: 2px 10px;
}

.nnSoftHomeTitle {
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
}

.nnSoftHomeTitleArrows {
    top: 2px;
    position: relative;
}

.btn {
    border-radius: 0;
}

.btn-danger {
    background: #ec1c22;
}

.btn-danger:hover {
    background: #dd161b;
}

.mb-6 {
    margin-bottom: 6rem;
}

.nnSoftProducts .discounted {
    width: max-content;
}

#liveSearchResults {
    z-index: 9999;
}

.nnSoftProductsCard .nnSoftProductsCardTitle {
    border-bottom: 1px solid #e3e3e3;
    padding-bottom: 5px;
    display: block;
}

.nnSoftProductsThumb .nnSoftProductsDiscount {
    right: 10px;
    top: 10px;
    background: #ec1c22;
    padding: 2px 10px;
    color: #ffffff;
    border-radius: 5px;
}

header .navbar-brand img {
    height: 80px;
}

.nnSoftHeaderProfile {
    width: 26px;
    height: 26px;
}

.form-select:focus {
    box-shadow: none !important;
    border-color: inherit !important;
    outline: none !important;
}

a, .nav-link {
    color: #333333;
}

a:hover, .nav-link:hover {
    color: #111111;
 }

.pagination .page-item .page-link {
    background-color: #f1f1f1; /* gris claro por defecto */
    color: #333;               /* texto gris oscuro */
    border: none;
}

.pagination .page-item.active .page-link {
    background-color: #dd161b; /* rojo activo */
    color: #fff;               /* texto blanco */
    font-weight: bold;
}

.pagination .page-link:hover {
    background-color: #e0e0e0; /* un hover un poco más claro */
    color: #000;
}

.nnSoftBuyButton {
    font-size: 1rem;
}

.nnSoftMenuOffcanvasNav {
    color: #ffffff;
}

.nnSoftFooterComp {
    text-decoration: underline;
}

.nnSoftProductPrice {
    font-size: 1rem;
    font-weight: 500;
}

footer {
    background: #ffffff;
    border-top: 1px solid #dadcde;
}

footer h4 {
    border-bottom: 1px solid #dadcde;
    padding-bottom: 1rem;
}

h4 {
    font-size: 1.2rem;
}

@media screen and (max-width: 768px) {
    .mb-6 {
        margin-bottom: 3rem;
    }

    header {
        position: sticky;
        top: 0;
        z-index: 9;
        border-bottom: 1px solid #efefef;
    }
    .nnSoftCartCount {
        right: -8px;
        top: -12px;
    }
    .nnSoftMenuProfile {
        margin-top: 10px !important;
    }
    .dropdown-menu::before {
        right: 3px;
    }
    header .navbar-brand img {
        height: 40px;
    }
}

@media screen and (max-width: 568px) {
    .nnSoftHomeTitleEndA {
        display: none;
    }

    .nnSoftHomeTitleLeft {
        width: 100%;
        justify-content: space-between;
        z-index: 1;
    }
}