/* ============================================
   RHEMA BOOK SHOP — PREMIUM STYLESHEET
   Colors: Purple #7C3AED, Gold #D4AF37, Dark #1a1028
   ============================================ */

/* --- CSS VARIABLES --- */
:root {
  --purple:        #7C3AED;
  --purple-dark:   #5B21B6;
  --purple-light:  #F5F0FF;
  --gold:          #D4AF37;
  --gold-dark:     #B8961E;
  --dark:          #1a1028;
  --dark-mid:      #2d1f4a;
  --text:          #2d2d2d;
  --text-light:    #666;
  --bg:            #fafafa;
  --white:         #ffffff;
  --border:        #e5e0f0;
  --radius:        12px;
  --radius-sm:     8px;
  --shadow:        0 4px 20px rgba(124,58,237,0.10);
  --shadow-hover:  0 8px 32px rgba(124,58,237,0.18);
  --transition:    all 0.25s ease;
  --max-width:     1200px;
  --header-h:      72px;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { 
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; 
  font-size: 16px; 
  color: var(--text); 
  background: #ffffff; 
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}
h1, h2, h3, h4, h5, h6 { 
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { 
  font-family: inherit; 
  font-size: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* --- UTILITIES --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; position: relative; }
.section-header { text-align: center; margin-bottom: 3rem; position: relative; }
.section-header h2 { 
  font-family: 'Playfair Display', serif; 
  font-size: clamp(2.25rem, 5vw, 3.25rem); 
  font-weight: 700;
  line-height: 1.15; 
  color: var(--dark); 
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.section-header h2::after {
  display: none;
}
.section-header p { 
  color: var(--text-light); 
  font-size: 1.05rem; 
  line-height: 1.7;
  max-width: 650px; 
  margin: 1.25rem auto 0; 
}
.section-label { 
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem; 
  font-weight: 700; 
  letter-spacing: 2.5px; 
  text-transform: uppercase; 
  color: var(--gold);
  margin-bottom: 1rem;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.08));
  border-radius: 50px;
  border: 1.5px solid rgba(212,175,55,0.25);
}
}

/* Highlight text for special emphasis */
.highlight-text {
  position: relative;
  display: inline-block;
  color: var(--dark);
}
.highlight-text::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: -4px;
  right: -4px;
  height: 12px;
  background: linear-gradient(90deg, rgba(212,175,55,0.3), rgba(124,58,237,0.2));
  z-index: -1;
  transform: skew(-3deg);
  border-radius: 2px;
}

/* Decorative line elements */
.decorative-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
  margin: 0 auto 1.5rem;
  border-radius: 2px;
  position: relative;
}
.decorative-line::before,
.decorative-line::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.decorative-line::before { left: -15px; }
.decorative-line::after { right: -15px; }

/* --- BUTTONS --- */
.btn { 
  display: inline-flex; 
  align-items: center; 
  gap: 0.5rem; 
  padding: 0.85rem 2rem; 
  border-radius: 50px; 
  font-weight: 600; 
  font-size: 0.95rem; 
  transition: var(--transition); 
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}
.btn:hover::before {
  width: 300px;
  height: 300px;
}
.btn-primary { 
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%); 
  color: var(--white);
  box-shadow: 0 4px 15px rgba(124,58,237,0.3);
}
.btn-primary:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 8px 25px rgba(124,58,237,0.4); 
}
.btn-gold { 
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); 
  color: var(--dark);
  box-shadow: 0 4px 15px rgba(212,175,55,0.3);
}
.btn-gold:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 8px 25px rgba(212,175,55,0.4); 
}
.btn-outline-white { 
  border: 2px solid rgba(255,255,255,0.8); 
  color: var(--white); 
  background: transparent;
  backdrop-filter: blur(10px);
}
.btn-outline-white:hover { 
  background: rgba(255,255,255,0.2); 
  border-color: var(--white);
}
.btn-outline-purple { 
  border: 2px solid var(--purple); 
  color: var(--purple); 
  background: transparent; 
}
.btn-outline-purple:hover { 
  background: var(--purple); 
  color: var(--white); 
}
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-full { width: 100%; justify-content: center; }

/* --- TOPBAR --- */
.topbar { 
  background: linear-gradient(135deg, #1a1028 0%, #2d1f4a 100%); 
  color: rgba(255,255,255,0.9); 
  font-size: 0.82rem; 
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(212,175,55,0.2);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.topbar-left { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar-left span, .topbar-inner span { display: flex; align-items: center; gap: 0.4rem; }
.topbar-left i { color: var(--gold); }
.topbar-social a { 
  color: rgba(255,255,255,0.85); 
  display: flex; 
  align-items: center; 
  gap: 0.4rem; 
  transition: var(--transition);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
.topbar-social a:hover { 
  color: var(--gold); 
  background: rgba(212,175,55,0.1);
}

/* --- SITE HEADER --- */
.site-header { 
  position: sticky; 
  top: 0; 
  z-index: 1000; 
  background: rgba(255,255,255,0.98); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); 
  height: var(--header-h); 
  display: flex; 
  align-items: center; 
  transition: all 0.3s ease;
}
.site-header.scrolled { 
  box-shadow: 0 4px 20px rgba(26,16,40,0.08); 
  background: rgba(255,255,255,0.95);
}
.header-inner { 
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  width: 100%;
}
.logo-wrap { 
  display: flex;
  justify-self: flex-start;
}
.main-nav {
  justify-self: center;
}
.hamburger {
  justify-self: flex-end;
}
.logo-wrap { 
  display: flex; 
  align-items: center; 
  gap: 0.75rem; 
  text-decoration: none;
  transition: var(--transition);
}
.logo-wrap:hover .logo-icon { transform: rotate(-5deg) scale(1.05); }
.logo-icon { transition: var(--transition); }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { 
  font-family: 'Playfair Display', serif; 
  font-size: 1.2rem; 
  font-weight: 700; 
  color: var(--dark);
  letter-spacing: -0.5px;
}
.logo-tagline { 
  font-size: 0.68rem; 
  color: var(--gold); 
  letter-spacing: 2px; 
  text-transform: uppercase; 
  font-weight: 600;
}
.main-nav ul { 
  display: flex; 
  align-items: center; 
  gap: 0.15rem;
  justify-content: center;
}
.main-nav a { 
  padding: 0.6rem 1.1rem; 
  border-radius: 8px; 
  font-weight: 500; 
  font-size: 0.92rem; 
  color: var(--text); 
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { 
  transform: translateX(-50%) scaleX(1);
}
.main-nav a:hover, .main-nav a.active { 
  color: var(--purple); 
  background: var(--purple-light); 
}
.nav-cart { 
  position: relative; 
  display: flex; 
  align-items: center; 
  font-size: 1.1rem;
}
.cart-badge { 
  position: absolute; 
  top: -6px; 
  right: -10px; 
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)); 
  color: var(--dark); 
  font-size: 0.65rem; 
  font-weight: 700; 
  min-width: 18px; 
  height: 18px; 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  line-height: 1;
  box-shadow: 0 2px 8px rgba(212,175,55,0.4);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

/* --- HERO SLIDER --- */
.hero-slider {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  --slide-bg: linear-gradient(135deg, #1a1028 0%, #2d1f4a 45%, #3b0764 100%);
}

/* Decorative background pattern */
.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.4;
  pointer-events: none;
}

/* Floating decorative elements */
.floating-element {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.15), transparent);
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}
.floating-element-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 15%;
  animation-delay: 0s;
}
.floating-element-2 {
  width: 150px;
  height: 150px;
  bottom: 15%;
  right: 25%;
  animation-delay: 3s;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* Individual slides */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
  min-height: 92vh;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--slide-bg);
  transition: background 0.7s ease;
}
/* Each slide carries its own background via inline data-bg applied by JS */
.hero-slide[data-bg] { }

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}
.hero-slide.slide-exit {
  opacity: 0;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Texture overlay (dots pattern) */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Slide content */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 640px;
  color: var(--white);
  padding: 5rem 0 7rem;
}
.hero-slide.active .hero-content > * {
  animation: heroFadeUp 0.65s ease both;
}
.hero-slide.active .hero-badge   { animation-delay: 0.05s; }
.hero-slide.active h1            { animation-delay: 0.15s; }
.hero-slide.active .hero-sub     { animation-delay: 0.25s; }
.hero-slide.active .hero-actions { animation-delay: 0.35s; }
.hero-slide.active .hero-stats,
.hero-slide.active .hero-quote   { animation-delay: 0.45s; }
.hero-slide.image-only .hero-content,
.hero-slide.image-only .hero-book-visual {
  display: none;
}
.hero-slide.image-only .hero-overlay {
  background: rgba(0,0,0,0.08);
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(212,175,55,0.2);
  border: 1px solid rgba(212,175,55,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gold);
  padding: 0.5rem 1.2rem; border-radius: 50px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 1.2px;
  margin-bottom: 1.5rem; text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(212,175,55,0.2);
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15; margin-bottom: 1.25rem;
}
.hero-content h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.82);
  max-width: 520px; margin-bottom: 2.25rem; line-height: 1.75;
}
.hero-sub strong { color: var(--gold); font-weight: 600; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

/* Stats row */
.hero-stats { display: flex; align-items: center; gap: 2rem; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.6rem; font-weight: 700; color: var(--gold); }
.stat span { font-size: 0.78rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.2); }

