/* ============================================================
   HOBA GALAXY — "HOLO ARCADE" page sections
   ============================================================ */

/* ---------- HOME HERO ---------- */
.hero { position: relative; padding: 110px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero-stickers { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 4px; }
.hero h1 {
  font-size: clamp(40px, 4.6vw, 62px);
  line-height: 1.12;
  margin: 22px 0 24px;
  text-wrap: balance;
}
.hero h1 .line { display: block; }
.hero .lede { font-size: 18px; color: var(--mute); max-width: 480px; margin-bottom: 36px; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-stats { display: flex; gap: 48px; border-top: 1px solid var(--line-soft); padding-top: 28px; flex-wrap: wrap; }
.stat .n { font-family: var(--font-display); font-size: 30px; font-weight: 700; display: block; line-height: 1; letter-spacing: -0.01em; }
.stat .l { font-family: var(--font-mono); font-size: 11.5px; color: var(--faint); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 8px; display: block; }

/* hero card fan */
.card-fan { position: relative; height: 480px; direction: ltr; }
.card-fan .tilt {
  position: absolute; width: 380px; left: 50%; top: 50%;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.card-fan .tilt:nth-child(1) { transform: translate(-50%, -50%) translate(-66px, 96px) rotate(-11deg); z-index: 1; }
.card-fan .tilt:nth-child(2) { transform: translate(-50%, -50%) translate(66px, -82px) rotate(8deg); z-index: 1; }
.card-fan .tilt:nth-child(3) { transform: translate(-50%, -50%) rotate(-2deg) scale(1.07); z-index: 2; }
/* hover the fan → cards split apart in different directions */
.card-fan:hover .tilt:nth-child(1) { transform: translate(-50%, -50%) translate(-108px, 119px) rotate(-14deg); z-index: 3; }
.card-fan:hover .tilt:nth-child(2) { transform: translate(-50%, -50%) translate(108px, -112px) rotate(11deg); z-index: 3; }
.card-fan:hover .tilt:nth-child(3) { transform: translate(-50%, -50%) rotate(-1deg) scale(1.095); z-index: 4; }
.card-fan .tilt:nth-child(1) .hcard,
.card-fan .tilt:nth-child(2) .hcard { opacity: 0.92; }
.card-fan .tilt:nth-child(3) .hcard { box-shadow: 0 44px 100px rgba(0,0,0,0.72), 0 0 70px color-mix(in srgb, var(--emerald) 26%, transparent); }
.card-fan::after {
  content: ""; position: absolute; inset: auto 8% -6% 8%; height: 90px;
  background: radial-gradient(50% 100% at 50% 50%, color-mix(in srgb, var(--emerald) 30%, transparent), transparent 70%);
  filter: blur(16px);
}
@media all {
  .card-fan { animation: fanIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s backwards, floatY 6.5s ease-in-out 1.3s infinite alternate; }
}
@keyframes floatY { to { transform: translateY(-14px); } }
@keyframes fanIn { from { opacity: 0; transform: translateY(44px) scale(0.96); } }

/* ---------- CARD TILE GRIDS ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card-tile {
  display: block; text-decoration: none; color: var(--ink);
  background: color-mix(in srgb, var(--panel) 60%, transparent);
  border: 1px solid var(--line-soft); border-radius: 24px;
  padding: 16px 16px 22px;
  transition: border-color 0.25s, background 0.25s, transform 0.45s var(--ease-spring);
}
.card-tile:hover { border-color: color-mix(in srgb, var(--emerald) 35%, transparent); background: color-mix(in srgb, var(--panel-2) 80%, transparent); transform: translateY(-8px); }
.ct-body { padding: 22px 8px 0; }
.ct-body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.ct-body p { font-size: 14.5px; color: var(--mute); min-height: 3.4em; text-wrap: pretty; }
.ct-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.price { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--ink); }
.price .cur { font-family: var(--font-mono); font-size: 11px; font-weight: 400; color: var(--faint); }
.free-tag {
  font-family: var(--font-mono); font-weight: 700; font-size: 0.85em;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--emerald);
  text-shadow: 0 0 18px color-mix(in srgb, var(--emerald) 50%, transparent);
}
.ct-link { font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--emerald); }
.view-all { font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--emerald); text-decoration: none; white-space: nowrap; }
.view-all:hover { text-decoration: underline; }

/* ---------- HOW IT WORKS ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.step { position: relative; padding: 30px 22px 10px; border-inline-start: 1px solid var(--line-soft); }
.step .s-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 18px;
  font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--emerald);
  border: 1px solid color-mix(in srgb, var(--emerald) 30%, transparent);
  background: color-mix(in srgb, var(--emerald) 8%, transparent);
}
.step h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--mute); text-wrap: pretty; }
.step::before {
  content: ""; position: absolute; top: 0; inset-inline-start: -4.5px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--emerald);
  box-shadow: 0 0 12px color-mix(in srgb, var(--emerald) 80%, transparent);
}
.steps-rail { border-top: 1px solid var(--line-soft); }

/* ---------- WHY ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  position: relative; overflow: hidden;
  background: color-mix(in srgb, var(--panel) 55%, transparent);
  border: 1px solid var(--line-soft); border-radius: 22px; padding: 30px 26px;
  transition: border-color 0.25s, transform 0.4s var(--ease);
}
.why-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(60% 60% at 50% 0%, color-mix(in srgb, var(--emerald) 12%, transparent), transparent 70%);
  transition: opacity 0.3s;
}
.why-card:hover { border-color: color-mix(in srgb, var(--emerald) 35%, transparent); transform: translateY(-6px); }
.why-card:hover::before { opacity: 1; }
.why-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--emerald) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--emerald) 24%, transparent);
  margin-bottom: 20px; color: var(--emerald);
}
.why-icon svg { width: 22px; height: 22px; }
.why-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--mute); text-wrap: pretty; }

/* ---------- CTA BAND ---------- */
.cta-band { position: relative; text-align: center; padding: 88px 0; }
.cta-wrap {
  position: relative; max-width: 900px; margin: 0 auto; padding: 64px 40px;
  border-radius: 32px; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--emerald) 22%, transparent);
  background:
    radial-gradient(80% 130% at 50% -20%, color-mix(in srgb, var(--emerald) 16%, transparent), transparent 60%),
    radial-gradient(80% 130% at 50% 120%, color-mix(in srgb, var(--violet) 14%, transparent), transparent 60%),
    color-mix(in srgb, var(--panel) 70%, transparent);
}
.cta-band h2 { font-size: clamp(36px, 5.6vw, 72px); margin-bottom: 16px; }
.cta-band p { color: var(--mute); font-size: 17px; margin-bottom: 36px; }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero { position: relative; padding: 78px 0 44px; text-align: center; }
.page-hero .kicker { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(44px, 7vw, 92px); margin: 14px 0 18px; }
.page-hero .lede { color: var(--mute); font-size: 17px; max-width: 580px; margin: 0 auto; text-wrap: pretty; }

/* ---------- CARD DETAIL ---------- */
.detail { padding: 72px 0 90px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em;
  color: var(--mute); text-decoration: none; margin-bottom: 40px;
}
.back-link:hover { color: var(--emerald); }
html[lang="ar"] .back-link .arr { transform: scaleX(-1); display: inline-block; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.detail-card-wrap { position: sticky; top: 110px; }
.detail-card-wrap .hcard { box-shadow: 0 50px 110px rgba(0,0,0,0.72), 0 0 90px color-mix(in srgb, var(--emerald) 16%, transparent); }
.detail-tags { display: flex; gap: 10px; margin-top: 24px; justify-content: center; flex-wrap: wrap; }
.detail-info .kicker { margin-bottom: 18px; }
.detail-info h1 { font-size: clamp(34px, 4.4vw, 56px); margin-bottom: 12px; }
.detail-motto {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--emerald); display: block; margin-bottom: 28px;
}
html[lang="ar"] .detail-motto { letter-spacing: 0.08em; }
.detail-info .desc { color: var(--mute); font-size: 16.5px; margin-bottom: 32px; text-wrap: pretty; }
.decision-box {
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; margin-bottom: 32px;
}
.decision-box .q-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--emerald); display: block; margin-bottom: 12px; }
.decision-box .q { font-family: var(--font-display); font-size: 21px; font-weight: 700; line-height: 1.25; margin-bottom: 20px; }
.detail-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 28px; }
.detail-price .price { font-size: 34px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.util-row { display: flex; flex-wrap: wrap; gap: 22px; border-top: 1px solid var(--line-soft); padding-top: 24px; }
.util-row a { display: inline-flex; align-items: center; gap: 8px; color: var(--mute); text-decoration: none; font-size: 14px; transition: color 0.16s; }
.util-row a:hover { color: var(--emerald); }
.util-row svg { width: 16px; height: 16px; }

/* ---------- STORE ---------- */
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product {
  background: color-mix(in srgb, var(--panel) 55%, transparent);
  border: 1px solid var(--line-soft); border-radius: 24px; overflow: hidden;
  transition: border-color 0.25s, transform 0.4s var(--ease); display: flex; flex-direction: column;
}
.product:hover { border-color: color-mix(in srgb, var(--emerald) 35%, transparent); transform: translateY(-7px); }
.product-art {
  height: 200px; display: grid; place-items: center; position: relative;
  background:
    radial-gradient(70% 90% at 50% 0%, hsla(var(--ph, 150), 85%, 60%, 0.24), transparent 70%),
    var(--void-2);
  border-bottom: 1px solid var(--line-soft); overflow: hidden;
}
.product-art::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 70% 60%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.2px 1.2px at 45% 80%, rgba(255,255,255,0.35), transparent);
  background-size: 200px 200px;
}
.product-art img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.product-glyph {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-size: 38px; font-weight: 800; letter-spacing: -0.02em;
  color: hsla(var(--ph, 150), 90%, 78%, 0.96);
  text-shadow: 0 0 34px hsla(var(--ph, 150), 90%, 60%, 0.55);
}
.product-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.product-body h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-bottom: 18px; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.add-btn { padding: 11px 18px; font-size: 13px; }

