/* ==========================================================================
   Pressroom Design System — Atelier Print Aesthetic & Corporate Confidence
   Unifies classic forest-green printcraft with vibrant, disciplined ink accents
   ========================================================================== */

:root {
  /* Atelier Master Ink Palette */
  --ink-900: #12281c;
  --ink-800: #1b3d2b;
  --ink-700: #25543b;
  --ink-600: #336d4e;
  --ink-500: #468462;
  --ink-100: #e8efe7;
  --ink-50:  #f2f6f1;

  /* Natural Paper Surfaces */
  --paper-ground: #faf9f5;
  --paper-surface: #ffffff;
  --paper-elevated: #f5f4ed;
  --paper-subtle: #eeede3;

  /* Warm Print Dividers & Borders */
  --border-subtle: #e3e8dc;
  --border-medium: #cbd4c2;
  --border-strong: #9fb093;

  /* Sparkling Press Pigments (Disciplined Accent System) */
  --accent-cyan: #0284c7;
  --accent-cyan-subtle: #e0f2fe;
  --accent-gold: #b45309;
  --accent-gold-subtle: #fef3c7;
  --accent-berry: #be123c;
  --accent-berry-subtle: #ffe4e6;
  --accent-emerald: #059669;
  --accent-emerald-subtle: #d1fae5;

  /* Typography */
  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-arabic: 'Noto Sans Arabic', 'DM Sans', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(18, 40, 28, 0.05);
  --shadow-md: 0 4px 14px rgba(18, 40, 28, 0.06), 0 1px 3px rgba(18, 40, 28, 0.03);
  --shadow-lg: 0 12px 32px rgba(18, 40, 28, 0.09), 0 2px 6px rgba(18, 40, 28, 0.04);
}

/* --------------------------------------------------------------------------
   Global Layout Containers & Seamless Full-Bleed Sectioning
   -------------------------------------------------------------------------- */
html, body {
  background: var(--paper-ground);
  color: #2c3a2f;
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.site-page {
  background: var(--paper-ground);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Unified inner page container with balanced guttering */
.site-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .site-container {
    padding: 0 16px;
  }
}

/* Full-width banded section wrappers */
.section-band {
  width: 100%;
  box-sizing: border-box;
  padding: 72px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.section-band.band-ground {
  background: var(--paper-ground);
}
.section-band.band-white {
  background: #ffffff;
}
.section-band.band-elevated {
  background: var(--paper-elevated);
}
.section-band.band-dark {
  background: var(--ink-800);
  color: #ffffff;
}

/* Section Header Typography */
.section-heading-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.section-heading-center .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--ink-600);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-heading-center h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 0 0 14px;
}
.section-heading-center p {
  font-size: 16px;
  line-height: 1.65;
  color: #556658;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Cohesive Site Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  width: 100%;
  background: var(--paper-ground);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 50;
  box-sizing: border-box;
}
.site-header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header .brand {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--ink-900);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-header .brand-symbol {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--ink-800);
  color: #e5efd3;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.site-header .brand-dot {
  font-size: 11px;
  color: var(--accent-gold);
  margin-left: -6px;
  align-self: flex-start;
  margin-top: 4px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-header nav a:not(.button):not(.signin-link) {
  font-size: 14px;
  font-weight: 600;
  color: #526355;
  text-decoration: none;
  transition: color 0.15s ease;
  position: relative;
  padding: 6px 0;
}
.site-header nav a:not(.button):not(.signin-link):hover {
  color: var(--ink-800);
}
.site-header nav a.active {
  color: var(--ink-800);
  font-weight: 700;
}
.site-header nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink-700);
  border-radius: 2px;
}
.site-header .signin-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-800);
  text-decoration: none;
  margin-left: 8px;
}
.site-header .signin-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Button System (Corporate Confident, Tactile, Grounded)
   -------------------------------------------------------------------------- */
