/* ============================================================
   Locatel — Gira y Gana (Venezuela)
   Same layout/interaction engine as the Cargills build, re-skinned
   to the Locatel palette taken from locatel.com.ve:
     green   #00A650  (header / primary)
     purple  #4F1271  (topbar, buttons)
     magenta #E6007E  (badges, highlight)
     amber   #FFB100  (search button, accents)
   ============================================================ */
:root {
  --cgl-red: #00a650;          /* Locatel green (was brand red) */
  --cgl-red-dark: #007a3b;
  --cgl-red-bright: #00b85a;
  --cgl-yellow: #e6007e;       /* magenta accent (was yellow) */
  --cgl-purple: #4f1271;
  --cgl-purple-dark: #35094f;
  --cgl-amber: #ffb100;
  --cgl-ink: #3f3f40;
  --cgl-grey: #666;
  --cgl-line: #e3e4e6;
  --cgl-panel: #f7f7f7;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}
.cgl-shell {
  min-height: 100vh;
  background: #fff;
  color: var(--cgl-ink);
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, "Noto Sans Sinhala", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
img {
  max-width: 100%;
}

/* ---------- header ---------- */
.cgl-header {
  background: var(--cgl-red);
  border-bottom: 3px solid var(--cgl-yellow);
  position: relative;
  z-index: 3;
}
/* Locatel header stack */
.ve-topbar {
  background: var(--cgl-purple);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  padding: 7px 12px;
  letter-spacing: 0.1px;
}
.ve-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
}
.ve-burger {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
}
.ve-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border-radius: 12px;
  padding: 5px 12px 5px 9px;
  text-decoration: none;
  min-width: 0;
}
.ve-brand__mark {
  height: 30px;
  width: auto;
  display: block;
}
.ve-brand__word {
  font-family: "Inter", sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 23px;
  line-height: 1;
  letter-spacing: -0.6px;
  color: #0b7a45;
  white-space: nowrap;
}
.ve-brand__leaf {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}
.ve-brand__txt {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.ve-brand__word {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 21px;
  letter-spacing: -0.8px;
  color: #00a650;
}
.ve-brand__sub {
  font-family: "Inter", sans-serif;
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #6d6d6d;
  margin-top: 1px;
}
.ve-icons {
  margin-left: auto;
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}
.ve-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: #00a650;
}
.ve-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
}
.ve-delivery {
  background: #fff;
  border-bottom: 1px solid var(--cgl-line);
  padding: 8px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--cgl-ink);
  display: flex;
  align-items: center;
  gap: 6px;
}
.ve-delivery svg {
  width: 14px;
  height: 14px;
  stroke: #00a650;
  fill: none;
  stroke-width: 2;
}
.ve-search {
  background: #fff;
  padding: 8px 12px 10px;
  display: flex;
  gap: 8px;
}
.ve-search input {
  flex: 1 1 auto;
  height: 38px;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  padding: 0 16px;
  font-size: 13px;
  font-family: inherit;
  color: var(--cgl-ink);
  background: #fff;
  min-width: 0;
}
.ve-search input::placeholder {
  color: #9a9a9a;
}
.ve-search button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--cgl-amber);
  color: #4a3200;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 auto;
}
.ve-search button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
}
.ve-nav {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  background: #fff;
  border-bottom: 1px solid var(--cgl-line);
  padding: 0 12px;
  scrollbar-width: none;
}
.ve-nav::-webkit-scrollbar {
  display: none;
}
.ve-nav span {
  font-size: 11px;
  font-weight: 800;
  color: var(--cgl-ink);
  padding: 9px 0;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-bottom: 2px solid transparent;
}
.ve-nav span:nth-child(1) { border-bottom-color: #00a650; }
.ve-nav span:nth-child(2) { border-bottom-color: #e6007e; }
.ve-nav span:nth-child(3) { border-bottom-color: #4f1271; }
.ve-nav span:nth-child(4) { border-bottom-color: #ffb100; }
.ve-cats {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  background: #fff;
  padding: 14px 12px 6px;
  scrollbar-width: none;
}
.ve-cats::-webkit-scrollbar {
  display: none;
}
.ve-cat {
  text-align: center;
  min-width: 76px;
  flex: 0 0 auto;
}
.ve-cat__ico {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #00a650;
  display: grid;
  place-items: center;
  margin: 0 auto 6px;
  color: #00a650;
}
.ve-cat__ico svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}
.ve-cat__label {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--cgl-ink);
  line-height: 1.25;
}
.cgl-header__bar {
  display: none;
}
.cgl-header__row {
  max-width: 960px;
  margin: 0 auto;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cgl-header__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}
.cgl-logo {
  height: 26px;
  width: auto;
  max-width: 100%;
  display: block;
  flex: 0 1 auto;
}
.cgl-header__tools {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}
.cgl-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
}
.cgl-chip b {
  color: var(--cgl-yellow);
  font-weight: 900;
}
.cgl-lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  overflow: hidden;
  background: transparent;
}
.cgl-lang button {
  border: 0;
  background: transparent;
  padding: 0 11px;
  height: 26px;
  font-size: 11.5px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.cgl-lang button[data-lang-btn="si"] {
  font-size: 13px;
  padding: 0 12px;
  line-height: 1.1;
}
.cgl-lang button.is-on {
  background: var(--cgl-yellow);
  color: #4a3200;
}

/* delivery strip — Cargills Online style */
.cgl-strip {
  background: var(--cgl-purple);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  padding: 6px 10px;
  letter-spacing: 0.2px;
  line-height: 1.45;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 14px;
  row-gap: 1px;
}

/* ---------- main ---------- */
.cgl-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 12px 28px;
}
.cgl-hero {
  background: var(--cgl-panel);
  border: 1px solid var(--cgl-line);
  border-left: 5px solid var(--cgl-red);
  border-radius: 8px;
  padding: 16px 14px;
}
.cgl-hero .cgl-eyebrow {
  display: inline-block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--cgl-red);
}
.cgl-hero h1 {
  margin: 0 0 4px;
  font-size: 21px;
  line-height: 1.3;
  color: var(--cgl-red);
  letter-spacing: -0.2px;
}
.cgl-hero .cgl-sub {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #7a1010;
  font-weight: 600;
}
.cgl-hero p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #444;
}
.cgl-hero strong {
  color: var(--cgl-ink);
}
.cgl-hero ul {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: #555;
}
.cgl-hero li + li {
  margin-top: 4px;
}

