/* Seasonal shipping messages, shown only while the Christmas theme is active. */
.holiday-shipping {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  padding: 14px 18px;
  border: 1px solid #bda97d70;
  border-radius: 10px;
  background: #edf2e9;
  color: #123d33;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.holiday-shipping__icon {
  flex: 0 0 auto;
  color: #92733e;
  font-size: 17px;
}
.holiday-shipping--banner {
  justify-content: center;
  margin: 0;
  padding: 10px 24px;
  border: 0;
  border-bottom: 1px solid #d8b77c40;
  border-radius: 0;
  background: #123d33;
  color: #fff4dc;
  text-align: center;
}
.holiday-shipping--banner .holiday-shipping__icon {
  color: #e6c889;
}
@media (max-width: 575px) {
  .holiday-shipping {
    gap: 10px;
    padding: 12px 14px;
    font-size: 13px;
  }
  .holiday-shipping--banner {
    padding: 9px 16px;
    font-size: 12px;
  }
}

/* Optional Christmas artwork for the subscription box below the homepage hero. */
body.doriano-discovery .product-stage .dbox-plan__top.dbox-plan__top--christmas {
  min-height: 0;
  height: auto;
  width: 100%;
  padding: 30px 12px;
}
body.doriano-discovery .product-stage .dbox-plan__top.dbox-plan__top--christmas::before,
body.doriano-discovery .product-stage .dbox-plan__top.dbox-plan__top--christmas::after {
  content: none;
}
.christmas-scene {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  position: relative;
  padding-top: 80px;
  isolation: isolate;
}
.christmas-ornament {
  position: relative;
  width: 88%;
  margin-inline: auto;
  transform-origin: 50% -75px;
  animation: christmas-sway 8s ease-in-out infinite;
}
.christmas-ornament__thread {
  position: absolute;
  bottom: calc(100% + 50px);
  left: calc(50% - 1px);
  width: 2px;
  height: 32px;
  background: linear-gradient(90deg, #8b6331, #f4dfad, #a67b3d);
}
.christmas-ornament__loop {
  position: absolute;
  z-index: 2;
  top: -52px;
  left: calc(50% - 12px);
  width: 24px;
  height: 30px;
  border: 3px solid #daba7b;
  border-radius: 50%;
  box-shadow: inset 1px 0 1px #fff4ce, 1px 0 2px #0008;
}
.christmas-ornament__cap {
  position: absolute;
  z-index: 3;
  top: -27px;
  left: 42%;
  width: 16%;
  height: 36px;
  border: 1px solid #f7db9e;
  border-radius: 8px 8px 4px 4px;
  background:
    repeating-linear-gradient(90deg, transparent 0 5px, #68431255 6px, #fff1c660 8px),
    linear-gradient(90deg, #95703c, #ffe6a8 38%, #bb914e 75%, #745127);
  box-shadow: 0 4px 8px #001b2380, inset 0 4px 0 #fff1c666;
}
.christmas-ornament__bow {
  position: absolute;
  z-index: 5;
  top: -42px;
  left: calc(50% - 10px);
  width: 20px;
  height: 24px;
  border-radius: 5px;
  background: linear-gradient(100deg, #6b132e, #cc6176 42%, #83223f);
  box-shadow: 0 2px 4px #16091270;
  transform: rotate(-8deg);
}
.christmas-ornament__bow::before,
.christmas-ornament__bow::after {
  content: "";
  position: absolute;
  top: -14px;
  width: 61px;
  height: 39px;
  border: 1px solid #d77b8155;
  background: linear-gradient(155deg, #d97889, #90203f 48%, #4e1027);
  box-shadow: inset 0 3px 5px #f9a2a730, 0 4px 5px #031d2450;
}
.christmas-ornament__bow::before {
  right: 15px;
  border-radius: 12px 65% 8px 65%;
  transform: rotate(12deg);
}
.christmas-ornament__bow::after {
  left: 15px;
  border-radius: 65% 12px 65% 8px;
  transform: rotate(-12deg);
}
.christmas-ornament__ribbon {
  position: absolute;
  z-index: 4;
  top: -26px;
  left: 50%;
  width: 72px;
  height: 84px;
  background: linear-gradient(105deg, #58102c, #be4c69 38%, #751b39 60%, #ce647d);
  clip-path: polygon(30% 0, 60% 0, 100% 85%, 75% 78%, 65% 100%, 43% 35%, 25% 95%, 15% 75%, 0 80%);
  transform: translateX(-50%) rotate(-8deg);
}
.christmas-ornament__glass {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  isolation: isolate;
  border-radius: 50%;
  border: 1px solid #f7e6c89c;
  background:
    url('../imgs/christmas-ornament-background.svg') center / cover no-repeat,
    #123d33;
  box-shadow: inset 9px 4px 20px #fff2d53d, inset -12px -16px 28px #001f2599,
    inset 0 0 0 7px #e7eee512, 0 28px 40px -15px #00191dc0, 0 0 55px #dac58c12;
}
.christmas-ornament__glass::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 27% 13%, #fffdf685 0, #fffdf630 9%, transparent 27%),
    radial-gradient(ellipse at 90% 60%, #fff5d931, transparent 18%);
  box-shadow: inset 3px 2px 5px #fff8df99, inset -6px -3px 10px #d3e6d455;
}
.christmas-ornament__glass::after {
  content: "";
  position: absolute;
  z-index: 4;
  width: 24%;
  height: 48%;
  top: 8%;
  left: 9%;
  border-left: 6px solid #fffdf675;
  border-radius: 50%;
  transform: rotate(34deg);
  filter: blur(1px);
  pointer-events: none;
}
.christmas-ornament__gift {
  position: absolute;
  z-index: 1;
  top: 23%;
  left: 15%;
  width: 70%;
  height: auto;
  max-height: 65%;
  object-fit: contain;
  border: 1px solid #f5e6cd;
  border-radius: 3px;
  transform: rotate(-9deg);
  box-shadow: 7px 10px 0 #ece7da35, 0 22px 26px #001a2866;
  transition: transform .35s ease;
}
.christmas-ornament__glass:hover .christmas-ornament__gift {
  transform: rotate(-5deg) translateY(-3px);
}
.christmas-ornament__snow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 22% at 50% 105%, #f4f0e3 0, #d7e2d9 95%, transparent 100%),
    radial-gradient(circle at 18% 35%, #fff8 1px, transparent 2px),
    radial-gradient(circle at 75% 25%, #fffb 1.5px, transparent 2.5px),
    radial-gradient(circle at 80% 67%, #fffb 1.5px, transparent 2.5px),
    radial-gradient(circle at 30% 78%, #fffc 2px, transparent 3px);
}
.christmas-ornament__snowflakes {
  position: absolute;
  z-index: 2;
  inset: 0;
  color: #fff2d5;
  pointer-events: none;
}
.christmas-ornament__snowflakes i {
  position: absolute;
  font: normal 23px Georgia, serif;
  text-shadow: 0 0 12px #fce4ae80;
}
.christmas-ornament__snowflakes i:nth-child(1) { left: 18%; top: 15%; font-size: 27px; }
.christmas-ornament__snowflakes i:nth-child(2) { right: 22%; top: 14%; }
.christmas-ornament__snowflakes i:nth-child(3) { right: 9%; top: 52%; font-size: 19px; }
.christmas-ornament__snowflakes i:nth-child(4) { left: 10%; top: 57%; font-size: 15px; }
.christmas-ornament__snowflakes i:nth-child(5) { left: 28%; bottom: 14%; }
.christmas-ornament__brand {
  position: absolute;
  z-index: 2;
  bottom: 7%;
  left: 0;
  width: 100%;
  text-align: center;
  font: 10px Georgia, serif;
  letter-spacing: .42em;
  color: #38574b;
}
@keyframes christmas-sway {
  0%, 100% { transform: rotate(-1.5deg); }
  50% { transform: rotate(1.5deg); }
}
@media (max-width: 767px) {
  .christmas-scene { max-width: 440px; }
  .christmas-scene { padding-top: 72px; }
  .christmas-ornament__glass::after { border-left-width: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .christmas-ornament { animation: none; }
  .christmas-ornament__gift { transition: none; }
}
