/* ===== Mobil menü + hızlı teklif + güven veren teklif bölümü ===== */
:root {
  --cta: #00a7e8;
  --cta-dark: #0089c2;
  --deep: #1f3a3d;
}

/* ---------- Hamburger ---------- */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #dfe8e4;
  border-radius: 50%;
  background: #fff;
  position: relative;
  flex: none;
  cursor: pointer;
  z-index: 60;
}
.menu-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--deep);
  transition:
    transform 0.35s cubic-bezier(0.7, 0, 0.2, 1),
    opacity 0.2s;
}
.menu-toggle span:nth-child(1) {
  top: 16px;
}
.menu-toggle span:nth-child(2) {
  top: 21px;
}
.menu-toggle span:nth-child(3) {
  top: 26px;
}
.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: #fffdf8;
  padding: 96px 7% calc(28px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  clip-path: circle(0 at calc(100% - 42px) 38px);
  transition: clip-path 0.55s cubic-bezier(0.7, 0, 0.2, 1);
}
.menu-open .mobile-menu {
  clip-path: circle(150% at calc(100% - 42px) 38px);
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  font-size: inherit;
}
.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid #ece7dc;
  font-family: Georgia, serif;
  font-size: 28px;
  color: var(--deep);
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.45s,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(0.12s + var(--i) * 0.05s);
}
.mobile-menu nav a span {
  font: 600 10px/1 Arial, sans-serif;
  letter-spacing: 2px;
  color: #e48a16;
}
.mobile-menu nav a[aria-current="page"] {
  color: var(--cta);
}
.menu-open .mobile-menu nav a {
  opacity: 1;
  transform: none;
}
.mobile-menu-foot {
  margin-top: 30px;
  display: grid;
  gap: 12px;
}
.mm-cta,
.mm-wa {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
}
.mm-cta {
  background: linear-gradient(135deg, #12b5f1, var(--cta-dark));
  color: #fff;
  box-shadow: 0 14px 30px -12px #0089c299;
}
.mm-wa {
  border: 1px solid #25d36655;
  color: #128c4b;
}
.mobile-menu-foot p {
  text-align: center;
  font-size: 11px;
  letter-spacing: 1px;
  color: #7c8a86;
  margin: 6px 0 0;
}
body.menu-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
    position: fixed;
    top: calc(15px + env(safe-area-inset-top));
    right: 4.5%;
    box-shadow: 0 8px 22px -10px #1f3a3d55;
  }
  header {
    padding-right: calc(4.5% + 54px) !important;
  }
  /* ana sayfa ve hikâye sayfası: üst menü linkleri açılır menüye taşındı */
  header:has(.nav-actions) > nav {
    display: none;
  }
  header {
    gap: 10px;
  }
  header .nav-actions {
    margin-left: auto;
  }
}
@media (max-width: 420px) {
  header .nav-actions .small-button {
    display: none; /* alttaki teklif çubuğu bu görevi üstleniyor */
  }
}

/* ---------- Hızlı teklif çubuğu ---------- */
.quote-dock {
  position: fixed;
  z-index: 50;
  right: 28px;
  bottom: 28px;
  display: flex;
  gap: 10px;
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.3s;
}
.quote-dock.is-visible {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.menu-open .quote-dock {
  opacity: 0;
  pointer-events: none;
}
.qd-main {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 10px 10px 24px;
  border-radius: 40px;
  background: linear-gradient(135deg, #12b5f1, var(--cta-dark));
  color: #fff;
  box-shadow:
    0 18px 40px -14px #00648fb3,
    inset 0 1px 0 #ffffff40;
  transition: transform 0.25s;
}
.qd-main:hover {
  transform: translateY(-2px);
}
.qd-text {
  display: grid;
  line-height: 1.25;
}
.qd-text strong {
  font-size: 14px;
  font-weight: 600;
}
.qd-text small {
  font-size: 10.5px;
  opacity: 0.85;
  letter-spacing: 0.3px;
}
.qd-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--cta-dark);
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: transform 0.3s;
}
.qd-main:hover .qd-arrow {
  transform: translateX(3px);
}
.qd-wa {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 34px -14px #128c4bb3;
}
.qd-wa svg {
  width: 28px;
  height: 28px;
}
@media (max-width: 900px) {
  .quote-dock {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }
  .qd-main {
    flex: 1;
    justify-content: space-between;
    padding: 8px 8px 8px 22px;
    min-height: 60px;
  }
}

