@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ABC Favorit";
  src: url("../fonts/ABCFavorit-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ABC Favorit";
  src: url("../fonts/ABCFavorit-RegularItalic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "ABC Favorit";
  src: url("../fonts/ABCFavorit-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ABC Favorit";
  src: url("../fonts/ABCFavorit-BoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --accent: 139 0 0;
  --accent-with-text: 139 0 0;
  --contrast-accent: 0 0 0;
  --font-family: "Inter", "ABC Favorit", sans-serif;
  --color: 0 0 0;
  --primary: var(--color);
  --contrast-primary: 255 255 255;
  --filled: 255 255 255;
  --contrast-filled: var(--color);
  --danger: 139 0 0;
  --gold: #8B0000;
  --gold-mid: #A30000;
  --gold-dark: #5C0000;
  --gold-ink: #000000;
  --gold-light: #C41E3A;
  --red-3d: #8B0000;
  --red-hi: #C41E3A;
  --red-deep: #3B0000;
  --body-bg: #ffffff;
  --border: 0 0 0;
  --border-alpha: 1;
  --radius: 0.25rem;
  --button-hover-offset: 0.25rem;
  --muted: 0 0 0 / 0.5;
  --page-max: 71.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--body-bg);
  color: #000;
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.375;
  min-height: 100vh;
}

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

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

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

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid #000;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  line-height: 1.375;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn:hover {
  transform: translate(calc(var(--button-hover-offset) * -1), calc(var(--button-hover-offset) * -1));
  box-shadow: var(--button-hover-offset) var(--button-hover-offset) 0 #000;
}

.btn:active {
  transform: none;
  box-shadow: none;
}

.btn-ghost {
  background: #fff;
  color: #000;
}

.btn-solid {
  background: linear-gradient(180deg, #C41E3A 0%, #8B0000 42%, #5C0000 78%, #3B0000 100%);
  color: #fff;
  border-color: #3B0000;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.28), 0 3px 0 #1a0000;
}

.btn-accent {
  background: linear-gradient(180deg, #C41E3A 0%, #8B0000 42%, #5C0000 78%, #3B0000 100%);
  color: #fff;
  border-color: #3B0000;
  width: 100%;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.28), 0 3px 0 #1a0000;
}

.btn-accent:hover {
  background: linear-gradient(180deg, #E3242B 0%, #8B0000 45%, #5C0000 80%, #3B0000 100%);
}

.header {
  border-bottom: 1px solid #000;
  padding: 2rem 1rem 1.25rem;
  background: #000;
  color: #fff;
  position: relative;
  z-index: 40;
}

.header-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  flex-shrink: 0;
  display: block;
  width: min(245px, 42vw);
  height: auto;
}

.search {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1rem;
  border: 1px solid #000;
  border-radius: var(--radius);
  background: #fff;
  color: #000;
}

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0.75rem 0;
  color: #000;
}

.search input::placeholder {
  color: rgb(0 0 0 / 0.45);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.cats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.15rem;
  margin-top: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.cats::-webkit-scrollbar {
  display: none;
}

.cat {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  font-size: 0.95rem;
}

.cat:hover {
  background: #fff;
  color: #000;
}

.cat.is-active {
  border-color: #000;
  background: #fff;
  color: #000;
}

.cat-more {
  position: relative;
}

.more-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 16rem;
  background: #fff;
  border: 1px solid #000;
  border-radius: var(--radius);
  padding: 0.4rem 0;
  z-index: 50;
  box-shadow: 0.25rem 0.25rem 0 #000;
}

.more-menu.open {
  display: block;
}

.more-menu a {
  display: block;
  padding: 0.55rem 1rem;
  color: #000;
}

.more-menu a:hover {
  background: rgb(0 0 0 / 0.05);
}

.page {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 1rem;
}

.breadcrumb {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: #6b6b6b;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(42ch, 70vw);
}

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

.card {
  display: grid;
  grid-template-areas:
    "covers"
    "title"
    "details"
    "controls"
    "ratings"
    "faq";
  border: 1px solid #000;
  border-radius: var(--radius);
  background: #fff;
  color: #000;
}

.covers {
  grid-area: covers;
  background: #f6f6f6;
  border-bottom: 1px solid #000;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.covers img {
  width: 100%;
  display: block;
}

.title-block {
  grid-area: title;
  padding: 1.5rem;
}

.title-block h1 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.meta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border-top: 1px solid #000;
}