/* ---------- REWARDS ---------- */
.reward-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.reward-panel {
  position: relative; overflow: hidden;
  background: color-mix(in srgb, var(--panel) 55%, transparent);
  border: 1px solid var(--line-soft); border-radius: 26px; padding: 42px 38px;
}
.reward-panel .why-icon { margin-bottom: 24px; width: 52px; height: 52px; }
.reward-panel h3 { font-family: var(--font-display); font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.reward-panel > p { color: var(--mute); font-size: 15.5px; margin-bottom: 28px; text-wrap: pretty; }
.reward-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.reward-list li {
  display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; color: var(--mute);
  border-bottom: 1px dashed var(--line-soft); padding-bottom: 14px;
}
.reward-list li:last-child { border-bottom: none; padding-bottom: 0; }
.reward-list .pts { font-family: var(--font-mono); font-weight: 700; color: var(--emerald); font-size: 13.5px; white-space: nowrap; }
.ref-box { display: flex; gap: 10px; background: color-mix(in srgb, var(--void) 60%, transparent); border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.ref-box input {
  flex: 1; background: none; border: none; outline: none; color: var(--ink);
  font-family: var(--font-mono); font-size: 14px; padding: 0 12px; direction: ltr;
}
.ref-box .btn { padding: 11px 18px; font-size: 13px; transition: background 0.2s, color 0.2s; }
.js-copy.is-copied { background: var(--emerald); color: #1a1305; }

/* ---------- REWARDS: milestone blocks ---------- */
.milestones-band, .journey-band { padding-top: 28px; }
.milestones-band .sec-head,
.journey-band .sec-head {
  flex-direction: column; align-items: center; text-align: center;
  gap: 12px; margin-bottom: 40px;
}
.milestones-band .sec-head .kicker, .journey-band .sec-head .kicker { margin: 0; }

.milestones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.milestone {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 26px; padding: 40px 28px 34px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 62%, transparent);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.milestone::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 50% -10%, var(--ms-tint, transparent), transparent 62%);
}
.milestone > * { position: relative; z-index: 1; }
.milestone:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  border-color: var(--ms-edge, var(--line));
}
.milestone__icon { font-size: 40px; line-height: 1; display: inline-block; margin-bottom: 14px; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.4)); }
.milestone__points { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.milestone__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(42px, 6vw, 60px); line-height: 1; color: var(--ink); }
.milestone__unit { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ms-edge, var(--mute)); }
.milestone__reward { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--ink); margin-top: 14px; }
.milestone__tag { font-size: 13.5px; color: var(--mute); margin-top: 7px; text-wrap: pretty; }

