/*
 * oc-accordion.css — Right-rail accordion (Soundtrack · Merch · Membership · Concierge · Events)
 * Scoped under .ocal-sidebar--acc to avoid touching anything else on the page.
 */

/* ── Design tokens (local) ────────────────────────────────────────────────── */
.ocal-sidebar--acc {
	--acc-rail:    #f4ead6;
	--acc-card:    #fbf4e2;
	--acc-ink:     #2f2a24;
	--acc-muted:   #7a6a48;
	--acc-rule:    #e3d7b8;
	--acc-border:  #c9a86c;
	--acc-gold:    #e3b23c;
	--acc-gold2:   #c9942e;
	--acc-green:   #0f3d2b;
	--acc-teal:    #2f9e8f;
	--acc-amber:   #c98a1a;
	--acc-date:    #c0473b;
}

/* ── Rail head (keep existing look) ──────────────────────────────────────── */
.ocal-sidebar--acc {
	display: flex;
	flex-direction: column;
}
.ocal-sidebar--acc .ocal-sb__head {
	flex: none;
}

/* ── Accordion container ─────────────────────────────────────────────────── */
.oc-acc {
	flex: 1;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #cdb98e transparent;
}
.oc-acc::-webkit-scrollbar { width: 6px; }
.oc-acc::-webkit-scrollbar-thumb { background: #cdb98e; border-radius: 4px; }
.oc-acc::-webkit-scrollbar-track { background: transparent; }

/* ── Section ─────────────────────────────────────────────────────────────── */
.oc-acc__section {
	border-bottom: 1px solid var(--acc-rule);
}
.oc-acc__section:first-child {
	border-top: 1px solid var(--acc-rule);
}

/* ── Header button ───────────────────────────────────────────────────────── */
.oc-acc__hd {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 13px 16px 13px 14px;
	background: var(--acc-rail);
	border: none;
	cursor: pointer;
	text-align: left;
	transition: background 0.14s ease;
	min-height: 52px;
}
.oc-acc__hd:hover {
	background: #ede0c4;
}
.oc-acc__hd:focus-visible {
	outline: 2px solid var(--acc-gold);
	outline-offset: -2px;
}
.oc-acc__section.is-open > .oc-acc__hd {
	background: #ede0c4;
	box-shadow: inset 3px 0 0 var(--acc-gold2);
}

/* ── Icon bubble ─────────────────────────────────────────────────────────── */
.oc-acc__icon {
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	color: #fff;
}
.oc-acc__icon--teal  { background: var(--acc-teal); }
.oc-acc__icon--amber { background: var(--acc-amber); }
.oc-acc__icon--gold  { background: var(--acc-gold2); }
.oc-acc__icon--green { background: var(--acc-green); }
.oc-acc__icon--date  { background: var(--acc-date); }

/* ── Section label ───────────────────────────────────────────────────────── */
.oc-acc__label {
	flex: 1;
	font-family: 'DM Serif Display', Georgia, serif;
	font-size: 16px;
	font-weight: 400;
	color: var(--acc-ink);
	line-height: 1.2;
	transition: color 0.14s;
}
.oc-acc__section.is-open > .oc-acc__hd .oc-acc__label {
	color: var(--acc-green);
}

/* ── Chevron ─────────────────────────────────────────────────────────────── */
.oc-acc__chev {
	flex: none;
	font-size: 20px;
	color: var(--acc-muted);
	transform: rotate(0deg);
	transition: transform 0.22s ease;
	display: inline-block;
	line-height: 1;
}
.oc-acc__section.is-open > .oc-acc__hd .oc-acc__chev {
	transform: rotate(90deg);
	color: var(--acc-gold2);
}

/* ── Panel ───────────────────────────────────────────────────────────────── */
.oc-acc__panel {
	overflow: hidden;
	background: var(--acc-card);
}
.oc-acc__panel[hidden] {
	display: none;
}
.oc-acc__panel--open {
	display: block;
}
.oc-acc__panel-inner {
	padding-bottom: 6px;
}

/* Empty state */
.oc-acc__empty {
	padding: 20px 18px;
	font-size: 13px;
	color: var(--acc-muted);
	font-style: italic;
	margin: 0;
}

/* ── SOUNDTRACK ──────────────────────────────────────────────────────────── */
.oc-acc__song-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	cursor: pointer;
	border-bottom: 1px solid rgba(227,215,184,.5);
	transition: background 0.12s;
}
.oc-acc__song-row:last-child { border-bottom: none; }
.oc-acc__song-row:hover      { background: rgba(243,234,214,.7); }
.oc-acc__song-row.is-active,
.oc-acc__song-row.is-playing { background: rgba(227,178,60,.1); }

