/* ==========================================================
   Victoria Food Trading — Stylesheet
   Palette from brand guidelines (Edition 2026)
   ========================================================== */

:root {
  --navy: #1a2c55;
  --navy-deep: #13213f;
  --midnight: #243a6e;
  --gold: #e4c056;
  --gold-soft: #f0d77a;
  --gold-text: #9c7f1f;
  --ivory: #f7f3e8;
  --sand: #e3dacb;
  --stone: #6b6e7a;
  --olive: #3e4a32;
  --muted: #5b6178;
  --light-text: #b9becf;
  --maxw: 1180px;
  /* Brand font: Cairo everywhere. Headlines are bold, everything else is not.
     Cairo is loaded from Google Fonts in each page's <head>. */
  --font-head: "Cairo", Arial, sans-serif;
  --font-body: "Cairo", Arial, sans-serif;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
p {
  line-height: 1.75;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin: 0 0 14px;
}
.eyebrow.on-light {
  color: var(--gold-text);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 1px;
  font-weight: 400;
  font-size: 15px;
  border: 1px solid transparent;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}
.btn:active {
  transform: scale(0.97);
}
.btn-gold {
  background: var(--gold);
  color: var(--midnight);
}
.btn-gold:hover {
  background: var(--gold-soft);
}
.btn-outline {
  border-color: rgba(228, 192, 86, 0.6);
  color: var(--gold);
  background: none;
}
.btn-outline:hover {
  background: rgba(228, 192, 86, 0.1);
}
.btn-navy {
  background: var(--navy);
  color: var(--ivory);
}
.btn-navy:hover {
  background: var(--navy-deep);
}
.btn-block {
  width: 100%;
  justify-content: center;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--navy); /* Victoria Navy from the brand palette */
  border-bottom: 1px solid rgba(228, 192, 86, 0.18);
}
.headbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brandmark {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
}
.brandmark img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.brandmark strong {
  display: block;
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 600;
}
.brandmark span {
  display: block;
  font-size: 11px;
  color: var(--light-text);
  letter-spacing: 1.5px;
}

