/* ============================================================
   KLEAN KOSMETICS — WHATSAPP ORDER CTA  (order-cta.css)
   Mobile-first. Link AFTER style.css, hero.css, best-sellers.css, about.css, trending.css:
     <link rel="stylesheet" href="assets/css/order-cta.css">

   Scoped to .order. Replaces the old .cta-banner card with a full-width brand band.
   The WhatsApp link keeps "wa.me" in its href, so site-settings.js still swaps in the
   admin's number. The icon uses the #kk-wa <symbol> already defined in index.html.

   Markup contract (index.html):
   <section class="order">
     <div class="container">
       <div class="order__inner reveal">
         <span class="order__eyebrow">Order direct</span>
         <h2 class="order__title"><span>Order on</span><span>WhatsApp</span><span>in minutes</span></h2>
         <ol class="order__steps"><li>...</li></ol>
         <div class="order__actions">
           <a class="order__wa" href="https://wa.me/...">...</a>
           <a class="order__more" href="/shop">Browse products</a>
         </div>
       </div>
     </div>
   </section>

   Colours: only var(--clr-purple) / var(--clr-ink). Never hardcode the brand colour.
   ============================================================ */

.order {
  background: var(--clr-purple);
  color: #fff;
  padding: 56px 0 64px;
  overflow: hidden;
}

.order__eyebrow {
  display: block;
  margin-bottom: 14px;
  font-family: var(--ff-condensed);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
}

/* Same stepped lines as the other section headlines. */
.order__title {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 17vw, 4.8rem);
  line-height: .88;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #fff;
}
.order__title span { display: block; }
.order__title span:nth-child(2) { padding-left: .5em; }
.order__title span:nth-child(3) { padding-left: 1em; }

/* ── STEPS ───────────────────────────────────────────────────── */
.order__steps {
  list-style: none;
  counter-reset: step;
  margin: 28px 0 0;
  padding: 0;
}
.order__steps li {
  counter-increment: step;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.28);
  font-size: 1.05rem;
  line-height: 1.4;
  color: #fff;
}
.order__steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.28); }
.order__steps li::before {
  content: counter(step, decimal-leading-zero);
  flex-shrink: 0;
  font-family: var(--ff-display);
  font-size: 1.5rem;
  line-height: 1;
  color: rgba(255,255,255,.7);
}

/* ── ACTIONS ─────────────────────────────────────────────────── */
.order__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 28px;
}
.order__wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 32px;
  border-radius: var(--radius-full);
  background: #fff;
  color: var(--clr-ink);
  font-family: var(--ff-condensed);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .03em;
  transition: transform .15s ease, filter .15s ease;
}
.order__wa svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }
.order__more {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  font-family: var(--ff-condensed);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .03em;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(255,255,255,.55);
}
.order__wa:active { transform: scale(.97); }
.order__wa:focus-visible,
.order__more:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (hover: hover) {
  .order__wa:hover { filter: brightness(.9); }
  .order__more:hover { text-decoration-color: #fff; }
}

/* ── LARGER SCREENS ──────────────────────────────────────────── */
@media (min-width: 900px) {
  .order { padding: 96px 0; }
  .order__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(48px, 7vw, 96px);
    align-items: center;
  }
  .order__eyebrow { grid-column: 1; }
  .order__title { grid-column: 1; font-size: clamp(4.5rem, 7.5vw, 7rem); }
  .order__steps { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
  .order__actions {
    grid-column: 1;
    grid-row: 3;
    margin-top: 32px;
    flex-direction: row;
    align-items: center;
    gap: 28px;
  }
  .order__wa { padding: 0 44px; }
  .order__more { height: 56px; }
}

/* ── REDUCED MOTION ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .order .reveal { opacity: 1; transform: none; transition: none; }
  .order__wa { transition: none; }
}
