.luhnko-delivery-button {
    margin-left: 12px;
    margin-top: 16px;
    border: 1px solid rgba(107, 70, 39, 0.45);
    background: transparent;
    color: #633f20;
    padding: 11px 16px;
    font-size: 11px;
    letter-spacing: 0.12em;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 160ms ease,
        color 160ms ease,
        border-color 160ms ease;
}

.luhnko-delivery-button:hover {
    background: #6b4627;
    border-color: #6b4627;
    color: #ffffff;
}

.luhnko-delivery-overlay {
    position: fixed;
    inset: 0;
    z-index: 30000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(28, 18, 14, 0.72);
    backdrop-filter: blur(3px);
}

.luhnko-delivery-panel {
    position: relative;
    width: min(920px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: #fff8f6;
    color: #271812;
    padding: 34px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.luhnko-delivery-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: #50443c;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.luhnko-delivery-eyebrow,
.luhnko-delivery-label {
    margin: 0;
    color: #7d562b;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.luhnko-delivery-title {
    margin: 7px 44px 6px 0;
    font-family: "EB Garamond", serif;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 400;
}

.luhnko-delivery-intro {
    max-width: 700px;
    margin: 0;
    color: #50443c;
    font-size: 15px;
    line-height: 1.55;
}

.luhnko-delivery-reservation {
    margin: 9px 0 0;
    color: #82746b;
    font-size: 13px;
}

.luhnko-delivery-loading {
    margin-top: 28px;
    padding: 24px 0;
    color: #50443c;
    font-size: 14px;
}

.luhnko-delivery-body {
    margin-top: 28px;
}

.luhnko-delivery-autocomplete {
    margin-top: 8px;
    position: relative;
    z-index: 2;
}

.luhnko-delivery-autocomplete gmp-place-autocomplete {
    display: block;
    width: 100%;
}

.luhnko-delivery-helper {
    margin: 10px 0 18px;
    color: #6d6057;
    font-size: 13px;
    line-height: 1.5;
}

.luhnko-delivery-map {
    width: 100%;
    height: 420px;
    background: #eadfd9;
    border: 1px solid #d4c3b8;
    margin-bottom: 24px;
}

.luhnko-delivery-address {
    margin: 8px 0 2px;
    font-size: 16px;
    line-height: 1.45;
    color: #271812;
}

.luhnko-delivery-coordinates {
    margin: 0;
    color: #82746b;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.luhnko-delivery-status {
    min-height: 20px;
    margin: 10px 0 0;
    color: #6d6057;
    font-size: 13px;
}

.luhnko-delivery-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid #e2d3ca;
}

.luhnko-delivery-cancel,
.luhnko-delivery-save {
    min-height: 44px;
    padding: 0 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    cursor: pointer;
}

.luhnko-delivery-cancel {
    border: 1px solid #b8a79c;
    background: transparent;
    color: #50443c;
}

.luhnko-delivery-save {
    border: 1px solid #6b4627;
    background: #6b4627;
    color: #ffffff;
}

.luhnko-delivery-save:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .luhnko-delivery-button {
        display: block;
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }

    .luhnko-delivery-overlay {
        padding: 0;
        align-items: stretch;
    }

    .luhnko-delivery-panel {
        width: 100%;
        max-height: 100vh;
        padding: 26px 18px 24px;
    }

    .luhnko-delivery-title {
        font-size: 30px;
    }

    .luhnko-delivery-map {
        height: 360px;
    }

    .luhnko-delivery-actions {
        flex-direction: column-reverse;
    }

    .luhnko-delivery-cancel,
    .luhnko-delivery-save {
        width: 100%;
    }
}


/* ======================================================
   Seguimiento de reserva
   ====================================================== */

.luhnko-order-progress {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #e2d3ca;
}

.luhnko-order-progress-eyebrow {
    margin: 0 0 18px;
    color: #7d562b;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.luhnko-order-progress-list {
    display: flex;
    flex-direction: column;
}

.luhnko-order-progress-step {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    min-height: 62px;
    padding-bottom: 16px;
}

.luhnko-order-progress-step::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 29px;
    bottom: 0;
    width: 1px;
    background: #d4c3b8;
}

.luhnko-order-progress-step:last-child {
    min-height: auto;
    padding-bottom: 0;
}

.luhnko-order-progress-step:last-child::after {
    display: none;
}

.luhnko-order-progress-marker {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border: 1px solid #b9aaa1;
    border-radius: 50%;
    background: #fff8f6;
    color: #82746b;
    font-size: 12px;
    line-height: 1;
}

.luhnko-order-progress-step.is-complete
.luhnko-order-progress-marker {
    border-color: #6b4627;
    background: #6b4627;
    color: #ffffff;
}

.luhnko-order-progress-step.is-current
.luhnko-order-progress-marker {
    border: 2px solid #6b4627;
    color: #6b4627;
}

.luhnko-order-progress-content {
    padding-top: 2px;
}

.luhnko-order-progress-label {
    display: block;
    color: #271812;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.luhnko-order-progress-description {
    margin: 3px 0 0;
    color: #6d6057;
    font-size: 12px;
    line-height: 1.5;
}

.luhnko-order-progress-step.is-pending
.luhnko-order-progress-label,
.luhnko-order-progress-step.is-pending
.luhnko-order-progress-description {
    color: #9a8e86;
}

@media (max-width: 640px) {
    .luhnko-order-progress {
        margin-top: 20px;
    }

    .luhnko-order-progress-step {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 10px;
    }

    .luhnko-order-progress-marker {
        width: 27px;
        height: 27px;
    }

    .luhnko-order-progress-step::after {
        left: 13px;
        top: 27px;
    }
}
