    @font-face {
      font-family: "Inter";
      src: url("../fonts/inter-400.ttf") format("truetype");
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "Inter";
      src: url("../fonts/inter-500.ttf") format("truetype");
      font-weight: 500;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "Inter";
      src: url("../fonts/inter-600.ttf") format("truetype");
      font-weight: 600;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "Inter";
      src: url("../fonts/inter-700.ttf") format("truetype");
      font-weight: 700;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "Tektur";
      src: url("../fonts/tektur-400.ttf") format("truetype");
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "Tektur";
      src: url("../fonts/tektur-700.ttf") format("truetype");
      font-weight: 700;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: "Tektur";
      src: url("../fonts/tektur-900.ttf") format("truetype");
      font-weight: 900;
      font-style: normal;
      font-display: swap;
    }
    :root {
      color-scheme: light;
      --blue: #0054a6;
      --navy: #1b3f7a;
      --light-blue: #3e7fc4;
      --silver: #b8bbc0;
      --grey: #8f9399;
      --ink: #142a43;
      --muted: #687482;
      --line: #d7e0e9;
      --paper: #f4f7fb;
      --error: #9e1c1c;
      --ok: #17664a;
      --body-font: Inter, Arial, Helvetica, sans-serif;
      --display-font: Tektur, Arial, Helvetica, sans-serif;
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      background:
        linear-gradient(180deg, rgba(0, 84, 166, 0.12), rgba(244, 247, 251, 0) 260px),
        var(--paper);
      color: var(--ink);
      font-family: var(--body-font);
      line-height: 1.45;
    }
    body::before {
      content: "";
      display: block;
      height: 10px;
      background: linear-gradient(90deg, var(--blue) 0 38%, #fff 38% 48%, var(--navy) 48% 78%, var(--silver) 78% 100%);
    }
    main {
      width: min(1120px, calc(100% - 28px));
      margin: 28px auto;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 330px;
      gap: 24px;
      align-items: start;
    }
    section, aside {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 8px;
      padding: 24px;
      box-shadow: 0 18px 50px rgba(20, 42, 67, 0.08);
    }
    .brand {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 18px;
    }
    .crest {
      width: 64px;
      height: 76px;
      object-fit: contain;
      flex: 0 0 auto;
    }
    .club-line {
      color: var(--navy);
      font-family: var(--display-font);
      font-size: 0.92rem;
      font-weight: 700;
      margin: 0 0 2px;
    }
    h1 {
      margin: 0;
      color: var(--blue);
      font-family: var(--display-font);
      font-size: clamp(1.75rem, 4vw, 2.8rem);
      font-weight: 900;
      line-height: 1;
      text-transform: uppercase;
    }
    h2 {
      margin: 24px 0 10px;
      color: var(--navy);
      font-family: var(--display-font);
      font-size: 1.05rem;
      font-weight: 900;
      text-transform: uppercase;
    }
    p { margin: 0 0 12px; }
    label { display: block; font-weight: 700; margin: 12px 0 6px; }
    input, textarea {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 11px 12px;
      font: inherit;
      background: #fff;
      color: var(--ink);
    }
    input:focus, textarea:focus {
      border-color: var(--light-blue);
      box-shadow: 0 0 0 3px rgba(62, 127, 196, 0.18);
      outline: none;
    }
    textarea { min-height: 78px; resize: vertical; }
    button {
      border: 1px solid var(--blue);
      border-radius: 6px;
      font-family: var(--display-font);
      font-size: inherit;
      font-weight: 700;
      cursor: pointer;
    }
    .products {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      margin-top: 12px;
    }
    .product {
      display: grid;
      grid-template-rows: 180px 1fr;
      min-width: 0;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fff;
    }
    .product.is-disabled {
      opacity: 0.72;
    }
    .product img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      background: #e9eef5;
    }
    .product-body {
      display: grid;
      gap: 10px;
      padding: 14px;
    }
    .product h3 {
      margin: 0;
      color: var(--navy);
      font-family: var(--display-font);
      font-size: 1rem;
      line-height: 1.15;
      overflow-wrap: anywhere;
    }
    .date-line {
      color: var(--muted);
      font-size: 0.9rem;
      min-height: 2.4em;
    }
    .stock-line {
      color: var(--muted);
      font-size: 0.84rem;
      min-height: 1.2em;
    }
    .stock-line.sold-out {
      color: var(--error);
      font-family: var(--display-font);
      font-weight: 900;
      text-transform: uppercase;
    }
    .buy-row {
      display: grid;
      grid-template-columns: 1fr 112px;
      gap: 10px;
      align-items: center;
    }
    .price {
      color: var(--blue);
      font-family: var(--display-font);
      font-weight: 900;
      font-size: 1.25rem;
    }
    .stepper {
      display: grid;
      grid-template-columns: 34px 44px 34px;
      height: 36px;
      border: 1px solid var(--line);
      border-radius: 6px;
      overflow: hidden;
      justify-self: end;
    }
    .stepper button {
      width: 34px;
      min-width: 34px;
      border: 0;
      border-radius: 0;
      background: #f5f8fc;
      color: var(--blue);
      line-height: 1;
    }
    .stepper button:disabled {
      color: var(--grey);
      cursor: not-allowed;
    }
    .stepper output {
      display: grid;
      place-items: center;
      min-width: 44px;
      font-family: var(--display-font);
      font-weight: 900;
      border-left: 1px solid var(--line);
      border-right: 1px solid var(--line);
    }
    .grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
    .primary {
      width: 100%;
      margin-top: 8px;
      padding: 12px;
      background: var(--blue);
      color: #fff;
      font-family: var(--display-font);
      font-weight: 700;
    }
    .primary:hover { background: var(--navy); }
    .primary:disabled {
      opacity: 0.65;
      cursor: wait;
    }
    .muted {
      color: var(--muted);
      font-size: 0.94rem;
    }
    .summary {
      position: sticky;
      top: 18px;
      border-top: 5px solid var(--blue);
    }
    .summary strong {
      display: block;
      font-family: var(--display-font);
      font-size: 2rem;
      margin: 10px 0;
      color: var(--blue);
    }
    .summary-list {
      display: grid;
      gap: 9px;
      margin: 14px 0;
    }
    .summary-line {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 10px;
      font-size: 0.94rem;
    }
    #card-container {
      margin: 12px 0;
      min-height: 90px;
    }
    .wallet-buttons {
      display: grid;
      gap: 10px;
      margin: 12px 0 16px;
    }
    #apple-pay-button {
      width: 100%;
      height: 48px;
      border: 0;
      border-radius: 5px;
      -webkit-appearance: -apple-pay-button;
      -apple-pay-button-type: buy;
      -apple-pay-button-style: black;
    }
    #google-pay-button { min-height: 48px; }
    .payment-separator {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--muted);
      font-size: 0.9rem;
      margin: 4px 0 14px;
    }
    .payment-separator::before,
    .payment-separator::after {
      content: '';
      height: 1px;
      flex: 1;
      background: var(--line);
    }
    .error {
      color: var(--error);
      font-weight: 700;
      min-height: 1.4em;
    }
    .success {
      border: 1px solid rgba(23, 102, 74, 0.35);
      background: #f1faf6;
      color: var(--ok);
      padding: 14px;
      border-radius: 6px;
      margin-top: 16px;
    }
    .success[hidden] { display: none; }
    .processing-modal[hidden], .success-modal[hidden] { display: none; }
    .processing-modal,
    .success-modal {
      position: fixed;
      inset: 0;
      z-index: 20;
      display: grid;
      place-items: center;
      padding: 20px;
      background: rgba(20, 42, 67, 0.52);
    }
    .processing-dialog {
      width: min(420px, 100%);
      padding: 28px 24px;
      border-radius: 8px;
      background: #fff;
      border-top: 6px solid var(--blue);
      box-shadow: 0 26px 70px rgba(20, 42, 67, 0.28);
      text-align: center;
    }
    .processing-dialog h2 { margin: 14px 0 8px; font-size: 1.35rem; }
    .payment-spinner {
      width: 38px; height: 38px; margin: 0 auto; border: 4px solid #d7e0e9;
      border-top-color: var(--blue); border-radius: 50%; animation: payment-spin .8s linear infinite;
    }
    @keyframes payment-spin { to { transform: rotate(360deg); } }
    .success-dialog {
      width: min(540px, 100%);
      max-height: min(720px, calc(100vh - 40px));
      overflow: auto;
      background: #fff;
      border: 1px solid var(--line);
      border-top: 6px solid var(--blue);
      border-radius: 8px;
      padding: 24px;
      box-shadow: 0 26px 70px rgba(20, 42, 67, 0.28);
    }
    .success-dialog h2 {
      margin-top: 0;
      font-size: 1.45rem;
    }
    .success-reference {
      margin: 14px 0;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #f8fbff;
      overflow-wrap: anywhere;
    }
    .success-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 16px;
    }
    .success-actions .primary,
    .success-actions .secondary {
      width: auto;
      margin-top: 0;
      padding: 12px;
      text-decoration: none;
      text-align: center;
    }
    .success-actions .secondary {
      background: #fff;
      color: var(--blue);
    }
    [hidden] { display: none !important; }
    @media (max-width: 860px) {
      main { grid-template-columns: 1fr; margin-top: 14px; }
      .summary { position: static; }
    }
    @media (max-width: 640px) {
      section, aside { padding: 18px; }
      .products { grid-template-columns: 1fr; }
      .grid { grid-template-columns: 1fr; }
      .brand { align-items: flex-start; }
      .product { grid-template-rows: 210px 1fr; }
      .product img { height: 210px; }
      .success-dialog { padding: 18px; }
      .success-actions .primary,
      .success-actions .secondary {
        width: 100%;
      }
    }
