[x-cloak] { display: none !important; }

.cr-page { --cr-bg: #120a0b; --cr-panel: #2c2226; --cr-orange: #f28a2b; --cr-gold: #f2c14e; --cr-red: #c62f3a; --cr-cream: #faf3e8; --cr-muted: #bfb2b6; --cr-soft: #e8dccd; --cr-line: #3a2e32; background: var(--cr-bg); }
.cr-hero, .cr-controls, .cr-bar, .cr-grid-wrap, .cr-note { color: var(--cr-cream); }

.cr-preview { background: var(--cr-gold); color: #120a0b; text-align: center; font: 800 13px 'Nunito', sans-serif; padding: 8px 12px; }

.cr-hero { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 52px 6px 36px; min-height: 360px; box-sizing: border-box; }
.cr-hero::before { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to bottom, rgba(18,10,11,0) calc(100% - 70px), #120a0b), var(--cr-hero-img, url('/images/craciun/hero.webp')) right top / cover no-repeat, #120a0b; pointer-events: none; }
.cr-hero > * { position: relative; z-index: 1; }
.cr-eyebrow { display: flex; align-items: center; gap: 10px; margin-right: 100px; font: 800 14px 'Nunito', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--cr-gold); }
.cr-eyebrow::before { content: ''; flex: 0 0 18px; height: 1px; background: var(--cr-gold); }
.cr-h1 { margin: 4px 0 0; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 44px; line-height: 1; max-width: 260px; color: #fbf2df; }
.cr-lead { margin: 0; font: 400 16px/1.45 'Nunito', sans-serif; color: var(--cr-soft); max-width: 290px; text-wrap: pretty; }

.cr-countdown { display: flex; gap: 8px; width: 100%; max-width: 360px; margin-top: 4px; }
.cr-cd-box { flex: 1; background: rgba(18,10,11,.55); border: 1px solid var(--cr-line); border-radius: 12px; padding: 8px 0; display: flex; flex-direction: column; align-items: center; gap: 2px; backdrop-filter: blur(4px); }
.cr-cd-box strong { font-family: 'Baloo 2', sans-serif; font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--cr-gold); line-height: 1.1; }
.cr-cd-box span { font: 700 11px 'Nunito', sans-serif; color: var(--cr-muted); }
.cr-cd-note { font: 700 13px 'Nunito', sans-serif; color: var(--cr-soft); }
.cr-cd-note strong { color: var(--cr-gold); }

.cr-btn, .cr-page a.cr-btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--cr-orange); color: #fff; font: 800 15px 'Nunito', sans-serif; text-decoration: none; cursor: pointer; }
.cr-page a.cr-btn:hover, .cr-page a.cr-btn:visited { background: #ffa04d; color: #fff; }

.cr-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cr-chips-hero { margin-top: 8px; }
.cr-chip { height: 44px; padding: 0 22px; border-radius: 26px; border: 1.5px solid #6a5a5f; background: transparent; color: #fff; font: 800 16px 'Nunito', sans-serif; cursor: pointer; }
.cr-chip-cta, .cr-page a.cr-chip-cta { display: inline-flex; align-items: center; justify-content: center; background: var(--cr-orange); border-color: var(--cr-orange); color: #fff; text-decoration: none; letter-spacing: .04em; }
.cr-page a.cr-chip-cta:hover { background: #ffa04d; border-color: #ffa04d; color: #fff; }
.cr-chip.is-on { background: var(--cr-orange); border-color: var(--cr-orange); }

.cr-controls { display: flex; flex-direction: column; gap: 10px; padding: 0 6px 4px; max-width: 1280px; margin: 0 auto; }
.cr-controls:empty { display: none; }

.cr-bar { display: flex; justify-content: space-between; align-items: center; padding: 6px 6px 14px; max-width: 1280px; margin: 0 auto; font: 600 15px 'Nunito', sans-serif; color: var(--cr-muted); }
.cr-sort { background: transparent; border: 0; color: var(--cr-cream); font: 700 15px 'Nunito', sans-serif; cursor: pointer; padding: 4px 0; }
.cr-sort option { color: #222; }

.cr-grid-wrap { max-width: 1280px; margin: 0 auto; padding: 0 6px; }
.cr-grid { padding: 0; gap: 26px 12px; grid-template-columns: 1fr; }
.cr-page .cr-grid .cs-card { background: transparent; border: 0; box-shadow: none; }
.cr-page .cr-grid .cs-card-thumb { background: var(--cr-panel); border-radius: 28px; }
.cr-page .cr-grid .cs-card-info { padding: 10px 6px 0; }
.cr-page .cr-grid .cs-card-name { min-height: 0; color: var(--cr-cream); font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 24px; line-height: 1.15; }
.cr-page .cr-grid .cs-card-price .now, .cr-page .cr-grid .cs-card-price .now.is-sale { color: var(--cr-orange); font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 30px; }
.cr-page .cr-grid .cs-card-price .old { color: #a89a9f; font-size: 15px; }
.cr-page .cr-grid .cs-discount-badge, .cr-page .cr-grid .cs-promo-badge { background: var(--cr-red); color: #fff; font-weight: 800; border-radius: 14px; }
.cr-empty { padding: 36px 0; display: flex; flex-direction: column; gap: 14px; align-items: center; color: var(--cr-muted); text-align: center; }
.cr-page .cs-load-more-btn { background: transparent; color: #fff; border: 2px solid var(--cr-orange); border-radius: 26px; font-weight: 800; }
.cr-page .cs-load-more-btn:hover { background: var(--cr-orange); color: #fff; border-color: var(--cr-orange); }
.cr-page .cs-load-more-count { color: var(--cr-muted); }

.cr-dots { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.cr-dots-label { font: 600 16px 'Nunito', sans-serif; color: var(--cr-muted); }
.cr-dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; box-sizing: border-box; flex: none; }

.cr-note { margin: 18px 6px 28px; font-size: 13px; line-height: 1.45; color: var(--cr-muted); text-align: center; }


@media (max-width: 767px) {
    .cr-page .cs-bottom-nav::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; margin-bottom: -6px; aspect-ratio: 2129 / 340; background: url('/images/craciun/zapada.webp') center bottom / 100% 100% no-repeat; pointer-events: none; }
}

@media (min-width: 768px) {
    .cr-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
    .cr-hero::before { background: linear-gradient(to bottom, rgba(18,10,11,0) calc(100% - 90px), #120a0b), var(--cr-hero-img-d, var(--cr-hero-img, url('/images/craciun/hero.webp'))) right top / cover no-repeat, #120a0b; }
    .cr-hero { padding: 120px 48px 56px; min-height: 430px; gap: 16px; }
    .cr-eyebrow { margin-right: 0; font-size: 15px; letter-spacing: .1em; gap: 12px; }
    .cr-eyebrow::before { flex-basis: 28px; }
    .cr-h1 { font-size: 72px; max-width: 640px; margin-top: 2px; }
    .cr-lead { font-size: 20px; max-width: 560px; line-height: 1.5; }
    .cr-cd-box strong { font-size: 30px; }
    .cr-chip { padding: 0 28px; font-size: 17px; }
    .cr-controls, .cr-bar { padding-left: 48px; padding-right: 48px; }
    .cr-bar { font-size: 16px; }
    .cr-sort { font-size: 16px; }
    .cr-grid-wrap { padding: 0 48px; }
    .cr-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; }
    .cr-page .cr-grid .cs-card-thumb { border-radius: 28px; }
    .cr-page .cr-grid .cs-card-name { font-size: 22px; }
    .cr-page .cr-grid .cs-card-price .now, .cr-page .cr-grid .cs-card-price .now.is-sale { font-size: 28px; }
    .cr-dots-label { font-size: 15px; }
    .cr-dot { width: 30px; height: 30px; }
    .cr-note { margin-left: 48px; margin-right: 48px; }
}

.cr-page .cr-grid .cs-card-thumb::after { content: ''; position: absolute; left: calc(-3% + 3.5px); top: calc(-3% - 1px); width: calc(106% - 7px); height: calc(106% + 2px); background: url('/images/craciun/chenar.webp') center / 100% 100% no-repeat; pointer-events: none; z-index: 4; }

@media (max-width: 767px) {
    .cr-chips-hero { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; align-self: stretch; margin: 8px -6px 0; padding: 0 6px; scroll-snap-type: x proximity; }
    .cr-chips-hero::-webkit-scrollbar { display: none; }
    .cr-chips-hero .cr-chip { flex: none; white-space: nowrap; scroll-snap-align: start; }
}

.cr-chips { gap: 6px; }
.cr-chips .cr-chip { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 20px; }
@media (min-width: 768px) {
    .cr-chips .cr-chip { height: 38px; padding: 0 18px; font-size: 14px; }
}

@media (max-width: 767px) {
    .cr-hero { padding-bottom: 12px; min-height: 0; }
    .cr-hero + .cr-controls { padding-top: 0; }
}