/* Bible quote (slides 2 & 3) */
.hero-quote {
  display: flex; align-items: flex-start; gap: 0.75rem;
  background: rgba(255,255,255,0.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 0.9rem 1.25rem;
  max-width: 460px;
}
.hero-quote i { color: var(--gold); font-size: 1.1rem; flex-shrink: 0; margin-top: 0.15rem; }
.hero-quote p { font-style: italic; font-size: 0.88rem; color: rgba(255,255,255,0.85); line-height: 1.6; }

/* Floating book visual (right side) */
.hero-book-visual {
  position: absolute;
  right: 5%;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  pointer-events: none;
}
.hero-book {
  width: 140px;
  height: 190px;
  border-radius: 4px 12px 12px 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem; font-weight: 700;
  color: rgba(255,255,255,0.95);
  text-align: center; padding: 1rem;
  line-height: 1.4;
  box-shadow: -6px 0 0 rgba(0,0,0,0.25), 0 20px 60px rgba(0,0,0,0.4);
  transform: perspective(600px) rotateY(-8deg) translateY(-2rem);
  animation: bookFloat 4s ease-in-out infinite;
}
.hero-book--back {
  width: 120px; height: 165px;
  transform: perspective(600px) rotateY(-6deg) translateY(-0.5rem) translateX(-1rem);
  animation: bookFloat 4s ease-in-out infinite 0.8s;
  opacity: 0.75;
}
@keyframes bookFloat {
  0%, 100% { transform: perspective(600px) rotateY(-8deg) translateY(-2rem); }
  50%       { transform: perspective(600px) rotateY(-8deg) translateY(-3.5rem); }
}
.hero-book--back {
  animation-name: bookFloatBack;
}
@keyframes bookFloatBack {
  0%, 100% { transform: perspective(600px) rotateY(-6deg) translateY(-0.5rem) translateX(-1rem); opacity: 0.75; }
  50%       { transform: perspective(600px) rotateY(-6deg) translateY(-2rem) translateX(-1rem); opacity: 0.75; }
}

/* ── SLIDER CONTROLS ── */
.slider-arrow {
  position: absolute; top: 50%; z-index: 10;
  transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--white); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
  backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); transform: translateY(-50%) scale(1.08); }
.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }

/* ── DOT INDICATORS ── */
.slider-dots {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 10; display: flex; gap: 0.6rem;
}
.slider-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none; cursor: pointer;
  transition: all 0.3s ease; padding: 0;
}
.slider-dot.active {
  background: var(--gold);
  width: 28px; border-radius: 5px;
}
.slider-dot:hover { background: rgba(255,255,255,0.7); }

/* ── PROGRESS BAR ── */
.slider-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: rgba(255,255,255,0.1); z-index: 10;
}
.slider-progress-bar {
  height: 100%; width: 0%;
  background: var(--gold);
  transition: width 6s linear;
}

/* --- ADVERTISING BANNER --- */
.ad-banner {
  background: linear-gradient(135deg, #1a1028 0%, #2d1f4a 50%, #5B21B6 100%);
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}
.ad-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,175,55,0.15), transparent);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}
.ad-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.3;
}
.ad-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}
.ad-banner-icon {
  width: 70px;
  height: 70px;
  background: rgba(212,175,55,0.2);
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 30px rgba(212,175,55,0.4);
  animation: pulse 2s ease-in-out infinite;
}
.ad-banner-text {
  flex: 1;
  min-width: 300px;
}
.ad-banner-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--white);
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.ad-banner-text p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}
.ad-banner-text strong {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.05em;
}
.ad-banner-cta {
  flex-shrink: 0;
}
.ad-banner-cta .btn {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(212,175,55,0.4);
  animation: buttonFloat 3s ease-in-out infinite;
}
.ad-banner-cta .btn:hover {
  box-shadow: 0 8px 28px rgba(212,175,55,0.6);
}
.ad-image-banner {
  padding: 2rem 0;
  background: var(--white);
}
.ad-image-banner a {
  display: block;
}
.ad-image-banner img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 10px;
}
@keyframes buttonFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* --- FILTER BAR --- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2.5rem; }
.filter-btn { padding: 0.5rem 1.25rem; border-radius: 50px; border: 2px solid var(--border); background: var(--white); font-size: 0.88rem; font-weight: 500; color: var(--text); transition: var(--transition); cursor: pointer; }
.filter-btn:hover { border-color: var(--purple); color: var(--purple); }
.filter-btn.active { background: var(--purple); border-color: var(--purple); color: var(--white); }

/* --- BOOKS GRID --- */
.books-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.75rem; }
.book-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); display: flex; flex-direction: column; }
.book-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.book-cover { aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--white); text-align: center; padding: 1.5rem; position: relative; overflow: hidden; }
.book-cover-text { position: relative; z-index: 2; line-height: 1.4; }
.book-cover-author { font-size: 0.7rem; font-family: 'Inter', sans-serif; font-weight: 500; opacity: 0.85; margin-top: 0.5rem; text-transform: uppercase; letter-spacing: 1px; }
.book-cover-tag { position: absolute; top: 0.75rem; right: 0.75rem; background: var(--gold); color: var(--dark); font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.5px; }
.book-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.book-category { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); margin-bottom: 0.4rem; }
.book-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600; color: var(--dark); margin-bottom: 0.35rem; line-height: 1.35; }
.book-desc { font-size: 0.83rem; color: var(--text-light); line-height: 1.55; margin-bottom: 1rem; flex: 1; }
.book-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; }
.book-price { font-size: 1.05rem; font-weight: 700; color: var(--purple); }
.btn-add-cart { background: var(--purple); color: var(--white); border: none; padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 0.35rem; }
.btn-add-cart:hover { background: var(--purple-dark); transform: scale(1.03); }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* --- FEATURES STRIP --- */
.features-strip { background: var(--purple-light); padding: 2rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.feature-item { display: flex; align-items: center; gap: 1rem; }
.feature-item i { font-size: 1.6rem; color: var(--purple); flex-shrink: 0; }
.feature-item strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--dark); }
.feature-item span { font-size: 0.8rem; color: var(--text-light); }

