/* ============================================================
   WOODLINE DOORS & INTERIORS — DESIGN SYSTEM
   assets/css/theme.css
   ============================================================ */

/* ── FONT IMPORTS ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600&family=Lato:wght@300;400;700&display=swap');

/* ── CSS CUSTOM PROPERTIES — LIGHT THEME (DEFAULT) ────────── */
:root {
  /* Brand Colors */
  --color-bg:           #F8F4EE;
  --color-primary:      #4A241C;
  --color-secondary:    #8B4A2B;
  --color-text:         #2E1A12;
  --color-card:         #FFFFFF;
  --color-border:       #E8DDD2;

  /* Extended palette */
  --color-text-muted:   #7A6058;
  --color-text-light:   #B09080;
  --color-bg-alt:       #F0EAE2;
  --color-bg-dark:      #EDE6DC;
  --color-accent-gold:  #C9973A;
  --color-accent-light: #F2E8D9;
  --color-success:      #2D6A4F;
  --color-warning:      #B5840A;
  --color-danger:       #8B1A1A;
  --color-info:         #1A4A6B;

  /* Overlays */
  --color-overlay:      rgba(74, 36, 28, 0.6);
  --color-overlay-dark: rgba(46, 26, 18, 0.85);

  /* Typography */
  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Inter', system-ui, sans-serif;
  --font-ui:       'Lato', 'Inter', sans-serif;

  /* Type Scale */
  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-lg:    1.125rem;   /* 18px */
  --text-xl:    1.25rem;    /* 20px */
  --text-2xl:   1.5rem;     /* 24px */
  --text-3xl:   1.875rem;   /* 30px */
  --text-4xl:   2.25rem;    /* 36px */
  --text-5xl:   3rem;       /* 48px */
  --text-6xl:   3.75rem;    /* 60px */

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(74, 36, 28, 0.08);
  --shadow-md:  0 4px 12px rgba(74, 36, 28, 0.10);
  --shadow-lg:  0 8px 28px rgba(74, 36, 28, 0.14);
  --shadow-xl:  0 16px 48px rgba(74, 36, 28, 0.18);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* Layout */
  --container-max:   1280px;
  --container-wide:  1440px;
  --navbar-height:   72px;
  --sidebar-width:   260px;

  /* Z-index ladder */
  --z-base:    1;
  --z-card:    10;
  --z-dropdown: 100;
  --z-sticky:  200;
  --z-modal:   1000;
  --z-toast:   2000;
}

/* ── DARK THEME ───────────────────────────────────────────── */
[data-theme="dark"] {
  --color-bg:           #0E0E0E;
  --color-primary:      #C9973A;
  --color-secondary:    #8B4A2B;
  --color-text:         #FFFFFF;
  --color-card:         #1A1A1A;
  --color-border:       #2A2A2A;

  --color-text-muted:   #D0D0D0;
  --color-text-light:   #909090;
  --color-bg-alt:       #141414;
  --color-bg-dark:      #111111;
  --color-accent-light: #241A10;

  --color-overlay:      rgba(0, 0, 0, 0.7);
  --color-overlay-dark: rgba(0, 0, 0, 0.92);

  --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md:  0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg:  0 8px 28px rgba(0, 0, 0, 0.5);
  --shadow-xl:  0 16px 48px rgba(0, 0, 0, 0.6);
}

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition-base), color var(--transition-base);
}

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

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-ui);
}

input, textarea, select {
  font-family: var(--font-body);
  font-size: var(--text-base);
}

/* ── TYPOGRAPHY UTILITIES ─────────────────────────────────── */
.font-display  { font-family: var(--font-display); }
.font-body     { font-family: var(--font-body); }
.font-ui       { font-family: var(--font-ui); }

.text-xs    { font-size: var(--text-xs); }
.text-sm    { font-size: var(--text-sm); }
.text-base  { font-size: var(--text-base); }
.text-lg    { font-size: var(--text-lg); }
.text-xl    { font-size: var(--text-xl); }
.text-2xl   { font-size: var(--text-2xl); }
.text-3xl   { font-size: var(--text-3xl); }
.text-4xl   { font-size: var(--text-4xl); }
.text-5xl   { font-size: var(--text-5xl); }
.text-6xl   { font-size: var(--text-6xl); }

