/* Best Seller page only */

.best-page {
  position: relative;
}

.best-hero {
  padding-top: 56px;
  padding-bottom: 34px;
}

.best-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.best-hero-copy,
.best-hero-side {
  min-width: 0;
}

.best-hero-copy {
  padding: clamp(28px, 4vw, 42px);
  border-radius: 30px;
  border: 1px solid rgba(79, 60, 10, 0.10);
  background:
    radial-gradient(circle at top right, rgba(255, 218, 92, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,248,223,0.95));
  box-shadow: 0 18px 44px rgba(110, 87, 18, 0.12);
}

.best-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.best-hero-desc {
  margin: 18px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.04rem;
}

.best-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.best-hero-side {
  display: grid;
  gap: 14px;
}

.hero-point {
  padding: 22px 22px 20px;
  border-radius: 24px;
  border: 1px solid rgba(79, 60, 10, 0.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,243,205,0.92));
  box-shadow: 0 12px 26px rgba(110, 87, 18, 0.08);
}

.hero-point-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff1b2, #f2c200);
  color: #33280b;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.hero-point h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.3;
}

.hero-point p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.best-section {
  padding-top: 20px;
}

.best-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: end;
  gap: 18px 30px;
  margin-bottom: 32px;
}

.best-section-head .section-title {
  max-width: 16ch;
  margin-bottom: 0;
  font-size: clamp(2.35rem, 4vw, 3.65rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.best-section-head .section-copy {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.72;
  color: #6a5726;
}

.best-section-head-center {
  justify-content: center;
  text-align: center;
}

.best-section-head-center .section-title,
.best-section-head-center .section-copy {
  max-width: 760px;
}

.best-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.best-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,248,227,0.96));
  border: 1px solid rgba(79, 60, 10, 0.10);
  box-shadow: 0 18px 42px rgba(110, 87, 18, 0.10);
  min-width: 0;
}

.best-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.best-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.best-rank {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(33, 26, 7, 0.84);
  color: #fff4cc;
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.best-card-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.best-card-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 12px;
  align-items: center;
}

.best-fit,
.best-meta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.25;
}

.best-fit {
  background: linear-gradient(180deg, rgba(255, 244, 203, 0.96), rgba(248, 228, 156, 0.92));
  color: #6b5103;
  border: 1px solid rgba(201, 154, 14, 0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.best-meta {
  justify-self: end;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248, 240, 219, 0.96));
  color: #392d12;
  border: 1px solid rgba(79, 60, 10, 0.14);
  box-shadow: 0 8px 18px rgba(110, 87, 18, 0.08);
  white-space: nowrap;
}

.best-card h3 {
  margin: 0;
  font-size: clamp(1.34rem, 2vw, 1.72rem);
  line-height: 1.16;
}

.best-card-why {
  margin: 0;
  font-weight: 700;
  color: #2f250e;
}

.best-card-desc {
  margin: 0;
  color: var(--muted);
}

.best-card-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.best-card-list li {
  position: relative;
  padding-left: 26px;
  color: #4b3e19;
  font-weight: 500;
}

.best-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd84d, #d8a500);
  box-shadow: 0 0 0 4px rgba(242, 194, 0, 0.16);
}

.best-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.best-card-actions .btn {
  flex: 1 1 190px;
}

.best-guide,
.best-faq {
  padding-top: 24px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.guide-card {
  padding: 22px 20px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,245,214,0.92));
  border: 1px solid rgba(79, 60, 10, 0.10);
  box-shadow: 0 14px 30px rgba(110, 87, 18, 0.08);
}

.guide-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff1b1, #f2c200);
  color: #2c220c;
  font-weight: 800;
  margin-bottom: 14px;
}

.guide-card h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
  line-height: 1.35;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-item {
  padding: 24px 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 215, 76, 0.10), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,248,228,0.94));
  border: 1px solid rgba(79, 60, 10, 0.10);
  box-shadow: 0 14px 30px rgba(110, 87, 18, 0.08);
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}


.best-section-head > div:first-child {
  min-width: 0;
}

.best-card-body {
  position: relative;
}

.best-card-topline::after {
  content: "";
  grid-column: 1 / -1;
  height: 1px;
  background: linear-gradient(90deg, rgba(214, 183, 88, 0.55), rgba(214, 183, 88, 0));
  opacity: 0.55;
}

.best-card h3 {
  margin-top: 2px;
}

.best-card-desc {
  color: #655224;
}


@media (max-width: 1180px) {
  .best-grid {
    grid-template-columns: 1fr;
  }

  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .best-hero-shell {
    grid-template-columns: 1fr;
  }

  .best-section-head {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .best-section-head .section-title {
    max-width: 14ch;
  }

  .best-card-topline {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .best-meta {
    justify-self: start;
    white-space: normal;
  }

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

@media (max-width: 768px) {
  .best-hero {
    padding-top: 34px;
    padding-bottom: 18px;
  }

  .best-hero-copy h1 {
    max-width: none;
  }

  .best-hero-actions .btn,
  .best-card-actions .btn {
    width: 100%;
    flex: 1 1 100%;
  }

  .best-card-body {
    padding: 18px 18px 20px;
  }

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

  .best-section-head .section-title,
  .best-section-head .section-copy {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .best-hero-copy,
  .hero-point,
  .guide-card,
  .faq-item {
    border-radius: 22px;
  }

  .best-card {
    border-radius: 24px;
  }

  .best-card-media {
    aspect-ratio: 4 / 3;
  }

  .best-card-topline {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .best-meta {
    justify-self: start;
  }

  .best-card h3 {
    font-size: 1.3rem;
  }

  .best-card-list li {
    padding-left: 22px;
  }
}

/* Best Seller content polish */
.best-hero-copy h1,
.best-section-head .section-title,
.best-section-head-center .section-title {
  text-wrap: balance;
}

.best-card h3 {
  text-wrap: balance;
}

.best-card-why {
  font-size: 1rem;
  line-height: 1.55;
}

.best-card-desc {
  font-size: 0.98rem;
  line-height: 1.72;
}

.faq-item h3 {
  text-wrap: balance;
}

@media (max-width: 768px) {
  .best-hero-copy h1,
  .best-section-head .section-title,
  .best-section-head-center .section-title {
    text-wrap: pretty;
  }
}