/* --- ABOUT TEASER --- */
.about-teaser { background: var(--white); }
.about-teaser-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: center; }
.bishop-card { background: linear-gradient(135deg, var(--purple), var(--purple-dark)); color: var(--white); border-radius: var(--radius); padding: 2rem; display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem; }
.bishop-avatar { 
  width: 72px; 
  height: 72px; 
  border-radius: 50%; 
  background: rgba(255,255,255,0.15); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 2rem; 
  flex-shrink: 0; 
  overflow: hidden;
  border: 2px solid rgba(212,175,55,0.5);
}
.bishop-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.bishop-info strong { display: block; font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.bishop-info span { font-size: 0.8rem; opacity: 0.85; line-height: 1.5; }
.bishop-quote { background: var(--purple-light); border-left: 4px solid var(--gold); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.bishop-quote i { color: var(--gold); font-size: 1.5rem; margin-bottom: 0.5rem; }
.bishop-quote p { font-style: italic; color: var(--dark); font-size: 0.95rem; }
.about-teaser-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 2.5vw, 2.2rem); color: var(--dark); margin: 0.5rem 0 1rem; }
.about-teaser-text p { color: var(--text-light); line-height: 1.75; margin-bottom: 1rem; }
.about-badges { display: flex; flex-direction: column; gap: 0.5rem; margin: 1.5rem 0; }
.about-badges span { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: var(--dark); font-weight: 500; }
.about-badges span i { color: var(--gold); }

/* --- TESTIMONIALS --- */
.testimonials-section { background: var(--dark); }
.testimonials-section .section-header h2 { color: var(--white); }
.testimonials-section .section-header .section-label { color: var(--gold); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 2rem; }
.stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 1rem; display: flex; gap: 0.25rem; }
.testimonial-card p { color: rgba(255,255,255,0.8); font-size: 0.95rem; line-height: 1.75; margin-bottom: 1rem; }
.reviewer { font-size: 0.82rem; color: var(--gold); font-weight: 600; }

/* --- NEWSLETTER --- */
.newsletter-section { background: linear-gradient(135deg, var(--purple), var(--purple-dark)); padding: 4rem 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.newsletter-icon { font-size: 2.5rem; color: var(--gold); display: block; margin-bottom: 0.5rem; }
.newsletter-text h2 { font-family: 'Playfair Display', serif; font-size: 1.75rem; color: var(--white); margin-bottom: 0.35rem; }
.newsletter-text p { color: rgba(255,255,255,0.8); }
.newsletter-form { display: flex; gap: 0.5rem; flex-wrap: wrap; flex: 1; min-width: 260px; }
.newsletter-form input { flex: 1; min-width: 200px; padding: 0.75rem 1.25rem; border-radius: 50px; border: none; font-size: 0.95rem; outline: none; }

/* --- PAGE HERO (inner pages) --- */
.page-hero { background: linear-gradient(135deg, var(--dark-mid), var(--dark)); padding: 4rem 0 3rem; color: var(--white); }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.75rem, 4vw, 3rem); margin-bottom: 0.75rem; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.breadcrumb a { color: var(--gold); }
.breadcrumb i { font-size: 0.7rem; }

/* --- CATALOGUE LAYOUT (books.html) --- */
.catalogue-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: start; }
.sidebar { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; position: sticky; top: calc(var(--header-h) + 1rem); }
.sidebar h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--dark); margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--border); }
.sidebar-search { margin-bottom: 1.5rem; }
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--text-light); font-size: 0.85rem; }
.input-icon input { width: 100%; padding: 0.6rem 0.9rem 0.6rem 2.2rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 0.88rem; transition: border-color 0.2s; }
.input-icon input:focus { outline: none; border-color: var(--purple); }
.filter-group { margin-bottom: 1.5rem; }
.filter-group h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--dark); margin-bottom: 0.75rem; }
.filter-check { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: var(--text); margin-bottom: 0.4rem; cursor: pointer; }
.filter-check input[type="radio"] { accent-color: var(--purple); width: 14px; height: 14px; }
.filter-group select { width: 100%; padding: 0.55rem 0.85rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 0.88rem; background: var(--white); color: var(--text); }
.filter-group select:focus { outline: none; border-color: var(--purple); }
.catalogue-main { min-width: 0; }
.catalogue-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.results-count { font-size: 0.88rem; color: var(--text-light); }
.filter-toggle { display: none; }
.no-results { text-align: center; padding: 4rem 2rem; color: var(--text-light); }
.no-results i { font-size: 3rem; color: var(--border); margin-bottom: 1rem; }
.no-results p { margin-bottom: 1.5rem; font-size: 1.05rem; }

