@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --white:        #ffffff;
  --snow:         #fafafa;
  --ivory:        #f5f4f1;
  --linen:        #f0ede8;
  --ash:          #e0ddd8;
  --smoke:        #c8c4bc;
  --graphite:     #6b6660;
  --charcoal:     #2e2b28;
  --ink:          #141210;
  --red:          #b91c1c;
  --red-dim:      #991818;
  --red-pale:     #fef2f2;

  --nav-h: 72px;
  --max-w: 1320px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── LOGO ─────────────────────────────────────── */
.logo-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
}
.logo-percent {
  font-family: 'Leewadee UI', 'Leewadee', 'DM Sans', sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -0.03em;
  line-height: 1;
  transition: transform 0.4s var(--ease-out-expo);
  display: inline-block;
}
.logo-word {
  font-family: 'Leewadee UI', 'Leewadee', 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
  letter-spacing: 0.08em;
  line-height: 1;
}
.logo-percent { transition: text-shadow 0.5s ease; }
.logo-mark:hover .logo-percent { text-shadow: 0 0 14px rgba(178,34,34,0.38); }

/* ─── NAVBAR ─────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border-bottom: 1px solid var(--ash);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.07); }
.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--graphite);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out-expo);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-shop-btn {
  background: var(--ink) !important;
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 2px;
}
.nav-shop-btn::after { display: none !important; }
.nav-shop-btn:hover { background: var(--red) !important; }

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1010;
}
.mobile-menu-toggle span {
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: all 0.3s var(--ease-out-expo);
  border-radius: 1px;
  display: block;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); background: var(--red); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); background: var(--red); }

/* ─── HERO ──────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  background: var(--white);
  display: flex;
  align-items: center;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: calc(100vh - var(--nav-h));
  align-items: center;
}
.hero-left {
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 80px;
}
.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out-expo) 0.2s forwards;
}
.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(3.5rem, 5.5vw, 6.5rem);
  color: var(--ink);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out-expo) 0.35s forwards;
}
.hero-title em { font-style: italic; color: var(--red); }
.hero-subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 300;
  color: var(--graphite);
  margin-bottom: 36px;
  letter-spacing: 0.01em;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out-expo) 0.5s forwards;
}
.hero-desc {
  font-size: 0.93rem;
  color: var(--graphite);
  line-height: 1.9;
  max-width: 420px;
  margin-bottom: 48px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out-expo) 0.65s forwards;
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out-expo) 0.8s forwards;
}
.hero-right {
  background: var(--ivory);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(185,28,28,0.04) 0%, transparent 65%);
  pointer-events: none;
}
.hero-img-wrap {
  width: 82%;
  max-width: 500px;
  opacity: 0;
  animation: fadeIn 1.2s var(--ease-out-expo) 0.4s forwards;
  position: relative;
}
.hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.9s var(--ease-out-expo);
}
.hero-img-wrap:hover img { transform: scale(1.03); }
.hero-price-badge {
  position: absolute;
  bottom: 460px; right: 236px;
  background: var(--white);
  border: 1px solid var(--ash);
  padding: 16px 22px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  opacity: 0;
  animation: fadeIn 0.8s var(--ease-out-expo) 1.2s forwards;
}
.hero-price-badge .from { font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--graphite); }
.hero-price-badge .amount { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 500; color: var(--ink); line-height: 1.1; }
.hero-price-badge .btc-note { font-size: 0.63rem; color: var(--red); letter-spacing: 0.06em; margin-top: 3px; font-weight: 500; }
.hero-price-badge .badge-sub { font-size: 0.61rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--graphite); margin-top: 6px; border-top: 1px solid var(--ash); padding-top: 6px; }


/* ─── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 2px;
  transition: all 0.25s var(--ease-out-expo);
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
}
.btn svg { width: 13px; height: 13px; flex-shrink: 0; }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--red); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(185,28,28,0.22); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ash); }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.btn-btc { background: var(--red); color: var(--white); }
.btn-btc:hover { background: var(--red-dim); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(185,28,28,0.28); }

/* ─── CONTAINER ────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }
.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 20px;
}
.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 60px;
}

/* ─── FEATURES STRIP ──────────────────────── */
.features-strip {
  padding: 100px 0;
  background: var(--white);
  border-top: 1px solid var(--ash);
  border-bottom: 1px solid var(--ash);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature-card {
  padding: 40px 36px;
  border-right: 1px solid var(--ash);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo), background 0.3s ease;
}
.feature-card:last-child { border-right: none; }
.feature-card.visible { opacity: 1; transform: translateY(0); }
.feature-card:nth-child(1).visible { transition-delay: 0.05s; }
.feature-card:nth-child(2).visible { transition-delay: 0.12s; }
.feature-card:nth-child(3).visible { transition-delay: 0.19s; }
.feature-card:nth-child(4).visible { transition-delay: 0.26s; }
.feature-card:hover { background: var(--ivory); }
.feature-icon { width: 32px; height: 32px; margin-bottom: 22px; color: var(--red); }
.feature-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p { font-size: 0.86rem; color: var(--graphite); line-height: 1.78; font-weight: 300; }

