/*
| Seri sayfasinin ust bolumu (Views/oleocon/seri.php). Tek dogru kaynak: docs/panel-konseptleri/seri-hero5/index.html ("Hero · son hali");
| kurallar oradan, .seri-hero altina alinmis (tema siniflariyla carpismasin). Ustune gelme etkileri yalniz fareli aygitta (dokunmatikte
| takili kalmaz); prefers-reduced-motion'da hareket yok. Kirilimlar: >=1024 iki sutun, 768-1023 sahne yazilarin altinda + kutular 2x2,
| <768 tek sutun (seri adi 64 px), <560 dugmeler alt alta.
*/
.seri-hero {
    --mavi: #023363; --gece: #011d3a; --yesil: #a3b621; --yesil-d: #93a51b; --yesil-k: #6f7d12; --parlak: #e4f08a;
    --metin: #1f2937; --soluk: #6b7280; --cizgi: #e4e8ef; --gri: #f4f6f9; --cik: cubic-bezier(.22,1,.36,1);
    padding: 44px 0 8px;
    font-family: "Inter", sans-serif;
    color: var(--metin);
}
.seri-hero *, .seri-hero *::before, .seri-hero *::after { box-sizing: border-box; }
.seri-hero a { color: inherit; text-decoration: none; }
.seri-hero a:focus-visible, .seri-hero button:focus-visible { outline: 2px solid var(--yesil); outline-offset: 3px; }

