/* Contacts page — pixel-perfect from Figma */
/* Mobile: px | Desktop (992+): rem (base ~22px at 1920) */

/* Autofill white background — all browsers */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #111 !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Global */
#partners-list #map {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
}

/* ========== MOBILE (< 992px) ========== */
@media (max-width: 991px) {

.contacts-page {
  padding-top: 30px;
  padding-bottom: 0;
}
.contacts-page .ct-h1 {
  font-size: 34px;
  font-weight: 500;
  color: #111;
  margin-bottom: 16px;
  line-height: 1.2;
}
.contacts-page .ct-label {
  font-size: 14px;
  color: #9E9E9E;
  line-height: 1.3;
  margin-bottom: 2px;
}
.contacts-page .ct-phone {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
}
.contacts-page .ct-phone a,
.contacts-page .ct-phone a:visited,
.contacts-page .ct-phone a:hover { color: #111; text-decoration: none; }
.contacts-page .ct-email {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
}
.contacts-page .ct-email a,
.contacts-page .ct-email a:visited,
.contacts-page .ct-email a:hover { color: #111; text-decoration: none; }
.contacts-page .ct-addr-row {
  margin-top: 20px;
  margin-bottom: 25px;
}
.contacts-page .ct-addr {
  font-size: 14px;
  line-height: 1.55;
  color: #465157;
}

/* Cards */
.contacts-page .ct-cards-row { margin-bottom: 20px; }
.contacts-page .ct-card {
  background: #D6E0EE;
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
  position: relative;
}
.contacts-page .ct-card-logo { margin-bottom: 12px; }
.contacts-page .ct-card-logo img { max-height: 60px; width: auto; }
.contacts-page .ct-card-qr {
  display: block;
  position: absolute;
  bottom: 14px;
  right: 16px;
  width: 60px;
  height: 60px;
}
.contacts-page .ct-card-qr img { width: 100%; height: 100%; }
.contacts-page .ct-card p {
  font-size: 13px;
  line-height: 1.6;
  color: #465157;
  flex: 1;
  margin-bottom: 10px;
}
.contacts-page .ct-card-link,
.contacts-page .ct-card-link:visited { color: #738204; font-size: 14px; font-weight: 500; text-decoration: none; }
.contacts-page .ct-card-link:hover { text-decoration: underline; }

/* Marketplaces */
.contacts-page .ct-markets-row { margin-bottom: 20px; }
.contacts-page .ct-market {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
  background: #ECEBF0;
  height: 100px;
}
.contacts-page .ct-market div {
  width: 65%;
  height: 55px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.contacts-page .ct-market-name {
  font-size: 12px;
  color: #9E9E9E;
  margin-top: 8px;
  line-height: 1.3;
}

/* Form */
.contacts-page-form {
  background: #F3F4F0;
  padding-top: 25px;
  padding-bottom: 25px;
}
.contacts-page-form #block-form-2.ptp {
  background: transparent !important;
  padding: 0 !important;
}
.contacts-page-form #block-form-2.ptp h2 {
  font-size: 22px !important;
  font-weight: 500 !important;
  color: #111 !important;
  margin-bottom: 12px !important;
  line-height: 1.2 !important;
  margin-top: 0 !important;
}
.contacts-page-form #block-form-2.ptp .orig_form {
  background-color: #BCCF00 !important;
  border-radius: 20px !important;
  padding: 25px 20px 20px !important;
  margin: 0 !important;
  min-height: auto !important;
  flex-direction: column !important;
}
.contacts-page-form #block-form-2.ptp .orig_form:after { display: none !important; }
.contacts-page-form #block-form-2.ptp .orig_form > div { width: 100% !important; }
.contacts-page-form #block-form-2.ptp .form-control {
  border-radius: 10px 0 10px 0 !important;
  height: 50px !important;
}
.contacts-page-form #block-form-2.ptp .form-group .required:after {
  height: 50px !important;
  line-height: 50px !important;
}
.contacts-page-form #block-form-2.ptp .form-group { margin-bottom: 12px !important; }
.contacts-page-form #block-form-2.ptp button {
  border: 2px solid #111 !important;
  border-radius: 10px 0 10px 0 !important;
  height: 50px !important;
  margin: 5px 0 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  background: transparent !important;
  color: #111 !important;
  font-weight: 500 !important;
  letter-spacing: 1.6px !important;
}
.contacts-page-form #block-form-2.ptp button:after { display: none !important; }
.contacts-page-form #block-form-2.ptp .fkonfid { font-size: 12px; line-height: 14px; }

