/* ==========================================================================
   Eldonejo Bazejo - Ĉefa Stildosiero
   Inspirita de Mondial Books & Stafeto | Moderna Preso Laŭmenda
   ========================================================================== */

:root {
  --burgundy: #7B1113;
  --burgundy-dark: #580c0d;
  --burgundy-light: #9c1a1d;
  --navy: #152438;
  --navy-dark: #0d1724;
  --navy-light: #1f3552;
  --gold: #C5A059;
  --gold-light: #e6c888;
  --gold-dark: #a17f39;
  --green: #2D6A28;
  --green-light: #eaf4e8;
  --paper: #FAF8F5;
  --paper-card: #FFFFFF;
  --border: #E8E2D9;
  --border-light: #F0ECE4;
  --text-dark: #1E232A;
  --text-muted: #5C6470;
  --text-light: #8A92A0;
  
  --font-serif: "Playfair Display", "Cinzel", "Georgia", "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  
  --shadow-sm: 0 2px 6px rgba(21, 36, 56, 0.05);
  --shadow: 0 4px 20px rgba(21, 36, 56, 0.08);
  --shadow-hover: 0 12px 32px rgba(21, 36, 56, 0.14);
  --shadow-cover: 0 10px 24px rgba(0, 0, 0, 0.22);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--paper);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--burgundy);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.top-bar {
  background: var(--navy-dark);
  color: var(--gold-light);
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
}

.top-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-notice {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-links a {
  color: #fff;
  margin-left: 1rem;
  font-size: 0.8rem;
  opacity: 0.85;
}

.top-bar-links a:hover {
  color: var(--gold-light);
  opacity: 1;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background: #fff;
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--burgundy);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  padding: 0.3rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--burgundy);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-btn {
  background: var(--burgundy);
  color: #fff !important;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s ease, transform 0.1s ease;
}

.nav-btn:hover {
  background: var(--burgundy-dark);
  transform: translateY(-1px);
}

.nav-btn::after {
  display: none !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--navy);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--burgundy-dark) 100%);
  color: #fff;
  padding: 4.5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(197, 160, 89, 0.2);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: #fff;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-desc {
  font-size: 1.12rem;
  line-height: 1.65;
  color: #d1d9e2;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.4);
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
}