.cgl-panel {
  margin-top: 12px;
  background: var(--cgl-panel);
  border: 1px solid var(--cgl-line);
  border-radius: 8px;
  padding: 16px 14px;
}
.cgl-panel h2 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--cgl-ink);
}
.cgl-field {
  margin-top: 12px;
}
.cgl-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.cgl-phone {
  display: flex;
  gap: 8px;
}
.cgl-phone .cgl-cc {
  flex: 0 0 72px;
  text-align: center;
  background: #fafafa;
}
.cgl-phone input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 16px;
  font-family: inherit;
  color: #222;
}
.cgl-phone input:focus {
  outline: none;
  border-color: var(--cgl-red);
  box-shadow: 0 0 0 2px rgba(217, 13, 14, 0.15);
}
.cgl-hint {
  margin: 7px 0 0;
  font-size: 11.5px;
  color: #777;
}
.cgl-btn {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: 14px;
  border: 0;
  border-radius: 6px;
  background: var(--cgl-purple);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
}
.cgl-btn:hover {
  background: var(--cgl-red-bright);
}
.cgl-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.cgl-btn--yellow {
  background: var(--cgl-yellow);
  color: #3d2b00;
}
.cgl-btn--yellow:hover {
  background: #ffd300;
}
.cgl-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 11.5px;
  color: #777;
}
.cgl-pay svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #999;
  stroke-width: 1.6;
}

/* ---------- wheel ---------- */
.cgl-wheel-wrap {
  display: none;
  margin-top: 12px;
  text-align: center;
  padding: 22px 14px 16px;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 42%, #6b1c99 0%, #2c0740 74%);
  box-shadow: 0 10px 28px rgba(53, 9, 79, 0.28);
}
.cgl-wheel-wrap.is-on {
  display: block;
}
.cgl-wheel-wrap.is-ready .cgl-wheel {
  cursor: pointer;
}
.cgl-wheel-box {
  position: relative;
  width: min(100%, 340px);
  margin: 0 auto;
  padding-top: 14px;
}
.cgl-wheel-pointer {
  position: absolute;
  left: 50%;
  top: 2px;
  z-index: 2;
  width: 28px;
  height: 36px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #ffe45c, #f2b800);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.35));
}
.cgl-wheel {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
  will-change: transform;
}
.cgl-wheel-wrap .cgl-foot {
  color: #ffe9a8;
  font-size: 13px;
  font-weight: 700;
}
.cgl-foot {
  margin-top: 16px;
  font-size: 11px;
  color: #888;
  text-align: center;
  line-height: 1.5;
}

/* ---------- wait / toast / modal ---------- */
#cgl-wait {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 5500;
  background: rgba(255, 255, 255, 0.94);
  align-items: center;
  justify-content: center;
}
#cgl-wait.is-open {
  display: flex;
}
.cgl-wait-card {
  text-align: center;
}
.cgl-wait-spin {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border: 3px solid #f7cfcf;
  border-top-color: var(--cgl-red);
  border-radius: 50%;
  animation: cglspin 0.75s linear infinite;
}
.cgl-wait-card p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--cgl-red-dark);
}
@keyframes cglspin {
  to {
    transform: rotate(360deg);
  }
}
#toast {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.86);
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
  z-index: 5000;
  border-radius: 8px;
  max-width: min(88vw, 340px);
  text-align: center;
}
#cgl-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 6000;
  background: rgba(0, 0, 0, 0.58);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
