/* ═══════════════════════════════════════════════════════════════
   Templateez — Global Stylesheet
   © 2026 AAA Designs, LLC
═══════════════════════════════════════════════════════════════ */

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

:root {
  --navy:      #263c6b;
  --navy-dark: #1a2a4a;
  --navy-mid:  #2d4a82;
  --accent:    #e85d26;
  --accent-lt: #f47340;
  --gold:      #f0b429;
  --green:     #2e7d32;
  --white:     #ffffff;
  --off-white: #f8f9fa;
  --grey-lt:   #f1f3f5;
  --grey-mid:  #dee2e6;
  --grey-dk:   #6c757d;
  --text:      #1a1a2e;
  --text-mid:  #495057;
  --radius:    10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.2s ease;
  --max-w:     1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── CONTAINER ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── BUTTONS ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-lt);
  border-color: var(--accent-lt);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232,93,38,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--grey-lt);
}

.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-xl { padding: 16px 36px; font-size: 17px; width: 100%; text-align: center; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ─── SECTION HELPERS ───────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 12px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 580px;
  margin: 0 auto;
}
.section-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}
.section-link:hover { text-decoration: underline; }

/* ─── ACCENT ────────────────────────────────────────────────────── */
.accent { color: var(--accent); }

/* ─── PLACEHOLDER IMAGES ────────────────────────────────────────── */
.img-placeholder,
.img-placeholder-lg,
.img-placeholder-sm,
.img-placeholder-preview {
  background: linear-gradient(135deg, #e8ecf0 0%, #d0d7e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-placeholder::after { content: "📄"; font-size: 48px; }
.img-placeholder-lg::after { content: "📄"; font-size: 80px; }
.img-placeholder-sm::after { content: "📄"; font-size: 24px; }
.img-placeholder-preview::after { content: "📄"; font-size: 64px; }

/* ═══════════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--grey-mid);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 220px;
}
/* Legacy .logo-t kept as safety in case an older cached page loads */
.logo-t {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  text-align: center;
  line-height: 28px;
  font-size: 18px;
  margin-right: 2px;
  vertical-align: middle;
}
.footer-logo-img {
  display: block;
  height: 38px;
  width: auto;
  max-width: 190px;
  margin-bottom: 12px;
}

.site-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition);
}
.site-nav a:hover, .site-nav a.active { color: var(--navy); }

.nav-cta { margin-left: 8px; }
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--navy);
  margin-left: auto;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 48px;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  padding: 0 24px 0 max(24px, calc((100% - var(--max-w)) / 2 + 24px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 500;
  width: fit-content;
}

.hero-headline {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
}
.hero-headline .accent { color: var(--gold); }

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-actions .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.hero-actions .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 22px; font-weight: 800; }
.stat span { font-size: 12px; color: rgba(255,255,255,0.65); font-weight: 500; }
.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.2);
}

/* Hero visual (document stack) */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: max(24px, calc((100% - var(--max-w)) / 2 + 24px));
}
.hero-doc-stack {
  position: relative;
  width: 300px;
  height: 380px;
}
.doc-card {
  position: absolute;
  width: 240px;
  height: 310px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}
.doc-card-back {
  top: 30px;
  left: 40px;
  transform: rotate(8deg);
  background: #e8ecf0;
}
.doc-card-mid {
  top: 15px;
  left: 20px;
  transform: rotate(4deg);
  background: #f1f3f5;
}
.doc-card-front {
  top: 0;
  left: 0;
  transform: rotate(-1deg);
  padding: 0;
  overflow: hidden;
}
.doc-preview-header {
  height: 40px;
  background: var(--navy);
  margin-bottom: 16px;
}
.doc-preview-line {
  height: 8px;
  background: var(--grey-mid);
  border-radius: 4px;
  margin: 8px 14px;
}
.doc-preview-line.w80 { width: 80%; }
.doc-preview-line.w60 { width: 60%; }
.doc-preview-line.w90 { width: 90%; }
.doc-preview-line.w70 { width: 70%; }
.doc-preview-line.w85 { width: 85%; }
.doc-preview-section {
  height: 16px;
  background: var(--navy);
  margin: 14px;
  border-radius: 3px;
}

/* ═══════════════════════════════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════════════════════════════ */
.trust-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  padding: 12px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.trust-item { font-size: 13px; font-weight: 500; }
.trust-sep { opacity: 0.35; }

