/* Strict white welcome preview. The catalog itself keeps its existing theme. */
body:not(.shop-open) {
  background: #ffffff;
  color: #171612;
}

body:not(.shop-open) .welcome {
  min-height: 100vh;
  min-height: 100svh;
  background: #ffffff;
  color: #171612;
  overflow: hidden;
}

body:not(.shop-open) .welcome__fallback,
body:not(.shop-open) .welcome__shade,
body:not(.shop-open) .welcome__grain,
body:not(.shop-open) .welcome__media--image,


body:not(.shop-open) .hero-copy h1,
body:not(.shop-open) .hero-copy__rule {
  display: none !important;
}

body:not(.shop-open) .welcome__content {
  width: min(100%, 560px);
  max-width: 560px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(34px + var(--safe-top)) 24px calc(30px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
  opacity: 1;
  transition: opacity 280ms ease;
}

body:not(.shop-open) .brand-mark {
  position: relative;
  isolation: isolate;
  order: 1;
  width: clamp(210px, 39vw, 280px);
  height: clamp(210px, 39vw, 280px);
  margin: 0;
  display: grid;
  place-items: center;
}

body:not(.shop-open) .brand-mark::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: 50%;
  bottom: 7%;
  width: 82%;
  height: 24%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(247, 190, 50, 0.96) 0%, rgba(237, 172, 26, 0.48) 46%, rgba(237, 172, 26, 0) 76%);
  filter: blur(9px);
  transform: translate(-50%, 30%) scale(0.72);
  transform-origin: center;
  animation: cbd-gold-lift 2.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

body:not(.shop-open) .brand-mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 8%;
  width: 70%;
  height: 18%;
  border: 2px solid rgba(224, 161, 28, 0.72);
  border-radius: 50%;
  transform: translate(-50%, 24%) scale(0.58);
  opacity: 0;
  animation: cbd-gold-ripple 2.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

body:not(.shop-open) .brand-mark__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(37, 30, 12, 0.14));
}

body:not(.shop-open) .brand-mark__placeholder {
  color: #171612;
  border-color: rgba(23, 22, 18, 0.75);
  background: #ffffff;
}

body:not(.shop-open) .hero-copy {
  order: 2;
  width: min(100%, 390px);
  margin: 28px 0 0;
  animation: none;
}

body:not(.shop-open) .hero-copy p {
  margin: 0;
  color: #777164;
  font-family: Manrope, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.025em;
  text-transform: none;
  animation: none;
}

body:not(.shop-open) .hero-copy p br {
  display: none;
}

body:not(.shop-open) .catalog-cta {
  order: 3;
  width: min(100%, 390px);
  margin: 32px 0 0;
  padding: 0;
}

body:not(.shop-open) .catalog-button {
  width: 100%;
  min-height: 60px;
  padding: 0 20px;
  border: 1px solid #d39a1f;
  border-radius: 14px;
  background: linear-gradient(135deg, #f6cc5c 0%, #e6ad2f 54%, #d99617 100%);
  box-shadow: 0 13px 28px rgba(182, 128, 19, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.58);
  color: #171612;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
  transform: none;
}

body:not(.shop-open) .catalog-button:hover {
  background: linear-gradient(135deg, #f8d36e 0%, #eab43a 54%, #dd9c1b 100%);
  transform: translateY(-1px);
}

body:not(.shop-open) .catalog-button:active {
  transform: translateY(1px) scale(0.995);
}

body:not(.shop-open) .catalog-button:focus-visible {
  outline: 3px solid rgba(220, 157, 24, 0.28);
  outline-offset: 4px;
}

body:not(.shop-open) .catalog-button__icon,
body:not(.shop-open) .catalog-button__arrow {
  stroke: currentColor;
}

body:not(.shop-open) .welcome__media#background-video {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  background: #ffffff;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 480ms ease;
}

html.has-mobile-preview-video body:not(.shop-open) .welcome__media#background-video.is-ready {
  display: block !important;
}

html.has-mobile-preview-video:not(.preview-video-complete) body:not(.shop-open) .welcome__media#background-video.is-ready {
  opacity: 1;
}

html.has-mobile-preview-video:not(.preview-video-complete) body:not(.shop-open) .welcome__content {
  opacity: 0;
  pointer-events: none;
}

html.preview-video-complete body:not(.shop-open) .welcome__media#background-video.is-ready {
  opacity: 0;
}

html.preview-video-complete body:not(.shop-open) .welcome__content {
  animation: none;
}

html.preview-desktop body:not(.shop-open) .welcome__media#background-video {
  display: none !important;
}

@keyframes cbd-gold-lift {
  0%, 100% {
    opacity: 0.5;
    transform: translate(-50%, 32%) scale(0.72);
  }
  48% {
    opacity: 1;
    transform: translate(-50%, 4%) scale(1.05);
  }
}

@keyframes cbd-gold-ripple {
  0% {
    opacity: 0;
    transform: translate(-50%, 30%) scale(0.55);
  }
  28% {
    opacity: 0.75;
  }
  72%, 100% {
    opacity: 0;
    transform: translate(-50%, -12%) scale(1.2);
  }
}

@keyframes cbd-preview-reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  body:not(.shop-open) .welcome__content {
    width: 100%;
    padding: calc(26px + var(--safe-top)) 22px calc(24px + var(--safe-bottom));
  }

  body:not(.shop-open) .brand-mark {
    width: clamp(196px, 56vw, 238px);
    height: clamp(196px, 56vw, 238px);
  }

  body:not(.shop-open) .hero-copy {
    margin-top: 24px;
  }

  body:not(.shop-open) .catalog-cta {
    margin-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.shop-open) .brand-mark::before,
  body:not(.shop-open) .brand-mark::after,
  html.preview-video-complete body:not(.shop-open) .welcome__content {
    animation: none;
  }

  body:not(.shop-open) .brand-mark::before {
    opacity: 0.8;
    transform: translate(-50%, 10%) scale(0.92);
  }
}

body:not(.shop-open) .advantages {
  order: 4;
  width: min(100%, 520px);
  margin: 36px 0 0;
  padding: 0;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  transform: none;
}

body:not(.shop-open) .advantages li {
  min-width: 0;
  padding: 0 10px;
  gap: 8px;
  color: #686257;
  font-family: Manrope, Arial, sans-serif;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.25;
}

body:not(.shop-open) .advantages li + li::before {
  top: 12%;
  height: 76%;
  background: linear-gradient(transparent, rgba(194, 140, 33, 0.32), transparent);
}

body:not(.shop-open) .advantages svg {
  width: 38px;
  color: #bd861b;
  stroke-width: 1.75;
  filter: drop-shadow(0 4px 7px rgba(190, 132, 18, 0.14));
}

@media (max-width: 640px) {
  body:not(.shop-open) .advantages {
    margin-top: 30px;
  }

  body:not(.shop-open) .advantages li {
    padding-inline: 4px;
    gap: 6px;
    font-size: 10px;
  }

  body:not(.shop-open) .advantages svg {
    width: 34px;
  }
}

@media (max-height: 700px) {
  body:not(.shop-open) .brand-mark {
    width: 176px;
    height: 176px;
  }

  body:not(.shop-open) .hero-copy {
    margin-top: 18px;
  }

  body:not(.shop-open) .catalog-cta {
    margin-top: 20px;
  }

  body:not(.shop-open) .advantages {
    margin-top: 22px;
  }

  body:not(.shop-open) .advantages li {
    gap: 4px;
    font-size: 9px;
  }

  body:not(.shop-open) .advantages svg {
    width: 30px;
  }
}
