.hero-wrap {
    position: relative;
}

html,
body {
    overflow-x: hidden;
}

.hero-wrap {
    background-image: url('/img/website/home/fondo.png');
    height: 90vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Móviles: baja el vh para que no se coma la pantalla */
@media (max-width: 576px) {
    .hero-wrap {
        height: auto;
    }
}

/* Opcional: tablets */
@media (min-width: 577px) and (max-width: 991px) {
    .hero-wrap {
        height: auto;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, .22) 55%, rgba(0, 0, 0, .06) 100%);
    pointer-events: none;
}

.beneficios-busqueda {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .65);
}

.beneficios-busqueda i {
    color: #fff !important;
    line-height: 1;
}

.promo-cards-wrap {
    margin-top: -60px;
    position: relative;
    z-index: 5;
}

.promo-card {
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    border-radius: 20px;
    height: 400px;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .16);
}

@media (max-width: 991px) {
    .promo-cards-wrap {
        margin-top: -40px;
    }

    .promo-card {
        height: 200px;
    }
}

/* Seccion de inicio */

.carousel-control-prev,
.carousel-control-next {
    z-index: 1000;
}

@media (max-width: 768px) {

    .product-img {
        width: 200px !important;
    }

    .img-bg {

        height: 30vh !important;
    }
}

.fa-star {
    color: #FFD717;
}

.yellow-border {
    border-bottom: 1px solid #FFD717;
}


.img-bg {
    background-image: url('/img/website/home/banner7.jpg');
    background-size: cover;
    background-position: bottom center;
    height: 60vh;
}


.badge-discount {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: #1E4FA1;
    color: white;
    padding: 5px 50px;
    z-index: 10;
    border-bottom-left-radius: 20px
}

#measureBreadcrumb .step,
#vehicleBreadcrumb .step {
    background-color: #f1f1f1;
    color: #6c757d;
    transition: all 0.3s ease;
    cursor: pointer;
}

#measureBreadcrumb .step.active,
#vehicleBreadcrumb .step.active {
    background-color: #1E4FA1;
    color: #fff;
}

#measureBreadcrumb .step.completed,
#vehicleBreadcrumb .step.completed {
    background-color: #1E4FA1;
    color: #fff;
}

.btn-outline-secondary {
    border: 1px solid #d8dadd;
    color: black;
}

.btn-outline-secondary:hover {
    color: black;
    background-color: #d8dadd;
    border: 1px solid #d8dadd;
}

.gray-card {
    background-color: #f2f2f2;
}

#measureModal .modal-content,
#vehicleModal .modal-content {
    height: 400px;
    display: flex;
    flex-direction: column;
}

#measureModal .modal-body,
#vehicleModal .modal-body {
    overflow-y: auto;
    flex: 1 1 auto;
}

.btn-close {
    width: 25px;
    height: 25px;
    background-color: #e4e8ee !important;
    opacity: 1;
}

.icons-size-md {
    width: 50px;
    height: 50px;
}

.feature-item {
    margin-bottom: 1rem;
    /* Espacio entre cada elemento de la lista */
}

/* Ejemplo */
.bg-blue-serna-light {
    background-color: #e6f2ff;
}

/* --- ESTILOS PARA FLUJO HORIZONTAL MINIMALISTA --- */

:root {
    --color-primary: #1E4FA1;
    --color-dark: #1a2a4b;
    --color-separator: #d1d9e6;
}

.flow-icon-minimal {
    padding: 20px 0;
    position: relative;
}

/* Ícono principal destacado */
.step-icon-minimal {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    position: relative;
    transition: transform 0.3s;
}

.step-icon-minimal:hover {
    transform: scale(1.05);
}

/* Conector simple (línea) */
@media (min-width: 768px) {
    .step-connector-minimal {
        position: absolute;
        top: 60px;
        /* Alinear con el centro del ícono */
        right: 0;
        width: 100%;
        /* Cubre el espacio hasta el siguiente paso */
        height: 3px;
        background-color: var(--color-separator);
        z-index: 5;
        /* La pseudo-clase lo posiciona a la derecha del contenedor */
    }

    /* Posiciona el conector entre las columnas */
    .flow-icon-minimal .col-md-4:nth-child(1) .step-connector-minimal {
        width: 100%;
        left: 50%;
        /* Inicia en el centro de la columna 1 */
    }

    .flow-icon-minimal .col-md-4:nth-child(2) .step-connector-minimal {
        width: 100%;
        left: 50%;
        /* Inicia en el centro de la columna 2 */
    }

    .flow-icon-minimal .col-md-4:last-child .step-connector-minimal {
        display: none !important;
        /* El último paso no conecta */
    }
}