/* --- ABOUT PAGE --- */
.about-full { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.bishop-large-card { background: linear-gradient(135deg, var(--purple), var(--purple-dark)); color: var(--white); border-radius: var(--radius); padding: 2.5rem 2rem; text-align: center; margin-bottom: 1.5rem; }
.bishop-large-avatar { 
  width: 100px; 
  height: 100px; 
  border-radius: 50%; 
  background: rgba(255,255,255,0.15); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 3rem; 
  margin: 0 auto 1.25rem; 
  overflow: hidden;
  border: 3px solid rgba(212,175,55,0.5);
}
.bishop-large-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.bishop-large-info h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 0.4rem; }
.bishop-large-info p { font-size: 0.85rem; opacity: 0.85; line-height: 1.5; }
.bishop-title-tag { display: inline-block; background: var(--gold); color: var(--dark); font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.85rem; border-radius: 50px; margin-top: 0.75rem; }
.bishop-bible-verse { background: var(--purple-light); border-left: 4px solid var(--gold); padding: 1.5rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.bishop-bible-verse i { color: var(--gold); font-size: 1.5rem; margin-bottom: 0.75rem; display: block; }
.bishop-bible-verse p { font-style: italic; font-size: 0.95rem; color: var(--dark); margin-bottom: 0.5rem; }
.bishop-bible-verse span { font-size: 0.8rem; color: var(--text-light); font-weight: 600; }
.about-full-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 2.5vw, 2.2rem); color: var(--dark); margin: 0.5rem 0 1.25rem; }
.about-full-text p { color: var(--text-light); line-height: 1.8; margin-bottom: 1rem; }
.about-shop-grid { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.about-shop-text p { color: var(--text-light); line-height: 1.8; margin-bottom: 1rem; }
.about-shop-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.shop-stat { background: var(--purple-light); border-radius: var(--radius-sm); padding: 1.5rem; text-align: center; }
.shop-stat strong { display: block; font-size: 1.8rem; font-weight: 700; color: var(--purple); }
.shop-stat span { font-size: 0.8rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }

/* --- CONTACT PAGE --- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: start; }
.contact-info h2 { font-family: 'Playfair Display', serif; font-size: 1.75rem; color: var(--dark); margin-bottom: 0.75rem; }
.contact-info > p { color: var(--text-light); line-height: 1.7; margin-bottom: 2rem; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.25rem; display: flex; align-items: flex-start; gap: 1rem; transition: var(--transition); }
.contact-card:hover { border-color: var(--purple); box-shadow: var(--shadow); }
.contact-card-icon { width: 40px; height: 40px; background: var(--purple-light); color: var(--purple); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.contact-card h4 { font-size: 0.88rem; font-weight: 700; color: var(--dark); margin-bottom: 0.3rem; }
.contact-card p { font-size: 0.83rem; color: var(--text-light); line-height: 1.55; }
.contact-card a { color: var(--purple); transition: var(--transition); }
.contact-card a:hover { color: var(--purple-dark); }
.contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.25rem; }
.contact-form-wrap h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--dark); margin-bottom: 1.75rem; }

/* --- FORM ELEMENTS --- */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--dark); margin-bottom: 0.4rem; }
.form-group label span { color: var(--purple); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.7rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--text); background: var(--white); transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(124,58,237,0.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-error { display: block; font-size: 0.78rem; color: #dc2626; margin-top: 0.3rem; }
.form-success { background: #f0fdf4; border: 1.5px solid #86efac; border-radius: var(--radius-sm); padding: 1.25rem; text-align: center; margin-top: 1rem; }
.form-success i { color: #16a34a; font-size: 1.5rem; margin-bottom: 0.5rem; display: block; }
.form-success p { color: #15803d; font-size: 0.9rem; }

/* --- CART PAGE --- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; }
.cart-item { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.25rem; margin-bottom: 1rem; }
.cart-item-cover { width: 72px; height: 96px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 0.75rem; font-weight: 700; color: var(--white); text-align: center; padding: 0.5rem; line-height: 1.3; flex-shrink: 0; }
.cart-item-title { font-family: 'Playfair Display', serif; font-weight: 600; color: var(--dark); margin-bottom: 0.25rem; font-size: 0.95rem; }
.cart-item-author { font-size: 0.8rem; color: var(--text-light); margin-bottom: 0.75rem; }
.qty-control { display: flex; align-items: center; gap: 0.5rem; }
.qty-btn { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--white); font-size: 1rem; font-weight: 700; color: var(--dark); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); line-height: 1; }
.qty-btn:hover { border-color: var(--purple); color: var(--purple); }
.qty-value { font-weight: 600; font-size: 0.95rem; min-width: 24px; text-align: center; }
.cart-item-right { text-align: right; display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-end; }
.cart-item-price { font-weight: 700; color: var(--purple); font-size: 1rem; }
.btn-remove { font-size: 0.78rem; color: #dc2626; display: flex; align-items: center; gap: 0.3rem; cursor: pointer; background: none; border: none; }
.btn-remove:hover { color: #991b1b; }
.empty-cart { text-align: center; padding: 5rem 2rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.empty-cart i { font-size: 3.5rem; color: var(--border); margin-bottom: 1rem; }
.empty-cart h3 { font-size: 1.25rem; color: var(--dark); margin-bottom: 0.5rem; }
.empty-cart p { color: var(--text-light); margin-bottom: 2rem; }
.order-summary { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.5rem; margin-bottom: 1.25rem; }
.order-summary h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--text); padding: 0.5rem 0; }
.summary-total { border-top: 1.5px solid var(--border); padding-top: 0.75rem; margin-top: 0.5rem; font-size: 1rem; }
.checkout-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.5rem; }
.checkout-form-wrap h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.radio-group { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.radio-option { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; font-size: 0.88rem; font-weight: 500; transition: var(--transition); }
.radio-option:has(input:checked) { border-color: var(--purple); background: var(--purple-light); color: var(--purple); }
.radio-option input { accent-color: var(--purple); }
.delivery-note { font-size: 0.78rem; color: var(--text-light); display: flex; align-items: flex-start; gap: 0.4rem; line-height: 1.55; margin-top: 0.5rem; }
.pickup-info { background: var(--purple-light); border-radius: var(--radius-sm); padding: 1rem; font-size: 0.85rem; color: var(--dark); display: flex; align-items: flex-start; gap: 0.6rem; }
.pickup-info i { color: var(--purple); margin-top: 0.1rem; }
.secure-note { font-size: 0.78rem; color: var(--text-light); text-align: center; margin-top: 0.75rem; display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
.secure-note i { color: var(--gold); }

/* --- MODAL --- */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1rem; backdrop-filter: blur(4px); }
.modal-box { background: var(--white); border-radius: var(--radius); padding: 3rem 2.5rem; max-width: 480px; width: 100%; text-align: center; }
.modal-success-icon { font-size: 3.5rem; color: #16a34a; margin-bottom: 1rem; }
.modal-box h2 { font-family: 'Playfair Display', serif; font-size: 1.75rem; color: var(--dark); margin-bottom: 0.75rem; }
.modal-box p { color: var(--text-light); line-height: 1.7; margin-bottom: 0.75rem; }
.modal-contact { font-size: 0.9rem; color: var(--text-light); }
.modal-contact strong { color: var(--purple); }

/* --- TOAST --- */
.toast { position: fixed; bottom: 1.5rem; right: 1.5rem; background: var(--dark); color: var(--white); padding: 0.85rem 1.5rem; border-radius: var(--radius-sm); font-size: 0.88rem; z-index: 3000; transform: translateY(100px); opacity: 0; transition: all 0.3s ease; max-width: 300px; box-shadow: 0 4px 16px rgba(0,0,0,0.25); }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-left: 4px solid var(--gold); }

/* --- FOOTER --- */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.75); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-logo span { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--white); }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75); display: flex; align-items: center; justify-content: center; transition: var(--transition); font-size: 0.85rem; }
.footer-social a:hover { background: var(--gold); color: var(--dark); }
.footer-col h4 { font-size: 0.88rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--white); margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { font-size: 0.85rem; color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-col ul a:hover { color: var(--gold); }
.contact-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.85rem; margin-bottom: 0.6rem; }
.contact-list i { color: var(--gold); width: 14px; flex-shrink: 0; margin-top: 0.15rem; font-size: 0.8rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.25rem 0; text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: var(--gold); transition: var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .header-inner {
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
  }
  .main-nav {
    justify-self: flex-end;
  }
  .hamburger {
    justify-self: flex-end;
  }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .catalogue-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; display: none; }
  .sidebar.open { display: block; }
  .filter-toggle { display: flex !important; }
  .about-full { grid-template-columns: 1fr; }
  .about-teaser-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .section { padding: 3.5rem 0; }
  
  /* Header Mobile Layout */
  .header-inner {
    display: flex !important;
    grid-template-columns: none !important;
    justify-content: space-between !important;
  }
  .logo-wrap {
    justify-self: auto !important;
  }
  .main-nav { 
    display: none !important; 
    position: absolute; 
    top: var(--header-h); 
    left: 0; 
    right: 0; 
    background: var(--white); 
    border-bottom: 1px solid var(--border); 
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    justify-self: auto !important;
  }
  .main-nav.open { display: block !important; }
  .main-nav ul { 
    flex-direction: column !important; 
    padding: 1rem; 
    gap: 0.25rem !important;
    justify-content: flex-start !important;
  }
  .main-nav a { 
    display: block; 
    padding: 0.75rem 1rem !important;
    text-align: left;
    white-space: normal !important;
  }
  .hamburger { 
    display: flex !important;
    justify-self: auto !important;
  }
  
  /* Ad Banner Responsive */
  .ad-banner {
    padding: 2rem 0;
  }
  .ad-banner-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .ad-banner-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  .ad-banner-text {
    min-width: auto;
  }
  .ad-banner-cta {
    width: 100%;
  }
  .ad-banner-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .topbar-left span:last-child { display: none; }
  .main-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 1rem; gap: 0.25rem; }
  .main-nav a { display: block; padding: 0.75rem 1rem; }
  .hamburger { display: flex; }
  
  /* Hero Slider Mobile Fixes */
  .hero-slider { 
    min-height: auto !important;
    height: auto;
  }
  .hero-slide { 
    min-height: auto !important;
    height: auto;
    position: relative !important;
  }
  .hero-slide:not(.active) {
    display: none;
  }
  .hero-content { 
    padding: 3rem 1rem 3rem !important;
    max-width: 100% !important;
  }
  .hero-content h1 {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
  }
  .hero-sub {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
    max-width: 100% !important;
  }
  .hero-badge {
    font-size: 0.7rem !important;
    padding: 0.4rem 0.9rem !important;
    margin-bottom: 1rem !important;
  }
  .hero-actions {
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100%;
    margin-bottom: 2rem !important;
  }
  .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.75rem 1.25rem !important;
    font-size: 0.9rem !important;
  }
  .hero-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
  }
  .hero-stats .stat {
    text-align: center;
  }
  .hero-stats .stat strong {
    font-size: 1.4rem !important;
  }
  .hero-stats .stat span {
    font-size: 0.7rem !important;
  }
  .hero-stats .stat-divider {
    display: none !important;
  }
  .hero-quote {
    margin-top: 1.5rem !important;
    padding: 0.75rem 1rem !important;
    max-width: 100% !important;
  }
  .hero-quote p {
    font-size: 0.85rem !important;
  }
  .hero-book-visual { 
    display: none !important; 
  }
  .floating-element {
    display: none !important;
  }
  .slider-arrow {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.85rem !important;
  }
  .slider-prev { left: 0.75rem !important; }
  .slider-next { right: 0.75rem !important; }
  .slider-dots {
    bottom: 1.5rem !important;
    gap: 0.5rem !important;
  }
  .slider-dot {
    width: 7px !important;
    height: 7px !important;
  }
  .slider-progress {
    height: 3px !important;
  }
  
  .testimonials-grid { grid-template-columns: 1fr; }
  .books-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .form-row { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { justify-content: center; }
  .about-shop-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  /* Hero Slider Extra Small Screens */
  .hero-content {
    padding: 2.5rem 1rem 2.5rem !important;
  }
  .hero-content h1 {
    font-size: 1.6rem !important;
  }
  .hero-sub {
    font-size: 0.85rem !important;
  }
  .hero-stats {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  .hero-actions .btn {
    padding: 0.7rem 1rem !important;
    font-size: 0.85rem !important;
  }
  
  .books-grid { grid-template-columns: 1fr 1fr; }
  .hero-content h1 { font-size: 1.9rem; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .stat-divider { display: none; }
  .slider-arrow { width: 36px; height: 36px; font-size: 0.85rem; }
  .slider-prev { left: 0.75rem; }
  .slider-next { right: 0.75rem; }
  .cart-item { grid-template-columns: auto 1fr; }
  .cart-item-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

/* --- HAMBURGER ANIMATION --- */
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   PAYSTACK PAYMENT METHOD UI
   ============================================ */
.payment-methods { display: flex; flex-direction: column; gap: 0.75rem; }
.payment-option { display: flex; cursor: pointer; }
.payment-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.payment-option-inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  transition: var(--transition);
  flex-wrap: wrap;
}
.payment-option:has(input:checked) .payment-option-inner {
  border-color: var(--purple);
  background: var(--purple-light);
}
.payment-option-left { display: flex; align-items: center; gap: 0.9rem; }
.payment-option-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.paystack-icon { background: rgba(0,100,230,0.1); color: #0064e6; }
.cash-icon     { background: rgba(212,175,55,0.15); color: var(--gold-dark); }
.payment-option-left > div > strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--dark); }
.payment-option-left > div > span   { display: block; font-size: 0.78rem; color: var(--text-light); margin-top: 0.2rem; }
.paystack-badges { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.pay-badge {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.3px;
}
.paystack-secure-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  color: #1d4ed8;
}
.paystack-secure-strip i { flex-shrink: 0; }

/* ============================================================
   PREMIUM REDESIGN — Book Cards, Scroll Reveal, Enhanced UI
   ============================================================ */

/* --- SCROLL REVEAL --- */
.reveal, .reveal-left, .reveal-right, .reveal-up {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal        { transform: translateY(36px); }
.reveal-left   { transform: translateX(-48px); }
.reveal-right  { transform: translateX(48px); }
.reveal-up     { transform: translateY(24px); }
.reveal.in-view, .reveal-left.in-view,
.reveal-right.in-view, .reveal-up.in-view {
  opacity: 1; transform: none;
}

/* Stagger children */
.reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-stagger.in-view > *:nth-child(1) { opacity:1; transform:none; transition-delay:0.05s; }
.reveal-stagger.in-view > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.15s; }
.reveal-stagger.in-view > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.25s; }
.reveal-stagger.in-view > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.35s; }