nav.mainnav {
  display: flex;
  align-items: center;
  gap: 6px;
}
nav.mainnav a {
  display: inline-block;
  background: none;
  border: none;
  color: #cfd3e2;
  font-size: 14.5px;
  font-weight: 400;
  padding: 10px 14px;
  position: relative;
}
nav.mainnav a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
nav.mainnav a:hover {
  color: #fff;
}
nav.mainnav a.active {
  color: var(--gold);
}
nav.mainnav a.active::after {
  transform: scaleX(1);
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-btn {
  background: none;
  border: 1px solid rgba(228, 192, 86, 0.35);
  color: var(--gold);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.icon-btn:hover {
  background: rgba(228, 192, 86, 0.12);
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gold);
  color: var(--midnight);
  font-size: 11px;
  font-weight: 400;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
}
.hamb {
  display: none;
}

/* ---------- Pages ---------- */
.page {
  animation: fadein 0.4s ease;
}
@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--midnight);
  color: var(--ivory);
  min-height: calc(100vh - 75px);
  min-height: calc(100svh - 75px);
  display: flex;
  align-items: center;
  padding: 60px 0;
  overflow: hidden;
}
/* Logo video fills the whole screen under the header (75px tall),
   with a black layer on top so the headline reads clearly. */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  width: 100%;
}
.hero h1 {
  font-size: clamp(36px, 4.6vw, 60px);
  color: #fff;
  max-width: 660px;
  font-weight: 700;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p.lead {
  color: #c7cbdd;
  font-size: 17px;
  max-width: 540px;
  margin-top: 20px;
  font-weight: 300;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.pillars-strip {
  background: var(--navy);
  border-top: 1px solid rgba(228, 192, 86, 0.15);
}
.pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.pillar-cell {
  padding: 26px 28px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-left: 1px solid rgba(228, 192, 86, 0.12);
  color: var(--ivory);
}
.pillar-cell:first-child {
  border-left: none;
}
.pillar-cell .picn {
  flex: none;
  color: var(--gold);
}
.pillar-cell h4 {
  font-size: 15px;
  color: var(--gold);
  margin-bottom: 4px;
  letter-spacing: 1px;
}
.pillar-cell p {
  font-size: 13.5px;
  color: var(--light-text);
  margin: 0;
  line-height: 1.6;
  font-weight: 300;
}

/* ---------- Sections ---------- */
section.block {
  padding: 86px 0;
}
.block.on-ivory {
  background: var(--ivory);
}
.block.on-sand {
  background: var(--sand);
}
.block.on-navy {
  background: var(--navy);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.sec-head {
  max-width: 660px;
  margin-bottom: 52px;
}
.sec-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
}
.sec-head p {
  color: var(--muted);
  margin-top: 14px;
  font-size: 16px;
  font-weight: 300;
}
.on-navy .sec-head h2 {
  color: #fff;
}
.on-navy .sec-head p {
  color: var(--light-text);
}

/* Category grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(26, 44, 85, 0.12);
  border: 1px solid rgba(26, 44, 85, 0.12);
}
.cat-card {
  background: var(--ivory);
  padding: 34px 22px;
  text-align: center;
}
.cat-card:hover {
  background: #fff;
}
.cat-card .cicn {
  color: var(--navy);
  margin-bottom: 16px;
}
.cat-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 700;
}
.cat-card p {
  font-size: 13px;
  color: var(--stone);
  margin: 0;
}
.cat-card a {
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  margin-top: 14px;
  color: var(--gold-text);
  font-size: 13px;
  font-weight: 400;
}
.cat-card a:hover {
  text-decoration: underline;
}

/* Who we serve */
.serve-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.serve-mini {
  text-align: center;
  padding: 24px 10px;
}
.serve-mini .sicn {
  color: var(--gold);
  margin-bottom: 12px;
}
.serve-mini h4 {
  font-size: 14.5px;
  color: #fff;
  font-weight: 700;
}

.serve-full {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 20px;
}
.serve-full-card {
  background: var(--midnight);
  padding: 30px 20px;
  text-align: center;
}
.serve-full-card .sicn {
  color: var(--gold);
  margin-bottom: 14px;
}
.serve-full-card h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 8px;
  font-weight: 700;
}
.serve-full-card p {
  color: var(--light-text);
  font-size: 13px;
  margin: 0;
  line-height: 1.6;
  font-weight: 300;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--midnight));
  color: #fff;
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band .glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 120%,
    rgba(228, 192, 86, 0.25),
    transparent 60%
  );
}
.cta-band h2 {
  font-size: clamp(24px, 3vw, 36px);
  position: relative;
  font-weight: 700;
}
.cta-band p {
  color: #c7cbdd;
  margin: 14px 0 30px;
  position: relative;
  font-weight: 300;
}
.cta-band .hero-ctas {
  justify-content: center;
  position: relative;
}

/* ---------- Page head ---------- */
.page-head {
  background: var(--midnight);
  color: #fff;
  padding: 60px 0 46px;
  position: relative;
  overflow: hidden;
}
.page-head .glow {
  position: absolute;
  inset: auto 0 -60% 0;
  height: 100%;
  background: radial-gradient(
    closest-side,
    rgba(228, 192, 86, 0.22),
    transparent 70%
  );
}
.page-head h1 {
  font-size: clamp(30px, 3.8vw, 46px);
  position: relative;
  color: #fff;
  font-weight: 700;
}
.page-head p {
  color: var(--light-text);
  margin-top: 10px;
  max-width: 580px;
  position: relative;
  font-weight: 300;
}
.page-head .eyebrow {
  position: relative;
}

