* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.55 var(--font);
  accent-color: var(--accent);
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
header {
  height: 76px;
  padding: 0 max(5vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 850;
}
.brand img {
  width: 34px;
  height: 34px;
}
.brand span::first-letter {
  color: var(--accent);
}
nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
nav button,
footer button {
  border: 0;
  background: none;
  color: inherit;
}
.hero {
  min-height: 560px;
  padding: 70px 7vw;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 7vw;
  background: var(--hero);
}
.hero h1 {
  font: var(--display);
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  margin: 0.2em 0;
}
.hero p {
  max-width: 640px;
  font-size: 18px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 850;
}
.heroStack {
  position: relative;
  height: 410px;
}
.heroStack img {
  position: absolute;
  width: 62%;
  height: 78%;
  object-fit: cover;
  right: calc(var(--i) * 14%);
  top: calc(var(--i) * 8%);
  transform: rotate(calc((var(--i) - 1) * 4deg));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--on);
  border: 1px solid var(--accent);
  border-radius: var(--button);
  font-weight: 750;
  text-decoration: none;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.catalog,
.page {
  max-width: 1500px;
  margin: auto;
  padding: 72px max(5vw, 24px);
}
.sectionHead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.sectionHead h2,
.page h1 {
  font: var(--display);
  font-size: clamp(38px, 5vw, 64px);
  margin: 0.1em 0;
}
.sectionHead input,
input,
select,
textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--button);
  background: var(--surface);
  color: var(--ink);
}
.pills {
  display: flex;
  gap: 8px;
  overflow: auto;
  margin: 24px 0;
}
.pill {
  white-space: nowrap;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
  color: var(--muted);
}
.pill.active {
  background: var(--ink);
  color: var(--bg);
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.cardBody {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card h3 {
  font: var(--card);
  font-size: 22px;
  margin: 0.2em 0;
}
.category {
  font-size: 12px;
  color: var(--accent);
  font-weight: 800;
}
.cardBottom,
.priceRow,
.receiptTop,
.total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.cardBottom {
  margin-top: auto;
}
.old {
  text-decoration: line-through;
  color: var(--muted);
}
.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 35px;
}
dialog {
  width: min(1100px, 94vw);
  max-height: 92vh;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}
dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(5px);
}
.close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  width: 34px;
  height: 34px;
}
.modalInner {
  padding: 32px;
}
.productModal {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
}
.productModal > img {
  width: 100%;
  height: 100%;
  max-height: 650px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 5px);
}
.description {
  max-height: 280px;
  overflow: auto;
}
.checks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.check {
  background: var(--wash);
  padding: 7px 10px;
  border-radius: var(--button);
}
.stack {
  display: grid;
  gap: 12px;
}
.stack label {
  display: grid;
  gap: 6px;
}
.gatewayResult,
.notice {
  padding: 16px;
  background: var(--wash);
}
.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.panel {
  padding: 26px;
  margin: 25px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.result {
  grid-column: 1/-1;
}
.orders article {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.adminTools {
  display: flex;
  gap: 10px;
}
.receipt {
  max-width: 980px;
}
.status {
  padding: 7px 12px;
  border-radius: 99px;
  background: #777;
  color: #fff;
}
.status.paid {
  background: #16744a;
}
.receiptGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.receiptItems article {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.receiptItems img {
  width: 76px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
}
.receiptItems h3 {
  margin: 0;
}
.receiptItems p {
  margin: 3px 0;
  color: var(--muted);
  font-size: 13px;
}
.total {
  padding: 22px 0;
  border-top: 2px solid var(--ink);
  font-size: 24px;
}
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
iframe {
  width: 100%;
  height: 700px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.policy {
  max-width: 900px;
}
.policy h2 {
  margin-top: 2em;
}
footer {
  padding: 44px max(5vw, 24px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
}
footer > div:first-child {
  display: grid;
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .heroStack {
    height: 300px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .productModal {
    grid-template-columns: 1fr;
  }
  .form,
  .receiptGrid {
    grid-template-columns: 1fr;
  }
  .sectionHead {
    display: block;
  }
}
@media (max-width: 560px) {
  header {
    height: 64px;
  }
  nav {
    gap: 9px;
    font-size: 13px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 48px;
  }
  .heroStack {
    height: 230px;
  }
  .orders article {
    grid-template-columns: 1fr;
  }
  .receiptItems article {
    grid-template-columns: 55px 1fr;
  }
  .receiptItems article > strong {
    grid-column: 2;
  }
  .actions {
    flex-wrap: wrap;
  }
  footer {
    grid-template-columns: 1fr;
  }
}
@media print {
  header,
  footer,
  .actions {
    display: none;
  }
  .page {
    padding: 0;
  }
  .receiptItems article {
    break-inside: avoid;
  }
}
/* =========================================================
   OFFICIAL RECEIPT
   Scoped to .receiptPage to avoid affecting the main site.
   ========================================================= */

.receiptPage {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.receiptPage,
.receiptPage * {
  box-sizing: border-box;
}

.receiptPage .officialReceipt {
  width: 100%;
  padding: clamp(28px, 5vw, 58px);
  color: #1c2732;
  background: #ffffff;
  border: 1px solid #d8dee5;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(28, 39, 50, 0.1);
}

/* Receipt header */

.receiptPage .officialReceiptHeader {
  position: static;
  z-index: auto;
  top: auto;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  color: inherit;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.receiptPage .receiptBrandMark {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  padding: 7px;
  background: #ffffff;
  border: 1px solid #d8dee5;
  border-radius: 8px;
  overflow: hidden;
}

.receiptPage .receiptBrandMark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.receiptPage .receiptBusinessName {
  margin: 0 0 5px;
  color: #172534;
  font-size: 21px;
  font-weight: 850;
  line-height: 1.25;
}

.receiptPage .receiptBusinessDetails {
  margin: 0;
  color: #637180;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.receiptPage .receiptDocumentIdentity {
  min-width: 0;
  max-width: 52%;
  margin-left: auto;
  text-align: right;
}

.receiptPage .receiptDocumentType {
  margin: 0 0 6px;
  color: #637180;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.receiptPage .receiptDocumentIdentity h1 {
  margin: 0 0 13px;
  color: #172534;
  font-family: inherit;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

.receiptPage .receiptStatus {
  display: inline-block;
  padding: 6px 11px;
  color: #ffffff;
  background: #64717e;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.receiptPage .receiptProduct {
    min-width: 0;
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
}

.receiptPage .receiptProductImage {
    display: block;
    width: 116px;
    height: 96px;
    object-fit: cover;
    background: #f2f4f6;
    border: 1px solid #dfe4e9;
    border-radius: 7px;
}

.receiptPage .receiptProductDetails {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.receiptPage .receiptStatus-paid {
  background: #176b49;
}

.receiptPage .receiptStatus-processing,
.receiptPage .receiptStatus-payment_link_created {
  color: #634a00;
  background: #fff0b8;
  border-color: #e2ce83;
}

.receiptPage .receiptStatus-payment_failed,
.receiptPage .receiptStatus-gateway_error {
  background: #a13535;
}

.receiptPage .receiptStatus-cancelled,
.receiptPage .receiptStatus-expired {
  background: #626d78;
}

.receiptPage .receiptRule {
  width: 100%;
  margin: 30px 0 0;
  border-top: 3px solid #172534;
}

/* Order reference information */

.receiptPage .receiptReferenceGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 22px 0;
  border-bottom: 1px solid #d8dee5;
}

.receiptPage .receiptReferenceGrid > div {
  min-width: 0;
  padding: 0 22px;
}

.receiptPage .receiptReferenceGrid > div:first-child {
  padding-left: 0;
}

.receiptPage .receiptReferenceGrid > div:last-child {
  padding-right: 0;
}

.receiptPage .receiptReferenceGrid > div + div {
  border-left: 1px solid #d8dee5;
}

.receiptPage .receiptFieldLabel {
  display: block;
  margin: 0 0 5px;
  color: #6a7784;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.receiptPage .receiptReferenceGrid strong,
.receiptPage .receiptDeliveryGrid strong {
  display: block;
  color: #263442;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* Customer and payment information */

.receiptPage .receiptPartyGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 28px 0;
}

.receiptPage .receiptInformationBlock {
  min-width: 0;
  padding: 22px;
  background: #f6f8fa;
  border: 1px solid #dfe4e9;
  border-radius: 8px;
}

.receiptPage .officialReceipt h2 {
  margin: 0 0 14px;
  color: #263442;
  font-family: inherit;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.receiptPage .receiptInformationBlock address {
  margin: 0;
  color: #4f5d6a;
  font-size: 14px;
  font-style: normal;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.receiptPage .receiptInformationBlock address strong {
  color: #1c2732;
}

.receiptPage .receiptDefinitionList {
  margin: 0;
}

.receiptPage .receiptDefinitionList > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 5px 0;
}

.receiptPage .receiptDefinitionList dt {
  color: #667380;
}

.receiptPage .receiptDefinitionList dd {
  margin: 0;
  color: #263442;
  font-weight: 750;
  text-align: right;
  overflow-wrap: anywhere;
}

/* Line-item table */

.receiptPage .receiptLineItems {
  width: 100%;
  padding-top: 4px;
}

.receiptPage .receiptTableWrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 6px 6px 0 0;
}

.receiptPage .receiptTable {
  width: 100%;
  min-width: 700px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  border-spacing: 0;
  background: transparent;
  font-size: 13px;
}

.receiptPage .receiptTable th {
  padding: 11px 10px;
  color: #ffffff;
  background: #172534;
  border: 0;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: 0.07em;
  text-align: left;
  text-transform: uppercase;
  vertical-align: middle;
}

.receiptPage .receiptTable th:first-child {
  padding-left: 14px;
  border-radius: 6px 0 0 6px;
}

.receiptPage .receiptTable th:last-child {
  padding-right: 14px;
  border-radius: 0 6px 6px 0;
}

.receiptPage .receiptTable td {
  padding: 16px 10px;
  color: #465462;
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid #dfe4e9;
  line-height: 1.45;
  vertical-align: top;
}

.receiptPage .receiptTable td:first-child {
  width: 42%;
  padding-left: 4px;
}

.receiptPage .receiptTable td:last-child {
  padding-right: 4px;
  color: #1c2732;
  font-weight: 800;
}

.receiptPage .receiptNumeric {
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.receiptPage .receiptItemTitle {
  display: block;
  margin: 0 0 4px;
  color: #1c2732;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.receiptPage .receiptItemDescription {
  display: block;
  max-width: 520px;
  color: #737f8a;
  font-size: 11px;
  line-height: 1.5;
}

.receiptPage .receiptItemCategory {
    display: block;
    margin: 1px 0 6px;
    color: #596774;
    font-size: 11px;
    line-height: 1.45;
}

.receiptPage .receiptItemCategory strong {
    color: #3c4a57;
    font-weight: 750;
}

.receiptPage .receiptItemQuantity {
    display: block;
    margin-top: 7px;
    color: #596774;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.receiptPage .receiptOrderTable {
    min-width: 0;
    table-layout: fixed;
}

.receiptPage .receiptOrderTable th:first-child,
.receiptPage .receiptOrderTable td:first-child {
    width: auto;
}

.receiptPage .receiptOrderTable th:last-child,
.receiptPage .receiptOrderTable td:last-child {
    width: 145px;
}

.receiptPage .receiptOrderTable td {
    vertical-align: middle;
}

.receiptPage .receiptOrderTable td:first-child {
    padding-top: 18px;
    padding-bottom: 18px;
}

.receiptPage .receiptProduct {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
}

.receiptPage .receiptProductImage {
    width: 76px;
    height: 64px;
    border-radius: 4px;
}

.receiptPage .receiptOrderTable {
    min-width: 0;
    table-layout: fixed;
}

.receiptPage .receiptOrderTable th:last-child,
.receiptPage .receiptOrderTable td:last-child {
    width: 105px;
}

.receiptPage .receiptOrderTable tr {
    break-inside: avoid;
    page-break-inside: avoid;
}

/* Receipt totals */

.receiptPage .receiptTotals {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding: 26px 0 34px;
}

.receiptPage .receiptTotals dl {
  width: min(100%, 390px);
  margin: 0;
}

.receiptPage .receiptTotals dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;
  padding: 7px 0;
}

.receiptPage .receiptTotals dt {
  color: #65727f;
}

.receiptPage .receiptTotals dd {
  margin: 0;
  color: #263442;
  font-weight: 750;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.receiptPage .receiptTotals .receiptGrandTotal {
  margin-top: 6px;
  padding: 14px 0;
  border-top: 2px solid #172534;
  border-bottom: 1px solid #bcc5ce;
}

.receiptPage .receiptTotals .receiptGrandTotal dt,
.receiptPage .receiptTotals .receiptGrandTotal dd {
  color: #172534;
  font-size: 20px;
  font-weight: 900;
}

.receiptPage .receiptTotals .receiptAmountPaid dt,
.receiptPage .receiptTotals .receiptAmountPaid dd {
  color: #176b49;
}

.receiptPage .receiptTotals .receiptBalanceDue dt,
.receiptPage .receiptTotals .receiptBalanceDue dd {
  color: #9c3030;
}

/* Delivery information */

.receiptPage .receiptDelivery {
  width: 100%;
  padding: 22px;
  background: #f6f8fa;
  border: 1px solid #dfe4e9;
  border-left: 4px solid #172534;
  border-radius: 0 7px 7px 0;
}

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

/* Stripe transaction references */

.receiptPage .receiptPaymentReference {
  width: 100%;
  margin-top: 28px;
  padding-top: 23px;
  border-top: 1px solid #d8dee5;
}

.receiptPage .receiptPaymentReference p {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  margin: 8px 0;
  color: #687582;
  font-size: 11px;
  line-height: 1.5;
}

.receiptPage .receiptPaymentReference p > span {
  font-weight: 750;
}

.receiptPage .receiptPaymentReference code {
  min-width: 0;
  padding: 0;
  color: #364452;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  overflow-wrap: anywhere;
}

/* Receipt-only footer */

.receiptPage .officialReceiptFooter {
  position: static;
  width: 100%;
  margin: 32px 0 0;
  padding: 22px 0 0;
  display: block;
  color: #687582;
  background: transparent;
  border: 0;
  border-top: 1px solid #d8dee5;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

.receiptPage .officialReceiptFooter p {
  max-width: 720px;
  margin: 5px auto;
}

/* Notices */

.receiptPage .receiptNotice {
  width: 100%;
  margin: 0 0 18px;
  padding: 16px 19px;
  color: #604a0b;
  background: #fff6d6;
  border: 1px solid #e5d28e;
  border-radius: 8px;
}

.receiptPage .receiptNoticeWarning {
  color: #753838;
  background: #fff0f0;
  border-color: #e4baba;
}

.receiptPage .receiptNotice strong {
  display: block;
  margin: 0 0 3px;
}

.receiptPage .receiptNotice p {
  margin: 0;
}

/* Receipt actions outside the printed document */

.receiptPage .receiptActions {
  width: 100%;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.receiptPage .receiptHomeLink {
  padding: 10px 12px;
  color: var(--muted);
}

/* =========================================================
   TABLET AND MOBILE
   ========================================================= */

@media (max-width: 760px) {
  .receiptPage {
    width: min(100% - 20px, 1080px);
    padding: 24px 0 48px;
  }

  .receiptPage .officialReceipt {
    padding: 24px 18px;
    border-radius: 8px;
  }

  .receiptPage .officialReceiptHeader {
    display: block;
  }

  .receiptPage .receiptDocumentIdentity {
    max-width: none;
    margin: 26px 0 0;
    text-align: left;
  }

  .receiptPage .receiptReferenceGrid {
    grid-template-columns: 1fr;
  }

  .receiptPage .receiptReferenceGrid > div {
    padding: 15px 0;
  }

  .receiptPage .receiptReferenceGrid > div:first-child {
    padding-top: 0;
  }

  .receiptPage .receiptReferenceGrid > div:last-child {
    padding-bottom: 0;
  }

  .receiptPage .receiptReferenceGrid > div + div {
    border-left: 0;
    border-top: 1px solid #d8dee5;
  }

  .receiptPage .receiptPartyGrid {
    grid-template-columns: 1fr;
  }

  .receiptPage .receiptDeliveryGrid {
    grid-template-columns: 1fr;
  }

  .receiptPage .receiptPaymentReference p {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .receiptPage .receiptTotals dl {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .receiptPage .receiptBusiness {
    display: block;
  }

  .receiptPage .receiptBrandMark {
    margin-bottom: 12px;
  }

  .receiptPage .receiptInformationBlock {
    padding: 18px;
  }

  .receiptPage .receiptDefinitionList > div {
    display: block;
  }

  .receiptPage .receiptDefinitionList dd {
    margin-top: 2px;
    text-align: left;
  }

  .receiptPage .receiptActions {
    align-items: stretch;
    flex-direction: column;
  }

  .receiptPage .receiptActions .button,
  .receiptPage .receiptHomeLink {
    width: 100%;
    text-align: center;
  }

  .receiptPage .receiptProduct {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 9px;
  }

  .receiptPage .receiptProductImage {
    width: 48px;
    height: 42px;
  }

  .receiptPage .receiptProduct {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 12px;
    }

    .receiptPage .receiptProductImage {
        width: 82px;
        height: 72px;
    }

    .receiptPage .receiptOrderTable th:last-child,
    .receiptPage .receiptOrderTable td:last-child {
        width: 105px;
    }

    .receiptPage .receiptOrderTable td {
        padding-left: 7px;
        padding-right: 7px;
    }
}

/* =========================================================
   PRINT
   ========================================================= */

@media print {
  @page {
    size: auto;
    margin: 12mm;
  }

  html,
  body {
    margin: 0 !important;
    padding: 0 !important;
    color: #000000 !important;
    background: #ffffff !important;
  }

  body {
    font-size: 9.5pt;
  }

  body > header,
  body > footer,
  .receiptPage .receiptActions,
  .receiptPage .receiptNotice {
    display: none !important;
  }

  .receiptPage {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .receiptPage .officialReceipt {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #000000 !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .receiptPage .officialReceiptHeader {
    display: flex;
    gap: 25px;
  }

  .receiptPage .receiptDocumentIdentity {
    max-width: 52%;
    margin-left: auto;
    text-align: right;
  }

  .receiptPage .receiptRule {
    margin-top: 22px;
  }

  .receiptPage .receiptReferenceGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 16px 0;
  }

  .receiptPage .receiptPartyGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 20px 0;
  }

  .receiptPage .receiptInformationBlock {
    padding: 14px;
  }

  .receiptPage .receiptTableWrap {
    overflow: visible;
  }

  .receiptPage .receiptTable {
    min-width: 0;
    font-size: 8.5pt;
  }

  .receiptPage .receiptTable th {
    padding: 8px 7px;
    font-size: 7.5pt;
  }

  .receiptPage .receiptTable td {
    padding: 10px 7px;
  }

  .receiptPage .receiptItemDescription {
    font-size: 7.5pt;
  }

  .receiptPage .receiptTotals {
    padding: 18px 0 22px;
  }

  .receiptPage .receiptDeliveryGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .receiptPage .receiptBrandMark,
  .receiptPage .receiptStatus,
  .receiptPage .receiptTable th,
  .receiptPage .receiptInformationBlock,
  .receiptPage .receiptDelivery {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .receiptPage .receiptTable thead {
    display: table-header-group;
  }

  .receiptPage .receiptTable tfoot {
    display: table-footer-group;
  }

  .receiptPage .receiptTable tr,
  .receiptPage .receiptInformationBlock,
  .receiptPage .receiptTotals,
  .receiptPage .receiptDelivery,
  .receiptPage .receiptPaymentReference {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .receiptPage .officialReceiptFooter {
    display: block !important;
    margin-top: 22px;
    padding-top: 15px;
  }

  .receiptPage a {
    color: inherit !important;
    text-decoration: none !important;
  }

  .receiptPage .receiptBrandMark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    padding: 5px;
  }

  .receiptPage .receiptBrandMark img,
  .receiptPage .receiptProductImage {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .receiptPage .receiptProduct {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 8px;
  }

  .receiptPage .receiptProductImage {
    width: 44px;
    height: 38px;
    border-radius: 3px;
  }

  .receiptPage .officialReceiptFooter {
    margin-top: 18px;
    padding-top: 12px;
  }
}


/* =========================================================
   HOMEPAGE, CATEGORY DISCOVERY, FOOTER FAQ, MOBILE NAVIGATION
   ========================================================= */
.siteHeader {
  transition: box-shadow 0.2s ease;
}
.navToggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--button);
  font-weight: 750;
}
.navToggleIcon,
.navToggleIcon::before,
.navToggleIcon::after {
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
  content: "";
}
.navToggleIcon {
  position: relative;
}
.navToggleIcon::before,
.navToggleIcon::after {
  position: absolute;
  left: 0;
}
.navToggleIcon::before { top: -6px; }
.navToggleIcon::after { top: 6px; }
.hero {
  min-height: 490px;
  padding: 52px 6vw;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: clamp(24px, 4vw, 58px);
}
.heroCopy {
  max-width: 760px;
}
.hero h1 {
  max-width: 820px;
  font-size: clamp(46px, 6.2vw, 82px);
}
.hero .heroDescription {
  max-width: 720px;
  margin: 0 0 25px;
  font-size: clamp(16px, 1.45vw, 19px);
}
.heroStack {
  height: 360px;
}
.categoryShowcase {
  max-width: 1500px;
  margin: 0 auto;
  padding: 70px max(5vw, 24px) 18px;
}
.categoryShowcaseHead {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 44px;
  margin-bottom: 28px;
}
.categoryShowcaseHead h2,
.footerFaq h2 {
  margin: 0.12em 0 0;
  font: var(--display);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.02;
}
.categoryShowcaseHead > p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}
.categoryCards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.categoryCard {
  min-height: 260px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  isolation: isolate;
}
.categoryCard img,
.categoryCardShade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.categoryCard img {
  z-index: -2;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.categoryCardShade {
  z-index: -1;
  background: linear-gradient(180deg, transparent 24%, rgba(8, 15, 21, 0.88) 100%);
}
.categoryCardContent {
  width: 100%;
  padding: 24px;
  display: grid;
  gap: 3px;
}
.categoryCardContent strong {
  font: var(--card);
  font-size: clamp(21px, 2.3vw, 30px);
  line-height: 1.12;
}
.categoryCardContent > span:not(.categoryCardAction) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}
.categoryCardAction {
  width: max-content;
  margin-top: 10px;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}
.categoryCard:hover img,
.categoryCard:focus-visible img {
  transform: scale(1.045);
}
.categoryCard:focus-visible,
.navToggle:focus-visible,
.siteNav a:focus-visible,
.siteNav button:focus-visible,
.footerFaq summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent);
  outline-offset: 3px;
}
.siteFooter {
  padding: 0;
  display: block;
}
.footerFaq {
  padding: 64px max(5vw, 24px);
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(38px, 7vw, 100px);
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}
.footerFaqIntro > p:last-child {
  max-width: 460px;
  color: var(--muted);
}
.footerFaqList {
  border-top: 1px solid var(--line);
}
.footerFaq details {
  border-bottom: 1px solid var(--line);
}
.footerFaq summary {
  padding: 18px 34px 18px 0;
  position: relative;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  list-style: none;
}
.footerFaq summary::-webkit-details-marker { display: none; }
.footerFaq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 15px;
  color: var(--accent);
  font-size: 24px;
  font-weight: 500;
}
.footerFaq details[open] summary::after { content: "−"; }
.footerFaq details p {
  max-width: 760px;
  margin: -4px 36px 18px 0;
  color: var(--muted);
}
.footerLower {
  padding: 34px max(5vw, 24px);
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  align-items: center;
  gap: 18px 30px;
}
.footerBrand {
  display: grid;
}
.footerBrand span,
.footerLower small {
  color: var(--muted);
}
.footerLinks {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.footerLower small {
  grid-column: 1 / -1;
}
@media (max-width: 900px) {
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-bottom: 42px;
  }
  .heroCopy { max-width: 800px; }
  .heroStack { height: 285px; }
  .categoryCards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .siteHeader { position: sticky; }
  .navToggle { display: inline-flex; }
  .navToggleLabel { display: none; }
  .siteNav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    right: max(3vw, 12px);
    left: max(3vw, 12px);
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .siteNav.open { display: flex; }
  .siteNav a,
  .siteNav button {
    width: 100%;
    padding: 12px;
    text-align: left;
    text-decoration: none;
    border-radius: calc(var(--button) - 2px);
  }
  .siteNav a:hover,
  .siteNav button:hover { background: var(--wash); }
  .hero { padding-inline: max(5vw, 20px); }
  .categoryShowcaseHead,
  .footerFaq { grid-template-columns: 1fr; }
  .categoryShowcaseHead { gap: 15px; }
  .footerFaq { gap: 28px; }
  .footerLower { grid-template-columns: 1fr; }
  .footerLinks { justify-content: flex-start; }
  .footerLower small { grid-column: auto; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .heroStack { height: 220px; }
  .categoryShowcase { padding-top: 52px; }
  .categoryCards { grid-template-columns: 1fr; }
  .categoryCard { min-height: 230px; }
  .footerFaq { padding-top: 50px; padding-bottom: 50px; }
}
@media print {
  .navToggle { display: none !important; }
}
