/* ============================================================
   Spa - Détail produit
   ============================================================ */

/* -- Bouton retour -- */
#back_to_product {
    margin-bottom: 1rem;
}

.gv-wellness-back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--lc-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

.gv-wellness-back-button::before {
    content: "←";
    font-size: 1rem;
}

.gv-wellness-back-button:hover {
    color: var(--lc-primary-hover);
    text-decoration: underline;
}

/* ============================================================
   Fiche produit (ModuleProductDetail)
   ============================================================ */

#product-detail {
    margin-bottom: 1.5rem;
}

.ast-product-detail {
    display: grid;
    grid-template-columns: 320px 1fr;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
}

.ast-product-detail .col-left,
.ast-product-detail .col-right {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 640px) {
    .ast-product-detail {
        grid-template-columns: 1fr;
    }
}

/* Carousel image */
.product-detail-img {
    background: #f5f5f5;
    height: 100%;
}

.product-detail-img .carousel,
.product-detail-img .carousel-inner {
    height: 100%;
}

.product-detail-img .carousel-item {
    aspect-ratio: 4 / 3;
}

.product-detail-img .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-img .carousel-control-prev,
.product-detail-img .carousel-control-next {
    align-items: flex-start;
    padding-top: 0.5rem;
    bottom: auto;
    height: auto;
}

/* Bloc texte */
.ast-product-detail .col-right {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-title-zone .product-label label {
    display: block;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--lc-primary);
    line-height: 1.25;
    cursor: text;
}

.product-detail-desc-zone {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-main-description {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
}

.product-detail-description {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
}

.product-main-description p,
.product-detail-description p {
    margin: 0 0 0.5rem;
}

.product-main-description p:last-child,
.product-detail-description p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   Wellness datepicker (ModuleWellnessDatePicker)
   ============================================================ */

#widget-product-detail-wellness-datepicker {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.select-book-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--lc-primary);
}

.select-book-title .icon-be {
    font-size: 1.2rem;
    color: var(--lc-primary);
}

.select-book-title .text-block {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lc-primary);
}

/* Nav mois */
.month-picker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.month-picker-content {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    text-transform: capitalize;
    min-width: 8rem;
    text-align: center;
}

.prev-month,
.next-month,
.prev-week,
.next-week {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #f5f5f5;
    color: var(--lc-primary);
    cursor: pointer;
    transition: background 0.2s ease;
    flex: 0 0 2rem;
}

.prev-month:hover,
.next-month:hover,
.prev-week:hover,
.next-week:hover {
    background: rgba(68, 112, 93, 0.12);
}

/* En-tête jours (avec flèches semaine) */
.header-slot-picker {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.header-cell {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.day-label {
    font-size: 0.7rem;
    color: #999;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.day-cell {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
}

/* Grille des créneaux — 7 colonnes alignées avec .header-cell */
.slot-content {
    display: flex;
    gap: 0.25rem;
    padding: 0 calc(2rem + 0.25rem);
}

.col-slot-picker {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.slot-cell,
.slot-cell-no-click {
    display: block;
    padding: 0.45rem 0.3rem;
    text-align: center;
    font-size: 0.85rem;
    border-radius: 3px;
}

.slot-cell {
    background: #fff;
    border: 1px solid #ddd;
    color: #444;
    cursor: pointer;
    transition: all 0.15s ease;
}

.slot-cell:hover {
    background: var(--lc-primary-hover) !important;
    border-color: var(--lc-primary);
    color: var(--lc-primary);
}

.slot-cell.selected-slot {
    background: var(--lc-primary);
    border-color: var(--lc-primary);
    color: #fff;
    font-weight: 600;
}

.slot-cell-no-click {
    background: transparent;
    border: 1px dashed #eee;
    color: transparent;
    cursor: default;
}

/* ============================================================
   Résumé + Ajouter au panier (ModuleWellnessSummary)
   ============================================================ */

#widget-product-detail-wellness-summary {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
}

.ast-wellness-summary .product-detail-booking {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.wellness-care-label-block {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--lc-primary);
}

.wellness-care-lbl {
    font-size: 0.9rem;
    color: #555;
}

.ast-wellness-summary {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem 1.5rem;
    align-items: center;
}

@media (max-width: 640px) {
    .ast-wellness-summary {
        grid-template-columns: 1fr;
    }
}

#widget-product-detail-wellness-summary .product-price-infos {
    margin: 0;
}

#widget-product-detail-wellness-summary .product-price-infos label {
    display: block;
    margin: 0;
    cursor: text;
}

#widget-product-detail-wellness-summary .product-catalog-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--lc-primary);
    white-space: nowrap;
}