/* ============================================================
   In-Person Appointment Booking Card
   Placed inside the product details column, above add-to-cart.
   Colours: --main-color #6D5D4B  --secound-color #849683  --thred-color #4B5D4E
   ============================================================ */

/* ── Card ────────────────────────────────────────────────── */
.appointment-booking-card {
    background: #f9f6f2;
    border-radius: 12px;
    border: 1px solid #e0d5c8;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 10px rgba(109, 93, 75, 0.07);
    margin-bottom: 1.25rem;
}

/* ── Header row ──────────────────────────────────────────── */
.appointment-booking-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.appointment-booking-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex: 1;
    min-width: 0;
}

/* icon circle */
.appointment-booking-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secound-color, #849683), var(--thred-color, #4B5D4E));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(75, 93, 78, 0.22);
}

.appointment-booking-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--font-color, #473F35);
    margin: 0 0 0.15rem;
}

.appointment-booking-desc {
    font-size: 0.82rem;
    color: #7a6f65;
    margin: 0;
    line-height: 1.45;
}

.appointment-booking-desc strong {
    color: var(--thred-color, #4B5D4E);
}

/* ── Toggle button ───────────────────────────────────────── */
.btn-toggle-appointment {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.1rem;
    background: linear-gradient(135deg, var(--thred-color, #4B5D4E), var(--secound-color, #849683));
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Almarai', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-toggle-appointment:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.btn-toggle-appointment[aria-expanded="true"] {
    background: linear-gradient(135deg, #8d6e63, var(--main-color, #6D5D4B));
}

.price-tag {
    background: rgba(255, 255, 255, .22);
    border-radius: 4px;
    padding: 0 0.4rem;
    font-size: 0.78rem;
    margin-inline-start: 0.2rem;
}

/* ── Collapsible Bookly wrapper ──────────────────────────── */
.bookly-form-wrapper {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.3s ease;
}

.bookly-form-wrapper.is-open {
    max-height: 2000px;
    opacity: 1;
}

/* ── Hint shown when the service is not yet in the cart ──── */
.appointment-booking-hint {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 1rem 0 0;
    padding: 0.6rem 0.9rem;
    background: #eef1ee;
    border-inline-start: 3px solid var(--secound-color, #849683);
    border-radius: 6px;
    font-size: 0.82rem;
    color: #4f5f52;
    line-height: 1.5;
}

.appointment-booking-hint .fa-info-circle {
    color: var(--thred-color, #4B5D4E);
    margin-top: 2px;
    flex-shrink: 0;
}

/* ── Bookly form inner container ─────────────────────────── */
.bookly-form-inner {
    padding-top: 1rem;
}

/* ── Bookly form: font + radius only ─────────────────────────
   Colours are intentionally left to Bookly → Appearance. */
.bookly-form-inner .bookly-form {
    font-family: 'Almarai', sans-serif !important;
    direction: rtl;
    text-align: right;
}

.bookly-form-inner .bookly-btn,
.bookly-form-inner button[type="submit"],
.bookly-form-inner .bookly-js-next {
    font-family: 'Almarai', sans-serif !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .appointment-booking-card {
        padding: 1rem 1rem;
    }

    .appointment-booking-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-toggle-appointment {
        width: 100%;
        justify-content: center;
    }

    .appointment-booking-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 575.98px) {
    .appointment-booking-icon {
        width: 40px;
        height: 40px;
        font-size: 1.05rem;
    }
}


/* ── Calendar day-name font ──────────────────────────────────
   Day names are div[bookly:text-sm]; date numbers are span[bookly:text-sm].
   Target div only so numbers keep their original size. */
.bookly-js-slot-calendar div[class*="bookly:text-sm"] {
    font-size: 10px !important;
    line-height: 1.2 !important;
}

div#wcj_product_addons {
    display: none;
}

.fpf-fields-config-wrapper {
    display: none;
}

.wcpa_wrap>div>a {
    display: none !important;
}

