/*
Theme Name:        Grey Peppers
Theme URI:         https://greypeppers.xyz/
Author:            Grey Peppers
Author URI:        https://greypeppers.xyz/
Description:       Premium research peptides. Batch-tested, lab-certified. Bitcoin-only checkout via BTCPay Server, no accounts required. Minimal, dark-first design with light mode, monospace accents for technical and payment details. Built on WordPress + WooCommerce.
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      8.0
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       grey-peppers
Tags:              e-commerce, woocommerce, dark-mode, bitcoin, minimal, custom-menu, featured-images
*/

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {
  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", "SF Mono", "Cascadia Code", Consolas, monospace;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-full: 999px;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;

  /* Layout */
  --container: 1200px;
  --header-h: 64px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --speed: 200ms;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Light theme (default tokens, overridden by .dark) */
:root,
.gp-theme-light {
  --bg: #ffffff;
  --bg-elevated: #fafafa;
  --card: #ffffff;
  --card-hover: #f7f7f9;
  --border: #e4e4e7;
  --border-subtle: #ececef;
  --text: #18181b;
  --text-muted: #52525b;
  --text-faint: #a1a1aa;
  --accent: #e94560;
  --accent-hover: #d63a54;
  --accent-soft: rgba(233, 69, 96, 0.08);
  --accent-border: rgba(233, 69, 96, 0.25);
  --success: #059669;
  --success-soft: rgba(16, 185, 129, 0.1);
  --success-border: rgba(16, 185, 129, 0.25);
  --warning: #d97706;
  --warning-soft: rgba(245, 158, 11, 0.1);
  --warning-border: rgba(245, 158, 11, 0.25);
  --destructive: #dc2626;
  --destructive-soft: rgba(239, 68, 68, 0.08);
  --destructive-border: rgba(239, 68, 68, 0.25);
  --input-bg: #ffffff;
  --overlay: rgba(10, 10, 15, 0.6);
  --scrollbar-track: #f4f4f5;
  --scrollbar-thumb: #d4d4d8;
  color-scheme: light;
}

/* Dark theme (default preference) */
.gp-theme-dark {
  --bg: #0a0a0f;
  --bg-elevated: #101017;
  --card: #101018;
  --card-hover: #16161f;
  --border: #23232e;
  --border-subtle: #1b1b24;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-faint: #71717a;
  --accent: #e94560;
  --accent-hover: #f05670;
  --accent-soft: rgba(233, 69, 96, 0.12);
  --accent-border: rgba(233, 69, 96, 0.3);
  --success: #10b981;
  --success-soft: rgba(16, 185, 129, 0.12);
  --success-border: rgba(16, 185, 129, 0.3);
  --warning: #f59e0b;
  --warning-soft: rgba(245, 158, 11, 0.12);
  --warning-border: rgba(245, 158, 11, 0.3);
  --destructive: #ef4444;
  --destructive-soft: rgba(239, 68, 68, 0.12);
  --destructive-border: rgba(239, 68, 68, 0.3);
  --input-bg: #0d0d13;
  --overlay: rgba(0, 0, 0, 0.72);
  --scrollbar-track: #0a0a0f;
  --scrollbar-thumb: #2a2a35;
  color-scheme: dark;
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--speed) var(--ease), color var(--speed) var(--ease);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--speed) var(--ease);
}

a:hover {
  color: var(--accent-hover);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-4);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

p {
  margin: 0 0 var(--space-4);
}

ul, ol {
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: var(--radius-full);
  border: 2px solid var(--scrollbar-track);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-faint);
}

/* ==========================================================================
   3. LAYOUT PRIMITIVES
   ========================================================================== */

.gp-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.gp-container--narrow {
  max-width: 760px;
}

.gp-main {
  flex: 1 0 auto;
  width: 100%;
}

.gp-section {
  padding: var(--space-7) 0;
}

.gp-section--tight {
  padding: var(--space-5) 0;
}

.gp-grid {
  display: grid;
  gap: var(--space-4);
}

