/**
 * Dose Gida shared header.
 */

.yatbt-site-header {
  background: transparent;
  box-shadow: 0 8px 26px rgb(31 75 44 / 7%);
}

.yatbt-header-main {
  border: 0;
  background: var(--yatbt-section-background, #fff);
}

.yatbt-header-inner {
  display: grid;
  min-height: 112px;
  align-items: center;
  gap: clamp(26px, 3vw, 58px);
  grid-template-columns: minmax(180px, 220px) minmax(320px, 1fr) auto;
}

.yatbt-brand .custom-logo {
  width: auto;
  max-width: 210px;
  max-height: 64px;
}

.yatbt-header-search-trigger--desktop {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  align-items: center;
  gap: 4px;
  padding: 0 6px 0 16px;
  border: 0;
  border-radius: 999px;
  color: var(--yatbt-section-text, #34343c);
  background: #f5f6f4;
  cursor: pointer;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  text-align: left;
}

.yatbt-header-search-trigger--desktop[hidden] {
  display: none;
}

.yatbt-header-search-trigger--desktop svg,
.yatbt-header-phone svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.yatbt-header-search-trigger--desktop span {
  overflow: hidden;
  min-width: 0;
  padding: 0 10px;
  color: color-mix(in srgb, var(--yatbt-section-text, #34343c) 58%, transparent);
  font-size: 13px;
  font-weight: 450;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yatbt-header-search-trigger--desktop strong {
  display: inline-grid;
  min-height: 42px;
  place-items: center;
  padding: 8px 22px;
  border-radius: 999px;
  color: var(--yatbt-section-text, #34343c);
  background: transparent;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 720;
}

.yatbt-header-search-trigger--desktop:hover,
.yatbt-header-search-trigger--desktop:focus-visible,
.yatbt-header-search-trigger--desktop[aria-expanded="true"] {
  box-shadow: 0 0 0 2px var(--yatbt-section-accent, var(--yatbt-primary));
}

.yatbt-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.yatbt-header-phone {
  display: flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.yatbt-header-phone[hidden] {
  display: none;
}

.yatbt-header-phone > svg {
  width: 31px;
  height: 31px;
  color: var(--yatbt-section-accent, var(--yatbt-primary));
}

.yatbt-header-phone > span {
  display: grid;
  line-height: 1.25;
}

.yatbt-header-phone small {
  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.yatbt-header-phone strong {
  margin-top: 4px;
  color: color-mix(in srgb, var(--yatbt-section-accent, var(--yatbt-primary)) 72%, #4f641f);
  font-size: 14px;
  font-weight: 620;
  white-space: nowrap;
}

.yatbt-header-search-slot {
  display: none;
}

.yatbt-header-cta {
  min-height: 48px;
  gap: 14px;
  padding: 10px 17px 10px 21px;
}

.yatbt-header-navigation {
  color: var(--yatbt-navigation-text, #fff);
  background: var(--yatbt-navigation-background, #1f4b2c);
}

.yatbt-header-navigation-inner {
  position: relative;
  display: grid;
  min-height: 64px;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  grid-template-columns: minmax(250px, 290px) minmax(0, 1fr);
}

.yatbt-departments {
  position: relative;
  z-index: 4;
  min-width: 0;
}

.yatbt-departments[hidden] {
  display: none;
}

.yatbt-departments-toggle {
  display: grid;
  width: 100%;
  min-height: 52px;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 22px;
  border: 0;
  border-radius: 999px;
  color: var(--yatbt-button-text, #1d2a1b);
  background: var(--yatbt-button-background, var(--yatbt-primary));
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 720;
  cursor: pointer;
  grid-template-columns: 20px minmax(0, 1fr) 16px;
  text-align: left;
}

.yatbt-departments-toggle-icon {
  display: grid;
  gap: 4px;
}

.yatbt-departments-toggle-icon i {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
}

.yatbt-departments-chevron {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 180ms ease;
}

.yatbt-departments-toggle[aria-expanded="true"] .yatbt-departments-chevron {
  transform: rotate(180deg);
}

.yatbt-departments-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  display: grid;
  width: 100%;
  height: min(650px, calc(100vh - 190px));
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgb(23 23 29 / 8%);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 44px rgb(23 23 29 / 14%);
  grid-template-columns: 1fr;
}

.yatbt-departments-menu.has-active-preview {
  width: min(var(--yatbt-shell), calc(100vw - (2 * var(--yatbt-gutter))));
  grid-template-columns: minmax(250px, 290px) minmax(0, 1fr);
}

.yatbt-departments-menu[hidden] {
  display: none;
}

.yatbt-departments-list {
  overflow-y: auto;
  padding: 10px 20px;
  margin: 0;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: #cdd4ca transparent;
}

.yatbt-departments-menu.has-active-preview .yatbt-departments-list {
  border-right: 1px solid #eceeea;
}

.yatbt-departments-list li + li {
  border-top: 1px solid #eceeea;
}

.yatbt-departments-list > li > a {
  display: grid;
  min-height: 47px;
  align-items: center;
  gap: 13px;
  color: #454a43;
  font-size: 13px;
  font-weight: 510;
  grid-template-columns: 25px minmax(0, 1fr) 16px;
  text-decoration: none;
}

.yatbt-departments-list > li:hover > a,
.yatbt-departments-list > li.is-active > a,
.yatbt-departments-list > li > a:focus-visible {
  color: color-mix(in srgb, var(--yatbt-section-accent, var(--yatbt-primary)) 72%, #2e5a23);
}

.yatbt-department-arrow {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 160ms ease;
}

.yatbt-departments-list > li:hover .yatbt-department-arrow,
.yatbt-departments-list > li.is-active .yatbt-department-arrow {
  transform: translateX(3px);
}

.yatbt-department-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
  opacity: 0.68;
}

.yatbt-department-preview {
  display: none;
  min-width: 0;
  padding: 34px clamp(24px, 3vw, 48px);
  color: var(--yatbt-section-text, #34343c);
  background:
    radial-gradient(circle at 96% 4%, color-mix(in srgb, var(--yatbt-section-accent, var(--yatbt-primary)) 20%, transparent), transparent 30%),
    #fff;
  flex-direction: column;
}

.yatbt-departments-menu.has-active-preview .yatbt-department-preview {
  display: flex;
}

.yatbt-department-preview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #eceeea;
}

.yatbt-department-preview-header span:first-child {
  color: color-mix(in srgb, var(--yatbt-section-text, #34343c) 52%, transparent);
  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.yatbt-department-preview-header h2 {
  margin: 5px 0 0;
  color: var(--yatbt-section-text, #34343c);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
}

.yatbt-department-preview-header > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: color-mix(in srgb, var(--yatbt-section-accent, var(--yatbt-primary)) 68%, #2e5a23);
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.yatbt-department-products {
  display: grid;
  min-height: 0;
  flex: 1;
  align-content: center;
  gap: clamp(14px, 1.4vw, 24px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.yatbt-department-products-state {
  margin: 0;
  color: color-mix(in srgb, var(--yatbt-section-text, #34343c) 58%, transparent);
  font-size: 13px;
  grid-column: 1 / -1;
  text-align: center;
}

.yatbt-department-product {
  min-width: 0;
  color: var(--yatbt-section-text, #34343c);
  text-decoration: none;
}

.yatbt-department-product-media {
  display: grid;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 0.82;
  place-items: center;
  border-radius: 10px;
  background: #f4f6f2;
}

.yatbt-department-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.yatbt-department-product-media svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #aeb7aa;
  stroke-width: 1.4;
}

.yatbt-department-product:hover .yatbt-department-product-media img,
.yatbt-department-product:focus-visible .yatbt-department-product-media img {
  transform: scale(1.04);
}

.yatbt-department-product strong {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 13px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.yatbt-header-navigation .yatbt-primary-navigation {
  justify-content: flex-start;
}

.yatbt-header-navigation .yatbt-menu {
  justify-content: flex-start;
  gap: clamp(18px, 2vw, 34px);
}

.yatbt-header-navigation .yatbt-menu > li > a {
  min-height: 64px;
  gap: 7px;
  color: var(--yatbt-navigation-text, #fff);
  font-size: 12px;
  font-weight: 680;
}

.yatbt-header-navigation .yatbt-menu > .menu-item-has-children > a::after {
  width: 6px;
  height: 6px;
  transform: translateY(-2px) rotate(45deg);
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
}

.yatbt-header-navigation .yatbt-menu > li:hover > a,
.yatbt-header-navigation .yatbt-menu > .current-menu-item > a,
.yatbt-header-navigation .yatbt-menu > .current-menu-ancestor > a,
.yatbt-header-navigation .yatbt-menu > .current_page_item > a {
  color: var(--yatbt-section-accent, var(--yatbt-primary));
}

.yatbt-header-navigation .yatbt-menu .sub-menu {
  top: calc(100% + 1px);
}

.yatbt-header-navigation .yatbt-menu .sub-menu a {
  color: var(--yatbt-section-text, #34343c);
}

.yatbt-product-search {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  justify-content: center;
  padding: 9vh var(--yatbt-gutter) 5vh;
}

.yatbt-product-search[hidden] {
  display: none;
}

.yatbt-product-search-backdrop {
  position: absolute;
  border: 0;
  background: rgb(17 31 21 / 58%);
  backdrop-filter: blur(4px);
  cursor: default;
  inset: 0;
}

.yatbt-product-search-dialog {
  position: relative;
  display: flex;
  overflow: hidden;
  width: min(760px, 100%);
  height: fit-content;
  max-height: min(720px, 86vh);
  border: 1px solid rgb(31 75 44 / 12%);
  border-radius: 20px;
  color: var(--yatbt-section-text, #34343c);
  background: #fff;
  box-shadow: 0 34px 100px rgb(9 26 14 / 32%);
  flex-direction: column;
}

.yatbt-product-search-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 28px 18px;
}

.yatbt-product-search-heading span:first-child {
  color: color-mix(in srgb, var(--yatbt-section-text, #34343c) 48%, transparent);
  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.yatbt-product-search-heading h2 {
  margin: 5px 0 0;
  color: var(--yatbt-section-text, #34343c);
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.1;
}

.yatbt-product-search-close {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #e7ebe5;
  border-radius: 50%;
  color: #687067;
  background: #f7f8f6;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.yatbt-product-search-form {
  display: grid;
  min-height: 62px;
  align-items: center;
  gap: 10px;
  margin: 0 28px;
  padding: 0 8px 0 18px;
  border: 1px solid #dfe4dc;
  border-radius: 14px;
  background: #f7f8f6;
  grid-template-columns: 24px minmax(0, 1fr) auto auto;
}

.yatbt-product-search-form:focus-within {
  border-color: var(--yatbt-section-accent, var(--yatbt-primary));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--yatbt-section-accent, var(--yatbt-primary)) 22%, transparent);
}

.yatbt-product-search-form svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #7e887b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.yatbt-product-search-form input[type="search"] {
  min-width: 0;
  min-height: 60px;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--yatbt-section-text, #34343c);
  background: transparent;
  font: inherit;
  font-size: 14px;
}

.yatbt-product-search-form kbd {
  padding: 4px 7px;
  border: 1px solid #dfe4dc;
  border-radius: 5px;
  color: #90998d;
  background: #fff;
  font-size: 9px;
}

.yatbt-product-search-form button {
  min-height: 44px;
  padding: 8px 22px;
  border: 0;
  border-radius: 10px;
  color: var(--yatbt-button-text, #1d2a1b);
  background: var(--yatbt-button-background, var(--yatbt-primary));
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 720;
  cursor: pointer;
}

.yatbt-product-search-results {
  min-height: 240px;
  padding: 16px 20px;
  overflow-y: auto;
}

.yatbt-product-search-state {
  display: grid;
  min-height: 208px;
  place-items: center;
  align-content: center;
  color: #7d877a;
  text-align: center;
}

.yatbt-product-search-state > span {
  color: #c3cac0;
  font-size: 38px;
  line-height: 1;
}

.yatbt-product-search-state strong {
  margin-top: 12px;
  color: #4f574d;
  font-size: 13px;
}

.yatbt-product-search-state small {
  margin-top: 5px;
  font-size: 11px;
}

.yatbt-product-search-list {
  display: grid;
  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.yatbt-product-search-result {
  display: grid;
  min-height: 68px;
  align-items: center;
  gap: 14px;
  padding: 8px;
  border-radius: 12px;
  color: var(--yatbt-section-text, #34343c);
  grid-template-columns: 52px minmax(0, 1fr) 18px;
  text-decoration: none;
}

.yatbt-product-search-result:hover,
.yatbt-product-search-result:focus-visible,
.yatbt-product-search-result.is-active {
  color: #244a29;
  background: color-mix(in srgb, var(--yatbt-section-accent, var(--yatbt-primary)) 13%, #fff);
}

.yatbt-product-search-result-media {
  display: grid;
  overflow: hidden;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 9px;
  background: #f0f3ee;
}

.yatbt-product-search-result-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yatbt-product-search-result-media svg {
  width: 24px;
  fill: none;
  stroke: #9ba696;
  stroke-width: 1.5;
}

.yatbt-product-search-result-copy {
  min-width: 0;
}

.yatbt-product-search-result-copy strong,
.yatbt-product-search-result-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yatbt-product-search-result-copy strong {
  font-size: 13px;
  font-weight: 650;
}

.yatbt-product-search-result-copy small {
  margin-top: 5px;
  color: #8a9387;
  font-size: 10px;
}

.yatbt-product-search-result > svg {
  width: 17px;
  fill: none;
  stroke: #a9b1a6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.yatbt-product-search-footer {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 28px;
  border-top: 1px solid #e9ece7;
  color: #8a9387;
  background: #fafbf9;
  font-size: 10px;
}

.yatbt-product-search-footer a {
  color: color-mix(in srgb, var(--yatbt-section-accent, var(--yatbt-primary)) 68%, #2e5a23);
  font-weight: 700;
  text-decoration: none;
}

body.is-product-search-open {
  overflow: hidden;
}

@media (max-width: 1180px) {
  .yatbt-header-inner {
    min-height: 84px;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .yatbt-header-search-trigger--desktop,
  .yatbt-header-phone {
    display: none;
  }

  .yatbt-header-search-slot {
    display: inline-flex;
  }

  .yatbt-js .yatbt-nav-toggle {
    display: inline-flex;
    grid-column: 3;
    grid-row: 1;
  }

  .yatbt-header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .yatbt-header-navigation-inner {
    min-height: 62px;
    grid-template-columns: minmax(240px, 310px) minmax(0, 1fr);
  }

  .yatbt-js .yatbt-header-navigation .yatbt-primary-navigation {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: block;
    width: min(420px, calc(100vw - (2 * var(--yatbt-gutter))));
    max-height: calc(100vh - 170px);
    padding: 18px;
    overflow: auto;
    visibility: hidden;
    transform: translateY(-8px);
    border: 1px solid var(--yatbt-line);
    border-radius: 20px;
    opacity: 0;
    background: #fff;
    box-shadow: 0 24px 70px rgb(23 23 29 / 18%);
  }

  .yatbt-js .yatbt-header-navigation .yatbt-primary-navigation.is-open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
  }

  .yatbt-header-navigation .yatbt-menu > li > a {
    min-height: 48px;
    color: var(--yatbt-section-text, #34343c);
  }

  .yatbt-header-navigation .yatbt-menu .sub-menu {
    position: static;
  }

  .yatbt-header-navigation .yatbt-menu > .menu-item-has-children > a::after {
    display: none;
  }

  .yatbt-departments-menu {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: min(650px, calc(100vh - 170px));
    overflow-y: auto;
    grid-template-columns: 1fr;
  }

  .yatbt-departments-menu.has-active-preview {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .yatbt-departments-list {
    overflow: visible;
    border-right: 0;
  }

  .yatbt-departments-menu.has-active-preview .yatbt-department-preview {
    display: none;
  }
}

@media (max-width: 720px) {
  .yatbt-brand .custom-logo {
    max-width: 165px;
    max-height: 50px;
  }

  .yatbt-header-cta-slot {
    display: none;
  }

  .yatbt-header-navigation-inner {
    display: block;
    min-height: 60px;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .yatbt-departments-toggle {
    min-height: 52px;
  }

  .yatbt-departments-menu {
    max-height: min(540px, calc(100vh - 160px));
  }

  .yatbt-js .yatbt-header-navigation .yatbt-primary-navigation {
    right: var(--yatbt-gutter);
  }

  .yatbt-product-search {
    align-items: flex-end;
    padding: 16px;
  }

  .yatbt-product-search-dialog {
    width: 100%;
    max-height: calc(100vh - 32px);
    border-radius: 18px;
  }

  .yatbt-product-search-heading {
    padding: 20px 20px 15px;
  }

  .yatbt-product-search-form {
    margin: 0 20px;
    grid-template-columns: 22px minmax(0, 1fr) auto;
  }

  .yatbt-product-search-form kbd {
    display: none;
  }

  .yatbt-product-search-results {
    padding-inline: 12px;
  }

  .yatbt-product-search-footer {
    padding-inline: 20px;
  }
}

@media (max-width: 520px) {
  .yatbt-header-inner {
    min-height: 72px;
    gap: 8px;
  }

  .yatbt-brand .custom-logo {
    max-width: 145px;
    max-height: 44px;
  }

  .yatbt-product-search-form {
    min-height: 56px;
    padding-left: 14px;
  }

  .yatbt-product-search-form input[type="search"] {
    min-height: 54px;
  }

  .yatbt-product-search-form button {
    min-height: 40px;
    padding-inline: 16px;
  }

  .yatbt-product-search-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}
