/*Inicio estilos banner top --------------------------------------*/
.promo-banner {
    background-color: #033260;
    display: flex;
    align-items: center;
    color: white;
}

.promo-item {
    display: flex;
    align-items: center;
    font-size: 12px;
    gap: 8px;
    margin-right: 12px;
}

.promo-item svg {
    fill: rgba(255, 255, 255, 0.85);
    width: 24px;
    height: 24px;
}

.promo-banner a {
    color: white;
    text-decoration: none;
}

.promo-banner a:hover {
    text-decoration: underline;
}

.css-1o476z1 {
    background: transparent linear-gradient(94deg, #1570E6 0%, #033260 100%) 0% 0% no-repeat padding-box;
    display: flex;
    align-items: center;
    padding: 5px 56px 5px 0;
    clip-path: polygon(100% 130%, 92% 0, 0 0, 8% 130%);
}

@media (max-width: 576px) {
    .css-1o476z1 {
        display: none !important;
    }
}

/*Fin estilos banner top*/


/* Inicio Contenedor de pasos (step) -------------------------------------- */
.easy-as-123-wrapper {
    background-color: #fcfdfd;
    color: rgba(0, 0, 0, .87);
    border-radius: 24px;
    padding: 25px;
    margin: 50px 0 10px 0;;
    max-width: 1200px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    gap: 25px;
}

.intro-column {
    flex-basis: 25%;
    text-align: center;
}

.intro-column h2 {
    font-weight: 700;
    font-size: 25px;
}

.steps-column {
    flex-basis: 75%;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.step-icon {
    width: 120px;
    flex-shrink: 0;
}

.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-content h3 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 0.25rem 0;
}

.step-content p {
    font-size: 12px;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .easy-as-123-wrapper {
        flex-direction: column; /* Apila las columnas verticalmente */
    }

    .intro-column {
        margin-bottom: 2rem; /* Añade espacio cuando se apila */
    }

    .steps-column {
        flex-direction: column; /* Apila los pasos verticalmente */
        align-items: center; /* Centra los pasos apilados */
        width: 100%;
    }

    .step {
        max-width: 320px; /* Limita el ancho de los pasos en móvil */
    }
}

/* Fin Contenedor de pasos (step) */


/* Inicio footer -------------------------------------- */
.footer-main {
    background-color: #fff;
}

.footer-main .nav-link {
    color: #212529;
    padding: 0.25rem 0;
    font-weight: 500;
    font-size: 14px !important;
}

.footer-main .nav-link:hover {
    color: #0056b3;
}

.btn-dark-blue {
    background-color: #033260;
    color: white;
    font-weight: bold;
    border-radius: 50rem;
    padding: 15px 24px;
    font-size: 14px;
}

.btn-dark-blue:hover {
    background-color: #0a223d;
    color: white;
}

.form-control {
    border-radius: 50rem;
    padding: 0.75rem 1.5rem;
    border-color: #033260;
}

.footer-sub {
    background-color: #e1e6ec;
    padding: 26px;
}

.footer-legal-links {
    text-align: center;
    font-size: 12px;
    font-weight: 500;
}

.footer-legal-links span,
.footer-legal-links a {
    color: #6c757d;
    text-decoration: none;
}

.footer-legal-links a:hover {
    text-decoration: underline;
}

.btn-chat-widget {
    position: fixed;
    bottom: 40px;
    right: 30px;
    background-color: #198754;
    color: white;
    font-weight: bold;
    border-radius: 50rem;
    padding: 11px 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    transition: all 0.2s ease;
    transform: scale(1);
}

.btn-chat-widget:hover {
    background-color: #198754;
    color: #198754;
    transform: scale(1.10);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.punto {
    margin: 0;
    font-size: 30px;
    margin-left: 8px;
    margin-right: 8px;
}

.letras-titulo {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
    color: #002249;
}

.social-icons-container {
    width: 100%;
    overflow: hidden;
}

.social-icons {
    padding: 0 10px;
    justify-content: left !important;
}

.social-icon-link {
    display: inline-block;
    line-height: 0;
}

.social-icon {
    width: 36px;
    height: 36px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.main-title {
    font-weight: 600;
}

.sitemap-columns {
    column-count: 4;
    column-gap: 2rem;
}

.sitemap-group {
    /* Evita que un grupo se parta entre dos columnas */
    /*break-inside: avoid;*/
    padding-bottom: 1.5rem;
}

.sitemap-title {
    display: block;
    font-weight: 600;
    color: #212529;
    text-decoration: none;
    font-size: 20px;
}

.sitemap-link {
    display: block;
    font-weight: 500;
    color: #495057;
    text-decoration: none;
    padding: 0.2rem 0;
    font-size: 20px;
}

.sitemap-title:hover, .sitemap-link:hover {
    color: #0d6efd;
}

/* Para tablets en modo vertical y móviles (menos de 768px de ancho) */
@media (max-width: 768px) {
    .sitemap-columns {
        column-count: 2;
    }
}

/* Para móviles (menos de 576px de ancho) */
@media (max-width: 576px) {
    .sitemap-columns {
        column-count: 1;
    }
}

/* Fin footer */

/* Inicio menu */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

.dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Fin menu */


/* Inicio lista productos -------------------------------------- */

/* Contenedor principal de la tarjeta */
.product-card {
    border-radius: 24px;
    overflow: hidden;
    border: none;
    box-shadow: 0px 3px 3px -2px rgba(0, 10, 54, 0.2), 0px 3px 4px 0px rgba(0, 10, 54, 0.14), 0px 1px 8px 0px rgba(0, 10, 54, 0.12);
}

.card-img-container {
    position: relative;
    background-color: #f1f4f6;
    overflow: hidden;
    min-height: 170px;
}

/* Logo de marca posicionado */
.marca-logo {
    position: absolute;
    top: 25px;
    color: transparent;
    mix-blend-mode: multiply;
    width: 150px;
    height: auto;
}

/* Botón de añadir al carrito */
.btn-add-to-cart {
    background-color: #1D8705;
    border-color: #1D8705;
    color: white;
    border-radius: 0.5rem;
    font-size: 15px;
}

.btn-add-to-cart:hover {
    background-color: rgba(13, 93, 4);
    border-color: rgba(13, 93, 4);
    color: white;
}

/* Estilo del precio grande */
.price-large {
    font-size: 17px;
    line-height: 1;
    margin: 3px 0;
}

/* Caja de precio y cantidad */
.price-box {
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 0.75rem;
    padding: 12px;
    background-color: #fcfdfd;;
}

.qty-selector input {
    padding-top: 12px;
    padding-bottom: 0;
    width: 100%;
    font-size: 16px !important;
    font-weight: 500;
    border-color: #E1E6EC;
}

.qty-selector span {
    pointer-events: none;
    font-size: 0.55rem;
    line-height: 1;
    padding-top: 4px;
    font-weight: 700;
}

.qty-selector .btn {
    padding: 0 5px !important;
    font-size: 24px !important;
    font-weight: 500;
    border-color: #E1E6EC;
}

/* Indicador de "En Stock" */
.in-stock-label {
    color: #198754;
    font-weight: bold;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
}

.stock-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #198754;
    border-radius: 50%;
}

.producto-imagen {
    position: absolute;
    color: transparent;
    mix-blend-mode: multiply;
    left: 70px;
    top: 35px;
}

/* Estilo para enlaces - sin subrayado por defecto */
.link {
    text-decoration: none;
    color: inherit;
}

/* Subrayado solo al hacer hover */
.link:hover {
    text-decoration: underline;
}

/* Fin lista productos */


/* Inicio contenedor header busqueda -------------------------------------- */

.search-header-container {
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    justify-content: center;
}

.breadcrumb-item a {
    color: #6c757d;
}

.breadcrumb-item.active {
    color: #495057;
    font-weight: 500;
}

.search-title {
    font-size: 28px;
    font-weight: 600;
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .search-title {
        font-size: 1.75rem;
    }
}

/* Fin contenedor header busqueda */

/* Inicio filtros -------------------------------------- */
.filter-panel {
    background-color: white;
    padding: 0 1rem 1rem 1rem;
    border-radius: 0.5rem;
    max-width: 320px;
}

.accordion-button {
    font-weight: 600;
    font-size: 1rem;
    color: #212529;
    padding: 0.75rem 0;
    margin: 16px 0;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    box-shadow: none;
    color: #212529;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-flush .accordion-item {
    background-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d6efd'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d6efd'%3e%3cpath fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/%3e%3c/svg%3e");
}

/* Estilos para el slider de precios */
#price-slider .noUi-connect {
    background: rgb(21, 112, 230);
}

#price-slider {
    outline: none;
    margin: 15px 0;
    height: 4px;
}