/* --- ENHANCED BOOK CARDS --- */
.book-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(26,16,40,0.08), 0 1px 3px rgba(26,16,40,0.04);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex; flex-direction: column;
  border: 1px solid rgba(229,224,240,0.8);
  position: relative;
}
.book-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.book-card:hover::before {
  transform: scaleX(1);
}
.book-card:hover {
  transform: translateY(-12px) rotate(0.5deg);
  box-shadow: 0 24px 56px rgba(124,58,237,0.22), 0 8px 16px rgba(0,0,0,0.08);
  border-color: rgba(124,58,237,0.2);
}

/* Alternating card tilt on hover for visual interest */
.book-card:nth-child(even):hover {
  transform: translateY(-12px) rotate(-0.5deg);
}

/* Card cover — gradient fallback */
.book-cover {
  aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--white); text-align: center; padding: 1.5rem;
  position: relative; overflow: hidden;
}

/* Card cover — photo mode */
.book-cover--photo {
  padding: 0;
  background: #111 !important;
}
.book-cover--photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.book-card:hover .book-cover--photo img { transform: scale(1.06); }

/* Hover overlay with CTA */
.book-cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,16,40,0.85) 0%, transparent 60%);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 1.25rem;
  opacity: 0; transition: opacity 0.3s ease;
}
.book-card:hover .book-cover-overlay { opacity: 1; }

.btn-quick-view {
  background: var(--gold); color: var(--dark);
  border: none; border-radius: 50px;
  padding: 0.55rem 1.25rem; font-size: 0.82rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; gap: 0.4rem;
  transform: translateY(8px); transition: transform 0.3s ease, background 0.2s;
  font-family: 'Inter', sans-serif;
}
.book-card:hover .btn-quick-view { transform: translateY(0); }
.btn-quick-view:hover { background: var(--gold-dark); }

