:root {
  /* Official Yako logo colour codes (Full Set) — 3 Aug 2026 */
  --yellow: #F4D000;
  --navy: #003B73;
  --sky-blue: #5BB7FF;
  --blue: #003B73;
  --aqua: #5BB7FF;
  --green: #2e9e5b;
  --mint: #e8f4fb;
  --sky: #e8f4fb;
  --grey: #f4f6f8;
  --text: #1f2937;
  --muted: #5b6b7c;
  --white: #ffffff;
  --accent: #F4D000;
  --whatsapp: #25d366;
  --shadow: 0 12px 40px rgba(0, 59, 115, 0.08);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", Inter, system-ui, -apple-system, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.brand-text h1 {
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.15;
}
.brand-text p {
  font-size: .72rem;
  color: var(--muted);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: .84rem;
  font-weight: 600;
  padding: .25rem 0;
}
.nav a:hover, .nav a.active { color: var(--blue); }
.header-cta { display: flex; gap: .5rem; align-items: center; }
.menu-toggle {
  display: none;
  border: 1px solid #d1d5db;
  background: white;
  border-radius: 8px;
  padding: .5rem .7rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

/* B-BBEE strip */
.bbee-banner {
  background: linear-gradient(90deg, #065f46, #047857);
  color: white;
  font-size: .82rem;
  font-weight: 600;
}
.bbee-banner .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: .7rem 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .72rem 1.15rem;
  border-radius: 9px;
  font-size: .88rem;
  font-weight: 700;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: .96; }
.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { box-shadow: 0 6px 18px rgba(0, 59, 115, 0.28); }
.btn-secondary { background: var(--sky-blue); color: var(--navy); }
.btn-outline {
  background: white;
  color: var(--navy);
  border: 1px solid #cbd5e1;
}
.btn-outline:hover { border-color: var(--yellow); }
.btn-whatsapp { background: var(--whatsapp); color: white; }
.btn-accent { background: var(--yellow); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Hero */
.hero {
  background: linear-gradient(120deg, var(--sky) 0%, white 55%, var(--mint) 100%);
  padding: 3.5rem 0 3rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: center;
}
.tag {
  display: inline-block;
  background: #ecfdf5;
  color: #047857;
  font-size: .72rem;
  font-weight: 700;
  padding: .28rem .7rem;
  border-radius: 999px;
  margin-bottom: .9rem;
}
.hero h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.55rem);
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 1rem;
}
.hero .lead {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 1.4rem;
  max-width: 36rem;
}
.hero-visual {
  background: linear-gradient(160deg, #d9f1ff, #eefaf4);
  border: 1px solid #cfe7f5;
  border-radius: 20px;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  box-shadow: var(--shadow);
}
.hero-visual--photo {
  display: block;
  padding: .75rem;
  background: white;
  border: 1px solid #cfe7f5;
  overflow: hidden;
}
.hero-visual--photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 14px;
  background: #f8fafc;
}
.product-tile {
  background: white;
  border-radius: 14px;
  border: 1px solid #e5eef5;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  align-items: center;
  text-align: center;
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
}
.bottle {
  width: 52px;
  height: 86px;
  border-radius: 10px 10px 6px 6px;
  position: relative;
}
.bottle::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 12px;
  border-radius: 3px;
  background: inherit;
  filter: brightness(.85);
}
.b1 { background: linear-gradient(180deg, #7dd3fc, #0284c7); }
.b2 { background: linear-gradient(180deg, #86efac, #16a34a); }
.b3 { background: linear-gradient(180deg, #fde68a, #f59e0b); }
.b4 { background: linear-gradient(180deg, #c4b5fd, #7c3aed); }

/* Home product photo gallery */
.product-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.product-photo-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 59, 115, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-photo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 59, 115, 0.12);
}
.product-photo-card__media {
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  display: grid;
  place-items: center;
  padding: .65rem;
  border-bottom: 1px solid #eef2f6;
}
.product-photo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-photo-card__body {
  padding: .9rem 1rem 1.05rem;
}
.product-photo-card__body h4 {
  color: var(--navy);
  font-size: .98rem;
  margin-bottom: .25rem;
}
.product-photo-card__body p {
  color: var(--muted);
  font-size: .84rem;
  margin: 0;
}
@media (max-width: 960px) {
  .product-photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .product-photo-grid { grid-template-columns: 1fr; }
}

/* Sections */
.section { padding: 3.25rem 0; }
.section.alt { background: var(--grey); }
.section.mint { background: var(--mint); }
.section.sky { background: linear-gradient(120deg, #ecfdf5, #e8f4fb); }
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 1.8rem;
}
.section-head h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  color: var(--navy);
  margin-bottom: .55rem;
}
.section-head p { color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

.card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}
.card h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: .45rem;
}
.card p { font-size: .9rem; color: var(--muted); }
.icon-card { text-align: center; padding: 1.25rem 1rem; }
.icon {
  width: 46px;
  height: 46px;
  margin: 0 auto .75rem;
  border-radius: 12px;
  background: var(--sky);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
}

.pack-row {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: .9rem;
}
.pack {
  background: var(--navy);
  color: white;
  font-size: .8rem;
  font-weight: 700;
  padding: .55rem .85rem;
  border-radius: 8px;
}

.profile-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.role {
  font-size: .82rem;
  color: var(--blue);
  font-weight: 700;
  margin: .35rem 0;
}

.cta-band {
  background: linear-gradient(90deg, var(--navy), #0057a8 55%, var(--sky-blue));
  color: white;
  padding: 2.6rem 0;
  text-align: center;
}
.cta-band h3 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); margin-bottom: .55rem; }
.cta-band p { opacity: .92; margin-bottom: 1.1rem; }

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #dbe3ea;
  background: #f8fafc;
  border-radius: 8px;
  padding: .7rem .8rem;
  font: inherit;
  color: var(--text);
}
.field textarea { min-height: 110px; resize: vertical; }
.form-note {
  margin-top: .85rem;
  font-size: .82rem;
  color: var(--muted);
}
.form-success {
  display: none;
  margin-top: .9rem;
  padding: .85rem 1rem;
  border-radius: 10px;
  background: #ecfdf5;
  color: #047857;
  font-weight: 600;
  font-size: .9rem;
}
.form-success.show { display: block; }

/* Page hero compact */
.page-hero {
  background: linear-gradient(120deg, var(--sky), white 60%);
  padding: 2.6rem 0 2rem;
  text-align: center;
}
.page-hero h2 {
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: .6rem;
}
.page-hero p {
  color: var(--muted);
  max-width: 42rem;
  margin: 0 auto;
}

/* —— Lekker product catalogue —— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.catalogue-section { padding-top: 1.5rem; }
.catalogue-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.shipping-banner {
  display: flex;
  align-items: center;
  gap: .65rem;
  background: linear-gradient(90deg, #ecfdf5, #e8f4fb);
  border: 1px solid #b6e4d0;
  color: #065f46;
  font-weight: 700;
  font-size: .92rem;
  padding: .85rem 1.1rem;
  border-radius: 12px;
}
.shipping-banner__icon { font-size: 1.15rem; }
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.cat-tab {
  appearance: none;
  border: 1px solid #d1d5db;
  background: white;
  color: var(--navy);
  font: inherit;
  font-size: .84rem;
  font-weight: 700;
  padding: .5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.cat-tab:hover { border-color: var(--blue); color: var(--blue); }
.cat-tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.catalogue-meta,
.catalogue-status {
  font-size: .88rem;
  color: var(--muted);
  font-weight: 600;
}
.catalogue-empty {
  text-align: center;
  color: var(--muted);
  padding: 2.5rem 1rem;
  background: var(--grey);
  border-radius: var(--radius);
  border: 1px dashed #d1d5db;
}
.catalogue-error {
  text-align: center;
  padding: 2.5rem 1.25rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  color: #991b1b;
}
.catalogue-error p {
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Responsive product grid: 4 / 2 / 1 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.product-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 61, 92, 0.1);
}
.product-card--oos { opacity: .92; }
.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--grey);
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e5e7eb, #d1d5db);
  color: #6b7280;
  font-size: 2.4rem;
  font-weight: 800;
}
.product-badge {
  position: absolute;
  top: .65rem;
  left: .65rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: .28rem .55rem;
  border-radius: 6px;
  z-index: 1;
}
.product-badge--oos {
  background: #991b1b;
  color: white;
}
.product-badge--type {
  left: auto;
  right: .65rem;
  background: var(--blue);
  color: white;
}
.product-card__body {
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 1;
}
.product-card__name {
  font-size: .98rem;
  color: var(--navy);
  line-height: 1.3;
}
.product-card__subtitle {
  font-size: .82rem;
  color: var(--muted);
}
.product-card__price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green);
  margin-top: .15rem;
}
.product-card__cta {
  margin-top: auto;
  width: 100%;
  padding: .55rem .8rem;
  font-size: .82rem;
}

/* Skeleton loading */
.product-card--skeleton { pointer-events: none; }
.skeleton-block,
.skeleton-line {
  background: linear-gradient(90deg, #eef1f4 25%, #f7f8fa 50%, #eef1f4 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
  border-radius: 8px;
}
.skeleton-block { width: 100%; height: 100%; border-radius: 0; }
.skeleton-line {
  height: 12px;
  width: 90%;
  margin: .35rem 0;
}
.skeleton-line--lg { height: 16px; width: 70%; }
.skeleton-line--sm { width: 40%; height: 14px; }
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (max-width: 960px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.88);
  padding: 2.2rem 0 1.4rem;
  font-size: .88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.4rem;
}
.site-footer h5 {
  color: white;
  margin-bottom: .7rem;
  font-size: .92rem;
}
.site-footer a {
  color: rgba(255,255,255,.88);
  text-decoration: none;
}
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.site-footer p, .site-footer li { opacity: .88; line-height: 1.75; }
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .85rem;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  color: white;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.social-links a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy);
  text-decoration: none;
}
.social-card .social-links a {
  background: var(--sky);
  border-color: #cfe7f5;
  color: var(--navy);
}
.social-card .social-links a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy);
}
.footer-bottom {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .78rem;
  opacity: .8;
}
.float-whatsapp {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, .4);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .grid-4, .grid-3 { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav.open { display: flex; }
  .header-cta .btn-secondary { display: none; }
  .brand-text h1 { font-size: .92rem; }
}

@media (max-width: 560px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .header-cta .btn-primary span { display: none; }
}
