.ashwick-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  padding: 4rem 4%;
  background: #f8f4eb;
}

.ashwick-sidebar {
  position: sticky;
  top: 2rem;
  align-self: start;
  padding: 2rem;
}

.ashwick-sidebar h1 {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  color: #3f5e32;
  margin: .5rem 0 1rem;
}

.ashwick-sidebar p {
  line-height: 1.7;
}

.side-link {
  display: block;
  margin-top: 1rem;
  padding: 1rem;
  text-decoration: none;
  color: #222;
  border-bottom: 1px solid #d8cbb8;
}

.side-link.active,
.side-link:hover {
  background: #eee4d3;
}

.map-frame {
  position: relative;
  background: #efe4d2;
  padding: .75rem;
  box-shadow: 0 15px 40px rgba(0,0,0,.15);
}

.map-frame img {
  width: 100%;
  display: block;
}

.map-pin {
    position: absolute;
    width: 18px;
    height: 18px;
    background: #b01818;
    border: 3px solid #ffffff;
    border-radius: 50%;
    cursor: default;
    transform: translate(-50%, -50%);
    transition: transform .15s ease;
}

.map-pin:hover {
    transform: translate(-50%, -50%) scale(1.15);
}

.reading-order,
.locations-section,
.newsletter-section {
  margin-top: 4rem;
}

.reading-order h2,
.locations-section h2,
.newsletter-section h2 {
  font-family: "Playfair Display", serif;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ==========================
   READING ORDER SCROLLER
========================== */

.book-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(245px, 290px);
  gap: 3rem;

  margin-top: 2.5rem;
  padding: 0 0 1.75rem;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.book-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  scroll-snap-align: start;
}

/* ==========================
   BOOK BADGES
========================== */

.book-badge-row {
  height: 2rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.cover-badge {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 5px 14px rgba(0,0,0,.18);
}

.cover-badge.coming-soon {
  background: #3f5e32;
}

.cover-badge.special {
  background: #c59b45;
}

/* ==========================
   BOOK COVERS
========================== */

.book-cover-wrap {
  position: relative;
}

.book-cover-wrap img,
.book-placeholder {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.book-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 1rem;

  background: #fffaf2;
  border: 1px solid #e2d6c4;

  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  line-height: 1.25;
  text-align: center;
  color: #666666;
}

/* ==========================
   BOOK ACTION BUTTONS
========================== */

.book-actions {
  display: flex;
  gap: .75rem;
  margin: 1rem 0 1.5rem;
}

.book-actions .btn {
  flex: 1;
  min-height: 3rem;
  padding: .85rem .75rem;
  border: 0;
  box-shadow: 0 7px 18px rgba(0,0,0,.12);

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 800;
  font-size: .76rem;
  letter-spacing: .04em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;

  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.book-actions .btn:hover,
.book-actions .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.16);
}

.btn-buy {
  background: #b40000;
  color: #ffffff;
}

.btn-buy:hover,
.btn-buy:focus-visible {
  background: #8e0000;
}

.btn-view {
  background: #fffaf2;
  color: #222222;
  border: 1px solid #cfc5b6;
}

.btn-view:hover,
.btn-view:focus-visible {
  background: #efe8dc;
}

.btn-notify {
  background: #3f5e32;
  color: #ffffff;
}

.btn-notify:hover,
.btn-notify:focus-visible {
  background: #314b27;
}

/* ==========================
   BOOK TEXT
========================== */

.book-content {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.book-card h3 {
  font-family: "Playfair Display", serif;
  margin: 0 0 .35rem;
  font-size: 1.65rem;
  line-height: 1.08;
}

.book-card p {
  margin: 0 0 1rem;
  font-size: .95rem;
  line-height: 1.55;
}

.book-card p strong {
  display: block;
  margin-bottom: .45rem;
  font-size: 1rem;
}

.book-load-error {
  padding: 1.5rem;
  background: #fffaf2;
  border: 1px solid #e2d6c4;
}

/* ==========================
   LOCATIONS
========================== */

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.location-grid article {
  background: #fffaf2;
  padding: 1.5rem;
  border: 1px solid #e2d6c4;
}

.location-grid h3 {
  font-family: "Playfair Display", serif;
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 1000px) {
  .ashwick-layout {
    grid-template-columns: 1fr;
  }

  .ashwick-sidebar {
    position: static;
  }

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

@media (max-width: 700px) {
  .ashwick-layout {
    padding: 3rem 1.5rem;
  }

  .ashwick-sidebar {
    padding: 1rem 0;
  }

  .ashwick-sidebar h1 {
    font-size: 3rem;
  }

  .book-row {
    grid-auto-columns: minmax(220px, 78vw);
    gap: 1.5rem;
  }

  .book-actions {
    gap: .5rem;
  }

  .book-actions .btn {
    font-size: .72rem;
    padding: .8rem .55rem;
  }


}