/* En móvil, los contenedores se apilan */
@media (max-width: 767.98px) {
    .flow-icon-minimal .col-12 {
        margin-bottom: 30px;
        padding-bottom: 30px;
        border-bottom: 2px dashed var(--color-separator);
        /* Separador en móvil */
    }

    .flow-icon-minimal .col-12:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

/* Seccion porque elegirnos? */
.bg-yellow-serna {
    background-color: #ffd71f;
}


.icon-blue-serna i {
    color: #1E4FA1;
}

.why-choose-us-hero {
    position: relative;
    background-image: url('/img/website/home/OTR_2.0.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: #fff;
    min-height: 400px;
}

.why-choose-us-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 51, 102, 0.6);
    /* Overlay azul oscuro con opacidad */
    z-index: 1;
}

.why-choose-us-hero .container {
    position: relative;
    z-index: 2;
}

.feature-card-floating {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e8ecf2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 28px 24px;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card-floating .icon-wrapper {
    display: flex;
    margin-bottom: 16px;
}

.feature-card-floating .icon-wrapper i {
    font-size: 2rem;
    margin-right: 15px;
    color: #1E4FA1;
}

.feature-card-floating h5 {
    color: #0D2461;
    font-weight: bold;
    font-size: 1.05rem;
    margin-bottom: 8px;
    margin-top: 0;
}

.feature-card-floating p {
    color: #555;
    font-size: 0.88rem;
    line-height: 1.55;
    flex-grow: 1;
}

.features-grid-section {
    margin-top: -80px;
    position: relative;
    z-index: 3;
    margin-bottom: 50px;
}

/* Carrusel de servicios */
/* DESKTOP */
#carouselTab1Desktop .carousel-control-prev {
    left: -150px !important;
}

#carouselTab1Desktop .carousel-control-next {
    right: -150px !important;
}

/* Contenedor general */
#peek-carousel {
    height: 450px;
    position: relative;
}

/* Track que mueve los items */
#peek-carousel .carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    padding: 0 40px;
}

/* Cada item del carrusel */
#peek-carousel .carousel-item {
    position: relative;
    flex: 0 0 400px;
    /* ancho de cada card */
    height: 450px;
    margin: 0 10px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: #fff;
    display: block;
    padding: 40px 20px;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.5s, opacity 0.5s;
}

/* Overlay azul semitransparente sobre la imagen */
#peek-carousel .carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 53, 94, 0.55);
    z-index: 1;
}

/* Texto y botón por encima del overlay */
#peek-carousel .carousel-item>* {
    position: relative;
    z-index: 2;
}

/* Botones de navegación */
.btn-peek-carousel,
.btn-peek-carousel:hover {
    background-color: transparent;
    border: 1px solid #1E4FA1;
    color: #1E4FA1;
    border-radius: 0px;
}

/* Botón tipo glass */
.glass-btn {
    background: rgba(230, 230, 230, 0.3);
    backdrop-filter: blur(8px);
    color: #fff;
    border: none;
    cursor: pointer;
    width: 60%;
    padding: 10px;
    border-radius: 5px;
}

/* Barra de progreso debajo del carrusel */
.progress-container {
    width: 200px;
    height: 3px;
    margin-top: 0.5rem;
    background-color: #e4e4e4;
}

.custom-progress {
    width: 0%;
    height: 100%;
    background-color: #727272;
    border-radius: 3px;
    transition: width 0.5s;
}

/* Responsive: pantallas pequeñas */
@media (max-width: 768px) {
    #peek-carousel {
        height: 350px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    #peek-carousel .carousel-track {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #peek-carousel .carousel-item {
        flex: 0 0 250px !important;
        margin: 0 10px !important;
        height: 350px !important;
        min-width: 0 !important;
        padding: 20px 10px !important;
    }

    .glass-btn {
        width: 80%;
    }
}

/* Product cards css */
.tire-card {
    border-radius: 1rem !important;
    overflow: hidden !important;
    background-color: white !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #dee2e6 !important;
}

.brand-logo-ribbon {
    border-bottom: 1px solid #dee2e6 !important;
    background-color: white !important;
    padding: 0.5rem 1rem;
    min-height: 45px;
    display: flex;
    align-items: center;
}

.brand-logo-horizontal {
    max-height: 50px !important;
    height: auto;
    object-fit: contain !important;
}

.card-img-top-container {
    height: 200px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: white !important;
}

.product-img {
    object-fit: contain !important;
    transition: transform 0.3s ease;
    max-width: 80%;
}

.text-primary-price {
    color: #1E4FA1 !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
}

.badge.bg-primary {
    background-color: #1E4FA1 !important;
    padding: 0.4em 0.6em !important;
    border-radius: 0.25rem !important;
}

.input-group-sm:not(#cartPreview .input-group-sm) {
    max-width: 100px;
}

.input-group-sm .btn-qty {
    border-radius: 0.25rem !important;
    padding: 0.25rem 0.5rem !important;
    border-color: #dee2e6 !important;
    background-color: white !important;
    color: #6c757d !important;
}

