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

:root {
  --ink:          #1a1208;
  --cream:        #faf6ef;
  --warm:         #f2ead8;
  --orange:       #e07820;
  --orange-dark:  #b85e10;
  --orange-light: #fef0e0;
  --navy:         #12203a;
  --navy-mid:     #1e3a5f;
  --muted:        #7a6e60;
  --border:       rgba(26,18,8,0.10);
  --card-bg:      #ffffff;
  --ff-serif: 'Playfair Display', Georgia, serif;
  --ff-sans:  'DM Sans', system-ui, sans-serif;
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --shadow-sm:  0 2px 8px rgba(26,18,8,0.07);
  --shadow-md:  0 8px 24px rgba(26,18,8,0.10);
  --shadow-lg:  0 16px 40px rgba(26,18,8,0.13);
  --transition: 0.22s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button {
  cursor: pointer;
  font-family: var(--ff-sans);
}

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

ul { list-style: none; }

/* ===== LAYOUT HELPERS ===== */
.bm-wrap {
  padding: 0 32px;
  padding-bottom: 48px;
}

/* ===== NAVBAR ===== */
.bm-nav {
  background: var(--navy);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 200;
  gap: 24px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.bm-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.bm-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #fff;
  font-family: var(--ff-serif);
  font-weight: 700;
  flex-shrink: 0;
}

.bm-logo-text {
  font-family: var(--ff-serif);
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.bm-logo-text span { color: var(--orange); }

.bm-nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.bm-nav-links li a {
  color: rgba(255,255,255,0.65);
  font-size: 13.5px;
  font-weight: 400;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  display: block;
}

.bm-nav-links li a:hover {
  color: #fff;
  background: rgba(255,255,255,0.07);
}

.bm-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.bm-search-bar {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 22px;
  padding: 7px 16px 7px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 210px;
  transition: border-color var(--transition), background var(--transition);
}

.bm-search-bar:focus-within {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}

.bm-search-bar i {
  color: rgba(255,255,255,0.45);
  font-size: 15px;
  flex-shrink: 0;
}

.bm-search-bar input {
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  font-family: var(--ff-sans);
  width: 100%;
}

.bm-search-bar input::placeholder {
  color: rgba(255,255,255,0.3);
}

.bm-nav-icon {
  color: rgba(255,255,255,0.7);
  font-size: 22px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}

.bm-nav-icon:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.bm-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--orange);
  color: #fff;
  font-size: 9px;
  font-weight: 500;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--navy);
  line-height: 1;
}

.bm-hamburger {
  display: none;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 22px;
  padding: 6px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
}

.bm-hamburger:hover { color: #fff; }

/* Mobile nav drawer */
.bm-mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--navy);
  z-index: 300;
  transition: right 0.3s ease;
  padding: 0;
  box-shadow: -4px 0 24px rgba(0,0,0,0.3);
}

.bm-mobile-nav.open { right: 0; }

.bm-mobile-nav-inner {
  padding: 24px;
}

.bm-mobile-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 22px;
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  margin-left: auto;
}

.bm-mobile-nav ul { list-style: none; }

.bm-mobile-nav ul li {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.bm-mobile-nav ul li a {
  display: block;
  padding: 14px 4px;
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition: color var(--transition);
}

.bm-mobile-nav ul li a:hover { color: #fff; }

.bm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 250;
}

.bm-overlay.open { display: block; }

/* ===== HERO ===== */
.bm-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #2a4a72 100%);
  padding: 72px 32px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  min-height: 440px;
  position: relative;
  overflow: hidden;
}

.bm-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: 40%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(224,120,32,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.bm-hero-content {
  padding-bottom: 56px;
}

.bm-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(224,120,32,0.18);
  border: 1px solid rgba(224,120,32,0.32);
  color: #f0a040;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 22px;
}

.bm-hero-title {
  font-family: var(--ff-serif);
  font-size: 46px;
  color: #fff;
  line-height: 1.13;
  font-weight: 700;
  margin-bottom: 18px;
}

.bm-hero-title em {
  font-style: italic;
  color: var(--orange);
}

.bm-hero-sub {
  color: rgba(255,255,255,0.58);
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 30px;
  font-weight: 300;
  max-width: 420px;
}

.bm-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.bm-hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.09);
}

.bm-stat-num {
  font-family: var(--ff-serif);
  font-size: 26px;
  color: #fff;
  font-weight: 700;
  line-height: 1;
}