/* Tag on photo covers */
.book-cover--photo .book-cover-tag {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2;
}

/* Shine shimmer on hover */
.book-cover::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.07) 50%, transparent 100%);
  transform: translateX(-100%); transition: transform 0.5s ease;
}
.book-card:hover .book-cover::after { transform: translateX(100%); }

/* Text part */
.book-cover-text { position: relative; z-index: 2; line-height: 1.4; }
.book-cover-author { font-size: 0.7rem; font-family: 'Inter', sans-serif; font-weight: 500; opacity: 0.82; margin-top: 0.5rem; text-transform: uppercase; letter-spacing: 1px; }
.book-cover-tag { position: absolute; top: 0.75rem; right: 0.75rem; background: var(--gold); color: var(--dark); font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.65rem; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.5px; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }

.book-body { padding: 1.35rem; flex: 1; display: flex; flex-direction: column; }
.book-category { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); margin-bottom: 0.4rem; }
.book-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 0.4rem; line-height: 1.3; }
.book-desc { font-size: 0.82rem; color: var(--text-light); line-height: 1.6; margin-bottom: 1rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.book-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--border); }
.book-price { font-size: 1.1rem; font-weight: 800; color: var(--purple); font-variant-numeric: tabular-nums; }
.btn-add-cart { background: var(--purple); color: var(--white); border: none; padding: 0.5rem 1.1rem; border-radius: 50px; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 0.35rem; white-space: nowrap; }
.btn-add-cart:hover { background: var(--purple-dark); transform: scale(1.05); }

/* Stagger card entry */
.reveal-card { opacity: 0; transform: translateY(30px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal-card.revealed { opacity: 1; transform: none; }

/* --- SEARCH SECTION UPGRADE --- */
.search-section {
  background: var(--white);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  position: relative; z-index: 5;
  box-shadow: 0 4px 24px rgba(124,58,237,0.06);
}
.search-bar {
  display: flex; align-items: center;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50px; overflow: hidden;
  max-width: 640px; margin: 0 auto;
  padding: 0.3rem 0.3rem 0.3rem 1.35rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  box-shadow: 0 2px 12px rgba(124,58,237,0.05);
}
.search-bar:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(124,58,237,0.1);
}
.search-icon { color: var(--text-light); margin-right: 0.5rem; font-size: 0.9rem; }
.search-bar input { flex: 1; border: none; outline: none; font-size: 0.95rem; background: transparent; }
.search-bar .btn { border-radius: 50px; padding: 0.6rem 1.5rem; }

/* --- FEATURES STRIP UPGRADE --- */
.features-strip {
  background: linear-gradient(135deg, #f8f5ff 0%, #fdf8f0 100%);
  padding: 3rem 0;
  border-top: 1px solid rgba(124,58,237,0.1);
  border-bottom: 1px solid rgba(124,58,237,0.1);
  position: relative;
  overflow: hidden;
}
.features-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle, rgba(212,175,55,0.06), transparent);
  pointer-events: none;
}
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; z-index: 1; }
.feature-item {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.5rem 1.75rem;
  border-right: 1px solid rgba(124,58,237,0.1);
  transition: all 0.3s ease;
  position: relative;
}
.feature-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(124,58,237,0.08), transparent);
  transition: width 0.3s ease;
}
.feature-item:hover::before {
  width: 100%;
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { 
  background: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}
.feature-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  background: linear-gradient(145deg, rgba(124,58,237,0.15), rgba(124,58,237,0.08));
  color: var(--purple);
  box-shadow: 0 4px 12px rgba(124,58,237,0.12);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.feature-item:hover .feature-icon-wrap {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 6px 18px rgba(124,58,237,0.2);
}
.feature-item strong { 
  display: block; 
  font-size: 0.9rem; 
  font-weight: 700; 
  color: var(--dark); 
  margin-bottom: 0.2rem;
  position: relative;
  z-index: 1;
}
.feature-item span { 
  font-size: 0.8rem; 
  color: var(--text-light);
  position: relative;
  z-index: 1;
}

/* --- SECTION HEADER UPGRADE --- */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  color: var(--dark); margin-bottom: 0.6rem;
  position: relative; display: inline-block;
}
.section-header h2::after {
  content: '';
  display: block; width: 48px; height: 3px;
  background: var(--gold); border-radius: 2px;
  margin: 0.6rem auto 0;
}
.section-header p { color: var(--text-light); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

/* --- FILTER BAR UPGRADE --- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2.75rem; }
.filter-btn {
  padding: 0.5rem 1.35rem; border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white); font-size: 0.88rem; font-weight: 600;
  color: var(--text); transition: var(--transition); cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.filter-btn:hover { border-color: var(--purple); color: var(--purple); background: var(--purple-light); }
.filter-btn.active { background: var(--purple); border-color: var(--purple); color: var(--white); box-shadow: 0 4px 14px rgba(124,58,237,0.3); }

/* --- ABOUT TEASER UPGRADE --- */
.about-teaser { background: var(--white); overflow: hidden; position: relative; }
.about-teaser::before {
  content: ''; position: absolute; right: -100px; top: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.about-teaser-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; align-items: center; }

/* Bishop card — upgraded */
.bishop-card {
  background: linear-gradient(145deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: var(--white); border-radius: 20px; padding: 2.25rem;
  display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.25rem;
  box-shadow: 0 15px 45px rgba(124,58,237,0.35), 0 0 0 1px rgba(255,255,255,0.1) inset;
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.bishop-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(124,58,237,0.4), 0 0 0 1px rgba(255,255,255,0.15) inset;
}
.bishop-card::before {
  content: ''; position: absolute; top: -50%; right: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(212,175,55,0.08), transparent 60%);
  pointer-events: none;
}
.bishop-card::after {
  content: ''; position: absolute; bottom: -20px; right: -20px;
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(255,255,255,0.04); pointer-events: none;
}
.bishop-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; flex-shrink: 0;
  border: 3px solid rgba(212,175,55,0.6);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
}
.bishop-info { position: relative; z-index: 1; }
.bishop-info strong { display: block; font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; letter-spacing: -0.3px; }
.bishop-info span { font-size: 0.8rem; opacity: 0.9; line-height: 1.5; }

/* Bishop quote */
.bishop-quote {
  background: var(--purple-light); 
  border-left: 4px solid var(--gold);
  padding: 1.5rem 1.75rem; 
  border-radius: 0 14px 14px 0;
  box-shadow: 0 4px 20px rgba(124,58,237,0.08);
  position: relative;
}
.bishop-quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold), var(--purple));
}
.bishop-quote i { color: var(--gold); font-size: 1.6rem; margin-bottom: 0.6rem; display: block; opacity: 0.9; }
.bishop-quote p { font-style: italic; color: var(--dark); font-size: 0.97rem; line-height: 1.7; font-weight: 500; }

