body.ebookclassic-home-page {
  margin: 0;
  overflow-x: hidden;
  background: #fbfcf8;
}

body.ebookclassic-home-page .ct-header,
body.ebookclassic-home-page .ct-footer,
body.ebookclassic-home-page footer.site-footer,
body.ebookclassic-home-page [data-footer],
body.ebookclassic-home-page .site-footer,
body.ebookclassic-home-page .ct-footer-copyright,
body.ebookclassic-home-page .ct-footer-widgets,
body.ebookclassic-home-page .ct-footer-reveal,
body.ebookclassic-home-page .ct-trending-block,
body.ebookclassic-home-page #secondary,
body.ebookclassic-home-page .ct-sidebar,
body.ebookclassic-home-page .entry-header,
body.ebookclassic-home-page .hero-section,
body.ebookclassic-home-page .ct-comments,
body.ebookclassic-home-page .ct-share-box {
  display: none !important;
}

body.ebookclassic-home-page .site-main,
body.ebookclassic-home-page .content-area,
body.ebookclassic-home-page article,
body.ebookclassic-home-page .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ebookclassic-home,
.ebookclassic-home * {
  box-sizing: border-box;
}

.ebookclassic-home {
  --ec-ink: #182434;
  --ec-muted: #627182;
  --ec-line: #dce7df;
  --ec-soft: #fbfcf8;
  --ec-white: #ffffff;
  --ec-green: #47915b;
  --ec-green-dark: #346a45;
  --ec-green-soft: #eaf5ec;
  --ec-blue-soft: #e6f2fb;
  --ec-amber-soft: #fff4df;
  --ec-shadow: 0 10px 28px rgba(38, 55, 44, 0.1);
  --ec-shadow-sm: 0 6px 16px rgba(38, 55, 44, 0.08);
  --ec-radius: 8px;
  min-height: 100vh;
  background: var(--ec-soft);
  color: var(--ec-ink);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.ebookclassic-home h1,
.ebookclassic-home h2,
.ebookclassic-home h3,
.ebookclassic-home h4,
.ebookclassic-home p,
.ebookclassic-home ul {
  margin-top: 0;
}

.ebookclassic-home a {
  color: inherit;
  text-decoration: none;
}

.ebookclassic-home button,
.ebookclassic-home input {
  font: inherit;
}

.ec-container {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
}

.ec-brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.ec-brand span {
  color: var(--ec-green);
}

.ec-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.ec-site-header,
.ec-navline {
  background: var(--ec-white);
  border-bottom: 1px solid var(--ec-line);
}

.ec-header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.ec-search {
  min-height: 44px;
  border: 1px solid #cbd9d1;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  background: var(--ec-white);
}

.ec-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 17px;
  color: var(--ec-ink);
}

.ec-search button {
  width: 54px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ec-green);
  color: var(--ec-white);
  cursor: pointer;
}

.ec-header-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--ec-muted);
  font-size: 12px;
  font-weight: 800;
}

.ec-header-action {
  width: 48px;
  min-height: 44px;
  position: relative;
  display: grid;
  justify-items: center;
  gap: 3px;
}

.ec-header-action svg {
  color: var(--ec-ink);
}

.ec-wishlist-count {
  position: absolute;
  right: 2px;
  top: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ec-green);
  color: var(--ec-white);
  font-size: 11px;
  line-height: 1;
}

.ec-navline-inner {
  min-height: 47px;
  display: flex;
  align-items: center;
  gap: 26px;
  overflow-x: auto;
  color: var(--ec-ink);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.ec-navline-inner a:hover {
  color: var(--ec-green);
}

.ec-two-col {
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  gap: 24px;
  padding-top: 24px;
}

.ec-two-col > * {
  min-width: 0;
}

.ec-sidebar {
  align-self: start;
  display: grid;
  gap: 14px;
}

.ec-panel,
.ec-utility-card,
.ec-book-card {
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius);
  background: var(--ec-white);
  box-shadow: var(--ec-shadow-sm);
}

