/* Christmas look for the homepage banner slider (Christmas skin 2026).

   Source file. The live copy is <static_url>/img/xmas-2026/xmas-slider.css on the CDN, uploaded byte-identical by
   hand, and loaded by:
   - the storefront: application/views/v3/static/xmas-skin.php, homepage only, while the Christmas skin is on;
   - the res admin (nokovOLDadmin): the banner form's live preview, application/views/admin/banners/form_js.php,
     while its «Коледен дизайн» switch is on.
   Both link it with the same ?v= number; bump it in both places after every change and upload.

   Markup (application/views/v3/promo/top-banner.php and the admin preview): each slide is .nk-slide, plus .has-bg
   when the banner has its own background colour.
   - Slides without a background colour: an icy backdrop with faint snowflakes; the headings lose the neon shadow of
     text-promo-1/2 (navy, the main line bold, a short red bar under it).
   - Slides with a background colour keep the colours and heading styles chosen in the admin.
   - Every call-to-action is the same red pill, whatever btn-nokov-* style it has.
   - Arrows are round white buttons, the active dot is red. */

.tns-carousel .nk-slide:not(.has-bg) {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cg stroke='white' stroke-width='1.3' stroke-linecap='round' fill='none'%3E%3Cpath id='a' d='M0-10V10M0-6.5l-3-3M0-6.5l3-3M0 6.5l-3 3M0 6.5l3 3'/%3E%3Cuse href='%23a' transform='rotate(60)'/%3E%3Cuse href='%23a' transform='rotate(120)'/%3E%3C/g%3E%3C/svg%3E") no-repeat 5% 12% / 44px,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cg stroke='white' stroke-width='1.3' stroke-linecap='round' fill='none'%3E%3Cpath id='a' d='M0-10V10M0-6.5l-3-3M0-6.5l3-3M0 6.5l-3 3M0 6.5l3 3'/%3E%3Cuse href='%23a' transform='rotate(60)'/%3E%3Cuse href='%23a' transform='rotate(120)'/%3E%3C/g%3E%3C/svg%3E") no-repeat 36% 80% / 30px,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cg stroke='white' stroke-width='1.3' stroke-linecap='round' fill='none'%3E%3Cpath id='a' d='M0-10V10M0-6.5l-3-3M0-6.5l3-3M0 6.5l-3 3M0 6.5l3 3'/%3E%3Cuse href='%23a' transform='rotate(60)'/%3E%3Cuse href='%23a' transform='rotate(120)'/%3E%3C/g%3E%3C/svg%3E") no-repeat 31% 9% / 18px,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cg stroke='white' stroke-width='1.3' stroke-linecap='round' fill='none'%3E%3Cpath id='a' d='M0-10V10M0-6.5l-3-3M0-6.5l3-3M0 6.5l-3 3M0 6.5l3 3'/%3E%3Cuse href='%23a' transform='rotate(60)'/%3E%3Cuse href='%23a' transform='rotate(120)'/%3E%3C/g%3E%3C/svg%3E") no-repeat 12% 86% / 22px,
        radial-gradient(ellipse at 22% 40%, #fff 0, rgba(255, 255, 255, 0) 62%),
        linear-gradient(135deg, #f3f7fc, #dbe6f2);
}
.tns-carousel .nk-slide:not(.has-bg) h3 {color: #3a4a63 !important;}
.tns-carousel .nk-slide:not(.has-bg) h2 {color: #0c1a2b !important; font-weight: 800; text-shadow: none !important;}
.tns-carousel .nk-slide:not(.has-bg) h2:after {content: ""; display: block; width: 56px; height: 4px; margin: .7rem auto 0;
    border-radius: 2px; background: #c4161c;}
@media (min-width: 992px) {
    .tns-carousel .nk-slide:not(.has-bg) h2:after {margin-left: 0;}
}

/* Call-to-action: one red pill. The :before/:after are btn-border-effect's gradient rim. */
.tns-carousel .nk-slide .d-table > a {display: inline-flex; align-items: center; padding: .75rem 1.6rem; border: 0 !important; border-radius: 999px;
    background: #c4161c !important; color: #fff !important; font-weight: 700; text-decoration: none; box-shadow: 0 .5rem 1.25rem rgba(196, 22, 28, .3);}
.tns-carousel .nk-slide .d-table > a:before, .tns-carousel .nk-slide .d-table > a:after {display: none !important;}
.tns-carousel .nk-slide .d-table > a:hover, .tns-carousel .nk-slide .d-table > a:focus-visible {background: #a3121a !important; color: #fff !important;}

/* Arrows and dots (storefront only; the admin preview shows a single slide). */
.tns-carousel:has(.nk-slide) .tns-controls [data-controls] {width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94);
    color: #0c1a2b; font-size: 1.15rem; box-shadow: 0 .4rem 1rem rgba(12, 26, 43, .2);}
.tns-carousel:has(.nk-slide) .tns-controls [data-controls]:hover, .tns-carousel:has(.nk-slide) .tns-controls [data-controls]:focus-visible {background: #c4161c; color: #fff;}
.tns-carousel:has(.nk-slide) .tns-nav button.tns-nav-active {background-color: #c4161c;}