/* Play / equalizer button */
.oc-acc__song-play {
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	background: var(--acc-teal);
	color: #fff;
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.14s;
	position: relative;
}
.oc-acc__song-play:hover { background: #227a6e; }
.oc-acc__song-row.is-playing .oc-acc__song-play { background: var(--acc-gold2); }

/* Animated equalizer bars (shown when playing) */
.oc-acc__song-play-ico  { display: block; }
.oc-acc__song-eq        { display: none; gap: 2px; align-items: flex-end; height: 14px; }
.oc-acc__song-row.is-playing .oc-acc__song-play-ico { display: none; }
.oc-acc__song-row.is-playing .oc-acc__song-eq       { display: flex; }
.oc-acc__song-eq span {
	display: block;
	width: 3px;
	background: #fff;
	border-radius: 2px;
	animation: ocEq 0.8s ease-in-out infinite alternate;
}
.oc-acc__song-eq span:nth-child(1) { height: 6px;  animation-delay: 0s; }
.oc-acc__song-eq span:nth-child(2) { height: 12px; animation-delay: 0.15s; }
.oc-acc__song-eq span:nth-child(3) { height: 8px;  animation-delay: 0.3s; }
@keyframes ocEq {
	from { transform: scaleY(.35); }
	to   { transform: scaleY(1);   }
}
@media (prefers-reduced-motion: reduce) {
	.oc-acc__song-eq span { animation: none; }
}

.oc-acc__song-info {
	flex: 1;
	min-width: 0;
}
.oc-acc__song-n {
	font-size: 10px;
	color: var(--acc-muted);
	margin-right: 5px;
	font-variant-numeric: tabular-nums;
}
.oc-acc__song-title {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--acc-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.oc-acc__song-row.is-playing .oc-acc__song-title { color: var(--acc-green); }
.oc-acc__song-loc {
	display: block;
	font-size: 11.5px;
	color: var(--acc-muted);
	margin-top: 1px;
}
.oc-acc__song-dur {
	flex: none;
	font-size: 11px;
	color: var(--acc-muted);
	font-variant-numeric: tabular-nums;
}

/* ── MERCH STORE ─────────────────────────────────────────────────────────── */
.oc-acc__merch-grid {
	display: flex;
	flex-direction: column;
	gap: 0;
}
.oc-acc__merch-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 14px;
	text-decoration: none;
	color: var(--acc-ink);
	border-bottom: 1px solid rgba(227,215,184,.5);
	transition: background 0.12s;
}
.oc-acc__merch-card:last-child { border-bottom: none; }
.oc-acc__merch-card:hover { background: rgba(243,234,214,.7); }
.oc-acc__merch-img {
	flex: none;
	width: 52px;
	height: 52px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid var(--acc-rule);
}
.oc-acc__merch-ph {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--acc-rule);
	font-size: 22px;
}
.oc-acc__merch-info {
	flex: 1;
	min-width: 0;
}
.oc-acc__merch-name {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--acc-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.oc-acc__merch-price {
	font-size: 12px;
	color: var(--acc-muted);
	margin-top: 2px;
}
.oc-acc__merch-vip {
	font-size: 11px;
	color: var(--acc-gold2);
	font-weight: 700;
	margin-top: 2px;
}
.oc-acc__merch-shop {
	flex: none;
	font-size: 12px;
	font-weight: 700;
	color: var(--acc-gold2);
	white-space: nowrap;
}

/* ── MEMBERSHIP ──────────────────────────────────────────────────────────── */
.oc-acc__member-price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 18px 18px 10px;
	border-bottom: 1px solid var(--acc-rule);
}
.oc-acc__member-price-big {
	font-family: 'DM Serif Display', Georgia, serif;
	font-size: 36px;
	color: var(--acc-ink);
	line-height: 1;
}
.oc-acc__member-price-note {
	font-size: 12px;
	color: var(--acc-muted);
}
.oc-acc__benefits {
	list-style: none;
	margin: 0;
	padding: 10px 18px 14px;
	display: flex;
	flex-direction: column;
	gap: 7px;
}
.oc-acc__benefit {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 13px;
	color: var(--acc-ink);
}
.oc-acc__benefit-chk {
	flex: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--acc-gold);
	color: #231a06;
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}
.oc-acc__vip-cta {
	display: block;
	margin: 0 18px 18px;
	padding: 13px 20px;
	background: linear-gradient(135deg, var(--acc-gold), var(--acc-gold2));
	color: #231a06;
	font-family: 'DM Serif Display', Georgia, serif;
	font-size: 16px;
	font-weight: 400;
	text-align: center;
	text-decoration: none;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	box-shadow: 0 6px 22px rgba(201,148,46,.3);
	transition: box-shadow 0.15s, transform 0.12s;
	width: calc(100% - 36px);
}
.oc-acc__vip-cta:hover {
	box-shadow: 0 8px 28px rgba(201,148,46,.45);
	transform: translateY(-1px);
}

