/* Shopie 5 — ink, paper, useful information. No remote fonts or image requests. */
:root {
  --paper: #faf9f6;
  --white: #fff;
  --ink: #202b2b;
  --muted: #687171;
  --line: #dedfd9;
  --red: #c74433;
  --red-dark: #a72f23;
  --green: #2d6650;
  --green-light: #e9f0e8;
  --radius: 5px;
  --shadow: 0 12px 38px #202b2b12;
  --focus: #1a65a7;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
img,
svg {
  max-width: 100%;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
.container {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}
.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;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--white);
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(32px, 3.7vw, 49px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 750;
  margin-bottom: 18px;
}
h2 {
  font-size: 26px;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-bottom: 12px;
}
h3 {
  font-size: 17px;
  letter-spacing: -0.015em;
  line-height: 1.35;
  margin-bottom: 8px;
}
p {
  margin-bottom: 16px;
}
small,
.tiny,
.fine-print {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--muted);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13px;
}
.red-dot {
  color: var(--red);
}
.rule {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}
.utility {
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.025em;
}
.utility .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 30px;
}
.utility a {
  color: #d9e4de;
  text-decoration: none;
}
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: 96px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-logo {
  width: 150px;
  height: auto;
  display: block;
  mix-blend-mode: normal;
}
.header-row nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: 1;
}
.header-row nav a {
  font-size: 13px;
  text-decoration: none;
  color: var(--muted);
  position: relative;
  padding: 9px 0;
}
.header-row nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}
.header-row nav a[aria-current="page"]:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--red);
}
.header-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}
.header-actions a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-decoration: none;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 8px;
  position: relative;
  min-width: 36px;
  min-height: 36px;
}
.icon-button:hover {
  background: #202b2b08;
  border-radius: 50%;
}
.badge {
  position: absolute;
  right: 0;
  top: 0;
  color: #fff;
  background: var(--red);
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 20px;
}
.basket-link b {
  font-size: 11px;
  min-width: 21px;
  text-align: center;
  background: var(--ink);
  color: white;
  padding: 3px;
  border-radius: 3px;
}
.search-row {
  display: flex;
  gap: 18px;
  padding-bottom: 22px;
  align-items: center;
}
.search-row form {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #c7ccc5;
  background: white;
  min-height: 54px;
  flex: 1;
  padding: 6px 6px 6px 18px;
  border-radius: var(--radius);
}
.search-row input {
  border: 0;
  padding: 7px 0;
  min-width: 0;
  width: 100%;
  background: transparent;
  outline-offset: 1px;
}
.search-row kbd {
  font-family: inherit;
  color: #89908d;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0 7px;
  border-radius: 3px;
  font-size: 12px;
}
.search-row .button {
  height: 40px;
  min-height: 40px;
}
.region-select {
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 210px;
}
.region-select select {
  background: transparent;
  border: 0;
  padding: 12px 0;
  font-size: 12px;
  max-width: 185px;
  font-weight: 600;
}
.mobile-nav {
  display: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 43px;
  padding: 11px 18px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 650;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.4;
  white-space: normal;
}
.button.primary {
  background: var(--red);
  color: white;
}
.button.primary:hover {
  background: var(--red-dark);
}
.button.dark {
  background: var(--ink);
  color: white;
}
.button.outline {
  border-color: #cdd2cb;
  background: white;
}
.button.outline:hover {
  background: #f0f1ec;
}
.button.text {
  padding-inline: 8px;
  text-decoration: underline;
  text-decoration-color: #bcc3b9;
}
.button.small {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 11px;
}
.button.full {
  width: 100%;
  margin-bottom: 9px;
}
.main {
  padding-block: 36px 64px;
  min-height: 60vh;
}
.breadcrumb {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 22px;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 26px;
}
.section-top p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  max-width: 670px;
  margin-bottom: 0;
}
.section-top .eyebrow {
  margin-bottom: 10px;
}
.editorial-hero {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 100px;
  padding: 24px 0 44px;
  align-items: center;
}
.editorial-hero h1 {
  font-size: clamp(38px, 4.9vw, 64px);
  max-width: 760px;
}
.editorial-hero > div > p:not(.eyebrow) {
  font-size: 15px;
  max-width: 550px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 23px;
}
.today-panel {
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  padding: 24px;
  background: var(--white);
}
.today-panel .eyebrow {
  font-size: 9px;
}
.big-fraction {
  font-size: 57px;
  letter-spacing: -0.06em;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 8px;
}
.big-fraction span {
  font-size: 23px;
  color: #8d948f;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.today-panel p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 0;
}
.today-panel .text-link {
  margin-top: 16px;
  font-size: 11px;
}
.retailer-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  padding: 17px 0;
  margin-bottom: 26px;
}
.retailer-strip > span:first-child {
  font-size: 11px;
  color: var(--muted);
}
.retailer-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
}
.retailer-logo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  color: #33403b;
  background: #ecede8;
}
.retailer-pnp {
  color: #214a9f;
  background: #eaf0ff;
}
.retailer-checkers {
  color: #08777b;
  background: #e6f1f0;
}
.retailer-woolworths {
  color: white;
  background: #222824;
}
.retailer-shoprite {
  color: #bd3d31;
  background: #faeae6;
}
.retailer-makro {
  color: #262725;
  background: #f2d94e;
}
.retailer-clicks {
  color: #2167a1;
  background: #e6eff9;
}
.retailer-dischem {
  color: #277440;
  background: #e8f2e6;
}
.retailer-strip .retailer-logo {
  width: 23px;
  height: 23px;
  font-size: 9px;
}
.query-strip {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 10px 0 16px;
  font-size: 11px;
}
.query-strip > span {
  color: var(--muted);
  margin-right: 6px;
}
.query-strip button {
  border: 0;
  background: #eeeee7;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 3px;
  font-size: 11px;
}
.catalogue-heading {
  margin-top: 36px;
  margin-bottom: 22px;
}
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 22px;
}
.chip {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 3px;
  padding: 7px 13px;
  font-size: 12px;
}
.chip:hover {
  background: #eceee7;
}
.chip.selected {
  background: var(--ink);
  color: white;
}
.density-button {
  margin-left: auto;
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--muted);
  font-size: 11px;
  padding: 7px;
}
.staples-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.staple-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.staple-card:hover {
  border-color: #89988b;
  transform: translateY(-2px);
}
.staple-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px 0 18px;
}
.category-label {
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.favourite {
  color: #8d9891;
}
.favourite.selected {
  color: var(--red);
}
.favourite.selected svg {
  fill: #c7443312;
}
.staple-open {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 7px 18px 20px;
}
.staple-number {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 14px;
}
.staple-open h3 {
  font-size: 16px;
  min-height: 43px;
  font-weight: 700;
  max-width: 180px;
  margin-bottom: 23px;
}
.card-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 54px;
}
.card-price strong {
  font-size: 24px;
  letter-spacing: -0.05em;
  line-height: 1.1;
}
.card-price span {
  font-size: 10px;
  color: var(--muted);
}
.card-price .no-price {
  font-size: 12px;
  font-weight: 650;
  color: var(--ink);
  display: flex;
  gap: 7px;
  align-items: center;
}
.staple-open small {
  font-size: 9px;
  display: block;
  margin-top: 12px;
}
.muted-price strong {
  color: #91988f;
}
.bottom-note {
  border-top: 2px solid var(--ink);
  margin-top: 36px;
  padding-top: 19px;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 30px;
  align-items: start;
  font-size: 12px;
}
.bottom-note p {
  color: var(--muted);
  margin: 0;
}
.bottom-note a {
  font-size: 11px;
}
.branch-controls {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 18px;
}
.branch-controls summary {
  cursor: pointer;
}
.branch-controls > div {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.branch-controls label {
  font-size: 11px;
  max-width: 220px;
}
.branch-controls select {
  max-width: 100%;
}
.job-status {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #eef1e9;
  border: 1px solid #e0e4d9;
  padding: 16px 20px;
  margin-bottom: 24px;
  border-radius: 4px;
}
.job-status strong {
  font-size: 12px;
}
.job-status p {
  font-size: 11px;
  color: var(--muted);
  margin: 3px 0 0;
}
.job-status .button {
  margin-left: auto;
}
.spinner {
  display: block;
  width: 17px;
  height: 17px;
  border: 2px solid #d0d7cb;
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  flex-shrink: 0;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.status-dot,
.coverage-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #bfc7ba;
  display: inline-block;
  flex-shrink: 0;
}
.available {
  background: var(--green);
}
.result-controls {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px;
  margin-bottom: 13px;
}
.result-controls label {
  font-size: 10px;
  color: var(--muted);
}
.result-controls input,
.result-controls select {
  font-size: 12px;
  min-height: 38px;
  max-width: 190px;
}
.result-controls label.check-line {
  align-self: center;
  flex-direction: row;
}
.retailer-toggles {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  padding: 7px 0 12px;
  border-bottom: 1px solid var(--line);
}
.retailer-toggles .chip {
  font-size: 10px;
}
.retailer-toggles > span {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
}
.comparison-tools {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 15px 0 20px;
}
.results-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 28px;
}
.store-filter {
  border: 1px solid var(--line);
  padding: 17px;
  background: #fff;
  align-self: start;
}
.store-filter h3 {
  font-size: 12px;
  margin-bottom: 12px;
}
.coverage-row {
  display: flex;
  gap: 9px;
  border-top: 1px solid #edf0e9;
  padding: 14px 0;
  align-items: start;
}
.coverage-copy {
  flex: 1;
  min-width: 0;
}
.coverage-copy strong {
  display: block;
  font-size: 11px;
}
.coverage-copy small {
  display: block;
  font-size: 9px;
  overflow-wrap: anywhere;
}
.coverage-copy details {
  font-size: 9px;
  margin-top: 5px;
}
.coverage-copy summary {
  cursor: pointer;
}
.coverage-copy p {
  font-size: 10px;
  line-height: 1.5;
  margin-top: 6px;
}
.coverage-dot {
  margin-top: 11px;
  width: 4px;
  height: 4px;
}
.store-filter > .tiny {
  font-size: 10px;
  margin: 15px 0 0;
}
.quote-list-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 13px;
  font-size: 11px;
}
.quote-list-head > span {
  color: var(--muted);
  font-size: 10px;
}
.quote-row {
  display: grid;
  grid-template-columns: 125px minmax(150px, 1fr) 90px 145px;
  gap: 19px;
  align-items: center;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}
