.contacts-page { color: #545e68; }
.contacts-page a { text-decoration: none; }
.contacts-page h1, .contacts-page h2, .contacts-page p { margin: 0; }
.contacts-page h1 { font: 700 36px/1.25 "Open Sans", sans-serif; }
.contacts-page h2 { font: 700 24px/1.25 "Open Sans", sans-serif; }
.contacts-overview { height: 414px; padding-top: 59px; background: #fff; }
.contacts-overview__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 37px; }
.contacts-card { min-width: 0; min-height: 210px; background: #fff; box-shadow: 0 3px 9px #24313c1b; transition: transform .2s, box-shadow .2s; }
.contacts-card:hover { transform: translateY(-3px); box-shadow: 0 7px 18px #24313c29; }
.contacts-card h2 { display: flex; align-items: center; min-height: 55px; padding: 0 24px; background: #f6f6f8; font-size: 18px; }
.contacts-card__body { padding: 17px 24px 14px; }
.contacts-card__body > p:not(:first-child) { margin-top: 13px; }
.contacts-card__body > p { font-size: 14px; line-height: 1.3; font-weight: 600; }
.contacts-card__body > a { display: inline-block; margin-top: 5px; color: #63a900; font-size: 17px; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
.contacts-card a:hover, .contacts-card a:focus-visible { color: #427900; text-decoration: underline; }
.contacts-hours .contacts-card__body { padding-top: 17px; }
.contacts-hours .contacts-card__body > p { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 11px; font-weight: 400; }
.contacts-hours strong { color: #63a900; font-weight: 700; white-space: nowrap; }
.contacts-hours b { font-weight: 700; }
.contacts-hours small { display: block; margin-top: 7px; color: #72777b; font-size: 12px; line-height: 1.35; }

.contacts-message { height: 544px; padding-top: 62px; background: #f4f4f6; }
.contacts-message__layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.contacts-message__form-block > p { margin-top: 11px; font-size: 14px; line-height: 1.4; }
.contacts-form { margin-top: 14px; }
.contacts-form label { display: block; margin: 0; }
.contacts-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contacts-form input:not([type="checkbox"]), .contacts-form textarea { display: block; width: 100%; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid transparent; border-radius: 6px; background: #fff; color: #545e68; font: 400 14px/1.4 "Open Sans", sans-serif; transition: border-color .2s, box-shadow .2s; }
.contacts-form > label:not(.contacts-form__consent) { margin-top: 16px; }
.contacts-form textarea { height: 110px; padding-top: 14px; resize: vertical; }
.contacts-form input::placeholder, .contacts-form textarea::placeholder { color: #a3a8af; }
.contacts-form input:not([type="checkbox"]):hover, .contacts-form textarea:hover, .contacts-form input:not([type="checkbox"]):focus, .contacts-form textarea:focus { border-color: #71be00; outline: none; box-shadow: 0 0 0 2px #71be0026; }
.contacts-form__consent { display: flex !important; align-items: center; gap: 8px; margin-top: 15px !important; color: #767c83; font-size: 12px; cursor: pointer; }
.contacts-form__consent input { width: 15px; height: 15px; flex: 0 0 15px; margin: 0; accent-color: #71be00; }
.contacts-form__consent a { color: inherit; }
.contacts-form__consent a:hover, .contacts-form__consent a:focus-visible { color: #5a9a00; text-decoration: underline; }
.contacts-form > button { width: 100%; height: 50px; margin-top: 15px; border: 0; border-radius: 4px; background: #71be00; color: #fff; font: 700 15px/1 "Open Sans", sans-serif; cursor: pointer; transition: background .2s, box-shadow .2s; }
.contacts-form > button:hover, .contacts-form > button:focus-visible { background: #5ca000; box-shadow: 0 5px 12px #578b3d55; }
.contacts-form > button:disabled { opacity: .7; cursor: wait; }
.contacts-form__status { min-height: 20px; margin-top: 5px !important; font-size: 13px !important; }
.contacts-form__status.is-error { color: #a33030; }
.contacts-success-dialog { width: min(460px, calc(100% - 32px)); max-width: none; padding: 0; border: 0; border-radius: 6px; background: #fff; color: #545e68; box-shadow: 0 20px 60px #1b252d55; }
.contacts-success-dialog::backdrop { background: #1b252d99; }
.contacts-success-dialog__content { position: relative; padding: 40px 36px 34px; text-align: center; }
.contacts-success-dialog__close { position: absolute; top: 9px; right: 14px; padding: 0 5px; border: 0; background: transparent; color: #7a8289; font: 400 30px/1 "Open Sans", sans-serif; cursor: pointer; }
.contacts-success-dialog__close:hover, .contacts-success-dialog__close:focus-visible { color: #353e48; }
.contacts-success-dialog__mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: #71be00; color: #fff; font: 700 38px/1 "Open Sans", sans-serif; }
.contacts-success-dialog h2 { margin: 0; font-size: 24px; line-height: 1.25; }
.contacts-success-dialog p { margin: 12px 0 0; font-size: 14px; line-height: 1.4; }
.contacts-success-dialog__action { min-width: 180px; min-height: 44px; margin-top: 25px; padding: 8px 20px; border: 0; border-radius: 4px; background: #71be00; color: #fff; font: 700 14px/1 "Open Sans", sans-serif; cursor: pointer; transition: background .2s, box-shadow .2s; }
.contacts-success-dialog__action:hover, .contacts-success-dialog__action:focus-visible { background: #5ca000; box-shadow: 0 5px 12px #578b3d55; }
.contacts-success-dialog :focus-visible { outline: 2px solid #5ca000; outline-offset: 2px; }
.contacts-message__aside { padding-top: 3px; }
.contacts-panel { border-radius: 5px; background: #fff; }
.contacts-suggestions { min-height: 220px; padding: 15px 24px 12px; }
.contacts-suggestions h2 { font-size: 24px; }
.contacts-suggestions > div { padding: 4px 0 6px; border-bottom: 1px solid #eceff1; }
.contacts-suggestions > div:last-child { border-bottom: 0; }
.contacts-suggestions span { display: block; color: #757b82; font-size: 12px; line-height: 1.3; }
.contacts-suggestions a { color: #545e68; font-size: 14px; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
.contacts-suggestions a:hover, .contacts-suggestions a:focus-visible { color: #5a9a00; text-decoration: underline; }
.contacts-details { margin-top: 20px; padding: 20px 24px; }
.contacts-details h2 { margin-bottom: 10px; text-transform: uppercase; font-size: 11px; }
.contacts-details strong { display: block; margin-bottom: 8px; font-size: 15px; line-height: 1.3; }
.contacts-details p { margin-top: 8px; font-size: 13px; line-height: 1.35; }

.contacts-location { min-height: 566px; padding: 42px 0 50px; border-top: 1px solid #fff; background: #f4f4f6; }
.contacts-location > .about-container > h2 { margin-bottom: 18px; }
.contacts-location__grid { display: grid; grid-template-columns: minmax(0, 880px) minmax(0, 1fr); gap: 25px; }
.contacts-location__map { height: 425px; background: #e8eff2 url('/catalog/view/theme/oct_ultrastore/image/contact/map-poster.png') center/cover no-repeat; }
.contacts-location__map iframe { display: block; width: 100% !important; height: 100% !important; border: 0; }
.contacts-location__aside { min-width: 0; }
.contacts-address { min-height: 120px; padding: 16px 20px 12px; background: #fff; }
.contacts-address > a { color: #545e68; font-size: 14px; line-height: 1.35; font-weight: 700; }
.contacts-address > a:hover, .contacts-address > a:focus-visible { color: #5a9a00; text-decoration: underline; }
.contacts-address p { margin-top: 10px; padding: 10px 12px; border-radius: 4px; background: #e9f7e7; font-size: 13px; line-height: 1.35; }
.contacts-directions { position: relative; display: block; width: 100%; height: 282px; margin-top: 20px; padding: 0; overflow: hidden; border: 0; background: #dce5ed; cursor: pointer; }
.contacts-directions img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s, filter .25s; }
.contacts-directions:hover img, .contacts-directions:focus-visible img { transform: scale(1.025); filter: brightness(.88); }
.contacts-directions:focus-visible { outline: 3px solid #71be00; outline-offset: 3px; }
.contacts-directions span { position: absolute; left: 14px; bottom: 14px; padding: 6px 10px; background: #353e48dd; color: #fff; font-size: 13px; opacity: 0; transition: opacity .2s; }
.contacts-directions:hover span, .contacts-directions:focus-visible span { opacity: 1; }

@media (min-width: 701px) and (max-width: 1100px) {
  .contacts-overview { height: auto; padding: 24px 0 28px; }
  .contacts-overview__grid { gap: 25px; margin-top: 24px; }
  .contacts-card { min-height: 240px; }
  .contacts-card h2 { min-height: 76px; padding-inline: 22px; font-size: 17px; }
  .contacts-card__body { padding: 18px 22px; }
  .contacts-card__body > a { font-size: 16px; }
  .contacts-hours .contacts-card__body { padding: 18px 18px; }
  .contacts-hours .contacts-card__body > p { font-size: 13px; }
  .contacts-hours small { font-size: 12px; }
  .contacts-message { height: auto; padding: 28px 0; }
  .contacts-message__layout { gap: 40px; }
  .contacts-message h2 { font-size: 24px; }
  .contacts-message__form-block > p { font-size: 14px; }
  .contacts-form__row { gap: 10px; }
  .contacts-form input:not([type="checkbox"]) { height: 48px; }
  .contacts-form textarea { height: 110px; }
  .contacts-suggestions { min-height: 0; padding-inline: 24px; }
  .contacts-suggestions h2 { line-height: 1.1; }
  .contacts-details { margin-top: 20px; padding-inline: 24px; }
  .contacts-location { height: auto; padding: 28px 0 30px; }
  .contacts-location__grid { display: block; }
  .contacts-location__map { height: 340px; }
  .contacts-location__aside { margin-top: 25px; }
  .contacts-address { min-height: 106px; }
  .contacts-directions { height: 414px; margin-top: 20px; }
}

@media (max-width: 700px) {
  .contacts-page h1 { font-size: 28px; }
  .contacts-page h2 { font-size: 22px; }
  .contacts-overview { height: auto; padding: 20px 0 28px; }
  .contacts-overview__grid { display: block; margin-top: 22px; }
  .contacts-card { min-height: 184px; margin-bottom: 26px; }
  .contacts-card:last-child { margin-bottom: 0; }
  .contacts-card h2 { min-height: 57px; padding-inline: 20px; font-size: 17px; }
  .contacts-card__body { padding: 13px 20px; }
  .contacts-card__body > p { font-size: 13px; }
  .contacts-card__body > p:not(:first-child) { margin-top: 10px; }
  .contacts-card__body > a { font-size: 16px; }
  .contacts-hours .contacts-card__body { padding: 15px 20px; }
  .contacts-hours .contacts-card__body > p { margin-bottom: 10px; font-size: 13px; }
  .contacts-hours small { font-size: 11px; }
  .contacts-message { height: auto; padding: 28px 0; }
  .contacts-message__layout { display: block; }
  .contacts-message h2 { font-size: 22px; }
  .contacts-message__form-block > p { margin-top: 8px; font-size: 13px; }
  .contacts-form { margin-top: 16px; }
  .contacts-form__row { gap: 12px; }
  .contacts-form input:not([type="checkbox"]) { height: 46px; padding-inline: 13px; font-size: 12px; }
  .contacts-form > label:not(.contacts-form__consent) { margin-top: 13px; }
  .contacts-form textarea { height: 110px; padding: 12px 13px; font-size: 12px; }
  .contacts-form__consent { margin-top: 12px !important; font-size: 10px; }
  .contacts-form__consent input { width: 13px; height: 13px; flex-basis: 13px; }
  .contacts-form > button { height: 46px; margin-top: 12px; font-size: 13px; }
  .contacts-message__aside { margin-top: 22px; }
  .contacts-suggestions { min-height: 0; padding: 16px 18px; }
  .contacts-suggestions h2 { font-size: 21px; line-height: 1.15; }
  .contacts-suggestions > div { padding: 7px 0; }
  .contacts-suggestions span { font-size: 11px; }
  .contacts-suggestions a { font-size: 12px; }
  .contacts-details { margin-top: 18px; padding: 16px 18px; }
  .contacts-details h2 { font-size: 10px; }
  .contacts-details strong { font-size: 12px; }
  .contacts-details p { font-size: 11px; }
  .contacts-location { height: auto; padding: 26px 0 28px; }
  .contacts-location > .about-container > h2 { margin-bottom: 16px; }
  .contacts-location__grid { display: block; }
  .contacts-location__map { height: 164px; }
  .contacts-location__aside { margin-top: 19px; }
  .contacts-address { min-height: 124px; padding: 13px 17px; }
  .contacts-address > a { font-size: 12px; }
  .contacts-address p { margin-top: 9px; padding: 9px; font-size: 11px; }
  .contacts-directions { height: 180px; margin-top: 18px; }
  .contacts-success-dialog__content { padding: 35px 22px 28px; }
  .contacts-success-dialog h2 { font-size: 21px; }
}

/* M14: native brand shapes, independent links for sales and procurement. */
.contacts-messengers { display:flex; align-items:center; gap:10px; margin-top:12px; }
.contacts-messengers .contacts-messenger { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; flex:0 0 44px; margin:0; border:1px solid #e5e8eb; border-radius:4px; background:#fff; color:var(--messenger-brand); transition:background-color .18s,box-shadow .18s,transform .18s; }
.contacts-messengers .contacts-messenger--max { --messenger-brand:#471aff; --messenger-mask:url('/image/catalog/figma-footer/max.svg'); }
.contacts-messengers .contacts-messenger--telegram { --messenger-brand:#229ed9; --messenger-mask:url('/image/catalog/figma-footer/telegram.svg'); }
.contacts-messenger__icon { display:block; width:24px; height:24px; background-color:var(--messenger-brand); -webkit-mask:var(--messenger-mask) center/contain no-repeat; mask:var(--messenger-mask) center/contain no-repeat; }
.contacts-messengers .contacts-messenger:hover { background:#f6f7f9; color:var(--messenger-brand); box-shadow:0 3px 8px #24313c18; text-decoration:none; }
.contacts-messengers .contacts-messenger:active { transform:translateY(1px); box-shadow:none; }
.contacts-messengers .contacts-messenger:focus-visible { color:var(--messenger-brand); outline:2px solid var(--messenger-brand); outline-offset:3px; text-decoration:none; }