/* ── EVENTS ──────────────────────────────────────────────────────────────── */
.oc-acc__events-list {
	padding: 6px 0;
}
.oc-acc__event {
	padding: 10px 18px;
	border-bottom: 1px solid rgba(227,215,184,.5);
}
.oc-acc__event:last-of-type { border-bottom: none; }
.oc-acc__event-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 3px;
}
.oc-acc__event-date {
	font-size: 11px;
	font-weight: 700;
	color: var(--acc-date);
	text-transform: uppercase;
	letter-spacing: .06em;
}
.oc-acc__event-area {
	font-size: 11px;
	color: var(--acc-muted);
}
.oc-acc__event-name {
	font-size: 14px;
	font-weight: 700;
	color: var(--acc-ink);
}

/* RSVP form */
.oc-acc__rsvp {
	padding: 14px 18px 18px;
	border-top: 1px solid var(--acc-rule);
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.oc-acc__rsvp-lbl {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--acc-muted);
	margin-bottom: 2px;
}
.oc-acc__rsvp-input {
	padding: 9px 12px;
	border: 1.5px solid var(--acc-rule);
	border-radius: 8px;
	background: #fff;
	font-size: 13px;
	color: var(--acc-ink);
	transition: border-color 0.14s;
	font-family: inherit;
}
.oc-acc__rsvp-input:focus {
	outline: none;
	border-color: var(--acc-gold);
}
.oc-acc__rsvp-btn {
	padding: 10px 18px;
	background: var(--acc-green);
	color: #f4ead6;
	border: none;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.14s;
}
.oc-acc__rsvp-btn:hover { background: #1a5c3d; }
.oc-acc__rsvp-ok {
	font-size: 13px;
	color: var(--acc-teal);
	font-weight: 700;
	padding: 6px 0;
}
.oc-acc__rsvp-ok[hidden] { display: none; }

/* ── QR CODE BLOCK ───────────────────────────────────────────────────────── */
.oc-rail-qr {
	flex: none;
	border-top: 1px solid var(--acc-rule);
	background: var(--acc-rail);
	padding: 12px 14px;
}
.oc-rail-qr__wrap {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--acc-ink);
}
.oc-rail-qr__img {
	flex: none;
	width: 72px;
	height: 72px;
	object-fit: contain;
	border-radius: 8px;
	border: 1px solid var(--acc-rule);
	background: #fff;
	padding: 4px;
}
.oc-rail-qr__text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.oc-rail-qr__title {
	font-family: 'DM Serif Display', Georgia, serif;
	font-size: 14px;
	font-weight: 400;
	color: var(--acc-green);
	line-height: 1.2;
}
.oc-rail-qr__body {
	font-size: 11px;
	color: var(--acc-muted);
	line-height: 1.4;
}

