/*
| Not: kart sinifi .ust olamaz (sitenin ust cubugu .ust; urun sayfasinda ona position/top kurali gelir).
| Adim listesi (kt_adimlar; isaretleme Views/oleocon/_bolum.php). Sahip secimi docs/panel-konseptleri/urun-adim5 "B": duraklar
| dalgali bir hortumun (SVG, sunucu cizer) ustunde, icinde Font Awesome simge (yoksa sira no); kartlar sirayla ustte/altta balon,
| basligi acik yesil seritte, aciklamasi beyaz kisimda. <=900px ve 2'den az / 8'den cok adimda dikey hat (soldan inen hortum).
*/
.ad-hat { --ad-gece: #011d3a; --ad-yesil: #a3b621; --ad-yesil-k: #6f7d12; --ad-serit: #f5f9e4; --ad-kenar: #d7e3a0; --ad-cik: cubic-bezier(.22,1,.36,1);
    position: relative; height: 640px; margin: 14px 0 56px; padding: 0; list-style: none; }
.ad-hat > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
@keyframes ad-yag { to { stroke-dashoffset: -40; } }
.ad-yag { animation: ad-yag 1.6s linear infinite; }
.ad-adim { display: contents; list-style: none; }
.ad-adim::marker { content: none; }
/* Bolum basi diger yeni bolumlerle ayni (etiket yesil cizgili, baslik Tomato 40px) */
.seri-bolum--kt_adimlar .seri-bolum__etiket { display: inline-flex; align-items: center; gap: 10px; font: 700 11.5px/1.4 "Inter", sans-serif; letter-spacing: .16em; color: #6f7d12 !important; }
.seri-bolum--kt_adimlar .seri-bolum__etiket::before { content: ""; width: 24px; height: 2px; background: #a3b621; }
.seri-bolum--kt_adimlar > h2 { margin: 10px 0 0; list-style: none; font-family: "Tomato Grotesk", "Inter", sans-serif; font-weight: 600; font-size: 40px !important; line-height: 1.08 !important; letter-spacing: -.015em !important; color: #011d3a; }
@media (max-width: 991.98px) { .seri-bolum--kt_adimlar > h2 { font-size: 34px !important; } }
@media (max-width: 767.98px) { .seri-bolum--kt_adimlar > h2 { font-size: 28px !important; } }

.ad-dur { position: absolute; z-index: 2; display: grid; place-items: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: #fff; color: var(--ad-yesil-k); font-size: 21px; line-height: 1;
    box-shadow: 0 0 0 3px var(--ad-yesil), 0 0 0 8px #fff, 0 12px 22px -12px rgba(1,29,58,.5); transition: box-shadow .3s; }
.ad-dur b { font: 600 18px/1 "Tomato Grotesk", "Inter", sans-serif; font-variant-numeric: tabular-nums; }
.ad-adim:last-child .ad-dur { background: linear-gradient(160deg, #a9bc28, #7e9012); color: #fff; }

.ad-kart { position: absolute; z-index: 3; width: min(210px, calc(200% / (var(--n) + 1)), 23%); border-radius: 14px; background: #fff; transform: translateX(-50%);
    box-shadow: 0 0 0 1.5px var(--ad-kenar), 0 16px 26px -20px rgba(1,29,58,.5); transition: transform .4s var(--ad-cik), box-shadow .3s; }
.ad-kart::after { content: ""; position: absolute; left: 50%; width: 14px; height: 14px; margin-left: -7px; background: #fff; transform: rotate(45deg); }
.ad-kart--ust::after { bottom: -7px; box-shadow: 1.5px 1.5px 0 var(--ad-kenar); }
.ad-kart--alt::after { top: -7px; background: var(--ad-serit); box-shadow: -1.5px -1.5px 0 var(--ad-kenar); }
.ad-nk { position: absolute; z-index: 1; top: -12px; left: 14px; padding: 2px 9px; border-radius: 999px; background: var(--ad-gece); color: #fff; font: 600 11px/1.5 "Inter", sans-serif; font-variant-numeric: tabular-nums; }
.ad-kart h3 { margin: 0; padding: 18px 16px 12px; border-bottom: 1px solid #dfe8b5; border-radius: 14px 14px 0 0; background: linear-gradient(180deg, #f5f9e4, #edf3d2);
    font: 600 17px/1.25 "Tomato Grotesk", "Inter", sans-serif !important; letter-spacing: -.005em !important; color: var(--ad-gece); }
.ad-metin { padding: 12px 16px 16px; }
.ad-metin p { margin: 0 !important; font-size: 13px; line-height: 1.55; color: #5b6576; }
.ad-metin p + p { margin-top: 8px !important; }
.ad-kart > .ad-nk:first-child + .ad-metin { padding-top: 20px; }

@media (hover: hover) {
    .ad-adim:hover .ad-dur { box-shadow: 0 0 0 3px var(--ad-yesil), 0 0 0 8px #fff, 0 0 0 14px rgba(163,182,33,.18), 0 12px 22px -12px rgba(1,29,58,.5); }
    .ad-adim:hover .ad-kart { box-shadow: 0 0 0 1.5px var(--ad-yesil), 0 22px 32px -20px rgba(1,29,58,.55); }
    .ad-hat:not(.ad-hat--dikey) .ad-adim:hover .ad-kart--ust { transform: translateX(-50%) translateY(-3px); }
    .ad-hat:not(.ad-hat--dikey) .ad-adim:hover .ad-kart--alt { transform: translateX(-50%) translateY(3px); }
}

/* Dikey hat: dar ekran ya da adim sayisi yatay hatta sigmiyor */
@media (max-width: 900px) {
    .ad-hat { height: auto; margin: 26px 0 0; padding: 6px 2px 4px 8px; }
    .ad-hat > svg { display: none; }
}
@keyframes ad-yag-d { to { background-position: 0 40px; } }
@media (max-width: 900px) { .ad-hat::before, .ad-hat::after { content: ""; } }
.ad-hat--dikey { height: auto; margin: 26px 0 0; padding: 6px 2px 4px 8px; }
.ad-hat--dikey::before, .ad-hat--dikey::after { content: ""; }
.ad-hat::before, .ad-hat::after { position: absolute; left: 29px; top: 0; bottom: 0; width: 14px; border-radius: 7px; }
.ad-hat::before { background: #f4f6f9; box-shadow: 0 0 0 3px #c3cad4; }
.ad-hat::after { left: 33px; width: 6px; border-radius: 3px; background: repeating-linear-gradient(180deg, #c9dc3c 0 22px, transparent 22px 40px); background-size: 6px 40px; animation: ad-yag-d 1.6s linear infinite; }
@media (max-width: 900px) {
    .ad-adim { position: relative; z-index: 1; display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: start; gap: 22px; padding-bottom: 22px; }
    .ad-dur { position: relative; left: auto !important; top: auto !important; margin: 6px 0 0; }
    .ad-kart { position: relative; left: auto !important; top: auto !important; bottom: auto !important; width: auto; transform: none !important; }
    .ad-kart::after, .ad-kart--ust::after, .ad-kart--alt::after { left: -7px; top: 26px; bottom: auto; margin: 0; background: var(--ad-serit); box-shadow: -1.5px 1.5px 0 var(--ad-kenar); }
    .ad-metin p { font-size: 14px; }
}
.ad-hat--dikey .ad-adim { position: relative; z-index: 1; display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: start; gap: 22px; padding-bottom: 22px; }
.ad-hat--dikey .ad-dur { position: relative; left: auto !important; top: auto !important; margin: 6px 0 0; }
.ad-hat--dikey .ad-kart { position: relative; left: auto !important; top: auto !important; bottom: auto !important; width: auto; max-width: 760px; transform: none !important; }
.ad-hat--dikey .ad-kart::after { left: -7px; top: 26px; bottom: auto; margin: 0; background: var(--ad-serit); box-shadow: -1.5px 1.5px 0 var(--ad-kenar); }
.ad-adim:last-child { padding-bottom: 0; }

@media (prefers-reduced-motion: reduce) { .ad-yag, .ad-hat::after { animation: none; } }
