/**
 * Cabo Reservations — public booking widget.
 *
 * Warm plaster ground, terracotta actions, Jost throughout — the same
 * surface as the rest of cabolondon.com. The theme loads Jost; the stack
 * below falls back to the system sans if it hasn't.
 *
 *   plaster  #F7F1E9   page / inset ground
 *   card     #FFFBF6   panels
 *   sand     #E2D5C3   rules
 *   ink      #2A201B   body copy      (11:1 on plaster)
 *   ink-soft #7C6B60   labels, 15px+  (4.7:1 on plaster)
 *   terracotta #C2492D actions, links (text on it is #FFF8F2)
 */

/* ── Widget Container ── */
.coco-res-widget {
    max-width: 560px;
    margin: 30px auto 0;
    padding: 4px;
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    color: #2A201B;
    background: #F7F1E9;
}

.coco-res-widget,
.coco-res-widget * {
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── Loading / Spinner ── */
.coco-res-loading {
    text-align: center;
    padding: 60px 20px;
}

.coco-res-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(194, 73, 45, 0.2);
    border-top-color: #C2492D;
    border-radius: 50%;
    margin: 0 auto 16px;
    animation: coco-res-spin 0.7s linear infinite;
}

@keyframes coco-res-spin {
    to { transform: rotate(360deg); }
}

.coco-res-loading p {
    font-size: 14px;
    color: #7C6B60;
    margin: 0;
}

/* ── Confirm Panel ── */
.coco-res-confirm-panel {
    background: #FFFBF6;
    border: 1px solid #EFE6DA;
    border-radius: 12px;
    padding: 32px 28px;
}

/* ── Experience Event Hero (single image or carousel) ── */
.coco-res-experience-hero {
    position: relative;
    margin: -32px -28px 24px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.coco-res-experience-hero > img {
    display: block;
    width: 100%;
    max-height: 260px;
    object-fit: cover;
}

.coco-res-experience-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    pointer-events: none;
    z-index: 2;
}

.coco-res-experience-hero-name {
    font-size: 18px;
    font-weight: 700;
    color: #2A201B;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Carousel within hero */
.coco-res-carousel-track {
    position: relative;
    width: 100%;
    max-height: 260px;
    aspect-ratio: 16 / 9;
    background: #FFFBF6;
}

.coco-res-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.coco-res-carousel-slide.active {
    opacity: 1;
}

.coco-res-carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coco-res-carousel-dots {
    position: absolute;
    bottom: 42px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 3;
}

.coco-res-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(42, 32, 27, 0.35);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.coco-res-carousel-dot.active {
    background: #C2492D;
    transform: scale(1.3);
}

.coco-res-carousel-dot:hover {
    background: rgba(42, 32, 27, 0.6);
}

.coco-res-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #2A201B;
    margin: 0 0 24px;
    text-align: center;
}

/* ── Summary Rows ── */
.coco-res-summary {
    background: #F7F1E9;
    border: 1px solid #EFE6DA;
    border-radius: 8px;
    padding: 4px 0;
    margin-bottom: 24px;
}

.coco-res-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #EFE6DA;
}

.coco-res-summary-row:last-child {
    border-bottom: none;
}

.coco-res-label {
    font-size: 13px;
    color: #7C6B60;
}

.coco-res-value {
    font-size: 15px;
    color: #2A201B;
    font-weight: 500;
}

/* ── Deposit Info ── */
.coco-res-deposit-info {
    background: linear-gradient(135deg, #F6E3DB 0%, #FFFBF6 100%);
    border: 1px solid #F6E3DB;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    text-align: center;
}

.coco-res-deposit-badge {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #C2492D;
    background: rgba(194, 73, 45, 0.1);
    border: 1px solid rgba(194, 73, 45, 0.2);
    border-radius: 4px;
    padding: 4px 10px;
    margin-bottom: 12px;
    font-weight: 700;
}

.coco-res-deposit-amount {
    font-size: 32px;
    font-weight: 700;
    color: #C2492D;
    margin-bottom: 4px;
}

.coco-res-deposit-breakdown {
    font-size: 13px;
    color: #7C6B60;
    margin: 0 0 12px;
}

.coco-res-deposit-terms {
    font-size: 13px;
    color: #7C6B60;
    line-height: 1.5;
    margin-bottom: 8px;
    padding: 12px;
    background: rgba(0,0,0,0.3);
    border-radius: 6px;
}

.coco-res-deposit-policy {
    font-size: 12px;
    color: #7C6B60;
    font-style: italic;
    margin: 0 0 8px;
}

.coco-res-deposit-note {
    font-size: 12px;
    color: #5C4F46;
    margin: 8px 0 0;
}

.coco-res-walkin-note {
    font-size: 13px;
    color: #7C6B60;
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(194, 73, 45, 0.15);
    line-height: 1.5;
}

/* ── Package Selection ── */
.coco-res-packages {
    margin-bottom: 24px;
}

.coco-res-packages-title {
    font-size: 16px;
    font-weight: 600;
    color: #C2492D;
    margin-bottom: 4px;
}

.coco-res-packages-subtitle {
    font-size: 13px;
    color: #7C6B60;
    margin-bottom: 14px;
}

.coco-res-packages-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.coco-res-pkg-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #E2D5C3;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.coco-res-pkg-card:hover {
    border-color: #E2D5C3;
    background: rgba(42, 32, 27, 0.02);
}

