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

:root {
  --primary: #162a0a;
  --primary-dark: #0d1a06;
  --lime: #8ab53a;
  --lime-dark: #6e9129;
  --accent: #8ab53a;
  --accent-dark: #6e9129;
  --cream: #f0e8cc;
  --cream-dark: #d4c89a;
  --bg: #f5f2ea;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #666;
  --border: #e0d8c0;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(22,42,10,0.12);
}

body { font-family: system-ui, -apple-system, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* ── Navbar ── */
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 70px; background: var(--primary); position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.brand { text-decoration: none; display: flex; align-items: center; }
.brand img { height: 42px; width: 42px; border-radius: 50%; object-fit: cover; }
.brand-main { display: block; color: #fff; font-size: 1.1rem; font-weight: 800; letter-spacing: 0.1em; }
.brand-sub { display: block; color: var(--cream); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a { color: var(--cream-dark); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--lime); }
.cart-link { position: relative; display: flex; align-items: center; }
.cart-badge {
  position: absolute; top: -8px; right: -10px; background: var(--lime); color: var(--primary);
  font-size: 0.65rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.7rem 1.6rem; border-radius: var(--radius); font-size: 0.95rem; font-weight: 700; cursor: pointer; border: none; text-decoration: none; transition: all 0.2s; }
.btn-primary { background: var(--lime); color: var(--primary-dark); }
.btn-primary:hover { background: var(--lime-dark); transform: translateY(-1px); }
.btn-primary:disabled { background: #ccc; color: #888; cursor: not-allowed; transform: none; }
.btn-secondary { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); }
.btn-secondary:hover { border-color: var(--text); }
.btn-ghost { background: transparent; color: var(--muted); padding: 0.4rem 0.8rem; font-size: 0.85rem; font-weight: 600; }
.btn-ghost:hover { color: var(--text); }
.btn-danger { background: #fee2e2; color: #dc2626; }
.btn-danger:hover { background: #fecaca; }
.btn-full { width: 100%; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }

/* ── Page loader ── */
.page-loader { text-align: center; padding: 6rem 2rem; color: var(--muted); }

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, #0a1806 0%, #0f2208 40%, #162a0a 70%, #1c3610 100%);
  color: #fff; text-align: center; padding: 7rem 2rem 8rem; position: relative; overflow: hidden;
}
/* Topographic contour lines */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 500' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%23f0e8cc' stroke-width='1.2'%3E%3Cpath d='M0 460 C300 448 500 468 700 454 S1000 442 1200 456' opacity='.12'/%3E%3Cpath d='M0 415 C280 400 480 422 680 406 S980 392 1200 408' opacity='.10'/%3E%3Cpath d='M0 368 C260 350 460 374 660 356 S960 340 1200 358' opacity='.09'/%3E%3Cpath d='M0 318 C240 298 440 324 640 305 S940 287 1200 306' opacity='.08'/%3E%3Cpath d='M0 268 C220 246 420 274 620 253 S920 233 1200 254' opacity='.07'/%3E%3Cpath d='M0 218 C200 194 400 222 600 200 S900 178 1200 200' opacity='.06'/%3E%3Cpath d='M0 168 C180 141 380 170 580 146 S880 122 1200 146' opacity='.05'/%3E%3Cpath d='M0 118 C160 88 360 118 560 92 S860 66 1200 90' opacity='.04'/%3E%3Cpath d='M0 70 C140 36 340 66 540 38 S840 10 1200 36' opacity='.03'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1rem; position: relative; }
.hero h1 span { color: var(--lime); }
.hero p { font-size: 1.2rem; color: var(--cream-dark); margin-bottom: 2.5rem; max-width: 500px; margin-left: auto; margin-right: auto; position: relative; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }
.hero .btn-primary { background: var(--cream); color: var(--primary); }
.hero .btn-primary:hover { background: #fff; }

/* ── Collections (homepage) ── */
.collections { padding: 3rem 2rem 4rem; max-width: 1200px; margin: 0 auto; }
.collection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 600px) { .collection-grid { grid-template-columns: 1fr; } }
.collection-card {
  background: var(--surface); border-radius: var(--radius); padding: 2rem 1.5rem;
  text-align: center; box-shadow: var(--shadow); cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; border: 2px solid var(--border);
}
.collection-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.13); border-color: var(--lime); }
.collection-logo { height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.collection-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.collection-card h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.4rem; }
.collection-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.collection-card .btn-primary { background: var(--lime); color: var(--primary-dark); }
.collection-card .btn-primary:hover { background: var(--lime-dark); }