.hr-1 {
    border-style: solid;
    border-color: slategray;
    color: slategray;
    background-color: slategray;
    margin-bottom: 8px;
    border-width: 2px;
}

/* Fin filtros */

/* Inicio ordenamiento -------------------------------------- */
.sort-by-container {
    position: relative;
    display: inline-block;
}

.sort-by-button {
    width: 200px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0.5rem;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
}

.dropdown-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.sort-by-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    min-width: 300px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    border: 1px solid #eee;
    font-weight: 500;
}

.sort-by-menu.show {
    display: block;
}

.sort-by-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.sort-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
}

.sort-option:hover {
    background-color: #f8f9fa;
}

.sort-option.selected {
    background-color: rgba(3, 50, 96, 0.08);
}

.radio-container {
    position: relative;
    width: 20px;
    height: 20px;
}

.radio-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
}

.radio-icon.checked {
    display: none;
}

.sort-option.selected .radio-icon.checked {
    display: block;
}

.sort-option.selected .radio-icon.unchecked {
    display: none;
}

/* Fin ordenamiento */


/* Inicio vista producto -------------------------------------- */

.product-brand-logo {
    max-height: 50px;
    margin-bottom: 0.5rem;
}

.spec-tags .badge {
    background-color: #eef1f4 !important;
    color: #566474;
    font-weight: 500;
    border-radius: 99px;
    padding: 0.4em 0.8em;
}

