.asc-booking-form {
    --asc-radius: 10px;
    --asc-radius-sm: 7px;
    --asc-border: rgba(52, 49, 44, 0.16);
    --asc-border-input: rgba(156, 123, 69, 0.35);
    --asc-ring: 0 0 0 3px rgba(156, 123, 69, 0.18);
    margin: 2rem 0;
    padding: 1.9rem 1.9rem 2rem;
    border: 1px solid var(--asc-border);
    border-radius: var(--asc-radius);
    background: rgba(237, 227, 211, 0.35);
    font-family: inherit;
}
.asc-booking-form__title {
    margin: 0 0 1.5rem;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: 1.4rem;
    letter-spacing: -0.01em;
    color: var(--coal, #34312c);
}
.asc-booking-form__field {
    margin-bottom: 1.45rem;
}
.asc-booking-form__field > label {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--soft, #6b655b);
}

/* Inputs, selects, textarea ---------------------------------------------- */
.asc-booking-form select,
.asc-booking-form input[type="file"],
.asc-booking-form input[type="number"],
.asc-booking-form input[type="text"],
.asc-booking-form textarea {
    width: 100%;
    max-width: 420px;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--asc-border-input);
    border-radius: var(--asc-radius);
    background: #fffdf9;
    font: inherit;
    font-size: 0.95rem;
    color: var(--coal, #34312c);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.asc-booking-form select::placeholder,
.asc-booking-form input[type="text"]::placeholder,
.asc-booking-form textarea::placeholder {
    color: #a39a8c;
}
.asc-booking-form select:hover,
.asc-booking-form input[type="text"]:hover,
.asc-booking-form input[type="number"]:hover,
.asc-booking-form textarea:hover {
    border-color: var(--gold, #9c7b45);
}
.asc-booking-form select:focus-visible,
.asc-booking-form input[type="text"]:focus-visible,
.asc-booking-form input[type="number"]:focus-visible,
.asc-booking-form textarea:focus-visible,
.asc-booking-form input[type="file"]:focus-visible {
    outline: none;
    border-color: var(--gold, #9c7b45);
    box-shadow: var(--asc-ring);
    background: #fff;
}
.asc-booking-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%239c7b45' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.95rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}
.asc-booking-form select:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    background-color: rgba(52, 49, 44, 0.04);
}
.asc-booking-form textarea {
    max-width: 100%;
    resize: vertical;
    min-height: 6rem;
    line-height: 1.55;
}

/* File input --------------------------------------------------------------*/
.asc-booking-form input[type="file"] {
    padding: 0.55rem 0.7rem;
    cursor: pointer;
    font-size: 0.88rem;
}
.asc-booking-form input[type="file"]::file-selector-button {
    margin-right: 0.85rem;
    padding: 0.55rem 1.05rem;
    border: none;
    border-radius: var(--asc-radius-sm);
    background: var(--coal, #34312c);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background .15s ease;
}
.asc-booking-form input[type="file"]::file-selector-button:hover {
    background: var(--gold, #9c7b45);
}

/* Native accent color for radios/checkboxes that stay native --------------*/
.asc-booking-form input[type="radio"],
.asc-booking-form input[type="checkbox"] {
    accent-color: var(--gold, #9c7b45);
}

/* Si/No pill-style radio rows ---------------------------------------------*/
.asc-booking-radio-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.asc-booking-radio-row label {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.3rem;
    border: 1px solid var(--asc-border-input);
    border-radius: 999px;
    background: #fffdf9;
    font-size: 0.9rem;
    color: var(--coal, #34312c);
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.asc-booking-radio-row input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
}
.asc-booking-radio-row label:has(input:checked) {
    border-color: var(--gold, #9c7b45);
    background: rgba(156, 123, 69, 0.12);
    box-shadow: 0 0 0 1px var(--gold, #9c7b45);
    font-weight: 500;
}
.asc-booking-radio-row label:has(input:focus-visible) {
    outline: 2px solid var(--gold, #9c7b45);
    outline-offset: 2px;
}
.asc-booking-radio-row label:hover {
    border-color: var(--gold, #9c7b45);
}

.asc-booking-weeks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 0.75rem;
}
.asc-booking-weeks__loading {
    color: var(--soft, #6b655b);
    font-size: 0.9rem;
}
.asc-booking-week {
    position: relative;
    display: block;
    padding: 0.9rem 0.9rem 0.8rem;
    border: 1px solid rgba(52, 49, 44, 0.18);
    border-radius: var(--asc-radius);
    background: #fffdf9;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.asc-booking-week:hover {
    border-color: rgba(156, 123, 69, 0.55);
}
.asc-booking-week:has(input:checked) {
    border-color: var(--gold, #9c7b45);
    background: rgba(156, 123, 69, 0.08);
    box-shadow: 0 0 0 1px var(--gold, #9c7b45);
}
.asc-booking-week:has(input:focus-visible) {
    outline: 2px solid var(--gold, #9c7b45);
    outline-offset: 2px;
}
.asc-booking-week--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.asc-booking-week--disabled:hover {
    border-color: rgba(52, 49, 44, 0.18);
}
.asc-booking-week__radio {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    margin: 0;
    width: auto;
    max-width: none;
}
.asc-booking-week__month {
    display: block;
    margin: 0 0 0.55rem;
    font-family: "Playfair Display", serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--gold, #9c7b45);
}
.asc-booking-week__days {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 0.65rem;
}
.asc-booking-week__day {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.3rem 0 0.35rem;
    border-radius: 6px;
    background: rgba(52, 49, 44, 0.05);
}
.asc-booking-week:has(input:checked) .asc-booking-week__day {
    background: rgba(156, 123, 69, 0.16);
}
.asc-booking-week__day-name {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--soft, #6b655b);
}
.asc-booking-week__day-num {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--coal, #34312c);
}
.asc-booking-week__footer {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.asc-booking-week__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
}
.asc-booking-week__dot.is-ok { background: #6f8f5c; }
.asc-booking-week__dot.is-low { background: var(--gold, #9c7b45); }
.asc-booking-week__dot.is-full { background: #b1544a; }
.asc-booking-week__dot.is-closed { background: #9a948a; }
.asc-booking-week__status-text {
    font-size: 0.82rem;
    color: var(--soft, #6b655b);
}
.asc-booking-form__hint {
    margin: 0.5rem 0 0;
    font-size: 0.82rem;
    color: var(--soft, #6b655b);
    line-height: 1.5;
}
.asc-booking-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.8rem;
}
.asc-booking-photos__item {
    position: relative;
    width: 78px;
    height: 78px;
}
.asc-booking-photos__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--asc-radius-sm);
    border: 1px solid rgba(52, 49, 44, 0.2);
}
.asc-booking-photos__remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: var(--coal, #34312c);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease;
}
.asc-booking-photos__remove:hover {
    background: var(--gold, #9c7b45);
}
.asc-booking-form__notice {
    margin: 1rem 0 0;
    padding: 0.75rem 0.95rem;
    border-radius: var(--asc-radius-sm);
    background: #fdecea;
    border: 1px solid #f5c2c0;
    color: #8a2f2a;
    font-size: 0.88rem;
}

/* Chip-style groups (espacios / objetivo) ----------------------------------*/
.asc-booking-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.asc-booking-checkbox-group .asc-booking-checkbox {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.1rem;
    border: 1px solid var(--asc-border-input);
    border-radius: 999px;
    background: #fffdf9;
    font-size: 0.88rem;
    color: var(--coal, #34312c);
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.asc-booking-checkbox-group .asc-booking-checkbox input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
}
.asc-booking-checkbox-group .asc-booking-checkbox:has(input:checked) {
    border-color: var(--gold, #9c7b45);
    background: rgba(156, 123, 69, 0.12);
    box-shadow: 0 0 0 1px var(--gold, #9c7b45);
    font-weight: 500;
}
.asc-booking-checkbox-group .asc-booking-checkbox:has(input:focus-visible) {
    outline: 2px solid var(--gold, #9c7b45);
    outline-offset: 2px;
}
.asc-booking-checkbox-group .asc-booking-checkbox:hover {
    border-color: var(--gold, #9c7b45);
}

/* Standalone checkbox rows (guia de fotos, terminos) -----------------------*/
.asc-booking-checkbox {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.92rem;
    cursor: pointer;
    color: var(--coal, #34312c);
}
.asc-booking-checkbox input {
    width: auto;
    max-width: none;
}

.asc-booking-form__terms {
    padding-top: 0.6rem;
    border-top: 1px solid rgba(52, 49, 44, 0.14);
}
.asc-booking-form__terms .asc-booking-checkbox {
    font-size: 0.88rem;
    align-items: flex-start;
}
.asc-booking-form__terms input {
    margin-top: 0.2rem;
}
.asc-booking-form__terms a,
.asc-photo-guide-trigger {
    color: var(--gold, #9c7b45);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.asc-photo-guide-trigger {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    font-size: inherit;
    cursor: pointer;
}
.asc-photo-guide-trigger:hover {
    color: var(--coal, #34312c);
}
.asc-photo-guide-trigger--inline {
    font-size: inherit;
}

/* Guia de fotos: modal nativo <dialog> --------------------------------------*/
.asc-photo-guide-dialog {
    max-width: 460px;
    width: calc(100% - 2.5rem);
    padding: 0;
    border: none;
    border-radius: 14px;
    background: #fffdf9;
    color: var(--coal, #34312c);
    box-shadow: 0 20px 48px rgba(52, 49, 44, 0.28);
}
.asc-photo-guide-dialog::backdrop {
    background: rgba(52, 49, 44, 0.55);
}
.asc-photo-guide-dialog__inner {
    position: relative;
    padding: 1.9rem 1.8rem 1.7rem;
}
.asc-photo-guide-dialog__close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(52, 49, 44, 0.06);
    color: var(--coal, #34312c);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease;
}
.asc-photo-guide-dialog__close:hover {
    background: rgba(156, 123, 69, 0.18);
}
.asc-photo-guide-dialog__title {
    margin: 0 1.8rem 0.8rem 0;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
}
.asc-photo-guide-dialog__intro {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--soft, #6b655b);
}
.asc-photo-guide-dialog__list {
    margin: 0 0 1.4rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
}
.asc-photo-guide-dialog__list li {
    position: relative;
    padding-left: 1.3rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--coal, #34312c);
}
.asc-photo-guide-dialog__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold, #9c7b45);
}
.asc-photo-guide-dialog__btn {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--asc-radius);
    background: var(--coal, #34312c);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background .15s ease;
}
.asc-photo-guide-dialog__btn:hover {
    background: var(--gold, #9c7b45);
}

.asc-booking-login-notice {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(156, 123, 69, 0.4);
    border-radius: var(--asc-radius, 10px);
    background: rgba(156, 123, 69, 0.08);
    font-size: 0.95rem;
}
.asc-booking-login-notice p {
    margin: 0 0 0.9rem;
}
.asc-booking-login-notice p:last-child {
    margin-bottom: 0;
}
.asc-booking-login-notice__btn {
    display: inline-block;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    background: var(--coal, #34312c);
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: background .15s ease;
}
.asc-booking-login-notice__btn:hover {
    background: var(--gold, #9c7b45);
}

/* Terminos y condiciones: modal con PDF embebido y descarga ---------------*/
.asc-terms-dialog {
    max-width: 640px;
}
.asc-terms-dialog__embed {
    margin: 0 0 1.1rem;
    border: 1px solid rgba(52, 49, 44, 0.16);
    border-radius: var(--asc-radius-sm, 7px);
    overflow: hidden;
    background: #fff;
}
.asc-terms-dialog__embed object {
    width: 100%;
    height: min(60vh, 420px);
    display: block;
}
.asc-terms-dialog__fallback {
    margin: 0;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--soft, #6b655b);
}
.asc-terms-dialog__fallback a {
    color: var(--gold, #9c7b45);
    text-decoration: underline;
}
.asc-terms-dialog__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.asc-terms-dialog__btn {
    flex: 1 1 auto;
    text-align: center;
    padding: 0.7rem 1rem;
    border-radius: var(--asc-radius, 10px);
    background: var(--coal, #34312c);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background .15s ease;
}
.asc-terms-dialog__btn:hover {
    background: var(--gold, #9c7b45);
}
.asc-terms-dialog__btn--ghost {
    background: transparent;
    color: var(--coal, #34312c);
    border: 1px solid rgba(52, 49, 44, 0.3);
}
.asc-terms-dialog__btn--ghost:hover {
    background: rgba(52, 49, 44, 0.06);
    color: var(--coal, #34312c);
}
@media (max-width: 480px) {
    .asc-terms-dialog__embed object {
        height: 50vh;
    }
}
