/* ==========================================================================
   ANASAYFA - H7 (Yemek-tarzı) Tasarım — mavi/siyah/beyaz canlı palet
   ========================================================================== */

:root {
  --h7-primary: #325bee;
  --h7-primary-hover: #2548c7;
  --h7-primary-soft: #eef2ff;
  --h7-primary-softer: #f6f8ff;
  --h7-black: #000000;
  --h7-text: #000000;
  --h7-text-muted: #000000;
  --h7-border: #e8ebf3;
  --h7-border-soft: #f0f2f8;
  --h7-surface: #ffffff;
  --h7-bg: #ffffff;
  --h7-yellow: #f5b400;
  --h7-flash: #325bee;
  --h7-shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.04);
  --h7-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  --h7-shadow-hover: 0 8px 22px rgba(50, 91, 238, 0.10);
  --h7-radius-sm: 12px;
  --h7-radius: 18px;
  --h7-radius-lg: 24px;
  --h7-radius-pill: 999px;
}

body { background: #ffffff; color: #000000; }

/* Sticky footer — kısa içerikte footer en alta yapışsın, boşluk olmasın */
html { height: 100%; }
body.page-home {
  margin: 0 !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.page-home > .wrapper,
body.page-home .wrapper.ovh {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}
body.page-home .body_content { flex: 1 0 auto; }
body.page-home .wrapper > footer,
body.page-home .wrapper > .footer-style1,
body.page-home footer.footer-style1 {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  flex-shrink: 0;
}

/* === Anasayfa header — search section ile birleşik geometrik doku ===
   Pattern tek bir pseudo-element'e (body.page-home::before) basılır.
   Header ve search-section transparent kalır, böylece kesişimde seam olmaz. */
body.page-home {
  position: relative;
}
body.page-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 520px;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400' preserveAspectRatio='xMidYMid slice'%3E%3Cg stroke='%23000' stroke-width='1' fill='none' opacity='0.07'%3E%3Ccircle cx='90' cy='90' r='44'/%3E%3Ccircle cx='90' cy='90' r='26'/%3E%3Ccircle cx='90' cy='90' r='2.5' fill='%23000'/%3E%3Cline x1='46' y1='90' x2='134' y2='90'/%3E%3Cline x1='90' y1='46' x2='90' y2='134'/%3E%3Cpath d='M 480 60 L 575 60 L 575 155 Z'/%3E%3Cline x1='495' y1='75' x2='495' y2='155'/%3E%3Cline x1='510' y1='75' x2='510' y2='100'/%3E%3Cg transform='translate(360,310)'%3E%3Crect x='0' y='-14' width='190' height='14'/%3E%3Cline x1='20' y1='-14' x2='20' y2='-5'/%3E%3Cline x1='40' y1='-14' x2='40' y2='-8'/%3E%3Cline x1='60' y1='-14' x2='60' y2='-5'/%3E%3Cline x1='80' y1='-14' x2='80' y2='-8'/%3E%3Cline x1='100' y1='-14' x2='100' y2='-3'/%3E%3Cline x1='120' y1='-14' x2='120' y2='-8'/%3E%3Cline x1='140' y1='-14' x2='140' y2='-5'/%3E%3Cline x1='160' y1='-14' x2='160' y2='-8'/%3E%3Cline x1='180' y1='-14' x2='180' y2='-5'/%3E%3C/g%3E%3Cpolygon points='240,250 270,233 300,250 300,285 270,302 240,285'/%3E%3Ccircle cx='270' cy='268' r='9'/%3E%3Cg transform='translate(110,340)'%3E%3Cline x1='0' y1='0' x2='160' y2='0'/%3E%3Cline x1='0' y1='-6' x2='0' y2='6'/%3E%3Cline x1='160' y1='-6' x2='160' y2='6'/%3E%3Cline x1='-4' y1='3' x2='4' y2='-3'/%3E%3Cline x1='156' y1='3' x2='164' y2='-3'/%3E%3C/g%3E%3Cg transform='translate(440,200)'%3E%3Cline x1='-8' y1='0' x2='8' y2='0'/%3E%3Cline x1='0' y1='-8' x2='0' y2='8'/%3E%3C/g%3E%3Cg transform='translate(50,260)'%3E%3Cline x1='-8' y1='0' x2='8' y2='0'/%3E%3Cline x1='0' y1='-8' x2='0' y2='8'/%3E%3C/g%3E%3Cg transform='translate(560,330)'%3E%3Cline x1='-8' y1='0' x2='8' y2='0'/%3E%3Cline x1='0' y1='-8' x2='0' y2='8'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-color: #ffffff;
  background-repeat: no-repeat, repeat, repeat;
  background-size: cover, 22px 22px, 22px 22px;
  background-position: center top, 0 0, 0 0;
  mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, rgba(0,0,0,0.55) 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, rgba(0,0,0,0.55) 80%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

body.page-home .header-nav,
body.page-home header.header-nav {
  position: relative;
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
  z-index: 50;
}
/* Bootstrap modal backdrop/dialog her zaman header + search-section üstünde */
.modal-backdrop, .modal-backdrop.show { z-index: 1090 !important; opacity: 0.5 !important; }
.modal { z-index: 1100 !important; }
body.page-home .h7-search-section { z-index: 10; }
/* ═════ Logo hover swap animasyonları (sysadmin'den yönetilir) ═════ */
.header-logo .logo-swap { display: inline-block; position: relative; }
.header-logo .logo-swap .logo-swap-main,
.header-logo .logo-swap .logo-swap-hover {
  transition: opacity .35s ease, transform .35s ease, filter .35s ease;
  display: block;
  max-width: 100%;
}
.header-logo .logo-swap .logo-swap-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
}
/* Fade */
.header-logo .logo-swap[data-anim="fade"]:hover .logo-swap-main  { opacity: 0; }
.header-logo .logo-swap[data-anim="fade"]:hover .logo-swap-hover { opacity: 1; }
/* Crossfade (hafif scale) */
.header-logo .logo-swap[data-anim="crossfade"] .logo-swap-hover { transform: scale(1.04); }
.header-logo .logo-swap[data-anim="crossfade"]:hover .logo-swap-main  { opacity: 0; transform: scale(0.96); }
.header-logo .logo-swap[data-anim="crossfade"]:hover .logo-swap-hover { opacity: 1; transform: scale(1); }
/* Slide Up */
.header-logo .logo-swap[data-anim="slide-up"] .logo-swap-hover { transform: translateY(12px); }
.header-logo .logo-swap[data-anim="slide-up"]:hover .logo-swap-main  { opacity: 0; transform: translateY(-12px); }
.header-logo .logo-swap[data-anim="slide-up"]:hover .logo-swap-hover { opacity: 1; transform: translateY(0); }
/* Slide Down */
.header-logo .logo-swap[data-anim="slide-down"] .logo-swap-hover { transform: translateY(-12px); }
.header-logo .logo-swap[data-anim="slide-down"]:hover .logo-swap-main  { opacity: 0; transform: translateY(12px); }
.header-logo .logo-swap[data-anim="slide-down"]:hover .logo-swap-hover { opacity: 1; transform: translateY(0); }
/* Scale */
.header-logo .logo-swap[data-anim="scale"] .logo-swap-hover { transform: scale(0.5); }
.header-logo .logo-swap[data-anim="scale"]:hover .logo-swap-main  { opacity: 0; transform: scale(0.5); }
.header-logo .logo-swap[data-anim="scale"]:hover .logo-swap-hover { opacity: 1; transform: scale(1); }
/* Flip 3D */
.header-logo .logo-swap[data-anim="flip"] { perspective: 600px; }
.header-logo .logo-swap[data-anim="flip"] .logo-swap-main,
.header-logo .logo-swap[data-anim="flip"] .logo-swap-hover { backface-visibility: hidden; transform-style: preserve-3d; }
.header-logo .logo-swap[data-anim="flip"] .logo-swap-hover { transform: rotateY(180deg); opacity: 0; }
.header-logo .logo-swap[data-anim="flip"]:hover .logo-swap-main  { transform: rotateY(-180deg); }
.header-logo .logo-swap[data-anim="flip"]:hover .logo-swap-hover { transform: rotateY(0); opacity: 1; }

/* Header hizalama — sysadmin'den ayarlanan logo boyutuna dokunma,
   sadece USTA360 yazısını menü yazılarıyla aynı baseline'a yerleştir */
body.page-home .header-nav .row { align-items: center !important; }
body.page-home .header-logo {
  display: inline-flex !important;
  align-items: center !important;
}
body.page-home .header-logo .header-logo-text {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
}
body.page-home .header-logo .header-logo-text > a,
body.page-home .header-logo .header-logo-text > span {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1.1 !important;
}
/* Sağ menü item'larıyla aynı line-height */
body.page-home .header-nav .login-info,
body.page-home .header-nav .ud-btn,
body.page-home .header-nav .user-trigger,
body.page-home .header-nav .btn-mega {
  display: inline-flex;
  align-items: center;
  line-height: 1.1;
}

body.page-home .header-nav > *,
body.page-home .header-nav > nav,
body.page-home .header-nav .container {
  position: relative;
  z-index: 1;
}

/* === Search section ===
   Pattern artık body.page-home::before üzerinde, bu bölüm sadece transparent kalır. */
.h7-search-section {
  position: relative;
  padding: 72px 0 28px;
  background: transparent;
  overflow: visible;
  z-index: 20;
}
.h7-search-section > .container {
  position: relative;
  z-index: 1;
}
@media (max-width: 767px) {
  .h7-search-section { padding: 36px 0 22px; }
}
.h7-search-form { max-width: 760px; margin: 0 auto; }
.h7-search-pill {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 0 0 0 28px;
  height: 68px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  transition: border-color .2s, box-shadow .2s;
}
.h7-search-pill:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08); }
.h7-search-pill:focus-within {
  border-color: var(--h7-primary);
  box-shadow: 0 0 0 4px rgba(50, 91, 238, 0.10), 0 10px 28px rgba(50, 91, 238, 0.10);
}
.h7-search-icon {
  color: #000000;
  font-size: 18px;
  display: flex;
  align-items: center;
}
.h7-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  color: #000000;
  padding: 0 18px;
  height: 100%;
}
.h7-search-input::placeholder { color: #000000; opacity: 0.45; font-weight: 400; }

/* Tool butonlar (klavye + mikrofon) */
.h7-search-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: auto 4px;
  padding: 0;
  border: none;
  background: transparent;
  color: #000000;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  transition: background .15s, color .15s, transform .1s;
}
.h7-search-tool:hover { background: rgba(0, 0, 0, 0.05); }
.h7-search-tool:active { transform: scale(0.94); }
.h7-search-tool.is-active { background: var(--h7-primary-soft); color: var(--h7-primary); }
.h7-search-tool.h7-search-tool-mic.is-listening {
  background: rgba(220, 38, 38, 0.10);
  color: #dc2626;
  animation: h7-mic-pulse 1.2s ease-in-out infinite;
}
@keyframes h7-mic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.35); }
  50%      { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
}