#cgl-modal.is-open {
  display: flex;
}
.cgl-modal-card {
  width: min(100%, 400px);
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 0 18px 18px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}
.cgl-modal-card .cgl-modal-top {
  margin: 0 -18px 14px;
  padding: 16px 18px 14px;
  background: var(--cgl-red);
  border-radius: 16px 16px 0 0;
  color: #fff;
}
.cgl-modal-top h3 {
  margin: 0 0 2px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #fff;
}
.cgl-modal-top .cgl-modal-pts-label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #ffe9a8;
  line-height: 1.45;
}
.cgl-modal-top h3 span {
  color: var(--cgl-yellow);
}
.cgl-modal-top .cgl-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--cgl-yellow);
}
.cgl-modal-top .cgl-tick svg {
  width: 24px;
  height: 24px;
  stroke: var(--cgl-red-dark);
  stroke-width: 3;
  fill: none;
}
.cgl-modal-card .cgl-pts {
  font-size: 32px;
  font-weight: 900;
  color: var(--cgl-red);
  margin: 8px 0;
  letter-spacing: -0.5px;
}
.cgl-modal-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}
.cgl-modal-card .cgl-btn {
  margin-top: 16px;
}
.cgl-modal-activate {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: #4a2020;
  line-height: 1.5;
}
.cgl-modal-note {
  margin-top: 10px;
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

/* ---------- deals rail ---------- */
.cgl-deals {
  margin-top: 22px;
  padding-top: 4px;
}
.cgl-deals__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 4px;
  margin-bottom: 10px;
}
.cgl-deals__head h2 {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.3;
  letter-spacing: -0.2px;
  min-width: 0;
  flex: 1 1 180px;
}
.cgl-deals__head a {
  font-size: 12px;
  font-weight: 700;
  color: var(--cgl-red);
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
}
.cgl-deals__rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  -webkit-overflow-scrolling: touch;
}
.cgl-deals__rail::-webkit-scrollbar {
  height: 5px;
}
.cgl-deals__rail::-webkit-scrollbar-thumb {
  background: #e0dcd6;
  border-radius: 4px;
}
.cgl-card {
  /* two full cards + a 26px peek, so the rail always parks on a card edge */
  flex: 0 0 calc((100% - 20px - 26px) / 2);
  min-width: 128px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #fff;
  border: 1px solid var(--cgl-line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cgl-card__img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.cgl-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.cgl-card__off {
  position: absolute;
  right: 8px;
  left: auto;
  top: 8px;
  background: var(--cgl-yellow);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  border-radius: 999px;
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 6px rgba(230, 0, 126, 0.28);
}
.cgl-card__body {
  padding: 7px 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.cgl-card__cat {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #9a9a9a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cgl-card__name {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.32;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 33px;
}
.cgl-card__pack {
  font-size: 11px;
  color: #888;
}
.cgl-card__price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-top: 3px;
}
.cgl-card__price b {
  font-size: 14px;
  font-weight: 900;
  color: var(--cgl-red);
  letter-spacing: -0.2px;
}
.cgl-card__price s {
  font-size: 11px;
  color: #aaa;
}
.cgl-card__add {
  margin-top: 7px;
  height: 30px;
  border: 1px solid var(--cgl-purple);
  border-radius: 6px;
  background: var(--cgl-purple);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
}
.cgl-card__add:active {
  background: var(--cgl-red);
  color: #fff;
}
.cgl-deals__note {
  margin: 4px 0 0;
  font-size: 11px;
  color: #999;
  line-height: 1.5;
}

/* ---------- footer ---------- */
.cgl-sitefoot {
  margin-top: 26px;
  background: #f3f3f3;
  border-radius: 28px 28px 0 0;
  padding: 46px 24px 50px;
  text-align: center;
}
.cgl-sitefoot > img {
  /* sizing is controlled by .cgl-logo--square; keep only a safety cap */
  max-width: 100%;
}
.cgl-sitefoot__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}
.cgl-sitefoot__nav a {
  color: var(--cgl-ink);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 3px solid var(--cgl-yellow);
  padding-bottom: 3px;
  line-height: 1.35;
}
.cgl-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-top: 34px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.cgl-ig svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--cgl-red);
  stroke-width: 1.8;
}
.cgl-ig svg circle:last-child {
  fill: var(--cgl-red);
  stroke: none;
}
.cgl-copy {
  max-width: 350px;
  margin: 34px auto 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #444;
}
.cgl-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.cgl-legal a {
  color: #222;
  font-size: 15px;
  text-decoration: none;
}

