/* Shared across the catalogue, partner area and sign-in. */
:root {
  color-scheme: light;
  --canvas: #faf8f4;
  --surface: #fffefa;
  --wash: #f2eee7;
  --ink: #252520;
  --muted: #615e56;
  --line: #d9d4c9;
  --edge: #a6a095;
  --accent: #793f34;
  --accent-hover: #613027;
  --tint: #f4e8e1;
  --gutter: clamp(18px, 4.4vw, 72px);
  --page: 1536px;
  --sans: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 16px/1.5 var(--sans); }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #99634b; outline-offset: 3px; }
:where(input, select, textarea) { accent-color: var(--accent); }
.skip { position: fixed; top: 8px; left: 8px; z-index: 20; transform: translateY(-160%); background: var(--surface); padding: 10px 15px; }
.skip:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.masthead { border-bottom: 1px solid var(--line); }
.mast-inner, .foot-inner { max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }
.mast-inner { min-height: 74px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: clamp(24px, 3.6vw, 60px); }
.wordmark { width: max-content; color: var(--ink); font: 790 1.44rem/.95 var(--sans); letter-spacing: -.063em; text-decoration: none; white-space: nowrap; }
.wordmark b { font-weight: 440; }
.mast-nav { display: flex; align-items: center; gap: clamp(17px, 2.25vw, 38px); }
.mast-nav a { position: relative; padding-block: 13px; text-decoration: none; font-size: .875rem; font-weight: 520; }
.mast-nav a:hover, .mast-nav a[aria-current] { color: var(--accent); }
.mast-nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; }
.basket-link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: max-content; min-height: 42px; padding: 8px 16px; border: 1px solid var(--ink); border-radius: 24px; color: white; background: var(--ink); font: 600 .85rem/1 var(--sans); text-decoration: none; }
.basket-link:hover { background: #454039; border-color: #454039; }
.basket-count { min-width: 19px; padding: 3px 5px; border-radius: 12px; color: var(--ink); background: var(--canvas); font-size: .72rem; font-weight: 650; text-align: center; font-variant-numeric: tabular-nums; }
.bag-icon { display: inline-block; position: relative; width: 13px; height: 12px; border: 1.3px solid currentColor; border-radius: 2px; margin: 3px 1px 0 0; }
.bag-icon::before { content: ""; position: absolute; width: 5px; height: 4px; border: 1.3px solid currentColor; border-bottom: 0; border-radius: 4px 4px 0 0; left: 2.65px; top: -5px; }
.footline { border-top: 1px solid var(--line); margin-top: clamp(30px, 4vw, 65px); }
.foot-inner { min-height: 90px; display: flex; align-items: center; gap: clamp(20px, 4vw, 74px); }
.foot-inner p { max-width: 500px; font-size: .79rem; color: var(--muted); }
.foot-link { margin-left: auto; font-size: .83rem; white-space: nowrap; text-underline-offset: 4px; }
.action-primary, .solid, .submit-link { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 46px; padding: 10px 20px; border: 1px solid var(--accent); border-radius: 7px; background: var(--accent); color: #fff; text-decoration: none; font: 620 .94rem/1.35 var(--sans); }
.action-primary:hover, .solid:hover, .submit-link:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
@media (max-width: 730px) {
  .mast-inner { grid-template-columns: minmax(0,1fr) auto; column-gap: 10px; row-gap: 0; padding-block: 12px 0; }
  .mast-nav { grid-row: 2; grid-column: 1/-1; justify-content: flex-start; gap: clamp(16px, 5vw, 30px); }
  .mast-nav a { padding-block: 10px 11px; font-size: .82rem; }
  .mast-nav a[aria-current]::after { bottom: 4px; }
  .basket-link { grid-row: 1; grid-column: 2; min-height: 38px; padding: 8px 13px; }
  .wordmark { font-size: 1.3rem; }
  .foot-inner { flex-wrap: wrap; padding-block: 22px; row-gap: 12px; }
  .foot-inner p { flex-basis: 100%; order: 1; }
}
@media (max-width: 430px) {
  .mast-nav { width: 100%; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
}
.foot-links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; align-items: center; margin-inline-start: auto; font-size: .83rem; }
.foot-links a { text-underline-offset: 4px; }
@media (max-width: 730px) {
  .foot-links { flex-basis: 100%; margin-inline-start: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0s !important; transition-duration: 0s !important; }
}