/* --- CAJA DE PRECIO Y CANTIDAD (TUS ESTILOS ADAPTADOS) --- */
.price-box-vista-prod {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 12px;
    background-color: #f8f9fa;
}

/* Selector de cantidad adaptado para ser más pequeño */
.qty-selector-vista-prod {
    width: 85px !important;
}

.qty-selector-vista-prod .form-control {
    padding-top: 10px !important;
    padding-bottom: 2px !important;
    font-size: 14px !important;
    font-weight: 500;
    border-color: #dee2e6;
}

.qty-selector-vista-prod .qty-label {
    pointer-events: none;
    font-size: 0.5rem !important;
    line-height: 1;
    padding-top: 3px !important;
    font-weight: 700;
    color: #6c757d;
}

.qty-selector-vista-prod .btn {
    padding: 0 8px !important;
    font-size: 18px !important;
    font-weight: 400;
    border-color: #dee2e6;
    color: #6c757d;
}

.price-display .price-large {
    font-size: 1.5rem;
    font-weight: 700;
}

.price-display .price-secondary {
    font-size: 0.8rem;
    color: #6c757d;
}

.in-stock-label-vista-prod {
    color: #198754;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.3rem;
}

.in-stock-label-vista-prod .stock-dot {
    width: 8px;
    height: 8px;
    background-color: #198754;
    border-radius: 50%;
}

/* Botón "Añadir al Carrito" */
.btn-add-to-cart-vista-prod {
    background-color: #1D8705;
    color: white;
    font-weight: 600;
}

.btn-add-to-cart-vista-prod:hover {
    background-color: rgba(13, 93, 4);
    color: white;
}

/* --- GALERÍA DE IMÁGENES RESPONSIVE --- */
.main-product-image-container {
    width: 100%;
    max-width: 195%;
    border: 1px solid #dee2e6;
    background-color: #f1f4f6;
    border-radius: 16px !important;
    overflow: hidden;
    margin: 0 auto;
}

.main-product-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: opacity 0.3s ease;
}

.product-thumbnails {
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 10px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
}

.product-thumbnails .pt {
    flex: 0 0 auto;
}

.thumbnail-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #dee2e6;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.thumbnail-img.active,
.thumbnail-img:hover {
    border-color: black;
    opacity: 1;
}