.gp-grid--2 { grid-template-columns: repeat(2, 1fr); }
.gp-grid--3 { grid-template-columns: repeat(3, 1fr); }
.gp-grid--4 { grid-template-columns: repeat(4, 1fr); }

.gp-stack { display: flex; flex-direction: column; }
.gp-row { display: flex; align-items: center; }
.gp-row--between { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.gp-row--wrap { flex-wrap: wrap; }
.gp-gap-1 { gap: var(--space-1); }
.gp-gap-2 { gap: var(--space-2); }
.gp-gap-3 { gap: var(--space-3); }
.gp-gap-4 { gap: var(--space-4); }
.gp-mt-1 { margin-top: var(--space-1); }
.gp-mt-2 { margin-top: var(--space-2); }
.gp-mt-3 { margin-top: var(--space-3); }
.gp-mt-4 { margin-top: var(--space-4); }
.gp-mt-6 { margin-top: var(--space-6); }
.gp-mb-2 { margin-bottom: var(--space-2); }
.gp-mb-4 { margin-bottom: var(--space-4); }
.gp-mb-6 { margin-bottom: var(--space-6); }
.gp-text-center { text-align: center; }
.gp-text-muted { color: var(--text-muted); }
.gp-text-faint { color: var(--text-faint); }
.gp-text-sm { font-size: 0.875rem; }
.gp-text-xs { font-size: 0.75rem; }
.gp-mono { font-family: var(--font-mono); }
.gp-hidden, [hidden] { display: none !important; }

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

.gp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: all var(--speed) var(--ease);
  white-space: nowrap;
  text-decoration: none;
  user-select: none;
}

.gp-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.gp-btn:active {
  transform: scale(0.98);
}

.gp-btn--primary {
  background: var(--accent);
  color: #fff;
}
.gp-btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 4px 16px rgba(233, 69, 96, 0.3);
}

.gp-btn--outline {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}
.gp-btn--outline:hover {
  border-color: var(--text-faint);
  background: var(--card-hover);
  color: var(--text);
}

.gp-btn--ghost {
  color: var(--text-muted);
  padding: 0.5rem;
}
.gp-btn--ghost:hover {
  background: var(--card-hover);
  color: var(--text);
}

.gp-btn--success {
  background: var(--success);
  color: #fff;
}

.gp-btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.gp-btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.gp-btn--block {
  width: 100%;
}

.gp-btn:disabled,
.gp-btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Icon-only button */
.gp-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: var(--radius-lg);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
  position: relative;
}
.gp-icon-btn:hover {
  background: var(--card-hover);
  color: var(--accent);
}
.gp-icon-btn:active {
  transform: scale(0.95);
}

/* ==========================================================================
   5. CARDS
   ========================================================================== */

.gp-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease),
    box-shadow var(--speed) var(--ease), background var(--speed) var(--ease);
}

.gp-card--hover:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.gp-card--accent {
  border-color: var(--accent-border);
  background: linear-gradient(180deg, var(--accent-soft), var(--card));
}

.gp-card--success {
  border-color: var(--success-border);
}

.gp-card--warning {
  border-color: var(--warning-border);
  background: var(--warning-soft);
}

.gp-card--destructive {
  border-color: var(--destructive-border);
}

.gp-card--flat {
  background: var(--bg-elevated);
}

/* ==========================================================================
   6. FORMS
   ========================================================================== */

.gp-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.gp-field__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.gp-field__label .req {
  color: var(--accent);
  margin-left: 2px;
}

.gp-field__hint {
  font-size: 0.75rem;
  color: var(--text-faint);
}

.gp-input,
.gp-select,
.gp-textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  appearance: none;
}

.gp-input::placeholder,
.gp-textarea::placeholder {
  color: var(--text-faint);
}

.gp-input:focus,
.gp-select:focus,
.gp-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.gp-input--mono {
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.gp-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}

.gp-textarea {
  min-height: 120px;
  resize: vertical;
}

.gp-input--invalid,
.gp-select--invalid,
.gp-textarea--invalid {
  border-color: var(--destructive);
}

.gp-field__error {
  font-size: 0.75rem;
  color: var(--destructive);
}