.ec-panel {
  overflow: hidden;
}

.ec-panel-title {
  margin: 0;
  padding: 14px 16px;
  background: var(--ec-green-soft);
  color: var(--ec-green-dark);
  font-size: 14px;
  font-weight: 900;
}

.ec-panel-body {
  padding: 14px 16px 16px;
}

.ec-category-list {
  display: grid;
  gap: 8px;
  color: #3d4d5d;
  font-size: 13px;
  font-weight: 800;
}

.ec-category-group {
  padding-top: 12px;
  border-top: 1px solid #edf1ed;
}

.ec-category-group:first-child {
  padding-top: 0;
  border-top: 0;
}

.ec-category-group strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ec-green);
  font-size: 14px;
}

.ec-category-group a {
  display: block;
  padding: 2px 0 2px 10px;
}

.ec-utility-card {
  padding: 15px;
}

.ec-utility-card h3 {
  margin: 0 0 7px;
  color: var(--ec-green-dark);
  font-size: 14px;
  font-weight: 900;
}

.ec-utility-card p {
  margin: 0 0 12px;
  color: var(--ec-muted);
  font-size: 12px;
}

.ec-utility-card button,
.ec-card-button {
  width: 100%;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ec-green);
  color: var(--ec-white);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.ec-hero {
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: center;
  background: linear-gradient(105deg, #eef8ec 0%, #ffffff 100%) !important;
  color: var(--ec-ink) !important;
}

.ec-hero > div:first-child {
  text-align: left !important;
}

.ec-kicker {
  margin: 0 0 10px;
  color: var(--ec-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ec-hero h1 {
  max-width: 560px;
  margin: 0 0 10px;
  color: var(--ec-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 42px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ec-ink) !important;
}

.ec-hero p:not(.ec-kicker) {
  max-width: 610px;
  margin: 0 0 16px;
  color: var(--ec-muted);
  font-size: 15px;
  text-align: left !important;
}

.ec-primary-button {
  min-height: 43px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ec-green);
  color: var(--ec-white);
  font-size: 14px;
  font-weight: 900;
}

.ec-secondary-button {
  min-height: 43px;
  padding: 0 22px;
  border: 1px solid var(--ec-line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ec-white);
  color: var(--ec-ink);
  font-size: 14px;
  font-weight: 900;
}

.ec-cover-stack {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ec-cover-stack img {
  width: 110px;
  aspect-ratio: 0.72;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 14px 28px rgba(20, 26, 30, 0.24);
}

.ec-cover-stack img + img {
  margin-left: -34px;
}

.ec-feature-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ec-feature-box {
  min-height: 98px;
  padding: 18px;
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius);
  background: var(--ec-white);
  box-shadow: var(--ec-shadow-sm);
}

.ec-feature-box h3 {
  margin: 0 0 6px;
  color: var(--ec-ink);
  font-size: 16px;
  font-weight: 900;
}

.ec-feature-box p {
  margin: 0;
  color: var(--ec-muted);
  font-size: 13px;
}

.ec-feature-box.ec-request {
  background: var(--ec-green-soft);
}

.ec-feature-box.ec-support {
  background: var(--ec-blue-soft);
}

.ec-feature-box.ec-help {
  background: var(--ec-amber-soft);
}

.ec-payment-trust {
  margin: 14px 0 28px;
}

.ec-payment-trust .ec-kicker {
  margin-bottom: 6px;
}

.ec-payment-banner-link {
  display: block;
  border-radius: 8px;
  text-decoration: none;
  transition: transform .18s ease, filter .18s ease;
  overflow: visible;
}

.ec-payment-banner-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.01);
}

.ec-payment-banner-link picture {
  display: block;
}

.ec-payment-banner-link img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

@media (max-width: 640px) {
  .ec-payment-trust-home {
    display: none;
  }
}