/* ---------- Store ---------- */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 32px 0 6px;
}
.filter-pill {
  background: #fff;
  border: 1px solid rgba(26, 44, 85, 0.18);
  color: var(--navy);
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 400;
}
.filter-pill.active {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 30px 0 90px;
}
.prod-card {
  background: #fff;
  border: 1px solid rgba(26, 44, 85, 0.1);
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.prod-card:hover {
  box-shadow: 0 16px 30px rgba(4, 5, 5, 0.1);
  transform: translateY(-3px);
}
.prod-media {
  background: var(--sand);
  height: 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  position: relative;
}
.prod-media .tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--navy);
  color: var(--gold);
  font-size: 11px;
  padding: 4px 9px;
  letter-spacing: 0.5px;
  font-weight: 400;
  z-index: 1;
}
.prod-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.prod-body .pcat {
  font-size: 11px;
  color: var(--stone);
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.prod-body h4 {
  font-size: 16px;
  font-weight: 700;
}
.prod-body .psize {
  font-size: 13px;
  color: var(--stone);
}
.prod-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
}
.price {
  font-weight: 400;
  color: var(--navy);
  font-size: 17px;
}
.price.soon {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.price span {
  font-size: 11px;
  color: var(--stone);
  font-weight: 400;
}
.add-btn {
  background: var(--navy);
  color: var(--gold);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.add-btn:hover {
  background: var(--gold);
  color: var(--navy);
}

/* Cart drawer */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 58, 110, 0.55);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.cart-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(420px, 92vw);
  background: #fff;
  z-index: 95;
  transform: translateX(105%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.show {
  transform: translateX(0);
}
.cart-head {
  padding: 22px 24px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-head h3 {
  color: var(--gold);
  font-size: 18px;
}
.cart-head .icon-btn {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 14px 24px;
}
.cart-line {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  align-items: center;
}
.cl-media {
  width: 52px;
  height: 52px;
  background: var(--sand);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.cl-media svg {
  width: 26px;
  height: 26px;
}
.cl-body {
  flex: 1;
}
.cl-body h5 {
  font-size: 14px;
  margin: 0 0 6px;
  font-weight: 700;
}
.qty-ctrl {
  display: flex;
  align-items: center;
  gap: 10px;
}
.qty-ctrl button {
  width: 26px;
  height: 26px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
}
.cl-price {
  font-weight: 400;
  font-size: 14px;
  color: var(--navy);
}
.cl-remove {
  font-size: 12px;
  color: #b23b3b;
  background: none;
  border: none;
  padding: 0;
  margin-top: 6px;
}
.cart-empty {
  text-align: center;
  color: var(--stone);
  padding: 60px 20px;
  font-size: 14.5px;
}
.cart-foot {
  padding: 20px 24px 26px;
  border-top: 1px solid #eee;
}
.cart-sub {
  display: flex;
  justify-content: space-between;
  font-weight: 400;
  font-size: 17px;
  margin-bottom: 18px;
}

/* ---------- B2B ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tier-card {
  background: #fff;
  border: 1px solid rgba(26, 44, 85, 0.1);
  padding: 30px 24px;
}
.tier-card .ticn {
  color: var(--gold);
  background: var(--navy);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.tier-card h4 {
  font-size: 17px;
  margin-bottom: 8px;
  font-weight: 700;
}
.tier-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  font-weight: 300;
}

.b2b-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid rgba(26, 44, 85, 0.1);
}
.b2b-info {
  padding: 48px;
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.b2b-info .glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 90%,
    rgba(228, 192, 86, 0.2),
    transparent 60%
  );
}
.b2b-info > * {
  position: relative;
}
.b2b-info h3 {
  color: var(--gold);
  font-size: 26px;
  font-weight: 700;
}
.b2b-info p {
  color: #c7cbdd;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 300;
}
.b2b-info ul {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}
.b2b-info li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  font-size: 14.5px;
  color: #e9ecf5;
  align-items: flex-start;
}
.b2b-info li .chk {
  color: var(--gold);
  flex: none;
}
.b2b-form {
  padding: 48px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #d8d9e0;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14.5px;
  background: #fbfbfa;
  color: var(--navy);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.form-error {
  color: #b23b3b;
  font-size: 14px;
  margin: 0 0 14px;
}
.form-success.show {
  display: block;
}
.form-success .okicn {
  color: var(--olive);
  margin-bottom: 16px;
}
.form-success h4 {
  font-size: 21px;
  margin-bottom: 10px;
}
.form-success p {
  color: var(--muted);
  font-size: 14.5px;
}
.form-success .ref {
  margin-top: 16px;
  font-size: 13px;
  color: var(--stone);
  letter-spacing: 0.5px;
}

/* ---------- Distributors ---------- */
.map-layout {
  /* keep Leaflet's internal z-indexes (400-1000) from covering the sticky header */
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  border: 1px solid rgba(26, 44, 85, 0.15);
  background: #fff;
  margin-top: 22px;
}
.map-shell {
  background: var(--midnight);
  min-width: 0;
}
#map {
  height: 560px;
  width: 100%;
  background: var(--midnight);
  font-family: var(--font-body);
}

.dist-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 560px;
  overflow-y: auto;
  border-left: 1px solid rgba(26, 44, 85, 0.12);
}
.dist-list li {
  border-bottom: 1px solid rgba(26, 44, 85, 0.08);
}
.dist-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 20px;
  color: var(--navy);
}
.dist-item:hover,
.dist-item.active {
  background: var(--ivory);
}
.dist-item.active {
  box-shadow: inset 3px 0 0 var(--gold);
}
.dist-item strong {
  display: block;
  font-size: 15px;
  font-weight: 400;
}
.dist-item span {
  display: block;
  font-size: 13px;
  color: var(--stone);
  margin-top: 2px;
}
.dist-item .dtype {
  color: var(--gold-text);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.5px;
  margin-top: 6px;
}
.dist-empty {
  padding: 28px 20px;
  color: var(--stone);
  font-size: 14px;
}

/* Leaflet popup and marker, matched to the brand */
.leaflet-popup-content-wrapper {
  border-radius: 2px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.leaflet-popup-tip {
  background: var(--navy);
}
.leaflet-popup-content {
  margin: 16px 18px;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.6;
}
.leaflet-popup-content strong {
  display: block;
  color: var(--gold);
  font-size: 15px;
  font-weight: 400;
}
.leaflet-popup-content .ptype {
  color: var(--light-text);
  font-size: 12px;
  margin-bottom: 6px;
}
.leaflet-popup-content a {
  color: var(--gold-soft);
  text-decoration: underline;
}
.leaflet-container a.leaflet-popup-close-button {
  color: var(--light-text);
}
.vf-pin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--navy);
  box-shadow:
    0 0 0 1px var(--gold),
    0 3px 8px rgba(0, 0, 0, 0.5);
}
.vf-pin.hq {
  width: 24px;
  height: 24px;
  background: #fff;
  border-color: var(--gold);
  box-shadow:
    0 0 0 3px rgba(228, 192, 86, 0.4),
    0 3px 8px rgba(0, 0, 0, 0.5);
}
.leaflet-control-attribution {
  font-size: 11px;
}

