/* A promotion /akcii/:slug (pages/stranica-akcii.htm), design «Баннер сверху»: the whole banner, the terms with a short
   card beside them, the other promotions. The banners carry their own text and a drawn button: never cropped */

.lfq {
    --ink: #111; --muted: #6f6f6f; --line: #e9e6e1; --soft: #f7f5f2; --gold: #b08d57;
    max-width: 1100px; margin: 0 auto; padding: 168px 16px 72px; color: var(--ink);   /* the content ~32px under the fixed header */
    font-family: 'CenturyGothic', Arial, Helvetica, sans-serif;
}
.lfq * { font-size: inherit; box-sizing: border-box; }   /* the theme sets «* { font-size: 20px }» */
.lfq a { color: inherit; text-decoration: none; }
.lfq a:hover { color: inherit; text-decoration: none; }
.lfq a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.lfq ul { margin: 0; padding: 0; list-style: none; }
.lfq figure { margin: 0; }
.lfq img { display: block; width: 100%; height: auto; }

.lfq-crumbs { display: flex; gap: 10px; margin-bottom: 24px; font-size: 13px; color: var(--muted); }
.lfq-crumbs a { border-bottom: 1px solid transparent; transition: border-color .2s; }
.lfq-crumbs a:hover { border-bottom-color: currentColor; }
.lfq-over { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #86663a; }
.lfq-title { margin: 0 0 20px; font-size: 34px; font-weight: normal; line-height: 1.2; letter-spacing: .01em; }
.lfq-sub { margin: 0 0 20px; font-size: 12px; font-weight: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lfq-btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px;
    border: 1px solid var(--ink); border-radius: 24px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
    transition: background .2s, color .2s;
}
.lfq .lfq-btn--dark { background: var(--ink); color: #fff; }
.lfq .lfq-btn--dark:hover { background: #333; color: #fff; }

/* the banner, the terms and the card */
.lfq .lfq-banner { overflow: hidden; border-radius: 8px; margin-bottom: 48px; }   /* «.lfq» : stronger than «.lfq figure { margin: 0 }» */
.lfq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.lfq-body { font-size: 16px; line-height: 1.75; color: #2a2a2a; }
.lfq-body p { margin: 0 0 1em; }
.lfq-body p:last-child { margin-bottom: 0; }
.lfq-body strong { font-weight: normal; color: var(--ink); }
.lfq-body p:first-of-type strong { font-size: 18px; line-height: 1.6; }
.lfq-body p:last-child strong { font-style: italic; color: #86663a; }   /* «Желаем приятных покупок!» */
.lfq-card { position: sticky; top: 130px; display: grid; gap: 16px; padding: 28px; background: var(--soft); border-radius: 8px; }
.lfq-card__title { font-size: 20px; line-height: 1.3; }
.lfq-link { justify-self: center; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
.lfq .lfq-link:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* the other promotions */
.lfq-others { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.lfq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lfq-tile { display: grid; gap: 12px; }
.lfq-tile__img { display: block; overflow: hidden; border-radius: 6px; background: var(--soft); }
.lfq-tile__img img { transition: transform .5s ease; }
.lfq-tile:hover .lfq-tile__img img { transform: scale(1.03); }
.lfq-tile__title { font-size: 16px; line-height: 1.35; }

/* phones: the card under the terms */
@media (max-width: 767px) {
    .lfq { padding: 88px 16px 56px; }   /* the header is 57px tall on phones */
    .lfq-title { font-size: 26px; }
    .lfq .lfq-banner { margin: 0 -16px 28px; border-radius: 0; }
    .lfq-layout { grid-template-columns: 1fr; gap: 28px; }
    .lfq-card { position: static; }
    .lfq-others { margin-top: 48px; padding-top: 32px; }
    .lfq-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .lfq * { transition: none !important; }
}

/* The whole promotion on a white card, as the product page (product-info.css, 2026-12-02: the site's background is
   grey #f9f9f9). A layer behind the content, from the crumbs to «Другие акции», a little wider than it */
.lfq { position: relative; z-index: 0; padding-top: 188px; }   /* 20px more: a gap between the header and the card */
.lfq::before {
    content: ''; position: absolute; z-index: -1; top: 160px; right: -24px; bottom: 44px; left: -24px;
    border: 1px solid #e9e6e1; border-radius: 12px; background: #fff; pointer-events: none;
}
@media (max-width: 1151px) { .lfq::before { right: 0; left: 0; } }   /* no room beside it: within the page's 16px */
@media (max-width: 767px) {
    .lfq { padding: 100px 20px 56px; }   /* the header is 57px: the card 19px under it */
    .lfq::before { top: 76px; right: 8px; bottom: 32px; left: 8px; }
    .lfq .lfq-banner { margin: 0 0 28px; border-radius: 6px; }   /* inside the card, not edge to edge */
}
