.filter-section {
    border-right: 1px solid #ddd;
    padding-right: 20px;
}


.filter-title {
    font-weight: bold;
    margin-top: 20px;
}

.hero-wrapper {
    position: relative;
    width: 100%;
    height: 40vh;
    background-image: url('/img/website/home/CAMION_2.0.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.advanced-search-bar {
    z-index: 1000;
}

@media (min-width: 992px) {
    .advanced-search-bar {
        margin-top: -85px;
    }
}

.hero-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #0c1f5293;
    z-index: 1;
}


.hero-wrapper>* {
    position: relative;
    z-index: 2;
}

/* Breadcrumb industrial */
.breadcrumb-overlay-tires {
    position: absolute;
    top: 25px;
    left: 25px;
    background: rgba(20, 20, 20, 0.65);
    padding: 10px 25px;
    z-index: 10;
    border-left: 4px solid #ffda00;
    /* amarillo mecánico */
}

.breadcrumb-overlay-tires .breadcrumb {
    background: transparent !important;
    padding: 0;
    margin: 0;
}

.breadcrumb-overlay-tires .breadcrumb-item a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.breadcrumb-overlay-tires .breadcrumb-item.active {
    color: #ffda00;
    font-weight: 700;
}

.breadcrumb-overlay-tires .breadcrumb-item+.breadcrumb-item::before {
    color: #ffffff;
}

body {
    background-color: #f8f9fa
}

.tire-card-custom {
    border-radius: 16px !important;
    padding: 15px;
    background: #fff;
    transition: all 0.3s ease;
    overflow: hidden;
}

.tire-card-custom:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
}

/* Badge Circular Rojo */
.discount-circle {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e63030;
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    line-height: 1;
    z-index: 10;
}

/* Logo de Marca arriba */
.brand-logo-top {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.brand-logo-top img {
    max-height: 24px;
    max-width: 80px;
    object-fit: contain;
}

/* Ajuste de Imagen de Llanta */
.product-main-img {
    max-height: 200px;
    object-fit: contain;
}

/* Tipografías */
.brand-label {
    font-size: 0.75rem;
    color: #555;
    letter-spacing: 0.5px;
}

.tire-title-key {
    font-size: 1.2rem;
    color: #1a1a1a;
}

.text-height-limit {
    min-height: 40px;
    font-size: 0.85rem;
}

/* Botones estilo Profesional */
.btn-add-cart {
    background-color: #1e4fa1 !important;
    /* Azul de la imagen */
    color: white !important;
    border: none;
    padding: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
}

.btn-add-cart:hover {
    background-color: #1e4fa1 !important;
}

.btn-outline-features {
    border: 1px solid #1e4fa1 !important;
    color: #1e4fa1 !important;
    padding: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 6px;
}

.btn-outline-features:hover {
    background-color: #f0f7ff;
}

/* Precios */
.main-price-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e4fa1;
    line-height: 1;
}

/* Helper para que las cards se vean iguales en altura */
.card-body {
    flex-grow: 1;
}

.unified-search-bar {
    margin: 0 auto;
    border: 1px solid #e0e6ed !important;
    height: 70px;
    align-items: center;
}

.filter-item {
    display: flex;
    flex-direction: column;
    padding-left: 25px;
    padding-right: 15px;
    transition: all 0.2s ease;
    border-radius: 40px;
}

.filter-item:hover {
    background-color: #f8f9fa;
}

.filter-label {
    font-size: 10px;
    font-weight: 800;
    color: #adb5bd;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.filter-select {
    border: none;
    background: transparent;
    font-size: 0.9rem;
    color: #343a40;
    padding: 0;
    cursor: pointer;
    outline: none !important;
    box-shadow: none !important;
    width: 100%;
    font-family: inherit;
}

/* Estilo para las "opciones" dentro del select (limitado por el OS) */
.filter-select option {
    background-color: #fff;
    color: #333;
    padding: 10px;
    font-size: 1rem;
}

.filter-select:focus {
    color: #0d6efd;
    /* Cambia a azul al seleccionar */
}

.filter-select:disabled {
    color: #dee2e6;
    cursor: not-allowed;
}

/* Separador sutil */
.border-end-md {
    border-right: 1px solid #f0f3f7 !important;
}

/* Botón Circular/Pill */
.btn-search-custom {
    width: 54px;
    height: 54px;
    border-radius: 50% !important;
    /* Botón circular */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d6efd;
    border: none;
    margin-right: 5px;
    transition: all 0.3s;
}

.btn-search-custom:hover {
    transform: rotate(90deg);
    /* Efecto divertido al buscar */
    background: #0b5ed7;
}

/* Móvil */
@media (max-width: 767px) {
    .unified-search-bar {
        height: auto;
        border-radius: 20px !important;
        padding: 15px !important;
    }

    .filter-item {
        border-right: none !important;
        padding: 10px 0;
        border-bottom: 1px solid #f8f9fa;
    }

    .btn-search-custom {
        width: 100%;
        border-radius: 30px !important;
        margin-top: 15px;
        height: 45px;
    }
}

.tire-category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}