* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f8fafc;
  color: #1f2937;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.store-hero {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  padding: 80px 0 70px;
  text-align: center;
}

.eyebrow {
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.store-hero h1 {
  font-size: 2.6rem;
  margin: 0 0 16px;
}

.hero-text {
  max-width: 760px;
  margin: 0 auto 26px;
  color: #dbeafe;
  font-size: 1.05rem;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  background: #2563eb;
  color: #fff;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
}

section {
  padding: 60px 0;
}

.store-intro {
  background: #ffffff;
}

.intro-box,
.author-box {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.store-categories {
  background: #eef2ff;
}

.store-categories h2,
.books-section h2,
.author-section h2,
.final-cta h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 2rem;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.category-list a {
  background: #fff;
  color: #1e3a8a;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  font-weight: 600;
}

.category-list a:hover {
  background: #dbeafe;
}

.alt-bg {
  background: #f1f5f9;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.book-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.book-info {
  padding: 20px;
}

.book-info h3 {
  margin: 8px 0 6px;
  font-size: 1.15rem;
}

.author {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.book-badge {
  display: inline-block;
  background: #f59e0b;
  color: #111827;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
}

.book-buttons {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.book-buttons a {
  text-decoration: none;
  background: #111827;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.book-buttons a:hover {
  background: #2563eb;
}

.author-section {
  background: #ffffff;
}

.final-cta {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  text-align: center;
}

.final-cta p {
  max-width: 760px;
  margin: 0 auto 20px;
  color: #cbd5e1;
}

@media (max-width: 768px) {
  .store-hero {
    padding: 64px 0 56px;
  }

  .store-hero h1 {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .store-categories h2,
  .books-section h2,
  .author-section h2,
  .final-cta h2 {
    font-size: 1.6rem;
  }
}