/* ─── PRODUCT SECTIONS ────────────────────── */
.product-section { padding: 120px 0; }
.product-section:nth-child(odd) { background: var(--white); }
.product-section:nth-child(even) { background: var(--snow); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.product-grid.reverse { direction: rtl; }
.product-grid.reverse > * { direction: ltr; }
.product-img-frame {
  background: var(--ivory);
  aspect-ratio: 1 / 1.1;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
  position: relative;
}
.product-img-frame::after { content: ''; position: absolute; inset: 0; border: 1px solid var(--ash); pointer-events: none; }
.product-img-frame img { width: 88%; height: 88%; object-fit: contain; transition: transform 0.8s var(--ease-out-expo); }
.product-img-frame:hover img { transform: scale(1.04); }
.product-content h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 28px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.product-content p { font-size: 0.93rem; color: var(--graphite); line-height: 1.9; margin-bottom: 18px; font-weight: 300; }
.product-content strong { color: var(--ink); font-weight: 500; }

/* ─── SPECS ──────────────────────────────── */
.specs-section {
  padding: 120px 0;
  background: var(--ivory);
  border-top: 1px solid var(--ash);
  border-bottom: 1px solid var(--ash);
}
.specs-table-wrap { border: 1px solid var(--ash); }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tbody tr { border-bottom: 1px solid var(--ash); }
.specs-table tbody tr:last-child { border-bottom: none; }
.specs-table tbody tr:not(.specs-group-header):hover { background: var(--red-pale); }
.specs-table td { padding: 14px 28px; vertical-align: top; }
.specs-table td:first-child { width: 220px; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite); font-weight: 500; white-space: nowrap; padding-right: 16px; }
.specs-table td:last-child { font-size: 0.9rem; color: var(--ink); font-weight: 300; line-height: 1.6; }
.specs-group-header td { background: var(--linen); padding: 10px 28px; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.specs-group-header:first-child td { border-top: none; }

/* ─── ABOUT ──────────────────────────────── */
.about-section { padding: 140px 0; background: var(--white); text-align: center; }
.about-inner { max-width: 660px; margin: 0 auto; }
.about-inner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 36px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.about-inner p { font-size: 0.98rem; color: var(--graphite); line-height: 1.9; margin-bottom: 20px; font-weight: 300; }
.about-divider { width: 36px; height: 1px; background: var(--red); margin: 36px auto; }

/* ─── SHOP / CHECKOUT ────────────────────── */
.shop-section {
  padding: 120px 0;
  background: var(--snow);
  border-top: 1px solid var(--ash);
}
.shop-header { text-align: center; margin-bottom: 72px; }
.shop-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.shop-header p { font-size: 0.93rem; color: var(--graphite); font-weight: 300; }

/* Product cards */
.products-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  align-items: stretch;
  gap: 2px;
  margin-bottom: 56px;
  background: var(--ash);
  border: 1px solid var(--ash);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.product-card {
  background: var(--white);
  padding: 44px 40px;
  cursor: default;
  transition: background 0.2s ease;
  position: relative;
  user-select: none;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 0;
}
.product-card:hover { background: var(--ivory); }
.product-card.in-cart {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
  z-index: 1;
}
.product-card-badge {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--red);
  color: var(--white);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  font-weight: 500;
}
.product-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 6px;
  align-self: start;
}
.product-card-sub {
  font-size: 0.76rem;
  color: var(--graphite);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  align-self: start;
}
.product-card-desc {
  font-size: 0.86rem;
  color: var(--graphite);
  line-height: 1.75;
  margin-bottom: 22px;
  font-weight: 300;
  align-self: start;
}
.product-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  align-self: end;
  margin-bottom: 0;
}
.product-card-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--ink);
}
.product-card-btc { font-size: 0.76rem; color: var(--red); font-weight: 500; }
.product-card.selected .select-dot { background: var(--ink); border-color: var(--ink); }
.product-card.selected .product-card-select { color: var(--ink); }

