:root {
  --green-950: #10251d;
  --green-850: #17392d;
  --green-700: #265640;
  --gold-500: #dba93a;
  --gold-300: #f5d77f;
  --clay-600: #a5532d;
  --paper: #fff8ea;
  --paper-2: #f0e3c8;
  --ink: #15130f;
  --muted: #6c6254;
  --line: rgba(38, 86, 64, 0.18);
  --blue: #1f6ff2;
  --shadow: 0 18px 45px rgba(16, 37, 29, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fffaf0, #efe2c4);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  color: var(--paper);
  background: var(--green-950);
  font-size: 0.86rem;
  font-weight: 800;
}

.topbar__inner,
.mainnav,
.strip,
.commerce-band,
.radio-panel,
.content-grid,
.marketplace,
.split-cta,
.trust,
.site-footer,
.footer,
.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.topbar__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar nav,
.nav-actions,
.hero__actions,
.pills,
.checkout-options,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.mainnav {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto minmax(300px, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.mainnav.compact {
  grid-template-columns: auto 1fr;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: linear-gradient(135deg, var(--green-950), var(--clay-600));
  border: 2px solid var(--gold-500);
  border-radius: 50%;
  font-weight: 950;
}

.brand strong,
.brand em {
  display: block;
  line-height: 0.96;
}

.brand strong {
  color: var(--green-950);
  font-size: 1.28rem;
}

.brand em {
  color: var(--clay-600);
  font-style: normal;
  font-weight: 850;
}

.search {
  height: 48px;
  display: grid;
  grid-template-columns: 150px 1fr 48px;
  overflow: hidden;
  border: 2px solid rgba(16, 37, 29, 0.7);
  border-radius: 999px;
  background: #fff;
}

.search select,
.search input,
.search button {
  min-width: 0;
  border: 0;
  background: transparent;
}

.search select {
  padding-left: 16px;
  color: var(--green-850);
  font-weight: 850;
}

.search input {
  padding-inline: 12px;
}

.search button {
  color: var(--green-950);
  font-size: 1.6rem;
}

.nav-actions {
  justify-content: end;
  font-weight: 850;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  color: var(--paper);
  background: var(--green-850);
  font-weight: 900;
}

.cart-button span {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  margin-left: 7px;
  color: var(--green-950);
  background: var(--gold-500);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: clamp(560px, 72vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  background: var(--green-950);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 16, 12, 0.95), rgba(10, 25, 18, 0.58) 44%, rgba(10, 25, 18, 0.14)),
    linear-gradient(0deg, rgba(16, 37, 29, 0.58), transparent 48%);
}

.hero__content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  padding-block: 88px;
}

.eyebrow {
  margin: 0;
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 8px 0 18px;
  font-size: clamp(2.8rem, 7vw, 6.8rem);
  line-height: 0.92;
}

.hero p:not(.eyebrow) {
  max-width: 590px;
  color: rgba(255, 250, 240, 0.88);
  font-size: 1.18rem;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 950;
  text-align: center;
}

.button--primary {
  color: var(--green-950);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 16px 32px rgba(219, 169, 58, 0.24);
}

.button--ghost {
  color: var(--paper);
  border-color: rgba(255, 250, 240, 0.5);
  background: rgba(255, 250, 240, 0.08);
}

.button--ghost-dark {
  color: var(--green-950);
  border-color: rgba(16, 37, 29, 0.3);
  background: rgba(255, 250, 240, 0.64);
}

.button--blue {
  color: #fff;
  background: var(--blue);
  border-radius: 6px;
}

.button--outline-blue {
  color: #1264f4;
  background: #fff;
  border-color: #1264f4;
  border-radius: 6px;
}

.strip {
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.strip span {
  min-height: 78px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  padding: 16px;
  color: var(--paper);
  background: var(--green-850);
  border-right: 1px solid rgba(255, 250, 240, 0.14);
  font-weight: 900;
  text-align: center;
}

.strip span:nth-child(2),
.strip span:nth-child(4) {
  color: var(--green-950);
  background: var(--gold-500);
}

.strip strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.commerce-band,
.marketplace-grid,
.payment-grid,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.commerce-band article,
.marketplace-grid article,
.payment-grid article,
.admin-grid article {
  min-height: 166px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius);
  color: var(--paper);
  background: linear-gradient(145deg, var(--green-850), var(--green-950));
  box-shadow: var(--shadow);
}

.commerce-band article:nth-child(2),
.admin-grid article:nth-child(2) {
  background: linear-gradient(145deg, var(--clay-600), #3a2419);
}

.commerce-band article:nth-child(3),
.admin-grid article:nth-child(3) {
  background: linear-gradient(145deg, #2b241d, var(--green-700));
}

.commerce-band__tag {
  width: max-content;
  padding: 7px 10px;
  color: var(--green-950);
  background: var(--gold-500);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.commerce-band strong {
  font-size: 1.35rem;
  line-height: 1.08;
}

.commerce-band small {
  color: rgba(255, 250, 240, 0.75);
  font-size: 0.96rem;
  line-height: 1.45;
}

.radio-panel,
.marketplace,
.split-cta,
.author-zone,
.payment,
.admin-table {
  margin-top: 34px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.86);
  box-shadow: var(--shadow);
}

.radio-panel {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 470px);
  gap: 26px;
  align-items: center;
}

.radio-panel h2,
.section-heading h2,
.marketplace h2,
.split-cta h2,
.page-hero h1 {
  margin: 6px 0 12px;
  color: var(--green-950);
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.04;
}

.radio-panel p,
.split-cta p,
.page-hero p {
  color: var(--muted);
  line-height: 1.65;
}

.radio-card {
  min-height: 146px;
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--green-950), var(--clay-600));
  border-radius: var(--radius);
}

