/* OnlineOffers Christmas 2026 */
:root{
  --ooxm-pine:#0F4A3A; --ooxm-pine-deep:#0A3529; --ooxm-berry:#C8202F;
  --ooxm-gold:#E8B547; --ooxm-cream:#FFF8EC; --ooxm-ink:#1D2421;
}

/* Announcement bar */
.ooxm-bar{background:var(--ooxm-berry);color:var(--ooxm-cream);border-bottom:2px solid var(--ooxm-gold);text-align:center;position:relative;z-index:50}
.ooxm-bar p{margin:0 auto;max-width:72rem;padding:8px 16px;font-size:14px;line-height:1.4;font-weight:600;color:inherit}

/* Gift badges */
.ooxm-badge--loop{order:3;align-self:flex-end;position:relative;z-index:3;box-sizing:border-box;height:26px;margin:10px 8px -36px auto;display:inline-flex;align-items:center;background:var(--ooxm-berry);color:var(--ooxm-cream);font-size:12px;font-weight:700;line-height:1;padding:0 10px 0 19px;border-radius:0 4px 4px 0;clip-path:polygon(9px 0,100% 0,100% 100%,9px 100%,0 50%);transform:rotate(-5deg);transform-origin:0 50%;transition:transform .35s ease;pointer-events:none;box-shadow:inset 0 -2px 0 rgba(0,0,0,.15)}
.ooxm-badge--loop::before{content:"";position:absolute;left:8px;top:50%;width:5px;height:5px;margin-top:-2.5px;border-radius:50%;background:var(--ooxm-cream);box-shadow:inset 0 0 0 1px rgba(0,0,0,.25)}
li.product:hover .ooxm-badge--loop{transform:rotate(3deg)}
.ooxm-badge--single{display:inline-block;margin:0 0 12px;background:var(--ooxm-pine);color:var(--ooxm-cream);font-size:13px;font-weight:700;padding:6px 10px;border-radius:4px}