/* ---------- Sinhala typography (default locale: needs more leading & smaller display sizes) ---------- */
html[lang="si"] .cgl-hero h1 {
  font-size: 19px;
  line-height: 1.5;
}
html[lang="si"] .cgl-hero p,
html[lang="si"] .cgl-hero li,
html[lang="si"] .cgl-hero .cgl-sub {
  line-height: 1.8;
}
html[lang="si"] .cgl-hero .cgl-sub {
  font-size: 14px;
}
html[lang="si"] .cgl-eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.4px;
}
html[lang="si"] .cgl-panel h2 {
  font-size: 16px;
  line-height: 1.5;
}
html[lang="si"] .cgl-field label {
  font-size: 14px;
}
html[lang="si"] .cgl-hint {
  font-size: 12px;
  line-height: 1.6;
}
html[lang="si"] .cgl-btn {
  font-size: 15px;
}
html[lang="si"] .cgl-chip {
  font-size: 11.5px;
  letter-spacing: 0;
}
html[lang="si"] .cgl-card__cat {
  font-size: 11px;
  letter-spacing: 0;
}
html[lang="si"] .cgl-card__name {
  font-size: 12px;
  line-height: 1.45;
  min-height: 35px;
}
html[lang="si"] .cgl-deals__head h2 {
  font-size: 16px;
  line-height: 1.45;
}
html[lang="si"] .cgl-deals__note {
  font-size: 11.5px;
  line-height: 1.65;
}
html[lang="si"] .cgl-modal-top h3 {
  font-size: 18px;
}
html[lang="si"] .cgl-modal-top .cgl-modal-pts-label {
  font-size: 13.5px;
  line-height: 1.55;
}
html[lang="si"] .cgl-modal-card p {
  line-height: 1.75;
}
html[lang="si"] .cgl-modal-activate {
  font-size: 13.5px;
  line-height: 1.65;
}
html[lang="si"] .cgl-sitefoot__nav a {
  font-size: 16px;
}
html[lang="si"] .cgl-copy {
  font-size: 13px;
  line-height: 1.7;
}

/* ---------- legal / document pages (terms, privacy) ---------- */
.cgl-doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px 56px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #333;
}
.cgl-doc__back {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cgl-red);
  text-decoration: none;
}
.cgl-doc h1 {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.35;
  color: var(--cgl-red);
  letter-spacing: -0.2px;
}
.cgl-doc__meta {
  margin: 0 0 18px;
  font-size: 12px;
  color: #999;
}
.cgl-doc h2 {
  margin: 24px 0 8px;
  padding-left: 9px;
  font-size: 16px;
  line-height: 1.4;
  color: #222;
  border-left: 4px solid var(--cgl-red);
}
.cgl-doc p {
  margin: 0 0 10px;
}
.cgl-doc ul {
  margin: 0 0 10px;
  padding-left: 20px;
}
.cgl-doc li {
  margin-bottom: 7px;
}
.cgl-doc__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid #ececec;
}
.cgl-doc__foot a {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cgl-red);
  text-decoration: none;
}
html[lang="si"] .cgl-doc {
  line-height: 1.9;
}
html[lang="si"] .cgl-doc h1 {
  font-size: 20px;
  line-height: 1.5;
}
html[lang="si"] .cgl-doc h2 {
  font-size: 15.5px;
  line-height: 1.6;
}
html[lang="si"] .cgl-doc ul {
  padding-left: 22px;
}

/* ---------- small screens ---------- */
@media (max-width: 380px) {
  .cgl-header__tools .cgl-chip {
    display: none;
  }
  .cgl-hero h1 {
    font-size: 19px;
  }
}

/* ---------- supplied brand artwork (download.png) ---------- */
.cgl-logo--mark {
  height: 40px;
  width: auto;
  max-width: 140px;
  display: block;
  flex: 0 0 auto;
}
.cgl-logo--square {
  width: 192px;
  height: 192px;
  display: block;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18);
}
html[lang="si"] .cgl-logo--mark {
  height: 38px;
}

/* ---------- inline (anchor) button used on the android-only page ---------- */
.cgl-btn--inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 200px;
  padding: 0 26px;
  text-decoration: none;
}

/* ---------- footer brand mark (Locatel leaf) ---------- */
.cgl-footlogo {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #00a650;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 166, 80, 0.18);
}
.cgl-footlogo img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  display: block;
}
.cgl-footlogo {
  display: block;
  object-fit: contain;
  padding: 18px;
  background: #fff;
}

/* lang switcher sized for ES/EN */
.cgl-lang {
  border-color: rgba(255, 255, 255, 0.55);
}
.cgl-lang button {
  color: #fff;
}
.cgl-lang button.is-on {
  background: #fff;
  color: #00a650;
}
