/*
Theme Name: Karatana
Theme URI: http://localhost:8080
Author: Karatana
Description: Prodavnica karata, Karatana.ba.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: row-c
WC requires at least: 8.0
WC tested up to: 9.4
*/

@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/Barlow-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/Barlow-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/Barlow-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/Barlow-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/BarlowCondensed-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: oklch(0.97 0.012 95);
  --paper-2: oklch(0.94 0.025 250);
  --sheet: oklch(0.99 0.008 95);
  --ink: oklch(0.27 0.045 255);
  --ink-soft: oklch(0.42 0.04 255);
  --rule: oklch(0.86 0.025 250);
  --sticker: oklch(0.78 0.11 245);
  --gold: oklch(0.88 0.14 95);
  --footer: oklch(0.84 0.03 250);
  color-scheme: light;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Barlow", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  font-weight: 400;
}

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

a {
  color: inherit;
}

h1, h2, h3,
.wordmark,
.product-row-name,
.product-row-price,
.shelf-name,
.shelf-price,
.mast-card-name,
.mast-card-price,
.button,
button,
input[type="submit"],
.nav-list a,
.games a,
.cart-link,
.site-search button,
.mast-cta {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip:focus {
  top: 1rem;
}

.screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}

.header-bar,
.games-row,
.mast-grid {
  width: min(76rem, calc(100% - clamp(1.5rem, 4vw, 3.5rem)));
  margin-inline: auto;
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.2rem;
  min-height: 4.25rem;
  padding-block: 0.7rem;
}

.wordmark {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 2.15rem;
  line-height: 0.85;
  letter-spacing: -0.03em;
}

.wordmark span {
  color: oklch(0.48 0.14 250);
}

.site-footer .wordmark span {
  color: var(--gold);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.95rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1;
}

.nav-list .current-menu-item > a,
.nav-list .current_page_item > a {
  background: var(--ink);
  color: var(--paper);
  padding: 0.12rem 0.4rem 0.05rem;
}

.site-search {
  margin-left: auto;
  display: flex;
  gap: 0.4rem;
}

.site-search input[type="search"] {
  font: inherit;
  color: var(--ink);
  background: var(--sheet);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 0.45rem 0.6rem;
  width: min(16rem, 42vw);
}

.site-search button,
.button,
button,
input[type="submit"],
#place_order {
  display: inline-block;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 0.7rem 0.9rem 0.55rem;
  cursor: pointer;
  text-decoration: none;
}

.site-search button {
  padding: 0.5rem 0.7rem 0.4rem;
  font-size: 1.15rem;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.site-search button:hover,
.mast-cta:hover,
#place_order:hover {
  background: oklch(0.22 0.03 75);
}

.cart-link {
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1;
}

.cart-count {
  background: var(--gold);
  min-width: 1.45rem;
  text-align: center;
  padding: 0.12rem 0.35rem 0.05rem;
  font-variant-numeric: tabular-nums;
}

.games {
  border-top: 1px solid var(--rule);
}

.games-row {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-block: 0.65rem;
}

.games a {
  flex: none;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1;
  border: 1px solid var(--ink);
  padding: 0.28rem 0.5rem 0.16rem;
}

.games a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

.mast {
  background: var(--sticker);
  color: var(--ink);
  padding-block: clamp(1.75rem, 4vw, 3.4rem);
}

.mast-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  grid-template-areas:
    "copy card"
    "receipt card";
  gap: 1.15rem 2rem;
  align-items: end;
}

.mast-copy { grid-area: copy; }
.receipt { grid-area: receipt; align-self: start; }
.mast-card { grid-area: card; align-self: stretch; }

.kicker {
  margin: 0;
  font-weight: 600;
  font-size: 1.05rem;
}

.mast-copy h1 {
  margin: 0.35rem 0 0.8rem;
  font-size: clamp(3.4rem, 7vw, 6.3rem);
  max-width: 12ch;
}

