/* ============================================
   Widget : Entête d'une fiche produit
   ============================================ */

.cf-wc-product {
    display: flex;
    gap: clamp(32px, 6vw, 148px);
    align-items: flex-start;
}

/* ---- Colonne info (gauche) ---- */
.cf-wc-product__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.cf-wc-product__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cf-wc-product__title {
    font-size: 3rem;       /* 48px */
    font-weight: 700;
    line-height: 1.3;
    color: #161a2d;
    margin: 0;
}

.cf-wc-product__description {
    font-size: 1.25rem;    /* 20px */
    font-weight: 400;
    color: #696b72;
    line-height: 1.3;
    margin: 0;
}

/* ---- Bloc de méta-info ---- */
.cf-wc-product__meta {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cf-wc-product__meta-item {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 1.25rem;    /* 20px */
    font-weight: 500;
    color: #161a2d;
}

.cf-wc-product__meta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #696b72;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.cf-wc-product__meta-text {
    line-height: 1.3;
    white-space: nowrap;
}

/* Date : rouge pour la date, gris pour "de"/"à", sombre pour les heures */
.cf-wc-product__date-highlight {
    color: #e94560;
    font-weight: 500;
}

.cf-wc-product__meta-connector {
    color: #8f9299;
    font-weight: 500;
}

.cf-wc-product__time {
    color: #161a2d;
    font-weight: 500;
}

/* Séparateurs entre les lignes de méta */
.cf-wc-product__divider {
    width: 100%;
    height: 1px;
    background-color: #e5e7eb;
}

/* ---- Image (droite) ---- */
.cf-wc-product__image-wrapper {
    flex-shrink: 0;
    width: clamp(220px, 28vw, 322px);
}

.cf-wc-product__image {
    width: 100%;
    aspect-ratio: 322 / 456;
    border-radius: 20px !important;
    object-fit: cover;
    display: block;
}

/* ============================================
   Responsive — Tablette
   ============================================ */
@media (max-width: 1024px) {
    .cf-wc-product__title {
        font-size: 2.25rem;
    }

    .cf-wc-product__description,
    .cf-wc-product__meta-item {
        font-size: 1.125rem;
    }
}

/* ============================================
   Responsive — Mobile
   ============================================ */
@media (max-width: 767px) {
    .cf-wc-product {
        flex-direction: column-reverse;
        gap: 24px;
    }

    .cf-wc-product__info {
        gap: 32px;
    }

    .cf-wc-product__image-wrapper {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .cf-wc-product__title {
        font-size: 1.75rem;
    }

    .cf-wc-product__description,
    .cf-wc-product__meta-item {
        font-size: 1rem;
    }

    .cf-wc-product__meta-text {
        white-space: normal;
    }
}