/* ---------- About page: vision & mission ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
  border: 1px solid rgba(228, 192, 86, 0.15);
}
.mv-cell {
  padding: 52px 44px;
}
.mv-cell + .mv-cell {
  border-left: 1px solid rgba(228, 192, 86, 0.15);
}
.mv-cell .mv-label {
  color: var(--gold);
  font-size: 12.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 16px;
}
.mv-cell p.mv-text {
  color: #fff;
  font-size: 22px;
  line-height: 1.6;
  font-weight: 400;
  margin: 0;
}

.pillars-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.pillar-full-card {
  border-top: 2px solid var(--gold);
  padding-top: 22px;
}
.pillar-full-card .num {
  font-size: 13px;
  color: var(--stone);
  font-weight: 400;
  letter-spacing: 1px;
  margin: 0;
}
.pillar-full-card h4 {
  font-size: 21px;
  margin: 10px 0;
  font-weight: 700;
}
.pillar-full-card p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  font-weight: 300;
}

/* ---------- Footer ---------- */
footer {
  background: var(--midnight);
  color: var(--light-text);
  padding: 64px 0 26px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.3fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.foot-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.foot-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: none;
}
.foot-brand strong {
  display: block;
  color: var(--gold);
  font-size: 15px;
  margin-bottom: 6px;
  letter-spacing: 1.5px;
  font-weight: 600;
}
.foot-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0;
  color: #8f95ab;
  font-weight: 300;
}
.foot-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.foot-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8f95ab;
  transition: color 0.2s, border-color 0.2s;
}
.foot-social a:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.foot-col h5 {
  color: #fff;
  font-size: 14px;
  margin: 0 0 16px;
  letter-spacing: 0.5px;
  font-weight: 700;
}
.foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.foot-col li {
  margin-bottom: 11px;
}
.foot-col a {
  font-size: 14px;
  color: #8f95ab;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}
.foot-col a[href^="tel"] {
  white-space: nowrap;
}
.foot-col a:hover {
  color: var(--gold);
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 12.5px;
  color: #8f95ab;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero {
    padding: 48px 0;
  }
  .hero-grid {
    text-align: center;
    justify-content: center;
  }
  .hero h1,
  .hero p.lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .pillars-row {
    grid-template-columns: 1fr;
  }
  .pillar-cell {
    border-left: none;
    border-top: 1px solid rgba(228, 192, 86, 0.12);
  }
  .pillar-cell:first-child {
    border-top: none;
  }
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .serve-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .prod-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tier-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .b2b-split {
    grid-template-columns: 1fr;
  }
  .mv-grid {
    grid-template-columns: 1fr;
  }
  .mv-cell + .mv-cell {
    border-left: none;
    border-top: 1px solid rgba(228, 192, 86, 0.15);
  }
  .pillars-full {
    grid-template-columns: 1fr;
  }
  .serve-full {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .map-layout {
    grid-template-columns: 1fr;
  }
  #map {
    height: 420px;
  }
  .dist-list {
    max-height: 320px;
    border-left: none;
    border-top: 1px solid rgba(26, 44, 85, 0.12);
  }
  nav.mainnav {
    position: fixed;
    inset: 69px 0 0 0;
    background: var(--navy);
    flex-direction: column;
    padding: 20px;
    display: none;
    gap: 2px;
    z-index: 80;
  }
  nav.mainnav.show {
    display: flex;
  }
  nav.mainnav a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px;
    font-size: 17px;
  }
  .hamb {
    display: flex;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 20px;
  }
  .headbar {
    padding: 12px 20px;
  }
  .brandmark span {
    display: none;
  }
  .tier-grid {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .b2b-info,
  .b2b-form {
    padding: 32px 24px;
  }
  .mv-cell {
    padding: 36px 26px;
  }
  .serve-full {
    grid-template-columns: 1fr;
  }
  .cat-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.prod-img {
  max-width: 80%;
  max-height: 120px;
  object-fit: contain;
}

/* ---------- Product photo carousel ---------- */
.carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.car-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.car-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.car-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  z-index: 1;
}
.car-dots button {
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.car-dots button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 3px rgba(4, 5, 5, 0.35);
  transition: width 0.3s ease, background 0.3s ease;
}
.car-dots button.active {
  width: 28px;
}
.car-dots button.active::after {
  width: 18px;
  background: var(--gold);
}