.lede,
.band-note,
.page-lede,
.term-description,
.term-description p {
  max-width: 42ch;
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.45;
}

.mast-cta {
  display: inline-block;
  margin-top: 1.3rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.75rem 1rem 0.6rem;
}

.receipt {
  width: min(18rem, 100%);
  background: var(--paper);
  padding: 1rem 1rem 1.15rem;
  box-shadow: 0 12px 28px oklch(0.35 0.06 250 / 0.22);
}

.receipt p {
  margin: 0.15rem 0;
}

.receipt strong {
  display: block;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.9;
  margin-bottom: 0.35rem;
}

.receipt em {
  font-style: italic;
}

.receipt-rule {
  border: 0;
  border-top: 1px dashed oklch(0.72 0.02 95);
  margin: 0.75rem 0;
}

.mast-card {
  color: inherit;
  text-decoration: none;
  display: grid;
  justify-items: end;
  align-content: end;
  gap: 0.55rem;
}

.mast-card img {
  width: min(100%, 22rem);
  border: 3px solid var(--ink);
  outline: 2px solid var(--gold);
  outline-offset: -6px;
  background: var(--paper);
}

.mast-card-label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 0.8rem;
  align-items: center;
  width: min(100%, 22rem);
  background: var(--paper);
  padding: 0.55rem 0.65rem;
}

.mast-card-name {
  display: block;
  grid-column: 1;
  grid-row: 1;
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 0.95;
}

.mast-card-meta {
  display: block;
  grid-column: 1 / -1;
  grid-row: 2;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.mast-card-price {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1;
  padding: 0.25rem 0.4rem 0.15rem;
  font-variant-numeric: tabular-nums;
}

.band {
  width: min(72rem, calc(100% - clamp(1.5rem, 4vw, 3.5rem)));
  margin-inline: auto;
  padding-top: clamp(2.6rem, 6vw, 4.6rem);
}

.band h2,
.shop-main > h1.page-title,
.entry > h1.page-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  margin: 0 0 0.45rem;
}

.band-note {
  margin-bottom: 1.2rem;
}

.guide,
ul.products {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}

ul.products {
  margin-top: 0.5rem;
}

ul.products::before,
ul.products::after {
  display: none;
}

.product-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  height: 100%;
  padding: 0.65rem 0.65rem 0.8rem;
  border: 1px solid var(--ink);
  background: var(--sheet);
  text-decoration: none;
  color: inherit;
}

.guide li:last-child .product-row,
ul.products li.product:last-child .product-row {
  border-bottom: 1px solid var(--ink);
}

ul.products li.product {
  margin: 0;
  width: auto;
  float: none;
}

.product-row:hover .product-row-name,
.shelf-item:hover .shelf-name,
.mast-card:hover .mast-card-name {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.product-row-art {
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 7;
  margin-bottom: 0.35rem;
  background: var(--paper-2);
}

.product-row-art img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-row-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.product-row-meta,
.shelf-meta {
  display: block;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.product-row-game {
  display: none;
}

.product-row-name,
.shelf-name {
  display: block;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
}

.product-row-flag,
.delay-banner,
.stock-banner {
  display: inline-block;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  line-height: 1;
  padding: 0.2rem 0.4rem 0.12rem;
}

.product-row-flag {
  margin-top: 0.28rem;
}

.product-row-flag.wait,
.delay-banner {
  background: var(--gold);
  color: var(--ink);
}

.product-row-flag.ready,
.stock-banner {
  border: 1px solid var(--ink);
}

.delay-banner,
.stock-banner {
  margin: 0.35rem 0 0.8rem;
}

.catalog-row:not(:has(.product-row-art img)) .product-row-art {
  display: grid;
}

.catalog-scan {
  width: min(100%, 16rem);
  margin: 0.4rem 0 1rem;
}

.catalog-scan img {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid var(--ink);
  outline: 1px solid var(--gold);
  outline-offset: -4px;
}

.catalog-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: end;
  margin: 1rem 0 0.5rem;
}

.catalog-tools label {
  display: grid;
  gap: 0.2rem;
  font-size: 0.95rem;
}

.catalog-tools input,
.catalog-tools select {
  font: inherit;
  color: inherit;
  background: var(--sheet);
  border: 1px solid var(--ink);
  padding: 0.35rem 0.45rem;
}

.catalog-buy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
  margin-top: 0.5rem;
}

