/* ==========================================
   PeptideLab - Clean White Theme
   Inspired by PeptideHubs UX
   ========================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f7f8fa;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f2f5;
  --bg-input: #f5f6f8;
  --border: #e2e5ea;
  --border-light: #ebedf0;
  --text-primary: #1a1a2e;
  --text-secondary: #5a5a7a;
  --text-muted: #8a8aaa;
  --accent: #c9a84c;
  --accent-hover: #b8963e;
  --accent-light: rgba(201,168,76,0.1);
  --success: #16a34a;
  --success-light: #f0fdf4;
  --warning: #f59e0b;
  --warning-light: #fffbeb;
  --danger: #dc2626;
  --danger-light: #fef2f2;
  --price: #1a1a2e;
  --sale: #dc2626;
  --sale-bg: #dc2626;
  --gold: #c9a84c;
  --gold-hover: #b8963e;
  --nav-bg: #0a0a0a;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --transition: all 0.2s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Top Banner */
.top-banner {
  background: #111111;
  color: var(--gold);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 500;
  border-bottom: 1px solid #1f1f1f;
}

/* ==========================================
   Navbar (Dark Theme)
   ========================================== */
.navbar {
  background: var(--nav-bg);
  border-bottom: 1px solid #1a1a1a;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 24px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
  text-decoration: none;
}
.logo:hover { opacity: 0.9; }

/* SVG crystal icon */
.logo-svg {
  width: 46px; height: 46px; flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(201,168,76,0.5));
  transition: filter 0.3s;
}
.logo:hover .logo-svg { filter: drop-shadow(0 0 10px rgba(201,168,76,0.8)); }