/* Checkout panel */
.checkout-panel {
  background: var(--white);
  border: 1px solid var(--ash);
  padding: 52px;
  max-width: 860px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s var(--ease-out-expo), transform 0.45s var(--ease-out-expo);
}
.checkout-panel.visible { opacity: 1; transform: translateY(0); }
.checkout-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ash);
}
.checkout-panel-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--ink);
}
.checkout-panel-sub { font-size: 0.8rem; color: var(--graphite); margin-top: 4px; }
.order-summary { text-align: right; }
.order-summary .item { font-size: 0.86rem; color: var(--graphite); margin-bottom: 4px; }
.order-summary .total { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; color: var(--ink); font-weight: 500; }

/* Payment tabs */
.payment-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--ash);
  border: 1px solid var(--ash);
  margin-bottom: 36px;
}
.pay-tab {
  background: var(--ivory);
  border: none;
  padding: 16px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--graphite);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.pay-tab svg { width: 15px; height: 15px; flex-shrink: 0; }
.pay-tab.active { background: var(--white); color: var(--ink); }
.pay-tab.active.btc-tab { color: var(--red); }

/* Discount callout */
.discount-callout {
  background: var(--ivory);
  border: 1px solid var(--ash);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  border-radius: 2px;
}
.discount-callout p { font-size: 0.8rem; color: var(--charcoal); line-height: 1.5; text-align: center; }
.btc-callout {
  background: #fff8f0 !important;
  border: 1px solid #e07a00 !important;
}
.btc-callout p { color: var(--charcoal) !important; }
.btc-callout strong { color: var(--charcoal) !important; }

/* Form */
.form-group-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--graphite);
  font-weight: 500;
  margin-bottom: 18px;
  margin-top: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-row.full { grid-template-columns: 1fr; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.69rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--graphite); font-weight: 500; }
.field input, .field select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--ash);
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  -webkit-appearance: none;
}
.field input:focus, .field select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(20,18,16,0.05);
}
.field input::placeholder { color: var(--smoke); }

/* Square card container */
#card-container {
  border: 1px solid var(--ash);
  border-radius: 2px;
  padding: 13px 15px;
  min-height: 50px;
  background: var(--white);
  transition: border-color 0.2s ease;
}
#card-container.sq-focused { border-color: var(--ink); }

/* BTCPay panel */
.btcpay-panel { display: none; padding: 40px 0 20px; }
.btcpay-panel.active { display: block; }
.btcpay-inner {
  background: var(--ivory);
  border: 1px solid var(--ash);
  padding: 40px;
  text-align: center;
  margin-bottom: 20px;
}
.btcpay-inner .inv-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.btcpay-inner .inv-amount { font-size: 0.86rem; color: var(--graphite); margin-bottom: 28px; }
.qr-wrap {
  width: 176px; height: 176px;
  border: 1px solid var(--ash);
  background: var(--white);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Real BTCPay button drops in here */
#btcpay-button-wrap { margin-top: 8px; display: flex; flex-direction: column; align-items: center; }
.btcpay-note { font-size: 0.77rem; color: var(--graphite); line-height: 1.7; font-weight: 300; text-align: center; }
.btcpay-note strong { color: var(--red); font-weight: 500; }

/* ── Inline QR active state ─────────────────────── */
.qr-active-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
}
.qr-canvas {
  width: 196px; height: 196px;
  border: 1px solid var(--ash);
  background: var(--ivory);
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* qrcode.js injects a canvas/img inside */
}
.qr-canvas img, .qr-canvas canvas {
  display: block;
  max-width: 100%;
}
.qr-expiry-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--graphite);
}
.qr-sats-row {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--red);
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.qr-expiry-count {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: var(--ink);
}
.qr-invoice-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.qr-invoice-input {
  flex: 1;
  font-size: 0.72rem;
  font-family: 'DM Mono', 'Courier New', monospace;
  color: var(--graphite);
  background: var(--white);
  border: 1px solid var(--ash);
  padding: 7px 10px;
  border-radius: 4px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.qr-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--ash);
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.qr-copy-btn:hover { background: var(--ash); border-color: var(--smoke); }
.qr-toggle-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}
.qr-toggle-btn {
  border: 1px solid var(--ash) !important;
}
.qr-toggle-btn.active {
  background: var(--white) !important;
  border-color: var(--red) !important;
  color: var(--red) !important;
}
.qr-toggle-btn:hover:not(.active) { border-color: var(--ink) !important; color: var(--ink) !important; }
.qr-ln-limit-note { font-size: 0.72rem; color: var(--graphite); text-align: center; margin-bottom: 12px; }
.qr-click-hint { font-size: 0.65rem; color: var(--smoke); text-align: center; margin-top: 6px; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s ease; }
.qr-ln-fallback-label { font-size: 0.68rem; color: var(--graphite); letter-spacing: 0.08em; margin-bottom: 6px; text-align: center; }
.qr-actions-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.qr-new-btn {
  font-size: 0.82rem;
  padding: 10px 18px;
}
.qr-status-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--graphite);
}
.qr-status-spinner {
  width: 12px; height: 12px;
  border: 1.5px solid var(--ash);
  border-top-color: var(--graphite);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}