.bm-stat-label {
  font-size: 11.5px;
  color: rgba(255,255,255,0.42);
  margin-top: 4px;
  letter-spacing: 0.3px;
}

/* Hero visual */
.bm-hero-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bm-book-stack {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.bm-hero-book {
  border-radius: 5px 10px 10px 5px;
  box-shadow: -4px 6px 24px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition);
  position: relative;
}

.bm-hero-book:hover {
  transform: translateY(-14px) rotate(-1.5deg);
}

.bm-hero-book-title {
  font-family: var(--ff-serif);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 6px;
}

.bm-hero-book-pub {
  font-size: 8.5px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.8px;
}

.bm-book-badge-hero {
  position: absolute;
  top: -11px;
  right: -10px;
  background: var(--orange);
  color: #fff;
  font-size: 9px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 12px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

/* ===== CATEGORY STRIP ===== */
.bm-categories {
  background: var(--warm);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.bm-categories::-webkit-scrollbar { display: none; }

.bm-cat-item {
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  border: none;
  border-bottom: 2.5px solid transparent;
  background: none;
  font-family: var(--ff-sans);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color var(--transition), border-color var(--transition);
}

.bm-cat-item i { font-size: 15px; }

.bm-cat-item.active,
.bm-cat-item:hover {
  color: var(--orange-dark);
  border-bottom-color: var(--orange);
}

/* ===== SECTIONS ===== */
.bm-section {
  padding: 56px 32px;
}

.bm-section-alt {
  background: var(--warm);
}

.bm-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 30px;
}

.bm-section-title {
  font-family: var(--ff-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
}

.bm-section-title::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

.bm-view-all {
  font-size: 13.5px;
  color: var(--orange-dark);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.bm-view-all:hover { gap: 8px; }

/* ===== BOOK CARDS ===== */
.bm-books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.bm-book-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.bm-book-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.bm-book-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  text-align: center;
}

.bm-book-cover-title {
  font-family: var(--ff-serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #fff;
}

.bm-book-cover-pub {
  font-size: 9.5px;
  color: rgba(255,255,255,0.58);
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.bm-book-info {
  padding: 14px 16px 16px;
}

.bm-book-publisher {
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.bm-book-title {
  font-family: var(--ff-serif);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}

.bm-book-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bm-book-price {
  font-size: 16px;
  font-weight: 500;
  color: var(--orange-dark);
  line-height: 1;
}

.bm-book-price span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}

.bm-stars {
  color: #f59e0b;
  font-size: 11px;
  letter-spacing: 1px;
  margin-top: 3px;
}

.bm-add-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--orange-light);
  border: none;
  color: var(--orange-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition), transform 0.1s;
}

.bm-add-btn:hover {
  background: var(--orange);
  color: #fff;
}

.bm-add-btn:active {
  transform: scale(0.92);
}

/* Badges */
.bm-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  color: #fff;
  z-index: 1;
}

.bm-badge-new { background: var(--navy); }
.bm-badge-sale { background: #dc2626; }

/* ===== BUTTONS ===== */
.bm-btn-primary {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-sans);
  transition: background var(--transition), transform 0.1s;
}

.bm-btn-primary:hover { background: var(--orange-dark); }
.bm-btn-primary:active { transform: scale(0.98); }

.bm-btn-lg {
  padding: 14px 30px;
  font-size: 15px;
  border-radius: var(--radius-md);
  white-space: nowrap;
}

.bm-btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  font-family: var(--ff-sans);
  transition: border-color var(--transition), color var(--transition);
}

.bm-btn-ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}

