.racingoil-sale-mode {
    display: table; /* sur sa propre ligne, sous le prix, largeur du texte */
    margin: 10px 0 4px;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.racingoil-sale-mode--pallet {
    background: #1f2a44;
    color: #fff;
}
.racingoil-sale-mode--unit {
    background: #e3a51e;
    color: #1f2a44;
}
.racingoil-sale-mode-hint {
    margin: 2px 0 8px;
    font-size: 12px;
    color: #666;
}

/* Bloc CMS "racingoil-home-vente" (page d'accueil). Icones en CSS : le HTML du bloc reste simple a modifier. */
.ro-home-sales {
    margin: 40px 0;
    padding: 0;
}
.ro-home-sales h2 {
    margin: 0 0 30px;
    color: #1f2a44;
    font-size: 30px;
    font-weight: 600;
    text-align: center;
}
.ro-home-sales h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    margin: 12px auto 0;
    border-radius: 2px;
    background: #e3a51e;
}
.ro-home-sales__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ro-home-sales__item {
    display: flex;
    flex-direction: column;
    padding: 30px 26px 26px;
    background: #1f2a44;
    border: 2px solid #1f2a44;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(31, 42, 68, .18);
    color: #fff;
    transition: transform .2s, box-shadow .2s;
}
.ro-home-sales__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(31, 42, 68, .28);
}
.ro-home-sales__item::before {
    content: "";
    display: block;
    flex: none;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 50%;
    background-color: #e3a51e;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 28px;
}
.ro-home-sales__item--unit::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2a44' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8l-9-5-9 5v8l9 5 9-5z'/%3E%3Cpath d='M3 8l9 5 9-5M12 13v8'/%3E%3C/svg%3E");
}
.ro-home-sales__item--pallet::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2a44' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 4h14v12H1z'/%3E%3Cpath d='M15 8h4l3 3v5h-7z'/%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'/%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'/%3E%3C/svg%3E");
}
.ro-home-sales__item--pro::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3a51e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2M2 13h20'/%3E%3C/svg%3E");
}
/* Carte PRO en couleurs inversees : fond jaune, texte/rond/bouton bleu fonce. */
.ro-home-sales__item--pro {
    background: #e3a51e;
    border-color: #e3a51e;
    color: #1f2a44;
}
.ro-home-sales__item--pro::before {
    background-color: #1f2a44;
}
.ro-home-sales .ro-home-sales__item.ro-home-sales__item--pro p {
    color: #1f2a44;
}
.ro-home-sales .ro-home-sales__item--pro .ro-home-sales__btn,
.ro-home-sales .ro-home-sales__item--pro .ro-home-sales__btn:visited {
    background: #1f2a44;
    color: #fff;
}
.ro-home-sales .ro-home-sales__item--pro .ro-home-sales__btn:hover {
    background: #2d3b5e;
    color: #fff;
}
.ro-home-sales .ro-home-sales__item h3 {
    margin: 0 0 12px;
    color: inherit;
    font-size: 22px;
    font-weight: 600;
}
.ro-home-sales .ro-home-sales__item p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.65;
    color: inherit;
}
.ro-home-sales .ro-home-sales__item p {
    color: #d5d9e2;
}
.ro-home-sales__item p:last-child {
    margin-bottom: 0;
}
.ro-home-sales__item--pro p:last-child {
    margin-top: auto;
    padding-top: 8px;
}
.ro-home-sales .ro-home-sales__btn,
.ro-home-sales .ro-home-sales__btn:visited {
    display: inline-block;
    padding: 12px 22px;
    background: #e3a51e;
    color: #1f2a44;
    font-size: 15px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: background .2s;
}
.ro-home-sales .ro-home-sales__btn:hover {
    background: #f0b93a;
    color: #1f2a44;
    text-decoration: none;
}
.ro-home-sales .ro-home-sales__pay {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding-top: 30px;
    font-size: 15px;
    color: #4a5163;
}
.ro-home-sales__pay::before {
    content: "";
    flex: none;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3a51e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 767px) {
    .ro-home-sales h2 {
        font-size: 24px;
    }
    .ro-home-sales__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