/* Media Queries para diferentes tamaños de pantalla */
@media (min-width: 576px) {
    .main-product-image-container {
        width: 90%;
    }

    .thumbnail-img {
        width: 70px;
        height: 70px;
    }
}

@media (min-width: 768px) {
    .main-product-image-container {
        width: 120%;
        margin-left: -10%;
    }

    .product-thumbnails {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: visible;
    }
}

@media (min-width: 992px) {
    .main-product-image-container {
        width: 170%;
        margin-left: -35%;
    }

    .thumbnail-img {
        width: 80px;
        height: 80px;
    }
}

@media (min-width: 1200px) {
    .main-product-image-container {
        width: 200%;
        margin-left: -25%;
    }
}

.product-nav-tabs {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.product-nav-tabs .nav-item {
    position: relative;
}

.product-nav-tabs .nav-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1.25rem;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background-color: #dee2e6;
}

.product-nav-tabs .nav-link {
    padding: 0;
    color: #0d6efd;
    font-weight: 600;
    background-color: transparent;
    border: none;
    text-decoration: none;
}

.price-box-vista-prod-info {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 20px;
}

/* Fin vista producto */


/* Inicio home -------------------------------------- */

.hero-section {
    position: relative;
    padding: 6rem 0;
    background-image: url('https://images.tirebuyer.com/visual-aids/pages/home/v2/tirebuyer-home-banner-opt.webp?quality=60');
    background-size: cover;
    background-position: center center;
    color: white;
    border-radius: 24px;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.search-card .nav-link {
    border: none;
    border-radius: 0;
    color: #6c757d;
    font-weight: 600;
    padding: 1rem;
    background-color: #f8f9fa;
}

.search-card .nav-link.active {
    background-color: #0d6efd;
    color: white;
}

.search-card .nav-item:first-child .nav-link {
    border-top-left-radius: 0.5rem;
}

.search-card .nav-item:last-child .nav-link {
    border-top-right-radius: 0.5rem;
}

.reset-btn i {
    font-size: 1rem;
    vertical-align: middle;
}

.list-group-item {
    padding: 1rem;
    border-left: none;
    border-right: none;
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item i:first-child {
    color: #0d6efd;
}

.nav::before {
    display: none;
}

.nav::after {
    display: none;
}

.search-widget {
    max-width: 420px;
}

.custom-tabs .nav-link {
    border: none;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    padding: 1rem 1.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: #0d6efd;
    background-color: #f0f3f7;
    margin-right: 0.25rem;
}

.custom-tabs .nav-link.active {
    background-color: #0d6efd;
    color: white;
    position: relative;
}

.custom-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #0d6efd;
}

.search-container {
    background-color: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.search-options .list-group-item {
    background-color: #f0f3f7;
    border: none;
    border-radius: 1rem !important;
    padding: 1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.75rem;
    transition: background-color 0.2s ease;
}

.search-options .list-group-item:last-child {
    margin-bottom: 0;
}

.search-options .list-group-item:hover {
    background-color: #e2e6ea;
}

.search-options .list-group-item {
    background-color: #f0f3f7;
    border: none;
    border-radius: 1rem !important;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: background-color 0.2s ease;
}

.search-options .list-group-item:last-child {
    margin-bottom: 0;
}

.search-options .list-group-item:hover {
    background-color: #e2e6ea;
}

.search-options .list-group-item span {
    font-weight: 600;
    color: #212529;
    font-size: 1rem;
}

.search-options .list-group-item svg {
    width: 24px;
    height: 24px;
    fill: #0d6efd;
}

.nav-link-select {
    padding: 16px 55px !important;
}

@media (max-width: 576px) {
    .nav-link-select {
        padding: 16px 36px !important;
    }
}

/* Contenedor de la tarjeta de opción de llanta */
.tire-option-card {
    position: relative;
    margin-top: 0.5rem;
}

/* Oculta el radio button real */
.tire-option-card .form-check-input {
    display: none;
}

/* Estilo de la etiqueta para que parezca una tarjeta */
.tire-option-card .form-check-label {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem;
    border: 2px solid #dee2e6;
    border-radius: 0.5rem;
    width: 100%;
    cursor: pointer;
    transition: border-color 0.15s ease-in-out;
}

/* Círculo del radio button personalizado (el borde exterior) */
.tire-option-card .form-check-label::after {
    content: '';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: 2px solid #adb5bd;
    border-radius: 50%;
    background-color: #fff;
}

/* Círculo interior del radio button (aparece cuando está seleccionado) */
.tire-option-card .form-check-label::before {
    content: '';
    position: absolute;
    right: 29px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #0d6efd;
    transition: transform 0.15s ease-in-out;
    z-index: 1;
}

/* Estilos cuando el radio button está seleccionado */
.tire-option-card .form-check-input:checked + .form-check-label {
    border-color: #0d6efd;
    background-color: #f0f6ff;
}

.tire-option-card .form-check-input:checked + .form-check-label::after {
    border-color: #0d6efd;
}

.tire-option-card .form-check-input:checked + .form-check-label::before {
    transform: translateY(-50%) scale(1);
}

/* Tarjeta de ayuda a la derecha */
.help-card {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    height: 100%;
    padding: 15px;
}

/* Estilos para el contenedor del modal */
.modal-content {
    border-radius: 16px;
    overflow: hidden;
}

/* Estilos para la navegación de pestañas */
.search-tabs {
    background-color: rgb(187, 198, 215);
}

.search-tabs .nav-link {
    color: white;
    border-radius: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-weight: 600;
}

/* Estilo para la pestaña activa */
.search-tabs .nav-link.active {
    background-color: rgb(21, 112, 230);
    color: white;
}

/* Estilos para la rejilla de años */
.year-grid-container {
    max-height: 40vh;
    overflow-y: auto;
}

/* Estilos para los botones de año, ancho, perfil y rin */
.year-grid-container .btn-outline-secondary {
    border-color: #ced4da;
    color: #212529;
    font-weight: 600;
    padding: 8px 0;
}

.year-grid-container .btn-outline-secondary:hover {
    background-color: #e3e6ea;
    color: #000;
}

/* Estilo para los botones activos */
.year-grid-container .btn-outline-secondary.active {
    background-color: rgb(21, 112, 230);
    color: white;
    border-color: rgb(21, 112, 230);
}

/* Fin home  */

@media (max-width: 576px) {
    .menu-desplegable {
        display: none !important;
    }
}

/* Inicio Menu raw -------------------------------------- */

.styled-mobile-nav {
    width: 100%;
    padding: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.main-menu, .submenu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    border-bottom: 1px solid #f0f0f0;
}

/* Contenedor del enlace principal (Tires, Wheels, etc.) */
.menu-link {
    display: flex;
    align-items: center;
    padding: 18px 10px;
    text-decoration: none;
    color: #333;
    cursor: pointer;
}

/* 1. El icono circular de la izquierda */
.menu-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid #333; /* Borde grueso */
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

/* 2. El texto del menú */
.menu-text {
    font-weight: 600; /* Texto en negrita */
    font-size: 1.1rem;
    flex-grow: 1; /* Ocupa todo el espacio disponible */
}

/* 3. El icono de despliegue (+/-) de la derecha */
.menu-toggler-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
}

.menu-toggler-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background-color: #555;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

/* El '+' se forma añadiendo la barra vertical */
.menu-toggler-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 12px;
    background-color: #555;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

/* Cuando está abierto, la barra vertical desaparece (se escala a 0) */
.menu-item.open .menu-toggler-icon::after {
    transform: translate(-50%, -50%) scaleY(0);
}

/* --- Lógica del submenú (acordeón) --- */
.submenu {
    padding-left: 28px; /* Indentación para los sub-items */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

/* Cuando el item está abierto, el submenú se expande */
.menu-item.open .submenu {
    max-height: 500px; /* Valor suficientemente grande */
}

/* Estilo de los enlaces del submenú */
.submenu-link {
    display: block;
    padding: 12px 25px; /* Más padding para que coincida con la indentación */
    color: #555;
    text-decoration: none;
    font-size: 1rem;
}

.submenu-link:hover {
    color: #000;
}

/* Fin Menu raw */
