/* ============================================
   VIBHUSHA COMPONENTS
   All reusable UI components
   ============================================ */

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-none);
  transition: all var(--duration-normal) var(--ease-default);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  transform: translateY(100%);
  transition: transform var(--duration-normal) var(--ease-default);
}

.btn:hover::after {
  transform: translateY(0);
}

/* Primary Button */
.btn-primary {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26,39,68,0.25);
}

/* Secondary / Outline */
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--ivory);
}

/* Gold Outline */
.btn-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold);
  color: var(--white);
}

/* Ivory on dark background */
.btn-ivory {
  background: var(--ivory);
  color: var(--navy);
  border-color: var(--ivory);
}

.btn-ivory:hover {
  background: transparent;
  color: var(--ivory);
}

/* WhatsApp Button */
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
  gap: var(--space-2);
}

.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  transform: translateY(-1px);
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: white;
  flex-shrink: 0;
}

/* Small button */
.btn-sm {
  padding: 10px 20px;
  font-size: var(--text-xs);
}

/* Large button */
.btn-lg {
  padding: 18px 44px;
  font-size: var(--text-base);
}

/* Full width */
.btn-full {
  width: 100%;
}

/* Icon button */
.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ─── SECTION HEADING ─── */
.section-heading {
  margin-bottom: var(--space-12);
}

.section-heading--center {
  text-align: center;
}

.section-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section-subtitle {
  margin-top: var(--space-4);
  font-size: var(--text-md);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 520px;
}

.section-heading--center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: var(--space-4) 0;
}

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

.breadcrumb-sep {
  color: var(--color-border);
  font-size: 10px;
}

/* ─── RATING STARS ─── */
.rating {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.rating-stars {
  display: inline-flex;
  gap: 1px;
}

.star-filled { color: var(--gold); }
.star-empty { color: var(--ivory-mid); }

.rating-count {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ─── ACCORDION ─── */
.accordion-item {
  border-bottom: 1px solid var(--color-border);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-5) 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--duration-fast);
}

.accordion-trigger:hover { color: var(--gold); }

.accordion-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform var(--duration-normal) var(--ease-default),
              opacity var(--duration-normal);
}

.accordion-icon::before {
  width: 12px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion-icon::after {
  width: 1.5px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion-item.open .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.accordion-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--duration-slow) var(--ease-default);
}

.accordion-item.open .accordion-body {
  max-height: 800px;
}

.accordion-content {
  padding-bottom: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* ─── TOAST NOTIFICATION ─── */
.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);
}

.toast {
  background: var(--navy);
  color: var(--ivory);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateX(100px);
  opacity: 0;
  transition: all var(--duration-normal) var(--ease-default);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: 360px;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-success { border-left: 3px solid var(--gold); }
.toast-error { border-left: 3px solid var(--magenta); }

/* ─── MODAL ─── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26,39,68,0.65);
  backdrop-filter: blur(6px);
  z-index: var(--z-modal);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--ivory);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-md);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--duration-normal) var(--ease-spring);
}

.modal-backdrop.active .modal {
  transform: translateY(0) scale(1);
}

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

.modal-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--navy);
}

.modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--charcoal-mid);
  transition: color var(--duration-fast);
}
.modal-close:hover { color: var(--navy); }

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

/* ─── DRAWER ─── */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 420px;
  max-width: 100vw;
  background: var(--ivory);
  z-index: var(--z-modal);
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-default);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: var(--ivory);
  z-index: 1;
}

.drawer-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--navy);
  letter-spacing: 0.02em;
}

.drawer-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--charcoal-mid);
  border-radius: var(--radius-full);
  transition: background var(--duration-fast);
}

.drawer-close:hover {
  background: var(--ivory-dark);
  color: var(--navy);
}

.drawer-body {
  flex: 1;
  padding: var(--space-6);
  overflow-y: auto;
}

.drawer-footer {
  padding: var(--space-6);
  border-top: 1px solid var(--color-border);
  background: var(--ivory);
}

/* ─── FORM ELEMENTS ─── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-input,
.form-select,
.form-textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--duration-fast);
  outline: none;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
}

.form-input::placeholder { color: var(--charcoal-light); }

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

/* ─── QUANTITY SELECTOR ─── */
.quantity-selector {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: var(--text-lg);
  color: var(--navy);
  transition: background var(--duration-fast);
}

.qty-btn:hover { background: var(--ivory-dark); }
.qty-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.qty-value {
  min-width: 44px;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  padding: 0 var(--space-2);
  background: transparent;
  border: none;
  border-left: 1.5px solid var(--color-border);
  border-right: 1.5px solid var(--color-border);
}

/* ─── SIZE SELECTOR ─── */
.size-selector {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.size-btn {
  padding: 8px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--charcoal);
  background: var(--white);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.size-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.size-btn.selected {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--ivory);
}

.size-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* ─── NEWSLETTER BANNER ─── */
.newsletter-section {
  background: var(--navy);
  padding: var(--space-16) 0;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-10);
}

.newsletter-title {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  color: var(--ivory);
  margin-bottom: var(--space-2);
}

.newsletter-subtitle {
  color: rgba(250,247,242,0.65);
  font-size: var(--text-sm);
}

.newsletter-form {
  display: flex;
  gap: 0;
  min-width: 400px;
}

.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border: 1.5px solid rgba(184,149,42,0.4);
  border-right: none;
  background: rgba(255,255,255,0.07);
  color: var(--ivory);
  font-size: var(--text-sm);
  outline: none;
  border-radius: 0;
  transition: border-color var(--duration-fast);
}

.newsletter-input::placeholder { color: rgba(250,247,242,0.4); }
.newsletter-input:focus { border-color: var(--gold); }