.about-teaser-text h2 { 
  font-family: 'Playfair Display', serif; 
  font-size: clamp(1.5rem, 2.5vw, 2.3rem); 
  color: var(--dark); 
  margin: 0.5rem 0 1.25rem; 
  line-height: 1.2;
  position: relative;
  padding-bottom: 1rem;
}
.about-teaser-text h2::after { 
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
  border-radius: 2px;
}
.about-teaser-text p { color: var(--text-light); line-height: 1.8; margin-bottom: 1rem; font-size: 0.97rem; }
.about-badges { display: flex; flex-direction: column; gap: 0.7rem; margin: 1.5rem 0 2rem; }
.about-badges span { 
  display: flex; 
  align-items: center; 
  gap: 0.75rem; 
  font-size: 0.88rem; 
  color: var(--dark); 
  font-weight: 500;
  padding: 0.4rem 0;
  transition: var(--transition);
}
.about-badges span:hover {
  padding-left: 0.5rem;
  color: var(--purple);
}
.about-badges span i {
  color: var(--purple);
  flex-shrink: 0;
}
.about-badges span i { color: var(--gold); width: 16px; }

/* --- TESTIMONIALS UPGRADE --- */
.testimonials-section { background: var(--dark); overflow: hidden; position: relative; }
.testimonials-section::before {
  content: ''; position: absolute; left: -80px; top: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.testimonials-section .section-header h2 { color: var(--white); }
.testimonials-section .section-header h2::after { background: var(--gold); }
.testimonials-section .section-header .section-label { color: var(--gold); }
.testimonials-section .section-header p { color: rgba(255,255,255,0.6); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 2rem;
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(212,175,55,0.3);
  transform: translateY(-4px);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute; top: 1rem; right: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 5rem; color: rgba(212,175,55,0.12);
  line-height: 1; pointer-events: none;
}
.stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 1rem; display: flex; gap: 0.2rem; }
.testimonial-card p { color: rgba(255,255,255,0.82); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1.25rem; font-style: italic; }
.reviewer-row { display: flex; align-items: center; gap: 0.75rem; }
.reviewer-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--gold)); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; color: var(--white); flex-shrink: 0; }
.reviewer { font-size: 0.82rem; color: var(--gold); font-weight: 600; }

/* --- NEWSLETTER UPGRADE --- */
.newsletter-section {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  padding: 5rem 0; position: relative; overflow: hidden;
}
.newsletter-section::before {
  content: ''; position: absolute; right: -120px; bottom: -120px;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(255,255,255,0.03); pointer-events: none;
}
.newsletter-section::after {
  content: ''; position: absolute; left: -60px; top: -60px;
  width: 250px; height: 250px; border-radius: 50%;
  background: rgba(212,175,55,0.06); pointer-events: none;
}
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; position: relative; z-index: 2; }
.newsletter-icon { font-size: 2.75rem; color: var(--gold); display: block; margin-bottom: 0.75rem; }
.newsletter-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--white); margin-bottom: 0.5rem; }
.newsletter-text h2::after { display: none; }
.newsletter-text p { color: rgba(255,255,255,0.8); font-size: 0.97rem; }
.newsletter-form { display: flex; gap: 0.5rem; flex-wrap: wrap; flex: 1; min-width: 280px; }
.newsletter-form input {
  flex: 1; min-width: 220px; padding: 0.85rem 1.35rem;
  border-radius: 50px; border: none; font-size: 0.95rem; outline: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.newsletter-form input:focus { box-shadow: 0 0 0 3px rgba(212,175,55,0.4); }

/* --- SECTION LABEL UPGRADE --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.08));
  border-radius: 50px;
  border: 1.5px solid rgba(212,175,55,0.25);
  margin-bottom: 1.25rem;
}
.section-label::before {
  display: none;
}

/* --- BIBLE VERSE STRIP (new section) --- */
.verse-strip {
  background: linear-gradient(135deg, var(--dark) 0%, #160d2e 100%);
  padding: 3rem 0; text-align: center; position: relative; overflow: hidden;
}
.verse-strip::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M20 20.5V18H0v5h5v5H0v5h20v-9.5zM20 9H0v5h5v5H0v5h20V9z'/%3E%3C/g%3E%3C/svg%3E");
}
.verse-strip blockquote { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 0 2rem; }
.verse-strip blockquote p { font-family: 'Playfair Display', serif; font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-style: italic; color: rgba(255,255,255,0.9); line-height: 1.7; margin-bottom: 1rem; }
.verse-strip blockquote cite { font-size: 0.85rem; color: var(--gold); font-style: normal; font-weight: 600; letter-spacing: 1px; }

/* --- FOOTER UPGRADE --- */
.site-footer { 
  background: linear-gradient(180deg, #0f0818 0%, #1a0f2e 100%); 
  color: rgba(255,255,255,0.75); 
  padding: 5rem 0 0; 
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: ''; 
  position: absolute; 
  top: 0; 
  left: 0; 
  right: 0;
  height: 4px; 
  background: linear-gradient(90deg, transparent, var(--purple) 20%, var(--gold) 50%, var(--purple) 80%, transparent);
}
.site-footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.08), transparent);
  pointer-events: none;
}
.footer-grid { 
  display: grid; 
  grid-template-columns: 1.6fr 1fr 1fr 1fr; 
  gap: 3.5rem; 
  padding-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}
.footer-brand .footer-logo { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.2rem; }
.footer-logo span { 
  font-family: 'Playfair Display', serif; 
  font-size: 1.15rem; 
  font-weight: 700; 
  color: var(--white);
  letter-spacing: -0.3px;
}
.footer-brand p { 
  font-size: 0.88rem; 
  line-height: 1.8; 
  color: rgba(255,255,255,0.65); 
  max-width: 280px;
}
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.75rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}
.footer-social a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold), var(--purple));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.footer-social a:hover::before {
  opacity: 1;
}
.footer-social a i {
  position: relative;
  z-index: 1;
}
.footer-social a:hover { 
  color: var(--dark); 
  border-color: transparent; 
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 12px rgba(212,175,55,0.3);
}
.footer-col h4 { 
  font-size: 0.8rem; 
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: 2.5px; 
  color: var(--white); 
  margin-bottom: 1.4rem; 
  padding-bottom: 0.7rem; 
  border-bottom: 2px solid rgba(212,175,55,0.2);
  position: relative;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul a { 
  font-size: 0.88rem; 
  color: rgba(255,255,255,0.65); 
  transition: var(--transition); 
  display: inline-flex; 
  align-items: center; 
  gap: 0.5rem;
  position: relative;
  padding-left: 0;
}
.footer-col ul a::before { 
  content: '→'; 
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
  color: var(--gold);
}
.footer-col ul a:hover { 
  color: var(--gold); 
  padding-left: 18px;
}
.footer-col ul a:hover::before { 
  opacity: 1;
  transform: translateX(0);
}
.contact-list li { 
  display: flex; 
  align-items: flex-start; 
  gap: 0.8rem; 
  font-size: 0.88rem; 
  margin-bottom: 0.75rem; 
  color: rgba(255,255,255,0.65);
}
.contact-list i { 
  color: var(--gold); 
  width: 16px; 
  flex-shrink: 0; 
  margin-top: 0.2rem; 
  font-size: 0.85rem;
}
.footer-bottom { 
  border-top: 1px solid rgba(255,255,255,0.08); 
  padding: 1.5rem 0;
  position: relative;
  z-index: 1;
}
.footer-bottom .container { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  flex-wrap: wrap; 
  gap: 0.75rem;
}
.footer-bottom p { 
  font-size: 0.82rem; 
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { 
  color: var(--gold); 
  transition: var(--transition);
  font-weight: 500;
}
.footer-bottom a:hover { 
  color: var(--white);
  text-decoration: underline;
}
.footer-bottom-right { 
  display: flex; 
  align-items: center; 
  gap: 0.6rem; 
  font-size: 0.8rem; 
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.03);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom-right i { 
  color: var(--gold);
  font-size: 0.85rem;
}

/* --- RESPONSIVE UPDATES FOR REDESIGN --- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item { border-right: none; border-bottom: 1px solid var(--border); }
  .feature-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .feature-item:last-child, .feature-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-teaser-inner { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-item { padding: 1rem; }
  .feature-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-item { border-right: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- BISHOP STATS (about section) --- */
.bishop-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0.75rem; margin-top: 1.25rem;
}
.bishop-stat {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1rem 0.75rem; text-align: center;
  transition: var(--transition);
}
.bishop-stat:hover { border-color: var(--purple); box-shadow: var(--shadow); }
.bishop-stat strong {
  display: block; font-size: 1.5rem; font-weight: 800; color: var(--purple);
  font-family: 'Playfair Display', serif;
}
.bishop-stat span { font-size: 0.72rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }

/* --- ABOUT CTA ROW --- */
.about-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* --- NEWSLETTER UPGRADE (text/icon refinements) --- */
.newsletter-section .newsletter-text { max-width: 440px; }
.newsletter-icon { font-size: 2.5rem; color: var(--gold); display: block; margin-bottom: 0.6rem; }

/* --- BOOKS SECTION HEADER REVEAL --- */
.books-section .section-header { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.books-section .section-header.in-view { opacity: 1; transform: none; }

/* --- SECTION CTA BUTTON --- */
.section-cta { text-align: center; margin-top: 3rem; }
.section-cta .btn { padding: 0.85rem 2.5rem; font-size: 1rem; }

/* --- HEADER TRANSPARENT-TO-SOLID on scroll --- */
.site-header { transition: background 0.3s, box-shadow 0.3s, border-color 0.3s; }
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(26,16,40,0.1);
  border-bottom-color: rgba(229,224,240,0.8);
}

/* --- NAV ACTIVE UNDERLINE --- */
.main-nav a.active {
  color: var(--purple);
  background: var(--purple-light);
  font-weight: 600;
}

/* --- BACK-TO-TOP BUTTON --- */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--purple); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; box-shadow: 0 4px 16px rgba(124,58,237,0.4);
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  border: none; cursor: pointer;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--purple-dark); transform: translateY(-2px); }

