/* Purchase pages on allmotown.com under the GOLD design (GA tickets, seat map, checkout, confirmation, expired).
   Pete's DiffUI "Ticket page skin" (11/18, image 5be1c140): black page, gold rules, the seat map on a WHITE card,
   gold Continue. COLOUR SKIN ONLY: docs/Checkout-UX-Spec.md 7.3 keeps one layout everywhere, so nothing here moves,
   resizes or hides anything, and no font changes. Every functional colour is left alone (seat price colours, selected
   seats, sold-out red, success green). Loaded by HomepageTemplate::purchaseShowSkinKey() — PREVIEW ONLY
   (?template=gold) until 'gold' is added to SHOW_PURCHASE_SKINS_LIVE. Same structure as liberty-purchase.css. */
body.tpl-buy-gold {
    --gdb-bg: #000000;
    --gdb-surface: #0a0805;
    --gdb-surface-2: #15110a;
    --gdb-input: #050403;
    --gdb-line: rgba(233, 185, 73, .45);
    --gdb-gold: #e9b949;
    /* The stage light, dimmed and faded into black (no hard edge where the image ends). */
    background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .78) 38%, #000 62%), url('/uploads/templates/gold/stage-gold.jpg') center top / 100% auto no-repeat, #000 !important;
    background-attachment: scroll !important;
    min-height: 100vh;
}
html:has(> body.tpl-buy-gold) { background: #000; }

/* Header bar: black with the gold rule; the new logo mark. */
body.tpl-buy-gold :is(.seating-header, .site-header) { background: #000; box-shadow: none; border-bottom: 1px solid var(--gdb-line); }
body.tpl-buy-gold :is(.site-header .logo img, .seating-header-logo img) { content: url('/uploads/templates/gold/logo-mark.jpg'); }

/* Cards and panels: near-black with a gold edge. */
body.tpl-buy-gold :is(.card, .sidebar, .consumer-actions, .seat-cart-card, .checkout-card, .ga-intro-note,
    .ga-modal-card, .scs-ga-modal__card, .hold-expired-card, .ga-page:not(.ga-page--seatmap) .ga-actions) {
    background: var(--gdb-surface); border-color: var(--gdb-line);
}
/* The GA banner under the map: the design's gold-edged dark gold band. */
body.tpl-buy-gold :is(.ga-section-card, .ga-summary) {
    background: linear-gradient(180deg, #2a1f0a 0%, #120d04 100%); border-color: var(--gdb-gold);
}
body.tpl-buy-gold .ga-section-card.ga-section-sold-out { background: var(--gdb-surface); }

/* Map stage: dark, as the Checkout UX spec requires on every site (the DiffUI mock showed a white card; the spec wins). */
body.tpl-buy-gold :is(.map-panel, .map-viewport, .map-panel svg) { background: #070604; }
body.tpl-buy-gold .map-panel { outline: 1px solid var(--gdb-line); outline-offset: -1px; }

/* Inputs, steppers, small buttons. */
body.tpl-buy-gold :is(.field input, #stripe-card-element, .stripe-payment-element-wrap, .promo-row input, .promo-controls input,
    .ga-promo-input, .controls input, .controls select, .consumer-controls select, .consumer-controls input) {
    background: var(--gdb-input); border-color: var(--gdb-line);
}
body.tpl-buy-gold :is(.zoom-controls .zoom-btn, .ga-quantity-btn, .ga-stepper-button, .scs-ga-modal__step, .btn:not(.primary),
    .pay-alt .pay-btn, .promo-controls button, .ga-promo-apply) {
    background: var(--gdb-surface-2); border-color: var(--gdb-line);
}
body.tpl-buy-gold :is(.ga-modal-quantity-display) { background: var(--gdb-bg); }

/* Gold edges + headings (colour only; Value Seats magenta and the cyan Checkout stay, per the spec). */
body.tpl-buy-gold .card.consumer-panel, body.tpl-buy-gold .sidebar .card { border-color: var(--gdb-line) !important; box-shadow: none !important; }
body.tpl-buy-gold :is(.select-seats-row .select-seats-title, .select-seats-label, .consumer-seat-count, .consumer-summary h3) { color: var(--gdb-gold) !important; }
body.tpl-buy-gold .seat-legend-item--filter { border-color: var(--gdb-line) !important; }
body.tpl-buy-gold :is(.seating-header-title, .seating-header h1) { color: #fff; }
body.tpl-buy-gold :is(.seating-header-date, .seating-header-sub) { color: var(--gdb-gold); }
body.tpl-buy-gold .consumer-empty-cart { border-color: var(--gdb-line) !important; }

/* Pete 11/18 ("they aren't bad but just don't fit"): on THIS design the Value Seats box and Checkout wear gold instead of
   the spec's magenta / cyan. Colour only — same box, same glow shape, same size and place; disabled Checkout still reads
   as disabled. Recorded as an exception in docs/Checkout-UX-Spec.md 7.3. */
body.tpl-buy-gold :is(#value-seats-banner, .value-seats-banner, .scs-ga-offer--value) {
    border-color: #e9b949 !important; background: linear-gradient(180deg, rgba(233, 185, 73, .16), rgba(233, 185, 73, .05)) !important;
    box-shadow: 0 0 16px rgba(233, 185, 73, .45), inset 0 0 8px rgba(233, 185, 73, .18) !important;
}
body.tpl-buy-gold :is(.vs-tag, .vs-label, .value-seats-label) { color: #f6d77e !important; }
body.tpl-buy-gold :is(.value-seats-btn, .scs-ga-offer--value .scs-ga-offer__btn) {
    background: linear-gradient(180deg, #f8e08f 0%, #e7b955 48%, #c8952f 100%) !important; color: #1b1203 !important;
    box-shadow: 0 0 14px rgba(233, 185, 73, .45) !important;
}
body.tpl-buy-gold .seat-legend .seat-legend-item--value {
    border-color: #e9b949 !important; background: rgba(233, 185, 73, .14) !important;
    box-shadow: 0 0 12px rgba(233, 185, 73, .55), inset 0 0 8px rgba(233, 185, 73, .22) !important;
}
body.tpl-buy-gold .seat-legend .seat-legend-item--value:hover { box-shadow: 0 0 18px rgba(233, 185, 73, .8), inset 0 0 8px rgba(233, 185, 73, .3) !important; }
body.tpl-buy-gold .consumer-cta-button:not(:disabled), body.tpl-buy-gold :is(#checkout-submit, .checkout-submit, .btn.primary):not(:disabled) {
    background: linear-gradient(180deg, #f8e08f 0%, #e7b955 48%, #c8952f 100%) !important; color: #1b1203 !important; border-color: transparent !important;
}
body.tpl-buy-gold .consumer-cta-button:disabled { background: #3a3020 !important; color: rgba(255, 255, 255, .55) !important; opacity: .7 !important; }

/* Checkout pages (NLiven + SCS): the main buttons, step line and promo Apply in gold (same extension of Pete's 11/18
   "don't fit" call; colour only). The hold timer keeps its own status colours. */
body.tpl-buy-gold .btn-main:not(:disabled), body.tpl-buy-gold #btn-continue-to-pay:not(:disabled) {
    background: linear-gradient(180deg, #f8e08f 0%, #e7b955 48%, #c8952f 100%) !important; color: #1b1203 !important;
    box-shadow: 0 0 14px rgba(233, 185, 73, .35) !important; border-color: transparent !important;
}
body.tpl-buy-gold .step-label { color: #e9b949 !important; }
body.tpl-buy-gold .promo-row button { background: transparent !important; color: #e9b949 !important; border: 1px solid #e9b949 !important; }
body.tpl-buy-gold .promo-row button:hover { background: rgba(233, 185, 73, .14) !important; }
body.tpl-buy-gold .empty-cart:hover { color: #e9b949 !important; }

/* Confirmation (NLiven + SCS): thank-you line, confirmation number box, Get my tickets, Return to home in gold.
   Calendar buttons keep their own Google / Apple / Outlook colours. */
body.tpl-buy-gold .success-thank-you { color: #e9b949 !important; }
body.tpl-buy-gold .success-order-id-wrap { background: rgba(233, 185, 73, .08) !important; border-color: rgba(233, 185, 73, .45) !important; }
body.tpl-buy-gold #success-order-id, body.tpl-buy-gold .success-order-id-wrap .value { color: #f6d77e !important; }
body.tpl-buy-gold .success-actions .get-tickets {
    background: linear-gradient(180deg, #f8e08f 0%, #e7b955 48%, #c8952f 100%) !important; color: #1b1203 !important;
    box-shadow: 0 0 14px rgba(233, 185, 73, .35) !important; border-color: transparent !important;
}
body.tpl-buy-gold .success-actions .back-link { color: #e9b949 !important; }

/* My Tickets: the ticket buttons (inline-styled cyan in order-tickets.blade) and the footer newsletter box in gold. */
body.tpl-buy-gold .layout-main > main.container > a[style*="background"] {
    background: linear-gradient(180deg, #f8e08f 0%, #e7b955 48%, #c8952f 100%) !important; color: #1b1203 !important; border-color: transparent !important;
}
body.tpl-buy-gold .footer-newsletter-band { border-color: rgba(233, 185, 73, .45) !important; box-shadow: none !important; background: #0a0805 !important; }
body.tpl-buy-gold .footer-newsletter-eyebrow { color: #e9b949 !important; }
body.tpl-buy-gold .footer-newsletter-input { border-color: rgba(233, 185, 73, .55) !important; background: #000 !important; }
body.tpl-buy-gold .footer-newsletter-btn { background: linear-gradient(180deg, #f8e08f 0%, #e7b955 48%, #c8952f 100%) !important; color: #1b1203 !important; border-color: transparent !important; }