/* ---------- Vitrin ---------- */
.seri-hero .vitrin { position: relative; display: grid; grid-template-columns: 46% 54%; min-height: 500px; border-radius: 22px; background: linear-gradient(rgba(2,51,99,.05) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(2,51,99,.05) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(180deg, #f6f8fb, #edf1f6); }
.seri-hero .vitrin--yalin { grid-template-columns: 1fr; }
.seri-hero .baslik { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 48px 28px 70px 40px; }
.seri-hero .vitrin--kutusuz .baslik { padding-bottom: 40px; }
.seri-hero .ust-etiket { display: inline-flex; align-items: center; gap: 10px; font: 700 11.5px/1.6 "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--yesil-k); }
.seri-hero .ust-etiket::before { content: ""; flex: none; width: 22px; height: 2px; background: var(--yesil); }
.seri-hero .kod { margin: 8px 0 4px; padding: 0; font: 600 92px/0.95 "Tomato Grotesk", sans-serif; letter-spacing: -.03em; color: var(--gece); text-transform: none; overflow-wrap: anywhere; }
.seri-hero .alt-bas { margin: 0; font: 500 23px/1.3 "Tomato Grotesk", sans-serif; letter-spacing: normal; color: #3b4a6b; }
.seri-hero .yazi { max-width: 440px; margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: #4b5563; }
.seri-hero .dugmeler { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 28px; }

/* ---------- Sahne: beyaz urun karti, Fotograf / Teknik cizim ---------- */
.seri-hero .sahne { position: relative; overflow: hidden; margin: 14px 14px 14px 0; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px -26px rgba(1,29,58,.35); }
.seri-hero .sahne::before { content: ""; position: absolute; left: 22%; right: 22%; bottom: 62px; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(1,29,58,.18), transparent); }
.seri-hero .sahne .kat { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 50px 40px 80px; transition: opacity .5s var(--cik), transform .6s var(--cik); }
.seri-hero .sahne .kat img { display: block; width: 100%; height: 100%; max-width: none; min-width: 0; min-height: 0; object-fit: contain; transform: scale(1.2); }
.seri-hero .sahne .kat--cizim { opacity: 0; transform: translateX(40px); }
.seri-hero .sahne .kat--cizim img { transform: none; }
.seri-hero .sahne.cizim .kat--foto { opacity: 0; transform: translateX(-40px); }
.seri-hero .sahne.cizim .kat--cizim { opacity: 1; transform: none; }
.seri-hero .sahne a.kat { cursor: zoom-in; }
.seri-hero .sahne .kat img { transition: transform .6s var(--cik); }
.seri-hero .sahne .kat--cizim, .seri-hero .sahne.cizim .kat--foto { pointer-events: none; } /* gorunmeyen katman tiklamayi almaz */
.seri-hero .sahne.cizim .kat--cizim { pointer-events: auto; }
.seri-hero .sahne-kod { pointer-events: none; }
/* Buyut simgesi: sag altta beyaz yuvarlak, lacivert ikon; fareyle ustune gelince belirir, dokunmatikte hep gorunur */
.seri-hero .buyut { position: absolute; right: 16px; bottom: 16px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--gece); box-shadow: 0 8px 18px -8px rgba(1,29,58,.45), inset 0 0 0 1px var(--cizgi); pointer-events: none; opacity: 0; transform: scale(.85); transition: opacity .3s, transform .45s var(--cik); }
.seri-hero .vitrin:not(.vitrin--kutusuz) .buyut { bottom: 44px; }
.seri-hero .buyut svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.seri-hero .sahne:has(a.kat:focus-visible) .buyut { opacity: 1; transform: none; }
@media (hover: none), (pointer: coarse) {
    .seri-hero .buyut { opacity: 1; transform: none; }
}
.seri-hero .gecis { position: absolute; right: 16px; top: 14px; z-index: 3; display: flex; padding: 4px; border-radius: 12px; background: var(--gri); box-shadow: inset 0 0 0 1px var(--cizgi); }
.seri-hero .gecis button { position: relative; z-index: 1; height: 32px; margin: 0; padding: 0 14px; border: 0; border-radius: 9px; background: none; font: 600 13px/1 "Tomato Grotesk", sans-serif; color: #4b5671; cursor: pointer; white-space: nowrap; transition: color .3s; }
.seri-hero .gecis button.on { color: #fff; }
.seri-hero .gecis .blok { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 9px; background: var(--gece); transition: transform .45s var(--cik), width .45s var(--cik); }
.seri-hero .sahne-kod { position: absolute; left: 22px; top: 20px; z-index: 2; max-width: calc(100% - 44px); font: 700 11px/1.4 "Inter", sans-serif; letter-spacing: .14em; color: #9aa3b5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seri-hero .sahne-kod:has(~ .gecis) { max-width: calc(100% - 270px); }

/* ---------- Deger kutulari: vitrinin altina biner; eksik kutu olunca kalanlar satiri doldurur ---------- */
.seri-hero .kartlar { position: relative; z-index: 4; display: flex; gap: 12px; margin: -42px 28px 0; }
.seri-hero .kartlar > div { flex: 1 1 0; min-width: 0; padding: 18px 20px 16px; border-radius: 14px; background: #fff; box-shadow: 0 18px 36px -22px rgba(1,29,58,.45), inset 0 0 0 1px var(--cizgi); }
.seri-hero .kartlar > .k-basinc { flex-grow: 1.15; }
.seri-hero .kartlar > .k-olcu { flex-grow: 1.3; }
.seri-hero .kartlar > .k-tip { flex-grow: 1.55; }
.seri-hero .kartlar > .k-adet { flex-grow: .75; }
.seri-hero .kartlar b { display: block; font: 600 28px/1.1 "Tomato Grotesk", sans-serif; color: var(--gece); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seri-hero .kartlar b i { margin-left: 3px; font-size: 15px; font-style: normal; color: var(--yesil-k); }
.seri-hero .kartlar span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.6; color: var(--soluk); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seri-hero .kartlar .koyu { position: relative; overflow: hidden; background: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 22px 22px, radial-gradient(90% 120% at 30% 20%, #0a3a6b 0%, #022a52 50%, #011d3a 100%); box-shadow: 0 18px 36px -20px rgba(1,29,58,.85), inset 0 0 0 1px rgba(255,255,255,.08); }
.seri-hero .kartlar .koyu::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; background: linear-gradient(90deg, rgba(163,182,33,0), var(--yesil), rgba(163,182,33,0)); box-shadow: 0 0 10px rgba(163,182,33,.6); }
.seri-hero .kartlar .koyu b { color: #fff; }
.seri-hero .kartlar .koyu b i { color: var(--yesil); }
.seri-hero .kartlar .koyu span { color: rgba(255,255,255,.6); }

/* ---------- E2: vitrinin ust kenarina takili yol sekmesi; etkin seri sayisiz, Tomato Grotesk ---------- */
.seri-hero .e2 { position: absolute; left: 40px; top: -1px; z-index: 2; display: flex; align-items: center; gap: 2px; max-width: calc(100% - 40px); height: 42px; padding: 0 6px; border-radius: 0 0 14px 14px; background: #fff; box-shadow: 0 10px 20px -16px rgba(1,29,58,.45); transform: translateY(-50%); }
.seri-hero .e2 a, .seri-hero .e2 b { display: flex; flex: none; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 9px; font: 500 14px/1 "Tomato Grotesk", sans-serif; color: #6b7690; white-space: nowrap; transition: background-color .25s, color .25s; }
.seri-hero .e2 a.grup { display: block; flex: 0 1 auto; min-width: 0; line-height: 30px; overflow: hidden; text-overflow: ellipsis; }
.seri-hero .e2 svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.seri-hero .e2 .ay { flex: none; color: #c3c9d3; font: 500 13px "Tomato Grotesk", sans-serif; }
.seri-hero .e2 b { background: var(--gece); color: #fff; font: 600 14px/1 "Tomato Grotesk", sans-serif; letter-spacing: .01em; }

/* ---------- Birincil: B2 akis, yesil (Teklif iste) ---------- */
.seri-hero .b2 { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 12px; font: 600 15px/1 "Tomato Grotesk", sans-serif; white-space: nowrap; background: var(--gece); color: #fff; transition: box-shadow .4s .5s, background-color 0s .9s; }
.seri-hero .b2 svg.ok { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; transition: transform .35s var(--cik); }
.seri-hero .b2 .iz { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.seri-hero .b2 .iz path { fill: none; stroke: var(--parlak); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 3px rgba(163,182,33,.9)); opacity: 0; transition: stroke-dashoffset 0s .4s, opacity .3s; }
.seri-hero .b2::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, #a9bc28, #8c9d16); clip-path: inset(0 100% 0 0 round 12px); transition: clip-path .5s var(--cik); }
.seri-hero .b2.b2--g { background-color: #93a51b; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 22px -12px rgba(110,125,10,.9); }
.seri-hero .b2.b2--g::before { background: linear-gradient(180deg, #b6c93a 0%, #9cae1f 55%, #879813 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.seri-hero .b2.b2--g .iz path { stroke: #f4fbc4; }

/* ---------- Ikincil: B lacivert gecme (Tum urunler; ok asagi, urun tablosuna iner): ortak bilesen .o-gecme .o-gecme--asagi (assets/oleocon/ortak.css) ---------- */

@keyframes seri-b2-iz { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }

/* Ustune gelme: yalniz fareli aygitta (dokunmatikte takili kalmasin); klavyede :focus-visible ayni etkiyi verir */
@media (hover: hover) and (pointer: fine) {
    .seri-hero .b2:hover svg.ok { transform: translateX(3px); }
    .seri-hero .b2:hover .iz path { stroke-dashoffset: 0; opacity: 1; animation: seri-b2-iz 1.3s forwards; transition: stroke-dashoffset .5s cubic-bezier(.5,0,.2,1), opacity 0s; }
    .seri-hero .b2:hover::before { clip-path: inset(0 0 0 0 round 12px); transition: clip-path .5s var(--cik) .38s; }
    .seri-hero .b2:hover { background: #8c9d16; color: #fff; box-shadow: 0 10px 24px -10px rgba(147,165,27,.8); }
    .seri-hero .b2.b2--g:hover { box-shadow: 0 0 0 1px rgba(228,240,138,.6), 0 12px 28px -10px rgba(147,165,27,.9); }
    .seri-hero .e2 a:hover { background: var(--gri); color: var(--gece); }
    .seri-hero .sahne:hover .kat--foto img { transform: scale(1.236); }
    .seri-hero .sahne:hover .kat--cizim img { transform: scale(1.03); }
    .seri-hero .sahne:hover .buyut { opacity: 1; transform: none; }
    .seri-hero .sahne:has(.gecis:hover) .kat img { transform: scale(1.2); }
    .seri-hero .sahne:has(.gecis:hover) .kat--cizim img { transform: none; }
    .seri-hero .sahne:has(.gecis:hover) .buyut { opacity: 0; }
}
.seri-hero .b2:focus-visible::before { clip-path: inset(0 0 0 0 round 12px); }

/* ---------- Kirilimlar ---------- */
@media (max-width: 1279.98px) {
    .seri-hero .baslik { padding: 44px 24px 70px 32px; }
    .seri-hero .kod { font-size: 84px; }
    .seri-hero .e2 { left: 32px; }
}
/* 768-1023: sahne yazilarin altina iner (tam genislik), kutular 2x2 */
@media (max-width: 1023.98px) {
    .seri-hero .vitrin { grid-template-columns: 1fr; min-height: 0; }
    .seri-hero .baslik { padding: 48px 32px 28px; }
    .seri-hero .yazi { max-width: 600px; }
    .seri-hero .dugmeler { margin-top: 0; }
    .seri-hero .sahne { height: 400px; margin: 0 14px 14px; }
    .seri-hero .vitrin--kutusuz .baslik { padding-bottom: 28px; }
    .seri-hero .kartlar { display: grid; grid-template-columns: 1fr 1fr; margin: -42px 20px 0; }
    .seri-hero .kartlar > div:last-child:nth-child(odd) { grid-column: span 2; }
    .seri-hero .kartlar--1 { grid-template-columns: 1fr; }
    .seri-hero .kartlar--1 > div:last-child:nth-child(odd) { grid-column: auto; }
}
/* <768: tek sutun; seri adi kuculur, E2 tasmadan sigar */
@media (max-width: 767.98px) {
    .seri-hero { padding-top: 36px; }
    .seri-hero .vitrin { border-radius: 18px; }
    .seri-hero .baslik { padding: 42px 20px 24px; }
    .seri-hero .e2 { left: 14px; max-width: calc(100% - 28px); height: 38px; padding: 0 4px; border-radius: 0 0 12px 12px; }
    .seri-hero .e2 a, .seri-hero .e2 b { height: 28px; padding: 0 9px; font-size: 13px; }
    .seri-hero .e2 a.grup { line-height: 28px; }
    .seri-hero .ust-etiket { font-size: 11px; letter-spacing: .12em; }
    .seri-hero .kod { margin-top: 6px; font-size: 64px; }
    .seri-hero .alt-bas { font-size: 19px; }
    .seri-hero .yazi { font-size: 14.5px; }
    .seri-hero .dugmeler { padding-top: 22px; }
    .seri-hero .sahne { height: 300px; margin: 0 10px 10px; border-radius: 14px; }
    .seri-hero .sahne .kat { padding: 52px 24px 56px; }
    .seri-hero .sahne .kat img { transform: scale(1.1); }
    .seri-hero .sahne .kat--cizim img { transform: none; }
    .seri-hero .sahne::before { bottom: 40px; }
    .seri-hero .sahne-kod, .seri-hero .sahne-kod:has(~ .gecis) { top: auto; bottom: 14px; left: 16px; max-width: calc(100% - 32px); }
    .seri-hero .vitrin:not(.vitrin--kutusuz) .sahne-kod { bottom: 46px; }
    .seri-hero .sahne-kod, .seri-hero .sahne-kod:has(~ .gecis) { max-width: calc(100% - 84px); }
    .seri-hero .buyut { right: 12px; bottom: 12px; width: 38px; height: 38px; }
    .seri-hero .vitrin:not(.vitrin--kutusuz) .buyut { bottom: 36px; }
    .seri-hero .gecis { top: 10px; right: 10px; }
    .seri-hero .gecis button { height: 30px; padding: 0 11px; font-size: 12.5px; }
    .seri-hero .kartlar { gap: 10px; margin: -36px 12px 0; }
    .seri-hero .kartlar > div { padding: 14px 14px 12px; border-radius: 12px; }
    .seri-hero .kartlar b { font-size: 22px; }
    .seri-hero .kartlar b i { font-size: 13px; }
    .seri-hero .kartlar span { font-size: 12px; }
}
/* <560: dugmeler alt alta, tam genislik */
@media (max-width: 559.98px) {
    .seri-hero .dugmeler { flex-direction: column; align-items: stretch; }
    .seri-hero .b2 { justify-content: center; }
    .seri-hero .o-gecme .e { flex: 1 1 auto; justify-content: center; }
}
/* ---------- Lightbox (temanin uni-core lightbox'i, body'ye eklenir; bu dosya yalniz seri sayfasinda yuklu): lacivert perde,
   gorsel beyaz kartta (seffaf cizimler okunur), yumusak acilis/kapanis, yuvarlak beyaz dugmeler ---------- */
.uc-lightbox { background: rgba(1,22,44,.94); transition: opacity .35s cubic-bezier(.22,1,.36,1); }
.uc-lightbox-items > * > img { box-sizing: border-box; max-width: min(1200px, calc(100vw - 160px)); max-height: calc(100vh - 150px); padding: 28px; border-radius: 18px; background: #fff; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); object-fit: contain; }
.uc-lightbox-toolbar { background: none; padding: 16px; }
.uc-lightbox .uc-lightbox-toolbar-icon.uc-close-large { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: #fff; color: #011d3a; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); transition: background-color .25s, color .25s; }
.uc-lightbox-toolbar-icon.uc-close-large svg { width: 16px; height: 16px; }
.uc-lightbox .uc-lightbox-button.uc-slidenav { width: 48px; height: 48px; margin: 0 20px; border-radius: 50%; background: #fff; color: #011d3a; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); transition: background-color .25s, color .25s, opacity .3s; }
.uc-lightbox .uc-lightbox-button svg { width: 9px; height: auto; margin-left: -1px; }
.uc-lightbox .uc-slidenav-next svg { margin: 0 -2px 0 0; }
.uc-lightbox .uc-lightbox-button svg > * { stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.uc-lightbox .uc-lightbox-button.uc-slidenav { color: #011d3a !important; } /* tema: .uc-lightbox-button { color: #fff !important } */
.uc-lightbox .uc-lightbox-button.uc-slidenav:hover { color: #fff !important; }
.uc-lightbox .uc-lightbox-toolbar-icon.uc-close-large:hover, .uc-lightbox .uc-lightbox-button.uc-slidenav:hover { background: #a3b621; color: #fff; }
.uc-lightbox-caption { padding: 14px 16px 22px; font: 600 15px/1.3 "Tomato Grotesk", sans-serif; letter-spacing: .02em; color: #fff; }
@media (max-width: 767.98px) {
    .uc-lightbox-items > * > img { max-width: calc(100vw - 24px); max-height: calc(100vh - 170px); padding: 16px; border-radius: 14px; }
    .uc-lightbox .uc-lightbox-button.uc-slidenav { top: auto; bottom: 64px; width: 44px; height: 44px; margin: 0 12px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .uc-lightbox { transition: none; }
    .seri-hero *, .seri-hero *::before, .seri-hero *::after { transition: none !important; animation: none !important; }
    .seri-hero .b2 .iz { display: none; }
}

/* Teklif iste (b2): ortak .o-akis ile ayni giris / cikis; zemin rengi degismez (cikista renk atlamasi yok), dolgu kenarlari 1 px tasar */
.seri-hero .b2 { transition: box-shadow .35s ease; }
.seri-hero .b2::before { inset: -1px; border-radius: 13px; clip-path: inset(0 100% 0 0 round 13px); transition: clip-path .45s cubic-bezier(.4,0,.2,1); }
@media (hover: hover) {
  .seri-hero .b2:hover { background: var(--gece); transition: box-shadow .4s ease .5s; }
  .seri-hero .b2.b2--g:hover { background-color: #93a51b; }
  .seri-hero .b2:hover::before { clip-path: inset(0 0 0 0 round 13px); }
}