.milestone--gold    { --ms-tint: color-mix(in srgb, var(--reward-gold) 17%, transparent);    --ms-edge: var(--reward-gold-deep); }
.milestone--purple  { --ms-tint: color-mix(in srgb, var(--reward-purple) 20%, transparent);  --ms-edge: var(--reward-purple); }
.milestone--special { --ms-tint: color-mix(in srgb, var(--reward-special) 20%, transparent); --ms-edge: var(--reward-special); }
.milestone--purple .milestone__reward {
  background: linear-gradient(120deg, var(--reward-purple), #e4d6ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.milestone--special .milestone__icon { filter: drop-shadow(0 6px 18px color-mix(in srgb, var(--reward-special) 55%, transparent)); }

/* ---------- REWARDS: live balance strip + referral note ---------- */
.rewards-balance {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px 22px; margin: 0 auto 40px; max-width: 640px; text-align: center;
  padding: 16px 28px; border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--reward-gold) 32%, transparent);
  background: color-mix(in srgb, var(--reward-gold) 9%, transparent);
}
.rewards-balance__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.rewards-balance__value { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--ink); }
.rewards-balance__unit { font-size: 14px; font-weight: 600; color: var(--reward-gold-deep); }
.rewards-balance__hint { font-size: 14px; color: var(--mute); flex-basis: 100%; }
.rewards-balance--guest { border-color: var(--line); background: color-mix(in srgb, var(--panel) 50%, transparent); }
.rewards-balance--guest .rewards-balance__hint { flex-basis: auto; }

