

/* Start:/local/js/project/carousel/style.css?17920500277305*/
/* ==========================================================================
   Карусель (scroll-snap). Поведение — script.js этого расширения.
   Вид --overlay — баннер на главной и похожие блоки.
   ========================================================================== */

/* --- Карусель (scroll-snap, точки рисует js/carousel.js) ---------------- */
.carousel { position: relative; }

.carousel__track {
    --gap: 12px;
    --per-view: 1.12;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - var(--gap) * (var(--per-view) - 1)) / var(--per-view));
    gap: var(--gap);
    margin: -12px 0;
    padding: 12px 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    list-style: none;
}

.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { scroll-snap-align: start; min-width: 0; }

.carousel__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}

.carousel__dots:empty { display: none; }

.carousel__dot {
    width: 20px;
    height: 15px;
    padding: 6px 0;
    border: 0;
    background: var(--dot);
    background-clip: content-box;
    border-radius: 0;
    cursor: pointer;
    transition: width .2s, background-color .2s;
}

.carousel__dot[aria-current="true"] { width: 48px; background-color: var(--text); }

.carousel__dot:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (min-width: 1024px) {
    .carousel__track { --gap: 40px; --per-view: 4; }
    .carousel__dots { justify-content: flex-end; margin-top: 24px; }
}

@media (prefers-reduced-motion: no-preference) {
    .carousel__track { scroll-behavior: smooth; }
}
/* Стрелки: только десктоп с мышью, появляются при наведении на карусель */
.carousel__arrow { display: none; }

@media (min-width: 1024px) and (hover: hover) {
    .carousel__arrow {
        position: absolute;
        top: var(--arrows-top, 50%);
        z-index: 2;
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        margin-top: -22px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #fff;
        box-shadow: var(--shadow-card-hover);
        color: var(--text);
        opacity: 0;
        cursor: pointer;
        transition: opacity .2s, background-color .15s;
    }

    .carousel__arrow .icon { width: 22px; height: 22px; stroke-width: 2; }
    .carousel__arrow--prev { left: -22px; }
    .carousel__arrow--next { right: -22px; }

    .carousel:hover .carousel__arrow,
    .carousel__arrow:focus-visible { opacity: 1; }

    .carousel__arrow:hover { background: var(--band); }
    .carousel__arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
    .carousel__arrow:disabled { opacity: 0 !important; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
    .carousel__arrow { transition: none; }
}

/* --- Карусель с управлением поверх картинки (баннер на главной и похожие блоки) ---
   Разметка: .carousel.carousel--overlay > .carousel__controls с точками,
   счётчиком [data-carousel-counter] и кнопками [data-carousel-prev] / [data-carousel-next].
   Мобильные: тонкие полоски под картинкой, без счётчика и кнопок.
   Десктоп: точки, счётчик и кнопки поверх картинки справа внизу. */
.carousel--overlay .carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
}

.carousel--overlay.is-single .carousel__controls { display: none; }

.carousel--overlay .carousel__dots { gap: 5px; margin: 0; }

/* Кнопка-точка выше видимой части — в неё проще попасть;
   видимую часть рисует ::before, чтобы форма и скругление были у неё, а не у кнопки */
.carousel--overlay .carousel__dot {
    display: grid;
    align-items: center;
    width: 24px;
    height: 14px;
    padding: 0;
    background: none;
}

.carousel--overlay .carousel__dot::before {
    content: "";
    height: 2px;
    background: var(--line);
    transition: background-color .2s;
}

.carousel--overlay .carousel__dot[aria-current="true"] { width: 24px; background: none; }
.carousel--overlay .carousel__dot[aria-current="true"]::before { background: var(--accent); }

.carousel--overlay .carousel__counter { display: none; }

/* Кнопки «назад/вперёд» — только десктоп с мышью */
.carousel__nav { display: none; }

