/*
  HepsiTenis Kurumsal Stil Dosyası
  Amaç: Tenis temalı renk paleti ve üst menü/hero bileşenleri için temel stiller
  Not:
    - Node/Vite olmadan da çalışır. Daha sonra Vite entegrasyonuna kolay taşınsın diye sade tutulmuştur.
*/

:root {
  /* Kurumsal renk paleti (tenis kortu yeşili, tenis topu sarısı, lacivert koyu vurgu) */
  --ht-green: #1B5E20;         /* court green - ana */
  --ht-green-600: #2E7D32;     /* hover/aktif */
  --ht-yellow: #D0FF3F;        /* tennis ball */
  --ht-dark: #0F172A;          /* lacivert ton */
  --ht-gray-900: #0b1320;
  --ht-gray-700: #334155;
  --ht-gray-500: #64748b;
  --ht-gray-100: #f1f5f9;
  /* Accent (turuncu) */
  --ht-accent: #f97316;         /* orange 500 */
  --ht-accent-600: #ea580c;     /* hover */
  --ht-accent-700: #c2410c;     /* active/darker */

  --ht-border: #e2e8f0;
  --ht-radius: 10px;
  --ht-bottom-nav-height: 100px; /* mobil alt bar için ayrılan alan (bilinçli pay bırakım) */
  --ht-font-sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --ht-font-heading: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  --ht-brand-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cdefs%3E%3CradialGradient id='g' cx='0' cy='0' r='1'%3E%3Cstop offset='0' stop-color='%23D0FF3F' stop-opacity='.08'/%3E%3Cstop offset='1' stop-color='%23D0FF3F' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='88' height='88' fill='white'/%3E%3Ccircle cx='12' cy='12' r='10' fill='url(%23g)'/%3E%3Ccircle cx='56' cy='32' r='12' fill='url(%23g)'/%3E%3Ccircle cx='24' cy='64' r='14' fill='url(%23g)'/%3E%3C/svg%3E");
}

/* Tema varyantları: sadece vurgu/tonları değiştir, yapıyı sabit tut */
/* tema varyantları kaldırıldı (istek üzerine) */

/* Yazı tipleri (kurumsal) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Poppins:wght@700;800&display=swap');

/* Genel */
/* Yükseklik yerine min-height kullan: mobilde alt bar için ek boşluk gerek */
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: var(--ht-font-sans);
  color: var(--ht-dark);
  background: #fff;
}
a { color: inherit; text-decoration: none; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

/* Konteyner */
.ht-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Üst Menü */
.ht-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--ht-border);
}
.ht-header .ht-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  /* Header'ı tam genişlikte ve soldan hizalı yap */
  max-width: 100%;
  margin: 0;
  padding-left: 8px;
  padding-right: 8px;
}

.ht-header__left { display:flex; align-items:center; gap: 12px; flex: 1 1 auto; min-width: 0; }
.ht-header__right { flex: 0 0 auto; }

/* Logo */
.ht-logo { display:flex; align-items:center; gap: 10px; }
.ht-logo__icon { width: 38px; height: 38px; display:block; }
.ht-logo__text { font-weight: 800; font-size: 20px; letter-spacing: .2px; color: var(--ht-dark); }
.ht-logo__text span { color: var(--ht-green); }