.ec-shelf-tabs {
  margin: 26px 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ec-shelf-tab,
.ec-small-pill {
  min-height: 37px;
  padding: 0 16px;
  border: 1px solid var(--ec-line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ec-white);
  color: var(--ec-muted);
  font-size: 13px;
  font-weight: 900;
}

.ec-shelf-tab.active {
  border-color: var(--ec-green);
  background: var(--ec-green);
  color: var(--ec-white);
}

.ec-section-head {
  margin-bottom: 14px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.ec-section-head p {
  margin: 0 0 4px;
  color: var(--ec-green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ec-section-head h2 {
  margin: 0;
  color: var(--ec-ink);
  font-size: 24px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
}

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

.ec-book-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ec-cover {
  position: relative;
  aspect-ratio: 0.75;
  margin: 12px 12px 0;
  border-radius: 6px;
  overflow: hidden;
  background: #eef2ef;
}

.ec-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ec-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  min-width: 46px;
  max-width: calc(100% - 16px);
  padding: 4px 9px;
  border-radius: 999px;
  background: #e66659;
  color: var(--ec-white);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ec-wishlist-button {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 11px;
  background: rgba(255,255,255,.92);
  color: var(--ec-ink);
  box-shadow: var(--ec-shadow-sm);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.ec-wishlist-cover {
  position: absolute;
  right: 8px;
  top: 8px;
  min-width: 34px;
  width: 34px;
  padding: 0;
}

.ec-wishlist-cover .ec-wishlist-text {
  display: none;
}

.ec-wishlist-heart::before {
  content: "\2661";
  font-size: 18px;
  line-height: 1;
}

.ec-wishlist-button.is-saved {
  background: var(--ec-green);
  color: var(--ec-white);
}

.ec-wishlist-button.is-saved .ec-wishlist-heart::before {
  content: "\2665";
}

.ec-book-info {
  flex: 1;
  padding: 12px 13px 14px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.ec-book-title {
  height: 38px;
  margin: 0 0 9px;
  color: var(--ec-ink);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ec-book-title a {
  color: inherit;
}

.ec-book-author {
  min-height: 20px;
  margin: 0 0 10px;
  color: var(--ec-muted);
  font-size: 13px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ec-price-row {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.ec-price-now {
  color: var(--ec-ink);
  font-size: 18px;
  font-weight: 900;
}

.ec-price-old {
  color: #9aa5af;
  font-size: 13px;
  text-decoration: line-through;
}

.ec-buy-button {
  width: 40px;
  height: 40px;
  margin: auto auto 0;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ec-green);
  color: var(--ec-white);
  cursor: pointer;
}

.ec-page-main {
  padding-top: 24px;
}

.ec-page-hero {
  margin-bottom: 22px;
  padding: 26px;
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius);
  background: linear-gradient(105deg, #eef8ec 0%, #ffffff 100%) !important;
}

.ec-page-hero h1 {
  max-width: 720px;
  margin: 0 0 10px;
  color: var(--ec-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 42px;
  line-height: 1.06;
  letter-spacing: 0;
}

.ec-page-hero h2 {
  max-width: 720px;
  margin: 0 0 10px;
  color: var(--ec-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: 0;
}

.ec-page-hero p:not(.ec-kicker) {
  max-width: 760px;
  margin: 0;
  color: var(--ec-muted);
  font-size: 15px;
}

.ec-embedded-support .ec-page-hero {
  margin-top: 0;
}

.ec-form-card {
  padding: 22px;
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius);
  background: var(--ec-white);
  box-shadow: var(--ec-shadow-sm);
}

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

.ec-form-card label {
  display: grid;
  gap: 7px;
  color: var(--ec-ink);
  font-size: 13px;
  font-weight: 900;
}

.ec-form-card input,
.ec-form-card select,
.ec-form-card textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--ec-line);
  border-radius: 7px;
  padding: 0 14px;
  background: #fbfdfb;
  color: var(--ec-ink);
  outline: 0;
  font-weight: 500;
  line-height: 1.3;
}

.ec-form-card select {
  height: 52px;
  appearance: auto;
}

.ec-form-card textarea {
  margin-top: 14px;
  min-height: 150px;
  padding-top: 13px;
  resize: vertical;
}

.ec-form-button {
  width: 100%;
  min-height: 42px;
  margin-top: 14px;
  border: 0;
  border-radius: 999px;
  background: var(--ec-green);
  color: var(--ec-white);
  font-weight: 900;
  cursor: pointer;
}

.ec-payment-access-gate h3 {
  margin: 0 0 8px;
  color: var(--ec-ink);
  font-size: 24px;
}

.ec-payment-access-gate p {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--ec-muted);
}

.ec-payment-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ec-inline-register-form {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--ec-line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ec-inline-register-form .ec-form-button {
  grid-column: 1 / -1;
}

.ec-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.ec-account-summary {
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid var(--ec-line);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  background: #f7fbf7;
  color: var(--ec-ink);
}

.ec-account-summary strong {
  font-weight: 900;
}

.ec-account-summary span {
  color: var(--ec-muted);
}

.ec-wishlist-empty {
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius);
  background: var(--ec-white);
  padding: 28px;
  box-shadow: var(--ec-shadow-sm);
}

.ec-wishlist-empty h3 {
  margin: 0 0 8px;
  color: var(--ec-ink);
  font-size: 22px;
}

.ec-wishlist-empty p {
  margin: 0 0 18px;
  color: var(--ec-muted);
}

.ec-wishlist-empty a,
.ec-wishlist-actions a,
.ec-wishlist-actions button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: var(--ec-green);
  color: var(--ec-white);
  font-weight: 900;
  cursor: pointer;
}

.ec-wishlist-actions button {
  background: #eef3ef;
  color: var(--ec-ink);
}

.ec-wishlist-list {
  display: grid;
  gap: 14px;
}

.ec-wishlist-item {
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius);
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  background: var(--ec-white);
  box-shadow: var(--ec-shadow-sm);
}

.ec-wishlist-thumb {
  aspect-ratio: .72;
  border-radius: 6px;
  overflow: hidden;
  background: #eef2ef;
}

.ec-wishlist-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ec-wishlist-info h3 {
  margin: 0 0 6px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.3;
}

.ec-wishlist-info p {
  margin: 0 0 8px;
  color: var(--ec-muted);
}

.ec-wishlist-info strong {
  display: block;
  margin-bottom: 14px;
  color: var(--ec-ink);
  font-size: 18px;
}

.ec-wishlist-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ec-notice {
  margin-bottom: 14px;
  padding: 13px 15px;
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius);
  background: var(--ec-green-soft);
  color: var(--ec-green-dark);
  font-weight: 900;
}

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

.ec-contact-guidance {
  margin-top: 18px;
}

.ec-help-grid > div,
.ec-browse-tools a {
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius);
  background: var(--ec-white);
  box-shadow: var(--ec-shadow-sm);
}

.ec-help-grid > div {
  padding: 18px;
}

.ec-help-grid h3 {
  margin: 0 0 7px;
  color: var(--ec-green-dark);
  font-size: 16px;
}

.ec-help-grid p {
  margin: 0;
  color: var(--ec-muted);
  font-size: 13px;
}

.ec-browse-tools {
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ec-browse-search {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.ec-browse-search input {
  min-height: 46px;
  flex: 1;
  border: 1px solid var(--ec-line);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--ec-ink);
  font: inherit;
  outline: none;
  background: var(--ec-white);
}

.ec-browse-search input:focus {
  border-color: var(--ec-green);
  box-shadow: 0 0 0 3px rgba(64, 150, 90, .12);
}

.ec-browse-search button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--ec-green);
  color: white;
  font-weight: 900;
  cursor: pointer;
}

.ec-browse-tools a {
  min-height: 38px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  color: var(--ec-muted);
  font-size: 13px;
  font-weight: 900;
}

.ec-browse-tools a.active {
  background: var(--ec-green);
  border-color: var(--ec-green);
  color: white;
}

.ec-browse-summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--ec-muted);
  font-size: 13px;
  font-weight: 800;
}

