/* Pastilles / bénéfices */
.yat-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem .9rem;
}

.yat-benefits__item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 20px;
    border: 1px solid #E4E4E4;
}

.yat-benefits__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.yat-benefits__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.yat-benefits__text {
    font-weight: 500;
}

/* Offres promotionnelles */
.yat-promo-offers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.yat-promo-offers__card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease;
}

.yat-promo-offers__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
    text-decoration: none;
}

.yat-promo-offers__visual {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f4f4f4;
}

.yat-promo-offers__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.yat-promo-offers__content {
    padding: .9rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.yat-promo-offers__badge {
    align-self: flex-start;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: .2rem .55rem;
    border-radius: 999px;
    background: #111;
    color: #fff;
}

.yat-promo-offers__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Grille de modèles */
.yat-model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: .9rem;
}

.yat-model-grid__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    text-align: center;
}

.yat-model-grid__visual {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #f4f4f4;
}

.yat-model-grid__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.yat-model-grid__label {
    font-size: .85rem;
    font-weight: 500;
    color: #222;
}

/* Catégories de niveau — blocs empilés verticalement (placeholder, à enrichir) */
.yat-level-categories {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.yat-level-categories__item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.yat-level-categories__heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.yat-level-categories__heading:hover {
    text-decoration: none;
}

.yat-level-categories__visual {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f4f4f4;
}

.yat-level-categories__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.yat-level-categories__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.yat-level-categories__label {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
}

/* Slider horizontal des modèles référencés par la catégorie de niveau */
.yat-level-categories__slider {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    padding: .25rem .25rem .5rem;
    margin: 0 -.25rem -.25rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.yat-level-categories__slider::-webkit-scrollbar {
    height: 6px;
}

.yat-level-categories__slider::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.yat-level-categories__slide {
    flex: 0 0 auto;
    width: 140px;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    scroll-snap-align: start;
}

.yat-level-categories__slide:hover {
    text-decoration: none;
}

.yat-level-categories__slide-visual {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #f4f4f4;
}

.yat-level-categories__slide-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .2s ease;
}

.yat-level-categories__slide:hover .yat-level-categories__slide-visual img {
    transform: scale(1.03);
}

.yat-level-categories__slide-label {
    font-size: .82rem;
    font-weight: 500;
    color: #333;
    line-height: 1.25;
}

/* Slider horizontal des produits associés à la catégorie de niveau */
.yat-level-categories__products {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    padding: .25rem .25rem .5rem;
    margin: 0 -.25rem -.25rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.yat-level-categories__products::-webkit-scrollbar {
    height: 6px;
}

.yat-level-categories__products::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.yat-level-categories__product {
    flex: 0 0 auto;
    width: 160px;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    text-decoration: none;
    color: inherit;
    scroll-snap-align: start;
}

.yat-level-categories__product:hover {
    text-decoration: none;
}

.yat-level-categories__product-visual {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #f4f4f4;
}

.yat-level-categories__product-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .2s ease;
}

.yat-level-categories__product:hover .yat-level-categories__product-visual img {
    transform: scale(1.03);
}

.yat-level-categories__product-name {
    font-size: .85rem;
    font-weight: 500;
    color: #222;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.yat-level-categories__product-price {
    font-size: .9rem;
    font-weight: 700;
    color: #111;
}
