.vkpe-promotions-page{padding:32px 0 56px}.vkpe-directory{--vkpe-promo-accent:#315fc6;--vkpe-promo-ink:#202b3c;--vkpe-promo-muted:#536273;--vkpe-promo-surface:#fff;--vkpe-promo-soft:#f5f7fa;--vkpe-promo-line:#dfe5ed;--vkpe-promo-input-line:#c9d3df;--vkpe-promo-chip:#eaf1fd;--vkpe-promo-chip-ink:#2356a9;--vkpe-promo-timer:#f8f6fc;--vkpe-promo-timer-line:#e1dcf1;--vkpe-promo-timer-label:#655380;color:var(--vkpe-promo-ink);color-scheme:light}
html[data-vk-theme="dark"] .vkpe-directory,body.mc-dark .vkpe-directory{--vkpe-promo-accent:#a9baff;--vkpe-promo-ink:var(--vk3-text,#f5f7fa);--vkpe-promo-muted:var(--vk3-text-muted,#aeb5c0);--vkpe-promo-surface:var(--vk3-surface,#191c23);--vkpe-promo-soft:var(--vk3-surface-raised,#20242d);--vkpe-promo-line:var(--vk3-border-soft,#282e38);--vkpe-promo-input-line:#5b6778;--vkpe-promo-chip:#293951;--vkpe-promo-chip-ink:#b6ccff;--vkpe-promo-timer:#282434;--vkpe-promo-timer-line:#564765;--vkpe-promo-timer-label:#c9b8e5;color-scheme:dark}.vkpe-directory__filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:16px;margin:24px 0 8px;padding:20px;background:var(--vkpe-promo-soft);border:1px solid var(--vkpe-promo-line);border-radius:12px}.vkpe-directory__filters label{display:grid;gap:6px;flex:1 1 220px;font-weight:600}.vkpe-directory__filters select{width:100%;height:44px;margin:0;background-color:var(--vkpe-promo-surface);color:inherit;border:1px solid var(--vkpe-promo-input-line);border-radius:6px}.vkpe-directory__filters button{margin:0;min-height:44px}.vkpe-directory__status{min-height:1.6em;margin:8px 0;color:var(--vkpe-promo-muted);font-size:14px}.vkpe-directory__group{margin:0 0 32px;padding:24px;border:1px solid var(--vkpe-promo-line);border-radius:14px;background:var(--vkpe-promo-surface);overflow:hidden}.vkpe-directory__header{display:grid;grid-template-columns:160px minmax(0,1fr);align-items:center;gap:28px;margin-bottom:24px}.vkpe-directory__brand{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:16px;min-height:112px;background:var(--vkpe-promo-soft);border-radius:8px}.vkpe-directory__brand img,.vkpe-directory__brand svg{width:auto;max-width:128px;height:auto;max-height:58px;object-fit:contain}.vkpe-directory__brand strong{font-size:16px}.vkpe-directory__type{display:inline-block;padding:4px 10px;border-radius:20px;background:var(--vkpe-promo-chip);color:var(--vkpe-promo-chip-ink);font-size:12px;font-weight:700}.vkpe-directory__copy h2{margin:10px 0;font-size:clamp(20px,2.3vw,28px);line-height:1.25;overflow-wrap:anywhere}.vkpe-directory__copy p{margin:8px 0;line-height:1.6}.vkpe-directory__meta{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:13px;color:var(--vkpe-promo-muted)}.vkpe-directory__meta a{color:var(--vkpe-promo-chip-ink);text-decoration:underline}.vkpe-directory ul.products.vkpe-directory__products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;list-style:none;margin:0!important;padding:0!important}.vkpe-directory ul.products.vkpe-directory__products:before,.vkpe-directory ul.products.vkpe-directory__products:after{display:none!important}.vkpe-directory ul.products.vkpe-directory__products>li{width:100%!important;float:none!important;clear:none!important;margin:0!important;min-width:0;box-sizing:border-box}.vkpe-directory__product-offer{font-size:12px;line-height:1.5;padding:8px 4px;color:var(--vkpe-promo-muted);overflow-wrap:anywhere;max-height:160px;overflow:auto}.vkpe-directory__product-offer:empty{display:none}.vkpe-directory__product-offer p{margin:4px 0}.vkpe-directory__more{display:block;margin:24px auto 0!important;min-height:44px}.vkpe-directory button:disabled{opacity:.6;cursor:wait}.vkpe-directory [aria-busy=true]{opacity:.65}.vkpe-directory__empty{padding:32px;text-align:center;border:1px dashed var(--vkpe-promo-input-line);border-radius:12px}.vkpe-directory :focus-visible{outline:3px solid #2064d8;outline-offset:3px}@media(max-width:900px){.vkpe-directory ul.products.vkpe-directory__products{grid-template-columns:repeat(2,minmax(0,1fr))}.vkpe-directory__header{grid-template-columns:120px minmax(0,1fr);gap:18px}.vkpe-directory__brand img{max-width:96px}}@media(max-width:540px){.vkpe-promotions-page{padding:20px 0 32px}.vkpe-directory__group{padding:14px;border-radius:10px}.vkpe-directory__header{grid-template-columns:1fr;gap:14px}.vkpe-directory__brand{flex-direction:row;min-height:0;padding:12px;justify-content:flex-start}.vkpe-directory__brand img{max-width:90px;max-height:38px}.vkpe-directory__filters{padding:14px;gap:12px}.vkpe-directory__filters label{flex-basis:100%}.vkpe-directory ul.products.vkpe-directory__products{gap:12px}.vkpe-directory__meta{gap:6px 12px}}

/* One shared deadline per campaign, kept in the header's upper-right corner. */
.vkpe-directory__header{grid-template-columns:160px minmax(0,1fr) auto}
.vkpe-directory__countdown{align-self:start;justify-self:end;min-width:174px;padding:12px 14px;border:1px solid var(--vkpe-promo-timer-line);border-radius:10px;background:var(--vkpe-promo-timer);color:var(--vkpe-promo-ink);text-align:center}
.vkpe-directory__countdown-label{display:block;margin-bottom:8px;font-size:12px;font-weight:600;line-height:1.4;color:var(--vkpe-promo-timer-label)}
.vkpe-directory__countdown-values{display:flex;justify-content:center;gap:7px;font-variant-numeric:tabular-nums;line-height:1.15}
.vkpe-directory__countdown-unit{display:flex;flex-direction:column;gap:4px;min-width:30px}
.vkpe-directory__countdown-unit strong{font-size:22px;font-weight:650;color:var(--vkpe-promo-ink)}
.vkpe-directory__countdown-unit>span{font-size:11px;color:var(--vkpe-promo-muted)}
.vkpe-directory__countdown-note{font-size:12px;line-height:1.45;color:var(--vkpe-promo-muted)}
.vkpe-directory__countdown--undated{min-width:0;max-width:190px;background:var(--vkpe-promo-soft);border-color:var(--vkpe-promo-line)}
.vkpe-directory__countdown--expired .vkpe-directory__countdown-values{font-size:14px;color:var(--vkpe-promo-muted)}
.vkpe-directory__countdown [hidden]{display:none!important}
@media(max-width:1000px) and (min-width:541px){.vkpe-directory__header{grid-template-columns:120px minmax(0,1fr) auto;gap:18px}.vkpe-directory__countdown{min-width:156px;padding:10px}.vkpe-directory__countdown-unit{min-width:27px}.vkpe-directory__countdown-unit strong{font-size:19px}}
@media(max-width:540px){.vkpe-directory__header{grid-template-columns:minmax(0,1fr) auto;gap:14px}.vkpe-directory__brand{grid-column:1;grid-row:1;min-width:0;flex-wrap:wrap;justify-content:center;padding:10px 8px;gap:6px}.vkpe-directory__brand img{max-width:80px}.vkpe-directory__brand strong{font-size:14px;overflow-wrap:anywhere}.vkpe-directory__copy{grid-column:1/-1;grid-row:2}.vkpe-directory__countdown{grid-column:2;grid-row:1;min-width:128px;max-width:146px;padding:9px 7px}.vkpe-directory__countdown-label{font-size:11px;margin-bottom:6px}.vkpe-directory__countdown-values{gap:3px}.vkpe-directory__countdown-unit{min-width:25px}.vkpe-directory__countdown-unit strong{font-size:17px}.vkpe-directory__countdown--undated{min-width:0;max-width:132px}.vkpe-directory__countdown-note{font-size:11px}}

/* Fit the whole mark inside its padded frame, including shared optical variants. */
html body .vkpe-directory .vkpe-directory__header .vkpe-directory__brand{
 box-sizing:border-box;width:100%;min-width:0;max-width:100%;overflow:hidden;
}
html body .vkpe-directory .vkpe-directory__brand .vkpe-brand-visual{
 box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:64px;
}
html body .vkpe-directory .vkpe-directory__header .vkpe-directory__brand :is(img,svg){
 box-sizing:border-box;min-width:0!important;min-height:0!important;width:auto!important;height:auto!important;
 max-width:100%!important;max-height:64px!important;margin:0!important;object-fit:contain;object-position:center;
 aspect-ratio:auto!important;transform:none!important;
}
@media(max-width:540px){
 html body .vkpe-directory .vkpe-directory__header .vkpe-directory__brand{padding:12px 10px}
 html body .vkpe-directory .vkpe-directory__brand .vkpe-brand-visual{height:44px}
 html body .vkpe-directory .vkpe-directory__header .vkpe-directory__brand :is(img,svg){max-height:44px!important}
}

/* Follow the storefront's existing theme switch, including campaign copy and controls. */
html body .vkpe-directory .vkpe-directory__copy h2,html body .vkpe-directory .vkpe-directory__brand strong{color:var(--vkpe-promo-ink)}
html body .vkpe-directory .vkpe-directory__copy p{color:inherit}
html body .vkpe-directory .vkpe-directory__meta{color:var(--vkpe-promo-muted)}
html body .vkpe-directory .vkpe-directory__filters select{background-color:var(--vkpe-promo-surface);color:var(--vkpe-promo-ink);border-color:var(--vkpe-promo-input-line)}
html body .vkpe-directory :is(.vkpe-directory__more,.vkpe-directory__filters button){border:0;border-radius:6px;background:linear-gradient(110deg,#4f63f6,#8160c2 52%,#b63c8a);color:#fff;font-family:inherit;font-size:14px;line-height:1.4;padding:12px 20px;text-transform:none;letter-spacing:0}
html body .vkpe-directory .vkpe-directory__meta code{background:var(--vkpe-promo-soft);color:var(--vkpe-promo-ink);border:1px solid var(--vkpe-promo-line);border-radius:4px;padding:2px 5px}

html[data-vk-theme] body .vkpe-directory :is(.vkpe-directory__more,.vkpe-directory__filters button){background:linear-gradient(110deg,#4f63f6,#8160c2 52%,#b63c8a)!important;color:#fff!important;border:0!important;border-radius:6px!important}

/* The category uses the native Woo archive, its widgets and sticky category strip. */
body.vkpe-promotions-archive .top_bar_shop,body.vkpe-promotions-archive .active_filters_ontop,body.vkpe-promotions-archive .woocommerce-after-shop-loop-wrapper{display:none!important}
body.vkpe-promotions-archive .content-pos{min-width:0;container-type:inline-size}
body.vkpe-promotions-archive .vkpe-directory__filters{margin-top:0}
body.vkpe-promotions-archive .vkpe-directory__group{padding:20px}
@container(max-width:680px){.vkpe-directory__header{grid-template-columns:minmax(0,1fr) auto;gap:16px}.vkpe-directory__brand{grid-column:1;grid-row:1;max-width:150px!important}.vkpe-directory__copy{grid-column:1/-1;grid-row:2}.vkpe-directory__countdown{grid-column:2;grid-row:1}.vkpe-directory ul.products.vkpe-directory__products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){body.vkpe-promotions-archive .vkpe-directory__group{padding:14px}}

/* Match the catalog surface; campaign grouping adds no second card background. */
.vkpe-directory__group{background:transparent}
.vkpe-directory :is(#products,.vkpe-directory__products).products.product-layout-grid:not(.owl-carousel){grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1200px){.vkpe-directory :is(#products,.vkpe-directory__products).products.product-layout-grid:not(.owl-carousel){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:990px){.vkpe-directory :is(#products,.vkpe-directory__products).products.product-layout-grid:not(.owl-carousel){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:991px) and (max-width:1199px){body.vkpe-promotions-archive .vkpe-directory :is(#products,.vkpe-directory__products).products.product-layout-grid:not(.owl-carousel){grid-template-columns:repeat(2,minmax(0,1fr))}}
@container(max-width:680px){.vkpe-directory :is(#products,.vkpe-directory__products).products.product-layout-grid:not(.owl-carousel){grid-template-columns:repeat(2,minmax(0,1fr))}}
