/* XD footer — visual pass */

#footer {
  --home-inner-side: 15px;
  --home-carousel-side: 86px;
  padding: 0;
  margin: 0 !important;
  background: transparent;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

#footer .site-footer {
  --footer-text: #fff;
  --footer-muted: rgba(255, 255, 255, 0.78);
  --footer-link: rgba(255, 255, 255, 0.86);
  --footer-dark: #2a2b2e;
  --footer-bottom-text: #333;
  --footer-bottom-muted: #666;
  --footer-max: 1320px;
  color: var(--footer-text) !important;
  font-family: "Roboto Condensed", sans-serif;
}

#footer .site-footer a,
#footer .site-footer .site-footer__link {
  color: var(--footer-link) !important;
  text-decoration: none;
}

#footer .site-footer a:hover,
#footer .site-footer a:focus,
#footer .site-footer .site-footer__link:hover,
#footer .site-footer .site-footer__link:focus {
  color: #fff !important;
  text-decoration: underline;
}

/* Main dark area */
#footer .site-footer__main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 68px;
  background-color: #10141c;
}

#footer .site-footer__main::before {
  content: "";
  position: absolute;
  inset: -20px;
  z-index: 0;
  background-image: var(--footer-bg-image, url("/img/footer.jpg"));
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(10px);
  transform: scale(1.06);
}

#footer .site-footer__main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(8, 11, 18, 0.68);
}

#footer .site-footer__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: calc(var(--home-inner-side) + var(--home-carousel-side));
  padding-right: calc(var(--home-inner-side) + var(--home-carousel-side));
  box-sizing: border-box;
}

#footer .site-footer__grid {
  position: relative;
  z-index: 2;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

#footer .site-footer__column {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  height: auto;
  align-self: stretch;
  padding-right: 0;
  border-right: 0;
  box-sizing: border-box;
}

#footer .site-footer__column--newsletter {
  padding-right: 0;
  border-right: 0;
}

#footer .site-footer__title {
  margin: 0 0 16px;
  color: var(--footer-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

/* Working hours */
#footer .site-footer__hours {
  margin-bottom: 18px;
}

#footer .site-footer__hours-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--footer-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

#footer .site-footer__hours-row:last-child {
  border-bottom: 0;
}

#footer .site-footer__hours-day {
  flex: 1 1 auto;
}

#footer .site-footer__hours-time {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Contact */
#footer .site-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--footer-muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
}

#footer .site-footer__contact-item .material-icons,
#footer .site-footer__contact-item .site-footer__icon {
  flex: 0 0 auto;
  margin-top: 1px;
  color: #fff !important;
  font-family: "Material Icons" !important;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  opacity: 1;
  -webkit-font-smoothing: antialiased;
}

#footer .site-footer__contact-item .site-footer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

#footer .site-footer__contact-item .site-footer__icon svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

#footer .site-footer__contact-item--phone .material-icons,
#footer .site-footer__contact-item--phone .site-footer__icon {
  transform: none;
}

#footer .site-footer__contact-item--address span,
#footer .site-footer__contact-item span,
#footer .site-footer__contact-item a,
#footer .site-footer__contact-phones,
#footer .site-footer__link {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#footer .site-footer__contact-item--phone,
#footer .site-footer__contact-item--email,
#footer .site-footer__contact-item--phone a,
#footer .site-footer__contact-item--email a,
#footer .site-footer__contact-phones,
#footer .site-footer__contact-phones a {
  font-weight: 400 !important;
}

#footer .site-footer__contact-item,
#footer .site-footer__contact-item a,
#footer .site-footer__contact-item--phone a,
#footer .site-footer__contact-item--email a,
#footer .site-footer__contact-phones a {
  color: var(--footer-muted) !important;
}

#footer .site-footer__contact-item a:hover,
#footer .site-footer__contact-item a:focus {
  text-decoration: underline;
}

/* Link columns */
#footer .site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer .site-footer__list-item {
  margin: 0 0 6px;
}

#footer .site-footer__link {
  display: inline-block;
  max-width: 100%;
  color: var(--footer-link) !important;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

#footer .site-footer__link:hover,
#footer .site-footer__link:focus {
  color: #fff !important;
  text-decoration: underline;
}

/* Newsletter */
#footer .site-footer__column--newsletter {
  display: flex;
  flex-direction: column;
}

#footer .site-footer__newsletter-intro {
  margin: 0 0 14px;
  padding: 0;
  color: var(--footer-muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
}

#footer .site-footer__newsletter-conditions {
  display: none;
}