/* Text stack */
.logo-text-block {
  display: flex; flex-direction: column; gap: 0; line-height: 1;
}
.logo-main-text {
  font-size: 1.35rem; font-weight: 900; letter-spacing: -0.5px;
  background: linear-gradient(135deg, #f0d060 0%, #c9a840 30%, #e8c96a 60%, #a07820 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-sep-line {
  display: block; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, #c9a84c, transparent);
  margin: 4px 0;
}
.logo-sub-text {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #c9a840, #e8c96a);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-icon { font-size: 1.6rem; color: var(--gold); }

.nav-links { display: flex; gap: 28px; }
.nav-links a { color: rgba(255,255,255,0.75); font-weight: 600; font-size: 0.88rem; padding: 4px 0; text-transform: uppercase; letter-spacing: 0.5px; }
.nav-links a:hover { color: #ffffff; }

.nav-actions { display: flex; align-items: center; gap: 16px; }

.search-form { position: relative; }
.search-input {
  background: #1a1a1a; border: 1px solid #2a2a2a;
  color: #ffffff; padding: 8px 16px;
  border-radius: 24px; font-size: 0.9rem; width: 200px;
  transition: var(--transition);
}
.search-input:focus { outline: none; border-color: var(--gold); width: 260px; box-shadow: 0 0 0 3px rgba(201,168,76,0.15); }
.search-input::placeholder { color: #555; }

.cart-link { position: relative; color: rgba(255,255,255,0.8); font-size: 1.3rem; display: flex; align-items: center; }
.cart-link:hover { color: var(--gold); }
.cart-badge {
  position: absolute; top: -8px; right: -10px;
  background: var(--gold); color: #000;
  font-size: 0.7rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.user-menu { position: relative; cursor: pointer; }
.user-name {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  background: rgba(201,168,64,0.12);
  border: 1px solid rgba(201,168,64,0.35);
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  letter-spacing: 0.3px;
}
.nav-logout-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: rgba(220,53,69,0.85);
  border: none;
  padding: 5px 12px;
  border-radius: 20px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background 0.2s;
}
.nav-logout-btn:hover { background: #dc3545; color: #fff; }
.dropdown-logout { color: #dc3545 !important; font-weight: 700; }
.user-dropdown {
  display: none; position: absolute; top: calc(100% + 10px); right: 0;
  background: #1a1a1a; border: 1px solid #2a2a2a;
  border-radius: var(--radius-sm); padding: 8px 0;
  min-width: 160px; box-shadow: 0 8px 30px rgba(0,0,0,0.5); z-index: 1000;
}
.user-dropdown.open { display: block; }
.user-dropdown a { display: block; padding: 8px 16px; color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.user-dropdown a:hover { background: #2a2a2a; color: #ffffff; }

.mobile-toggle {
  display: none; background: none; border: none;
  color: rgba(255,255,255,0.8); font-size: 1.5rem; cursor: pointer;
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9rem; border: none;
  cursor: pointer; transition: var(--transition);
  text-decoration: none; gap: 8px;
}
.btn-primary { background: var(--gold); color: #0d0d0d; }
.btn-primary:hover { background: var(--gold-hover); color: #0d0d0d; box-shadow: 0 4px 12px rgba(201,168,76,0.35); }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-outline:hover { border-color: var(--gold-hover); color: var(--gold-hover); background: rgba(201,168,76,0.08); }
.btn-success { background: var(--success); color: white; }
.btn-success:hover { opacity: 0.9; color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { opacity: 0.9; color: white; }
.btn-warning { background: var(--warning); color: #0d0d0d; }
.btn-warning:hover { opacity: 0.9; color: #0d0d0d; }
.btn-cart {
  background: var(--gold); color: #0d0d0d; width: 100%;
  padding: 10px 16px; border-radius: 6px; font-weight: 700;
  font-size: 0.85rem; border: none; cursor: pointer; transition: var(--transition);
}
.btn-cart:hover { background: var(--gold-hover); color: #0d0d0d; }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ==========================================
   Hero Section (Diagonal Split)
   ========================================== */
.hero {
  position: relative;
  min-height: 448px;
  background: #0d0d0d;
  overflow: hidden;
  display: flex;
  align-items: center;
}
/* Horizontal wave lines — matches Core Peptides style */
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='40'%3E%3Cpath d='M0 20 C75 8 150 32 225 20 S300 8 300 20' stroke='white' stroke-opacity='0.055' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");
  background-size: 300px 40px;
  background-repeat: repeat;
  z-index: 0; pointer-events: none;
}
/* White diagonal right section */
.hero-white-bg {
  position: absolute;
  top: 0; right: 0;
  width: 62%;
  height: 100%;
  background: #ffffff;
  clip-path: polygon(16% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 44% 56%;
  align-items: center;
  min-height: 448px;
  padding: 45px 0;
  width: 100%;
}
.hero-text { padding-right: 20px; }
.hero-text h1 {
  font-size: 4.5rem; font-weight: 900;
  text-transform: uppercase; line-height: 0.95;
  color: var(--gold); margin-bottom: 18px;
  letter-spacing: -1.5px;
}
.hero-text p {
  color: rgba(255,255,255,0.78); font-size: 0.9rem;
  max-width: 380px; margin-bottom: 28px; line-height: 1.65;
}
.hero-cta-btn {
  display: inline-block;
  border: 2px solid var(--gold);
  color: var(--gold); padding: 12px 35px;
  font-weight: 700; font-size: 0.85rem;
  letter-spacing: 2px; text-transform: uppercase;
  border-radius: 30px; transition: all 0.2s;
  text-decoration: none;
}
.hero-cta-btn:hover { background: var(--gold); color: #0d0d0d; }
/* Hero vials container */
.hero-products {
  position: relative; height: 424px;
  display: flex; align-items: flex-end;
  justify-content: center;
}
.hero-vial {
  position: absolute; object-fit: contain;
  mix-blend-mode: multiply;
}
.hero-vial-1 {
  height: 264px; left: 2%; bottom: 30px;
  transform: rotate(-6deg); z-index: 1; opacity: 0.85;
}
.hero-vial-2 {
  height: 400px; left: 50%; transform: translateX(-50%);
  bottom: 0; z-index: 3;
}
.hero-vial-3 {
  height: 272px; right: 2%; bottom: 29px;
  transform: rotate(5deg); z-index: 2; opacity: 0.9;
}

/* ==========================================
   Features (Dark 3-column bar)
   ========================================== */
.features { padding: 0; background: #111111; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #222;
}
.feature-card {
  background: transparent; border: none; border-right: 1px solid #222;
  border-radius: 0; padding: 40px 36px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: var(--transition);
}
.feature-card:last-child { border-right: none; }
.feature-card:hover { background: #1a1a1a; }
.feature-icon {
  font-size: 2.4rem; flex-shrink: 0;
  color: var(--gold); margin-top: 2px;
}
.feature-card h3 {
  font-size: 0.95rem; font-weight: 800; color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px;
}
.feature-card p { color: #888; font-size: 0.88rem; line-height: 1.6; }
.feature-card a { color: #c85b8a; text-decoration: underline; }

/* ==========================================
   Sections & Page Headers
   ========================================== */
.section { padding: 48px 0; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.section-header h2 { font-size: 1.6rem; font-weight: 700; }
.page-header { margin-bottom: 28px; }
.page-header h1 { font-size: 1.8rem; font-weight: 700; margin-bottom: 4px; }
.page-header p { color: var(--text-secondary); }

/* ==========================================
   Product Grid & Cards
   ========================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--transition); position: relative;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-card a { color: inherit; }

.product-image {
  position: relative;
  background: #f8f6f2;
  height: 280px; display: flex; align-items: center;
  justify-content: center; overflow: hidden; padding: 10px;
}
.product-image .vial-image {
  height: 260px; width: auto;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.18));
  transition: transform 0.3s ease;
}
.product-card:hover .vial-image { transform: scale(1.05); }

.product-placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: var(--accent); opacity: 0.2;
}
.product-placeholder.large { height: 400px; font-size: 8rem; }
.product-placeholder.small {
  width: 60px; height: 60px; font-size: 1.5rem;
  border-radius: var(--radius-sm); background: var(--bg-secondary);
}

.product-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--sale-bg); color: white;
  padding: 4px 10px; border-radius: 4px;
  font-size: 0.75rem; font-weight: 700;
}
.product-badge.large { font-size: 0.9rem; padding: 6px 14px; }

.product-info { padding: 14px 16px 8px; }
.product-category { color: var(--accent); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.product-name { font-size: 0.95rem; font-weight: 600; margin: 4px 0; color: var(--text-primary); line-height: 1.3; }
.product-dosage { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 6px; }
.product-purity { color: var(--success); font-size: 0.78rem; margin-bottom: 6px; font-weight: 500; }

.product-pricing { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.product-price { font-size: 1.15rem; font-weight: 700; color: var(--price); }
.product-original { font-size: 0.85rem; color: var(--text-muted); text-decoration: line-through; }
.product-save { font-size: 0.8rem; color: var(--sale); font-weight: 600; }
.product-pricing.large .product-price { font-size: 2rem; }

.product-card .btn-cart,
.product-card .btn { margin: 8px 16px 14px; width: calc(100% - 32px); }

/* ==========================================
   Shop Layout
   ========================================== */
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 28px; }
.shop-sidebar {
  position: sticky; top: 86px; align-self: start;
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.filter-group { margin-bottom: 20px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group h3 {
  font-size: 0.8rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 10px; font-weight: 600;
}
.filter-link {
  display: block; padding: 7px 10px; color: var(--text-secondary);
  border-radius: 6px; font-size: 0.88rem; transition: var(--transition);
}
.filter-link:hover { background: var(--bg-secondary); color: var(--text-primary); }
.filter-link.active { background: var(--gold); color: #0d0d0d; }

.search-results-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; padding: 10px 14px;
  background: var(--accent-light); border-radius: var(--radius-sm);
  border: 1px solid rgba(201,168,76,0.2);
}

/* ==========================================
   Product Detail
   ========================================== */
.breadcrumb { margin-bottom: 20px; font-size: 0.88rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--accent); }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.product-detail-image {
  position: relative;
  background: #f8f6f2;
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; align-items: center;
  justify-content: center; min-height: 420px; padding: 30px;
}
.product-detail-image .vial-image {
  height: 380px; width: auto;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,0.20));
}
.product-detail-info h1 { font-size: 1.8rem; margin-bottom: 12px; }

.product-meta {
  display: flex; gap: 20px; margin-bottom: 20px;
  padding: 14px; background: var(--bg-secondary);
  border-radius: var(--radius-sm); border: 1px solid var(--border);
}
.meta-item { display: flex; flex-direction: column; }
.meta-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.meta-value { font-weight: 600; font-size: 0.95rem; }
.stock-in { color: var(--success); }

.product-actions { display: flex; gap: 14px; margin-bottom: 28px; align-items: center; }

.quantity-selector {
  display: flex; align-items: center;
  border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
}
.qty-btn {
  background: var(--bg-secondary); border: none; color: var(--text-primary);
  width: 40px; height: 44px; font-size: 1.2rem; cursor: pointer; transition: var(--transition);
}
.qty-btn:hover { background: var(--bg-card-hover); }
.qty-input {
  background: var(--bg-primary); border: none;
  border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  color: var(--text-primary); width: 50px; height: 44px;
  text-align: center; font-size: 1rem; font-weight: 600;
}
.qty-input:focus { outline: none; }
.qty-display {
  background: var(--bg-primary); color: var(--text-primary);
  width: 40px; height: 36px; display: flex; align-items: center;
  justify-content: center; font-weight: 600;
}
.quantity-selector.small .qty-btn { width: 32px; height: 36px; font-size: 1rem; }

.product-description { margin-bottom: 24px; }
.product-description h3 { margin-bottom: 10px; font-size: 1.05rem; }
.product-description p { color: var(--text-secondary); line-height: 1.7; font-size: 0.92rem; }

.product-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pf-item {
  font-size: 0.88rem; padding: 10px 12px;
  background: rgba(34,197,94,0.08); border-radius: 6px;
  color: var(--success); font-weight: 500; border: 1px solid rgba(34,197,94,0.15);
}

.related-products { margin-top: 48px; }
.related-products h2 { margin-bottom: 20px; font-size: 1.4rem; }

/* ==========================================
   Cart
   ========================================== */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; }
.cart-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px; background: var(--bg-primary);
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 10px;
}
.cart-item-image { flex-shrink: 0; }
.cart-item-details { flex: 1; }
.cart-item-name { color: var(--text-primary); font-weight: 600; font-size: 0.95rem; }
.cart-item-dosage { color: var(--text-muted); font-size: 0.82rem; }
.cart-item-price { color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.cart-item-actions { display: flex; align-items: center; gap: 16px; }
.cart-item-total { font-weight: 700; font-size: 1rem; min-width: 70px; text-align: right; }
.btn-remove { background: none; border: none; color: var(--text-muted); font-size: 1.1rem; cursor: pointer; padding: 4px 8px; }
.btn-remove:hover { color: var(--danger); }

.cart-summary {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  position: sticky; top: 86px;
}
.cart-summary h3 { margin-bottom: 16px; font-size: 1.1rem; }

.summary-row {
  display: flex; justify-content: space-between;
  padding: 8px 0; font-size: 0.92rem; color: var(--text-secondary);
}
.summary-row.total {
  border-top: 2px solid var(--border); padding-top: 14px; margin-top: 8px;
  font-size: 1.15rem; font-weight: 700; color: var(--text-primary);
}
.shipping-note {
  background: var(--accent-light); color: var(--accent);
  padding: 8px 12px; border-radius: 6px;
  font-size: 0.82rem; margin: 8px 0; font-weight: 500;
}
.crypto-note { text-align: center; color: var(--text-muted); font-size: 0.82rem; margin: 14px 0; }
.cart-summary .btn { margin-top: 8px; }

/* ==========================================
   Checkout & Forms
   ========================================== */
.checkout-breadcrumb { margin-bottom: 20px; }
.checkout-breadcrumb a { font-size: 0.85rem; color: var(--text-muted); text-decoration: none; }
.checkout-breadcrumb a:hover { color: var(--gold); }
.checkout-title { font-size: 1.8rem; font-weight: 900; margin-bottom: 28px; color: var(--text-primary); }

.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }

/* Checkout card (replaces checkout-section) */
.checkout-card {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px; margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.checkout-card-header {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.checkout-card-header h2 { font-size: 1.05rem; font-weight: 800; color: var(--text-primary); margin-bottom: 3px; }
.checkout-card-header p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }
.checkout-step-num {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--gold); color: #0d0d0d;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 900; font-size: 1rem;
}

/* Shipping form grid */
.shipping-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.shipping-form-grid .full { grid-column: 1 / -1; }
.field-icon { margin-right: 5px; }
.required { color: var(--danger); margin-left: 2px; }
.field-hint { font-size: 0.75rem; color: var(--text-muted); display: block; margin-top: 4px; }

.shipping-notice {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 8px; padding: 14px 18px; margin-top: 20px;
  font-size: 0.85rem; color: var(--text-secondary);
}
.notice-icon { font-size: 1.3rem; flex-shrink: 0; }

/* Crypto select */
.crypto-check { display: none; font-size: 0.9rem; color: var(--gold); font-weight: 700; }
.crypto-option input:checked + .crypto-option-content .crypto-check { display: block; }
.crypto-notice {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 16px; margin-top: 16px;
  font-size: 0.82rem; color: var(--text-muted);
}

/* Order summary card */
.order-summary-card {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px;
  position: sticky; top: 86px; box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.order-summary-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 18px; color: var(--text-primary); }
.summary-items { margin-bottom: 12px; }
.summary-item {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 8px 0; border-bottom: 1px solid var(--border-light);
}
.summary-item-info { flex: 1; padding-right: 12px; }
.summary-item-name { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.summary-item-qty { font-size: 0.75rem; color: var(--text-muted); }
.summary-item-price { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); white-space: nowrap; }
.summary-divider { border: none; border-top: 1px solid var(--border); margin: 10px 0; }
.free-shipping { color: var(--success); font-weight: 700; }
.checkout-submit { margin-top: 18px; font-size: 1rem; font-weight: 700; letter-spacing: 0.3px; }
.checkout-trust {
  display: flex; justify-content: space-between;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
}
.trust-item { font-size: 0.72rem; color: var(--text-muted); text-align: center; display: flex; flex-direction: column; gap: 2px; align-items: center; }
.trust-item span { font-size: 1rem; }

/* Old checkout section kept for cart page */
.checkout-section {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin-bottom: 20px;
}
.checkout-section h2 { margin-bottom: 16px; font-size: 1.2rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; margin-bottom: 5px; font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); }
.form-input {
  width: 100%; padding: 10px 14px;
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: 6px; color: var(--text-primary);
  font-size: 0.92rem; transition: var(--transition);
}
.form-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.15); }
.form-input::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 100px; }

.crypto-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.crypto-option { cursor: pointer; }
.crypto-option input { display: none; }
.crypto-option-content {
  display: flex; flex-direction: column; align-items: center;
  padding: 16px; border: 2px solid var(--border);
  border-radius: var(--radius); transition: var(--transition); gap: 6px;
}
.crypto-option input:checked + .crypto-option-content { border-color: var(--accent); background: var(--accent-light); }
.crypto-option-content:hover { border-color: var(--text-muted); }
.crypto-symbol { font-size: 1.3rem; font-weight: 800; color: var(--accent); }
.crypto-name { font-size: 0.82rem; color: var(--text-secondary); }

/* ==========================================
   Payment Page
   ========================================== */
.payment-page { max-width: 1060px; margin: 0 auto; }
.payment-header { text-align: center; margin-bottom: 28px; }
.payment-badge {
  display: inline-block; padding: 8px 20px;
  background: var(--gold); color: #0d0d0d;
  font-weight: 900; font-size: 1.1rem; border-radius: 30px;
  margin-bottom: 14px; letter-spacing: 0.5px;
}
.payment-header h1 { font-size: 1.9rem; font-weight: 900; margin-bottom: 8px; }
.payment-header p { color: var(--text-secondary); font-size: 0.95rem; }

/* Countdown timer */
.payment-timer-wrap { margin-bottom: 24px; text-align: center; }
.payment-timer {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: 30px; padding: 10px 24px;
  font-size: 0.92rem; color: var(--text-secondary);
}
.timer-icon { font-size: 1.1rem; }
.payment-timer #timerDisplay { font-size: 1.1rem; font-weight: 800; color: var(--gold); }
.payment-timer.urgent #timerDisplay { color: var(--danger); }
.payment-timer.expired { background: var(--danger-light); border-color: var(--danger); color: var(--danger); }
.hidden { display: none !important; }

/* 2-column body */
.payment-body {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 28px; align-items: start;
}

/* Step cards */
.payment-step-card {
  display: flex; gap: 18px;
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px; margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.step-badge {
  width: 34px; height: 34px; flex-shrink: 0;
  background: var(--gold); color: #0d0d0d;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 900; font-size: 1rem;
}
.step-body { flex: 1; }
.step-body h3 { margin-bottom: 14px; font-size: 0.95rem; font-weight: 700; }
.step-note { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* Wallet address */
.wallet-address-box {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-secondary); border: 1px solid var(--border);
  border: 2px solid rgba(201,168,76,0.3);
  padding: 12px 16px; border-radius: 10px; margin-bottom: 12px;
}
.wallet-address-box code { flex: 1; word-break: break-all; font-size: 0.8rem; color: var(--gold); font-weight: 600; }
.copy-btn {
  background: var(--gold); color: #0d0d0d;
  border: none; border-radius: 6px; padding: 6px 14px;
  font-size: 0.8rem; font-weight: 700; cursor: pointer;
  white-space: nowrap; transition: var(--transition); flex-shrink: 0;
}
.copy-btn:hover { background: var(--gold-hover); }

/* Amount display */
.amount-display { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; }
.amount-usd { font-size: 1.6rem; font-weight: 900; color: var(--text-primary); }
.amount-usd span { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); margin-left: 6px; }
.amount-convert { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; }

/* Screenshot upload zone */
.upload-zone {
  border: 2px dashed var(--border); border-radius: 12px;
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
  overflow: hidden;
}
.upload-zone:hover, .upload-zone.drag-over { border-color: var(--gold); background: rgba(201,168,76,0.04); }
.upload-zone-inner { padding: 32px 20px; text-align: center; }
.upload-icon { font-size: 2.4rem; margin-bottom: 10px; opacity: 0.5; }
.upload-title { font-size: 0.92rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.upload-sub { font-size: 0.78rem; color: var(--text-muted); }
.upload-preview { position: relative; }
.upload-preview img { width: 100%; max-height: 280px; object-fit: contain; display: block; padding: 12px; }
.upload-change { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,0.65); color: #fff; font-size: 0.75rem; padding: 4px 10px; border-radius: 6px; }

/* QR panel */
.payment-qr-panel { display: flex; flex-direction: column; gap: 16px; }
.qr-card {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px; text-align: center;
}
.qr-card h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; color: var(--text-primary); }
.qr-wrap { margin-bottom: 14px; }
.qr-img { width: 150px; height: 150px; object-fit: contain; border-radius: 8px; }
.qr-placeholder { width: 150px; height: 150px; background: var(--bg-secondary); border: 2px dashed var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin: 0 auto; font-size: 0.78rem; color: var(--text-muted); }
.qr-crypto-label { display: flex; align-items: center; justify-content: center; gap: 8px; }
.qr-symbol { font-size: 1rem; font-weight: 900; color: var(--gold); }
.qr-name { font-size: 0.82rem; color: var(--text-muted); }

/* Payment notes card */
.payment-notes-card {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px;
}
.payment-notes-card h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 12px; color: var(--text-primary); }
.payment-notes-card ul { padding-left: 18px; }
.payment-notes-card li { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 8px; line-height: 1.55; }

/* Old compat */
.amount-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.payment-notes { background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-top: 20px; }
.payment-notes h4 { margin-bottom: 10px; }
.payment-notes ul { padding-left: 20px; color: var(--text-secondary); }
.payment-notes li { margin-bottom: 6px; font-size: 0.9rem; }

/* ==========================================
   Confirmation & Order Status
   ========================================== */
.confirmation-page { text-align: center; max-width: 600px; margin: 0 auto; }
.confirmation-sub { color: var(--text-secondary); font-size: 1rem; margin-bottom: 8px; }
.confirmation-icon {
  width: 72px; height: 72px; background: var(--success); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; margin: 0 auto 20px;
}
.confirmation-details {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; margin: 20px 0; text-align: left;
}
.detail-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border-light); }
.detail-row:last-child { border: none; }
.detail-row code { font-size: 0.8rem; color: var(--accent); word-break: break-all; }

.confirmation-note {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; margin-bottom: 20px; text-align: left;
}
.confirmation-note p { color: var(--text-secondary); margin-bottom: 10px; font-size: 0.92rem; }

.status-badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; }
.status-badge.pending_payment, .status-badge.pending { background: var(--warning-light); color: var(--warning); }
.status-badge.payment_submitted { background: var(--accent-light); color: var(--accent); }
.status-badge.payment_confirmed, .status-badge.processing { background: var(--success-light); color: var(--success); }
.status-badge.shipped { background: #eff6ff; color: #2563eb; }
.status-badge.delivered { background: var(--success-light); color: var(--success); }
.status-badge.cancelled { background: var(--danger-light); color: var(--danger); }
.status-badge.in-stock { background: var(--success-light); color: var(--success); }
.status-badge.out-of-stock { background: var(--danger-light); color: var(--danger); }

.order-status-page { max-width: 800px; margin: 0 auto; }
.order-header-card {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin-bottom: 28px;
}
.order-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.order-info-grid .label { display: block; font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; }

.order-progress { margin-bottom: 28px; }
.progress-bar { display: flex; justify-content: space-between; position: relative; }
.progress-bar::before { content: ''; position: absolute; top: 12px; left: 5%; width: 90%; height: 2px; background: var(--border); }
.progress-step { text-align: center; position: relative; z-index: 1; flex: 1; }
.step-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--bg-primary); border: 2px solid var(--border); margin: 0 auto 6px; }
.progress-step.active .step-dot { background: var(--accent); border-color: var(--accent); }
.progress-step.cancelled .step-dot { background: var(--danger); border-color: var(--danger); }
.progress-step span { font-size: 0.68rem; color: var(--text-muted); text-transform: capitalize; }
.progress-step.active span { color: var(--text-primary); font-weight: 600; }

.order-items-list {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; margin-bottom: 20px;
}
.order-items-list h3 { margin-bottom: 14px; }
.order-item-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border-light); }
.order-item-row:last-child { border: none; }

.tx-info { background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.tx-info .label { color: var(--text-muted); }
.tx-info code { color: var(--accent); font-size: 0.82rem; word-break: break-all; }

/* ==========================================
   Auth Pages
   ========================================== */
.auth-container { display: flex; justify-content: center; padding-top: 40px; }
.auth-card {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
  width: 100%; max-width: 420px; box-shadow: var(--shadow);
}
.auth-card h1 { text-align: center; margin-bottom: 24px; font-size: 1.5rem; }
.auth-link { text-align: center; margin-top: 16px; color: var(--text-muted); font-size: 0.88rem; }
.auth-link a { color: var(--accent); }

.alert { padding: 12px 14px; border-radius: 6px; margin-bottom: 14px; font-size: 0.88rem; }
.alert-error { background: var(--danger-light); color: var(--danger); border: 1px solid rgba(220,38,38,0.2); }

/* ==========================================
   Page Hero (About / Contact)
   ========================================== */
.page-hero {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 56px;
}
.page-hero-breadcrumb { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 20px; letter-spacing: 0.5px; }
.page-hero-breadcrumb a { color: var(--text-muted); }
.page-hero-breadcrumb a:hover { color: var(--gold); }
.page-hero h1 {
  font-size: 3.2rem; font-weight: 900; color: var(--text-primary);
  text-transform: uppercase; letter-spacing: -1px; line-height: 1.05; margin-bottom: 16px;
}
.page-hero h1 span { color: var(--gold); }
.page-hero p { color: var(--text-secondary); font-size: 1.05rem; max-width: 540px; line-height: 1.65; }

/* ==========================================
   About Page
   ========================================== */
.about-stats-bar {
  background: #ffffff; border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border); padding: 36px 0;
}
.about-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.about-stat-item {
  text-align: center; padding: 20px;
  border-right: 1px solid var(--border);
}
.about-stat-item:last-child { border-right: none; }
.about-stat-num {
  display: block; font-size: 2.6rem; font-weight: 900;
  color: var(--gold); line-height: 1; margin-bottom: 8px;
}
.about-stat-lbl { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.8px; }

.about-who-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.about-who-text .section-label { font-size: 0.75rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 1.5px; }
.about-who-text h2 { font-size: 2rem; font-weight: 800; margin: 14px 0 18px; line-height: 1.2; color: var(--text-primary); }
.about-who-text p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 16px; font-size: 0.95rem; }
.about-who-visual {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
}
.about-checklist { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.about-checklist li { display: flex; align-items: flex-start; gap: 14px; font-size: 0.92rem; color: var(--text-secondary); line-height: 1.5; }
.about-check-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  background: var(--gold); color: #0d0d0d;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 0.72rem; font-weight: 900;
}

.values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.value-card {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  transition: var(--transition);
}
.value-card:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(201,168,76,0.1); }
.value-icon { font-size: 2.2rem; margin-bottom: 16px; display: block; color: var(--gold); }
.value-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.value-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.65; }

.about-disclaimer-section {
  background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 48px 0;
}
.disclaimer-box {
  background: var(--warning-light); border: 1px solid rgba(245,158,11,0.25);
  border-radius: var(--radius); padding: 32px; max-width: 900px; margin: 0 auto;
}
.disclaimer-box h3 { color: var(--warning); font-size: 1rem; margin-bottom: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.disclaimer-box p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.75; }

/* ==========================================
   Contact Page
   ========================================== */
.contact-cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-bottom: 56px;
}
.contact-card {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px; text-align: center;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.contact-card:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(201,168,76,0.1); }
.contact-card-icon { font-size: 2rem; margin-bottom: 14px; display: block; color: var(--gold); }
.contact-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }
.contact-card a { color: var(--gold); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

.contact-layout {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 48px; align-items: start; margin-bottom: 56px;
}
.contact-info-text h2 { font-size: 1.8rem; font-weight: 800; color: var(--text-primary); margin-bottom: 16px; line-height: 1.2; }
.contact-info-text > p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin-bottom: 28px; }
.contact-topics { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.contact-topics li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-secondary); }
.contact-topics li::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