.button-primary,
.button-vibrant-primary,
.site-page .button.primary {
  background: var(--ink-800);
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 8px;
  border: 1px solid var(--ink-900);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 5px rgba(18, 40, 28, 0.18);
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.button-primary:hover,
.button-vibrant-primary:hover,
.site-page .button.primary:hover {
  background: var(--ink-900);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(18, 40, 28, 0.24);
}
.button-primary:active,
.button-vibrant-primary:active {
  transform: translateY(0);
}

.button-secondary,
.button-vibrant-secondary,
.site-page .button.secondary {
  background: #ffffff;
  color: var(--ink-800) !important;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 8px;
  border: 1px solid var(--border-medium);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.button-secondary:hover,
.button-vibrant-secondary:hover,
.site-page .button.secondary:hover {
  background: var(--paper-ground);
  border-color: var(--border-strong);
  color: var(--ink-900) !important;
}

/* --------------------------------------------------------------------------
   Authentic Press Proof Badges & CMYK Registration Specimen
   -------------------------------------------------------------------------- */
.press-specimen-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink-800);
}
.press-specimen-chip .cmyk-crosshair {
  color: var(--accent-cyan);
  font-size: 14px;
  line-height: 1;
}
.press-specimen-chip .cmyk-ink-bars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.press-specimen-chip .cmyk-ink-bars i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.press-specimen-chip .cmyk-ink-bars i.c { background: #0284c7; }
.press-specimen-chip .cmyk-ink-bars i.m { background: #e11d48; }
.press-specimen-chip .cmyk-ink-bars i.y { background: #f59e0b; }
.press-specimen-chip .cmyk-ink-bars i.k { background: var(--ink-900); }

.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--paper-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  font-weight: 600;
  color: #495a4c;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-emerald-subtle);
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 12px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Hero Section (Classy Atelier with Sparkling Life)
   -------------------------------------------------------------------------- */
.vibrant-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 80px;
}
.hero-headline-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.vibrant-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -1.8px;
  color: var(--ink-900);
  margin: 0;
  word-break: break-word;
}
.vibrant-hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-700);
  letter-spacing: -0.5px;
}
.vibrant-hero p.lead-copy {
  font-size: 17px;
  line-height: 1.7;
  color: #495b4c;
  margin: 0;
  max-width: 540px;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-facts-row {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: #617364;
  flex-wrap: wrap;
  padding-top: 8px;
}
.hero-facts-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-facts-row i {
  color: var(--accent-emerald);
  font-size: 15px;
}

/* Hero Art Stage */
.hero-stage-composition {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}
.hero-stage-bg {
  position: absolute;
  inset: -16px;
  background: radial-gradient(circle at 50% 50%, rgba(37, 84, 59, 0.08), rgba(2, 132, 199, 0.05) 50%, transparent 75%);
  border-radius: 28px;
  z-index: 1;
}
.hero-sheet-sample {
  position: relative;
  z-index: 2;
  width: 320px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(18, 40, 28, 0.12), 0 2px 6px rgba(18, 40, 28, 0.04);
  padding: 18px;
  border: 1px solid var(--border-medium);
  box-sizing: border-box;
}
.hero-sample-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-medium);
  font-size: 12px;
  color: #617364;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.hero-sample-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 14px;
}
.hero-card-tile {
  background: var(--paper-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 60px;
  box-sizing: border-box;
}
.hero-card-tile strong {
  font-size: 12px;
  font-weight: 750;
  color: var(--ink-900);
}
.hero-card-tile small {
  font-size: 12px;
  color: #6a7c6d;
}
.hero-card-tile.c-forest { background: #1b3d2b; color: #e6f0dd; border-color: #12281c; }
.hero-card-tile.c-forest strong, .hero-card-tile.c-forest small { color: #e6f0dd; }
.hero-card-tile.c-sand { background: #fdfbf7; border-color: #e5ded3; }
.hero-card-tile.c-cream { background: #fbf8f0; border-color: #e8e2d2; }
.hero-card-tile.c-ochre { background: #fffbeb; border-color: #fde68a; }

/* Floating Clean Badges on Hero Stage */
.hero-float-badge {
  position: absolute;
  z-index: 3;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(18, 40, 28, 0.1);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.hero-float-badge.badge-top-left {
  top: 16px;
  left: -12px;
}
.hero-float-badge.badge-bottom-right {
  bottom: 24px;
  right: -16px;
}

/* --------------------------------------------------------------------------
   Trust Strip (Full-Bleed, Classy Editorial)
   -------------------------------------------------------------------------- */
.trust-strip-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: #556658;
}
.trust-strip-bar span.strip-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--ink-700);
  text-transform: uppercase;
}
.trust-strip-bar b {
  color: var(--ink-900);
  font-weight: 650;
}
.trust-strip-bar i {
  color: var(--border-strong);
  font-style: normal;
}

/* --------------------------------------------------------------------------
   Audience Matrix Cards (Personal, Solo, Agency, Print Shop)
   -------------------------------------------------------------------------- */
.audience-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.matrix-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  box-sizing: border-box;
}
.matrix-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}
.matrix-card.featured-card {
  border: 2px solid var(--ink-700);
  box-shadow: var(--shadow-md);
}
.matrix-card .card-emblem {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--paper-ground);
  border: 1px solid var(--border-subtle);
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--ink-800);
  margin-bottom: 20px;
}
.matrix-card.featured-card .card-emblem {
  background: var(--ink-800);
  color: #ffffff;
  border-color: var(--ink-900);
}
.matrix-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 750;
  color: var(--ink-900);
  margin: 0 0 10px;
}
.matrix-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #556658;
  margin: 0 0 20px;
}
.matrix-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  color: #3b4c3e;
}
.matrix-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.matrix-card ul li i {
  color: var(--accent-emerald);
  font-size: 14px;
  margin-top: 2px;
}
.matrix-card .card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   Workflow 3-Step Section
   -------------------------------------------------------------------------- */
