/* ============================================
   RODZ DEZIGNS — Master Stylesheet
   All pages use this file. main.css @imports it.
   ============================================ */

/* ---- Color Palette ---- */
:root {
  --ivory:      #F4F1EA;
  --parchment:  #E8E2D6;
  --walnut:     #5A3E2B;
  --cedar:      #8B5E3C;
  --oak:        #C8A46A;
  --navy:       #1F2A44;
  --olive:      #5F6B3C;
  --gold:       #B89B40;
  --midnight:   #0D1117;
  --oxblood:    #5C1A1A;
  --aged-gold:  #C9A84C;
  --smoke:      #D9D4C9;
  --forest:     #2A3828;
  --cream:      #FAF7F2;
}

/* ---- Fluid Typography ---- */
/* 16px at ~1185px → 24px at ~1780px (1.5×) */
html { font-size: clamp(16px, 1.35vw, 24px); }

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  background: var(--ivory);
  color: #333;
}

/* ===========================================
   NAVIGATION — index.html custom header
   =========================================== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.45s ease, border-color 0.45s ease,
              box-shadow 0.45s ease, padding 0.35s ease;
}
header.scrolled {
  background: rgba(13, 17, 23, 0.96);
  border-bottom-color: rgba(201, 168, 76, 0.22);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
  padding: 10px 44px;
}

.logo { font-size: 1.375rem; font-weight: bold; color: var(--walnut); }

/* Logo — scales with viewport, HTML height attr removed */
.logo img,
.navbar-brand img {
  height: clamp(72px, 6vw, 110px);
  width: auto;
}

.nav-right { display: flex; align-items: center; gap: 6px; }

nav { display: flex; align-items: center; }
nav a {
  margin-left: 28px;
  text-decoration: none;
  color: #EEE8DD;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s;
}
nav a:hover { color: var(--aged-gold); }

/* ---- Cart icon button — both .cart-icon-btn (index) and .nav-cart-btn (product pages) ---- */
.cart-icon-btn,
.nav-cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 8px;
  line-height: 1;
  /* Always visible — never collapsed by Bootstrap */
  display: flex !important;
  align-items: center;
  flex-shrink: 0;
}

.cart-icon-img {
  display: block;
  height: clamp(32px, 3.2vw, 50px);
  width: auto;
  /*mix-blend-mode: multiply;*/
  transition: transform 0.3s, filter 0.3s;
}
.cart-icon-btn:hover .cart-icon-img,
.nav-cart-btn:hover .cart-icon-img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 5px rgba(201,168,76,0.6));
}

.cart-badge {
  position: absolute;
  top: -2px; right: -2px;
  background: var(--aged-gold);
  color: var(--midnight);
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(0.58rem, 0.75vw, 0.85rem);
  font-weight: 700;
  width: clamp(15px, 1.3vw, 22px);
  height: clamp(15px, 1.3vw, 22px);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
}

/* ===========================================
   NAVIGATION — Bootstrap navbar (product pages)
   =========================================== */
.navbar {
  transition: background-color 0.45s ease, box-shadow 0.45s ease;
  background: rgba(13, 17, 23, 0.0) !important;
  padding: 12px 20px;
}

/* Hamburger toggler — light icon for dark background */
.navbar-toggler {
  border: 1px solid rgba(201,168,76,0.5) !important;
  border-radius: 4px;
  padding: 6px 10px;
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(201,168,76,0.25) !important;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23C9A84C' stroke-width='2.5' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
  width: 22px;
  height: 22px;
}
.navbar.scrolled {
  background: rgba(13, 17, 23, 0.96) !important;
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.nav-link, .navbar-brand, .dropdown-item { font-family: 'Open Sans', sans-serif; }
.nav-link {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #EEE8DD !important;
  transition: color 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--aged-gold) !important; }
.dropdown-menu {
  background: rgba(13, 17, 23, 0.97);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 4px;
}
.dropdown-item {
  color: var(--smoke) !important;
  font-size: 0.85rem;
  transition: color 0.25s, background 0.25s;
}
.dropdown-item:hover {
  background: rgba(201,168,76,0.1) !important;
  color: var(--aged-gold) !important;
}

