/* RAMEN68 x Westamart — Fortune Sun Lite theme
   Sunflower gold / amber / crimson / sky field aesthetic */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;800&family=Sora:wght@500;700;800&display=swap');

:root {
  --ft-gold: #ffd000;
  --ft-amber: #ff9a1f;
  --ft-crimson: #c40018;
  --ft-crimson-deep: #7a0010;
  --ft-sky: #4eb7ff;
  --ft-leaf: #2f9e3a;
  --ft-ink: #140808;
  --ft-cream: #fff7df;
  --ft-glow: 0 0 20px rgba(255, 208, 0, 0.55), 0 0 48px rgba(196, 0, 24, 0.4);
}

@keyframes fortuneAurora {
  0% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
  100% { background-position: 0% 40%; }
}

@keyframes fortuneGlow {
  0%, 100% {
    box-shadow: 0 0 14px rgba(255, 208, 0, 0.4), 0 0 30px rgba(196, 0, 24, 0.35);
  }
  50% {
    box-shadow: 0 0 34px rgba(255, 208, 0, 0.95), 0 0 70px rgba(255, 154, 31, 0.55), 0 0 40px rgba(196, 0, 24, 0.5);
  }
}

@keyframes fortuneSweep {
  0% { left: -160%; }
  100% { left: 180%; }
}

@keyframes fortuneBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(0.4deg); }
}

@keyframes fortuneRibbon {
  0% { transform: translateX(-8%) rotate(-2deg); }
  50% { transform: translateX(8%) rotate(2deg); }
  100% { transform: translateX(-8%) rotate(-2deg); }
}

html, body#teepublic, body {
  font-family: 'Sora', 'Segoe UI', sans-serif !important;
  color: var(--ft-cream) !important;
  background:
    radial-gradient(circle at 12% 15%, rgba(255, 208, 0, 0.3), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(78, 183, 255, 0.28), transparent 38%),
    radial-gradient(circle at 70% 85%, rgba(47, 158, 58, 0.22), transparent 45%),
    linear-gradient(130deg, #7a0010 0%, #c40018 25%, #ff9a1f 55%, #1d4f8c 100%) !important;
  background-size: 220% 220% !important;
  animation: fortuneAurora 14s ease infinite !important;
  overflow-x: auto !important;
}

body::before {
  content: "";
  position: fixed;
  inset: -10%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 208, 0, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.12) 0 1.5px, transparent 3px);
  background-size: 48px 48px, 36px 36px;
  opacity: 0.55;
  animation: fortuneAurora 20s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  top: 8%;
  left: -5%;
  width: 55vw;
  height: 120px;
  background: linear-gradient(90deg, transparent, rgba(196, 0, 24, 0.45), rgba(255, 208, 0, 0.35), transparent);
  filter: blur(18px);
  transform: rotate(-8deg);
  pointer-events: none;
  z-index: 0;
  animation: fortuneRibbon 9s ease-in-out infinite;
}

.m-top-banner,
.vc-header,
.main-wrapper,
.m-design,
.m-footer,
.m-design__additional-info-container {
  position: relative;
  z-index: 1;
}