.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.workflow-step-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}
.workflow-step-card .step-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1.5px;
  color: var(--ink-700);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.workflow-step-card .step-icon {
  font-size: 26px;
  color: var(--ink-800);
  margin-bottom: 16px;
  display: block;
}
.workflow-step-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 750;
  color: var(--ink-900);
  margin: 0 0 10px;
}
.workflow-step-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #556658;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Templates Hub Grid (/templates)
   -------------------------------------------------------------------------- */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.template-product-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  box-sizing: border-box;
}
.template-product-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}
.template-card-preview {
  background: var(--paper-elevated);
  height: 200px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  display: grid;
  place-items: center;
  padding: 16px;
}
.template-preview-wireframe {
  width: 140px;
  height: 160px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  display: grid;
  gap: 3px;
  padding: 5px;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(18, 40, 28, 0.06);
}
.template-preview-wireframe.grid-10 { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, 1fr); }
.template-preview-wireframe.grid-4  { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.template-preview-wireframe.grid-12 { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 1fr); }
.template-preview-wireframe.grid-15 { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(5, 1fr); }
.template-wire-slot {
  background: var(--paper-ground);
  border: 1px dashed var(--border-medium);
  border-radius: 2px;
}

.template-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.template-card-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 750;
  color: var(--ink-900);
  margin: 6px 0 12px;
}
.template-specs-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.template-card-body p {
  font-size: 14px;
  line-height: 1.6;
  color: #556658;
  margin: 0 0 20px;
}
.template-card-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.template-price-from small {
  display: block;
  font-size: 12px;
  color: #6b7a6d;
}
.template-price-from strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-900);
}

/* --------------------------------------------------------------------------
   Directory & Storefront (/print-shops, /print-shops/:slug)
   -------------------------------------------------------------------------- */
.directory-filter-bar {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}
.filter-search-input {
  flex: 1;
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  background: var(--paper-ground);
  color: #1f2e22;
  outline: none;
}
.filter-select {
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  background: #ffffff;
  color: #1f2e22;
  cursor: pointer;
  min-width: 180px;
}

.directory-shops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.shop-directory-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  box-sizing: border-box;
}
.shop-directory-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}
.shop-card-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.shop-emblem {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  color: var(--ink-800);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.shop-meta-info h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 750;
  color: var(--ink-900);
  margin: 0 0 4px;
}
.location-text {
  font-size: 13px;
  color: #617364;
  display: flex;
  align-items: center;
  gap: 5px;
}
.shop-rating-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-gold);
}
.shop-rating-row small {
  font-size: 12px;
}

.shop-products-preview {
  background: var(--paper-ground);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 18px;
}
.shop-products-preview small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #617364;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.shop-products-preview .prod-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--border-subtle);
}
.shop-products-preview .prod-row:last-child {
  border-bottom: 0;
}
.shop-card-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Storefront Header Card */
.storefront-header-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 40px;
}
.storefront-logo {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  background: var(--ink-800);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 38px;
}
.storefront-info h1 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--ink-900);
  margin: 6px 0 8px;
}
.storefront-info p.bio {
  font-size: 15px;
  color: #556658;
  line-height: 1.6;
  margin: 0 0 14px;
}
.contact-row {
  display: flex;
  gap: 20px;
  font-size: 13.5px;
  color: #617364;
  flex-wrap: wrap;
}
.contact-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.storefront-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.storefront-product-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.storefront-product-card .prod-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 750;
  color: var(--ink-900);
  margin-bottom: 6px;
}
.storefront-product-card .price-row {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.storefront-product-card .price-row strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-900);
}

/* --------------------------------------------------------------------------
   Pricing Page & Plan Customizer (/pricing)
   -------------------------------------------------------------------------- */