/* Sanal klavye paneli — viewport'a sabit floating panel, sürüklenebilir */
.h7-vkb {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 560px;
  max-width: calc(100vw - 40px);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  padding: 12px;
  z-index: 1500;
}
.h7-vkb.is-open { display: block; animation: h7-vkb-in .2s ease-out; }
@keyframes h7-vkb-in {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.h7-vkb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #000000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 10px;
  cursor: grab;
  user-select: none;
}
.h7-vkb-header:active { cursor: grabbing; }
.h7-vkb-header::before {
  content: '⠿';
  margin-right: 8px;
  color: rgba(0, 0, 0, 0.35);
  font-size: 14px;
  letter-spacing: -2px;
}
.h7-vkb.is-dragging { transition: none !important; box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28); }
.h7-vkb-header i { color: #000000; margin-right: 4px; }
.h7-vkb-close {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #000000;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  transition: background .15s;
}
.h7-vkb-close:hover { background: rgba(0, 0, 0, 0.06); }
.h7-vkb-rows { display: flex; flex-direction: column; gap: 6px; }
.h7-vkb-row {
  display: flex;
  justify-content: center;
  gap: 4px;
}
.h7-vkb-key {
  min-width: 36px;
  height: 38px;
  padding: 0 8px;
  background: #f4f6fb;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  color: #000000;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .12s, transform .08s, border-color .12s;
  font-family: inherit;
}
.h7-vkb-key:hover { background: #e8ebf3; border-color: rgba(0, 0, 0, 0.12); }
.h7-vkb-key:active { transform: scale(0.94); }
.h7-vkb-key.h7-vkb-key-wide { min-width: 50px; }
.h7-vkb-key.h7-vkb-key-space { flex: 1; max-width: 360px; min-width: 200px; }
.h7-vkb-key.h7-vkb-key-bsp { background: #000000; color: #ffffff; border-color: #000000; }
.h7-vkb-key.h7-vkb-key-bsp:hover { background: #1a1a1a; }
.h7-vkb-key.h7-vkb-key-shift.is-active { background: var(--h7-primary); color: #ffffff; border-color: var(--h7-primary); }

@media (max-width: 575px) {
  .h7-vkb { max-width: calc(100vw - 24px); padding: 8px; }
  .h7-vkb-key { min-width: 28px; height: 34px; font-size: 13px; padding: 0 4px; }
  .h7-vkb-key.h7-vkb-key-wide { min-width: 40px; }
  .h7-vkb-key.h7-vkb-key-space { min-width: 140px; }
  .h7-search-tool { width: 36px; height: 36px; font-size: 14px; }
}

/* Mobilde: klavye butonu + Ara butonu gizli (sistem klavyesi + app-style modal var) */
@media (max-width: 767px) {
  #h7KbToggle { display: none !important; }
  .h7-vkb { display: none !important; }
  .h7-search-form .h7-search-btn { display: none !important; }
  /* Pill sağ tarafı yuvarlanmış kalsın (buton yok) */
  .h7-search-pill { padding-right: 12px; }
}
.h7-search-btn {
  height: 100%;
  padding: 0 40px;
  border: none;
  border-radius: 0 17px 17px 0;
  background: var(--h7-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background .2s, transform .1s;
  align-self: stretch;
}
.h7-search-btn:hover { background: var(--h7-primary-hover); }
.h7-search-btn:active { transform: scale(0.97); }
.h7-search-pill .search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 340px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  border: 1px solid var(--h7-border);
  border-radius: var(--h7-radius);
  box-shadow: 0 20px 48px rgba(13,18,36,0.18);
  z-index: 1000;
  scrollbar-width: thin;
  scrollbar-color: #000000 #f0f2f8;
}
.h7-search-pill .search-dropdown::-webkit-scrollbar { width: 6px; }
.h7-search-pill .search-dropdown::-webkit-scrollbar-track { background: #f0f2f8; border-radius: 3px; }
.h7-search-pill .search-dropdown::-webkit-scrollbar-thumb { background: #000000; border-radius: 3px; }
/* Popüler aramalar — input altında */
.h7-popular-searches {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin-top: 16px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.h7-popular-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #000000;
  letter-spacing: 0.02em;
}
.h7-popular-label i { color: #000000; opacity: 0.65; font-size: 12px; }
.h7-popular-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.h7-popular-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: #000000;
  background: #ffffff;
  border: none;
  border-radius: 16px;
  text-decoration: none;
  transition: background .15s, color .15s, transform .15s;
}
.h7-popular-chip:hover {
  background: rgba(50, 91, 238, 0.08);
  color: var(--h7-primary);
  transform: translateY(-1px);
}
.h7-popular-chip-icon {
  font-size: 11px;
  color: var(--h7-primary);
}
.h7-popular-chip.is-trending:hover {
  background: rgba(50, 91, 238, 0.12);
  color: var(--h7-primary-hover);
}

/* Modern stat-card görünümü — sade beyaz, bordersiz */
.h7-trust-row {
  display: inline-flex;
  align-items: stretch;
  margin: 22px auto 0;
  padding: 4px;
  background: #ffffff;
  border: none;
  border-radius: 16px;
  box-shadow: none;
  position: relative;
}
.h7-trust-row::before {
  content: '';
  display: block;
  width: 100%;
  height: 0;
}
/* Wrapper'ı ortala */
.h7-search-section .h7-trust-row { display: inline-flex; }
.h7-search-section .container { text-align: center; }
.h7-search-section .h7-trust-row { text-align: left; }

.h7-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  transition: background .2s;
  border-radius: 12px;
  cursor: default;
}
.h7-trust-item:hover { background: rgba(0, 0, 0, 0.025); }
.h7-trust-item i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: transparent;
  color: #000000;
  font-size: 16px;
  flex-shrink: 0;
}
.h7-trust-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.h7-trust-text strong {
  font-size: 18px;
  font-weight: 800;
  color: #000000;
  letter-spacing: -0.02em;
}
.h7-trust-text span {
  font-size: 10.5px;
  color: rgba(0, 0, 0, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 3px;
  font-weight: 600;
}
.h7-trust-divider {
  width: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 10px 0;
}

/* Mobilde kompakt */
@media (max-width: 575px) {
  .h7-trust-item { padding: 8px 14px; gap: 8px; }
  .h7-trust-item i { width: 30px; height: 30px; font-size: 12px; }
  .h7-trust-text strong { font-size: 15px; }
  .h7-trust-text span { font-size: 9.5px; }
}
.h7-trust-row strong { color: #000000; font-weight: 700; }
.h7-trust-row i { color: #000000; margin-right: 0; }

/* === Section wrapper === */
.h7-section { padding: 36px 0 18px; }
.h7-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 12px;
  flex-wrap: wrap;
}
.h7-section-title,
section.h7-section .h7-section-title,
.h7-section-head .h7-section-title {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--h7-black);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2 !important;
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
.h7-section-more {
  font-size: 13px;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--h7-radius-pill);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.h7-section-more i { font-size: 11px; color: #000000; transition: color .2s; }
.h7-section-more:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  transform: translateX(2px);
}
.h7-section-more:hover i { color: #ffffff; }
.h7-flash-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--h7-primary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: var(--h7-radius-pill);
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(50, 91, 238, 0.28);
}

/* === Category chips rail === */
.h7-cat-rail, .h7-rail {
  position: relative;
  display: block;
}
.h7-cat-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 12px 4px 24px;
  flex: 1;
  -webkit-mask-image: linear-gradient(to right, black 0%, black 92%, transparent 100%);
          mask-image: linear-gradient(to right, black 0%, black 92%, transparent 100%);
}
.h7-cat-track::-webkit-scrollbar { display: none; }
.h7-cat-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 14px;
  background: #fff;
  border: 1px solid var(--h7-border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--h7-text);
  transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 60px;
  box-shadow: var(--h7-shadow-soft);
  position: relative;
}
.h7-cat-chip:hover {
  border-color: var(--h7-primary);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(50, 91, 238, 0.10);
  z-index: 3;
}
.h7-cat-chip-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #f4f6fb;
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  transition: all .25s;
}
.h7-cat-chip:hover .h7-cat-chip-icon {
  background: #000000;
  color: #ffffff;
  transform: rotate(-6deg) scale(1.05);
}
.h7-cat-chip-text { display: flex; flex-direction: column; line-height: 1.2; }
.h7-cat-chip-name { font-weight: 700; font-size: 13.5px; color: #000000; }
.h7-cat-chip-meta { font-size: 11px; color: #000000; opacity: 0.55; margin-top: 2px; }

/* === Rail arrows — absolute pozisyonda, sadece hover + scroll mevcutsa belir === */
.h7-rail-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.92);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--h7-border);
  color: var(--h7-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
  transition: opacity .2s, transform .2s, background .2s, color .2s;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}
/* Görünür: scroll var (is-visible) VE bölüm üzerinde hover */
.h7-rail:hover .h7-rail-arrow.is-visible,
.h7-cat-rail:hover .h7-rail-arrow.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}
.h7-rail-arrow:hover {
  background: var(--h7-primary) !important;
  color: #ffffff !important;
  border-color: var(--h7-primary) !important;
  transform: translateY(-50%) scale(1.08) !important;
  box-shadow: 0 10px 24px rgba(50, 91, 238, 0.30) !important;
}
.h7-rail-arrow-left { left: 6px; }
.h7-rail-arrow-right { right: 6px; }
@media (max-width: 768px) { .h7-rail-arrow { display: none; } }

/* === Featured rail === */
.h7-rail-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 14px 6px 32px;
  flex: 1;
  /* Hafif fade — sadece son ~3% alanda yumuşak geçiş (önceden 94%→100%, çok parlaktı) */
  -webkit-mask-image: linear-gradient(to right, black 0%, black 97%, rgba(0,0,0,0.5) 99%, transparent 100%);
          mask-image: linear-gradient(to right, black 0%, black 97%, rgba(0,0,0,0.5) 99%, transparent 100%);
}
.h7-rail-track::-webkit-scrollbar { display: none; }
.h7-rail-track .h7-craft-card {
  flex: 0 0 290px;
  max-width: 290px;
}

/* === Craftsman card === */
.h7-craft-card {
  background: #fff;
  border-radius: var(--h7-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--h7-text);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--h7-border-soft);
  box-shadow: var(--h7-shadow-soft);
  transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow .25s, border-color .25s;
  position: relative;
}
.h7-craft-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--h7-shadow-hover);
  border-color: transparent;
  z-index: 5;
}
.h7-craft-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.h7-craft-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.h7-craft-card:hover .h7-craft-cover img { transform: scale(1.06); }
.h7-craft-cover-fallback {
  width: 100%;
  height: 100%;
  background: var(--h7-primary);
  position: relative;
  overflow: hidden;
}