.coco-res-pkg-card.coco-res-pkg-selected {
    border-color: #C2492D;
    background: rgba(194, 73, 45, 0.08);
}

.coco-res-pkg-radio {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #E2D5C3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.coco-res-pkg-selected .coco-res-pkg-radio {
    border-color: #C2492D;
}

.coco-res-pkg-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
}

.coco-res-pkg-selected .coco-res-pkg-dot {
    background: #C2492D;
}

.coco-res-pkg-body {
    flex: 1;
}

.coco-res-pkg-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.coco-res-pkg-name {
    font-weight: 600;
    color: #2A201B;
    font-size: 14px;
}

.coco-res-pkg-pricing {
    font-size: 14px;
    color: #C2492D;
}

.coco-res-pkg-invenue {
    text-decoration: line-through;
    color: #7C6B60;
    font-size: 13px;
}

.coco-res-pkg-prepay {
    font-weight: 600;
}

.coco-res-pkg-savings {
    color: #46502F;
    font-size: 12px;
    font-weight: 500;
}

.coco-res-pkg-desc {
    color: #7C6B60;
    font-size: 13px;
    margin-top: 4px;
    line-height: 1.4;
}

/* ── No Deposit ── */
.coco-res-no-deposit {
    background: rgba(94, 107, 79, 0.05);
    border: 1px solid rgba(94, 107, 79, 0.15);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
    text-align: center;
}

.coco-res-no-deposit p {
    margin: 0;
    color: #46502F;
    font-size: 14px;
    font-weight: 500;
}

/* ── Optional Fields ── */
.coco-res-extras {
    margin-bottom: 24px;
}

.coco-res-field {
    margin-bottom: 16px;
}

.coco-res-field:last-child {
    margin-bottom: 0;
}

.coco-res-field label {
    display: block;
    font-size: 13px;
    color: #7C6B60;
    margin-bottom: 6px;
    font-weight: 500;
}

.coco-res-field textarea {
    width: 100%;
    background: #F7F1E9;
    border: 1px solid #EFE6DA;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #2A201B;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.coco-res-field textarea:focus {
    outline: none;
    border-color: #C2492D;
}

.coco-res-field textarea::placeholder {
    color: #4A3F38;
}

/* ── Error ── */
.coco-res-error {
    background: rgba(179, 48, 42, 0.1);
    border: 1px solid rgba(179, 48, 42, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #B3302A;
    text-align: center;
}

/* ── Buttons ── */
.coco-res-actions {
    text-align: center;
}

.coco-res-btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.coco-res-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.coco-res-btn-primary {
    background: linear-gradient(135deg, #C2492D 0%, #94331E 100%);
    color: #FFF8F2;
    width: 100%;
}

.coco-res-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #E08466 0%, #C2492D 100%);
    transform: translateY(-1px);
}

.coco-res-btn-outline {
    background: transparent;
    color: #C2492D;
    border: 1px solid #C2492D;
}

.coco-res-btn-outline:hover {
    background: rgba(194, 73, 45, 0.1);
}

/* ── Unavailable ── */
.coco-res-unavailable {
    text-align: center;
    padding: 40px 20px;
    background: #FFFBF6;
    border: 1px solid #EFE6DA;
    border-radius: 12px;
}

.coco-res-unavailable h3 {
    font-size: 20px;
    color: #2A201B;
    margin: 0 0 12px;
}

.coco-res-unavailable p {
    font-size: 14px;
    color: #7C6B60;
    margin: 0 0 24px;
}

/* ── Success ── */
.coco-res-success {
    text-align: center;
    padding: 40px 20px;
    background: #FFFBF6;
    border: 1px solid #EFE6DA;
    border-radius: 12px;
}

.coco-res-success-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 28px;
    color: #46502F;
    background: rgba(94, 107, 79, 0.1);
    border: 2px solid rgba(94, 107, 79, 0.3);
    border-radius: 50%;
    margin: 0 auto 20px;
}

