/* Metric-adjusted stand-in for Montserrat while its font files load: the text takes the same width as with the real
   font (size-adjust measured against Montserrat), so the swap does not re-wrap paragraphs (no layout shift). */
@font-face { font-family: "Montserrat Fallback"; font-weight: 400; src: local("Arial"), local("Liberation Sans"), local("Helvetica"); size-adjust: 112.7%; ascent-override: 86.1%; descent-override: 22.2%; line-gap-override: 0%; }
@font-face { font-family: "Montserrat Fallback"; font-weight: 500; src: local("Arial"), local("Liberation Sans"), local("Helvetica"); size-adjust: 114.3%; ascent-override: 84.9%; descent-override: 21.9%; line-gap-override: 0%; }
@font-face { font-family: "Montserrat Fallback"; font-weight: 700; src: local("Arial Bold"), local("Liberation Sans Bold"), local("Helvetica Bold"), local("Arial"); size-adjust: 110.6%; ascent-override: 87.7%; descent-override: 22.6%; line-gap-override: 0%; }
/* Additions of the new engine on top of the legacy design (accessibility, empty states, new optional blocks).
   Everything here is invisible in the default state of the reference screenshots. */

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10001; background: #fff; color: #222; padding: 8px 14px; border: 2px solid #e0114f; border-radius: 4px; font: 14px/1.4 Montserrat, Arial, sans-serif; }
.skip-link:focus { left: 12px; top: 12px; }

/* Visible keyboard focus (the legacy CSS removed outlines on several controls) */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid #e0114f !important;
    outline-offset: 2px;
}
.site-header a:focus-visible, .site-header button:focus-visible, .site-header summary:focus-visible { outline-color: #fff !important; }

/* Product card: missing photo placeholder (no invented product images) */
.card__slider--empty { display: flex; align-items: center; justify-content: center; min-height: 320px; background: #f4f4f4; border-radius: 4px; }
.card__no-photo { color: #6b6b6b; font-size: 14px; text-align: center; padding: 24px; }

/* Optional 360° view (only when the full frame set exists) */
.card__360-open { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 6px 12px; border: 1px solid #c9c9c9; border-radius: 16px; background: #fff; color: #333; font: 500 13px/1.3 Montserrat, Arial, sans-serif; cursor: pointer; }
.card__360-open:hover { border-color: #e0114f; color: #e0114f; }
.viewer-360 { position: relative; max-width: 640px; margin: 0 auto; cursor: grab; touch-action: pan-y; user-select: none; }
.viewer-360 img { display: block; width: 100%; height: auto; }
.viewer-360__hint { margin-top: 8px; text-align: center; font-size: 13px; color: #666; }

/* Documents (captions translated, files in the original language) */
.card__documents { list-style: none; padding: 0; margin: 0; }
.card__documents li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.card__documents a { color: #e0114f; text-decoration: underline; }
.card__document-lang, .card__document-missing { font-size: 12px; color: #6b6b6b; }

/* Empty/notice states */
.site-notice { padding: 24px 0; color: #555; font-size: 15px; line-height: 1.5; }
.site-notice a { color: #e0114f; text-decoration: underline; }

/* Long words of translated interfaces must not overflow narrow screens */
.locale-kk .spollers__title, .locale-fr .spollers__title, .locale-es .spollers__title, .locale-uz-Latn .spollers__title,
.locale-kk .card__title, .locale-fr .card__title, .locale-es .card__title, .locale-uz-Latn .card__title { overflow-wrap: anywhere; hyphens: auto; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.product__slide--empty { display: flex; align-items: center; justify-content: center; min-height: 240px; background: #f4f4f4; color: #6b6b6b; font-size: 13px; }

/* Map placeholder (until consent / when the map provider is unavailable): same box as the map, list stays usable */
.map-placeholder { position: relative; width: 100%; height: 100%; min-height: 300px; overflow: hidden; background: #eef0f2; }
#map > .map-placeholder, #buy-map > .map-placeholder { height: 100%; }
.map-placeholder__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.map-placeholder__panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 420px; width: calc(100% - 32px); padding: 18px 20px; background: rgba(255,255,255,.95); border-radius: 8px; box-shadow: 0 4px 18px rgba(0,0,0,.12); text-align: center; font-size: 14px; line-height: 1.45; color: #333; }
.map-placeholder__button { display: inline-block; margin: 10px 6px 4px; padding: 9px 18px; border: 0; border-radius: 6px; background: #e0114f; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.map-placeholder__button:hover { background: #c10e44; }
.map-placeholder__link { display: inline-block; margin-top: 6px; color: #e0114f; text-decoration: underline; }
.map-unavailable .map-placeholder__button { display: none; }
.cities-modal[hidden] { display: none; }
.cities-modal { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center; }
.cities-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.cities-modal__window { position: relative; width: min(760px, 94vw); max-height: 86vh; overflow: auto; background: #fff; border-radius: 10px; padding: 24px; }
.cities-modal__close { position: absolute; right: 12px; top: 8px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: #555; }
.cities-modal .modal-cities-list { columns: 3 180px; }
.cities-modal .city-elem-wrap { break-inside: avoid; padding: 3px 0; }
.cities-modal .js-city-select { color: #222; }
.cities-modal .headline { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.cities-modal .find-area input { width: 100%; padding: 8px 10px; border: 1px solid #ccc; border-radius: 6px; margin-bottom: 10px; }

/* Sliders start after the page has loaded (site.js): until then only the first photo is rendered, so the other slides'
   photos are not requested while the first one (the largest paint) is loading. Without JavaScript the first photo stays. */
.swiper-new:not(.swiper-initialized) .swiper-slide:not(:first-child),
.product__slider:not(.swiper-initialized) .swiper-slide:not(:first-child) { display: none; }

/* Photos are real <img> elements that load on their own: the Swiper spinner must not show over a finished photo while the
   slider (started after the page has loaded) is not initialized yet. */
.product__slider:not(.swiper-initialized) .swiper-lazy-preloader,
.swiper-new:not(.swiper-initialized) .swiper-lazy-preloader { display: none; }
