/*
 Theme Name:   Astra Child
 Theme URI:    https://wpastra.com/
 Description: Astra Child Theme
 Author:       Mohamed Ramadan
 Author URI:   https://yourwebsite.com
 Template:     astra
 Version:      1.0.0
 Text Domain:  astra-child
*/
.drp-wrap {
    --panel: #ffffff;
    --border: #e7e7e7;
    --muted: #8c8c8c;
    --accent: #0f5a5f;
    --shadow: 0 18px 50px rgba(0,0,0,.18);
    --radius: 14px;
    --cell: 36px;
    --gap: 18px;
    font-family: 'Montserrat';
}

.drp-booking-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
    border-radius: 12px;
    width: max-content;
}

.drp-pill {
    display: flex;
    align-items: center;
    background: rgb(255 255 255 / 80%);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0px 3.44px 3.44px 0px #00000040;
    width: 50%;
    height: 64px;
    flex-direction: row;
    justify-content: center;
}

.drp-pill button, .drp-guests {
    all: unset;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    min-width: 150px;
    cursor: pointer;
    font-size: 14px;
    color: #2a2a2a;
    user-select: none;
}

.drp-datePill button + button {
    border-left: 1px solid #000000;
}

.drp-label {
    color: #4c4c4c;
    font-weight: 600;
}

.drp-value {
    color: #7b7b7b;
    font-weight: 500;
}

.drp-guests {
    min-width: 170px;
    justify-content: space-between;
}

.drp-guest-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #333;
}

.drp-gbtn {
    all: unset;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid #dedede;
    display: grid;
    place-items: center;
    background: #fff;
    cursor: pointer;
    user-select: none;
    text-align: center;
    line-height: 28px;
}

.drp-gbtn:active {
    transform: scale(.98);
}

.drp-bar-anchor {
    position: relative;
    display: inline-block;
}

.drp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    display: none;
    z-index: 99998;
}

.drp-overlay.show {
    display: block;
}

.drp-picker {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: min(860px, calc(100vw - 32px));
    background: var(--panel);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,.06);
    padding: 18px 18px 14px;
    display: none;
    z-index: 99999;
}

.drp-picker.show {
    display: block;
}

.drp-picker-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.drp-navbtn {
    all: unset;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    user-select: none;
    text-align: center;
    line-height: 36px;
}

.drp-navbtn:active {
    transform: scale(.98);
}

.drp-months {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
}

.drp-month {
    padding: 6px 6px 10px;
}

.drp-month-title {
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 10px;
}

.drp-dow {
    display: grid;
    grid-template-columns: repeat(7, var(--cell));
    justify-content: center;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 8px;
    user-select: none;
}

.drp-grid {
    display: grid;
    grid-template-columns: repeat(7, var(--cell));
    justify-content: center;
    gap: 6px;
}

.drp-day {
    all: unset;
    width: var(--cell);
    height: var(--cell);
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    color: #1d1d1d;
    background: transparent;
    text-align: center;
    line-height: var(--cell);
}

.drp-day.muted {
    color: #c0c0c0;
    cursor: default;
}

.drp-day:hover:not(.muted) {
    border-color: #dfe7e7;
    background: #f6fbfb;
}

.drp-day.in-range {
    background: rgba(15,90,95,.18);
    border-color: transparent;
    border-radius: 10px;
    color: #08383b;
}

.drp-day.range-start, .drp-day.range-end {
    background: var(--accent);
    color: #fff;
    border-color: transparent;
}

.drp-picker-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.drp-hint {
    color: var(--muted);
    font-size: 13px;
}

.drp-actions {
    display: flex;
    gap: 10px;
}

.drp-btn {
    all: unset;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    padding: 10px 12px;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    font-size: 13px;
}

.drp-btn:active {
    transform: scale(.99);
}

.drp-primary {
    background: var(--accent);
    color: #fff;
    border-color: transparent;
}
.drp-pill button {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 0;
    align-items: center;
    line-height: 1.3;
    color: #000000;
    letter-spacing: -0.02em;
    font-weight: 400;
    font-size: 18px;
}

@media (max-width: 760px) {
    .drp-months {
        grid-template-columns:1fr;
    }

    .drp-picker {
        width: min(420px, calc(100vw - 32px));
    }
}