.seller,
.ratings-mini {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  outline: 1px solid #000;
  min-width: 0;
}

.avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #000;
  object-fit: cover;
  flex-shrink: 0;
}

.review .avatar {
  width: 40px;
  height: 40px;
}

.seller span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stars {
  display: flex;
  align-items: center;
  color: #8B0000;
  filter: drop-shadow(0 1px 0 #3B0000);
}

.stars svg {
  width: 20px;
  height: 20px;
}

.details {
  grid-area: details;
}

.copy {
  padding: 1.5rem;
  border-top: 1px solid #000;
}

.rich {
  font-size: 1rem;
}

.rich h2 {
  margin: 1.15rem 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #8B0000;
}

.rich h2:first-child {
  margin-top: 0;
}

.rich h3 {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.rich p {
  margin: 0 0 0.9rem;
}

.rich ul {
  margin: 0 0 0.9rem 1.2rem;
  padding: 0;
}

.rich li {
  margin: 0 0 0.35rem;
}

.rich hr {
  border: 0;
  border-top: 1px solid #000;
  margin: 1.1rem 0;
}

.rich figure {
  margin: 0.75rem 0 1rem;
}

.rich figure img {
  width: 100%;
  border-radius: 2px;
}

.rich a {
  text-decoration: underline;
}

.rich a.permalink {
  color: #C41E3A;
  font-weight: 700;
}

.rich u {
  text-underline-offset: 2px;
}

.read-more {
  display: none;
  margin-top: 1rem;
  text-decoration: underline;
  align-items: center;
  gap: 0.2rem;
}

.controls {
  grid-area: controls;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid #000;
}

.field select {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 2.2rem 0.75rem 1rem;
  border: 1px solid #000;
  border-radius: var(--radius);
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='black'><path d='m12 15.41 5.71-5.7-1.42-1.42-4.29 4.3-4.29-4.3-1.42 1.42z'/></svg>") no-repeat right 0.6rem center;
  appearance: none;
}

.plans {
  display: grid;
  gap: 0.75rem;
}

.plan {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  text-align: left;
  width: 100%;
  padding: 1rem;
  border: 1px solid #000;
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.plan:hover {
  transform: translate(calc(var(--button-hover-offset) * -1), calc(var(--button-hover-offset) * -1));
  box-shadow: var(--button-hover-offset) var(--button-hover-offset) 0 #000;
}

.radio {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  border: 1px solid #000;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.plan.is-selected .radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #000;
}

.price-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  border: 1px solid #000;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
}

.price-chip s {
  color: #000;
}

.plan h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.plan p {
  margin: 0;
  font-size: 0.95rem;
}

.already {
  text-align: center;
  font-size: 0.92rem;
}

.already a {
  text-decoration: underline;
}

.attrs {
  display: grid;
  border: 1px solid #000;
  border-radius: var(--radius);
  overflow: hidden;
}

.attrs div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid #000;
}

.attrs div:first-child {
  border-top: 0;
}

.attrs h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}

.wish {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #000;
  border-radius: var(--radius);
  background: #fff;
}

.wish-main {
  flex: 1;
  text-align: left;
  padding: 0.75rem 1rem;
}

.wish-caret {
  border-left: 1px solid #000;
  padding: 0.75rem;
  display: grid;
  place-items: center;
}

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  min-width: 12rem;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  border-radius: var(--radius);
  z-index: 20;
  box-shadow: 0.25rem 0.25rem 0 #000;
}

