/* ============================================
   OASIS DİJİTAL — MOBİL CSS v4.0
   Kusursuz Mobil Uygulama Görünümü
   Yatay taşma tamamen önlendi
   ============================================ */

/* ============================================
   GLOBAL OVERFLOW FIX — Her zaman aktif
   ============================================ */
html,
body {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative !important;
}

/* Tüm elementler kutu modelini doğru kullansın */
*,
*::before,
*::after {
  box-sizing: border-box !important;
}

/* Taşmaya neden olabilecek elementleri kısıtla */
img,
video,
iframe,
embed,
object {
  max-width: 100% !important;
}

/* Flex/Grid çocuklarında min-width sıfırla */
.flex > *,
.grid > *,
[class*="grid-"] > * {
  min-width: 0;
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 1001;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
  pointer-events: none;
}

/* ============================================
   BOTTOM NAV — Desktop'ta gizle
   ============================================ */
.bottom-nav {
  display: none;
}

/* ============================================
   DOKUNMA RİPPLE ANİMASYONU
   ============================================ */
@keyframes touchRipple {
  0%   { transform: scale(0); opacity: 0.4; }
  100% { transform: scale(2.5); opacity: 0; }
}

.touch-ripple {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
  width: 40px;
  height: 40px;
  margin-left: -20px;
  margin-top: -20px;
  pointer-events: none;
  animation: touchRipple 0.5s ease-out forwards;
  z-index: 10;
}