/* ---------- Teklif bölümü: güven unsurları ---------- */
.trust-list {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: grid;
  gap: 18px;
  max-width: 400px;
}
.trust-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}
.trust-list i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #dfeccd;
  display: grid;
  place-items: center;
  color: #6f9a22;
}
.trust-list i svg {
  width: 19px;
  height: 19px;
}
.trust-list strong {
  display: block;
  font-size: 14px;
  color: var(--deep);
  margin: 2px 0 3px;
}
.trust-list span {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

#inquiry {
  background: #fff;
  border: 1px solid #e3ecd9;
  border-radius: 22px;
  padding: 34px 34px 26px;
  box-shadow: 0 30px 60px -40px #2c4a1f55;
  align-self: start;
}
.form-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eef2ea;
}
.form-head strong {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 23px;
  color: var(--deep);
}
.form-head span {
  font-size: 10.5px;
  letter-spacing: 0.4px;
  color: #4f7f12;
  background: #f0f7e4;
  border-radius: 20px;
  padding: 6px 11px;
  white-space: nowrap;
}
#inquiry input,
#inquiry select,
#inquiry textarea {
  border: 1px solid #dfe6dd;
  border-radius: 12px;
  padding: 13px 14px;
  background: #fbfcf9;
  font-size: 14px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
#inquiry input:focus,
#inquiry select:focus,
#inquiry textarea:focus {
  outline: none;
  border-color: var(--cta);
  background: #fff;
  box-shadow: 0 0 0 4px #00a7e81f;
}
#inquiry label {
  margin-bottom: 18px;
}
#inquiry label span {
  margin-bottom: 8px;
  font-weight: 600;
  color: #44514a;
}
#inquiry [type="submit"] {
  min-height: 58px;
  font-size: 15px;
  font-weight: 600;
  background: linear-gradient(135deg, #12b5f1, var(--cta-dark));
  box-shadow: 0 16px 30px -16px #0089c2cc;
  margin-top: 4px;
}
#inquiry .form-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 14px;
}
#inquiry .form-note:before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a5 5 0 0 0-5 5v3H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2h-1V7a5 5 0 0 0-5-5Zm-3 8V7a3 3 0 0 1 6 0v3Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a5 5 0 0 0-5 5v3H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2h-1V7a5 5 0 0 0-5-5Zm-3 8V7a3 3 0 0 1 6 0v3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 650px) {
  #inquiry {
    padding: 24px 18px 20px;
    border-radius: 18px;
    margin-top: 34px;
  }
  .form-head strong {
    font-size: 20px;
  }
  #inquiry .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  #inquiry input,
  #inquiry select,
  #inquiry textarea {
    font-size: 16px; /* iOS yakınlaştırmasını önler */
  }
  /* alttaki çubuk içeriği örtmesin */
  footer,
  .product-footer {
    padding-bottom: 110px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu,
  .mobile-menu nav a,
  .quote-dock,
  .menu-toggle span {
    transition: none;
  }
}