/* Ana menü */
.ht-nav { display:flex; align-items:center; gap: 8px; white-space: nowrap; overflow: visible; -webkit-overflow-scrolling: touch; scrollbar-width: none; flex:1 1 auto; min-width:0; }
.ht-nav::-webkit-scrollbar { display:none; }
.ht-nav__item { position: relative; display:inline-flex; align-items:center; }
.ht-nav__link { padding: 8px 12px; border-radius: 8px; color: var(--ht-gray-700); font-size: 16px; }
.ht-nav__link:hover { background: var(--ht-gray-100); color: var(--ht-dark); }
.ht-nav__link--accent { color: #fff; background: var(--ht-green); }
.ht-nav__link--accent:hover { background: var(--ht-green-600); }
/* Desktop: aktif menü izi */
.ht-nav__link--active { background: #ecfccb; color: #14532d; box-shadow: inset 0 0 0 1px #d9f99d; font-weight: 800; }
.ht-nav__link--accent.ht-nav__link--active { background: var(--ht-green-600); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.18); }

/* Hover ile açılan paneller (nav + icon linkler) */
.ht-flyout { position: relative; }
.ht-flyout--right .ht-flyout__panel { right: 0; }
.ht-flyout__panel { position:absolute; top: 100%; left: 0; background:#fff; border:1px solid var(--ht-border); border-radius: var(--ht-radius); box-shadow: 0 12px 28px rgba(2,6,23,.10); min-width: 220px; padding:8px; display:none; z-index: 210; }
.ht-flyout__panel { max-width: 96vw; }
.ht-flyout__panel a { display:block; padding:10px; border-radius:8px; color: var(--ht-dark); font-size: 16px; }
.ht-flyout__panel a:hover { background: var(--ht-gray-100); }
.ht-flyout__panel--sm { min-width: 240px; }
.ht-empty { color: var(--ht-gray-500); font-size: 14px; padding: 6px 8px; }

/* Desktop: sadece hover ile aç (click ile sabit kalmasın) */
.ht-flyout:hover > .ht-flyout__panel { display:block; }

/* Profil dropdown'ını hover ile de aç */
.ht-account:hover .ht-menu,
.ht-account:focus-within .ht-menu { display:block; }

/* Sağ blok */
.ht-header__right { display:flex; align-items:center; gap: 8px; }
@media (max-width: 420px) { .ht-header__right { gap: 8px; } }

/* Arama */
.ht-search { position: relative; display:flex; align-items:center; gap: 8px; background:#fff; border:1px solid var(--ht-border); border-radius: 999px; padding: 6px 10px; }
.ht-search__input {
  border: none;
  outline: none;
  min-width: 200px;
  font-size: 14px;
}
.ht-search__btn { background: var(--ht-green); color:#fff; border:none; border-radius: 999px; padding:6px 10px; cursor:pointer; }
.ht-search__btn:hover { background: var(--ht-green-600); }
/* Arama önerileri */
.ht-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background:#fff; border:1px solid var(--ht-border); border-radius: 12px; box-shadow: 0 16px 36px rgba(2,6,23,.12); padding: 8px; z-index: 240; }
.ht-suggest__item { display:grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items:center; padding: 6px 6px; border-radius: 8px; color: var(--ht-dark); }
.ht-suggest__item:hover { background: var(--ht-gray-100); }
.ht-suggest__img { display:block; width:44px; height:44px; border-radius: 8px; border:1px solid var(--ht-border); overflow:hidden; background:#fff; }
.ht-suggest__img img { width:100%; height:100%; object-fit:cover; display:block; }
.ht-suggest__name { font-weight:700; color: var(--ht-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ht-suggest__price { font-weight:800; color: var(--ht-dark); }
.ht-suggest__head { display:flex; align-items:center; justify-content:space-between; padding: 6px 8px 8px; font-weight:800; color: var(--ht-dark); }
.ht-suggest__more { display:block; margin-top: 6px; text-align:center; padding: 8px 10px; border-radius: 10px; background:#f8fafc; color: var(--ht-dark); font-weight:700; border:1px solid var(--ht-border); }
.ht-suggest__more:hover { background:#eef2f7; }

/* Icon Linkler */
.ht-iconlink { position: relative; display:flex; align-items:center; gap:8px; padding:8px 10px; border-radius: 8px; color: var(--ht-gray-700); }
.ht-iconlink:hover { background: var(--ht-gray-100); color: var(--ht-dark); }
.ht-icon { width: 20px; height: 20px; }
.ht-iconlink__text { font-size: 16px; }
.ht-badge { position:absolute; top:2px; right:2px; background: var(--ht-yellow); color:#000; border-radius:999px; padding:0 6px; font-size:11px; line-height:18px; min-width:18px; text-align:center; }

/* Hesap menüsü (Profilim) */
.ht-account { position: relative; }
.ht-account::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.ht-account__btn { display:flex; align-items:center; gap:8px; padding:8px 10px; border-radius: 10px; background:#fff; border:1px solid var(--ht-border); cursor:pointer; }
.ht-account__btn:hover { background: var(--ht-gray-100); }
.ht-avatar { width: 28px; height: 28px; border-radius: 999px; display:inline-flex; align-items:center; justify-content:center; background: var(--ht-green); color:#fff; font-weight: 800; font-size: 13px; text-transform: uppercase; flex: 0 0 auto; }
.ht-avatar--img { background-size: cover; background-position: center; color: transparent; text-indent: -999em; }
.ht-menu { position:absolute; right:0; left:auto; top:calc(100% + 8px); background:#fff; border:1px solid var(--ht-border); border-top:3px solid var(--ht-green); border-radius: 12px; box-shadow: 0 16px 36px rgba(2,6,23,.12); min-width: 220px; max-width: min(320px, 92vw); padding:8px; display:none; z-index: 220; color: var(--ht-dark); }
.ht-menu--open { display:block; }
.ht-menu a, .ht-menu button { display:flex; align-items:center; gap:8px; width:100%; padding:10px; border-radius:8px; color: var(--ht-dark); background: transparent; border:none; text-align:left; font: inherit; font-size: 16px; }
.ht-menu a:hover, .ht-menu button:hover { background: var(--ht-gray-100); color: var(--ht-dark); }
.ht-menu__header { padding: 10px; margin: 2px; background: #f8fafc; border-radius: 8px; }
.ht-menu__user { font-weight: 700; color: var(--ht-dark); }
.ht-menu__mail { font-size: 12px; color: var(--ht-gray-500); word-break: break-word; }
.ht-menu__sep { height:1px; background: var(--ht-border); margin:6px; }
.ht-menu__danger { color:#dc2626; }
.ht-menu .ht-menu__danger:hover { background: #fee2e2; color: #991b1b; }
/* Ensure pointer cursor on desktop account menu items */
.ht-menu a,
.ht-menu button,
.ht-menu .ht-menu__danger { cursor: pointer; }

/* Butonlar */
.ht-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 14px; border-radius: 10px; font-weight:600; border:1px solid transparent; cursor:pointer; }
.ht-btn--primary { background: var(--ht-green); color:#fff; }
.ht-btn--primary:hover { background: var(--ht-green-600); }
.ht-btn--accent { background: var(--ht-accent); color:#fff; }
.ht-btn--accent:hover { background: var(--ht-accent-600); }
.ht-btn--ghost { background: #fff; color: var(--ht-dark); border-color: var(--ht-border); }
.ht-btn--ghost:hover { background: var(--ht-gray-100); }
.ht-btn[disabled] { opacity: .55; cursor: not-allowed; }
.ht-btn[data-disabled="true"] { opacity: .55; cursor: not-allowed; pointer-events: auto; }
.ht-btn--outline { background:#fff; color: var(--ht-green); border-color: var(--ht-green); box-shadow: inset 0 0 0 1px var(--ht-green); }
.ht-btn--outline:hover { background: var(--ht-green); color:#fff; }
.ht-btn--sm { padding: 8px 12px; font-size: 13px; border-radius: 8px; }

/* Hero */
.ht-hero { background: linear-gradient(140deg, #e8ffe1 0%, #ffffff 40%, #f5ffe0 100%); border-bottom:1px solid var(--ht-border); }
.ht-hero__inner { padding: 56px 0; }
.ht-hero__grid { display:grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 20px; }
.ht-hero__art { display:block; position: relative; border:1px solid var(--ht-border); border-radius: 14px; overflow:hidden; background: #fff; box-shadow: 0 10px 30px rgba(2,6,23,.08); }
.ht-hero__art img { display:block; width:100%; height:auto; }
@media (max-width: 980px){ .ht-hero__grid { grid-template-columns: 1fr; } .ht-hero__art { display:none; } }
.ht-hero__title { font-size: 40px; line-height:1.15; margin:0 0 10px; color: var(--ht-dark); }
.ht-hero__subtitle { margin:0 0 22px; color: var(--ht-gray-700); font-size: 16px; }
.ht-hero__actions { display:flex; gap: 12px; }

/* Sayfa Başlığı (dashboard uyumlu) */
.ht-page-header { background: transparent; border-bottom: none; margin-top: 12px; margin-bottom: 12px; }
.ht-page-header__box { background: linear-gradient(140deg, #e8ffe1 0%, #ffffff 40%, #f5ffe0 100%); border:1px solid var(--ht-border); border-radius: 14px; box-shadow: 0 8px 22px rgba(2,6,23,.06); }
.ht-page-header__body { display:flex; align-items:center; justify-content:space-between; gap: 12px; padding: 14px; }
.ht-page-header__left { display:flex; align-items:center; gap: 12px; }
.ht-page-header__icon { width: 44px; height: 44px; border-radius: 12px; display:inline-grid; place-items:center; background: linear-gradient(180deg, #ecfccb 0%, #d9f99d 100%); color:#14532d; font-size: 22px; box-shadow: inset 0 0 0 1px #d9f99d; }
.ht-page-header__title { margin:0; font-size: 22px; font-weight: 800; color: var(--ht-dark); letter-spacing: .2px; }
.ht-page-header__subtitle { margin: 2px 0 0; color: var(--ht-gray-700); font-size: 14px; }
.ht-page-header__actions { display:flex; align-items:center; gap: 8px; }
@media (max-width: 520px){
  .ht-page-header__body { flex-wrap: wrap; }
  .ht-page-header__actions { width: 100%; justify-content: flex-start; }
}

/* Standart hizalama: Başlık ve içerik yatayda aynı gutter ile hizalansın */
.ht-page-header + .ht-auth .ht-auth__wrap { padding: 0 16px 24px; }
.ht-page-header + .ht-auth .ht-card { width: 100%; max-width: 100%; }
.ht-page-header + .ht-auth .ht-container { max-width: 1200px; }
/* .ht-section ile birlikte kullanılınca ekstra üst boşluğu kaldır */
.ht-page-header + .ht-section { padding-top: 0; }

/* Basit responsive uyarlamalar */
@media (max-width: 980px) {
  .ht-nav { display:none; }
  .ht-search__input { min-width: 160px; }
}
@media (max-width: 1360px) {
  /* Menü için daha erken sıkıştırma */
  .ht-iconlink__text { display:none; }
  .ht-account__btn .ht-account__text { display:none; }
  .ht-account__btn .ht-caret { display:none; }
  .ht-search__input { min-width: 140px; }
}
@media (max-width: 1200px) {
  /* Arama inputunu ikona düşür */
  .ht-search__input { display:none; width:0; min-width:0; }
  .ht-search { padding: 6px; }
}
@media (max-width: 980px) {
  /* Daralınca metinleri gizleyip ikonları koru */
  .ht-iconlink__text { display:none; }
  .ht-account__btn .ht-account__text { display:none; }
  .ht-account__btn .ht-caret { display:none; }
  .ht-search__input { min-width: 140px; }
}
@media (max-width: 820px) {
  /* Çok dar ekranda aramayı gizle (ileride mobil menüde yer vereceğiz) */
  .ht-search { display:none; }
}

/* Auth sayfaları */
.ht-auth { background: #fff; }
.ht-auth--soft { background: linear-gradient(140deg, #f8fff3 0%, #ffffff 45%, #f5fff0 100%); }
.ht-auth__wrap { padding: 24px; min-height: calc(100vh - 120px); display: grid; place-items: center; }
.ht-auth .ht-card { width: 880px; max-width: 98vw; margin: 0 auto; background:#fff; border:1px solid var(--ht-border); border-radius: var(--ht-radius); box-shadow: 0 8px 24px rgba(2,6,23,.06); }
.ht-card--accent { border-top: 3px solid var(--ht-green); }
.ht-card--auth { border-top: 3px solid var(--ht-green); width: 440px; }
.ht-card__header { padding: 18px 20px; border-bottom:1px solid var(--ht-border); display:flex; align-items:center; justify-content:space-between; }
.ht-card__header--stack { align-items: flex-start; gap: 8px; flex-wrap: wrap; }
.ht-card__header--stack .ht-pill { margin-left: 0; margin-top: 2px; }
.ht-card__title { margin:0; font-size: 18px; font-weight: 700; color: var(--ht-dark); }
.ht-card__subtitle { margin: 4px 0 0; font-size: 13px; color: var(--ht-gray-500); font-weight: 500; }
.ht-card__body { padding: 20px; }
.ht-card--auth .ht-card__body { padding: 16px 18px; }
.ht-form .ht-row { margin-bottom: 14px; }
.ht-form label { display:block; margin: 0 0 6px; font-weight: 600; color: var(--ht-dark); font-size: 14px; }
.ht-input { width: 100%; border:1px solid var(--ht-border); border-radius: 10px; padding: 10px 12px; font-size: 14px; outline: none; background:#fff; color: var(--ht-dark); caret-color: var(--ht-dark); color-scheme: light; }
.ht-input:focus { border-color: var(--ht-green-600); box-shadow: 0 0 0 3px rgba(46,125,50,.12); }
.ht-input--error, .ht-input[aria-invalid="true"] { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
/* Valid state (success) */
.ht-input--valid { border-color: var(--ht-green-600); box-shadow: 0 0 0 3px rgba(46,125,50,.12); color: #166534; }
.ht-input-wrap.is-valid .ht-input__icon-left { color: var(--ht-green-600); }
.ht-input-wrap { position: relative; display: grid; align-items: center; }
.ht-input-wrap .ht-input { padding-right: 40px; }
.ht-input__icon-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: none; background: transparent; color: var(--ht-gray-700); width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ht-input__icon-btn:hover { background: var(--ht-gray-100); color: var(--ht-dark); }
.ht-input__icon-btn:focus-visible { outline: 2px solid var(--ht-green-600); outline-offset: 2px; }
.ht-input-wrap.has-left-icon .ht-input { padding-left: 40px; }
.ht-input__icon-left { position:absolute; left:10px; top:50%; transform: translateY(-50%); width:18px; height:18px; color: var(--ht-gray-500); pointer-events: none; }
.ht-input:focus + .ht-input__icon-left, .ht-input-wrap:focus-within .ht-input__icon-left { color: var(--ht-green-600); }
.ht-form .ht-help { font-size: 12px; color: var(--ht-gray-500); margin-top: 6px; }
.ht-form .ht-error { font-size: 12px; color: #dc2626; margin-top: 6px; overflow-wrap: anywhere; }
.ht-form .ht-warning { font-size: 12px; color: #b45309; margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.ht-form .ht-row-inline { display:flex; align-items:center; justify-content:space-between; gap: 12px; }
.ht-checkbox { display:inline-flex; align-items:center; gap:8px; }
.ht-checkbox input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--ht-green); background:#fff; color-scheme: light; border: 1px solid var(--ht-border); border-radius: 4px; }
.ht-actions { display:flex; align-items:center; justify-content:space-between; gap: 12px; margin-top: 8px; }
.ht-link { color: var(--ht-green-600); }
.ht-link:hover { text-decoration: underline; }
/* Zorunlu alan yıldızı */
.ht-req-star { color: #dc2626; font-weight: 800; margin-left: 2px; }
/* Kurumsal uyarı/mesaj kutuları */
.ht-message { display:flex; align-items:flex-start; gap:8px; padding:8px 10px; border-radius:8px; font-size: 13px; margin-top: 6px; }
.ht-message--error { color:#991b1b; background:#fee2e2; border:1px solid #fecaca; }
.ht-message--info { color:#1e3a8a; background:#dbeafe; border:1px solid #bfdbfe; }
.ht-message--success { color:#065f46; background:#dcfce7; border:1px solid #bbf7d0; }
/* Şifre güçlülük göstergesi */
.ht-meter { height: 8px; background: var(--ht-gray-100); border-radius: 999px; overflow: hidden; margin-top: 6px; }
.ht-meter__bar { height: 100%; width: 0%; background: #dc2626; transition: width .25s ease, background-color .25s ease; }
.ht-req { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 4px 12px; }
.ht-req li { font-size: 12px; color: var(--ht-gray-700); display:flex; align-items:center; gap:6px; }
.ht-req .ok { color: #166534; }
.ht-req .bad { color: #b91c1c; }

/* Global form fields: her zaman beyaz arka plan (gece/gündüz) */
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], input[type="time"], input[type="datetime-local"], input[type="month"], input[type="week"], textarea, select {
  background: #fff !important; color: var(--ht-dark) !important; caret-color: var(--ht-dark); color-scheme: light;
}
/* Checkbox'ları da global garanti altına al */
input[type="checkbox"] { background:#fff !important; color-scheme: light; }
/* iOS/Android auto-dark ve autofill zeminini beyaza sabitle */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  -webkit-text-fill-color: var(--ht-dark);
  caret-color: var(--ht-dark);
}
.ht-actions { display:flex; align-items:center; justify-content:space-between; gap: 12px; margin-top: 8px; }
.ht-link { color: var(--ht-green-600); }
.ht-link:hover { text-decoration: underline; }

/* Form grid (desktop) */
.ht-form-grid { display: grid; grid-template-columns: 1fr; gap: 12px 16px; }
@media (min-width: 980px) {
  .ht-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ht-form-grid .full { grid-column: 1 / -1; }
}

/* Form section box */
.ht-form-section { background: #f8fafc; border: 1px solid var(--ht-border); border-radius: 12px; padding: 14px; }
.ht-form-section + .ht-form-section { margin-top: 14px; }
.ht-form-section__title { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--ht-dark); }
.ht-form-section__desc { margin: 0 0 10px; font-size: 13px; color: var(--ht-gray-500); }

/* Inline uyarılar (form içi banner) */
.ht-alert { border:1px solid var(--ht-border); border-radius: 10px; padding: 10px 12px; display:flex; align-items:flex-start; gap:8px; }
.ht-alert--info { background: #eff6ff; border-color: #bfdbfe; color: #0f172a; }
.ht-alert--success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.ht-alert--error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.ht-alert__icon { flex:0 0 auto; margin-top:2px; }
.ht-alert__text { flex:1 1 auto; }

/* Overflow güvenliği */
.ht-card, .ht-card__body, .ht-form { min-width: 0; max-width: 100%; }
.ht-card__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ht-btn { font-size: 14px; }

/* Toasts */
.ht-toasts { position: fixed; right: 16px; bottom: 16px; z-index: 9999; display: grid; gap: 10px; width: min(380px, 92vw); }
.ht-toast { display:flex; align-items:flex-start; gap:12px; border:1px solid var(--ht-border); border-radius: 12px; padding: 12px 14px; box-shadow: 0 12px 28px rgba(2,6,23,.10); background: #fff; color: var(--ht-dark); animation: ht-toast-in .12s ease-out; will-change: opacity, transform; }
.ht-toast__icon { flex:0 0 auto; width: 28px; height: 28px; border-radius: 999px; display:flex; align-items:center; justify-content:center; }
.ht-toast__content { flex:1 1 auto; min-width: 0; }
.ht-toast__title { font-weight: 800; font-size: 14px; margin: 0 0 4px; color: var(--ht-dark); }
.ht-toast__desc { margin: 0; color: var(--ht-gray-700); font-size: 14px; }
.ht-toast__close { flex:0 0 auto; background: transparent; border:none; color: var(--ht-gray-700); border-radius: 8px; width: 28px; height: 28px; cursor: pointer; }
.ht-toast__close:hover { background: var(--ht-gray-100); color: var(--ht-dark); }
.ht-toast--success { background: #f0fdf4; border-color: #a7f3d0; border-left: 4px solid var(--ht-green); color: #14532d; }
.ht-toast--success .ht-toast__icon { background: #dcfce7; color: var(--ht-green); }
.ht-toast--error { background: #fef2f2; border-color: #fecaca; border-left: 4px solid #dc2626; color: #7f1d1d; }
.ht-toast--error .ht-toast__icon { background: #fee2e2; color: #dc2626; }
.ht-toast--info { background: #eff6ff; border-color: #bfdbfe; }
@keyframes ht-toast-in { from { opacity:0; transform: translateY(6px);} to { opacity:1; transform: translateY(0);} }

/* Minimal spinner for progress toasts */
.ht-spinner { width: 16px; height: 16px; border: 2px solid #bfdbfe; border-top-color: var(--ht-green); border-radius: 50%; display: inline-block; animation: ht-spin .8s linear infinite; }
@keyframes ht-spin { to { transform: rotate(360deg);} }

/* Giriş/Kayıt sayfaları: varsayılan konforlu boyutlar */
.ht-auth .ht-input { padding: 10px 14px; font-size: 15px; }
.ht-auth .ht-form label { font-size: 15px; }
.ht-auth .ht-btn { font-size: 15px; }
.ht-card--auth .ht-card__title { font-size: 20px; }
.ht-auth .ht-card__body { padding: 20px; }

/* Login sayfasına özel daha kompakt ve dar form */
.ht-auth--login .ht-card__body { padding: 14px; }
.ht-auth--login .ht-card__title { font-size: 20px; }
.ht-auth--login .ht-form { max-width: 100%; }
.ht-auth--login .ht-card--auth { width: 380px; }
.ht-auth--login .ht-form label { font-size: 15px; }
.ht-auth--login .ht-form .ht-row { margin-bottom: 10px; }
.ht-auth--login .ht-input { padding: 6px 10px; font-size: 15px; border-radius: 8px; }
.ht-auth--login .ht-input-wrap.has-left-icon .ht-input { padding-left: 36px; }
.ht-auth--login .ht-input__icon-left { left: 8px; width: 16px; height: 16px; }
.ht-auth--login .ht-input__icon-btn { right: 6px; width: 24px; height: 24px; }
.ht-auth--login .ht-btn { padding: 8px 12px; font-size: 15px; border-radius: 8px; }
.ht-auth--login .ht-actions { gap: 10px; }

/* Register sayfası: aynı ana kutu genişliği ve mobil merkezleme */
.ht-auth--register .ht-card--auth { width: 100%; max-width: 700px; margin-left: auto; margin-right: auto; }
.ht-auth--register .ht-container.ht-auth__wrap > .ht-card.ht-card--auth { width: 100%; max-width: 700px; }
.ht-auth--register .ht-form { max-width: 100%; }
.ht-auth--register .ht-auth__wrap { display: grid; place-items: center; padding-left: 16px; padding-right: 16px; }

/* Bölüm başlıkları */
.ht-section { padding: 28px 0 48px; background:#fff; }
.ht-section__header { margin-bottom: 18px; }
.ht-section__title { margin:0 0 6px; font-size: 24px; font-weight: 800; color: var(--ht-dark); font-family: 'Poppins', var(--ht-font-heading); letter-spacing: .2px; }
.ht-section__header .ht-section__title::after { content:""; display:block; width: 36px; height: 3px; background: var(--ht-yellow); border-radius: 2px; margin-top: 6px; }
.ht-section__subtitle { margin:0; color: var(--ht-gray-700); }

/* Kurumsal Banner */
.ht-banner { border:1px solid var(--ht-border); border-radius: 14px; padding: 14px 16px; display:flex; align-items: center; gap: 12px; background: linear-gradient(130deg, #f8fff2 0%, #ffffff 60%); box-shadow: 0 8px 24px rgba(2,6,23,.06); }
.ht-banner__icon { width: 34px; height: 34px; border-radius: 999px; display:grid; place-items:center; background:#ecfccb; color:#166534; flex: 0 0 auto; }
.ht-banner__body { flex: 1 1 auto; min-width: 0; }
.ht-banner__title { margin:0; font-size: 16px; font-weight: 800; color: var(--ht-dark); }
.ht-banner__desc { margin:2px 0 0; color: var(--ht-gray-700); font-size: 14px; }
.ht-banner__actions { flex: 0 0 auto; display:flex; align-items:center; gap: 10px; }

/* Full-bleed banner (edge-to-edge) */
.ht-banner--full { border-radius: 0; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); border-left: none; border-right: none; }
.ht-banner--full > .ht-container { display: flex; align-items: center; gap: 12px; padding-left: 16px; padding-right: 16px; }
/* Accent uyarı bannerı (2FA CTA için) */
.ht-banner--accent { background: linear-gradient(130deg, #fff7ed 0%, #ffffff 60%); border-color: #fed7aa; }
.ht-banner--accent .ht-banner__icon { background:#ffedd5; color:#9a3412; }

/* Verify page helpers */
.ht-pill { display:inline-flex; align-items:center; gap:6px; background:#ecfccb; color:#166534; border:1px solid #d9f99d; border-radius: 999px; padding: 4px 8px; font-size: 12px; font-weight: 700; }
.ht-divider { height:1px; background: var(--ht-border); margin: 10px 0; }
.ht-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.ht-list li { display:flex; align-items:flex-start; gap:8px; color: var(--ht-gray-700); font-size: 14px; }

/* Tablo (kurumsal) */
.ht-table-wrap { width: 100%; overflow: auto; }
.ht-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.ht-table thead th { text-align: left; font-weight: 700; color: var(--ht-dark); background: #f8fafc; border-bottom: 1px solid var(--ht-border); padding: 12px; position: sticky; top: 0; }
.ht-table tbody td { border-bottom: 1px solid var(--ht-border); padding: 12px; color: var(--ht-gray-700); }
.ht-table tbody tr:hover td { background: #f8fafc; }

/* Grid ve Kartlar */
.ht-grid { display:grid; gap: 16px; }
.ht-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .ht-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ht-grid--3 { grid-template-columns: 1fr; } }

/* Dashboard özel ızgara: akışkan kolonlar ve daha ferah aralıklar */
.dash .ht-grid--dash { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
@media (max-width: 480px) { .dash .ht-grid--dash { grid-template-columns: 1fr; gap: 14px; } }
/* Durum kartlarını tam satıra yay: dar genişlikte sıkışmayı önle */
.dash .ht-grid--dash > .ht-card--status { grid-column: 1 / -1; }

.ht-card { background:#fff; border:1px solid var(--ht-border); border-radius: var(--ht-radius); box-shadow: 0 10px 28px rgba(2,6,23,.06); transition: transform .15s ease, box-shadow .15s ease; }
.ht-card--full { width: 100%; }
.ht-card--link { display:block; color: inherit; }
.ht-card--link:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(2,6,23,.10); }
.ht-card__body { padding: 18px; }
.ht-card__icon { font-size: 26px; margin-bottom: 8px; }
.ht-card__title { margin:0 0 4px; font-size: 18px; font-weight: 700; color: var(--ht-dark); }
.ht-card__text { margin:0; color: var(--ht-gray-700); font-size: 14px; }

/* Address animations */
@keyframes ht-flash-green { 0% { box-shadow: 0 0 0 0 rgba(22,101,52,.0), 0 0 0 0 rgba(187,247,208,.0); background: rgba(220,252,231,.7);} 100% { box-shadow: 0 6px 22px rgba(2,6,23,.08); background: transparent; } }
@keyframes ht-flash-amber { 0% { background: rgba(254,243,199,.8);} 100% { background: transparent; } }
@keyframes ht-flash-red { 0% { background: rgba(254,226,226,.9);} 100% { background: transparent; } }
.ht-anim-add { animation: ht-flash-green 1100ms ease-out 1; }
.ht-anim-restore { animation: ht-flash-amber 1100ms ease-out 1; }
.ht-anim-remove { animation: ht-flash-red 220ms ease-in 1; }

/* Dashboard kart varyantı: daha kurumsal ve özgün görünüm */
.ht-card--dash {
  border-radius: 14px;
  border: 1px solid #e6edf5;
  box-shadow: 0 8px 22px rgba(2,6,23,.06), 0 1px 0 rgba(255,255,255,.6) inset;
  background: linear-gradient(180deg, #ffffff 0%, #fcfffc 100%);
}
.ht-card--dash:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(2,6,23,.12);
}
.ht-card--dash:focus-within,
.ht-card--dash.ht-card--link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(46,125,50,.18), 0 10px 28px rgba(2,6,23,.08);
}
/* Durum/CTA tipi kartlar için yumuşak vurgu */
.ht-card--status {
  background: linear-gradient(180deg, #ffffff 0%, #f8fff5 100%);
  border-left: 3px solid var(--ht-green);
}
/* Status kart içeriğinde esnek sarmalama (wrap) */
.ht-card--status .ht-banner { flex-wrap: wrap; }
/* 2FA status satırı dar alanda sarsın */
.dash [data-2fa-card] [data-2fa-status] > div { flex-wrap: wrap; }
/* Dashboard ikon kapsülü */
.ht-card__icon--dash {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 10px;
  background: linear-gradient(180deg, #ecfccb 0%, #d9f99d 100%);
  color: #14532d;
  font-size: 22px;
  box-shadow: inset 0 0 0 1px #d9f99d;
}
.ht-card--link:hover .ht-card__icon--dash {
  transform: translateY(-1px);
  transition: transform .15s ease;
}

/* ====== Üst Menü İnce Ayar Overrides (tek satır + hover paneller görünür) ====== */
.ht-nav { overflow: visible; }
.ht-nav__link { padding: 8px 12px; font-size: 16px; }
.ht-header__right { gap: 6px; }
.ht-search__input { min-width: 180px; }
.ht-flyout--right .ht-flyout__panel { left: auto; right: 0; }
.ht-flyout__panel--sm { min-width: 200px; max-width: 260px; }
/* Header'daki giriş/kayıt butonlarını 16px yap */
.ht-header .ht-btn { font-size: 16px; }
/* Header'daki Favoriler/Sepet sayaçlarını metnin sağına al */
.ht-header .ht-iconlink .ht-badge { position: static; }

/* --- Override ayarları: menüyü tek satıra sığdırma ve Profilim butonu iyileştirme --- */
.ht-header__right { gap: 10px; }
.ht-logo__icon { width: 32px; height: 32px; }
.ht-logo__text { font-size: 18px; }
.ht-nav { gap: 8px; overflow: visible; }
.ht-nav__link { padding: 8px 12px; font-size: 16px; }
.ht-account__btn { padding: 8px 12px; border-radius: 999px; background:#fff; border:1px solid var(--ht-green); color: var(--ht-green); }
.ht-account__btn:hover { background: var(--ht-green); color:#fff; }

/* Favorilerim ve Sepetim panelini metnin ortasına hizala */
.ht-header .ht-flyout--right .ht-iconlink + .ht-flyout__panel {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  transform-origin: top center;
}

@media (max-width: 1280px) {
  .ht-search__input { display:none; width:0; min-width:0; }
  .ht-search { padding: 6px; }
}
@media (max-width: 1180px) {
  .ht-iconlink__text { display:none; }
  .ht-account__btn .ht-account__text { display:none; }
  .ht-account__btn .ht-caret { display:none; }
}

/* ====== Mobil Navigasyon (telefon + tablet) ====== */
/* Masaüstünde mobil elemanlar gizli; mobilde masaüstü header gizli */
@media (min-width: 1025px) {
  .ht-mobile-header, .ht-bottom-nav, .ht-mobile-drawer { display: none !important; }
}
@media (max-width: 1024px) {
  .ht-header { display: none; }
}

/* Mobil üst çubuk */
.ht-mobile-header { position: sticky; top: 0; z-index: 70; background: #fff; border-bottom: 1px solid var(--ht-border); display: none; padding-top: env(safe-area-inset-top, 0); }
@media (max-width: 1024px) { .ht-mobile-header { display: block; } }
.ht-mobile-header .ht-container { display:flex; align-items:center; justify-content: space-between; min-height: 58px; gap: 8px; }
.ht-mbtn { background:#fff; border:1px solid var(--ht-border); color: var(--ht-dark); border-radius: 10px; padding: 8px 10px; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; }
.ht-mbtn:hover { background: var(--ht-gray-100); }
.ht-mbtn--ghost { background: transparent; border: 1px solid var(--ht-border); }
.ht-mlogo { display:flex; align-items:center; gap: 8px; color: var(--ht-dark); font-weight: 800; }
.ht-mlogo__icon { width: 28px; height: 28px; display:block; }
.ht-mlogo__text span { color: var(--ht-green); }
.ht-mactions { display:flex; align-items:center; gap: 8px; }
.ht-micon { display:inline-flex; align-items:center; justify-content:center; width: 36px; height: 36px; border-radius: 10px; border:1px solid var(--ht-border); background:#fff; color: var(--ht-dark); }
.ht-micon:hover { background: var(--ht-gray-100); }
.ht-mobile-sep { height: 0; }

/* Mobil: Profilim açılır menü */
.ht-maccount { position: relative; }
.ht-maccount__menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 220px; background:#fff; border:1px solid var(--ht-border); border-radius: 12px; box-shadow: 0 12px 28px rgba(2,6,23,.12); padding: 8px; display: none; z-index: 90; }
.ht-maccount__menu.is-open { display:block; }
.ht-maccount__head { padding: 8px; border-radius: 10px; background: #f8fafc; margin-bottom: 6px; }
.ht-maccount__name { font-weight: 800; color: var(--ht-dark); font-size: 14px; }
.ht-maccount__mail { font-size: 12px; color: var(--ht-gray-500); word-break: break-word; }
.ht-maccount__sep { height: 1px; background: var(--ht-border); margin: 6px 6px; }
.ht-maccount__menu a, .ht-maccount__menu button { display:flex; align-items:center; gap:8px; width: 100%; padding: 10px; border-radius: 10px; background: transparent; color: var(--ht-dark); border: none; text-align: left; font: inherit; cursor: pointer; }
.ht-maccount__menu a:hover, .ht-maccount__menu button:hover { background: var(--ht-gray-100); }
.ht-maccount__danger { color: #dc2626; }
.ht-micon--avatar { border-color: var(--ht-green); }

/* Offcanvas Drawer */
.ht-mobile-drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.ht-mobile-drawer__overlay { position: absolute; top: 0; left: 0; right: 0; bottom: calc(var(--ht-bottom-nav-height) + env(safe-area-inset-bottom, 0)); background: rgba(2,6,23,.42); opacity: 0; transition: opacity .2s ease; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 1; }
.ht-mobile-drawer__panel { position: absolute; top: 0; bottom: calc(var(--ht-bottom-nav-height) + env(safe-area-inset-bottom, 0)); left: 0; width: min(90vw, 460px); background: linear-gradient(180deg, #ffffff 0%, #f8fff2 100%); border-right: 1px solid var(--ht-border); transform: translateX(-102%); transition: transform .26s cubic-bezier(.2,.7,.2,1); display:flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom, 0); z-index: 2; border-top-right-radius: 18px; border-bottom-right-radius: 18px; overflow: hidden; box-shadow: 0 18px 44px rgba(2,6,23,.18), inset 0 1px 0 rgba(255,255,255,.6); }
.ht-mobile-drawer__panel::before { content:""; position:absolute; left:10px; right:10px; top:0; height:2px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.24) 20%, var(--ht-yellow) 50%, rgba(255,255,255,.24) 80%, transparent); opacity:.22; pointer-events:none; z-index:1; }
.ht-mobile-drawer.is-open { pointer-events: auto; }
.ht-mobile-drawer.is-open .ht-mobile-drawer__overlay { opacity: 1; }
.ht-mobile-drawer.is-open .ht-mobile-drawer__panel { transform: translateX(0); }

.ht-mobile-drawer__header { display:flex; align-items:center; justify-content: space-between; gap: 10px; padding: 14px; border-bottom: 1px solid var(--ht-border); background: linear-gradient(130deg, #ecfccb 0%, #ffffff 100%); }
.ht-mobile-drawer__title { font-weight: 800; color: var(--ht-dark); letter-spacing: .2px; }
.ht-mobile-drawer__body { padding: 14px; overflow: auto; -webkit-overflow-scrolling: touch; flex: 1 1 auto; min-height: 0; max-height: 100%; padding-bottom: calc(14px + var(--ht-bottom-nav-height) + env(safe-area-inset-bottom, 0)); }

/* Mobil arama */
.ht-msearch { display:flex; align-items:center; gap: 8px; background:#fff; border:1px solid var(--ht-border); border-radius: 12px; padding: 8px 10px; margin-bottom: 12px; box-shadow: 0 1px 0 rgba(2,6,23,.04); }
.ht-msearch__input { border:none; outline:none; font-size: 15px; flex:1 1 auto; min-width: 0; }
.ht-msearch { position: relative; }
.ht-msearch__btn { background: var(--ht-green); color:#fff; border:none; border-radius: 10px; padding:8px 10px; cursor:pointer; }
.ht-msearch__btn:hover { background: var(--ht-green-600); }

/* Mobil üst çubuk altı inline arama (yalnızca mobil görünür) */
.ht-msearch--inline { margin: 8px 12px 10px; display:none; opacity:0; transform: translateY(-4px); transition: opacity .18s ease, transform .18s ease; }
@media (max-width: 1024px) {
  .ht-msearch--inline.is-open { display:flex; opacity:1; transform: translateY(0); }
}

/* CTA alanı (giriş/kayıt veya fav/sepet) */
.ht-mcta { display:grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.ht-btn--block { width: 100%; display:inline-block; text-align:center; padding: 10px 12px; border-radius: 10px; border:1px solid var(--ht-border); }
.ht-btn--primary { background: var(--ht-green); color:#fff; border-color: var(--ht-green); }
.ht-btn--primary:hover { background: var(--ht-green-600); border-color: var(--ht-green-600); }
.ht-btn--ghost { background:#fff; color: var(--ht-dark); }

/* Drawer liste */
.ht-mlist { list-style: none; padding: 0; margin: 0; display:grid; gap: 10px; }
.ht-mlist__item { border-bottom: none; }
.ht-mlist__link { display:block; padding: 12px 10px; color: var(--ht-dark); border-radius: 12px; font-size: 15px; font-weight: 600; }
.ht-mlist__link:hover { background: var(--ht-gray-100); }
.ht-mlist__link.is-active { background: #ecfccb; color: #166534; box-shadow: inset 0 0 0 1px #d9f99d; font-weight: 700; }

/* Akordeon */
.ht-accordion { }
.ht-accordion__header { width: 100%; display:flex; align-items:center; justify-content: space-between; gap: 10px; background:#fff; border:1px solid var(--ht-border); padding: 12px 12px; cursor:pointer; color: var(--ht-dark); font-weight: 700; font-size: 15px; border-radius: 12px; transition: background-color .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease; }
.ht-accordion__header.is-active { background: #ecfccb; color: #166534; box-shadow: inset 0 0 0 1px #d9f99d; border-color: #d9f99d; }
.ht-accordion__panel { padding: 6px 8px 10px; display: grid; gap: 6px; overflow: hidden; height: auto; transition: height .28s cubic-bezier(.22,.75,.2,1), opacity .24s ease, padding-top .28s cubic-bezier(.22,.75,.2,1), padding-bottom .28s cubic-bezier(.22,.75,.2,1); will-change: height, opacity, padding-top, padding-bottom; }
.ht-accordion__panel.is-transitioning { padding-top: 0; padding-bottom: 0; }
.ht-accordion__panel a { display:block; padding: 8px 8px; border-radius: 8px; color: var(--ht-gray-700); }
.ht-accordion__panel a:hover { background: var(--ht-gray-100); color: var(--ht-dark); }
.ht-accordion--sub { border: 1px solid var(--ht-border); border-radius: 14px; margin: 6px 0; background: #fff; box-shadow: 0 6px 18px rgba(2,6,23,.06); }
.ht-mlist__item.ht-accordion--sub { border-bottom: none; }
.ht-accordion--sub .ht-accordion__header { font-weight: 700; }
.ht-accordion__header[aria-expanded="true"] .ht-caret { transform: rotate(180deg); }
.ht-caret { transition: transform .18s ease; }

/* Alt sekme çubuğu */
.ht-bottom-nav { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 75; background: linear-gradient(180deg, var(--ht-green-600) 0%, var(--ht-green) 100%); border: 1px solid rgba(255,255,255,.10); box-shadow: 0 12px 36px rgba(2,6,23,.28), inset 0 1px 0 rgba(255,255,255,.14), inset 0 -1px 0 rgba(0,0,0,.06), inset 0 0 0 1px rgba(255,255,255,.06); display: none; padding-bottom: env(safe-area-inset-bottom, 0); border-radius: 12px 12px 18px 18px; overflow: hidden; transition: transform .18s ease, opacity .18s ease; }
/* Kurumsal imza hattı (üst kenarda çok ince vurgu) */
.ht-bottom-nav::before { content:""; position:absolute; left:10px; right:10px; top:0; height:2px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.24) 20%, var(--ht-yellow) 50%, rgba(255,255,255,.24) 80%, transparent); opacity:.22; pointer-events:none; }
@media (max-width: 1024px) {
  .ht-bottom-nav { display: grid; grid-template-columns: repeat(4, 1fr); }
  /* Varsayılan: mobilde gövdeye alt bar kadar boşluk ayır */
  body { padding-bottom: calc(var(--ht-bottom-nav-height) + env(safe-area-inset-bottom, 0)) !important; }
  /* Modern tarayıcılarda: alt bar yoksa boşluk verme (gelecek sayfalar için güvenli) */
  body:not(:has(.ht-bottom-nav)) { padding-bottom: 0 !important; }
  /* Alt bar ile çakışmayı önlemek için mobilde toast'ları yukarı al */
  .ht-toasts { bottom: calc(16px + var(--ht-bottom-nav-height) + env(safe-area-inset-bottom, 0)); }
  /* İçerik bölümlerini de alt barda görünür tut (login/register ve genel bölümler) */
  .ht-auth__wrap { padding-bottom: calc(24px + var(--ht-bottom-nav-height) + env(safe-area-inset-bottom, 0)); }
  .ht-section { padding-bottom: calc(48px + var(--ht-bottom-nav-height) + env(safe-area-inset-bottom, 0)); }
  /* İhtiyaç halinde içerik alanlarına uygulanabilir yardımcı sınıf */
  .ht-bottom-pad, [data-ht-bottom-pad] { padding-bottom: calc(var(--ht-bottom-nav-height) + env(safe-area-inset-bottom, 0)); }
}
/* Tek bir kayan alt çizgi; JS ile index set edilir */
.ht-bottom-nav.has-slider::after {
  content: ""; position: absolute; bottom: 8px; left: 0; height: 2px;
  /* Kısa kapsül genişliği ve sekme içinde ortalama */
  --bnav-slider-w: 26px;
  width: var(--bnav-slider-w);
  left: calc((100% / var(--bnav-columns, 4)) * var(--bnav-active-index, 0) + ((100% / var(--bnav-columns, 4)) - var(--bnav-slider-w)) / 2);
  background: var(--ht-yellow);
  opacity: .95; border-radius: 999px; pointer-events: none; z-index: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,.35);
  transition: left .24s cubic-bezier(.2,.7,.2,1), opacity .2s ease;
}
.ht-bnav__item { appearance: none; -webkit-appearance: none; background: transparent; border: none; padding: 8px 6px 12px; display:flex; flex-direction: column; align-items:center; justify-content:center; gap: 6px; color: #fff; cursor: pointer; position: relative; transition: color .14s ease, transform .12s ease; outline: none; -webkit-tap-highlight-color: transparent; }
.ht-bnav__item:focus { outline: none; }
.ht-bnav__item:active { transform: translateY(0.5px) scale(.985); }
.ht-bnav__item svg { width: 24px; height: 24px; position: relative; z-index: 1; }
.ht-bnav__label, .ht-bnav__badge { position: relative; z-index: 1; }
.ht-bnav__item:hover { background: rgba(255,255,255,.06); color: var(--ht-yellow); }
@media (hover: none) and (pointer: coarse) {
  .ht-bnav__item:hover { background: transparent; }
}
html.ht-touch .ht-bnav__item:hover { background: transparent; }
.ht-bnav__label { font-size: 12px; font-weight: 600; color: currentColor; letter-spacing: .08px; }
.ht-bnav__item--active { color: var(--ht-yellow); }
/* Minimal Pro fallback: nav slider yoksa aktif öğe altında ince çizgi */
.ht-bottom-nav:not(.has-slider) .ht-bnav__item::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 26px; height: 2px; border-radius: 2px; background: currentColor; opacity: 0; transform: translateX(-50%) scale(.7); transition: opacity .18s ease, transform .18s ease; pointer-events: none; z-index: 0; }
.ht-bottom-nav:not(.has-slider) .ht-bnav__item--active::after { opacity: .95; transform: translateX(-50%) scale(1); }

/* Klavye fokus görünürlüğü (kurumsal, sade) */
.ht-bnav__item:focus-visible { outline: none; box-shadow: inset 0 0 0 2px rgba(255,255,255,.22); border-radius: 12px; }

/* Reduced motion: animasyonları yumuşat */
@media (prefers-reduced-motion: reduce) {
  .ht-bottom-nav.has-slider::after { transition: none; }
  .ht-bottom-nav:not(.has-slider) .ht-bnav__item::after { transition: none; }
  .ht-bnav__item { transition: none; }
}
/* Touch cihazlarda hover kalıntısı active'i gölgelememesin */
html.ht-touch .ht-bnav__item.ht-bnav__item--active,
html.ht-touch .ht-bnav__item.ht-bnav__item--active:hover,
html.ht-touch .ht-bnav__item.ht-bnav__item--active:active,
html.ht-touch .ht-bnav__item.ht-bnav__item--active:focus { color: var(--ht-yellow) !important; }
.ht-bnav__item:active { transform: translateY(0.5px) scale(.985); }
.ht-bnav__item svg { width: 24px; height: 24px; position: relative; z-index: 1; }
.ht-bnav__label, .ht-bnav__badge { position: relative; z-index: 1; }
.ht-bnav__item + .ht-bnav__item { box-shadow: inset 1px 0 0 rgba(255,255,255,.06); }

/* Alt menü sayaç rozetleri */
.ht-bnav__badge { position: absolute; top: 4px; right: 10px; background: var(--ht-yellow); color: #000; border-radius: 999px; min-width: 18px; height: 18px; line-height: 18px; font-size: 11px; font-weight: 800; text-align: center; padding: 0 5px; box-shadow: 0 2px 6px rgba(2,6,23,.25); }


/* ===== Flat Dock varyantı ===== */
.ht-bottom-nav--flat { border-radius: 14px; box-shadow: 0 8px 24px rgba(2,6,23,.22), inset 0 1px 0 rgba(255,255,255,.12); }
.ht-bottom-nav--flat::before { opacity: .14; background: linear-gradient(90deg, transparent, rgba(255,255,255,.18) 22%, var(--ht-yellow) 50%, rgba(255,255,255,.18) 78%, transparent); }
.ht-bottom-nav--flat .ht-bnav__item + .ht-bnav__item { box-shadow: inset 1px 0 0 rgba(255,255,255,.04); }
@media (hover: hover) and (pointer: fine) {
  .ht-bottom-nav--flat .ht-bnav__item:hover { background: rgba(255,255,255,.04); }
}


/* Kaydırmayı kilitle (drawer açıkken) */
html.ht-no-scroll, body.ht-no-scroll { overflow: hidden !important; }
.ht-mobile-drawer.is-open .ht-mobile-drawer__body { touch-action: pan-y; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.ht-mobile-drawer__body { will-change: scroll-position; }
/* Drawer açıkken alt barı görünmez yap (çakışmayı önle) */
/* Alt bar her zaman görünür; drawer sadece üst kısmı kaplar */

/* ==== Ürün Kartları (Catalog) ==== */
.ht-pcard { border:1px solid var(--ht-border); border-radius: 12px; overflow: hidden; background: linear-gradient(180deg,#ffffff 0%,#fcfffc 100%); display:flex; flex-direction: column; box-shadow: 0 8px 22px rgba(2,6,23,.06); transition: transform .15s ease, box-shadow .15s ease; }
.ht-card--product { border-top: 3px solid transparent; }
.ht-card--product.is-featured { border-top-color: var(--ht-green); }
.ht-pcard__img { display:block; text-decoration:none; color:inherit; }
.ht-pimg { position: relative; padding-top: 75%; background: #f8fafc; }
.ht-pimg > img { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; }
.ht-pimg__ph { position:absolute; inset:0; background:linear-gradient(135deg,#f1f5f9,#e2e8f0); }
.ht-pill--corner { position:absolute; top:8px; left:8px; background:#d1fae5; color:#065f46; border-radius:999px; padding:4px 8px; font-size:12px; font-weight:700; }
.ht-badge--corner { position:absolute; top:8px; right:8px; background:#fee2e2; color:#991b1b; border-radius:6px; padding:4px 8px; font-size:12px; font-weight:700; }
.ht-pcard__body { padding: 14px; display:flex; flex-direction: column; gap: 8px; }
.ht-pcard__title { font-weight:700; color: var(--ht-dark); text-decoration:none; }
.ht-pcard__title:hover { text-decoration: underline; }
.ht-pcard__meta { display:flex; align-items:center; gap: 8px; }
.ht-price { font-weight:800; color: var(--ht-dark); }
.ht-price--compare { color: var(--ht-gray-500); text-decoration: line-through; font-weight:600; }
.ht-pcard__rating { color: #f59e0b; font-size: 12px; display:flex; align-items:center; gap:6px; }
.ht-pcard__rating span { color:#e5e7eb; }
.ht-pcard__rating span.is-full { color:#f59e0b; }
.ht-pcard__rcount { color: var(--ht-gray-500); }
.ht-pcard__actions { margin-top: 6px; display:flex; gap: 8px; }
.ht-pcard:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(2,6,23,.12); }

/* Favorite toggle button on product cards */
.ht-favbtn { position: absolute; top: 10px; right: 10px; z-index: 5; width: 34px; height: 34px; display: inline-flex; align-items:center; justify-content:center; border-radius: 10px; border:1px solid var(--ht-border); background:#fff; color: var(--ht-gray-700); cursor:pointer; }
.ht-favbtn:hover { background: var(--ht-gray-100); color: var(--ht-dark); }
.ht-favbtn[aria-pressed="true"] { background: #ffe4e6; color: #be123c; border-color: #fecdd3; box-shadow: inset 0 0 0 1px #fda4af; }

/* ==== Anasayfa: Kurumsal bloklar ==== */
.ht-hero--calm { background: linear-gradient(135deg, #f8fff2 0%, #ffffff 60%, #f7ffe8 100%); border-bottom: 1px solid var(--ht-border); }
.ht-hero--calm.ht-brand { background-image: var(--ht-brand-pattern), linear-gradient(135deg, #f8fff2 0%, #ffffff 60%, #f7ffe8 100%); background-repeat: repeat; background-size: auto, auto; }
.ht-hero--calm .ht-hero__inner { padding: 66px 0 42px; }
.ht-hero__kicker { font-weight: 800; color: var(--ht-green-600); letter-spacing: .08em; text-transform: uppercase; font-size: 12px; margin-bottom: 8px; }

.ht-trust { background:#fff; border-top:1px solid var(--ht-border); border-bottom:1px solid var(--ht-border); }
.ht-trust__grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px 0; }
.ht-trust__item { display:flex; align-items:center; gap: 10px; font-weight:700; color: var(--ht-dark); }
.ht-trust__desc { color: var(--ht-gray-600); font-weight:600; font-size: 12px; }
@media (max-width: 820px){ .ht-trust__grid { grid-template-columns: repeat(2, 1fr); row-gap: 14px; } }

.ht-cats { background: #fff; }
.ht-cats__grid { display:grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ht-ccard { position: relative; overflow: hidden; border:1px solid var(--ht-border); border-radius: 12px; background: #fff; display:block; text-decoration: none; color: var(--ht-dark); box-shadow: 0 6px 18px rgba(2,6,23,.06); }
.ht-ccard__img { position: relative; padding-top: 65%; background:#f1f5f9; }
.ht-ccard__img img { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; }
.ht-ccard__title { position:absolute; left:10px; bottom:10px; background: rgba(255,255,255,.92); padding: 6px 10px; border-radius: 8px; font-weight: 800; }
@media (max-width: 980px){ .ht-cats__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px){ .ht-cats__grid { grid-template-columns: repeat(2, 1fr); } }

/* Mini cart flyout */
[data-ht-mini-cart] { min-width: 320px; max-width: 420px; }
.ht-mcart__list { display:grid; gap: 10px; max-height: 340px; overflow:auto; padding: 8px; }
.ht-mcart__item { display:grid; grid-template-columns: 60px 1fr auto; gap: 10px; align-items:center; border:1px solid var(--ht-border); border-radius: 10px; padding: 8px; background:#fff; }
.ht-mcart__img { display:block; width: 60px; height: 60px; border-radius: 8px; overflow:hidden; border:1px solid var(--ht-border); background:#fff; }
.ht-mcart__img img { width: 100%; height: 100%; object-fit: cover; display:block; }
.ht-mcart__name { display:block; font-weight:700; color: var(--ht-dark); text-decoration:none; line-height:1.25; }
.ht-mcart__name:hover { text-decoration: underline; }
.ht-mcart__qty { color: var(--ht-gray-600); font-size: 12px; }
.ht-mcart__price { font-weight:800; color: var(--ht-dark); }
.ht-mcart__foot { border-top: 1px solid var(--ht-border); padding: 12px; background:#fff; border-radius: 0 0 12px 12px; }
.ht-mcart__total { display:flex; align-items:center; justify-content:space-between; font-weight:700; margin-bottom: 10px; }
.ht-btn--block { width: 100%; }
/* mini cart controls */
.ht-mcart__ctrls { display:flex; align-items:center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.ht-mcart__qtybox { display:inline-flex; align-items:center; border:1px solid var(--ht-border); border-radius: 8px; overflow:hidden; background:#fff; }
.ht-mcart__qbtn { appearance:none; -webkit-appearance:none; background:#fff; color: var(--ht-dark); border:none; width:28px; height:28px; font-weight:800; cursor:pointer; }
.ht-mcart__qbtn:hover { background: var(--ht-gray-100); }
.ht-mcart__qty { width:46px; text-align:center; border:none; outline:none; height:28px; font-weight:700; color: var(--ht-dark); }
.ht-mcart__rm { appearance:none; -webkit-appearance:none; background:transparent; border:none; color: var(--ht-gray-600); font-size: 12px; cursor:pointer; text-decoration: underline; }
.ht-mcart__rm:hover { color: #b91c1c; }

/* ==== Footer (Kurumsal) ==== */
.ht-footer { background:#fff; border-top:1px solid var(--ht-border); margin-top: 28px; }
.ht-footer::before { content:""; display:block; height: 3px; background: linear-gradient(90deg, transparent, var(--ht-yellow) 10%, var(--ht-green) 50%, var(--ht-yellow) 90%, transparent); opacity: .35; }
.ht-footer .ht-container { padding-top: 28px; padding-bottom: 28px; }
.ht-footer__grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 18px; align-items: start; }
.ht-fbrand { display:flex; align-items:center; gap: 10px; font-weight: 900; font-size: 18px; letter-spacing: .2px; color: var(--ht-dark); }
.ht-fbrand__icon { width: 28px; height: 28px; }
.ht-fbrand__name span { color: var(--ht-green); }
.ht-fdesc { color: var(--ht-gray-600); margin-top: 6px; }
.ht-fhead { font-weight: 800; margin: 6px 0 8px; color: var(--ht-dark); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.ht-flist { list-style:none; margin:0; padding:0; display:grid; gap: 8px; }
.ht-flist a { color: var(--ht-gray-700); }
.ht-flist a:hover { color: var(--ht-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ht-ftrust { display:flex; align-items:center; gap: 8px; margin-top: 16px; color: var(--ht-gray-700); }
.ht-ftrust__sep { width:1px; height:14px; background: var(--ht-border); }
.ht-fcopy { margin-top: 10px; color: var(--ht-gray-600); font-size: 13px; }
@media (max-width: 980px){ .ht-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .ht-footer__grid { grid-template-columns: 1fr; } }

/* Bölüm başlıklarında marka izi (sade vurgulu) */
.ht-section__header .ht-section__title::after { content:""; display:block; width: 36px; height: 3px; background: var(--ht-yellow); border-radius: 2px; margin-top: 6px; }