#footer .site-footer__newsletter-form {
  margin: 0;
}

#footer .block_newsletter,
#footer .site-footer__newsletter {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

#footer .site-footer__newsletter-field {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin-bottom: 12px;
}

#footer .site-footer__newsletter-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  transform: translateY(-50%);
  pointer-events: none;
}

#footer .site-footer__newsletter-icon .material-icons {
  font-size: 28px;
  line-height: 1;
}

#footer .site-footer__newsletter-input,
#footer .block_newsletter form input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 42px;
  padding: 10px 44px 10px 50px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  background: var(--footer-dark);
  color: #fff;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 13px;
  line-height: 1.2;
  box-sizing: border-box;
}

#footer .site-footer__newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

#footer .site-footer__newsletter-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.35);
}

#footer .site-footer__newsletter-submit {
  position: absolute;
  top: 3px;
  right: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

#footer .site-footer__newsletter-submit:hover,
#footer .site-footer__newsletter-submit:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

#footer .site-footer__newsletter-submit .material-icons {
  font-size: 20px;
}

#footer .site-footer__newsletter-alert {
  margin: 0 0 12px;
  font-size: 13px;
}

/* GDPR */
#footer .site-footer__gdpr {
  margin-top: 4px;
}

#footer .site-footer__gdpr .custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}

#footer .site-footer__gdpr .custom-checkbox input[type="checkbox"] + span {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.84);
}

#footer .site-footer__gdpr .custom-checkbox input[type="checkbox"] + span .checkbox-checked {
  color: #000;
}

#footer .site-footer__gdpr .psgdpr_consent_message,
#footer .site-footer__gdpr label,
#footer .site-footer__gdpr span {
  min-width: 0;
  color: var(--footer-muted) !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#footer .site-footer__gdpr a {
  color: var(--footer-muted) !important;
  text-decoration: underline;
}

/* Social icons */
#footer .site-footer__social {
  margin-top: 14px;
}

#footer .site-footer__social .block-social {
  padding: 0;
  margin: 0;
}

#footer .site-footer__social .block-social:before {
  display: none;
}

#footer .site-footer__social .block-social ul {
  display: flex;
  float: none;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  list-style: none;
}

#footer .site-footer__social .block-social ul li {
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 50%;
  background-color: var(--footer-dark);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px;
}

#footer .site-footer__social .block-social ul li a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

#footer .site-footer__social .block-social ul li a span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#footer .site-footer__social .block-social ul li.facebook {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='3.5 -2 17.5 27.5' fill='%23fff'%3E%3Cpath d='M14.5 8.5V6.8c0-.9.2-1.3 1.5-1.3h1.7V2.1S16.1 2 14.4 2C11.2 2 9.3 3.9 9.3 7.3v1.2H6.8v3.3h2.5V22h3.7v-8.2h2.5l.5-3.3h-3z'/%3E%3C/svg%3E");
  background-size: 18px;
}

#footer .site-footer__social .block-social ul li.twitter {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-2.5 -2.5 29 29' fill='%23fff'%3E%3Cpath d='M18.9 4.5h3.3l-7.2 8.2 8.5 11.3h-6.6l-5.2-6.8-5.9 6.8H2.3l7.7-8.8L2 4.5h6.8l4.7 6.2 5.4-6.2Zm-1.2 17.2h1.8L7.1 6.4H5.2l12.5 15.3Z'/%3E%3C/svg%3E");
  background-size: 18px;
}

#footer .site-footer__social .block-social ul li.youtube {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M21.6 7.2a2.5 2.5 0 0 0-1.8-1.8C18 5 12 5 12 5s-6 0-7.8.4a2.5 2.5 0 0 0-1.8 1.8C2 9 2 12 2 12s0 3 .4 4.8a2.5 2.5 0 0 0 1.8 1.8C6 19 12 19 12 19s6 0 7.8-.4a2.5 2.5 0 0 0 1.8-1.8c.4-1.8.4-4.8.4-4.8s0-3-.4-4.8ZM10 15.5v-7l6 3.5-6 3.5Z'/%3E%3C/svg%3E");
}

#footer .site-footer__social .block-social ul li.instagram {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M7 3h10a4 4 0 0 1 4 4v10a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V7a4 4 0 0 1 4-4Zm5 5.2A3.8 3.8 0 1 0 15.8 12 3.8 3.8 0 0 0 12 8.2Zm6.4-2.3a1 1 0 1 0-1 1 1 1 0 0 0 1-1ZM12 10a2 2 0 1 1-2 2 2 2 0 0 1 2-2Z'/%3E%3C/svg%3E");
}

