/* popup start */

.contact-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ba9e89;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10001;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.contact-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,.28);
  background: #4c361e;
}

.contact-fab-icon {
  width: 28px;
  height: 28px;
  display: block;
}

.contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.62);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.contact-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  transform: translate(-50%, -50%) scale(.98);
  opacity: 0;
  pointer-events: none;
  z-index: 10002;
  transition: opacity .22s ease, transform .22s ease;
}

.contact-modal-box {
  position: relative;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  padding: 22px;
}

.contact-modal-scroll {
  max-height: calc(100vh - 76px);
  overflow: auto;
  padding-right: 6px;
}

.contact-toggle:checked ~ .contact-overlay {
  opacity: 1;
  pointer-events: auto;
}

.contact-toggle:checked ~ .contact-modal {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.contact-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  font-size: 18px;
  color: #434041;
  border: 0;
  transition: background .18s ease, color .18s ease;
}

.contact-close:hover {
  background: #ececec;
  color: #4c361e;
}

.contact-title {
  font-size: 28px;
  line-height: 1.15;
  text-align: center;
  font-weight: 600;
  color: #434041;
  margin: 2px 0 10px;
}

.contact-subtitle {
  text-align: center;
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 18px;
  color: #565656;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: stretch;
}

.contact-form-grid {
  background: rgba(255,255,255,.72);
  padding: 10px 0 0;
}

.contact-form label {
  display: block;
  margin: 0 0 8px;
  font-size: 15px;
  color: #434041;
}

.form-control {
  width: 100%;
  height: 52px;
  border: 1px solid #434041;
  border-radius: 0;
  padding: 0 16px;
  font-size: 15px;
  color: #434041;
  background: #fff;
  outline: none;
  margin: 0 0 14px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.form-control::placeholder {
  color: #8a8a8a;
}

.form-control:focus {
  border-color: #ba9e89;
  box-shadow: 0 0 0 2px rgba(186,158,137,.14);
}

.confirm-list {
  margin-top: 6px;
  position: relative;
}

.confirm-list input[type="checkbox"] {
  margin: 0 8px 0 0;
  transform: translateY(1px);
  accent-color: #ba9e89;
}

.confirm-list label {
  display: inline;
  font-size: 14px;
  line-height: 1.5;
  color: #434041;
  cursor: pointer;
}

.confirm-list a {
  color: #4c361e;
  text-decoration: underline;
}

.submit-btn {
  width: 100%;
  border: 0;
  margin-top: 16px;
  background: #ba9e89;
  color: #f2f2f2;
  padding: 1em 1.8em;
  font-size: 15px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.submit-btn:hover {
  background: #4c361e;
  transform: translateY(-1px);
}

.submit-btn-popup:hover {
  background-color: #ba9e89 !important;
}

.contact-actions-vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.contact-actions-vertical .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  background: #4c361e;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: background .18s ease, transform .18s ease;
}

.contact-actions-vertical .btn:hover {
  background: #ba9e89;
  transform: translateY(-1px);
}

.contact-mail {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #565656;
}

.contact-mail a {
  color: #4c361e;
  text-decoration: underline;
}

.contact-side-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  opacity: .92;
}

@media (max-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-side {
    display: none;
  }

  .contact-title {
    font-size: 24px;
  }

  .contact-modal-box {
    padding: 18px;
  }
}

/* a {
  color: inherit;
} */

/* popup end */


/* cookie fix start */

.cookie-notice .cookie_link {
  color: #4c361e; 
}

.cookie-notice .cookie_link:hover {
  color: #fff;
}

.cookie-notice {
  width: 44%;
}

/* cookie fix end */


/* h1 fix */
@media only screen and (min-width: 480px) {
  body h1 {
    padding: 50px 0 16px 0;
    margin: 0;
  }
}

/* map fix */
iframe {
  height: inherit;
}


/* footer start */

footer#footer {
  height: auto;
}

#footer ul.social-media li:nth-child(2n) {
  margin: 0;
}


#footer.site-footer {
  padding: 28px 0 22px;
}

#footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr 2.5fr 1fr;
  gap: 24px;
  align-items: start;
}

#footer .footer-col {
  min-width: 0;
}

#footer .footer-col-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#footer .footer-dealer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 12px 18px;
  text-decoration: none;
}

#footer .footer-copy {
  margin: 0;
  line-height: 1.5;
}

#footer .footer-contacts {
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer .footer-contacts li {
  float: none;
  margin: 0 0 12px;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  cursor: default;
  text-align: center;
}

#footer .footer-col-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#footer .footer-col-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

#footer .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: flex-end;
}

#footer .footer-social li {
  float: none;
  margin: 0;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  cursor: default;
}

#footer .footer-social a,
#footer .footer-marketplaces a,
#footer .footer-agency a {
  display: inline-flex;
  align-items: center;
}

#footer .footer-marketplaces {
  display: flex;
  gap: 1px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#footer .footer-agency {
  margin: 0;
  text-align: right;
}

@media (max-width: 768px) {
  #footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #footer .footer-col-right,
  #footer .footer-col-left {
    align-items: center;
  }

  #footer .footer-social,
  #footer .footer-marketplaces,
  #footer .footer-agency {
    justify-content: flex-start;
    text-align: left;
  }

  .footer-col-right .footer-marketplaces a img[alt="Wildberries"] {    
    width: 80px;    
    padding: 0 22px 5px 0;    
    height: 36px;   
  }
}

@media (max-width: 480px) {
  #footer.site-footer,
  #footer .footer-copy {
    font-size: 14px;
  }
}

/* footer end */
