/* Red Tongkat Ali — Premium Shop (mobile-first) */

:root {
  --bg: #050505;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --text: #f5f5f7;
  --muted: rgba(245, 245, 247, 0.62);
  --gold: #c9a962;
  --gold-light: #e4c988;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 20px;
  --sticky-h: 4.25rem;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.shop-page {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px));
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: var(--gold);
  color: #000;
}

.skip-link:focus { left: 1rem; top: 1rem; }

.shop-wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ── Nav ── */
.shop-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(5, 5, 5, 0.82);
  border-bottom: 1px solid var(--border);
}

.shop-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.shop-logo {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shop-nav-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

/* ── Hero ── */
.shop-hero {
  padding: 2rem 0 3rem;
}

.shop-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.shop-hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
}

.shop-hero-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.shop-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.shop-hero-copy h1 {
  font-size: clamp(2rem, 7vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 0.75rem;
}

.shop-lead {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--muted);
  margin-bottom: 1.25rem;
  max-width: 36ch;
}

.shop-trust {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.shop-free-ship {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.shop-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  padding: 0.95rem 1.75rem;
  font-weight: 700;
  border-radius: 999px;
  background: #fff;
  color: #000;
}

@media (min-width: 860px) {
  .shop-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; }
  .shop-hero { padding: 3rem 0 4rem; }
}

/* ── Products ── */
.shop-products {
  padding: 2.5rem 0 3rem;
  background: linear-gradient(180deg, var(--bg) 0%, #0a0a0a 100%);
}

.shop-section-head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.shop-section-head h2 {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.shop-sub {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.shop-limited {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.product-grid {
  display: grid;
  gap: 1rem;
}

.product-card {
  position: relative;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1.5px solid var(--border);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.2s;
}

.product-card:hover,
.product-card.is-selected {
  border-color: rgba(201, 169, 98, 0.55);
}

.product-card--best,
.product-card.is-selected {
  background: linear-gradient(180deg, #1a1608 0%, var(--surface) 100%);
}

.product-card--best {
  order: -1;
  border-color: var(--gold);
  box-shadow: 0 0 48px rgba(201, 169, 98, 0.15);
  transform: scale(1.02);
}

.product-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.product-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.product-tag--gold { color: var(--gold-light); }

.product-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.product-anchor {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-bottom: 0.25rem;
}

.product-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 0.35rem;
}

.product-ship {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.product-buy {
  width: 100%;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  background: #fff;
  color: #000;
  transition: opacity 0.2s;
}

.product-buy--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.product-buy:disabled { opacity: 0.6; cursor: wait; }

.shop-social-proof {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-light);
  padding: 1rem;
  border-radius: calc(var(--radius) - 4px);
  background: rgba(201, 169, 98, 0.08);
  border: 1px solid rgba(201, 169, 98, 0.2);
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
  }

  .product-card--best { order: 0; }
}

/* ── Guarantee ── */
.shop-guarantee {
  padding: 2rem 0 3rem;
}

.shop-guarantee-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.shop-guarantee-card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.shop-guarantee-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── Sticky bar ── */
.shop-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(5, 5, 5, 0.94);
  border-top: 1px solid rgba(201, 169, 98, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.65rem 0 calc(0.65rem + env(safe-area-inset-bottom, 0px));
}

.shop-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.shop-sticky-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.shop-sticky-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.shop-sticky-copy strong {
  font-size: 1.15rem;
  font-weight: 800;
}

.shop-sticky-btn {
  flex-shrink: 0;
  padding: 0.75rem 1.35rem;
  border: none;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #000;
  min-height: 44px;
}

@media (min-width: 900px) {
  .shop-sticky-btn {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    min-width: 12rem;
  }
}

/* ── Footer ── */
.shop-foot {
  padding: 2rem 0 calc(2rem + var(--sticky-h));
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
