/* Shop styles copied unchanged from the existing site's src/styles/main.css (working tree, 19 Oct 2026).
   The ranges are noted above each block. Old tokens are mapped in the .shop scope of index.html. */

/* main.css:248-266 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.02em;
  padding: 16px 30px; border-radius: 999px; line-height: 1;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--gold { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: var(--void); box-shadow: 0 10px 30px rgba(203, 152, 66,0.25); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(203, 152, 66,0.38); }
.btn--ghost { border: 1.5px solid rgba(238, 241, 240,0.35); color: var(--snow); }
.btn--ghost:hover { border-color: var(--snow); transform: translateY(-2px); background: rgba(238, 241, 240,0.06); }

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}


/* main.css:639-674 */
.field { margin-top: 16px; }
.field label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; background: rgba(238, 241, 240,0.05); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; color: var(--snow); font: inherit; font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
/* outline:none here overrode the global :focus-visible ring, so a keyboard
   user filling in the delivery form had only a 1px border-colour change to
   tell them where they were. Mouse users still get the clean look. */
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(238, 241, 240,0.08); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px; }
.contact__panel .btn { margin-top: 22px; }
.contact__info { display: grid; gap: 12px; margin-top: 26px; color: var(--muted); font-size: 0.92rem; }
.contact__info span { display: flex; align-items: center; gap: 11px; }
.contact__info svg { width: 18px; height: 18px; color: var(--icon); flex: none; }
.contact__reassure { display: flex; align-items: flex-start; gap: 11px; margin-top: 20px;
  padding-top: 18px; border-top: 1px solid var(--line); color: var(--gold-soft); font-size: 0.9rem; line-height: 1.6; }