.contact-form-card {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow);
}
.contact-form-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 24px; }

/* FAQ Styles (unified) */
.faq-section { background: var(--bg-secondary); padding: 64px 0; }
.faq-section-header { text-align: center; margin-bottom: 40px; }
.faq-section-header h2 { font-size: 1.8rem; font-weight: 800; color: var(--text-primary); margin-bottom: 8px; }
.faq-section-header p { color: var(--text-muted); }
.faq-list-wrap { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 10px; overflow: hidden;
}
.faq-question {
  width: 100%; padding: 18px 22px; background: none; border: none;
  color: var(--text-primary); font-size: 0.95rem; font-weight: 600;
  text-align: left; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
}
.faq-question:hover { color: var(--gold); }
.faq-arrow { transition: transform 0.3s ease; color: var(--text-muted); }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--gold); }
.faq-item.open { border-color: rgba(201,168,76,0.35); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 22px 18px; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* Old about/faq page classes (kept for safety) */
.about-hero { text-align: center; margin-bottom: 40px; }
.about-hero h1 { font-size: 2.2rem; color: var(--text-primary); }
.about-subtitle { color: var(--text-secondary); font-size: 1.1rem; margin-top: 8px; }
.faq-page { max-width: 800px; margin: 0 auto; }
.faq-page h1 { text-align: center; margin-bottom: 32px; }

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
  padding: 60px 0;
  background: #0d0d0d;
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  text-align: center; color: white;
}
.cta-content h2 { font-size: 1.8rem; margin-bottom: 10px; color: white; }
.cta-content p { color: rgba(255,255,255,0.7); max-width: 500px; margin: 0 auto 20px; }
.cta-section .btn-primary { background: var(--gold); color: #0d0d0d; }
.cta-section .btn-primary:hover { background: var(--gold-hover); }

/* ==========================================
   Empty States & Errors
   ========================================== */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-icon { font-size: 3.5rem; margin-bottom: 14px; opacity: 0.4; }
.empty-state h2 { margin-bottom: 10px; }
.empty-state p { color: var(--text-secondary); margin-bottom: 20px; }
.error-page { text-align: center; padding: 80px 20px; }
.error-code { font-size: 5rem; font-weight: 800; color: var(--accent); opacity: 0.4; }
.error-page h1 { margin-bottom: 10px; }
.error-page p { color: var(--text-secondary); margin-bottom: 24px; }

/* ==========================================
   Admin
   ========================================== */
.admin-section { background: var(--bg-secondary); }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.admin-nav { display: flex; gap: 8px; flex-wrap: wrap; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 28px; }
.stat-card {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat-card.highlight { border-color: var(--accent); }
.stat-value { font-size: 1.8rem; font-weight: 800; color: var(--text-primary); }
.stat-label { color: var(--text-muted); font-size: 0.82rem; margin-top: 4px; }

.admin-table-section { margin-bottom: 28px; }
.admin-table-section h2 { margin-bottom: 14px; }
.empty-text { color: var(--text-muted); }
.table-responsive { overflow-x: auto; }
.admin-table {
  width: 100%; border-collapse: collapse;
  background: var(--bg-primary); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
}
.admin-table th, .admin-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border-light); }
.admin-table th { background: var(--bg-secondary); color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.admin-table td { font-size: 0.88rem; }
.admin-table tbody tr:hover { background: var(--bg-secondary); }
.row-disabled { opacity: 0.5; }
.action-cell { white-space: nowrap; display: flex; gap: 4px; }
.tx-cell { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.filter-bar { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }

.admin-form { max-width: 800px; }
.form-actions { display: flex; gap: 12px; margin-top: 20px; }

.order-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 20px; }
.detail-card {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow-sm);
}
.detail-card h3 { margin-bottom: 14px; font-size: 1.05rem; }
.detail-grid { display: grid; gap: 8px; }
.detail-grid .label { color: var(--text-muted); font-size: 0.82rem; }
.detail-grid code { color: var(--accent); font-size: 0.8rem; word-break: break-all; }
.order-detail-sidebar { position: sticky; top: 86px; align-self: start; }