.pricing-billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}
.toggle-switch-btn {
  background: var(--paper-elevated);
  border: 1px solid var(--border-medium);
  border-radius: 999px;
  padding: 4px;
  display: inline-flex;
}
.toggle-pill {
  border: 0;
  background: transparent;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #556658;
  cursor: pointer;
  transition: all 0.15s ease;
}
.toggle-pill.active {
  background: #ffffff;
  color: var(--ink-900);
  box-shadow: var(--shadow-sm);
}
.discount-chip {
  background: var(--accent-gold-subtle);
  color: var(--accent-gold);
  border: 1px solid #fde68a;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  box-sizing: border-box;
}
.pricing-card.highlight {
  border: 2px solid var(--ink-700);
  box-shadow: var(--shadow-md);
}
.pricing-badge-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--paper-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--ink-700);
}
.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-900);
  margin: 0 0 6px;
}
.pricing-target {
  font-size: 13.5px;
  color: #617364;
  margin: 0 0 20px;
  min-height: 38px;
}
.pricing-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.pricing-price-box .currency {
  font-size: 24px;
  font-weight: 750;
  color: var(--ink-900);
}
.pricing-price-box .amount {
  font-size: 44px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -1.5px;
  line-height: 1;
}
.pricing-price-box .period {
  font-size: 13px;
  color: #617364;
  font-weight: 500;
}
.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 13.5px;
  color: #3b4c3e;
}
.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.pricing-features-list li i.check {
  color: var(--accent-emerald);
  font-size: 14px;
  margin-top: 2px;
}
.pricing-features-list li i.cross {
  color: #94a3b8;
  font-size: 14px;
  margin-top: 2px;
}

/* Customizer Component */
.customizer-box {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  margin-bottom: 64px;
}
.customizer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.customizer-slider-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.slider-control-card {
  background: var(--paper-ground);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 18px 20px;
}
.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 12px;
}
.slider-label-row strong {
  font-size: 16px;
  color: var(--ink-800);
}
.slider-control-card input[type="range"] {
  width: 100%;
  accent-color: var(--ink-800);
  cursor: pointer;
}
.customizer-result-bar {
  background: var(--paper-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.result-price-breakdown small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #617364;
  text-transform: uppercase;
}
.result-price-breakdown strong {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.5px;
  display: block;
  margin: 4px 0;
}
.result-price-breakdown span {
  font-size: 13px;
  color: #556658;
}

/* --------------------------------------------------------------------------
   Interactive Send to Print Order Modal
   -------------------------------------------------------------------------- */
.order-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 40, 28, 0.55);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  box-sizing: border-box;
}
.order-modal-box {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  box-sizing: border-box;
}
.order-modal-header {
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.order-modal-header h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 750;
  color: var(--ink-900);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.order-modal-close {
  border: 0;
  background: transparent;
  font-size: 18px;
  color: #617364;
  cursor: pointer;
  padding: 4px;
}
.order-modal-body {
  padding: 28px;
}
.order-step-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 600;
  color: #617364;
}
.step-dot-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.step-dot-wrap .step-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper-ground);
  border: 1px solid var(--border-medium);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.step-dot-wrap.active {
  color: var(--ink-900);
}
.step-dot-wrap.active .step-circle {
  background: var(--ink-800);
  color: #ffffff;
  border-color: var(--ink-900);
}
.order-form-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.order-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #2c3a2f;
}
.order-form-grid input,
.order-form-grid select,
.order-form-grid textarea {
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  background: #ffffff;
  color: #1f2e22;
  box-sizing: border-box;
}
.order-form-grid textarea {
  resize: vertical;
  min-height: 72px;
}
.live-quote-card {
  background: var(--paper-ground);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.live-quote-card strong {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink-900);
}

/* --------------------------------------------------------------------------
   Pass 2: Dashboard Orders, CRM, and Team Workspace Components
   -------------------------------------------------------------------------- */