@media (min-width: 1024px) {
    .carousel--overlay .carousel__controls {
        position: absolute;
        right: 56px;
        bottom: 32px;
        z-index: 2;
        gap: 24px;
        margin: 0;
        color: #fff;
        pointer-events: none; /* клики по пустому месту проходят на слайд */
    }

    .carousel--overlay .carousel__controls > * { pointer-events: auto; }

    .carousel--overlay .carousel__dots { gap: 6px; }

    .carousel--overlay .carousel__dot {
        width: 6px;
        height: 16px;
        filter: drop-shadow(0 1px 2px rgb(0 0 0 / .35));
    }

    .carousel--overlay .carousel__dot::before {
        height: 6px;
        border-radius: 3px;
        background: rgb(255 255 255 / .55);
    }

    .carousel--overlay .carousel__dot[aria-current="true"] { width: 28px; }
    .carousel--overlay .carousel__dot[aria-current="true"]::before { background: #fff; }

    .carousel--overlay .carousel__counter {
        display: block;
        min-width: 3.2em;
        font-size: 14px;
        text-align: center;
        text-shadow: 0 1px 3px rgb(0 0 0 / .45);
        font-variant-numeric: tabular-nums;
    }

    .carousel--overlay .carousel__counter:empty { display: none; }
}

@media (min-width: 1024px) and (hover: hover) {
    .carousel--overlay .carousel__controls { gap: 12px; }
    .carousel--overlay .carousel__counter { margin-right: 12px; }

    .carousel__nav {
        display: inline-grid;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid rgb(255 255 255 / .6);
        border-radius: 50%;
        background: rgb(0 0 0 / .12);
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
        color: #fff;
        cursor: pointer;
        transition: background-color .15s, border-color .15s;
    }

    .carousel__nav .icon { width: 20px; height: 20px; stroke-width: 2; }
    .carousel__nav:hover { border-color: #fff; background: rgb(255 255 255 / .2); }
    .carousel__nav:disabled { opacity: .4; cursor: default; }
    .carousel__nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
}

@media (prefers-reduced-motion: reduce) {
    .carousel__nav,
    .carousel--overlay .carousel__dot::before { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
    .carousel__dot { transition: none; }
}

/* End */


/* Start:/local/templates/project/assets/css/home.css?17920500274140*/
/* ==========================================================================
   Главная страница. Подключается в index.php: Asset::addCss(SITE_TEMPLATE_PATH . '/css/home.css').
   ========================================================================== */

/* --- Баннер-слайдер ----------------------------------------------------- */
.hero { padding-top: 12px; }

.hero__track { --gap: 0px; --per-view: 1; margin: 0; padding: 0; }

.hero__slide {
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.hero__slide img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 340 / 228;
    object-fit: cover;
}
@media (min-width: 1024px) {
    .hero { padding-top: 0; }

    /* Баннер шире контента на 28px с каждой стороны и примыкает к шапке */
    .hero__carousel { margin-inline: -28px; }
    .hero__slide { border-radius: 0 0 var(--radius-tile) var(--radius-tile); }
    .hero__slide img { aspect-ratio: 1534 / 481; }
    .hero__dots { margin-top: 36px; padding-right: 4px; } /* было в components.css; похоже, уже не используется */
}

@media (min-width: 1024px) and (max-width: 1599px) {
    /* Пока полям не хватает места, не выходим за контейнер */
    .hero__carousel { margin-inline: 0; }
}

/* --- Витрина: заголовок с текстом + плитки ------------------------------ */
.showcase { padding-block: 32px; }

.showcase__head { margin-bottom: 16px; }

.showcase__title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.15;
    text-transform: uppercase;
}

.showcase__text { font-size: 14px; line-height: 1.45; }
.showcase__text p { margin: 0; }
.showcase__text p + p { margin-top: .5em; }

.showcase__more { display: flex; justify-content: flex-end; margin-top: 16px; }

@media (min-width: 1024px) {
    .showcase { padding-block: 48px; }
    .hero + .showcase { padding-top: 64px; }

    .showcase__inner {
        display: grid;
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 48px;
        align-items: start;
    }

    .showcase--wide .showcase__inner { grid-template-columns: 250px minmax(0, 1fr); gap: 50px; }

    .showcase__head { margin-bottom: 0; }
    .showcase__title { margin-bottom: 20px; font-size: 38px; }
    .showcase__text { font-size: 16px; line-height: 1.35; }
    .showcase__text p + p { margin-top: 1.35em; }
    .showcase__more { margin-top: 24px; }
}

/* --- О компании --------------------------------------------------------- */
.about { padding-block: 32px; }

.about__inner { display: flex; flex-direction: column; }

.about__img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 12px;
    aspect-ratio: 340 / 395;
    object-fit: cover;
}

.about__text { font-size: 14px; line-height: 1.45; }
.about__text p { margin: 0 0 1em; }

.quote {
    margin: 20px 0 0;
    padding-left: 14px;
    border-left: 2px solid var(--accent);
}

.quote__text {
    margin: 0;
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.4;
}

.quote__author {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 13px;
    font-style: italic;
}

@media (min-width: 1024px) {
    .about { padding-block: 64px; }

    .about__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 465px);
        grid-template-areas:
            "title img"
            "text  img";
        grid-template-rows: auto 1fr;
        column-gap: 90px;
        padding-right: 99px;
    }

    .about__title { grid-area: title; padding-top: 50px; }
    .about__img { grid-area: img; margin: 0; aspect-ratio: 465 / 381; border-radius: var(--radius-card); }
    .about__text { grid-area: text; font-size: 16px; line-height: 1.35; }
    .about__text p { max-width: 800px; margin-bottom: 1.35em; }
    .quote { margin-top: 24px; padding-left: 20px; }
    .quote__text { font-size: 17px; }
    .quote__author { font-size: 14px; }
}

