/* ==========================================================================
   Brochure Rush (BrochureRush.com) — Premium Design System & Stylesheet
   ========================================================================== */

/* --- CSS Variables & Color Tokens --- */
:root {
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* HSL Color Palette */
  --hue-primary: 222;
  --hue-accent: 250;
  --hue-success: 152;
  --hue-warning: 38;
  
  --primary-600: hsl(var(--hue-primary), 85%, 54%);
  --primary-700: hsl(var(--hue-primary), 85%, 45%);
  --primary-800: hsl(var(--hue-primary), 85%, 35%);
  
  --accent-500: hsl(var(--hue-accent), 90%, 65%);
  --accent-600: hsl(var(--hue-accent), 85%, 55%);
  
  --success-500: hsl(var(--hue-success), 75%, 42%);
  --success-600: hsl(var(--hue-success), 80%, 34%);

  --neutral-900: hsl(222, 47%, 11%);
  --neutral-800: hsl(220, 35%, 18%);
  --neutral-700: hsl(218, 25%, 27%);
  --neutral-600: hsl(216, 18%, 42%);
  --neutral-400: hsl(215, 16%, 65%);
  --neutral-200: hsl(214, 20%, 90%);
  --neutral-100: hsl(210, 25%, 96%);
  --neutral-50:  hsl(210, 30%, 98%);
  --white: #ffffff;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 20px rgba(79, 110, 247, 0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  font-size: 12px;
  background-color: var(--neutral-50);
  color: var(--neutral-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

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

/* --- Announcement Bar --- */
.announcement-bar {
  background: linear-gradient(135deg, var(--neutral-900), var(--neutral-800));
  color: var(--white);
  padding: 10px 24px;
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-toggle-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.admin-toggle-btn:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
}

.admin-toggle-btn.active-admin {
  background: var(--success-500);
  border-color: var(--success-500);
}

/* --- Admin Control Drawer --- */
.admin-drawer {
  background: var(--neutral-900);
  color: var(--white);
  padding: 24px;
  border-bottom: 3px solid var(--primary-600);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
}

.admin-drawer.hidden {
  display: none;
}

.admin-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.admin-title-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-title-badge .admin-icon {
  font-size: 1.8rem;
}

.admin-title-badge h3 {
  font-size: 1.25rem;
  color: var(--white);
}

.admin-title-badge p {
  font-size: 0.85rem;
  color: var(--neutral-400);
}

.close-admin-btn {
  background: transparent;
  border: none;
  color: var(--neutral-400);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.close-admin-btn:hover {
  color: var(--white);
}

.admin-drawer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.admin-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 18px;
}

.admin-card.highlight-card {
  background: rgba(79, 110, 247, 0.12);
  border-color: rgba(79, 110, 247, 0.3);
}

.admin-card h4 {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--neutral-200);
}

.admin-metric-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.admin-metric-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 10px 0;
}

.total-cogs strong {
  color: var(--accent-500);
  font-size: 1.05rem;
}

.profit-value {
  color: #34d399;
  font-size: 1.2rem;
}

.margin-badge {
  background: #059669;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.85rem;
}

.slider-group {
  margin-bottom: 14px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.slider-value-display {
  color: var(--accent-500);
  font-weight: 700;
}

.slider-group input[type="range"] {
  width: 100%;
  accent-color: var(--primary-600);
  cursor: pointer;
}

.input-group-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-top: 10px;
}

.input-group-row input {
  width: 90px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  text-align: right;
}

/* --- Header & Navbar --- */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--neutral-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 1.8rem;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--neutral-900);
}

.logo-accent {
  color: var(--primary-600);
}

.specialist-badge {
  background: var(--neutral-100);
  border: 1px solid var(--neutral-200);
  color: var(--neutral-700);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  margin-left: 6px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--neutral-600);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-600);
}

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

.phone-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--neutral-700);
}

.btn-primary-sm {
  background: var(--primary-600);
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition-fast);
}

.btn-primary-sm:hover {
  background: var(--primary-700);
  color: var(--white);
}

/* --- Hero Section --- */
.hero-section {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: var(--white);
  padding: 48px 24px;
  text-align: center;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  background: rgba(79, 110, 247, 0.2);
  border: 1px solid rgba(79, 110, 247, 0.4);
  color: var(--accent-500);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.highlight-text {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--neutral-400);
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
}

