/* The campaign's look (0.24.0, inc/looks.php): loaded only while a look runs. Every colour is a token of
   inc/looks.json (--look-*, and the theme's own --accent, --navy, --ground, --ink overridden by the look); the shop's
   layout and its logo stay. 60-30-10: the calm ground, the header in the main colour, the accent only on prices,
   buttons and the countdown. Every text here is checked ≥ 4.5:1 against what is under it (dev/looks/). */

/* ---------- The ground ---------- */
body.look{background-color:var(--look-ground);background-image:var(--look-ground-img,none);background-size:var(--look-ground-size,auto)}
/* A dark ground (Черен ноември) only on the home page, which is drawn for it: the category, the product, the campaign's
   page and the cart keep the shop's light ground — their words were written for it (the audit found 40 of them dark
   on black). Their header, running line, badges and accents are the look's. */
body.look.look--dark:not(.look--dark-ground){background-color:var(--ground);background-image:none}

/* ---------- The header: the look's colour, the logo in its white version, the buttons in the accent ---------- */
.look .site-header{background:var(--look-head);border-bottom-color:transparent;color:var(--look-head-ink)}
.look .site-header .logo,.look .site-header .logo__a,.look .site-header .logo__b{color:var(--look-head-ink)}
.look .header__main>.icon-button,.look .header__action,.look .header__action[aria-current="page"]{color:var(--look-head-ink)}
/* The phone's ☰: on the look's header a see-through square, its lines in the header's ink (on the shop's light square
   they were white on near-white — the pictures showed it; the contrast check reads words, not icons). */
.look .header__main>.icon-button{background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 1px rgba(255,255,255,.28)}
.look .header__action .count{box-shadow:0 0 0 2px var(--look-head)}
.look .search__input{border-color:var(--look-line)}
.look .search__button{background:var(--look-accent);color:var(--look-accent-ink)}
.look .header__cart,.look .header__cart:hover{background:var(--look-accent);color:var(--look-accent-ink)}
.look .header__cart .count{background:var(--look-head-ink);color:var(--look-head)}
.look .header__nav{border-top-color:rgba(255,255,255,.16)}
.look .all-cats,.look .all-cats[aria-expanded="true"]{background:var(--look-accent);color:var(--look-accent-ink)}
.look .nav__list a,.look .nav__more-button{color:var(--look-head-ink)}
.look .nav__list a:hover{color:var(--look-line)}
.look .nav__list .is-sale a,.look .nav__list .menu-sale a{color:var(--look-line)}
.look .nav__list .current-menu-item a{color:var(--look-head-ink);box-shadow:inset 0 -3px 0 var(--look-line)}
.look .nav-end a,.look .nav-pill{background:transparent;color:var(--look-head-ink);border-color:var(--look-line)}
.look .nav-end a svg,.look .nav-pill svg{color:var(--look-head-ink)}
.look .nav-end a:hover,.look .nav-end a:focus-visible{background:rgba(255,255,255,.12);color:var(--look-head-ink);border-color:var(--look-line)}
/* What opens out of the header stays the shop's: white, its own ink. */
.look .site-header .hpop__panel,.look .site-header .suggest,.look .site-header .mega,.look .site-header .nav__more-list{color:var(--ink)}
.look .site-header .nav__more-list a{color:var(--ink)}

