/* ============================================================
   OLAPA'S BLUE — Version 3 — Pixel-Perfect Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=EB+Garamond:ital,wght@0,400;0,500;1,400&family=Montserrat:wght@300;400;500;600&family=Pinyon+Script&display=swap');

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

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

body {
  color: #EDE8DC;
  font-family: 'EB Garamond', Georgia, serif;
  min-height: 100%;
  overflow-x: hidden;
  background: url(../images/11.png)center/cover;
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul {
  list-style: none;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: 72px;
  background: rgba(8, 18, 38, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #C9A84C;
  display: flex;
  align-items: center;
}

.nav-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo uses Pinyon Script — the italic script gold font */


.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #C8C0B0;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.18s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C9A84C;
  transition: width 0.18s ease;
}

.nav-links a:hover {
  color: #C9A84C;
}

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

.nav-links a.active {
  color: #C9A84C;
  font-weight: 500;
}

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

.nav-buy {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #C9A84C;
  border: 1.5px solid #C9A84C;
  padding: 10px 24px;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.nav-buy:hover {
  background: rgba(201, 168, 76, 0.14);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #C9A84C;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Full-bleed background image */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: top right;
  z-index: 0;
}

/* Left-heavy dark gradient overlay */
/* .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(8, 18, 38, 0.92) 0%,
      rgba(8, 18, 38, 0.70) 48%,
      rgba(8, 18, 38, 0.18) 100%);
  z-index: 1;
} */

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 42px;
  padding-top: 108px;
  padding-bottom: 92px;
  display: grid;
  grid-template-columns: 1.05fr minmax(360px, 520px);
  align-items: center;
  gap: 0;
  min-height: 100vh;
}

/* LEFT: text block */
.hero-text {
  max-width: 520px;
}

/* Eyebrow: "Historical Fiction · 1862 Kentucky" */
.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: #C8A96E;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.15s forwards;
}

/* H1: "Some paths are hidden in plain sight." */
.hero-h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 58px;
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: #EDE8DC;
  margin-bottom: 6px;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.3s forwards;
}

/* Italic gold tagline */
.hero-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 52px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.15;
  color: #C9A84C;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.42s forwards;
}

/* Small star divider between tagline and body */
.hero-star-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.52s forwards;
}

.hero-star-divider .divider-line {
  width: 48px;
  height: 1px;
  background: rgba(201, 168, 76, 0.45);
}

/* Body paragraph */
.hero-body {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.78;
  color: #BFD0DC;
  margin-bottom: 36px;
  max-width: 470px;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.62s forwards;
}

/* Buttons row */
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.72s forwards;
}

/* Primary gold-filled button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 28px;
  background: linear-gradient(135deg, #B88724 0%, #C9A84C 50%, #B88724 100%);
  border: 1px solid #C9A84C;
  border-radius: 6px;
  color: #081226ed;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: box-shadow 0.25s, filter 0.25s, transform 0.25s;
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(201, 168, 76, 0.45);
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* Secondary outlined button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(8, 18, 38, 0.6);
  border: 1.5px solid rgba(201, 168, 76, 0.75);
  border-radius: 6px;
  color: #C9A84C;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.btn-outline:hover {
  background: rgba(201, 168, 76, 0.12);
  border-color: #C9A84C;
  transform: translateY(-1px);
}

.btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Subline: sparkle + italic text */
.hero-subline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 16px;
  color: #D0B579;
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.82s forwards;
}

/* RIGHT: book cover */
.hero-book {
  opacity: 0;
  animation: fadeIn 0.9s ease-out 0.45s forwards;
}

.hero-book img {
  filter: drop-shadow(0 30px 90px rgba(0, 0, 0, 0.75)) drop-shadow(0 6px 28px rgba(0, 0, 0, 0.45));
  animation: floatBook 3.5s ease-in-out infinite;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes floatBook {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes starGlow {
  0% {
    filter: drop-shadow(0 0 3px rgba(201, 168, 76, 0.3));
  }

  100% {
    filter: drop-shadow(0 0 12px rgba(201, 168, 76, 0.75));
  }
}

/* ============================================================
   SECTION: WHY READERS WILL REMEMBER OLAPA
   ============================================================ */
.section-why {
  padding: 2rem 0 2rem;
  position: relative;
}

/* Subtle dark texture overlay from image 8 */
.section-why::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/8.png');
  background-size: cover;
  background-position: center;
  opacity: 0.24;
  pointer-events: none;
}

.section-why .inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 42px;
}

/* Section heading row with → ——◆—— ← */
.why-heading-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.25rem;
}

.why-ornament {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9A7A35;
}

.why-ornament .arr {
  font-size: 16px;
  color: #9A7A35;
  font-family: Georgia, serif;
  line-height: 1;
}

