/*
| Urun sayfasinin ust kismi ve olculer tablosu (Views/oleocon/urun.php, davranis urun-ust.js). Konsept:
| docs/panel-konseptleri/urun-ust6/index.html (E3, yol Y1, tanim satiri S1). Buyutme penceresinin gorunumu seri-hero.css'te (ayni pencere).
| Olculer tablosu seri-tablo.css'in kendisi; burada yalniz urun sayfasina ozel farklar (ust blok, ok sutunu ve govde boyu ara basligi yok).
*/
.urun-ust, .urun-olcu, .urun-perf { --uu-gece: #011d3a; --uu-yesil: #a3b621; --uu-yesil-d: #93a51b; --uu-yesil-k: #6f7d12; --uu-soluk: #6b7280; --uu-cizgi: #e4e8ef; --uu-gri: #f4f6f9; --uu-cik: cubic-bezier(.22, 1, .36, 1); }
.urun-ust { padding: 26px 0 56px; }
.urun-ust *, .urun-ust *::before, .urun-ust *::after, .urun-olcu *, .urun-olcu *::before, .urun-olcu *::after, .urun-perf *, .urun-perf *::before, .urun-perf *::after { box-sizing: border-box; }

/* Yol seridi (Y1) */
.uu-yol { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; width: max-content; max-width: 100%; padding: 4px; border-radius: 14px; background: var(--uu-gri); }
.uu-yol a, .uu-yol b { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 10px; font: 500 14px/1 "Tomato Grotesk", "Inter", sans-serif; color: #5b6680; white-space: nowrap; text-decoration: none; transition: background-color .25s, color .25s, box-shadow .25s; }
.uu-yol a:hover { background: #fff; color: var(--uu-gece); box-shadow: 0 1px 3px rgba(1, 29, 58, .12); }
.uu-yol a svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.uu-yol .uu-ay { width: 14px; height: 14px; stroke: #b5bdca; fill: none; stroke-width: 2; flex: none; }
.uu-yol b { background: #fff; color: var(--uu-gece); font-weight: 600; box-shadow: 0 1px 3px rgba(1, 29, 58, .12); }
.uu-yol b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--uu-yesil); box-shadow: 0 0 0 3px rgba(163, 182, 33, .2); }

/* Ust: solda bilgi, sagda gorsel */
.uu-ust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 60px; align-items: center; margin-top: 34px; }
.uu-ust--yalin { grid-template-columns: minmax(0, 1fr); }
.uu-bilgi { position: relative; padding-left: 26px; }
.uu-bilgi::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--uu-yesil) 0, var(--uu-yesil) 64px, var(--uu-cizgi) 64px); }
.uu-etiket { font: 700 11px/1.4 "Inter", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--uu-yesil-k); }
.uu-ad-satir { display: flex; align-items: center; gap: 12px; margin: 10px 0 12px; }
.uu-ad { margin: 0; font: 600 46px/1.02 "Tomato Grotesk", "Inter", sans-serif; letter-spacing: -.018em; color: var(--uu-gece); overflow-wrap: anywhere; }
.uu-kopya { position: relative; flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 11px; background: var(--uu-gri); color: #5b6680; cursor: pointer; transition: background-color .25s, color .25s; }
.uu-kopya svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; }
.uu-kopya:hover, .uu-kopya:focus-visible { background: var(--uu-gece); color: #fff; }
.uu-kopya span { position: absolute; left: 50%; bottom: calc(100% + 8px); padding: 4px 9px; border-radius: 7px; background: var(--uu-gece); color: #fff; font: 600 12px/1.3 "Inter", sans-serif; white-space: nowrap; transform: translate(-50%, 4px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .3s var(--uu-cik); }
.uu-kopya.oldu span { opacity: 1; transform: translate(-50%, 0); }
.uu-baslik { margin: 0 0 6px; font: 500 18px/1.35 "Tomato Grotesk", "Inter", sans-serif; color: #3f4a5c; }
.uu-tanim { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font: 500 15.5px/1.4 "Tomato Grotesk", "Inter", sans-serif; color: #56627a; }
.uu-tanim i { width: 4px; height: 4px; border-radius: 50%; background: #c3c9d3; }
.uu-aciklama { max-width: 500px; margin: 22px 0 0; font-size: 16px; line-height: 1.7; color: #3f4a5c; }
.uu-dugmeler { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.uu-seri { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--uu-cizgi); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; } /* ikinci baglanti: karsi uc */

/* Gorsel karti: fotograf oldugu gibi, beyaz kart; kosede teknik cizim isaretleri; altta kod + gecis */
.uu-gorsel { position: relative; aspect-ratio: 1.18; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--uu-cizgi); }
.uu-kose { position: absolute; width: 18px; height: 18px; border: 0 solid #c9d1dc; }
.uu-k1 { left: 18px; top: 18px; border-left-width: 1.5px; border-top-width: 1.5px; }
.uu-k2 { right: 18px; top: 18px; border-right-width: 1.5px; border-top-width: 1.5px; }
.uu-k3 { left: 18px; bottom: 70px; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.uu-k4 { right: 18px; bottom: 70px; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.uu-kat { position: absolute; left: 0; right: 0; top: 0; bottom: 56px; display: flex; align-items: center; justify-content: center; padding: 40px 48px 20px; cursor: zoom-in; transition: opacity .45s var(--uu-cik), transform .5s var(--uu-cik); }
.uu-kat img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.uu-kat--foto img { max-width: 76%; }
.uu-gorsel--tek .uu-kat--foto img { max-width: 100%; }
.uu-kat--cizim { opacity: 0; transform: translateY(8px); pointer-events: none; }
.uu-gorsel.cizim .uu-kat--foto { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.uu-gorsel.cizim .uu-kat--cizim { opacity: 1; transform: none; pointer-events: auto; }
.uu-gorsel-alt { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 12px 0 20px; border-top: 1px solid var(--uu-cizgi); background: #fbfcfd; }
.uu-gorsel-alt > span { font: 600 12px/1.3 "Inter", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #8a94a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uu-gecis { position: relative; flex: none; display: flex; padding: 3px; border-radius: 10px; background: var(--uu-gri); }
.uu-gecis button { position: relative; z-index: 1; height: 30px; padding: 0 13px; border: 0; border-radius: 8px; background: none; font: 600 12.5px/1 "Tomato Grotesk", "Inter", sans-serif; color: #6b7280; white-space: nowrap; cursor: pointer; transition: color .3s; }
.uu-gecis button.on { color: #fff; }
.uu-blok { position: absolute; top: 3px; bottom: 3px; left: 3px; border-radius: 8px; background: var(--uu-gece); transition: transform .45s var(--uu-cik), width .45s var(--uu-cik); }
.uu-buyut { position: absolute; right: 16px; top: 16px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 1px var(--uu-cizgi); color: var(--uu-gece); cursor: pointer; transition: background-color .25s, color .25s; }
.uu-buyut svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; }
.uu-buyut:hover, .uu-buyut:focus-visible { background: var(--uu-gece); color: #fff; }

/* Olculer: seri tablosu */
.uu-olculer { margin-top: 64px; scroll-margin-top: 90px; }
.uu-olcu-bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.uu-etiket--cizgi { display: inline-flex; align-items: center; gap: 10px; }
.uu-etiket--cizgi::before { content: ""; width: 22px; height: 2px; background: var(--uu-yesil); }
.uu-olcu-bas h2 { margin: 6px 0 0; font: 600 30px/1.15 "Tomato Grotesk", "Inter", sans-serif; letter-spacing: -.01em; color: var(--uu-gece); }
.uu-olcu-bas p { margin: 6px 0 0; font-size: 14px; color: var(--uu-soluk); }
.uu-birim { flex: none; display: inline-flex; padding: 4px; border-radius: 12px; background: var(--uu-gri); }
.uu-birim[hidden] { display: none; }
.uu-birim button { height: 38px; padding: 0 18px; border: 0; border-radius: 9px; background: none; font: 600 14.5px/1 "Tomato Grotesk", "Inter", sans-serif; color: #6b7280; cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s; }
.uu-birim button.on { background: #fff; color: var(--uu-gece); box-shadow: 0 1px 4px rgba(1, 29, 58, .18); }
.uu-birim button:hover:not(.on) { color: var(--uu-gece); }
.uu-olculer .blok-ust, .uu-olculer .blok-alt, .uu-olculer .k-ok, .uu-olculer tr.grup { display: none !important; }
.uu-olculer .seri-tablo-alan { left: 0; width: auto; transform: none; }
.uu-olculer tr.bu-urun > * { background: #f2f7dc !important; }
.uu-olculer tr.bu-urun > :first-child { box-shadow: inset 3px 0 0 var(--uu-yesil-d); }

/* Olculer kendi kabinda (bandin altinda) */
.urun-olcu { padding: 40px 0 0; }
.urun-olcu .uu-olculer { margin-top: 0; }
.urun-gecici .seri-bolum, .uu-olculer { scroll-margin-top: 96px; }

/* Performans (sahip secimi P2: docs/panel-konseptleri/urun-perf3): solda manometre (sunucuda SVG), sagda adlari baslik gibi liste,
   altta degeri bekleyen satirlar "talep uzerine" kutusunda + Teknik veri iste (.o-gecme) */
.urun-perf { padding: 56px 0 0; }
.uu-perf { scroll-margin-top: 96px; }
.uu-pf { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 40px; align-items: center; }
.uu-pf--yalin { grid-template-columns: minmax(0, 1fr); }
.uu-olcer { position: relative; padding: 26px 26px 22px; border-radius: 22px; background: radial-gradient(90% 90% at 50% 20%, #fff 0%, #f3f6f9 100%); box-shadow: inset 0 0 0 1px var(--uu-cizgi); text-align: center; }
.uu-olcer svg { display: block; width: 100%; height: auto; overflow: visible; font-family: "Inter", sans-serif; }
.uu-olcer-deger { margin-top: 2px; font: 600 44px/1 "Tomato Grotesk", "Inter", sans-serif; color: var(--uu-gece); }
.uu-olcer-deger i { margin-left: 4px; font: 500 17px "Inter", sans-serif; font-style: normal; color: var(--uu-yesil-k); }
.uu-olcer-alt { margin-top: 8px; font-size: 13px; color: var(--uu-soluk); }
.uu-olcer-alt b { color: var(--uu-gece); font-weight: 600; white-space: nowrap; }
.uu-pf-liste { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--uu-gece); }
.uu-pf-liste li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 2px; border-bottom: 1px solid var(--uu-cizgi); }
.uu-pf-liste li > span { font: 600 18px/1.3 "Tomato Grotesk", "Inter", sans-serif; letter-spacing: -.005em; color: var(--uu-gece); }
.uu-pf-liste li b { font: 500 17px/1.3 "Tomato Grotesk", "Inter", sans-serif; color: #3f4a5c; text-align: right; }
.uu-pf-liste li b small { display: block; font: 500 12px/1.4 "Inter", sans-serif; color: #8a94a6; }
.uu-talep { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: #f6f8fa; box-shadow: inset 0 0 0 1px var(--uu-cizgi); font-size: 14px; color: #4b5563; }
.uu-talep b { color: var(--uu-gece); font-weight: 600; }
.uu-talep-lst { display: inline-flex; flex-wrap: wrap; gap: 6px; vertical-align: middle; }
.uu-talep-lst span { padding: 2px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #dde3ea; font: 500 13px "Tomato Grotesk", "Inter", sans-serif; color: #5b6680; }

/* "Bu sayfada" bandi (sahip secimi docs/panel-konseptleri/urun-bant4 "N2", urun resmi ve teklif dugmesi olmadan; davranis urun-bant.js):
   acik gri zemin; solda sabit urun kimligi (kod + "08 / 13 · okunan bolumun adi"; kaymaz, telefonda bolum adi yok); sagda beyaz kanalda
   baglantilar, okunan bolumun altina yesil kapsul kayar. Ust kismin altinda baslar, gelince sitenin ust bolumunun altina (masaustunde en
   uste) yapisir; baglantilar sigmazsa yana kayar, kenarlar soluklasir. */
.ub { position: sticky; top: 0; z-index: 840; padding: 10px 0; background: rgba(244, 246, 249, .97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid #e4e8ef; border-bottom: 1px solid #e4e8ef; transition: box-shadow .3s; }
.ub.yapisti { box-shadow: 0 16px 28px -22px rgba(1, 29, 58, .55); }
.ub *, .ub *::before, .ub *::after { box-sizing: border-box; }
.ub-ic { display: flex; align-items: center; gap: 16px; }
.ub-kim { flex: none; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding-right: 18px; border-right: 1px solid #dfe4eb; line-height: 1.2; white-space: nowrap; }
.ub-kim b { font: 600 15px/1.15 "Tomato Grotesk", "Inter", sans-serif; color: #011d3a; }
.ub-kim small { display: block; max-width: 230px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; font: 600 11.5px/1.3 "Inter", sans-serif; color: #8a93a1; }
.ub-kim small i { font-style: normal; color: #6f7d12; }
.ub-kanal { position: relative; flex: 1; min-width: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; padding: 4px; border-radius: 13px; background: #fff; box-shadow: inset 0 0 0 1px #dde3ea; }
.ub-kanal::-webkit-scrollbar { display: none; }
.ub-kanal.fs { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px); mask-image: linear-gradient(90deg, transparent, #000 36px); }
.ub-kanal.fe { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
.ub-kanal.fs.fe { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
.ub-hat { position: relative; display: flex; align-items: center; gap: 2px; width: max-content; min-width: 100%; }
.ub-hat a { position: relative; z-index: 1; display: inline-flex; align-items: center; height: 38px; padding: 0 15px; border-radius: 10px; font: 500 14px/1 "Tomato Grotesk", "Inter", sans-serif; color: #5b6680; white-space: nowrap; text-decoration: none; transition: color .3s; }
.ub-hat a:hover { color: #011d3a; }
.ub-hat a.on, .ub-hat a.on:hover { color: #fff; font-weight: 600; }
.ub-hat a:focus-visible { outline: 2px solid #a3b621; outline-offset: 2px; }
.ub-kapsul { position: absolute; left: 0; top: 0; width: 0; height: 38px; border-radius: 10px; background: linear-gradient(180deg, #9cae1f 0%, #7e9012 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 16px -8px rgba(80, 95, 5, .9); opacity: 0; transition: transform .45s cubic-bezier(.22, 1, .36, 1), width .45s cubic-bezier(.22, 1, .36, 1), opacity .3s; }
.ub-kapsul.var { opacity: 1; }
/* Masaustunde bant varken sitenin ust bolumu yapismaz (seri sayfasindaki gibi); telefonda yapiskan kalir (menu dugmesi) */
@media (min-width: 1024px) {
    html:not(.ust-dar):has([data-urun-bant]) .ust { position: relative; top: 0; }
}

/* Tablet: tek sutun, gorsel ustte */
@media (max-width: 1024px) {
    .uu-ust { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .uu-gorsel { order: -1; aspect-ratio: 1.55; }
}
@media (max-width: 767.98px) {
    .urun-ust { padding: 18px 0 30px; }
    .uu-yol a, .uu-yol b { height: 30px; padding: 0 9px; font-size: 13px; }
    .uu-yol .uu-ana { display: none; }
    .uu-ust { gap: 26px; margin-top: 22px; }
    .uu-gorsel { aspect-ratio: 1.08; }
    .uu-gorsel-alt > span { display: none; }
    .uu-gorsel-alt { justify-content: flex-end; }
    .uu-ad { font-size: 34px; }
    .uu-bilgi { padding-left: 18px; }
    .uu-olculer { margin-top: 44px; }
    .uu-olcu-bas { flex-direction: column; align-items: flex-start; }
    .uu-olcu-bas h2 { font-size: 24px; }
    .urun-olcu { padding-top: 30px; }
    .urun-perf { padding-top: 40px; }
    .uu-pf { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .uu-pf-liste li > span { font-size: 16.5px; }
    .ub { padding: 8px 0; }
    .ub > .container { padding-right: 0; }
    .ub-ic { gap: 10px; }
    .ub-kanal { border-radius: 12px 0 0 12px; }
    .ub-kim { padding-right: 10px; }
    .ub-kim b { font-size: 13.5px; }
    .ub-kim small { font-size: 11px; }
    .ub-kim small > span { display: none; }
    .ub-hat a { height: 34px; padding: 0 12px; font-size: 13.5px; }
    .ub-kapsul { height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
    .uu-kat, .uu-blok, .uu-kopya span, .ub-kapsul { transition: none; }
}
