/* Osmo Side Navigation with Wipe Effect, adapted for MB Web Tasarım.
   Source: https://codepen.io/osmosupply/pen/JoPPOXj (MIT). */
.site-header .mb-wipe-toggle {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 1px solid #24252926;
  border-radius: 10px;
  color: var(--ink, #1c1d20);
  background: #ffffff40;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.site-header .mb-wipe-toggle:hover {
  background: var(--gold, #ffc431);
  border-color: var(--gold, #ffc431);
}
.mb-wipe-hamburger {
  display: flex;
  width: 21px;
  flex-direction: column;
  gap: 5px;
}
.mb-wipe-hamburger i {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.2s;
}
.mb-wipe-hamburger i:nth-child(2) {
  width: 75%;
  align-self: flex-end;
}
.mb-wipe-toggle[aria-expanded="true"] i:first-child {
  transform: translateY(7px) rotate(45deg);
}
.mb-wipe-toggle[aria-expanded="true"] i:nth-child(2) {
  opacity: 0;
}
.mb-wipe-toggle[aria-expanded="true"] i:last-child {
  transform: translateY(-7px) rotate(-45deg);
}
.mb-wipe-nav {
  --wipe-pad: clamp(24px, 4vw, 48px);
  --wipe-ease: cubic-bezier(0.65, 0.05, 0, 1);
  --wipe-link-size: clamp(29px, 3.4vw, 46px);
  --wipe-row-pad: 14px;
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: transparent;
  color: #1c1d20;
  font-family: var(--font, "Montserrat", sans-serif);
}
.mb-wipe-nav:not([open]) {
  display: none;
}
.mb-wipe-nav::backdrop {
  background: transparent;
}
.mb-wipe-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: #13131366;
  cursor: pointer;
}
.mb-wipe-panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(640px, 100%);
  height: 100%;
  isolation: isolate;
}
.mb-wipe-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.mb-wipe-bg-panel {
  position: absolute;
  inset: 0;
  background: #f7f5ee;
  border-radius: 24px 0 0 24px;
}
.mb-wipe-bg-panel.first {
  background: var(--gold, #ffc431);
}
.mb-wipe-bg-panel.second {
  background: #1c1d20;
}
.mb-wipe-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  padding: max(20px, env(safe-area-inset-top)) 0
    max(28px, env(safe-area-inset-bottom));
  scrollbar-width: thin;
  scrollbar-color: #c7c2b4 transparent;
}
.mb-wipe-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 0 var(--wipe-pad) 24px;
}
.mb-wipe-heading > a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.mb-wipe-heading,
.mb-wipe-links,
.mb-wipe-details {
  flex-shrink: 0;
}
.mb-wipe-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid #1c1d2026;
  background: transparent;
  border-radius: 50%;
}
.mb-wipe-close .icon {
  width: 20px;
  height: 20px;
}
.mb-wipe-close:hover {
  background: var(--gold, #ffc431);
}
.mb-wipe-links {
  width: 100%;
}
.mb-wipe-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  width: 100%;
}
.mb-wipe-list-item {
  position: relative;
  overflow: hidden;
}
.mb-wipe-link {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: var(--wipe-row-pad) calc(var(--wipe-pad) + 56px) var(--wipe-row-pad)
    var(--wipe-pad);
  line-height: 1.15;
  color: #1c1d20;
}
.mb-wipe-link-face {
  position: relative;
  display: block;
  overflow: hidden;
  z-index: 1;
  font-size: var(--wipe-link-size);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.045em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.mb-wipe-link-face > span {
  display: block;
  transition: transform 0.55s var(--wipe-ease);
}
.mb-wipe-link-face > span:last-child {
  position: absolute;
  inset: 0;
  transform: translateY(115%);
}
.mb-wipe-number {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
  color: #947016;
}
.mb-wipe-link-bg {
  position: absolute;
  inset: 0;
  background: var(--gold, #ffc431);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.55s var(--wipe-ease);
}
.mb-wipe-link:focus-visible {
  outline-offset: -6px;
}
.mb-wipe-link:focus-visible .mb-wipe-link-bg {
  transform: scaleY(1);
}
.mb-wipe-submenu {
  border: 0;
  margin: 0;
  padding: 0;
}
.mb-wipe-submenu > summary {
  box-sizing: border-box;
  position: absolute;
  right: var(--wipe-pad);
  top: calc(var(--wipe-row-pad) + (var(--wipe-link-size) * 1.15 - 44px) / 2);
  display: grid;
  place-items: center;
  align-content: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
  margin: 0;
  padding: 0;
  gap: 0;
  line-height: 1;
  border: 1px solid #1c1d2026;
  border-radius: 50%;
  list-style: none;
  cursor: pointer;
}
.mb-wipe-submenu > summary::-webkit-details-marker {
  display: none;
}
.mb-wipe-submenu > summary .icon {
  display: block;
  width: 17px;
  height: 17px;
  margin: 0;
  padding: 0;
  transform-origin: center;
  transition: transform 0.25s;
}
.mb-wipe-submenu[open] > summary .icon {
  transform: rotate(45deg);
}
.mb-wipe-submenu-links {
  display: grid;
  gap: 1px;
  padding: 7px var(--wipe-pad) 17px;
}
.mb-wipe-submenu-links a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 8px;
  border-bottom: 1px solid #1c1d200d;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.mb-wipe-submenu-links .icon {
  width: 19px;
  height: 19px;
  color: #a97a00;
}
.mb-wipe-submenu-links a:hover {
  background: #ffc43124;
}
.mb-wipe-details {
  margin-top: auto;
  padding: 32px var(--wipe-pad) 0;
}
.mb-wipe-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid #1c1d20;
  background: #1c1d20;
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}
.mb-wipe-cta:hover {
  background: var(--gold, #ffc431);
  border-color: var(--gold, #ffc431);
  color: #1c1d20;
}
.mb-wipe-cta .icon {
  width: 22px;
  height: 22px;
  color: var(--gold, #ffc431);
}
.mb-wipe-cta:hover .icon {
  color: #1c1d20;
}
.mb-wipe-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.mb-wipe-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 17px;
  font-size: 12px;
}
.mb-wipe-contact a:hover,
.mb-wipe-socials a:hover {
  color: #947016;
}
@media (hover: hover) {
  .mb-wipe-link:hover .mb-wipe-link-face > span:first-child {
    transform: translateY(-115%);
  }
  .mb-wipe-link:hover .mb-wipe-link-face > span:last-child {
    transform: translateY(0);
  }
  .mb-wipe-link:hover .mb-wipe-link-bg {
    transform: scaleY(1);
  }
}
@media (min-width: 1201px) and (max-width: 1460px) {
  .site-header .header-inner {
    gap: 18px;
  }
  .site-header .desktop-nav {
    gap: 14px;
  }
  .site-header .header-cta {
    display: none;
  }
}
@media (max-width: 640px) {
  .mb-wipe-nav {
    --wipe-link-size: clamp(28px, 7vw, 38px);
    --wipe-row-pad: 13px;
  }
  .mb-wipe-panel {
    width: 100%;
  }
  .mb-wipe-bg-panel {
    border-radius: 0;
  }
  .mb-wipe-heading {
    padding-bottom: 18px;
  }
  .site-header .mb-wipe-toggle {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mb-wipe-nav *,
  .mb-wipe-toggle * {
    transition: none !important;
  }
  .mb-wipe-link:hover .mb-wipe-link-face > span:first-child {
    transform: none;
  }
  .mb-wipe-link:hover .mb-wipe-link-face > span:last-child {
    transform: translateY(115%);
  }
}
