/* ─── NARIM — Mobil & tablet optimizasyonu ─── */

@media (max-width: 992px) {
  :root {
    --header-h: 64px;
  }

  header {
    border-bottom: 1px solid var(--border);
  }

  .navbar {
    display: flex;
    height: var(--header-h);
    gap: 12px;
    flex-wrap: nowrap;
  }

  .navbar nav {
    flex: none;
    display: block;
    justify-self: auto;
  }

  .logo {
    flex: 1;
    justify-self: auto;
    gap: 10px;
    min-width: 0;
  }

  .logo img {
    width: auto;
    height: 48px;
    border-radius: 4px;
  }

  .logo-text {
    display: none;
  }

  nav {
    top: var(--header-h);
    padding: 16px 20px 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  }

  nav ul {
    gap: 0;
  }

  nav ul li a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
  }

  nav ul li:last-child a {
    border-bottom: none;
  }

  section {
    padding: 56px 0;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 48px;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero h1 {
    font-size: 2.25rem;
    line-height: 1.05;
    margin-bottom: 16px;
  }

  .hero-desc {
    font-size: 14.5px;
    margin-bottom: 24px;
  }

  .hero-card-body {
    padding: 24px;
  }

  .hero-card-body h3 {
    font-size: 1.35rem;
  }

  .hero-card-img {
    height: 180px;
  }

  .primary-btn,
  .secondary-btn {
    padding: 12px 20px;
    font-size: 13px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-header h2 {
    font-size: 1.75rem;
    margin-bottom: 10px;
  }

  .section-header p {
    font-size: 14px;
  }

  .section-tag {
    font-size: 9px;
    letter-spacing: 3px;
    margin-bottom: 10px;
  }

  .trust-card {
    padding: 28px 24px;
  }

  .trust-card h3 {
    font-size: 1.25rem;
  }

  .trust-icon-wrap {
    width: 40px;
    height: 40px;
    font-size: 11px;
    margin-bottom: 16px;
  }

  .about-content h2 {
    font-size: 2rem;
    line-height: 1.05;
  }

  .about-img-main {
    aspect-ratio: 16/10;
  }

  .about-badge {
    position: static;
    margin-top: 16px;
    display: inline-block;
    padding: 16px 20px;
  }

  .about-badge h4 {
    font-size: 28px;
  }

  .product-content {
    padding: 20px 22px;
  }

  .product-content h3 {
    font-size: 1.35rem;
  }

  .product-card-img {
    height: 180px;
  }

  .timeline-item {
    padding: 28px 22px;
  }

  .timeline-item h3 {
    font-size: 1.25rem;
  }

  .timeline-num {
    font-size: 48px;
    top: 12px;
    right: 16px;
  }

  .stat-box {
    padding: 28px 20px;
  }

  .stat-box h2 {
    font-size: 2.25rem;
  }

  .contact-card {
    padding: 28px 24px;
  }

  .contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .map {
    min-height: 260px;
  }

  iframe {
    min-height: 260px;
  }

  footer {
    padding: 48px 0 24px;
  }

  .footer-grid {
    gap: 28px;
    margin-bottom: 32px;
  }

  .footer-brand h2 {
    font-size: 1.75rem;
  }

  .footer-legal p {
    font-size: 11px;
    line-height: 1.65;
    padding: 0 4px;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-accept {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1240px, 90%);
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .about-content h2 {
    font-size: 1.65rem;
  }

  .products-cta {
    margin-top: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links h4 {
    margin-bottom: 12px;
  }

  .footer-links a {
    margin-bottom: 10px;
    font-size: 13px;
  }

  /* Ürünler sayfası */
  .page-hero {
    padding: calc(var(--header-h, 64px) + 24px) 0 36px;
  }

  .page-hero h1 {
    font-size: 1.85rem;
  }

  .page-hero p {
    font-size: 14px;
  }

  .filter-bar {
    top: var(--header-h, 64px);
  }

  .filter-btn {
    padding: 8px 14px;
    font-size: 12px;
  }

  .urunler-section {
    padding: 40px 0 64px;
  }

  .urun-img {
    height: 200px;
  }

  .urun-body {
    padding: 18px 18px 20px;
  }

  .urun-body h3 {
    font-size: 1.2rem;
  }

  .urun-body p {
    font-size: 13px;
    line-height: 1.6;
  }

  .price-val {
    font-size: 1.35rem;
  }

  .urun-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .urun-btn {
    text-align: center;
    padding: 12px 16px;
  }

  /* Sipariş sayfası */
  .order-main {
    padding: calc(var(--header-h, 64px) + 20px) 0 48px;
  }

  .form-block {
    padding: 22px 18px;
  }

  .form-block-header h2 {
    font-size: 1.25rem;
  }

  .step-num {
    font-size: 32px;
  }

  .order-summary-col {
    order: -1;
  }

  .summary-total span:last-child {
    font-size: 1.5rem;
  }

  .legal-wrap {
    padding: 28px 20px;
  }

  .legal-wrap h1 {
    font-size: 1.65rem;
  }
}