.coco-res-success h3 {
    font-size: 24px;
    color: #2A201B;
    margin: 0 0 16px;
}

.coco-res-success-ref {
    font-size: 16px;
    color: #C2492D;
    margin-bottom: 8px;
}

.coco-res-success-ref strong {
    font-size: 20px;
    letter-spacing: 1px;
}

.coco-res-success p {
    font-size: 14px;
    color: #7C6B60;
    margin: 0 0 12px;
}

.coco-res-success-details {
    background: #F7F1E9;
    border: 1px solid #EFE6DA;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 20px 0;
}

.coco-res-success-details p {
    margin: 0;
    font-size: 14px;
    color: #5C4F46;
}

.coco-res-success-hint {
    font-size: 12px;
    color: #5C4F46;
    font-style: italic;
}

/* ── Group Menu Packages ── */
.coco-res-menu-section {
    margin-bottom: 24px;
}

.coco-res-menu-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.coco-res-menu-card {
    background: #F7F1E9;
    border: 1px solid #E2D5C3;
    border-radius: 10px;
    padding: 18px 20px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    position: relative;
}

.coco-res-menu-card:hover {
    border-color: #E2D5C3;
    background: rgba(42, 32, 27, 0.02);
}

.coco-res-menu-card.selected {
    border-color: #C2492D;
    background: rgba(194, 73, 45, 0.08);
    box-shadow: 0 0 0 1px #C2492D;
}

.coco-res-menu-card.selected::after {
    content: '\2713';
    position: absolute;
    top: 12px;
    right: 14px;
    width: 22px;
    height: 22px;
    background: #C2492D;
    color: #FFF8F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.coco-res-menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}

.coco-res-menu-card-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #2A201B;
}

.coco-res-menu-card-price {
    font-size: 18px;
    font-weight: 700;
    color: #C2492D;
    white-space: nowrap;
}

.coco-res-menu-card-price small {
    font-size: 12px;
    font-weight: 400;
    color: #7C6B60;
}

.coco-res-menu-card-desc {
    font-size: 13px;
    color: #7C6B60;
    line-height: 1.5;
    margin: 0 0 10px;
}

.coco-res-menu-card-total {
    font-size: 13px;
    color: #C2492D;
    font-weight: 500;
    padding-top: 10px;
    border-top: 1px solid rgba(194, 73, 45, 0.15);
}

/* ── Recommended badge ── */
.coco-res-menu-rec {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #C2492D;
    background: rgba(194, 73, 45, 0.12);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

/* ── Expandable "What's included" toggle ── */
.coco-res-menu-toggle {
    font-size: 12px;
    color: #C2492D;
    cursor: pointer;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(42, 32, 27, 0.06);
    user-select: none;
}

.coco-res-menu-toggle:hover {
    color: #94331E;
}

.coco-res-chevron {
    display: inline-block;
    transition: transform 0.2s;
    font-size: 10px;
    margin-left: 2px;
}

.coco-res-menu-toggle.open .coco-res-chevron {
    transform: rotate(180deg);
}

/* ── Expanded details ── */
.coco-res-menu-details {
    margin-top: 10px;
    padding: 10px 0 0;
    border-top: 1px solid rgba(42, 32, 27, 0.06);
}

.coco-res-menu-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 5px 0;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(42, 32, 27, 0.7);
}

.coco-res-menu-item + .coco-res-menu-item {
    border-top: 1px solid rgba(42, 32, 27, 0.04);
}