.why-ornament .orn-line {
  width: 52px;
  height: 1px;
  background: linear-gradient(to right, transparent, #6B5210);
}

.why-ornament-right .orn-line {
  background: linear-gradient(to left, transparent, #6B5210);
}

.why-ornament .orn-diamond {
  width: 8px;
  height: 8px;
  background: #9A7A35;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.why-h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  color: #C9A84C;
  text-align: center;
  padding: 0 26px;
  white-space: nowrap;
}

/* 3-column cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 18px 40px rgba(0, 0, 0, 0.18);
  border-radius: 18px;
  padding: 42px 32px 38px;
  text-align: center;
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}

.card:hover {
  border-color: rgba(201, 168, 76, 0.72);
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 22px 48px rgba(0, 0, 0, 0.2);
}

/* .card-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 42%, rgba(201, 168, 76, 0.16), transparent 52%);
} */

.card-icon-wrap img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin: auto;
}

/* For the lantern card — use consistent icon rendering */
.card-icon-wrap img.icon-lantern {
  filter: drop-shadow(0 0 18px rgba(201, 168, 76, 0.45));
}

.card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  color: #C9A84C;
  margin-bottom: 10px;
}

.card-body {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: #ffffff;
}

/* ============================================================
   SECTION: ABOUT THE BOOK
   ============================================================ */
.section-about {
  overflow: hidden;
  padding: 76px 0 94px;
  position: relative;
  background-position: center;
  background-size: cover;
}

/* .section-about:before {
  content: "";
  position: absolute;
  background: #081226ed;
  inset: 0;
  z-index: 1;
  opacity: 65%;
} */

.section-about .inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 42px;
}

.about-grid {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 520px;
  gap: 34px;
  align-items: center;
}

/* Left: text side */
.about-text {
  padding: 72px 0;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.18;
  color: #C9A84C;
  margin-bottom: 18px;
}

.about-divider {
  margin-bottom: 24px;
}


.about-divider img {
  width: 50%;
}

.about-div-line {
  width: 50px;
  height: 1px;
  background: rgba(201, 168, 76, 0.42);
}

.about-divider-star {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-divider-star svg {
  width: 18px;
  height: 18px;
}

.about-body {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.78;
  color: #ffffff;
  max-width: 510px;
}

.about-image {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 20px 48px rgba(0, 0, 0, 0.35);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Right: full-bleed quilt image */
.about-image {
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}

/* ============================================================
   SECTION: PULL QUOTE
   ============================================================ */
.section-quote {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.quote-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/6.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* .quote-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 38, 0.62);
  z-index: 1;
} */

.quote-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Star + hairlines ornament above/below */
.quote-star-ornament {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.quote-star-ornament .q-line {
  width: 50px;
  height: 1px;
  background: rgba(201, 168, 76, 0.35);
}

.quote-star-ornament-bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.quote-star-ornament-bottom .q-line {
  width: 50px;
  height: 1px;
  background: rgba(201, 168, 76, 0.35);
}

.quote-inner img {
  width: 50%;
}

.pull-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 52px;
  font-weight: bold;
  font-style: italic;
  line-height: 1.2;
  color: #C9A84C;
  max-width: 620px;
  margin: 1rem 0;
}

/* ============================================================
   SECTION: MEET THE AUTHOR
   ============================================================ */
.section-author {
  padding: 3rem 0;
  border-top: 1px solid rgba(180, 140, 50, 0.1);
  background-position: center;
  background-size: cover;
}

.author-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
}

/* Ornate frame image */
.author-frame-img {
  width: 300px;
  flex-shrink: 0;
}

/* .author-frame-img img {
  width: 190px;
  height: auto;
  filter: drop-shadow(0 4px 24px rgba(201, 168, 76, 0.25));
} */

/* Author text block */
.author-text {
  max-width: 420px;
}

.author-label {
  font-size: 26px;
  letter-spacing: 0.12em;
  color: #C9A84C;
  margin-bottom: 6px;
  font-weight: 500;
}

.author-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #EDE8DC;
  margin-bottom: 10px;
}

/* Star divider below name */
.author-name-divider {
  margin-bottom: 18px;
}

.author-name-divider img {
  width: 70%;
}

.author-div-line {
  width: 40px;
  height: 1px;
  background: rgba(201, 168, 76, 0.35);
}

.author-bio {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.52;
  color: #ffffff;
  max-width: 380px;
}

/* ============================================================
   SECTION: CTA BAND
   ============================================================ */
.section-cta {
  position: relative;
  padding: 4rem 0px;
  overflow: hidden;
  background: url(../images/9.png)center/cover;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/9.png');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 38, 0.52);
  z-index: 1;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-star-div img {
  width: 60%;
  margin: auto;
}

.cta-h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 60px;
  font-weight: 500;
  line-height: 1.15;
  color: #C9A84C;
  margin-bottom: 0;
  font-weight: bold;
}

