:root {
  color-scheme: light;
  --esso-red: #e31b23;
  --esso-blue: #0055a6;
  --esso-blue-dark: #07325d;
  --esso-yellow: #ffd200;
  --ink: #111827;
  --muted: #667085;
  --bg: #f5f6f8;
  --panel: #ffffff;
  --line: #dde4ef;
  --soft-blue: #e8f2ff;
  --soft-red: #fff0f1;
  --shadow: 0 16px 48px rgba(18, 35, 58, 0.08);
  --border: var(--line);
  --surface: var(--panel);
  --text: var(--ink);
}

* {
  box-sizing: border-box;
}

/* Esso red and white keep selected words readable on every surface. */
::selection {
  background: var(--esso-red);
  color: #ffffff;
  text-shadow: none;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  background: linear-gradient(180deg, #ffffff 0, var(--bg) 520px), var(--bg);
}

body.drawer-open {
  overflow: hidden;
}

body.shop-closed {
  overflow: hidden;
}

.closed-cover {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(22px, 6vw, 72px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 85, 166, 0.96), rgba(7, 50, 93, 0.98)),
    repeating-linear-gradient(
      90deg,
      var(--esso-red) 0 28px,
      var(--esso-yellow) 28px 42px,
      var(--esso-blue) 42px 68px
    );
}

.closed-cover[hidden] {
  display: none;
}

.closed-cover__inner {
  width: min(820px, 100%);
  text-align: center;
}

.closed-cover__mark {
  width: 180px;
  height: 106px;
  margin: 0 auto 34px;
  font-size: 2.5rem;
}

.closed-cover h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 7.5rem);
}

.closed-cover p:not(.eyebrow) {
  max-width: 660px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.closed-cover .eyebrow {
  color: var(--esso-yellow);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 14px clamp(16px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.header-brand { min-width: 0; }
.header-phone { display: inline-flex; align-items: center; min-height: 28px; margin-top: 6px; color: var(--esso-blue); font-size: 13px; font-weight: 700; text-decoration: none; }
.header-phone:hover, .header-phone:focus-visible { text-decoration: underline; }
@media (max-width: 700px) { .header-brand { flex: 1; } .header-phone { font-size: 12px; } }

.esso-mark {
  display: grid;
  place-items: center;
  width: 76px;
  height: 46px;
  border: 4px solid var(--esso-blue);
  border-radius: 50%;
  color: var(--esso-red);
  background: #fff;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 6px 0 var(--esso-red);
}

.brand-lockup strong,
.brand-lockup small {
  display: block;
}

.brand-lockup small {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 700;
}

.header-search,
.catalogue-search {
  position: relative;
}

.header-search label,
.catalogue-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.header-search input,
.catalogue-search input,
.field input,
.field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}

.header-search input,
.catalogue-search input {
  padding: 0 18px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px transparent;
}

.header-search input:focus,
.catalogue-search input:focus,
.field input:focus,
.field select:focus {
  outline: 0;
  border-color: var(--esso-blue);
  box-shadow: 0 0 0 4px rgba(0, 85, 166, 0.12);
}

.header-actions,
.main-nav,
.hero-actions,
.filter-head,
.basket-head,
.admin-head,
.modal-head,
.table-tools {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-actions {
  justify-content: flex-end;
}

.main-nav {
  justify-content: center;
  gap: 6px;
}

.main-nav a,
.main-nav button,
.nav-select select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  color: var(--esso-blue-dark);
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav button:hover,
.nav-select select:hover {
  background: var(--soft-blue);
}

.nav-select {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-select span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.nav-select select {
  min-height: 40px;
  max-width: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--esso-blue-dark);
  background: #fff;
  font-weight: 900;
}

.icon-button,
.basket-button,
.primary-action,
.secondary-action,
.category-list button,
.admin-tabs button,
.qty-button,
.mini-action,
.filter-head button {
  border: 0;
  font-weight: 800;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.icon-button:hover,
.basket-button:hover,
.primary-action:hover,
.secondary-action:hover,
.category-list button:hover,
.admin-tabs button:hover,
.qty-button:hover,
.mini-action:hover,
.filter-head button:hover {
  transform: translateY(-1px);
}

.icon-button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--esso-blue);
  background: #fff;
}

.icon-button span {
  font-size: 0.9rem;
}

.basket-button {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 0 17px;
  border-radius: 999px;
  color: #fff;
  background: var(--esso-blue);
  box-shadow: 0 14px 30px rgba(0, 85, 166, 0.2);
}

.basket-button strong {
  color: var(--esso-yellow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 500px;
  padding: clamp(20px, 3.8vw, 52px) clamp(16px, 5vw, 72px) 26px;
}

.hero-copy {
  max-width: 750px;
}

.eyebrow {
  margin: 0 0 11px;
  color: var(--esso-red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(3rem, 7.2vw, 5.9rem);
}

.hero-copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  flex-wrap: wrap;
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  text-decoration: none;
}

.primary-action {
  color: #fff;
  background: var(--esso-red);
  box-shadow: 0 18px 34px rgba(227, 27, 35, 0.22);
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--esso-blue);
  background: #fff;
}

.store-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.store-photo {
  position: relative;
  min-height: 270px;
  background:
    linear-gradient(180deg, rgba(0, 85, 166, 0.08), rgba(255, 255, 255, 0.1)),
    linear-gradient(145deg, #dcecff 0 42%, #ffffff 42% 61%, #e9eef6 61%);
}

.canopy {
  position: absolute;
  top: 38px;
  left: 36px;
  display: grid;
  place-items: center;
  width: 160px;
  height: 92px;
  border: 8px solid var(--esso-blue);
  border-radius: 50%;
  color: var(--esso-red);
  background: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  box-shadow: 0 9px 0 var(--esso-red);
}

.pump {
  position: absolute;
  bottom: 32px;
  width: 70px;
  height: 126px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(
    180deg,
    var(--esso-blue) 0 18%,
    #fff 18% 72%,
    var(--esso-red) 72%
  );
  box-shadow: 0 12px 30px rgba(7, 50, 93, 0.18);
}

.pump::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 14px;
  width: 42px;
  height: 30px;
  border-radius: 4px;
  background: #111827;
}

.pump-one {
  left: 64px;
}

.pump-two {
  left: 154px;
  transform: scale(0.88);
}

.shelf {
  position: absolute;
  right: 42px;
  width: 210px;
  height: 48px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--esso-red) 0 18px,
      var(--esso-yellow) 18px 35px,
      var(--esso-blue) 35px 54px
    ),
    #fff;
  box-shadow: 0 8px 22px rgba(7, 50, 93, 0.14);
}

.shelf-one {
  top: 80px;
}

.shelf-two {
  top: 146px;
}

.shelf-three {
  top: 212px;
}

.store-status {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.store-status div {
  min-height: 92px;
  padding: 18px;
  background: #fff;
}

.store-status strong,
.store-status span {
  display: block;
}

.store-status strong {
  font-size: 1.08rem;
}

.store-status span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.shop-shell {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 22px;
  padding: 22px clamp(16px, 4vw, 54px) 80px;
}

.filters {
  position: sticky;
  top: 91px;
  align-self: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.filter-head {
  justify-content: space-between;
  margin-bottom: 16px;
}

.filter-head button {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--esso-blue);
  background: var(--soft-blue);
}

.category-list {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.category-list button {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--ink);
  background: #f8fafc;
}

.category-list button.is-active {
  color: #fff;
  background: var(--esso-blue);
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.field span,
.check-row span {
  color: #344054;
  font-size: 0.88rem;
  font-weight: 800;
}

.field input,
.field select {
  padding: 0 12px;
}

.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 13px 0;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--esso-blue);
}

.catalogue {
  min-width: 0;
}

.catalogue-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}

.catalogue-search {
  position: sticky;
  top: 86px;
  z-index: 5;
  margin-bottom: 14px;
  padding: 8px 0;
  background: var(--paper);
}

.catalogue-head h2,
.admin h2,
.basket-head h2,
.modal-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 3.4rem);
}

#resultCount {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--esso-blue);
  background: var(--soft-blue);
  font-weight: 900;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(218px, 1fr));
  gap: 14px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 378px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 26px rgba(7, 50, 93, 0.06);
}

.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 178px;
  padding: 12px;
  background: var(--soft-blue);
}

.product-visual::before {
  content: '';
  position: absolute;
  width: 84px;
  height: 102px;
  border-radius: 8px 8px 14px 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0 24%, transparent 24%),
    linear-gradient(135deg, var(--visual-one), var(--visual-two));
  box-shadow: 0 15px 32px rgba(17, 24, 39, 0.16);
}