/* Geometrik desenli cover (profil/cover resmi yoksa) */
.h7-cover-geo::before,
.h7-cover-geo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Varyant 0: Diagonal stripes */
.h7-cover-geo[data-variant="0"]::before {
  background-image:
    repeating-linear-gradient(45deg,
      rgba(255,255,255,0.10) 0px,
      rgba(255,255,255,0.10) 1px,
      transparent 1px,
      transparent 22px);
}
.h7-cover-geo[data-variant="0"]::after {
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,0.28) 0%, transparent 25%),
    radial-gradient(circle at 10% 90%, rgba(0,0,0,0.20) 0%, transparent 35%);
}

/* Varyant 1: Concentric rings */
.h7-cover-geo[data-variant="1"]::before {
  background:
    radial-gradient(circle at 85% 15%, transparent 18px, rgba(255,255,255,0.18) 19px, rgba(255,255,255,0.18) 20px, transparent 21px),
    radial-gradient(circle at 85% 15%, transparent 38px, rgba(255,255,255,0.14) 39px, rgba(255,255,255,0.14) 40px, transparent 41px),
    radial-gradient(circle at 85% 15%, transparent 60px, rgba(255,255,255,0.10) 61px, rgba(255,255,255,0.10) 62px, transparent 63px);
}
.h7-cover-geo[data-variant="1"]::after {
  background:
    radial-gradient(circle at 15% 85%, rgba(255,255,255,0.18) 0%, transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 50%);
}