/* ═══════════════════════════════════════════════════════════════
   CATEGORY CARDS
═══════════════════════════════════════════════════════════════ */
.categories-section { background: var(--off-white); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 2px solid var(--grey-mid);
  transition: all var(--transition);
  display: block;
  text-decoration: none;
  color: var(--text);
}
.category-card:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cat-icon { font-size: 36px; margin-bottom: 12px; }

.category-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 4px;
}
.category-card p {
  font-size: 14px;
  color: var(--grey-dk);
  margin-bottom: 10px;
}
.cat-examples {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 14px;
}
.cat-bundle-price {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.save-badge {
  background: #e8f5e9;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT CARDS
═══════════════════════════════════════════════════════════════ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-mid);
  overflow: hidden;
  transition: all var(--transition);
  display: block;
  text-decoration: none;
  color: var(--text);
}
.product-card:hover {
  border-color: var(--navy-mid);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--grey-lt);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.03); }

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.product-info {
  padding: 14px 16px 16px;
}
.product-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 3px;
  line-height: 1.3;
}
.product-info p {
  font-size: 12px;
  color: var(--grey-dk);
  margin-bottom: 8px;
}
.product-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
}

.view-all-wrap {
  text-align: center;
  margin-top: 40px;
}

/* ═══════════════════════════════════════════════════════════════
   BUNDLES CTA (homepage strip)
═══════════════════════════════════════════════════════════════ */
.bundles-cta-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  color: var(--white);
}
.bundles-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.bundles-cta-text h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}
.bundles-cta-text p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.bundles-grid-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.bundle-mini {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.bm-name { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.bm-count { font-size: 12px; color: rgba(255,255,255,0.65); margin-bottom: 8px; }
.bm-price { font-size: 22px; font-weight: 800; color: var(--gold); }
.bm-save {
  display: inline-block;
  background: rgba(46,125,50,0.6);
  color: #a5d6a7;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════════════ */
.how-section { background: var(--off-white); }
.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}
.step-num {
  width: 52px;
  height: 52px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}
.step p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }
.step-arrow {
  font-size: 28px;
  color: var(--grey-mid);
  padding-top: 14px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   VALUE PROPS
═══════════════════════════════════════════════════════════════ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--grey-mid);
}
.value-icon { font-size: 32px; margin-bottom: 12px; }
.value-card h3 { font-size: 16px; font-weight: 700; color: var(--navy-dark); margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════════════ */
.testimonials-section { background: var(--off-white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--grey-mid);
  box-shadow: var(--shadow-sm);
}
.t-stars { font-size: 18px; color: var(--gold); margin-bottom: 12px; display: block; }
.t-text { font-size: 15px; color: var(--text-mid); line-height: 1.6; margin-bottom: 16px; font-style: italic; }
.t-author { font-size: 13px; font-weight: 600; color: var(--navy); }

/* ═══════════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════════ */
.faq-container { max-width: 740px; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--grey-mid);
  padding: 4px 0;
}
.faq-item summary {
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item p {
  padding: 0 0 18px;
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   BOTTOM CTA
═══════════════════════════════════════════════════════════════ */
.bottom-cta-section {
  background: var(--accent);
  padding: 64px 0;
  text-align: center;
  color: var(--white);
}
.bottom-cta-inner h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.bottom-cta-inner p { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 28px; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 56px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer-brand .footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand p { font-size: 13px; line-height: 1.6; }

.footer-links { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.4); }

/* ═══════════════════════════════════════════════════════════════
   CUSTOM FORM SERVICE BANNER
═══════════════════════════════════════════════════════════════ */
.custom-form-banner {
  background: linear-gradient(135deg, #1a2a4a 0%, #2d4a82 100%);
  border-bottom: 3px solid var(--accent);
  padding: 16px 0;
}
.custom-form-banner-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cfb-icon { font-size: 28px; flex-shrink: 0; }
.cfb-text { flex: 1; font-size: 14px; color: rgba(255,255,255,0.9); min-width: 200px; }
.cfb-text strong { color: var(--white); }
.cfb-price { font-size: 24px; font-weight: 800; color: var(--gold); flex-shrink: 0; }
.cfb-btn { flex-shrink: 0; }
@media (max-width: 600px) {
  .custom-form-banner-inner { justify-content: center; text-align: center; }
  .cfb-text { text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════
   PAGE HERO (shop/product pages)
═══════════════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 48px 0;
  text-align: center;
}
.page-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════════
   BUNDLES STRIP (shop page)
═══════════════════════════════════════════════════════════════ */
.bundles-strip {
  background: var(--off-white);
  padding: 56px 0;
  border-bottom: 1px solid var(--grey-mid);
}
.strip-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 28px;
  text-align: center;
}
.bundles-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bundle-card {
  background: var(--white);
  border: 2px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--transition);
}
.bundle-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}
.bundle-cat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent);
}
.bundle-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-dark);
}
.bundle-count { font-size: 13px; color: var(--grey-dk); font-weight: 600; }
.bundle-forms-preview {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.5;
  flex: 1;
}
.bundle-pricing { display: flex; flex-direction: column; gap: 2px; }
.bundle-price { font-size: 28px; font-weight: 800; color: var(--navy-dark); }
.bundle-compare { font-size: 12px; color: var(--grey-dk); text-decoration: line-through; }
.bundle-savings {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}
.bundle-buy-btn { width: 100%; justify-content: center; margin-top: 4px; }