/* ============================================
   TABLET (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ============================================
   MOBİL ANA AYARLAR (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {

  /* ---- Dokunma optimizasyonu ---- */
  * {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
  }

  p, h1, h2, h3, h4, h5, h6, span, a {
    -webkit-user-select: text;
    user-select: text;
  }

  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  body {
    padding-top: 60px !important;
    padding-bottom: 72px !important;
    overscroll-behavior-y: contain;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  /* ============================================
     CONTAINER — MOBİL
     ============================================ */
  .container {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
  }

  /* ============================================
     NAVBAR — MOBİL
     ============================================ */
  .navbar {
    padding: 0 !important;
    height: 60px !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .navbar.scrolled {
    padding: 0 !important;
    height: 60px !important;
  }

  .navbar .container {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .navbar-inner {
    gap: 8px !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    height: 60px !important;
    align-items: center !important;
  }

  .navbar-logo {
    flex-shrink: 0 !important;
    min-width: 0 !important;
  }

  .navbar-logo .logo-text {
    font-size: 1rem !important;
    white-space: nowrap !important;
  }

  .navbar-logo .logo-icon {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.95rem !important;
    flex-shrink: 0 !important;
  }

  /* Masaüstü nav gizle */
  .navbar-nav {
    display: none !important;
  }

  .navbar-actions {
    gap: 6px !important;
    flex-shrink: 0 !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    margin-left: auto !important;
  }

  /* Hamburger gizle — bottom nav kullanıyoruz */
  .navbar-toggle {
    display: none !important;
  }

  .navbar-desktop-only {
    display: none !important;
  }

  .navbar-icon-btn {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    font-size: 0.9rem !important;
    flex-shrink: 0 !important;
    border-radius: 10px !important;
  }

  #cartBtn {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    font-size: 0.9rem !important;
    flex-shrink: 0 !important;
  }

  #themeToggle {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    font-size: 0.9rem !important;
    flex-shrink: 0 !important;
  }

  .navbar-user-btn {
    padding: 0 !important;
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
  }

  .navbar-username {
    display: none !important;
  }

  .user-dropdown {
    right: 0 !important;
    left: auto !important;
    min-width: 200px !important;
    max-width: calc(100vw - 24px) !important;
  }

  /* Giriş butonu — mobilde küçük */
  .navbar-actions .btn-secondary.btn-sm {
    padding: 7px 12px !important;
    font-size: 0.8rem !important;
    min-height: 36px !important;
    white-space: nowrap !important;
  }

  /* ============================================
     BOTTOM NAVIGATION BAR
     ============================================ */
  .bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
    background: var(--bg-card) !important;
    border-top: 1px solid var(--border) !important;
    padding: 8px 0 max(8px, env(safe-area-inset-bottom)) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15) !important;
  }

  [data-theme="light"] .bottom-nav {
    background: rgba(255,255,255,0.97) !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08) !important;
  }

  [data-theme="dark"] .bottom-nav {
    background: rgba(30,41,59,0.97) !important;
  }

  .bottom-nav-item {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    padding: 4px 0 !important;
    color: var(--text-muted) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    cursor: pointer !important;
    border: none !important;
    background: none !important;
    font-family: inherit !important;
    -webkit-tap-highlight-color: transparent !important;
    min-width: 0 !important;
  }

  .bottom-nav-item i {
    font-size: 1.2rem;
    transition: all 0.2s ease;
    line-height: 1;
  }

  .bottom-nav-item span {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1;
  }

  .bottom-nav-item.active {
    color: var(--primary) !important;
  }

  .bottom-nav-item.active i {
    transform: translateY(-2px);
  }

  .bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 0 0 3px 3px;
  }

  .bottom-nav-item.bottom-nav-cta {
    color: #fff !important;
  }

  .bottom-nav-item.bottom-nav-cta .bottom-nav-icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(29,78,216,0.4);
    margin-top: -16px;
    transition: all 0.2s ease;
  }

  .bottom-nav-item.bottom-nav-cta i {
    font-size: 1.3rem !important;
    transform: none !important;
    color: #fff !important;
  }

  .bottom-nav-item.bottom-nav-cta span {
    color: var(--primary);
    font-weight: 700;
  }

  .bottom-nav-item.bottom-nav-cta:active .bottom-nav-icon-wrap {
    transform: scale(0.92);
  }

  .bottom-nav-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    opacity: 0;
    border-radius: 12px;
    transition: opacity 0.15s ease;
    pointer-events: none;
  }

  .bottom-nav-item:active::after {
    opacity: 0.08;
  }

  /* ============================================
     HERO — MOBİL (kritik düzeltme)
     ============================================ */
  .hero {
    min-height: calc(100svh - 60px) !important;
    padding: 32px 0 40px !important;
    margin-top: -60px !important;
    padding-top: calc(60px + 32px) !important;
    overflow: hidden !important;
  }

  /* Hero içindeki inline grid'i override et */
  .hero .container > div,
  .hero .container > div[style] {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
    grid-template-columns: unset !important;
    width: 100% !important;
  }

  .hero-content {
    max-width: 100% !important;
    text-align: center !important;
    width: 100% !important;
  }

  .hero-badge {
    font-size: 0.78rem !important;
    padding: 6px 14px !important;
    margin-bottom: 16px !important;
    display: inline-flex !important;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.4rem) !important;
    margin-bottom: 14px !important;
    line-height: 1.2 !important;
  }

  .hero p {
    font-size: 0.95rem !important;
    margin-bottom: 24px !important;
    max-width: 100% !important;
  }

  .hero-actions {
    justify-content: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
  }

  .hero-actions .btn {
    flex: 1 !important;
    min-width: 140px !important;
    max-width: 200px !important;
    padding: 12px 16px !important;
    font-size: 0.88rem !important;
  }

  .hero-stats {
    gap: 12px !important;
    margin-top: 28px !important;
    padding-top: 20px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  .hero-stat {
    text-align: center !important;
    min-width: 70px !important;
    flex: 1 !important;
    max-width: 90px !important;
  }

  .hero-stat .number {
    font-size: 1.4rem !important;
  }

  .hero-stat .label {
    font-size: 0.72rem !important;
  }

  /* Hero grid — mobilde tek sütun */
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    grid-template-columns: unset !important;
  }

  /* Hero visual tamamen gizle */
  .hero-visual,
  .hero-mockup {
    display: none !important;
  }

  /* ============================================
     SECTION — MOBİL
     ============================================ */
  .section {
    padding: 48px 0 !important;
    overflow: hidden !important;
  }

  .section-lg {
    padding: 56px 0 !important;
    overflow: hidden !important;
  }

  .section-sm {
    padding: 32px 0 !important;
  }

  .section-header {
    margin-bottom: 28px !important;
  }

  .section-header h2 {
    font-size: clamp(1.4rem, 5vw, 1.8rem) !important;
    margin-bottom: 10px !important;
  }

  .section-header p {
    font-size: 0.9rem !important;
    max-width: 100% !important;
  }

  .section-badge {
    font-size: 0.75rem !important;
    padding: 5px 12px !important;
  }

  /* ============================================
     GRID — MOBİL (tek sütun)
     ============================================ */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .grid-auto {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* İstatistik grid — 2 sütun */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .stat-card {
    padding: 18px 14px !important;
  }

  .stat-number {
    font-size: 1.9rem !important;
  }

  /* ============================================
     KARTLAR — MOBİL
     ============================================ */
  .card {
    padding: 18px !important;
  }

  .service-card {
    padding: 20px !important;
  }

  .service-card .icon-wrap {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.2rem !important;
    margin-bottom: 12px !important;
  }

  .service-card h3 {
    font-size: 1.05rem !important;
  }

  /* ============================================
     BUTONLAR — MOBİL DOKUNMA
     ============================================ */
  .btn {
    min-height: 44px !important;
    padding: 11px 20px !important;
    font-size: 0.9rem !important;
    border-radius: 10px !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
  }

  .btn:active {
    transform: scale(0.97) !important;
    transition: transform 0.1s ease !important;
  }

  .btn-xl {
    padding: 13px 24px !important;
    font-size: 0.95rem !important;
  }

  .btn-sm {
    min-height: 36px !important;
    padding: 7px 14px !important;
    font-size: 0.82rem !important;
  }

  .btn-lg {
    padding: 13px 28px !important;
    font-size: 0.95rem !important;
  }

  /* ============================================
     FORMLAR — MOBİL
     ============================================ */
  .form-control,
  .form-input {
    padding: 13px 14px !important;
    font-size: 16px !important; /* iOS zoom önleme */
    border-radius: 10px !important;
    min-height: 48px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  textarea.form-control,
  textarea.form-input {
    min-height: 100px !important;
  }

  select.form-control,
  select.form-input {
    min-height: 48px !important;
  }

  /* ============================================
     FOOTER — MOBİL
     ============================================ */
  .footer {
    padding: 40px 0 0 !important;
    overflow: hidden !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-bottom: 28px !important;
  }

  .footer-brand p {
    max-width: 100% !important;
    font-size: 0.875rem !important;
  }

  .footer-col h4 {
    font-size: 0.9rem !important;
    margin-bottom: 12px !important;
  }

  .footer-links {
    gap: 6px !important;
  }

  .footer-links a {
    font-size: 0.85rem !important;
    padding: 4px 0 !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 8px !important;
    padding: 16px 0 !important;
  }

  .footer-bottom-links {
    gap: 14px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  .footer-newsletter {
    padding: 20px 0 !important;
  }

  /* ============================================
     TOAST — MOBİL
     ============================================ */
  .toast-container {
    top: auto !important;
    bottom: 84px !important;
    right: 12px !important;
    left: 12px !important;
  }

  .toast {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 12px !important;
  }

  /* ============================================
     MARQUEE — MOBİL
     ============================================ */
  .marquee-track {
    animation-duration: 20s !important;
  }

  .marquee-wrapper,
  [class*="marquee"] {
    overflow: hidden !important;
    max-width: 100% !important;
  }

  /* ============================================
     BLOG KART — MOBİL
     ============================================ */
  .blog-card .card-body {
    padding: 16px !important;
  }

  .blog-card .card-title {
    font-size: 1rem !important;
  }

  /* ============================================
     ÜRÜN KART — MOBİL
     ============================================ */
  .product-card .card-body,
  .product-card-body {
    padding: 14px !important;
  }

  .product-card .price {
    font-size: 1.1rem !important;
  }

  /* ============================================
     TESTIMONIAL — MOBİL
     ============================================ */
  .testimonial-card {
    padding: 18px !important;
  }

  /* ============================================
     MOBİL SWIPE ROW — Yatay scroll kartlar
     ============================================ */
  .mobile-swipe-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 12px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    scrollbar-width: none !important;
    grid-template-columns: unset !important;
    scroll-behavior: smooth !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .mobile-swipe-row::-webkit-scrollbar {
    display: none !important;
  }

  .mobile-swipe-row > * {
    scroll-snap-align: start !important;
    flex-shrink: 0 !important;
    width: calc(80vw) !important;
    max-width: 300px !important;
    min-width: 240px !important;
  }

  .mobile-swipe-row::after {
    content: '';
    display: block;
    min-width: 8px;
    flex-shrink: 0;
  }

  /* Yatay scroll kartlar (eski class) */
  .mobile-scroll-row {
    display: flex !important;
    gap: 14px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 12px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    scrollbar-width: none !important;
    width: 100% !important;
  }

  .mobile-scroll-row::-webkit-scrollbar {
    display: none !important;
  }

  .mobile-scroll-row > * {
    scroll-snap-align: start !important;
    flex-shrink: 0 !important;
    width: calc(85vw - 32px) !important;
    max-width: 320px !important;
  }

  /* ============================================
     PULL-TO-REFRESH — DEVRE DIŞI
     ============================================ */
  .ptr-indicator {
    display: none !important;
  }

  /* ============================================
     MOBİL MENÜ DRAWER
     ============================================ */
  .mobile-drawer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1100 !important;
    pointer-events: none !important;
    width: 100% !important;
  }

  .mobile-drawer.open {
    pointer-events: all !important;
  }

  .drawer-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.5) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    backdrop-filter: blur(4px) !important;
  }

  .mobile-drawer.open .drawer-overlay {
    opacity: 1 !important;
  }

  .drawer-panel {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: var(--bg-card) !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 0 0 max(24px, env(safe-area-inset-bottom)) !important;
    transform: translateY(100%) !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overflow-x: hidden !important;
  }

  [data-theme="light"] .drawer-panel {
    background: #fff !important;
  }

  .mobile-drawer.open .drawer-panel {
    transform: translateY(0) !important;
  }

  .drawer-handle {
    width: 40px;
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    margin: 12px auto 20px;
  }

  .drawer-header {
    padding: 0 20px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .drawer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
  }

  .drawer-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-input);
    border: none;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
  }

  .drawer-nav {
    padding: 12px;
  }

  .drawer-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.15s ease;
    margin-bottom: 2px;
  }

  .drawer-nav-item i {
    width: 20px;
    text-align: center;
    color: var(--primary-light);
    font-size: 1rem;
  }

  .drawer-nav-item:active,
  .drawer-nav-item.active {
    background: rgba(29,78,216,0.1);
    color: var(--primary);
  }

  .drawer-nav-item.active i {
    color: var(--primary);
  }

  .drawer-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 16px;
  }

  /* ============================================
     SWIPE HINT
     ============================================ */
  .swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 8px;
  }

  .swipe-hint i {
    font-size: 0.8rem;
    animation: swipeAnim 1.5s ease-in-out infinite;
  }

  @keyframes swipeAnim {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50%       { transform: translateX(6px); opacity: 0.5; }
  }

  /* ============================================
     SAYFA GEÇİŞ ANİMASYONU
     ============================================ */
  .page-transition {
    animation: pageSlideIn 0.25s ease;
  }

  @keyframes pageSlideIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /* ============================================
     FLOATING ACTION BUTTON (FAB)
     ============================================ */
  .fab {
    position: fixed !important;
    bottom: 84px !important;
    right: 16px !important;
    width: 52px !important;
    height: 52px !important;
    background: var(--gradient-primary) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 1.2rem !important;
    box-shadow: 0 4px 20px rgba(29,78,216,0.4) !important;
    cursor: pointer !important;
    border: none !important;
    z-index: 990 !important;
    transition: all 0.2s ease !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .fab:active {
    transform: scale(0.92) !important;
  }

  .scroll-top-btn {
    bottom: 84px !important;
    right: 16px !important;
  }

  /* ============================================
     NEWSLETTER FORM — MOBİL
     ============================================ */
  .newsletter-input-group {
    flex-direction: column !important;
    max-width: 100% !important;
    gap: 10px !important;
  }

  .newsletter-input-group .form-input {
    font-size: 16px !important;
    width: 100% !important;
  }

  .newsletter-input-group .btn {
    width: 100% !important;
  }

  /* ============================================
     SOCIAL LINKS — MOBİL
     ============================================ */
  .social-links {
    gap: 8px !important;
  }

  .social-link {
    width: 40px !important;
    height: 40px !important;
  }

  /* ============================================
     CAROUSEL — MOBİL
     ============================================ */
  .carousel-wrapper {
    overflow: hidden !important;
    touch-action: pan-y !important;
    max-width: 100% !important;
  }

  .carousel-track {
    touch-action: pan-y !important;
    cursor: grab !important;
  }

  .carousel-track:active {
    cursor: grabbing !important;
  }

  /* Carousel item'ları — mobilde tek kart görünümü */
  .carousel-track > div,
  .carousel-track > .carousel-item {
    min-width: calc(85vw - 32px) !important;
    max-width: 320px !important;
    flex-shrink: 0 !important;
  }

  /* CTA bölümü — mobilde padding küçült */
  .section > .container > div[style*="background:var(--gradient-primary)"],
  .section > .container > div[style*="background: var(--gradient-primary)"] {
    padding: 36px 20px !important;
    border-radius: 16px !important;
  }

  /* Inline style'lı büyük padding'leri küçült */
  [style*="padding:60px"],
  [style*="padding: 60px"] {
    padding: 32px 20px !important;
  }

  .carousel-controls {
    margin-top: 16px !important;
  }

  .carousel-btn {
    display: none !important;
  }

  .carousel-dots {
    gap: 8px !important;
  }

  .carousel-dot {
    width: 8px !important;
    height: 8px !important;
    cursor: pointer !important;
    padding: 4px !important;
    box-sizing: content-box !important;
  }

  /* ============================================
     TRUST KARTLARI — MOBİL SWIPE
     ============================================ */
  .trust-grid-mobile {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 12px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    scrollbar-width: none !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: unset !important;
  }

  .trust-grid-mobile::-webkit-scrollbar {
    display: none !important;
  }

  .trust-grid-mobile > * {
    scroll-snap-align: start !important;
    flex-shrink: 0 !important;
    width: calc(75vw - 16px) !important;
    max-width: 260px !important;
    min-width: 200px !important;
  }

  /* ============================================
     PARTNER LOGOLARI — MOBİL
     ============================================ */
  .partner-logos-mobile {
    gap: 20px !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding-bottom: 8px !important;
    flex-wrap: nowrap !important;
  }

  .partner-logos-mobile::-webkit-scrollbar {
    display: none !important;
  }

  /* ============================================
     CTA BÖLÜMÜ — MOBİL
     ============================================ */
  .cta-box {
    padding: 36px 20px !important;
    border-radius: 16px !important;
  }

  .cta-box h2 {
    font-size: clamp(1.3rem, 5vw, 1.6rem) !important;
  }

  .cta-box p {
    font-size: 0.9rem !important;
  }

  .cta-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .cta-buttons .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* ============================================
     PORTFOLIO FİLTRE — MOBİL
     ============================================ */
  .portfolio-filter-row {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 8px !important;
    margin: 0 0 28px 0 !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    scrollbar-width: none !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
  }

  .portfolio-filter-row::-webkit-scrollbar {
    display: none !important;
  }

  .portfolio-filter-row .portfolio-filter-btn {
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
    white-space: nowrap !important;
  }

  .portfolio-filter-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    margin: 0 0 28px 0 !important;
    padding: 0 4px 8px !important;
    width: 100% !important;
  }

  .portfolio-filter-wrapper::-webkit-scrollbar {
    display: none !important;
  }

  .portfolio-filter-wrapper > div {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    min-width: max-content !important;
  }

  /* ============================================
     NEDEN BİZ — MOBİL LAYOUT
     ============================================ */
  .whyus-layout {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* ============================================
     SCRIPTS LAYOUT — MOBİL
     ============================================ */
  .scripts-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 24px 0 !important;
  }

  .scripts-filters {
    order: 2 !important;
  }

  .filter-card {
    position: static !important;
  }

  .scripts-toolbar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  /* ============================================
     SERVICES GRID — MOBİL
     ============================================ */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .process-steps {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* ============================================
     SAYFA HERO — MOBİL
     ============================================ */
  .services-hero,
  .scripts-hero,
  .contact-hero,
  .about-hero,
  .blog-hero,
  .blog-post-page .post-header {
    padding: 40px 0 32px !important;
  }

  .services-hero h1,
  .scripts-hero h1,
  .contact-hero h1,
  .about-hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
  }

  .services-hero p,
  .scripts-hero p,
  .contact-hero p {
    font-size: 0.9rem !important;
  }

  /* ============================================
     OVERFLOW SCROLL YARDIMCI
     ============================================ */
  .overflow-x-scroll-mobile {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .overflow-x-scroll-mobile::-webkit-scrollbar {
    display: none !important;
  }

  /* ============================================
     FLEX WRAP — MOBİL
     ============================================ */
  .flex-between {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  /* ============================================
     ALERT — MOBİL
     ============================================ */
  .alert {
    padding: 12px 14px !important;
    font-size: 0.875rem !important;
    border-radius: 10px !important;
  }

  /* ============================================
     BADGE — MOBİL
     ============================================ */
  .badge {
    font-size: 0.7rem !important;
    padding: 3px 8px !important;
  }

  /* ============================================
     DIVIDER — MOBİL
     ============================================ */
  .divider {
    margin: 18px 0 !important;
  }

  /* ============================================
     SKELETON LOADER — MOBİL
     ============================================ */
  .skeleton-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    padding: 16px;
  }

  .skeleton-line {
    height: 14px;
    border-radius: 7px;
    margin-bottom: 10px;
  }

  .skeleton-line.short  { width: 60%; }
  .skeleton-line.medium { width: 80%; }
  .skeleton-line.full   { width: 100%; }

  /* ============================================
     PANEL SAYFASI — MOBİL
     ============================================ */
  .panel-layout {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .panel-sidebar {
    display: none !important;
  }

  /* ============================================
     CHECKOUT / CART — MOBİL
     ============================================ */
  .checkout-layout,
  .cart-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* ============================================
     TABLO — MOBİL (yatay scroll)
     ============================================ */
  .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 12px !important;
    width: 100% !important;
  }

  table {
    min-width: 500px;
  }

  /* ============================================
     MODAL — MOBİL
     ============================================ */
  .modal-content {
    margin: 0 !important;
    border-radius: 20px 20px 0 0 !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
  }

} /* end @media (max-width: 768px) */