.font-light    { font-weight: 300; }
.font-normal   { font-weight: 400; }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }

.text-primary    { color: var(--color-primary); }
.text-secondary  { color: var(--color-secondary); }
.text-muted      { color: var(--color-text-muted); }
.text-light      { color: var(--color-text-light); }
.text-gold       { color: var(--color-accent-gold); }

.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

.uppercase    { text-transform: uppercase; }
.tracking-wide  { letter-spacing: 0.08em; }
.tracking-wider { letter-spacing: 0.14em; }
.tracking-widest{ letter-spacing: 0.2em; }

/* ── LAYOUT UTILITIES ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: 780px;
}

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

.section--sm {
  padding: var(--space-12) 0;
}

.section--lg {
  padding: var(--space-24) 0;
}

/* Grid */
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

/* Flex */
.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2  { gap: var(--space-2); }
.gap-3  { gap: var(--space-3); }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }

/* ── COMPONENT: BUTTONS ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--secondary:hover {
  background: var(--color-primary);
  color: #FFFFFF;
}

.btn--gold {
  background: var(--color-accent-gold);
  color: #FFFFFF;
  border-color: var(--color-accent-gold);
}

.btn--gold:hover {
  background: #B8862F;
  border-color: #B8862F;
  color: #FFFFFF;
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.btn--danger {
  background: var(--color-danger);
  color: #FFFFFF;
  border-color: var(--color-danger);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn--full { width: 100%; }

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Icon-only button */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
}

.btn-icon:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

/* ── COMPONENT: CARDS ─────────────────────────────────────── */
.card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--color-bg-alt);
}

.card__image--tall {
  aspect-ratio: 3/4;
}

.card__body {
  padding: var(--space-5);
}

.card__badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--color-accent-light);
  color: var(--color-secondary);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-primary);
  margin-top: var(--space-3);
}

.card__price-original {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  text-decoration: line-through;
  margin-left: var(--space-2);
}

.card__footer {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

/* ── COMPONENT: FORMS ─────────────────────────────────────── */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form-label--required::after {
  content: ' *';
  color: var(--color-danger);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(139, 74, 43, 0.12);
}

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

.form-hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

.form-error {
  font-size: var(--text-xs);
  color: var(--color-danger);
  margin-top: var(--space-1);
}

.form-input.is-error,
.form-select.is-error,
.form-textarea.is-error {
  border-color: var(--color-danger);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

/* ── COMPONENT: BADGES ────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.badge--primary   { background: var(--color-accent-light); color: var(--color-primary); }
.badge--success   { background: #D1FAE5; color: var(--color-success); }
.badge--warning   { background: #FEF3C7; color: var(--color-warning); }
.badge--danger    { background: #FEE2E2; color: var(--color-danger); }
.badge--info      { background: #DBEAFE; color: var(--color-info); }
.badge--neutral   { background: var(--color-bg-alt); color: var(--color-text-muted); }

/* ── COMPONENT: TABLE (generic, customer-facing) ──────────────
   Lightweight themeable table for customer pages (orders.php,
   quotes.php, profile.php, etc). Admin listing pages use the
   richer `.data-table` (pagination/sorting) defined in admin.css —
   that one is left untouched; this is the shared base. ───────── */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-card);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.table thead {
  background: var(--color-bg-alt);
}

.table th {
  text-align: left;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

.table td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  vertical-align: middle;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table tbody tr:hover {
  background: var(--color-bg-alt);
}

.table--striped tbody tr:nth-child(even) {
  background: var(--color-bg-alt);
}

.table-empty {
  text-align: center;
  padding: var(--space-12) var(--space-5);
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .table th, .table td { padding: var(--space-3) var(--space-4); }
}

/* ── COMPONENT: SECTION HEADERS ───────────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-12);
}

.section-eyebrow {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-3);
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Decorative divider */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin: var(--space-4) auto var(--space-6);
}

.section-divider::before,
.section-divider::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--color-secondary);
  opacity: 0.5;
}