.contact__reassure svg { width: 18px; height: 18px; color: var(--icon); flex: none; margin-top: 2px; }
.contact__formhead { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact__formhead svg { width: 26px; height: 26px; color: var(--icon); flex: none; }
.contact__formhead b { display: block; font-family: var(--font-display); font-size: 1.08rem; color: var(--snow); }
.contact__formhead span { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 3px; }
.contact__formfoot { margin-top: 14px; font-size: 0.8rem; color: var(--muted-2); text-align: center; }
/* Honeypot. It was positioned off-screen, which browsers still treat as a
   real field and happily autofill — and because order.php rejects any
   submission where it is filled, an autofilling browser silently binned a
   genuine order AFTER the customer had paid. display:none is not offered
   to autofill at all. Losing some spam is a far better trade than losing
   one paid order. */
.hp { display: none !important; }
.field__note { margin: 6px 0 0; font-size: 0.78rem; line-height: 1.5; color: var(--muted-2); }
.contact__status { margin-top: 12px; font-size: 0.86rem; min-height: 1.2em; line-height: 1.5; }
.contact__status--ok { color: var(--gold-soft); }
.contact__status--err { color: #e0715f; }

/* main.css:685-749 */
.basket-social { display: flex; align-items: center; justify-content: center; gap: 11px; margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.basket-social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.basket-social a:hover { color: var(--gold); border-color: var(--gold); }
.basket-social svg { width: 17px; height: 17px; }

/* ---------- Nav basket count badge ---------- */
.nav__cart { position: relative; }
.nav__cart__count {
  position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px; background: var(--icon); color: var(--void);
  font-size: 0.63rem; font-weight: 700; line-height: 17px; text-align: center;
  box-shadow: 0 0 0 2px var(--void); font-variant-numeric: tabular-nums;
}

/* ---------- Basket page ---------- */
.basket-section { padding: calc(var(--nav-h) + 40px) 0 clamp(50px, 8vh, 90px); min-height: 68svh; }
.basket-wrap { margin-top: 26px; }
.basket-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(20px, 3vw, 40px); align-items: start; }
.basket-items { display: flex; flex-direction: column; gap: 12px; }
.bitem { display: grid; grid-template-columns: 72px 1fr auto auto auto; gap: 16px; align-items: center;
  padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(10, 15, 22, 0.42); }
.bitem__thumb { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; align-self: start; }
.bitem__name { font-weight: 600; color: var(--snow); }
.bitem__unit { font-size: 0.82rem; color: var(--muted); margin-top: 3px; }
.bitem__qty { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.qbtn { width: 38px; height: 38px; min-width: 38px; border-radius: 50%; display: grid; place-items: center;
  color: var(--snow); font-size: 1.15rem; line-height: 1; transition: background 0.2s; }
.qbtn:hover { background: rgba(238, 241, 240, 0.08); }
.qval { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.bitem__total { font-weight: 600; color: var(--gold-soft); font-variant-numeric: tabular-nums; min-width: 68px; text-align: right; }
.bitem__remove { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--muted-2); transition: color 0.2s, background 0.2s; }
.bitem__remove:hover { color: #e0715f; background: rgba(224, 113, 95, 0.1); }
.bitem__remove svg { width: 15px; height: 15px; }
.basket-summary { padding: 24px; border-radius: 16px; position: sticky; top: calc(var(--nav-h) + 20px); }
.brow { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.92rem; color: var(--muted); padding: 8px 0; }
.brow__muted { color: var(--muted-2); font-size: 0.84rem; }
.brow--total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; color: var(--snow); font-size: 1.15rem; font-weight: 600; }
.brow--total span:last-child { color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.basket-note { font-size: 0.8rem; color: var(--muted); line-height: 1.55; margin: 12px 0 0; }
/* A live status line, not body copy — it has to read as a caveat over the
   rates beneath it, and it removes itself once international opens. */
.notice { border-left: 2px solid var(--gold); background: rgba(228, 212, 167, 0.06);
  padding: 12px 16px; border-radius: 0 8px 8px 0; font-size: 0.92rem; }
.basket-checkout { width: 100%; margin-top: 16px; justify-content: center; }
.basket-alt { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.basket-alt .btn { width: 100%; justify-content: center; }
.basket-trust { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; font-size: 0.8rem; color: var(--muted); }
.basket-trust li { display: flex; align-items: center; gap: 9px; }
.basket-trust li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; }
.basket-empty { text-align: center; padding: clamp(40px, 8vh, 90px) 0; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.basket-empty svg { width: 46px; height: 46px; color: var(--icon-faint); }
.basket-empty p { font-size: 1.05rem; }
@media (max-width: 780px) {
  .basket-grid { grid-template-columns: 1fr; }
  .basket-summary { position: static; }
  .bitem { grid-template-columns: 56px 1fr auto; grid-template-areas: "thumb body remove" "thumb qty total"; gap: 8px 14px; }
  .bitem__thumb { grid-area: thumb; width: 56px; height: 56px; }
  .bitem__body { grid-area: body; }
  .bitem__qty { grid-area: qty; }
  .bitem__total { grid-area: total; align-self: center; }
  .bitem__remove { grid-area: remove; justify-self: end; }
  .qbtn { width: 44px; height: 44px; min-width: 44px; }
}

/* main.css:762-807 */
.toast {
  position: fixed; left: 50%; bottom: clamp(18px, 4vh, 34px);
  z-index: 300;
  /* size to the content, not to whatever the flex children can be squeezed
     into — without this the message broke to one word per line */
  width: max-content; max-width: min(92vw, 460px);
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px 13px 15px;
  border-radius: 16px;
  background: rgba(14, 20, 30, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
          backdrop-filter: blur(18px) saturate(120%);
  border: 1px solid rgba(238, 241, 240, 0.13);
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(238, 241, 240, 0.07);
  color: var(--snow); font-size: 0.88rem; line-height: 1.35; text-align: left;
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 14px) scale(0.98);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), visibility 0s linear 0.32s;
}
.toast.show {
  opacity: 1; visibility: visible;
  transform: translate(-50%, 0) scale(1);
  transition-delay: 0s;
}
.toast__tick {
  flex: none; display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  color: var(--void); background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}
.toast__tick svg { width: 13px; height: 13px; }
.toast__msg { flex: 1 1 auto; }
.toast__action {
  flex: none; margin-left: 2px; padding-left: 14px;
  border-left: 1px solid rgba(238, 241, 240, 0.16);
  color: var(--gold-soft); font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.toast__action:hover { color: var(--snow); }
@media (max-width: 420px) {
  .toast { flex-wrap: wrap; row-gap: 10px; }
  .toast__action { margin-left: 34px; padding-left: 0; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .toast { transition: opacity 0.2s linear, visibility 0s linear 0.2s; transform: translate(-50%, 0); }
  .toast.show { transform: translate(-50%, 0); }
}

/* main.css:1276-1330 */
.order-panel { max-width: 640px; margin-inline: auto; padding: clamp(28px, 4vw, 46px); }
.order-panel__title { font-family: var(--font-display); font-size: 1.6rem; color: var(--snow); }
.order-panel__sub { color: var(--muted); font-size: 0.92rem; margin-top: 8px; line-height: 1.6; }
.order-panel__paying { margin-top: 16px; padding: 11px 15px; border: 1px solid rgba(203, 152, 66,0.35);
  border-radius: 11px; background: rgba(203, 152, 66,0.07); color: var(--gold-soft); font-size: 0.9rem; }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field select {
  width: 100%; background: rgba(238, 241, 240,0.05); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; color: var(--snow); font: inherit; font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s; appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa3ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field select:focus { outline: none; border-color: var(--gold); background-color: rgba(238, 241, 240,0.08); }
.field select option, .field select optgroup { background: #0d131c; color: var(--snow); }
/* An invalid field has to be obvious at a glance, not a hairline tint: red
   border, red label, a red wash and a line saying what is wrong. */
.field--err input, .field--err select {
  border: 2px solid #E53E3E;
  background: rgba(229, 62, 62, 0.06);
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.16);
  outline: none;
}
/* keep the red while the field is being corrected — a focus ring that paints
   over it would say the field is fine when it is not */
.field--err input:focus, .field--err select:focus { border-color: #E53E3E; }
.field--err label { color: #FF9B9B; }
.field__err {
  display: block; margin-top: 7px; font-size: 12px; line-height: 1.4;
  color: #FF9B9B;
}

/* Submit while the order is in flight: the button says what is happening and
   cannot be pressed twice, which is how duplicate orders get made. */
.btn[aria-busy="true"] { pointer-events: none; opacity: 0.72; }
.btn__spin {
  display: inline-block; width: 13px; height: 13px; margin-right: 9px;
  vertical-align: -1px; border-radius: 50%;
  border: 2px solid rgba(10, 15, 22, 0.25); border-top-color: rgba(10, 15, 22, 0.85);
  animation: btn-spin 0.7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn__spin { animation-duration: 2.4s; } }
.order-panel__actions { display: flex; gap: 12px; margin-top: 24px; }
.order-panel__actions .btn { flex: 1; justify-content: center; }
.order-panel__note { color: var(--muted-2); font-size: 0.8rem; margin-top: 14px; line-height: 1.6; }
@media (max-width: 560px) {
  .order-grid { grid-template-columns: 1fr; }
  .order-panel__actions { flex-direction: column-reverse; }
}

/* Embedded SumUp card widget (payment on our page) */
.sumup-card { margin-top: 20px; min-height: 320px; border-radius: 14px; overflow: hidden;
  background: rgba(238, 241, 240,0.06); }


/* main.css:1800-1811 */
.order-panel__legal {
  margin-top: 12px; font-size: 0.76rem; line-height: 1.6; color: var(--muted-2); text-align: center;
}
.order-panel__legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.order-panel__legal a:hover { color: var(--snow); }


/* ---------- Payment modal ----------
   Centred, scroll-locked, dark. The panel scrolls internally rather than the
   page behind it, which is what stops iOS scrolling the body under a fixed
   overlay. Only opacity and transform animate. */
html.is-modal, html.is-modal body { overflow: hidden; }

/* main.css:1876-1910 */
.paymodal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: clamp(12px, 3vh, 32px); }
.paymodal__scrim {
  position: absolute; inset: 0; background: rgba(6, 9, 14, 0.72);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  opacity: 0; transition: opacity 0.32s var(--ease);
}
.paymodal.is-open .paymodal__scrim { opacity: 1; }

.paymodal__panel {
  position: relative; width: min(540px, 100%); max-height: calc(100dvh - clamp(24px, 6vh, 64px));
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 22px;
  background: rgba(14, 21, 32, 0.94);
  border: 1px solid rgba(238, 241, 240, 0.14);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
  opacity: 0; transform: translateY(14px) scale(0.985);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}
.paymodal.is-open .paymodal__panel { opacity: 1; transform: none; }

.paymodal__close {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px;
  display: grid; place-items: center; border-radius: 50%;
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  cursor: pointer; transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.paymodal__close svg { width: 16px; height: 16px; }
.paymodal__close:hover { color: var(--snow); border-color: var(--gold); }
.paymodal__panel .order-panel__title { padding-right: 44px; }
.paymodal__panel .sumup-card { margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
  .paymodal__scrim, .paymodal__panel { transition: opacity 0.2s linear; transform: none; }
}
