/* Bileğinde dene (saatinkalbi-bilekte-dene.php, js/saat-dene.js) — yalnızca deneme görseli olan ürün sayfalarında yüklenir */

/* Ürün sayfası düğmesi: yalnızca dokunmatik telefon/tablette (test için html.sk-dene-zorla) */
.sk-dene-kapsayici { display: none; padding: 22px 16px 6px; text-align: center; }
@media (max-width: 1024px) and (pointer: coarse) { .sk-dene-kapsayici { display: block; } }
html.sk-dene-zorla .sk-dene-kapsayici { display: block; }
.sk-dene-ac { display: inline-flex; align-items: center; gap: 14px; width: 100%; max-width: 420px; padding: 14px 20px; border: 1px solid #111; border-radius: 3px; background: #050505; color: #fff; font-family: 'Jost', 'Century Gothic', sans-serif; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sk-dene-ac[hidden] { display: none; }
.sk-dene-ac svg { flex: none; width: 30px; height: 30px; }
.sk-dene-ac span { display: flex; flex-direction: column; gap: 3px; font-size: 13px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; }
.sk-dene-ac small { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 400; letter-spacing: 0.3px; text-transform: none; color: #bbb; }
.sk-dene-ac:active { transform: scale(0.98); }

/* Tam ekran kamera */
html.sk-dene-acik, html.sk-dene-acik body { overflow: hidden !important; }
.sk-dene { position: fixed; inset: 0; z-index: 2147483000; /* çerez bandının (999999) da üstünde */ background: #000; color: #fff; font-family: 'Inter', sans-serif; touch-action: none; user-select: none; -webkit-user-select: none; overflow: hidden; }
.sk-dene button { font-family: inherit; -webkit-tap-highlight-color: transparent; cursor: pointer; }
.sk-dene [hidden] { display: none !important; }
.sk-dene-video { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.sk-dene-tuval { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sk-dene::after { content: ''; position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.sk-dene.sk-dene-flas::after { opacity: 0.8; transition: none; }

.sk-dene-ust { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(env(safe-area-inset-top) + 12px) 14px 12px; background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,0)); }
.sk-dene-yuvarlak { flex: none; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 28px; line-height: 1; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sk-dene-yuvarlak svg { width: 22px; height: 22px; }
.sk-dene-etiket { padding: 8px 14px; border-radius: 20px; background: rgba(0,0,0,.45); font-size: 13px; letter-spacing: 0.3px; white-space: nowrap; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sk-dene-etiket strong { font-family: 'Jost', sans-serif; font-weight: 500; font-size: 15px; letter-spacing: 1px; }

.sk-dene-ipucu { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: max-content; max-width: 86%; padding: 14px 20px; border-radius: 10px; background: rgba(0,0,0,.5); font-size: 15px; line-height: 1.45; text-align: center; transition: opacity 0.3s; pointer-events: none; }
.sk-dene-ipucu.gizli { opacity: 0; }

.sk-dene-yukleniyor { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: #000; font-size: 14px; color: #ccc; }
.sk-dene-donen { width: 34px; height: 34px; border: 2px solid rgba(255,255,255,.2); border-top-color: #fff; border-radius: 50%; animation: skDeneDon 0.9s linear infinite; }
@keyframes skDeneDon { to { transform: rotate(360deg); } }

/* Alt bölüm: ölçü bilgisi, saat şeridi, deklanşör */
.sk-dene-alt { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 30px 12px calc(env(safe-area-inset-bottom) + 16px); background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.6) 40%); }
.sk-dene-olcu { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #ddd; }
.sk-dene-olcu-ac { padding: 6px 12px; border: 1px solid rgba(255,255,255,.6); border-radius: 16px; background: none; color: #fff; font-size: 12px; }
.sk-dene-tahmin .sk-dene-olcu-ac { border-color: #fff; background: #fff; color: #111; font-weight: 600; }
.sk-dene-serit { display: flex; gap: 10px; max-width: 100%; overflow-x: auto; padding: 2px 4px; scrollbar-width: none; }
.sk-dene-serit::-webkit-scrollbar { display: none; }
.sk-dene-saat { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 64px; padding: 0; border: 0; background: none; color: #fff; font-size: 11px; opacity: 0.75; }
.sk-dene-saat img { width: 56px; height: 56px; object-fit: contain; border-radius: 50%; background: #fff; border: 2px solid transparent; }
.sk-dene-saat.secili { opacity: 1; font-weight: 600; }
.sk-dene-saat.secili img { border-color: #fff; box-shadow: 0 0 0 2px rgba(0,0,0,.4); }
.sk-dene-cek { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; padding: 0; border: 4px solid rgba(255,255,255,.85); border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; }
.sk-dene-cek svg { width: 26px; height: 26px; }
.sk-dene-kart-modu .sk-dene-alt, .sk-dene-kart-modu .sk-dene-ust { display: none; }

/* Paneller (ölçü, hata) */
.sk-dene-panel, .sk-dene-hata { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,.45); }
.sk-dene-panel-ic { width: 100%; max-width: 480px; padding: 26px 22px calc(env(safe-area-inset-bottom) + 22px); border-radius: 16px 16px 0 0; background: #fff; color: #111; }
.sk-dene-panel-ic h3 { margin: 0 0 8px; font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; }
.sk-dene-panel-ic p { margin: 0 0 18px; font-size: 14px; line-height: 1.55; color: #555; }
.sk-dene-birincil { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; padding: 15px; border: 0; border-radius: 3px; background: #050505; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.sk-dene-birincil small { font-size: 11px; font-weight: 400; letter-spacing: 0.3px; text-transform: none; color: #bbb; }
.sk-dene-ikincil { padding: 12px 18px; border: 1px solid #111; border-radius: 3px; background: #fff; color: #111; font-size: 13px; font-weight: 600; }
.sk-dene-bilek { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 16px 0 0; }
.sk-dene-bilek label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #333; }
.sk-dene-bilek input { width: 64px; padding: 10px 8px; border: 1px solid #ccc; border-radius: 3px; font-size: 16px; text-align: center; }
.sk-dene-panel-alt { display: flex; justify-content: space-between; margin-top: 18px; }
.sk-dene-metin-dugme { padding: 6px 0; border: 0; background: none; color: #777; font-size: 13px; text-decoration: underline; }
.sk-dene-hata .sk-dene-panel-ic p { color: #111; font-size: 15px; }

/* Kredi kartı ölçümü */
.sk-dene-kart { position: absolute; inset: 0; }
.sk-dene-kart-metin { position: absolute; left: 12px; right: 12px; top: calc(env(safe-area-inset-top) + 12px); margin: 0; padding: 12px 16px; border-radius: 10px; background: rgba(0,0,0,.6); font-size: 14px; line-height: 1.5; text-align: center; }
.sk-dene-kart-dugmeler { position: absolute; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom) + 16px); display: flex; gap: 10px; }
.sk-dene-kart-dugmeler button { flex: 1; }
.sk-dene-kart-dugmeler .sk-dene-birincil { background: #fff; color: #111; }
.sk-dene-tutamak { display: none; position: absolute; left: -24px; top: -24px; width: 48px; height: 48px; border-radius: 50%; touch-action: none; }
.sk-dene-tutamak::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -9px 0 0 -9px; border: 2px solid #111; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.35); }
.sk-dene-kart-olc .sk-dene-tutamak { display: block; }
