/* selection : styles partagés du site. */
.commerce-selection-rail {
    width: min(100% - 2rem, var(--content));
    margin: 2.25rem auto 0;
    padding: 1rem clamp(.9rem, 2vw, 1.35rem);
    border: 1px solid rgba(212, 175, 55, .25);
    background: linear-gradient(145deg, rgba(212, 175, 55, .045), rgba(255, 255, 255, .018));
}
.commerce-selection-rail[hidden] {
    display: none;
}
.commerce-selection-rail__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .7rem;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.commerce-selection-rail__header > div {
    display: grid;
    gap: .1rem;
}
.commerce-selection-rail__kicker {
    color: var(--gold);
    font-size: .65rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.commerce-selection-rail__header strong {
    font-family: var(--title-font);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 400;
}
.commerce-selection-rail__toggle,
.commerce-selection-item__remove {
    min-height: 44px;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: .72rem;
    text-decoration: underline;
    text-underline-offset: .2rem;
}
.commerce-selection-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: .65rem;
    padding-block: .9rem;
}
.commerce-selection-item {
    display: grid;
    grid-template-columns: 4.4rem minmax(0, 1fr) auto;
    align-items: center;
    gap: .7rem;
    min-width: 0;
    padding: .5rem;
    border: 1px solid rgba(255, 255, 255, .07);
    background: rgba(0, 0, 0, .2);
}
.commerce-selection-item__thumb {
    display: block;
    width: 4.4rem;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.commerce-selection-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.commerce-selection-item__copy {
    display: grid;
    min-width: 0;
    gap: .1rem;
}
.commerce-selection-item__copy strong {
    overflow: hidden;
    color: #e8e8e8;
    font-family: var(--title-font);
    font-size: .88rem;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.commerce-selection-item__copy span {
    color: var(--muted);
    font-size: .65rem;
    letter-spacing: .045em;
}
.commerce-selection-item__remove {
    padding-inline: .45rem;
}
.commerce-selection-rail__action {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: .6rem;
    color: var(--gold);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .075em;
    text-transform: uppercase;
}
@media (max-width: 679px) {
.commerce-selection-rail {
        margin-top: 1.5rem;
    }
.commerce-selection-rail__header {
        align-items: flex-start;
    }
.commerce-selection-items {
        grid-template-columns: 1fr;
    }
.commerce-selection-item {
        grid-template-columns: 3.8rem minmax(0, 1fr) auto;
    }
.commerce-selection-item__thumb {
        width: 3.8rem;
    }
}
[dir="rtl"] .commerce-selection-rail__action > span[aria-hidden="true"] {
    transform: scaleX(-1);
}