.catalog-buy label {
  display: grid;
  gap: 0.2rem;
}

.catalog-buy input {
  width: 5rem;
  font: inherit;
  border: 1px solid var(--ink);
  padding: 0.35rem 0.45rem;
}

.catalog-pages {
  display: flex;
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.mast-note {
  margin: 0.8rem 0 0;
}

.product-row-price,
.shelf-price {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-top: auto;
}

.price del,
.product-row-price del {
  color: var(--ink-soft);
  margin-right: 0.35rem;
}

.price ins,
.product-row-price ins {
  text-decoration: none;
}

.shelf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
  gap: 1.5rem 1.25rem;
}

.shelf-item {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.shelf-item img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  border: 3px solid var(--ink);
  outline: 2px solid var(--gold);
  outline-offset: -6px;
  background: var(--paper-2);
}

.shop-main {
  width: min(72rem, calc(100% - clamp(1.5rem, 4vw, 3.5rem)));
  margin-inline: auto;
  padding-bottom: 3rem;
}

.shop-main--prose .entry {
  width: min(65ch, 100%);
}

.entry-content p,
.term-description p {
  line-height: 1.55;
}

.crumbs {
  font-size: 0.98rem;
  margin: 1.1rem 0 0.35rem;
}

.crumbs a {
  color: inherit;
}

.loop-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 0 0.25rem;
}

.woocommerce-result-count {
  margin: 0;
  color: var(--ink-soft);
}

.woocommerce-ordering {
  margin: 0;
}

.woocommerce-ordering select,
select,
.input-text,
textarea {
  font: inherit;
  color: var(--ink);
  background: var(--sheet);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 0.65rem 0.6rem;
}

.single-product div.product {
  display: grid;
  grid-template-columns: minmax(16rem, 26rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
  padding-top: 0.5rem;
}

.woocommerce-product-gallery {
  width: 100% !important;
  float: none !important;
  opacity: 1 !important;
}

.woocommerce-product-gallery img {
  width: 100%;
  border: 3px solid var(--ink);
  outline: 2px solid var(--gold);
  outline-offset: -6px;
}

.summary,
.woocommerce-product-gallery {
  grid-row: 1;
}

.single-product div.product > .woocommerce-tabs,
.single-product div.product > .related,
.single-product div.product > section.related {
  grid-column: 1 / -1;
}

.summary {
  float: none !important;
  width: auto !important;
}

.summary .product_title {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  margin: 0 0 0.7rem;
}

.summary .price {
  display: inline-block;
  background: var(--gold);
  margin: 0 0 1rem;
  padding: 0.35rem 0.5rem 0.2rem;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
}

.woocommerce-product-details__short-description {
  max-width: 46ch;
}

form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin: 1.1rem 0;
}

.quantity .qty {
  width: 4.5rem;
  font: inherit;
  color: var(--ink);
  background: var(--sheet);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 0.65rem 0.45rem;
}

.single_add_to_cart_button,
.checkout-button {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--ink);
}

.single_add_to_cart_button:hover,
.checkout-button:hover {
  background: oklch(0.82 0.13 95);
  color: var(--ink);
}

a.checkout-button,
#place_order {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 0.9rem;
}

.product_meta {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.product_meta > span {
  display: inline-block;
  margin-right: 1rem;
}

.woocommerce-tabs ul.tabs {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  border-bottom: 1px solid var(--rule);
}

.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after,
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after {
  display: none;
}

.woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: 0.55rem 0;
  text-decoration: none;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
}

.woocommerce-tabs ul.tabs li.active a {
  box-shadow: inset 0 -2px 0 var(--ink);
}