.qr-new-btn-inline {
  background: none;
  border: none;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}
.qr-new-btn-inline:hover { text-decoration: underline; }

/* ── QR paid state ──────────────────────────────── */
.qr-paid-wrap {
  padding: 32px 20px;
  text-align: center;
}
.qr-paid-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
  color: var(--red);
}
.qr-paid-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.qr-paid-sub {
  font-size: 0.86rem;
  color: var(--graphite);
  line-height: 1.6;
}

/* Fiat card panel */
.card-panel { display: none; }
.card-panel.active { display: block; }

/* Submit row */
.checkout-footer {
  padding-top: 28px;
  border-top: 1px solid var(--ash);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.security-note { font-size: 0.73rem; color: var(--graphite); display: flex; align-items: center; gap: 6px; font-weight: 300; }
.security-note svg { width: 13px; height: 13px; color: var(--smoke); }
.btn-pay {
  background: var(--ink);
  color: var(--white);
  padding: 15px 42px;
  font-size: 0.79rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.25s var(--ease-out-expo);
  display: flex; align-items: center; gap: 9px;
  min-width: 190px;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
}
.btn-pay:hover { background: var(--red); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(185,28,28,0.22); }
.btn-pay:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-pay .spinner {
  width: 13px; height: 13px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.btn-pay.loading .spinner { display: block; }
.btn-pay.loading .pay-label { display: none; }

/* Success */
.checkout-success { display: none; text-align: center; padding: 56px 0; }
.checkout-success.active { display: block; }
.success-check {
  width: 52px; height: 52px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  color: var(--ink);
}
.checkout-success h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 300; margin-bottom: 10px; }
.checkout-success p { font-size: 0.88rem; color: var(--graphite); font-weight: 300; }

/* Toast */
.toast {
  position: fixed;
  bottom: 28px; right: 28px;
  background: var(--ink);
  color: var(--white);
  padding: 13px 20px;
  font-size: 0.8rem;
  border-radius: 2px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.16);
  transform: translateY(72px);
  opacity: 0;
  transition: all 0.4s var(--ease-out-expo);
  z-index: 9999;
  max-width: 300px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { background: var(--red); }

/* ─── FOOTER ─────────────────────────────── */
.footer { background: var(--ink); padding: 72px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
}
.footer-brand .logo-percent { color: var(--red) !important; }
.footer-brand .logo-word { color: rgba(255,255,255,0.85) !important; }
.footer-brand p { font-size: 0.84rem; line-height: 1.8; margin-top: 18px; font-weight: 300; color: rgba(255,255,255,0.45); max-width: 270px; }
.footer-col h4 { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.65); font-weight: 500; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.83rem; line-height: 2.2; transition: color 0.2s ease; font-weight: 300; display: block; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 10px;
}