/* ===========================================
   HERO — index.html
   =========================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #EEE8DD;
  overflow: hidden;
  background: #0D1117 url("../images/hero-wood-background.jpg") center/cover no-repeat;
}
.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.7;
  z-index: 1;
  animation: slowZoom 30s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 17, 23, 0.70);
  z-index: 2;
}
/* Divine light rays */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 75% at 50% 0%,  rgba(201,168,76,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 28% 45% at 18% 100%, rgba(200,164,106,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 28% 45% at 82% 100%, rgba(200,164,106,0.06) 0%, transparent 55%);
  animation: divinePulse 12s ease-in-out infinite alternate;
}
@keyframes divinePulse { from { opacity: 0.5; } to { opacity: 1.0; } }

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  padding: 24px;
}
.hero .hero-content .scripture {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-style: italic;
  line-height: 1.5;
  opacity: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  animation: fadeInScripture 4s ease forwards 3s;
}

/* "Word" — dark amber → brilliant near-white gold */
.reveal {
  display: inline;
  color: #3A2D1A;
  animation: wordBrighten 3.8s ease forwards 4.2s,
             wordShimmer  3.2s ease-in-out infinite 8.8s;
}
/* "light" — starts 0.9s after "Word" */
.light-word {
  animation: wordBrighten 3.8s ease forwards 5.1s,
             wordShimmer  3.2s ease-in-out infinite 9.9s;
}

.reference {
  margin-top: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInScripture 4s ease forwards 3.5s;
}
.headline {
  margin-top: 36px;
  font-size: 3.4rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  opacity: 0;
  animation: fadeInScripture 4s ease forwards 1s;
}
.desc {
  font-size: 1.1rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  line-height: 1.65;
  margin-top: 12px;
  opacity: 0;
  animation: fadeInScripture 4s ease forwards 1.5s;
}
.buttons {
  margin-top: 32px;
  opacity: 0;
  animation: fadeInScripture 4s ease forwards 5.8s;
}

/* ===========================================
   BUTTONS
   =========================================== */
.btn {
  display: inline-block;
  margin: 8px;
  padding: 13px 30px;
  border: 1px solid rgba(201, 168, 76, 0.55);
  text-decoration: none;
  background: rgba(13, 17, 23, 0.75);
  color: #EEE8DD;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  backdrop-filter: blur(6px);
  transition: background 0.35s, border-color 0.35s, color 0.35s, box-shadow 0.35s;
  cursor: pointer;
}
.btn:hover {
  background: rgba(201, 168, 76, 0.18);
  border-color: var(--aged-gold);
  color: var(--aged-gold);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.18);
}
.btn.secondary { background: transparent; }

/* ===========================================
   SECTION DIVIDER — Wood Grain SVG Wave
   =========================================== */
.section-divider { width: 100%; overflow: hidden; line-height: 0; margin: 0; padding: 0; }
.section-divider svg { display: block; width: 100%; height: 40px; }

/* ===========================================
   SECTIONS — index.html
   =========================================== */
.section {
  padding: 84px 44px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}
.section-title {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 52px;
  color: var(--walnut);
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
}
/* Gold shimmer sweep */
.section-title::after {
  content: '';
  position: absolute;
  top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(201,168,76,0.38) 50%, transparent 100%);
  animation: titleShimmer 5s ease-in-out infinite 1.5s;
  pointer-events: none;
}
@keyframes titleShimmer {
  0%   { left: -120%; }
  55%  { left: 160%; }
  100% { left: 160%; }
}

/* Collections grid */
.product-lines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.card {
  background: white;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(0,0,0,0.09);
  overflow: hidden;
  transition: transform 0.38s ease, box-shadow 0.38s ease;
  text-align: left;
}
.card:hover { transform: translateY(-7px); box-shadow: 0 14px 36px rgba(0,0,0,0.15); }
.card img { width: 100%; height: 230px; object-fit: cover; display: block; }
.card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  text-align: center;
}
.card h3 { margin-top: 0; font-family: 'Cormorant Garamond', serif; font-size: 1.55rem; font-weight: 700; color: var(--navy); }
.card p { font-family: 'Open Sans', sans-serif; font-size: 0.88rem; font-weight: 300; line-height: 1.6; color: #555; }
.card-content .btn { margin-top: auto; }

/* Featured products */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }
.product { background: white; padding: 16px; border-radius: 5px; box-shadow: 0 3px 10px rgba(0,0,0,0.08); text-align: left; }
.product img { width: 100%; border-radius: 4px; display: block; }
.product h4 { margin: 12px 0 5px; font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--navy); }

/* Scripture banner (index) */
.scripture-banner {
  background: var(--midnight);
  padding: 70px 44px;
  text-align: center;
  border-top: 1px solid rgba(201,168,76,0.12);
  border-bottom: 1px solid rgba(201,168,76,0.12);
}
.scripture-banner .banner-verse {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  font-style: italic;
  color: var(--smoke);
  max-width: 720px;
  margin: 0 auto 10px;
  line-height: 1.6;
}
.scripture-banner .banner-ref {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aged-gold);
}