table.shop_attributes,
table.shop_table {
  width: 100%;
  border-collapse: collapse;
}

table.shop_attributes th,
table.shop_attributes td,
table.shop_table th,
table.shop_table td {
  text-align: left;
  padding: 0.75rem 0.35rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: middle;
  font-weight: 500;
}

table.shop_table .product-thumbnail img {
  width: 3.2rem;
  border: 2px solid var(--ink);
  outline: 1px solid var(--gold);
  outline-offset: -3px;
}

input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--ink);
}

.woocommerce-shipping-methods,
.wc_payment_methods {
  list-style: none;
  margin: 0.2rem 0 0;
  padding: 0;
}

.woocommerce-shipping-methods li {
  margin: 0.15rem 0;
}

.cart_totals,
.checkout-review {
  background: var(--paper-2);
  padding: 1rem 1.1rem 1.25rem;
}

.cart_totals h2,
.checkout-review h2 {
  font-size: 2rem;
  margin: 0 0 0.6rem;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 0.85rem 1rem;
  margin: 1rem 0;
  list-style: none;
  border: 1px solid var(--ink);
  background: var(--paper-2);
}

.woocommerce-error {
  background: oklch(0.93 0.035 35);
}

.woocommerce-message {
  background: var(--gold);
}

.woocommerce-message .button,
.woocommerce-info .button {
  margin-right: 0.75rem;
}

.woocommerce form .form-row {
  margin: 0 0 0.95rem;
  padding: 0;
}

.woocommerce form .form-row label {
  display: block;
  margin-bottom: 0.28rem;
  font-weight: 600;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  width: 100%;
}

.required {
  color: var(--ink);
  text-decoration: none;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
  gap: 1.5rem 2rem;
  align-items: start;
  margin-top: 0.5rem;
}

.select2-container {
  width: 100% !important;
}

.select2-container .select2-selection--single {
  height: auto;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--sheet);
  padding: 0.4rem 0.45rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
}

.woocommerce-pagination ul {
  display: flex;
  gap: 0.45rem;
  list-style: none;
  padding: 1.4rem 0 0;
  margin: 0;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: inline-block;
  min-width: 1.8rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--ink);
  padding: 0.2rem 0.4rem;
}

.woocommerce-pagination ul li span.current {
  background: var(--ink);
  color: var(--paper);
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 0 0 1.2rem;
}

.woocommerce-MyAccount-navigation ul li a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--ink);
  padding: 0.25rem 0.5rem;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--ink);
  color: var(--paper);
}

.coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.coupon .input-text {
  width: 12rem;
}

.site-footer {
  margin-top: clamp(3rem, 8vw, 6rem);
  background: var(--ink);
  color: var(--paper);
  padding: 2.1rem 0 2.5rem;
}

.footer-grid {
  width: min(72rem, calc(100% - clamp(1.5rem, 4vw, 3.5rem)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 1.5rem 2rem;
}

.site-footer .wordmark {
  color: var(--paper);
  display: inline-block;
  margin-bottom: 0.45rem;
}

.site-footer p {
  margin: 0.3rem 0;
  max-width: 36ch;
}

.site-footer a {
  color: var(--paper);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.fine {
  color: var(--footer);
  font-size: 0.95rem;
}

.empty-note {
  max-width: 42ch;
}

@media (max-width: 860px) {
  .site-search {
    margin-left: 0;
    flex: 1 0 100%;
  }

  .site-search input[type="search"] {
    flex: 1;
    width: auto;
  }

  .mast-grid,
  .single-product div.product,
  .checkout-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mast-grid {
    grid-template-areas:
      "copy"
      "card"
      "receipt";
  }

  .mast-card {
    justify-items: start;
  }

  .mast-copy h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .guide,
  ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: no-preference) {
  .mast-copy h1,
  .mast-card,
  .receipt {
    animation: rowc-in 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .mast-card { animation-delay: 80ms; }
  .receipt { animation-delay: 140ms; }
}

@keyframes rowc-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