/* ---------- The running line at the top (in the promo bar's place) ---------- */
.look-tick{background:var(--look-tick-bg);color:var(--look-tick-ink);overflow:hidden;white-space:nowrap;font-weight:900;font-size:14px;line-height:20px}
.look-tick__run{display:flex;width:max-content;padding:9px 0;color:inherit;animation:look-tick 38s linear infinite}
.look-tick__run:hover,.look-tick__run:focus-visible{color:inherit;animation-play-state:paused}
.look-tick__track{display:inline-flex;align-items:center;flex-shrink:0}
.look-tick__item{padding:0 4px}
.look-tick__sep{display:inline-block;width:1px;height:14px;margin:0 22px;background:currentColor;opacity:.4}
@keyframes look-tick{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---------- The decoration under the header (the mock-up's, as CSS: no pictures, no stars) ---------- */
.look-deco{height:12px}
.look-deco--tape{height:10px;background:repeating-linear-gradient(135deg,#FFD23F 0 14px,#000 14px 28px)}
.look-deco--lights{position:relative;height:14px;background-color:#0F5132;background-image:radial-gradient(circle,#FFD76A 0 3.5px,transparent 4.5px),radial-gradient(circle,#C8102E 0 3.5px,transparent 4.5px),radial-gradient(circle,#7FD1FF 0 3.5px,transparent 4.5px),radial-gradient(circle,#9BE37B 0 3.5px,transparent 4.5px);background-size:96px 14px;background-position:6px 0,30px 0,54px 0,78px 0;background-repeat:repeat-x}
.look-deco--lights::after{content:"";position:absolute;inset:0;background:inherit;background-position:30px 0,54px 0,78px 0,6px 0;animation:look-blink 1.6s steps(2,jump-none) infinite}
.look-deco--frost{background-color:#0B2545;background-image:radial-gradient(rgba(255,255,255,.67) 1.5px,transparent 2px);background-size:14px 12px}
.look-deco--waves{height:14px;background:#00676F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='14'%3E%3Cpath d='M0 7 Q10 0 20 7 T40 7 V14 H0Z' fill='%230E9AA7'/%3E%3C/svg%3E") repeat-x}
.look-deco--sun{height:10px;background:repeating-linear-gradient(90deg,#FFC93C 0 26px,#FF9F1C 26px 52px)}
.look-deco--notebook{height:14px;border-bottom:2px solid #E30614;background:#FFFDF5 repeating-linear-gradient(#FFFDF5 0 5px,#9EC5FF 5px 6px)}
.look-deco--confetti{background-color:#5B2BB5;background-image:radial-gradient(#FFD23F 2px,transparent 2.5px),radial-gradient(#36D1DC 2px,transparent 2.5px),radial-gradient(#FF5D8F 2px,transparent 2.5px);background-size:22px 12px,30px 12px,26px 12px;background-position:0 3px,8px 6px,14px 2px}
.look-deco--eggs{height:14px;background-color:#5A3E91;background-image:radial-gradient(ellipse 4px 5px,#FFD1E3 95%,transparent),radial-gradient(ellipse 4px 5px,#C8F7DC 95%,transparent),radial-gradient(ellipse 4px 5px,#FFF3B0 95%,transparent);background-size:36px 14px;background-position:4px 2px,16px 2px,28px 2px}
.look-deco--sale{height:10px;background:repeating-linear-gradient(135deg,#B8050F 0 14px,#fff 14px 28px)}
@keyframes look-blink{0%,100%{opacity:0}50%{opacity:1}}

/* ---------- On the ground: the sections' titles and links in the look's colours ---------- */
/* The section titles and links in the look's colours where they stand on the look's ground — a dark look's only on
   the home page (its other pages keep the light ground: their titles keep the shop's ink). */
.look:not(.look--dark) .section-head h2,.look:not(.look--dark) .section-title,.look--dark-ground .section-head h2,.look--dark-ground .section-title{color:var(--look-h2)}
.look:not(.look--dark) .section-head a,.look--dark-ground .section-head a{color:var(--look-link)}
.look .products__item{border-radius:var(--radius-card);box-shadow:0 0 0 2px color-mix(in srgb,var(--look-line) 55%,transparent)}
.look .home-top__small-item{border-radius:var(--radius-card);box-shadow:0 0 0 2px var(--look-line)}
.look .benefits__lead{background:var(--look-head);color:var(--look-head-ink);box-shadow:0 0 0 2px var(--look-line)}
.look .benefits__lead-text>span{color:var(--look-head-ink);opacity:.92}

/* ---------- The categories' row „⚡ <кампанията>“ ---------- */
.look-menu{list-style:none}
.look-menu .look-menu__a{display:flex;align-items:center;gap:10px;background:var(--look-head);color:var(--look-head-ink);border-radius:12px;box-shadow:0 0 0 2px var(--look-line);font-weight:900}
.look-menu .look-menu__a:hover,.look-menu .look-menu__a:focus-visible{color:var(--look-head-ink);background:var(--look-head)}
.look-menu__ic{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex-shrink:0;border-radius:9px;background:rgba(255,255,255,.14);font-size:16px}
.look-menu__name{flex:1;min-width:0}
.look-menu__pct{flex-shrink:0;padding:2px 8px;border-radius:999px;background:var(--look-pill-bg);color:var(--look-pill-ink);font-size:12px;font-weight:900;line-height:18px}
.look-menu--home{margin:6px 8px}
.look-menu--home .look-menu__a{min-height:44px;padding:6px 12px;border-left:0}
.look-menu--mega{margin:6px 10px 8px}
.look-menu--mega .look-menu__a{min-height:44px;padding:6px 12px}
.look-menu--mega .look-menu__a::before{display:none}
.look-menu--drawer{margin:4px 0 8px}
.look-menu--drawer .look-menu__a{min-height:48px;padding:6px 12px;border-bottom:0}

/* ---------- The cards: the badge, the price, „Най-ниска цена за 30 дни“, „Остават N бр.“ ---------- */
.badge.badge--look{background:var(--look-badge-bg);color:var(--look-badge-ink);font-family:var(--display);font-size:12px;letter-spacing:.2px;border-radius:8px}
.look .card__price.is-sale ins{color:var(--look-price);background:var(--look-price-bg);border-radius:6px;padding:0 4px;margin-left:-4px}
.look-low{display:block;margin-top:2px;font-size:12px;font-weight:800;line-height:1.3;color:#157A38}
.look .card__stock.is-last{color:#B00B26}
.look .card__stock.is-last::before{content:"● "}

/* ---------- The block under the benefits ---------- */
.look-block{margin:28px 0 8px}
.look-block__in{position:relative;padding:26px 30px;border-radius:26px;border:var(--look-hero-border);background:var(--look-hero-bg);color:var(--look-hero-ink)}
.look-block__in::before{content:"";position:absolute;inset:0;border-radius:inherit;background-image:var(--look-hero-img);background-size:var(--look-hero-size);pointer-events:none}
.look-block__in>*{position:relative}
.look-block__kroko{position:absolute!important;right:26px;top:-118px;width:auto;height:136px;z-index:2;pointer-events:none}
.look-block__grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:26px;align-items:center}
.look-pill{display:inline-block;padding:5px 12px;border-radius:20px;background:var(--look-pill-bg);color:var(--look-pill-ink);font-weight:900;font-size:13px;line-height:1.3}
.look-block__title{margin:12px 0 8px;font-family:var(--display);font-size:44px;line-height:1.02;letter-spacing:-1px;color:var(--look-hero-ink)}
.look-hi{color:var(--look-hero-hi)}
.look-block__sub{margin:0 0 14px;font-weight:800;font-size:16px;color:var(--look-hero-ink)}
.look-cd{display:flex;gap:8px;flex-wrap:wrap}
.look-cd__box{min-width:62px;padding:8px 10px;border-radius:12px;background:rgba(0,0,0,.42);text-align:center}
.look-cd__box b{display:block;font-family:var(--display);font-size:22px;line-height:1.2;color:var(--look-hero-hi)}
.look-cd__box span{display:block;font-weight:800;font-size:11px;letter-spacing:.4px;color:var(--look-hero-ink)}
.look-block__go{display:inline-flex;align-items:center;gap:8px;margin-top:16px;padding:10px 18px;border-radius:999px;background:var(--look-hero-ink);color:#1B1E3C;font-weight:900;font-size:15px}
.look-block__go:hover{color:#1B1E3C;background:#fff}
.look-deal{display:grid;grid-template-columns:132px minmax(0,1fr);gap:14px;align-items:center;padding:14px;border-radius:18px;background:var(--look-deal-bg);color:var(--look-deal-ink);box-shadow:0 10px 30px rgba(0,0,0,.25)}
.look-deal__img img{width:132px;height:132px;object-fit:contain;background:#fff;border-radius:12px}
.look-deal__tag{display:inline-block;padding:3px 9px;border-radius:12px;background:var(--look-deal-tag-bg);color:var(--look-deal-tag-ink);font-weight:900;font-size:12px;line-height:1.4}
.look-deal__name{display:block;margin:6px 0;font-weight:900;font-size:15px;line-height:1.3;color:var(--look-deal-ink)}
.look-deal__name:hover{color:var(--look-deal-ink);text-decoration:underline}
.look-deal__price{margin:0;font-family:var(--display);font-size:22px;line-height:1.2;color:var(--look-deal-price)}
.look-deal__price s{font-family:var(--text);font-size:14px;font-weight:700;color:var(--look-deal-ink);opacity:.8}
.look-deal__price .woocommerce-Price-currencySymbol{font-size:.8em}
.look-deal__left{margin:6px 0 0;font-weight:900;font-size:13px;color:var(--look-deal-ink)}
.look-deal__btn{display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:9px 16px;border-radius:20px;background:var(--look-deal-btn-bg);color:var(--look-deal-btn-ink);font-weight:900;font-size:14px}
.look-deal__btn:hover{color:var(--look-deal-btn-ink);filter:brightness(1.08)}
.look-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}
.look-tile{display:flex;gap:10px;align-items:center;padding:10px;border-radius:16px;background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.25);color:var(--look-hero-ink)}
.look-tile:hover{color:var(--look-hero-ink);background:rgba(0,0,0,.36)}
.look-tile__img{width:62px;height:62px;flex-shrink:0;object-fit:contain;background:#fff;border-radius:10px}
.look-tile__txt{min-width:0}
.look-tile__txt b{display:block;font-weight:900;font-size:14px;line-height:1.25}
.look-tile__txt em{font-style:normal;font-family:var(--display);font-size:17px;color:var(--look-hero-hi)}
.look-tile__go{font-weight:800;font-size:13px;color:var(--look-hero-hi)}

/* ---------- The carousel's first slide ---------- */
.look-slide{position:relative;display:flex;flex-direction:column;justify-content:center;height:100%;min-height:100%;padding:26px 30px;overflow:hidden;border-radius:inherit;border:var(--look-hero-border);background:var(--look-hero-bg);color:var(--look-hero-ink)}
.look-slide::before{content:"";position:absolute;inset:0;background-image:var(--look-hero-img);background-size:var(--look-hero-size);pointer-events:none}
.look-slide>*{position:relative}
.look-slide:hover{color:var(--look-hero-ink)}
.look-slide__dates{font-weight:900;font-size:12px;letter-spacing:1px;color:var(--look-hero-ink)} /* small: the text's own colour (the highlight was 4.39:1 in Лято) */
.look-slide__title{max-width:560px;margin:8px 0 16px;font-family:var(--display);font-size:34px;line-height:1.08;color:var(--look-hero-ink)}
.look-slide__cards{display:flex;gap:12px;max-width:calc(100% - 210px)}
.look-slide__card{display:flex;flex-direction:column;flex:0 1 136px;min-width:0;padding:8px;border-radius:14px;background:#fff;color:#1B1E3C}
.look-slide__card img{width:100%;height:100px;object-fit:contain}
.look-slide__price{margin-top:4px;font-family:var(--display);font-size:15px;color:var(--look-deal-price)}
.look-slide__old{font-weight:700;font-size:12px;color:#5B6275}
.look-slide__go{display:inline-flex;align-self:flex-start;margin-top:16px;padding:8px 16px;border-radius:999px;background:var(--look-accent);color:var(--look-accent-ink);font-weight:900;font-size:14px}
.look-slide__kroko{position:absolute!important;right:22px;bottom:0;width:auto;height:72%;max-height:300px;pointer-events:none}
.look.look--razprodazhba .look-slide__go,.look.look--cheren .look-slide__go{box-shadow:0 0 0 2px var(--look-hero-ink)}

/* ---------- The chip with the countdown ---------- */
.look-chip{position:fixed;left:14px;bottom:14px;z-index:60;display:inline-flex;align-items:center;gap:8px;padding:9px 12px 9px 16px;border-radius:30px;background:var(--look-head);color:var(--look-head-ink);border:2px solid var(--look-line);box-shadow:0 6px 20px rgba(0,0,0,.3);font-weight:900;font-size:13px;line-height:1.3}
.look-chip:hover{color:var(--look-head-ink)}
.look-chip__x{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-left:2px;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:var(--look-head-ink);font-size:16px;line-height:1}
.look-chip[hidden]{display:none}

/* ---------- The snow, the frost, the confetti: CSS only, behind nothing, none for a reader who asks for less motion ---------- */
/* Behind the page's content (z-index −1 over the ground): the snow, the frost and the confetti fall on the ground and
   never over a word, a card or a button. */
.look-fx{position:fixed;inset:0;z-index:-1;pointer-events:none;background-repeat:repeat}
.look-fx--snow{background-image:radial-gradient(circle,rgba(255,255,255,.95) 0 2px,transparent 2.6px),radial-gradient(circle,rgba(255,255,255,.75) 0 1.5px,transparent 2px),radial-gradient(circle,rgba(220,235,245,.85) 0 2.5px,transparent 3px);background-size:180px 180px,130px 130px,240px 240px;background-position:0 0,40px 60px,120px 30px;animation:look-fall 22s linear infinite;filter:drop-shadow(0 0 1px rgba(80,100,120,.55))}
.look-fx--frost{background-image:radial-gradient(circle,rgba(154,212,255,.85) 0 2px,transparent 2.6px),radial-gradient(circle,rgba(255,255,255,.8) 0 1.5px,transparent 2px);background-size:220px 220px,160px 160px;background-position:0 0,80px 40px;animation:look-fall 30s linear infinite;filter:drop-shadow(0 0 1px rgba(11,37,69,.45))}
.look-fx--confetti{background-image:radial-gradient(circle,#FFD23F 0 3px,transparent 3.6px),radial-gradient(circle,#36D1DC 0 3px,transparent 3.6px),radial-gradient(circle,#FF5D8F 0 3px,transparent 3.6px),radial-gradient(circle,#9BE37B 0 3px,transparent 3.6px);background-size:260px 260px,200px 200px,320px 320px,280px 280px;background-position:0 0,60px 90px,150px 40px,220px 160px;opacity:.75;animation:look-fall 26s linear infinite}
@keyframes look-fall{from{background-position:0 0,40px 60px,120px 30px,220px 160px}to{background-position:30px 180px,10px 190px,150px 270px,250px 440px}}

/* ---------- The preview's mark (an administrator, the owner) ---------- */
.look-preview-mark{position:fixed;right:14px;top:14px;z-index:99999;margin:0;padding:8px 14px;border-radius:12px;background:#1B1E3C;color:#fff;font-weight:900;font-size:13px;box-shadow:0 6px 20px rgba(0,0,0,.3)}

/* ---------- The dark look (Черен ноември): what stands right on the ground is light; the white cards keep their ink ---------- */
/* What stands right on the dark ground (filled from the pixel audit, dev/looks/test-look-contrast.cjs). */
.look--dark-ground .ksection__sub,.look--dark-ground .section-head .section-sub,.look--dark-ground .section-head small{color:#C9CCD6}

/* ---------- Less motion: nothing runs, nothing falls ---------- */
@media (prefers-reduced-motion:reduce){
	.look-tick__run{animation:none}
	.look-tick__track[aria-hidden]{display:none}
	.look-tick{text-overflow:ellipsis}
	.look-deco--lights::after{animation:none}
	.look-fx{display:none}
}

/* ---------- A phone ---------- */
@media (max-width:1023px){
	.look .header__main>.icon-button{color:var(--look-head-ink)}
	.look-chip{bottom:calc(82px + env(safe-area-inset-bottom));left:12px}
}
@media (max-width:760px){
	.look-block{margin:18px 0 8px}
	.look-block__in{padding:20px 16px}
	.look-block__grid{grid-template-columns:minmax(0,1fr)}
	.look-block__kroko{display:none}
	.look-block__title{font-size:30px}
	.look-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
	/* 0.28.2: the picture over the words — beside it a word as long as „конструктори“ stuck out of the tile, and at
	   320–360 px out of the screen (the page got wider: it moved sideways on a phone). */
	.look-tile{flex-direction:column;align-items:flex-start;gap:8px;height:100%}
	.look-tile__img{width:56px;height:56px}
	.look-tile__txt{max-width:100%;overflow-wrap:break-word;hyphens:auto}
	.look-deal{grid-template-columns:96px minmax(0,1fr)}
	.look-deal__img img{width:96px;height:96px}
	.look-slide{padding:20px 18px}
	.look-slide__title{font-size:24px}
	.look-slide__cards{max-width:none} /* Кроко is not on a phone: the cards take the width (squeezed, their prices fell out onto the slide) */
	.look-slide__card{flex:1 1 0;width:auto}
	.look-slide__price{font-size:14px}
	.look-slide__card img{height:80px}
	.look-slide__kroko{display:none}
	.look-chip{font-size:12px;padding:8px 10px 8px 12px}
	.look-fx{opacity:.6}
}

/* ---------- The footer in a look: its ground is the look's colour (--navy), its quiet words lighter to stay ≥ 4.5:1 ---------- */
.look .site-footer,.look .site-footer a,.look .footer__links .cookie-settings-link,.look .fplace__icon{color:#ECEEF6}
.look .fplace__addr,.look .footer__bottom{color:#E4E6F0}
.look .site-footer .footer__sale,.look .site-footer .footer__trade,.look .fplace__kind{color:#B9F3CB}
/* Лято's sun sits at the block's top right: on a phone the title runs under it — the sun only where there is room. */
@media (max-width:640px){
	.look--lyato .look-block__in::before,.look--lyato .look-slide::before{background-image:none}
}