/* ---------- Category colours on product cards ---------- */
/* Each category sets its own card colours; the card rules below use them. */
.prod-card.cat-seafood { --c-bg: #1a2c55; --c-media: #24396b; --c-ink: #fff; --c-soft: #c3cbe0; --c-accent: var(--gold); }
.prod-card.cat-meat    { --c-bg: #6e1d22; --c-media: #82282e; --c-ink: #fff; --c-soft: #e6c4c4; --c-accent: var(--gold); }
.prod-card.cat-coffee  { --c-bg: #4a3123; --c-media: #5c3e2d; --c-ink: #fff; --c-soft: #dcc7b6; --c-accent: var(--gold); }
.prod-card.cat-grain   { --c-bg: #2f5233; --c-media: #3b6340; --c-ink: #fff; --c-soft: #c6dbc4; --c-accent: var(--gold); }

.prod-card[class*="cat-"] {
  background: var(--c-bg);
  border-color: transparent;
}
.prod-card[class*="cat-"] .prod-media {
  background: var(--c-media);
  color: var(--c-accent);
}
.prod-card[class*="cat-"] h4,
.prod-card[class*="cat-"] .price {
  color: var(--c-ink);
}
.prod-card[class*="cat-"] .pcat,
.prod-card[class*="cat-"] .psize,
.prod-card[class*="cat-"] .price span {
  color: var(--c-soft);
}
.prod-card[class*="cat-"] .add-btn {
  background: var(--c-accent);
  color: var(--c-bg);
}
.prod-card[class*="cat-"] .add-btn:hover {
  background: var(--c-ink);
  color: var(--c-bg);
}

/* ---------- Contact page ---------- */
.contact-inline {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-list li {
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid rgba(228, 192, 86, 0.15);
}
.contact-list .clabel {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}
.contact-list a:hover {
  color: var(--gold);
}
.contact-social {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
/* Hidden spam trap on the contact form */
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}
.contact-map {
  margin-top: 28px;
  border: 1px solid rgba(26, 44, 85, 0.1);
  background: #fff;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}
@media (max-width: 640px) {
  .contact-map iframe {
    height: 280px;
  }
}

/* ---------- Language button ---------- */
.lang-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(228, 192, 86, 0.45);
  background: none;
  color: var(--gold);
  font-size: 14px;
  font-weight: 400;
  font-family: var(--font-body);
}
.lang-btn:hover {
  background: rgba(228, 192, 86, 0.12);
}
.lang-btn[lang="en"] {
  font-family: var(--font-body);
}

/* ---------- Arabic (right-to-left) ----------
   The layout flips by itself; these rules fix the parts that were
   written for left-to-right, and switch to an Arabic font. */
[dir="rtl"] body,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea {
  font-family: var(--font-body);
}
/* Letter spacing breaks the joined Arabic letters */
[dir="rtl"] * {
  letter-spacing: 0 !important;
}
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
  line-height: 1.4;
}
/* The logo words stay in English */
[dir="rtl"] .brandmark {
  direction: ltr;
  text-align: left;
}
[dir="rtl"] .brandmark strong,
[dir="rtl"] .brandmark span,
[dir="rtl"] .foot-brand strong {
  font-family: var(--font-body);
}
[dir="rtl"] .cart-count {
  right: auto;
  left: -6px;
}
[dir="rtl"] .pillar-cell {
  border-left: none;
  border-right: 1px solid rgba(228, 192, 86, 0.12);
}
[dir="rtl"] .pillar-cell:first-child {
  border-right: none;
}
[dir="rtl"] .prod-media .tag {
  left: auto;
  right: 10px;
}
[dir="rtl"] .cart-drawer {
  right: auto;
  left: 0;
  transform: translateX(-105%);
}
[dir="rtl"] .cart-drawer.show {
  transform: translateX(0);
}
[dir="rtl"] .dist-list {
  border-left: none;
  border-right: 1px solid rgba(26, 44, 85, 0.12);
}
[dir="rtl"] .dist-item {
  text-align: right;
}
[dir="rtl"] .mv-cell + .mv-cell {
  border-left: none;
  border-right: 1px solid rgba(228, 192, 86, 0.15);
}
/* Photo slider and map keep their left-to-right mechanics */
[dir="rtl"] .car-track,
[dir="rtl"] #map {
  direction: ltr;
}
[dir="rtl"] .leaflet-popup-content {
  direction: rtl;
  text-align: right;
}
/* Phone numbers and emails read left to right */
[dir="rtl"] a[href^="tel:"],
[dir="rtl"] a[href^="mailto:"] {
  direction: ltr;
  unicode-bidi: isolate;
}
[dir="rtl"] input[type="tel"],
[dir="rtl"] input[type="email"] {
  direction: ltr;
  text-align: right;
}
@media (max-width: 980px) {
  [dir="rtl"] .pillar-cell,
  [dir="rtl"] .mv-cell + .mv-cell,
  [dir="rtl"] .dist-list {
    border-right: none;
  }
}

/* ---------- B2B form title ---------- */
.form-title {
  font-size: 24px;
  margin-bottom: 24px;
}

/* ==========================================================
   Animations
   ========================================================== */

/* ---------- Home hero entrance ---------- */
.hero-video {
  animation: videoIn 1.6s ease backwards;
}
.hero-grid > div > * {
  animation: heroUp 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
.hero .eyebrow { animation-delay: 0.15s; }
.hero h1 { animation-delay: 0.3s; }
.hero p.lead { animation-delay: 0.45s; }
.hero .hero-ctas { animation-delay: 0.6s; }

/* Gold shimmer on the highlighted words in the headline */
.hero h1 em {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-soft) 45%, var(--gold) 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}

/* Soft breathing glow on the CTA band */
.cta-band .glow {
  animation: glowBreathe 7s ease-in-out infinite;
}

@keyframes videoIn {
  from { opacity: 0; transform: scale(1.06); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes shimmer {
  to { background-position: -200% center; }
}
@keyframes glowBreathe {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}

/* ---------- Scroll reveal (home page) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0ms);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Category card hover ---------- */
.cat-card {
  position: relative;
  transition:
    background 0.2s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(10, 13, 26, 0.08);
  z-index: 1;
}
.cat-card:hover .cicn {
  animation: iconPop 0.5s ease;
}
@keyframes iconPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.18) rotate(-6deg); }
  100% { transform: scale(1); }
}

/* ---------- Store cards fade in ---------- */
.prod-card {
  animation: cardIn 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  animation-delay: calc(var(--i, 0) * 70ms);
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}


/* ==========================================================
   Fun details
   ========================================================== */

/* ---------- "Added" tick on the + button ---------- */
.add-btn {
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.prod-card .add-btn.added,
.add-btn.added {
  background: #3f8f5a;
  color: #fff;
  transform: scale(1.12);
}
.cart-count.bump {
  animation: countBump 0.45s ease;
}
@keyframes countBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.45); }
  100% { transform: scale(1); }
}