.quantity-input {
    max-width: 50px !important;
    text-align: center !important;
    padding: 0.25rem 0 !important;
    border: 1px solid #dee2e6 !important;
}

/* Estilos para que los botones y otros elementos de las pestañas se vean bien */
.text-blue-serna-dark {
    color: #1E4FA1 !important;
    /* Aplicando el color corporativo */
}

/* Aplicando el estilo de tarjeta a la estructura del carrusel, si se usa la clase `card`*/
.carousel-inner .card {
    border-radius: 1rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #dee2e6 !important;
}

.badge-discount-circle {
    line-height: 1;
    z-index: 10;
}

.text-off {
    font-size: 0.65rem;
}

.nav-tabs-serna .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #6c757d;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-tabs-serna .nav-link.active {
    color: #023047 !important;
    /* Tu azul oscuro */
    border-bottom-color: #0056b3 !important;
    /* Tu azul principal */
    background: none !important;
}

.nav-tabs-serna .nav-link:hover {
    border-bottom-color: #dee2e6;
}

.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;
}

.card-body {
    flex-grow: 1;
}

.text-warning {
    color: #ffd71f !important;
}

/* Estilo del texto para que sea legible sobre llantas */
.benefit-text {
    color: white;
    font-size: clamp(0.6rem, 1vw, 0.75rem);
    /* Se ajusta solo según el ancho */
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    line-height: 1.1;
}

/* Quitar bordes en móvil para que no se rompa */
@media (max-width: 768px) {
    .benefit-row .border-end {
        border: none !important;
    }

    .benefit-text {
        font-size: 0.6rem;
    }
}

.brand-pill {
    height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, .08);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .12);

    transition: transform .12s ease, box-shadow .12s ease;
}

.brand-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .14);
}

.brand-pill__img {
    max-height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* Pasos serna */
.hover-card {
    transition: transform 0.3s ease, shadow 0.3s ease;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .1) !important;
}

.step-number {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    /* Número gigante de fondo */
    line-height: 1;
}

.icon-box i {
    display: inline-block;
    padding: 10px;
    background: rgba(var(--blue-serna-rgb), 0.1);
    border-radius: 12px;
}

/* Espacio para los indicadores debajo del banner */
.payment-carousel-box {
    padding-bottom: 60px;
}

/* Estilo de bolitas Premium */
#paymentCarousel .carousel-indicators {
    bottom: -45px;
    margin-bottom: 0;
}

#paymentCarousel .carousel-indicators [data-bs-target] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #d8d8d8;
    /* Gris suave */
    border: 2px solid #ffffff;
    /* Aro blanco para profundidad */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 1;
    margin: 0 6px;
    transition: all 0.3s ease;
}

/* Color exacto solicitado y efecto activo */
#paymentCarousel .carousel-indicators .active {
    background-color: #1e4fa1 !important;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(30, 79, 161, 0.4);
}

/* ── Tire Card V3 ── */
.tire-card-v3 {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eaedf2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color 0.2s;
}

.tire-card-v3:hover {
    border-color: #1E4FA1;
}

.tire-card-v3__top {
    background: #f7f8fa;
    padding: 16px 16px 12px;
    text-align: center;
    position: relative;
}

.tire-card-v3__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #1E4FA1;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 5;
}

.tire-card-v3__brand-logo {
    position: absolute;
    top: 10px;
    right: 10px;
    max-height: 22px;
    max-width: 70px;
    object-fit: contain;
    opacity: 0.7;
}

.tire-card-v3__img-link {
    display: block;
}

.tire-card-v3__img-link img {
    max-height: 160px;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    mix-blend-mode: multiply;
}