.ec-browse-sort {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ec-browse-sort a {
  color: var(--ec-green-dark);
  text-decoration: none;
}

.ec-empty-state {
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius);
  background: var(--ec-white);
  padding: 28px;
  box-shadow: var(--ec-shadow-sm);
}

.ec-empty-state h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--ec-ink);
}

.ec-empty-state p {
  margin: 0 0 18px;
  color: var(--ec-muted);
}

.ec-empty-state a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 999px;
  background: var(--ec-green);
  color: white;
  padding: 0 18px;
  font-weight: 900;
  text-decoration: none;
}

.ec-page-book-grid {
  margin-bottom: 20px;
}

.ec-footer {
  margin-top: 56px;
  border-top: 1px solid var(--ec-line);
  background: var(--ec-white) !important;
  color: var(--ec-muted) !important;
  font-size: 13px;
}

.ec-footer-grid {
  padding: 30px 0 32px;
  border-top: 1px solid var(--ec-line);
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 24px;
  background: var(--ec-white) !important;
}

.ec-footer h4 {
  margin: 0 0 10px;
  color: var(--ec-ink);
  font-size: 13px;
}

.ec-footer p,
.ec-footer ul {
  margin: 0;
}

.ec-footer ul {
  padding: 0;
  display: grid;
  gap: 6px;
  list-style: none;
}