/* ---------- Map: pins drop in one by one ---------- */
.vf-pin {
  animation: pinDrop 0.55s cubic-bezier(0.3, 1.5, 0.5, 1) backwards;
  animation-delay: calc(var(--i, 0) * 0.15s + 0.2s);
}
@keyframes pinDrop {
  from { opacity: 0; transform: translateY(-28px); }
  to { opacity: 1; transform: none; }
}
/* The headquarters pin pulses gently */
.vf-pin.hq {
  position: relative;
}
.vf-pin.hq::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: hqPulse 2.2s ease-out 1s infinite;
}
@keyframes hqPulse {
  from { transform: scale(1); opacity: 0.9; }
  to { transform: scale(2.4); opacity: 0; }
}

/* Pins and routes stay paused (hidden) until the map is scrolled into view */
.map-layout:not(.in-view) .vf-pin,
.map-layout:not(.in-view) .vf-pin::after,
.map-layout:not(.in-view) .vf-route {
  animation-play-state: paused;
}

/* ---------- Map: dashed shipping routes ---------- */
.vf-route {
  animation:
    routeIn 0.8s ease backwards,
    routeFlow 1.6s linear infinite;
}
@keyframes routeIn {
  from { opacity: 0; }
}
@keyframes routeFlow {
  to { stroke-dashoffset: -28; }
}