/* --- Layout & Main Grid --- */
.main-container {
  max-width: 1280px;
  margin: -30px auto 60px;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.configurator-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
}

@media (max-width: 992px) {
  .configurator-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Cards & Form Panels --- */
.card {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.panel-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--neutral-200);
  padding-bottom: 16px;
}

.panel-header h2 {
  font-size: 1.4rem;
  color: var(--neutral-900);
  margin-bottom: 4px;
}

.subtitle-text {
  font-size: 0.9rem;
  color: var(--neutral-600);
}

/* --- Form Inputs --- */
.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--neutral-800);
  margin-bottom: 8px;
}

.plain-tag {
  background: var(--neutral-100);
  color: var(--primary-700);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid var(--neutral-200);
}

.custom-select, input[type="text"], input[type="number"] {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  background-color: var(--neutral-50);
  color: var(--neutral-900);
  font-family: var(--font-primary);
  transition: all var(--transition-fast);
}

.custom-select:focus, input[type="text"]:focus, input[type="number"]:focus {
  outline: none;
  border-color: var(--primary-600);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.15);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

.helper-text {
  background: #eff6ff;
  border-left: 3px solid var(--primary-600);
  color: #1e40af;
  padding: 10px 14px;
  font-size: 0.85rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 8px;
}

.custom-dim-group {
  background: var(--neutral-100);
  border: 1px dashed var(--neutral-400);
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.custom-dim-group.hidden {
  display: none;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.input-row label {
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

/* --- Drag & Drop Artwork Uploader --- */
.drop-zone {
  border: 2px dashed var(--primary-600);
  background: rgba(79, 110, 247, 0.03);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.drop-zone:hover {
  background: rgba(79, 110, 247, 0.08);
  border-color: var(--primary-700);
}

.hidden-input {
  display: none;
}

.upload-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 8px;
}

.upload-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--neutral-900);
}

.upload-subtitle {
  font-size: 0.82rem;
  color: var(--neutral-600);
  margin-bottom: 12px;
}

.btn-secondary-sm {
  background: var(--white);
  border: 1px solid var(--neutral-300);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.upload-status-bar {
  background: var(--neutral-100);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: 10px;
}

.upload-status-bar.hidden {
  display: none;
}

.file-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.validation-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

.badge-success {
  background: #dcfce7;
  color: #15803d;
}

.badge-info {
  background: #e0f2fe;
  color: #0369a1;
}

/* --- Fold SVG Preview Card --- */
.fold-preview-card {
  margin-bottom: 24px;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.preview-header h3 {
  font-size: 1.15rem;
}

.panel-count-tag {
  background: var(--neutral-100);
  color: var(--neutral-700);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

.fold-diagram-container {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: 20px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fold-svg {
  width: 100%;
  max-height: 160px;
}

.fold-specs-summary {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.spec-chip {
  flex: 1;
  background: var(--neutral-100);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  text-align: center;
}

.spec-chip strong {
  display: block;
  color: var(--neutral-900);
}

/* --- Sticky Order Summary Card --- */
.summary-column {
  display: flex;
  flex-direction: column;
}

.sticky-card {
  position: sticky;
  top: 90px;
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--neutral-200);
}

.summary-header h3 {
  font-size: 1.2rem;
}

.live-badge {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.sub-row {
  font-size: 0.85rem;
  color: var(--neutral-600);
}

.summary-divider {
  border: none;
  height: 1px;
  background: var(--neutral-200);
  margin: 16px 0;
}

/* Shipping Input Section */
.shipping-section {
  margin: 16px 0;
}

.shipping-label {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.zip-input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.zip-input {
  padding: 8px 12px;
  font-size: 0.9rem;
}

.btn-calc-zip {
  background: var(--neutral-800);
  color: var(--white);
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.shipping-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shipping-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.shipping-option.active {
  border-color: var(--primary-600);
  background: rgba(79, 110, 247, 0.05);
}

.shipping-info {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.total-row {
  font-size: 1.15rem;
}

.total-label {
  font-weight: 700;
  display: block;
}

.tax-note {
  font-size: 0.75rem;
  color: var(--neutral-500);
}

.total-amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-600);
}

.delivery-estimate-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
}

.est-label {
  display: block;
  font-size: 0.78rem;
  color: #166534;
}

.est-date {
  color: #15803d;
  font-size: 0.95rem;
}

.btn-checkout {
  width: 100%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: var(--white);
  border: none;
  padding: 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all var(--transition-fast);
}

.btn-checkout:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

.guarantee-text {
  text-align: center;
  font-size: 0.78rem;
  color: var(--neutral-500);
  margin-top: 12px;
}

/* --- Educational & Info Section --- */
.info-section {
  background: var(--white);
  padding: 60px 24px;
  border-top: 1px solid var(--neutral-200);
}

.info-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-title-box {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-title-box h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.section-title-box p {
  color: var(--neutral-600);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

.info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--primary-600);
  padding-bottom: 8px;
  display: inline-block;
}

.info-item {
  margin-bottom: 16px;
}

.info-item h4 {
  font-size: 1rem;
  color: var(--neutral-800);
  margin-bottom: 4px;
}

.info-item p {
  font-size: 0.88rem;
  color: var(--neutral-600);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.specs-table th, .specs-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--neutral-200);
  font-size: 0.88rem;
}

.specs-table th {
  background: var(--neutral-100);
  font-weight: 700;
}

/* --- FAQ Section --- */
.faq-section {
  background: var(--neutral-100);
  padding: 60px 24px;
  border-top: 1px solid var(--neutral-200);
}

.faq-container {
  max-width: 1280px;
  margin: 0 auto;
}

.faq-container h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 36px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.faq-card {
  background: var(--white);
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
}

.faq-card h3 {
  font-size: 1rem;
  color: var(--neutral-900);
  margin-bottom: 8px;
}

.faq-card p {
  font-size: 0.88rem;
  color: var(--neutral-600);
}

/* --- Checkout Modal --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.hidden {
  display: none;
}

.modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);

}

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

.modal-header h3 {
  font-size: 1.25rem;
}

.modal-header p {
  font-size: 0.85rem;
  color: var(--neutral-600);
}

.close-modal-btn {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--neutral-500);
}

.modal-body {
  padding: 24px;
}

.modal-summary-box {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 18px;
}

.modal-summary-box h4 {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--neutral-800);
}

.modal-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 0.85rem;
}

.modal-financial-box {
  background: #f8fafc;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 18px;
}

.financial-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.financial-row.total {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-600);
  border-top: 1px solid var(--neutral-300);
  padding-top: 8px;
  margin-top: 6px;
}

.job-ticket-box {
  background: #0f172a;
  color: #38bdf8;
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 18px;
}

.job-ticket-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 8px;
  color: var(--neutral-400);
}

.status-tag {
  background: #0369a1;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
}

.job-ticket-code {
  font-family: monospace;
  font-size: 0.82rem;
  white-space: pre-wrap;
  word-break: break-all;

}

.checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 600px) {
  .checkout-form-grid {
    grid-template-columns: 1fr;
  }
}

.modal-input {
  font-size: 0.88rem;
  padding: 10px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--neutral-200);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: var(--neutral-50);
}

.btn-secondary {
  background: var(--white);
  border: 1px solid var(--neutral-300);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-success {
  background: var(--success-500);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.btn-success:hover {
  background: var(--success-600);
}

/* --- Footer --- */
.footer {
  background: var(--neutral-900);
  color: var(--neutral-400);
  padding: 60px 24px 24px;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.88rem;
  margin-top: 12px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  color: var(--neutral-400);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.82rem;
}

/* ==========================================================================
   Comprehensive Responsive Layout Engine (Mobile, Laptop, Desktop)
   ========================================================================== */

/* --- Mobile Devices (Max Width 768px) --- */
@media (max-width: 768px) {
  .announcement-bar {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 10px 16px;
  }

  .nav-container {
    flex-wrap: wrap;
    padding: 12px 16px;
    gap: 12px;
  }

  .nav-links {
    display: none; /* Clean mobile header layout */
  }

  .brand-logo .logo-text {
    font-size: 1.25rem;
  }

  .specialist-badge {
    display: none;
  }

  .hero-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-trust-badges {
    flex-direction: column;
    align-items: center;
  }

  .trust-pill {
    width: 100%;
    max-width: 320px;
  }

  .card {
    padding: 18px;
  }

  .sticky-card {
    position: relative;
    top: 0;
  }

  .modal-card {
    max-height: 94vh;
    width: 96%;
  }

  .modal-spec-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* --- Tablets & Small Laptops (769px to 1024px) --- */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-links {
    gap: 14px;
    font-size: 0.85rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .configurator-grid {
    grid-template-columns: 1fr;
  }

  .sticky-card {
    position: relative;
    top: 0;
  }
}

/* --- Standard Laptops & Desktops (1025px and up) --- */
@media (min-width: 1025px) {
  .configurator-grid {
    grid-template-columns: 1.4fr 1fr;
  }

  .sticky-card {
    position: sticky;
    top: 90px;
  }
}

/* --- Standardized Shipping & Convention Delivery Address Section --- */
.form-section-divider {
  height: 1px;
  background: var(--neutral-200);
  margin: 32px 0 24px 0;
}

.section-sub-header {
  margin-bottom: 20px;
}

.delivery-type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}

@media (max-width: 600px) {
  .delivery-type-selector {
    grid-template-columns: 1fr;
  }
}

.delivery-type-btn {
  background: var(--neutral-50);
  border: 2px solid var(--neutral-200);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--neutral-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-fast);
}

.delivery-type-btn .btn-icon {
  font-size: 1.2rem;
}

.delivery-type-btn:hover {
  border-color: var(--primary-400);
  background: var(--neutral-100);
}

.delivery-type-btn.active {
  border-color: var(--primary-600);
  background: rgba(79, 110, 247, 0.08);
  color: var(--primary-700);
  box-shadow: 0 2px 8px rgba(79, 110, 247, 0.15);
}

/* Exhibition Checkbox Card */
.exhibition-checkbox-card {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
  transition: all var(--transition-fast);
}

.exhibition-checkbox-card:hover {
  border-color: var(--primary-400);
  background: #f8fafc;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  width: 100%;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--primary-600);
  cursor: pointer;
}

.checkbox-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checkbox-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--neutral-900);
}

.checkbox-sub {
  font-size: 0.8rem;
  color: var(--neutral-600);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row-3col {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 16px;
  margin-bottom: 16px;
}

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

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: var(--font-primary);
  color: var(--neutral-900);
  background: var(--white);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.15);
}

.required-star {
  color: #ef4444;
  font-weight: bold;
}

.convention-metadata-box {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--radius-md);
  padding: 18px;
  margin: 20px 0;
  transition: all var(--transition-fast);
}

