.sub-basket-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.sub-basket-header {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}

.sub-basket-header h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--text);
}

.sub-basket-header p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

.sub-basket-img-rail {
  max-width: 420px;
  max-height: 320px;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(15, 13, 10, 0.1);
}

.sub-basket-img-rail img {
  width: 100%;
  object-fit: cover;
  max-height: 320px;
}

.sub-basket-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.sub-basket-block h2 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 14px;
  color: var(--text);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}

.sub-basket-block p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.65;
}

.sub-basket-quote {
  grid-column: 1 / -1;
  padding: 32px;
  background: var(--nav-dark-front);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.55;
  text-align: center;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .sub-basket-header,
  .sub-basket-grid {
    grid-template-columns: 1fr;
  }

  .sub-basket-img-rail {
    max-width: 100%;
    overflow: hidden;
  }
}