/* ===== FEATURED BANNER ===== */
.bm-featured-banner {
  background: var(--navy);
  border-radius: 18px;
  padding: 48px 52px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.bm-featured-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 60%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(224,120,32,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.bm-featured-eyebrow {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 14px;
}

.bm-featured-title {
  font-family: var(--ff-serif);
  font-size: 30px;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.bm-featured-sub {
  color: rgba(255,255,255,0.52);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 28px;
  max-width: 420px;
}

.bm-featured-books-row {
  display: flex;
  gap: 14px;
  align-items: flex-end;
}

.bm-fb-card {
  border-radius: 5px 10px 10px 5px;
  box-shadow: -3px 4px 18px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.bm-fb-card:hover { transform: translateY(-10px); }

.bm-fb-title {
  font-family: var(--ff-serif);
  font-size: 9.5px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.35;
}

/* ===== REQUEST A BOOK ===== */
.bm-request {
  background: #fdf4ea;
  border: 1px solid rgba(224,120,32,0.18);
  border-radius: 16px;
  padding: 44px 52px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.bm-request-eyebrow {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--orange-dark);
  font-weight: 500;
  margin-bottom: 10px;
}

.bm-request-title {
  font-family: var(--ff-serif);
  font-size: 24px;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.25;
}

.bm-request-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ===== FOOTER ===== */
.bm-footer {
  background: var(--navy);
  margin-top: 56px;
}

.bm-footer-inner {
  padding: 56px 32px 28px;
}

.bm-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.bm-footer-brand p {
  color: rgba(255,255,255,0.42);
  font-size: 13.5px;
  line-height: 1.75;
  margin-top: 16px;
  font-weight: 300;
}

.bm-footer-newsletter {
  display: flex;
  margin-top: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.13);
}

.bm-footer-newsletter input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 13px;
  color: #fff;
  font-family: var(--ff-sans);
}

.bm-footer-newsletter input::placeholder {
  color: rgba(255,255,255,0.28);
}

.bm-footer-newsletter button {
  background: var(--orange);
  border: none;
  padding: 10px 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--ff-sans);
  transition: background var(--transition);
  flex-shrink: 0;
}

.bm-footer-newsletter button:hover {
  background: var(--orange-dark);
}

.bm-footer-col h3 {
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.bm-footer-col ul li {
  margin-bottom: 10px;
}

.bm-footer-col ul li a {
  color: rgba(255,255,255,0.38);
  font-size: 13.5px;
  font-weight: 300;
  transition: color var(--transition);
}

.bm-footer-col ul li a:hover {
  color: rgba(255,255,255,0.78);
}

.bm-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.bm-footer-bottom p {
  color: rgba(255,255,255,0.28);
  font-size: 12.5px;
}

.bm-footer-bottom span {
  color: var(--orange);
}

.bm-heart { color: #e53e3e; }

/* ===== TOAST ===== */
.bm-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 400;
  pointer-events: none;
  border-left: 3px solid var(--orange);
}

.bm-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.bm-toast i {
  color: #4ade80;
  font-size: 17px;
}

/* ===== BOOK COVER COLOURS ===== */
.bc-blue   { background: linear-gradient(145deg, #1e3a5f, #2d5490); }
.bc-teal   { background: linear-gradient(145deg, #0f5040, #1a7a62); }
.bc-red    { background: linear-gradient(145deg, #8b1a1a, #c02828); }
.bc-amber  { background: linear-gradient(145deg, #7a4010, #b85e18); }
.bc-purple { background: linear-gradient(145deg, #3a2d7a, #5a46c2); }
.bc-green  { background: linear-gradient(145deg, #1a4a1a, #2e7a2e); }

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

.bm-hero-content {
  animation: fadeUp 0.6s ease both;
}

.bm-hero-visual {
  animation: fadeUp 0.6s 0.15s ease both;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .bm-books-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bm-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .bm-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .bm-nav-links { display: none; }
  .bm-search-bar { display: none; }
  .bm-hamburger { display: flex; }

  .bm-hero {
    grid-template-columns: 1fr;
    padding: 48px 24px 0;
    text-align: center;
  }

  .bm-hero-title { font-size: 34px; }

  .bm-hero-sub { margin: 0 auto 28px; }

  .bm-hero-ctas { justify-content: center; }

  .bm-hero-stats { justify-content: center; }

  .bm-hero-visual {
    justify-content: center;
    padding-bottom: 0;
  }

  .bm-hero-book { cursor: default; }
  .bm-hero-book:hover { transform: none; }

  .bm-section,
  .bm-wrap,
  .bm-nav {
    padding-left: 20px;
    padding-right: 20px;
  }

  .bm-featured-banner,
  .bm-request {
    grid-template-columns: 1fr;
    padding: 32px 28px;
    margin: 0 20px;
  }

  .bm-featured-books-row { display: none; }

  .bm-request .bm-btn-lg { width: 100%; justify-content: center; }

  .bm-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bm-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .bm-books-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .bm-hero-title { font-size: 28px; }

  .bm-hero-stats { gap: 20px; }

  .bm-book-stack { gap: 7px; }

  .bm-hero-book { padding: 10px 8px; }

  .bm-section { padding: 36px 20px; }

  .bm-categories { padding: 0 20px; }
}

@media (max-width: 400px) {
  .bm-books-grid {
    grid-template-columns: 1fr;
  }
}