.radio-card__dial {
  width: 72px;
  height: 72px;
  border: 10px solid var(--gold-500);
  border-radius: 50%;
}

.radio-card strong,
.radio-card span,
.marketplace-grid strong,
.marketplace-grid span,
.payment-grid strong,
.payment-grid span {
  display: block;
}

.radio-card span,
.payment-grid span {
  margin-top: 6px;
  color: rgba(255, 250, 240, 0.75);
}

.radio-card button {
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--green-950);
  background: var(--gold-500);
  font-weight: 900;
}

.content-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 42px;
}

.social-feed {
  position: sticky;
  top: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--green-950);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.social-feed h2 {
  color: var(--paper);
}

.social-feed article {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 250, 240, 0.16);
}

.social-feed article span {
  color: var(--gold-300);
  font-weight: 900;
}

.social-feed article p {
  margin-bottom: 0;
  line-height: 1.55;
}

.feed-link {
  display: block;
  padding: 14px 16px;
  color: var(--green-950);
  background: var(--gold-500);
  border-radius: var(--radius);
  font-weight: 950;
  text-align: center;
}

.section-heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.pills button,
.checkout-options button {
  border: 0;
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--green-950);
  background: rgba(38, 86, 64, 0.1);
  font-weight: 900;
}

.pills button.is-active {
  color: var(--paper);
  background: var(--green-850);
}

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

.book-card {
  overflow: hidden;
  border: 1px solid rgba(38, 86, 64, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.96);
  box-shadow: 0 16px 38px rgba(16, 37, 29, 0.1);
}

.book-cover {
  min-height: 260px;
  display: flex;
  align-items: end;
  padding: 18px;
  color: var(--paper);
  background: linear-gradient(145deg, var(--green-850), var(--clay-600));
}

.book-card:nth-child(2n) .book-cover {
  background: linear-gradient(145deg, #2d1f18, var(--gold-500));
}

.book-card:nth-child(3n) .book-cover {
  background: linear-gradient(145deg, var(--clay-600), #453128);
}

.book-cover span {
  max-width: 13ch;
  font-size: 1.85rem;
  font-weight: 950;
  line-height: 0.98;
}

.book-info {
  padding: 18px;
}

.book-info h3 {
  margin: 0 0 6px;
  color: var(--green-950);
  font-size: 1.08rem;
}

.book-info p {
  margin: 0 0 12px;
  color: var(--muted);
}

.book-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--clay-600);
  font-weight: 900;
}

.book-info button {
  width: 100%;
}

.marketplace-grid {
  grid-template-columns: repeat(4, 1fr);
}

.marketplace-grid article {
  min-height: 150px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.9);
  box-shadow: none;
}

.marketplace-grid strong {
  color: var(--green-950);
  font-size: 1.12rem;
}

.marketplace-grid span {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

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

.split-cta article {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.9);
}

.split-cta article:first-child {
  color: var(--paper);
  background: linear-gradient(145deg, var(--green-950), var(--green-700));
}

.split-cta article:first-child h2,
.split-cta article:first-child p {
  color: var(--paper);
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  margin-top: 34px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: var(--green-950);
  box-shadow: var(--shadow);
}

.trust strong {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--paper);
  border-right: 1px solid rgba(255, 250, 240, 0.14);
  text-align: center;
}

.site-footer,
.footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-top: 34px;
  padding: 28px 0 40px;
  color: var(--green-950);
  border-top: 1px solid var(--line);
}

.site-footer div,
.site-footer strong,
.site-footer span {
  display: grid;
  gap: 6px;
}