.m-top-banner {
  background: linear-gradient(90deg, #7a0010, #c40018, #ffd000, #ff9a1f, #c40018) !important;
  background-size: 320% 100% !important;
  animation: fortuneAurora 7s linear infinite, fortuneGlow 3s ease-in-out infinite !important;
  border-bottom: 3px solid #ffd000 !important;
  clip-path: polygon(0 0, 100% 0, 96.5% 100%, 3.5% 100%);
}

.m-top-banner strong,
.m-top-banner .free-shipping {
  color: #fff7df !important;
  font-family: 'Orbitron', sans-serif !important;
  letter-spacing: 0.05em !important;
  text-shadow: 0 0 14px rgba(255, 208, 0, 0.85), 0 2px 0 #5a000c !important;
}

.vc-header,
.vc-header.jsHead {
  background: linear-gradient(180deg, rgba(122, 0, 16, 0.95), rgba(20, 8, 8, 0.88)) !important;
  backdrop-filter: blur(18px) saturate(1.35) !important;
  border-bottom: 1px solid rgba(255, 208, 0, 0.5) !important;
  box-shadow: 0 12px 36px rgba(196, 0, 24, 0.4) !important;
}

.vc-header-logo__image {
  filter: drop-shadow(0 0 16px rgba(255, 208, 0, 0.8)) !important;
  animation: fortuneBob 5s ease-in-out infinite !important;
}

.m-header__search-field,
.form__control.m-header__search-field {
  background: rgba(255, 247, 223, 0.1) !important;
  border: 1px solid rgba(255, 208, 0, 0.55) !important;
  border-radius: 18px !important;
  color: var(--ft-cream) !important;
  box-shadow: inset 0 0 20px rgba(255, 154, 31, 0.15) !important;
}

.main-wrapper,
.main-wrapper.overflow-hidden {
  background:
    linear-gradient(170deg, rgba(20, 8, 8, 0.62), rgba(196, 0, 24, 0.28)),
    url('../img/westamart-fortune-300.webp') center top / cover no-repeat fixed !important;
  padding: 30px 14px 90px !important;
  overflow: visible !important;
  overflow-x: visible !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.contain.contain--wide-3,
.m-design,
.m-design__content {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

.m-design__content {
  display: block !important;
}

@media (min-width: 769px) {
  .m-design__product {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr) !important;
    grid-template-areas: "preview title" "preview options" !important;
    grid-column-gap: 28px !important;
    align-items: start !important;
  }
}

.m-design__preview,
.m-product-preview,
.m-product-preview__main,
.m-product-preview__gallery {
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.m-product-preview__glider-img img,
.preview .jsProductMainImage,
.glide__slide img {
  max-width: 100% !important;
  height: auto !important;
  box-sizing: border-box !important;
}

.m-design__options,
.m-design-details__title {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

.m-design__product {
  background:
    linear-gradient(150deg, rgba(196, 0, 24, 0.55), rgba(20, 8, 8, 0.78)),
    radial-gradient(circle at 80% 0%, rgba(255, 208, 0, 0.28), transparent 50%) !important;
  border-radius: 32px 12px 32px 12px !important;
  border: 2px solid rgba(255, 208, 0, 0.55) !important;
  padding: 24px !important;
  box-shadow: var(--ft-glow) !important;
  backdrop-filter: blur(16px) !important;
  overflow: visible !important;
  position: relative !important;
  animation: fortuneGlow 3.6s ease-in-out infinite !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.m-design__product::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 208, 0, 0.18) 50%, transparent 65%);
  background-size: 220% 220%;
  animation: fortuneAurora 6s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.m-design__product::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: fortuneSweep 3.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.m-design__product > * {
  position: relative;
  z-index: 1;
}

.h__h1--sm,
.m-design-details__title h1,
h1[style*="text-align: center"] {
  font-family: 'Orbitron', sans-serif !important;
  background: linear-gradient(90deg, #fff7df, #ffd000, #ff9a1f, #ffd000, #fff7df) !important;
  background-size: 240% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  animation: fortuneAurora 4.5s linear infinite !important;
  filter: drop-shadow(0 0 12px rgba(255, 208, 0, 0.5));
}

.m-design__price,
.m-design__price--sale,
.m-design__price--regular {
  color: #ffd000 !important;
  text-shadow: 0 0 14px rgba(255, 208, 0, 0.7) !important;
  font-weight: 800 !important;
}

.preview,
.m-product-preview__glider,
.glide,
.glide__track {
  border-radius: 28px 10px 28px 10px !important;
  background: linear-gradient(160deg, rgba(122, 0, 16, 0.9), rgba(20, 8, 8, 0.92)) !important;
  box-shadow: 0 0 0 2px rgba(255, 208, 0, 0.6), 0 0 40px rgba(255, 154, 31, 0.35) !important;
  overflow: hidden !important;
}

.glide__slide img,
.preview .jsProductMainImage {
  border-radius: 20px !important;
  transition: transform 0.45s ease, filter 0.45s ease !important;
}

.glide__slide img:hover {
  transform: scale(1.05) !important;
  filter: saturate(1.2) contrast(1.05) !important;
}

.btn-x,
a.btn-x {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 200px !important;
  padding: 15px 34px !important;
  margin: 8px !important;
  border-radius: 999px !important;
  border: 2px solid #ffd000 !important;
  background: linear-gradient(120deg, #7a0010, #c40018, #ff9a1f, #ffd000, #c40018) !important;
  background-size: 260% 260% !important;
  animation: fortuneAurora 3.8s ease infinite, fortuneGlow 2.6s ease-in-out infinite !important;
  color: #1a0808 !important;
  font-family: 'Orbitron', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  overflow: hidden !important;
}

.btn-x::before,
a.btn-x::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent) !important;
  transform: translateX(-130%) !important;
  animation: fortuneSweep 2.6s linear infinite !important;
  pointer-events: none !important;
}

.btn-x:hover,
a.btn-x:hover {
  color: #fff !important;
  transform: translateY(-3px) scale(1.03) !important;
  filter: brightness(1.1) !important;
}

.vc-pill,
.link.vc-pill {
  background: linear-gradient(135deg, #c40018, #ff9a1f) !important;
  border: 1px solid #ffd000 !important;
  border-radius: 999px !important;
  color: #fff7df !important;
  box-shadow: 0 0 18px rgba(255, 208, 0, 0.35) !important;
}

.westamart-fortune-container {
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 208, 0, 0.22), transparent 45%),
    linear-gradient(155deg, rgba(122, 0, 16, 0.96), rgba(20, 8, 8, 0.96)) !important;
  border: 2px solid rgba(255, 208, 0, 0.7) !important;
  border-radius: 30px 14px 30px 14px !important;
  box-shadow: var(--ft-glow) !important;
  overflow: hidden !important;
}

.westamart-fortune-container h2 {
  color: #ffd000 !important;
  font-family: 'Orbitron', sans-serif !important;
  text-shadow: 0 0 18px rgba(255, 208, 0, 0.75) !important;
}

.westamart-fortune-container details {
  background: linear-gradient(135deg, rgba(196, 0, 24, 0.8), rgba(20, 8, 8, 0.92)) !important;
  border: 1px solid rgba(255, 208, 0, 0.45) !important;
  border-radius: 16px !important;
}

.westamart-fortune-container summary {
  color: #fff7df !important;
}

.westamart-fortune-container details p {
  color: #ffe7b0 !important;
}

.westamart-fortune-container blockquote {
  background: rgba(20, 8, 8, 0.88) !important;
  border-left: 5px solid #ffd000 !important;
  box-shadow: 0 0 22px rgba(196, 0, 24, 0.35) !important;
}

.westamart-fortune-container cite {
  color: #ffd000 !important;
}

.m-design__additional-info-container p,
.m-design__additional-info-container a {
  color: #ffe7b0 !important;
}

.m-footer {
  background: linear-gradient(180deg, rgba(20, 8, 8, 0.15), rgba(122, 0, 16, 0.96)) !important;
  border-top: 2px solid rgba(255, 208, 0, 0.5) !important;
  box-shadow: 0 -12px 40px rgba(196, 0, 24, 0.35) !important;
}

.m-footer__guarantee-headline,
.m-footer__guarantee-subtext,
.m-footer a,
.link-collection__header,
.m-footer__legal-bar {
  color: var(--ft-cream) !important;
}

.m-footer__guarantee-image img {
  filter: drop-shadow(0 0 20px rgba(255, 208, 0, 0.7)) !important;
  animation: fortuneBob 6s ease-in-out infinite !important;
}