/* End */


/* Start:/local/templates/project/components/project/banner/slider/style.css?1792065077866*/
/*
 * Баннеры каруселью. Карусель (.carousel, .carousel--overlay: точки, счётчик, кнопки) —
 * расширение project.carousel; здесь только то, что отличает ленту баннеров:
 *  - по одному баннеру на «экран», без отступов (как .hero__track в вёрстке главной);
 *  - один свайп — один баннер.
 *
 * Селекторы специфичнее .carousel__track: порядок подключения css расширения и шаблона
 * в Bitrix не гарантирован, а у карусели на десктопе --per-view: 4.
 */

.banners--slider .banners__track {
	--gap: 0px;
	--per-view: 1;
	margin: 0;
	padding: 0;
}

.banners--slider .banners__slide {
	scroll-snap-stop: always;
}

/* End */


/* Start:/local/templates/project/components/project/banner/slider/../.default/style.css?17919792626752*/
/*
 * Баннеры. Цвета, шрифт, радиусы — токены шаблона сайта (styles.css: --cream, --wine-900,
 * --radius-*, --font) с запасными значениями, чтобы баннер выглядел так же и без них.
 *
 * Брейкпойнт как у шаблона: телефон — до 1023px, десктоп — с 1024px
 * (совпадает с <source media> в banner.php).
 *
 * Пропорции картинки — из размеров места в Schema: компонент ставит обёртке
 * --banner-ratio-desktop / --banner-ratio-mobile, лишнее обрезается (object-fit: cover).
 */