/* Legal Bundle featured layout */
.legal-bundle-row {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}
.legal-bundle-card { border-color: var(--navy); }
.bundle-card-aside {
  background: var(--white);
  border: 2px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aside-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--navy-dark); margin-bottom: 4px; }
.aside-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--text-mid); padding: 5px 0; border-bottom: 1px solid var(--grey-lt); }
.aside-row strong { color: var(--navy-dark); font-weight: 700; }
.aside-row-highlight { background: #e8f0fb; margin: 0 -4px; padding: 6px 4px; border-radius: 6px; border-bottom: none; }
.aside-row-highlight strong { color: var(--accent); font-size: 16px; }
.aside-row-bundle { background: #fef3cd; margin: 0 -4px; padding: 6px 4px; border-radius: 6px; border-bottom: none; }
.aside-row-bundle strong { color: var(--navy-dark); font-size: 16px; }
@media (max-width: 768px) { .legal-bundle-row { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   SHOP LAYOUT (sidebar + grid)
═══════════════════════════════════════════════════════════════ */
.shop-section { padding: 40px 0 80px; }
.shop-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}

/* SIDEBAR */
.shop-sidebar {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.filter-group {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 18px;
}
.filter-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy-dark);
  margin-bottom: 12px;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-mid);
  cursor: pointer;
  padding: 4px 0;
}
.filter-option input { cursor: pointer; accent-color: var(--navy); }
.filter-count { color: var(--grey-dk); font-size: 12px; margin-left: auto; }
.search-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--grey-mid);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}
.search-input:focus { border-color: var(--navy); }

.sidebar-bundle-cta {
  background: #e8f0fb;
  border-color: #c5d5f0;
  text-align: center;
}
.sb-cta-icon { font-size: 24px; margin-bottom: 8px; }
.sidebar-bundle-cta p { font-size: 13px; color: var(--text-mid); margin-bottom: 12px; }

/* SHOP MAIN */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.results-count { font-size: 14px; color: var(--grey-dk); font-weight: 500; }
.sort-select {
  padding: 8px 12px;
  border: 1px solid var(--grey-mid);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  cursor: pointer;
  outline: none;
}

.shop-grid {
  grid-template-columns: repeat(3, 1fr);
}

.no-results {
  text-align: center;
  padding: 48px;
  color: var(--grey-dk);
  font-size: 16px;
  grid-column: 1/-1;
}
.no-results a { color: var(--accent); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════════════════════════════ */
.breadcrumb-bar {
  background: var(--grey-lt);
  border-bottom: 1px solid var(--grey-mid);
  padding: 10px 0;
}
.breadcrumb-bar .container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--grey-dk);
}
.breadcrumb-bar a { color: var(--navy); }
.breadcrumb-bar a:hover { text-decoration: underline; }
.breadcrumb-bar span:last-child { color: var(--text); font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
═══════════════════════════════════════════════════════════════ */
.product-detail-section { padding: 48px 0; }
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: start;
}

/* Gallery */
.product-gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-mid);
  aspect-ratio: 4/3;
  background: var(--grey-lt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumb {
  width: 72px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--grey-mid);
  cursor: pointer;
  transition: border-color var(--transition);
  background: var(--grey-lt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--navy); }