.cta-star-div {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
}

.cta-star-div .c-line {
  width: 44px;
  height: 1px;
  background: rgba(201, 168, 76, 0.35);
}

.cta-subline {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  color: #ffffff;
  margin-bottom: 1rem;
}

/* Big gold CTA button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 210px;
  padding: 20px 36px;
  background: linear-gradient(135deg, #B8882A 0%, #C9A84C 50%, #B8882A 100%);
  border: 1px solid #C9A84C;
  border-radius: 4px;
  color: #081226ed;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 4px 28px rgba(201, 168, 76, 0.42);
  transition: box-shadow 0.25s, filter 0.25s;
}

.btn-cta:hover {
  box-shadow: 0 6px 36px rgba(201, 168, 76, 0.65);
  filter: brightness(1.1);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #080F1E;
  border-top: 1px solid rgba(180, 140, 50, 0.10);
  padding: 24px 48px;
  text-align: center;
}

.footer p {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #3A4A62;
  text-transform: uppercase;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 {
  transition-delay: 0.10s;
}

.reveal-d2 {
  transition-delay: 0.22s;
}

.reveal-d3 {
  transition-delay: 0.34s;
}

.mainNav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.bannerLine img {
  width: 80%;
  margin-bottom: 1rem;
}

.innerBanner {
  background: url(../images/8.png)center/cover;
  height: 500px;
  display: flex;
  align-items: center;
}

.innerBanner h2 {
  text-align: center;
  width: 100%;
  font-size: 4rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.authorInner .author-text {
  max-width: 550px;
}

.authorInner .author-text p {
  max-width: max-content;
  line-height: 2;
}

.quote-slider {
  width: 100%;
  padding: 50px 0;
}

.section-quote .swiper-button-next:after,
.section-quote .swiper-button-prev:after {
  color: #C9A84C;
  font-size: 18px;
  font-weight: bold;
}

.section-quote .swiper-button-prev {
  left: 20%;
}

.section-quote .swiper-button-next {
  right: 20%;
}

.shopSect .inner {
  display: flex;
  gap: 8rem;
}

.shopLeft {
  width: 300px;
}

.shopLeft h2 {
  font-family: 'Cormorant Garamond';
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.shopLeft ul li a {
  font-family: 'Cormorant Garamond';
  font-size: 20px;
}

.shopLeft ul li+li {
  margin-top: 12px;
}

.shopRight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.shopRight a h2 {
  font-family: 'Cormorant Garamond';
  margin-bottom: 10px;
}

.shopSect,
.detailInner {
  padding: 6rem 0;
}

.detailInner .inner {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.detailLeft {
  width: 500px;
}

.detailRight {
  flex: 1;
}

.detailRight h2,
.shelfDetails h2 {
  font-family: 'Cormorant Garamond';
  font-size: 3rem;
}

.detailRight ul {
  display: flex;
  gap: 4px;
  margin: 1rem 0;
}

.detailRight ul li {
  font-size: 12px;
}

.detailRight p,
.shelfDetails p {
  line-height: 1.75;
  font-size: 18px;
}

.detailRight span {
  font-size: 24px;
  margin: 1rem 0;
  display: block;
}

.quantity-container {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ffffff;
  overflow: hidden;
  border-radius: 50px;
  width: fit-content;
}

.qty-btn {
  background-color: transparent;
  border: none;
  padding: 16px 1.5rem;
  cursor: pointer;
  font-size: 1.125rem;
  user-select: none;
  transition: background 0.3s;
  outline: unset !important;
  box-shadow: unset;
  color: #ffffff;
}

.qty-btn:hover {
  background-color: transparent;
}

.qty-input {
  width: 50px;
  text-align: center;
  border: none;
  font-size: 1rem;
  outline: none;
  background: transparent;
  color: #ffffff;
}

.detailBtns {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.shelfDetails ul li h5 span select {
  border: unset;
  background: transparent;
  outline: unset !important;
  width: 140px;
  color: white;
}

.shelfDetails ul li h5 span select option {
  color: black;
}

.shelfDetails ul li h5 {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 500;
  gap: 3rem;
  text-transform: capitalize;
}

.detailBtns h3 {
  font-size: 24px;
  font-weight: 500;
}

.shelfDetails ul li h5 span {
  font-size: 20px;
  font-weight: 400;
}

.shelfDetails ul li a {
  height: 45px;
  width: 130px;
}

.shelfDetails ul li h5 strong {
  font-size: 30px;
  font-weight: 400;
}

.shelfDetails ul li h5 small {
  width: 190px;
}

.shelfDetails ul li {
  margin-top: 1.25em;
}

.shelfDetails ul {
  margin-bottom: 1.25rem;
}

.shelfDetails .detailBtns {
  gap: 9rem;
}

.shelfDetails p {
  margin: 1rem 0 1.5rem 0;
  width: 90%;
}

.selftInner .detailLeft {
  width: 800px;
}

[class^=box-] {
  display: none;
}

[class^=box-].showfirst {
  display: block;
}

.tabsPack {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.tabsPack a {
  font-size: 2rem;
  font-family: 'Cormorant Garamond';
}

.tabContent p {
  line-height: 1.75;
  font-size: 18px;
  margin-bottom: 1rem;
}

.tabsSec {
  padding-bottom: 100px;
}

.detailInner:before,
.tabsSec:before{
  background: unset;
}

/* ============================================================
   RESPONSIVE — TABLET ≤ 1099px
   ============================================================ */