/* ============================================
   KÜÇÜK MOBİL (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {

  body {
    padding-top: 56px !important;
    padding-bottom: 68px !important;
  }

  .navbar {
    height: 56px !important;
  }

  .navbar.scrolled {
    height: 56px !important;
  }

  .navbar-inner {
    height: 56px !important;
  }

  .bottom-nav {
    padding: 6px 0 max(6px, env(safe-area-inset-bottom)) !important;
  }

  .bottom-nav-item i {
    font-size: 1.1rem !important;
  }

  .bottom-nav-item span {
    font-size: 0.6rem !important;
  }

  .bottom-nav-item.bottom-nav-cta .bottom-nav-icon-wrap {
    width: 44px !important;
    height: 44px !important;
    margin-top: -14px !important;
  }

  .hero {
    padding-top: calc(56px + 28px) !important;
    margin-top: -56px !important;
    min-height: calc(100svh - 56px) !important;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 7vw, 1.9rem) !important;
  }

  .hero-actions .btn {
    min-width: 130px !important;
    max-width: 170px !important;
    font-size: 0.83rem !important;
    padding: 10px 14px !important;
  }

  .section {
    padding: 36px 0 !important;
  }

  .section-header h2 {
    font-size: 1.35rem !important;
  }

  .card {
    padding: 14px !important;
  }

  .service-card {
    padding: 16px !important;
  }

  .stat-number {
    font-size: 1.7rem !important;
  }

  .toast-container {
    bottom: 78px !important;
    right: 8px !important;
    left: 8px !important;
  }

  .fab {
    bottom: 78px !important;
    right: 12px !important;
    width: 48px !important;
    height: 48px !important;
    font-size: 1.1rem !important;
  }

  .cta-box {
    padding: 28px 16px !important;
  }

  .container {
    padding: 0 14px !important;
  }
}

/* ============================================
   ÇOK KÜÇÜK MOBİL (max-width: 360px)
   ============================================ */
@media (max-width: 360px) {

  body {
    padding-top: 52px !important;
  }

  .navbar {
    height: 52px !important;
  }

  .navbar-inner {
    height: 52px !important;
  }

  .hero {
    padding-top: calc(52px + 24px) !important;
    margin-top: -52px !important;
  }

  .hero h1 {
    font-size: 1.45rem !important;
  }

  .container {
    padding: 0 12px !important;
  }

  .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .hero-actions .btn {
    max-width: 100% !important;
    width: 100% !important;
  }

  .hero-stat {
    min-width: 60px !important;
  }

  .hero-stat .number {
    font-size: 1.2rem !important;
  }
}

/* ============================================
   PWA STANDALONE MOD
   ============================================ */
@media (display-mode: standalone) {
  body {
    padding-top: max(60px, env(safe-area-inset-top) + 60px) !important;
    padding-bottom: max(72px, env(safe-area-inset-bottom) + 72px) !important;
  }

  .navbar {
    padding-top: max(0px, env(safe-area-inset-top)) !important;
    height: max(60px, env(safe-area-inset-top) + 60px) !important;
  }

  .bottom-nav {
    padding-bottom: max(8px, env(safe-area-inset-bottom)) !important;
  }
}