/* Gift off the tree (Chris, 15 Nov 2026). Shared by the Shop Aveda drawer and the 35 Years, 35 Gifts order form; see tree_fx.js. */
.mxt{position:relative;overflow:hidden;display:grid;grid-template-columns:132px 1fr;gap:18px;align-items:center;color:#fff;text-align:left;
  background:radial-gradient(120% 140% at 20% 10%,#22573f 0,#16362A 45%,#0E251C 100%);border-radius:8px;padding:18px 20px 16px 12px;
  font-family:'Montserrat','Helvetica Neue',Arial,sans-serif;hyphens:none;-webkit-hyphens:none}
.mxt p{margin:0}
.mxt-eb{font-weight:600;font-size:11px;line-height:1.3;letter-spacing:.16em;text-transform:uppercase;color:#BFE3C8;margin:0 0 6px!important}
.mxt-h{font-family:'Playfair Display',Georgia,serif;font-weight:500;font-size:22px;line-height:1.15;margin:0 0 6px!important;color:#fff}
.mxt-p{font-size:13.5px;line-height:1.45;color:rgba(255,255,255,.86)}
.mxt-pic{position:relative;width:132px;height:156px}
.mxt-pic svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.mxt-tier{transform-box:fill-box;transform-origin:50% 100%}
.mxt-star{position:absolute;left:50%;top:-4%;margin-left:-11px;width:22px;text-align:center;font-size:22px;line-height:1;color:#fff;
  text-shadow:0 0 8px #fff,0 0 18px rgba(255,230,160,.9);animation:mxt-starglow 1.8s ease-in-out infinite alternate}
.mxt-light{position:absolute;width:5px;height:5px;margin:-2px 0 0 -2px;border-radius:50%;background:var(--lc);box-shadow:0 0 6px var(--lc);
  animation:mxt-twinkle 1.6s ease-in-out infinite;animation-delay:var(--ld)}
.mxt-hang{position:absolute;width:0;height:0}
.mxt-orn{position:absolute;left:-10px;top:-10px;width:20px;height:20px;border-radius:50%;border:1.5px solid rgba(255,255,255,.95);padding:0;cursor:pointer;
  background:radial-gradient(circle at 34% 30%,rgba(255,255,255,.95) 0 11%,transparent 13%),radial-gradient(circle at 50% 50%,var(--c) 0 60%,rgba(0,0,0,.18) 100%);
  transform-origin:50% -6px;transition:scale .18s ease,opacity .3s;
  animation:mxt-sway 2.2s ease-in-out infinite alternate,mxt-glow 2.6s ease-in-out infinite;animation-delay:var(--sd),var(--gd)}
.mxt-orn::before{content:'';position:absolute;left:50%;top:-6px;width:6px;height:4px;margin-left:-3px;background:#d9d9d9;border-radius:1px}
.mxt-orn:hover,.mxt-orn:focus-visible{scale:1.35;outline:none}
.mxt-opened .mxt-orn{cursor:default;animation:mxt-sway 2.2s ease-in-out infinite alternate;animation-delay:var(--sd)}
.mxt-opened .mxt-orn:hover{scale:1}
.mxt-gonehang{display:none}
.mxt-hush .mxt-orn:not(.mxt-charge){opacity:.35}
.mxt-orn.mxt-charge{animation:mxt-charge .52s cubic-bezier(.5,0,.75,1) forwards!important;z-index:3}
.mxt-snow{position:absolute;top:-8px;width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.8);pointer-events:none;
  animation:mxt-fall var(--fs) linear infinite;animation-delay:var(--fd)}
.mxt-copy{position:relative;z-index:1}
/* the gift */
.mxt-gift{display:grid;grid-template-columns:92px 1fr;gap:14px;align-items:center}
.mxt-stage{position:relative;width:92px;height:92px}
.mxt-rays{position:absolute;inset:-26px;border-radius:50%;
  background:repeating-conic-gradient(rgba(255,240,200,.5) 0 9deg,transparent 9deg 24deg);
  -webkit-mask:radial-gradient(circle,#000 18%,transparent 68%);mask:radial-gradient(circle,#000 18%,transparent 68%);animation:mxt-spin 9s linear infinite}
.mxt-stage::after{content:'';position:absolute;inset:6px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.55),transparent 70%)}
.mxt-tube{position:absolute;top:4px;height:84px;width:auto;z-index:1;filter:drop-shadow(0 4px 6px rgba(0,0,0,.35))}
.mxt-a{left:16px;transform:rotate(-12deg)}.mxt-b{left:42px;transform:rotate(11deg)}
.mxt-spk{position:absolute;left:var(--sx);top:var(--sy);width:12px;height:12px;margin:-6px 0 0 -6px;z-index:2;
  background:#fff;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);animation:mxt-spark 1.4s ease-in-out infinite;animation-delay:var(--sk)}
/* entrance: the tree grows, the star spins on, the ornaments drop onto the branches */
.mxt-enter{animation:mxt-in .5s cubic-bezier(.2,1.3,.4,1) both}
.mxt-enter .mxt-t3{animation:mxt-grow .45s cubic-bezier(.2,1.4,.4,1) .12s both}
.mxt-enter .mxt-t2{animation:mxt-grow .45s cubic-bezier(.2,1.4,.4,1) .26s both}
.mxt-enter .mxt-t1{animation:mxt-grow .45s cubic-bezier(.2,1.4,.4,1) .4s both}
.mxt-enter .mxt-star{animation:mxt-starin .6s cubic-bezier(.2,1.5,.4,1) .55s both,mxt-starglow 1.8s ease-in-out 1.2s infinite alternate}
.mxt-enter .mxt-light{animation:mxt-fade .4s ease .7s both,mxt-twinkle 1.6s ease-in-out 1.1s infinite}
.mxt-enter .mxt-hang{animation:mxt-drop .6s cubic-bezier(.25,1.7,.45,1) var(--dd) both}
.mxt-enter .mxt-copy{animation:mxt-up .5s ease .9s both}
/* reveal */
.mxt-reveal .mxt-stage{animation:mxt-pop .75s cubic-bezier(.2,1.7,.4,1) both}
.mxt-reveal .mxt-rays{animation:mxt-fade .6s ease .1s both,mxt-spin 9s linear infinite}
.mxt-reveal .mxt-a{animation:mxt-tubea .6s cubic-bezier(.2,1.6,.4,1) .2s both}
.mxt-reveal .mxt-b{animation:mxt-tubeb .6s cubic-bezier(.2,1.6,.4,1) .34s both}
.mxt-reveal .mxt-gift>div:last-child{animation:mxt-up .5s ease .45s both}
.mxt-jolt{animation:mxt-jolt .6s cubic-bezier(.36,.07,.19,.97) both}
/* screen effects */
.mxt-fx{position:fixed;inset:0;z-index:2147483000;pointer-events:none}
.mxt-fx canvas{position:absolute;inset:0}
.mxt-flash{position:absolute;width:40px;height:40px;margin:-20px 0 0 -20px;border-radius:50%;
  background:radial-gradient(circle,#fff 0,rgba(255,250,230,.95) 30%,rgba(255,220,200,.4) 60%,transparent 72%);animation:mxt-flash .7s ease-out forwards}
.mxt-ring{position:absolute;width:30px;height:30px;margin:-15px 0 0 -15px;border-radius:50%;border:3px solid #fff;animation:mxt-ring .7s ease-out forwards}
.mxt-ring2{border-color:#C13C43;animation-delay:.1s;opacity:0}
@keyframes mxt-sway{from{transform:rotate(-8deg)}to{transform:rotate(8deg)}}
@keyframes mxt-glow{0%,70%,100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}80%{box-shadow:0 0 0 6px rgba(255,255,255,.35),0 0 14px 4px var(--c)}}
@keyframes mxt-twinkle{0%,100%{opacity:.35;transform:scale(.8)}50%{opacity:1;transform:scale(1.25)}}
@keyframes mxt-starglow{from{transform:scale(1)}to{transform:scale(1.18)}}
@keyframes mxt-starin{from{transform:scale(0) rotate(-200deg);opacity:0}to{transform:scale(1) rotate(0)}}
@keyframes mxt-grow{from{transform:scaleY(0) scaleX(.6);opacity:0}to{transform:none;opacity:1}}
@keyframes mxt-drop{from{transform:translateY(-70px);opacity:0}60%{opacity:1}to{transform:none;opacity:1}}
@keyframes mxt-in{from{transform:scale(.85) translateY(10px);opacity:0}to{transform:none;opacity:1}}
@keyframes mxt-up{from{transform:translateY(10px);opacity:0}to{transform:none;opacity:1}}
@keyframes mxt-fade{from{opacity:0}to{opacity:1}}
@keyframes mxt-fall{from{transform:translateY(0)}to{transform:translateY(240px)}}
@keyframes mxt-charge{0%{transform:scale(1)}20%{transform:scale(1.5) rotate(-14deg)}35%{transform:scale(1.7) rotate(14deg)}50%{transform:scale(1.9) rotate(-16deg)}
  65%{transform:scale(2.2) rotate(16deg)}80%{transform:scale(2.5) rotate(-10deg)}100%{transform:scale(3.2);opacity:0}}
@keyframes mxt-flash{0%{transform:scale(0);opacity:1}60%{opacity:.9}100%{transform:scale(30);opacity:0}}
@keyframes mxt-ring{0%{transform:scale(0);opacity:1}100%{transform:scale(14);opacity:0}}
@keyframes mxt-jolt{10%,90%{transform:translate(-2px,1px)}20%,80%{transform:translate(4px,-2px)}30%,50%,70%{transform:translate(-6px,2px)}40%,60%{transform:translate(6px,-1px)}}
@keyframes mxt-pop{0%{transform:scale(.1) rotate(-25deg);opacity:0}60%{opacity:1}100%{transform:none;opacity:1}}
@keyframes mxt-tubea{from{transform:translateY(-40px) rotate(-60deg) scale(.4);opacity:0}to{transform:rotate(-12deg);opacity:1}}
@keyframes mxt-tubeb{from{transform:translateY(-40px) rotate(60deg) scale(.4);opacity:0}to{transform:rotate(11deg);opacity:1}}
@keyframes mxt-spin{to{transform:rotate(360deg)}}
@keyframes mxt-spark{0%,100%{transform:scale(.2) rotate(0);opacity:0}50%{transform:scale(1) rotate(45deg);opacity:1}}
/* stacks when the card's own column is narrow (the 35 Gifts order column, a phone drawer) */
.mxt-wrap{container-type:inline-size}
@container (max-width:400px){.mxt{grid-template-columns:1fr;justify-items:center;text-align:center;padding:20px 16px 20px}
  .mxt-pic{width:170px;height:200px}.mxt-orn{left:-12px;top:-12px;width:24px;height:24px}.mxt-star{font-size:28px;margin-left:-14px;width:28px}
  .mxt-light{width:6px;height:6px}
  .mxt-gift{grid-template-columns:1fr;justify-items:center}.mxt-stage{margin:8px auto 12px;width:120px;height:120px}.mxt-tube{height:110px}.mxt-a{left:22px}.mxt-b{left:56px}
  .mxt-h{font-size:22px}}
/* Reduce Motion (Chris, 15 Nov 2026): only the looping motion stops; the entrance, the pop, the burst and the reveal still play */
@media (prefers-reduced-motion:reduce){.mxt-snow{display:none}.mxt-light{animation:none!important;opacity:.9}
  .mxt-orn{animation:none!important}.mxt-orn.mxt-charge{animation:mxt-charge .52s cubic-bezier(.5,0,.75,1) forwards!important}
  .mxt-star{animation:none!important}.mxt-enter .mxt-star{animation:mxt-starin .6s cubic-bezier(.2,1.5,.4,1) .55s both!important}
  .mxt-spk{animation:none!important;opacity:.9}.mxt-rays,.mxt-reveal .mxt-rays{animation:mxt-fade .6s ease .1s both!important}}