/* Checkbox */
.gp-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background var(--speed) var(--ease);
  border: 1px solid transparent;
}
.gp-check:hover {
  background: var(--card-hover);
}
.gp-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.gp-check__label {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text);
}

/* ==========================================================================
   7. BADGES / PILLS
   ========================================================================== */

.gp-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-elevated);
  white-space: nowrap;
}

.gp-badge--success {
  color: var(--success);
  background: var(--success-soft);
  border-color: var(--success-border);
}

.gp-badge--warning {
  color: var(--warning);
  background: var(--warning-soft);
  border-color: var(--warning-border);
}

.gp-badge--accent {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent-border);
}

.gp-badge--bitcoin {
  color: #f7931a;
  background: rgba(247, 147, 26, 0.12);
  border-color: rgba(247, 147, 26, 0.3);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* Status dot */
.gp-status-dot {
  position: relative;
  display: inline-flex;
  width: 10px;
  height: 10px;
}
.gp-status-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: currentColor;
  animation: gp-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.gp-status-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: currentColor;
}
.gp-status-dot--success { color: var(--success); }
.gp-status-dot--warning { color: var(--warning); }
.gp-status-dot--pending { color: var(--text-faint); }

/* ==========================================================================
   8. HEADER
   ========================================================================== */

.gp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease);
}

.gp-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.gp-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}
.gp-logo:hover { color: var(--text); }

.gp-logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-lg);
  background: var(--accent);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.gp-logo:hover .gp-logo__mark {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(233, 69, 96, 0.35);
}

.gp-header__btc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--card);
  flex-shrink: 0;
}
.gp-header__btc .gp-btc-symbol {
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
}
.gp-header__btc-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.gp-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.gp-nav__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-lg);
  transition: color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.gp-nav__link:hover {
  color: var(--text);
  background: var(--card-hover);
}
.gp-nav__link--active {
  color: var(--text);
}

.gp-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.gp-cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
}

/* Mobile nav */
.gp-nav__toggle {
  display: none;
}

@media (max-width: 720px) {
  .gp-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: var(--space-2) var(--space-5) var(--space-4);
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
    transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
  }
  .gp-nav.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
  .gp-nav__link {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
  }
  .gp-nav__toggle {
    display: inline-flex;
  }
}

/* ==========================================================================
   9. ANNOUNCEMENT BANNER
   ========================================================================== */

.gp-announce {
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #7c3aed));
  color: #fff;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.55rem var(--space-5);
  position: relative;
}
.gp-announce a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.gp-announce__close {
  position: absolute;
  right: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.gp-announce__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   10. HERO
   ========================================================================== */

.gp-hero {
  padding: var(--space-8) 0 var(--space-7);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gp-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, var(--accent-soft), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.gp-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.gp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.gp-hero__title {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--space-4);
}

.gp-hero__title .accent {
  color: var(--accent);
}

.gp-hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto var(--space-6);
  line-height: 1.6;
}

.gp-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.gp-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  margin-top: var(--space-6);
  font-size: 0.8125rem;
  color: var(--text-faint);
  flex-wrap: wrap;
}
.gp-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

/* ==========================================================================
   11. FEATURE CARDS
   ========================================================================== */

.gp-feature {
  text-align: center;
  padding: var(--space-5);
}
.gp-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xl);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: var(--space-4);
  transition: transform var(--speed) var(--ease);
}
.gp-feature:hover .gp-feature__icon {
  transform: scale(1.08);
}
.gp-feature__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.gp-feature__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   12. PRODUCT CARDS (catalog)
   ========================================================================== */

.gp-product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.gp-product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gp-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease);
}

.gp-product-card:hover .gp-product-card__media img {
  transform: scale(1.04);
}

.gp-product-card__media .gp-placeholder {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: -0.02em;
}

.gp-product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gp-product-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.gp-product-card__name {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: var(--text);
  transition: color var(--speed) var(--ease);
}
.gp-product-card:hover .gp-product-card__name {
  color: var(--accent);
}

.gp-product-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gp-product-card__sku {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-bottom: var(--space-4);
}

