:root {
  --paper: #fbf7ef;
  --surface: #fffdf8;
  --ink: #2e302b;
  --muted: #686d63;
  --line: #e5ded0;
  --sage: #6e7f70;
  --sage-dark: #405447;
  --accent: #8d3f49;
  --gold: #c99b4c;
  --shadow: 0 18px 50px rgba(46, 48, 43, 0.11);
  --radius: 8px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.is-modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration-color: rgba(141, 63, 73, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(141, 63, 73, 0.35);
  outline-offset: 3px;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(229, 222, 208, 0.82);
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  font-weight: 700;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 26px);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
}

.site-search {
  position: relative;
  flex: 1 1 320px;
  max-width: 430px;
  min-width: 250px;
}

.site-search__control {
  display: flex;
  align-items: center;
  border: 1px solid rgba(110, 127, 112, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 8px 22px rgba(46, 48, 43, 0.06);
  overflow: hidden;
}

.site-search input {
  min-width: 0;
  width: 100%;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 13px;
  outline: 0;
}

.site-search input::placeholder {
  color: rgba(104, 109, 99, 0.82);
}

.site-search button {
  align-self: stretch;
  border: 0;
  border-left: 1px solid rgba(110, 127, 112, 0.2);
  background: var(--sage-dark);
  color: #fff;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 800;
}

.site-search button:hover {
  background: var(--accent);
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 12;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 8px;
}

.search-suggestions[hidden] {
  display: none;
}

.search-suggestions a {
  display: grid;
  gap: 2px;
  border-radius: 6px;
  padding: 9px 10px;
  text-decoration: none;
}

.search-suggestions a:hover,
.search-suggestions a:focus-visible {
  background: rgba(110, 127, 112, 0.1);
  color: var(--ink);
}

.search-suggestions span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.search-suggestions small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 8px 20px rgba(46, 48, 43, 0.06);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(110, 127, 112, 0.14), transparent 42%),
    linear-gradient(180deg, var(--surface), var(--paper));
}

.hero__inner {
  padding: clamp(56px, 10vw, 108px) 0 clamp(42px, 7vw, 72px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.12;
  font-weight: 700;
}

h1 {
  max-width: 880px;
  font-size: clamp(2.35rem, 9vw, 5.35rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.65rem);
}

.hero__lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.24rem);
}

.catalog-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 980px;
  margin: clamp(30px, 5vw, 44px) 0 0;
  border: 1px solid rgba(110, 127, 112, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.72);
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(46, 48, 43, 0.07);
}

.catalog-stats div {
  min-width: 0;
  padding: clamp(16px, 2.5vw, 22px);
}

.catalog-stats div + div {
  border-left: 1px solid rgba(110, 127, 112, 0.16);
}

.catalog-stats dt {
  margin: 0;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
}

