/* Urun sayfasi parcasi: urun-karar.css. Sahibi: karar alani (sahip karari 2026-10-13). */
/*
| S1 Pro ve K1 urun sayfalarinda karar alani (config/aeke/site.php
| `page_assets`; isaretleme urun/s1 ve urun/k1 one-cikanlar.html, `insert`
| paket aciklamalari; davranis urun-karar.js).
|   - .ae-kf: "Öne çıkan özellikler" kutusu. Daraltilmis baslar: ilk iki
|     madde tam, ucuncusu tek satir ve solar, kalanlar gizli. Dugme sag altta.
|   - fieldset.package: paket kartlari alt alta, tam genislikte; adin altinda
|     tek satir aciklama (.ae-pack-desc); secili kartin cercevesi kalin.
|   - .quantity-row[hidden]: adet satiri cizilmez (paketin `display: flex`
|     kurali `hidden` niteligini ezmesin).
|   - .ae-motor-inline: K1 motor gorselinin ustunde sessiz oynayan video ve
|     filmdeki Ingilizce yaziyi orten Turkce serit. Ortadaki oynat dugmesi
|     (#play-motor) gizli, video buyumez (sahip karari 2026-10-14 gece, U13);
|     oynat ve duraklat dugmesi yok (sahip karari 2026-11-03).
| Renkler paketin karar alanindaki tonlardir (koyu ve acik tema).
*/

/* ==== Adet satiri ==== */
.unified-sale-copy .quantity-row[hidden] {
    display: none !important;
}

/* ==== One cikan ozellikler ==== */
.unified-sale-copy > .ae-kf {
    margin: 0 0 26px;
}

.unified-sale-copy > .ae-kf > h2,
.unified-sale-copy > fieldset.package > legend {
    margin: 0 0 12px;
    text-align: start;
    padding: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none;
}

.ae-kf-panel {
    position: relative;
    padding: 18px 20px 6px;
    border-radius: var(--ae-kose, 12px);
    background: #181c22;
    color: #d3dde3;
}

:root[data-theme="light"] .ae-kf-panel {
    background: #eceff0;
    color: #334346;
}

.ae-kf-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
    line-height: 1.55;
}

.ae-kf-list > li {
    position: relative;
    margin: 0;
    padding: 0 0 0 18px;
}

.ae-kf-list > li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.62em;
    width: 5px;
    height: 5px;
    background: currentColor;
}

.ae-kf-list strong {
    font-weight: 600;
    color: #fff;
}

:root[data-theme="light"] .ae-kf-list strong {
    color: #1a1a1a;
}

/* Daraltilmis: ucuncu madde tek satir ve solar, sonrakiler gizli. */
.ae-kf.is-collapsed .ae-kf-list > li:nth-child(3) {
    max-height: 1.55em;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
}

.ae-kf.is-collapsed .ae-kf-list > li:nth-child(n + 4) {
    display: none;
}

.ae-kf-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0 -10px 0 auto;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

:root[data-theme="light"] .ae-kf-toggle {
    color: #1a1a1a;
}

.ae-kf-toggle > svg {
    transition: transform 0.2s ease;
}

.ae-kf-toggle[aria-expanded="true"] > svg {
    transform: rotate(180deg);
}

.ae-kf-toggle:focus-visible {
    outline: 2px solid var(--ae-accent, #38a0b6);
    outline-offset: -4px;
}

:root[data-theme="light"] .ae-kf-toggle:focus-visible {
    outline-color: var(--ae-accent, #38a0b6);
}

@media (hover: hover) {
    .ae-kf-toggle:hover {
        background: rgba(255, 255, 255, 0.08);
    }

    :root[data-theme="light"] .ae-kf-toggle:hover {
        background: rgba(26, 26, 26, 0.08);
    }
}

/* Betik yoksa liste acik durur, dugme cizilmez. */
@media (scripting: none) {
    .ae-kf.is-collapsed .ae-kf-list > li:nth-child(3) {
        max-height: none;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .ae-kf.is-collapsed .ae-kf-list > li:nth-child(n + 4) {
        display: list-item;
    }

    .ae-kf-toggle {
        display: none;
    }

    .ae-kf-panel {
        padding-bottom: 18px;
    }
}

/* ==== Paket kartlari ==== */
.unified-sale-copy > fieldset.package {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin: 0 0 24px;
}

.unified-sale-copy > fieldset.package > label {
    display: block;
    min-width: 0;
}

.unified-sale-copy > fieldset.package > label > span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    min-height: 84px;
    padding: 16px 20px;
    border-radius: var(--ae-kose, 12px);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
}

/* Secili kart: paketin cerceve rengi, iki piksel kalinlikta. */
.unified-sale-copy > fieldset.package > label > input:checked + span {
    box-shadow: inset 0 0 0 1px var(--ae-accent, #38a0b6);
}

:root[data-theme="light"] .unified-sale-copy > fieldset.package > label > input:checked + span {
    box-shadow: inset 0 0 0 1px var(--ae-accent, #38a0b6);
}

.unified-sale-copy > fieldset.package > label > input:focus-visible + span {
    outline: 2px solid var(--ae-accent, #38a0b6);
    outline-offset: 2px;
}

:root[data-theme="light"] .unified-sale-copy > fieldset.package > label > input:focus-visible + span {
    outline-color: var(--ae-accent, #38a0b6);
}

.ae-pack-desc {
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    color: #aebcc4;
}

:root[data-theme="light"] .ae-pack-desc {
    color: #636466;
}

@media (max-width: 720px) {
    .unified-sale-copy > fieldset.package > label > span {
        min-height: 76px;
        font-size: 16px;
    }
}

/* ==== K1 motor videosu ==== */
/* Gorselin ustunde, ayni kutuda. Ortadaki oynat dugmesi (pencereyi acardi) gizli:
   `hidden` niteligi paketin kurallarina ragmen gecerli kalsin. */
.motor > .motor-play[hidden] {
    display: none !important;
}

.motor > .ae-motor-inline {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.motor > .ae-motor-inline.is-playing {
    opacity: 1;
}

.ae-motor-inline > .ae-motor-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Filmin ust yuzde kirki Ingilizce yazi tasir: paketin Turkce seridi orter.
   Zemin her temada siyahtir (film siyah zeminlidir). */
.ae-motor-inline > .motor-translation,
:root[data-theme="light"] .ae-motor-inline > .motor-translation {
    background: #000;
    color: #c6c6c6;
    font-size: 14px;
}

.ae-motor-inline > .motor-translation span,
:root[data-theme="light"] .ae-motor-inline > .motor-translation span {
    color: #c6c6c6;
}

.ae-motor-inline > .motor-translation b,
:root[data-theme="light"] .ae-motor-inline > .motor-translation b {
    color: #40b8c2;
    font-size: 28px;
}

@media (max-width: 720px) {
    .ae-motor-inline > .motor-translation {
        font-size: 12px;
    }

    .ae-motor-inline > .motor-translation b {
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ae-kf-toggle > svg,
    .motor > .ae-motor-inline {
        transition: none;
    }
}