.gp-product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.gp-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.gp-price .currency {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.gp-price--lg {
  font-size: 1.5rem;
}

/* Add to cart button state */
.gp-add-to-cart {
  position: relative;
}
.gp-add-to-cart.is-added {
  background: var(--success);
  color: #fff;
}

/* ==========================================================================
   13. CATALOG / SHOP LAYOUT
   ========================================================================== */

.gp-catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}

.gp-catalog-head__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.gp-catalog-head__sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.gp-search {
  position: relative;
  width: 100%;
  max-width: 320px;
}
.gp-search__icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-faint);
  pointer-events: none;
}
.gp-search input {
  padding-left: 2.6rem;
}

.gp-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

@media (max-width: 900px) {
  .gp-catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gp-catalog-grid { grid-template-columns: 1fr; }
}

.gp-catalog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

/* Category filter chips */
.gp-chips {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}
.gp-chip {
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--speed) var(--ease);
}
.gp-chip:hover {
  border-color: var(--text-faint);
  color: var(--text);
}
.gp-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Empty / loading states */
.gp-empty {
  text-align: center;
  padding: var(--space-8) var(--space-5);
  color: var(--text-muted);
}
.gp-empty__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-3);
  opacity: 0.5;
}

.gp-skeleton {
  background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--card-hover) 50%, var(--bg-elevated) 75%);
  background-size: 200% 100%;
  animation: gp-shimmer 1.4s ease infinite;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   14. PRODUCT DETAIL
   ========================================================================== */

.gp-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: start;
}

@media (max-width: 820px) {
  .gp-product { grid-template-columns: 1fr; gap: var(--space-5); }
}

.gp-product__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gp-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gp-product__media .gp-placeholder {
  font-family: var(--font-mono);
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-faint);
}

.gp-product__badges {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.gp-product__title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.gp-product__sku {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-faint);
  margin-bottom: var(--space-5);
}

.gp-product__price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--space-5);
  font-variant-numeric: tabular-nums;
}

.gp-product__desc {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.gp-product__actions {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  flex-wrap: wrap;
}

.gp-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gp-qty button {
  width: 44px;
  height: 48px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background var(--speed) var(--ease);
}
.gp-qty button:hover {
  background: var(--card-hover);
}
.gp-qty input {
  width: 52px;
  height: 48px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  -moz-appearance: textfield;
}
.gp-qty input::-webkit-outer-spin-button,
.gp-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.gp-product__meta {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.gp-product__meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.gp-product__meta-item svg {
  color: var(--success);
  flex-shrink: 0;
}

/* ==========================================================================
   15. CART
   ========================================================================== */

.gp-cart {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-6);
  align-items: start;
}

@media (max-width: 900px) {
  .gp-cart { grid-template-columns: 1fr; }
}

.gp-cart__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.gp-cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-4);
}

.gp-cart-item__media {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.gp-cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gp-cart-item__media .gp-placeholder {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-faint);
}

.gp-cart-item__name {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: var(--space-1);
}
.gp-cart-item__meta {
  font-size: 0.8125rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

.gp-cart-item__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-3);
}

.gp-cart-item__price {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.gp-cart-item__remove {
  font-size: 0.8125rem;
  color: var(--text-faint);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  transition: all var(--speed) var(--ease);
}
.gp-cart-item__remove:hover {
  color: var(--destructive);
  background: var(--destructive-soft);
}

.gp-cart-item__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.gp-cart-item__qty button {
  width: 32px;
  height: 34px;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
}
.gp-cart-item__qty button:hover {
  background: var(--card-hover);
}
.gp-cart-item__qty span {
  width: 36px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
}

@media (max-width: 560px) {
  .gp-cart-item {
    grid-template-columns: 56px 1fr;
  }
  .gp-cart-item__right {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Cart summary */
.gp-summary {
  position: sticky;
  top: calc(var(--header-h) + var(--space-5));
}

.gp-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.gp-summary__row--total {
  border-top: 1px solid var(--border);
  margin-top: var(--space-3);
  padding-top: var(--space-4);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}
.gp-summary__row .amount {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--text);
}

.gp-summary__note {
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-top: var(--space-3);
  line-height: 1.5;
}

/* Coupon */
.gp-coupon {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.gp-coupon input {
  flex: 1;
}
.gp-coupon__applied {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  color: var(--success);
  background: var(--success-soft);
  border: 1px solid var(--success-border);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}
.gp-coupon__applied button {
  background: none;
  border: none;
  color: var(--success);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
}

/* ==========================================================================
   16. CHECKOUT
   ========================================================================== */

.gp-checkout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-6);
  align-items: start;
}

@media (max-width: 900px) {
  .gp-checkout { grid-template-columns: 1fr; }
}

.gp-checkout__section-title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}
.gp-checkout__section-title .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
  color: var(--accent);
}

