/* ============================================
   JO BROOKS | KILN CREEK MYSTERIES
   Base Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lora:ital,wght@0,400;0,500;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  /* Colors */
  --cream:        #F5ECD7;
  --cream-dark:   #EDD9B5;
  --cream-deeper: #E2C99A;
  --terracotta:   #C4622D;
  --terra-light:  #D4784A;
  --terra-dark:   #A04E22;
  --teal:         #2D6E6E;
  --teal-light:   #3D8E8E;
  --teal-dark:    #1E4E4E;
  --brown:        #3D2B1F;
  --brown-light:  #6B4C38;
  --gold:         #C49A3C;
  --gold-light:   #D4AA52;
  --warm-white:   #FDF8F0;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lora', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;
  --space-xxl: 10rem;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 80px;

  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(61, 43, 31, 0.12);
  --shadow-md: 0 4px 20px rgba(61, 43, 31, 0.18);
  --shadow-lg: 0 8px 40px rgba(61, 43, 31, 0.25);
  --shadow-book: 4px 4px 20px rgba(61, 43, 31, 0.35);

  /* Transitions */
  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
}

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

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

body {
  background-color: var(--cream);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  overflow-x: hidden;
}

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

a {
  color: var(--terracotta);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--brown);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p { margin-bottom: 1.2rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  font-style: italic;
  color: var(--brown-light);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: block;
  margin-bottom: 0.75rem;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section--lg {
  padding: var(--space-xxl) 0;
}

.section--teal {
  background-color: var(--teal);
  color: var(--cream);
}

.section--teal h1,
.section--teal h2,
.section--teal h3,
.section--teal h4 {
  color: var(--cream);
}

.section--teal .eyebrow {
  color: var(--gold-light);
}

.section--brown {
  background-color: var(--brown);
  color: var(--cream);
}

.section--brown h1,
.section--brown h2,
.section--brown h3 {
  color: var(--cream);
}

.section--cream-dark {
  background-color: var(--cream-dark);
}

.text-center { text-align: center; }
.text-left   { text-align: left; }

/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */

/* Paw print divider */
.divider {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--cream-deeper);
}

.divider--teal::before,
.divider--teal::after {
  background: rgba(245, 236, 215, 0.25);
}

.divider-icon {
  color: var(--terracotta);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Ornamental border top */
.ornament-top {
  position: relative;
}

.ornament-top::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold), var(--teal), var(--gold), var(--terracotta));
  margin-bottom: 0;
}

/* Texture overlay for sections */
.texture {
  position: relative;
}

.texture::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='none'/%3E%3Ccircle cx='1' cy='1' r='0.5' fill='rgba(61,43,31,0.04)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--terracotta);
  color: var(--warm-white);
  border-color: var(--terracotta);
}

.btn--primary:hover {
  background-color: var(--terra-dark);
  border-color: var(--terra-dark);
  color: var(--warm-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background-color: transparent;
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.btn--secondary:hover {
  background-color: var(--terracotta);
  color: var(--warm-white);
  transform: translateY(-2px);
}

.btn--teal {
  background-color: var(--teal);
  color: var(--cream);
  border-color: var(--teal);
}

.btn--teal:hover {
  background-color: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost-cream {
  background-color: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.btn--ghost-cream:hover {
  background-color: var(--cream);
  color: var(--brown);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--brown);
  height: var(--nav-height);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.nav__logo-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.nav__logo-series {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
}

.nav__links a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dark);
  text-decoration: none;
  transition: color var(--transition);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}

.nav__social {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--cream-dark);
  transition: all var(--transition);
}

.nav__social a:hover {
  color: var(--gold-light);
  background-color: rgba(255,255,255,0.08);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--cream);
  transition: all var(--transition);
}

/* ============================================
   NEWSLETTER BANNER (top of every page)
   ============================================ */
.newsletter-banner {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  padding: 0.75rem var(--space-md);
  text-align: center;
}

.newsletter-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
}

.newsletter-banner p {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--cream);
  margin: 0;
}

.newsletter-banner strong {
  color: var(--gold-light);
}

.newsletter-banner .btn {
  padding: 0.4rem 1.2rem;
  font-size: 0.75rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background-color: var(--cream);
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(196, 98, 45, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(45, 110, 110, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-style: italic;
  color: var(--brown-light);
  margin-bottom: var(--space-sm);
  line-height: 1.5;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  color: var(--brown);
}

.hero__title em {
  color: var(--terracotta);
  font-style: italic;
}

.hero__description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--brown-light);
  margin-bottom: var(--space-md);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  align-items: center;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Book stack display */
.book-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.book-stack__featured {
  position: relative;
  z-index: 3;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-book);
  transition: transform var(--transition-slow);
  width: 65%;
  margin: 0 auto;
}

.book-stack__featured:hover {
  transform: translateY(-8px) rotate(-1deg);
}

.book-stack__behind-left {
  position: absolute;
  left: 0;
  top: 10%;
  width: 45%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transform: rotate(-6deg);
  z-index: 1;
  opacity: 0.85;
}

.book-stack__behind-right {
  position: absolute;
  right: 0;
  top: 15%;
  width: 45%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transform: rotate(5deg);
  z-index: 2;
  opacity: 0.9;
}

/* Cat silhouette decoration */
.cat-decoration {
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-size: 5rem;
  opacity: 0.07;
  transform: scaleX(-1);
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   SERIES STRIP
   ============================================ */
.series-strip {
  background-color: var(--brown);
  padding: var(--space-md) 0;
  overflow: hidden;
}

.series-strip__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  text-align: center;
}

.series-strip p {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dark);
  margin: 0;
}

