/* Prijsopgave — keuze afhalen/levering. */
.awcf-qd {
    margin: 6px 0 14px;
}
.awcf-qd .awcf-qd-heading {
    display: block;
    margin-bottom: 8px;
}
.awcf-qd .awcf-qd-req {
    color: #b00020;
}
.awcf-qd .awcf-qd-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    margin: 0 0 8px;
    border: 1px solid #d3d9e3;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.awcf-qd .awcf-qd-option:hover {
    border-color: #0e2b5d;
}
.awcf-qd .awcf-qd-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #0e2b5d;
    cursor: pointer;
}
/* Gekozen optie accentueren (:has met fallback op hover). */
.awcf-qd .awcf-qd-option:has(input:checked) {
    border-color: #0e2b5d;
    background: #f3f6fc;
}
.awcf-qd .awcf-qd-error {
    margin-top: 4px;
    color: #b00020;
    font-size: 14px;
}

/* ---------------------------------------------------------------------------
   Afhaaldatum: leesveld + kalender.
   jQuery UI zit in WordPress maar levert op de front-end geen stijl mee, dus
   de datepicker wordt hier zelf opgemaakt (alleen de klassen die hij gebruikt).
   --------------------------------------------------------------------------- */
.awcf-qd .awcf-qd-date-display {
    width: 100%;
    max-width: 260px;
    padding: 10px 12px;
    border: 1px solid #d3d9e3;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}
.awcf-qd .awcf-qd-date-display:focus {
    outline: none;
    border-color: #0e2b5d;
}

.ui-datepicker {
    width: 280px;
    padding: 10px;
    background: #fff;
    border: 1px solid #d3d9e3;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(14, 43, 93, 0.14);
    font-size: 14px;
    z-index: 9999 !important; /* boven Elementor-secties en sticky headers */
}
.ui-datepicker .ui-datepicker-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.ui-datepicker .ui-datepicker-title {
    font-weight: 600;
    color: #0e2b5d;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    position: absolute;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    text-indent: -9999px;
    overflow: hidden;
}
.ui-datepicker .ui-datepicker-prev {
    left: 0;
}
.ui-datepicker .ui-datepicker-next {
    right: 0;
}
.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover {
    background: #f3f6fc;
}
/* Pijltjes zelf tekenen; jQuery UI gebruikt hiervoor sprite-iconen. */
.ui-datepicker .ui-datepicker-prev::after,
.ui-datepicker .ui-datepicker-next::after {
    content: "";
    position: absolute;
    top: 9px;
    left: 10px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #0e2b5d;
    border-right: 2px solid #0e2b5d;
}
.ui-datepicker .ui-datepicker-prev::after {
    transform: rotate(-135deg);
}
.ui-datepicker .ui-datepicker-next::after {
    transform: rotate(45deg);
}
.ui-datepicker .ui-datepicker-prev.ui-state-disabled {
    opacity: 0.3;
    cursor: default;
}
.ui-datepicker table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}
.ui-datepicker th {
    padding: 6px 0;
    font-size: 12px;
    font-weight: 600;
    color: #6b7484;
    text-align: center;
    border: 0;
}
.ui-datepicker td {
    padding: 1px;
    border: 0;
    text-align: center;
}
.ui-datepicker td a,
.ui-datepicker td span {
    display: block;
    padding: 7px 0;
    border-radius: 6px;
    text-decoration: none;
    color: #1d2433;
}
.ui-datepicker td a:hover {
    background: #f3f6fc;
    color: #0e2b5d;
}
.ui-datepicker td a.ui-state-active {
    background: #0e2b5d;
    color: #fff;
}
.ui-datepicker td a.ui-state-highlight:not(.ui-state-active) {
    box-shadow: inset 0 0 0 1px #0e2b5d; /* vandaag */
}
/* Niet-kiesbaar: weekend, sluitingsdagen en alles vóór de vroegste dag. */
.ui-datepicker td.ui-datepicker-unselectable span,
.ui-datepicker td.ui-state-disabled span {
    color: #b8bec9;
    background: transparent;
    cursor: default;
}
.ui-datepicker td.awcf-qd-day-closed span {
    background: #fdf2f4;
    color: #c98a97;
    text-decoration: line-through;
}
