:root {
  --green: #00ff88;
  --gold: #ffd700;
  --red-accent: #ff4535;
  --orange: #ff6b35;
  --bg: #080c18;
  --bg2: #0d1220;
  --card: rgba(255,255,255,0.04);
  --card-hover: rgba(255,255,255,0.07);
  --card-border: rgba(255,255,255,0.08);
  --card-border-hover: rgba(255,107,53,0.4);
  --text: #f0f0f0;
  --text-muted: rgba(240,240,240,0.5);
  --font: 'Inter', system-ui, sans-serif;
  --radius: 14px;
  --radius-sm: 9px;
  --grad-brand: linear-gradient(135deg, #ff6b35 0%, #c0392b 100%);
  --grad-hero: linear-gradient(135deg, #080c18 0%, #12102a 35%, #2a0a18 65%, #1a0505 100%);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 32px rgba(255,107,53,0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

/* ── HEADER ─────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(8,12,24,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  padding: 0.875rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  font-size: 1.35rem;
  text-decoration: none;
  letter-spacing: 0.08em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cart-icon {
  position: relative;
  font-size: 1.4rem;
  color: var(--text);
  text-decoration: none;
  padding: 0.4rem;
  border-radius: 50%;
  transition: background 0.2s;
}
.cart-icon:hover { background: rgba(255,255,255,0.06); }

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--grad-brand);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
}

/* ── HERO ────────────────────────────────── */
.hero {
  position: relative;
  min-height: 38vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/vendo-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1.07); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,12,24,0.3) 0%,
    rgba(8,12,24,0.05) 40%,
    rgba(8,12,24,0.75) 85%,
    var(--bg) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem 2rem;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(255,107,53,0.5));
  margin-bottom: 0.5rem;
}

.hero-sub {
  font-size: 0.95rem;
  color: rgba(240,240,240,0.65);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── LAYOUT ─────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1rem;
}

/* ── PRODUCT GRID ────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0 1.25rem;
}

.section-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-divider {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--card-border), transparent);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}

@media (min-width: 540px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

.product-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  box-shadow: var(--shadow-card);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  border-color: var(--card-border-hover);
  background: var(--card-hover);
}

.product-image {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.product-card:hover .product-image img { transform: scale(1.06); }

.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--text-muted);
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,107,53,0.05), rgba(192,57,43,0.05));
}

.product-info {
  padding: 0.875rem;
}

.product-name {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
  text-decoration: none;
  display: block;
}

.product-price {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.625rem;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  letter-spacing: 0.02em;
  font-family: var(--font);
}

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  width: 100%;
  box-shadow: 0 2px 12px rgba(255,107,53,0.25);
}
.btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 20px rgba(255,107,53,0.45);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--card-border);
  color: var(--text);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); }

.btn-danger {
  background: rgba(255,69,53,0.12);
  border: 1px solid rgba(255,69,53,0.35);
  color: var(--red-accent);
}
.btn-danger:hover { background: rgba(255,69,53,0.2); }

.btn-block { width: 100%; }

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius);
  letter-spacing: 0.04em;
}

/* ── FORMS ─────────────────────────────── */
.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.15);
  background: rgba(255,255,255,0.07);
}

input::placeholder,
textarea::placeholder {
  color: rgba(240,240,240,0.25);
}

select option {
  background: var(--bg2);
  color: var(--text);
}

.form-error {
  color: var(--red-accent);
  font-size: 0.775rem;
  margin-top: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ── CARDS ─────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.section-title {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--card-border);
}

/* ── CART ─────────────────────────────── */
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--card-border);
  align-items: center;
}
.cart-item:last-of-type { border-bottom: none; }

.cart-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--card);
  border: 1px solid var(--card-border);
}

.cart-total {
  font-size: 1.4rem;
  font-weight: 800;
  text-align: right;
  margin-top: 1rem;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── ALERTS ─────────────────────────────── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.alert-success {
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.25);
  color: var(--green);
}

.alert-error {
  background: rgba(255,69,53,0.08);
  border: 1px solid rgba(255,69,53,0.25);
  color: var(--red-accent);
}