.gallery-thumb:hover { border-color: var(--navy-mid); }

/* Info column */
.product-info-col { display: flex; flex-direction: column; gap: 20px; }
.product-category-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy);
  background: #e8f0fb;
  border-radius: 12px;
  padding: 4px 12px;
  width: fit-content;
}
.product-title { font-size: 32px; font-weight: 800; color: var(--navy-dark); line-height: 1.15; }
.product-subtitle { font-size: 15px; color: var(--grey-dk); margin-top: -12px; }
.product-rating { display: flex; align-items: center; gap: 8px; }
.product-rating .stars { font-size: 18px; color: var(--gold); }
.rating-count { font-size: 13px; color: var(--grey-dk); }

.product-price-block { border-top: 1px solid var(--grey-mid); border-bottom: 1px solid var(--grey-mid); padding: 16px 0; }
.product-price-large { font-size: 40px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 4px; }
.product-price-note { font-size: 13px; color: var(--grey-dk); margin-top: 10px; }

/* Pricing options (product page) */
.pricing-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 6px; }
.price-opt { cursor: pointer; }
.price-opt input { display: none; }
.price-opt-inner {
  border: 2px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.price-opt input:checked + .price-opt-inner {
  border-color: var(--navy);
  background: #e8f0fb;
}
.price-opt-featured .price-opt-inner {
  border-color: var(--navy);
  background: #e8f0fb;
}
.price-opt-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-dark);
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-opt-best {
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.price-opt-desc { font-size: 12px; color: var(--grey-dk); flex-basis: 100%; margin-top: -4px; order: 3; }
.price-opt-price { font-size: 18px; font-weight: 800; color: var(--accent); flex-shrink: 0; }

.buy-btn { font-size: 18px; padding: 18px 36px; }
.buy-note { font-size: 12px; color: var(--grey-dk); text-align: center; margin-top: -12px; }

/* Bundle upsell */
.bundle-upsell {
  background: #fffbea;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.upsell-icon { font-size: 20px; flex-shrink: 0; }
.upsell-text { font-size: 13px; color: var(--text-mid); line-height: 1.6; }
.upsell-text a { color: var(--navy); font-weight: 600; }

/* What's Included */
.includes-box {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--grey-mid);
}
.includes-box h3 { font-size: 15px; font-weight: 700; color: var(--navy-dark); margin-bottom: 14px; }
.includes-list { display: flex; flex-direction: column; gap: 14px; }
.includes-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.inc-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.includes-list strong { display: block; font-size: 14px; color: var(--navy-dark); }
.includes-list p { font-size: 13px; color: var(--text-mid); margin-top: 2px; line-height: 1.5; }

/* Feature list */
.feature-list { display: flex; flex-direction: column; gap: 8px; }
.feature-row { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--text-mid); }
.feat-check { color: var(--green); font-weight: 700; flex-shrink: 0; font-size: 15px; }

/* ═══════════════════════════════════════════════════════════════
   FORM PREVIEW SECTION
═══════════════════════════════════════════════════════════════ */
.form-preview-section { background: var(--off-white); }
.form-preview-section h2 { text-align: center; font-size: 28px; font-weight: 800; color: var(--navy-dark); margin-bottom: 8px; }
.preview-note { text-align: center; font-size: 14px; color: var(--grey-dk); margin-bottom: 28px; }

.preview-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  justify-content: center;
}
.preview-tab {
  padding: 10px 24px;
  border: 2px solid var(--grey-mid);
  border-radius: 8px;
  background: var(--white);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--transition);
}
.preview-tab.active {
  border-color: var(--navy);
  color: var(--navy);
  background: #e8f0fb;
}
.preview-tab:hover { border-color: var(--navy-mid); color: var(--navy); }

.preview-pages {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.preview-page-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.preview-page-wrap img {
  width: 340px;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--grey-mid);
  box-shadow: var(--shadow-md);
}
.page-label { font-size: 13px; color: var(--grey-dk); font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════
   REVIEWS (product page)
═══════════════════════════════════════════════════════════════ */
.reviews-summary {
  display: flex;
  gap: 48px;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--grey-mid);
}
.reviews-avg { text-align: center; flex-shrink: 0; }
.avg-num { font-size: 56px; font-weight: 800; color: var(--navy-dark); line-height: 1; }
.avg-stars { font-size: 24px; color: var(--gold); margin: 4px 0; }
.avg-count { font-size: 13px; color: var(--grey-dk); }
.reviews-bars { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.bar-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-mid); }
.bar-row > span:first-child { width: 30px; text-align: right; flex-shrink: 0; }
.bar-row > span:last-child { width: 20px; }
.bar-track { flex: 1; height: 8px; background: var(--grey-mid); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--gold); border-radius: 4px; }