/* Testimonials */
.testimonials { background: var(--parchment); padding: 84px 44px; text-align: center; }
.testimonials h2 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--walnut); margin-bottom: 32px; }
.testimonial {
  position: relative;
  max-width: 720px; margin: auto;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-style: italic;
  color: #555; line-height: 1.75; padding: 0 24px;
}
.testimonial::before {
  content: '\201C';
  font-size: 4rem; color: var(--gold);
  line-height: 0; vertical-align: -0.42em;
  margin-right: 4px; font-style: normal;
}
.section p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; line-height: 1.8; color: #555; max-width: 780px; margin: 0 auto;
}

/* Footer — index.html */
footer {
  background: var(--midnight);
  color: var(--smoke);
  padding: 52px 44px;
  text-align: center;
  border-top: 1px solid rgba(201,168,76,0.18);
}
footer p { margin: 5px 0; font-family: 'Open Sans', sans-serif; font-size: 0.82rem; color: var(--smoke); }

/* ===========================================
   SCROLL-REVEAL — engrave chars on viewport enter
   =========================================== */
.scripture-reveal span { opacity: 0; animation: engrave 0.06s forwards; }
@keyframes engrave {
  from { opacity: 0; filter: brightness(3) blur(1px); }
  to   { opacity: 1; filter: brightness(1) blur(0); }
}

/* ===========================================
   LIGHTBOX — index.html variant
   =========================================== */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  display: none; align-items: center; justify-content: center;
  z-index: 2000;
}
.lightbox img { max-width: 92%; max-height: 88vh; border-radius: 4px; box-shadow: 0 0 60px rgba(201,168,76,0.18); }
.lightbox.show { display: flex; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: var(--smoke); font-size: 2.5rem; cursor: pointer; line-height: 1; transition: color 0.25s; font-family: 'Open Sans', sans-serif; font-weight: 300; user-select: none; }
.lightbox-close:hover { color: var(--aged-gold); }

/* ===========================================
   LIGHTBOX MODAL — product pages variant
   =========================================== */
.lightbox-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  display: none; align-items: center; justify-content: center;
  z-index: 4000;
}
.lightbox-modal.show { display: flex; }
.lightbox-modal img { max-width: 92%; max-height: 88vh; border-radius: 4px; box-shadow: 0 0 60px rgba(201,168,76,0.18); }
.lightbox-close-btn {
  position: absolute; top: 20px; right: 30px;
  color: var(--smoke); font-size: 2.5rem; cursor: pointer; line-height: 1;
  background: none; border: none; transition: color 0.25s;
  font-family: 'Open Sans', sans-serif; font-weight: 300; user-select: none;
}
.lightbox-close-btn:hover { color: var(--aged-gold); }

/* ===========================================
   CART DRAWER
   =========================================== */
.cart-drawer {
  position: fixed;
  top: 0; right: -440px;
  width: 400px; max-width: 96vw;
  height: 100vh;
  background: #12192B;
  z-index: 3000;
  transition: right 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  border-left: 1px solid rgba(201,168,76,0.2);
}
.cart-drawer.open { right: 0; }

.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2999;
  opacity: 0; pointer-events: none;
  transition: opacity 0.42s;
}
.cart-overlay.visible { opacity: 1; pointer-events: auto; }

.cart-drawer-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(201,168,76,0.18);
}
.cart-drawer-header h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; color: var(--aged-gold); letter-spacing: 0.05em;
}
.cart-drawer-close {
  background: none; border: none;
  color: var(--smoke); font-size: 1.8rem;
  cursor: pointer; padding: 0; line-height: 1; transition: color 0.25s;
}
.cart-drawer-close:hover { color: var(--aged-gold); }

.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }

.cart-empty {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-style: italic;
  color: rgba(217,212,201,0.5); text-align: center; margin-top: 40px;
}

.cart-item { padding: 14px 0; border-bottom: 1px solid rgba(201,168,76,0.12); }
.cart-item-info { display: flex; justify-content: space-between; margin-bottom: 8px; }
.cart-item-name { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: var(--smoke); }
.cart-item-price { font-family: 'Open Sans', sans-serif; font-size: 0.9rem; color: var(--aged-gold); font-weight: 600; white-space: nowrap; margin-left: 10px; }

