@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/golos-cyrillic.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/golos-latin.woff2") format("woff2");
}
:root {
  color-scheme: light;
  --ink: #111111;
  --paper: #ffffff;
  --muted: #6d6d6a;
  --line: #e4e4e2;
  --soft: #f6f6f5;
  --orange: #f66b00;
  --primary-text: #ffffff;
  --primary-hover: #333333;
  --error-text: #ac2b1f;
  --error-bg: #fdf7f6;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #f0f0ee;
    --paper: #121212;
    --muted: #a2a2a0;
    --line: #373737;
    --soft: #1c1c1c;
    --orange: #ff7a1f;
    --primary-text: #121212;
    --primary-hover: #d8d8d6;
    --error-text: #ff9b8f;
    --error-bg: #2c1b19;
  }
  .customer-header .logo img { filter: invert(1); }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Golos Text", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 4px; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: wait; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 5px;
}
h1, h2, h3, p { margin-top: 0; }
.sandbox {
  padding: 5px 16px;
  background: #111111;
  color: #fff;
  text-align: center;
  font-size: 10px;
  letter-spacing: .02em;
}
.customer-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 64px;
  padding: 0 34px;
  gap: 28px;
}
.customer-header > a:not(.logo) {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .1em;
  text-decoration: none;
}
.customer-header > a:last-child { justify-self: end; }
.logo img { display: block; width: 128px; height: auto; }
main { max-width: 1180px; margin: auto; padding: 60px 34px 96px; min-height: 650px; }
.breadcrumb { display: flex; gap: 10px; color: var(--muted); font-size: 11px; margin-bottom: 44px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.heading { display: flex; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
h1 { font-size: 32px; line-height: 1.2; font-weight: 500; margin: 12px 0 16px; }
h2 { font-size: 20px; line-height: 1.35; font-weight: 500; margin-bottom: 16px; }
h3 { font-size: 13px; font-weight: 500; margin-bottom: 12px; }
.lead { color: var(--muted); max-width: 550px; font-size: 13px; margin: 0; }
#account { font-size: 12px; text-align: right; align-self: center; overflow-wrap: anywhere; }
#account-email { display: block; }
.eyebrow { color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .08em; }
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: var(--muted); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.pill.paid::before { background: var(--orange); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 13px 24px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  text-align: center;
  line-height: 1.4;
}
.primary { color: var(--primary-text); background: var(--ink); }
.primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.secondary { color: var(--ink); background: var(--paper); }
.secondary:hover { background: var(--soft); }
.text-button { background: none; border: 0; padding: 8px 0; color: inherit; text-decoration: underline; text-underline-offset: 4px; font-size: 12px; }
.muted, .field-hint { color: var(--muted); font-size: 12px; }
.auth-card { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; border-top: 1px solid var(--line); padding: 44px 0; }
.auth-card h2 { font-size: 22px; font-weight: 500; }
.auth-intro p { max-width: 370px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.auth-controls label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; }
input { display: block; width: 100%; min-width: 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 6px 0 10px; background: var(--paper); color: var(--ink); font-size: 16px; }
input:focus-visible { outline: none; border-bottom-color: var(--orange); box-shadow: inset 0 -1px 0 var(--orange); }
.field-hint { margin: 12px 0 28px; line-height: 1.6; overflow-wrap: anywhere; }
.privacy-note { margin: 16px 0 0; font-size: 10px; text-align: center; color: var(--muted); }
.auth-controls .button { width: 100%; }
.auth-controls .text-button { display: block; margin: 12px auto 0; }
#code { letter-spacing: 8px; }
/* The account entry mirrors the storefront's quiet, centred login form. */
.customer-account:not(.is-signed-in) main { padding-top: clamp(90px, 14vh, 160px); }
.customer-account:not(.is-signed-in) .breadcrumb { display: none; }
.customer-account:not(.is-signed-in) .heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.customer-account:not(.is-signed-in) .auth-card { display: block; max-width: 464px; margin: 0 auto; padding: 0; border: 0; }
.customer-account:not(.is-signed-in) .auth-card h2 { display: flex; gap: 8px; align-items: center; font-size: 18px; text-transform: uppercase; margin-bottom: 24px; }
.customer-account:not(.is-signed-in) .auth-card h2::before { content: ""; width: 7px; height: 7px; flex-shrink: 0; background: var(--ink); border-radius: 50%; }
.customer-account:not(.is-signed-in) .auth-intro p { margin-bottom: 34px; max-width: none; }
.customer-account:not(.is-signed-in) main > .error { max-width: 464px; margin: 0 auto 24px; }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; margin-bottom: 52px; }
.progress { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin: 6px 0 36px; padding: 0; list-style: none; }
.progress li { border-top: 2px solid var(--line); padding-top: 12px; font-size: 11px; color: var(--muted); }
.progress li.active { border-color: var(--ink); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
#payment-note { margin-top: 16px; }
.save-number { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 24px; }
.save-number strong { font-size: 13px; font-weight: 500; }
.save-number p { color: var(--muted); font-size: 12px; margin: 8px 0 4px; }
.summary { background: var(--soft); padding: 28px; }
.summary h2 { margin: 18px 0 10px; font-size: 20px; }
.total { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding: 20px 0; margin-top: 24px; }
.total strong { font-size: 18px; font-weight: 500; white-space: nowrap; }
.delivery { border-top: 1px solid var(--line); padding-top: 20px; font-size: 12px; overflow-wrap: anywhere; }
.delivery p { margin-bottom: 10px; }
.delivery .text-button { display: block; }
.error { color: var(--error-text); border-left: 2px solid var(--error-text); padding: 12px 16px; background: var(--error-bg); font-size: 12px; overflow-wrap: anywhere; }
.feedback, .saved { border-left: 2px solid var(--ink); padding: 14px 18px; background: var(--soft); font-size: 12px; overflow-wrap: anywhere; }
.order-list { border-top: 1px solid var(--ink); }
.history-item { display: grid; grid-template-columns: 1fr auto 20px; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.history-item::after { content: "→"; align-self: center; font-size: 20px; }
.history-item h2 { font-size: 18px; margin: 10px 0 6px; }
.history-item p { margin: 4px 0; font-size: 12px; color: var(--muted); }
.history-item:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.history-meta { text-align: right; align-self: center; }
.history-meta strong { font-size: 16px; font-weight: 500; }
.empty { padding: 64px 24px; text-align: center; background: var(--soft); }
.empty p { color: var(--muted); margin-bottom: 24px; }
.order-help { margin: 44px 0 0; max-width: 630px; color: var(--muted); font-size: 11px; }
.customer-account .order-help { display: none; }
.customer-footer { padding: 48px 34px 24px; background: #111111; color: #fff; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1.5fr 1fr; gap: 40px; }
.footer-brand { text-decoration: none; }
.footer-brand img { display: block; width: 160px; height: auto; }
.footer-brand span { display: block; max-width: 230px; margin-top: 20px; color: #aaa; font-size: 12px; }
.customer-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.customer-footer h3 { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; }
.customer-footer nav a { font-size: 12px; color: #bbb; text-decoration: none; }
.customer-footer nav a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid #333; margin-top: 44px; padding-top: 20px; color: #888; font-size: 10px; }
@media (max-width: 700px) {
  .customer-header { min-height: 56px; padding: 0 16px; gap: 16px; }
  .customer-header > a:not(.logo) { font-size: 10px; letter-spacing: .06em; }
  .logo img { width: 100px; }
  main { padding: 32px 20px 64px; min-height: 590px; }
  .breadcrumb { margin-bottom: 32px; }
  .heading { display: block; margin-bottom: 32px; }
  h1 { font-size: 27px; }
  #account { text-align: left; margin-top: 24px; }
  .customer-account:not(.is-signed-in) main { padding-top: 80px; min-height: 620px; }
  .customer-account:not(.is-signed-in) .auth-card { max-width: 400px; }
  .auth-card, .order-grid { grid-template-columns: 1fr; gap: 32px; }
  .auth-card { padding: 32px 0; }
  .auth-card h2 { font-size: 20px; }
  .auth-intro p { margin-bottom: 0; }
  .customer-account:not(.is-signed-in) .auth-intro p { margin-bottom: 32px; }
  .order-grid { margin-bottom: 32px; }
  .summary { padding: 24px; }
  .actions .button { flex: 1; }
  .progress { gap: 6px; }
  .progress li { font-size: 10px; }
  .history-item { grid-template-columns: 1fr auto; gap: 16px; }
  .history-item::after { display: none; }
  .history-item h2 { font-size: 16px; }
  .history-meta { align-self: start; padding-top: 24px; }
  .history-meta strong { font-size: 14px; }
  .customer-footer { padding: 36px 20px 24px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand span { max-width: none; margin-top: 14px; }
}

/* Account state belongs to the global header, alongside the store navigation. */
.header-account { justify-self: end; min-width: 0; text-align: right; }
.account-entry { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; text-decoration: none; }
.is-signed-in .account-entry { display: none; }
.header-account #account { margin: 0; text-align: right; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0 14px; align-items: center; }
.account-status { grid-column: 1; color: var(--muted); font-size: 10px; }
#account-email { grid-column: 1; font-size: 12px; overflow-wrap: anywhere; }
.header-account #logout { grid-column: 2; grid-row: 1 / 3; }
.product-photo { display: flex; align-items: center; justify-content: center; width: 104px; aspect-ratio: 3 / 4; background: var(--soft); color: var(--muted); font-size: 10px; text-align: center; overflow: hidden; }
.product-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.history-item { grid-template-columns: 104px minmax(0,1fr) auto 20px; align-items: center; }
.summary-product { display: grid; grid-template-columns: 104px minmax(0,1fr); gap: 20px; align-items: center; margin-top: 20px; }
.summary-product h2 { margin-top: 0; }
@media (max-width: 700px) {
  .account-entry { font-size: 10px; letter-spacing: .06em; }
  .is-signed-in .customer-header { padding-top: 14px; padding-bottom: 12px; row-gap: 14px; }
  .is-signed-in .header-account { grid-column: 1 / -1; width: 100%; border-top: 1px solid var(--line); padding-top: 10px; }
  .header-account #account { grid-template-columns: minmax(0,1fr) auto; }
  .header-account #account-email { font-size: 11px; }
  .history-item { grid-template-columns: 80px minmax(0,1fr); gap: 12px 18px; }
  .history-item .product-photo { width: 80px; grid-row: 1 / 3; }
  .history-item h2 { margin-top: 8px; }
  .history-meta { grid-column: 2; text-align: left; padding: 0; }
  .summary-product { grid-template-columns: 80px minmax(0,1fr); gap: 18px; }
  .summary-product .product-photo { width: 80px; }
}

.order-filters { display: flex; gap: 32px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.order-filters button { border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 12px 0; background: none; font-size: 13px; color: var(--muted); }
.order-filters button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); }
.order-list { border: 0; }
.order-card { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding: 26px 0; margin-top: 32px; scroll-margin-top: 24px; }
.order-card-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.order-card-heading h2 { margin: 0; font-size: 18px; }
.order-card-status { color: var(--muted); font-size: 12px; }
.order-card-body { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 30px; }
.order-card-product { display: grid; grid-template-columns: 104px minmax(0,1fr); gap: 24px; align-items: center; }
.order-card-product h3 { font-size: 18px; margin-bottom: 8px; }
.order-card-total { font-size: 16px; font-weight: 500; }
.order-card-delivery { border-left: 1px solid var(--line); padding-left: 28px; font-size: 12px; overflow-wrap: anywhere; }
.order-card-delivery h3 { margin-bottom: 14px; }
.order-card-delivery .text-button { display: block; }
.order-card .progress { max-width: 600px; margin-bottom: 24px; }
.order-card .actions { gap: 12px 28px; align-items: center; }
@media (max-width: 700px) {
  .order-filters { gap: 24px; }
  .order-card { margin-top: 24px; padding: 24px 0; }
  .order-card-heading { gap: 12px; }
  .order-card-heading h2 { font-size: 16px; }
  .order-card-status { text-align: right; font-size: 11px; }
  .order-card-body { grid-template-columns: 1fr; gap: 24px; }
  .order-card-product { grid-template-columns: 80px minmax(0,1fr); gap: 18px; }
  .order-card-product .product-photo { width: 80px; }
  .order-card-product h3 { font-size: 16px; }
  .order-card-delivery { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
  .order-card .actions { gap: 8px 24px; }
}