.quote-store {
  display: flex;
  gap: 9px;
  align-items: start;
}
.quote-store strong {
  font-size: 10px;
  display: block;
}
.quote-store span:not(.retailer-logo),
.quote-store small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  line-height: 1.6;
}
.quote-product h3 {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.quote-product small {
  display: block;
  font-size: 9px;
  margin-top: 7px;
}
.pack {
  font-size: 11px;
  color: var(--muted);
  margin-right: 5px;
}
.stock {
  font-size: 8px;
  padding: 4px 6px;
  border-radius: 2px;
  background: #edeee8;
  color: #7d857a;
  display: inline-block;
}
.stock.in-stock {
  background: var(--green-light);
  color: var(--green);
}
.quote-price strong {
  display: block;
  white-space: nowrap;
  font-size: 23px;
  letter-spacing: -0.06em;
}
.quote-price small {
  display: block;
  font-size: 9px;
  margin-top: 5px;
}
.quote-actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: stretch;
}
.compare-check {
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
  justify-content: end;
  font-size: 10px;
  color: var(--muted);
}
.compare-check input {
  width: auto;
  min-height: auto;
  margin: 0;
}
.quote-actions .retailer-link {
  font-size: 9px;
  text-align: center;
  color: var(--muted);
  margin-top: 5px;
}
.other-packs {
  margin-top: 26px;
  border: 1px solid var(--line);
  padding: 16px;
  background: #fff;
}
.other-packs > summary {
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.other-packs > p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}
.other-packs .quote-row {
  grid-template-columns: 100px 1fr 80px 130px;
  gap: 12px;
}
.fine-print {
  margin-top: 24px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 13px;
  border-bottom: 1px solid var(--line);
  min-width: 130px;
}
th {
  font-weight: 700;
}
td {
  color: var(--muted);
}
.basket-ribbon {
  background: #edece5;
  font-size: 11px;
}
.basket-ribbon .container {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-block: 9px;
}
.basket-ribbon a {
  font-weight: 700;
  text-decoration: none;
}
.basket-ribbon span {
  color: var(--muted);
}
.basket-layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 36px;
}
.basket-line {
  display: grid;
  grid-template-columns: 30px 1fr auto auto 26px;
  gap: 17px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.basket-line h3 {
  font-size: 14px;
}
.basket-line p {
  font-size: 11px;
  margin-bottom: 5px;
  color: var(--muted);
}
.basket-line strong {
  font-size: 17px;
  white-space: nowrap;
}
.basket-line small {
  font-size: 10px;
}
.quantity {
  display: flex;
  gap: 9px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
}
.quantity button {
  border: 0;
  background: none;
  min-width: 28px;
  height: 32px;
}
.quantity span {
  font-size: 12px;
}
.basket-summary {
  background: white;
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  padding: 24px;
  align-self: start;
  position: sticky;
  top: 20px;
}
.summary-amount {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.06em;
}
.basket-summary p {
  font-size: 12px;
  color: var(--muted);
}
.basket-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.budget-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 25px;
  background: #eeeee7;
  margin-top: 30px;
  border-radius: 4px;
}
.budget-panel h2 {
  font-size: 23px;
}
.budget-panel strong {
  font-size: 23px;
  display: block;
}
.budget-panel form {
  display: flex;
  align-items: end;
  gap: 10px;
}
.budget-panel input {
  max-width: 180px;
}
.budget-panel .eyebrow {
  margin-bottom: 8px;
}
.budget-panel .tiny {
  margin: 7px 0 0;
}
.over-budget {
  color: var(--red);
}
progress {
  width: 100%;
  height: 6px;
  accent-color: var(--green);
  margin-top: 12px;
}
.basket-comparison {
  margin-top: 38px;
  border-top: 2px solid var(--ink);
  padding-top: 26px;
}
.store-total-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.store-total {
  background: #fff;
  border: 1px solid var(--line);
  padding: 21px;
}
.store-total.complete {
  border-top: 3px solid var(--green);
}
.store-total h3 {
  margin-top: 14px;
}
.store-total p {
  font-size: 11px;
  color: var(--muted);
}
.store-total > strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.04em;
  margin-top: 14px;
}
.store-total > small {
  font-size: 10px;
  display: block;
}
.store-total details {
  font-size: 11px;
  margin-top: 15px;
}
.comparison-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.comparison-line small {
  display: block;
}
.comparison-line b {
  white-space: nowrap;
}
.missing {
  color: var(--red) !important;
}
.winner-amount {
  font-size: 35px;
  font-weight: 700;
  white-space: nowrap;
}
.winner-amount small {
  display: block;
  text-align: right;
  font-size: 10px;
  font-weight: 400;
}
.split-result {
  margin-top: 20px;
  background: #e9f0e8;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}
.split-result p {
  font-size: 12px;
}
.split-result details {
  font-size: 12px;
}
.pill {
  display: inline-block;
  font-size: 10px;
  background: #eef0e8;
  padding: 5px 8px;
  border-radius: 3px;
}
.pill.green {
  background: var(--green-light);
  color: var(--green);
}
.panel {
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.regular-grid,
.saved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.regular-grid .panel {
  position: relative;
  padding-top: 42px;
}
.regular-grid .favourite {
  position: absolute;
  right: 10px;
  top: 10px;
}
.regular-grid h2,
.saved-grid h2 {
  font-size: 22px;
}
.account-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.account-grid h2 {
  font-size: 21px;
}
.account-grid p {
  font-size: 12px;
}
.account-grid .button {
  font-size: 11px;
}
.security-panel {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.security-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.security-panel p {
  font-size: 12px;
  color: var(--muted);
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
}
input,
select,
textarea {
  border: 1px solid #cfd4ca;
  border-radius: 3px;
  padding: 11px 12px;
  min-height: 42px;
  max-width: 100%;
  background: #fff;
  color: var(--ink);
}
input[type="checkbox"] {
  width: 15px;
  min-height: 15px;
  accent-color: var(--red);
  flex-shrink: 0;
}
form > label {
  margin-bottom: 16px;
}
.check-line {
  display: flex;
  flex-direction: row;
  align-items: start;
  gap: 8px;
  font-size: 11px;
  font-weight: 400;
}
.inline-error {
  color: var(--red);
  font-size: 12px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 90px;
  align-items: center;
  max-width: 1000px;
  margin: 30px auto;
}
.auth-intro h1 {
  font-size: 48px;
  max-width: 450px;
}
.auth-intro p:not(.eyebrow) {
  color: var(--muted);
  max-width: 400px;
  font-size: 14px;
}
.auth-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: var(--radius);
}
.auth-panel h2 {
  font-size: 28px;
}
.auth-panel > p {
  font-size: 12px;
  color: var(--muted);
}
.auth-panel form {
  margin-top: 22px;
}
.auth-switch {
  text-align: center;
  margin: 17px 0;
}
.auth-switch button {
  background: none;
  border: 0;
  color: var(--red);
  padding: 0;
}
.google-button {
  border: 1px solid var(--line);
  background: #fff;
}
.google-g {
  font-weight: 800;
  color: #3f5b9a;
  font-size: 19px;
}
.divider {
  font-size: 10px;
  text-align: center;
  color: var(--muted);
  margin: 12px 0;
}
.quiet-status {
  font-size: 11px;
  background: #f2f3ed;
  padding: 12px;
  border-radius: 3px;
}
.password-help {
  display: block;
  text-align: right;
  margin-bottom: 4px;
  font-size: 11px;
  color: var(--red);
}
.recovery-link {
  display: block;
  font-size: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  margin-top: 18px;
  font-weight: 700;
}
.recovery-value {
  display: block;
  background: #eef0e9;
  padding: 16px;
  font-size: 16px;
  overflow-wrap: anywhere;
}
.email-status {
  padding-bottom: 12px;
}
.release-info {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  font-size: 13px;
}
.release-info dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.release-info dt {
  font-weight: 700;
}
.watch-row {
  display: grid;
  grid-template-columns: 36px 1fr 100px 170px;
  gap: 18px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.watch-row h3 {
  font-size: 14px;
}
.watch-row p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}
.watch-row small {
  font-size: 10px;
  display: block;
}
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.watch-price strong {
  display: block;
  font-size: 23px;
  letter-spacing: -0.04em;
}
.method-note {
  display: flex;
  gap: 20px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
  margin-top: 30px;
  font-size: 12px;
}
.method-note p {
  margin: 0;
  flex: 1;
  color: var(--muted);
}
.alert-row {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 22px;
}
.alert-row.unread {
  background: #f0f3eb;
}
.alert-row h3 {
  font-size: 15px;
}
.alert-row p {
  font-size: 12px;
  color: var(--muted);
}
.empty {
  padding: 50px 25px;
  text-align: center;
  border: 1px dashed var(--line);
  background: #ffffff70;
}
.empty-icon {
  margin-bottom: 20px;
  color: #92a184;
}
.empty h2 {
  font-size: 25px;
}
.empty p {
  color: var(--muted);
  font-size: 13px;
  max-width: 440px;
  margin: 0 auto 20px;
}
.initial-loading {
  max-width: 600px;
  margin: 12vh auto;
  padding: 30px;
}
.wordmark {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.06em;
  text-decoration: none;
}
.wordmark span {
  color: var(--red);
}
.prose {
  max-width: 800px;
}
.prose p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.subscription-panel {
  margin: 0 0 30px;
  max-width: 850px;
}
.subscription-panel h1 {
  font-size: 34px;
}
.subscription-panel p {
  font-size: 13px;
}
.activity-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.activity-metrics > div {
  padding: 23px;
  background: white;
  border: 1px solid var(--line);
}
.activity-metrics strong {
  font-size: 32px;
  display: block;
}
.activity-metrics span {
  font-size: 11px;
  color: var(--muted);
}
.dialog-backdrop {
  position: fixed;
  inset: 0;
  background: #14202177;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(3px);
}
.dialog {
  width: min(620px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--paper);
  padding: 35px;
  border-radius: 7px;
  box-shadow: var(--shadow);
  position: relative;
}
.dialog > h2 {
  font-size: 26px;
  padding-right: 30px;
}
.dialog > p {
  font-size: 12px;
  color: var(--muted);
}
.dialog-close {
  position: absolute;
  right: 14px;
  top: 14px;
}
.dialog form + form {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.dialog-product {
  display: flex;
  gap: 20px;
  margin: 15px 0 25px;
}
.dialog-product p {
  font-size: 12px;
}
.dialog-product strong,
.dialog-product small {
  display: block;
}
.dialog-product h3 {
  font-size: 17px;
}
.dialog-open {
  overflow: hidden;
}
input[autocomplete="one-time-code"] {
  letter-spacing: 0.18em;
  font-size: 21px;
  font-variant-numeric: tabular-nums;
}
.price-chart {
  width: 100%;
  margin: 20px 0;
}
.price-chart text {
  font-size: 9px;
  fill: var(--muted);
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 14px 23px;
  border-radius: 4px;
  box-shadow: var(--shadow);
  z-index: 110;
  font-size: 12px;
  max-width: min(600px, 90vw);
}
.toast.error {
  background: #94392d;
}
footer {
  border-top: 1px solid var(--line);
  padding: 35px 0 45px;
}
.footer-row {
  display: grid;
  grid-template-columns: 160px 1fr 330px;
  gap: 28px;
  align-items: start;
}
.footer-row .brand-logo {
  width: 125px;
}
.footer-row p {
  font-size: 14px;
  padding-top: 12px;
}
.footer-row small {
  font-size: 10px;
  display: block;
  margin-top: 9px;
  max-width: 410px;
}
.footer-row nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 10px;
  padding-top: 14px;
}
.footer-row nav a {
  color: var(--muted);
  text-decoration: none;
}
.footer-row nav a:hover {
  text-decoration: underline;
}
.about-page {
  max-width: 860px;
  padding-block: 48px 70px;
}
.about-page p {
  line-height: 1.85;
  color: #525e58;
}
.about-page h1 {
  font-size: 48px;
}
.about-page h2 {
  font-size: 24px;
}
.about-page section {
  margin-top: 38px;
  scroll-margin-top: 25px;
}
.about-lead {
  font-size: 20px;
}
.about-contents {
  border: 1px solid var(--line);
  padding: 24px;
  background: #fff;
  margin-top: 30px;
}
.about-contents ol {
  columns: 2;
  padding-left: 20px;
  font-size: 12px;
  column-gap: 30px;
}
.about-contents li {
  break-inside: avoid;
  padding-bottom: 8px;
}
.about-owner {
  background: #eeeee7;
  padding: 25px;
}
.about-owner dl {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px;
}
.about-owner dd {
  margin: 0;
}
.recovery-page {
  max-width: 620px;
  padding: 34px 0 65px;
}
.recovery-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px;
  margin-top: 20px;
}
.recovery-card h1 {
  font-size: 31px;
}
.recovery-card p {
  font-size: 12px;
  color: var(--muted);
}
.recovery-card form {
  margin-top: 20px;
}
.recovery-card form + form {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.recovery-message {
  font-size: 12px;
  padding: 13px;
  background: var(--green-light);
  margin-top: 15px;
}
.recovery-message.error {
  background: #fbe8e2;
  color: #9b3226;
}
.recovery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.recovery-header .brand-logo {
  width: 125px;
}
.recovery-header a {
  font-size: 12px;
}
[data-density="compact"] .quote-row {
  padding-block: 15px;
}
[data-density="compact"] .quote-product small {
  margin-top: 3px;
}
[data-density="compact"] .staple-open {
  padding-bottom: 12px;
}
[data-density="compact"] .staple-open h3 {
  margin-bottom: 10px;
}
[data-density="compact"] .staple-number {
  margin-bottom: 5px;
}
@media (min-width: 1500px) {
  .container {
    width: min(1320px, calc(100% - 100px));
  }
  .staples-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 44px);
  }
  .header-row {
    gap: 22px;
  }
  .header-row nav {
    gap: 17px;
  }
  .header-actions {
    gap: 13px;
  }
  .editorial-hero {
    gap: 50px;
    grid-template-columns: 1fr 270px;
  }
  .staples-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .results-layout {
    grid-template-columns: 180px 1fr;
    gap: 20px;
  }
  .quote-row {
    grid-template-columns: 90px 1fr 82px 120px;
    gap: 12px;
  }
  .quote-price strong {
    font-size: 21px;
  }
  .quote-store .retailer-logo {
    display: none;
  }
  .quote-actions .button {
    font-size: 10px;
  }
  .basket-layout {
    grid-template-columns: 1fr 270px;
    gap: 22px;
  }
  .account-grid {
    gap: 14px;
  }
  .panel {
    padding: 20px;
  }
  .auth-layout {
    gap: 45px;
  }
  .footer-row {
    grid-template-columns: 130px 1fr 270px;
  }
}
@media (max-width: 850px) {
  .header-row nav {
    display: none;
  }
  .header-row {
    justify-content: space-between;
    min-height: 82px;
  }
  .header-actions {
    gap: 21px;
  }
  .search-row {
    gap: 13px;
  }
  .editorial-hero {
    gap: 30px;
    grid-template-columns: 1fr 240px;
  }
  .editorial-hero h1 {
    font-size: 45px;
  }
  .editorial-hero > div > p:not(.eyebrow) {
    font-size: 13px;
  }
  .retailer-strip {
    gap: 15px;
  }
  .staples-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .results-layout {
    grid-template-columns: 1fr;
  }
  .store-filter {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 13px;
  }
  .store-filter > h3,
  .store-filter > .tiny {
    grid-column: 1/-1;
  }
  .coverage-row {
    padding: 8px 4px;
    border: 0;
  }
  .coverage-row .retailer-logo {
    width: 23px;
    height: 23px;
    font-size: 9px;
  }
  .coverage-copy details {
    font-size: 9px;
  }
  .coverage-row .coverage-dot {
    display: none;
  }
  .quote-row {
    grid-template-columns: 110px 1fr 90px 135px;
    gap: 15px;
  }
  .quote-store .retailer-logo {
    display: inline-flex;
  }
  .basket-layout {
    grid-template-columns: 1fr;
  }
  .basket-summary {
    position: static;
  }
  .account-grid {
    grid-template-columns: 1fr 1fr;
  }
  .account-grid > section:last-child {
    grid-column: 1/-1;
  }
  .security-panel {
    grid-template-columns: 1fr;
  }
  .auth-layout {
    grid-template-columns: 1fr 370px;
    gap: 30px;
  }
  .auth-intro h1 {
    font-size: 37px;
  }
  .bottom-note {
    grid-template-columns: 1fr 2fr;
  }
  .bottom-note a {
    grid-column: 2;
  }
  .footer-row {
    grid-template-columns: 110px 1fr;
  }
  .footer-row nav {
    grid-column: 2;
    grid-template-columns: repeat(3, 1fr);
  }
  .regular-grid,
  .saved-grid {
    grid-template-columns: 1fr 1fr;
  }
  .watch-row {
    grid-template-columns: 28px 1fr 90px;
  }
  .row-actions {
    grid-column: 2/-1;
  }
  .store-total-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }
  .utility .container {
    min-height: 27px;
    font-size: 9px;
  }
  .header-row {
    min-height: 75px;
    gap: 15px;
  }
  .brand-logo {
    width: 126px;
  }
  .header-actions {
    gap: 12px;
  }
  .header-actions .account-link span,
  .header-actions .basket-link span {
    display: none;
  }
  .header-actions .icon-button {
    display: none;
  }
  .header-actions .basket-link {
    gap: 6px;
  }
  .search-row {
    flex-wrap: wrap;
    padding-bottom: 13px;
    gap: 8px;
  }
  .search-row form {
    min-height: 48px;
    padding-left: 12px;
    gap: 8px;
    flex-basis: 100%;
  }
  .search-row input {
    font-size: 13px;
  }
  .search-row kbd {
    display: none;
  }
  .search-row .button {
    font-size: 11px;
    padding: 9px 13px;
    height: 36px;
    min-height: 36px;
  }
  .region-select {
    max-width: none;
    min-height: 30px;
    gap: 6px;
  }
  .region-select select {
    font-size: 10px;
    padding: 5px 0;
  }
  .region-select > svg {
    width: 14px;
  }
  .main {
    padding-top: 22px;
    padding-bottom: 40px;
  }
  .editorial-hero {
    grid-template-columns: 1fr;
    padding: 14px 0 25px;
    gap: 24px;
  }
  .editorial-hero h1 {
    font-size: 43px;
    margin-bottom: 18px;
  }
  .editorial-hero .eyebrow {
    font-size: 8px;
    margin-bottom: 15px;
  }
  .editorial-hero > div > p:not(.eyebrow) {
    font-size: 13px;
    max-width: 420px;
  }
  .today-panel {
    display: grid;
    grid-template-columns: 80px 1fr;
    padding: 15px;
    gap: 3px 17px;
    border-top-width: 2px;
  }
  .today-panel > .eyebrow {
    grid-column: 1/-1;
  }
  .big-fraction {
    font-size: 33px;
    margin: 0;
    grid-row: 2/4;
  }
  .big-fraction span {
    font-size: 15px;
  }
  .today-panel > p {
    font-size: 10px;
  }
  .today-panel .rule,
  .today-panel .tiny {
    display: none;
  }
  .today-panel .text-link {
    font-size: 10px;
    margin-top: 6px;
  }
  .retailer-strip {
    gap: 12px 16px;
    padding: 13px 0;
    margin-bottom: 17px;
  }
  .retailer-strip > span:first-child {
    width: 100%;
    font-size: 9px;
  }
  .retailer-name {
    font-size: 9px;
  }
  .retailer-strip .retailer-logo {
    width: 19px;
    height: 19px;
    font-size: 8px;
  }
  .query-strip {
    gap: 7px;
  }
  .query-strip > span {
    width: 100%;
    font-size: 9px;
  }
  .query-strip button {
    font-size: 10px;
    padding: 6px 8px;
  }
  .catalogue-heading {
    margin-top: 29px;
    gap: 12px;
  }
  .section-top h1 {
    font-size: 32px;
  }
  .section-top h2 {
    font-size: 24px;
  }
  .section-top .eyebrow {
    font-size: 8px;
  }
  .section-top p:not(.eyebrow) {
    font-size: 11px;
  }
  .catalogue-heading .check-line {
    font-size: 9px;
    max-width: 100px;
  }
  .category-tabs {
    gap: 2px;
    padding-bottom: 12px;
    margin-bottom: 15px;
  }
  .chip {
    font-size: 10px;
    padding: 6px 9px;
  }
  .density-button {
    font-size: 9px;
  }
  .staples-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .staple-top {
    padding-left: 13px;
    padding-right: 5px;
  }
  .category-label {
    font-size: 8px;
  }
  .staple-open {
    padding: 6px 13px 15px;
  }
  .staple-open h3 {
    font-size: 14px;
    min-height: 40px;
    margin-bottom: 17px;
  }
  .staple-number {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .card-price strong {
    font-size: 23px;
  }
  .card-price {
    min-height: 46px;
  }
  .card-price .no-price {
    font-size: 10px;
  }
  .staple-open small {
    font-size: 8px;
  }
  .bottom-note {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 25px;
    font-size: 11px;
  }
  .bottom-note a {
    grid-column: 1;
  }
  .results-title {
    display: block;
  }
  .results-title > .button {
    margin-top: 15px;
  }
  .result-controls {
    padding: 12px;
    gap: 10px;
  }
  .result-controls label {
    width: calc(50% - 5px);
    font-size: 9px;
  }
  .result-controls input,
  .result-controls select {
    width: 100%;
    max-width: none;
    font-size: 11px;
    padding: 9px;
    min-height: 37px;
  }
  .result-controls .check-line {
    width: 100%;
    align-items: center;
  }
  .result-controls .check-line input {
    width: 15px;
    min-height: 15px;
  }
  .result-controls .button {
    font-size: 10px;
    min-height: 36px;
    padding: 8px 11px;
  }
  .retailer-toggles {
    gap: 3px;
  }
  .retailer-toggles .chip {
    font-size: 9px;
  }
  .retailer-toggles > span {
    width: 100%;
    margin-left: 0;
    padding-top: 7px;
    font-size: 9px;
  }
  .comparison-tools {
    gap: 5px;
    padding-block: 12px;
  }
  .comparison-tools .button {
    font-size: 9px;
    padding: 7px 9px;
  }
  .store-filter {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
  .coverage-copy small {
    font-size: 8px;
  }
  .quote-list-head {
    font-size: 10px;
  }
  .quote-list-head > span {
    font-size: 8px;
  }
  .quote-row,
  .other-packs .quote-row {
    grid-template-columns: 1fr 90px;
    gap: 11px;
    padding-block: 20px;
  }
  .quote-store {
    grid-column: 1/-1;
  }
  .quote-store .retailer-logo {
    width: 25px;
    height: 25px;
    font-size: 9px;
  }
  .quote-store > div {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
  }
  .quote-store strong {
    font-size: 10px;
  }
  .quote-store span:not(.retailer-logo),
  .quote-store small {
    font-size: 8px;
  }
  .quote-product h3 {
    font-size: 13px;
  }
  .quote-price {
    text-align: right;
    align-self: start;
  }
  .quote-price strong {
    font-size: 25px;
  }
  .quote-product small {
    font-size: 8px;
  }
  .quote-actions {
    grid-column: 1/-1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
  }
  .compare-check {
    order: 4;
    margin-left: auto;
    font-size: 9px;
  }
  .quote-actions .button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .quote-actions .retailer-link {
    font-size: 9px;
    margin: 0;
  }
  .other-packs {
    padding: 12px;
  }
  .job-status {
    padding: 13px;
    gap: 10px;
  }
  .job-status strong {
    font-size: 10px;
  }
  .job-status p {
    font-size: 9px;
  }
  .job-status .button {
    font-size: 9px;
    padding: 7px;
  }
  .basket-ribbon span {
    display: none;
  }
  .basket-ribbon .container {
    justify-content: center;
    font-size: 10px;
  }
  .basket-line {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }
  .basket-product-icon {
    display: none;
  }
  .basket-description {
    grid-column: 1/-1;
  }
  .basket-line h3 {
    font-size: 14px;
  }
  .basket-line > .icon-button {
    justify-self: end;
  }
  .basket-line > strong {
    font-size: 17px;
  }
  .basket-summary {
    padding: 20px;
  }
  .budget-panel {
    display: block;
    padding: 20px;
  }
  .budget-panel form {
    margin-top: 18px;
  }
  .budget-panel input {
    max-width: 170px;
  }
  .budget-panel label {
    font-size: 10px;
  }
  .basket-tools {
    gap: 7px;
  }
  .basket-tools .button {
    font-size: 10px;
  }
  .store-total-grid {
    grid-template-columns: 1fr;
  }
  .split-result {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 19px;
  }
  .winner-amount {
    font-size: 26px;
  }
  .winner-amount small {
    text-align: left;
  }
  .account-grid {
    grid-template-columns: 1fr;
  }
  .account-grid > section:last-child {
    grid-column: auto;
  }
  .security-actions {
    grid-template-columns: 1fr;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    margin: 0;
  }
  .auth-intro h1 {
    font-size: 35px;
  }
  .auth-intro p:not(.eyebrow) {
    font-size: 12px;
  }
  .auth-panel {
    padding: 24px;
  }
  .auth-intro {
    display: none;
  }
  .auth-panel h2 {
    font-size: 27px;
  }
  .regular-grid,
  .saved-grid {
    grid-template-columns: 1fr;
  }
  .watch-row {
    grid-template-columns: 28px 1fr;
    gap: 13px;
  }
  .watch-price {
    grid-column: 2;
  }
  .watch-price strong {
    font-size: 21px;
  }
  .method-note {
    flex-wrap: wrap;
    gap: 12px;
    padding: 17px;
  }
  .method-note .button {
    width: 100%;
  }
  .activity-metrics {
    grid-template-columns: 1fr;
  }
  .footer-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .footer-row p {
    font-size: 12px;
  }
  .footer-row nav {
    grid-column: 1;
    grid-template-columns: 1fr 1fr;
    font-size: 10px;
  }
  .footer-row .brand-logo {
    width: 110px;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    z-index: 50;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    justify-content: space-around;
    padding: 8px 5px max(9px, env(safe-area-inset-bottom));
  }
  .mobile-nav a {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4px;
    font-size: 8px;
    text-decoration: none;
    min-width: 50px;
  }
  body {
    padding-bottom: 64px;
  }
  .toast {
    bottom: 85px;
    width: 90%;
    font-size: 11px;
  }
  .dialog-backdrop {
    padding: 12px;
  }
  .dialog {
    padding: 25px 20px;
    max-height: 88vh;
  }
  .dialog > h2 {
    font-size: 24px;
  }
  .table-scroll th,
  .table-scroll td {
    font-size: 10px;
    padding: 10px;
    min-width: 110px;
  }
  .release-info {
    grid-template-columns: 95px 1fr;
    font-size: 11px;
  }
  .about-page h1 {
    font-size: 35px;
  }
  .about-page h2 {
    font-size: 22px;
  }
  .about-page p {
    font-size: 13px;
  }
  .about-contents {
    padding: 20px;
  }
  .about-contents ol {
    columns: 1;
    font-size: 11px;
  }
  .about-owner dl {
    grid-template-columns: 1fr;
  }
  .about-owner dd {
    margin-bottom: 10px;
  }
  .recovery-card {
    padding: 23px;
  }
  .recovery-page {
    padding-top: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition: none !important;
  }
}
@media print {
  body {
    background: white;
    padding: 0;
    font-size: 11px;
  }
  .site-header,
  .utility,
  .mobile-nav,
  footer,
  .basket-ribbon,
  .basket-tools,
  button,
  .budget-panel form,
  .basket-summary .button {
    display: none !important;
  }
  .main,
  .container {
    width: 100%;
    padding: 0;
  }
  .basket-layout {
    display: block;
  }
  .basket-summary {
    position: static;
    break-inside: avoid;
  }
  .basket-line {
    break-inside: avoid;
  }
  .dialog-backdrop {
    display: none;
  }
  .store-total-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.recovery-card input {
  display: block;
  width: 100%;
  margin: 8px 0 18px;
}
.region-select {
  flex-direction: row;
}
.about-page p a {
  overflow-wrap: anywhere;
}