/* ── EMPTY STATE ─────────────────────────── */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
}
.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  filter: grayscale(0.3);
}
.empty-state p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ── FOOTER ─────────────────────────────── */
.site-footer {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--card-border);
  margin-top: 4rem;
  letter-spacing: 0.03em;
}
.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer a:hover { color: var(--orange); }

/* ── PAGE TITLE ─────────────────────────── */
.page-title {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 800;
  margin: 1.5rem 0 1.25rem;
  letter-spacing: -0.01em;
}

/* ── CHECKOUT ─────────────────────────── */
.checkout-summary {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.checkout-summary td {
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--card-border);
}
.checkout-summary tfoot td { border-bottom: none; }

.checkout-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .checkout-grid {
    grid-template-columns: 1fr 380px;
    align-items: start;
  }
}

.autopay-badge {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: rgba(255,107,53,0.06);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}
.autopay-badge-icon { font-size: 1.5rem; }
.autopay-badge-text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }
.autopay-badge-text strong { color: var(--text); }

/* ── LEGAL ─────────────────────────────── */
.legal-content h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange);
  margin: 1.75rem 0 0.625rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.625rem;
  font-size: 0.9rem;
}
.legal-content ul {
  color: var(--text-muted);
  line-height: 1.75;
  padding-left: 1.5rem;
  margin-bottom: 0.625rem;
  font-size: 0.9rem;
}
.legal-content ul li { margin-bottom: 0.3rem; }
.legal-content a { color: var(--orange); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }

/* ── PRODUCT PAGE ─────────────────────── */
.product-detail {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .product-detail { grid-template-columns: 1fr 1fr; }
}

