/* Формата „Поръчка на видео“ - последен слайд в галерия на комплекс и на обява. */
.cx-gallery__offer { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; padding: 20px 76px; overflow-y: auto; background: #dbe7f3; }
.cx-gallery__offer[hidden] { display: none; }
.cx-gallery__offer::before { content: ''; position: absolute; inset: 0; background: var(--cx-offer-bg, none) center / cover; filter: blur(18px); opacity: .55; }
.cx-offer { white-space: normal; position: relative; width: 100%; max-width: 560px; margin: auto; text-align: center; color: #14283c; }
.cx-offer h2 { margin: 0 0 8px; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.9rem); font-weight: 800; text-transform: uppercase; color: #14283c; }
.cx-offer > p { margin: 0 0 14px; font-size: 1rem; }
.cx-offer input[type=text], .cx-offer input[type=email], .cx-offer input[type=tel] { display: block; width: 100%; height: 44px; margin-bottom: 8px; padding: 0 14px; border: 1px solid #b9c6d3; border-radius: 9px; background: #fff; color: #14283c; font: inherit; }
.cx-offer input:focus { border-color: #14283c; outline: 2px solid #14283c; outline-offset: 1px; }
.cx-offer button[type=submit] { width: 100%; height: 46px; margin-top: 2px; border: 0; border-radius: 9px; background: var(--bp-accent, #e8622c); color: #fff; font-weight: 700; cursor: pointer; transition: filter .15s; }
.cx-offer button[type=submit]:hover { filter: brightness(1.1); }
.cx-offer button[type=submit]:disabled { opacity: .6; cursor: wait; }
.cx-offer .cx-offer__msg { margin: 10px 0 0; font-weight: 600; }
.cx-offer .cx-offer__msg.is-error { color: #b42318; }
.cx-offer .cx-offer__tel { margin: 12px 0 0; font-size: .95rem; }
@media (max-width: 600px) {  .cx-gallery__offer { padding: 16px 14px; } }
.lg-item .cx-gallery__offer { z-index: 5; padding: 56px 76px 20px; }
.cx-lg-offer .lg-zoom-in, .cx-lg-offer .lg-zoom-out, .cx-lg-offer .lg-actual-size { display: none; }
@media (max-width: 600px) { .lg-item .cx-gallery__offer { padding: 56px 14px 16px; align-items: flex-start; } }
.cx-offer__tel a { color: #14283c; font-weight: 700; white-space: nowrap; }
.cx-offer__close { position: absolute; z-index: 2; top: 10px; right: 10px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: #14283c; color: #fff; cursor: pointer; }
.cx-offer__close[hidden] { display: none; }