/* ─── REVEAL ANIMATIONS ──────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-38px); transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(38px); transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ─── KEYFRAMES ──────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 1100px) {
  .specs-table td:first-child { width: 160px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 60px 40px; }
  .hero-right { min-height: 65vw; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:nth-child(2) { border-right: none; }
  .product-grid { grid-template-columns: 1fr; gap: 44px; }
  .product-grid.reverse { direction: ltr; }
  .products-row { grid-template-columns: 1fr; max-width: 480px; }
  .checkout-panel { padding: 32px 24px; }
  .checkout-panel-top { flex-direction: column; gap: 14px; }
  .order-summary { text-align: left; }
  .form-row, .form-row.three { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .hero-img-wrap .hero-price-badge { position: absolute; bottom: auto; top: 8px; left: 8px; right: auto; padding: 10px 14px; }
  .mobile-menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    transform: translateX(-100%);
    transition: transform 0.35s var(--ease-out-expo);
    border-bottom: 1px solid var(--ash);
    z-index: 999;
  }
  .nav-links.active { transform: translateX(0); }
  .nav-links li { padding: 14px 32px; border-bottom: 1px solid var(--ivory); }
  .nav-links a { font-size: 0.92rem; }
  .nav-shop-btn { display: none !important; }
  .specs-table td { padding: 12px 16px; }
  .specs-table td:first-child { width: auto; white-space: normal; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { border-right: none; border-bottom: 1px solid var(--ash); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .checkout-footer { flex-direction: column; align-items: stretch; }
  .btn-pay { width: 100%; }
}

/* ─── BTC INVOICE BUTTON ─────────────────── */
.btc-invoice-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

.btc-btn-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 44px;
  background: var(--ink);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  transition: background 0.25s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  clip-path: polygon(14px 0%, 100% 0%, calc(100% - 14px) 100%, 0% 100%);
}

.btc-invoice-btn:hover .btc-btn-inner {
  background: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(185,28,28,0.4), 0 4px 12px rgba(185,28,28,0.2);
}

.btc-invoice-btn:disabled { pointer-events: none; }
.btc-invoice-btn:disabled .btc-btn-inner { opacity: 0.45; }

/* ─── BTC STEP INDICATOR ─────────────────── */
.btc-steps {
  margin-top: 24px;
  border: 1px solid var(--ash);
  background: var(--white);
  padding: 20px 24px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.btc-steps-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ash);
}

.btc-steps-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--graphite);
  font-weight: 500;
}

.btc-steps-spinner {
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--ash);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}

.btc-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--smoke);
  transition: color 0.3s ease;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--ash);
  flex-shrink: 0;
  transition: all 0.3s ease;
  background: transparent;
}

.step-text {
  font-size: 0.82rem;
  font-weight: 400;
  flex: 1;
  transition: color 0.3s ease;
}

.step-check {
  font-size: 0.78rem;
  color: transparent;
  transition: color 0.3s ease;
  font-weight: 600;
}

/* Active step */
.btc-step.active {
  color: var(--ink);
}
.btc-step.active .step-dot {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(185,28,28,0.15);
}
.btc-step.active .step-text { color: var(--ink); }

/* Done step */
.btc-step.done {
  color: var(--graphite);
}
.btc-step.done .step-dot {
  border-color: var(--smoke);
  background: var(--smoke);
}
.btc-step.done .step-text { color: var(--graphite); }
.btc-step.done .step-check { color: var(--graphite); }

/* ── Gate placeholder ───────────────────────── */
.qr-gate {
  width: 176px; height: 176px;
  border: none;
  background: transparent;
  padding: 0;
}
.gate-svg { width: 176px; height: 176px; display: block; }

/* ── Channel invite ─────────────────────────── */
.qr-channel-invite {
  margin-bottom: 14px;
  text-align: center;
}
.qr-channel-toggle {
  background: none;
  border: none;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--graphite);
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: color 0.15s;
  padding: 4px 0;
}
.qr-channel-toggle:hover { color: var(--ink); }
.qr-channel-arrow { color: var(--red); margin-left: 4px; }
.qr-channel-info {
  margin-top: 10px;
  padding: 14px;
  background: var(--ivory);
  border: 1px solid var(--ash);
  text-align: left;
}
.qr-channel-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 6px;
}
.qr-channel-note {
  font-size: 0.72rem;
  color: var(--smoke);
  margin-top: 6px;
  line-height: 1.5;
}

/* ── Paid invoice ID ────────────────────────── */
.qr-paid-inv {
  font-size: 0.75rem;
  color: var(--graphite);
  margin: 6px 0 10px;
  letter-spacing: 0.02em;
}
.qr-paid-inv-id {
  font-family: 'DM Mono', 'Courier New', monospace;
  color: var(--ink);
  font-weight: 500;
}