/* ---------- Language switch: fade out before the page changes ---------- */
html.lang-leaving body {
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* ---------- Branded loading (first page of a visit) ---------- */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--midnight);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.site-loader img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  animation: crownIn 0.9s ease backwards, crownGlow 1.6s ease-in-out 0.9s infinite;
}
.site-loader span {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  background-size: 200% 100%;
  animation: loadLine 1.2s linear infinite;
}
.site-loader.done {
  opacity: 0;
  visibility: hidden;
}
@keyframes crownIn {
  from { opacity: 0; transform: scale(0.85); }
}
@keyframes crownGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(228, 192, 86, 0)); }
  50% { filter: drop-shadow(0 0 14px rgba(228, 192, 86, 0.55)); }
}
@keyframes loadLine {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .site-loader { display: none; }
}

/* ---------- 404 page ---------- */
.nf-body {
  background: var(--midnight);
}
.nf {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  color: #fff;
}
.nf-logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 28px;
}
.nf-can {
  width: 170px;
  height: auto;
  margin-bottom: 18px;
}
.nf-lid {
  transform-origin: 104px 31px;
  animation: lidWobble 3s ease-in-out infinite;
}
@keyframes lidWobble {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-8deg); }
}
.nf h1 {
  font-size: clamp(28px, 4vw, 44px);
  color: #fff;
}
.nf-text {
  color: var(--light-text);
  max-width: 440px;
  margin: 14px auto 0;
}
.nf-ctas {
  justify-content: center;
}

/* ---------- Cart drawer: quotation link under Checkout ---------- */
.cart-quote {
  display: block;
  width: 100%;
  margin-top: 12px;
  background: none;
  border: none;
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cart-quote:hover {
  color: var(--navy);
}
.btn-ghost {
  border-color: rgba(26, 44, 85, 0.35);
  color: var(--navy);
  background: none;
}
.btn-ghost:hover {
  background: rgba(26, 44, 85, 0.06);
}

/* ---------- Checkout ---------- */
.checkout-block {
  padding-top: 50px;
}
.co-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}
.co-layout[hidden],
.co-empty[hidden] {
  display: none;
}
.co-form {
  background: #fff;
  border: 1px solid rgba(26, 44, 85, 0.1);
  padding: 40px;
}
.co-step {
  border: none;
  margin: 0 0 14px;
  padding: 0 0 22px;
  border-bottom: 1px solid #eee;
  min-width: 0;
}
.co-step legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 700;
  padding: 0;
  margin-bottom: 20px;
}
.co-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

/* Payment method cards */
.pay-options {
  display: grid;
  gap: 10px;
}
.pay-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #d8d9e0;
  background: #fbfbfa;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.pay-opt:hover {
  border-color: rgba(26, 44, 85, 0.4);
}
.pay-opt:has(input:checked) {
  border-color: var(--gold);
  background: #fffaf0;
  box-shadow: inset 3px 0 0 var(--gold);
}
[dir="rtl"] .pay-opt:has(input:checked) {
  box-shadow: inset -3px 0 0 var(--gold);
}
.pay-opt:has(input:focus-visible) {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.pay-opt input {
  accent-color: var(--navy);
  width: 18px;
  height: 18px;
  margin: 0;
  flex: none;
}
.pay-opt.disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.pay-icn {
  color: var(--navy);
  display: flex;
}
.pay-txt {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pay-txt strong {
  font-size: 15px;
  font-weight: 700;
}
.pay-txt small {
  font-size: 13px;
  color: var(--muted);
}
.pay-soon {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--sand);
  padding: 3px 9px;
  color: var(--navy);
  white-space: nowrap;
}
.pay-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}
.pay-note:empty {
  display: none;
}

