[data-store-theme] {
    --store-chrome-start: #1b0428;
    --store-chrome-end: #7a3fb1;
    --store-highlight: #ebcbff;
    --store-wash: #f8f6fb;
    --store-ink: #2c2140;
    --store-line: #f1e6ff;
}

[data-store-theme="normal"] { --store-category-wash: rgba(113, 58, 154, .12); }

[data-store-theme="black-friday"] {
    --orbe-roxo: #724716;
    --orbe-dark: #19150f;
    --bg-body: #f6f4f0;
    --store-chrome-start: #141316;
    --store-chrome-end: #413326;
    --store-highlight: #ffd78f;
    --store-wash: #fbf1dd;
    --store-ink: #30241b;
    --store-line: #ead9bd;
    --store-header-background:
        radial-gradient(ellipse at 79% 0, #713a9aa6, transparent 43%),
        linear-gradient(125deg, #141316, #28242b 49%, #38214a 83%, #211b29);
}

[data-store-theme="natal"] {
    --orbe-roxo: #25634c;
    --orbe-dark: #0e2920;
    --bg-body: #f6f5ee;
    --store-chrome-start: #102b25;
    --store-chrome-end: #28614b;
    --store-highlight: #ffe09e;
    --store-wash: #eef5eb;
    --store-ink: #223b2b;
    --store-line: #d7e4d4;
    --store-header-background:
        radial-gradient(ellipse at 80% 8%, #89844865, transparent 46%),
        linear-gradient(126deg, #102b25, #1d4334 47%, #28614b 79%, #182d29);
}

.store-campaign {
    padding: .45rem .75rem;
    border-bottom: 1px solid #ffffff22;
    background: var(--store-chrome-start);
    color: var(--store-highlight);
    overflow-wrap: anywhere;
    text-align: center;
    font-size: .8125rem;
    font-weight: 650;
    letter-spacing: .035em;
}

.store-campaign i { margin-inline-end: .35rem; }

html[data-store-theme="natal"] .orbe-header-shell {
    --holiday-ribbon-height: 42px;
    --holiday-ribbon-overhang: 15px;
    padding-bottom: 33px;
    background: none !important;
    box-shadow: none !important;
}

/* A máscara recorta apenas o céu. Busca, neve e enfeites ficam fora dela. */
.store-holiday-sky {
    position: absolute;
    inset: 0 0 calc(-1 * var(--holiday-ribbon-overhang));
    z-index: 0;
    background: var(--store-header-background);
    mask-image: linear-gradient(#fff, #fff), var(--holiday-sky-mask);
    mask-position: center top, center bottom;
    mask-size: 100% calc(100% - var(--holiday-ribbon-height) + 1px), 100% var(--holiday-ribbon-height);
    mask-repeat: no-repeat;
    pointer-events: none;
}

.store-holiday-sky > :is(.header-ambient-layer, .header-starfield, .header-shooting-layer) {
    bottom: var(--holiday-ribbon-overhang);
}

/* Deixe o autocomplete na mesma pilha da faixa, acima da decoração. */
html[data-store-theme="natal"] .orbe-header-shell > .container,
html[data-store-theme="natal"] .orbe-header-shell .header-search-area {
    z-index: auto;
}

html[data-store-theme="natal"] .orbe-header-shell :is(.logo-header, .search-input-custom, .btn-cameras-header, .cart-dropdown-area > a) {
    z-index: 4;
}

html[data-store-theme="natal"] .orbe-header-shell .search-submit {
    z-index: 5;
}

.store-holiday-lights {
    position: absolute;
    z-index: 1090;
    inset: auto 0 calc(-1 * var(--holiday-ribbon-overhang));
    height: var(--holiday-ribbon-height);
    pointer-events: none;
}

.store-holiday-ribbon {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.store-holiday-scene,
.store-holiday-snowflake,
.store-holiday-ornament,
.store-holiday-bulb {
    position: absolute;
    display: block;
}

.store-holiday-scene {
    left: 24%;
    bottom: 55%;
    width: 67px;
    transform: translateX(-50%);
    filter: drop-shadow(0 0 5px #ffd78f40);
}

.store-holiday-snowflake {
    left: 3.5%;
    bottom: 87%;
    width: 11px;
    color: #ecfffb;
    opacity: .78;
    transform: rotate(12deg);
}

.store-holiday-snowflake.is-right {
    right: 3%;
    left: auto;
    bottom: 83%;
    width: 14px;
    transform: rotate(-17deg);
}

.store-holiday-ornament {
    left: var(--x);
    top: var(--y);
    width: clamp(16px, 1.22vw, 19px);
    transform: translate(-50%, var(--bow));
    filter: drop-shadow(0 2px 3px #111b2e66);
}

.store-holiday-bulb {
    left: var(--x);
    top: calc(var(--y) + 1px);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: radial-gradient(circle at 37% 32%, #fffdf0 30%, #ffe6a2 68%, #edb65e);
    box-shadow: 0 0 4px 1px #ffd885, 0 0 11px 3px #edac5766;
    transform: translateX(-50%);
    animation: store-holiday-twinkle 2.6s ease-in-out infinite;
}

.store-holiday-bulb:nth-of-type(even) {
    animation-delay: -1.3s;
}

.store-holiday-bulb::before {
    position: absolute;
    inset: -2px 1px auto;
    height: 2px;
    border-radius: 1px 1px 0 0;
    background: #d9a75a;
    content: "";
}

.store-holiday-bulb::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--holiday-sparkle-size, 14px);
    aspect-ratio: 1;
    clip-path: polygon(50% 0, 59% 40%, 100% 50%, 59% 60%, 50% 100%, 41% 60%, 0 50%, 41% 40%);
    background: radial-gradient(circle, #fffef9 20%, #ffe7ac 72%);
    opacity: 0;
    transform: translate(-50%, -50%) scale(.5);
    animation: store-holiday-sparkle 4.8s var(--sparkle-delay) ease-in-out infinite;
    content: "";
}

@keyframes store-holiday-twinkle {
    0%, 34%, 100% { opacity: 1; }
    50%, 84% { opacity: .14; }
}

@keyframes store-holiday-sparkle {
    18% { opacity: 0; transform: translate(-50%, -50%) scale(.5); }
    29% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    43%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.65); }
}

@media (max-width: 767.98px) {
    html[data-store-theme="natal"] .orbe-header-shell {
        --holiday-ribbon-height: 38px;
        --holiday-ribbon-overhang: 14px;
        padding-bottom: 31px;
    }
    .store-holiday-scene { left: 27%; width: 43px; }
    .store-holiday-ornament { width: 15px; }
    .store-holiday-snowflake,
    .store-holiday-snowflake.is-right { width: 9px; }
    .store-holiday-bulb { --holiday-sparkle-size: 10px; width: 4px; height: 4px; }
    .store-holiday-bulb.is-desktop { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .store-holiday-bulb,
    .store-holiday-bulb::after { animation: none; }
}