/* ── Post-payment shipping form ─────────────── */
.qr-shipping-form {
  margin-top: 24px;
  border-top: 1px solid var(--ash);
  padding-top: 24px;
}

/* ── Country selector ───────────────────────── */
.shipping-country-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: var(--ivory);
  border: 1px solid var(--ash);
}
.shipping-country-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--graphite);
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.shipping-country-select {
  flex: 1;
  font-size: 0.86rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ash);
  padding: 7px 10px;
  border-radius: 3px;
  cursor: pointer;
  appearance: auto;
}
.shipping-country-select:focus {
  outline: none;
  border-color: var(--graphite);
}

/* ── Invoice breakdown ──────────────────────── */
.inv-breakdown {
  font-size: 0.82rem;
  color: var(--graphite);
  margin-bottom: 24px;
  border: 1px solid var(--ash);
}
.inv-breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid var(--ash);
}
.inv-breakdown-total {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
}

/* ── Card panel section divider ─────────────── */
.card-section-divider {
  border-top: 1px solid var(--ash);
  margin: 24px 0;
}

/* ── Same-as-billing checkbox row ────────────── */
.same-billing-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 4px;
  flex-wrap: wrap;
}
.same-billing-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--graphite);
  cursor: pointer;
  user-select: none;
}
.same-billing-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--red);
  cursor: pointer;
  flex-shrink: 0;
}
.same-billing-note {
  font-size: 0.78rem;
  color: var(--red);
}

/* ── Qty stepper ──────────────────────────── */
.qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.qty-btn {
  width: 30px; height: 30px;
  border: 1.5px solid var(--ash);
  background: var(--white);
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.qty-btn:hover { border-color: var(--ink); background: var(--ivory); }
.qty-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  min-width: 18px;
  text-align: center;
}
.product-card.in-cart {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}
.product-card.in-cart .qty-val { color: var(--red); }

/* ── Order ID display ─────────────────────── */
.qr-orderid-row { margin-top: 4px; text-align: center; }
.qr-orderid {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--graphite);
  text-transform: uppercase;
}
.success-order-id {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--graphite);
  text-transform: uppercase;
  margin-top: 8px;
}

/* ── Same-billing checkbox alignment fix ─── */
.same-billing-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 4px;
  flex-wrap: nowrap;
}
.same-billing-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--graphite);
  cursor: pointer;
  user-select: none;
  line-height: 1.4;
}
.same-billing-note {
  font-size: 0.82rem;
  color: var(--red);
  line-height: 1.4;
}

/* ── Qty clear link ───────────────────────── */
.qty-clear {
  font-size: 0.70rem;
  color: var(--graphite);
  letter-spacing: 0.06em;
  text-decoration: none;
  margin-left: 4px;
  opacity: 0.6;
  transition: opacity 0.2s, color 0.2s;
}
.qty-clear:hover { opacity: 1; color: var(--red); }

/* ── Other country text input ─────────────── */
.shipping-country-other {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: -14px;
  margin-bottom: 20px;
  padding: 10px 16px;
  background: var(--ivory);
  border: 1px solid var(--ash);
  border-top: none;
}
.shipping-country-text {
  flex: 1;
  font-size: 0.86rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ash);
  padding: 7px 10px;
  border-radius: 3px;
}
.shipping-country-text:focus {
  outline: none;
  border-color: var(--graphite);
}

/* ── Unified order success bar ────────────── */
.order-success-bar {
  background: var(--white);
  border: 1px solid var(--ash);
  border-top: 3px solid var(--ink);
  max-width: 860px;
  margin: 0 auto 48px;
  padding: 24px 32px;
}
.order-success-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.order-success-check {
  width: 36px; height: 36px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--ink);
}
.order-success-text {
  flex: 1;
  font-size: 0.88rem;
  color: var(--graphite);
  font-weight: 300;
  line-height: 1.6;
}
.order-success-text strong {
  color: var(--ink);
  font-weight: 500;
  margin-right: 6px;
}
.order-success-id {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-top: 4px;
}
.order-new-btn {
  background: none;
  border: 1px solid var(--ash);
  color: var(--graphite);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.order-new-btn:hover { border-color: var(--ink); color: var(--ink); }

/* ── Checkout panel greyed after order ────── */
.checkout-panel.order-complete {
  opacity: 0.4;
  pointer-events: none;
  user-select: none;
}

