/*** Footer ***/
.custom-footer__contact .container {
  background-color: #1E1F1F !important;
}

.custom-footer__contact .container>* {
  padding: 40px 0 !important;
}

.custom-footer__contact h4 span {
  font-size: 40px !important;
}

.custom-footer__contact h4 {
  flex: 0 0 50% !important;
}

.custom-footer__contact h4 span {
  margin-bottom: 0px !important;
}

/* ============================================ */
/* NEWSLETTER SEKCE - Aktuální novinky a akce */
/* ============================================ */

/* Reset a základní wrapper */
.jipos-footer-sections-wrapper {
  display: flex;
  flex-direction: column;
  background-color: #fff;
}

/* Společné styly pro obě sekce */
.custom-footer__newsletter,
.custom-footer__contact {
  flex: 0 0 50%;
}

/* ============================================ */
/* NEWSLETTER SEKCE */
/* ============================================ */

.custom-footer__newsletter {
  background-color: #fff !important;
}

.custom-footer__newsletter .container {
  max-width: 100%;
  padding: 0;
}

.custom-footer__newsletter .newsletter-header {
  position: relative;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.custom-footer__newsletter .newsletter-header::before {
  content: '';
  width: 130px;
  height: 60px;
  background-image: url('/user/documents/upload/static/footer/subscribe.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.custom-footer__newsletter .topic {
  font-size: 30px;
  font-weight: 700;
  color: #000;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
  max-width: 62%;
}

.custom-footer__newsletter .topic::after {
  content: '';
  width: 28px;
  height: 28px;
  background-image: url('/user/documents/upload/static/footer/arrow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.custom-footer__newsletter .subscribe-form {
  display: block;
}

.custom-footer__newsletter fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.custom-footer__newsletter .js-validated-element-wrapper {
  margin-bottom: 12px;
}

.custom-footer__newsletter input[type="email"] {
  width: 100%;
  padding: 13px 18px;
  border: 1px solid #F2F2F2;
  border-radius: 25px;
  font-size: 15px;
  background-color: #F2F2F2;
  box-sizing: border-box;
}

.custom-footer__newsletter input[type="email"]::placeholder {
  color: #999;
}

.custom-footer__newsletter .btn-default {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 13px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 0px 25px 25px 0px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.custom-footer__newsletter .btn-default:hover {
  background-color: #d32027;
}

.custom-footer__newsletter .btn-default .sr-only {
  position: static !important;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  overflow: visible !important;
}

.custom-footer__newsletter .btn-arrow-right::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url('/user/documents/upload/static/footer/arrow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(0) invert(1);
}

.custom-footer__newsletter br {
  display: none;
}

.custom-footer__newsletter .consents {
  margin-top: 8px;
}

.custom-footer__newsletter .consents label {
  font-size: 12px;
  color: #666;
  display: inline;
  font-weight: normal;
  line-height: 1.5;
}

.custom-footer__newsletter .consents a {
  color: #666;
  text-decoration: underline;
}

.custom-footer__newsletter .consents a:hover {
  color: #d32027;
}

/* ============================================ */
/* POMŮŽEME VÁM S VÝBĚREM */
/* ============================================ */

.custom-footer__contact {
  background-color: #1E1F1F !important;
  color: #fff;
}

.custom-footer__contact .container {
  max-width: 100%;
  padding: 0;
}

.custom-footer__contact h4 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.custom-footer__contact h4 p {
  font-size: 20px;
  color: #fff;
}

.custom-footer__contact .contact-box {
  display: block;
}

.custom-footer__contact .contact-box strong {
  display: none;
}

.custom-footer__contact .contact-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.custom-footer__contact .contact-box li {
  margin-bottom: 18px;
}

.custom-footer__contact .mail {
  display: block;
  position: relative;
  padding-left: 38px;
}

.custom-footer__contact .mail a {
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  color: #fff;
}

.custom-footer__contact .tel {
  display: block;
  position: relative;
  padding-left: 38px;
}

.custom-footer__contact .tel a {
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.custom-footer__contact .tel a:hover {
  color: #d32027;
}

.custom-footer__contact .socialky {
  display: none !important;
}

/* ============================================ */
/* RESPONZIVNÍ DESIGN */
/* ============================================ */

@media (max-width: 991px) {

  .custom-footer__newsletter,
  .custom-footer__contact {
    padding: 40px 30px;
  }
}

@media (max-width: 767px) {

  .custom-footer__newsletter,
  .custom-footer__contact {
    flex: 1 1 100%;
    padding: 35px 20px;
  }

  .custom-footer__newsletter .newsletter-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .custom-footer__newsletter .topic {
    font-size: 20px;
  }

  .custom-footer__contact h4 {
    font-size: 20px;
  }
}

/* Footer */
.jipos-footer-section h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: #000;
}

.jipos-footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jipos-footer-section ul li {
  margin-bottom: 12px;
}

.jipos-footer-section a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.jipos-footer-section a:hover {
  color: #d32027;
}

/* Logo sekce */
.jipos-logo-section img.logo {
  max-width: 180px;
  margin-bottom: 20px;
}

.jipos-logo-section p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #555;
}

/* Sociální sítě */
.jipos-social {
  margin-top: 20px;
}

.jipos-social h3 {
  font-size: 16px;
  margin-bottom: 15px;
}

.jipos-social-icons {
  display: flex;
  gap: 15px;
}

.jipos-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.jipos-social-icons a:hover {
  transform: scale(1.1);
}

.jipos-social-icons img {
  width: 40px;
  height: 40px;
}

/* Kontakty */
.jipos-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.jipos-contact-item img {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex-shrink: 0;
}

.jipos-contact-content {
  flex: 1;
}

.jipos-contact-content p {
  margin: 0 0 5px 0;
  font-size: 14px;
  line-height: 1.6;
}

.jipos-contact-content strong {
  color: #000;
  font-weight: 600;
}

@media screen and (max-width: 991px) {
  .custom-footer>div {
    max-height: none !important;
  }

  .custom-footer>div {
    border-top: none;
  }

  .jipos-social {
    justify-items: center;
  }

  .jipos-logo-section p {
    text-align: center;
  }

  .jipos-footer-section.jipos-logo-section {
    text-align: center;
  }

  .custom-footer__contact h4 span {
    font-size: 28px;
  }

  .custom-footer__contact .tel {
    padding-left: 10px;
  }

  .custom-footer__contact h4 p {
    font-size: 17px;
  }

  .contact-box li a {
    font-size: 16px;
  }

  .custom-footer__contact .tel a {
    font-size: 16px;
  }

  .custom-footer__newsletter,
  .custom-footer__contact {
    padding: 0px 20px;
  }
}