/* contacts.css (scoped) */

.contacts-hero {
  padding: 24px 0 0;
}

.contacts-hero__title {
  margin: 0;
  color: #101010;
  font-family:
    "Inter Tight",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 95%;
}

/* CARD (ліва інфа + права мапа) */
.contacts-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  border-radius: 32px;
  overflow: hidden;
  background: #f3f3f3;
}

/* LEFT */
.contacts-hero__info {
  padding: 56px 46px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contacts-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contacts-social__item {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #009846;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contacts-hero__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/*-------------------------------------------------------------------------------------------------------*/

.contacts-page {
  padding: 0px;
}
.ak-container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 20px;
}

/* щоб абсолютна мапа не робила горизонтальний скрол */
body {
  overflow-x: hidden;
}

.contacts-hero {
  padding: 0px;
}
.contacts-hero__head {
  margin-bottom: 24px;
  width: 100%;
}

.contacts-hero__block {
  display: grid;
  gap: 10px;
}
.contacts-hero__label {
  color: var(--ak-green);
  font-size: 16px;
  font-weight: 4 00;
  line-height: 100%;
}

.contacts-hero__info3 .contacts-hero__label {
  margin-bottom: 10px;
}
.contacts-hero__value {
  color: #101010;
  font-size: 25px;
  font-weight: 600;
  line-height: 115%;
  letter-spacing: 0.02em;
}
.woocommerce-breadcrumb {
  font-size: 1em;
  padding: 20px 0px 40px 0px;
}
.storefront-breadcrumb {
  display: none;
}

/* wrap на всю ширину */
.contacts-hero__wrap {
  position: relative;
  background: #f3f3f3;
  overflow: hidden;
  height: 70vh;
}

/* ЛІВА ЧАСТИНА — 50% від контейнера (max 1920) */
.contacts-hero__info {
  width: 70%;
  padding: 0px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 0px;
  flex-shrink: 0;
  row-gap: 20px;
}

.contacts-hero__info1,
.contacts-hero__info2 {
  width: 100%;
  display: grid;
  grid-template-columns: 290px 1fr;
  column-gap: 0px;
  row-gap: 20px;
}

.contacts-hero__info2 {
  margin-bottom: 20px;
}
.contacts-hero__info3 {
  margin-bottom: 40px;
}
/* ПРАВА ЧАСТИНА — 50% від viewport, до правого краю */
.contacts-hero__map {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(1920px - 852px);
  height: calc(100vh - 139px); /* висота карти на висоту екрана */
  background: #e9e9e9;
}

.contacts-hero__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Buttons */
.ak-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 65px;
  padding: 0 46px;
  border-radius: var(--ak-radius-lg);
  border: 0;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    filter 0.15s ease;
  width: fit-content;
}

.ak-btn--green {
  background: var(--ak-green);
  color: #fff;
}
.ak-btn--green:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  background-color: var(--ak-green-hover);
  color: white;
}
.ak-btn--green:active {
  transform: translateY(0px);
  filter: brightness(0.98);
}
.contacts-hero__btn {
  margin-top: 40px;
  align-self: flex-start;
}

.contacts-social__item.viber-mobile {
  display: none;
}
.contacts-social__item.viber-web {
  display: flex;
}

.contacts-social__item:hover {
  background: var(--ak-green-hover) !important;
}

/* --------------------------------------------------------------------------1800 ------------------------------------------- */
@media (max-width: 1800px) {
  .contacts-hero__value {
    font-size: 20px;
    max-width: 248px;
  }
  .contacts-hero__map {
    width: calc(1800px - 852px);
  }
}

/* --------------------------------------------------------------------------1440 ------------------------------------------- */
@media (max-width: 1471px) {
  .contacts-hero__title {
    font-size: 36px;
  }
  .contacts-hero__label {
    font-size: 12px;
  }

  .contacts-hero__info3 .contacts-hero__label {
    margin-bottom: 5px;
  }
  .contacts-hero__value {
    font-size: 20px;
    max-width: 248px;
  }
  .ak-btn {
    height: 55px;
    padding: 0 46px;
    font-size: 14px;
  }
  .contacts-hero__btn {
    margin-top: 30px;
  }
  .contacts-hero__info {
    width: 65%;
  }
  .contacts-hero__wrap {
    position: relative;
    background: #f3f3f3;
    overflow: hidden;
    height: 75vh;
  }
  .contacts-hero__map {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100vw - 553px);
    height: calc(100vh - 131px);
    background: #e9e9e9;
  }
}
/* --------------------------------------------------------------------------1024 ------------------------------------------- */

@media (max-width: 1025px) {
  .contacts-hero__title {
    font-size: 34px;
  }
  .contacts-hero__label {
    font-size: 12px;
  }

  .contacts-hero__info3 .contacts-hero__label {
    margin-bottom: 10px;
  }
  .contacts-hero__value {
    font-size: 20px;
  }

  .contacts-hero__info1,
  .contacts-hero__info2 {
    grid-template-columns: 207px 1fr;
  }
  .contacts-hero__map {
    width: calc(100vw - 50vw);
    height: calc(100vh - 76px);
  }
  .contacts-hero__info {
    width: 70%;
  }
  .contacts-hero__wrap {
    height: 80vh;
  }
}
/* --------------------------------------------------------------------------768 ------------------------------------------- */
@media (max-width: 768px) {
  .contacts-hero__info {
    grid-template-columns: 1fr;
  }

  .contacts-hero__info > .contacts-hero__block:nth-child(3),
  .contacts-hero__info > .contacts-hero__block:nth-child(4) {
    grid-column: auto;
  }
  .contacts-hero__info1,
  .contacts-hero__info2 {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1, minmax(225px, 1fr));
    column-gap: 56px;
    row-gap: 22px;
  }
  .contacts-hero__info {
    width: 100%;
  }
  .contacts-hero__title {
    font-size: 24px;
  }

  .contacts-hero__info3 .contacts-hero__label {
    margin-bottom: 5px;
  }
  .contacts-hero__value {
    font-size: 18px;
  }
  .contacts-hero__map {
    width: 100%;
    position: static;
  }
  /* .contacts-hero__map {
    height: 420px;
  } */
  .contacts-hero__info1,
  .contacts-hero__info2 {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1, minmax(225px, 1fr));
    column-gap: 56px;
    row-gap: 22px;
  }
  .contacts-hero__wrap {
    height: auto;
    padding-bottom: 100px;
  }
  .contacts-social__item.viber-mobile {
    display: flex;
  }
  .contacts-social__item.viber-web {
    display: none;
  }
}

/* --------------------------------------------------------------------------426 ------------------------------------------- */
@media (max-width: 426px) {
  .woocommerce-breadcrumb {
    padding: 20px 0px 30px 0px;
  }

  .contacts-hero__info {
    width: 100%;
  }
  .contacts-hero__title {
    font-size: 24px;
  }

  .contacts-hero__info3 .contacts-hero__label {
    margin-bottom: 5px;
  }
  .contacts-hero__value {
    font-size: 18px;
  }
  .contacts-hero__map {
    width: 100%;
    height: 600px;
    position: static;
  }
  /* .contacts-hero__map {
    height: 420px;
  } */
  .contacts-hero__info1,
  .contacts-hero__info2 {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1, minmax(225px, 1fr));
    column-gap: 56px;
    row-gap: 22px;
  }
  .contacts-hero__wrap {
    height: auto;
    padding-bottom: 100px;
  }
}