.reviews-list { display: flex; flex-direction: column; gap: 24px; }
.review-item { padding: 20px 0; border-bottom: 1px solid var(--grey-mid); }
.review-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.review-stars { font-size: 16px; color: var(--gold); }
.review-date { font-size: 12px; color: var(--grey-dk); }
.review-text { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 10px; font-style: italic; }
.review-author { font-size: 13px; font-weight: 600; color: var(--navy); }

/* ═══════════════════════════════════════════════════════════════
   STICKY BUY BAR (product page)
═══════════════════════════════════════════════════════════════ */
.sticky-buy-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 2px solid var(--grey-mid);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 90;
  padding: 12px 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-buy-bar.visible { transform: translateY(0); }
.sticky-buy-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.sticky-product-name { font-size: 15px; font-weight: 600; color: var(--navy-dark); flex: 1; }
.sticky-price { font-size: 22px; font-weight: 800; color: var(--accent); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════
   RELATED SECTION
═══════════════════════════════════════════════════════════════ */
.related-section { background: var(--off-white); }
.related-section h2 { text-align: center; font-size: 28px; font-weight: 800; color: var(--navy-dark); margin-bottom: 32px; }

/* ═══════════════════════════════════════════════════════════════
   FEATURED SECTION
═══════════════════════════════════════════════════════════════ */
.featured-section { padding: 80px 0; }
.featured-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  margin-bottom: 32px;
}
.featured-section .section-header h2 { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .bundles-row { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .bundles-cta-inner { grid-template-columns: 1fr; }
  .bundles-grid-mini { grid-template-columns: repeat(4, 1fr); }
  .product-detail-layout { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .nav-cta { display: none; }
  .mobile-menu-btn { display: block; }
  .header-inner { gap: 16px; }

  .hero { padding: 48px 0; }
  .hero-headline { font-size: 32px; }
  .hero-stats { gap: 12px; }
  .stat strong { font-size: 18px; }

  .section { padding: 56px 0; }
  .section-header h2 { font-size: 26px; }

  .category-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .bundles-row { grid-template-columns: 1fr; }

  .steps-grid { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  .value-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; gap: 32px; }

  .preview-pages { flex-direction: column; align-items: center; }
  .preview-page-wrap img { width: 100%; max-width: 340px; }

  .reviews-summary { flex-direction: column; gap: 24px; }

  .sticky-buy-inner { flex-wrap: wrap; gap: 8px; }
  .sticky-product-name { font-size: 13px; }

  .bundles-grid-mini { grid-template-columns: repeat(2, 1fr); }

  .featured-section .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .gen-card-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   DOCUMENT GENERATOR
═══════════════════════════════════════════════════════════════ */

/* ─── GENERATOR HERO ─────────────────────────────────────────── */
.gen-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  color: white;
  padding: 64px 0 56px;
  text-align: center;
}
.gen-hero h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
}
.gen-hero p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.gen-hero-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.gen-hero-stats {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.85;
}
.gen-stat-sep {
  margin: 0 12px;
  opacity: 0.4;
}

/* ─── DISCLAIMER BAR ─────────────────────────────────────────── */
.gen-disclaimer-bar {
  background: #fff8e1;
  border-bottom: 1px solid #ffe082;
  padding: 12px 0;
  font-size: 13px;
  color: #5d4037;
  text-align: center;
}

/* ─── DOCUMENT CARD GRID ─────────────────────────────────────── */
.gen-catalog-section { padding-top: 56px; padding-bottom: 64px; }

.gen-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.gen-card {
  background: white;
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}
.gen-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--navy);
}

.gen-card-icon {
  font-size: 32px;
  padding: 24px 24px 0;
}

.gen-card-body {
  padding: 12px 24px 16px;
  flex: 1;
}
.gen-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}
.gen-card-body p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 12px;
}

