/* V36 — accessible contact controls, also available in the catalog menu. */
.contact-widget {
  position: fixed;
  right: 24px;
  bottom: var(--comparison-offset, 24px);
  z-index: 110;
}
.has-contact-widget .compare-launcher {
  right: 90px;
}
.contact-toggle {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 3px 15px #172d2f26;
}
.contact-toggle:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.contact-toggle .icon {
  width: 25px;
  height: 25px;
}
.contact-toggle .contact-close-icon {
  display: none;
}
.contact-toggle[aria-expanded="true"] {
  background: #242727;
  border-color: #242727;
}
.contact-toggle[aria-expanded="true"] .contact-chat-icon {
  display: none;
}
.contact-toggle[aria-expanded="true"] .contact-close-icon {
  display: block;
}
.contact-options {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(252px, calc(100vw - 32px));
  max-height: calc(100dvh - var(--comparison-offset, 24px) - 80px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 9px;
  border: 1px solid #d5dfdf;
  border-radius: 8px;
  background: #fff;
  color: var(--text-primary);
  box-shadow: 0 8px 28px #172d2f26;
}
.contact-options > p {
  margin: 4px 8px 7px;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.contact-choice {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 55px;
  padding: 8px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: #242727;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.contact-choice + .contact-choice {
  border-top: 1px solid #edf0f0;
}
.contact-choice:hover {
  background: var(--accent-soft);
  color: var(--accent-hover);
  text-decoration: none;
}
.contact-channel-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
}
.contact-channel-icon img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.contact-choice--telegram .contact-channel-icon {
  background: #269fcd;
}
.contact-choice--telegram img {
  width: 26px;
  height: 26px;
}
.contact-choice--viber .contact-channel-icon {
  background: #7851a9;
}
.contact-choice--whatsapp .contact-channel-icon {
  background: #168b49;
}
.contact-choice > .icon {
  width: 16px;
  height: 16px;
  color: #7b8989;
}
.contact-toggle:focus-visible,
.contact-choice:focus-visible,
.callback-dialog button:focus-visible,
.callback-dialog a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.contact-widget[hidden],
.contact-options[hidden],
.callback-dialog [hidden] {
  display: none !important;
}
.cart-open .contact-widget,
.collection-is-open .contact-widget,
.callback-is-open .contact-widget,
.callback-is-open .compare-launcher,
.callback-is-open .mobile-buybar,
.contact-options-open .compare-launcher {
  visibility: hidden;
}
.callback-is-open {
  overflow: hidden;
}
.callback-dialog {
  width: min(460px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid #d5dfdf;
  border-radius: 6px;
  background: #fff;
  color: var(--text-primary);
  box-shadow: 0 12px 50px #172d2f26;
  overflow: auto;
  overscroll-behavior: contain;
}
.callback-dialog::backdrop {
  background: #17232380;
}
.callback-dialog-content {
  padding: 30px;
}
.callback-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}
.callback-heading .section-kicker {
  margin-bottom: 9px;
}
.callback-heading h2 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.035em;
  margin: 0;
}
.callback-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
  color: #242727;
}
.callback-close:hover {
  background: #f4f7f7;
}
.callback-close .icon {
  width: 20px;
  height: 20px;
}
.callback-description {
  margin: 20px 0 23px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
}
.callback-form .field {
  margin-bottom: 17px;
}
.callback-form .field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
}
.callback-form .field input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  font-size: 16px;
  border: 1px solid #bdc9c9;
  border-radius: 3px;
  background: #fff;
}
.callback-form .field input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.callback-form .button,
.callback-success .button {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  font-size: 14px;
}
.callback-form .button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.callback-direct-call {
  display: block;
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.callback-direct-call a {
  color: var(--accent-hover);
  font-weight: 700;
  white-space: nowrap;
}
.callback-status {
  font-size: 13px;
  line-height: 1.7;
  margin: 15px 0 0;
  padding: 11px 13px;
  border-left: 2px solid #a33124;
  background: #fff5f2;
  color: #8b2f24;
}
.callback-status.is-preview {
  color: var(--accent-hover);
  background: var(--accent-soft);
  border-color: var(--accent);
}
.callback-success {
  padding-top: 5px;
}
.callback-success-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-soft);
}
.callback-success-mark .icon {
  width: 25px;
  height: 25px;
}
.callback-success p {
  margin: 16px 0 22px;
  font-size: 14px;
  line-height: 1.8;
}
@media (max-width: 680px) {
  .contact-widget {
    right: 14px;
  }
  .contact-toggle {
    width: 48px;
    height: 48px;
  }
  .has-contact-widget .compare-launcher {
    right: 76px;
  }
  .callback-dialog-content {
    padding: 24px 21px;
  }
  .callback-heading h2 {
    font-size: 26px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .contact-options:not([hidden]) {
    animation: contact-appear 0.16s ease-out;
  }
  @keyframes contact-appear {
    from {
      opacity: 0;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