@media (max-width: 1080px) {
  .ec-book-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ec-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .ec-container {
    width: min(100% - 28px, 1220px);
  }

  .ec-header-inner {
    grid-template-columns: 1fr auto;
    padding: 13px 0;
    gap: 12px;
  }

  .ec-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .ec-header-action span {
    display: none;
  }

  .ec-two-col {
    grid-template-columns: 1fr;
  }

  .ec-two-col > aside {
    order: 2;
  }

  .ec-two-col > main {
    order: 1;
  }

  .ec-book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .ec-feature-row,
  .ec-form-grid,
  .ec-help-grid,
  .ec-footer-grid {
    grid-template-columns: 1fr;
  }

  .ec-payment-access-actions,
  .ec-account-summary {
    flex-direction: column;
    align-items: stretch;
  }

  .ec-inline-register-form {
    grid-template-columns: 1fr;
  }

  .ec-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .ec-browse-summary {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .ebookclassic-home {
    overflow-x: hidden;
  }

  .ec-container {
    width: calc(100% - 28px);
    max-width: 100%;
  }

  .ec-brand {
    font-size: 24px;
  }

  .ec-navline-inner {
    gap: 5px;
    font-size: 11px;
  }

  .ec-hero {
    padding: 18px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .ec-hero > div:first-child {
    max-width: 300px;
  }

  .ec-hero h1 {
    max-width: 310px;
    font-size: 29px;
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  .ec-hero p:not(.ec-kicker),
  .ec-feature-box p {
    max-width: 300px;
    overflow-wrap: break-word;
  }

  .ec-feature-box {
    overflow: hidden;
  }

  .ec-cover-stack {
    width: 100%;
    overflow: hidden;
  }

  .ec-cover-stack img {
    width: 94px;
  }

  .ec-book-title {
    height: 33px;
    font-size: 13px;
  }

  .ec-wishlist-item {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 13px;
  }

  .ec-wishlist-info h3 {
    font-size: 15px;
    line-height: 1.28;
  }

  .ec-wishlist-actions {
    gap: 8px;
  }

  .ec-browse-search {
    flex-direction: column;
  }

  .ec-browse-search button {
    width: 100%;
  }
}