/* Varyant 2: Dot grid + diagonal accent */
.h7-cover-geo[data-variant="2"]::before {
  background-image: radial-gradient(circle, rgba(255,255,255,0.20) 1.5px, transparent 1.6px);
  background-size: 18px 18px;
}
.h7-cover-geo[data-variant="2"]::after {
  background:
    linear-gradient(115deg, transparent 45%, rgba(255,255,255,0.14) 46%, rgba(255,255,255,0.14) 48%, transparent 49%),
    linear-gradient(115deg, transparent 60%, rgba(0,0,0,0.18) 61%, rgba(0,0,0,0.18) 62%, transparent 63%);
}

/* Varyant 3: Cross hatch + corner triangle */
.h7-cover-geo[data-variant="3"]::before {
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.08) 0px, rgba(255,255,255,0.08) 1px, transparent 1px, transparent 16px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0px, rgba(255,255,255,0.08) 1px, transparent 1px, transparent 16px);
}
.h7-cover-geo[data-variant="3"]::after {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.20) 20%, transparent 20%),
    radial-gradient(circle at 100% 100%, rgba(0,0,0,0.22) 0%, transparent 40%);
}

/* Avatar — initials varyantı (profil resmi yoksa) */
.h7-craft-avatar.h7-craft-avatar-initials {
  background: var(--h7-primary);
}
.h7-craft-avatar.h7-craft-avatar-initials span {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.h7-craft-badge {
  position: absolute;
  top: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: var(--h7-radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.h7-craft-badge i { font-size: 10px; }
.h7-craft-badge-flash {
  left: 12px;
  background: rgba(255,255,255,0.95);
  color: var(--h7-primary);
  box-shadow: 0 4px 12px rgba(13,18,36,0.12);
}
.h7-craft-badge-verified {
  right: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  padding: 0;
  background: rgba(255,255,255,0.95);
  color: var(--h7-primary);
  box-shadow: 0 4px 12px rgba(13,18,36,0.12);
  border-radius: 50%;
  gap: 0;
  justify-content: center;
  cursor: pointer;
  transition: width .3s ease, border-radius .3s ease, padding .3s ease;
}
.h7-craft-badge-verified i { color: var(--h7-primary); font-size: 12px; }
.h7-craft-badge-text {
  display: inline-block;
  max-width: 0;
  margin-left: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width .3s ease, margin-left .3s ease, opacity .2s ease;
}
.h7-craft-card:hover .h7-craft-badge-verified,
.h7-craft-badge-verified:hover {
  width: auto;
  padding: 0 11px;
  border-radius: var(--h7-radius-pill);
}
.h7-craft-card:hover .h7-craft-badge-verified .h7-craft-badge-text,
.h7-craft-badge-verified:hover .h7-craft-badge-text {
  max-width: 80px;
  margin-left: 5px;
  opacity: 1;
}
.h7-craft-avatar {
  position: relative;
  z-index: 3;
  margin: -34px 0 0 16px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #ffffff;
  box-shadow:
    0 0 0 2px var(--h7-primary),
    0 2px 6px rgba(50, 91, 238, 0.10);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.h7-craft-avatar img { width: 100%; height: 100%; object-fit: cover; }
.h7-craft-avatar span {
  font-size: 22px;
  font-weight: 800;
  color: var(--h7-primary);
}
.h7-craft-body {
  padding: 12px 18px 18px;
}
.h7-craft-name {
  font-size: 15.5px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 4px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.h7-craft-cat {
  font-size: 12px;
  color: var(--h7-primary);
  font-weight: 600;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.h7-craft-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #000000;
  margin-bottom: 8px;
  padding: 8px 10px;
  background: var(--h7-primary-softer);
  border-radius: var(--h7-radius-sm);
  border: 1px solid var(--h7-border-soft);
}
.h7-craft-rating { font-weight: 700; display: inline-flex; align-items: center; gap: 4px; color: #000000; }
.h7-craft-rating i { color: #000000; }
.h7-craft-rating small { color: #000000; opacity: 0.55; font-weight: 500; font-size: 11px; }
.h7-craft-resp {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #000000;
  font-weight: 500;
}
.h7-craft-resp i { color: #000000; }
.h7-craft-region {
  font-size: 11.5px;
  color: #000000;
  opacity: 0.7;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 0;
}
.h7-craft-region i { color: #000000; opacity: 1; }

/* === App download === */
.h7-app-section { padding: 50px 0 30px; background: #ffffff; }
.h7-app-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--h7-border);
  border-radius: var(--h7-radius-lg);
  padding: 56px 56px;
  overflow: hidden;
  box-shadow: var(--h7-shadow);
}
.h7-app-decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.18;
}
.h7-app-decor-1 { width: 320px; height: 320px; background: var(--h7-primary); top: -120px; right: -80px; }
.h7-app-decor-2 { width: 240px; height: 240px; background: var(--h7-primary); bottom: -100px; left: 5%; opacity: 0.10; }
.h7-app-content { position: relative; z-index: 2; color: #000000; }
.h7-app-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000000;
  background: #f4f6fb;
  padding: 6px 14px;
  border-radius: var(--h7-radius-pill);
  margin-bottom: 18px;
}
.h7-app-eyebrow i { color: #000000; }
.h7-app-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 14px;
  color: #000000;
}
.h7-app-title-accent { color: var(--h7-primary); }
.h7-app-text {
  font-size: 15px;
  line-height: 1.6;
  color: #000000;
  opacity: 0.72;
  margin: 0 0 28px;
  max-width: 480px;
}
.h7-app-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.h7-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: #000000;
  border: 1px solid #000000;
  border-radius: var(--h7-radius-sm);
  text-decoration: none;
  color: #ffffff;
  transition: all .2s;
}
.h7-app-btn:hover {
  background: var(--h7-primary);
  border-color: var(--h7-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(50, 91, 238, 0.32);
}
.h7-app-btn:hover i,
.h7-app-btn:hover small,
.h7-app-btn:hover strong { color: #ffffff; }
.h7-app-btn i { font-size: 26px; color: #ffffff; }
.h7-app-btn span { display: flex; flex-direction: column; line-height: 1.1; }
.h7-app-btn small { font-size: 10px; font-weight: 500; opacity: 0.85; letter-spacing: 0.06em; }
.h7-app-btn strong { font-size: 15px; font-weight: 700; }
.h7-app-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--h7-border);
}
.h7-app-stats > div { display: flex; flex-direction: column; }
.h7-app-stats strong { font-size: 22px; font-weight: 800; color: #000000; letter-spacing: -0.02em; }
.h7-app-stats span { font-size: 12px; color: #000000; opacity: 0.6; margin-top: 2px; }
.h7-app-stats i { color: #000000; margin-right: 3px; }

/* App phone mockup */
.h7-app-visual { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; }
.h7-app-phone {
  position: relative;
  width: 240px;
  height: 480px;
  background: #000000;
  border-radius: 38px;
  border: 3px solid #000000;
  padding: 14px 12px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.18);
  transform: rotate(-4deg);
  transition: transform .4s;
}
.h7-app-phone:hover { transform: rotate(-2deg) translateY(-4px); }
.h7-app-phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #000000;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.h7-app-phone-screen {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 26px;
  padding: 38px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.h7-app-mock-bar {
  height: 38px;
  background: var(--h7-primary-soft);
  border-radius: var(--h7-radius-pill);
}
.h7-app-mock-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  background: var(--h7-primary);
  color: #ffffff;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(50, 91, 238, 0.30);
}
.h7-app-mock-card.alt {
  background: #ffffff;
  color: var(--h7-primary);
  border: 1px solid var(--h7-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.h7-app-mock-card i { font-size: 14px; }
.h7-app-mock-row {
  height: 14px;
  background: var(--h7-primary-soft);
  border-radius: 7px;
}
.h7-app-mock-row.short { width: 60%; }

@media (max-width: 991px) {
  .h7-app-card { grid-template-columns: 1fr; padding: 40px 28px; gap: 28px; }
  .h7-app-title { font-size: 28px; }
  .h7-app-visual { display: none; }
}
@media (max-width: 767px)  { .h7-rail-track .h7-craft-card { flex: 0 0 250px; max-width: 250px; } }

/* === Eski hero/categories class'larını gizle (yedekteki tasarım için) === */
.hero-home6, .categories-section { display: none !important; }


:root {
  --primary: #325bee;
  --primary-dark: #2a4fd4;
  --primary-light: #edf2ff;
  --text-dark: #111827;
  --text-body: #4b5563;
  --text-muted: #9ca3af;
  --text-light: #d1d5db;
  --border: #e5e7eb;
  --radius: 12px;
  --transition: 0.2s ease;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-home6 {
  background: #fff;
  padding: 0 0 64px;
}

.hero-title-mobile {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: -0.03em;
}
.hero-title-mobile .text-thm {
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
}

/* Rotating Text Animation */
.rotating-text-wrapper {
  display: inline-block;
  vertical-align: bottom;
  height: 1.15em;
  overflow: hidden;
  min-width: 3.8em;
  text-align: left;
}
.rotating-text-inner {
  display: flex;
  flex-direction: column;
  animation: rotateWords 12.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.rotating-text-inner span {
  display: block;
  flex-shrink: 0;
  height: 1.15em;
  line-height: 1.15;
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
  white-space: nowrap;
}
@keyframes rotateWords {
  0%, 15%    { transform: translateY(0); }
  20%, 35%   { transform: translateY(-1.15em); }
  40%, 55%   { transform: translateY(-2.30em); }
  60%, 75%   { transform: translateY(-3.45em); }
  80%, 95%   { transform: translateY(-4.60em); }
  100%       { transform: translateY(0); }
}

.hero-home6 .text.hide-mobile {
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.7;
}

/* Search */
.search-autocomplete-wrap { position: relative; }

.hero-home6 .advance-search-tab.at-home6 {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 6px;
  background: #fff;
  box-shadow: none;
  transition: border-color var(--transition);
}
.hero-home6 .advance-search-tab.at-home6:focus-within {
  border-color: var(--primary);
}
.hero-home6 .advance-search-tab .row { align-items: center; }

.hero-home6 .advance-search-field .box-search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 16px;
  background: #fff;
}
.hero-home6 .advance-search-field .box-search .icon {
  position: static; left: auto; bottom: auto;
  flex-shrink: 0; width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 16px;
  transition: color var(--transition);
}
.hero-home6 .advance-search-field .box-search:focus-within .icon {
  color: var(--primary);
}
.hero-home6 .advance-search-field .box-search input {
  flex: 1; min-width: 0; padding: 0; border: none;
  background: transparent; font-size: 15px; color: var(--text-dark);
  font-weight: 500; outline: none;
}
.hero-home6 .advance-search-field .box-search input::placeholder { color: var(--text-light); font-weight: 400; }
.hero-home6 .advance-search-field .box-search input:focus { border: none; outline: none; box-shadow: none; }

.hero-home6 .advance-search-tab .ud-btn.btn-thm2 {
  min-height: 50px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  background: var(--primary);
  border-color: var(--primary);
  transition: background var(--transition);
}
.hero-home6 .advance-search-tab .ud-btn.btn-thm2:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Autocomplete Dropdown */
.search-dropdown {
  display: none; position: absolute;
  top: calc(100% + 6px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 100; max-height: 320px; overflow-y: auto; padding: 6px;
}
.search-dropdown.open { display: block; }
.search-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; text-decoration: none;
  color: var(--text-dark); font-size: 14px; font-weight: 500;
  border-radius: 8px; transition: background var(--transition); cursor: pointer;
}
.search-dropdown-item:hover, .search-dropdown-item.active {
  background: var(--primary-light); color: var(--primary);
}
.search-dropdown-item i { color: var(--text-light); font-size: 13px; width: 18px; text-align: center; flex-shrink: 0; }
.search-dropdown-item:hover i, .search-dropdown-item.active i { color: var(--primary); }
.search-dropdown-item .dd-meta {
  margin-left: auto; font-size: 12px; color: var(--text-muted); white-space: nowrap;
}

/* Popular Pills */
.popular-searches { align-items: center; gap: 8px; flex-wrap: wrap; }
.popular-pill {
  display: inline-flex; align-items: center; padding: 6px 14px;
  border-radius: 8px; background: #fff; color: var(--text-body);
  font-size: 13px; font-weight: 500; text-decoration: none;
  white-space: nowrap; border: 1px solid var(--border);
  transition: all var(--transition);
}
.popular-pill:hover { border-color: var(--primary); color: var(--primary); }
.popular-pill-icon { margin-right: 6px; color: var(--primary); font-size: 11px; opacity: 0.5; }
.popular-pill:hover .popular-pill-icon { opacity: 1; }

/* Trust Indicators */
.hero-trust-indicators { display: flex; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust-item {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-body); font-size: 14px; font-weight: 600;
}
.hero-trust-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; background: var(--primary-light); color: var(--primary);
}

/* ==========================================================================
   CATEGORIES
   ========================================================================== */
.categories-section { padding: 64px 0; background: #fff; }
.categories-section .main-title2 .title {
  font-size: 1.6rem; font-weight: 800; color: var(--text-dark); letter-spacing: -0.02em;
}
.categories-section .main-title2 .paragraph { color: var(--text-muted); font-size: 15px; }

.category-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--border);
  text-decoration: none; transition: border-color var(--transition);
  margin-bottom: 14px;
}
.category-card:hover { border-color: var(--primary); }

.category-card-icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: var(--primary);
  flex-shrink: 0; background: var(--primary-light);
  transition: all var(--transition);
}
.category-card:hover .category-card-icon {
  background: var(--primary); color: #fff;
}

.category-card-info h6 {
  margin-bottom: 2px; font-weight: 600; color: var(--text-dark); font-size: 14px;
  transition: color var(--transition);
}
.category-card:hover .category-card-info h6 { color: var(--primary); }
.category-card-info p { margin-bottom: 0; font-size: 12px; color: var(--text-muted); }

.categories-section .ud-btn2 { font-weight: 600; color: var(--primary); }

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.how-it-works { padding: 64px 0; background: #fff; }
.how-it-works .section-title { text-align: center; margin-bottom: 48px; }
.how-it-works .section-title h2 {
  font-size: 1.6rem; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; letter-spacing: -0.02em;
}
.how-it-works .section-title p { color: var(--text-muted); font-size: 15px; }

.how-it-works-steps {
  display: flex; justify-content: center; gap: 0;
  align-items: flex-start; max-width: 840px; margin: 0 auto;
}

.how-step-line {
  flex-shrink: 0; width: 80px; height: 1px; margin-top: 36px;
  background: var(--border);
}

.how-step { flex: 1; max-width: 220px; text-align: center; padding: 0 10px; }
.how-step-circle {
  margin: 0 auto 18px; width: 72px; height: 72px; border-radius: 50%;
  background: #000000; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #ffffff; transition: all var(--transition);
}
.how-step:hover .how-step-circle {
  background: var(--h7-primary, #325bee); color: #ffffff;
}
.how-step-title { margin-bottom: 6px; font-size: 15px; font-weight: 700; color: var(--text-dark); }
.how-step-text { font-size: 13px; line-height: 1.6; color: var(--text-muted); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-section { padding: 48px 0 64px; background: #fff; }
.cta-inner {
  background: var(--primary); border-radius: 16px;
  padding: 48px 40px; text-align: center;
}
.cta-inner h2 { color: #fff; font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.02em; }
.cta-inner p { color: rgba(255,255,255,0.8); font-size: 15px; margin-bottom: 28px; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: #fff; color: var(--primary);
  border-radius: 10px; font-weight: 700; font-size: 15px;
  text-decoration: none; transition: opacity var(--transition);
}
.cta-btn:hover { opacity: 0.9; color: var(--primary); }
.cta-btn i { font-size: 14px; }

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.fade-in-up {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.fade-in-up[data-delay="100"] { transition-delay: 0.1s; }
.fade-in-up[data-delay="200"] { transition-delay: 0.2s; }
.fade-in-up[data-delay="300"] { transition-delay: 0.3s; }
.fade-in-up[data-delay="400"] { transition-delay: 0.4s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991.98px) {
  .hero-title-mobile { font-size: 2.2rem; }
  .hero-home6 { padding-bottom: 48px; }
  .how-it-works-steps { flex-wrap: wrap; gap: 28px; }
  .how-step-line { display: none; }
  .how-step { flex: 0 0 calc(50% - 14px); max-width: 100%; }
  .categories-section { padding: 48px 0; }
  .cta-inner { padding: 40px 28px; }
  .cta-inner h2 { font-size: 1.4rem; }
}

@media (max-width: 767.98px) {
  .hero-title-mobile { font-size: 1.6rem; margin-top: 16px !important; margin-bottom: 14px !important; }
  .hero-home6 { padding-top: 10px !important; padding-bottom: 32px; background: #fff; }
  .popular-searches { flex-direction: row !important; gap: 6px !important; row-gap: 6px !important; margin-bottom: 20px !important; padding-bottom: 10px !important; }
  .popular-pill { padding: 4px 10px !important; font-size: 12px; margin: 2px 1px !important; }
  .hero-trust-indicators { gap: 10px; margin-top: 18px; }
  .hero-trust-item { font-size: 12px; }
  .hero-trust-icon { width: 26px; height: 26px; font-size: 11px; }
  .hero-home6 .advance-search-tab.at-home6 { border-radius: 10px; padding: 4px; }
  .hero-home6 .advance-search-field .box-search { min-height: 44px; padding: 0 12px; }
  .categories-section { padding: 32px 0 40px; }
  .category-card { margin-bottom: 10px; padding: 14px; }
  .category-card-icon { width: 42px; height: 42px; font-size: 16px; }
  .categories-section .main-title2 .title { font-size: 1.3rem; }
  .how-it-works { padding: 40px 0; }
  .how-it-works .section-title { margin-bottom: 32px; }
  .how-it-works .section-title h2 { font-size: 1.3rem; }
  .how-it-works-steps { flex-direction: column; align-items: center; gap: 20px; }
  .how-step { flex: 0 0 100%; max-width: 260px; }
  .how-step-circle { width: 60px; height: 60px; font-size: 22px; margin-bottom: 14px; }
  .cta-section { padding: 32px 0; }
  .cta-inner { padding: 36px 20px; border-radius: 14px; }
  .cta-inner h2 { font-size: 1.25rem; }
  .cta-inner p { font-size: 13px; }
  .cta-btn { padding: 12px 24px; font-size: 14px; }
  .hide-after-popular-mobile { display: none !important; }
  .hide-mobile { display: none !important; }
  .search-dropdown { max-height: 240px; }
  .advance-search-tab .col-md-3, .advance-search-tab .col-lg-4, .advance-search-tab .col-xl-3 { display: none !important; }
  .advance-search-tab .col-md-9, .advance-search-tab .col-lg-8, .advance-search-tab .col-xl-9 { width: 100% !important; max-width: 100% !important; }
}

/* ==========================================================================
   MOBILE SEARCH — Tam Ekran
   ========================================================================== */
.msm {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}
.msm.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Top bar — input + iptal */
.msm-top {
  background: #fff;
  padding: 12px 16px;
  padding-top: max(12px, env(safe-area-inset-top));
  border-bottom: 1px solid var(--border);
}
.msm-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.msm-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  background: #f3f4f6;
  border-radius: 12px;
  padding: 0 14px;
  height: 48px;
  border: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
.msm-input-wrap:focus-within {
  background: #fff;
  border-color: var(--border);
}
.msm-input-icon {
  color: var(--text-muted);
  font-size: 16px;
  margin-right: 10px;
  flex-shrink: 0;
}
.msm-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
}
.msm-input::placeholder { color: var(--text-light); font-weight: 400; }
.msm-cancel {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  padding: 8px 4px;
}

/* Body — scrollable */
.msm-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  -webkit-overflow-scrolling: touch;
}

/* Section titles */
.msm-section-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.msm-section-title-pop,
.msm-section-title-quick {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.msm-section-title-pop i {
  color: var(--primary);
  font-size: 14px;
}

/* Quick Access Grid — 3 sütun */
.msm-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.msm-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 8px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
}
.msm-quick-item:active {
  background: var(--primary-light);
  border-color: var(--primary);
}
.msm-quick-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Popular Tags */
.msm-popular-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.msm-pop-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}
.msm-pop-tag:active {
  background: var(--primary);
  color: #fff;
}
.msm-pop-tag i { font-size: 12px; }
.msm-pop-tag.is-trending { background: rgba(50, 91, 238, 0.08); color: var(--h7-primary); }
.msm-pop-tag.is-trending i { color: var(--h7-primary); }

/* Son Aramalar (Recent) */
.msm-section-title-recent {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}
.msm-clear-recents {
  background: transparent;
  border: none;
  color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  transition: background .15s, color .15s;
}
.msm-clear-recents:hover { background: rgba(0, 0, 0, 0.06); color: #000; }
.msm-recent-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.msm-recent-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  text-decoration: none;
  color: #000;
  font-size: 14px;
  border-radius: 8px;
  transition: background .15s;
  position: relative;
}
.msm-recent-item:hover { background: rgba(0, 0, 0, 0.04); }
.msm-recent-item-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4f6fb;
  border-radius: 50%;
  color: rgba(0, 0, 0, 0.55);
  font-size: 12px;
  flex-shrink: 0;
}
.msm-recent-item-text { flex: 1; color: #000; }
.msm-recent-item-remove {
  background: transparent;
  border: none;
  color: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  font-size: 12px;
  transition: background .15s, color .15s;
}
.msm-recent-item-remove:hover { background: rgba(0, 0, 0, 0.08); color: #000; }

/* Hızlı Erişim — liste tarzı */
.msm-quick-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.msm-quick-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 8px;
  text-decoration: none;
  color: #000;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: background .15s;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.msm-quick-row:last-child { border-bottom: none; }
.msm-quick-row:hover, .msm-quick-row:active { background: rgba(50, 91, 238, 0.06); }
.msm-quick-row-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(50, 91, 238, 0.08);
  border-radius: 10px;
  color: var(--h7-primary);
  font-size: 14px;
  flex-shrink: 0;
}
.msm-quick-row-text { flex: 1; }
.msm-quick-row-arrow { color: rgba(0, 0, 0, 0.3); font-size: 11px; }

/* Search Results */
.msm-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 500;
  transition: background var(--transition);
}
.msm-result-item:active {
  background: var(--primary-light);
}
.msm-result-item i {
  color: var(--text-light);
  font-size: 14px;
  width: 20px;
  flex-shrink: 0;
  text-align: center;
}
.msm-result-item small {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
}
.msm-result-item + .msm-result-item {
  border-top: 1px solid #f3f4f6;
}
/* Sonuç grupları */
.msm-results-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 12px 6px;
}
.msm-result-cat i {
  color: var(--primary) !important;
}
.msm-result-raw {
  color: var(--primary);
  font-weight: 700;
  background: var(--primary-light);
  border-radius: 10px;
  margin: 0 4px;
}
.msm-result-raw i { color: var(--primary); }

/* Masaüstünde gizle */
@media (min-width: 768px) {
  .msm { display: none !important; }
}

/* ==========================================================================
   MOBILE FAB
   ========================================================================== */
.mobile-fab-button { display: none; }
@media (max-width: 767.98px) {
  .mobile-fab-button { display: block; position: fixed; bottom: 24px; right: 16px; z-index: 999; }
  .mobile-fab-link {
    display: flex; align-items: center; gap: 8px; padding: 14px 20px;
    background: var(--primary); color: #fff; border-radius: 12px;
    text-decoration: none; font-weight: 700; font-size: 14px;
    box-shadow: 0 4px 16px rgba(50,91,238,0.3); transition: opacity var(--transition);
  }
  .mobile-fab-link:hover { opacity: 0.9; color: #fff; }
  .mobile-fab-link i { font-size: 16px; }
}

.preloader { background: #fff !important; }

/* ==========================================================================
   SCROLL-TO-TOP butonu — beyaz alanda da görünür olsun
   .at-home2 varyantı default beyaz/şeffaf, beyaz arkaplanda kayboluyordu
   ========================================================================== */
.scrollToHome,
.scrollToHome.at-home2 {
  background-color: #111 !important;
  border-color: rgba(255,255,255,0.15) !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.scrollToHome:hover,
.scrollToHome.at-home2:hover {
  background-color: #023E7D !important;
  color: #fff !important;
}