.gp-checkout__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--space-4);
}
.gp-checkout__fields .gp-field--full {
  grid-column: 1 / -1;
}

@media (max-width: 560px) {
  .gp-checkout__fields { grid-template-columns: 1fr; }
}

.gp-checkout__legal {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: var(--space-5) 0;
}

.gp-payment-methods {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-5);
}
.gp-payment-method {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  cursor: pointer;
  transition: background var(--speed) var(--ease);
}
.gp-payment-method:hover {
  background: var(--card-hover);
}
.gp-payment-method input {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}
.gp-payment-method__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: rgba(247, 147, 26, 0.12);
  color: #f7931a;
  font-weight: 800;
  font-family: var(--font-mono);
}
.gp-payment-method__title {
  font-weight: 600;
  font-size: 0.9375rem;
}
.gp-payment-method__desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ==========================================================================
   17. PAYMENT SCREEN (Bitcoin)
   ========================================================================== */

.gp-pay {
  max-width: 640px;
  margin: 0 auto;
}

.gp-pay__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}
.gp-pay__head .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-lg);
  background: rgba(247, 147, 26, 0.12);
  color: #f7931a;
  flex-shrink: 0;
}
.gp-pay__head h1 {
  font-size: 1.5rem;
  margin-bottom: var(--space-1);
}
.gp-pay__head p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.gp-pay__order-id {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-4);
}
.gp-pay__order-id .label {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.gp-pay__order-id .value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9375rem;
}

.gp-pay__rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  font-size: 0.9375rem;
}
.gp-pay__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gp-pay__row .label {
  color: var(--text-muted);
}
.gp-pay__row .value {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.gp-pay__amount {
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
  margin-bottom: var(--space-5);
}
.gp-pay__amount .label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.gp-pay__amount .btc {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  word-break: break-all;
}

.gp-pay__address {
  margin-bottom: var(--space-5);
}
.gp-pay__address label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.gp-pay__address-row {
  display: flex;
  gap: var(--space-2);
}
.gp-pay__address-row input {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  background: var(--bg-elevated);
  cursor: pointer;
}

.gp-pay__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) 0;
}
.gp-pay__qr-box {
  background: #fff;
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  line-height: 0;
}
.gp-pay__qr-box canvas,
.gp-pay__qr-box img {
  width: 180px;
  height: 180px;
  image-rendering: pixelated;
}
.gp-pay__qr-caption {
  font-size: 0.75rem;
  color: var(--text-faint);
  text-align: center;
}

/* Status panel */
.gp-pay__status {
  margin-top: var(--space-5);
}
.gp-pay__status-line {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.9375rem;
}
.gp-pay__status-line--pending {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
}
.gp-pay__status-line--received {
  background: var(--warning-soft);
  color: var(--warning);
  border: 1px solid var(--warning-border);
}
.gp-pay__status-line--confirmed {
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid var(--success-border);
}
.gp-pay__status-line--failed {
  background: var(--destructive-soft);
  color: var(--destructive);
  border: 1px solid var(--destructive-border);
}

.gp-pay__status-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}
.gp-pay__status-meta {
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-top: var(--space-3);
}

.gp-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: gp-spin 0.8s linear infinite;
  display: inline-block;
}