.product-visual.has-image::before {
  display: none;
}

.product-visual img {
  width: min(100%, 190px);
  height: 160px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 14px 18px rgba(7, 50, 93, 0.16));
}

.product-visual > span:not(.deal-badge):not(.stock-badge):not(.age-badge) {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--visual-one);
  background: #fff;
  font-size: 1.2rem;
  font-weight: 900;
}

.deal-badge,
.stock-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  border-radius: 999px;
  padding: 6px 9px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
}

.deal-badge {
  left: 10px;
  background: var(--esso-red);
}

.stock-badge {
  right: 10px;
  background: var(--esso-blue-dark);
}

.age-badge {
  position: absolute;
  z-index: 3;
  left: 10px;
  bottom: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  background: #111827;
  font-size: 0.75rem;
  font-weight: 900;
}

.product-body {
  padding: 14px 14px 0;
}

.product-body h3 {
  min-height: 44px;
  font-size: 1rem;
}

.product-body p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.product-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--esso-blue);
  background: var(--soft-blue);
  font-size: 0.74rem;
  font-weight: 900;
}

.product-foot {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
}

.price {
  display: grid;
  gap: 2px;
}

.price strong {
  font-size: 1.2rem;
}

.price del {
  color: var(--muted);
  font-size: 0.82rem;
}

.mini-action {
  min-width: 92px;
  min-height: 42px;
  border-radius: 8px;
  color: #fff;
  background: var(--esso-blue);
}

.mini-action[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
}

.basket-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(420px, 100%);
  height: 100vh;
  height: 100dvh;
  border-left: 1px solid var(--line);
  background: #fff;
  box-shadow: -26px 0 70px rgba(7, 50, 93, 0.18);
  transform: translateX(110%);
  transition: transform 180ms ease;
}

.basket-drawer.is-open {
  transform: translateX(0);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(17, 24, 39, 0.42);
}

.basket-head,
.basket-summary {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.basket-head {
  justify-content: space-between;
}

.basket-items {
  padding: 0;
}

.basket-content {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 4px;
}

.basket-drawer .basket-head {
  padding: 0 0 12px;
}

.basket-drawer .basket-summary {
  padding: 12px 0 max(0px, env(safe-area-inset-bottom));
  gap: 8px;
  background: #fff;
}

.basket-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.basket-line h3 {
  font-size: 0.98rem;
}

.basket-line p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.qty-button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--esso-blue);
  background: var(--soft-blue);
}

.remove-line {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--esso-red);
  background: var(--soft-red);
  font-weight: 900;
}

.basket-summary {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 0.9rem;
}

.summary-total {
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}