/* Qty +/- controls */
.cart-item-controls { display: flex; align-items: center; justify-content: space-between; }
.qty-controls { display: flex; align-items: center; gap: 0; }
.qty-btn {
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--aged-gold);
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem; font-weight: 600;
  width: 28px; height: 28px;
  cursor: pointer; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
  user-select: none;
}
.qty-btn:first-child { border-radius: 3px 0 0 3px; }
.qty-btn:last-child  { border-radius: 0 3px 3px 0; }
.qty-btn:hover { background: rgba(201,168,76,0.28); }
.qty-display {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  color: var(--smoke);
  min-width: 30px; text-align: center;
  border-top: 1px solid rgba(201,168,76,0.3);
  border-bottom: 1px solid rgba(201,168,76,0.3);
  height: 28px; line-height: 26px;
  background: rgba(255,255,255,0.04);
}
.cart-remove {
  background: none; border: none;
  color: rgba(217,212,201,0.3);
  font-size: 1.1rem; cursor: pointer;
  padding: 0 0 0 10px; line-height: 1; transition: color 0.25s;
}
.cart-remove:hover { color: #C05050; }

.cart-drawer-footer { padding: 20px 24px; border-top: 1px solid rgba(201,168,76,0.18); }
.cart-total-row {
  display: flex; justify-content: space-between; margin-bottom: 18px;
  font-family: 'Open Sans', sans-serif; font-size: 0.85rem; color: var(--smoke);
}
.cart-total-row span:last-child { font-weight: 700; color: var(--aged-gold); font-size: 1.05rem; }
.btn-checkout {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, rgba(201,168,76,0.22), rgba(184,155,64,0.12));
  border: 1px solid rgba(201,168,76,0.55);
  color: var(--aged-gold);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: background 0.3s, box-shadow 0.3s;
}
.btn-checkout:hover { background: rgba(201,168,76,0.3); box-shadow: 0 0 20px rgba(201,168,76,0.2); }

/* ===========================================
   PAGE HERO — product page headers
   =========================================== */
.page-hero {
  position: relative;
  height: 320px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background: linear-gradient(135deg, #0D1117 0%, #1F2A44 60%, #0D1117 100%);
  border-bottom: 1px solid rgba(201,168,76,0.18);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(201,168,76,0.12) 0%, transparent 65%);
}
.page-hero-content { position: relative; z-index: 1; padding: 20px; }
.page-title {
  font-family: 'Euphoria Script', cursive;
  font-size: 4rem; font-weight: 400;
  color: var(--aged-gold); margin: 0 0 10px;
  text-shadow: 0 0 30px rgba(201,168,76,0.35);
}
.page-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-style: italic;
  color: var(--smoke); margin: 0 0 6px; max-width: 600px;
}
.page-ref {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(201,168,76,0.65);
}

/* ===========================================
   PRODUCT ALBUM GRID
   =========================================== */
.album { background: var(--ivory) !important; }

/* ===========================================
   FLIP CARDS
   =========================================== */
.flip-card {
  perspective: 1200px;
  height: 420px;
  cursor: pointer;
}
.flip-card-inner {
  position: relative;
  width: 100%; height: 100%;
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}
/* Hover flips on desktop */
@media (hover: hover) {
  .flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
}
/* Tap-toggle on touch devices */
.flip-card.flipped .flip-card-inner { transform: rotateY(180deg); }

.flip-card-front,
.flip-card-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 6px; overflow: hidden;
}

