/* v6.0.204 — Christmas background refinement + cleaner nav lights/spacing.
   Only applies when Christmas theme is active. No ordering/payment logic touched. */

/* Use a less-blurred Christmas tree background so the tree shape still reads. */
html.otml-season-christmas #otmlChristmasBackdrop{
  background:#11070b url('./otml-christmas-tree-soft-mobile-v204.webp') center center/cover no-repeat!important;
}
html.otml-season-christmas #otmlChristmasBackdrop:after{
  background:linear-gradient(180deg,rgba(11,2,5,.30) 0%,rgba(26,4,10,.28) 46%,rgba(21,3,8,.42) 100%)!important;
}
@media (min-width:801px){
  html.otml-season-christmas #otmlChristmasBackdrop{
    background-image:url('./otml-christmas-tree-soft-desktop-v204.webp')!important;
    background-position:center center!important;
  }
}

/* Keep the snow/glitter refined and a little smaller. */
html.otml-season-christmas #otmlSeasonSnow .otml-snow-speck{
  box-shadow:0 0 2px rgba(255,250,239,.42),0 0 5px rgba(255,225,167,.18)!important;
}
html.otml-season-christmas #otmlSeasonSnow .otml-snow-flake,
html.otml-season-christmas #otmlSeasonSnow .otml-snow-star{
  text-shadow:0 0 3px rgba(255,250,232,.45)!important;
}

/* Cleaner nav container: less empty space and consistent inner spacing. */
@media (max-width:760px){
  html.otml-season-christmas body:not(.otml-mode-staff){
    padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))!important;
  }
  html.otml-season-christmas body:not(.otml-mode-staff)>#otmlCustomerFixedNav,
  html.otml-season-christmas body:not(.otml-mode-staff)>#publicMobileNav,
  html.otml-season-christmas body.otml-mode-staff>.otml-hub-tabs{
    left:0!important;right:0!important;bottom:0!important;
    width:100%!important;max-width:100vw!important;
    margin:0!important;
    padding:7px 8px calc(8px + env(safe-area-inset-bottom,0px))!important;
    gap:4px!important;
    border-radius:21px 21px 0 0!important;
    border:1px solid rgba(234,197,127,.80)!important;
    border-bottom:0!important;
    box-shadow:0 -8px 28px rgba(17,6,8,.34)!important;
    min-height:0!important;max-height:none!important;height:auto!important;
    overflow:visible!important;
    background:linear-gradient(180deg,rgba(126,4,39,.92),rgba(109,4,34,.96))!important;
    backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;
    box-sizing:border-box!important;
  }

  html.otml-season-christmas body:not(.otml-mode-staff)>#otmlCustomerFixedNav button,
  html.otml-season-christmas body:not(.otml-mode-staff)>#publicMobileNav button{
    min-height:58px!important;height:58px!important;max-height:58px!important;
    padding:6px 1px!important;border-radius:13px!important;gap:4px!important;
  }
  html.otml-season-christmas body.otml-mode-staff>.otml-hub-tabs button{
    min-height:56px!important;height:56px!important;max-height:56px!important;
    padding:6px 2px!important;border-radius:13px!important;gap:4px!important;
  }
  html.otml-season-christmas body:not(.otml-mode-staff)>#otmlCustomerFixedNav .otml-mobile-nav-label,
  html.otml-season-christmas body:not(.otml-mode-staff)>#publicMobileNav .otml-mobile-nav-label,
  html.otml-season-christmas body.otml-mode-staff>.otml-hub-tabs button::after{
    font-size:9px!important;line-height:1.08!important;
  }

  /* Replace the messy SVG edge lights with a cleaner full-perimeter bulb loop. */
  html.otml-season-christmas body:not(.otml-mode-staff)>#otmlCustomerFixedNav::before,
  html.otml-season-christmas body:not(.otml-mode-staff)>#publicMobileNav::before,
  html.otml-season-christmas body.otml-mode-staff>.otml-hub-tabs::before{
    content:""!important;
    position:absolute!important;
    inset:3px!important;
    border-radius:inherit!important;
    pointer-events:none!important;
    z-index:4!important;
    background:
      radial-gradient(circle at 9px 4px, rgba(255,244,196,.96) 0 2px, rgba(255,233,171,.85) 2px 3px, transparent 3.4px) left top/18px 8px repeat-x,
      radial-gradient(circle at 9px 4px, rgba(255,244,196,.96) 0 2px, rgba(255,233,171,.85) 2px 3px, transparent 3.4px) left bottom/18px 8px repeat-x,
      radial-gradient(circle at 4px 9px, rgba(255,244,196,.96) 0 2px, rgba(255,233,171,.85) 2px 3px, transparent 3.4px) left top/8px 18px repeat-y,
      radial-gradient(circle at 4px 9px, rgba(255,244,196,.96) 0 2px, rgba(255,233,171,.85) 2px 3px, transparent 3.4px) right top/8px 18px repeat-y!important;
    opacity:.95!important;
  }
  html.otml-season-christmas body:not(.otml-mode-staff)>#otmlCustomerFixedNav::after,
  html.otml-season-christmas body:not(.otml-mode-staff)>#publicMobileNav::after,
  html.otml-season-christmas body.otml-mode-staff>.otml-hub-tabs::after{
    content:""!important;
    position:absolute!important;
    inset:3px!important;
    border-radius:inherit!important;
    pointer-events:none!important;
    z-index:5!important;
    background:
      radial-gradient(circle at 9px 4px, rgba(255,250,214,.55) 0 3px, transparent 3.8px) left top/18px 8px repeat-x,
      radial-gradient(circle at 9px 4px, rgba(255,250,214,.55) 0 3px, transparent 3.8px) left bottom/18px 8px repeat-x,
      radial-gradient(circle at 4px 9px, rgba(255,250,214,.55) 0 3px, transparent 3.8px) left top/8px 18px repeat-y,
      radial-gradient(circle at 4px 9px, rgba(255,250,214,.55) 0 3px, transparent 3.8px) right top/8px 18px repeat-y!important;
    filter:blur(.45px) drop-shadow(0 0 2px rgba(255,224,150,.38))!important;
    animation:otmlNavTwinkle204 2.6s ease-in-out infinite alternate!important;
    opacity:.68!important;
  }
  @keyframes otmlNavTwinkle204{
    0%{opacity:.34;filter:blur(.3px) drop-shadow(0 0 1px rgba(255,216,140,.18))}
    55%{opacity:.84;filter:blur(.5px) drop-shadow(0 0 3px rgba(255,230,175,.46))}
    100%{opacity:.52;filter:blur(.4px) drop-shadow(0 0 2px rgba(255,223,150,.28))}
  }
}

@media (prefers-reduced-motion:reduce){
  html.otml-season-christmas body:not(.otml-mode-staff)>#otmlCustomerFixedNav::after,
  html.otml-season-christmas body:not(.otml-mode-staff)>#publicMobileNav::after,
  html.otml-season-christmas body.otml-mode-staff>.otml-hub-tabs::after{
    animation:none!important;opacity:.45!important;
  }
}