#footer .site-footer__social .block-social ul li.pinterest {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 3a9 9 0 0 0-3.2 17.4c-.1-.8-.2-2 .1-2.9.2-.8 1.3-5.4 1.3-5.4s-.3-.6-.3-1.5c0-1.4.8-2.5 1.9-2.5.9 0 1.3.7 1.3 1.5 0 .9-.6 2.3-.9 3.6-.3 1.1.5 2 1.6 2 1.9 0 3.2-2.4 3.2-5.9 0-2.4-1.6-4.2-4.5-4.2-3.4 0-5.5 2.5-5.5 5.3 0 .9.3 1.8.8 2.3.1.1.1.1.1.2l-.3 1.2c0 .1-.1.2-.2.1-.7-.3-1.1-1.2-1.1-2.2 0-2.8 2.1-6.1 6.3-6.1 3.4 0 5.6 2.5 5.6 5.8 0 3.5-2 6.1-4.9 6.1-1 0-1.9-.6-2.2-1.2l-.6 2.4c-.2.7-.7 1.7-1 2.3.8.2 1.6.4 2.5.4A9 9 0 1 0 12 3Z'/%3E%3C/svg%3E");
}

#footer .site-footer__social .block-social ul li.linkedin {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M6.5 8.5h3v11h-3v-11Zm1.5-5a1.8 1.8 0 1 1 0 3.6 1.8 1.8 0 0 1 0-3.6ZM10 8.5h2.9v1.5h.1c.4-.8 1.4-1.6 2.9-1.6 3.1 0 3.7 2 3.7 4.7v6.4h-3v-5.7c0-1.4 0-3.1-1.9-3.1s-2.2 1.5-2.2 3v5.8H10V8.5Z'/%3E%3C/svg%3E");
  background-size: 18px;
}

/* Bottom white bar */
#footer .site-footer__bottom {
  background: #fff;
  border-top: 1px solid #e8e8e8;
}

#footer .site-footer__bottom > .container {
  max-width: none;
}

#footer .site-footer__bottom-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 16px 0;
  text-align: center;
}

#footer .site-footer__copyright p {
  margin: 0;
  color: var(--footer-bottom-muted);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
  text-align: center;
}

#footer .site-footer__payments {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

#footer .site-footer__payments-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 36px;
  object-fit: contain;
}

#footer .site-footer__credit {
  text-align: center;
}

#footer .site-footer__credit a {
  color: #000;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
}

#footer .site-footer__credit a:hover,
#footer .site-footer__credit a:focus {
  color: #000;
  text-decoration: underline;
}

#footer .site-footer .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Tablet: 2 columns, newsletter full width */
@media only screen and (min-width: 768px) {
  #footer .site-footer__main {
    padding: 48px 0 44px;
  }

  #footer .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 24px;
    align-items: start;
  }

  #footer .site-footer__column--newsletter {
    grid-column: 1 / -1;
  }
}

/* Desktop: 4 columns + equal height + 3-part bottom bar */
@media only screen and (min-width: 1200px) {
  #footer .site-footer__main {
    padding: 72px 0 68px;
  }

  #footer .site-footer__grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 28px 24px;
    align-items: stretch;
  }

  #footer .site-footer__column {
    height: 100%;
    padding-right: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  #footer .site-footer__column--newsletter {
    grid-column: auto;
    padding-right: 0;
    border-right: 0;
  }

}

@media only screen and (min-width: 992px) {
  #footer .site-footer__bottom-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, auto) minmax(0, 1fr);
    gap: 16px;
    padding: 10px 0;
    text-align: left;
  }

  #footer .site-footer__copyright p {
    text-align: left;
  }

  #footer .site-footer__credit {
    text-align: right;
  }
}

@media only screen and (max-width: 991px) {
  #footer {
    --home-inner-side: 12px;
    --home-carousel-side: 48px;
  }
}

@media only screen and (max-width: 767px) {
  #footer {
    --home-inner-side: 12px;
    --home-carousel-side: 0px;
  }

  #footer .site-footer__main {
    padding: 36px 0 32px;
  }

  #footer .site-footer__title {
    margin-bottom: 12px;
    font-size: 15px;
  }

  #footer .site-footer__hours-row {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  #footer .site-footer__social .block-social ul,
  #footer .site-footer__social .block-social ul li {
    float: none !important;
  }

  #footer .site-footer__payments-img {
    max-height: 28px;
  }
}

@media only screen and (max-width: 479px) {
  #footer .site-footer__hours-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  #footer .site-footer__hours-time {
    white-space: normal;
  }
}