.tire-card-v3__info {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tire-card-v3__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.tire-card-v3__size {
    font-size: 1rem;
    font-weight: 800;
    color: #111;
}

.tire-card-v3__cat {
    font-size: 0.58rem;
    text-transform: uppercase;
    color: #1E4FA1;
    font-weight: 700;
    background: #eef3fb;
    padding: 2px 7px;
    border-radius: 3px;
    letter-spacing: 0.04em;
}

.tire-card-v3__name {
    font-size: 0.76rem;
    color: #666;
    line-height: 1.3;
    margin: 0 0 6px;
    min-height: 2em;
}

.tire-card-v3__stock {
    font-size: 0.65rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.tire-card-v3__stock.in-stock { color: #16a34a; }
.tire-card-v3__stock.low-stock { color: #ca8a04; }
.tire-card-v3__stock.no-stock { color: #dc2626; }

.tire-card-v3__stock::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    margin-right: 4px;
    vertical-align: middle;
}

.tire-card-v3__pricing {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    margin-bottom: 12px;
}

.tire-card-v3__was {
    font-size: 0.78rem;
    color: #1E4FA1;
    display: inline;
    margin-right: 4px;
    font-weight: 600;
}

.tire-card-v3__prices-row {
    display: flex;
    align-items: stretch;
    background: #f7f8fa;
    border-radius: 8px;
    overflow: hidden;
}

.tire-card-v3__price-unit,
.tire-card-v3__price-set {
    flex: 1;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tire-card-v3__price-divider {
    width: 1px;
    background: #e0e3e8;
}

.tire-card-v3__label {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: #888;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.tire-card-v3__current {
    font-size: 1rem;
    font-weight: 800;
    color: #111;
}

.tire-card-v3__set-value {
    font-size: 1rem;
    font-weight: 800;
    color: #111;
}

.tire-card-v3__overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 79, 161, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    border-radius: 0;
    z-index: 8;
}

.tire-card-v3__top:hover .tire-card-v3__overlay {
    opacity: 1;
}

.tire-card-v3__cart {
    width: 100%;
    background: #1E4FA1;
    color: #fff;
    border: none;
    padding: 9px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.tire-card-v3__cart:hover { background: #173d7e; }
.tire-card-v3__cart:disabled { background: #ccc; cursor: not-allowed; }

@media (max-width: 576px) {
    .tire-card-v3__img-link img { max-height: 120px; }
    .tire-card-v3__top { padding: 10px 10px 8px; }
    .tire-card-v3__current { font-size: 0.88rem; }
    .tire-card-v3__set-value { font-size: 0.88rem; }
    .tire-card-v3__info { padding: 0 10px 10px; }
    .tire-card-v3__cart { font-size: 0.72rem; padding: 7px; }
    .tire-card-v3__name { font-size: 0.68rem; min-height: 0; }
    .tire-card-v3__size { font-size: 0.88rem; }
    .tire-card-v3__cat { font-size: 0.5rem; padding: 1px 5px; }
    .tire-card-v3__label { font-size: 0.5rem; }
    .tire-card-v3__price-unit, .tire-card-v3__price-set { padding: 6px 8px; }
    .tire-card-v3__overlay { font-size: 0.75rem; }
}

@media (max-width: 576px) {
    .tire-card-v3__img-link img { max-height: 120px; }
    .tire-card-v3__current { font-size: 1.05rem; }
    .tire-card-v3__info { padding: 10px 12px 12px; }
    .tire-card-v3__cart { font-size: 0.75rem; padding: 8px; }
}

/* ── Tire Card V2 (unused, kept for rollback) ── */
.tire-card-v2 {
    background: #fff;
    border: 1px solid #eaedf2;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease;
    position: relative;
}

.tire-card-v2:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.tire-card-v2__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e53030;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 10;
    letter-spacing: 0.02em;
}

.tire-card-v2__brand {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 12px 14px 0;
}

.tire-card-v2__brand img {
    max-height: 100%;
    max-width: 90px;
    object-fit: contain;
}

.tire-card-v2__img {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px 12px;
    min-height: 170px;
}

.tire-card-v2__img img {
    max-height: 170px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.tire-card-v2:hover .tire-card-v2__img img {
    transform: scale(1.04);
}

.tire-card-v2__body {
    padding: 0 16px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tire-card-v2__cat {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: #888;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.tire-card-v2__size {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 2px 0 4px;
    line-height: 1.1;
}

.tire-card-v2__name {
    font-size: 0.78rem;
    color: #666;
    line-height: 1.3;
    margin: 0 0 8px;
    min-height: 2em;
}

.tire-card-v2__stock {
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.tire-card-v2__stock.in-stock { color: #16a34a; }
.tire-card-v2__stock.low-stock { color: #ca8a04; }
.tire-card-v2__stock.no-stock { color: #dc2626; }

.tire-card-v2__stock::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    margin-right: 5px;
    vertical-align: middle;
}

.tire-card-v2__price {
    margin-top: auto;
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

.tire-card-v2__price-old {
    font-size: 0.7rem;
    color: #aaa;
}

.tire-card-v2__price-now {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1E4FA1;
}

.tire-card-v2__price-set {
    font-size: 0.7rem;
    color: #888;
    width: 100%;
}

.tire-card-v2__actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 8px;
}

.tire-card-v2__details {
    text-align: center;
    font-size: 0.75rem;
    color: #1E4FA1;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.2s;
}

.tire-card-v2__details:hover {
    color: #0D2461;
    text-decoration: underline;
}

@media (max-width: 576px) {
    .tire-card-v2__img { min-height: 130px; padding: 4px 12px 8px; }
    .tire-card-v2__img img { max-height: 130px; }
    .tire-card-v2__body { padding: 0 10px 12px; }
    .tire-card-v2__size { font-size: 0.95rem; }
    .tire-card-v2__price-now { font-size: 1rem; }
}