/* ── cf-wc-product-list ─────────────────────────────────────────────────── */

.cf-wc-product-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: calc(100% - clamp(220px, 28vw, 322px) - clamp(32px, 6vw, 148px));
}

/* En-tête */
.cf-wc-product-list__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cf-wc-product-list__title {
    font-size: 3rem;
    font-weight: 700;
    color: #161a2d;
    line-height: 1.3;
    margin: 0;
}

.cf-wc-product-list__subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: #696b72;
    line-height: 1.3;
    margin: 0;
}

/* Liste */
.cf-wc-product-list__items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Carte produit */
.cf-wc-product-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #cfd0d3;
    border-radius: 16px;
    padding: 24px 32px;
}

.cf-wc-product-list__item-left {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    min-width: 0;
}

/* Miniature produit */
.cf-wc-product-list__item-image {
    width: 73.5px;
    height: 104px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 4px;
}

/* Infos produit */
.cf-wc-product-list__item-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.cf-wc-product-list__item-name {
    font-size: 1.5rem;
    font-weight: 500;
    color: #000;
    line-height: 1.3;
    margin: 0;
}

/* Badge prix */
.cf-wc-product-list__item-price {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #ebe2f3;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #161a2d;
    line-height: 1.5;
    white-space: nowrap;
    align-self: flex-start;
}

/* Normaliser le rendu du prix WooCommerce dans le badge */
.cf-wc-product-list__item-price .woocommerce-Price-amount,
.cf-wc-product-list__item-price bdi,
.cf-wc-product-list__item-price ins,
.cf-wc-product-list__item-price del {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    text-decoration: none;
}

/* Bouton réserver */
.cf-wc-product-list__item-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #fd1555;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 8px 24px;
    min-height: 40px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    line-height: 1.5;
    transition: opacity 0.2s ease;
}

.cf-wc-product-list__item-button:hover {
    opacity: 0.85;
}

.cf-wc-product-list__btn-icon {
    font-size: 1rem;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    vertical-align: middle;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .cf-wc-product-list__title   { font-size: 2rem; }
    .cf-wc-product-list__subtitle { font-size: 1.125rem; }

    .cf-wc-product-list {
        max-width: 100%;
    }

    .cf-wc-product-list__item {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        gap: 16px;
    }

    .cf-wc-product-list__item-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cf-wc-product-list__item-image {
        width: 56px;
        height: 80px;
    }

    .cf-wc-product-list__item-name {
        font-size: 1.125rem;
    }
}