.modal-total {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.summary-stack {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 220px;
}

.summary-stack .summary-line span {
  color: #4b5563;
  font-size: 0.8rem;
  font-weight: 600;
}

.summary-stack .summary-total {
  font-size: 0.95rem;
}

.checkout-modal {
  width: min(760px, calc(100% - 28px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

.checkout-modal::backdrop {
  background: rgba(17, 24, 39, 0.48);
}

.checkout-modal form {
  padding: 22px;
}

.modal-head {
  justify-content: space-between;
  margin-bottom: 18px;
}

.checkout-grid,
.add-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field-wide {
  grid-column: 1 / -1;
}

.fulfilment-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.fulfilment-box .check-row {
  min-height: 54px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.delivery-fields[hidden] {
  display: none;
}

[data-delivery-charge][hidden],
.checkout-error[hidden], [hidden] {
  display: none;
}

.checkout-error {
  padding: 12px;
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
}

#checkoutForm.is-delivery #collectionTimeField {
  display: none;
}

.payment-box {
  margin: 8px 0 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.payment-box h3 {
  font-size: 1.1rem;
}

.payment-box p {
  margin: 7px 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.toast {
  top: auto;
  right: auto;
  margin: 0;
  border: 0;
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 80;
  max-width: min(440px, calc(100% - 32px));
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--esso-blue-dark);
  font-weight: 800;
  opacity: 0;
  transform: translate(-50%, 16px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.driver-settings, .customer-order { padding: 18px; margin: 16px 0; border: 1px solid #dbe3ed; border-radius: 12px; background: #fff; }
.handover-pin { font-size: 1.5rem; letter-spacing: .2em; }
.checkout-terms { font-size: .85rem; line-height: 1.5; }
#driverJobs .order-card { margin: 18px 0; }
#driverJobs form { display: grid; gap: 12px; }
.policy-page { overflow-wrap: anywhere; }

.admin {
  padding: 36px clamp(16px, 4vw, 54px) 90px;
  background: #fff;
}

.admin-login,
.admin-workspace {
  max-width: 1180px;
  margin: 0 auto;
}

.admin-login {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.admin-login p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.admin-login form {
  max-width: 390px;
  margin-top: 20px;
}

.admin-head {
  justify-content: space-between;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.shop-toggle.is-closed {
  background: var(--esso-blue);
  box-shadow: 0 18px 34px rgba(0, 85, 166, 0.2);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.stats-row div {
  min-height: 102px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.stats-row strong,
.stats-row span {
  display: block;
}

.stats-row strong {
  font-size: 1.8rem;
}

.stats-row span {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.admin-tabs button {
  flex: 1;
  min-height: 42px;
  border-radius: 8px;
  color: var(--esso-blue);
  background: transparent;
}

.admin-tabs button.is-active {
  color: #fff;
  background: var(--esso-blue);
}

.admin-section {
  display: none;
}

.admin-section.is-active {
  display: block;
}

.table-tools {
  justify-content: space-between;
  align-items: end;
  margin-bottom: 12px;
}

.table-tools .field {
  width: min(420px, 100%);
  margin: 0;
}

.product-table,
.orders-list {
  display: grid;
  gap: 10px;
}

.product-row,
.order-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-row {
  grid-template-columns:
    76px minmax(220px, 1fr) 96px 96px minmax(170px, 0.7fr)
    120px 160px;
  align-items: center;
}

.admin-product-image {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: var(--soft-blue);
  overflow: hidden;
  color: var(--esso-blue);
  font-weight: 900;
}

.admin-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-row a {
  display: inline-flex;
  margin-top: 6px;
  color: var(--esso-blue);
  font-size: 0.82rem;
  font-weight: 800;
}

.collection-code {
  margin: 10px 0 0;
  color: var(--esso-blue-dark);
}

.login-action {
  min-width: 94px;
}

.account-tabs,
.social-login {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.account-tabs {
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.account-tabs button {
  flex: 1;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: var(--esso-blue);
  background: transparent;
  font-weight: 900;
}

.account-tabs button.is-active {
  color: #fff;
  background: var(--esso-blue);
}

.social-login {
  flex-wrap: wrap;
}

.account-tabs.is-hidden,
.social-login.is-hidden {
  display: none;
}

.account-pane {
  display: none;
}

.account-pane.is-active {
  display: block;
}

.account-summary {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft-blue);
}

.account-summary strong {
  color: var(--ink);
}

.account-summary span {
  color: var(--muted);
  font-weight: 700;
}

.account-notice {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--muted);
  font-weight: 800;
}

.account-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.account-section-title {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.order-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.order-group {
  display: grid;
  gap: 12px;
  align-content: start;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-head h3 {
  margin: 0;
}

.section-head span {
  min-width: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--esso-blue);
  text-align: center;
  font-weight: 900;
}

.admin-title {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
}

.product-row strong,
.order-card strong {
  display: block;
}

.product-row small,
.order-card small,
.empty-state {
  color: var(--muted);
}

.product-row input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
}

.row-actions {
  display: flex;
  gap: 8px;
}

.row-actions button,
.order-actions button {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--esso-blue);
  background: #fff;
  font-weight: 800;
}

.row-actions button.danger,
.order-actions button.danger,
.secondary-action.danger {
  color: var(--esso-red);
  background: var(--soft-red);
}

.order-card {
  grid-template-columns: 1fr auto;
}

.order-items {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.order-actions {
  display: grid;
  gap: 8px;
  align-content: start;
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--esso-blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.empty-state {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 4;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .shop-shell {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

  .category-list {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 12px;
    padding: 12px;
    grid-template-columns: auto 1fr;
  }

  .header-actions {
    justify-content: flex-end;
    min-width: 0;
  }

  .brand-lockup span:last-child {
    display: none;
  }

  .esso-mark {
    width: 68px;
    height: 42px;
  }

  .basket-button span {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 26px;
  }

  h1 {
    font-size: clamp(2.6rem, 3.8rem, 4rem);
    line-height: 0.95;
  }

  .store-status,
  .stats-row,
  .checkout-grid,
  .fulfilment-box,
  .add-form,
  .order-columns,
  .product-row,
  .order-card {
    grid-template-columns: 1fr;
  }

  .shelf {
    right: 20px;
    width: 148px;
  }

  .canopy {
    left: 22px;
    width: 126px;
    height: 78px;
    font-size: 1.75rem;
  }

  .pump-one {
    left: 36px;
  }

  .pump-two {
    left: 116px;
  }

  .catalogue-head,
  .admin-head,
  .table-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .checkout-modal {
    width: calc(100% - 18px);
    max-height: calc(100dvh - 18px);
    padding: 0;
  }

  .checkout-modal form {
    max-height: calc(100dvh - 18px);
    overflow: auto;
    padding: 18px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-row {
    min-width: 0;
  }

.admin-tabs {
    overflow-x: auto;
    width: 100%;
  }
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 32px auto 0;
  max-width: 1180px;
  padding: 22px;
}

.site-footer nav {
  display: flex;
  gap: 14px;
}

.site-footer a {
  color: var(--esso-blue);
  font-weight: 700;
  text-decoration: none;
}

.policy-page {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 32px auto;
  max-width: 880px;
  padding: 32px;
}

.policy-page h1 {
  font-size: 2.4rem;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 10px;
}

.policy-page h2 {
  color: var(--esso-blue);
  font-size: 1.05rem;
  margin: 26px 0 8px;
}

.policy-page p {
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 12px;
}

@media (max-width: 720px) {
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .policy-page {
    margin: 18px 10px;
    padding: 22px;
  }
}


/* Shared storefront and operations design system. */
:root { --esso-blue: #17365b; --esso-blue-dark: #102943; --ink: #162c43; --muted: #657181; --line: #e2e6ec; --soft-blue: #eef2f7; --paper: #f5f6f8; }
body { background: var(--bg); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #4488ca; outline-offset: 4px; }
[hidden] { display: none !important; }
button:disabled { cursor: not-allowed; opacity: .5; transform: none; box-shadow: none; }
html { scroll-padding-top: 100px; }
h1, h2, h3 { letter-spacing: -.04em; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 200; padding: 14px 20px; background: white; }
.skip-link:focus { top: 12px; }
.ui-icon { width: 22px; height: 22px; flex-shrink: 0; }
.service-bar { display: flex; justify-content: space-between; gap: 16px; padding: 11px max(24px, calc((100vw - 1280px) / 2)); background: #112b48; color: #fff; font-size: 11px; letter-spacing: .02em; }
.service-bar > span:last-child { color: #d0dbe6; }
.site-header { grid-template-columns: minmax(240px, 1fr) auto auto; padding: 20px max(24px, calc((100vw - 1280px) / 2)); gap: 32px; background: rgba(255,255,255,.97); backdrop-filter: blur(16px); }
.brand-lockup { gap: 13px; }
.brand-lockup strong { color: var(--ink); font-size: 14px; font-weight: 750; }
.brand-lockup small { color: var(--muted); font-size: 11px; margin-top: 5px; }
.esso-mark { width: 66px; height: 42px; border-width: 2px; font-size: 20px; font-style: italic; box-shadow: none; }
.main-nav { gap: 25px; }
.main-nav > a { font-size: 12px; font-weight: 600; white-space: nowrap; }
.nav-select { display: none; }
.header-actions { gap: 10px; }
.primary-action, .secondary-action, .basket-button { border-radius: 9px; box-shadow: none; font-size: 13px; font-weight: 650; min-height: 46px; }
.primary-action { background: #d82732; }
.primary-action:hover { background: #be1d29; box-shadow: 0 5px 15px #d8273220; }
.secondary-action { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.basket-button { background: var(--ink); padding: 0 16px; gap: 10px; }
.basket-button strong { color: white; padding-left: 12px; border-left: 1px solid #ffffff40; font-size: 12px; }
.basket-count { color: #b6c7d8; font-size: 11px; margin-left: 3px; }
.hero { max-width: 1328px; margin: auto; padding: 58px 24px; grid-template-columns: 1.05fr 1fr; min-height: auto; gap: 50px; }
.eyebrow { color: #627489; font-size: 10px; font-weight: 750; letter-spacing: .16em; margin: 0 0 14px; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #bd2939; }
.hero h1 { margin: 0; font-size: clamp(36px, 4.5vw, 62px); font-weight: 750; line-height: 1.06; letter-spacing: -.055em; }
.hero h1 span { color: #607286; }
.hero-copy > p:not(.eyebrow):not(.hero-note) { max-width: 400px; color: var(--muted); font-size: 14px; line-height: 1.85; margin: 22px 0; }
.hero-actions { gap: 24px; align-items: center; }
.hero-actions .primary-action { padding: 0 20px; display: inline-flex; align-items: center; gap: 32px; }
.hero-secondary { font-size: 12px; font-weight: 650; text-decoration: none; }
.hero-secondary span { margin-left: 8px; }
.hero .hero-copy p.hero-note { font-size: 10px; color: #76808e; margin-top: 20px; }
.hero-display { min-height: 376px; padding: 25px 26px 0; background: #e8edf0; border-radius: 16px; overflow: hidden; position: relative; }
.hero-display-label { display: flex; justify-content: space-between; color: #566b79; font-size: 10px; letter-spacing: .16em; font-weight: 750; }
.hero-products { display: flex; align-items: flex-end; justify-content: center; gap: 8px; height: 257px; padding: 20px 0 16px; }
.hero-product { display: flex; align-items: center; flex-direction: column; justify-content: flex-end; min-width: 0; width: 33.333%; height: 100%; }
.hero-product img { width: 100%; height: 170px; object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 10px 9px #2236451a); }
.hero-product-one img { height: 196px; }
.hero-product-three img { height: 152px; }
.hero-product span { font-size: 9px; color: #5c6d7b; margin-top: 14px; white-space: nowrap; }
.hero-location { display: flex; align-items: center; gap: 14px; border-top: 1px solid #cfd8df; padding: 20px 0; }
.hero-location strong, .hero-location div > span { display: block; }
.hero-location strong { font-size: 12px; }
.hero-location div > span { font-size: 10px; color: #667785; margin-top: 5px; }
.location-symbol { font-size: 28px; color: #567087; }
.benefits-strip { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); padding: 25px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefits-strip > div { display: flex; align-items: center; gap: 18px; padding: 0 35px; border-right: 1px solid var(--line); }
.benefits-strip > div:first-child { padding-left: 0; }
.benefits-strip > div:last-child { border: 0; }
.benefit-number { font-size: 12px; color: #7c8a99; }
.benefits-strip strong, .benefits-strip div div span { display: block; }
.benefits-strip strong { font-size: 12px; font-weight: 700; }
.benefits-strip div div span { font-size: 11px; color: var(--muted); margin-top: 6px; }
.shop-shell { max-width: 1328px; margin: auto; padding: 48px 24px 64px; grid-template-columns: 224px minmax(0,1fr); gap: 36px; }
.filters { top: 108px; border: 0; background: transparent; padding: 0; border-radius: 0; }
.filter-head strong { font-size: 13px; }
.filter-head button { background: transparent; font-weight: 500; color: #687689; font-size: 11px; text-decoration: underline; }
.category-list { gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.category-list button { align-items: center; padding: 11px 12px; min-height: 43px; text-align: left; font-size: 11px; font-weight: 550; background: transparent; }
.category-list button.is-active { background: #17365b; }
.category-list button:not(.is-active):hover { background: #e8edf2; }
.category-list strong { font-size: 10px; font-weight: 500; opacity: .7; }
.field span, .check-row span { font-weight: 550; font-size: 12px; }
.field input, .field select, .field textarea { min-width: 0; width: 100%; border: 1px solid #d5dde5; background: #fff; color: var(--ink); border-radius: 8px; min-height: 44px; font-size: 13px; }
.field textarea { padding: 12px; resize: vertical; }
.check-row { align-items: center; }
.check-row input { flex-shrink: 0; }
.catalogue-search { position: relative; top: auto; background: transparent; padding: 0; margin: 0 0 26px; }
.catalogue-search label { display: block; color: var(--muted); font-size: 11px; margin: 0 0 8px; }
.catalogue-search input { width: 100%; min-height: 50px; border: 1px solid #d8dfe7; border-radius: 10px; padding: 12px 18px; background: #fff; color: var(--ink); font-size: 13px; }
.catalogue-head { align-items: center; margin-bottom: 20px; }
.catalogue-head .eyebrow { margin-bottom: 7px; }
.catalogue-head h2 { font-size: 27px; font-weight: 700; }
#resultCount { padding: 0; background: transparent; border-radius: 0; color: var(--muted); font-weight: 500; font-size: 11px; }
.product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.product-card { border: 1px solid #e4e8ed; border-radius: 11px; min-height: 314px; box-shadow: none; transition: box-shadow .18s, border-color .18s; }
.product-card:hover { border-color: #bdcad8; box-shadow: 0 6px 20px #172d4310; }
.product-visual { min-height: 160px; background: #fff; padding: 28px 16px 8px; }
.product-visual img { width: 100%; height: 128px; filter: none; }
.stock-badge { display: none; }
.stock-badge.is-low { display: block; background: #fff3db; color: #815a14; font-size: 9px; top: 10px; right: 9px; }
.age-badge, .deal-badge { font-size: 9px; top: 9px; padding: 4px 7px; box-shadow: none; }
.product-body { padding: 13px 15px 0; }
.product-body h3 { font-size: 12px; line-height: 1.5; font-weight: 650; letter-spacing: -.015em; min-height: 36px; }
.product-body > p { font-size: 10px; line-height: 1.6; margin-top: 5px; min-height: 0; color: var(--muted); }
.product-meta { display: none; }
.product-foot { padding: 14px 15px 16px; align-items: center; }
.price strong { font-size: 17px; font-weight: 750; letter-spacing: -.04em; }
.price del { font-size: 10px; }
.mini-action { min-height: 34px; padding: 0 12px; border-radius: 7px; background: #edf2f6; border: 1px solid #dce4ed; color: #17365b; font-size: 11px; }
.mini-action:hover { background: #17365b; color: white; }
.field-hint { font-size: 10px; line-height: 1.7; color: #738092; margin-top: 20px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.active-filters:empty { display: none; }
.active-filters button { margin: 0 0 16px; border: 1px solid #d4dde6; border-radius: 20px; padding: 8px 12px; background: #fff; font-size: 11px; color: var(--ink); }
.catalogue-status { background: #fff4df; padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 12px; line-height: 1.6; color: #785422; }
.catalogue-status button { margin-left: 10px; border: 0; text-decoration: underline; background: transparent; color: inherit; }
.empty-state { grid-column: 1 / -1; padding: 40px 20px; background: white; border: 1px dashed #cbd5df; color: var(--muted); font-size: 13px; line-height: 1.8; }
.empty-state strong { display: block; font-size: 17px; color: var(--ink); margin-bottom: 5px; }
.empty-state button { margin-top: 16px; }
.site-footer { max-width: 1328px; padding: 32px 24px; border: 0; margin: auto; font-size: 11px; gap: 24px; }
.site-footer a { font-weight: 500; }
.site-footer.shop-footer { display: block; max-width: none; margin: 0; padding: 0 24px; background: #f4f6f8; color: #526477; font-size: 14px; line-height: 1.7; border-top: 1px solid #dfe5eb; }
.shop-footer .footer-main { max-width: 1280px; margin: auto; display: grid; grid-template-columns: 1.3fr .85fr 1fr; gap: clamp(32px, 5vw, 72px); padding: 56px 0 44px; }
.shop-footer .footer-brand { display: grid; align-content: start; gap: 18px; }
.shop-footer .footer-lockup { display: flex; align-items: center; gap: 16px; width: fit-content; }
.shop-footer .footer-lockup strong { color: #18334f; font-size: 18px; line-height: 1.35; letter-spacing: -.025em; }
.shop-footer p { margin: 0; }
.shop-footer address { font-style: normal; }
.shop-footer .footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.shop-footer h2 { color: #18334f; font-size: 14px; font-weight: 700; line-height: 1.4; letter-spacing: 0; margin: 4px 0 8px; }
.shop-footer a { color: #18334f; text-decoration: none; text-underline-offset: 4px; }
.shop-footer a:hover { text-decoration: underline; }
.shop-footer a:focus-visible { outline: 2px solid #0055a6; outline-offset: 5px; border-radius: 2px; }
.shop-footer .footer-column > a { display: inline-block; padding: 5px 0; min-height: 36px; overflow-wrap: anywhere; }
.shop-footer .footer-column > a span { margin-left: 6px; color: #6c8195; }
.shop-footer .footer-column > p { max-width: 34ch; }
.shop-footer .footer-payment { margin-top: 20px; font-size: 12px; }
.shop-footer .footer-payment > strong { display: block; margin-bottom: 12px; font-size: 13px; color: #193959; }
.shop-footer .payment-methods { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 12px; }
.shop-footer .payment-badge { height: 46px; min-width: 76px; padding: 6px 10px; border: 1px solid #d7e0e8; border-radius: 7px; display: flex; align-items: center; justify-content: center; background: white; color: #142c46; font-weight: 700; line-height: 1.1; }
.shop-footer .payment-visa { font-size: 21px; font-style: italic; color: #1434cb; }
.shop-footer .payment-mastercard { gap: 5px; font-size: 10px; }
.shop-footer .mastercard-circles { width: 31px; height: 20px; position: relative; }
.shop-footer .mastercard-circles::before, .shop-footer .mastercard-circles::after { content: ''; position: absolute; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #eb001b; }
.shop-footer .mastercard-circles::after { left: 11px; background: #f79e1b; opacity: .88; }
.shop-footer .payment-amex { background: #006fcf; color: white; text-align: center; font-size: 11px; text-transform: uppercase; }
.shop-footer .payment-apple, .shop-footer .payment-google { font-size: 15px; color: #111; }

.cookie-notice { position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 10000; display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 900px; margin: 0 auto; padding: 18px 22px; background: #fff; color: #193959; border: 1px solid #d7e0e8; border-radius: 12px; box-shadow: 0 6px 30px #142c4626; }
.cookie-notice p { margin: 0; font-size: 14px; line-height: 1.6; }
.customer-promotions { position: fixed; right: 20px; bottom: 24px; z-index: 1100; width: min(360px, calc(100vw - 32px)); max-height: 65vh; overflow-y: auto; padding: 24px; border: 1px solid #d7e0e8; border-radius: 18px; background: white; color: #193959; box-shadow: 0 12px 48px #142c4633; animation: promotion-enter .25s ease-out; }
.customer-promotions[hidden] { display: none; }
.customer-promotions strong, .customer-promotions span { overflow-wrap: anywhere; }
#discountProductScope[hidden] { display: none; }
.customer-promotions h2 { font-size: 20px; padding-right: 24px; margin: 0 0 8px; }
.customer-promotions p, .customer-promotions li { font-size: 14px; line-height: 1.5; }
.customer-promotions ul { list-style: none; padding: 0; margin: 16px 0; }
.customer-promotions li { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid #e7edf3; }
.customer-promotions small { display: block; font-size: 12px; line-height: 1.5; color: #5e7287; margin-top: 8px; }
.promotion-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: transparent; color: #193959; cursor: pointer; font-size: 26px; }
.mini-action.product-added { background: #147d46; color: white; min-width: 80px; animation: basket-confirm .3s ease-out; }
.basket-added-toast::before { content: '✓'; display: inline-block; margin-right: 10px; color: #80e4a6; font-weight: 800; animation: basket-confirm .3s ease-out; }
@keyframes basket-confirm { from { transform: scale(.7); } to { transform: scale(1); } }
@keyframes promotion-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .customer-promotions, .mini-action.product-added, .basket-added-toast::before { animation: none; } }
.cookie-notice a { color: #0055a6; text-decoration: underline; }
.cookie-notice button { flex-shrink: 0; min-height: 44px; }
@media (max-width: 540px) { .cookie-notice { left: 10px; right: 10px; bottom: 10px; padding: 16px; gap: 12px; flex-direction: column; align-items: stretch; } }
.shop-footer .footer-payment small { display: block; max-width: 36ch; font-size: 12px; line-height: 1.6; color: #5e7287; }
.order-view-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.order-view-tabs button { border: 1px solid #cbd6df; background: #fff; color: #193959; border-radius: 8px; padding: 12px 18px; cursor: pointer; font: inherit; }
.order-view-tabs button[aria-pressed="true"] { background: #193959; border-color: #193959; color: #fff; }
.shop-footer .footer-bottom { max-width: 1280px; margin: auto; border-top: 1px solid #d7e0e8; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 32px; }
.shop-footer .footer-bottom small { font-size: 12px; }
.shop-footer .footer-bottom nav { flex-wrap: wrap; gap: 4px 24px; }
.shop-footer .footer-bottom a { display: inline-flex; align-items: center; min-height: 36px; font-size: 12px; }
.site-footer .footer-credit { flex-basis:100%; width:100%; max-width:1280px; margin:0 auto; padding:0 0 22px; color:#64748b; font-size:11px; line-height:1.8; text-align:right; }
.site-footer .footer-credit a { color:inherit; font-size:inherit; font-weight:500; text-decoration:none; text-underline-offset:3px; }
.site-footer .footer-credit a:hover { color:#18334f; text-decoration:underline; }
.site-footer:not(.shop-footer) { flex-wrap:wrap; }
@media (max-width: 900px) {
  .shop-footer .footer-main { grid-template-columns: 1fr 1fr; }
  .shop-footer .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .shop-footer .footer-main { grid-template-columns: minmax(0, 1fr); padding: 36px 0 28px; gap: 30px; }
  .shop-footer .footer-brand { grid-column: auto; }
  .shop-footer .footer-bottom { align-items: flex-start; flex-direction: column; padding-bottom: 28px; }
  .shop-footer .footer-column > a { min-height: 44px; }
  .site-footer .footer-credit { text-align:left; }
}
.basket-drawer { width: min(450px,100%); padding: 24px; box-shadow: -12px 0 60px #142c4320; }
.basket-head h2, .modal-head h2 { font-size: 28px; }
.basket-head .eyebrow, .modal-head .eyebrow { font-size: 10px; }
.basket-line { padding: 20px 0; }
.basket-line h3 { font-size: 14px; letter-spacing: -.02em; }
.basket-progress { background: #edf3f8; border-radius: 8px; padding: 12px; font-size: 12px; color: #36546e; line-height: 1.5; }
.qty-button { min-width: 36px; min-height: 36px; }
.checkout-modal { border: 1px solid #d9e1ea; border-radius: 15px; box-shadow: 0 30px 100px #0e22384a; }
dialog::backdrop { background: #10253b70; backdrop-filter: blur(3px); }
.checkout-modal form { padding: 26px; }
.confirmation-content { padding: 30px; }
.confirmation-content > div > p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.confirmation-summary { display: flex; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.confirmation-pin { background: #edf4f8; padding: 24px; margin: 20px 0; border-radius: 10px; }
.confirmation-pin > span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.confirmation-pin > strong { display: block; font-size: 32px; letter-spacing: .15em; margin-top: 10px; }
.confirmation-pin p { font-size: 12px; line-height: 1.8; margin-bottom: 0; }
.payment-return-status { max-width: 1280px; margin: 20px auto; padding: 20px; background: #fff3de; border-radius: 10px; font-size: 13px; }
.payment-return-status button { margin-left: 12px; }
.checkout-modal .field input { font-size: 16px; }
.payment-box, .fulfilment-box { border-radius: 10px; box-shadow: none; }
.payment-box h3 { font-size: 15px; }
.payment-box p, .checkout-terms { font-size: 12px; line-height: 1.7; }
.toast { border-radius: 10px; font-size: 13px; }
.admin { max-width: 1400px; margin: 0 auto; padding: 38px 24px 64px; }
.admin-title { font-size: 32px; }
.admin-login { max-width: 520px; margin: 36px auto 90px; background: white; padding: 38px; border-radius: 16px; box-shadow: var(--shadow); }
.admin-login p:not(.eyebrow) { font-size: 13px; }
.admin-login form { max-width: none; }
.admin-login .primary-action { width: 100%; }
.stats-row { gap: 16px; margin: 28px 0; }
.stats-row div { background: #fff; border-radius: 12px; padding: 22px; }
.stats-row strong { font-size: 28px; letter-spacing: -.04em; }
.stats-row span { font-size: 11px; font-weight: 550; }
.admin-tabs { border: 0; border-bottom: 1px solid #d9e0e8; border-radius: 0; padding: 0; background: transparent; gap: 24px; margin-bottom: 26px; }
.admin-tabs button { flex: 0 0 auto; min-height: 48px; padding: 0 4px; border-radius: 0; font-size: 13px; border-bottom: 3px solid transparent; }
.admin-tabs button.is-active { color: var(--ink); background: transparent; border-color: #d82732; }
.product-row { grid-template-columns: 54px minmax(150px,1fr) 78px 70px 70px minmax(130px,.8fr) 100px 130px; border-radius: 10px; gap: 12px; }
.product-row > div > strong { font-size: 12px; }
.product-row small, .product-row a { font-size: 10px; line-height: 1.7; }
.product-row .field span { font-size: 10px; }
.row-actions button { min-height: 40px; font-size: 11px; }
.product-table { overflow-x: auto; }
.order-card { border-radius: 12px; padding: 20px; font-size: 13px; line-height: 1.7; }
.order-card > div { min-width: 0; overflow-wrap: anywhere; }
.order-card small { color: var(--muted); font-size: 11px; }
.order-actions button { font-size: 11px; }
.order-actions .primary-action { color: #fff; background: #d82732; border-color: #d82732; }
.status-pill { background: #eaf2f8; color: #254b6d; font-weight: 600; }
.order-card--pending { background: #fff4e5; border: 1px solid #f4be77; border-left: 5px solid #d97706; }
.order-card--pending .status-pill { background: #ffdfb3; color: #7c3900; }
.order-card--new, .order-card--failed { background: #fff0f0; border: 1px solid #f1a4a4; border-left: 5px solid #c62828; }
.order-card--new .status-pill, .order-card--failed .status-pill { background: #ffd5d5; color: #8e1717; }
.order-card--completed { background: #edf9f0; border: 1px solid #9bd3ac; border-left: 5px solid #23834b; }
.order-card--completed .status-pill { background: #ccebd6; color: #16572f; }
.admin-header-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-header-tools[hidden] { display: none; }
body[data-page="admin"] .header-actions { flex-wrap: wrap; }
.admin-header-tools .is-active { background: #eaf2f8; border-color: #0055a6; color: #0055a6; }
.driver-settings { background: white; padding: 20px; border: 1px solid var(--line); border-radius: 10px; margin: 0 0 24px; font-size: 12px; line-height: 1.7; }
.driver-settings summary { cursor: pointer; font-size: 14px; font-weight: 650; }
.history-tools { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 20px 0; }
.history-tools .field { flex: 1; min-width: 200px; margin: 0; }
.history-pagination { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; font-size: 12px; }
.history-pagination .secondary-action { min-height: 40px; }
.history-message { color: var(--muted); font-size: 12px; }
.policy-page { box-shadow: none; border-radius: 14px; padding: 36px; }
.policy-page h1 { font-size: 32px; line-height: 1.15; letter-spacing: -.04em; }
.policy-page p { font-size: 13px; }
body[data-page="driver"] .policy-page { max-width: 1000px; }
.account-form { max-width: 480px; background: #f5f7fa; padding: 24px; border: 1px solid var(--line); border-radius: 12px; margin: 26px 0; }
.account-form .primary-action { width: 100%; }
.account-form h2 { margin-top: 0; }
.mobile-filter-toggle { display: none; }
@media (max-width: 1200px) {
  .site-header { gap: 18px; }
  .main-nav { gap: 16px; }
  .benefits-strip { margin: 0 24px; }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .product-row { grid-template-columns: 54px minmax(150px,1fr) 78px 70px 70px minmax(120px,1fr) 100px 130px; min-width: 990px; }
}
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; padding: 16px 24px; }
  .main-nav { display: none; }
  .hero { gap: 26px; padding-top: 36px; }
  .hero h1 { font-size: 39px; }
  .hero-display { min-height: 345px; padding: 22px 18px 0; }
  .hero-products { height: 233px; }
  .hero-product span { font-size: 8px; }
  .hero-actions { gap: 16px; }
  .hero-secondary { font-size: 11px; }
  .shop-shell { grid-template-columns: 180px minmax(0,1fr); gap: 24px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .benefits-strip > div { padding: 0 18px; gap: 12px; }
  .benefits-strip div div span { line-height: 1.6; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 90px; }
  .service-bar { justify-content: center; padding: 9px 16px; font-size: 9px; }
  .service-bar > span:first-child { display: none; }
  .site-header { padding: 14px 16px; gap: 8px; }
  .esso-mark { width: 51px; height: 33px; font-size: 16px; }
  .brand-lockup { gap: 8px; }
  .brand-lockup strong { max-width: 100px; font-size: 11px; line-height: 1.35; }
  .brand-lockup small { display: none; }
  .header-actions { gap: 6px; }
  .header-actions .secondary-action { min-height: 38px; padding: 0 10px; font-size: 11px; }
  .basket-button { min-height: 38px; padding: 0 10px; gap: 6px; }
  .basket-button > span { font-size: 0; }
  .basket-count { font-size: 11px; }
  .basket-button strong { font-size: 10px; padding-left: 8px; }
  .ui-icon { width: 19px; height: 19px; }
  .hero { padding: 30px 20px; grid-template-columns: 1fr; gap: 26px; }
  .hero h1 { font-size: clamp(36px,10vw,48px); }
  .hero h1 br:last-child { display: none; }
  .hero-copy > p:not(.eyebrow):not(.hero-note) { font-size: 13px; line-height: 1.75; margin: 16px 0 20px; }
  .hero-copy .hero-note { margin-top: 14px; }
  .hero-display { min-height: 286px; padding: 20px 24px 0; }
  .hero-products { height: 190px; padding-top: 12px; }
  .hero-product img { height: 130px; }
  .hero-product-one img { height: 144px; }
  .hero-product-three img { height: 120px; }
  .hero-location { padding: 15px 0; }
  .benefits-strip { margin: 0 20px; padding: 20px 0; gap: 14px; }
  .benefits-strip > div { display: block; padding: 0; border: 0; }
  .benefit-number { display: none; }
  .benefits-strip strong { font-size: 10px; }
  .benefits-strip div div span { font-size: 9px; }
  .shop-shell { grid-template-columns: 1fr; padding: 28px 16px 40px; gap: 18px; }
  .mobile-filter-toggle { display: block; width: 100%; text-align: left; padding: 0 16px; }
  .mobile-filter-toggle::after { content: '+'; float: right; font-size: 20px; }
  .mobile-filter-toggle[aria-expanded="true"]::after { content: '−'; }
  .filters { display: none; position: static; background: #fff; border: 1px solid var(--line); padding: 18px; border-radius: 10px; }
  .filters.is-expanded { display: block; }
  .category-list { display: grid; grid-template-columns: 1fr 1fr; }
  .category-list button { white-space: normal; }
  .catalogue-search { margin-bottom: 22px; }
  .catalogue-search input { font-size: 16px; }
  .catalogue-head { flex-direction: row; align-items: center; }
  .catalogue-head h2 { font-size: 23px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .product-card { min-height: 294px; }
  .product-visual { min-height: 140px; padding: 26px 12px 8px; }
  .product-visual img { height: 115px; }
  .product-body { padding: 10px 12px 0; }
  .product-body h3 { font-size: 11px; }
  .product-foot { padding: 12px; gap: 8px; }
  .price strong { font-size: 16px; }
  .mini-action { min-height: 36px; padding: 0 11px; }
  .site-footer { padding: 30px 24px; }
  .basket-drawer { padding: 20px; }
  .checkout-modal form { padding: 20px; }
  .admin { padding: 26px 16px; }
  .admin-title { font-size: 27px; }
  .admin-login { padding: 25px; margin: 16px auto 50px; }
  .admin-head { gap: 18px; }
  .admin-actions { justify-content: flex-start; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stats-row div { padding: 17px; min-height: 94px; }
  .admin-tabs { gap: 20px; }
  .order-card { grid-template-columns: 1fr; padding: 16px; }
  .order-actions { display: flex; flex-wrap: wrap; }
  .policy-page { margin: 16px 12px; padding: 24px; }
  .account-form { padding: 18px; }
  .field input, .field select { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* Tablet-friendly product barcode capture. */
.hero-promotions { margin: 0 0 24px; padding: 18px; border-radius: 12px; background: #fff; border: 1px solid #d5dfda; }
.hero-promotions-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.hero-promotions-heading h2 { margin:0; font-size:20px; letter-spacing:-.03em; }
.hero-promotions-heading button { border:0; background:transparent; color:#087443; font-weight:700; cursor:pointer; padding:10px 0; }
.hero-promotion-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.hero-promotion { padding:12px; background:#eff6ef; border-radius:8px; }
.hero-promotion strong, .hero-promotion span { display:block; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
.hero-promotion span { margin-top:6px; color:#087443; font-weight:700; }
.hero-promotion-list > p { grid-column:1/-1; margin:0; font-size:13px; line-height:1.6; color:#526174; }
.site-header .brand-address { display:block; max-width:220px; line-height:1.5; }
@media(max-width:640px) {
  .site-header { flex-wrap:wrap; gap:12px; }
  .site-header .brand-lockup span:last-child { display:block; }
  .site-header .brand-address { max-width:155px; font-size:10px; }
  .site-header .brand-lockup strong { max-width:none; }
  .hero-promotions { padding:14px; }
}
.barcode-panel { padding:24px; margin-bottom:24px; border:1px solid #dce3ec; background:#f4f7fb; border-radius:18px; }
.barcode-panel h2 { margin-top:0; }
.barcode-panel .field { margin:16px 0; max-width:520px; }
.barcode-panel small { display:block; color:#526174; line-height:1.6; }
.barcode-actions { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.barcode-actions label { display:flex; flex-direction:column; gap:8px; cursor:pointer; }
.barcode-actions input { max-width:240px; font-size:14px; }
.barcode-dialog { border:0; border-radius:20px; padding:24px; width:min(560px,calc(100vw - 40px)); }
.barcode-dialog::backdrop { background:rgba(12,25,42,.65); }
.barcode-dialog video { width:100%; max-height:55vh; background:#142033; border-radius:12px; margin-bottom:16px; }
.barcode-image { width:160px; height:180px; object-fit:contain; border:1px solid #dce3ec; border-radius:12px; background:white; }
.product-visual .age-badge { top:10px; bottom:auto; left:10px; width:36px; height:36px; min-width:36px; padding:0; border-radius:50%; display:grid; place-items:center; line-height:1; font-size:12px; }
.mix-offer-label { color:#087443; font-weight:700; font-size:13px; }
.offer-products { display:grid; gap:10px; max-height:320px; overflow:auto; padding:10px; }
.offer-products label { display:flex; align-items:center; gap:12px; min-height:40px; }
.offer-products input { width:22px; height:22px; flex-shrink:0; }
.offer-row { display:flex; justify-content:space-between; gap:20px; align-items:center; padding:16px; margin:12px 0; border:1px solid #dce3ec; border-radius:12px; }
.discount-code-row { flex-wrap:wrap; }
.discount-code-row > span { flex:1 1 240px; min-width:0; overflow-wrap:anywhere; }
.discount-code-actions { display:flex; flex-wrap:wrap; gap:8px; }
.customer-section-tabs { display:flex; gap:12px; margin-bottom:24px; }
.customer-section-tabs button { padding:14px 20px; border:1px solid #dce3ec; border-radius:12px; background:#f4f7fb; color:#18334e; font-weight:700; }
.customer-section-tabs button[aria-pressed=true] { background:#18334e; color:white; }
#customerOrdersPanel[hidden], #customerDetailsPanel[hidden] { display:none; }
.discount-entry { padding:14px 0; border-bottom:1px solid #dce3ec; margin-bottom:14px; }
.discount-entry input { text-transform:uppercase; }
.discount-entry button { margin:8px 6px 8px 0; }
.discount-entry small { color:#526174; line-height:1.5; display:block; }
#discountCodeForm input[type=checkbox] { width:20px; height:20px; vertical-align:middle; }
.order-progress { margin:16px 0; }
.order-progress > p { font-weight:700; color:#087443; }
.order-progress progress { display:block; width:100%; height:10px; accent-color:#087443; border:0; border-radius:8px; overflow:hidden; background:#e6ebf1; }
.order-progress progress::-webkit-progress-bar { background:#e6ebf1; }
.order-progress progress::-webkit-progress-value { background:#087443; }
.order-progress ol { display:flex; padding:0; list-style:none; gap:8px; margin:10px 0; }
.order-progress li { flex:1; min-width:0; font-size:12px; color:#64748b; overflow-wrap:anywhere; }
.order-progress li.is-complete { color:#087443; font-weight:700; }
.order-progress-stopped { padding:12px; border-radius:8px; background:#f1f4f8; font-weight:700; }

/* Keep every aisle and filter reachable in short or zoomed viewports. */
.filters {
  max-height: calc(100vh - 124px);
  max-height: calc(100dvh - 124px);
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
}
@media (min-width: 641px) {
  .filters { position: sticky; top: 108px; }
}
@media (max-width: 640px) {
  .filters { max-height: 60vh; max-height: 60dvh; }
}
.site-header .brand-lockup > span:last-child { display:block; }
.shop-offers { min-width: 0; align-self: center; overflow: hidden; border: 1px solid #dce5eb; border-radius: 20px; background: #fff; box-shadow: 0 16px 44px #19395908; }
.offer-topline { display:flex; justify-content:space-between; padding:21px 25px; background:#e8eef2; color:#536b7d; font-size:10px; font-weight:800; letter-spacing:.15em; }
.offer-window { overflow:hidden; }
.offer-track { display:flex; transition:transform .5s ease; align-items:stretch; touch-action:pan-y; }
.offer-slide { flex:0 0 100%; min-width:0; display:grid; grid-template-columns: 44% 56%; padding:24px; gap:0; box-sizing:border-box; }
.offer-art { position:relative; display:flex; align-items:center; min-width:0; padding-top:36px; }
.offer-sticker { position:absolute; top:0; left:0; padding:9px 13px; border-radius:30px; background:#ffe36d; color:#193555; font-size:13px; font-weight:850; }
.offer-packshots { display:flex; align-items:center; width:100%; justify-content:center; height:190px; background:white; }
.offer-packshots img { width:100%; min-width:0; max-width:155px; height:170px; object-fit:contain; }
.offer-packshots img:not(:only-child) { max-width:45%; }
.offer-packshots img:nth-child(3) { margin-left:-14px; }
.offer-copy { padding:8px 0 8px 16px; align-self:center; min-width:0; }
.offer-copy h2 { font-size:21px; line-height:1.25; letter-spacing:-.025em; margin:0 0 14px; overflow-wrap:anywhere; }
.offer-price { display:flex; flex-direction:column; align-items:flex-start; gap:3px; }
.offer-price span { font-size:16px; font-weight:650; }
.offer-price del { color:#66788b; font-size:15px; }
.offer-price strong { font-size:44px; line-height:1.1; color:#bc292f; letter-spacing:-.05em; }
.offer-copy p { font-size:12px; color:#627387; line-height:1.6; margin:14px 0; }
.offer-copy a { display:inline-flex; gap:20px; padding:10px 0; color:#193959; font-size:13px; font-weight:800; }
.offer-controls { display:flex; align-items:center; gap:10px; padding:13px 24px; border-top:1px solid #edf0f3; }
.offer-controls[hidden] { display:none; }
.offer-controls button { border:1px solid #dce5eb; border-radius:20px; padding:0 12px; font-size:12px; background:white; color:#193959; height:38px; min-width:38px; cursor:pointer; }
.offer-controls [data-offer-pause] { margin-left:auto; border-radius:20px; padding:0 16px; font-size:12px; }
.offer-count { font-size:12px; color:#627387; min-width:36px; text-align:center; }
.show-shop-deals { display:block; width:calc(100% - 48px); margin:0 24px 18px; padding:12px 16px; border:1px solid #dce5eb; border-radius:9px; background:#fff; color:var(--ink); font-size:13px; font-weight:700; cursor:pointer; }
.show-shop-deals:hover { background:var(--soft-blue); }
.offer-empty { flex:0 0 100%; box-sizing:border-box; padding:35px; }
.offer-empty h2 { font-size:29px; line-height:1.2; }
.offer-empty p { color:#627387; font-size:14px; line-height:1.7; }
@media (prefers-reduced-motion:reduce) { .offer-track { transition:none; } }
@media (max-width:640px) {
  .site-header { flex-wrap:wrap; }
  .site-header .brand-lockup { flex:1; }
  .site-header .brand-lockup > span:last-child { display:block; }
  .site-header .brand-lockup strong { max-width:none; }
  .site-header .brand-lockup .header-address { display:block; font-size:9px; max-width:145px; line-height:1.5; }
  .offer-slide { padding:18px; grid-template-columns:1fr; }
  .offer-art { padding-top:20px; }
  .offer-copy { padding:12px 0 0; }
  .offer-price { flex-direction:row; align-items:baseline; gap:10px; }
  .offer-copy h2 { font-size:18px; }
  .offer-price strong { font-size:38px; }
  .offer-packshots { height:175px; }
  .offer-packshots img { height:150px; }
}

/* Customer account and email recovery */
.customer-modal { width:min(600px,calc(100vw - 32px)); border:1px solid #dce5eb; border-radius:22px; color:#193555; box-shadow:0 28px 90px #0c223b33; max-height:calc(100dvh - 32px); }
.customer-modal form { padding:30px; }
.customer-modal .modal-head { align-items:flex-start; margin-bottom:24px; gap:20px; }
.customer-modal .modal-head h2 { font-size:30px; letter-spacing:-.04em; line-height:1.15; }
.customer-modal .eyebrow { font-size:10px; letter-spacing:.16em; color:#63768b; margin:0 0 10px; }
.account-intro { color:#63768b; font-size:14px; line-height:1.65; margin:12px 0 0; font-weight:400; }
.customer-modal .icon-button { width:38px; height:38px; min-width:38px; border-radius:50%; font-size:23px; background:#f2f5f8; border:0; }
.customer-modal .account-tabs,.customer-section-tabs { display:flex; padding:5px; background:#f0f4f7; border-radius:12px; gap:4px; margin-bottom:22px; }
.customer-modal .account-tabs.is-hidden,.customer-modal .social-login.is-hidden { display:none; }
.customer-modal .account-tabs button,.customer-section-tabs button { flex:1; padding:12px; border:0; border-radius:8px; background:transparent; color:#63768b; font-weight:700; font-size:13px; cursor:pointer; }
.customer-modal .account-tabs .is-active,.customer-section-tabs button[aria-pressed=true] { background:white; color:#193555; box-shadow:0 2px 8px #1935550d; }
.customer-modal .field { margin:0 0 17px; gap:8px; }
.customer-modal .field > span:first-child,.recovery-card .field > span:first-child { font-size:12px; font-weight:700; }
.customer-modal input,.recovery-card input:not([type=checkbox]) { border:1px solid #d7e1e8; border-radius:10px; min-height:48px; padding:12px 14px; font-size:16px; width:100%; background:#fff; }
.customer-modal input:focus,.recovery-card input:focus { outline:3px solid #c9e3fa; border-color:#3d739f; }
.customer-modal .primary-action,.recovery-card .primary-action { min-height:48px; border-radius:10px; width:100%; justify-content:center; background:#193959; color:white; margin-top:8px; }
.customer-modal .primary-action:disabled,.recovery-card button:disabled { opacity:.65; cursor:wait; }
.account-text-button { border:0; background:none; color:#245982; font-size:13px; font-weight:700; cursor:pointer; padding:8px 0; text-decoration:none; }
.forgot-link { display:block; margin:-5px 0 12px auto; }
.account-help { color:#63768b; font-size:12px; line-height:1.7; margin:10px 0 18px; }
.account-help a { color:#245982; text-decoration:underline; }
.account-feedback { font-size:13px; line-height:1.6; background:#fff1ef; border:1px solid #f0d1cd; color:#96342c; padding:13px 15px; border-radius:10px; margin:15px 0; }
.account-feedback.is-success { background:#eaf6ef; border-color:#c5e4d2; color:#256343; }
.customer-modal .social-login:has(#googleSignInButton:empty) { display:none; }
.customer-modal .social-login { margin:0 0 22px; }
.password-control { position:relative; display:flex; width:100%; }
.password-control input { padding-right:66px; }
.password-control button { position:absolute; right:6px; top:5px; bottom:5px; background:transparent; border:0; padding:0 10px; color:#46637e; cursor:pointer; font-size:12px; font-weight:700; }
.customer-modal .account-summary { position:relative; display:flex; flex-direction:column; gap:8px; padding:25px 24px 25px 87px; border:1px solid #dce5eb; border-radius:14px; background:linear-gradient(130deg,#f2f6fa,#fff); margin-bottom:25px; overflow-wrap:anywhere; }
.account-avatar { position:absolute; left:22px; top:28px; display:grid; place-items:center; width:44px; height:44px; background:#193959; color:white; border-radius:50%; font-size:21px; font-weight:700; }
.account-card-label { color:#63768b; font-size:9px; font-weight:800; letter-spacing:.15em; }
.customer-modal .account-summary strong { font-size:20px; }
.customer-modal .account-summary #accountCustomerContact,.customer-modal .account-summary #accountCustomerAddress { font-size:13px; font-weight:400; line-height:1.6; }
.customer-modal .account-actions { display:flex; flex-direction:column; gap:10px; }
.customer-modal .account-actions .secondary-action { padding:12px; min-height:44px; font-size:12px; }
.customer-modal #deleteAccountButton { background:transparent; border:0; color:#a2423d; margin-top:12px; }
.customer-modal .account-section-title { font-size:18px; margin-bottom:8px; }
.customer-modal #yourOrdersTitle { font-size:19px; margin:20px 0; }
.recovery-modal .account-intro { margin:0 0 24px; }
.recovery-back { display:block; text-align:center; margin-top:18px; }
.recovery-page { min-height:100dvh; background:#f2f5f8; padding:40px 16px; display:grid; align-items:center; }
.recovery-card { width:min(480px,100%); margin:auto; padding:32px; background:white; border:1px solid #dce5eb; border-radius:22px; box-shadow:0 20px 70px #1935550a; }
.recovery-card .brand-lockup { margin-bottom:36px; }
.recovery-card .brand-lockup strong { font-size:13px; }
.recovery-card h1 { font-size:30px; letter-spacing:-.04em; line-height:1.2; }
.recovery-card .account-intro { margin-bottom:24px; }
.recovery-card .field { margin-bottom:18px; }
.recovery-card .check-row { font-size:13px; }
@media(max-width:640px) { .customer-modal form { padding:23px 20px; } .customer-modal .modal-head h2 { font-size:26px; } .customer-modal .checkout-grid { grid-template-columns:1fr; gap:0; } .recovery-card { padding:28px 22px; } .customer-modal .account-summary { padding-left:76px; } .account-avatar { left:18px; } }
/* Dedicated customer shopping guide. */
.guide-page { background:#f5f7f9; }
.guide-page .guide-header { display:flex; justify-content:space-between; flex-wrap:wrap; }
.guide-navigation { display:flex; gap:28px; align-items:center; }
.guide-navigation a { color:#526477; font-size:13px; font-weight:600; text-decoration:none; padding:12px 0; border-bottom:2px solid transparent; }
.guide-navigation a[aria-current="page"] { color:#18334f; border-color:#18334f; }
.guide-navigation a:hover { color:#0055a6; }
.shopping-guide { max-width:1280px; margin:auto; padding:0 24px 64px; }
.guide-intro { display:grid; grid-template-columns:1.2fr 1fr; align-items:center; gap:72px; padding:72px 0; }
.guide-intro h1 { font-size:clamp(38px,4.5vw,60px); line-height:1.08; letter-spacing:-.045em; color:#18334f; margin:18px 0 24px; }
.guide-lead { color:#526477; font-size:17px; line-height:1.8; max-width:49ch; margin:0 0 28px; }
.guide-intro .primary-action, .guide-cta .primary-action { display:inline-flex; text-decoration:none; align-items:center; justify-content:center; min-height:48px; }
.guide-overview { background:#142e4a; color:#fff; padding:40px; border-radius:24px; }
.guide-label { display:block; font-size:11px; letter-spacing:.13em; font-weight:700; }
.guide-overview .guide-label { color:#b4c7d9; }
.guide-overview h2 { color:white; font-size:32px; letter-spacing:-.035em; line-height:1.2; margin:24px 0; }
.guide-overview ul { padding:0; margin:0; list-style:none; }
.guide-overview li { border-top:1px solid #ffffff26; padding:15px 0; color:#d5e0eb; font-size:14px; line-height:1.6; }
.guide-overview li:last-child { padding-bottom:0; }
.guide-section { margin-bottom:64px; }
.guide-section-heading { margin-bottom:26px; }
.shopping-guide .eyebrow { font-size:11px; letter-spacing:.15em; color:#61778c; }
.guide-section h2, .guide-cta h2 { font-size:30px; line-height:1.2; letter-spacing:-.035em; color:#18334f; margin:10px 0 0; }
.guide-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; list-style:none; padding:0; margin:0; }
.guide-steps li { display:flex; flex-direction:column; padding:30px; background:white; border:1px solid #dfe6ed; border-radius:18px; }
.guide-step-number { display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:#edf3f8; color:#254967; font-size:13px; font-weight:700; margin-bottom:28px; }
.guide-steps h3, .guide-options h3 { font-size:20px; color:#18334f; line-height:1.3; letter-spacing:-.025em; margin:0 0 14px; }
.guide-steps p, .guide-options p, .guide-questions p { color:#526477; font-size:14px; line-height:1.8; margin:0 0 22px; }
.guide-step-note { margin-top:auto; padding-top:20px; border-top:1px solid #e7edf2; color:#61778c; font-size:12px; line-height:1.7; }
.guide-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.guide-options article { border-radius:18px; background:#eaf0f5; padding:34px; display:flex; flex-direction:column; }
.guide-options article:nth-child(2) { background:#e9f0ed; }
.guide-options .guide-label { color:#516b80; margin-bottom:20px; }
.guide-options address { font-style:normal; font-size:14px; line-height:1.8; color:#18334f; margin-bottom:22px; }
.guide-option-note { margin-top:auto; color:#18334f; font-size:13px; font-weight:600; }
.guide-questions { display:grid; grid-template-columns:1fr 1.5fr; gap:64px; }
.guide-questions > div > p:last-child { margin-top:20px; }
.guide-questions a { color:#18334f; text-underline-offset:4px; }
.guide-faq-list { border-top:1px solid #d7e0e8; }
.guide-faq-list details { border-bottom:1px solid #d7e0e8; }
.guide-faq-list summary { cursor:pointer; padding:22px 36px 22px 0; color:#18334f; font-size:15px; font-weight:600; position:relative; list-style:none; line-height:1.5; }
.guide-faq-list summary::-webkit-details-marker { display:none; }
.guide-faq-list summary::after { content:'+'; position:absolute; right:4px; top:20px; font-size:22px; font-weight:400; }
.guide-faq-list details[open] summary::after { content:'−'; }
.guide-faq-list p { margin:0 28px 22px 0; }
.guide-cta { border-top:1px solid #d7e0e8; padding-top:36px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.guide-cta h2 { margin:0; }
.guide-cta p { font-size:14px; color:#526477; margin:12px 0 0; }
.guide-page a:focus-visible, .guide-faq-list summary:focus-visible { outline:2px solid #0055a6; outline-offset:5px; }
@media(max-width:900px) {
  .guide-intro { gap:30px; padding:48px 0; }
  .guide-overview { padding:28px; }
  .guide-overview h2 { font-size:26px; }
  .guide-steps { grid-template-columns:1fr; }
  .guide-step-number { margin-bottom:20px; }
  .guide-questions { grid-template-columns:1fr; gap:20px; }
}
@media(max-width:600px) {
  .guide-page .guide-header { gap:16px; }
  .guide-navigation { width:100%; gap:24px; border-top:1px solid #e7edf2; padding-top:4px; }
  .guide-navigation a { font-size:12px; }
  .shopping-guide { padding:0 20px 40px; }
  .guide-intro { grid-template-columns:1fr; padding:36px 0 44px; gap:30px; }
  .guide-lead { font-size:15px; }
  .guide-section { margin-bottom:40px; }
  .guide-section h2, .guide-cta h2 { font-size:26px; }
  .guide-steps li, .guide-options article { padding:26px; }
  .guide-options { grid-template-columns:1fr; }
  .guide-cta { align-items:flex-start; flex-direction:column; }
  .offer-controls { gap:6px; padding:12px; flex-wrap:wrap; }
}

.offer-products label[hidden] { display:none; }

.stock-summary-button { display:block; width:100%; padding:0; border:0; background:transparent; color:inherit; text-align:left; font:inherit; cursor:pointer; }
.stock-summary-button:hover span { text-decoration:underline; }
.stock-summary-button:focus-visible { outline:3px solid #0055a6; outline-offset:6px; border-radius:4px; }
.stock-summary-button[aria-pressed="true"] span { color:#0055a6; }

.product-body .product-unavailable { color:#815a14; background:#fff3db; padding:10px 12px; border-radius:8px; font-size:12px; line-height:1.5; }
.product-visual .out-of-stock-banner { position:absolute; left:0; right:0; bottom:0; z-index:2; padding:8px 12px; background:#fff0d8; color:#754100; border-top:1px solid #e9c58d; text-align:center; font-size:12px; line-height:1.4; font-weight:750; }

/* Shared phone and email links, including account and staff contacts. */
.contact-link { overflow-wrap: anywhere; }
.contact-icon { display: inline-block; width: 1em; height: 1em; margin-inline-end: .35em; vertical-align: -.15em; flex-shrink: 0; }
