/* himmetusta.com — ürün sayfası (Görünüm 2, 25.11.2026): görsel kaydırıcısı + tam ekran büyütme (assets/js/hu-galeri.js),
   ikonlu destek kartları ve koyu iletişim şeridi. Şablon urun-detay.php; temel .hu-ud stilleri şablonun içinde.
   JS'siz: şerit elle kaydırılır, küçük görseller çapa bağlantısıdır; hiçbir şey gizlenmez. */
.hu-ud__medya { min-width: 0; }
.hu-ud .hu-galeri { position: relative; display: block; padding: 0; min-height: 0; overflow: hidden; border-radius: 22px; background: radial-gradient(120% 90% at 50% 0%, #fff 0%, #f1f6f8 72%, #e6eef2 100%); border: 1px solid var(--hu-cizgi, #e3e9ee); }
.hu-galeri__serit { list-style: none; margin: 0; padding: 0; display: flex; height: clamp(320px, 38vw, 540px); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
.hu-galeri__serit::-webkit-scrollbar { display: none; }
.hu-galeri__serit:focus-visible { outline: 3px solid var(--hu-ana, #004c63); outline-offset: -3px; }
.hu-galeri__kare { flex: 0 0 100%; margin: 0; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; padding: 30px; overflow: hidden; }
.hu-ud .hu-galeri__kare img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .25s ease-out; }
.hu-galeri--tek .hu-galeri__serit { overflow: hidden; }
.hu-galeri__ok, .hu-galeri__buyut { position: absolute; z-index: 3; width: 46px; height: 46px; padding: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--hu-ana, #004c63); background: rgba(255, 255, 255, .94); border: 1px solid var(--hu-cizgi, #e3e9ee); box-shadow: 0 8px 20px rgba(8, 40, 55, .12); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, opacity .2s; }
.hu-galeri__ok[hidden], .hu-galeri__sayac[hidden] { display: none; }
.hu-galeri__ok svg, .hu-galeri__buyut svg { width: 22px; height: 22px; }
.hu-galeri__ok { top: 50%; margin-top: -23px; }
.hu-galeri__ok--onceki { left: 14px; }
.hu-galeri__ok--sonraki { right: 14px; }
.hu-galeri__ok:hover, .hu-galeri__buyut:hover { background: var(--hu-ana, #004c63); color: #fff; border-color: var(--hu-ana, #004c63); }
.hu-galeri__ok:disabled { opacity: 0; pointer-events: none; }
.hu-galeri__buyut { right: 14px; bottom: 14px; }
.hu-galeri__sayac { position: absolute; left: 16px; bottom: 16px; z-index: 3; margin: 0; padding: 5px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.4; color: #fff; background: rgba(6, 44, 56, .8); font-variant-numeric: tabular-nums; pointer-events: none; }
.hu-galeri__ok:focus-visible, .hu-galeri__buyut:focus-visible, .hu-galeri__kucuk:focus-visible, .hu-destek__kart:focus-visible, .hu-destek__bag:focus-visible { outline: 3px solid var(--hu-ana, #004c63); outline-offset: 2px; }
.hu-galeri__kucukler { list-style: none; margin: 12px -3px 0; padding: 3px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.hu-galeri__kucukler::-webkit-scrollbar { display: none; }
.hu-galeri__kucukler > li { flex: 0 0 auto; margin: 0; }
.hu-galeri__kucuk { display: flex; align-items: center; justify-content: center; width: 82px; height: 82px; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--hu-cizgi, #e3e9ee); opacity: .7; transition: box-shadow .2s, opacity .2s, transform .2s, border-color .2s; }
.hu-ud .hu-galeri__kucuk img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.hu-galeri__kucuk:hover, .hu-galeri__kucuk[aria-current="true"] { opacity: 1; }
.hu-galeri__kucuk[aria-current="true"] { border-color: var(--hu-ana, #004c63); box-shadow: 0 0 0 2px var(--hu-ana, #004c63); transform: translateY(-2px); }
.hu-gizli { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* tam ekran büyütme */
html.hu-buyut-acik { overflow: hidden; }
.hu-buyut { position: fixed; inset: 0; z-index: 100000; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: 1fr auto; align-items: center; gap: 8px; padding: 64px 16px 14px; background: rgba(4, 31, 40, .95); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .22s; }
.hu-buyut[hidden] { display: none; }
.hu-buyut--acik { opacity: 1; }
.hu-buyut__sahne { grid-column: 2; grid-row: 1; min-width: 0; min-height: 0; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hu-buyut__gorsel { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 14px; background: #fff; cursor: zoom-in; transform: scale(.96); transition: transform .25s; }
.hu-buyut--acik .hu-buyut__gorsel { transform: none; }
.hu-buyut__gorsel { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; will-change: transform; }
/* yakınken: görsel tıklanan noktaya doğru ölçeklenir (dönüşümü JS yazar), sürükleyerek gezilir */
.hu-buyut--yakin .hu-buyut__gorsel { cursor: grab; touch-action: none; border-radius: 0; }
.hu-buyut--surukle .hu-buyut__gorsel { cursor: grabbing; transition: none; }
.hu-buyut__ok, .hu-buyut__kapat { width: 50px; height: 50px; padding: 0; border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); transition: background-color .2s, color .2s; }
.hu-buyut__ok svg, .hu-buyut__kapat svg { width: 22px; height: 22px; }
.hu-buyut__ok:hover, .hu-buyut__kapat:hover { background: #fff; color: #004c63; }
.hu-buyut__ok:focus-visible, .hu-buyut__kapat:focus-visible, .hu-buyut__kucuk:focus-visible { outline: 3px solid #6fc3d8; outline-offset: 2px; }
.hu-buyut__ok--onceki { grid-column: 1; grid-row: 1; }
.hu-buyut__ok--sonraki { grid-column: 3; grid-row: 1; }
.hu-buyut__kapat { position: absolute; right: 16px; top: 10px; }
.hu-buyut__sayac { position: absolute; left: 20px; top: 22px; margin: 0; color: rgba(255, 255, 255, .7); font-weight: 600; font-variant-numeric: tabular-nums; }
.hu-buyut__sayac b { color: #fff; }
.hu-buyut__kucukler { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px; }
.hu-buyut__kucuk { flex: 0 0 auto; width: 64px; height: 64px; padding: 4px; border-radius: 12px; background: #fff; border: 0; cursor: pointer; opacity: .55; transition: opacity .2s, box-shadow .2s; }
.hu-buyut__kucuk img { width: 100%; height: 100%; object-fit: contain; }
.hu-buyut__kucuk:hover, .hu-buyut__kucuk.etkin { opacity: 1; }
.hu-buyut__kucuk.etkin { box-shadow: 0 0 0 3px #6fc3d8; }
.hu-buyut--tek .hu-buyut__ok, .hu-buyut--tek .hu-buyut__sayac, .hu-buyut--tek .hu-buyut__kucukler { display: none; }
@media (max-width: 699px) {
  .hu-buyut { padding: 60px 8px 12px; gap: 4px; }
  .hu-buyut__ok { position: absolute; top: 50%; margin-top: -25px; z-index: 2; background: rgba(6, 44, 56, .75); }
  .hu-buyut__ok--onceki { left: 8px; }
  .hu-buyut__ok--sonraki { right: 8px; }
  .hu-buyut__sahne { grid-column: 1 / -1; }
}

/* destek kartları + koyu iletişim şeridi */
.hu-destek { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--hu-cizgi, #e3e9ee); display: grid; gap: 14px; }
.hu-destek svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.hu-destek__kartlar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hu-destek__kartlar > li { margin: 0; display: flex; }
.hu-destek__kartlar > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.hu-ud .hu-destek__kart { position: relative; flex: 1 1 auto; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 14px 15px; border: 1px solid var(--hu-cizgi, #e3e9ee); border-radius: 16px; background: #fff; overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .25s; }
.hu-destek__kart::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, #004c63, #6fc3d8); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.hu-ud .hu-destek__kart:hover { border-color: rgba(0, 76, 99, .45); box-shadow: 0 12px 26px rgba(8, 40, 55, .1); transform: translateY(-2px); }
.hu-destek__kart:hover::after { transform: scaleX(1); }
.hu-destek__kart svg { grid-row: span 2; width: 42px; height: 42px; padding: 9px; border-radius: 12px; color: var(--hu-ana, #004c63); background: #e6f0f3; }
.hu-destek__kart b { font-size: 15px; font-weight: 600; color: #0f2233; line-height: 1.3; }
.hu-destek__kart span { font-size: 13px; color: var(--hu-soluk, #5b6975); line-height: 1.4; margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hu-destek__hat { position: relative; padding: 18px 18px; border-radius: 18px; color: #fff; overflow: hidden; background: linear-gradient(135deg, #062c38 0%, #004c63 100%); }
.hu-destek__hat::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 14px); pointer-events: none; }
.hu-destek__hat-yazi { position: relative; margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .86); display: flex; align-items: flex-start; gap: 10px; }
.hu-destek__nabiz { width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); flex: 0 0 auto; }
.hu-destek__hat-dugmeler { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.hu-ud .hu-destek__bag { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); transition: background-color .25s, border-color .25s, transform .25s; }
.hu-ud .hu-destek__bag:hover { color: #fff; background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .5); transform: translateY(-2px); }
.hu-ud .hu-destek__bag--wa:hover { background: #17803f; border-color: #17803f; }
.hu-destek__bag svg { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.hu-destek__bag span { display: flex; flex-direction: column; font-weight: 600; font-size: 16px; line-height: 1.25; min-width: 0; }
.hu-destek__bag small { font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .66); }
@keyframes hu-nabiz { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
@media (prefers-reduced-motion: no-preference) { .hu-destek__nabiz { animation: hu-nabiz 2s infinite; } }
@media (max-width: 991px) { .hu-galeri__serit { height: clamp(280px, 62vw, 460px); } }
@media (max-width: 575px) {
  .hu-ud .hu-galeri { border-radius: 18px; }
  .hu-galeri__kare { padding: 20px; }
  .hu-galeri__kucuk { width: 68px; height: 68px; }
  .hu-galeri__ok { width: 42px; height: 42px; margin-top: -21px; }
  .hu-galeri__ok--onceki { left: 8px; } .hu-galeri__ok--sonraki { right: 8px; }
}
@media (max-width: 420px) { .hu-destek__kartlar { grid-template-columns: minmax(0, 1fr); } }
@media print { .hu-galeri__ok, .hu-galeri__buyut, .hu-galeri__sayac, .hu-galeri__kucukler, .hu-buyut { display: none !important; } .hu-galeri__serit { overflow: visible; flex-wrap: wrap; height: auto; } }