.co-terms {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--muted);
  margin: 6px 0 20px;
  cursor: pointer;
}
.co-terms input {
  accent-color: var(--navy);
  margin-top: 4px;
  flex: none;
}
.co-submit {
  font-size: 16px;
}
.co-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
.co-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--stone);
  margin: 14px 0 0;
}

/* Order summary */
.co-summary {
  background: #fff;
  border: 1px solid rgba(26, 44, 85, 0.1);
  border-top: 3px solid var(--gold);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.co-summary h3,
.oc-order h3,
.oc-next h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 14px;
}
.co-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.co-media {
  position: relative;
  width: 54px;
  height: 54px;
  background: var(--sand);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.co-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.co-media svg {
  width: 26px;
  height: 26px;
}
.co-qty {
  position: absolute;
  top: -7px;
  inset-inline-end: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.co-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.co-info strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}
.co-info span {
  font-size: 12.5px;
  color: var(--stone);
}
.co-x {
  font-size: 13px;
  color: var(--stone);
}
.co-price {
  font-size: 14px;
  white-space: nowrap;
}
.co-edit {
  display: inline-block;
  margin: 12px 0 4px;
  font-size: 13px;
  color: var(--gold-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.co-totals {
  margin: 12px 0 0;
}
.co-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 14px;
}
.co-totals dt {
  color: var(--muted);
}
.co-totals dd {
  margin: 0;
  text-align: end;
}
.co-totals .co-vat {
  font-size: 12.5px;
}
.co-totals .co-grand {
  border-top: 1px solid #e3e3e3;
  margin-top: 8px;
  padding-top: 14px;
  font-size: 18px;
}
.co-grand dt {
  color: var(--navy);
}
.co-grand dd {
  font-weight: 700;
}

.co-empty {
  text-align: center;
  background: #fff;
  border: 1px solid rgba(26, 44, 85, 0.1);
  padding: 60px 24px;
}
.co-empty h3 {
  font-size: 22px;
  font-weight: 700;
}
.co-empty p {
  color: var(--muted);
  margin: 8px 0 24px;
}

/* ---------- Order complete ---------- */
.oc-block {
  padding: 60px 0 80px;
}
.oc-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(26, 44, 85, 0.1);
  border-top: 3px solid var(--gold);
  padding: 48px 44px;
  text-align: center;
}
.oc-card[hidden] {
  display: none;
}
.oc-icon {
  display: inline-flex;
  margin-bottom: 14px;
}
.oc-icon.ok {
  color: var(--olive);
}
.oc-icon.fail {
  color: #b23b3b;
}
.oc-card h1 {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 700;
}
.oc-lead {
  color: var(--muted);
  margin: 12px auto 0;
  max-width: 480px;
}
.oc-phone {
  color: var(--navy);
  unicode-bidi: isolate;
}
.oc-ref {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 14px;
  background: var(--ivory);
  font-size: 13.5px;
  letter-spacing: 0.5px;
}
.oc-ref:empty {
  display: none;
}
.oc-next,
.oc-order {
  text-align: start;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid #eee;
}
.oc-next:empty,
.oc-order:empty {
  display: none;
}
.oc-next p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 0 8px;
}
.oc-amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy) !important;
}
.oc-bank {
  margin: 16px 0 0;
  background: var(--ivory);
  padding: 16px 20px;
}
.oc-bank > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  font-size: 14px;
}
.oc-bank dt {
  color: var(--muted);
}
.oc-bank dd {
  margin: 0;
  font-weight: 700;
  word-break: break-all;
}
.oc-deliver {
  font-size: 13.5px;
  color: var(--muted);
  margin: 16px 0 0;
}
.oc-deliver span {
  color: var(--navy);
}
.oc-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

@media (max-width: 980px) {
  .co-layout {
    grid-template-columns: 1fr;
  }
  /* Summary first on small screens so people see what they are paying for */
  .co-summary {
    position: static;
    order: -1;
  }
}
@media (max-width: 640px) {
  .co-form {
    padding: 24px 18px;
  }
  .co-summary {
    padding: 22px 18px;
  }
  .pay-icn {
    display: none;
  }
  .oc-card {
    padding: 36px 20px;
  }
  .oc-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