.section-divider-icon {
  width: 8px;
  height: 8px;
  background: var(--color-secondary);
  transform: rotate(45deg);
  opacity: 0.7;
}

/* ── COMPONENT: BREADCRUMB ────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-4) 0;
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-secondary);
}

.breadcrumb-sep {
  color: var(--color-border);
}

/* ── COMPONENT: ALERTS ────────────────────────────────────── */
.alert {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  border: 1px solid transparent;
}

.alert--success { background: #F0FDF4; border-color: #86EFAC; color: var(--color-success); }
.alert--warning { background: #FFFBEB; border-color: #FCD34D; color: var(--color-warning); }
.alert--danger  { background: #FEF2F2; border-color: #FCA5A5; color: var(--color-danger); }
.alert--info    { background: #EFF6FF; border-color: #93C5FD; color: var(--color-info); }

/* ── COMPONENT: MODAL ─────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay-dark);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-card);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition-base);
}

.modal-overlay.is-open .modal {
  transform: scale(1) translateY(0);
}

.modal__header {
  padding: var(--space-6);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
}

.modal__body {
  padding: var(--space-6);
}

.modal__footer {
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
}

/* ── COMPONENT: TOAST ─────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 360px;
}

.toast {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  animation: toast-in 0.3s ease;
}

.toast--success { border-left: 4px solid var(--color-success); }
.toast--warning { border-left: 4px solid var(--color-warning); }
.toast--danger  { border-left: 4px solid var(--color-danger); }
.toast--info    { border-left: 4px solid var(--color-info); }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── COMPONENT: LOADING ───────────────────────────────────── */
.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-secondary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

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

.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-bg-alt) 25%,
    var(--color-bg-dark) 50%,
    var(--color-bg-alt) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ── COMPONENT: PRICE DISPLAY ─────────────────────────────── */
.price {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 600;
}

.price::before { content: '₹'; font-size: 0.7em; vertical-align: super; }

/* ── UTILITY CLASSES ──────────────────────────────────────── */
.hidden     { display: none !important; }
.sr-only    { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.truncate   { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-full     { width: 100%; }
.h-full     { height: 100%; }
.relative   { position: relative; }
.absolute   { position: absolute; }
.fixed      { position: fixed; }
.inset-0    { top: 0; right: 0; bottom: 0; left: 0; }
.overflow-hidden { overflow: hidden; }

.mt-auto    { margin-top: auto; }
.mx-auto    { margin-left: auto; margin-right: auto; }
.mb-4       { margin-bottom: var(--space-4); }
.mb-6       { margin-bottom: var(--space-6); }
.mb-8       { margin-bottom: var(--space-8); }
.mt-4       { margin-top: var(--space-4); }
.mt-6       { margin-top: var(--space-6); }
.mt-8       { margin-top: var(--space-8); }

.p-4        { padding: var(--space-4); }
.p-6        { padding: var(--space-6); }
.py-3       { padding-top: var(--space-3); padding-bottom: var(--space-3); }
.px-4       { padding-left: var(--space-4); padding-right: var(--space-4); }

.rounded-sm   { border-radius: var(--radius-sm); }
.rounded-md   { border-radius: var(--radius-md); }
.rounded-lg   { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.border        { border: 1px solid var(--color-border); }
.border-top    { border-top: 1px solid var(--color-border); }
.border-bottom { border-bottom: 1px solid var(--color-border); }

.bg-card    { background: var(--color-card); }
.bg-alt     { background: var(--color-bg-alt); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* ── RESPONSIVE BREAKPOINTS ───────────────────────────────── */
@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .section-title { font-size: var(--text-3xl); }
}

@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --navbar-height: 64px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: var(--space-12) 0; }
  .section-title { font-size: var(--text-2xl); }
  .container { padding: 0 var(--space-4); }
  .btn--lg { padding: var(--space-3) var(--space-6); }
  .toast-container { left: var(--space-4); right: var(--space-4); max-width: none; }
}

@media (max-width: 480px) {
  .section-title { font-size: var(--text-xl); }
  .modal { border-radius: var(--radius-lg); }
}

/* ── PRINT ────────────────────────────────────────────────── */
@media print {
  .no-print { display: none !important; }
}