.share-wrap .dropdown {
  right: 0;
  left: auto;
}

.dropdown.open {
  display: block;
}

.dropdown button,
.dropdown a {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.7rem 1rem;
}

.dropdown button:hover,
.dropdown a:hover {
  background: rgb(0 0 0 / 0.05);
}

.share-wrap {
  position: relative;
}

.refund {
  text-align: center;
  color: #000;
  font-size: 0.95rem;
}

.winners-ticker {
  margin-top: 1.25rem;
  border: 1px solid #3B0000;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #C41E3A 0%, #8B0000 42%, #5C0000 78%, #3B0000 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.28),
    0 4px 0 #1a0000,
    0 8px 18px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  color: #fff;
}

.winners-ticker-head {
  margin: 0;
  padding: 0.55rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.winners-ticker-viewport {
  height: calc(2.85rem * 12);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.22);
}

.winners-ticker-track {
  animation: winners-scroll 32s linear infinite;
}

.winner-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.4rem 0.75rem;
  box-sizing: border-box;
}

.winner-item img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.winner-text {
  font-size: 0.82rem;
  line-height: 1.35;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.winner-text strong {
  font-weight: 700;
}

.winner-text em {
  font-style: normal;
  font-weight: 800;
  color: #ffe8a8;
}

@keyframes winners-scroll {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .winners-ticker-track {
    animation: none;
  }
}

.controls-promo {
  margin-top: 1.25rem;
  border: 1px solid #000;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.controls-promo img {
  display: block;
  width: 100%;
  height: auto;
}

.ratings {
  grid-area: ratings;
  padding: 1.5rem;
  border-top: 1px solid #000;
}

.ratings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ratings-head h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.ratings-head-meta {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.histo {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem 0.85rem;
  align-items: center;
  margin: 1.15rem 0 1.4rem;
}

.bar {
  height: 1.1em;
  border: 1px solid #000;
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(180deg, #C41E3A 0%, #8B0000 55%, #3B0000 100%);
}

.review {
  padding: 0.2rem 0 1rem;
}

.review + .review {
  border-top: 1px solid #000;
  padding-top: 1rem;
}

.review p {
  margin: 0.55rem 0;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.review-user h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.review-date {
  color: #666;
  font-size: 0.85rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #C41E3A 0%, #8B0000 55%, #3B0000 100%);
  color: #fff;
  font-size: 0.8rem;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.faq {
  grid-area: faq;
  padding: 1.5rem;
  border-top: 1px solid #000;
}

.faq h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.faq-list details {
  border: 1px solid #000;
  border-radius: var(--radius);
  background: #fff;
}

.faq-list details + details {
  margin-top: 0.65rem;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary .icon {
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.faq-list details[open] summary .icon {
  transform: rotate(180deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: #111;
  line-height: 1.45;
}

.faq-list details a {
  text-decoration: underline;
}

.site-footer {
  --pink: #8B0000;
  background: #000;
  color: #fff;
  margin-top: 2.5rem;
  padding: 4.5rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  gap: 3rem;
}

.footer-subscribe h2 {
  margin: 0 0 1.5rem;
  line-height: 0;
}

.footer-subscribe h2 img {
  width: min(320px, 100%);
  height: auto;
  display: block;
}

.footer-form {
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
  max-width: 36rem;
}

.footer-form input {
  flex: 1;
  min-width: 0;
  height: 3.15rem;
  padding: 0 1rem;
  border: 0;
  border-radius: 2px;
  background: #fff;
  color: #000;
  outline: none;
}

.footer-form input::placeholder {
  color: #8a8a8a;
}

.footer-form button {
  width: 3.15rem;
  height: 3.15rem;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #C41E3A 0%, #8B0000 42%, #5C0000 78%, #3B0000 100%);
  color: #fff;
  border: 0;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

.footer-form button .icon {
  width: 28px;
  height: 28px;
}

.footer-form button:hover {
  filter: brightness(1.05);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
  align-content: start;
}

.footer-links nav {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.footer-links a {
  color: #c8c8c8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-payments {
  margin-top: 3rem;
  text-align: center;
}

.footer-payments img {
  display: inline-block;
  max-width: min(880px, 100%);
  height: auto;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-size: 0.95rem;
}

.footer-copy {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
}

.footer-copy a {
  color: #fff;
  font-weight: 700;
}

.g-mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--pink);
  color: #000;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.g-mark-outline {
  background: transparent;
  border: 2px solid var(--pink);
  color: var(--pink);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-social a {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 3px;
}

.footer-social a:hover {
  background: #fff;
  color: #000;
}

.currency-wrap {
  position: relative;
}

.currency-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.55rem;
  padding: 0.45rem 0.75rem;
  background: #fff;
  color: #000;
  border: 0;
  border-radius: 3px;
  font-size: 0.92rem;
}

.currency-btn .icon {
  width: 18px;
  height: 18px;
}

.currency-menu {
  right: 0;
  left: auto;
  min-width: 16rem;
  color: #000;
}

.toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: #000;
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 80;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 1024px) {
  .header {
    padding: 2rem 4rem 1.25rem;
  }

  .page {
    padding: 4rem 2rem;
  }

  .card {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto 1fr auto auto;
    grid-template-areas:
      "covers covers"
      "title controls"
      "details controls"
      "ratings ratings"
      "faq faq";
  }

  .title-block {
    border-right: 1px solid #000;
  }

  .details {
    border-right: 1px solid #000;
  }

  .controls {
    border-top: 0;
    border-left: 0;
  }

  .copy {
    border-top: 0;
  }

  .site-footer {
    padding: 5rem 4rem 2.25rem;
  }

  .footer-top {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}

@media (max-width: 1023px) {
  .header-row {
    flex-wrap: wrap;
  }

  .logo {
    width: 150px;
  }

  .search {
    order: 3;
    flex-basis: 100%;
  }

  .header-actions .btn {
    flex: 1;
  }

  .copy-inner {
    max-height: 25rem;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, #000 calc(100% - 5rem), transparent);
  }

  .copy.is-open .copy-inner {
    max-height: none;
    overflow: visible;
    mask-image: none;
  }

  .read-more {
    display: inline-flex;
  }

  .copy.is-open .read-more svg {
    transform: rotate(180deg);
  }

  .seller,
  .ratings-mini {
    padding: 0.85rem 1rem;
  }

  .title-block,
  .copy,
  .controls,
  .ratings,
  .faq {
    padding: 1rem;
  }
}

@media (max-width: 640px) {
  .meta-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 2.5rem 1rem 1.5rem;
  }

  .footer-bottom {
    margin-top: 2.5rem;
  }
}

.popup-layer {
  display: none;
}

.popup-box {
  width: min(26rem, 100%);
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
}

.popup-box img {
  width: 100%;
  height: auto;
}

.popup-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  padding: 0.75rem 0 0;
  background: transparent;
}

.popup-actions .btn {
  width: 100%;
  white-space: normal;
  font-size: 0.72rem;
  line-height: 1.25;
  padding: 0.65rem 0.35rem;
  background: linear-gradient(180deg, #C41E3A 0%, #8B0000 42%, #5C0000 78%, #3B0000 100%);
  color: #fff;
  border: 1px solid #3B0000;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.28), 0 3px 0 #1a0000;
}

.popup-actions .btn:hover,
.popup-actions .btn:active {
  transform: none;
  background: linear-gradient(180deg, #E3242B 0%, #8B0000 45%, #5C0000 80%, #3B0000 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.28), 0 3px 0 #1a0000;
  color: #fff;
}

@media (max-width: 767px) {
  .popup-layer {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.92);
  }

  .popup-layer.is-hidden {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .popup-layer {
    display: none !important;
  }
}