/* ── MINI PLAYER ─────────────────────────────────────────────────────────── */
.oc-mini-player {
	flex: none;
	background: var(--acc-green);
	color: #f4ead6;
	padding: 10px 14px 12px;
	border-top: 2px solid var(--acc-gold2);
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.oc-mini-player[hidden] { display: none; }
.oc-mini-player__track {
	display: flex;
	flex-direction: column;
	gap: 1px;
}
.oc-mini-player__title {
	font-size: 13px;
	font-weight: 700;
	color: #f4ead6;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.oc-mini-player__loc {
	font-size: 11px;
	color: rgba(244,234,214,.6);
}
.oc-mini-player__scrub {
	display: flex;
	align-items: center;
	gap: 8px;
}
.oc-mini-player__bar {
	flex: 1;
	height: 3px;
	background: rgba(244,234,214,.2);
	border-radius: 3px;
	overflow: hidden;
	cursor: pointer;
}
.oc-mini-player__fill {
	height: 100%;
	width: 0;
	background: var(--acc-gold);
	border-radius: 3px;
	transition: width 0.3s linear;
}
.oc-mini-player__time {
	font-size: 10px;
	color: rgba(244,234,214,.55);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.oc-mini-player__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}
.oc-mini-player__btn {
	background: none;
	border: none;
	cursor: pointer;
	color: rgba(244,234,214,.7);
	font-size: 16px;
	padding: 4px 8px;
	border-radius: 6px;
	transition: color 0.12s, background 0.12s;
}
.oc-mini-player__btn:hover { color: #f4ead6; background: rgba(255,255,255,.1); }
.oc-mini-player__btn--play {
	font-size: 20px;
	color: var(--acc-gold);
	background: rgba(227,178,60,.15);
	border-radius: 50%;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}
.oc-mini-player__btn--play:hover { background: rgba(227,178,60,.3); color: var(--acc-gold); }
.oc-mini-player__btn:focus-visible { outline: 2px solid var(--acc-gold); outline-offset: 2px; }

/* SoundCloud embed */
.oc-mini-player__sc {
	padding: 0;
	background: #000;
}
.oc-mini-player__sc iframe {
	display: block;
	width: 100%;
	height: 166px;
	border: 0;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
/* Stack breakpoint MUST match the map screen: .ocal-screen--map flips to a
   column at <=860px. If the rail went full-width any earlier (was 1023px) the
   861–1023px row would have a width:100% flex-shrink:0 rail crushing the map. */
@media (max-width: 860px) {
	.ocal-sidebar--acc {
		width: 100%;
		height: 100%;
		max-height: 100%;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		border-left: none;
		border-top: 3px solid #d8c6a4;
		min-height: 280px;
	}
	.ocal-sidebar--acc .ocal-sb__head {
		flex: none;
	}
	.oc-acc {
		flex: 1;
		min-height: 0;
		overflow-y: auto;
	}
	.oc-mini-player {
		flex: none;
	}
}

/* ── soundtrack rows as links (fake player removed) ──────────── */
.oc-acc__song-row { text-decoration: none; color: inherit; }
.oc-acc__song-go {
	margin-left: auto;
	opacity: .5;
	font-size: 15px;
	transition: transform .15s ease, opacity .15s ease;
}
.oc-acc__song-row:hover .oc-acc__song-go { opacity: 1; transform: translateX(3px); }