/* ── Brand tabs (shop page) ── */
.brand-tabs { display: flex; gap: 0.75rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.brand-tab {
  padding: 0.5rem 1.25rem; border-radius: 999px; border: 2px solid var(--border);
  background: var(--surface); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.brand-tab:hover { border-color: var(--lime); color: var(--lime-dark); }
.brand-tab.active { background: var(--lime); color: var(--primary-dark); border-color: var(--lime); }

/* ── Shop ── */
.shop-header { padding: 2rem 2rem 0; max-width: 1200px; margin: 0 auto; }
.shop-header h2 { font-size: 1.75rem; margin-bottom: 1rem; }
.category-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.filter-btn { padding: 0.4rem 1rem; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); font-size: 0.85rem; cursor: pointer; transition: all 0.2s; }
.filter-btn.active, .filter-btn:hover { background: var(--lime); color: var(--primary-dark); border-color: var(--lime); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; padding: 1.5rem 2rem 4rem; max-width: 1200px; margin: 0 auto; }
.product-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.product-card-img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f0f0f0; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 3rem; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-body { padding: 1rem 1.25rem 1.25rem; }
.product-card-category { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.25rem; }
.product-card-body h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.product-price { font-size: 1.15rem; font-weight: 700; color: var(--lime-dark); }
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--muted); grid-column: 1/-1; }

/* ── Product Detail ── */
.product-detail { max-width: 1100px; margin: 0 auto; padding: 2.5rem 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 700px) { .product-detail { grid-template-columns: 1fr; } }
.product-gallery { position: sticky; top: 80px; align-self: start; }
.product-main-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: #f0f0f0; display: flex; align-items: center; justify-content: center; font-size: 5rem; color: var(--muted); overflow: hidden; }
.product-main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; }
.product-info .price { font-size: 1.75rem; font-weight: 800; color: var(--lime-dark); margin-bottom: 1.5rem; }
.product-info .description { color: var(--muted); margin-bottom: 2rem; line-height: 1.7; }
.option-label { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.6rem; display: block; }
.option-group { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.option-btn { padding: 0.45rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--surface); cursor: pointer; font-size: 0.9rem; transition: all 0.15s; }
.option-btn:hover { border-color: var(--lime); }
.option-btn.selected { background: var(--primary); color: #fff; border-color: var(--primary); }
.colour-btn { width: 36px; height: 36px; border-radius: 50%; padding: 0; border: 2.5px solid transparent; }
.colour-btn.selected { border-color: var(--lime); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--lime); }
.qty-control { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.qty-btn { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--surface); font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { border-color: var(--lime); }
.qty-display { font-size: 1.1rem; font-weight: 600; min-width: 2rem; text-align: center; }
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--muted); text-decoration: none; font-size: 0.9rem; margin-bottom: 1.5rem; }
.back-link:hover { color: var(--text); }

/* ── Cart ── */
.cart-page { max-width: 900px; margin: 0 auto; padding: 2.5rem 2rem; }
.cart-page h1 { font-size: 1.75rem; margin-bottom: 2rem; }
.cart-empty { text-align: center; padding: 4rem 2rem; color: var(--muted); }
.cart-empty p { margin-bottom: 1.5rem; font-size: 1.1rem; }
.cart-items { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.cart-item { background: var(--surface); border-radius: var(--radius); padding: 1.25rem; display: flex; gap: 1.25rem; align-items: center; box-shadow: var(--shadow); }
.cart-item-img { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; background: #f0f0f0; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-info h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.25rem; }
.cart-item-meta { font-size: 0.8rem; color: var(--muted); }
.cart-item-price { font-weight: 700; color: var(--lime-dark); white-space: nowrap; }
.cart-item-qty { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.cart-item-qty button { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--surface); cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; }
.cart-item-qty span { min-width: 1.5rem; text-align: center; font-weight: 600; }
.cart-summary { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.summary-row { display: flex; justify-content: space-between; padding: 0.4rem 0; font-size: 0.95rem; }
.summary-row.total { font-size: 1.15rem; font-weight: 700; border-top: 1.5px solid var(--border); margin-top: 0.75rem; padding-top: 0.75rem; }
.summary-row .muted { color: var(--muted); font-size: 0.8rem; }

/* ── Checkout ── */
.checkout-page { max-width: 900px; margin: 0 auto; padding: 2.5rem 2rem; display: grid; grid-template-columns: 1fr 380px; gap: 2rem; }
@media (max-width: 750px) { .checkout-page { grid-template-columns: 1fr; } }
.checkout-page h1 { font-size: 1.75rem; margin-bottom: 1.5rem; grid-column: 1/-1; }
.checkout-form h2, .order-summary h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; }
.form-group input, .form-group select { width: 100%; padding: 0.65rem 0.9rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 0.95rem; background: var(--surface); transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--lime); }
.order-summary { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); align-self: start; position: sticky; top: 80px; }
.summary-items { margin-bottom: 1rem; }
.summary-item { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 0.35rem 0; border-bottom: 1px solid var(--border); }
.summary-item:last-child { border-bottom: none; }
.paypal-wrap { margin-top: 1.5rem; }
#paypal-button-container { min-height: 50px; }

