.brick-page {
    --brick-red: #a70f29;
    --brick-red-dark: #80091e;
    --brick-ink: #171717;
    --brick-muted: #626466;
    --brick-line: #dddfe0;
    --brick-soft: #f7f7f6;
    color: var(--brick-ink);
    overflow: clip;
}

body:has(.brick-page--embedded) .page-info { display: none; }
.brick-page--embedded { padding-top: 40px; }

.brick-page *, .brick-page *::before, .brick-page *::after { box-sizing: border-box; }
.brick-page h1, .brick-page h2, .brick-page h3, .brick-page p, .brick-page figure, .brick-page ul { margin: 0; }
.brick-page img { max-width: 100%; }
.brick-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.brick-section { padding: 42px 0; }
.brick-section h2 { margin: 8px 0 28px; font-size: clamp(28px, 3vw, 38px); line-height: 1.14; font-weight: 750; }
.brick-section:not(.brick-video) > .brick-shell > .brick-eyebrow { display: block; text-align: center; }
.brick-section:not(.brick-video) > .brick-shell > h2 { text-align: center; }
.brick-eyebrow { display: inline-block; color: var(--brick-red); font-size: 12px; font-weight: 800; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; }
.brick-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.brick-page .brick-button, .brick-page a.brick-button {
    min-height: 54px; min-width: 194px; display: inline-flex; justify-content: center; align-items: center;
    padding: 13px 24px; border: 1px solid var(--brick-red); border-radius: 4px;
    appearance: none; background: var(--brick-red); color: #fff !important;
    font: inherit; font-size: 15px; font-weight: 700; line-height: 1.25; text-align: center;
    text-decoration: none !important; cursor: pointer; box-shadow: none; transform: none !important;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.brick-page .brick-button:hover, .brick-page a.brick-button:hover,
.brick-page .brick-button:focus-visible, .brick-page a.brick-button:focus-visible { background: var(--brick-red-dark); border-color: var(--brick-red-dark); color: #fff !important; }
.brick-page .brick-button--outline, .brick-page a.brick-button--outline { background: #fff; color: var(--brick-red) !important; }
.brick-page .brick-button--outline:hover, .brick-page a.brick-button--outline:hover,
.brick-page .brick-button--outline:focus-visible, .brick-page a.brick-button--outline:focus-visible { color: #fff !important; }
.brick-page :is(a, button, input, select):focus-visible { outline: 3px solid rgba(167,15,41,.35); outline-offset: 3px; }

.brick-hero { min-height: 560px; display: flex; align-items: center; padding: 46px 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.99) 38%, rgba(255,255,255,.86) 48%, rgba(255,255,255,.2) 70%, rgba(255,255,255,0) 100%), url('/local/templates/.default/images/brick/guard-mini/01.jpg') right center / auto 100% no-repeat; }
.brick-hero__copy { max-width: 630px; }
.brick-hero h1 { margin: 16px 0 25px; font-size: clamp(46px, 4.6vw, 60px); line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.brick-hero h1 span { color: var(--brick-red); }
.brick-hero h2 { margin: 0 0 14px; font-size: clamp(21px, 2.2vw, 28px); line-height: 1.2; font-weight: 750; }
.brick-hero p { max-width: 490px; color: #383a3b; font-size: 16px; line-height: 1.6; }
.brick-hero .brick-actions { margin-top: 30px; }

.brick-video__grid { min-height: 380px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 60px; align-items: center; }
.brick-video__grid p { max-width: 390px; color: var(--brick-muted); font-size: 16px; line-height: 1.6; }
.brick-video__player { display: block; width: 100%; min-width: 0; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 8px; background: #111; }

.brick-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.brick-benefit { min-width: 0; overflow: hidden; border: 1px solid var(--brick-line); border-radius: 8px; background: #fff; }
.brick-benefit > img { width: 100%; height: 220px !important; display: block; object-fit: contain; object-position: center; background: #fff; transform: none !important; }
.brick-benefit__body { padding: 22px 24px 27px; }
.brick-benefit__number { display: block; margin-bottom: 12px; color: var(--brick-red); font-size: 13px; font-weight: 800; }
.brick-benefit h3 { margin-bottom: 10px; font-size: 22px; line-height: 1.25; font-weight: 750; }
.brick-benefit p, .brick-benefit li { color: #46494a; font-size: 16px; line-height: 1.55; }
.brick-benefit ul { padding-left: 19px; margin-top: 8px; }
.brick-benefit li { padding-left: 2px; }

.brick-color-grid { width: min(100%, 920px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 auto; }
.brick-color { min-width: 0; overflow: hidden; text-align: center; }
.brick-page .brick-image-button { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 0; appearance: none; background: transparent; color: inherit; box-shadow: none; cursor: zoom-in; transform: none !important; }
.brick-media-preview__zoom { position: absolute; z-index: 2; right: 10px; bottom: 10px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--brick-ink); box-shadow: 0 3px 14px rgba(23,25,26,.2); pointer-events: none; transition: background-color .2s ease, color .2s ease; }
.brick-image-button:hover .brick-media-preview__zoom, .brick-image-button:focus-visible .brick-media-preview__zoom { background: var(--brick-red); color: #fff; }
.brick-media-preview__zoom svg { width: 17px; height: 17px; display: block; }
.brick-page .brick-color .brick-image-button, .brick-page .brick-color__image { width: 100%; aspect-ratio: 26 / 17; display: block; overflow: hidden; background: transparent; }
.brick-page .brick-color-grid--mix .brick-image-button, .brick-page .brick-color-grid--mix .brick-color__image { aspect-ratio: 56 / 17; }
.brick-image-button img { width: 100%; height: 100% !important; display: block; object-fit: cover; opacity: 1 !important; transform: none !important; }
.brick-page .brick-color .brick-image-button img, .brick-page .brick-color__image img { width: 100% !important; height: 100% !important; display: block; object-fit: cover; transform: none !important; }
.brick-page .brick-image-button:hover img, .brick-page .brick-image-button:focus-visible img { opacity: 1 !important; }
.brick-color figcaption { display: grid; place-items: center; min-height: 48px; padding: 9px; font-size: 15px; font-weight: 700; }
.brick-colors__subtitle { margin: 46px 0 20px !important; font-size: 25px; line-height: 1.25; text-align: center; }
.brick-color-grid--mix { width: min(100%, 1080px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.brick-color-grid--mix .brick-color:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc((100% - 20px) / 2); justify-self: center; }

.brick-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.brick-gallery:not(.is-expanded) .brick-gallery__item:nth-child(n+13) { display: none; }
.brick-page .brick-gallery__item { aspect-ratio: 1.28; overflow: hidden; border-radius: 7px; }
.brick-gallery__item img { object-fit: cover; }
.brick-page .brick-gallery__more { min-height: 46px; display: block; margin: 24px auto 0; padding: 10px 22px; border: 1px solid var(--brick-red); border-radius: 4px; background: #fff; color: var(--brick-red); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transform: none !important; }
.brick-page .brick-gallery__more:hover, .brick-page .brick-gallery__more:focus-visible { background: var(--brick-red); color: #fff; }

.brick-calculator { scroll-margin-top: 30px; }
.brick-calculator__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.brick-calculator__visual { padding: 0; }
.brick-calculator__map { position: relative; width: 100%; }
.brick-calculator__visual img { width: 100%; height: auto !important; display: block; background: #fff; }
.brick-calculator__point { position: absolute; width: clamp(17px, 2vw, 22px); height: clamp(17px, 2vw, 22px); display: grid; place-items: center; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: #171717; font-size: clamp(11px, 1.2vw, 14px); line-height: 1; }
.brick-calculator__point--1 { top: 59%; left: 63%; }
.brick-calculator__point--2 { top: 68%; left: 9%; }
.brick-calculator__point--3 { top: 74%; left: 80%; }
.brick-calculator__point--4 { top: 74%; left: 48%; }
.brick-calculator__point--5 { top: 74%; left: 22%; }
.brick-calculator__visual p { margin-top: 14px; color: var(--brick-muted); font-size: 16px; line-height: 1.5; text-align: center; }
.brick-calculator__form { padding: 0; }
.brick-calculator__form h3 { margin: 0 0 17px; font-size: 23px; line-height: 1.25; }
.brick-calculator__form h3:not(:first-child) { margin-top: 30px; }
.brick-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.brick-fields label { min-width: 0; display: grid; align-content: end; gap: 8px; color: #343638; font-size: 16px; font-weight: 700; line-height: 1.35; }
.brick-fields .brick-field__label { color: #343638; }
.brick-fields .brick-field__label em { color: var(--brick-red); font-style: normal; }
.brick-fields input, .brick-fields select { width: 100%; min-width: 0; height: 50px; padding: 11px 14px; border: 1px solid #cfd1d2; border-radius: 4px; background: #fff; color: var(--brick-ink); font: inherit; font-size: 17px; font-weight: 400; }
.brick-fields input::placeholder { color: #9a9c9e; }
.brick-consent { display: flex; gap: 9px; align-items: flex-start; margin: 24px 0; color: #535658; font-size: 14px; line-height: 1.45; cursor: pointer; }
.brick-consent input { flex: none; margin: 2px 0 0; }
.brick-page .brick-consent a, .brick-page .brick-consent a:visited { color: var(--brick-red); text-decoration: underline; }
.brick-form-status { min-height: 20px; margin-top: 14px !important; color: var(--brick-red); font-size: 14px; line-height: 1.4; }
.brick-form-status.is-success { color: #285b3d; }

.brick-dealers__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.brick-dealer { min-width: 0; padding: 24px; border: 1px solid var(--brick-line); border-radius: 7px; background: #fff; overflow-wrap: anywhere; }
.brick-dealer__city { display: inline-block; margin-bottom: 11px; color: var(--brick-red); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.brick-dealer h3 { margin-bottom: 13px; font-size: 20px; line-height: 1.25; }
.brick-dealer p { margin-bottom: 9px; color: var(--brick-muted); font-size: 14px; line-height: 1.45; }
.brick-dealer__links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 10px; }
.brick-page .brick-dealer a, .brick-page .brick-dealer a:visited { color: var(--brick-ink); font-size: 14px; font-weight: 650; line-height: 1.4; text-decoration: none; }
.brick-page .brick-dealer a:hover { color: var(--brick-red); text-decoration: underline; }

.brick-page .brick-lightbox { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 52px 60px 38px; border: 0; border-radius: 0; background: rgba(15,16,17,.97); color: #fff; }
.brick-lightbox::backdrop { background: rgba(15,16,17,.97); }
.brick-page .brick-lightbox[open] { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.brick-lightbox figure { min-width: 0; min-height: 0; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; grid-column: 2; grid-row: 1; }
.brick-lightbox figure img { width: auto; max-width: 100%; height: auto !important; max-height: calc(100% - 44px); object-fit: contain; }
.brick-lightbox figcaption { font-size: 15px; font-weight: 700; text-align: center; }
.brick-page .brick-lightbox button { width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.13); color: #fff; font: inherit; cursor: pointer; transform: none !important; }
.brick-page .brick-lightbox button:hover { background: rgba(255,255,255,.27); }
.brick-lightbox button svg { width: 24px; height: 24px; display: block; }
.brick-lightbox__close { position: absolute; top: 15px; right: 18px; z-index: 2; }
.brick-lightbox__prev { grid-column: 1; grid-row: 1; justify-self: center; }
.brick-lightbox__next { grid-column: 3; grid-row: 1; justify-self: center; }
.brick-lightbox__count { grid-column: 2; grid-row: 2; text-align: center; color: rgba(255,255,255,.7); font-size: 13px; }
html.brick-dialog-open { overflow: hidden; }

@media (min-width: 576px) and (max-width: 767.98px) {
    main.main.container, main.main.container-sm { max-width: 100%; }
}
@media (max-width: 767px) {
    .brick-page--embedded { padding-top: 24px; }
}
@media (max-width: 900px) {
    .brick-benefits, .brick-dealers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brick-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .brick-video__grid { gap: 30px; }
}
@media (max-width: 760px) {
    .brick-hero { min-height: 0; padding: 34px 0 220px; background: linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.98) 55%, rgba(255,255,255,.75) 76%, rgba(255,255,255,.25) 100%), url('/local/templates/.default/images/brick/guard-mini/01.jpg') center bottom / 100% auto no-repeat; }
}
@media (max-width: 640px) {
    .brick-shell { width: min(100% - 32px, 1180px); }
    .brick-section { padding: 38px 0; }
    .brick-hero h1 { margin: 12px 0 20px; }
    .brick-hero .brick-actions { width: 100%; }
    .brick-hero .brick-button { flex: 1 1 190px; }
    .brick-video__grid { grid-template-columns: 1fr; gap: 24px; }
    .brick-benefits, .brick-dealers__grid { grid-template-columns: 1fr; }
    .brick-color-grid, .brick-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .brick-color-grid--mix { grid-template-columns: 1fr; gap: 14px; }
    .brick-color-grid--mix .brick-color:last-child:nth-child(odd) { grid-column: auto; width: 100%; }
    .brick-color figcaption { font-size: 13px; }
    .brick-calculator__visual p { padding: 0 8px; }
    .brick-fields { grid-template-columns: 1fr; }
    .brick-calculator .brick-actions { align-items: stretch; }
    .brick-calculator .brick-button { width: 100%; }
    .brick-page .brick-lightbox { padding: 56px 12px 25px; }
    .brick-page .brick-lightbox[open] { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 6px; }
    .brick-page .brick-lightbox button { width: 34px; height: 34px; }
    .brick-lightbox button svg { width: 20px; height: 20px; }
    .brick-lightbox__close { top: 12px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .brick-page *, .brick-page *::before, .brick-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