.series-strip strong {
  color: var(--gold-light);
}

/* ============================================
   BOOK GRID
   ============================================ */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-md);
}

.book-card {
  position: relative;
  transition: transform var(--transition);
}

.book-card:hover {
  transform: translateY(-6px);
}

.book-card__cover {
  width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-book);
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
}

.book-card__info {
  margin-top: 0.75rem;
}

.book-card__number {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: block;
}

.book-card__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.3;
  margin-top: 0.2rem;
}

.book-card__status {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--brown-light);
  margin-top: 0.25rem;
}

/* ============================================
   MONTY FEATURE SECTION
   ============================================ */
.monty-section {
  background-color: var(--teal);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.monty-section::before {
  content: '🐾';
  position: absolute;
  font-size: 18rem;
  opacity: 0.04;
  top: -2rem;
  right: -3rem;
  pointer-events: none;
}

.monty-section__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-xl);
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.monty-portrait {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background-color: rgba(245, 236, 215, 0.1);
  border: 3px solid rgba(245, 236, 215, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  flex-shrink: 0;
  box-shadow: 0 0 40px rgba(0,0,0,0.2);
}

.monty-section__content h2 {
  color: var(--cream);
  margin-bottom: var(--space-sm);
}

.monty-section__content p {
  color: rgba(245, 236, 215, 0.85);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
  background-color: var(--cream-dark);
  padding: var(--space-xl) 0;
  text-align: center;
}

.newsletter-section__inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.newsletter-section h2 {
  margin-bottom: var(--space-xs);
}

.newsletter-section .lead {
  margin-bottom: var(--space-md);
}

.newsletter-form {
  display: flex;
  gap: var(--space-xs);
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--cream-deeper);
  border-radius: var(--radius-sm);
  background-color: var(--warm-white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--brown);
  transition: border-color var(--transition);
  outline: none;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--terracotta);
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--brown-light);
  opacity: 0.6;
}

.newsletter-note {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--brown-light);
  margin-top: var(--space-sm);
  opacity: 0.75;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--brown);
  color: var(--cream-dark);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cream);
  font-weight: 700;
  display: block;
  margin-bottom: var(--space-xs);
}

.footer__brand-tagline {
  font-size: 0.9rem;
  color: var(--gold-light);
  font-style: italic;
  display: block;
  margin-bottom: var(--space-sm);
}

.footer__bio {
  font-size: 0.875rem;
  line-height: 1.7;
  opacity: 0.75;
  margin-bottom: var(--space-sm);
}

.footer__social {
  display: flex;
  gap: var(--space-xs);
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(245, 236, 215, 0.2);
  color: var(--cream-dark);
  transition: all var(--transition);
  font-size: 1rem;
}

.footer__social a:hover {
  background-color: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--cream);
  transform: translateY(-2px);
}

.footer__heading {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-sm);
  display: block;
}

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

.footer__links a {
  font-size: 0.875rem;
  color: var(--cream-dark);
  opacity: 0.75;
  transition: all var(--transition);
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--cream);
  opacity: 1;
  padding-left: 4px;
}

.footer__bottom {
  border-top: 1px solid rgba(245, 236, 215, 0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__copyright {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  opacity: 0.5;
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
}

.footer__legal a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--cream-dark);
  opacity: 0.5;
  transition: opacity var(--transition);
  text-decoration: none;
}

.footer__legal a:hover {
  opacity: 0.9;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-up {
  animation: fadeInUp 0.7s ease both;
}

.animate-fade-up--delay-1 { animation-delay: 0.15s; }
.animate-fade-up--delay-2 { animation-delay: 0.3s; }
.animate-fade-up--delay-3 { animation-delay: 0.45s; }
.animate-fade-up--delay-4 { animation-delay: 0.6s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__description {
    max-width: 100%;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .book-stack {
    max-width: 320px;
    margin: 0 auto;
  }

  .monty-section__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .monty-portrait {
    margin: 0 auto;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --space-xl: 4rem;
    --space-xxl: 6rem;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background-color: var(--brown);
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-sm);
    box-shadow: var(--shadow-md);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__toggle {
    display: flex;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .books-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
}

/* ============================================
   BOOK DETAIL PAGE
   ============================================ */
.book-detail {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-xl);
  align-items: start;
  padding: var(--space-xl) 0;
}

.book-detail__cover {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-book);
  width: 100%;
  position: sticky;
  top: calc(var(--nav-height) + var(--space-md));
}

.book-detail__meta {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--brown-light);
  margin-bottom: var(--space-sm);
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.book-detail__meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.book-detail__blurb {
  font-size: 1.1rem;
  line-height: 1.85;
  margin-bottom: var(--space-md);
}

.buy-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.buy-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.25rem;
  border: 1.5px solid var(--cream-deeper);
  border-radius: var(--radius-sm);
  background-color: var(--warm-white);
  color: var(--brown);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
}

.buy-link:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  background-color: rgba(196, 98, 45, 0.04);
  transform: translateX(4px);
}

.buy-link__retailer {
  font-weight: 600;
}

.buy-link__format {
  margin-left: auto;
  font-size: 0.75rem;
  opacity: 0.6;
}

@media (max-width: 760px) {
  .book-detail {
    grid-template-columns: 1fr;
  }

  .book-detail__cover {
    max-width: 240px;
    margin: 0 auto;
    position: static;
  }
}

/* ============================================
   NAV LOGO IMAGE UPDATE
   ============================================ */
.nav__logo img {
  height: 56px;
  width: 56px;
  border-radius: 50%;
  display: block;
  transition: opacity var(--transition);
}

.nav__logo img:hover {
  opacity: 0.88;
}