/* Important notes */
.gp-pay__notes {
  margin-top: var(--space-5);
}
.gp-pay__notes h3 {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 1rem;
  margin-bottom: var(--space-3);
}
.gp-pay__notes ul {
  list-style: disc;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.gp-pay__notes li {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Done / success */
.gp-done {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-7) 0;
}
.gp-done__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  margin-bottom: var(--space-5);
}
.gp-done h1 {
  font-size: 2rem;
  margin-bottom: var(--space-3);
}
.gp-done p {
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto var(--space-4);
}
.gp-done__order-id {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
}
.gp-done__next {
  text-align: left;
  margin: 0 auto var(--space-6);
  max-width: 440px;
}
.gp-done__next li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.gp-done__next li:last-child {
  border-bottom: none;
}
.gp-done__next .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ==========================================================================
   18. AGE GATE OVERLAY
   ========================================================================== */

.gp-agegate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--overlay);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  animation: gp-fade-in 300ms var(--ease);
}

.gp-agegate__box {
  width: 100%;
  max-width: 520px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-7);
  box-shadow: var(--shadow-lg);
  animation: gp-slide-up 400ms var(--ease);
}

.gp-agegate__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-xl);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: var(--space-5);
}

.gp-agegate__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.gp-agegate__sub {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: var(--space-5);
  line-height: 1.6;
}

.gp-agegate__checks {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.gp-agegate__foot {
  font-size: 0.75rem;
  color: var(--text-faint);
  text-align: center;
  margin-top: var(--space-4);
  line-height: 1.5;
}

/* ==========================================================================
   19. FOOTER
   ========================================================================== */

.gp-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  margin-top: auto;
}

.gp-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--space-6);
  padding: var(--space-7) 0;
}

@media (max-width: 820px) {
  .gp-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .gp-footer__grid { grid-template-columns: 1fr; }
}

.gp-footer__brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.6;
}

.gp-footer__heading {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin-bottom: var(--space-4);
}

.gp-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.gp-footer__links a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  display: inline-block;
  transition: color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.gp-footer__links a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.gp-footer__status {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.gp-footer__bottom {
  border-top: 1px solid var(--border);
  padding: var(--space-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--text-faint);
}
.gp-footer__bottom .links {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.gp-footer__bottom a {
  color: var(--text-faint);
}
.gp-footer__bottom a:hover {
  color: var(--accent);
}

/* ==========================================================================
   20. TOASTS
   ========================================================================== */

.gp-toasts {
  position: fixed;
  bottom: var(--space-5);
  right: var(--space-5);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: calc(100vw - var(--space-8));
}

.gp-toast {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  max-width: 380px;
  animation: gp-toast-in 300ms var(--ease);
}
.gp-toast.is-leaving {
  animation: gp-toast-out 250ms var(--ease) forwards;
}
.gp-toast__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}
.gp-toast--success .gp-toast__icon { color: var(--success); }
.gp-toast--error .gp-toast__icon { color: var(--destructive); }
.gp-toast--info .gp-toast__icon { color: var(--accent); }
.gp-toast__title {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 2px;
}
.gp-toast__desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   21. STEP INDICATOR
   ========================================================================== */

.gp-steps {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.gp-step {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.gp-step__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--bg-elevated);
  color: var(--text-faint);
  border: 1px solid var(--border);
  transition: all var(--speed) var(--ease);
}
.gp-step__label {
  font-size: 0.8125rem;
  color: var(--text-faint);
}
.gp-step__line {
  width: 24px;
  height: 2px;
  background: var(--border);
  transition: background var(--speed) var(--ease);
}
.gp-step.is-active .gp-step__dot {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.08);
}
.gp-step.is-active .gp-step__label {
  color: var(--text);
  font-weight: 600;
}
.gp-step.is-done .gp-step__dot {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}
.gp-step.is-done .gp-step__label {
  color: var(--success);
}
.gp-step.is-done .gp-step__line,
.gp-step.is-done + .gp-step .gp-step__line {
  background: var(--success);
}

@media (max-width: 720px) {
  .gp-step__label { display: none; }
}