.banner {
	--banner-radius: var(--radius-card, 12px);
	--banner-padding: clamp(16px, 4vw, 56px);
	--banner-gap: 12px;
	--banner-text-light: var(--cream, #f4ece6);
	--banner-text-dark: var(--wine-900, #3a090d);
	--banner-scrim-light: rgb(58 9 13 / .55);
	--banner-scrim-dark: rgb(244 236 230 / .75);

	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--banner-radius);
	color: inherit;
	font-family: var(--font, inherit);
	text-decoration: none;
	isolation: isolate;
}

.banner:focus-visible {
	outline: 2px solid var(--accent, currentColor);
	outline-offset: 3px;
}

.banner__media,
.banner__img {
	display: block;
	width: 100%;
	height: auto;
}

.banner__img {
	aspect-ratio: var(--banner-ratio-desktop, auto);
	object-fit: cover;
}

/* ---------- тема ---------- */

.banner--theme-light {
	--scrim: var(--banner-scrim-light);
	color: var(--banner-text-light);
}

.banner--theme-dark {
	--scrim: var(--banner-scrim-dark);
	color: var(--banner-text-dark);
}

/* ---------- слой ---------- */

.banner__layer {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	gap: var(--banner-gap);
	padding: var(--banner-padding);
}

.banner__layer > * {
	max-width: min(36rem, 100%);
	margin: 0;
}

/* Положение и подложка со стороны текста — чтобы он читался на любой картинке */
.banner__layer--pos-top-left,
.banner__layer--pos-top {
	justify-content: flex-start;
	background: linear-gradient(to bottom, var(--scrim), transparent 65%);
}

.banner__layer--pos-center-left {
	justify-content: center;
	background: linear-gradient(to right, var(--scrim), transparent 75%);
}

.banner__layer--pos-center {
	justify-content: center;
	background: radial-gradient(ellipse at center, var(--scrim), transparent 70%);
}

.banner__layer--pos-bottom-left,
.banner__layer--pos-bottom,
.banner__layer--pos-bottom-right {
	justify-content: flex-end;
	background: linear-gradient(to top, var(--scrim), transparent 65%);
}

.banner__layer--pos-top-left,
.banner__layer--pos-center-left,
.banner__layer--pos-bottom-left {
	align-items: flex-start;
	text-align: left;
}

.banner__layer--pos-top,
.banner__layer--pos-center,
.banner__layer--pos-bottom {
	align-items: center;
	text-align: center;
}

.banner__layer--pos-bottom-right {
	align-items: flex-end;
	text-align: right;
}

/* ---------- блоки ---------- */

/* как .cmenu__eyebrow / .fmenu__title шаблона: мелкие прописные с разрядкой */
.banner__eyebrow {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .8;
}

/* как .showcase__title шаблона */
.banner__title {
	font-weight: 500;
	line-height: 1.15;
}

.banner__title--xl {
	font-size: clamp(28px, 4.5vw, 56px);
	text-transform: uppercase;
}

.banner__title--l {
	font-size: clamp(22px, 3vw, 38px);
}

.banner__title--m {
	font-size: clamp(18px, 2vw, 24px);
}

.banner__text {
	font-size: 14px;
	line-height: 1.45;
	opacity: .9;
}

.banner__list {
	display: grid;
	gap: 6px;
	padding: 0;
	font-size: 14px;
	list-style: none;
}

.banner__list li {
	position: relative;
	padding-left: 1.5em;
}

.banner__list li::before {
	content: "✓";
	position: absolute;
	left: 0;
}

/* как .btn шаблона: высота 44, «пилюля», полужирный */
.banner__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	margin-top: 4px;
	padding: 0 22px;
	border-radius: var(--radius-pill, 999px);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color .15s, box-shadow .15s;
}

/* с заливкой — как .btn--light на тёмном и тёмная на светлом */
.banner__button--filled {
	background: var(--banner-text-light);
	color: var(--banner-text-dark);
}

.banner--theme-dark .banner__button--filled {
	background: var(--banner-text-dark);
	color: var(--banner-text-light);
}

/* тема — класс слоя, поэтому наведение — через .banner:hover и тему слоя */
.banner:hover .banner--theme-light .banner__button--filled {
	background: #fff;
}

