/* Accessibility fixes on top of the theme, WCAG 2.2 AA (docs/decisions.md 29). Nothing else. */
.gc-footer a[href^="mailto:"] { text-decoration: underline; text-underline-offset: 2px; }
a.gh-mini[href*="/cart/change"] { display: inline-block; min-height: 24px; line-height: 24px; }
.customer { --color-button: 21, 71, 52; --color-button-text: 245, 241, 232; }

/* Country and language selector, footer and menu (docs/decisions.md 30). */
.gh-locale { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.gh-locale__form { display: contents; }
.gh-locale__menu { position: relative; }
.gh-locale__summary { display: inline-flex; align-items: center; gap: 8px; min-height: 24px; padding: 6px 0; cursor: pointer; list-style: none; color: var(--gc-dim, #C2BBB1); transition: color .2s ease; }
.gh-locale__summary::-webkit-details-marker { display: none; }
.gh-locale__summary::after { content: ""; width: 5px; height: 5px; margin-inline-start: 2px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.gh-locale__menu[open] > .gh-locale__summary::after { transform: translateY(1px) rotate(-135deg); }
.gh-locale__summary:hover, .gh-locale__menu[open] > .gh-locale__summary { color: var(--gc-bone, #EDE6DC); }
.gh-locale__summary:focus-visible, .gh-locale__list button:focus-visible { outline: 1px solid var(--gc-bone, #EDE6DC); outline-offset: 3px; }
.gh-locale__code { opacity: .62; }
.gh-locale__list { position: absolute; bottom: calc(100% + 10px); inset-inline-start: 0; z-index: 30; min-width: 280px; max-height: min(360px, 60vh); overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: var(--gc-stage, #171817); border: 1px solid var(--gc-rule, rgba(237, 230, 220, .18)); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.gh-locale__list--short { min-width: 180px; }
.gh-locale__list button { display: flex; width: 100%; justify-content: space-between; gap: 16px; min-height: 40px; padding: 10px 12px; background: none; border: 0; color: var(--gc-mute, #DDD7CE); font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: start; cursor: pointer; }
.gh-locale__list button:hover { background: rgba(237, 230, 220, .06); color: var(--gc-ink, #F7F4EF); }
.gh-locale__list button[aria-current="true"] { color: #3FA66A; }
.gc-footer__bottom .gh-locale { margin-block: -6px; }
.gh-locale--menu { margin-top: auto; margin-bottom: -22px; padding: 0 0 2px; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.gh-locale--menu .gh-locale__summary { color: var(--gc-bone, #EDE6DC); padding: 10px 0; }
@media (max-width: 749px) {
  .gc-footer__bottom .gh-locale { flex-basis: 100%; }
  .gh-locale { position: relative; }
  .gh-locale__menu { position: static; }
  .gh-locale__list, .gh-locale__list--short { inset-inline: 0; min-width: 0; }
}

/* Prices in another currency: what is charged (docs/decisions.md 30). */
.gh-cart-usd { margin: 12px 0 0; font-size: 12px; line-height: 1.55; letter-spacing: 0; text-transform: none; opacity: .8; }
.gh-cart-usd strong { font-weight: 600; opacity: 1; }

/* Arabic: system Arabic faces after the theme's own, and no letter-spacing, which breaks joined letters. */
html[lang="ar"] { --gc-font-ui: Inter, "SF Arabic", "Segoe UI", "Noto Sans Arabic", "Geeza Pro", system-ui, sans-serif; --gh-font-body: var(--gc-font-ui); }
html[lang="ar"] body, html[lang="ar"] body * { letter-spacing: 0 !important; }
/* Right to left: the category row keeps its scrolling and its arrows left to right (the script measures from
   the left); the cards inside read right to left. */
html[dir="rtl"] .gc-cats__row, html[dir="rtl"] .gc-cats__nav { direction: ltr; }
html[dir="rtl"] .gc-cats__row > * { direction: rtl; }
/* Right to left: gallery arrows swap sides and point the reading way. */
html[dir="rtl"] .gc-pdp__nav--prev { left: auto; right: 14px; }
html[dir="rtl"] .gc-pdp__nav--next { right: auto; left: 14px; }
html[dir="rtl"] .gh-pdp-lightbox__nav--prev { left: auto; right: 22px; }
html[dir="rtl"] .gh-pdp-lightbox__nav--next { right: auto; left: 22px; }
html[dir="rtl"] .gc-pdp__nav, html[dir="rtl"] .gh-pdp-lightbox__nav { transform: translateY(-50%) scaleX(-1); }
@media (max-width: 749px) {
  html[dir="rtl"] .gh-pdp-lightbox__nav { transform: scaleX(-1); }
  html[dir="rtl"] .gh-pdp-lightbox__nav--prev { left: auto; right: 14px; }
  html[dir="rtl"] .gh-pdp-lightbox__nav--next { right: auto; left: 14px; }
}
/* Russian navigation is longer than English: below 1440 px the header uses the menu, as English does below 1240 px. */
@media (min-width: 1240px) and (max-width: 1439px) {
  html[lang="ru"] .gc-nav__links, html[lang="ru"] .gc-nav__search, html[lang="ru"] .gc-nav__account { display: none; }
  html[lang="ru"] .gc-nav__menu, html[lang="ru"] button.gc-nav__menu { display: inline-block; }
  html[lang="ru"] .gc-nav__actions { gap: 20px; }
  html[lang="ru"] .gc-menu { display: flex; }
}

/* Customer account (theme/sections/ghoolf-account*.liquid): the bag page's design, the theme's tokens. */
.gh-account .gh-eyebrow a { color: inherit; text-decoration: none; }
.gh-account-title { margin: 0 0 16px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gh-muted); }
.gh-account-empty { display: grid; gap: 16px; justify-items: start; padding: 28px; border: 1px solid var(--gh-line); background: var(--gh-panel); }
.gh-account-empty p { margin: 0; color: var(--gh-muted); }
.gh-account-orders { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.gh-account-order { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 16px 20px; border: 1px solid var(--gh-line); background: var(--gh-panel); color: var(--gh-text); text-decoration: none; transition: border-color .2s ease; }
.gh-account-order:hover, .gh-account-order:focus-visible { border-color: var(--gh-line-strong); }
.gh-account-order__thumbs { display: flex; }
.gh-account-order__thumbs img { width: 56px; height: 70px; object-fit: contain; background: var(--gh-panel-2, rgba(255,255,255,.04)); border: 1px solid var(--gh-line); }
.gh-account-order__thumbs img + img { margin-inline-start: -18px; }
.gh-account-order__main { display: grid; gap: 4px; min-width: 0; }
.gh-account-order__main strong { font-size: 15px; font-weight: 600; }
.gh-account-order__main span { color: var(--gh-muted); font-size: 13px; }
.gh-account-order__total { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gh-status { display: inline-block; padding: 5px 10px; border: 1px solid var(--gh-line-strong); border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--gh-text); }
.gh-status--preparing, .gh-status--packed, .gh-status--shipped { border-color: rgba(63, 166, 106, .6); color: #7fd3a1; }
.gh-status--delivered { border-color: #3FA66A; background: rgba(63, 166, 106, .16); color: #b8ecca; }
.gh-status--cancelled, .gh-status--refunded, .gh-status--awaiting { color: var(--gh-muted); }
/* Orders from the Shopify store: a small label, the status colours of the rest. */
.gh-status--paid { border-color: rgba(63, 166, 106, .6); color: #7fd3a1; }
.gh-account-order__main .gh-account-order__earlier, .gh-account-meta .gh-account-order__earlier { color: var(--gh-muted); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.gh-account-order__nothumb { width: 56px; height: 70px; background: var(--gh-panel-2, rgba(255,255,255,.04)); border: 1px solid var(--gh-line); }
.gh-account-notice a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.gh-account-side { display: grid; gap: 26px; }
.gh-account-block { display: grid; gap: 10px; justify-items: start; }
.gh-account-block p { margin: 0; color: var(--gh-muted); line-height: 1.6; }
.gh-account-block p a, .gh-account-small a { color: var(--gh-text); text-decoration: underline; text-underline-offset: 2px; }
.gh-account-block--separate { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--gh-line); }
.gh-link, .gh-link--button { padding: 0; border: 0; background: none; color: var(--gh-text); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 24px; }
.gh-account-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 14px 0 0; color: var(--gh-muted); }
.gh-account-notice { margin: 0 0 24px; padding: 14px 18px; border: 1px solid var(--gh-line-strong); color: var(--gh-text); }
.gh-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 0 28px; padding: 0; list-style: none; counter-reset: step; }
.gh-steps__step { position: relative; display: grid; gap: 4px; padding-top: 22px; color: var(--gh-muted); font-size: 13px; }
.gh-steps__step::before { content: ""; position: absolute; top: 5px; inset-inline: 0; height: 2px; background: var(--gh-line); }
.gh-steps__step::after { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--gh-line-strong); background: var(--gh-panel); }
.gh-steps__step.is-done { color: var(--gh-text); }
.gh-steps__step.is-done::before { background: #3FA66A; }
.gh-steps__step.is-done::after { border-color: #3FA66A; background: #3FA66A; }
.gh-steps__step.is-current::after { border-color: #3FA66A; }
.gh-steps__step strong { font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.gh-account-tracking { display: grid; gap: 6px; margin: 0 0 28px; }
.gh-account-tracking p { margin: 0; }
.gh-account-tracking a { color: var(--gh-text); text-decoration: underline; text-underline-offset: 3px; }
.gh-account-totals { display: grid; gap: 8px; margin: 0; width: 100%; }
.gh-account-totals div { display: flex; justify-content: space-between; gap: 12px; }
.gh-account-totals dt { color: var(--gh-muted); }
.gh-account-totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.gh-account-totals__total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--gh-line); font-size: 17px; font-weight: 600; }
.gh-account-totals__total dt { color: var(--gh-text); }
.gh-account-small { margin: 0; color: var(--gh-muted); font-size: 12px; }
.gh-account-narrow { max-width: 720px; }
.gh-account-form { display: grid; gap: 16px; justify-items: start; }
.gh-account-form label { display: grid; gap: 6px; width: 100%; color: var(--gh-muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.gh-account-form input { width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid var(--gh-line-strong); border-radius: 999px; background: transparent; color: var(--gh-text); font: inherit; font-size: 15px; letter-spacing: 0; text-transform: none; }
.gh-account-form input:disabled { opacity: .6; }
.gh-account-form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
html[dir="rtl"] .gh-account-totals dd, html[dir="rtl"] .gh-account-order__total { direction: ltr; unicode-bidi: isolate; }
@media (max-width: 749px) {
  .gh-account-order { grid-template-columns: auto minmax(0, 1fr); row-gap: 10px; }
  .gh-account-order .gh-status { grid-column: 2; justify-self: start; }
  .gh-account-order__total { grid-column: 2; }
  .gh-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: 12px; }
  .gh-account-form__two { grid-template-columns: 1fr; }
  .gh-account .gh-section-head { flex-wrap: wrap; align-items: start; }
}
/* Sign in and register: the theme's display face for the heading, as on every other page. */
.customer.login h1, .customer.register h1, .customer.reset-password h1, .customer.activate h1 { font-family: var(--gh-font-display); font-weight: 500; font-size: clamp(44px, 6vw, 72px); letter-spacing: -.04em; line-height: 1; }

/* "Taxes included." under the price where prices include VAT or GST (src/tax.mjs). */
.gc-pdp__tax{margin:8px 0 0;font-size:12px;letter-spacing:.04em}

/* Notify me for a signed-in customer: one press, the account address (ghoolf-cine-notify.liquid). */
.gc-notify__one{display:inline-flex;margin:0}
.gc-notify.is-done .gc-notify__one{display:none}

/* Footer support line: the address, one unbroken link that opens the mail program. */
.gc-footer__mail{white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
