/* Акции: страница списка (/akcii/) и страница отдельной акции. */

.ta-promos-wrap *, .ta-promos-wrap *::before, .ta-promos-wrap *::after { box-sizing: border-box; }
.ta-promos-wrap { max-width: 1560px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.ta-promos-gap { height: clamp(48px, 6vw, 80px); }

.ta-promos-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 22px 0 18px; font-size: 13px; color: #5E6478; }
.ta-promos-crumbs a:hover { color: #BD123C; }
.ta-promos-crumbs i { font-style: normal; color: #B8BCC8; }
.ta-promos-crumbs span { color: #14182B; }

.ta-promos-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 22px; }
.ta-promos-head h1 { margin: 0; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; color: #0F1E50; }
.ta-promos-head span { font-size: 15px; color: #5E6478; }

/* Кнопки */
.ta-promo-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 26px; border: 1px solid transparent; border-radius: 12px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-align: center; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.ta-promo-btn:hover { transform: translateY(-1px); }
.ta-promo-btn--light { background: #fff; color: #BD123C; }
.ta-promo-btn--light:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.ta-promo-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.ta-promo-btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.ta-promo-btn--red { background: #BD123C; color: #fff; }
.ta-promo-btn--red:hover { background: #A30F34; }
.ta-promo-btn--block { width: 100%; }

/* Баннер акции */
.ta-promo-hero { --g1: #0F1E50; --g2: #1B2F70; --g3: #BD123C; position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(120deg, var(--g1) 0%, var(--g2) 55%, var(--g3) 140%); color: #fff; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: center; min-height: 380px; }
.ta-promo-hero--red { --g1: #6E0A22; --g2: #A30F34; --g3: #E0335D; }
.ta-promo-hero--blue { --g1: #0F2A66; --g2: #1B4A9E; --g3: #3E86E8; }
.ta-promo-hero--green { --g1: #0B3D1E; --g2: #146B31; --g3: #27A854; }
.ta-promo-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 44px 44px; pointer-events: none; }
.ta-promo-hero__text, .ta-promo-hero__visual { position: relative; min-width: 0; }
.ta-promo-badge { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; background: #BD123C; color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.ta-promo-hero--red .ta-promo-badge { background: #fff; color: #BD123C; }
.ta-promo-hero__title { margin: 0 0 14px; font-size: clamp(28px, 3.8vw, 46px); line-height: 1.12; font-weight: 600; letter-spacing: -.02em; color: #fff; overflow-wrap: anywhere; }
.ta-promo-hero__lead { margin: 0 0 14px; font-size: 17px; line-height: 1.6; color: #C9D0E6; max-width: 560px; }
.ta-promo-hero__until { margin: 0 0 24px; font-size: 14px; font-weight: 600; color: #fff; opacity: .85; }
.ta-promo-hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.ta-promo-hero__lead + .ta-promo-hero__acts { margin-top: 26px; }
.ta-promo-hero__visual { display: flex; align-items: center; justify-content: center; min-height: 260px; }

.ta-promo-deco { position: absolute; height: auto; pointer-events: none; }
.ta-promo-deco--a { left: 4%; top: 4%; width: 46%; transform: rotate(-12deg); }
.ta-promo-deco--b { right: 2%; bottom: 0; width: 42%; transform: rotate(18deg); }

.ta-promo-hero__photo { width: 100%; max-height: 340px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }

.ta-promo-disc { position: relative; width: 190px; height: 190px; border-radius: 50%; background: #BD123C; box-shadow: 0 0 0 14px rgba(189, 18, 60, .25), 0 30px 60px rgba(0, 0, 0, .3); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 14px; }
.ta-promo-hero--red .ta-promo-disc { background: #0F1E50; box-shadow: 0 0 0 14px rgba(255, 255, 255, .2), 0 30px 60px rgba(0, 0, 0, .3); }
.ta-promo-disc__num { font-size: 62px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.ta-promo-disc--long .ta-promo-disc__num { font-size: 30px; letter-spacing: -.02em; line-height: 1.1; }
.ta-promo-disc__note { font-size: 13px; font-weight: 600; margin-top: 6px; line-height: 1.25; }
.ta-promo-hero__visual.has-photo .ta-promo-disc { position: absolute; right: -6px; bottom: -14px; width: 150px; height: 150px; box-shadow: 0 0 0 8px rgba(189, 18, 60, .25), 0 20px 40px rgba(0, 0, 0, .3); }
.ta-promo-hero__visual.has-photo .ta-promo-disc__num { font-size: 46px; }
.ta-promo-hero__visual.has-photo .ta-promo-disc--long .ta-promo-disc__num { font-size: 24px; }
.ta-promo-hero__visual.has-photo .ta-promo-disc__note { font-size: 11px; }

/* Слайдер баннеров */
.ta-promo-slider { position: relative; }
.ta-promo-slider__track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 28px; }
.ta-promo-slider__track::-webkit-scrollbar { display: none; }
.ta-promo-slide { scroll-snap-align: start; min-width: 0; }
.ta-promo-slide > .ta-promo-hero { height: 100%; }
.ta-promo-slider__ctrl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
.ta-promo-arrow { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #E5E7EE; border-radius: 50%; background: #fff; color: #0F1E50; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.ta-promo-arrow:hover { background: #BD123C; border-color: #BD123C; color: #fff; }
.ta-promo-dots { display: flex; align-items: center; gap: 8px; }
.ta-promo-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 6px; background: #C9CDD9; cursor: pointer; transition: width .2s ease, background-color .2s ease; }
.ta-promo-dot.is-active { width: 28px; background: #BD123C; }

/* Блоки */
.ta-promo-sec { margin-top: clamp(48px, 6vw, 80px); }
.ta-promo-sec__h { margin: 0 0 18px; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }

/* Карточки акций */
.ta-promo-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.ta-promo-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #E5E7EE; border-radius: 22px; background: #fff; color: #14182B; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.ta-promo-card:hover { transform: translateY(-3px); border-color: #D2D6E2; box-shadow: 0 18px 40px rgba(15, 30, 80, .12); }
.ta-promo-card__top { --g1: #0F1E50; --g2: #1B2F70; --g3: #BD123C; position: relative; display: block; height: 180px; background: linear-gradient(120deg, var(--g1) 0%, var(--g2) 55%, var(--g3) 140%); overflow: hidden; }
.ta-promo-card__top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ta-promo-card__top.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .35)); }
.ta-promo-card__badge { position: absolute; left: 16px; top: 16px; z-index: 1; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: #BD123C; color: #fff; font-size: 12px; font-weight: 600; }
.ta-promo-hero--red.ta-promo-card__top .ta-promo-card__badge { background: #fff; color: #BD123C; }
.ta-promo-card__disc { position: absolute; right: 18px; bottom: 14px; z-index: 1; color: #fff; font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.ta-promo-card__disc.is-long { font-size: 24px; letter-spacing: -.02em; }
.ta-promo-card__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 20px 22px 22px; }
.ta-promo-card__title { font-size: 19px; line-height: 1.3; font-weight: 600; color: #0F1E50; overflow-wrap: anywhere; }
.ta-promo-card__lead { font-size: 14px; line-height: 1.55; color: #3A3F52; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ta-promo-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-top: auto; padding-top: 12px; font-size: 13px; }
.ta-promo-card__until { color: #5E6478; }
.ta-promo-card__go { color: #BD123C; font-weight: 600; }

/* Страница акции: текст + боковая карточка */
.ta-promo-detail { scroll-margin-top: 100px; margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.ta-promo-body { min-width: 0; font-size: 17px; line-height: 1.7; color: #1F2438; }
.ta-promo-body > *:first-child { margin-top: 0; }
.ta-promo-body p { margin: 0 0 16px; }
.ta-promo-body h2 { margin: 36px 0 16px; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: #14182B; }
.ta-promo-body h3 { margin: 28px 0 12px; font-size: 20px; line-height: 1.3; font-weight: 600; color: #14182B; }
.ta-promo-body ul, .ta-promo-body ol { margin: 0 0 18px; padding-left: 1.3em; }
.ta-promo-body li { margin-bottom: 8px; }
.ta-promo-body li::marker { color: #BD123C; }
.ta-promo-body a { color: #BD123C; text-decoration: underline; text-underline-offset: 3px; }
.ta-promo-body img { max-width: 100%; height: auto; border-radius: 16px; }
.ta-promo-body table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; }
.ta-promo-body th, .ta-promo-body td { padding: 10px 12px; border: 1px solid #E5E7EE; text-align: left; }
.ta-promo-aside { position: sticky; top: 96px; display: grid; gap: 14px; }
.ta-promo-benefit { padding: 28px; border-radius: 22px; background: linear-gradient(150deg, #BD123C, #E0335D); color: #fff; box-shadow: none; }
.ta-promo-benefit__k { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .85; margin-bottom: 10px; }
.ta-promo-benefit__num { font-size: 56px; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 12px; overflow-wrap: anywhere; }
.ta-promo-benefit p { margin: 0 0 14px; font-size: 15px; line-height: 1.55; }
.ta-promo-benefit__until { font-weight: 600; opacity: .9; }
.ta-promo-aside__note { padding: 20px; border: 1px solid #E5E7EE; border-radius: 20px; background: #fff; font-size: 14px; line-height: 1.55; color: #3A3F52; }
.ta-promo-aside__note a { color: #BD123C; font-weight: 600; white-space: nowrap; }

/* Левая колонка: текст + категории/таблица товаров (уже, чем во всю ширину) */
.ta-promo-main { min-width: 0; }
.ta-promo-main .ta-pe { max-width: none; }

/* Боковая колонка с формой: компактная карточка выгоды + форма, едет за прокруткой */
.ta-promo-aside--form { max-height: calc(100vh - 112px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-bottom: 2px; }
.ta-promo-aside--form .ta-promo-benefit { padding: 20px 24px; border-radius: 20px; }
.ta-promo-aside--form .ta-promo-benefit__k { margin-bottom: 6px; font-size: 13px; }
.ta-promo-aside--form .ta-promo-benefit__num { font-size: 44px; margin-bottom: 8px; }
.ta-promo-aside--form .ta-promo-benefit p { margin: 0 0 8px; font-size: 14px; line-height: 1.45; }
.ta-promo-aside--form .ta-promo-benefit p:last-child { margin-bottom: 0; }
.ta-promo-form { border: 1px solid #E5E7EE; border-radius: 20px; background: #fff; padding: 20px 22px 22px; }
.ta-promo-form__f { display: grid; gap: 10px; }
.ta-promo-form__f[hidden], .ta-promo-form .ta-form__status[hidden] { display: none; }
.ta-promo-form__t { font-size: 18px; font-weight: 600; line-height: 1.25; color: #0F1E50; }
.ta-promo-form__lead { margin: 0 0 4px; font-size: 13px; line-height: 1.5; color: #5E6478; }
.ta-promo-form__l { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: #3A3F52; }
.ta-promo-form__l input { box-sizing: border-box; width: 100%; height: 42px; padding: 0 12px; border: 1px solid #D9DCE5; border-radius: 10px; background: #fff; font: inherit; font-size: 14px; font-weight: 400; color: #14182B; transition: border-color .15s, box-shadow .15s; }
.ta-promo-form__l input::placeholder { color: #A3A8B8; }
.ta-promo-form__l input:focus { outline: 0; border-color: #BD123C; box-shadow: 0 0 0 3px rgba(189, 18, 60, .12); }
.ta-promo-form__consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.45; color: #5E6478; }
.ta-promo-form__consent input { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: #BD123C; }
.ta-promo-form__consent a { color: #BD123C; text-decoration: underline; text-underline-offset: 2px; }
.ta-promo-form .ta-form__status { margin: 0; font-size: 13px; line-height: 1.4; }
.ta-promo-form__btn { box-sizing: border-box; height: 46px; padding: 0 20px; border: 0; border-radius: 12px; background: #BD123C; color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .15s; }
.ta-promo-form__btn:hover { background: #A00F33; }
.ta-promo-form__btn:disabled { opacity: .6; cursor: default; }
.ta-promo-form__ok { text-align: center; padding: 14px 4px; }
.ta-promo-form__ok:not([hidden]) { display: block; }
.ta-promo-form__ok-t { font-size: 18px; font-weight: 600; color: #1A7F3C; margin-bottom: 8px; }
.ta-promo-form__ok p { margin: 0; font-size: 14px; line-height: 1.5; color: #3A3F52; }
.ta-promo-aside--form .ta-promo-aside__note { padding: 16px 20px; font-size: 13px; }

/* Как получить скидку */
.ta-promo-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.ta-promo-step { padding: 26px 22px; border-radius: 20px; background: #0F1E50; color: #fff; min-height: 220px; }
.ta-promo-step.is-first { background: #BD123C; }
.ta-promo-step__n { font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: #8E9AC4; margin-bottom: 22px; }
.ta-promo-step.is-first .ta-promo-step__n { color: #FFD0DB; }
.ta-promo-step__t { font-size: 19px; font-weight: 600; line-height: 1.25; min-height: 2.5em; margin-bottom: 8px; }
.ta-promo-step p { margin: 0; font-size: 14px; line-height: 1.55; color: #C9D0E6; }
.ta-promo-step.is-first p { color: #FFE3EA; }

/* Нижний баннер */
.ta-promo-cta { margin-top: clamp(48px, 6vw, 80px); position: relative; overflow: hidden; border-radius: 24px; background: linear-gradient(150deg, #0F1E50, #1B2F70); color: #fff; padding: clamp(28px, 4vw, 44px) clamp(22px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 32px; }
.ta-promo-cta__text { min-width: 0; }
.ta-promo-cta__t { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -.02em; margin-bottom: 10px; }
.ta-promo-cta p { margin: 0; color: #C9D0E6; font-size: 16px; max-width: 620px; }
.ta-promo-cta__acts { display: flex; flex-wrap: wrap; gap: 12px; }

/* Нет действующих акций */
.ta-promo-empty { padding: clamp(32px, 5vw, 56px); border: 1px dashed #C9CDD9; border-radius: 24px; background: #F4F5F8; text-align: center; }
.ta-promo-empty__t { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; color: #0F1E50; margin-bottom: 10px; }
.ta-promo-empty p { margin: 0 auto 22px; max-width: 520px; font-size: 16px; line-height: 1.6; color: #3A3F52; }

@media (max-width: 1000px) {
	.ta-promo-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.ta-promo-hero__visual { min-height: 220px; }
	.ta-promo-hero__photo { max-height: 260px; }
	.ta-promo-detail { grid-template-columns: minmax(0, 1fr); }
	.ta-promo-aside { position: static; }
	.ta-promo-aside--form { max-height: none; overflow: visible; }
	.ta-promo-main .ta-pe { max-width: none; }
}

@media (max-width: 560px) {
	.ta-promo-hero { border-radius: 22px; }
	.ta-promo-slider__track { border-radius: 22px; }
	.ta-promo-hero__lead { font-size: 16px; }
	.ta-promo-hero__acts { flex-direction: column; }
	.ta-promo-hero__acts .ta-promo-btn { width: 100%; }
	.ta-promo-disc { width: 150px; height: 150px; box-shadow: 0 0 0 10px rgba(189, 18, 60, .25), 0 20px 40px rgba(0, 0, 0, .3); }
	.ta-promo-disc__num { font-size: 46px; }
	.ta-promo-disc--long .ta-promo-disc__num { font-size: 24px; }
	.ta-promo-hero__visual { min-height: 180px; }
	.ta-promo-hero__visual.has-photo .ta-promo-disc { width: 120px; height: 120px; right: -4px; }
	.ta-promo-hero__visual.has-photo .ta-promo-disc__num { font-size: 34px; }
	.ta-promo-cta__acts { width: 100%; }
	.ta-promo-cta__acts .ta-promo-btn { flex: 1 1 100%; }
	.ta-promo-benefit__num { font-size: 46px; }
}

@media (prefers-reduced-motion: reduce) {
	.ta-promo-btn, .ta-promo-card, .ta-promo-dot, .ta-promo-arrow { transition: none; }
}