.banner:hover .banner--theme-dark .banner__button--filled {
	background: var(--wine-700, #5f262c);
}

/* контурная — как .help__order шаблона */
.banner__button--outline {
	background: transparent;
	box-shadow: inset 0 0 0 1px currentColor;
}

.banner:hover .banner__button--outline {
	background: rgb(255 255 255 / .12);
}

.banner__badge {
	position: absolute;
	right: var(--banner-padding);
	font-size: clamp(12px, 1.2vw, 16px);
	letter-spacing: .08em;
	line-height: 1.15;
	text-align: right;
	text-transform: uppercase;
}

.banner__badge--top-right {
	top: var(--banner-padding);
}

.banner__badge--bottom-right {
	bottom: var(--banner-padding);
}

/* ---------- десктоп / мобильный ---------- */

.banner__layer--mobile,
.banner__badge--mobile {
	display: none;
}

@media (max-width: 1023px) {
	.banner__img {
		aspect-ratio: var(--banner-ratio-mobile, var(--banner-ratio-desktop, auto));
	}

	.banner__layer--desktop,
	.banner__badge--desktop {
		display: none;
	}

	.banner__layer--mobile {
		display: flex;
	}

	.banner__badge--mobile {
		display: block;
	}
}

/* ---------- места ---------- */

/* Главная, слайдер — как .hero в вёрстке главной (home.css) */
.banners--home-slider {
	padding-top: 12px;
}

@media (min-width: 1024px) {
	.banners--home-slider {
		padding-top: 0;
	}

	/* примыкает к шапке: скругление только снизу */
	.banners--home-slider .banner {
		--banner-radius: 0 0 var(--radius-tile, 16px) var(--radius-tile, 16px);
	}
}

@media (min-width: 1600px) {
	/* шире контента на 28px с каждой стороны, когда полям хватает места */
	.banners--home-slider {
		margin-inline: -28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.banner__button {
		transition: none;
	}
}

/* End */


/* Start:/local/js/project/ui/style.css?17920500278046*/
/* ==========================================================================
   project.ui — элементы форм: поле с подписью, радио-карточки, сегменты,
   тумблер, чекбокс, счётчик количества, кнопки, плашка .notice.
   Нужно корзине, оформлению, будущему кабинету.
   ========================================================================== */

/* --- Поле с подписью ---------------------------------------------------- */
.form-field { display: grid; gap: 6px; min-width: 0; }

.form-field__label { color: var(--text-muted); font-size: 12px; }

.input {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 15px;
    appearance: none;
}

.input::placeholder { color: #B5A3A4; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(140 96 97 / .15); }
.input:user-invalid { border-color: var(--danger); }

.form-grid { display: grid; gap: 14px; }

@media (min-width: 768px) {
    .form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; }
    .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
}

/* --- Кнопки ------------------------------------------------------------- */
.btn-block {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid var(--accent);
    border-radius: 4px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s, color .15s;
}

.btn-block:hover { border-color: var(--accent-hover); background: var(--accent-hover); }

.btn-block--outline { border-color: var(--text); background: #fff; color: var(--text); }
.btn-block--outline:hover { border-color: var(--text); background: var(--text); color: #fff; }

.btn-block--lg { width: 100%; min-height: 52px; border-radius: 6px; font-size: 16px; }

.btn-block:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- Радио-карточка (доставка, оплата) ---------------------------------- */
.choices { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }

.choice {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: background-color .15s, border-color .15s;
}

.choice:hover { border-color: var(--accent); }

.choice:has(.choice__input:checked) {
    border-color: var(--accent);
    background: var(--band);
}

.choice:has(.choice__input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.choice__input,
.check-box {
    flex: none;
    margin: 0;
    appearance: none;
    cursor: pointer;
}

.choice__input {
    width: 18px;
    height: 18px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
}

.choice__input:checked { border: 5px solid var(--accent); }
.choice__input:focus-visible { outline: none; }

.choice__icon { width: 20px; height: 20px; color: var(--text); }

.choice__body { display: grid; gap: 2px; min-width: 0; }
.choice__title { font-size: 14px; font-weight: 500; line-height: 1.25; }
.choice__sub { color: var(--accent); font-size: 12px; line-height: 1.3; }
.choice__aside { font-size: 14px; font-weight: 500; text-align: right; white-space: nowrap; }

.choice__badge {
    justify-self: start;
    padding: 2px 8px;
    border-radius: 3px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

/* --- Переключатель «физлицо / юрлицо» ----------------------------------- */
.segmented {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    margin: 0;
    border: 0;
    border-radius: 6px;
    background: var(--band);
}

.segmented__option { position: relative; }

.segmented__option input { position: absolute; opacity: 0; pointer-events: none; }

.segmented__option span {
    display: block;
    padding: 10px 22px;
    border-radius: 4px;
    color: var(--text);
    font-size: 14px;
    cursor: pointer;
    transition: background-color .15s, color .15s;
}

.segmented__option input:checked + span { background: var(--accent); color: #fff; font-weight: 600; }
.segmented__option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- Тумблер ------------------------------------------------------------ */
.switch {
    position: relative;
    flex: none;
    width: 38px;
    height: 22px;
    margin: 0;
    border-radius: 11px;
    background: var(--line);
    appearance: none;
    cursor: pointer;
    transition: background-color .2s;
}

.switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: translate .2s;
}

.switch:checked { background: var(--accent); }
.switch:checked::after { translate: 16px 0; }
.switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- Чекбокс ------------------------------------------------------------ */
.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--accent);
    font-size: 13px;
    line-height: 1.35;
    cursor: pointer;
}

.check-box {
    width: 18px;
    height: 18px;
    border: 1px solid var(--accent);
    border-radius: 3px;
    background: #fff;
}

.check-box:checked {
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.check-box:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent a { color: inherit; }

/* --- Счётчик количества ------------------------------------------------- */
.qty {
    display: inline-flex;
    align-items: center;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
}

.qty__btn {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: var(--text);
    cursor: pointer;
}

.qty__btn:disabled { color: var(--line); cursor: default; }
.qty__btn .icon { width: 16px; height: 16px; }
.qty__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 4px; }

.qty__input {
    width: 30px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--text);
    font: inherit;
    font-size: 17px;
    text-align: center;
    appearance: textfield;
}

.qty__input::-webkit-inner-spin-button,
.qty__input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.qty__input:focus { outline: none; }

/* --- Инфо-плашка -------------------------------------------------------- */
.notice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 14px;
    padding: 16px 18px;
    border-radius: 6px;
    background: var(--band);
    font-size: 13px;
    line-height: 1.45;
}

.notice .icon { grid-row: span 2; width: 20px; height: 20px; }
.notice__title { margin: 0; font-size: 14px; font-weight: 500; }
.notice__text { margin: 0; color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
    .choice, .switch, .switch::after, .segmented__option span, .btn-block { transition: none; }
}

/* End */


/* Start:/local/js/project/forms/style.css?17920611976545*/
/* ==========================================================================
   PROJECT.FORMS — то, что есть только у форм project:form.
   Общие элементы (чекбокс согласия .consent/.check-box, поле .input, кнопки .btn-block,
   цвет ошибки --danger) — в project.ui, оно подключается через rel в config.php.
   Разметка: [data-project-form] > [data-role="success"] + form.
   Раскладка блока вокруг формы (.partners и т.п.) — в шаблоне сайта.
   ========================================================================== */

/* Скрытие через [hidden] — своё и сильное: .lead-form и подобные задают display и перебили бы атрибут */
[data-project-form] [hidden] { display: none !important; }

/* --- Поле-подчёркивание на светлом фоне (форма-карточка) ----------------- */
.field { display: block; }

.field__input {
	width: 100%;
	padding: 8px 12px;
	border: 0;
	border-bottom: 1px solid var(--accent);
	border-radius: 0;
	background: transparent;
	color: var(--text);
	font: inherit;
	font-size: 14px;
}

.field__input::placeholder { color: var(--text-muted); }
.field__input:focus { outline: none; border-bottom-color: var(--text); box-shadow: 0 1px 0 var(--text); }

textarea.field__input { min-height: 90px; resize: vertical; }

/* --- Форма-карточка (заявка дизайнера и подобные) ----------------------- */
.lead-form {
	display: grid;
	gap: 14px;
	padding: 24px 16px;
	border-radius: 12px;
	background: var(--band-deep);
	box-shadow: var(--shadow-card);
}

.lead-form__checks { display: grid; gap: 12px; margin-top: 10px; }

/* согласия в карточке мельче и без белой подложки, как в вёрстке формы дизайнера */
.lead-form .consent { gap: 12px; font-size: 11px; line-height: 1.3; }
.lead-form .check-box:not(:checked) { background: transparent; }

.lead-form__submit {
	width: 100%;
	margin-top: 10px;
	padding: 14px 20px;
	border-radius: 8px;
	font-size: 15px;
	text-transform: uppercase;
}

/* «Спасибо» на месте формы */
.lead-form--done {
	place-items: center;
	min-height: 240px;
	color: var(--accent);
	font-size: 22px;
	text-align: center;
}

@media (min-width: 1024px) {
	.lead-form {
		gap: 18px;
		padding: 52px 78px 40px;
		border-radius: var(--radius-card);
		box-shadow: none;
	}

	.lead-form__checks { margin-top: 12px; }

	.lead-form__submit {
		justify-self: start;
		width: auto;
		margin-top: 20px;
		padding: 10px 20px;
		border-radius: 4px;
		box-shadow: 0 4px 8px rgb(58 9 13 / .2);
	}

	.lead-form--done { min-height: 360px; font-size: 28px; }
}

/* --- Ошибки от сервера ---------------------------------------------------
   [data-field] получает .has-error, текст — в его [data-error] (.field__error).
   Поля: .field (подчёркивание) и .form-field/.input из project.ui; чекбокс — .consent. */
.field__error {
	display: none;
	margin-top: 6px;
	color: var(--danger);
	font-size: 12px;
	line-height: 1.3;
}

.has-error > .field__error { display: block; }

.field.has-error .field__input { border-bottom-color: var(--danger); }
.field.has-error .field__input::placeholder { color: var(--danger); }
.form-field.has-error .input { border-color: var(--danger); }

/* чекбокс: ошибка отдельной строкой под текстом (18px квадрат + отступ) */
[data-project-form] .consent { flex-wrap: wrap; }
[data-project-form] .consent > span:not(.field__error) { flex: 1; min-width: 0; }
.consent .field__error { flex-basis: 100%; margin-top: 0; padding-left: 30px; }
.consent.has-error .check-box { border-color: var(--danger); }

/* общая ошибка формы: капча, CSRF, сеть */
.form-error { margin: 0; color: var(--danger); font-size: 13px; line-height: 1.3; }

[data-project-form] [type="submit"]:disabled { opacity: .6; cursor: progress; }

/* --- Файл ---------------------------------------------------------------
   <label class="file" data-file>
       <input class="file__input" type="file" name="file">
       <span class="file__button">Прикрепить файл</span>
       <span class="file__name is-empty" data-file-name>PDF, JPG или PNG, до 5 МБ</span>
   </label> */
.file {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	cursor: pointer;
}

/* скрыт визуально, но остаётся в фокусе с клавиатуры */
.file__input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.file__button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 18px;
	border: 1px solid var(--accent);
	border-radius: 4px;
	color: var(--accent);
	font-size: 13px;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color .2s, color .2s;
}

/* скрепка */
.file__button::before {
	content: "";
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48'/%3E%3C/svg%3E") center / contain no-repeat;
}

.file:hover .file__button { background: var(--accent); color: #fff; }
.file__input:focus-visible + .file__button { outline: 2px solid var(--accent); outline-offset: 2px; }

.file__name {
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	color: var(--text);
	font-size: 13px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.file__name.is-empty { color: var(--text-muted); }

.has-error .file__button,
.has-error .file__name { border-color: var(--danger); color: var(--danger); }

@media (prefers-reduced-motion: reduce) {
	.file__button { transition: none; }
}
/* End */


/* Start:/local/templates/project/components/project/facet.list/carousel/../.default/style.css?17920558453069*/
/* ==========================================================================
   Карточка товара в списках (.product-card) и сетка списка.
   Шаблон carousel берёт этот же файл: $this->addExternalCss($templateFolder . '/../.default/style.css').
   Бейджи (.badge), кнопки (.btn-accent) и карусель (.carousel) — в шаблоне сайта.
   ========================================================================== */

/* --- Сетка списка ------------------------------------------------------- */
/* TODO: временная сетка - в вёрстке пока нет страницы раздела, заменить по её макету */
.facet-list__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* --- Карточка товара ---------------------------------------------------- */
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-card);
    transition: box-shadow .2s;
}

.product-card:hover { box-shadow: var(--shadow-card-hover); }

.product-card__media { display: block; }

.product-card__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 340 / 266;
    object-fit: cover;
}

