/**
 * Awafi Herb | launch.css
 * Launch / seasonal spotlight section (e.g. "Himalayan Shilajit").
 * Markup: template-parts/home/launch-spotlight.php
 * Colour schemes are switched with the data-scheme attribute (Customizer → Colour scheme).
 */

.launch-wrap {
  padding-top: 56px;
}

/* ---- Scheme variables (override --lc-* to create a new scheme) ---- */
.launch {
  --lc-bg1: #1b1209;   /* gradient start */
  --lc-bg2: #3a2410;   /* gradient end */
  --lc-ac: #e9b44c;    /* accent: badge, bullets, ring */
  --lc-tx: #fff6e3;    /* text */
  position: relative;
  overflow: hidden;
  border-radius: 36px 6px 36px 6px;
  color: var(--lc-tx);
  background:
    radial-gradient(700px 420px at 85% 15%, color-mix(in srgb, var(--lc-ac) 30%, transparent), transparent),
    linear-gradient(135deg, var(--lc-bg1), var(--lc-bg2));
}
.launch[data-scheme="green"] { --lc-bg1: #06281d; --lc-bg2: #0f5a3f; --lc-ac: #f2a516; --lc-tx: #ecfff5; }
.launch[data-scheme="honey"] { --lc-bg1: #7a4a05; --lc-bg2: #c47f0b; --lc-ac: #fff0c2; --lc-tx: #fffaf0; }

/* ---- Layout ---- */
.launch__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 52px 52px 96px;
}

/* ---- Copy ---- */
.launch__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lc-ac);
  color: #1b1209;
  font-weight: 800;
  font-size: 13px;
  border-radius: 99px;
  padding: 6px 14px;
}
.launch__title {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  margin: 14px 0 8px;
}
.launch__sub {
  max-width: 520px;
  font-size: 18px;
  color: color-mix(in srgb, var(--lc-tx) 80%, transparent);
}
.launch__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 10px;
}
.launch__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.launch__list li::before {
  content: "✓";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lc-ac);
  color: #1b1209;
  font-size: 12px;
  font-weight: 800;
}
.launch .cd {
  justify-content: flex-start;
  margin: 0 0 20px;
}
.launch .cd div {
  background: color-mix(in srgb, var(--lc-ac) 18%, transparent);
  color: var(--lc-tx);
}
.launch .cd small {
  color: var(--lc-ac);
}

/* ---- Price and buttons ---- */
.launch__buy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.launch__price {
  font: 800 30px Sora, sans-serif;
}
.launch__price del {
  margin-right: 8px;
  font-size: 16px;
  opacity: .6;
}
.launch__price ins {
  text-decoration: none;
}
.launch .btn {
  background: var(--lc-ac);
  color: #1b1209;
}
.launch .btn.g {
  background: none;
  color: var(--lc-tx);
  border: 2px solid color-mix(in srgb, var(--lc-tx) 35%, transparent);
}
.launch .added_to_cart {
  display: none;
}

/* ---- Visual ---- */
.launch__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}
.launch__visual img {
  position: relative;
  max-width: min(320px, 80%);
  height: auto;
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .55));
  animation: launch-float 6s ease-in-out infinite;
}
.launch__ring {
  position: absolute;
  width: min(400px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed color-mix(in srgb, var(--lc-ac) 55%, transparent);
  animation: launch-spin 50s linear infinite;
}
.launch__mount {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
  fill: rgba(0, 0, 0, .35);
}

@keyframes launch-float { 50% { transform: translateY(-14px); } }
@keyframes launch-spin  { to { transform: rotate(360deg); } }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .launch__inner { grid-template-columns: 1fr; padding: 30px 22px 84px; }
  .launch__visual { order: -1; min-height: 280px; }
  .launch-wrap { padding-top: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .launch__visual img, .launch__ring { animation: none; }
}