/* Front */
.flip-card-front {
  background: #2A1F14;  /* dark walnut — shows as matting behind image */
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
  display: flex; flex-direction: column;
}
/* Full image visible — contain so no cropping */
.flip-card-front img {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #2A1F14;
}
.card-price-tag {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  font-family: 'Open Sans', sans-serif;
  background: #fff;
}
.card-price-tag .price { font-size: 1rem; color: var(--walnut); font-weight: 600; }
.card-price-tag .hint { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: #bbb; }

/* Back */
.flip-card-back {
  background: linear-gradient(160deg, #12192B 0%, #1F2A44 55%, #0D1117 100%);
  color: #EEE8DD;
  transform: rotateY(180deg);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 22px 20px 18px; text-align: center;
  border: 1px solid rgba(201,168,76,0.2);
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}
.flip-card-back .hebrew-text {
  font-family: 'Frank Ruhl Libre', 'Times New Roman', serif;
  font-size: 2rem; direction: rtl;
  color: var(--aged-gold);
  text-shadow: 0 0 22px rgba(201,168,76,0.45);
  margin-bottom: 8px; letter-spacing: 0.04em; line-height: 1.3;
}
.flip-card-back .back-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--aged-gold); margin: 0 0 10px;
}
.flip-card-back .back-meaning {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.97rem; font-style: italic;
  color: var(--smoke); line-height: 1.58; margin: 0 0 10px;
}
.flip-card-back .back-verse {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(201,168,76,0.65); margin: 0 0 16px;
}
.flip-card-back .back-actions {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; margin-top: auto; padding-top: 12px;
  border-top: 1px solid rgba(201,168,76,0.2); gap: 10px;
}
.flip-card-back .back-price {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem; color: var(--aged-gold); font-weight: 600; white-space: nowrap;
}
.btn-cart {
  padding: 8px 14px;
  background: rgba(201,168,76,0.14);
  border: 1px solid rgba(201,168,76,0.48);
  color: var(--aged-gold);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.07em; text-transform: uppercase;
  cursor: pointer; border-radius: 2px;
  transition: background 0.3s, box-shadow 0.3s; white-space: nowrap;
}
.btn-cart:hover { background: rgba(201,168,76,0.28); box-shadow: 0 0 14px rgba(201,168,76,0.2); }
.btn-view {
  padding: 6px 10px;
  background: transparent;
  border: 1px solid rgba(217,212,201,0.25);
  color: rgba(217,212,201,0.6);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; border-radius: 2px; transition: border-color 0.3s, color 0.3s;
}
.btn-view:hover { border-color: rgba(217,212,201,0.5); color: var(--smoke); }

/* ===========================================
   PAGE SCRIPTURE BANNER — product pages
   =========================================== */
.page-scripture-banner {
  background: var(--midnight);
  padding: 52px 44px; text-align: center;
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
}
.page-scripture-banner .banner-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-style: italic;
  color: var(--smoke); max-width: 680px;
  margin: 0 auto 8px; line-height: 1.65;
}
.page-scripture-banner .banner-ref {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.75rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--aged-gold);
}

/* ===========================================
   SITE FOOTER — product pages
   =========================================== */
.site-footer {
  background: var(--midnight); color: var(--smoke);
  padding: 52px 44px; text-align: center;
  border-top: 1px solid rgba(201,168,76,0.18);
}
.site-footer .footer-links {
  list-style: none; padding: 0; margin: 0 0 16px;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 24px;
}
.site-footer .footer-links a {
  font-family: 'Open Sans', sans-serif; font-size: 0.78rem;
  color: rgba(217,212,201,0.6); text-decoration: none;
  letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.25s;
}
.site-footer .footer-links a:hover { color: var(--aged-gold); }
.site-footer .copyright {
  font-family: 'Open Sans', sans-serif; font-size: 0.75rem;
  color: rgba(217,212,201,0.35); margin: 0;
}

/* ===========================================
   KEYFRAME ANIMATIONS
   =========================================== */
@keyframes fadeInScripture {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes wordBrighten {
  0%   { color: #3A2D1A; text-shadow: none;                            filter: brightness(0.55); }
  35%  { color: #8A6D28; text-shadow: 0 0 5px rgba(201,168,76,0.20);  filter: brightness(0.85); }
  70%  { color: #DFC878; text-shadow: 0 0 9px rgba(201,168,76,0.55);  filter: brightness(1.10); }
  100% { color: #FFFBE8;
         text-shadow: 0 0 8px  rgba(201,168,76,0.75),
                      0 0 20px rgba(184,155,64,0.50),
                      0 0 38px rgba(184,155,64,0.28);
         filter: brightness(1); }
}

@keyframes wordShimmer {
  0%   { filter: brightness(1); }
  12%  { filter: brightness(2.2) drop-shadow(0 0 6px rgba(255,248,200,0.95)); }
  28%  { filter: brightness(1.1); }
  100% { filter: brightness(1); }
}

@keyframes slowZoom {
  from { transform: translate(-50%, -50%) scale(1); }
  to   { transform: translate(-50%, -50%) scale(1.08); }
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 768px) {
  .hero-video { display: none; }
  .hero { background: #0D1117 url("../images/hero-wood-background-mobile.jpg") center/cover no-repeat; }
  .headline { font-size: 2.2rem; }
  .scripture { font-size: 1.4rem !important; }
  header { padding: 12px 20px; }
  header.scrolled { padding: 8px 20px; }
  .section { padding: 54px 22px; }
  nav a { margin-left: 16px; font-size: 0.78rem; }
  .section-title { font-size: 1.8rem; }
  .buttons .btn { display: block; margin: 8px auto; max-width: 280px; }
  .page-hero { height: 240px; }
  .page-title { font-size: 2.8rem; }
  .flip-card { height: 380px; }
}