.coco-res-menu-item strong {
    font-size: 11px;
    color: rgba(42, 32, 27, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ── Countdown Timer ── */
.coco-res-countdown {
    background: rgba(194, 73, 45, 0.1);
    border: 1px solid rgba(194, 73, 45, 0.3);
    border-radius: 8px;
    padding: 10px 16px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 13px;
    color: #C2492D;
}

.coco-res-countdown strong {
    font-size: 18px;
    font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
    letter-spacing: 1px;
}

.coco-res-countdown--urgent {
    background: rgba(194, 73, 45, 0.1);
    border-color: rgba(194, 73, 45, 0.4);
    color: #B3302A;
    animation: coco-res-pulse 1s ease-in-out infinite;
}

@keyframes coco-res-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.coco-res-countdown-clock {
    margin-right: 6px;
    vertical-align: middle;
    flex-shrink: 0;
}

.coco-res-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* ── Guest Details Section ── */
.coco-res-guest-section {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(42, 32, 27, 0.08);
}

/* Social Login */
.coco-res-social-login {
    margin-bottom: 16px;
}

.coco-res-social-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.coco-res-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #E2D5C3;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.coco-res-social-btn--apple {
    background: #F7F1E9;
    color: #2A201B;
    border-color: #E2D5C3;
}

.coco-res-social-btn--apple:hover {
    background: #EFE6DA;
    border-color: #E2D5C3;
}

.coco-res-social-badge {
    background: rgba(94, 107, 79, 0.1);
    border: 1px solid rgba(94, 107, 79, 0.3);
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 13px;
    color: #46502F;
    margin-bottom: 12px;
}

.coco-res-social-check {
    margin-right: 6px;
}

.coco-res-social-divider {
    text-align: center;
    position: relative;
    margin: 12px 0;
    color: rgba(42, 32, 27, 0.35);
    font-size: 12px;
}

.coco-res-social-divider::before,
.coco-res-social-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 38%;
    height: 1px;
    background: rgba(42, 32, 27, 0.1);
}

.coco-res-social-divider::before { left: 0; }
.coco-res-social-divider::after { right: 0; }

/* Manual fields */
.coco-res-manual-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.coco-res-field-row {
    display: flex;
    gap: 10px;
}

.coco-res-field {
    flex: 1;
}

.coco-res-field label {
    display: block;
    font-size: 12px;
    color: rgba(42, 32, 27, 0.6);
    margin-bottom: 4px;
    font-weight: 500;
}

.coco-res-field label small {
    font-weight: 400;
    opacity: 0.6;
}