/* --- PAGE HERO (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, #1a1028 0%, #2d1f4a 60%, #3b0764 100%);
  padding: 4.5rem 0 3.5rem; color: var(--white); position: relative; overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.3), transparent);
  border-radius: 50%;
  transform: translate(30%, -30%);
  pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .section-label {
  display: inline-block;
  margin-bottom: 0.75rem;
}
.page-hero h1 { 
  font-family: 'Playfair Display', serif; 
  font-size: clamp(1.75rem, 4vw, 3rem); 
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.breadcrumb { 
  display: flex; 
  align-items: center; 
  justify-content: center;
  gap: 0.5rem; 
  font-size: 0.85rem; 
  color: rgba(255,255,255,0.55);
  margin-top: 0.5rem;
}
.breadcrumb a { color: var(--gold); transition: var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 0.65rem; opacity: 0.5; }

/* --- TOAST UPGRADE --- */
.toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  background: var(--dark); color: var(--white);
  padding: 0.9rem 1.5rem; border-radius: 10px;
  font-size: 0.88rem; z-index: 3000;
  transform: translateY(80px) scale(0.95); opacity: 0;
  transition: all 0.35s cubic-bezier(.22,.68,0,1.2);
  max-width: 320px; box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  display: flex; align-items: center; gap: 0.6rem;
}
.toast.show { transform: translateY(0) scale(1); opacity: 1; }
.toast.success { border-left: 4px solid var(--gold); }
.toast::before { content: '✓'; background: var(--gold); color: var(--dark); width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 900; flex-shrink: 0; }

/* --- FEATURE ITEM LEGACY ICON FALLBACK (pages that still use bare <i>) --- */
.feature-item > i {
  font-size: 1.6rem; color: var(--purple); flex-shrink: 0;
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(124,58,237,0.06));
  border-radius: 12px;
}

/* --- CATALOGUE SIDEBAR FILTER CHECKS --- */
.filter-check {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.88rem; color: var(--text);
  margin-bottom: 0.45rem; cursor: pointer;
  padding: 0.3rem 0; transition: color 0.2s;
}
.filter-check:hover { color: var(--purple); }
.filter-check input[type="radio"] { accent-color: var(--purple); width: 14px; height: 14px; flex-shrink: 0; }

/* --- ABOUT FULL PAGE LAYOUT (inner page) --- */
.about-full {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start;
}
.about-full-visual { }
.bishop-large-card {
  background: linear-gradient(145deg, var(--purple), var(--purple-dark));
  color: var(--white); border-radius: 20px; padding: 2.5rem 2rem;
  text-align: center; margin-bottom: 1.5rem;
  box-shadow: 0 16px 48px rgba(124,58,237,0.3);
}
.bishop-large-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: 3px solid rgba(212,175,55,0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; margin: 0 auto 1.25rem;
}
.bishop-large-card h3 { font-family: 'Playfair Display', serif; font-size: 1.25rem; margin-bottom: 0.4rem; }
.bishop-large-card p { font-size: 0.85rem; opacity: 0.85; line-height: 1.6; }
.bishop-title-tag {
  display: inline-block; background: var(--gold); color: var(--dark);
  font-size: 0.75rem; font-weight: 700; padding: 0.3rem 1rem;
  border-radius: 50px; margin-top: 0.85rem;
}
.bishop-bible-verse {
  background: var(--purple-light); border-left: 4px solid var(--gold);
  padding: 1.5rem; border-radius: 0 12px 12px 0;
}
.bishop-bible-verse i { color: var(--gold); font-size: 1.5rem; margin-bottom: 0.75rem; display: block; }
.bishop-bible-verse p { font-style: italic; font-size: 0.95rem; color: var(--dark); margin-bottom: 0.5rem; line-height: 1.65; }
.bishop-bible-verse span { font-size: 0.8rem; color: var(--text-light); font-weight: 600; }
.about-full-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.3rem); color: var(--dark);
  margin: 0.5rem 0 1.25rem; line-height: 1.2;
}
.about-full-text h2::after { display: none; }
.about-full-text p { color: var(--text-light); line-height: 1.82; margin-bottom: 1rem; font-size: 0.97rem; }
.about-shop-grid { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.about-shop-text p { color: var(--text-light); line-height: 1.82; margin-bottom: 1rem; font-size: 0.97rem; }
.about-shop-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; min-width: 220px; }
.shop-stat {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1.5rem; text-align: center;
  transition: var(--transition);
}
.shop-stat:hover { border-color: var(--purple); box-shadow: var(--shadow); }
.shop-stat strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--purple); font-family: 'Playfair Display', serif; }
.shop-stat span { font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }

/* --- ABOUT PAGE RESPONSIVE --- */
@media (max-width: 1024px) {
  .about-full { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-shop-grid { grid-template-columns: 1fr; }
  .about-shop-stats { grid-template-columns: repeat(4, 1fr); min-width: unset; }
}
@media (max-width: 600px) {
  .about-shop-stats { grid-template-columns: 1fr 1fr; }
  .bishop-stats { grid-template-columns: 1fr 1fr 1fr; }
}