.gen-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.gen-card-tags span {
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  background: var(--grey-lt);
  padding: 3px 10px;
  border-radius: 20px;
}

.gen-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--grey-lt);
  background: var(--off-white);
}
.gen-card-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-dark);
}
.gen-start-btn {
  white-space: nowrap;
}

/* ─── WIZARD OVERLAY ─────────────────────────────────────────── */
.gen-wizard-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.gen-wizard-overlay.open {
  display: flex;
}

.gen-wizard {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: genSlideUp 0.25s ease;
}

@keyframes genSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Wizard header */
.gen-wizard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 0;
}
.gen-wizard-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-dark);
}
.gen-wizard-close {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--grey-dk);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.gen-wizard-close:hover { color: var(--text); }

/* Progress bar */
.gen-progress {
  height: 4px;
  background: var(--grey-lt);
  margin: 16px 24px 0;
  border-radius: 2px;
  overflow: hidden;
}
.gen-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.gen-step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-dk);
  padding: 8px 24px 0;
}

/* Wizard body */
.gen-wizard-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

/* Form fields */
.gen-field {
  margin-bottom: 20px;
}
.gen-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.gen-req { color: var(--accent); }

.gen-field input[type="text"],
.gen-field input[type="date"],
.gen-field textarea,
.gen-field select {
  width: 100%;
  padding: 10px 14px;
  font-size: 15px;
  font-family: var(--font);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  background: white;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.gen-field input:focus,
.gen-field textarea:focus,
.gen-field select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(38, 60, 107, 0.12);
}

.gen-field-error input,
.gen-field-error textarea,
.gen-field-error select {
  border-color: #d32f2f;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.12);
}

/* Radio group */
.gen-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gen-radio-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}
.gen-radio-opt:hover { border-color: var(--navy); background: var(--off-white); }
.gen-radio-opt input[type="radio"] { accent-color: var(--navy); }

/* Wizard footer */
.gen-wizard-footer {
  display: flex;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--grey-lt);
}

/* ─── REVIEW STEP ────────────────────────────────────────────── */
.gen-review-intro {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 20px;
}
.gen-review-section {
  margin-bottom: 20px;
}
.gen-review-section h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--grey-lt);
}
.gen-review-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  gap: 16px;
}
.gen-review-label {
  color: var(--grey-dk);
  flex-shrink: 0;
}
.gen-review-value {
  color: var(--text);
  font-weight: 500;
  text-align: right;
  word-break: break-word;
}
.gen-review-disclaimer {
  margin-top: 20px;
  padding: 12px 16px;
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: var(--radius);
  font-size: 12px;
  color: #5d4037;
  line-height: 1.5;
}

/* ─── GENERATOR RESPONSIVE ───────────────────────────────────── */
@media (max-width: 768px) {
  .gen-hero h1 { font-size: 28px; }
  .gen-hero p { font-size: 16px; }
  .gen-card-grid { grid-template-columns: 1fr; }
  .gen-wizard { max-height: 95vh; margin: 8px; }
  .gen-review-row { flex-direction: column; gap: 2px; }
  .gen-review-value { text-align: left; }
}

/* ═══════════════════════════════════════════════════════════════
   PRICING MIGRATION — tier badges, three-variant price rows,
   branding add-on, large bundle treatment, category palettes.
   Added 2026-04-18 alongside update_pricing.py / gen_shop_cards.py.
   ═══════════════════════════════════════════════════════════════ */

/* ─── Category palettes ─────────────────────────────────────── */
/* Each PAL_* in products-catalog.csv maps to one of these classes.
   Applied to .product-card; used to tint the top border + badge. */