.site-footer nav {
  font-weight: 850;
}

.cart {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  justify-content: end;
  background: rgba(16, 37, 29, 0.46);
}

.cart.is-open {
  display: flex;
}

.cart__panel {
  width: min(430px, 100%);
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--paper);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.22);
}

.cart header,
.cart footer {
  padding: 22px;
}

.cart header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.cart header h2 {
  margin: 0;
}

.cart header button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--paper);
  background: var(--green-950);
  font-size: 1.4rem;
}

.cart__items {
  padding: 10px 22px;
  overflow: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item strong,
.cart-item span {
  display: block;
}

.cart-item span {
  color: var(--muted);
}

.cart-item button {
  border: 0;
  color: var(--clay-600);
  background: transparent;
  font-weight: 950;
}

.cart__total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 1.18rem;
}

/* Clean commerce pages */
body.clean-page {
  color: #111827;
  background: #fff;
}

.clean-header {
  width: 100%;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px max(28px, calc((100vw - 1120px) / 2));
  border-bottom: 6px solid #31bfae;
  background: #fff;
}

.clean-header .brand {
  min-width: 230px;
}

.cart-search {
  width: min(500px, 44vw);
  height: 42px;
  display: grid;
  grid-template-columns: 1fr 46px;
  overflow: hidden;
  border: 1px solid #cfd6dc;
  border-radius: 3px;
  background: #fff;
}

.cart-search input,
.cart-search button {
  border: 0;
  background: transparent;
}

.cart-search input {
  min-width: 0;
  padding-inline: 16px;
}

.cart-search button {
  color: #586674;
  font-size: 1.4rem;
}

.login-link {
  color: #4b5563;
  font-weight: 800;
}

.login-storefront {
  width: min(980px, calc(100% - 40px));
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.login-column {
  padding-right: 70px;
  border-right: 1px solid #cfd6dc;
}

.login-column h1,
.signup-column h2,
.cart-page h1,
.purchase-summary h2 {
  margin: 0 0 18px;
  color: #007c7a;
  font-size: 1.6rem;
}

.store-form {
  display: grid;
  gap: 20px;
}

.store-form input {
  width: 100%;
  height: 58px;
  padding: 0 12px;
  border: 1px solid #e1e5ea;
  border-radius: 4px;
  background: #fff;
}

.password-row {
  display: grid;
  grid-template-columns: 1fr 58px;
  overflow: hidden;
  border: 1px solid #e1e5ea;
  border-radius: 4px;
}

.password-row input,
.password-row button {
  border: 0;
}

.password-row button {
  color: #52616f;
  background: #fff;
  font-weight: 850;
}

.account-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.account-types button,
.pay-methods button {
  min-height: 46px;
  padding: 8px;
  border: 1px solid #d8dee5;
  border-radius: 4px;
  color: #007c7a;
  background: #fff;
  font-weight: 900;
}

.account-types button.is-active,
.pay-methods button.is-active {
  color: #fff;
  border-color: #007c7a;
  background: #007c7a;
}

.helper-copy {
  margin: -6px 0 0;
  color: #5b6470;
  line-height: 1.45;
}

.social-login {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-top: 26px;
}

.social-login div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.social {
  min-width: 262px;
  min-height: 42px;
  border: 1px solid #d5dbe1;
  border-radius: 4px;
  font-weight: 850;
}

.social--facebook {
  color: #fff;
  background: #485ca4;
}

.social--google {
  color: #3f4650;
  background: #fff;
}

.minimal-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 54px auto 0;
  padding: 26px 0;
  color: #7a7f88;
  font-size: 0.86rem;
  text-align: center;
}

.cart-page {
  width: min(1080px, calc(100% - 40px));
  margin: 40px auto 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 30px;
  align-items: start;
}

.cart-box,
.purchase-summary {
  border: 1px solid #d8dee5;
  border-radius: 4px;
  background: #fff;
}

.seller-line {
  margin: 0;
  padding: 18px;
  border-bottom: 1px solid #e2e7ec;
  color: #555f6d;
}

.cart-product {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  gap: 24px;
  padding: 18px;
  border-bottom: 1px solid #e7ebef;
}