/* нет фото: держим высоту, чтобы карточки в ряду не прыгали */
.product-card__media--empty {
    aspect-ratio: 340 / 266;
    background: #f2f2f2;
}

.product-card__badges {
    position: absolute;
    top: 14px;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-card__body {
    display: grid;
    flex: 1;
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr auto auto;
    column-gap: 12px;
    padding: 14px 13px 18px;
}

.product-card__title {
    grid-column: 1 / -1;
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

.product-card__title a { color: inherit; text-decoration: none; }
.product-card__title a:hover { color: var(--accent); }

.product-card__price {
    grid-row: 2;
    grid-column: 1;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px 8px;
    margin: 0;
}

.product-card__current { font-size: 22px; font-weight: 700; white-space: nowrap; }

.product-card__old {
    color: var(--text-muted);
    font-size: 12px;
    white-space: nowrap;
}

/* кнопка project:basket.button (CLASS = product-card__cart) */
.product-card__cart { grid-row: 2; grid-column: 2; align-self: center; }

.product-card__stock {
    grid-row: 3;
    grid-column: 1;
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
    .product-card { transition: none; }
}
/* End */


/* Start:/local/templates/project/components/project/basket.button/.default/style.css?179154247358*/
.js-buy.js-do--loading { opacity: .6; cursor: progress; }

/* End */
/* /local/js/project/carousel/style.css?17920500277305 */
/* /local/templates/project/assets/css/home.css?17920500274140 */
/* /local/templates/project/components/project/banner/slider/style.css?1792065077866 */
/* /local/templates/project/components/project/banner/slider/../.default/style.css?17919792626752 */
/* /local/js/project/ui/style.css?17920500278046 */
/* /local/js/project/forms/style.css?17920611976545 */
/* /local/templates/project/components/project/facet.list/carousel/../.default/style.css?17920558453069 */
/* /local/templates/project/components/project/basket.button/.default/style.css?179154247358 */