.badge-count {
  display: inline-block;
  background: var(--ink-800);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 9999px;
  margin-inline-start: auto;
}
.order-status-badge, .payment-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.badge-status-submitted { background: #e0f2fe; color: #0369a1; }
.badge-status-accepted { background: #ede9fe; color: #6d28d9; }
.badge-status-in_production { background: #fef3c7; color: #b45309; }
.badge-status-ready_for_pickup { background: #dcfce7; color: #15803d; }
.badge-status-dispatched { background: #ccfbf1; color: #0f766e; }
.badge-status-delivered { background: #eaf7ed; color: #166534; }
.badge-status-cancelled { background: #fee2e2; color: #b91c1c; }

.badge-payment-unpaid { background: #fef2f2; color: #991b1b; }
.badge-payment-proof_uploaded { background: #fef9c3; color: #854d0e; }
.badge-payment-paid_verified { background: #dcfce7; color: #15803d; }
.badge-payment-refunded { background: #f1f5f9; color: #475569; }

.orders-grid-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.order-row-card {
  background: var(--paper-surface);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: 0 2px 8px rgba(18, 40, 28, 0.03);
  transition: border-color 0.15s ease;
}
.order-row-card:hover {
  border-color: var(--ink-800);
}
.order-details-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.order-meta-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.crm-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: start;
}
.crm-data-table th {
  background: var(--paper-elevated);
  padding: 12px 16px;
  font-weight: 750;
  color: var(--ink-900);
  border-bottom: 1px solid var(--border-medium);
}
.crm-data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--ink-800);
}

/* --------------------------------------------------------------------------
   Site Footer (Full-Bleed, Editorial Grounding)
   -------------------------------------------------------------------------- */
.site-footer-band {
  width: 100%;
  background: var(--paper-elevated);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0;
  box-sizing: border-box;
}
.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  color: #617364;
}

/* --------------------------------------------------------------------------
   Responsive Rules
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .audience-matrix-grid,
  .pricing-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .templates-grid,
  .directory-shops-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .vibrant-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0;
  }
  .hero-headline-wrap {
    text-align: center;
    align-items: center;
  }
  .hero-cta-group,
  .hero-facts-row {
    justify-content: center;
  }
  .account-sidebar nav a[href="/templates"],
  .account-sidebar nav a[href="/print-shops"],
  .account-sidebar nav a[href="/pricing"] {
    display: none;
  }
}

@media (max-width: 760px) {
  .section-band {
    padding: 48px 0;
  }
  .site-header nav a:not(.button):not(.signin-link) {
    display: none;
  }
  .site-header .signin-link {
    font-size: 13px;
    margin-left: 0;
    margin-inline-start: 6px;
  }
  .hero-stage-composition {
    min-height: auto;
    flex-direction: column;
    gap: 12px;
    max-width: 100%;
    overflow: hidden;
  }
  .hero-stage-bg {
    inset: 0;
  }
  .hero-sheet-sample {
    width: 100%;
    max-width: 320px;
  }
  .hero-float-badge {
    position: static;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-float-badge.badge-top-left,
  .hero-float-badge.badge-bottom-right {
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
  }
  .audience-matrix-grid,
  .pricing-cards-grid,
  .templates-grid,
  .directory-shops-grid,
  .workflow-steps-grid,
  .storefront-product-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .shop-directory-card,
  .matrix-card,
  .pricing-card,
  .template-product-card,
  .workflow-step-card {
    min-width: 0;
  }
  .customizer-slider-group {
    grid-template-columns: 1fr;
  }
  .customizer-result-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    text-align: center;
  }
  .storefront-header-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .storefront-logo {
    margin: 0 auto;
  }
  .contact-row {
    justify-content: center;
  }
  .directory-filter-bar {
    flex-direction: column;
  }
  .trust-strip-bar {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .trust-strip-bar i {
    display: none;
  }
  .site-footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .site-header-inner {
    height: 64px;
    gap: 8px;
  }
  .site-header .brand {
    font-size: 19px;
    gap: 6px;
  }
  .site-header .brand-symbol {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
  .site-header nav {
    gap: 6px;
  }
  .site-header nav .button {
    padding: 6px 10px !important;
    font-size: 12px !important;
    white-space: nowrap;
  }
  .hero-headline-wrap h1 {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .hero-cta-group {
    flex-direction: column;
  }
  .hero-cta-group a {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  .hero-facts-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .shop-directory-card,
  .matrix-card,
  .pricing-card,
  .template-product-card,
  .workflow-step-card {
    padding: 16px;
  }
  .shop-card-actions {
    flex-direction: column;
  }
  .shop-card-actions a,
  .shop-card-actions button {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}

/* --------------------------------------------------------------------------
   Arabic RTL Refinements
   -------------------------------------------------------------------------- */
[dir="rtl"] .site-header .brand-dot {
  margin-left: 0;
  margin-right: -6px;
}
[dir="rtl"] .pricing-badge-pill {
  right: auto;
  left: 14px;
}
[dir="rtl"] .hero-float-badge.badge-top-left {
  left: auto;
  right: -12px;
}
[dir="rtl"] .hero-float-badge.badge-bottom-right {
  right: auto;
  left: -16px;
}

/* Guarantee font readability rule */
small {
  font-size: 12px;
}