/* ── Toast ── */
.toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--primary); color: #fff; padding: 0.75rem 1.5rem; border-radius: 999px; font-size: 0.9rem; font-weight: 500; opacity: 0; transition: all 0.3s; z-index: 999; white-space: nowrap; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: #16a34a; }
.toast.error { background: #dc2626; }

/* ── Footer ── */
footer {
  background: linear-gradient(180deg, #0f2208 0%, #162a0a 100%);
  color: var(--cream-dark); padding: 3rem 2rem 2rem; text-align: center;
  margin-top: auto; position: relative; overflow: hidden;
}
/* Pine tree silhouette along footer top */
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 70px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 70'%3E%3Cg fill='%23f0e8cc'%3E%3Cpolygon points='22 68 10 46 34 46' opacity='.14'/%3E%3Cpolygon points='22 49 12 30 32 30' opacity='.14'/%3E%3Cpolygon points='22 33 14 15 30 15' opacity='.14'/%3E%3Cpolygon points='70 68 56 43 84 43' opacity='.10'/%3E%3Cpolygon points='70 46 58 26 82 26' opacity='.10'/%3E%3Cpolygon points='70 29 61 12 79 12' opacity='.10'/%3E%3Cpolygon points='118 68 107 50 129 50' opacity='.12'/%3E%3Cpolygon points='118 53 108 36 128 36' opacity='.12'/%3E%3Cpolygon points='165 68 152 45 178 45' opacity='.09'/%3E%3Cpolygon points='165 48 154 28 176 28' opacity='.09'/%3E%3Cpolygon points='165 31 156 14 174 14' opacity='.09'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: top left;
  background-size: 200px 70px;
  pointer-events: none;
}
footer > * { position: relative; }
.brand-footer { color: var(--cream); font-weight: 800; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.footer-small { font-size: 0.8rem; margin-top: 0.75rem; color: #5a7a42; }

/* ── Breadcrumb ── */
.breadcrumb { padding: 1rem 2rem; max-width: 1200px; margin: 0 auto; font-size: 0.85rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { margin: 0 0.4rem; }

/* ── Success page ── */
.success-page { text-align: center; padding: 6rem 2rem; }
.success-icon { font-size: 4rem; margin-bottom: 1rem; }
.success-page h1 { font-size: 2rem; margin-bottom: 1rem; }
.success-page p { color: var(--muted); margin-bottom: 2rem; }

/* ── Account / Auth ── */
.auth-page { display: flex; justify-content: center; align-items: center; padding: 4rem 1.5rem; min-height: 60vh; }
.auth-card { background: var(--surface); border-radius: var(--radius); padding: 2.5rem 2rem; width: 100%; max-width: 420px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.75rem; margin-bottom: 1.5rem; }
.auth-error { color: #dc2626; font-size: 0.875rem; margin-bottom: 1rem; }
.auth-switch { text-align: center; margin-top: 1.25rem; font-size: 0.9rem; color: var(--muted); }
.auth-switch a { color: var(--lime-dark); cursor: pointer; font-weight: 600; }
.account-page { max-width: 900px; margin: 0 auto; padding: 2.5rem 2rem; }
.account-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2rem; }
.account-header h1 { font-size: 1.75rem; margin-bottom: 0.25rem; }
.account-email { color: var(--muted); font-size: 0.9rem; }
.account-card { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.account-card h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; }

/* ── Admin ── */
.admin-wrap { display: grid; grid-template-columns: 200px 1fr; min-height: calc(100vh - 70px); }
@media (max-width: 700px) { .admin-wrap { grid-template-columns: 1fr; } }
.admin-nav { background: var(--primary); padding: 1.5rem 0; }
.admin-nav-title { color: var(--cream-dark); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0 1.25rem 0.75rem; }
.admin-nav-link { display: block; color: var(--cream-dark); padding: 0.65rem 1.25rem; font-size: 0.9rem; cursor: pointer; transition: all 0.15s; text-decoration: none; }
.admin-nav-link:hover { background: rgba(255,255,255,0.08); color: var(--cream); }
.admin-nav-link.active { background: rgba(255,255,255,0.12); color: var(--lime); font-weight: 600; border-left: 3px solid var(--lime); }
.admin-content { background: var(--bg); padding: 2rem; overflow-y: auto; }
.admin-section h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: var(--surface); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); text-align: center; }
.stat-card.stat-warn { border: 2px solid #f59e0b; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.06em; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 2px solid var(--border); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.admin-table td { padding: 0.75rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:hover td { background: var(--bg); }
.admin-card { background: var(--surface); border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: var(--shadow); }
.admin-card h3 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.75rem; }
.order-detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.admin-input { border: 1.5px solid var(--border); border-radius: 6px; padding: 0.35rem 0.5rem; font-size: 0.9rem; width: 100%; }
.admin-input-lg { width: 100%; padding: 0.65rem 0.9rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 0.95rem; }
.admin-input:focus, .admin-input-lg:focus { outline: none; border-color: var(--lime); }
.status-badge { display: inline-block; padding: 0.2rem 0.65rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; text-transform: capitalize; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-paid { background: #d1fae5; color: #065f46; }
.status-sent_to_printer, .status-in_production { background: #dbeafe; color: #1e40af; }
.status-shipped { background: #ede9fe; color: #5b21b6; }
.status-delivered { background: #d1fae5; color: #065f46; }
.status-cancelled, .status-refunded { background: #fee2e2; color: #991b1b; }
.status-admin { background: #fef3c7; color: #92400e; }
.status-printer { background: #dbeafe; color: #1e40af; }
.status-customer { background: #f3f4f6; color: #374151; }

/* ── Price input wrap (admin products) ── */
.price-input-wrap { display: flex; align-items: center; gap: 2px; }
.price-input-wrap span { font-size: 0.9rem; color: var(--muted); }

/* ── Printer job status badges ── */
.status-job-received { background: #fef3c7; color: #92400e; }
.status-job-in_progress { background: #dbeafe; color: #1e40af; }
.status-job-complete { background: #d1fae5; color: #065f46; }

/* ── Printer dashboard ── */
.printer-wrap { max-width: 1000px; margin: 0 auto; padding: 2.5rem 2rem; }
.printer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.printer-header h1 { font-size: 1.75rem; }

/* ── Legal / static pages ── */
.legal-page { max-width: 760px; margin: 0 auto; padding: 3rem 2rem 5rem; }
.legal-inner h1 { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
.legal-inner h2 { font-size: 1.15rem; font-weight: 700; margin: 2rem 0 0.5rem; }
.legal-inner p { color: var(--text); line-height: 1.75; margin-bottom: 1rem; }
.legal-inner ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-inner ul li { margin-bottom: 0.4rem; line-height: 1.6; }
.legal-inner a { color: var(--lime-dark); }
.legal-lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.5rem; }

/* ── Cookie consent banner ── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
  background: #0d1a06; color: var(--cream-dark);
  padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap; font-size: 0.88rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.cookie-banner p { margin: 0; flex: 1; min-width: 200px; }
.cookie-banner p a { color: var(--lime); text-decoration: underline; }
.cookie-banner .btn { flex-shrink: 0; padding: 0.5rem 1.25rem; font-size: 0.85rem; background: var(--lime); color: var(--primary-dark); }
.cookie-banner .btn:hover { background: var(--lime-dark); color: #fff; }

/* ── Footer links ── */
.footer-links { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; margin-top: 0.75rem; }
.footer-links a { color: #6a8a50; font-size: 0.8rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--lime); }

/* ── Inbox ── */
.inbox-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.inbox-row:hover td { background: var(--bg); }
.status-resolved { background: #f3f4f6; color: #6b7280; }
