/**
 * Coco Reservations — Booking Widget Styles
 * Dark theme matching the reserve page.
 */

/* ── Widget Container ── */
.coco-res-widget {
    max-width: 560px;
    margin: 30px auto 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #e5e5e5;
}

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

.coco-res-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(201, 169, 110, 0.2);
    border-top-color: #c9a96e;
    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: #888;
    margin: 0;
}

/* ── Confirm Panel ── */
.coco-res-confirm-panel {
    background: #111;
    border: 1px solid #222;
    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: #fff;
    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: #111;
}

.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(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

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

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

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

/* ── Summary Rows ── */
.coco-res-summary {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    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 #1a1a1a;
}

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

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

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

/* ── Deposit Info ── */
.coco-res-deposit-info {
    background: linear-gradient(135deg, #1a1208 0%, #111 100%);
    border: 1px solid #2a1f0a;
    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: #c9a96e;
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid rgba(201, 169, 110, 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: #c9a96e;
    margin-bottom: 4px;
}

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

.coco-res-deposit-terms {
    font-size: 13px;
    color: #aaa;
    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: #999;
    font-style: italic;
    margin: 0 0 8px;
}

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

.coco-res-walkin-note {
    font-size: 13px;
    color: #aaa;
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(201, 169, 110, 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: #c9a96e;
    margin-bottom: 4px;
}

.coco-res-packages-subtitle {
    font-size: 13px;
    color: #999;
    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 #333;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.coco-res-pkg-card:hover {
    border-color: #555;
    background: rgba(255, 255, 255, 0.02);
}

.coco-res-pkg-card.coco-res-pkg-selected {
    border-color: #c9a96e;
    background: rgba(201, 169, 110, 0.08);
}

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

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

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

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

.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: #fff;
    font-size: 14px;
}

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

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

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

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

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

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

.coco-res-no-deposit p {
    margin: 0;
    color: #22c55e;
    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: #888;
    margin-bottom: 6px;
    font-weight: 500;
}

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

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

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

/* ── Error ── */
.coco-res-error {
    background: rgba(214, 54, 56, 0.1);
    border: 1px solid rgba(214, 54, 56, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #f87171;
    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, #c9a96e 0%, #b8944c 100%);
    color: #000;
    width: 100%;
}

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

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

.coco-res-btn-outline:hover {
    background: rgba(201, 169, 110, 0.1);
}

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

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

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

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

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

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

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

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

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

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

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

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

/* Partner-discovery CTA shown beneath the confirmation hint. Visually
   subordinate to the main success message — small, gold-tinted, doesn't
   compete with the booking reference. */
.coco-res-partner-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 12px 14px;
    border: 1px solid rgba(201, 169, 110, 0.35);
    background: rgba(201, 169, 110, 0.06);
    border-radius: 8px;
    text-align: left;
}
.coco-res-partner-cta__icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.18);
    color: #c9a96e;
    display: flex;
    align-items: center;
    justify-content: center;
}
.coco-res-partner-cta__copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.coco-res-partner-cta__copy strong {
    font-size: 13px;
    font-weight: 600;
    color: #222;
}
.coco-res-partner-cta__copy span {
    font-size: 12px;
    color: #666;
    line-height: 1.45;
}
.coco-res-partner-cta__btn {
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c9a96e;
    border: 1px solid #c9a96e;
    border-radius: 999px;
    padding: 8px 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}
.coco-res-partner-cta__btn:hover {
    background: #c9a96e;
    color: #fff;
}
@media (max-width: 480px) {
    .coco-res-partner-cta {
        flex-wrap: wrap;
    }
    .coco-res-partner-cta__btn {
        flex: 1 0 100%;
        text-align: center;
    }
}

/* ── 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: #0a0a0a;
    border: 1px solid #333;
    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: #555;
    background: rgba(255, 255, 255, 0.02);
}

.coco-res-menu-card.selected {
    border-color: #c9a96e;
    background: rgba(201, 169, 110, 0.08);
    box-shadow: 0 0 0 1px #c9a96e;
}

.coco-res-menu-card.selected::after {
    content: '\2713';
    position: absolute;
    top: 12px;
    right: 14px;
    width: 22px;
    height: 22px;
    background: #c9a96e;
    color: #000;
    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: #fff;
}

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

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

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

.coco-res-menu-card-total {
    font-size: 13px;
    color: #c9a96e;
    font-weight: 500;
    padding-top: 10px;
    border-top: 1px solid rgba(201, 169, 110, 0.15);
}

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

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

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

.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(255,255,255,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(255,255,255,0.7);
}

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

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

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

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

.coco-res-countdown--urgent {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
    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(255,255,255,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 #333;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.coco-res-social-btn--apple {
    background: #000;
    color: #fff;
    border-color: #333;
}

.coco-res-social-btn--apple:hover {
    background: #1a1a1a;
    border-color: #555;
}

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

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

.coco-res-social-divider {
    text-align: center;
    position: relative;
    margin: 12px 0;
    color: rgba(255,255,255,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(255,255,255,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(255,255,255,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: #111;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    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: #c9a96e;
}

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

/* 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: #ffffff !important;
    background: #111111 !important;
    border: 1px solid #333 !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: #666 !important;
}

.coco-res-birthday-row input:focus {
    border-color: #c9a96e !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(255,255,255,0.3);
    font-size: 16px;
}

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

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

.coco-res-accordion-trigger {
    width: 100%;
    background: none;
    border: none;
    color: rgba(255,255,255,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: #c9a96e;
}

.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: #111;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    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(255,255,255,0.6);
    cursor: pointer;
}

.coco-res-marketing-label input[type="checkbox"] {
    accent-color: #c9a96e;
    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 #333;
    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: #0a0a0a;
    color: #888;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

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

.coco-res-pay-opt:hover:not(.active) {
    background: #1a1a1a;
    color: #ccc;
}

.coco-res-pay-opt.active {
    background: linear-gradient(135deg, #c9a96e 0%, #b8944c 100%);
    color: #000;
}

.coco-res-pay-note {
    font-size: 12px;
    color: #888;
    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 #2a2a2a;
    border-radius: 10px;
    background: #1a1a1a;
    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(201, 162, 39, 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: #c9a227;
    background: rgba(201, 162, 39, 0.12);
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}
.coco-res-dine-stay-title {
    font-size: 15px;
    font-weight: 600;
    color: #faf7f0;
    margin-bottom: 2px;
}
.coco-res-dine-stay-subtitle {
    font-size: 12px;
    color: rgba(250, 247, 240, 0.6);
    line-height: 1.4;
}
.coco-res-dine-stay-toggle-action {
    color: #c9a227;
    font-size: 18px;
}
.coco-res-dine-stay-panel {
    border-top: 1px solid #2a2a2a;
    padding: 14px 18px;
}
.coco-res-dine-stay-loading,
.coco-res-dine-stay-empty {
    padding: 8px 0;
    font-size: 13px;
    color: rgba(250, 247, 240, 0.65);
}
.coco-res-dine-stay-tables {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.coco-res-dine-stay-table {
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 12px 14px;
    cursor: pointer;
    background: #111;
    transition: border-color 120ms ease, background 120ms ease;
}
.coco-res-dine-stay-table:hover {
    border-color: #c9a227;
    background: rgba(201, 162, 39, 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: #faf7f0;
}
.coco-res-dine-stay-table-deposit {
    font-size: 12px;
    color: #c9a227;
    font-weight: 600;
    white-space: nowrap;
}
.coco-res-dine-stay-table-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: rgba(250, 247, 240, 0.6);
}
.coco-res-dine-stay-selected {
    border-top: 1px dashed #2a2a2a;
    padding-top: 12px;
    margin-top: 12px;
}
.coco-res-dine-stay-selected-label {
    font-size: 11px;
    letter-spacing: 1px;
    color: #c9a227;
    margin: 0 0 4px;
    font-weight: 700;
}
.coco-res-dine-stay-selected-name {
    font-size: 14px;
    font-weight: 600;
    color: #faf7f0;
    margin: 0 0 2px;
}
.coco-res-dine-stay-selected-meta {
    font-size: 12px;
    color: rgba(250, 247, 240, 0.6);
    margin: 0 0 8px;
}
.coco-res-dine-stay-remove {
    background: none;
    border: 1px solid #2a2a2a;
    color: rgba(250, 247, 240, 0.7);
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 4px;
    cursor: pointer;
}
.coco-res-dine-stay-remove:hover {
    border-color: #ef4444;
    color: #ef4444;
}