@media (max-width: 1099px) {
  .nav-inner {
    padding: 0 32px;
  }

  .hero-content {
    padding: 0 32px;
    padding-top: 90px;
    padding-bottom: 60px;
    gap: 24px;
  }

  .hero-h1 {
    font-size: 44px;
  }

  .hero-tagline {
    font-size: 38px;
  }

  .hero-book img {
    width: 300px;
  }

  .why-h2 {
    font-size: 28px;
    white-space: normal;
  }

  .section-why .inner {
    padding: 0 32px;
  }

  .about-text {
    padding: 56px 32px;
  }

  .author-inner {
    padding: 0 32px;
    gap: 36px;
  }

  .author-name {
    font-size: 40px;
  }

  .cta-h2 {
    font-size: 40px;
  }

  .pull-quote {
    font-size: 30px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE ≤ 767px
   ============================================================ */
@media (max-width: 767px) {
  .nav-inner {
    padding: 0 20px;
  }

  /* Show hamburger, hide links + buy */
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(8, 18, 38, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid rgba(180, 140, 50, 0.2);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 13px 20px;
  }

  .nav-buy {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Hero: single column, no book */
  .hero-content {
    grid-template-columns: 1fr;
    padding: 0 20px;
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: 100svh;
  }

  .hero-book {
    display: none;
  }

  .hero-h1 {
    font-size: 36px;
  }

  .hero-tagline {
    font-size: 30px;
  }

  .hero-body {
    font-size: 15.5px;
  }

  /* Cards: single column */
  .section-why {
    padding: 56px 0 60px;
  }

  .section-why .inner {
    padding: 0 20px;
  }

  .why-heading-row {
    flex-wrap: wrap;
    gap: 4px;
  }

  .why-h2 {
    font-size: 24px;
    white-space: normal;
    text-align: center;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* About: stack */
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 260px;
    order: -1;
  }

  .about-image img {
    object-position: center;
  }

  .about-text {
    padding: 48px 20px;
  }

  .about-h2 {
    font-size: 30px;
  }

  /* Quote */
  .section-quote {
    padding: 72px 0;
  }

  .pull-quote {
    font-size: 24px;
  }

  /* Author */
  .section-author {
    padding: 56px 0;
  }

  .author-inner {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
    gap: 28px;
  }

  .author-name {
    font-size: 36px;
  }

  .author-name-divider {
    justify-content: center;
  }

  .author-bio {
    font-size: 15.5px;
  }

  /* CTA */
  .section-cta {
    padding: 72px 0 80px;
  }

  .cta-h2 {
    font-size: 34px;
  }

  .cta-subline {
    font-size: 16px;
  }

  /* Footer */
  .footer {
    padding: 22px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}



.preorder-popup {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.preorder-popup.active {
    display: flex;
}

.popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
}

.popup-box {
    position: relative;
    background: #fff;
    width: 500px;
    max-width: 90%;
    padding: 3rem 2rem;
    border-radius: 15px;
    z-index: 2;
}

.popup-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
}

.popup-close {
    position: absolute;
    right: 15px;
    top: 10px;
    border: 0;
    background: none;
    font-size: 28px;
    cursor: pointer;
}

.popup-box h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.15;
    color: #C9A84C;
    margin-bottom: 1rem;
}

.popup-box h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.15;
    color: #C9A84C;
    margin-bottom: 1rem;
}

.popup-box .submitBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 3em;
    background: linear-gradient(135deg, #B8882A 0%, #C9A84C 50%, #B8882A 100%);
    border: 1px solid #C9A84C;
    border-radius: 4px;
    color: #081226ed;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.08em;
    cursor: pointer;
    box-shadow: 0 4px 28px rgba(201, 168, 76, 0.42);
    transition: box-shadow 0.25s, filter 0.25s;
}

div#thankYouMsg p {
    color: black;
    font-size: 20px;
}