.convention-metadata-box.hidden {
  display: none;
}

.convention-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #166534;
}

.shipping-label-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.label-card-header {
  background: #0f172a;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
  border-bottom: 1px solid #334155;
}

.verified-tag {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
}

.shipping-label-text {
  padding: 14px;
  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #38bdf8;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Privacy Policy Modal Styling */
.privacy-modal-card {
  max-width: 800px;
}

.policy-body {
  max-height: 70vh;
  overflow-y: auto;
  padding: 24px;
}

.policy-intro {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--neutral-700);
  background: var(--neutral-50);
  border-left: 4px solid var(--primary-600);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.policy-section {
  margin-bottom: 22px;
}

.policy-section h4 {
  font-size: 1.05rem;
  color: var(--neutral-900);
  margin-bottom: 8px;
  border-bottom: 1px solid var(--neutral-200);
  padding-bottom: 4px;
}

.policy-section p {
  font-size: 0.9rem;
  color: var(--neutral-700);
  line-height: 1.5;
  margin-bottom: 8px;
}

.policy-section ul, .policy-section ol {
  padding-left: 20px;
  margin-bottom: 10px;
}

.policy-section li {
  font-size: 0.88rem;
  color: var(--neutral-700);
  margin-bottom: 6px;
  line-height: 1.5;
}

.policy-quote {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin: 12px 0;
}

.policy-subtext {
  font-size: 0.82rem;
  color: var(--neutral-500);
  font-style: italic;
  margin-top: 4px;
}

.highlight-contact-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 24px;
}

.contact-details-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.9rem;
}

.policy-email-link {
  color: var(--primary-600);
  font-weight: 600;
  text-decoration: underline;
}