.catalog-stats dd {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.catalog {
  padding: clamp(42px, 7vw, 72px) 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading p:last-child {
  color: var(--muted);
}

.book-list {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.book-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: clamp(18px, 4vw, 30px);
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.78);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.book-card:hover {
  transform: translateY(-2px);
  border-color: rgba(110, 127, 112, 0.45);
  box-shadow: 0 10px 28px rgba(46, 48, 43, 0.07);
}

.book-card__cover {
  width: 132px;
  aspect-ratio: 2 / 3;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #ece6db;
  box-shadow: 0 12px 30px rgba(46, 48, 43, 0.16);
}

.book-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.book-card__meta,
.book-author,
.muted {
  color: var(--muted);
}

.book-card__meta {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.book-card h3 a {
  text-decoration: none;
}

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

.book-card__footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
}

.price {
  color: var(--sage-dark);
  font-size: 1.08rem;
}

.availability {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(104, 109, 99, 0.28);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.76);
  font-weight: 700;
  font-size: 0.95rem;
}

.availability--large {
  min-height: 42px;
  padding-inline: 14px;
  font-size: 1.08rem;
}

.price--large {
  font-size: clamp(1.8rem, 6vw, 2.7rem);
}

.old-price {
  color: var(--muted);
  text-decoration: line-through;
}

.discount {
  color: var(--accent);
  font-weight: 700;
}

.rating {
  position: relative;
  display: inline-block;
  color: #d8d0c2;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
}

.rating__fill {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  color: var(--gold);
}

.rating__number {
  margin-left: 7px;
  color: var(--muted);
  font-size: 0.92rem;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  width: min(100%, 360px);
  min-height: 54px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(141, 63, 73, 0.22);
}

.button--primary:hover {
  color: #fff;
  background: #75333b;
}

.button--shop {
  width: min(100%, 430px);
  min-height: 66px;
  display: flex;
  margin-top: 24px;
  padding-inline: 24px;
  font-size: 1.12rem;
  letter-spacing: 0;
  box-shadow: 0 18px 36px rgba(141, 63, 73, 0.26);
}

.button--ghost {
  border-color: rgba(110, 127, 112, 0.35);
  color: var(--sage-dark);
}

.button--ghost:hover {
  background: rgba(110, 127, 112, 0.1);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.pagination__list {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pagination__link,
.pagination__current {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
  text-decoration: none;
}

.pagination__current {
  background: var(--sage-dark);
  color: #fff;
  border-color: var(--sage-dark);
}

.breadcrumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 28px;
  color: var(--muted);
  font-size: 0.94rem;
}

.book-detail {
  display: grid;
  grid-template-columns: minmax(220px, 420px) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 76px);
  padding: clamp(32px, 7vw, 72px) 0;
  align-items: start;
}

.book-detail__media {
  border-radius: var(--radius);
  background: linear-gradient(145deg, #ece5d9, #fffaf0);
  padding: clamp(18px, 4vw, 30px);
  box-shadow: var(--shadow);
}

.book-detail__media img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.book-detail__cover-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
}

.book-detail__cover-link img {
  transition: transform 180ms ease, filter 180ms ease;
}

.book-detail__cover-link span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  background: rgba(141, 63, 73, 0.94);
  box-shadow: 0 12px 24px rgba(46, 48, 43, 0.2);
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.book-detail__cover-link:hover {
  color: #fff;
}

.book-detail__cover-link:hover img,
.book-detail__cover-link:focus-visible img {
  transform: scale(1.015);
  filter: saturate(1.04) contrast(1.02);
}

.book-detail__cover-link:hover span,
.book-detail__cover-link:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.book-detail__content h1 {
  font-size: clamp(2.25rem, 7vw, 4.6rem);
}

.detail-rating,
.price-block,
.affiliate-note,
.back-link {
  margin-top: 18px;
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 13px;
  flex-wrap: wrap;
}

.affiliate-note {
  max-width: 520px;
  color: var(--muted);
  font-size: 0.94rem;
}

.back-link {
  display: block;
  width: fit-content;
  color: var(--sage-dark);
}

.book-description {
  padding-bottom: clamp(30px, 6vw, 62px);
}

.prose {
  max-width: 780px;
  color: #3d403a;
  font-size: 1.05rem;
}

.prose p {
  margin: 0 0 1.05em;
}

.description-cta {
  margin: 26px 0 0;
}

.editorial-note,
.empty-state,
.not-found {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(22px, 4vw, 34px);
}

.not-found {
  margin-top: clamp(42px, 8vw, 84px);
  margin-bottom: clamp(42px, 8vw, 84px);
}

.related-books {
  padding-bottom: clamp(54px, 8vw, 94px);
}

.author-books {
  padding-top: clamp(8px, 2vw, 18px);
}

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

.related-card {
  display: grid;
  gap: 14px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
  padding: 16px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.related-card:hover {
  transform: translateY(-2px);
  border-color: rgba(110, 127, 112, 0.45);
  box-shadow: 0 10px 28px rgba(46, 48, 43, 0.07);
}

.related-card__cover {
  width: min(132px, 70%);
  aspect-ratio: 2 / 3;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #ece6db;
  box-shadow: 0 10px 24px rgba(46, 48, 43, 0.14);
}

.related-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card__body {
  min-width: 0;
}

.related-card__body p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.related-card h3 {
  font-size: 1.13rem;
}

.related-card h3 a {
  text-decoration: none;
}

.related-card .price {
  display: inline-block;
  margin-top: 10px;
}

.authors-section,
.author-detail {
  padding: clamp(42px, 7vw, 72px) 0 clamp(54px, 8vw, 94px);
}

.author-list {
  column-count: 3;
  column-gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.author-list li {
  break-inside: avoid;
  margin: 0 0 12px;
}

.author-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
  padding: 13px 14px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.author-link:hover {
  transform: translateY(-1px);
  border-color: rgba(110, 127, 112, 0.45);
  box-shadow: 0 8px 22px rgba(46, 48, 43, 0.06);
}

.author-link span {
  min-width: 0;
  font-weight: 700;
}

.author-link small {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.82rem;
}

.author-title-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 20px;
}

.author-title-card {
  min-width: 0;
}

.author-title-card__cover {
  width: 100%;
  aspect-ratio: 2 / 3;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #ece6db;
  box-shadow: 0 12px 28px rgba(46, 48, 43, 0.14);
}

.author-title-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 160ms ease;
}

.author-title-card__cover:hover img {
  transform: scale(1.018);
}

.author-title-card__body {
  padding-top: 13px;
}

.author-title-card h3 {
  font-size: 1.08rem;
}

.author-title-card h3 a {
  text-decoration: none;
}

.author-title-card__meta {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}

.search-page {
  padding: clamp(42px, 7vw, 72px) 0 clamp(54px, 8vw, 94px);
}

.search-block + .search-block {
  margin-top: clamp(34px, 6vw, 58px);
}

.search-block > h2 {
  margin-bottom: 20px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.search-author-list {
  column-count: 2;
}

.search-limit {
  margin-top: 22px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f4eee4;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  padding: 32px 0;
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.site-footer p {
  max-width: 620px;
  margin: 6px 0 0;
}

.site-footer__meta {
  text-align: right;
  flex: 0 0 auto;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--sage-dark);
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 25, 22, 0.56);
}

.modal__panel {
  position: relative;
  width: min(640px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(24px, 5vw, 38px);
  box-shadow: var(--shadow);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.info-list {
  margin: 20px 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.info-list dt {
  color: var(--muted);
}

.info-list dd {
  margin: 0;
}

code {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fffaf2;
  padding: 0.08em 0.35em;
}

@media (max-width: 980px) {
  .site-header__inner {
    gap: 12px;
  }

  .site-search {
    flex-basis: 220px;
    max-width: 340px;
    min-width: 190px;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 760px) {
  .site-header__inner {
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 10px 0;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-toggle {
    order: 2;
    display: inline-flex;
  }

  .brand {
    order: 1;
  }

  .site-search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
    min-width: 0;
  }

  .site-search input {
    height: 46px;
    font-size: 0.95rem;
  }

  .site-search button {
    padding: 0 12px;
  }

  .search-suggestions {
    max-height: min(68vh, 420px);
    overflow: auto;
  }

  .site-nav {
    order: 4;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: 8px;
    color: var(--ink);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    padding: 10px 12px;
  }

  .site-nav a:hover {
    background: rgba(110, 127, 112, 0.1);
  }

  .site-footer__meta {
    text-align: left;
  }

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

  .catalog-stats div + div {
    border-left: 0;
  }

  .catalog-stats div:nth-child(even) {
    border-left: 1px solid rgba(110, 127, 112, 0.16);
  }

  .catalog-stats div:nth-child(n + 3) {
    border-top: 1px solid rgba(110, 127, 112, 0.16);
  }

  .book-card,
  .book-detail {
    grid-template-columns: 1fr;
  }

  .book-card__cover {
    width: 118px;
  }

  .book-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .button--shop {
    width: 100%;
    min-height: 68px;
    font-size: 1.16rem;
  }

  .book-detail__cover-link span {
    opacity: 1;
    transform: none;
  }

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

  .related-card {
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: start;
  }

  .related-card__cover {
    width: 96px;
  }

  .author-list {
    column-count: 1;
  }

  .search-author-list {
    column-count: 1;
  }

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

  .author-title-card h3 {
    font-size: 1rem;
  }

  .pagination__prev,
  .pagination__next {
    width: 100%;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