.newsletter-btn {
  padding: 14px 24px;
  background: var(--gold);
  color: var(--navy);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1.5px solid var(--gold);
  cursor: pointer;
  transition: all var(--duration-fast);
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* ─── FLOATING WHATSAPP ─── */
.float-whatsapp {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  z-index: var(--z-overlay);
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--duration-normal) var(--ease-spring);
  cursor: pointer;
}

.float-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

.float-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* ─── SCROLL TO TOP ─── */
.scroll-top {
  position: fixed;
  bottom: var(--space-8);
  left: var(--space-8);
  z-index: var(--z-overlay);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--duration-normal) var(--ease-default);
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-top:hover { background: var(--gold); }

.scroll-top svg {
  width: 18px;
  height: 18px;
  stroke: var(--ivory);
  fill: none;
}

/* ─── PAGE LOADER ─── */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: calc(var(--z-nav) + 100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--duration-slow) var(--ease-default);
}

#page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.loader-logo {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--navy);
  text-transform: uppercase;
}

.loader-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  background-size: 200% auto;
}

/* ─── TOAST NOTIFICATIONS ─── */
.toast-container {
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  pointer-events: none;
  width: max-content;
  max-width: 420px;
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 13px 20px;
  background: var(--navy);
  color: var(--ivory);
  font-size: var(--text-sm);
  font-weight: 500;
  border-left: 3px solid var(--gold);
  pointer-events: all;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--duration-normal) var(--ease-default);
  white-space: nowrap;
  box-shadow: var(--shadow-xl);
}

.toast.show { opacity: 1; transform: translateY(0); }
.toast-success { border-left-color: #2d7a3e; }
.toast-error   { border-left-color: #c0392b; }

.toast svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

/* ─── FLOATING WHATSAPP ─── */
.float-whatsapp {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  z-index: var(--z-overlay);
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform var(--duration-normal) var(--ease-spring),
              box-shadow var(--duration-normal);
}

.float-whatsapp:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
.float-whatsapp svg { width: 28px; height: 28px; fill: white; }

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.55);
  margin-bottom: var(--space-5);
}

.breadcrumb a { color: inherit; transition: color var(--duration-fast); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb-sep { opacity: 0.4; }

.breadcrumb.dark { color: var(--color-text-faint); }
.breadcrumb.dark a:hover { color: var(--gold); }

/* ─── SECTION HEADINGS ─── */
.section-heading { margin-bottom: var(--space-10); }
.section-heading--center { text-align: center; }

.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: var(--space-3);
}

.section-subtitle {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  max-width: 520px;
  line-height: var(--leading-relaxed);
}

.section-heading--center .section-subtitle { margin: 0 auto; }
.section-heading.flex-between { display: flex; align-items: flex-end; justify-content: space-between; }

.gold-divider-short {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
  margin-bottom: var(--space-5);
}

/* ─── QUANTITY SELECTOR ─── */
.quantity-selector {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  background: var(--white);
}

.qty-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: var(--text-lg);
  color: var(--navy);
  cursor: pointer;
  transition: background var(--duration-fast);
}

.qty-btn:hover { background: var(--ivory-dark); }

.qty-value {
  width: 44px;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  line-height: 36px;
}

/* ─── NEWSLETTER ─── */
.newsletter-section {
  background: var(--navy);
  padding: var(--space-16) 0;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.newsletter-title {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  color: var(--ivory);
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

.newsletter-subtitle {
  font-size: var(--text-sm);
  color: rgba(250,247,242,0.55);
  line-height: var(--leading-relaxed);
}

.newsletter-form {
  display: flex;
  border: 1.5px solid rgba(184,149,42,0.4);
}

.newsletter-input {
  flex: 1;
  border: none;
  background: rgba(255,255,255,0.07);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  padding: 14px 20px;
  outline: none;
}

.newsletter-input::placeholder { color: rgba(250,247,242,0.4); }
.newsletter-input:focus { background: rgba(255,255,255,0.1); }

.newsletter-btn {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  padding: 14px 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--duration-fast);
}

.newsletter-btn:hover { background: var(--gold-light); }

/* ─── BADGES ─── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.badge-new         { background: var(--turquoise); color: white; }
.badge-sale        { background: var(--magenta); color: white; }
.badge-bestseller  { background: var(--gold); color: var(--navy); }

/* ─── SIZE SELECTOR (standalone) ─── */
.size-selector { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.size-btn {
  padding: 8px 16px;
  border: 1.5px solid var(--color-border);
  background: var(--white);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
  transition: all var(--duration-fast);
  border-radius: var(--radius-sm);
}

.size-btn:hover { border-color: var(--navy); color: var(--navy); }
.size-btn.selected { border-color: var(--navy); background: var(--navy); color: var(--ivory); }

/* ─── WHATSAPP BUTTON ─── */
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: #25d366;
  color: white;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px var(--space-6);
  border: none;
  cursor: pointer;
  transition: background var(--duration-fast);
}

.btn-whatsapp:hover { background: #1da851; }
.btn-whatsapp svg { width: 18px; height: 18px; fill: white; flex-shrink: 0; }

/* ─── DRAWER ─── */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  background: var(--ivory);
  z-index: calc(var(--z-nav) + 1);
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-default);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}

.drawer.open { transform: translateX(0); }

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

.drawer-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--navy);
}

.drawer-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--charcoal-mid);
  background: none;
  border: none;
  transition: color var(--duration-fast);
}

.drawer-close:hover { color: var(--navy); }
.drawer-close svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-6);
}

.drawer-footer {
  flex-shrink: 0;
  padding: var(--space-6);
  border-top: 1px solid var(--color-border);
}

/* ─── OVERLAY ─── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,39,68,0.5);
  z-index: var(--z-nav);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease-default);
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}