/* Regions */
#partners-list { padding-top: 25px; padding-bottom: 25px; }
#partners-list #map { height: 250px; }
#partners-list .ct-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
#partners-list .ct-section-head h2 { font-size: 28px; font-weight: 500; color: #111; margin: 0; }
.ct-btn-show { display: none; }
#partners-list .item-city { border-top: 1px solid #E0E0E0; padding-top: 15px; }
#partners-list .item-city h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
#partners-list .partner-info { font-size: 13px; line-height: 1.5; color: #465157; flex: 1; }
#partners-list .partner-info a { color: #465157; }
#partners-list .partner-photo { width: 80px !important; min-width: 80px; margin-left: 15px; }
#partners-list .partner-photo img { border-radius: 12px !important; width: 80px !important; height: 80px !important; }
.btn-more { border-radius: 15px !important; }

/* Partners */
#partners.roznica { padding-top: 25px; padding-bottom: 35px; }
#partners.roznica h2 { font-size: 28px; font-weight: 500; color: #111; margin-bottom: 18px; }
.ct-partner-card { text-align: center; }
.ct-partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
  background: #ECEBF0;
  height: 100px;
  padding: 15px;
}
.ct-partner-logo div {
  width: 75%;
  height: 55px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.ct-partner-text { font-size: 12px; color: #9E9E9E; margin-top: 10px; line-height: 1.45; }

} /* end mobile */


/* ========== DESKTOP (>= 992px) ========== */
@media (min-width: 992px) {

.contacts-page { padding-top: 3rem; padding-bottom: 0; }
.contacts-page .ct-h1 {
  font-size: 2.5rem;
  font-weight: 500;
  color: #111;
  margin-bottom: .6rem;
  line-height: 1.1;
}
.contacts-page .ct-label {
  font-size: .727rem;
  color: #9E9E9E;
  line-height: 1.2;
  margin-bottom: .14rem;
}
.contacts-page .ct-phone { font-size: 1.82rem; font-weight: 500; line-height: 1.15; }
.contacts-page .ct-phone a,
.contacts-page .ct-phone a:visited,
.contacts-page .ct-phone a:hover { color: #111; text-decoration: none; }
.contacts-page .ct-email { font-size: 1.55rem; font-weight: 500; line-height: 1.15; }
.contacts-page .ct-email a,
.contacts-page .ct-email a:visited,
.contacts-page .ct-email a:hover { color: #111; text-decoration: none; }
.contacts-page .ct-addr-row { margin-top: .82rem; margin-bottom: 1.64rem; }
.contacts-page .ct-addr { font-size: .86rem; line-height: 1.55; color: #465157; }

/* Cards */
.contacts-page .ct-cards-row { margin-bottom: 1.82rem; }
.contacts-page .ct-card {
  background: #D6E0EE;
  border-radius: .91rem;
  padding: 1.36rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 14.55rem;
  position: relative;
}
.contacts-page .ct-card-logo { margin-bottom: 1.5rem; }
.contacts-page .ct-card-logo img { max-height: 3.64rem; width: auto; }
.contacts-page .ct-card-qr {
  display: block;
  position: absolute;
  bottom: .82rem;
  right: .91rem;
  width: 3.27rem;
  height: 3.27rem;
}
.contacts-page .ct-card-qr img { width: 100%; height: 100%; }
.contacts-page .ct-card p {
  font-size: .73rem;
  line-height: 1.55;
  color: #465157;
  flex: 1;
  margin-bottom: .55rem;
}
.contacts-page .ct-card-link,
.contacts-page .ct-card-link:visited { color: #9DA615; font-size: .73rem; font-weight: 500; text-decoration: none; }
.contacts-page .ct-card-link:hover { text-decoration: underline; }

/* Marketplaces */
.contacts-page .ct-markets-row { margin-bottom: 1.818rem; }
.contacts-page .ct-market {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .91rem;
  overflow: hidden;
  background: #ECEBF0;
  height: 6.36rem;
}
.contacts-page .ct-market div {
  width: 75%;
  height: 5rem;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.contacts-page .ct-market-name {
  font-size: .636rem;
  color: #515151;
  margin-top: .45rem;
  line-height: 1.3;
}

/* Form */
.contacts-page-form {
  background: #F3F4F0;
  padding-top: 1.82rem;
  padding-bottom: 1.82rem;
}
.contacts-page-form #block-form-2.ptp {
  background: transparent !important;
  padding: 0 !important;
}
.contacts-page-form #block-form-2.ptp h2 {
  font-size: 2.27rem !important;
  font-weight: 500 !important;
  color: #111 !important;
  margin-bottom: .82rem !important;
  line-height: 1.1 !important;
  margin-top: 0 !important;
}
.contacts-page-form #block-form-2.ptp .orig_form {
  background-color: #BCCF00 !important;
  border-radius: .91rem !important;
  padding: 1.82rem 2rem 1.36rem !important;
  margin: 0 !important;
  min-height: auto !important;
}
.contacts-page-form #block-form-2.ptp .orig_form:after { display: none !important; }
.contacts-page-form #block-form-2.ptp .orig_form > div { width: 100% !important; }
.contacts-page-form #block-form-2.ptp .form-control {
  border-radius: .7rem 0 .7rem 0 !important;
  height: 3.09rem !important;
}
.contacts-page-form #block-form-2.ptp .form-group .required:after {
  height: 3.09rem !important;
  line-height: 3.09rem !important;
}
.contacts-page-form #block-form-2.ptp button {
  border: 2px solid #111 !important;
  border-radius: .7rem 0 .7rem 0 !important;
  height: 3.09rem !important;
  width: 14rem !important;
  max-width: 14rem !important;
  margin-bottom: 0 !important;
  font-size: .72rem !important;
  align-self: flex-end !important;
  background: transparent !important;
  color: #111 !important;
  font-weight: 500 !important;
  letter-spacing: .07rem !important;
}
.contacts-page-form #block-form-2.ptp button:after { display: none !important; }
.contacts-page-form #block-form-2.ptp .fkonfid { font-size: .545rem; }

/* Regions */
#partners-list { padding-top: 2.27rem; padding-bottom: 2.27rem; }
#partners-list #map { height: 20rem; }
#partners-list .ct-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.14rem;
}
#partners-list .ct-section-head h2 { font-size: 2.27rem; font-weight: 500; color: #111; margin: 0; }
.ct-btn-show {
  display: inline-block;
  font-size: .68rem;
  color: #9DA615;
  text-decoration: none;
  font-weight: 500;
  border: .09rem solid #9DA615;
  border-radius: .86rem;
  padding: .36rem 1rem;
  transition: background .2s, color .2s;
}
.ct-btn-show:hover { background: #9DA615; color: #fff; text-decoration: none; }
#partners-list .item-city { border-top: 1px solid #E0E0E0; padding-top: .68rem; }
#partners-list .item-city h4 { font-size: .91rem; font-weight: 600; margin-bottom: .27rem; }
#partners-list .partner-info { font-size: .68rem; line-height: 1.55; color: #465157; flex: 1; }
#partners-list .partner-info a { color: #465157; }
#partners-list .partner-photo { width: 3.86rem !important; min-width: 3.86rem; margin-left: .91rem; }
#partners-list .partner-photo img { border-radius: .55rem !important; width: 3.86rem !important; height: 3.86rem !important; }
.btn-more { border-radius: .45rem !important; }

/* Partners */
#partners.roznica { padding-top: 2.27rem; padding-bottom: 2.73rem; }
#partners.roznica h2 { font-size: 2.05rem; font-weight: 500; color: #111; margin-bottom: 1.14rem; }
.ct-partner-card { text-align: left; }
.ct-partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .91rem;
  overflow: hidden;
  background: #ECEBF0;
  height: 6.36rem;
  padding: .91rem;
}
.ct-partner-logo div {
  width: 75%;
  height: 4rem;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.ct-partner-text { font-size: .68rem; color: #515151; margin-top: .55rem; line-height: 1.5; }

} /* end desktop */