/* ==========================================
   Footer
   ========================================== */
.crypto-icons { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.crypto-badge {
  background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.25);
  padding: 3px 8px; border-radius: 4px;
  font-size: 0.72rem; font-weight: 700; color: var(--gold);
}
.footer {
  background: #0a0a0a; color: rgba(255,255,255,0.55);
  padding: 48px 0 24px; margin-top: 48px;
  border-top: 1px solid #1a1a1a;
}
.footer a { color: rgba(255,255,255,0.5); }
.footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 32px; }
.footer-col h4 { margin-bottom: 14px; font-size: 0.95rem; color: var(--gold); font-weight: 700; }
.footer-desc { color: rgba(255,255,255,0.45); font-size: 0.82rem; line-height: 1.6; }
.footer-col a { display: block; color: rgba(255,255,255,0.5); font-size: 0.88rem; margin-bottom: 6px; }
.footer-col a:hover { color: var(--gold); }
.footer-col p { color: rgba(255,255,255,0.45); font-size: 0.82rem; }
.footer-bottom { border-top: 1px solid #1a1a1a; padding-top: 20px; text-align: center; }
.disclaimer { font-size: 0.72rem; color: rgba(255,255,255,0.28); max-width: 900px; margin: 0 auto 10px; line-height: 1.5; }
.footer-bottom > p:last-child { font-size: 0.82rem; color: rgba(255,255,255,0.3); }

/* ==========================================
   Hero additions
   ========================================== */
.hero-eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  color: var(--gold); text-transform: uppercase; letter-spacing: 1.2px;
  margin-bottom: 20px; background: rgba(201,168,76,0.1);
  padding: 7px 16px; border-radius: 20px; border: 1px solid rgba(201,168,76,0.25);
  white-space: nowrap;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta-ghost {
  display: inline-block; border: 2px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8); padding: 13px 28px;
  font-weight: 600; font-size: 0.88rem; letter-spacing: 0.5px;
  border-radius: 30px; transition: all 0.2s; text-decoration: none;
}
.hero-cta-ghost:hover { border-color: rgba(255,255,255,0.7); color: white; background: rgba(255,255,255,0.07); }