.coco-res-field input,
.coco-res-field select {
    width: 100%;
    padding: 10px 12px;
    background: #FFFBF6;
    border: 1px solid #E2D5C3;
    border-radius: 6px;
    color: #2A201B;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.coco-res-field input:focus,
.coco-res-field select:focus {
    border-color: #C2492D;
}

.coco-res-field input::placeholder {
    color: #4A3F38;
}

/* Birthday row */
.coco-res-birthday-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.coco-res-birthday-row input,
.coco-res-birthday-row input[type="text"],
.coco-res-birthday-row input[type="number"] {
    text-align: center;
    padding: 10px 6px;
    color: #2A201B !important;
    background: #FFFBF6 !important;
    border: 1px solid #E2D5C3 !important;
    border-radius: 6px;
    font-size: 14px;
    -moz-appearance: textfield;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.coco-res-birthday-row input::-webkit-inner-spin-button,
.coco-res-birthday-row input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    display: none;
}

.coco-res-birthday-row input::placeholder {
    color: #5C4F46 !important;
}

.coco-res-birthday-row input:focus {
    border-color: #C2492D !important;
    outline: none;
}

.coco-res-birthday-row input[placeholder="DD"],
.coco-res-birthday-row input[placeholder="MM"] {
    width: 52px;
}

.coco-res-birthday-row input[placeholder="YYYY"] {
    width: 74px;
}

.coco-res-birthday-sep {
    color: rgba(42, 32, 27, 0.3);
    font-size: 16px;
}

/* ── Accordion (Optional Fields) ── */
.coco-res-accordion {
    margin-bottom: 16px;
}

.coco-res-accordion-item {
    border-bottom: 1px solid rgba(42, 32, 27, 0.06);
}

.coco-res-accordion-trigger {
    width: 100%;
    background: none;
    border: none;
    color: rgba(42, 32, 27, 0.7);
    font-size: 13px;
    padding: 12px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.coco-res-accordion-trigger:hover {
    color: #C2492D;
}

.coco-res-accordion-trigger .coco-res-chevron {
    transition: transform 0.2s;
    font-size: 10px;
}

.coco-res-accordion-trigger.open .coco-res-chevron {
    transform: rotate(180deg);
}

.coco-res-accordion-panel {
    padding: 0 0 12px;
}

.coco-res-accordion-panel select {
    width: 100%;
    padding: 10px 12px;
    background: #FFFBF6;
    border: 1px solid #E2D5C3;
    border-radius: 6px;
    color: #2A201B;
    font-size: 14px;
}

/* ── Marketing Opt-in ── */
.coco-res-marketing {
    margin-bottom: 16px;
}

.coco-res-marketing-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(42, 32, 27, 0.6);
    cursor: pointer;
}

.coco-res-marketing-label input[type="checkbox"] {
    accent-color: #C2492D;
    width: 16px;
    height: 16px;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .coco-res-field-row {
        flex-direction: column;
    }

    .coco-res-social-buttons {
        flex-direction: column;
    }

    .coco-res-social-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ── Payment Type Toggle ── */
.coco-res-payment-type {
    margin-bottom: 24px;
}

.coco-res-pay-toggle {
    display: flex;
    gap: 0;
    border: 1px solid #E2D5C3;
    border-radius: 8px;
    overflow: hidden;
}

.coco-res-pay-opt {
    flex: 1;
    padding: 14px 12px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    text-align: center;
    background: #F7F1E9;
    color: #7C6B60;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.coco-res-pay-opt:first-child {
    border-right: 1px solid #E2D5C3;
}

.coco-res-pay-opt:hover:not(.active) {
    background: #EFE6DA;
    color: #5C4F46;
}

.coco-res-pay-opt.active {
    background: linear-gradient(135deg, #C2492D 0%, #94331E 100%);
    color: #FFF8F2;
}

.coco-res-pay-note {
    font-size: 12px;
    color: #7C6B60;
    text-align: center;
    margin: 10px 0 0;
    min-height: 16px;
}

/* ── Payment Method Badges ── */
.coco-res-pay-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.coco-res-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .coco-res-confirm-panel {
        padding: 24px 16px;
    }

    .coco-res-deposit-amount {
        font-size: 26px;
    }

    .coco-res-btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .coco-res-pay-opt {
        padding: 12px 8px;
        font-size: 12px;
    }

    .coco-res-menu-card-header {
        flex-direction: column;
        gap: 4px;
    }
}

/* ═══ Dine & Stay (in-flow upsell) ═══ */
.coco-res-dine-stay {
    margin: 16px 0;
    border: 1px solid #E2D5C3;
    border-radius: 10px;
    background: #EFE6DA;
    overflow: hidden;
}
.coco-res-dine-stay-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    cursor: pointer;
    user-select: none;
}
.coco-res-dine-stay-toggle:hover {
    background: rgba(194, 73, 45, 0.04);
}
.coco-res-dine-stay-toggle-body { flex: 1; }
.coco-res-dine-stay-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #C2492D;
    background: rgba(194, 73, 45, 0.12);
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}
.coco-res-dine-stay-title {
    font-size: 15px;
    font-weight: 600;
    color: #2A201B;
    margin-bottom: 2px;
}
.coco-res-dine-stay-subtitle {
    font-size: 12px;
    color: rgba(42, 32, 27, 0.6);
    line-height: 1.4;
}
.coco-res-dine-stay-toggle-action {
    color: #C2492D;
    font-size: 18px;
}
.coco-res-dine-stay-panel {
    border-top: 1px solid #E2D5C3;
    padding: 14px 18px;
}
.coco-res-dine-stay-loading,
.coco-res-dine-stay-empty {
    padding: 8px 0;
    font-size: 13px;
    color: rgba(42, 32, 27, 0.65);
}
.coco-res-dine-stay-tables {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.coco-res-dine-stay-table {
    border: 1px solid #E2D5C3;
    border-radius: 8px;
    padding: 12px 14px;
    cursor: pointer;
    background: #FFFBF6;
    transition: border-color 120ms ease, background 120ms ease;
}
.coco-res-dine-stay-table:hover {
    border-color: #C2492D;
    background: rgba(194, 73, 45, 0.04);
}
.coco-res-dine-stay-table-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}
.coco-res-dine-stay-table-name {
    font-size: 14px;
    font-weight: 600;
    color: #2A201B;
}
.coco-res-dine-stay-table-deposit {
    font-size: 12px;
    color: #C2492D;
    font-weight: 600;
    white-space: nowrap;
}
.coco-res-dine-stay-table-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: rgba(42, 32, 27, 0.6);
}
.coco-res-dine-stay-selected {
    border-top: 1px dashed #E2D5C3;
    padding-top: 12px;
    margin-top: 12px;
}
.coco-res-dine-stay-selected-label {
    font-size: 11px;
    letter-spacing: 1px;
    color: #C2492D;
    margin: 0 0 4px;
    font-weight: 700;
}
.coco-res-dine-stay-selected-name {
    font-size: 14px;
    font-weight: 600;
    color: #2A201B;
    margin: 0 0 2px;
}
.coco-res-dine-stay-selected-meta {
    font-size: 12px;
    color: rgba(42, 32, 27, 0.6);
    margin: 0 0 8px;
}
.coco-res-dine-stay-remove {
    background: none;
    border: 1px solid #E2D5C3;
    color: rgba(42, 32, 27, 0.7);
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 4px;
    cursor: pointer;
}
.coco-res-dine-stay-remove:hover {
    border-color: #C2492D;
    color: #B3302A;
}
