/* =========================================================
   NEWAL KUYUMCULUK — MOBİL DÜZELTME
   Bu dosyayı mevcut style.css'ten SONRA yükleyin.
   ========================================================= */

* { box-sizing: border-box; }
html { width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body { width: 100%; max-width: 100%; overflow-x: hidden; }
img { max-width: 100%; }
button, input, select { max-width: 100%; }

@media (max-width: 900px) {
  .container {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  /* HEADER */
  .site-header {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
  }

  .header-inner {
    min-height: 72px !important;
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .brand { min-width: 0 !important; display: flex !important; align-items: center !important; }
  .brand-logo {
    width: 82px !important;
    height: auto !important;
    max-height: 58px !important;
    object-fit: contain !important;
  }

  .main-nav {
    min-width: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 4px 0 !important;
  }
  .main-nav::-webkit-scrollbar { display: none !important; }
  .main-nav a {
    flex: 0 0 auto !important;
    font-size: 11px !important;
    line-height: 1 !important;
  }

  .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    min-width: 0 !important;
  }

  .header-action {
    min-height: 38px !important;
    padding: 0 11px !important;
    font-size: 10px !important;
    white-space: nowrap !important;
  }

  /* CANLI BAR */
  .live-bar { width: 100% !important; }
  .live-bar-inner {
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }
  .live-status {
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    flex-wrap: wrap !important;
  }
  .live-description {
    display: none !important;
  }
  .live-time {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-size: 10px !important;
  }

  /* HERO */
  .hero { width: 100% !important; overflow: hidden !important; }
  .hero-inner {
    min-height: 0 !important;
    padding-top: 58px !important;
    padding-bottom: 55px !important;
    text-align: center !important;
  }
  .hero-kicker { font-size: 10px !important; letter-spacing: 2px !important; }
  .hero h1 {
    max-width: 100% !important;
    margin: 13px auto 0 !important;
    font-size: clamp(34px, 10vw, 58px) !important;
    line-height: .98 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
  .hero h1 span { display: block !important; }
  .hero p {
    max-width: 520px !important;
    margin: 22px auto 0 !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
  }
  .hero-actions {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
    margin-top: 25px !important;
  }
  .hero-button {
    min-height: 44px !important;
    padding: 0 17px !important;
    font-size: 11px !important;
  }
  .hero-note { margin-top: 18px !important; font-size: 10px !important; }

  /* QUICK CARDS */
  .quick-links { width: 100% !important; }
  .quick-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .quick-card {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 82px !important;
    padding: 14px !important;
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) 24px !important;
    align-items: center !important;
    gap: 12px !important;
  }
  .quick-icon { width: 42px !important; height: 42px !important; }
  .quick-content { min-width: 0 !important; }
  .quick-content span,
  .quick-content strong,
  .quick-content p {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .quick-content p { white-space: nowrap !important; font-size: 10px !important; }

  /* ADS */
  .ad-container {
    width: 100% !important;
    overflow: hidden !important;
    min-height: 0 !important;
  }
  .ad-unit { width: 100% !important; max-width: 100% !important; overflow: hidden !important; }

  /* SECTION HEADINGS */
  .section { width: 100% !important; }
  .section-heading {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
  }
  .section-heading h2 { font-size: clamp(27px, 8vw, 42px) !important; line-height: 1.05 !important; }
  .section-heading p { font-size: 12px !important; line-height: 1.55 !important; }
  .section-heading-actions {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .section-live-badge { flex: 0 0 auto !important; }
  .price-fullscreen-btn { margin-left: auto !important; }

  /* PRICE TABLE — YATAY TAŞMA YOK, KART İÇİNDE SCROLL */
  .price-card { width: 100% !important; min-width: 0 !important; overflow: hidden !important; }
  .price-card-top {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 18px !important;
  }
  .price-update { flex: 0 0 auto !important; text-align: right !important; }
  .table-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .price-table {
    width: 100% !important;
    min-width: 560px !important;
    table-layout: fixed !important;
  }
  .price-table th,
  .price-table td { padding: 13px 12px !important; }
  .price-table th:first-child,
  .price-table td:first-child { width: 42% !important; }
  .price-table th:not(:first-child),
  .price-table td:not(:first-child) { width: 29% !important; }
  .price-table .price { font-size: 15px !important; white-space: nowrap !important; }

  /* CALCULATOR */
  .calculator-card { width: 100% !important; min-width: 0 !important; overflow: hidden !important; }
  .calculator-heading {
    display: grid !important;
    grid-template-columns: 46px minmax(0,1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
  }
  .calculator-heading-text { min-width: 0 !important; }
  .calculator-heading h2 { font-size: 24px !important; }
  .calculator-heading-text p { font-size: 11px !important; line-height: 1.4 !important; }
  .calculator-live { white-space: nowrap !important; font-size: 9px !important; }
  .calculator-mode {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }
  .mode-btn { width: 100% !important; }
  .converter {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 12px !important;
  }
  .converter-box { width: 100% !important; min-width: 0 !important; }
  .swap-btn {
    justify-self: center !important;
    transform: rotate(90deg) !important;
  }
  .converter.reverse .swap-btn { transform: rotate(90deg) !important; }
  .converter-input-wrap,
  .converter-output { min-width: 0 !important; }
  .converter-input-wrap input { width: 100% !important; min-width: 0 !important; }
  .calculator-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  /* GUIDE */
  .guide-grid,
  .guide-articles,
  .about-stats,
  .contact-grid-large {
    grid-template-columns: 1fr !important;
  }
  .guide-card,
  .guide-article,
  .about-card,
  .contact-card,
  .faq-item { min-width: 0 !important; width: 100% !important; }

  /* CONTACT */
  .contact-section { width: 100% !important; }
  .contact-grid-large { gap: 12px !important; }
  .contact-information { min-width: 0 !important; }

  /* FOOTER */
  .footer-main {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .footer-column { min-width: 0 !important; }
  .footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
  }
}

@media (max-width: 600px) {
  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .header-inner {
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "brand actions"
      "nav nav" !important;
    padding-top: 9px !important;
    padding-bottom: 9px !important;
    gap: 8px 12px !important;
  }
  .brand { grid-area: brand !important; }
  .main-nav {
    grid-area: nav !important;
    justify-content: flex-start !important;
    border-top: 1px solid rgba(255,255,255,.06) !important;
    padding-top: 11px !important;
  }
  .header-actions { grid-area: actions !important; }
  .brand-logo { width: 86px !important; max-height: 55px !important; }
  .header-action { min-height: 36px !important; padding-inline: 10px !important; }

  .live-bar-inner {
    align-items: flex-start !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  .live-status { font-size: 10px !important; }
  .live-time { font-size: 9px !important; }

  .hero-inner { padding-top: 48px !important; padding-bottom: 44px !important; }
  .hero h1 { font-size: 38px !important; }
  .hero p { font-size: 12px !important; }
  .hero-actions { flex-direction: column !important; align-items: stretch !important; }
  .hero-button { width: 100% !important; justify-content: center !important; }

  .section-heading-actions { align-items: stretch !important; }
  .section-live-badge,
  .price-fullscreen-btn { flex: 1 1 0 !important; text-align: center !important; }
  .price-fullscreen-btn { margin-left: 0 !important; }

  .price-card-top { padding: 15px !important; }
  .price-card-top h3 { font-size: 20px !important; }
  .price-update { font-size: 9px !important; }

  .calculator-heading {
    grid-template-columns: 42px minmax(0,1fr) !important;
  }
  .calculator-live { grid-column: 2 !important; justify-self: start !important; }
  .calculator-heading h2 { font-size: 22px !important; }

  .contact-grid-large { grid-template-columns: 1fr !important; }
}

@media (max-width: 390px) {
  .container { padding-inline: 11px !important; }
  .brand-logo { width: 78px !important; }
  .header-action { padding-inline: 8px !important; font-size: 9px !important; }
  .main-nav { gap: 8px !important; }
  .main-nav a { font-size: 10px !important; }
  .hero h1 { font-size: 34px !important; }
  .quick-card { grid-template-columns: 38px minmax(0,1fr) 18px !important; padding: 12px !important; }
  .quick-icon { width: 38px !important; height: 38px !important; }
}

/* LIGHT THEME — mobilde de aynı yapıyı korur */
body.light-theme .main-nav a,
body.light-theme .live-description,
body.light-theme .live-time,
body.light-theme .hero p,
body.light-theme .hero-note,
body.light-theme .quick-content p {
  color: #6d665d !important;
}