.product-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1/1;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--card-border);
}
.product-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-detail-price {
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-detail-desc {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.9rem;
}

/* ── ORDER COMPLETE ─────────────────────── */
.success-icon {
  width: 72px;
  height: 72px;
  background: var(--grad-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 40px rgba(255,107,53,0.35);
}

/* ── ADMIN ─────────────────────────────── */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.admin-table th,
.admin-table td {
  padding: 0.75rem 0.875rem;
  border-bottom: 1px solid var(--card-border);
  text-align: left;
}
.admin-table th {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-pending  { background: rgba(255,215,0,0.12); color: var(--gold); border: 1px solid rgba(255,215,0,0.25); }
.badge-paid     { background: rgba(0,255,136,0.1); color: var(--green); border: 1px solid rgba(0,255,136,0.25); }
.badge-shipped  { background: rgba(255,107,53,0.12); color: var(--orange); border: 1px solid rgba(255,107,53,0.25); }
.badge-cancelled { background: rgba(255,69,53,0.1); color: var(--red-accent); border: 1px solid rgba(255,69,53,0.2); }

/* ── MOBILE TWEAKS ─────────────────────── */
@media (max-width: 480px) {
  .site-header { padding: 0.75rem 1rem; }
  .container { padding: 1rem 0.875rem; }
  .card { padding: 1.25rem 1rem; }
  .btn-lg { padding: 0.875rem 1.5rem; }
  .hero-content { padding: 2.5rem 1rem 1.5rem; }
}

/* ── BACK LINK ─────────────────────────── */
.back-link {
  color: var(--text-muted);
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}
.back-link:hover {
  color: var(--orange);
  gap: 0.6rem;
}

/* ── ANIMATIONS ─────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroTitleReveal {
  from { opacity: 0; transform: scale(0.92) translateY(16px); filter: blur(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

@keyframes heroBgReveal {
  from { opacity: 0; transform: scale(1.12); }
  to   { opacity: 1; transform: scale(1.04); }
}

@keyframes heroSubReveal {
  from { opacity: 0; letter-spacing: 0.3em; }
  to   { opacity: 1; letter-spacing: 0.12em; }
}

@keyframes badgePop {
  0%   { transform: scale(0); }
  70%  { transform: scale(1.25); }
  100% { transform: scale(1); }
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,53,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(255,107,53,0); }
}

@keyframes successPop {
  0%   { transform: scale(0) rotate(-15deg); opacity: 0; }
  60%  { transform: scale(1.15) rotate(4deg); }
  80%  { transform: scale(0.95) rotate(-2deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes checkDraw {
  from { stroke-dashoffset: 60; }
  to   { stroke-dashoffset: 0; }
}

@keyframes shimmerLoad {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

@keyframes btnRipple {
  from { transform: scale(0); opacity: 0.5; }
  to   { transform: scale(4); opacity: 0; }
}

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

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* Apply animations */
.hero-bg {
  animation: heroBgReveal 1.4s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-title {
  animation: heroTitleReveal 0.9s cubic-bezier(0.16,1,0.3,1) 0.2s both;
}

.hero-sub {
  animation: heroSubReveal 0.8s ease 0.7s both;
}

.cart-badge {
  animation: badgePop 0.4s cubic-bezier(0.34,1.56,0.64,1) both,
             badgePulse 2s ease 1s infinite;
}

.success-icon {
  animation: successPop 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.1s both;
}

/* Stagger product cards */
.product-grid .product-card {
  animation: fadeInUp 0.5s ease both;
}
.product-grid .product-card:nth-child(1)  { animation-delay: 0.05s; }
.product-grid .product-card:nth-child(2)  { animation-delay: 0.10s; }
.product-grid .product-card:nth-child(3)  { animation-delay: 0.15s; }
.product-grid .product-card:nth-child(4)  { animation-delay: 0.20s; }
.product-grid .product-card:nth-child(5)  { animation-delay: 0.25s; }
.product-grid .product-card:nth-child(6)  { animation-delay: 0.30s; }
.product-grid .product-card:nth-child(7)  { animation-delay: 0.35s; }
.product-grid .product-card:nth-child(8)  { animation-delay: 0.40s; }

/* Page fade in */
main { animation: fadeInUp 0.4s ease 0.05s both; }

/* Cart items stagger */
.cart-item {
  animation: fadeInUp 0.4s ease both;
}
.cart-item:nth-child(1) { animation-delay: 0.05s; }
.cart-item:nth-child(2) { animation-delay: 0.10s; }
.cart-item:nth-child(3) { animation-delay: 0.15s; }
.cart-item:nth-child(4) { animation-delay: 0.20s; }

/* Card entrance on non-index pages */
.card {
  animation: fadeInUp 0.45s ease 0.08s both;
}

/* Empty state float */
.empty-icon {
  display: inline-block;
  animation: floatUp 3s ease-in-out infinite;
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.04) 0%,
    rgba(255,255,255,0.09) 50%,
    rgba(255,255,255,0.04) 100%);
  background-size: 400px 100%;
  animation: shimmerLoad 1.4s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

/* Button ripple */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.35);
  border-radius: 50%;
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
  left: var(--ripple-x, 50%);
  top: var(--ripple-y, 50%);
  margin: -10px;
}
.btn-primary.rippling::after {
  animation: btnRipple 0.5s ease-out forwards;
}

/* Lucide icon sizing */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon svg {
  width: 1em;
  height: 1em;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Header cart icon with icon */
.cart-icon svg {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

/* Spinner for submit */
.btn-loading {
  pointer-events: none;
  opacity: 0.8;
}
.btn-loading .btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

/* Payment banner */
.payment-banner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
}
.payment-banner-autopay {
  height: 28px;
  width: auto;
}
.payment-banner-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.card-badge {
  display: inline-block;
  padding: 3px 10px;
  border: 1.5px solid #dee2e6;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #495057;
  background: #fff;
  letter-spacing: 0.02em;
}

/* Terms checkbox */
.terms-check {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-border);
  border-radius: 10px;
}
.terms-check input[type="checkbox"] {
  display: none;
}
.terms-check label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
  user-select: none;
}
.terms-check label::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 2px solid var(--card-border);
  border-radius: 4px;
  background: transparent;
  transition: background 0.15s, border-color 0.15s;
}
.terms-check input[type="checkbox"]:checked + label::before {
  background: var(--orange);
  border-color: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.terms-check a { color: var(--orange); text-decoration: none; }
.terms-check a:hover { text-decoration: underline; }
