/* CataCars – Prezentare video */
.cd-stage .ccv-btn,
.cd-stage .ccv-btn:hover,
.cd-stage .ccv-btn:focus { position: absolute; left: 14px; top: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 9px 16px 9px 12px; border: 0; border-radius: 999px; background: rgba(15,23,42,.78); color: #fff; font: inherit; font-size: 14px; font-weight: 700; letter-spacing: .02em; line-height: 1; text-transform: none; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 6px 18px rgba(0,0,0,.22); transition: background .2s ease; }
.cd-stage .ccv-btn svg { width: 18px; height: 18px; fill: currentColor; }
.cd-stage .ccv-btn:hover, .cd-stage .ccv-btn:focus-visible { background: #4e241f; }
.cd-stage .ccv-btn:focus-visible { outline: 2px solid #fae1a3; outline-offset: 2px; }

.ccv-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(12,10,9,.9); }
.ccv-modal[hidden] { display: none; }
.ccv-box { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; }
.ccv-media { position: relative; overflow: hidden; border-radius: 16px; background: #000; box-shadow: 0 24px 60px rgba(0,0,0,.45); width: min(960px, calc(100vw - 48px)); aspect-ratio: 16 / 9; }
.ccv-box.is-vertical .ccv-media { width: auto; height: min(78vh, 720px); aspect-ratio: 9 / 16; max-width: calc(100vw - 48px); }
.ccv-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
video.ccv-frame { object-fit: contain; background: #000; }

.ccv-modal .ccv-close,
.ccv-modal .ccv-close:hover,
.ccv-modal .ccv-close:focus { position: fixed; top: 18px; right: 18px; z-index: 2; width: 46px; height: 46px; margin: 0; padding: 0; border: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.14); color: #fff; box-shadow: none; cursor: pointer; transition: background .2s ease; }
.ccv-modal .ccv-close:hover, .ccv-modal .ccv-close:focus-visible { background: rgba(255,255,255,.28); }
.ccv-modal .ccv-close:focus-visible { outline: 2px solid #fae1a3; outline-offset: 2px; }
.ccv-modal .ccv-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

html.ccv-lock { overflow: hidden; }

@media (max-width: 600px) {
	.cd-stage .ccv-btn { left: 10px; top: 10px; padding: 8px 14px 8px 10px; font-size: 13px; }
	.ccv-modal { padding: 64px 12px 16px; }
	.ccv-modal .ccv-close { top: 12px; right: 12px; }
	.ccv-box.is-vertical .ccv-media { height: min(calc(100vh - 130px), 720px); }
	.ccv-media { width: calc(100vw - 24px); }
}
@media (prefers-reduced-motion: reduce) { .cd-stage .ccv-btn, .ccv-modal .ccv-close { transition: none; } }
