/* v9 ürün detayı: tanıtım videosu penceresi (vgate) ve sayfa içi video bölümü.
   Kurallar eski products.css'ten alındı; değişkenler burada tanımlı, böylece v9 sayfası products.css yüklemez. */
.vgate, .product-video {
  --c1:#E3122D; --c1-rgb:227,18,45; --p1:var(--c1); --p1-rgb:var(--c1-rgb); --hi:#FF5D6E;
  --ln:rgba(255,255,255,.08); --ln-2:rgba(255,255,255,.14); --glass-2:rgba(255,255,255,.07);
  --tx-2:#C9C9D1; --tx-3:#A1A1AA; --e-out:cubic-bezier(.23,1,.32,1);
  --f-m:"JetBrains Mono",ui-monospace,monospace; --hdr:72px; --amb-rgb:227,18,45;
  --r:clamp(14px,1.3vw,22px); --r-l:clamp(20px,2.2vw,36px);
  font-family:Onest,system-ui,sans-serif; color:#F4F4F6;
}
.vgate .catalog-eyebrow { font:600 .72rem/1 "JetBrains Mono",monospace; letter-spacing:.18em; text-transform:uppercase; }
.vgate .i { width:1em; height:1em; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.vgate .btn { display:inline-flex; align-items:center; gap:10px; height:50px; padding:0 26px; border:0; border-radius:999px; background:var(--c1); color:#fff; font:600 1rem Onest,system-ui,sans-serif; cursor:pointer; }
.vgate .btn:hover { background:#C40E26; }
.product-video { position:relative; z-index:1; padding:clamp(40px,6vw,90px) clamp(18px,4vw,48px); background:#08080A; }
.product-video .pv-h { max-width:1180px; margin:0 auto 22px; font:700 clamp(1.6rem,3vw,2.6rem)/1.1 "Bricolage Grotesque",system-ui,sans-serif; letter-spacing:-.03em; }
.product-video .pv-frame { max-width: 1180px; margin-inline: auto; aspect-ratio: 16/9; border-radius: var(--r-l); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--ln-2), 0 50px 120px -50px rgba(var(--p1-rgb, var(--c1-rgb)), .45); }
.product-video .pv-frame video, .product-video .pv-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.product-video .pv-frame { position: relative; }
.pv-play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; border: 0; padding: 0; cursor: pointer; color: #fff; background: radial-gradient(circle at 50% 50%, rgba(0,0,0,.15), rgba(0,0,0,.55)); transition: opacity .3s ease; }
.pv-play span { display: grid; place-items: center; width: clamp(84px, 11vw, 150px); aspect-ratio: 1; border-radius: 50%; background: var(--c1); box-shadow: 0 0 0 clamp(10px,1.4vw,18px) rgba(var(--c1-rgb),.25), 0 24px 60px -10px rgba(var(--c1-rgb),.7); transition: transform .35s var(--e-out), background .2s; animation: pv-pulse 2.4s ease-out infinite; }
.pv-play svg { width: 44%; height: 44%; margin-left: 8%; }
.pv-play b { font: 600 clamp(.95rem,1.4vw,1.15rem) Onest, system-ui, sans-serif; letter-spacing: -.01em; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.pv-play:hover span { transform: scale(1.08); background: #C40E26; }
.pv-play:focus-visible span { outline: 3px solid #fff; outline-offset: 6px; }
.pv-frame.on .pv-play { opacity: 0; pointer-events: none; }
@keyframes pv-pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--c1-rgb),.45), 0 24px 60px -10px rgba(var(--c1-rgb),.7); } 70%,100% { box-shadow: 0 0 0 clamp(18px,2.4vw,32px) rgba(var(--c1-rgb),0), 0 24px 60px -10px rgba(var(--c1-rgb),.7); } }
@media (prefers-reduced-motion: reduce) { .pv-play span { animation: none; } }

html.vlocked, html.vlocked body { overflow: hidden; }
.vgate { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: clamp(14px, 3vw, 40px); background: rgba(4,6,11,.86); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); overflow-y: auto; animation: vg-in .45s var(--e-out) both; }
.vgate[hidden] { display: none; }
.vgate.out { opacity: 0; transition: opacity .35s ease; pointer-events: none; }
@keyframes vg-in { from { opacity: 0; } }
.vgate-box { position: relative; width: min(1080px, 100%); display: grid; gap: clamp(14px, 1.6vw, 22px); animation: vg-up .6s var(--e-out) both; }
@keyframes vg-up { from { opacity: 0; transform: translateY(18px) scale(.985); } }
.vgate-h { display: grid; gap: 10px; }
.vgate-h .catalog-eyebrow { color: var(--hi); }
.vgate-h h2 { margin: 0; font-size: clamp(1.45rem, 2.6vw, 2.35rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.vgate-h h2 em { font-style: normal; color: #fff; }
.vgate-h p { margin: 0; color: var(--tx-2); max-width: 52em; font-size: clamp(.9rem, 1vw, 1rem); }
.vgate-stage { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--ln-2), 0 40px 100px -40px rgba(var(--p1-rgb, var(--c1-rgb)), .5); }
.vgate-media, .vgate-media video, .vgate-media iframe, #vgate-yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; }
.vgate-shield { position: absolute; inset: 0; z-index: 1; cursor: pointer; }
.vgate:not(.started) .vgate-shield { cursor: default; }
.vgate-start { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 8px; color: #fff; background: radial-gradient(closest-side, rgba(0,0,0,.25), rgba(0,0,0,.6)); transition: opacity .3s; }
.vgate-start:disabled { opacity: .6; cursor: progress; }
.vgate-ring { width: clamp(68px, 7vw, 92px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--p1, var(--c1)); box-shadow: 0 0 0 10px rgba(var(--p1-rgb, var(--c1-rgb)), .22), 0 20px 50px -10px rgba(var(--p1-rgb, var(--c1-rgb)), .8); margin-bottom: 10px; transition: transform .2s var(--e-out); }
.vgate-start:not(:disabled):hover .vgate-ring { transform: scale(1.06); }
.vgate-ring .i { width: 38%; height: 38%; fill: #fff; stroke: none; margin-left: 6%; }
.vgate-start b { font-size: 1.05rem; font-weight: 600; }
.vgate-start small { color: rgba(255,255,255,.7); font-size: .8rem; }
.vgate:not(.needs-start) .vgate-start { opacity: 0; pointer-events: none; }
.vgate-msg { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--tx-2); background: rgba(0,0,0,.75); }
.vgate-msg[hidden] { display: none; }
.vgate-bar { display: flex; align-items: center; gap: 12px; }
.vgate-bar button { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--ln); transition: background-color .2s, opacity .2s; }
.vgate-bar button:not(:disabled):hover { background: rgba(255,255,255,.14); }
.vgate-bar button:disabled { opacity: .35; }
.vgate-bar svg { width: 18px; height: 18px; fill: currentColor; }
.vgate-pp .i-pause, .vgate.playing .vgate-pp .i-play { display: none; } .vgate.playing .vgate-pp .i-pause { display: inline; }
.vgate-mute .i-off, .vgate.muted .vgate-mute .i-on { display: none; } .vgate.muted .vgate-mute .i-off { display: inline; }
.vgate-prog { flex: 1; height: 6px; cursor: pointer; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.vgate-prog i { display: block; height: 100%; background: var(--p1, var(--c1)); transform: scaleX(0); transform-origin: left; transition: transform .25s linear; }
.vgate-time { min-width: 4.2em; text-align: right; font: 500 .85rem var(--f-m); color: var(--tx-2); font-variant-numeric: tabular-nums; }
.vgate-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
.vgate-note { display: inline-flex; align-items: center; gap: 9px; color: var(--tx-3); font-size: .85rem; }
.vgate-acts { display: flex; align-items: center; gap: 20px; margin-left: auto; }
@media (max-width: 640px) {
    .vgate { place-items: start center; }
    .vgate-h p { font-size: .86rem; }
    .vgate-acts { width: 100%; }
    .vgate-done { height: 46px; padding: 0 20px; width: 100%; }
}
.vgate-x { position: absolute; top: 0; right: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--ln-2); transition: background-color .2s, transform .2s var(--e-out); }
.vgate-x:hover { background: rgba(255,255,255,.16); transform: rotate(90deg); }
.vgate-x .i { width: 20px; height: 20px; }
.vgate-h { padding-right: 56px; }
.vgate-sound { position: absolute; left: 50%; bottom: 18px; z-index: 2; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px; border-radius: 999px; color: #fff; font-size: .88rem; font-weight: 600; white-space: nowrap; background: rgba(0,0,0,.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); animation: vg-pulse 2s ease-in-out infinite; }
.vgate-sound[hidden] { display: none; }
.vgate-sound svg { width: 18px; height: 18px; fill: currentColor; }
@keyframes vg-pulse { 50% { box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 0 0 6px rgba(255,255,255,.08); } }
@media (prefers-reduced-motion: reduce) { .vgate, .vgate-box, .vgate-sound { animation: none; } }