/* ---------- Dil seçici ---------- */
.lang-picker {
  position: relative;
}
.lang-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  padding: 8px 12px !important;
  border: 1px solid #dfe8e4 !important;
  border-radius: 22px;
  background: #fff !important;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--deep, #1f3a3d);
  cursor: pointer;
}
.lang-btn i {
  font-style: normal;
  font-size: 9px;
  opacity: 0.6;
}
.lang-list {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 70;
  width: 210px;
  max-height: min(70vh, 470px);
  overflow-y: auto;
  padding: 6px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e6ece8;
  box-shadow: 0 24px 50px -20px #1f3a3d55;
}
.lang-list button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  font-size: 14px;
  color: var(--deep, #1f3a3d);
  text-align: start;
  cursor: pointer;
}
.lang-list button b {
  width: 24px;
  font-size: 10px;
  letter-spacing: 1px;
  color: #8a9a94;
}
.lang-list button:hover,
.lang-list button:focus-visible {
  background: #f2f8fb;
  outline: none;
}
.lang-list button[aria-current="true"] {
  background: #e8f6fd;
  color: var(--cta-dark, #0089c2);
  font-weight: 600;
}
/* mobil menüdeki dil listesi */
.mm-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.mm-langs button {
  padding: 8px 13px;
  border-radius: 20px;
  border: 1px solid #e3e6dc;
  background: #fff;
  font-size: 13px;
  color: var(--deep, #1f3a3d);
}
.mm-langs button[aria-current="true"] {
  background: var(--deep, #1f3a3d);
  border-color: var(--deep, #1f3a3d);
  color: #fff;
}

/* ---------- Sağdan sola (Arapça) ---------- */
[dir="rtl"] body {
  font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif;
}
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] .mobile-menu nav a {
  font-family: "Noto Naskh Arabic", "Traditional Arabic", "Segoe UI", Tahoma, serif;
  letter-spacing: 0 !important;
}
[dir="rtl"] .eyebrow,
[dir="rtl"] small,
[dir="rtl"] .brand-descriptor {
  letter-spacing: 0 !important;
}
[dir="rtl"] .brand,
[dir="rtl"] .compare-frame,
[dir="rtl"] .journey-art,
[dir="rtl"] .ticker {
  direction: ltr; /* görsel/animasyon alanları aynalanmaz */
}
[dir="rtl"] .qd-arrow,
[dir="rtl"] .mm-cta b {
  transform: scaleX(-1);
}
[dir="rtl"] .quote-dock {
  right: auto;
  left: 28px;
}
[dir="rtl"] .menu-toggle {
  right: auto;
  left: 4.5%;
}
[dir="rtl"] .mobile-menu {
  clip-path: circle(0 at 42px 38px);
}
.menu-open[dir="rtl"] .mobile-menu,
[dir="rtl"] .menu-open .mobile-menu {
  clip-path: circle(150% at 42px 38px);
}
@media (max-width: 900px) {
  [dir="rtl"] header {
    padding-right: 4.5% !important;
    padding-left: calc(4.5% + 54px) !important;
  }
  [dir="rtl"] .quote-dock {
    left: 12px;
    right: 12px;
  }
}
/* Çince ve Kiril için başlık yazı tipi yedekleri */
:lang(zh) h1,
:lang(zh) h2,
:lang(zh) h3 {
  font-family: "Noto Serif SC", "Songti SC", "SimSun", "Microsoft YaHei", serif;
  letter-spacing: 0;
}
:lang(zh) .eyebrow {
  letter-spacing: 1px;
}

.lang-list[hidden] {
  display: none !important;
}

/* ---------- Giriş animasyonu: sayfaya sabitlenmez, kendi kendine oynar ---------- */
.journey,
.journey {
  height: auto !important;
}
.journey-sticky {
  position: relative !important;
}
[data-t="journeyHint"] {
  display: none !important;
}
/* Japonca başlık yazı tipi yedekleri */
:lang(ja) h1,
:lang(ja) h2,
:lang(ja) h3 {
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", "MS Mincho", serif;
  letter-spacing: 0;
}
:lang(ja) body {
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", "Meiryo", Arial, sans-serif;
}
:lang(ja) .eyebrow {
  letter-spacing: 1px;
}
/* Korece yazı tipi yedekleri */
:lang(ko) body {
  font-family: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif;
  word-break: keep-all;
}
:lang(ko) h1,
:lang(ko) h2,
:lang(ko) h3 {
  font-family: "Noto Serif KR", "Batang", "AppleMyungjo", serif;
  letter-spacing: 0;
}
:lang(ko) .eyebrow {
  letter-spacing: 1px;
}

/* Üç satırlı Swan Dry Fruits logosu: menüde okunaklı boyut */
header .brand img[src*="swan-dry-fruits-logo"] {
  width: auto;
  height: 76px;
  max-width: none;
}
@media (max-width: 650px) {
  header .brand img[src*="swan-dry-fruits-logo"] {
    height: 64px;
  }
}

/* Sayfa altı: Swan Apricots logosu (tüm sayfalarda, daha belirgin) */
footer .brand img,
.product-footer .footer-brand img {
  width: 170px;
  height: auto;
  max-height: none;
}
.product-footer .footer-brand {
  display: inline-flex;
  margin-bottom: 18px;
}
@media (max-width: 650px) {
  footer .brand img,
  .product-footer .footer-brand img {
    width: 150px;
  }
}
footer.product-footer {
  display: block;
  text-align: center;
}
.product-footer .footer-brand {
  display: flex;
  justify-content: center;
  border-bottom: 0;
  padding: 0;
  margin: 0 auto 20px;
}
/* Yeni logo "Dry Fruits"u zaten içeriyor: menüdeki ek yazı gizlenir */
header .brand .brand-descriptor {
  display: none !important;
}

/* Yasal satır ve onay kutusu */
.legal-line {
  flex-basis: 100%;
  width: 100%;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e6e9df;
  font-size: 11px;
  line-height: 1.7;
  color: #6c7d78;
  text-align: center;
}
.legal-line a {
  color: inherit;
  text-decoration: underline;
  border: 0;
  padding: 0;
  font-size: inherit;
}
#inquiry .consent-check {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 18px !important;
  font-size: 12px !important;
  line-height: 1.6;
  font-weight: 400;
}
#inquiry .consent-check input {
  flex: none;
  width: 18px !important;
  height: 18px;
  margin-top: 2px;
  padding: 0 !important;
  accent-color: var(--blue, #00a7e8);
}
#inquiry .consent-check span {
  margin: 0 !important;
  font-weight: 400 !important;
  color: #5d6d68 !important;
}
#inquiry .consent-check a {
  text-decoration: underline;
}

footer {
  flex-wrap: wrap;
}