.palette-burgundy { --pal-color: #7a1f2b; --pal-tint: #faeceb; }
.palette-green    { --pal-color: #2e7d32; --pal-tint: #e8f5e9; }
.palette-amber    { --pal-color: #b45309; --pal-tint: #fff4e1; }
.palette-navy     { --pal-color: #1e3a8a; --pal-tint: #e8eef9; }
.palette-purple   { --pal-color: #6b21a8; --pal-tint: #f3e8ff; }
.palette-teal     { --pal-color: #0f766e; --pal-tint: #e0f2f1; }

.product-card[class*="palette-"] {
  border-top: 3px solid var(--pal-color, var(--navy));
}
.product-card[class*="palette-"] .product-badge {
  background: var(--pal-color, var(--navy));
  color: var(--white);
}

/* ─── Tier badge ────────────────────────────────────────────── */
.tier-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: rgba(255,255,255,0.92);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  z-index: 2;
}
.tier-badge.professional {
  background: var(--navy);
  color: var(--white);
}
.tier-badge.trade {
  background: #6b21a8;
  color: var(--white);
}
.product-img-wrap { position: relative; }

/* ─── Three-variant price rows ─────────────────────────────── */
.product-pricing {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 10px;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 13px;
  color: var(--text-mid);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.price-row:last-of-type { border-bottom: none; }
.price-row .price-label { font-weight: 500; }
.price-row .price-value { font-weight: 600; color: var(--text); }
.price-row.highlight {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  row-gap: 2px;
  background: rgba(46,125,50,0.08);
  padding: 8px 10px;
  border-radius: 8px;
  border: none;
  margin-top: 6px;
}
.price-row.highlight .price-label {
  font-weight: 700;
  color: var(--text);
}
.price-row.highlight .price-value {
  font-size: 18px;
  color: var(--green);
  font-weight: 800;
}
.price-row.highlight .price-save {
  grid-column: 1 / -1;
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
  text-align: right;
}

/* ─── Branding add-on hint (sits under the price block) ─────── */
.branding-addon-hint {
  margin-top: 8px;
  padding: 6px 10px;
  font-size: 11px;
  color: var(--text-mid);
  background: var(--grey-lt);
  border-radius: 6px;
  text-align: center;
  letter-spacing: 0.2px;
}
.branding-addon-hint::before {
  content: "✦ ";
  color: var(--accent);
  font-weight: 700;
}

/* ─── Branding add-on selector (product page) ───────────────── */
.branding-addon {
  margin-top: 18px;
  padding: 16px;
  border: 2px dashed var(--accent);
  border-radius: var(--radius);
  background: #fff8f3;
}
.branding-addon-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.branding-addon-toggle input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.branding-addon-title {
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}
.branding-addon-price {
  color: var(--accent);
  font-weight: 700;
}
.branding-addon-desc {
  display: block;
  font-size: 12px;
  color: var(--text-mid);
  margin-top: 4px;
  line-height: 1.4;
}
.branding-addon-fields {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.branding-addon-fields input,
.branding-addon-fields textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--grey-mid);
  border-radius: 6px;
  font-family: inherit;
  font-size: 13px;
}
.branding-addon-fields .full { grid-column: 1 / -1; }

/* ─── Bundle card — large treatment for bundles.html ───────── */
.bundle-card-xl {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--white);
  overflow: hidden;
  border-top: 6px solid var(--pal-color, var(--navy));
}
.bundle-card-xl .bundle-name-xl {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 4px;
}
.bundle-card-xl .bundle-count-xl {
  color: var(--text-mid);
  font-size: 14px;
  margin-bottom: 16px;
}
.bundle-card-xl .bundle-price-xl {
  font-size: 44px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.bundle-card-xl .bundle-original-xl {
  text-decoration: line-through;
  color: var(--grey-dk);
  font-size: 16px;
  margin-right: 10px;
}
.bundle-card-xl .bundle-savings-xl {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  background: rgba(46,125,50,0.12);
  color: var(--green);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
}
.bundle-card-xl .savings-ribbon {
  position: absolute;
  top: 14px;
  right: -34px;
  background: var(--green);
  color: var(--white);
  padding: 4px 42px;
  transform: rotate(45deg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ─── Shop toolbar additions: tier filter ────────────────────── */
.tier-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.tier-filter label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--grey-mid);
  border-radius: 99px;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}
.tier-filter label:hover { border-color: var(--navy); }
.tier-filter input[type="checkbox"] { accent-color: var(--navy); }
.tier-filter input[type="checkbox"]:checked + span { font-weight: 700; }

/* ─── Bundles page grid ──────────────────────────────────────── */
.bundles-page-section { padding: 40px 0 60px; }
.bundles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .bundles-grid { grid-template-columns: 1fr; }
}

/* ─── FAQ strip styling (reused from index) ──────────────────── */
.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--grey-mid);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy-dark);
  padding: 4px 0;
}
.faq-item summary:hover { color: var(--accent); }
.faq-item p {
  margin-top: 12px;
  color: var(--text-mid);
  line-height: 1.6;
}
.faq-item a { color: var(--accent); }