.stat-label {
  font-size: 0.8rem;
  color: #9cb1c9;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-book-stack {
  position: relative;
  width: 280px;
  height: 380px;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-tag {
  color: var(--burgundy);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--navy-dark);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Landmark / Featured Titles Carousel
   ========================================================================== */
.featured-section {
  padding: 4rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.featured-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

/* ==========================================================================
   Catalog Section (Filters + Grid)
   ========================================================================== */
.catalog-section {
  padding: 4.5rem 1.5rem;
  max-width: 1320px;
  margin: 0 auto;
}

.filter-controls {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.search-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  background: var(--paper);
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.search-box input:focus {
  outline: none;
  border-color: var(--burgundy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(123, 17, 19, 0.12);
}

.search-box .search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

.sort-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sort-box label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.sort-box select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 0.92rem;
  color: var(--text-dark);
  cursor: pointer;
}

.filter-pills {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.pill-btn {
  background: var(--paper);
  border: 1px solid var(--border);
  color: var(--navy);
  padding: 0.45rem 0.95rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.pill-btn.active {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy);
  box-shadow: 0 2px 8px rgba(123, 17, 19, 0.25);
}

.catalog-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* ==========================================================================
   Book Card & Cover Rendering
   ========================================================================== */
.book-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.book-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}

.book-cover-wrap {
  background: #e9e4dc;
  padding: 1.8rem 1.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}

/* Physical Book Jacket Simulation */
.book-jacket {
  width: 170px;
  height: 250px;
  border-radius: 3px 6px 6px 3px;
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: var(--shadow-cover);
  transition: transform 0.25s ease;
  overflow: hidden;
}

/* 3D Spine highlight and shadow */
.book-jacket::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 16px;
  background: linear-gradient(to right, rgba(0,0,0,0.35) 0%, rgba(255,255,255,0.15) 40%, rgba(0,0,0,0.2) 100%);
  pointer-events: none;
}

/* Gold foil border inner */
.book-jacket::after {
  content: '';
  position: absolute;
  top: 6px; left: 14px; right: 6px; bottom: 6px;
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-radius: 2px;
  pointer-events: none;
}

.jacket-header {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.85;
}

.jacket-body {
  text-align: center;
  margin: auto 0;
}

.jacket-title {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0.4rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.jacket-author {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
  font-weight: 600;
}

.jacket-footer {
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.75;
}

/* Card Content Details */
.book-info {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.book-badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-prozo { background: #e8f0fe; color: #1a73e8; }
.badge-poezio { background: #fce8e6; color: #d93025; }
.badge-auld { background: #e6f4ea; color: #137333; }
.badge-2023 { background: #fef7e0; color: #b06000; }
.badge-pod { background: #f3e8fd; color: #8430ce; }

.book-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.25;
  margin-bottom: 0.3rem;
}

.book-author {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--burgundy);
  margin-bottom: 0.75rem;
}

.book-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.book-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 0.9rem;
  margin-top: auto;
}

.book-price {
  display: flex;
  flex-direction: column;
}

.price-val {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.price-sub {
  font-size: 0.72rem;
  color: var(--text-light);
}

.book-btn {
  background: var(--paper);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.book-card:hover .book-btn {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #fff;
}

/* ==========================================================================
   Book Detail Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(13, 23, 36, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.modal-content {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-columns: 320px 1fr;
  animation: modalSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlide {
  from { transform: translateY(20px) scale(0.97); }
  to { transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: #f1f3f5;
  border: none;
  font-size: 1.3rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  z-index: 10;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: #e2e6ea;
}

.modal-left {
  background: var(--paper);
  padding: 2.5rem 1.8rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-book-jacket {
  width: 200px;
  height: 295px;
  margin-bottom: 2rem;
}

.specs-table {
  width: 100%;
  font-size: 0.85rem;
  border-collapse: collapse;
}

.specs-table td {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
}

.specs-table td:first-child {
  color: var(--text-muted);
  font-weight: 500;
  width: 40%;
}

.specs-table td:last-child {
  color: var(--text-dark);
  font-weight: 600;
}

.modal-right {
  padding: 2.5rem 2.2rem;
  display: flex;
  flex-direction: column;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--navy-dark);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.modal-author {
  font-size: 1.15rem;
  color: var(--burgundy);
  font-weight: 600;
  margin-bottom: 1rem;
}

.modal-quote {
  background: #fcf8f2;
  border-left: 3px solid var(--gold);
  padding: 0.85rem 1.1rem;
  font-style: italic;
  color: var(--navy-dark);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.modal-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-dark);
  margin-bottom: 1.8rem;
}

.order-box {
  background: #fbfbfd;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  margin-top: auto;
}

.order-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.order-option-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
}

.order-option-card.selected {
  border-color: var(--burgundy);
  background: #fffafa;
  box-shadow: 0 0 0 2px rgba(123, 17, 19, 0.15);
}

.option-type {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.option-price {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.option-sub {
  font-size: 0.75rem;
  color: var(--text-light);
}

.order-action-btn {
  width: 100%;
  background: var(--burgundy);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.order-action-btn:hover {
  background: var(--burgundy-dark);
}

/* ==========================================================================
   Print-on-Demand (POD) Explanation Section
   ========================================================================== */
.pod-section {
  padding: 5rem 1.5rem;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pod-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.pod-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: transform 0.2s ease;
}

.pod-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.pod-icon {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  display: inline-block;
}

.pod-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy-dark);
  margin-bottom: 0.75rem;
}

.pod-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Author Publishing Section ("Eldonu ĉe Ni")
   ========================================================================== */
.author-section {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 20px;
  background: var(--navy);
  color: var(--gold-light);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy-dark);
  margin-bottom: 0.6rem;
  margin-top: 0.3rem;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.author-cta-box {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.author-cta-text h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.author-cta-text p {
  color: #d1d9e2;
  max-width: 650px;
  font-size: 1.02rem;
}

/* ==========================================================================
   About Section ("Pri Bazejo")
   ========================================================================== */
.about-section {
  padding: 5rem 1.5rem;
  background: #fff;
  border-top: 1px solid var(--border);
}

.about-content {
  max-width: 960px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.about-content p {
  margin-bottom: 1.5rem;
}

.about-lead {
  font-size: 1.25rem;
  font-family: var(--font-serif);
  color: var(--navy-dark);
  font-weight: 600;
  border-left: 4px solid var(--burgundy);
  padding-left: 1.2rem;
  margin-bottom: 2rem;
}

/* ==========================================================================
   Contact / Order Modal & Form
   ========================================================================== */
.contact-section {
  padding: 5rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  color: var(--text-dark);
  font-family: var(--font-sans);
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(123, 17, 19, 0.12);
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-dark);
  color: #d1d9e2;
  padding: 4.5rem 1.5rem 2rem;
  border-top: 3px solid var(--gold);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
}

.footer-col p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #9cb1c9;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #9cb1c9;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #7a8fa6;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-visual {
    display: none;
  }
  .modal-content {
    grid-template-columns: 1fr;
  }
  .modal-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 2px solid var(--border);
    box-shadow: var(--shadow);
    gap: 1rem;
  }
  .nav-links.open {
    display: flex;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .order-options {
    grid-template-columns: 1fr;
  }
}

:root {
  --font-serif: "Times New Roman", Times, serif;
  --font-sans: "Times New Roman", Times, serif;
  --burgundy: #006030; --navy: #173d27; --navy-dark: #163d25;
  --paper: #ffffef; --border: #a5b39c; --text-muted: #454535;
  --radius-sm: 0; --radius: 0; --radius-lg: 0;
  --shadow-sm: none; --shadow: none; --shadow-hover: none; --shadow-cover: none;
}
html { scroll-behavior: auto; }
body { max-width: 1000px; margin: 12px auto; padding: 0 12px; background: #e5e5ce; font-size: 16px; line-height: 1.4; }
body > aside, body > header, body > section, body > footer { background: #ffffef; }
a { color: #0000aa; text-decoration: underline; }
a:visited { color: #663399; }
a:hover { color: #a00000; }
*, *::before, *::after { box-shadow: none !important; text-shadow: none !important; border-radius: 0 !important; transition: none !important; animation: none !important; }
.top-bar { background: #e3ead6; color: #193b23; border: 1px solid #728a64; padding: 6px 12px; font-size: 14px; }
.top-bar-content { display: block; }
.top-bar-notice { display: block; }
.top-bar-links { margin-top: 3px; }
.top-bar-links a { color: #0000aa; font-size: 14px; opacity: 1; margin: 0 14px 0 0; }
.site-header { position: static; border: 1px solid #728a64; border-top: 0; }
.header-inner { display: block; padding: 15px 18px 0; }
.brand { width: fit-content; margin: 0 auto 14px; text-decoration: none; }
.brand-name { color: #006030; font-size: 40px; letter-spacing: 3px; }
.brand-tagline { color: #333; font-size: 13px; letter-spacing: 1px; font-weight: normal; }
.brand-icon { width: 44px; height: 44px; }
.nav-links, .nav-links.open { display: flex; position: static; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0; padding: 7px 0; border-top: 1px solid #728a64; background: #e3ead6; }
.nav-links li { padding: 0 10px; border-right: 1px solid #728a64; }
.nav-links li:last-child { border: 0; }
.nav-links a { font-size: 15px; font-weight: normal; color: #0000aa; padding: 0; }
.nav-links a::after { display: none; }
.nav-btn { background: none; color: #0000aa !important; padding: 0 !important; display: inline; }
.mobile-toggle { display: none; }
.hero { padding: 18px 22px; color: #222; border: 1px solid #728a64; border-top: 0; overflow: visible; }
.hero::before { display: none; }
.hero-inner { display: block; text-align: center; }
.hero-badge { padding: 0; border: 0; background: none; color: #006030; font-size: 13px; margin-bottom: 5px; }
.hero-title { font-size: 27px; color: #173d27; line-height: 1.15; margin-bottom: 10px; }
.hero-title em { color: #173d27; }
.hero-desc { color: #222; font-size: 16px; max-width: 780px; margin: 0 auto 12px; line-height: 1.4; }
.hero-visual { display: none; }
.hero-actions { justify-content: center; gap: 18px; margin-bottom: 12px; }
.btn-primary, .btn-secondary { background: #e8e8d8; border: 2px outset #b6b6a6; color: #0000aa; padding: 5px 10px; font-size: 15px; font-weight: normal; }
.btn-primary:hover, .btn-secondary:hover, .nav-btn:hover { background: #ececdb; color: #a00000; transform: none; }
.hero-stats { border-top: 1px solid #a5b39c; padding-top: 7px; gap: 24px; justify-content: center; }
.stat-item { flex-direction: row; align-items: baseline; gap: 7px; }
.stat-number { font-size: 19px; color: #006030; }
.stat-label { color: #444; font-size: 12px; letter-spacing: 0; }
.featured-section, .catalog-section, .pod-section, .author-section, .about-section, .contact-section { max-width: none; margin: 0; padding: 18px; border: 1px solid #728a64; border-top: 0; }
.section-header { text-align: left; max-width: none; margin: 0 0 12px; }
.section-tag { font-size: 12px; letter-spacing: 1px; margin-bottom: 2px; }
.section-title { background: #e3ead6; border-top: 1px solid #728a64; border-bottom: 1px solid #728a64; padding: 3px 7px; font-size: 22px; margin-bottom: 8px; }
.section-subtitle { font-size: 15px; color: #333; line-height: 1.4; }
.featured-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.book-card { min-width: 0; border: 1px solid #a5b39c; background: #fffef5; }
.book-card:hover { transform: none; border-color: #006030; }
.book-cover-wrap { background: #eeeede; padding: 10px; }
.book-jacket { width: 95px; height: 135px; padding: 9px; }
.book-jacket::before, .book-jacket::after { display: none; }
.jacket-header { font-size: 7px; }
.jacket-title { font-size: 12px; }
.jacket-author, .jacket-footer { font-size: 8px; letter-spacing: 0; }
.book-info { padding: 10px; }
.book-badges { gap: 4px; margin-bottom: 4px; }
.badge { border: 1px solid #adb79c; background: #ecefdf; color: #26432b; font-size: 10px; padding: 0 3px; letter-spacing: 0; }
.book-title { font-size: 18px; color: #0000aa; text-decoration: underline; }
.book-author { color: #444; font-size: 14px; margin-bottom: 5px; }
.book-desc { font-size: 14px; margin-bottom: 8px; line-height: 1.35; }
.book-footer { padding-top: 5px; gap: 10px; }
.price-val { font-size: 17px; }
.price-sub { color: #555; font-size: 11px; }
.book-btn { color: #0000aa; background: #e8e8d8; border: 2px outset #b6b6a6; padding: 3px 7px; font: 14px "Times New Roman",serif; text-decoration: underline; cursor: pointer; }
.book-card:hover .book-btn { background: #e8e8d8; border-color: #b6b6a6; color: #a00000; }
.filter-controls { padding: 10px; margin-bottom: 10px; gap: 8px; background: #eeeede; }
.search-row { gap: 10px; }
.search-box { min-width: 180px; }
.search-box input, .sort-box select, .form-control { font-family: "Times New Roman",serif; font-size: 16px; padding: 4px 7px; background: white; border: 2px inset #b6b6a6; }
.search-box input { padding-left: 30px; }
.filter-pills { gap: 6px; }
.pill-btn { padding: 3px 7px; border: 2px outset #b6b6a6; background: #e8e8d8; color: #0000aa; font: 15px "Times New Roman",serif; cursor: pointer; }
.pill-btn.active { background: #d9e6cd; border: 2px inset #728a64; color: #173d27; }
.catalog-status { margin-bottom: 8px; font-size: 14px; gap: 8px; flex-wrap: wrap; }
.catalog-grid { display: block; border-top: 1px solid #a5b39c; }
.catalog-grid .book-card { display: grid; grid-template-columns: 80px minmax(0,1fr); border: 0; border-bottom: 1px solid #a5b39c; }
.catalog-grid .book-card:nth-child(even) { background: #f0f2e4; }
.catalog-grid .book-cover-wrap { border: 0; background: transparent; padding: 8px; align-items: start; }
.catalog-grid .book-jacket { width: 60px; height: 85px; padding: 5px; }
.catalog-grid .jacket-title { font-size: 9px; }
.catalog-grid .jacket-header, .catalog-grid .jacket-author, .catalog-grid .jacket-footer { font-size: 6px; }
.catalog-grid .book-desc { display: block; margin-bottom: 4px; }
.catalog-grid .book-footer { border: 0; justify-content: flex-start; gap: 20px; }
.catalog-grid .book-price { flex-direction: row; align-items: baseline; gap: 8px; }
.pod-grid, .steps-container { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 12px 0; }
.pod-card, .step-card { padding: 12px; background: #ffffef; }
.pod-card:hover { transform: none; }
.pod-icon { font-size: 20px; margin-bottom: 5px; }
.pod-card h3, .step-card h4 { font-size: 19px; }
.step-number { position: static; display: inline; background: none; color: #006030; font-size: 19px; }
.author-cta-box { padding: 14px; background: #e3ead6; color: #222; border: 1px solid #728a64; gap: 10px; }
.author-cta-text h3 { color: #173d27; font-size: 21px; }
.author-cta-text p { color: #222; font-size: 16px; }
.about-content { font-size: 16px; line-height: 1.5; }
.about-lead { font-size: 18px; }
.contact-card { max-width: 650px; padding: 14px; }
.site-footer { padding: 18px; background: #e3ead6; color: #222; border: 1px solid #728a64; }
.footer-inner { grid-template-columns: 2fr 1fr 1fr; gap: 18px; margin-bottom: 15px; }
.footer-col:first-child { grid-column: 1 / -1; }
.footer-col h4 { color: #173d27; font-size: 18px; margin-bottom: 6px; }
.footer-col p, .footer-links a, .footer-bottom { color: #333; font-size: 14px; }
.footer-links a { color: #0000aa; }
.footer-bottom { border-top: 1px solid #728a64; padding-top: 10px; }
.modal-overlay { backdrop-filter: none; }
.modal-content { border: 3px ridge #b6b6a6; }
.modal-left, .modal-right { padding: 20px; }
.modal-book-jacket { width: 180px; height: 260px; }
.modal-book-jacket .jacket-title { font-size: 20px; }
.modal-book-jacket .jacket-author { font-size: 14px; }
.modal-book-jacket .jacket-header, .modal-book-jacket .jacket-footer { font-size: 12px; }
:focus-visible { outline: 2px solid #0000aa !important; outline-offset: 3px; }
@media (max-width: 600px) {
  body { margin: 0; padding: 0; }
  .hero, .featured-section, .catalog-section, .pod-section, .author-section, .about-section, .contact-section { padding: 12px; }
  .hero-title { font-size: 23px; }
  .hero-stats { flex-wrap: wrap; gap: 5px 15px; }
  .featured-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .pod-grid, .steps-container, .footer-inner { grid-template-columns: 1fr; }
  .search-row, .sort-box { flex-wrap: wrap; }
  .sort-box select { max-width: 100%; }
  .modal-overlay { padding: 8px; }
  .modal-content { grid-template-columns: 1fr; }
  .modal-left { display: none; }
  .order-options { grid-template-columns: 1fr; }
}

.hero { background: #ffffef; }