/* Top bar countdown */
.ooxm-count{font-weight:800;color:#FFE8A8}

/* Fairy lights under the menu bar (two layers that twinkle in turn; opacity only, so it stays cheap) */
.ooxm-lights nav.oo-navbar{position:relative;box-shadow:0 2px 0 #1B3A30}
.ooxm-lights nav.oo-navbar::before,.ooxm-lights nav.oo-navbar::after{content:"";position:absolute;left:0;right:0;bottom:-14px;height:14px;pointer-events:none;z-index:5;background-repeat:repeat-x;will-change:opacity}
.ooxm-lights nav.oo-navbar::before{background-image:radial-gradient(ellipse 4px 5.5px at 50% 8px,#FF4D5A 92%,transparent),radial-gradient(ellipse 4px 5.5px at 50% 8px,#FFD36E 92%,transparent);background-size:128px 14px;background-position:0 0,64px 0;filter:drop-shadow(0 0 3px rgba(255,214,110,.9));animation:ooxm-twinkle 2.4s ease-in-out infinite alternate}
.ooxm-lights nav.oo-navbar::after{background-image:radial-gradient(ellipse 4px 5.5px at 50% 8px,#7FE0C2 92%,transparent),radial-gradient(ellipse 4px 5.5px at 50% 8px,#FFF6DC 92%,transparent);background-size:128px 14px;background-position:32px 0,96px 0;filter:drop-shadow(0 0 3px rgba(127,224,194,.9));animation:ooxm-twinkle 2.4s ease-in-out -1.2s infinite alternate}
@keyframes ooxm-twinkle{from{opacity:1}to{opacity:.35}}

/* Gift box flying to the cart */
.ooxm-gift{position:fixed;left:0;top:0;width:34px;height:34px;z-index:100000;pointer-events:none;will-change:transform,opacity}
.ooxm-bump{animation:ooxm-bump .45s ease}
@keyframes ooxm-bump{30%{transform:scale(1.25) rotate(-8deg)}60%{transform:scale(.95) rotate(4deg)}}

/* Thank-you page */
.ooxm-thanks{position:relative;overflow:hidden;margin:0 0 24px;padding:26px 24px 22px;border-radius:12px;background:#0F4A3A;background-image:radial-gradient(120% 120% at 85% 0%,#17604B 0%,#0F4A3A 55%,#0A3529 100%);color:var(--ooxm-cream);text-align:center}
.ooxm-thanks p{margin:0;color:inherit;position:relative;z-index:1}
.ooxm-thanks .ooxm-thanks__title{font-size:clamp(20px,3vw,26px);font-weight:800;margin-bottom:6px}
.ooxm-thanks__text{font-size:15px;line-height:1.5;opacity:.92}
.ooxm-thanks__si{margin-top:6px!important;color:#FFE8A8!important;font-size:15px}
.ooxm-thanks__confetti{position:absolute;inset:0;pointer-events:none}
.ooxm-thanks__confetti i{position:absolute;top:-14px;width:7px;height:11px;border-radius:2px;opacity:0;animation:ooxm-fall 2.6s cubic-bezier(.3,.6,.5,1) forwards}
.ooxm-thanks__confetti i:nth-child(4n+1){background:#E8B547}.ooxm-thanks__confetti i:nth-child(4n+2){background:#FF4D5A}.ooxm-thanks__confetti i:nth-child(4n+3){background:#FFF6DC}.ooxm-thanks__confetti i:nth-child(4n){background:#7FE0C2}
.ooxm-thanks__confetti i:nth-child(1){left:11%;animation-delay:0.00s;--r:0deg}
.ooxm-thanks__confetti i:nth-child(2){left:48%;animation-delay:0.08s;--r:67deg}
.ooxm-thanks__confetti i:nth-child(3){left:85%;animation-delay:0.17s;--r:134deg}
.ooxm-thanks__confetti i:nth-child(4){left:22%;animation-delay:0.25s;--r:201deg}
.ooxm-thanks__confetti i:nth-child(5){left:59%;animation-delay:0.33s;--r:268deg}
.ooxm-thanks__confetti i:nth-child(6){left:96%;animation-delay:0.42s;--r:335deg}
.ooxm-thanks__confetti i:nth-child(7){left:33%;animation-delay:0.50s;--r:42deg}
.ooxm-thanks__confetti i:nth-child(8){left:70%;animation-delay:0.58s;--r:109deg}
.ooxm-thanks__confetti i:nth-child(9){left:7%;animation-delay:0.66s;--r:176deg}
.ooxm-thanks__confetti i:nth-child(10){left:44%;animation-delay:0.75s;--r:243deg}
.ooxm-thanks__confetti i:nth-child(11){left:81%;animation-delay:0.83s;--r:310deg}
.ooxm-thanks__confetti i:nth-child(12){left:18%;animation-delay:0.91s;--r:17deg}
.ooxm-thanks__confetti i:nth-child(13){left:55%;animation-delay:1.00s;--r:84deg}
.ooxm-thanks__confetti i:nth-child(14){left:92%;animation-delay:1.08s;--r:151deg}
.ooxm-thanks__confetti i:nth-child(15){left:29%;animation-delay:0.06s;--r:218deg}
.ooxm-thanks__confetti i:nth-child(16){left:66%;animation-delay:0.15s;--r:285deg}
.ooxm-thanks__confetti i:nth-child(17){left:3%;animation-delay:0.23s;--r:352deg}
.ooxm-thanks__confetti i:nth-child(18){left:40%;animation-delay:0.31s;--r:59deg}
.ooxm-thanks__confetti i:nth-child(19){left:77%;animation-delay:0.39s;--r:126deg}
.ooxm-thanks__confetti i:nth-child(20){left:14%;animation-delay:0.48s;--r:193deg}
.ooxm-thanks__confetti i:nth-child(21){left:51%;animation-delay:0.56s;--r:260deg}
.ooxm-thanks__confetti i:nth-child(22){left:88%;animation-delay:0.64s;--r:327deg}
.ooxm-thanks__confetti i:nth-child(23){left:25%;animation-delay:0.73s;--r:34deg}
.ooxm-thanks__confetti i:nth-child(24){left:62%;animation-delay:0.81s;--r:101deg}
.ooxm-thanks__confetti i:nth-child(25){left:99%;animation-delay:0.89s;--r:168deg}
.ooxm-thanks__confetti i:nth-child(26){left:36%;animation-delay:0.98s;--r:235deg}
.ooxm-thanks__confetti i:nth-child(27){left:73%;animation-delay:1.06s;--r:302deg}
.ooxm-thanks__confetti i:nth-child(28){left:10%;animation-delay:0.04s;--r:9deg}
@keyframes ooxm-fall{0%{opacity:1;transform:translateY(0) rotate(0)}85%{opacity:1}100%{opacity:0;transform:translateY(170px) rotate(var(--r,180deg))}}

/* Preview label (admins only) */
.ooxm-preview{position:fixed;left:12px;bottom:12px;z-index:99999;background:var(--ooxm-ink);color:#fff;font-size:12px;padding:8px 10px;border-radius:6px;max-width:300px;line-height:1.4}


@media (prefers-reduced-motion:reduce){
  .ooxm-lights nav.oo-navbar::before,.ooxm-lights nav.oo-navbar::after{animation:none}
  .ooxm-thanks__confetti{display:none}
  .ooxm-badge--loop{transition:none}
}