/* ==========================================
   Trust Bar
   ========================================== */
.trust-bar {
  background: #ffffff; border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  padding: 20px 0; box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.trust-item {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 1.8rem; flex-shrink: 0; color: var(--gold); }
.trust-item strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.trust-item span { font-size: 0.78rem; color: var(--text-muted); }

/* ==========================================
   Shop by Category Cards
   ========================================== */
.cat-section { background: var(--bg-secondary); }
.section-header.center { text-align: center; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 36px; }
.section-sub { color: var(--text-muted); font-size: 0.92rem; margin-top: 4px; }
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 220px; display: flex; align-items: flex-end;
  text-decoration: none; transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card-peptides { background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6e 60%, #2563eb 100%); }
.cat-card-blends   { background: linear-gradient(135deg, #1a0a2e 0%, #3a1a6e 60%, #7c3aed 100%); }
.cat-card-overlay {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/svg%3E");
}
.cat-card-content { position: relative; z-index: 1; padding: 32px; width: 100%; }
.cat-icon { font-size: 2.4rem; display: block; margin-bottom: 12px; }
.cat-card-content h3 { font-size: 1.5rem; font-weight: 800; color: white; margin-bottom: 8px; }
.cat-card-content p { color: rgba(255,255,255,0.7); font-size: 0.88rem; line-height: 1.5; margin-bottom: 16px; max-width: 320px; }
.cat-link { color: var(--gold); font-weight: 700; font-size: 0.88rem; letter-spacing: 0.5px; }
.cat-card:hover .cat-link { text-decoration: underline; }

/* ==========================================
   Star Ratings
   ========================================== */
.star-rating { color: #f59e0b; font-size: 0.82rem; margin: 4px 0 2px; display: flex; align-items: center; gap: 4px; }
.rating-val { color: var(--text-muted); font-size: 0.78rem; font-weight: 600; }

/* ==========================================
   Why Choose Us Section
   ========================================== */
.why-section { padding: 80px 0; background: var(--bg-primary); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.section-label { font-size: 0.75rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 1.5px; }
.why-text h2 { font-size: 2rem; font-weight: 800; margin: 12px 0 16px; line-height: 1.2; }
.why-text > p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; font-size: 0.95rem; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.why-list li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-secondary); }
.why-check { width: 22px; height: 22px; background: var(--gold); color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; flex-shrink: 0; }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-box {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 20px; text-align: center;
  transition: var(--transition);
}
.stat-box:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.stat-num { display: block; font-size: 2.2rem; font-weight: 900; color: var(--text-primary); margin-bottom: 6px; }
.stat-lbl { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }


/* ==========================================
   Responsive — Tablet (≤1024px)
   ========================================== */
@media (max-width: 1024px) {
  .shop-layout { grid-template-columns: 200px 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .payment-body { grid-template-columns: 1fr; }
  .payment-qr-panel { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .shipping-form-grid { grid-template-columns: 1fr 1fr; }
  .order-detail-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-who-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .contact-cards-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stat-item:nth-child(2) { border-right: none; }
  .hero-inner { grid-template-columns: 55% 1fr; }
}

/* ==========================================
   Responsive — Mobile (≤768px)
   ========================================== */
@media (max-width: 768px) {

  /* ── Nav ── */
  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.mobile-open {
    display: flex; position: fixed; top: 56px; left: 0; right: 0; bottom: 0;
    background: #0a0a0a; z-index: 999; padding: 24px 20px; gap: 4px;
    overflow-y: auto; border-top: 1px solid #1e1e1e;
  }
  .nav-links.mobile-open a {
    display: block; padding: 14px 8px; font-size: 1rem;
    border-bottom: 1px solid #1a1a1a; color: rgba(255,255,255,0.85);
  }
  .search-form { display: none; }
  .mobile-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
  .navbar { height: 56px; }
  .nav-container { height: 56px; justify-content: space-between; }
  .nav-logout-btn { display: none; }

  /* ── Logo ── */
  .logo-svg { width: 34px; height: 34px; }
  .logo-main-text { font-size: 1.05rem; }
  .logo-sub-text { display: none; }
  .logo-sep-line { display: none; }
  .logo-text-block { gap: 0; }

  /* ── Top banner ── */
  .top-banner { font-size: 0.72rem; padding: 6px 12px; line-height: 1.4; }

  /* ── Hero ── */
  .hero { min-height: auto; clip-path: none; }
  .hero-inner { grid-template-columns: 1fr; padding: 36px 0 0; min-height: auto; }
  .hero-white-bg { display: none; }
  .hero-text { padding: 0 0 32px; text-align: center; }
  .hero-text h1 { font-size: 2.6rem; letter-spacing: -1px; }
  .hero-text p { font-size: 0.9rem; text-align: center; max-width: 100%; }
  .hero-cta-btn { padding: 12px 32px; font-size: 0.9rem; }
  /* Account page */
  .account-grid { grid-template-columns: 1fr; }
  .account-address-grid { grid-template-columns: 1fr; }
  .order-cards-mobile { display: block; }
  .order-table-desktop { display: none; }

  .hero-products { height: 300px; justify-content: center; background: transparent; overflow: visible; }
  .hero-vial-1, .hero-vial-3 { display: none; }
  .hero-vial-2 { height: 300px; position: relative; left: auto; transform: none; mix-blend-mode: normal; }
  .hero { overflow: visible; }

  /* ── Trust bar ── */
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 16px 8px; font-size: 0.78rem; }
  .trust-icon { font-size: 1.4rem; }

  /* ── Why section ── */
  .why-stats { grid-template-columns: 1fr 1fr; }
  .why-section { padding: 52px 0; }

  /* ── Products ── */
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { display: none; }
  .product-detail { grid-template-columns: 1fr; gap: 20px; }
  .product-detail-image { min-height: 240px; }
  .product-meta { flex-wrap: wrap; gap: 10px; }
  .product-actions { flex-direction: column; }
  .product-actions .btn { width: 100%; justify-content: center; }
  .related-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* ── Product cards ── */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-image { height: 220px; }
  .product-image .vial-image { height: 200px; }
  .product-info { padding: 12px; }
  .product-name { font-size: 0.85rem; }

  /* ── Cart ── */
  .cart-layout { grid-template-columns: 1fr; }
  .cart-item { flex-wrap: wrap; gap: 10px; }
  .cart-item-image { width: 50px; }
  .cart-item-actions { width: 100%; justify-content: space-between; margin-top: 8px; }

  /* ── Checkout ── */
  .checkout-title { font-size: 1.4rem; }
  .checkout-card { padding: 20px; }
  .shipping-form-grid { grid-template-columns: 1fr; }
  .order-summary-card { position: static; }

  /* ── Payment page ── */
  .payment-step-card { flex-direction: column; gap: 12px; }
  .payment-header h1 { font-size: 1.5rem; }
  .qr-img { width: 130px; height: 130px; }

  /* ── Contact ── */
  .contact-cards-grid { grid-template-columns: 1fr 1fr !important; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stat-item:nth-child(2) { border-right: none; }
  .about-who-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 40px 0 32px; }
  .page-hero h1 { font-size: 2.2rem; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer { padding: 40px 0 20px; }

  /* ── Sections ── */
  .section { padding: 40px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 24px 18px; }

  /* ── Forms — prevent iOS zoom ── */
  input, select, textarea { font-size: 16px !important; }

  /* ── Buttons — touch targets ── */
  .btn { min-height: 44px; }
  .btn-sm { min-height: 36px; }
}

/* ==========================================
   Account page
   ========================================== */
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 0; }
.account-address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.order-cards-mobile { display: none; }
.order-table-desktop { display: block; }

/* ==========================================
   Responsive — Small mobile (≤480px)
   ========================================== */
@media (max-width: 480px) {
  .container { padding: 0 14px; }

  /* Hero */
  .hero-text h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-products { height: 260px; }
  .hero-vial-2 { height: 260px; }

  /* Products */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-image { height: 200px; }
  .product-image .vial-image { height: 180px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col { text-align: center; }

  /* Trust */
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { border-right: none !important; border-bottom: 1px solid var(--border); padding: 12px 8px; }
  .trust-item:nth-child(2) { border-right: 1px solid var(--border) !important; border-bottom: 1px solid var(--border); }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { border-bottom: none; }

  /* About */
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stat-item { border-right: none !important; border-bottom: 1px solid var(--border); }
  .about-stat-item:nth-child(2n) { border-left: 1px solid var(--border); }

  /* Contact */
  .contact-cards-grid { grid-template-columns: 1fr !important; }
  .values-grid { grid-template-columns: 1fr; }

  /* Page hero */
  .page-hero h1 { font-size: 1.8rem; letter-spacing: -0.5px; }

  /* Why stats */
  .why-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-num { font-size: 1.8rem; }

  /* Checkout */
  .checkout-card { padding: 16px; }
  .crypto-options { grid-template-columns: 1fr 1fr; }

  /* Cart */
  .summary-row { font-size: 0.88rem; }

  /* Admin */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 16px 12px; }
  .stat-value { font-size: 1.6rem; }
  .admin-nav { flex-wrap: wrap; gap: 6px; }
  .table-responsive { font-size: 0.78rem; }
  .action-cell .btn { padding: 4px 8px; font-size: 0.72rem; }
}
