html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
a, button, [role="button"], summary, label,
input, select, textarea {
  touch-action: manipulation;
}
img, video {
  max-width: 100%;
  height: auto;
}
.bh-form-hata,
.text-status-error,
[role="alert"] {
  color: #8b1e1e;
  font-size: 0.875rem;
  line-height: 1.4;
}

@media (max-width: 767px) {

  body {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  #main-content,
  main {
    scroll-padding-bottom: 0;
  }
  footer,
  .p2-foot,
  .p3-footer {
    margin-bottom: 0 !important;
  }
  #site-menu-btn,
  #site-mobile-lang-btn,
  #concierge-ai-open,
  #concierge-ai-close,
  .bh-popup__x,
  .bh-popup-bildirim button {
    min-width: 44px !important;
    min-height: 44px !important;
  }
  #site-mobile-nav a,
  #site-mobile-nav button,
  #site-mobile-nav summary {
    min-height: 44px;
  }

  #site-mobile-nav:not(.hidden) {
    height: calc(100dvh - var(--site-header-h, 57px)) !important;
    max-height: none !important;
    min-height: calc(100dvh - var(--site-header-h, 57px)) !important;
    overflow: hidden !important;
    background: var(--color-surface-alabaster, #faf8f5) !important;
  }
  #site-mobile-nav > nav {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  footer a,
  .p2-foot a,
  .p3-footer a,
  .p2-foot__copy a {
    min-height: 0;
    display: inline;
    align-items: unset;
    font-size: 13px;
    line-height: 1.25;
    padding: 0.1rem 0;
  }
  footer ul li,
  .p2-foot a,
  .p3-footer__list li {
    margin: 0;
    padding: 0;
  }
  footer,
  .p2-foot,
  .p3-footer {
    font-size: 13px;
    line-height: 1.3;
    color: #d8d0c6;
  }
  footer .footer-brand-title {
    font-size: 1.35rem !important;
    line-height: 1.2 !important;
    font-weight: 650;
  }
  footer .footer-brand-name {
    display: block;
    font-size: 0.95rem !important;
    line-height: 1.25 !important;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-align: center;
  }
  footer .text-secondary-fixed-dim,
  footer .text-text-muted {
    color: #d8d0c6;
  }
  .bh-yasal-linkler a {
    min-height: 0;
    padding: 0.15rem 0.1rem;
    font-size: 12.5px;
    line-height: 1.25;
  }
  .text-[9px]:not(.header-brand-slogan),
  .text-[10px]:not(.header-brand-slogan),
  .text-[11px]:not(.header-brand-slogan),
  .font-label-caps.text-label-caps:not(.header-brand-slogan) {
    font-size: 12.5px !important;
    line-height: 1.35;
  }

  #site-header .header-brand-slogan {
    font-family: "EB Garamond", Georgia, "Times New Roman", serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
    font-style: normal !important;
  }
  .bh-popup__oran,
  .bh-popup__metin,
  .bh-popup__btn {
    font-size: 14px !important;
    letter-spacing: 0.02em;
    text-transform: none;
  }
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]):not([type="file"]):not([type="color"]),
  select,
  textarea {
    font-size: 16px !important;
    min-height: 44px;
  }
  label {
    font-size: 14px;
    line-height: 1.35;
  }
}

@media (max-width: 640px) {

  .bh-popup {
    align-items: center !important;
    justify-content: center !important;
    padding: max(0.75rem, env(safe-area-inset-top, 0px)) 0.75rem max(0.75rem, env(safe-area-inset-bottom, 0px)) !important;
  }
  .bh-popup__kart {
    width: calc(100vw - 1rem) !important;
    max-width: none !important;
    max-height: min(92vh, 52rem) !important;
    flex-direction: column !important;
  }
  .bh-popup__gorsel-link {
    display: block !important;
    max-height: none !important;
    flex: 0 1 auto !important;
    min-height: 0;
  }
  .bh-popup__gorsel-link[hidden] {
    display: none !important;
  }
  .bh-popup__gorsel {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: min(72vh, 32rem) !important;
    object-fit: contain !important;
  }
  .bh-popup__gorsel[hidden] {
    display: none !important;
  }
  .bh-popup__kart.is-gorsel-odak .bh-popup__gorsel {
    max-height: min(84vh, 40rem) !important;
  }
  .bh-popup__govde {
    padding: 0.85rem 1rem 1.05rem !important;
  }
  .bh-popup__govde.is-bos {
    display: none !important;
    padding: 0 !important;
  }
  .bh-popup__govde h2 {
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
  }
  .bh-popup__metin {
    margin-top: 0.35rem !important;
  }
  .bh-popup__x {
    top: 0.45rem !important;
    right: 0.45rem !important;
  }
}