.cart-product__cover {
  width: 82px;
  height: 122px;
  display: grid;
  place-items: end start;
  padding: 10px;
  color: #fff;
  background: linear-gradient(145deg, #10251d, #a5532d);
  font-size: 0.78rem;
  font-weight: 950;
}

.cart-product h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.cart-product p {
  margin: 0 0 8px;
  color: #60646c;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 28px 40px 28px;
  gap: 6px;
  align-items: center;
}

.quantity-control button,
.quantity-control input {
  height: 30px;
  border: 1px solid #cfd6dc;
  background: #fff;
  text-align: center;
}

.cart-product__price {
  align-self: center;
  color: #000;
  font-size: 1.3rem;
  font-weight: 950;
}

.shipping-box {
  margin-top: 30px;
}

.shipping-box h2 {
  color: #111;
  font-size: 1.35rem;
}

.shipping-box div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.shipping-box input,
.shipping-box button {
  height: 58px;
  border: 1px solid #d3d8de;
  border-radius: 6px;
  padding: 0 16px;
  background: #fff;
}

.shipping-box button {
  min-width: 144px;
  color: #1264f4;
  border-color: #1264f4;
  font-weight: 900;
}

.purchase-summary {
  padding: 22px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.purchase-summary div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}

.coupon {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 8px;
  border: 1px solid #31c5ad;
  border-radius: 4px;
  font-weight: 850;
}

.coupon button {
  color: #1264f4;
  border: 1px solid #1264f4;
  border-radius: 4px;
  background: #fff;
  font-weight: 850;
}

.purchase-summary .button {
  width: 100%;
  margin-top: 14px;
}

.secure-buy {
  margin: 18px 0 0;
  color: #8a8f98;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

/* Protected pages */
.page-shell {
  margin-bottom: 54px;
}

.page-hero {
  margin-top: 18px;
  padding: 42px;
  border-radius: var(--radius);
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(16, 37, 29, 0.96), rgba(165, 83, 45, 0.84)),
    url("./assets/hero-cerrado-radio.png") center / cover;
  box-shadow: var(--shadow);
}

.page-hero h1 {
  max-width: 760px;
  margin: 8px 0 14px;
  color: var(--paper);
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 250, 240, 0.82);
}

.checkout-layout,
.seller-layout {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr 320px;
  gap: 22px;
  align-items: start;
}

.seller-layout {
  grid-template-columns: 1fr 320px;
}

.checkout-card,
.order-summary,
.author-form,
.seller-status,
.admin-table {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 16px 38px rgba(16, 37, 29, 0.1);
}

.checkout-card label,
.author-form label {
  display: grid;
  gap: 8px;
  color: var(--green-950);
  font-weight: 850;
}

.checkout-card input,
.author-form input,
.author-form select,
.author-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(38, 86, 64, 0.22);
  border-radius: 6px;
  background: #fff;
}

.author-form textarea {
  min-height: 108px;
  padding-top: 12px;
  resize: vertical;
}

.pay-methods,
.two-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.two-cols {
  grid-template-columns: repeat(2, 1fr);
}

.order-summary {
  color: var(--paper);
  background: var(--green-950);
}

.order-summary div,
.seller-status article,
.admin-table div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 250, 240, 0.15);
}

.order-summary .total {
  color: var(--gold-300);
  font-size: 1.2rem;
}

.full {
  grid-column: 1 / -1;
}

.admin-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
}

.admin-grid strong {
  font-size: 2rem;
}

.admin-grid button {
  border: 0;
  border-radius: 999px;
  padding: 10px 12px;
  color: var(--green-950);
  background: var(--gold-500);
  font-weight: 900;
}

@media (max-width: 980px) {
  .mainnav,
  .mainnav.compact,
  .radio-panel,
  .content-grid,
  .checkout-layout,
  .seller-layout,
  .login-storefront,
  .cart-page {
    grid-template-columns: 1fr;
  }

  .books,
  .commerce-band,
  .marketplace-grid,
  .payment-grid,
  .admin-grid,
  .trust,
  .strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-feed {
    position: static;
  }

  .login-column {
    padding-right: 0;
    border-right: 0;
  }
}

@media (max-width: 680px) {
  .topbar__inner,
  .section-heading--row,
  .site-footer,
  .clean-header,
  .hero__actions,
  .nav-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .mainnav {
    min-height: 0;
    padding: 18px 0;
  }

  .search {
    height: auto;
    grid-template-columns: 1fr 48px;
    border-radius: var(--radius);
  }

  .search select {
    grid-column: 1 / -1;
    height: 42px;
    border-bottom: 1px solid var(--line);
  }

  .search input {
    height: 46px;
  }

  .cart-search {
    width: 100%;
  }

  .strip,
  .books,
  .commerce-band,
  .marketplace-grid,
  .payment-grid,
  .admin-grid,
  .trust,
  .split-cta,
  .account-types,
  .pay-methods,
  .two-cols {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 660px;
  }

  .radio-card,
  .cart-product {
    grid-template-columns: 1fr;
  }

  .cart-product__price {
    grid-column: auto;
  }
}