/* ==========================================================================
   22. TABLES (shipping)
   ========================================================================== */

.gp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.gp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 560px;
}
.gp-table th,
.gp-table td {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  white-space: nowrap;
}
.gp-table thead th {
  background: var(--bg-elevated);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8125rem;
}
.gp-table tbody tr {
  border-top: 1px solid var(--border-subtle);
}
.gp-table tbody td {
  color: var(--text-muted);
}
.gp-table .mono {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

/* ==========================================================================
   23. MISC / UTILITIES
   ========================================================================== */

.gp-divider {
  height: 1px;
  background: var(--border);
  border: none;
  margin: var(--space-6) 0;
}

.gp-callout {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  line-height: 1.55;
}
.gp-callout--info {
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--text);
}
.gp-callout--warning {
  background: var(--warning-soft);
  border: 1px solid var(--warning-border);
}
.gp-callout__icon {
  flex-shrink: 0;
  margin-top: 1px;
}
.gp-callout--info .gp-callout__icon { color: var(--accent); }
.gp-callout--warning .gp-callout__icon { color: var(--warning); }

.gp-btc-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(247, 147, 26, 0.15);
  color: #f7931a;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.8125rem;
}

/* WooCommerce notices restyle */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  font-size: 0.9375rem;
}
.woocommerce-message { border-color: var(--success-border); background: var(--success-soft); }
.woocommerce-error { border-color: var(--destructive-border); background: var(--destructive-soft); }
.woocommerce-info { border-color: var(--accent-border); background: var(--accent-soft); }
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  display: none;
}

/* WooCommerce default element cleanup */
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-breadcrumb {
  display: none;
}

/* ==========================================================================
   24. ANIMATIONS
   ========================================================================== */

@keyframes gp-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes gp-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gp-spin {
  to { transform: rotate(360deg); }
}

@keyframes gp-ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

@keyframes gp-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes gp-toast-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes gp-toast-out {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(24px); }
}

.gp-animate-fade-in { animation: gp-fade-in 400ms var(--ease); }
.gp-animate-slide-up { animation: gp-slide-up 500ms var(--ease); }

/* Staggered children */
.gp-stagger > * {
  animation: gp-slide-up 500ms var(--ease) both;
}
.gp-stagger > *:nth-child(1) { animation-delay: 0ms; }
.gp-stagger > *:nth-child(2) { animation-delay: 60ms; }
.gp-stagger > *:nth-child(3) { animation-delay: 120ms; }
.gp-stagger > *:nth-child(4) { animation-delay: 180ms; }
.gp-stagger > *:nth-child(5) { animation-delay: 240ms; }
.gp-stagger > *:nth-child(6) { animation-delay: 300ms; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Prose (page content) */
.gp-prose {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 1rem;
}
.gp-prose h2 {
  font-size: 1.5rem;
  margin: var(--space-6) 0 var(--space-3);
  color: var(--text);
}
.gp-prose h3 {
  font-size: 1.125rem;
  margin: var(--space-5) 0 var(--space-2);
  color: var(--text);
}
.gp-prose p {
  margin-bottom: var(--space-4);
}
.gp-prose ul,
.gp-prose ol {
  padding-left: 1.25rem;
  margin-bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.gp-prose ul { list-style: disc; }
.gp-prose ol { list-style: decimal; }
.gp-prose a { color: var(--accent); }
.gp-prose strong { color: var(--text); }
.gp-prose blockquote {
  border-left: 3px solid var(--accent);
  padding: var(--space-2) var(--space-4);
  margin: var(--space-5) 0;
  background: var(--accent-soft);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  color: var(--text);
}
.gp-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-5) 0;
  font-size: 0.9375rem;
}
.gp-prose th,
.gp-prose td {
  border: 1px solid var(--border);
  padding: var(--space-3);
  text-align: left;
}
.gp-prose th {
  background: var(--bg-elevated);
  color: var(--text);
}

/* ==========================================================================
   25. PRINT
   ========================================================================== */

@media print {
  .gp-header,
  .gp-footer,
  .gp-announce,
  .gp-agegate,
  .gp-toasts {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}