.ref-note { font-size: 15px; color: var(--mute); margin: 4px 0 16px; text-wrap: pretty; }

/* ---------- REWARDS: growth journey ---------- */
.journey { list-style: none; display: flex; align-items: flex-start; justify-content: center; flex-wrap: wrap; gap: 6px 0; }
.journey__step {
  position: relative; flex: 1 1 0; min-width: 128px; max-width: 180px;
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 6px 16px 2px;
}
.journey__step + .journey__step::before {
  content: "→"; position: absolute; inset-inline-start: -9px; top: 14px;
  font-family: var(--font-mono); font-size: 18px; color: var(--reward-gold-deep);
}
html[lang="ar"] .journey__step + .journey__step::before { content: "←"; }
.journey__num {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 15px; color: var(--ink); flex: none;
  border: 1px solid color-mix(in srgb, var(--emerald) 45%, transparent);
  background: color-mix(in srgb, var(--emerald) 12%, transparent);
}
.journey__step--goal .journey__num { background: var(--foil-lin); color: #1a1305; border: none; }
.journey__label { font-size: 13.5px; font-weight: 600; color: var(--mute); line-height: 1.35; text-wrap: pretty; }

/* ---------- REWARDS: referral panel accents ---------- */
.reward-panel--refer { border-color: color-mix(in srgb, var(--reward-purple) 30%, transparent); }
.reward-panel--refer .refer-icon { color: var(--reward-purple); }
.reward-list--refer .pts { color: var(--reward-purple); }

/* ---------- TRACK ORDER ---------- */
.track-box {
  max-width: 640px; margin: 0 auto;
  background: color-mix(in srgb, var(--panel) 65%, transparent);
  border: 1px solid var(--line); border-radius: 26px; padding: 44px 44px 40px;
}
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--mute); margin-bottom: 8px; letter-spacing: 0.04em; text-transform: uppercase; }
.field input {
  width: 100%; background: color-mix(in srgb, var(--void) 55%, transparent);
  border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px; color: var(--ink);
  font-family: var(--font-body); font-size: 15px; outline: none; transition: border-color 0.16s, box-shadow 0.16s;
}
.field input:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px color-mix(in srgb, var(--emerald) 18%, transparent); }
.timeline { margin-top: 40px; border-top: 1px solid var(--line-soft); padding-top: 34px; }
.tl-item { display: flex; gap: 18px; position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; inset-inline-start: 9px; top: 24px; bottom: 0; width: 2px; background: var(--line-soft); }
.tl-item:last-child::before { display: none; }
.tl-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--faint); background: var(--void); flex-shrink: 0; position: relative; z-index: 1; margin-top: 2px; }
.tl-item.on .tl-dot { border-color: var(--emerald); background: var(--emerald); box-shadow: 0 0 16px color-mix(in srgb, var(--emerald) 65%, transparent); }
.tl-item.on::before { background: color-mix(in srgb, var(--emerald) 42%, transparent); }
.tl-body h4 { font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.tl-body p { font-size: 13.5px; color: var(--mute); }
.tl-item.dim { opacity: 0.45; }
.order-tag { font-family: var(--font-mono); color: var(--emerald); font-size: 14px; }
.order-meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--faint); margin-bottom: 26px; }
.track-error {
  margin-top: 28px;
  border: 1px solid color-mix(in srgb, #ff5470 50%, var(--line));
  background: color-mix(in srgb, #ff5470 9%, transparent);
  border-radius: 16px; padding: 18px 20px;
  font-size: 14.5px; color: var(--ink); text-wrap: pretty;
}

/* ---------- WOOCOMMERCE NOTICES ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  border: 1px solid color-mix(in srgb, var(--emerald) 45%, var(--line));
  border-radius: 16px; padding: 15px 20px; margin: 0 0 12px;
  font-size: 14.5px; color: var(--ink);
}
.woocommerce-error { border-color: color-mix(in srgb, #ff5470 55%, var(--line)); }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button {
  order: 1; display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px;
  color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 600;
  transition: border-color 0.16s, background 0.16s;
}
.woocommerce-message .button:hover, .woocommerce-info .button:hover, .woocommerce-error .button:hover {
  border-color: var(--emerald); background: color-mix(in srgb, var(--emerald) 12%, transparent);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .card-fan { height: 400px; }
  .card-fan .tilt { width: 320px; }
  .cards-grid, .store-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; gap: 48px; }
  .detail-card-wrap { position: static; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .milestones { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .milestone { padding: 32px 26px 28px; }
}
@media (max-width: 640px) {
  .cards-grid, .store-grid, .why-grid, .reward-cols, .steps { grid-template-columns: 1fr; }
  .step { border-inline-start: none; border-top: 1px solid var(--line-soft); padding: 22px 0 6px; }
  .step::before { display: none; }
  .hero { padding: 56px 0 48px; }
  .hero-stats { gap: 26px; }
  /* hero card fan — shrink the cards and tighten the spread so the trio
     sits inside a phone viewport instead of bleeding off both edges */
  .card-fan { height: 320px; }
  .card-fan .tilt { width: 232px; }
  .card-fan .tilt:nth-child(1) { transform: translate(-50%, -50%) translate(-42px, 62px) rotate(-10deg); }
  .card-fan .tilt:nth-child(2) { transform: translate(-50%, -50%) translate(42px, -54px) rotate(7deg); }
  .card-fan .tilt:nth-child(3) { transform: translate(-50%, -50%) rotate(-2deg) scale(1.05); }
  .track-box { padding: 32px 22px; }
  .cta-wrap { padding: 44px 24px; }
  /* growth journey stacks vertically with downward arrows */
  .journey { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; gap: 4px; }
  .journey__step { flex-direction: row; max-width: none; justify-content: flex-start; gap: 14px; text-align: start; padding: 10px 6px; }
  .journey__step + .journey__step::before { content: "↓"; inset-inline-start: 20px; top: -11px; }
  html[lang="ar"] .journey__step + .journey__step::before { content: "↓"; }
  .journey__label { font-size: 15px; }
  .milestones-band .sec-head, .journey-band .sec-head { margin-bottom: 30px; }
}
@media (max-width: 420px) {
  /* very narrow phones: drop the two flanking cards, show one clean hero card */
  .card-fan { height: 300px; }
  .card-fan .tilt { width: 248px; }
  .card-fan .tilt:nth-child(1),
  .card-fan .tilt:nth-child(2) { display: none; }
  .card-fan .tilt:nth-child(3) { transform: translate(-50%, -50%) rotate(-1.5deg); }
  /* keep the long coupon row from overflowing the cart card */
  .woocommerce table.cart td.actions .coupon { flex-wrap: wrap; }
  .woocommerce table.cart td.actions .coupon .input-text { width: 100%; }
}
