/* ==========================================================
   GURA LOCAL — style.css
   Shared by every page (css/style.css)
   VERSION 173 (every page loads it as style.css?v=173).
   When you change this file, change the number in the pages too,
   so every browser loads the new file instead of an old saved copy.

   Contents
   1.  Colors and settings
   2.  Base
   3.  Buttons
   4.  Color helpers (logo colors + categories)
   5.  Navbar (hamburger menu, logo, search, language, Log in / Sign up)
   6.  Logo (footer size)
   7.  Hero (+ branding patterns in the corners)
   8.  Imigongo band
   8b. Highlights (Hybrid, Categories, 1000+ products)
   9.  Sections
   10. About Gura Local (used on about.php)
   10b. Categories (What are you looking for?)
   10c. For vendors (3 boxes)
   10d. Campaign (events and challenges)
   10e. Events on the homepage (with a button to the Events page)
   11. Product cards
   11b. Featured products (vendor boxes, Get in touch)
   12. Shop page (header, tools, chips)
   13. Deal of the week
   14. Makers
   15. How it works
   16. Reviews
   18. Footer
   19. Cart
   20. Popups (quick view and checkout)
   21. Toast and back-to-top
   22. Inner pages (about, makers, how it works, contact)
   23. Log in and Sign up pages
   23b. Sign up: extra questions
   23c. Profile page
   24. Responsive
   25. Reduced motion
   NEW HERO (indexes.html): at the very end of the file
   ========================================================== */


/* ---------- 1. Colors and settings ---------- */
:root {
  /* The 3 logo colors (from the Made in Rwanda logo) */
  --green: #016C40;
  --blue: #0069C4;
  --yellow: #F7BB01;

  /* Lighter green and blue, only for small text and icons on the black
     background (the logo green and blue are too dark to read there) */
  --green-light: #3DBE7E;
  --blue-light: #4FA3F2;

  /* Text color on top of each logo color */
  --on-green: #FFFFFF;
  --on-blue: #FFFFFF;
  --on-yellow: #0A090D;

  /* Black backgrounds */
  --black: #0A090D;
  --surface: #15131B;
  --surface-2: #211E2A;
  --line: #2E2A3A;

  /* Beige parts (navbar and hero): background, dark text, soft lines */
  --light-bg: #EFE8DC;        /* beige */
  --light-surface: #FAF6EF;   /* search bars on the beige */
  --light-soft: #E3D8C6;      /* round buttons, the brush stroke behind the slides */
  --light-line: #CFC2AD;      /* borders */
  --light-text: #1F1A15;      /* dark brown-black text */
  --light-muted: #6E6355;     /* soft brown-gray text */

  /* Action buttons on the light parts (search buttons, Sign up / Log out,
     the chosen language): the same blue as the brush behind the hero slides.
     For green instead, write var(--green) and #01502F */
  --action: #2F6DB5;
  --action-hover: #255A96;    /* a bit darker, when the mouse is on it */
  --on-action: #FFFFFF;       /* text and icon on the button */

  /* Text */
  --white: #FFFFFF;
  --text: #EFEDF5;
  --muted: #B8B3C8;
  --on-color: #0A090D;   /* dark text, for yellow and white backgrounds */

  /* The 3 logo colors in one stripe (same order as the logo: green, blue, yellow) */
  --logo-stripe: linear-gradient(90deg,
    var(--green) 0 33.34%, var(--blue) 33.34% 66.67%, var(--yellow) 66.67% 100%);

  /* Shapes */
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --pill: 999px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);

  /* Fonts */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;   /* titles */
  --font-body: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;   /* all text */
}

/* Bootstrap dark mode, tuned to our colors */
[data-bs-theme="dark"] {
  --bs-body-bg: var(--black);
  --bs-body-color: var(--text);
  --bs-emphasis-color: var(--white);
  --bs-border-color: var(--line);
  --bs-secondary-color: var(--muted);
  --bs-tertiary-bg: var(--surface-2);
}


/* ---------- 2. Base ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--black);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

a { color: var(--yellow); }
img { display: block; max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}


/* Full width on every screen: the Bootstrap containers take 100% of the screen.
   The space on the left and right grows a little on bigger screens. */
.container,
.container-fluid {
  max-width: 100%;
  padding-left: clamp(1rem, 3vw, 3rem);
  padding-right: clamp(1rem, 3vw, 3rem);
}


/* ---------- 3. Buttons ---------- */
.btn {
  padding: .7rem 1.4rem;
  font-weight: 700;
  border-radius: var(--pill);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:active { transform: scale(.97); }

/* main button: yellow with black text */
.btn-main,
.btn-sun {
  color: var(--on-color);
  background: var(--yellow);
  border: 2px solid var(--yellow);
}
.btn-main:hover,
.btn-sun:hover {
  color: var(--on-color);
  background: var(--white);
  border-color: var(--white);
}

/* outline button: white line on black */
.btn-line {
  color: var(--white);
  background: transparent;
  border: 2px solid var(--white);
}
.btn-line:hover {
  color: var(--on-color);
  background: var(--white);
}

/* black button: for yellow or green backgrounds */
.btn-ink {
  color: var(--white);
  background: var(--black);
  border: 2px solid var(--black);
}
.btn-ink:hover {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}


/* ---------- 4. Color helpers ----------
   --c      the color of a card, chip, tag or button
   --on-c   the text color on top of --c
   --c-text the color to use for text/icons in --c on the black background */
.c-green, .c-food, .c-home, .c-household, .c-other {
  --c: var(--green);
  --on-c: var(--on-green);
  --c-text: var(--green-light);
}
.c-blue, .c-fashion, .c-drinks, .c-building, .c-art {
  --c: var(--blue);
  --on-c: var(--on-blue);
  --c-text: var(--blue-light);
}
.c-yellow, .c-coffee, .c-jewelry, .c-saved, .c-beauty, .c-leather, .c-automotive {
  --c: var(--yellow);
  --on-c: var(--on-yellow);
  --c-text: var(--yellow);
}
.c-all {
  --c: var(--white);
  --on-c: var(--on-color);
  --c-text: var(--white);
}


/* ---------- 5. Navbar ----------
   Computers (992px and wider), one line:
     logo  [ Products ⌄ | search ...              | 🔍 ]  EN FR RW  Log in  Sign up  ☰
   Tablets and phones (under 992px), two lines:
     logo                          EN FR RW  Log in  Sign up  ☰
     [ Products ⌄ | search ...                          | 🔍 ]
   The hamburger (☰) is placed last here with grid-area, so the HTML
   of the pages does not change. Its menu (.nav-menu) opens from the right.
   Colors: beige like the hero, dark text, green buttons. */
.main-nav {
  padding: .6rem 0;
  color: var(--light-text);
  background: rgba(239, 232, 220, .96);   /* var(--light-bg), a tiny bit see-through */
  border-bottom: 1px solid rgba(31, 26, 21, .14);   /* one thin line; for black write #1F1A15 */
  backdrop-filter: blur(10px);
}

.nav-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  grid-template-areas: "logo search actions burger";
  align-items: center;
  column-gap: 1rem;
  row-gap: .6rem;
}
.nav-burger { grid-area: burger; font-size: 1.6rem; }

/* the hamburger (☰): a round button with a blue border, so people see it easily.
   The blue is the same as the Search and Sign up buttons (--action). */
.icon-btn.nav-burger {
  color: var(--action);
  background: var(--light-surface);
  border: 2px solid var(--action);
  border-radius: 50%;
  box-shadow: 0 4px 12px -6px rgba(47, 109, 181, .6);
}
.icon-btn.nav-burger:hover,
.icon-btn.nav-burger[aria-expanded="true"] {
  color: var(--on-action);
  background: var(--action);
  border-color: var(--action);
}
.icon-btn.nav-burger:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}
.nav-bar .brand-logo { grid-area: logo; }
.nav-search { grid-area: search; }
.nav-actions { grid-area: actions; justify-self: end; }

/* the logo: img/logo-dark.webp in the navbar, img/logo-light.webp (white letters) on dark parts.
   Both are made from made.png with the white background removed.
   It is 66px tall but only takes 54px of room (negative margin),
   so the navbar does not get taller. */
.brand-logo {
  --logo: 66px;
  display: inline-flex;
  flex-shrink: 0;
  width: var(--logo);
  height: var(--logo);
  margin: -6px 0;
  transition: transform .2s ease;
}
.brand-logo:hover { transform: scale(1.05); }
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* round buttons (the hamburger) */
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  font-size: 1.15rem;
  color: var(--light-text);
  text-decoration: none;
  background: var(--light-soft);
  border: 0;
  border-radius: 50%;
  transition: background .2s ease, color .2s ease;
}
.icon-btn:hover {
  color: var(--yellow);
  background: var(--light-text);
}

/* --- Search bar: [ Products ⌄ | words | 🔍 ] in one light pill --- */
.nav-search {
  display: flex;
  align-items: stretch;
  justify-self: center;
  width: 100%;
  max-width: 900px;
  height: 48px;
  background: var(--light-surface);
  border: 2px solid var(--light-line);
  border-radius: var(--pill);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav-search:focus-within {
  border-color: var(--light-text);
  box-shadow: 0 0 0 3px rgba(17, 17, 20, .08);
}

/* "Products / Producers" choice, on the left */
.nav-search-scope {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  border-right: 1px solid var(--light-line);
}
.nav-search-scope select {
  height: 100%;
  padding: 0 2.2rem 0 1.25rem;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  color: var(--light-text);
  background: transparent;
  border: 0;
  outline: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.nav-search-scope select:hover,
.nav-search-scope select:focus-visible { background: var(--light-soft); }
.nav-search-scope option {
  color: var(--light-text);
  background: var(--light-surface);
}
.nav-search-scope i {
  position: absolute;
  right: .9rem;
  font-size: .75rem;
  color: var(--light-muted);
  pointer-events: none;   /* the click goes to the select under it */
}

/* the words */
.nav-search input {
  flex: 1;
  min-width: 0;
  padding: 0 1rem;
  font-family: inherit;
  font-size: .98rem;
  color: var(--light-text);
  background: transparent;
  border: 0;
  outline: 0;
}
.nav-search input::placeholder {
  color: var(--light-muted);
  text-overflow: ellipsis;
}

/* the search button, on the right: green with a white icon */
.nav-search button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 76px;
  font-size: 1.2rem;
  color: var(--on-action);
  background: var(--action);
  border: 0;
  transition: background .2s ease, color .2s ease;
}
.nav-search button:hover { background: var(--action-hover); }
.nav-search button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -4px;   /* inside, so the rounded bar does not hide it */
}

/* --- Right side: language + Log in / Sign up --- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* Log in and Sign up buttons */
.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  height: 46px;
  padding: 0 1.15rem;
  font-size: .95rem;
  white-space: nowrap;
}
/* "Log in" (or "My profile"): only the icon, the word shows on big screens */
.btn-login { padding: 0 .9rem; }
.btn-login span { display: none; }
@media (min-width: 1200px) {
  .btn-login { padding: 0 1.15rem; }
  .btn-login span { display: inline; }
}
/* on the light navbar: "Log in" is a black outline, "Sign up" is green with white text */
.main-nav .btn-line {
  color: var(--light-text);
  border-color: var(--light-text);
}
.main-nav .btn-line:hover {
  color: var(--white);
  background: var(--light-text);
}
.main-nav .btn-main {
  color: var(--on-action);
  background: var(--action);
  border-color: var(--action);
}
.main-nav .btn-main:hover {
  color: var(--on-action);
  background: var(--action-hover);
  border-color: var(--action-hover);
}
/* shows which page you are on (login or sign up) */
.btn-line.btn-nav[aria-current="page"] {
  color: var(--white);
  background: var(--light-text);
}
.btn-main.btn-nav[aria-current="page"] {
  box-shadow: 0 0 0 3px var(--light-bg), 0 0 0 5px var(--action);
}

/* language: EN / FR / RW, always visible; the chosen one is green */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--light-soft);
  border: 1px solid var(--light-line);
  border-radius: var(--pill);
}
.lang-option {
  min-width: 36px;
  height: 36px;
  padding: 0 .5rem;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1;
  color: var(--light-muted);
  background: transparent;
  border: 0;
  border-radius: var(--pill);
  transition: background .2s ease, color .2s ease;
}
.lang-option:hover { color: var(--light-text); }
.lang-option.active {
  color: var(--on-action);
  background: var(--action);
}

/* --- Hamburger menu (blue, slides in from the right, on the side of the ☰ button) --- */
.nav-menu {
  --bs-offcanvas-width: min(340px, 86vw);
  --bs-offcanvas-bg: #1E4E8C;      /* blue, like the rest of the site */
  --bs-offcanvas-color: #FFFFFF;
  --bs-offcanvas-border-color: rgba(255, 255, 255, .15);
}
/* the HTML says offcanvas-start (left); these lines move it to the right */
.offcanvas.offcanvas-start.nav-menu {
  left: auto;
  right: 0;
  border-right: 0;
  border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
  transform: translateX(100%);
}
.offcanvas.offcanvas-start.nav-menu.showing,
.offcanvas.offcanvas-start.nav-menu.show:not(.hiding) { transform: none; }
.nav-menu .offcanvas-header {
  padding: 1.1rem 1.4rem calc(1.1rem + 4px);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.nav-menu .offcanvas-title {
  margin: 0;
  font-size: 1.35rem;
  color: #FFFFFF;
}
.nav-menu .offcanvas-body { padding: 1rem; }
.nav-menu-links {
  display: grid;
  gap: .3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-menu .nav-link {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .8rem 1rem;
  font-weight: 600;
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  transition: background .2s ease, color .2s ease;
}
.nav-menu .nav-link i {
  width: 1.3rem;
  font-size: 1.15rem;
  text-align: center;
  color: var(--yellow);
}
.nav-menu .nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, .12);
}
.nav-menu .nav-link.active {
  color: var(--on-yellow);
  background: var(--yellow);
}
.nav-menu .nav-link.active i { color: var(--on-yellow); }

/* --- Navbar on smaller screens --- */

/* tablets and phones (under 992px): the search goes on its own line, full width */
@media (max-width: 991.98px) {
  .nav-bar {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-areas:
      "logo   .      actions burger"
      "search search search  search";
    column-gap: .7rem;
  }
  .nav-search { max-width: none; height: 46px; }
  .nav-search button { width: 64px; }
  html { scroll-padding-top: 150px; }   /* the navbar is taller here */
}

/* phones */
@media (max-width: 575.98px) {
  .main-nav { padding-top: .5rem; }
  .nav-bar { column-gap: .6rem; }
  .nav-search { height: 44px; }
  .main-nav .brand-logo { --logo: 54px; margin: -5px 0; }
  .icon-btn { width: 40px; height: 40px; }
  .nav-burger { font-size: 1.3rem; }
  .nav-actions { gap: .35rem; }
  .btn-nav { height: 40px; padding: 0 .8rem; font-size: .85rem; }
  .btn-login { padding: 0 .7rem; }
  .lang-switch { padding: 2px; gap: 0; }
  .lang-option { min-width: 30px; height: 32px; padding: 0 .35rem; font-size: .74rem; }
  .nav-search-scope select { padding: 0 1.7rem 0 .85rem; font-size: .85rem; }
  .nav-search-scope i { right: .65rem; }
  .nav-search input { font-size: 16px; }   /* 16px stops iPhones from zooming in */
  .nav-search button { width: 52px; font-size: 1.1rem; }
}

/* small phones (under 420px): smaller buttons so the first line still fits
   (also with the longer words of Kinyarwanda and French) */
@media (max-width: 419.98px) {
  .nav-bar { column-gap: .4rem; }
  .main-nav .brand-logo { --logo: 46px; margin: -3px 0; }
  .icon-btn { width: 36px; height: 36px; }
  .nav-burger { font-size: 1.2rem; }
  .nav-actions { gap: .25rem; }
  .btn-nav { height: 36px; padding: 0 .6rem; font-size: .8rem; }
  .btn-login { padding: 0 .55rem; }
  .lang-option { min-width: 27px; height: 30px; padding: 0 .25rem; font-size: .7rem; }
  .nav-search-scope select { padding: 0 1.5rem 0 .7rem; font-size: .8rem; }
  .nav-search-scope i { right: .55rem; }
}

/* the smallest phones (320px) */
@media (max-width: 359.98px) {
  .main-nav .brand-logo { --logo: 40px; margin: 0; }
  .icon-btn { width: 32px; height: 32px; }
  .nav-burger { font-size: 1.1rem; }
  .nav-actions { gap: .2rem; }
  .btn-nav { height: 32px; padding: 0 .45rem; font-size: .72rem; }
  .btn-login { padding: 0 .45rem; }
  .lang-option { min-width: 24px; height: 26px; padding: 0 .2rem; font-size: .66rem; }
}


/* ---------- 6. Logo (bigger version in the footer) ---------- */
.brand-logo.brand-logo-lg {
  --logo: 110px;
  margin: 0;
}


/* ---------- 7. Hero (logo left, slides right) ----------
   Clean beige, the same color as the navbar: the Gura Local logo and one
   sentence on the left, the slides on the right, cut like a brush stroke. */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(860px, calc(100vh - 82px));   /* fills the screen under the navbar */
  /* the same space at the top and at the bottom
     (enough room for the V pattern and the mountains, so nothing touches them) */
  padding: 6.5rem 0;
  color: var(--light-text);
  background: var(--light-bg);
}
/* the corner patterns in the hero: a bit smaller, so they stay away from the text */
.hero .corner-top { width: clamp(100px, 7vw, 130px); }
.hero .corner-bottom { width: clamp(140px, 10vw, 180px); }
@media (max-width: 991.98px) {
  .hero .corner-top { width: 100px; }
  .hero .corner-bottom { width: 150px; }
}
@media (max-width: 575.98px) {
  .hero .corner-top { width: 80px; }      /* small on phones, away from the logo */
  .hero .corner-bottom { width: 120px; }
}
/* small phones (under 390px): smaller logo, so it stays away from the V pattern */
@media (max-width: 389.98px) {
  .hero .corner-top { width: 72px; }
  .hero .hero-logo { max-width: 250px; }
}
.hero > .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* height of the slides: as tall as the screen allows */
.hero {
  --slide-h: clamp(360px, calc(100vh - 300px), 760px);
}

/* two columns of the same width (50 / 50), lined up with the container:
   - left: the logo and the text start on the left edge of the container
   - right: the slides end on the right edge of the container
   Small space between them; the logo and the text sit in the middle of the
   height of the slides. */
/* PERFECT ALIGNMENT on computers: 50 / 50.
   - the Gura Local letters fill the left half, the brush slides fill the right half
   - both are exactly the same height: tops level, bottoms level */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(1.5rem, 2.5vw, 3rem);
}
/* computers: Gura Local and the splash never take the whole section.
   Their height is at most 90% of the room left on the screen (screen height
   minus the navbar and the space above and below), so the hero always fits in one
   screen and keeps some air. When they get smaller, the two stay together in the
   middle, with the same space on the left and on the right.
   (2.5914 = the two halves, each 1.2957 times wider than tall) */
@media (min-width: 992px) {
  .hero-grid {
    max-width: calc((100vh - 82px - 13rem) * .9 * 2.5914 + clamp(1.5rem, 2.5vw, 3rem));
    margin: 0 auto;
  }
}

/* Branding patterns in the corners (hero, log in, sign up, FAQ)
   img/pattern-two.webp (the V) sits in the top right corner,
   img/pattern-one.webp (the mountains) sits in the bottom left corner.
   To make them bigger or smaller, change the width values. */
.corner-pattern {
  position: absolute;
  z-index: 0;            /* behind the content (the .container is z-index 1) */
  height: auto;
  pointer-events: none;  /* clicks go through to the page */
  user-select: none;
}
.corner-top {
  top: 0;
  right: 0;
  width: 240px;
}
.corner-bottom {
  bottom: 0;
  left: 0;
  width: 380px;
}

/* tablets */
@media (max-width: 991.98px) {
  .corner-top { width: 170px; }
  .corner-bottom { width: 260px; }
}

/* phones */
@media (max-width: 575.98px) {
  .corner-top { width: 110px; }
  .corner-bottom { width: 170px; }
}


/* left: the logo and the sentence, as one block,
   on the left edge of the container (lined up with the navbar logo) */
.hero-brand { min-width: 0; }

/* the logo: img/gura-dark.webp (dark letters, yellow line) */
.hero-logo {
  position: relative;
  /* the letters fill the whole left half (50 / 50 with the slides).
     The image has empty space around the letters, so it is made a bit wider
     than the half (100% / 0.908); that empty part is invisible. */
  width: calc(100% / 0.9315);
  display: flow-root;     /* its box is exactly the letters (the empty space of the image is cut by the margins) */
  margin: 0;
  pointer-events: none;   /* the invisible part never blocks a click */
}
.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  /* the image has empty space around the letters: these margins remove it,
     so the letters start exactly on the edge of the container */
  margin: -18% 0 -11.8% -4.7%;
  animation: logo-in .9s cubic-bezier(.2, .8, .2, 1) backwards;
}

/* the logo rises in softly when the page opens */
@keyframes logo-in {
  from { opacity: 0; transform: translateY(24px) scale(.94); }
}

/* the sentence under the logo, on two lines (one <span> per line), easy to read */
.hero-intro {
  margin: 1.5rem 0 0;   /* space between the logo and the text */
  font-size: clamp(1.05rem, 1.15vw, 1.35rem);
  font-weight: 500;
  line-height: 1.6;
  color: #463D33;   /* dark brown: easy to read on the beige */
  animation: logo-in .9s .1s cubic-bezier(.2, .8, .2, 1) backwards;
}
.hero-intro span { display: block; white-space: nowrap; }   /* each line stays one line */

/* right: slides of the product categories (Bootstrap carousel).
   The photos are cut in the shape of a painted brush stroke.
   The brush shape is drawn right here in the CSS (--brush-shape, a small SVG drawing),
   so there is no image file to save: the photo shows where the drawing is white. */
.hero-slides {
  --brush-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 900' preserveAspectRatio='none'%3E%3Cmask id='s'%3E%3Crect width='1200' height='900' fill='%23fff'/%3E%3Cg fill='%23000'%3E%3Cpath d='M419 827.0Q601 823.5 783 827.0Q601 830.5 419 827.0Z' fill-opacity='0.86'/%3E%3Cpath d='M429 76.3Q614 75.2 798 76.3Q614 77.4 429 76.3Z' fill-opacity='0.78'/%3E%3Cpath d='M642 848.2Q748 845.2 853 848.2Q748 851.2 642 848.2Z' fill-opacity='0.62'/%3E%3Cpath d='M1099 49.0Q1192 46.7 1286 49.0Q1192 51.3 1099 49.0Z' fill-opacity='0.73'/%3E%3Cpath d='M978 67.8Q1076 63.9 1174 67.8Q1076 71.6 978 67.8Z' fill-opacity='0.66'/%3E%3Cpath d='M81 837.1Q267 834.0 453 837.1Q267 840.2 81 837.1Z' fill-opacity='0.68'/%3E%3Cpath d='M911 42.9Q1090 40.6 1269 42.9Q1090 45.1 911 42.9Z' fill-opacity='0.74'/%3E%3Cpath d='M600 834.8Q667 832.7 733 834.8Q667 836.9 600 834.8Z' fill-opacity='0.68'/%3E%3Cpath d='M806 855.1Q983 853.9 1160 855.1Q983 856.3 806 855.1Z' fill-opacity='0.73'/%3E%3Cpath d='M708 74.4Q805 72.7 903 74.4Q805 76.1 708 74.4Z' fill-opacity='0.80'/%3E%3Cpath d='M694 61.0Q761 58.4 827 61.0Q761 63.5 694 61.0Z' fill-opacity='0.93'/%3E%3Cpath d='M74 49.9Q180 48.1 286 49.9Q180 51.7 74 49.9Z' fill-opacity='0.86'/%3E%3Cpath d='M354 817.7Q522 816.3 690 817.7Q522 819.1 354 817.7Z' fill-opacity='0.75'/%3E%3Cpath d='M844 847.7Q1010 844.8 1175 847.7Q1010 850.5 844 847.7Z' fill-opacity='0.69'/%3E%3Cpath d='M156 58.4Q265 56.0 375 58.4Q265 60.9 156 58.4Z' fill-opacity='0.81'/%3E%3Cpath d='M312 39.0Q515 37.5 718 39.0Q515 40.5 312 39.0Z' fill-opacity='0.56'/%3E%3Cpath d='M17 40.7Q129 38.3 242 40.7Q129 43.2 17 40.7Z' fill-opacity='0.62'/%3E%3Cpath d='M679 81.5Q782 80.0 885 81.5Q782 83.1 679 81.5Z' fill-opacity='0.72'/%3E%3Cpath d='M983 815.5Q1133 811.7 1283 815.5Q1133 819.2 983 815.5Z' fill-opacity='0.57'/%3E%3Cpath d='M235 844.0Q437 840.7 638 844.0Q437 847.3 235 844.0Z' fill-opacity='0.90'/%3E%3Cpath d='M914 50.5Q1109 49.4 1303 50.5Q1109 51.6 914 50.5Z' fill-opacity='0.95'/%3E%3Cpath d='M627 848.3Q829 845.3 1030 848.3Q829 851.3 627 848.3Z' fill-opacity='0.79'/%3E%3Cpath d='M797 63.3Q951 62.3 1106 63.3Q951 64.4 797 63.3Z' fill-opacity='0.72'/%3E%3Cpath d='M85 854.1Q139 852.1 193 854.1Q139 856.1 85 854.1Z' fill-opacity='0.62'/%3E%3Cpath d='M306 59.1Q498 55.3 690 59.1Q498 62.9 306 59.1Z' fill-opacity='0.82'/%3E%3Cpath d='M866 831.2Q940 830.2 1014 831.2Q940 832.2 866 831.2Z' fill-opacity='0.61'/%3E%3Cpath d='M294 849.6Q493 848.0 692 849.6Q493 851.2 294 849.6Z' fill-opacity='0.66'/%3E%3Cpath d='M129 813.4Q252 810.0 375 813.4Q252 816.9 129 813.4Z' fill-opacity='0.56'/%3E%3Cpath d='M302 860.0Q469 858.8 637 860.0Q469 861.3 302 860.0Z' fill-opacity='0.79'/%3E%3Cpath d='M949 70.9Q1031 68.5 1114 70.9Q1031 73.2 949 70.9Z' fill-opacity='0.85'/%3E%3Cpath d='M797 853.1Q953 851.0 1109 853.1Q953 855.3 797 853.1Z' fill-opacity='0.70'/%3E%3Cpath d='M225 92.6Q387 89.4 548 92.6Q387 95.7 225 92.6Z' fill-opacity='0.66'/%3E%3Cpath d='M317 85.9Q402 83.5 487 85.9Q402 88.2 317 85.9Z' fill-opacity='0.58'/%3E%3Cpath d='M69 47.6Q183 46.1 297 47.6Q183 49.1 69 47.6Z' fill-opacity='0.64'/%3E%3Cpath d='M629 865.0Q751 863.1 872 865.0Q751 866.8 629 865.0Z' fill-opacity='0.58'/%3E%3Cpath d='M885 87.5Q927 85.1 969 87.5Q927 89.9 885 87.5Z' fill-opacity='0.79'/%3E%3Cpath d='M574 861.4Q670 860.3 767 861.4Q670 862.4 574 861.4Z' fill-opacity='0.85'/%3E%3Cpath d='M517 47.2Q628 43.8 740 47.2Q628 50.7 517 47.2Z' fill-opacity='0.94'/%3E%3Cpath d='M169 32.7Q213 30.5 258 32.7Q213 34.9 169 32.7Z' fill-opacity='0.78'/%3E%3Cpath d='M356 842.7Q489 839.7 622 842.7Q489 845.6 356 842.7Z' fill-opacity='0.85'/%3E%3Cpath d='M218 857.2Q353 854.5 488 857.2Q353 859.8 218 857.2Z' fill-opacity='0.75'/%3E%3Cpath d='M149 70.2Q277 66.8 405 70.2Q277 73.7 149 70.2Z' fill-opacity='0.84'/%3E%3Cpath d='M596 47.6Q749 45.4 903 47.6Q749 49.7 596 47.6Z' fill-opacity='0.77'/%3E%3Cpath d='M111 83.2Q186 79.4 261 83.2Q186 86.9 111 83.2Z' fill-opacity='0.62'/%3E%3Cpath d='M366 864.2Q430 863.0 495 864.2Q430 865.3 366 864.2Z' fill-opacity='0.74'/%3E%3Cpath d='M70 795.0Q94 793.9 119 795.0Q94 796.1 70 795.0Z' fill-opacity='0.90'/%3E%3Cpath d='M1103 398.0Q1138 396.7 1172 398.0Q1138 399.3 1103 398.0Z' fill-opacity='0.65'/%3E%3Cpath d='M63 702.0Q121 700.4 179 702.0Q121 703.6 63 702.0Z' fill-opacity='0.66'/%3E%3Cpath d='M57 413.0Q100 410.7 143 413.0Q100 415.3 57 413.0Z' fill-opacity='0.71'/%3E%3Cpath d='M73 82.0Q95 80.6 117 82.0Q95 83.4 73 82.0Z' fill-opacity='0.83'/%3E%3Cpath d='M1122 270.0Q1155 268.9 1188 270.0Q1155 271.1 1122 270.0Z' fill-opacity='0.76'/%3E%3Cpath d='M1050 659.0Q1114 657.2 1178 659.0Q1114 660.8 1050 659.0Z' fill-opacity='0.89'/%3E%3Cpath d='M1073 247.0Q1112 245.7 1151 247.0Q1112 248.3 1073 247.0Z' fill-opacity='0.66'/%3E%3Cpath d='M1117 624.0Q1139 622.0 1162 624.0Q1139 626.0 1117 624.0Z' fill-opacity='0.65'/%3E%3Cpath d='M70 782.0Q90 780.8 110 782.0Q90 783.2 70 782.0Z' fill-opacity='0.61'/%3E%3Cpath d='M1109 792.0Q1128 789.8 1147 792.0Q1128 794.2 1109 792.0Z' fill-opacity='0.83'/%3E%3Cpath d='M63 644.0Q133 641.6 203 644.0Q133 646.4 63 644.0Z' fill-opacity='0.76'/%3E%3Cpath d='M71 682.0Q141 679.2 210 682.0Q141 684.8 71 682.0Z' fill-opacity='0.98'/%3E%3Cpath d='M71 815.0Q138 813.3 204 815.0Q138 816.7 71 815.0Z' fill-opacity='0.90'/%3E%3Cpath d='M26 426.0Q62 424.1 99 426.0Q62 427.9 26 426.0Z' fill-opacity='0.62'/%3E%3Cpath d='M1072 658.0Q1124 655.9 1176 658.0Q1124 660.1 1072 658.0Z' fill-opacity='0.69'/%3E%3Cpath d='M44 267.0Q101 265.4 157 267.0Q101 268.6 44 267.0Z' fill-opacity='0.85'/%3E%3Cpath d='M1026 192.0Q1079 190.8 1133 192.0Q1079 193.2 1026 192.0Z' fill-opacity='0.85'/%3E%3Cpath d='M93 67.0Q140 65.2 187 67.0Q140 68.8 93 67.0Z' fill-opacity='0.84'/%3E%3Cpath d='M56 523.0Q110 521.7 164 523.0Q110 524.3 56 523.0Z' fill-opacity='0.68'/%3E%3Cpath d='M70 247.0Q140 245.6 209 247.0Q140 248.4 70 247.0Z' fill-opacity='1.00'/%3E%3Cpath d='M1058 819.0Q1102 817.9 1145 819.0Q1102 820.1 1058 819.0Z' fill-opacity='0.73'/%3E%3Cpath d='M1157 308.0Q1174 307.0 1191 308.0Q1174 309.0 1157 308.0Z' fill-opacity='0.68'/%3E%3Cpath d='M1144 313.0Q1161 311.9 1177 313.0Q1161 314.1 1144 313.0Z' fill-opacity='0.68'/%3E%3Cpath d='M1109 620.0Q1137 619.0 1166 620.0Q1137 621.0 1109 620.0Z' fill-opacity='0.85'/%3E%3Cpath d='M82 116.0Q98 114.4 115 116.0Q98 117.6 82 116.0Z' fill-opacity='0.65'/%3E%3Cpath d='M1111 559.0Q1134 557.8 1158 559.0Q1134 560.2 1111 559.0Z' fill-opacity='0.73'/%3E%3Cpath d='M1017 110.0Q1069 107.4 1121 110.0Q1069 112.6 1017 110.0Z' fill-opacity='0.64'/%3E%3C/g%3E%3C/mask%3E%3Cpath d='M1133 36 1104 30 1105 28 1119 25 1074 26 1050 22 1026 27 987 25 972 28 961 28 940 21 930 21 909 25 872 22 854 28 840 28 826 24 783 26 766 29 752 28 737 23 725 23 705 28 696 28 683 25 666 25 638 29 619 35 585 38 560 43 475 48 409 48 387 44 334 40 314 40 303 43 288 44 243 39 229 39 211 45 198 45 182 41 142 39 124 35 108 35 93 39 78 37 82 48 94 51 98 54 91 66 102 69 104 72 100 74 76 77 73 84 90 89 88 91 66 95 65 102 82 107 77 113 90 116 94 119 74 130 65 138 52 142 39 150 44 156 58 158 63 161 44 166 52 173 43 179 70 182 76 185 51 190 55 197 75 200 78 203 64 208 75 214 67 220 69 224 67 228 43 232 60 237 61 239 59 244 73 250 68 253 53 256 63 260 64 262 62 264 43 268 54 274 52 280 46 286 72 291 70 294 55 298 74 301 78 304 65 310 65 323 62 329 47 331 39 334 47 339 37 345 41 351 30 357 64 363 59 366 38 369 60 375 57 378 47 380 48 382 65 384 71 387 60 395 39 399 58 402 63 405 62 411 56 418 23 429 24 435 48 438 52 440 50 443 27 451 26 453 50 456 54 458 47 464 43 472 35 475 36 483 24 494 52 498 55 501 39 506 44 512 32 518 35 520 44 521 48 524 19 529 17 530 26 536 13 542 15 547 18 549 41 551 47 554 34 562 25 565 30 572 39 575 41 578 20 584 31 588 36 594 34 598 27 599 24 602 44 611 53 619 47 622 25 625 53 629 56 631 49 634 31 635 25 637 53 641 61 648 59 651 38 655 69 667 40 673 63 677 73 684 64 691 73 695 74 697 55 702 55 709 62 715 56 721 63 727 79 729 86 732 85 734 66 742 62 747 61 751 78 753 84 756 82 758 61 762 74 765 78 768 58 774 57 780 71 786 66 797 67 799 63 803 81 807 86 810 82 813 71 816 84 818 91 821 87 824 64 826 60 828 69 831 77 840 92 845 87 848 68 850 66 852 87 856 89 858 86 862 88 867 96 867 110 863 120 863 143 872 186 869 214 870 231 873 254 871 299 873 314 869 329 869 345 873 387 874 409 878 434 871 445 871 470 875 502 876 530 874 553 868 588 870 607 865 635 862 653 862 664 865 678 865 696 859 742 861 759 864 825 865 848 869 878 867 935 873 996 871 1021 867 1050 867 1075 863 1117 863 1126 861 1114 860 1110 857 1120 854 1141 851 1125 848 1122 845 1137 840 1138 838 1134 835 1136 832 1153 828 1157 821 1137 819 1127 816 1134 813 1162 810 1164 803 1145 801 1137 798 1151 784 1173 780 1144 776 1142 773 1149 767 1172 762 1161 755 1150 754 1141 750 1145 743 1163 739 1162 737 1153 735 1150 732 1161 724 1170 720 1155 708 1186 703 1174 698 1173 690 1170 686 1157 681 1151 671 1151 667 1153 665 1175 661 1169 658 1160 657 1158 655 1173 649 1161 644 1161 625 1169 620 1171 614 1164 607 1171 604 1186 602 1187 597 1183 594 1162 592 1156 589 1169 576 1178 572 1178 566 1153 560 1154 557 1162 552 1177 548 1166 540 1158 538 1155 531 1170 516 1194 512 1173 508 1171 506 1173 504 1186 500 1170 497 1165 494 1171 491 1183 489 1193 482 1177 478 1168 471 1171 468 1189 465 1188 458 1166 455 1162 453 1166 450 1190 447 1185 437 1184 428 1164 425 1161 423 1167 420 1182 419 1190 416 1184 409 1177 407 1172 401 1172 398 1199 393 1186 387 1193 376 1192 368 1179 363 1187 357 1186 351 1171 348 1167 345 1176 337 1193 334 1184 328 1192 323 1192 321 1175 318 1170 315 1180 310 1187 303 1181 297 1165 295 1158 292 1171 284 1183 280 1166 276 1163 274 1165 272 1185 269 1186 267 1180 261 1160 259 1153 256 1153 249 1159 242 1172 238 1153 234 1147 228 1147 220 1140 214 1142 212 1156 209 1132 204 1127 199 1127 190 1141 185 1113 179 1117 171 1139 167 1135 165 1113 162 1109 156 1111 153 1130 149 1115 146 1109 142 1116 135 1133 131 1126 126 1124 119 1134 113 1108 109 1107 102 1123 93 1152 89 1136 85 1134 83 1146 80 1150 77 1133 73 1126 65 1117 60 1117 58 1123 54 1106 49 1105 47 1113 44 1124 43Z' fill='%23fff' mask='url(%23s)'/%3E%3C/svg%3E");   /* wide brush (computers) */
  position: relative;
  /* fills its half, up to the right edge of the container */
  width: 100%;
  /* a little higher: the rough edges of the brush start a bit inside its box,
     so this puts the painted part level with the Gura Local letters */
  margin: -1.3% 0 1.3%;
  filter: drop-shadow(0 22px 28px rgba(70, 50, 25, .18));   /* soft shadow that follows the brush shape */
  animation: logo-in .9s .2s cubic-bezier(.2, .8, .2, 1) backwards;
}
.hero-slides .carousel-inner {
  background: var(--light-soft);   /* shows while a photo is loading */
  -webkit-mask: var(--brush-shape) center / 100% 100% no-repeat;
          mask: var(--brush-shape) center / 100% 100% no-repeat;
}
/* a second brush stroke behind the photo, a bit turned, like layers of paint.
   Its color goes from blue to beige. */
.hero-slides::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1.2957;     /* the same size as a slide */
  background: linear-gradient(120deg, #2F6DB5 0%, #6E95C6 35%, #C9BBA2 70%, #D8C8AE 100%);
  -webkit-mask: var(--brush-shape) center / 100% 100% no-repeat;
          mask: var(--brush-shape) center / 100% 100% no-repeat;
  transform: translate(-2%, 2.5%) rotate(-2deg);
}

/* one slide: the photo fills it, the text sits at the bottom */
.hero-slide {
  position: relative;
  aspect-ratio: 1.2957;   /* the same shape as the Gura Local letters: same height, tops and bottoms level */
}
.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* dark shade at the bottom of the photo, so the white text is easy to read */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 12, .88) 0%, rgba(10, 10, 12, .55) 35%, transparent 62%);
}
.hero-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0 8% 9%;   /* away from the rough edges of the brush */
  color: var(--white);
}
.hero-slide-title {
  margin: 0 0 .3rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* the examples: small see-through chips */
.hero-slide-types {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: .2rem 0 1.1rem;
  padding: 0;
  list-style: none;
}
.hero-slide-types li {
  padding: .25rem .7rem;
  font-size: clamp(.75rem, .8vw, .88rem);
  font-weight: 500;
  color: var(--white);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--pill);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}

/* "See products": white button, black text */
.hero-slide-btn {
  display: inline-flex;
  align-items: center;
  padding: .65rem 1.3rem;
  font-size: clamp(.85rem, .9vw, 1rem);
  font-weight: 700;
  white-space: nowrap;   /* the button text stays on one line */
  color: var(--light-text);
  text-decoration: none;
  background: var(--white);
  border-radius: var(--pill);
  transition: background .2s ease;
}
.hero-slide-btn:hover {
  color: var(--light-text);
  background: var(--light-soft);
}

/* arrows: round light buttons on the left and right of the photo */
.hero-slides .carousel-control-prev,
.hero-slides .carousel-control-next {
  top: 30%;   /* above the text of the slide */
  bottom: auto;
  z-index: 3;
  width: 44px;
  height: 44px;
  margin: 0 6%;   /* inside the brush shape */
  font-size: 1.1rem;
  color: var(--light-text);
  background: rgba(250, 246, 239, .92);
  border: 0;
  border-radius: 50%;
  opacity: 1;
  box-shadow: 0 4px 14px rgba(31, 26, 21, .2);
  transform: translateY(-50%);
  transition: background .2s ease, color .2s ease;
}
.hero-slides .carousel-control-prev:hover,
.hero-slides .carousel-control-next:hover {
  color: var(--white);
  background: var(--light-text);
}

/* dots under the slides: soft brown, the dot of the slide you see is long and dark */
.hero-slides .carousel-indicators { display: none; }   /* no dots: nothing hangs below; the arrows change the slides */
.hero-slides .carousel-indicators {
  position: absolute;
  top: 100%;
  right: 0;
  bottom: auto;
  left: 0;
  z-index: 3;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.1rem 0 0;
}
/* ".hero" in front: stronger than Bootstrap's dark-theme dot color */
.hero .hero-slides .carousel-indicators [data-bs-target] {
  box-sizing: content-box;
  width: 8px;
  height: 8px;
  margin: 0;
  border: 6px solid transparent;   /* bigger area to tap, not seen */
  border-radius: var(--pill);
  background-color: rgba(31, 26, 21, .22);
  background-clip: padding-box;
  opacity: 1;
  transition: width .3s ease, background-color .3s ease;
}
.hero .hero-slides .carousel-indicators .active {
  width: 24px;
  background-color: var(--light-text);
}

/* search bar above the slides: hidden on computers (the navbar has one) */
.hero-search-bar { display: none; }

/* small laptops (992px to 1199px): slightly smaller text */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-intro { font-size: .95rem; }
}
/* small laptops (992px to 1199px) or low screens: only the title and the button show
   in the slide (the 3 examples come back on bigger screens) */
@media (min-width: 992px) and (max-width: 1199.98px),
       (min-width: 992px) and (max-height: 760px) {
  .hero-slide-types { display: none; }
  .hero-slide-title { margin-bottom: .8rem; }
}

/* --- Hero on tablets and phones (under 992px) ---
   Logo and sentence on top (on the left), the slides under them (centered). */
@media (max-width: 991.98px) {
  /* the first screen shows only Gura Local and the search, in the middle:
     the hero fills the whole screen under the navbar (svh: the real height of the phone screen) */
  .hero {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 74px);
    min-height: calc(100svh - 74px);
  }
  .hero-grid { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
  .hero-logo { width: 100%; max-width: 460px; }
  .hero-brand { padding-bottom: 0; }
  .hero-intro { margin-top: 1.4rem; }
  .hero-intro span { white-space: normal; }

  /* the Gura Local logo in the center */
  .hero-brand { display: flex; justify-content: center; }
  .hero-logo { margin: 0 auto; }
  .hero-logo img { margin-left: auto; margin-right: auto; }
  /* the search bar of the navbar comes here, under the logo, in the center */
  .hero-search-bar { display: flex; justify-self: center; width: 100%; max-width: 580px; margin: 0 auto; }

  /* no slides on tablets and phones: only on computers (992px and wider) */
  .hero-slides { display: none; }

  /* square brush slides, on the left like the logo */
  .hero-slides {
    --brush-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' preserveAspectRatio='none'%3E%3Cmask id='s'%3E%3Crect width='1000' height='1000' fill='%23fff'/%3E%3Cg fill='%23000'%3E%3Cpath d='M800 67.8Q898 63.9 996 67.8Q898 71.6 800 67.8Z' fill-opacity='0.66'/%3E%3Cpath d='M66 937.1Q252 934.0 438 937.1Q252 940.2 66 937.1Z' fill-opacity='0.68'/%3E%3Cpath d='M745 42.9Q924 40.6 1103 42.9Q924 45.1 745 42.9Z' fill-opacity='0.74'/%3E%3Cpath d='M491 934.8Q558 932.7 624 934.8Q558 936.9 491 934.8Z' fill-opacity='0.68'/%3E%3Cpath d='M660 955.1Q837 953.9 1014 955.1Q837 956.3 660 955.1Z' fill-opacity='0.73'/%3E%3Cpath d='M579 74.4Q677 72.7 775 74.4Q677 76.1 579 74.4Z' fill-opacity='0.80'/%3E%3Cpath d='M568 61.0Q634 58.4 701 61.0Q634 63.5 568 61.0Z' fill-opacity='0.93'/%3E%3Cpath d='M61 49.9Q167 48.1 273 49.9Q167 51.7 61 49.9Z' fill-opacity='0.86'/%3E%3Cpath d='M289 917.7Q458 916.3 626 917.7Q458 919.1 289 917.7Z' fill-opacity='0.75'/%3E%3Cpath d='M691 947.7Q856 944.8 1021 947.7Q856 950.5 691 947.7Z' fill-opacity='0.69'/%3E%3Cpath d='M128 58.4Q237 56.0 346 58.4Q237 60.9 128 58.4Z' fill-opacity='0.81'/%3E%3Cpath d='M255 39.0Q458 37.5 661 39.0Q458 40.5 255 39.0Z' fill-opacity='0.56'/%3E%3Cpath d='M14 40.7Q126 38.3 239 40.7Q126 43.2 14 40.7Z' fill-opacity='0.62'/%3E%3Cpath d='M555 81.5Q659 80.0 762 81.5Q659 83.1 555 81.5Z' fill-opacity='0.72'/%3E%3Cpath d='M804 915.5Q954 911.7 1105 915.5Q954 919.2 804 915.5Z' fill-opacity='0.57'/%3E%3Cpath d='M192 944.0Q394 940.7 596 944.0Q394 947.3 192 944.0Z' fill-opacity='0.90'/%3E%3Cpath d='M748 50.5Q943 49.4 1137 50.5Q943 51.6 748 50.5Z' fill-opacity='0.95'/%3E%3Cpath d='M513 948.3Q715 945.3 916 948.3Q715 951.3 513 948.3Z' fill-opacity='0.79'/%3E%3Cpath d='M652 63.3Q807 62.3 962 63.3Q807 64.4 652 63.3Z' fill-opacity='0.72'/%3E%3Cpath d='M70 954.1Q124 952.1 177 954.1Q124 956.1 70 954.1Z' fill-opacity='0.62'/%3E%3Cpath d='M251 59.1Q442 55.3 634 59.1Q442 62.9 251 59.1Z' fill-opacity='0.82'/%3E%3Cpath d='M708 931.2Q782 930.2 857 931.2Q782 932.2 708 931.2Z' fill-opacity='0.61'/%3E%3Cpath d='M241 949.6Q440 948.0 639 949.6Q440 951.2 241 949.6Z' fill-opacity='0.66'/%3E%3Cpath d='M106 913.4Q229 910.0 352 913.4Q229 916.9 106 913.4Z' fill-opacity='0.56'/%3E%3Cpath d='M247 960.0Q414 958.8 582 960.0Q414 961.3 247 960.0Z' fill-opacity='0.79'/%3E%3Cpath d='M776 70.9Q859 68.5 942 70.9Q859 73.2 776 70.9Z' fill-opacity='0.85'/%3E%3Cpath d='M652 953.1Q808 951.0 964 953.1Q808 955.3 652 953.1Z' fill-opacity='0.70'/%3E%3Cpath d='M184 92.6Q346 89.4 507 92.6Q346 95.7 184 92.6Z' fill-opacity='0.66'/%3E%3Cpath d='M259 85.9Q344 83.5 429 85.9Q344 88.2 259 85.9Z' fill-opacity='0.58'/%3E%3Cpath d='M57 47.6Q171 46.1 284 47.6Q171 49.1 57 47.6Z' fill-opacity='0.64'/%3E%3Cpath d='M515 965.0Q636 963.1 757 965.0Q636 966.8 515 965.0Z' fill-opacity='0.58'/%3E%3Cpath d='M724 87.5Q766 85.1 808 87.5Q766 89.9 724 87.5Z' fill-opacity='0.79'/%3E%3Cpath d='M470 961.4Q566 960.3 662 961.4Q566 962.4 470 961.4Z' fill-opacity='0.85'/%3E%3Cpath d='M423 47.2Q534 43.8 646 47.2Q534 50.7 423 47.2Z' fill-opacity='0.94'/%3E%3Cpath d='M138 32.7Q183 30.5 228 32.7Q183 34.9 138 32.7Z' fill-opacity='0.78'/%3E%3Cpath d='M291 942.7Q424 939.7 557 942.7Q424 945.6 291 942.7Z' fill-opacity='0.85'/%3E%3Cpath d='M178 957.2Q313 954.5 448 957.2Q313 959.8 178 957.2Z' fill-opacity='0.75'/%3E%3Cpath d='M122 70.2Q250 66.8 378 70.2Q250 73.7 122 70.2Z' fill-opacity='0.84'/%3E%3Cpath d='M488 47.6Q641 45.4 795 47.6Q641 49.7 488 47.6Z' fill-opacity='0.77'/%3E%3Cpath d='M91 83.2Q166 79.4 241 83.2Q166 86.9 91 83.2Z' fill-opacity='0.62'/%3E%3Cpath d='M299 964.2Q364 963.0 428 964.2Q364 965.3 299 964.2Z' fill-opacity='0.74'/%3E%3Cpath d='M438 909.6Q563 908.0 687 909.6Q563 911.1 438 909.6Z' fill-opacity='0.85'/%3E%3Cpath d='M884 39.2Q1049 37.1 1214 39.2Q1049 41.2 884 39.2Z' fill-opacity='0.60'/%3E%3Cpath d='M11 925.2Q198 921.9 385 925.2Q198 928.6 11 925.2Z' fill-opacity='0.61'/%3E%3Cpath d='M149 73.0Q204 70.5 259 73.0Q204 75.5 149 73.0Z' fill-opacity='0.66'/%3E%3Cpath d='M66 88.0Q88 86.6 110 88.0Q88 89.4 66 88.0Z' fill-opacity='0.83'/%3E%3Cpath d='M893 298.0Q926 296.9 959 298.0Q926 299.1 893 298.0Z' fill-opacity='0.76'/%3E%3Cpath d='M798 734.0Q862 732.2 925 734.0Q862 735.8 798 734.0Z' fill-opacity='0.89'/%3E%3Cpath d='M882 272.0Q921 270.7 960 272.0Q921 273.3 882 272.0Z' fill-opacity='0.66'/%3E%3Cpath d='M889 695.0Q912 693.0 934 695.0Q912 697.0 889 695.0Z' fill-opacity='0.65'/%3E%3Cpath d='M58 873.0Q78 871.8 98 873.0Q78 874.2 58 873.0Z' fill-opacity='0.61'/%3E%3Cpath d='M927 884.0Q945 881.8 964 884.0Q945 886.2 927 884.0Z' fill-opacity='0.83'/%3E%3Cpath d='M56 718.0Q126 715.6 196 718.0Q126 720.4 56 718.0Z' fill-opacity='0.76'/%3E%3Cpath d='M41 760.0Q110 757.2 180 760.0Q110 762.8 41 760.0Z' fill-opacity='0.98'/%3E%3Cpath d='M53 910.0Q120 908.3 186 910.0Q120 911.7 53 910.0Z' fill-opacity='0.90'/%3E%3Cpath d='M21 473.0Q57 471.1 93 473.0Q57 474.9 21 473.0Z' fill-opacity='0.62'/%3E%3Cpath d='M829 733.0Q881 730.9 933 733.0Q881 735.1 829 733.0Z' fill-opacity='0.69'/%3E%3Cpath d='M66 295.0Q123 293.4 180 295.0Q123 296.6 66 295.0Z' fill-opacity='0.85'/%3E%3Cpath d='M872 211.0Q926 209.8 979 211.0Q926 212.2 872 211.0Z' fill-opacity='0.85'/%3E%3Cpath d='M76 71.0Q123 69.2 169 71.0Q123 72.8 76 71.0Z' fill-opacity='0.84'/%3E%3Cpath d='M45 582.0Q98 580.7 152 582.0Q98 583.3 45 582.0Z' fill-opacity='0.68'/%3E%3Cpath d='M54 273.0Q124 271.6 194 273.0Q124 274.4 54 273.0Z' fill-opacity='1.00'/%3E%3Cpath d='M854 914.0Q898 912.9 942 914.0Q898 915.1 854 914.0Z' fill-opacity='0.73'/%3E%3Cpath d='M936 341.0Q952 340.0 969 341.0Q952 342.0 936 341.0Z' fill-opacity='0.68'/%3E%3Cpath d='M909 346.0Q926 344.9 942 346.0Q926 347.1 909 346.0Z' fill-opacity='0.68'/%3E%3Cpath d='M887 691.0Q915 690.0 944 691.0Q915 692.0 887 691.0Z' fill-opacity='0.85'/%3E%3Cpath d='M60 125.0Q76 123.4 93 125.0Q76 126.6 60 125.0Z' fill-opacity='0.65'/%3E%3Cpath d='M891 622.0Q915 620.8 938 622.0Q915 623.2 891 622.0Z' fill-opacity='0.73'/%3E%3Cpath d='M826 119.0Q878 116.4 930 119.0Q878 121.6 826 119.0Z' fill-opacity='0.64'/%3E%3Cpath d='M819 279.0Q887 276.8 954 279.0Q887 281.2 819 279.0Z' fill-opacity='0.81'/%3E%3Cpath d='M110 53.0Q128 50.2 147 53.0Q128 55.8 110 53.0Z' fill-opacity='0.92'/%3E%3Cpath d='M58 763.0Q83 761.1 107 763.0Q83 764.9 58 763.0Z' fill-opacity='0.99'/%3E%3Cpath d='M45 264.0Q82 261.3 119 264.0Q82 266.7 45 264.0Z' fill-opacity='0.60'/%3E%3C/g%3E%3C/mask%3E%3Cpath d='M100 39 100 42 113 48 96 60 106 66 97 69 76 71 71 78 86 82 87 84 62 89 56 96 69 102 62 108 77 113 75 116 69 118 65 124 68 132 62 136 59 144 69 151 83 153 87 156 66 161 70 168 57 173 66 176 82 177 86 180 59 185 62 192 84 196 84 199 72 203 82 207 84 210 77 215 80 220 79 223 57 226 55 228 71 232 72 234 69 240 80 245 75 248 57 251 65 256 63 259 42 263 52 269 51 275 47 279 48 282 66 284 75 287 74 289 59 293 77 296 84 299 72 305 70 315 63 324 35 330 40 335 27 341 31 347 19 353 43 356 50 359 47 361 20 365 34 368 38 371 33 374 24 375 21 377 38 380 41 381 42 384 31 391 12 395 37 399 41 408 37 415 24 421 10 424 12 431 35 434 41 437 27 445 17 447 16 449 39 452 44 455 37 460 32 469 24 473 26 479 14 490 18 492 40 494 45 496 42 499 29 502 34 508 23 514 25 516 34 517 41 520 36 523 13 526 24 532 13 539 18 545 49 549 50 551 43 555 41 559 34 562 42 569 55 574 51 577 34 580 35 582 44 586 45 592 41 595 28 598 29 601 40 608 47 616 41 619 20 622 50 626 54 628 48 631 31 632 25 634 54 638 64 646 62 648 40 652 52 659 60 660 67 664 64 666 36 670 55 674 62 681 60 684 50 688 59 693 57 696 44 698 41 701 43 706 52 712 49 717 50 719 59 725 76 727 81 730 79 732 67 735 64 738 54 740 43 748 61 751 64 754 39 760 53 763 56 766 38 772 38 778 50 782 51 785 39 798 32 802 46 805 49 808 31 814 49 817 53 820 49 822 24 825 38 830 48 838 64 843 60 846 38 849 59 855 53 861 54 866 50 874 61 879 57 882 38 885 44 891 41 896 42 904 53 910 79 913 84 916 84 923 61 927 84 933 80 939 88 943 95 950 95 952 83 957 112 962 112 965 98 969 105 972 186 971 195 973 215 973 243 970 301 973 351 968 383 972 408 967 431 970 466 970 489 967 534 969 548 965 561 964 581 968 597 969 612 973 657 972 698 975 768 975 825 969 913 967 920 961 952 957 952 945 928 941 926 937 931 931 945 928 946 926 941 922 940 915 953 907 963 904 964 902 957 898 973 891 961 888 958 885 979 879 962 872 951 870 947 867 950 865 970 862 967 855 951 849 968 843 966 839 966 830 963 826 971 819 949 815 949 808 944 801 949 799 972 797 975 795 946 786 943 783 949 780 957 779 958 777 955 771 962 767 962 765 945 760 946 758 956 754 930 750 926 747 945 742 915 736 921 733 942 730 920 724 924 721 937 718 934 714 935 711 954 707 962 700 940 697 932 694 940 691 962 689 964 686 959 681 931 678 927 675 926 667 928 662 947 658 922 655 914 652 926 644 950 640 944 633 931 631 927 628 936 620 953 616 941 613 937 610 951 598 942 592 931 588 930 586 960 580 948 576 947 568 942 562 928 558 923 551 921 545 922 543 940 540 943 538 925 533 927 530 937 526 924 523 921 520 917 506 917 502 924 498 928 492 922 484 931 481 943 480 946 478 947 474 946 472 927 470 917 467 924 458 932 453 942 450 947 443 944 441 928 439 925 436 937 429 953 425 941 417 932 415 925 407 928 398 932 393 956 389 933 383 937 380 949 377 932 373 930 371 932 369 947 366 959 359 953 356 945 355 937 347 943 344 958 342 963 336 962 334 946 332 940 329 943 327 973 323 975 305 957 302 951 299 954 297 977 293 968 286 957 283 948 275 974 269 961 264 974 246 973 244 961 239 970 234 969 228 966 226 953 224 949 221 958 213 976 209 968 203 976 197 955 193 953 191 969 179 963 173 949 171 942 168 944 165 968 156 966 154 950 151 950 148 970 144 961 137 931 133 926 125 930 118 944 114 925 108 925 101 933 96 933 90 938 87 956 84 938 80 935 78 933 73 937 64 952 60 929 56 926 52 931 46 953 42 938 44 919 39 877 39 848 43 829 39 817 39 800 43 753 44 700 38 684 43 670 43 650 38 611 35 590 29 581 29 568 32 551 32 534 29 489 30 479 28 438 30 416 36 404 36 388 31 380 31 351 40 323 36 297 44 254 43 245 41 225 41 212 44 201 44 179 40 157 43 136 43Z' fill='%23fff' mask='url(%23s)'/%3E%3C/svg%3E");   /* square brush */
    width: 100%;
    max-width: 580px;
    margin: 0;
  }

}

/* homepage on tablets and phones: no search in the navbar (it is above the slides),
   so the navbar is one line only */
@media (max-width: 991.98px) {
  body[data-page="home"]:not(.is-products) .main-nav .nav-search { display: none; }
  body[data-page="home"]:not(.is-products) .nav-bar { grid-template-areas: "logo . actions burger"; }
  html:has(body[data-page="home"]:not(.is-products)) { scroll-padding-top: 90px; }
}

/* the search bar under "What are you looking for?": centered */
.see-all .hero-search { margin: 0 auto; }

/* two buttons side by side (used in the About section) */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.4rem;
}


/* ---------- 7b. Connect (blue, under the hero) ----------
   White text on the left; on the right a photo that fills the right part
   of the section from the top to the bottom and to the right edge of the screen. */
.connect {
  --connect-blue: #1E4E8C;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  background: var(--connect-blue);
}
.connect .container { position: relative; z-index: 1; }

/* the photo: the right part, top to bottom, to the edge */
.connect-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background: #23579A;   /* shows while the photo is loading */
}
.connect-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* the text: the whole left half (up to a small space before the photo),
   with less empty space at the top and the bottom */
.connect-text {
  max-width: calc(50vw - clamp(1rem, 3vw, 3rem) - clamp(2rem, 4vw, 4rem));
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}
/* the big title: white, with a yellow brush stroke under it (like the line of the Gura Local logo) */
.connect-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 4.2rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  text-wrap: pretty;
}
.connect-title::after {
  content: "";
  display: block;
  width: clamp(180px, 18vw, 270px);
  height: clamp(26px, 2.6vw, 40px);
  margin-top: 1rem;
  /* a yellow BRUSH stroke: frayed on the left, dry-brush lines inside,
     thick and round on the right (a small drawing written in the CSS, no image file).
     The thin lines inside use the blue of this section (#1E4E8C). */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 44'%3E%3Cpath fill='%23F7BB01' d='M10 30 C 40 25.5 64 22.8 90 20.4 C 150 14.8 210 8.6 284 3 C 299 2.5 300 20 288 21 C 230 24.2 170 27.6 120 31 C 82 33.6 46 36.4 12 39 C 4 39.5 3 31 10 30 Z'/%3E%3Cg fill='none' stroke='%231E4E8C' stroke-linecap='round'%3E%3Cpath d='M12 33.5 C 70 26.5 130 20.6 196 15.5' stroke-width='.9' stroke-dasharray='58 4 31 9 12 60'/%3E%3Cpath d='M18 36.2 C 84 30.4 150 24.6 232 19.3' stroke-width='.8' stroke-dasharray='22 3 64 7 18 80'/%3E%3Cpath d='M30 31.2 C 92 24.4 150 17.6 214 11.6' stroke-width='.7' stroke-dasharray='70 12 24 80'/%3E%3Cpath d='M16 37.8 C 60 34.6 100 31.6 150 28.4' stroke-width='.8' stroke-dasharray='40 5 30 40'/%3E%3Cpath d='M150 18.6 C 190 15.8 230 13 262 11.2' stroke-width='.6' stroke-dasharray='34 18 20'/%3E%3C/g%3E%3Cg fill='none' stroke='%23F7BB01' stroke-linecap='round'%3E%3Cpath d='M12 31.2 L 1 33.4' stroke-width='1.6'/%3E%3Cpath d='M12 34.6 L 0 37.2' stroke-width='1.3'/%3E%3Cpath d='M14 37.8 L 4 40.6' stroke-width='1.1'/%3E%3Cpath d='M20 39 L 12 42' stroke-width='.9'/%3E%3C/g%3E%3C/svg%3E") left center / 100% 100% no-repeat;
}
/* "local business" in yellow */
.connect-title-hl { color: var(--yellow); }

.connect-lead {
  margin: 1.5rem 0 0;
  font-size: clamp(1.08rem, 1.3vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, .85);
}
.connect-lead-2 { margin-top: .8rem; }
/* "WhatsApp, phone or email" in yellow */
.connect-hl { font-weight: 700; color: var(--yellow); }

/* the button */
.connect-buttons { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.connect-btn {
  display: inline-flex;
  align-items: center;
  padding: .95rem 1.8rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--pill);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.connect-btn:hover { transform: translateY(-2px); }
.connect-btn-main { color: var(--light-text); background: var(--yellow); }
.connect-btn-main:hover { color: var(--light-text); background: #FFD23F; }
.connect-btn-line { color: #FFFFFF; border: 2px solid rgba(255, 255, 255, .7); }
.connect-btn-line:hover { color: var(--connect-blue); background: #FFFFFF; border-color: #FFFFFF; }

/* tablets and phones: the photo on top (full width), the text under it */
@media (max-width: 991.98px) {
  .connect { display: flex; flex-direction: column; }
  .connect-media { position: relative; width: 100%; height: clamp(240px, 56vw, 440px); }
  .connect-text { max-width: none; padding: 2.2rem 0 2.8rem; }
}
@media (max-width: 575.98px) {
  .connect-btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- 8. Imigongo band (zigzag in logo colors) ---------- */
.imigongo { line-height: 0; }

.zigzag {
  --zz-front: var(--black);
  --zz-back: var(--yellow);
  height: 16px;
  background:
    linear-gradient(135deg, var(--zz-front) 25%, transparent 25%) -8px 0,
    linear-gradient(225deg, var(--zz-front) 25%, transparent 25%) -8px 0,
    linear-gradient(315deg, var(--zz-front) 25%, transparent 25%),
    linear-gradient(45deg,  var(--zz-front) 25%, transparent 25%);
  background-size: 16px 16px;
  background-color: var(--zz-back);
}
.zigzag-green  { --zz-back: var(--green); }
.zigzag-blue   { --zz-back: var(--blue); }
.zigzag-sun    { --zz-back: var(--yellow); }
.zigzag-footer { --zz-back: var(--yellow); }


/* ---------- 8b. Highlights (under the hero: Hybrid, Categories, 1000+ products) ---------- */
.highlights {
  padding: 3rem 0;
  background: var(--black);
}

/* 3 items in a row: icon + title, no card around them */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  align-items: center;
  justify-content: space-around;
  gap: 1.5rem;
}
.highlight {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.highlight-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  font-size: 1.5rem;
  color: var(--on-c);
  background: var(--c);
  border-radius: 50%;
}
.highlight-title {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

/* tablets: a little smaller so all 3 stay on one line */
@media (max-width: 991.98px) {
  .highlight { gap: .75rem; }
  .highlight-icon { width: 52px; height: 52px; font-size: 1.3rem; }
  .highlight-title { font-size: 1.3rem; }
}

/* phones and small tablets: 3 small items side by side, icon above the title */
@media (max-width: 767.98px) {
  .highlights { padding: 2.2rem 0; }
  .highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .8rem;
  }
  .highlight {
    flex-direction: column;
    gap: .6rem;
    text-align: center;
  }
  .highlight-icon { width: 50px; height: 50px; font-size: 1.2rem; }
  .highlight-title { font-size: 1rem; white-space: normal; }
}


/* ---------- 9. Sections ---------- */
.section { padding: 5rem 0; }
.bg-surface { background: var(--surface); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.4rem;
}
.section-head h2 {
  margin: 0 0 .4rem;
  font-size: clamp(2rem, 4vw, 2.7rem);
}

/* small 4-color bar above every section title */
.section-head h2::before {
  content: "";
  display: block;
  width: 72px;
  height: 6px;
  margin-bottom: .9rem;
  background: var(--logo-stripe);
  border-radius: var(--pill);
}
.section-head p {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
}

.section-head-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-head-center h2::before { margin-left: auto; margin-right: auto; }

.see-all {
  display: flex;
  justify-content: center;
  margin-top: 2.6rem;
}


/* ---------- 10. About Gura Local ---------- */
.about-photo {
  position: relative;
  padding: 0 0 2rem 2rem;
}

/* logo squares peeking out behind the photo */
.about-photo::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60%;
  height: 60%;
  background:
    linear-gradient(var(--green), var(--green)) 0 0 / 49% 49% no-repeat,
    linear-gradient(var(--yellow), var(--yellow)) 100% 0 / 49% 49% no-repeat,
    linear-gradient(var(--blue), var(--blue)) 0 100% / 49% 49% no-repeat,
    linear-gradient(var(--green), var(--green)) 100% 100% / 49% 49% no-repeat;
  border-radius: var(--radius-lg);
}

.about-photo .img-wrap {
  position: relative;
  height: 460px;
  border-radius: var(--radius-lg);
}

.about-quote {
  position: absolute;
  right: -10px;
  top: 28px;
  padding: .9rem 1.2rem;
  color: var(--on-color);
  background: var(--yellow);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}
.about-quote strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.1;
}
.about-quote span { font-size: .9rem; font-weight: 600; }

.about-head { margin-bottom: 1.2rem; }

.about-lead {
  font-size: 1.2rem;
  color: var(--white);
}
.about-text { color: var(--muted); }

.about-points {
  display: grid;
  gap: .8rem;
  margin: 1.6rem 0 .4rem;
  padding: 0;
  list-style: none;
}
.about-points li {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: .9rem 1rem;
  background: var(--black);
  border-left: 5px solid var(--c);
  border-radius: 0;
}
.about-points i {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  color: var(--on-c, var(--on-color));
  background: var(--c);
  border-radius: 50%;
}
.about-points strong {
  display: block;
  color: var(--white);
}
.about-points span {
  font-size: .95rem;
  color: var(--muted);
}


/* ---------- 10b. "What are you looking for?": categories (left) + product cards (right) ----------
   Colors: a light beige page (the family of the hero), a deep blue panel for the
   categories, yellow for the category you chose, green / blue / yellow badges,
   and white cards with real photos. */
.catalog,
.pd {
  --cx-bg: #F6F1E8;        /* light beige: the section */
  --cx-card: #FFFFFF;      /* the cards */
  --cx-line: #E8DFCF;      /* thin warm borders */
  --cx-text: var(--light-text);
  --cx-muted: #6E6355;
  --cx-blue: #1E4E8C;      /* the panel on the left */
  --cx-blue-2: #2A5E9F;    /* lighter blue inside the panel */
  --cx-yellow: #F7BB01;
  --cx-green: #1F7A4D;
  color: var(--cx-text);
  background: var(--cx-bg);
  color-scheme: light;     /* the select and the checkboxes use their light look */
}

/* title of the section (with a short yellow brush under it) and the search on the right */
.cx-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  grid-template-areas:
    "title search"
    "text  text";   /* the sentence uses the whole width: one line on computers */
  align-items: center;      /* the search is level with the title */
  column-gap: 3rem;
  margin-bottom: 2.8rem;
}
.cx-head h2 {
  grid-area: title;
  justify-self: start;
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--cx-text);
}
/* "connect." in the title, in blue */
.cx-head h2 .cx-wa { color: var(--cx-blue); }

/* the yellow brush stroke under the title (the same brush as the blue section;
   its thin lines use the beige of this section, #F6F1E8) */
.cx-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(100% + .55rem);   /* under the letters, never touching them */
  width: clamp(160px, 15vw, 220px);
  height: clamp(24px, 2.2vw, 32px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 44'%3E%3Cpath fill='%23F7BB01' d='M10 30 C 40 25.5 64 22.8 90 20.4 C 150 14.8 210 8.6 284 3 C 299 2.5 300 20 288 21 C 230 24.2 170 27.6 120 31 C 82 33.6 46 36.4 12 39 C 4 39.5 3 31 10 30 Z'/%3E%3Cg fill='none' stroke='%23F6F1E8' stroke-linecap='round'%3E%3Cpath d='M12 33.5 C 70 26.5 130 20.6 196 15.5' stroke-width='.9' stroke-dasharray='58 4 31 9 12 60'/%3E%3Cpath d='M18 36.2 C 84 30.4 150 24.6 232 19.3' stroke-width='.8' stroke-dasharray='22 3 64 7 18 80'/%3E%3Cpath d='M30 31.2 C 92 24.4 150 17.6 214 11.6' stroke-width='.7' stroke-dasharray='70 12 24 80'/%3E%3Cpath d='M16 37.8 C 60 34.6 100 31.6 150 28.4' stroke-width='.8' stroke-dasharray='40 5 30 40'/%3E%3Cpath d='M150 18.6 C 190 15.8 230 13 262 11.2' stroke-width='.6' stroke-dasharray='34 18 20'/%3E%3C/g%3E%3Cg fill='none' stroke='%23F7BB01' stroke-linecap='round'%3E%3Cpath d='M12 31.2 L 1 33.4' stroke-width='1.6'/%3E%3Cpath d='M12 34.6 L 0 37.2' stroke-width='1.3'/%3E%3Cpath d='M14 37.8 L 4 40.6' stroke-width='1.1'/%3E%3Cpath d='M20 39 L 12 42' stroke-width='.9'/%3E%3C/g%3E%3C/svg%3E") left center / 100% 100% no-repeat;
}
.cx-head p {
  grid-area: text;
  margin: 2.8rem 0 0;   /* room for the brush line under the title */
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--cx-muted);
}

/* two columns: the list on the left, the cards on the right */
.cx-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 3vw, 3rem);
}

/* the search: a white pill with a blue "Search" button inside */
.cx-search {
  position: relative;
  display: flex;
  align-items: center;
  grid-area: search;
  width: 100%;
  min-width: 0;
  height: 62px;
  padding: 6px;
  background: #FFFFFF;
  border: 2px solid var(--cx-line);
  border-radius: var(--pill);
  box-shadow: 0 18px 36px -22px rgba(60, 40, 20, .55);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cx-search:focus-within {
  border-color: var(--cx-blue);
  box-shadow: 0 0 0 5px rgba(30, 78, 140, .12), 0 18px 36px -22px rgba(60, 40, 20, .55);
}
.cx-search input {
  flex: 1;
  width: 0;        /* takes the room that is left, never more */
  min-width: 0;
  height: 100%;
  padding: 0 1rem 0 1.2rem;
  font: inherit;
  font-size: 1rem;
  color: var(--cx-text);
  background: transparent;
  border: 0;
  outline: 0;
}
.cx-search input::placeholder { color: #9A8F80; }
.cx-search input::-webkit-search-cancel-button { display: none; }
.cx-search-clear {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-right: .5rem;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--cx-text);
  background: #F3EDE3;
  border: 0;
  border-radius: 50%;
}
.cx-search-clear:hover { background: #E8DFCF; }
/* the button: blue, turns yellow under the mouse, the glass moves a little */
.cx-search-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
  height: 100%;
  padding: 0 1.5rem 0 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  background: linear-gradient(135deg, #2F6DB5 0%, var(--cx-blue) 100%);
  border: 0;
  border-radius: var(--pill);
  box-shadow: 0 8px 18px -8px rgba(30, 78, 140, .8);
  transition: background .25s ease, color .25s ease, transform .2s ease;
}
.cx-search-btn i { font-size: 1.05rem; transition: transform .25s ease; }
.cx-search-btn:hover {
  color: var(--cx-text);
  background: var(--cx-yellow);
  box-shadow: 0 8px 18px -8px rgba(160, 120, 0, .8);
}
.cx-search-btn:hover i { transform: rotate(-12deg) scale(1.12); }
.cx-search-btn:active { transform: scale(.97); }

/* --- left side: one deep blue panel --- */
.cx-side {
  position: sticky;
  top: 96px;   /* stays in view under the navbar while the cards scroll */
  overflow: hidden;
  color: #FFFFFF;
  background: var(--cx-blue);
  border-radius: 22px;
  box-shadow: 0 24px 48px -28px rgba(20, 50, 90, .6);
}
.cx-panel { padding: 1.3rem 1.1rem; }
.cx-side-title {
  margin: 0 0 .8rem;
  padding: 0 .4rem;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

/* "Categories" + (phones only) "Swipe to see more" */
.cx-side-head { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; }
.cx-swipe { display: none; }

/* the categories */
.cx-cats {
  display: grid;
  gap: .2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cx-cat {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  padding: .45rem .55rem;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  color: #FFFFFF;
  background: transparent;
  border: 0;
  border-radius: 14px;
  transition: background .2s ease, color .2s ease;
}
.cx-cat:hover { background: rgba(255, 255, 255, .1); }

/* the small round icon of each category: a yellow icon on a soft white circle.
   The icons are Bootstrap Icons, chosen in js/script.js (CX_CATEGORIES, "icon") */
.cx-thumb {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--cx-yellow);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cx-cat:hover .cx-thumb { background: rgba(255, 255, 255, .2); }
.cx-cat-count {
  margin-left: auto;
  padding: .12rem .55rem;
  font-size: .75rem;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(255, 255, 255, .14);
  border-radius: var(--pill);
}
/* the category you chose: yellow (its icon: yellow on a blue circle) */
.cx-cat.is-active {
  font-weight: 700;
  color: var(--cx-text);
  background: var(--cx-yellow);
}
.cx-cat.is-active .cx-thumb { color: var(--cx-yellow); background: var(--cx-blue); border-color: var(--cx-blue); }
.cx-cat.is-active .cx-cat-count { color: var(--cx-text); background: rgba(255, 255, 255, .55); }

/* the filters (they open and close), a lighter blue under the categories */
.cx-filters { background: var(--cx-blue-2); }
.cx-filters summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  list-style: none;
  cursor: pointer;
}
.cx-filters summary::-webkit-details-marker { display: none; }
/* a small arrow drawn with two borders */
.cx-summary-arrow {
  width: 9px;
  height: 9px;
  margin-right: .3rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform .25s ease;
}
.cx-filters[open] .cx-summary-arrow { transform: rotate(-135deg) translateY(-2px); }

.cx-filter {
  margin-top: 1rem;
  padding: 1rem .4rem 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.cx-filter-title {
  display: block;
  margin: 0 0 .55rem;
  font-size: .9rem;
  font-weight: 700;
  color: #FFFFFF;
}
.cx-select {
  width: 100%;
  padding: .62rem .8rem;
  font: inherit;
  font-size: .95rem;
  color: var(--cx-text);
  background: #FFFFFF;
  border: 0;
  border-radius: 12px;
}
.cx-select:focus { outline: 3px solid var(--cx-yellow); outline-offset: 1px; }
.cx-note { margin: .55rem 0 0; font-size: .85rem; color: rgba(255, 255, 255, .8); }
.cx-note strong { color: var(--cx-yellow); }
.cx-check {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-top: .6rem;
  font-size: .92rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, .92);
  cursor: pointer;
}
.cx-check input {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: .1rem;
  accent-color: var(--cx-yellow);
}
.cx-clear {
  margin-top: 1.2rem;
  padding: .5rem 1.1rem;
  font-size: .88rem;
  font-weight: 700;
  color: #FFFFFF;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: var(--pill);
  transition: background .2s ease, color .2s ease;
}
.cx-clear:hover { color: var(--cx-blue); background: #FFFFFF; }

/* --- right side --- */
.cx-results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  margin-bottom: 1.4rem;
}
.cx-results-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 800;
  color: var(--cx-text);
}
.cx-results-about { margin: .3rem 0 0; color: var(--cx-muted); }
.cx-total {
  margin: 0;
  padding: .35rem .9rem;
  font-size: .9rem;
  color: var(--cx-muted);
  background: #FFFFFF;
  border: 1px solid var(--cx-line);
  border-radius: var(--pill);
}
.cx-total strong { color: var(--cx-text); }

/* the cards */
.cx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 1.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cx-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--cx-card);
  border: 1px solid var(--cx-line);
  border-radius: 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cx-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 40px -22px rgba(60, 40, 20, .45);
}

/* the photo. Until the photo is there: the name of the product on a color */
.cx-media {
  display: block;
  text-decoration: none;   /* the photo is a link to the product page */
  --tint-bg: #2F6DB5;   /* blue */
  --tint-ink: #FFFFFF;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #EFE8DC;
}
.cx-media[data-tint="1"] { --tint-bg: #1F7A4D; --tint-ink: #FFFFFF; }   /* green */
.cx-media[data-tint="2"] { --tint-bg: #F7BB01; --tint-ink: #1F1A15; }   /* yellow */
.cx-media[data-tint="3"] { --tint-bg: #D9C8A9; --tint-ink: #1F1A15; }   /* beige */
.cx-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.cx-card:hover .cx-media img { transform: scale(1.05); }
.cx-media-name { display: none; }
.cx-media.is-missing {
  display: flex;
  align-items: flex-end;
  padding: 1.1rem 1.1rem 1rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .22) 0 22%, transparent 23%),
    var(--tint-bg);
}
.cx-media.is-missing .cx-media-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--tint-ink);
  text-wrap: balance;
}
.cx-media-cat {
  position: absolute;
  top: .75rem;
  left: .75rem;
  max-width: calc(100% - 1.5rem);
  overflow: hidden;
  padding: .28rem .65rem;
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--cx-text);
  background: rgba(255, 255, 255, .94);
  border-radius: var(--pill);
}

/* the text of the card */
.cx-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .5rem;
  padding: 1.05rem 1.15rem 1.2rem;
}
.cx-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--cx-text);
}
.cx-title a { color: inherit; text-decoration: none; }
.cx-title a:hover { color: var(--cx-blue); }
.cx-company { margin: -.2rem 0 0; font-size: .82rem; font-weight: 600; color: var(--cx-blue); }
/* the names under the product name: "Brand" (if any) and "Company", each with a small grey label */
.cx-names { display: grid; gap: .15rem; margin: -.15rem 0 0; font-size: .84rem; line-height: 1.4; }
.cx-names div { display: flex; flex-wrap: wrap; gap: .1rem .4rem; min-width: 0; }
.cx-names dt { font-weight: 500; color: var(--cx-muted); }
.cx-names dt::after { content: ":"; }
.cx-names dd { margin: 0; min-width: 0; font-weight: 700; color: var(--cx-text); }
.cx-names a { color: var(--cx-blue); text-decoration: none; }   /* the company name opens its page */
.cx-names a:hover { text-decoration: underline; }
.cx-company a { color: var(--cx-blue); text-decoration: none; }   /* the vendor name opens its page */
.cx-company a:hover { color: var(--cx-blue); text-decoration: underline; }
/* the description of the product: one line on the card ("..." when it is longer) */
.cx-text {
  margin: 0;
  overflow: hidden;
  font-size: .92rem;
  line-height: 1.5;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--cx-muted);
}
.cx-place { margin: 0; font-size: .84rem; color: var(--cx-muted); }
.cx-place strong { font-weight: 600; color: var(--cx-text); }

/* badges: export-ready (green), S-Mark (blue), Made in Rwanda (yellow) */
.cx-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: .15rem 0 0;
  padding: 0;
  list-style: none;
}
.cx-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .25rem .6rem;
  font-size: .72rem;
  font-weight: 700;
  border-radius: var(--pill);
}
.cx-badge::before {   /* a small dot of the badge color */
  content: "";
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
}
.cx-badge-export { color: #17633D; background: #E3F2E9; }
.cx-badge-smark  { color: #1E4E8C; background: #E5EEF9; }
.cx-badge-mir    { color: #7A5A00; background: #FDF1CC; }
/* the certificates (S-Mark and Made in Rwanda): a small icon instead of the dot */
.cx-badge-mir::before,
.cx-badge-smark::before { display: none; }
.cx-badge-mir i,
.cx-badge-smark i { font-size: .85rem; line-height: 1; }
/* on the vendor page, the badge sits under the product name */
.vd-product-text .cx-badges { margin: 0; }
.vd-product-text .cx-badge { font-size: .8rem; padding: .3rem .75rem; }

/* bottom of the card: "Contact us", the social media buttons, then the button to the company page */
.cx-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .55rem;
  margin-top: auto;
  padding-top: .8rem;
  border-top: 1px solid #F1EBE0;
}
.cx-contact-title {
  margin: 0;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cx-muted);
}
.cx-socials { display: flex; flex-wrap: wrap; gap: .3rem; }
/* each network in its own real color, white icon */
.cx-social {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: .9rem;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .5);
  transition: transform .2s ease, filter .2s ease;
}
.cx-social:hover { color: #FFFFFF; transform: translateY(-3px) scale(1.06); filter: brightness(1.1); }
.cx-social-whatsapp  { background: #25D366; }
.cx-social-phone     { background: #1E4E8C; }
.cx-social-email     { background: #EA4335; }
.cx-social-instagram { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.cx-social-tiktok    { background: #010101; box-shadow: -1.5px -1.5px 0 #25F4EE inset, 1.5px 1.5px 0 #FE2C55 inset; }
.cx-social-x         { background: #000000; }
.cx-read {
  padding: .6rem 1rem;
  font-size: .86rem;
  font-weight: 700;
  text-align: center;
  color: #FFFFFF;
  text-decoration: none;
  background: var(--cx-blue);
  border-radius: var(--pill);
  transition: background .2s ease;
}
.cx-read:hover { color: #FFFFFF; background: var(--action); }

.cx-link {
  align-self: flex-start;
  margin-top: auto;
  padding: .45rem 1rem;
  font-size: .86rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  background: var(--cx-blue);
  border-radius: var(--pill);
  transition: background .2s ease;
}
.cx-link:hover { color: #FFFFFF; background: var(--action); }
.cx-body .cx-badges + .cx-link,
.cx-body .cx-place + .cx-link { margin-top: auto; }

/* nothing found */
.cx-empty {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--cx-muted);
  background: #FFFFFF;
  border: 1px dashed #D6CAB6;
  border-radius: 20px;
}
.cx-empty p { margin: 0 0 .4rem; font-weight: 600; }
.cx-empty .cx-clear { color: var(--cx-text); border-color: #D6CAB6; }
.cx-empty .cx-clear:hover { color: #FFFFFF; background: var(--cx-blue); border-color: var(--cx-blue); }

/* "Show more" */
.cx-more-wrap { margin-top: 2rem; text-align: center; }
.cx-more {
  padding: .8rem 2rem;
  font-weight: 700;
  color: var(--cx-text);
  background: var(--cx-yellow);
  border: 0;
  border-radius: var(--pill);
  box-shadow: 0 10px 20px -12px rgba(160, 120, 0, .7);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cx-more:hover { transform: translateY(-2px); box-shadow: 0 14px 24px -12px rgba(160, 120, 0, .8); }

/* --- tablets and phones (under 992px): one column.
   The blue panel becomes a band with the categories you slide sideways;
   the filters are closed (one tap to open them). --- */
@media (max-width: 991.98px) {
  .cx-layout { grid-template-columns: minmax(0, 1fr); }
  .cx-side { position: static; min-width: 0; border-radius: 18px; }
  .cx-side > * { min-width: 0; }   /* the row of categories slides inside, never wider than the screen */
  .cx-panel { padding: 1rem; }
  .cx-cats {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding-bottom: .7rem;
    /* a visible yellow scroll bar, so people see they can slide */
    scrollbar-width: thin;
    scrollbar-color: var(--cx-yellow) rgba(255, 255, 255, .15);
    /* the last categories fade on the right: there is more to see */
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
            mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .cx-cats::-webkit-scrollbar { height: 6px; }
  .cx-cats::-webkit-scrollbar-track { background: rgba(255, 255, 255, .15); border-radius: 6px; }
  .cx-cats::-webkit-scrollbar-thumb { background: var(--cx-yellow); border-radius: 6px; }

  /* "Swipe to see more →", with the arrow moving softly */
  .cx-swipe {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: .8rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--cx-yellow);
    white-space: nowrap;
  }
  .cx-swipe-arrow { display: inline-block; animation: cx-swipe 1.4s ease-in-out infinite; }
  .cx-cat {
    width: auto;
    padding: .35rem .8rem .35rem .4rem;
    white-space: nowrap;
    background: rgba(255, 255, 255, .1);
    border-radius: var(--pill);
  }
  .cx-thumb { width: 30px; height: 30px; font-size: .95rem; }
  .cx-results { scroll-margin-top: 100px; }
}
@keyframes cx-swipe {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}
@media (prefers-reduced-motion: reduce) {
  .cx-swipe-arrow { animation: none; }
}

/* phones (under 768px): the search sits just above the cards */
.cx-search-spot .cx-search { margin: 0 0 1.3rem; max-width: none; }

/* phones: smaller cards, two on a row when there is room */
/* tablets (under 992px): title, sentence and search one under the other;
   the cards two on a row */
@media (max-width: 991.98px) {
  .cx-head {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "text" "search";
  }
  .cx-search { max-width: 600px; margin-top: 1.6rem; }
  .cx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* phones (under 576px): ONE card on each row, full width, easy to read */
@media (max-width: 575.98px) {
  .cx-head { margin-bottom: 2rem; }
  .cx-head p { margin-top: 2.4rem; font-size: 1rem; }
  .cx-search { height: 56px; }
  .cx-search-btn { padding: 0 1.1rem; }
  .cx-search-btn span { display: none; }   /* only the glass on small phones */

  .cx-grid { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .cx-media { aspect-ratio: 16 / 10; }
  .cx-body { padding: 1rem 1.1rem 1.15rem; }
  .cx-media.is-missing .cx-media-name { font-size: 1.6rem; }
  .cx-social { width: 34px; height: 34px; font-size: 1rem; }   /* bigger, easy to tap */
}


/* ---------- 10b2. Product page (product.html) ---------- */
.pd {
  min-height: 70vh;
  padding: 2.2rem 0 5rem;
  color: var(--cx-text);
  background: var(--cx-bg);
  color-scheme: light;
}
.pd-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.8rem;
  font-size: .9rem;
  color: var(--cx-muted);
}
.pd-crumbs a { color: var(--cx-blue); text-decoration: none; font-weight: 600; }
.pd-crumbs a:hover { text-decoration: underline; }

/* top: photos and main information */
.pd-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 4rem);
}
.pd-photo {
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  box-shadow: 0 30px 60px -34px rgba(60, 40, 20, .6);
}
.pd-photo.is-missing { padding: 2rem; }
.pd-photo.is-missing .cx-media-name { font-size: clamp(2rem, 4vw, 3.2rem); }
.pd-thumbs { display: flex; gap: .7rem; margin-top: .9rem; }
.pd-thumb {
  width: 78px;
  height: 78px;
  padding: 0;
  overflow: hidden;
  background: #FFFFFF;
  border: 3px solid transparent;
  border-radius: 14px;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.is-active { border-color: var(--cx-blue); }

.pd-cat {
  display: inline-block;
  margin: 0 0 1rem;
  padding: .3rem .8rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--cx-text);
  background: var(--cx-yellow);
  border-radius: var(--pill);
}
.pd-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--cx-text);
}
.pd-company { margin: .7rem 0 0; font-size: 1.05rem; font-weight: 700; color: var(--cx-blue); }
.pd-about { margin: 1rem 0 0; font-size: 1.15rem; line-height: 1.6; color: var(--cx-muted); }
.pd-badges { margin-top: 1.1rem; }
.pd-badges .cx-badge { font-size: .8rem; padding: .35rem .8rem; }

/* contact buttons */
.pd-reach {
  margin-top: 1.8rem;
  padding: 1.3rem;
  background: #FFFFFF;
  border: 1px solid var(--cx-line);
  border-radius: 22px;
}
.pd-reach-title {
  margin: 0 0 .9rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cx-muted);
}
.pd-contacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .6rem; }
.pd-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 14px;
  transition: transform .2s ease, filter .2s ease;
}
.pd-contact:hover { color: #FFFFFF; transform: translateY(-2px); filter: brightness(1.08); }
.pd-contact i { font-size: 1.15rem; }
.pd-contact-whatsapp  { background: #1DA851; }
.pd-contact-phone     { background: #1E4E8C; }
.pd-contact-email     { background: #EA4335; }
.pd-contact-instagram { background: linear-gradient(45deg, #FA7E1E, #D62976, #962FBF); }
.pd-contact-facebook  { background: #1877F2; }
.pd-contact-tiktok    { background: #010101; }
.pd-contact-x         { background: #111111; }
.pd-contact-linkedin  { background: #0A66C2; }
.pd-contact-website   { color: var(--cx-text); background: #E9DFCC; }
.pd-contact-website:hover { color: var(--cx-text); }

/* middle: about the product and the business */
.pd-details {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.pd-card {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: #FFFFFF;
  border: 1px solid var(--cx-line);
  border-radius: 24px;
}
.pd-card h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cx-text);
}
.pd-text p { margin: 0 0 .8rem; font-size: 1.02rem; line-height: 1.7; color: var(--cx-muted); }
.pd-text strong { color: var(--cx-text); }
.pd-facts { margin: 1.2rem 0 0; }
.pd-fact {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 1rem;
  padding: .85rem 0;
  border-top: 1px solid #F1EBE0;
}
.pd-fact dt { font-weight: 700; color: var(--cx-text); }
.pd-fact dd { margin: 0; color: var(--cx-muted); }

/* the business: a deep blue card */
.pd-biz { color: #FFFFFF; background: var(--cx-blue); border: 0; }
.pd-biz h2 { color: rgba(255, 255, 255, .7); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.pd-biz-name { margin: 0 0 .8rem; font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; line-height: 1.15; }
.pd-biz .pd-text p { color: rgba(255, 255, 255, .85); }
.pd-biz .pd-text strong { color: #FFFFFF; }
.pd-biz-socials { margin-top: 1.2rem; gap: .45rem; }
.pd-biz-socials .cx-social { width: 40px; height: 40px; font-size: 1.1rem; box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }

/* bottom: more products */
.pd-more-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 3.5rem 0 1.4rem;
}
.pd-more-head h2 { margin: 0; font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--cx-text); }
.pd-back {
  display: inline-block;
  padding: .55rem 1.2rem;
  font-weight: 700;
  color: var(--cx-blue);
  text-decoration: none;
  border: 2px solid var(--cx-blue);
  border-radius: var(--pill);
  transition: background .2s ease, color .2s ease;
}
.pd-back:hover { color: #FFFFFF; background: var(--cx-blue); }

.pd-missing { text-align: center; padding: 6rem 0; }
.pd-missing h1 { font-family: var(--font-display); font-weight: 800; color: var(--cx-text); }
.pd-missing p { margin: .6rem 0 1.6rem; color: var(--cx-muted); }

@media (max-width: 991.98px) {
  .pd-top, .pd-details { grid-template-columns: minmax(0, 1fr); }
  .pd-details { margin-top: 2.2rem; }
}
@media (max-width: 575.98px) {
  .pd-fact { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .pd-thumb { width: 64px; height: 64px; }
}

/* ---------- 10b2b. Vendor page (vendor.html) ----------
   Top: blue, who the vendor is and how to reach them.
   Body: beige, their story on the left, all their products on the right. */
.vd-top {
  padding: 2rem 0 3rem;
  color: #FFFFFF;
  background: #1E4E8C;
  color-scheme: light;
}
.vd-crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.vd-crumbs a { font-weight: 600; color: #FFFFFF; text-decoration: none; }
.vd-crumbs a:hover { color: var(--yellow); }
.vd-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem 3rem;
}
.vd-id { display: flex; align-items: center; gap: 1.5rem; }
/* their initials (or their logo) in a yellow square */
.vd-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: clamp(88px, 10vw, 120px);
  aspect-ratio: 1;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 800;
  color: var(--light-text);
  background: var(--yellow);
}
.vd-avatar img { width: 100%; height: 100%; object-fit: cover; }
.vd-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}
.vd-facts { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: .8rem 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .8); }
.vd-facts strong { color: #FFFFFF; }
.vd-cats { display: flex; flex-wrap: wrap; gap: .4rem; margin: .9rem 0 0; padding: 0; list-style: none; }
.vd-cats li { padding: .25rem .7rem; font-size: .8rem; font-weight: 700; color: var(--light-text); background: var(--yellow); }
/* the top part: the vendor's cover photo with a dark filter, so the white text is easy to read
   (js/script.js puts the photo in --vd-cover and adds the class "has-cover") */
.vd-top.has-cover {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(340px, 52vh, 520px);
  padding-top: 1.6rem;
  background:
    linear-gradient(180deg, rgba(10, 9, 13, .45) 0%, rgba(10, 9, 13, .35) 40%, rgba(10, 9, 13, .85) 100%),
    var(--vd-cover) center / cover no-repeat,
    #1E4E8C;
}
.vd-top.has-cover > .container { width: 100%; }
.vd-top.has-cover .vd-name { text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
/* no contact box in the top part any more: the name and details use the whole width */
.vd-top .vd-top-grid { grid-template-columns: minmax(0, 1fr); }

.vd-reach {
  padding: 1.3rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
}
/* on the blue top, the blue "Call" button becomes white so it can be seen */
.vd-reach .pd-contact-phone { color: #1E4E8C; background: #FFFFFF; }
.vd-reach .pd-contact-phone:hover { color: #1E4E8C; }
.vd-reach-title {
  margin: 0 0 .9rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}

/* their story: a full section, big text that is easy to read */
.vd-story-sec {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  color: var(--light-text);
  background: #FFFFFF;
}
/* the title in the center, with the yellow brush line under it */
.vd-story-title {
  position: relative;
  width: fit-content;
  margin: 0 auto 3.2rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--light-text);
}
.vd-story-title::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + .6rem);
  width: clamp(170px, 16vw, 230px);
  height: clamp(24px, 2.2vw, 32px);
  transform: translateX(-50%);
  /* the same brush as the other titles; its thin lines are see-through */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 44' preserveAspectRatio='none'%3E%3Cmask id='m'%3E%3Crect width='300' height='44' fill='%23fff'/%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round'%3E%3Cpath d='M12 33.5 C 70 26.5 130 20.6 196 15.5' stroke-width='.9' stroke-dasharray='58 4 31 9 12 60'/%3E%3Cpath d='M18 36.2 C 84 30.4 150 24.6 232 19.3' stroke-width='.8' stroke-dasharray='22 3 64 7 18 80'/%3E%3Cpath d='M30 31.2 C 92 24.4 150 17.6 214 11.6' stroke-width='.7' stroke-dasharray='70 12 24 80'/%3E%3Cpath d='M16 37.8 C 60 34.6 100 31.6 150 28.4' stroke-width='.8' stroke-dasharray='40 5 30 40'/%3E%3Cpath d='M150 18.6 C 190 15.8 230 13 262 11.2' stroke-width='.6' stroke-dasharray='34 18 20'/%3E%3C/g%3E%3C/mask%3E%3Cpath fill='%23F7BB01' mask='url(%23m)' d='M10 30 C 40 25.5 64 22.8 90 20.4 C 150 14.8 210 8.6 284 3 C 299 2.5 300 20 288 21 C 230 24.2 170 27.6 120 31 C 82 33.6 46 36.4 12 39 C 4 39.5 3 31 10 30 Z'/%3E%3Cg fill='none' stroke='%23F7BB01' stroke-linecap='round'%3E%3Cpath d='M12 31.2 L 1 33.4' stroke-width='1.6'/%3E%3Cpath d='M12 34.6 L 0 37.2' stroke-width='1.3'/%3E%3Cpath d='M14 37.8 L 4 40.6' stroke-width='1.1'/%3E%3Cpath d='M20 39 L 12 42' stroke-width='.9'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
/* the story: in the center, using the whole container */
.vd-story-text { text-align: center; }
.vd-story-text p {
  margin: 0 0 1.4rem;
  font-size: clamp(1.15rem, 1.45vw, 1.35rem);   /* big: easy to read, also for tired eyes */
  line-height: 1.85;
  color: #2E2720;
}
.vd-story-text p:first-child { font-size: clamp(1.25rem, 1.65vw, 1.5rem); color: var(--light-text); }
.vd-story-text strong { color: var(--light-text); }
.vd-follow {
  margin: 2rem 0 .8rem;
  text-align: center;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6E6355;
}
.vd-socials { justify-content: center; gap: .55rem; }
.vd-socials .cx-social { width: 48px; height: 48px; font-size: 1.3rem; }

/* all their products */
.vd-body {
  padding: clamp(3rem, 5vw, 4.5rem) 0 5rem;
  color: var(--light-text);
  background: #F6F1E8;
  color-scheme: light;
}
.vd-products-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--light-text);
}
.vd-products-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.vd-products { display: grid; gap: 1.2rem; }
/* one product: photo on the left, its text on the right */
.vd-product {
  display: grid;
  grid-template-columns: minmax(240px, 34%) minmax(0, 1fr);   /* photo | text */
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid #E8DFCF;
  scroll-margin-top: 110px;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.vd-product.is-target { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(247, 187, 1, .45); }
/* the photo follows the height of the text next to it: no empty space */
.vd-product-media { position: relative; aspect-ratio: auto; min-height: 240px; }
.vd-product-media img { position: absolute; inset: 0; }
.vd-product-media.is-missing .cx-media-name { font-size: 1.8rem; }
.vd-product-text { display: flex; flex-direction: column; gap: .55rem; padding: 1.4rem 1.5rem 1.5rem; }
.vd-product-cat { align-self: flex-start; margin: 0; padding: .2rem .6rem; font-size: .75rem; font-weight: 700; color: #1E4E8C; background: #E5EEF9; }
.vd-product-name { margin: 0; font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 800; color: var(--light-text); }
.vd-product-about { margin: 0; font-size: 1.15rem; line-height: 1.65; color: #2E2720; }
.vd-product-brand { margin: 0; font-size: 1rem; color: #4A4036; }
.vd-product-brand span::after { content: ":"; }
.vd-product-brand strong { color: var(--light-text); }
/* the buttons: ask on WhatsApp, call */
.vd-product-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: 1rem; }
.vd-ask,
.vd-call {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  transition: filter .2s ease, transform .2s ease;
}
.vd-ask { background: #1DA851; }
.vd-call { background: #1E4E8C; }
.vd-ask:hover, .vd-call:hover { color: #FFFFFF; filter: brightness(1.08); transform: translateY(-2px); }

.vd-back { margin-top: 1.8rem; }

@media (max-width: 991.98px) {
  .vd-top-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
  .vd-id { align-items: flex-start; gap: 1rem; }
  .vd-product { grid-template-columns: minmax(0, 1fr); }
  .vd-product-media { aspect-ratio: 16 / 10; min-height: 0; }
  .vd-ask, .vd-call { flex: 1 1 100%; justify-content: center; }
}

/* ---------- 10b3. Buy with confidence, Questions ---------- */

/* shared: the titles of these sections */
.safe-title, .faqh-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

/* --- Buy with confidence: a photo with a deep BLUE filter (the blue of the site),
       so it looks different from the black campaign section just above it.
       4 steps in a row, no boxes, a thin line between them --- */
.safe {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 7vw, 6rem) 0;
  color: #FFFFFF;
  background: #1E4E8C;   /* blue: shows while the photo is loading */
}
.safe-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);          /* soft: you see there is a photo, not the details */
  transform: scale(1.05);     /* hides the soft edges of the blur */
}
/* the filter: deep blue (#1E4E8C, the blue of the site), a bit darker on the left
   where the title is, so the white text stays easy to read */
.safe::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(22, 60, 110, .95) 0%, rgba(30, 78, 140, .91) 55%, rgba(30, 78, 140, .87) 100%);
}
.safe .container { position: relative; z-index: 2; }
.safe-head { max-width: 640px; margin-bottom: 2.6rem; }
.safe-title { color: #FFFFFF; }
.safe-head p { margin: .8rem 0 0; font-size: 1.1rem; color: rgba(255, 255, 255, .8); }
.safe-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.safe-card { padding: 0 1.8rem; border-left: 1px solid rgba(255, 255, 255, .25); }
.safe-card:first-child { padding-left: 0; border-left: 0; }
.safe-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--yellow);
}
.safe-card h3 { margin: 1rem 0 .5rem; font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: #FFFFFF; }
.safe-card p { margin: 0; font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, .88); }

/* --- 4. Questions, answered (beige): text cards that fill the width --- */
.faqh {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  color: var(--light-text);
  background: #F6F1E8;
}
.faqh-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 2.2rem;
}
.faqh-title { color: var(--light-text); }
.faqh-head p { margin: .8rem 0 0; font-size: 1.08rem; color: #6E6355; }
.faqh-link {
  display: inline-block;
  padding: .75rem 1.4rem;
  font-weight: 700;
  color: #1E4E8C;
  text-decoration: none;
  border: 2px solid #1E4E8C;
  border-radius: var(--pill);
  transition: background .2s ease, color .2s ease;
}
.faqh-link:hover { color: #FFFFFF; background: #1E4E8C; }
.faqh-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.faqh-card {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1.6rem 1.5rem;
  background: #FFFFFF;
  border: 1px solid #E8DFCF;
  border-radius: 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.faqh-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(60, 40, 20, .5); }
/* a blue round "?" in front of each question */
.faqh-card h3 {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--light-text);
}
.faqh-card h3::before {
  content: "?";
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  font-size: 1rem;
  color: var(--light-text);
  background: var(--yellow);
  border-radius: 50%;
}
.faqh-card p { margin: 0; padding-left: calc(30px + .75rem); line-height: 1.65; color: #5A4F43; }

/* --- these 2 sections on smaller screens --- */
@media (max-width: 991.98px) {
  .faqh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 2 steps on a row, a thin line above the second row */
  .safe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .safe-card:nth-child(3) { padding-left: 0; border-left: 0; }
  .safe-card:nth-child(n + 3) { padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .18); }
}
@media (max-width: 575.98px) {
  .faqh-grid { grid-template-columns: minmax(0, 1fr); }
  .faqh-card p { padding-left: 0; }
  /* one step under the other, like a timeline with a blue line on the left */
  .safe-grid { grid-template-columns: minmax(0, 1fr); row-gap: 1.8rem; }
  .safe-card,
  .safe-card:first-child,
  .safe-card:nth-child(3),
  .safe-card:nth-child(n + 3) { padding: 0 0 0 1.2rem; border-top: 0; border-left: 3px solid var(--yellow); }
  .safe-num { font-size: 2.2rem; }
}

/* ---------- 10c. For vendors (3 boxes) ---------- */
.vendor-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 2rem 1.7rem 1.8rem;
  background: var(--black);
  border: 1px solid var(--line);
  border-top: 6px solid var(--c);
  border-radius: var(--radius-md);
  transition: transform .2s ease, border-color .2s ease;
}
.vendor-box:hover {
  transform: translateY(-4px);
  border-color: var(--c);
}
.vendor-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  font-size: 1.5rem;
  color: var(--on-c);
  background: var(--c);
  border-radius: 50%;
}
.vendor-step {
  margin-top: 1.2rem;
  font-size: .85rem;
  font-weight: 800;
  color: var(--c-text);
}
.vendor-box h3 {
  margin: .2rem 0 1.3rem;
  font-size: 1.35rem;
}
/* the short descriptions are commented out in index.php; if you bring them back: */
.vendor-box p {
  margin: -.8rem 0 1.5rem;
  color: var(--muted);
}
.vendor-box .btn { margin-top: auto; }

/* a button in the box color (green, blue or yellow) */
.btn-c {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--on-c);
  background: var(--c);
  border: 2px solid var(--c);
}
.btn-c:hover {
  color: var(--on-color);
  background: var(--white);
  border-color: var(--white);
}

@media (max-width: 575.98px) {
  .vendor-box { padding: 1.6rem 1.3rem; }
  .vendor-box .btn { width: 100%; justify-content: center; }
}


/* ---------- 10d. Campaign: events and challenges ----------
   A photo with a black filter on it, white text, and a see-through box
   with the social media buttons. */
.campaign {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 7vw, 6rem) 0;
  color: #FFFFFF;
  background: #0A090D;   /* shows while the photo is loading */
}
/* the photo fills the section */
.campaign-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);          /* soft: you see there is a photo, not the details */
  transform: scale(1.05);     /* hides the soft edges of the blur */
}
/* the strong black filter on the photo: the photo is only a hint behind the text */
.campaign::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .93) 0%, rgba(0, 0, 0, .88) 55%, rgba(0, 0, 0, .84) 100%);
}
.campaign .container { position: relative; z-index: 2; }

/* "Happening now": yellow, with a blinking green dot, so it catches the eye */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem 1.15rem;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--light-text);
  background: var(--yellow);
  border-radius: var(--pill);
  box-shadow: 0 10px 24px -10px rgba(247, 187, 1, .8);
}
.live-dot {
  width: 10px;
  height: 10px;
  background: #17633D;
  border-radius: 50%;
  animation: live-pulse 1.6s ease-out infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(61, 190, 126, .8); }
  70%  { box-shadow: 0 0 0 10px rgba(61, 190, 126, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 190, 126, 0); }
}

.campaign-title {
  margin: 1.2rem 0 1rem;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #FFFFFF;
}
/* #BuriMunsi: big and yellow, with a yellow brush stroke under it */
.campaign-hashtag {
  position: relative;
  display: block;
  width: fit-content;
  margin: .25em 0 .7em;
  font-size: 1.12em;
  letter-spacing: -0.03em;
  color: var(--yellow);
  text-shadow: 0 0 40px rgba(247, 187, 1, .35);   /* a soft yellow glow */
}
.campaign-hashtag::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.5em;
  width: 100%;
  height: .5em;
  /* the same brush as the other titles; its thin lines are see-through,
     so the photo shows through them (a small drawing written in the CSS) */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 44' preserveAspectRatio='none'%3E%3Cmask id='m'%3E%3Crect width='300' height='44' fill='%23fff'/%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round'%3E%3Cpath d='M12 33.5 C 70 26.5 130 20.6 196 15.5' stroke-width='.9' stroke-dasharray='58 4 31 9 12 60'/%3E%3Cpath d='M18 36.2 C 84 30.4 150 24.6 232 19.3' stroke-width='.8' stroke-dasharray='22 3 64 7 18 80'/%3E%3Cpath d='M30 31.2 C 92 24.4 150 17.6 214 11.6' stroke-width='.7' stroke-dasharray='70 12 24 80'/%3E%3Cpath d='M16 37.8 C 60 34.6 100 31.6 150 28.4' stroke-width='.8' stroke-dasharray='40 5 30 40'/%3E%3Cpath d='M150 18.6 C 190 15.8 230 13 262 11.2' stroke-width='.6' stroke-dasharray='34 18 20'/%3E%3C/g%3E%3C/mask%3E%3Cpath fill='%23F7BB01' mask='url(%23m)' d='M10 30 C 40 25.5 64 22.8 90 20.4 C 150 14.8 210 8.6 284 3 C 299 2.5 300 20 288 21 C 230 24.2 170 27.6 120 31 C 82 33.6 46 36.4 12 39 C 4 39.5 3 31 10 30 Z'/%3E%3Cg fill='none' stroke='%23F7BB01' stroke-linecap='round'%3E%3Cpath d='M12 31.2 L 1 33.4' stroke-width='1.6'/%3E%3Cpath d='M12 34.6 L 0 37.2' stroke-width='1.3'/%3E%3Cpath d='M14 37.8 L 4 40.6' stroke-width='1.1'/%3E%3Cpath d='M20 39 L 12 42' stroke-width='.9'/%3E%3C/g%3E%3C/svg%3E") left center / 100% 100% no-repeat;
}
.campaign-text {
  max-width: 34rem;
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .88);
}

/* the box with the social media buttons: see-through glass */
.follow-box {
  padding: 1.8rem;
  color: #FFFFFF;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.follow-box h3 {
  margin: 0 0 1.1rem;
  font-size: 1.3rem;
  color: #FFFFFF;
}
.follow-list {
  display: grid;
  gap: .6rem;
}
.follow {
  --brand: #FFFFFF;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .65rem 1rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-sm);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.follow span { flex: 1; }
.follow > i:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
  color: #FFFFFF;
  background: var(--brand);
  border-radius: 50%;
}
.follow > i:last-child { color: rgba(255, 255, 255, .6); transition: transform .2s ease; }
/* under the mouse: the line turns white, the arrow moves */
.follow:hover {
  color: var(--light-text);
  background: #FFFFFF;
  border-color: #FFFFFF;
  transform: translateX(4px);
}
.follow:hover > i:last-child { color: var(--light-text); transform: translate(2px, -2px); }
/* the real color of each network, in its round icon */
.follow-instagram { --brand: radial-gradient(circle at 30% 107%, #FDF497 0%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.follow-facebook  { --brand: #1877F2; }
.follow-tiktok    { --brand: #010101; }
.follow-x         { --brand: #111111; }
.follow-whatsapp  { --brand: #25D366; }

@media (max-width: 575.98px) {
  .follow-box { padding: 1.3rem; }
}


/* ---------- 10e. Events on the homepage ----------
   White, everything in the middle: the title (with the yellow brush line under it),
   a short text, and the button to the Events page. */
.evt-home {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  color: var(--light-text);
  background: #FFFFFF;
}
.evt-home-box {
  width: 100%;          /* uses the whole width of the container */
  text-align: center;
}
.evt-home-title {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 3.2rem;   /* in the middle, with room for the brush line */
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--light-text);
}
.evt-home-title::after {   /* the yellow brush line, in the middle under the title */
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + .55rem);
  width: clamp(170px, 16vw, 240px);
  height: clamp(24px, 2.2vw, 32px);
  transform: translateX(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 44' preserveAspectRatio='none'%3E%3Cmask id='m'%3E%3Crect width='300' height='44' fill='%23fff'/%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round'%3E%3Cpath d='M12 33.5 C 70 26.5 130 20.6 196 15.5' stroke-width='.9' stroke-dasharray='58 4 31 9 12 60'/%3E%3Cpath d='M18 36.2 C 84 30.4 150 24.6 232 19.3' stroke-width='.8' stroke-dasharray='22 3 64 7 18 80'/%3E%3Cpath d='M30 31.2 C 92 24.4 150 17.6 214 11.6' stroke-width='.7' stroke-dasharray='70 12 24 80'/%3E%3Cpath d='M16 37.8 C 60 34.6 100 31.6 150 28.4' stroke-width='.8' stroke-dasharray='40 5 30 40'/%3E%3Cpath d='M150 18.6 C 190 15.8 230 13 262 11.2' stroke-width='.6' stroke-dasharray='34 18 20'/%3E%3C/g%3E%3C/mask%3E%3Cpath fill='%23F7BB01' mask='url(%23m)' d='M10 30 C 40 25.5 64 22.8 90 20.4 C 150 14.8 210 8.6 284 3 C 299 2.5 300 20 288 21 C 230 24.2 170 27.6 120 31 C 82 33.6 46 36.4 12 39 C 4 39.5 3 31 10 30 Z'/%3E%3Cg fill='none' stroke='%23F7BB01' stroke-linecap='round'%3E%3Cpath d='M12 31.2 L 1 33.4' stroke-width='1.6'/%3E%3Cpath d='M12 34.6 L 0 37.2' stroke-width='1.3'/%3E%3Cpath d='M14 37.8 L 4 40.6' stroke-width='1.1'/%3E%3Cpath d='M20 39 L 12 42' stroke-width='.9'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.evt-home-lead {
  max-width: none;      /* the text goes from one side of the container to the other */
  margin: 0;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.75;
  color: #5A4F43;
}

/* the button to the Events page: blue, yellow under the mouse */
.evt-home-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 2rem;
  padding: .95rem 1.8rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  background: #1E4E8C;
  transition: background .2s ease, color .2s ease;
}
.evt-home-btn i { transition: transform .2s ease; }
.evt-home-btn:hover { color: var(--light-text); background: var(--yellow); }
.evt-home-btn:hover i { transform: translateX(4px); }

@media (max-width: 575.98px) {
  .evt-home-btn { display: flex; justify-content: center; }
}

/* ---------- 11. Product cards ---------- */
.product {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .2s ease, border-color .2s ease;
}
.product:hover {
  transform: translateY(-4px);
  border-color: var(--c);
}

.img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
}
.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* shown only if a photo fails to load */
.img-wrap.img-missing img { display: none; }
.img-wrap.img-missing::after {
  content: attr(data-name);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-weight: 700;
  text-align: center;
  color: var(--c-text, var(--muted));
}

.product-media {
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.product-media img { transition: transform .4s ease; }
.product:hover .product-media img { transform: scale(1.06); }

.p-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: .2rem .7rem;
  font-size: .78rem;
  font-weight: 800;
  color: var(--on-blue);
  background: var(--blue);
  border-radius: var(--pill);
}
.p-badge-sale { color: var(--on-yellow); background: var(--yellow); }
.p-badge-new  { color: var(--on-green); background: var(--green); }

.p-wish {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: rgba(10, 9, 13, .8);
  border: 0;
  border-radius: 50%;
}
.p-wish.on { color: var(--yellow); }

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem 1.05rem 1.1rem;
}
.p-cat {
  align-self: flex-start;
  margin-bottom: .5rem;
  padding: .12rem .65rem;
  font-size: .75rem;
  font-weight: 800;
  color: var(--on-c, var(--on-color));
  background: var(--c);
  border-radius: var(--pill);
}
.p-name {
  margin: 0 0 .2rem;
  font-size: 1.08rem;
  line-height: 1.25;
}
.p-maker {
  font-size: .87rem;
  color: var(--muted);
}
.p-rating {
  margin-top: .3rem;
  font-size: .87rem;
  color: var(--yellow);
}
.p-rating span { color: var(--muted); }

.p-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: auto;
  padding-top: .8rem;
}
.p-price {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
}
.p-price del {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
}

/* add button takes the category color */
.p-add {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  color: var(--on-c, var(--on-color));
  background: var(--c);
  border: 0;
  border-radius: 50%;
  transition: transform .15s ease, background .2s ease;
}
.p-add:hover {
  color: var(--on-color);
  background: var(--white);
}
.p-add:active { transform: scale(.9); }


/* ---------- 11b. Featured products: vendor boxes with "Get in touch" ---------- */
.listing {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .2s ease, border-color .2s ease;
}
.listing:hover {
  transform: translateY(-4px);
  border-color: var(--c);
}
.listing-media { aspect-ratio: 16 / 10; }
.listing-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  margin: 0;
}
.listing-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.2rem 1.25rem 1.3rem;
}
.listing-name {
  margin: 0 0 .5rem;
  font-size: 1.2rem;
  line-height: 1.25;
}
.listing-maker {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  font-weight: 700;
  color: var(--c-text);
}
.listing-place {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: .15rem 0 .8rem;
  font-size: .88rem;
  color: var(--muted);
}
/* description: 3 lines at most */
.listing-desc {
  display: -webkit-box;
  margin: 0 0 1.1rem;
  overflow: hidden;
  font-size: .95rem;
  color: var(--muted);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* "Get in touch": big green title, a line, then the round buttons */
.listing-contact {
  margin-top: auto;
  padding-top: .3rem;
}
.listing-contact-title {
  display: block;
  margin-bottom: .9rem;
  padding-bottom: .7rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green-light);
  border-bottom: 1px solid var(--line);
}
.ct-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

/* round buttons: see-through, icon in the color of the app;
   on hover they fill with that color */
.ct {
  --brand: var(--white);
  --brand-on: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
  color: var(--brand);
  text-decoration: none;
  background: transparent;
  border: 2px solid var(--line);
  border-radius: 50%;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ct:hover {
  color: var(--brand-on);
  background: var(--brand);
  border-color: var(--brand);
}
.ct-whatsapp  { --brand: #25D366; --brand-on: #0A090D; }
.ct-phone     { --brand: var(--green-light); --brand-on: #0A090D; }
.ct-email     { --brand: var(--yellow); --brand-on: #0A090D; }
.ct-website   { --brand: var(--blue-light); --brand-on: #0A090D; }
.ct-instagram { --brand: #E4405F; }
.ct-facebook  { --brand: #1877F2; }
.ct-x         { --brand: #FFFFFF; --brand-on: #0A090D; }
.ct-tiktok    { --brand: #FFFFFF; --brand-on: #0A090D; }


/* "Showing Coffee (4)" bar above the products */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: 1.6rem;
  padding: .8rem .8rem .8rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.filter-bar strong { color: var(--yellow); }
.btn-filter {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 1rem;
  font-size: .9rem;
}


/* ---------- 12. Shop page (header, tools, chips) ---------- */
.page-header {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 3rem;
  background: var(--black);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
  margin: .3rem 0 .4rem;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
}
.page-header p { margin: 0; color: var(--muted); }

.breadcrumb { margin: 0; font-size: .9rem; }
.breadcrumb a { font-weight: 600; color: var(--yellow); text-decoration: none; }
.breadcrumb-item.active,
.breadcrumb-item + .breadcrumb-item::before { color: var(--muted); }

.shop-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.result-count { margin: 0; color: var(--muted); }

.shop-tools {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.search-box {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: 0 1rem;
  background: var(--surface-2);
  border: 2px solid var(--line);
  border-radius: var(--pill);
}
.search-box i { color: var(--blue-light); }
.search-box input {
  width: 200px;
  min-width: 0;
  padding: .55rem 0;
  color: var(--white);
  background: transparent;
  border: 0;
  outline: 0;
}
.search-box input::placeholder { color: var(--muted); }
.search-box:focus-within { border-color: var(--blue); }

.shop-tools .form-select {
  width: auto;
  font-weight: 600;
  color: var(--white);
  background-color: var(--surface-2);
  border: 2px solid var(--line);
  border-radius: var(--pill);
}
.shop-tools .form-select:focus {
  border-color: var(--blue);
  box-shadow: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem 1rem;
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--pill);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.chip::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--c);
  border-radius: 50%;
}
.chip:hover { border-color: var(--c); }
.chip.active {
  color: var(--on-c, var(--on-color));
  background: var(--c);
  border-color: var(--c);
}
.chip.active::before { background: var(--on-c, var(--on-color)); }

.empty-state {
  padding: 3rem 1rem;
  text-align: center;
}
.empty-state i { font-size: 2.6rem; color: var(--yellow); }
.empty-state p { color: var(--muted); }


/* ---------- 13. Deal of the week (yellow) ---------- */
.deal {
  color: var(--on-color);
  background: var(--yellow);
}
.deal h2 {
  margin: 1rem 0 .7rem;
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--on-color);
}
.deal p { color: var(--on-color); }

.deal-tag {
  display: inline-block;
  padding: .3rem .9rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--yellow);
  background: var(--black);
  border-radius: var(--pill);
}

.deal-price strong {
  font-family: var(--font-display);
  font-size: 2rem;
}
.deal-price del { margin-left: .5rem; }

.countdown {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.2rem 0 1.6rem;
}
.countdown div {
  min-width: 74px;
  padding: .6rem .5rem;
  text-align: center;
  color: var(--white);
  background: var(--black);
  border-radius: var(--radius-sm);
}
.countdown div:nth-child(1) b { color: var(--green-light); }
.countdown div:nth-child(2) b { color: var(--yellow); }
.countdown div:nth-child(3) b { color: var(--blue-light); }
.countdown div:nth-child(4) b { color: var(--white); }
.countdown b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.1;
}
.countdown span { font-size: .8rem; }

.deal-photo {
  position: relative;
  min-height: 300px;
  border-radius: var(--radius-lg);
}
.deal-photo img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.deal-off {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: .5rem 1rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--on-green);
  background: var(--green);
  border-radius: var(--pill);
}


/* ---------- 14. Makers ---------- */
.maker {
  height: 100%;
  overflow: hidden;
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color .2s ease;
}
.maker:hover { border-color: var(--c); }
.maker .img-wrap {
  aspect-ratio: 16 / 10;
  border-bottom: 6px solid var(--c);
}
.maker-body { padding: 1.2rem 1.25rem 1.4rem; }
.maker h3 {
  margin: .6rem 0 .3rem;
  font-size: 1.2rem;
}
.maker p {
  margin: 0;
  font-size: .97rem;
  color: var(--muted);
}
.maker-place {
  display: inline-block;
  padding: .15rem .7rem;
  font-size: .8rem;
  font-weight: 800;
  color: var(--on-c, var(--on-color));
  background: var(--c);
  border-radius: var(--pill);
}


/* ---------- 15. How it works (one color per step) ---------- */
.step {
  height: 100%;
  padding: 2rem 1.6rem;
  color: var(--on-c, var(--on-color));
  background: var(--c);
  border-radius: var(--radius-md);
}
.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  font-size: 1.5rem;
  color: var(--c-text, var(--c));
  background: var(--black);
  border-radius: 50%;
}
.step-num {
  display: block;
  margin-top: 1.1rem;
  font-size: .85rem;
  font-weight: 800;
}
.step h3 {
  margin: .2rem 0 .4rem;
  font-size: 1.3rem;
  color: var(--on-c, var(--on-color));
}
.step p { margin: 0; }


/* ---------- 16. Reviews ---------- */
.review {
  position: relative;
  height: 100%;
  margin: 0;
  padding: 1.6rem;
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.review::before {
  content: "“";
  position: absolute;
  top: .2rem;
  right: 1.2rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--c-text, var(--c));
}
.stars {
  font-size: 1.05rem;
  letter-spacing: 2px;
  color: var(--yellow);
}
.review blockquote {
  margin: .8rem 0 1.2rem;
  font-size: 1.05rem;
  color: var(--text);
}
.review figcaption {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 700;
  color: var(--white);
}
.review figcaption small {
  display: block;
  font-weight: 500;
  color: var(--muted);
}
.avatar {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: .85rem;
  font-weight: 800;
  color: var(--on-c, var(--on-color));
  background: var(--c);
  border-radius: 50%;
}


/* ---------- 18. Footer (soft black) ---------- */
.footer {
  padding-bottom: 1.5rem;
  color: rgba(255, 255, 255, .75);
  background: #1C1B21;
}
.footer .imigongo { display: none; }   /* no zigzag line on top of the footer */
.footer-inner { padding-top: 3.5rem; }
.footer-about { max-width: 22rem; margin-top: 1rem; }

.footer h4 {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--white);
}
.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer li { margin-bottom: .55rem; }
.footer a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
}
.footer ul a:hover { color: var(--yellow); }

.contact-list i { color: var(--yellow); }
.contact-list i { margin-right: .45rem; }

.socials {
  display: flex;
  gap: .5rem;
  margin-top: 1.2rem;
}
.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 1.05rem;
  color: var(--on-color);
  border-radius: 50%;
  transition: transform .2s ease;
}
.socials a:hover { transform: translateY(-3px); }
/* the social buttons of the footer: white circles, yellow under the mouse */
.socials a { color: #1C1B21; background: #FFFFFF; }
.socials a:hover { color: var(--light-text); background: var(--yellow); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  font-size: .9rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
}


/* ---------- 19. Cart ---------- */
.cart-panel {
  color: var(--text);
  background: var(--surface);
}
.cart-panel .offcanvas-header {
  padding-bottom: calc(1rem + 5px);
  background: var(--logo-stripe) bottom / 100% 5px no-repeat;
}
.cart-panel .offcanvas-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
}

.cart-body {
  display: flex;
  flex-direction: column;
}
.cart-items { flex-grow: 1; }

.cart-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}
.ci-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
}
.ci-info { flex: 1; min-width: 0; }
.ci-name {
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
}
.ci-price { font-size: .88rem; color: var(--muted); }
.ci-end { text-align: right; }
.ci-line-total { font-weight: 800; color: var(--white); }
.ci-remove {
  font-size: 1.05rem;
  color: var(--yellow);
  background: transparent;
  border: 0;
}

.qty {
  display: inline-flex;
  align-items: center;
  margin-top: .35rem;
  border: 2px solid var(--line);
  border-radius: var(--pill);
}
.qty button {
  width: 30px;
  height: 28px;
  font-weight: 800;
  color: var(--white);
  background: transparent;
  border: 0;
}
.qty span {
  min-width: 24px;
  font-weight: 800;
  text-align: center;
  color: var(--white);
}

.cart-empty {
  padding: 3rem 1rem;
  text-align: center;
}
.cart-empty i { font-size: 2.6rem; color: var(--green-light); }
.cart-empty p { color: var(--muted); }

.cart-summary {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: .3rem;
}
.total {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
}

.free-ship {
  margin-bottom: .8rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--green-light);
}
.ship-bar {
  display: block;
  width: 100%;
  height: 8px;
  margin-top: .35rem;
  overflow: hidden;
  background: var(--surface-2);
  border: 0;
  border-radius: var(--pill);
  appearance: none;
}
.ship-bar::-webkit-progress-bar   { background: var(--surface-2); border-radius: var(--pill); }
.ship-bar::-webkit-progress-value { background: var(--logo-stripe); border-radius: var(--pill); }
.ship-bar::-moz-progress-bar      { background: var(--logo-stripe); border-radius: var(--pill); }


/* ---------- 20. Popups (quick view and checkout) ---------- */
.quick-view,
.checkout {
  overflow: hidden;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.qv-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: .6rem;
  background-color: var(--black);
  border-radius: 50%;
  opacity: 1;
}
.qv-media {
  height: 100%;
  min-height: 320px;
}
.qv-body { padding: 2rem; }
.qv-body h3 { font-size: 1.7rem; }
.qv-body p { color: var(--muted); }
.qv-body .p-price {
  margin: 1rem 0;
  font-size: 1.6rem;
}
.qv-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
}

.checkout .modal-header {
  padding-bottom: calc(1rem + 5px);
  background: var(--logo-stripe) bottom / 100% 5px no-repeat;
  border-bottom: 0;
}
.checkout .modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
}
.checkout .form-label {
  display: block;
  font-weight: 700;
  color: var(--white);
}
.checkout .form-control {
  padding: .65rem .9rem;
  color: var(--white);
  background: var(--surface-2);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
}
.checkout .form-control::placeholder { color: var(--muted); }
.checkout .form-control:focus {
  border-color: var(--blue);
  box-shadow: none;
}
.checkout .invalid-feedback { color: #FF8A80; }
.checkout .was-validated .form-control:invalid { border-color: #FF8A80; }

.pay-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}
.pay {
  padding: .75rem .4rem;
  font-size: .88rem;
  font-weight: 700;
  text-align: center;
  color: var(--text);
  background: var(--surface-2);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.btn-check:checked + .pay {
  color: var(--on-color);
  background: var(--yellow);
  border-color: var(--yellow);
}
.btn-check:focus-visible + .pay { outline: 3px solid var(--blue); }

.order-done {
  padding: 1.5rem .5rem;
  text-align: center;
}
.order-done i { font-size: 3rem; color: var(--green-light); }
.order-done p { color: var(--muted); }
.order-done strong { color: var(--yellow); }


/* ---------- 21. Toast and back-to-top ---------- */
.gura-toast {
  color: var(--on-color);
  background: var(--yellow);
  border: 0;
  border-radius: var(--pill);
}
.gura-toast .toast-body {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
}
.gura-toast i { font-size: 1.15rem; }

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 1.15rem;
  color: var(--on-color);
  text-decoration: none;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, background .2s ease;
}
.to-top.show {
  opacity: 1;
  pointer-events: auto;
}
.to-top:hover { color: var(--on-color); background: var(--white); }


/* ---------- 22. Inner pages (about, makers, how it works, contact) ---------- */

/* Info cards: icon + title + text */
.info-card {
  height: 100%;
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color .2s ease, transform .2s ease;
}
.info-card:hover {
  transform: translateY(-3px);
  border-color: var(--c);
}
.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  font-size: 1.4rem;
  color: var(--on-c, var(--on-color));
  background: var(--c);
  border-radius: 50%;
}
.info-card h3 {
  margin: 1rem 0 .4rem;
  font-size: 1.2rem;
}
.info-card p {
  margin: 0;
  color: var(--muted);
}
.info-card a {
  display: inline-block;
  margin-top: .6rem;
  font-weight: 700;
  color: var(--c-text, var(--c));
  text-decoration: none;
}
.info-card a:hover { text-decoration: underline; }

/* Big numbers */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat {
  padding: 1.6rem 1.2rem;
  text-align: center;
  color: var(--on-c, var(--on-color));
  background: var(--c);
  border-radius: var(--radius-md);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
}
.stat span { font-weight: 600; }

/* Timeline (our story) */
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline li {
  position: relative;
  padding: 0 0 1.8rem 2.2rem;
  border-left: 3px solid var(--line);
  margin-left: .6rem;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 2px;
  width: 19px;
  height: 19px;
  background: var(--c);
  border: 4px solid var(--black);
  border-radius: 50%;
}
.timeline strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--c-text, var(--c));
}
.timeline h3 {
  margin: .1rem 0 .3rem;
  font-size: 1.15rem;
}
.timeline p { margin: 0; color: var(--muted); }

/* Call-to-action box (any logo color) */
.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.6rem;
  color: var(--on-c, var(--on-color));
  background: var(--c);
  border-radius: var(--radius-lg);
}
.cta-box h2 {
  margin: 0 0 .3rem;
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  color: var(--on-c, var(--on-color));
}
.cta-box p { margin: 0; font-weight: 500; }
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

/* Maker extra details */
.maker-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1rem;
  margin-top: .8rem;
  font-size: .88rem;
  color: var(--muted);
}
.maker-link {
  display: inline-block;
  margin-top: .9rem;
  font-weight: 700;
  color: var(--c-text, var(--c));
  text-decoration: none;
}
.maker-link:hover { color: var(--white); }

/* Numbered steps (join as a maker) */
.join-steps {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: join;
}
.join-steps li {
  position: relative;
  padding: 0 0 1.2rem 3.4rem;
  counter-increment: join;
}
.join-steps li::before {
  content: counter(join);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-weight: 800;
  color: var(--on-c, var(--on-color));
  background: var(--c);
  border-radius: 50%;
}
.join-steps strong { display: block; color: var(--white); }
.join-steps span { color: var(--muted); }

/* Forms (contact and join) */
.form-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.form-card h2 {
  margin: 0 0 .3rem;
  font-size: 1.6rem;
}
.form-card > p { color: var(--muted); }

.gl-form .form-label {
  font-weight: 700;
  color: var(--white);
}
.gl-form .form-control,
.gl-form .form-select {
  padding: .7rem .95rem;
  color: var(--white);
  background-color: var(--surface-2);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
}
.gl-form .form-control::placeholder { color: var(--muted); }
.gl-form .form-control:focus,
.gl-form .form-select:focus {
  color: var(--white);
  background-color: var(--surface-2);
  border-color: var(--blue);
  box-shadow: none;
}
.gl-form .invalid-feedback { color: #FF8A80; }
.gl-form.was-validated .form-control:invalid,
.gl-form.was-validated .form-select:invalid { border-color: #FF8A80; }

.form-success {
  padding: 2.5rem 1rem;
  text-align: center;
}
.form-success i { font-size: 3rem; color: var(--green-light); }
.form-success p { color: var(--muted); }

/* Delivery table */
.gl-table {
  width: 100%;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.gl-table th,
.gl-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.gl-table tr:last-child td { border-bottom: 0; }
.gl-table th {
  font-size: .9rem;
  color: var(--on-color);
  background: var(--yellow);
}
.gl-table td:first-child { font-weight: 700; color: var(--white); }
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
}

/* FAQ (Bootstrap accordion) */
.gl-accordion {
  --bs-accordion-bg: var(--surface);
  --bs-accordion-border-color: var(--line);
  --bs-accordion-color: var(--text);
  --bs-accordion-btn-color: var(--white);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(79, 163, 242, .5);
  --bs-accordion-active-bg: var(--yellow);
  --bs-accordion-active-color: var(--on-color);
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230A090D' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
  --bs-accordion-border-radius: var(--radius-md);
  --bs-accordion-inner-border-radius: var(--radius-md);
}
.gl-accordion .accordion-button { font-weight: 700; }
.gl-accordion .accordion-body { color: var(--muted); }

/* Map */
.map-frame {
  overflow: hidden;
  height: 100%;
  min-height: 320px;
  border-radius: var(--radius-lg);
  outline: 4px solid var(--c);
  outline-offset: 5px;
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.hours {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hours li {
  display: flex;
  justify-content: space-between;
  padding: .6rem 0;
  border-bottom: 1px solid var(--line);
}
.hours li:last-child { border-bottom: 0; }
.hours span:last-child { font-weight: 700; color: var(--white); }


/* ---------- 23. Log in and Sign up pages ---------- */
.auth {
  position: relative;
  overflow: hidden;
  overflow: clip;   /* "clip" keeps the sticky text working */
  padding: 4rem 0 5rem;
}
.auth .container { position: relative; z-index: 1; }


/* the big box: colored side + form side */
.auth-box {
  position: relative;
  display: grid;
  grid-template-columns: 5fr 6fr;
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  overflow: clip;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* colored side with the welcome text */
.auth-side {
  position: relative;
  padding: 2.8rem 2.4rem 4rem;
  color: var(--on-c, var(--on-color));
  background: var(--c);
}
.auth-side h1,
.auth-side .auth-title {
  margin: 0 0 .8rem;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--on-c, var(--on-color));
}
.auth-side-inner {
  position: sticky;
  top: 120px;
}
.auth-side p {
  font-size: 1.05rem;
  font-weight: 500;
}

.auth-list {
  display: grid;
  gap: .8rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}
.auth-list li {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-weight: 700;
}
.auth-list i {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--c-text, var(--c));
  background: var(--black);
  border-radius: 50%;
}

/* imigongo zigzag along the bottom of the colored side */
.auth-side .zigzag {
  --zz-front: var(--c);
  --zz-back: var(--black);
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}

/* close button in the top right corner of the box */
.auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 1rem;
  color: var(--white);
  text-decoration: none;
  background: var(--surface-2);
  border: 2px solid var(--line);
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.auth-close:hover {
  color: var(--on-color);
  background: var(--yellow);
  border-color: var(--yellow);
}

/* form side */
.auth-form { padding: 2.8rem 2.6rem; }
.auth-form h2 {
  margin: 0 0 .3rem;
  font-size: 1.7rem;
}
.auth-intro { color: var(--muted); }

.auth-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.auth-row a,
.auth-switch a,
.gl-form .form-check-label a {
  font-weight: 700;
  text-decoration: none;
}
.auth-row a:hover,
.auth-switch a:hover,
.gl-form .form-check-label a:hover { text-decoration: underline; }

.auth-switch {
  margin: 1.4rem 0 0;
  text-align: center;
  color: var(--muted);
}

/* password field with show / hide button */
.gl-form .pw-group .form-control {
  padding-right: .95rem;
  background-image: none;
  border-right: 0;
}
.gl-form .pw-toggle {
  padding: 0 1rem;
  color: var(--muted);
  background: var(--surface-2);
  border: 2px solid var(--line);
  border-left: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.gl-form .pw-toggle:hover { color: var(--yellow); }
.gl-form .pw-toggle:active { transform: none; }
.pw-group:focus-within .pw-toggle { border-color: var(--blue); }
.gl-form.was-validated .pw-group:has(:invalid) .pw-toggle { border-color: #FF8A80; }

/* checkboxes */
.gl-form .form-check-input {
  background-color: var(--surface-2);
  border: 2px solid var(--line);
}
.gl-form .form-check-input:checked {
  --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%230A090D' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
  background-color: var(--yellow);
  border-color: var(--yellow);
}
.gl-form .form-check-input:focus {
  border-color: var(--blue);
  box-shadow: none;
}
.gl-form .form-check-label { color: var(--text); }

/* "(optional)" next to a label, and the textarea */
.form-optional {
  font-weight: 500;
  color: var(--muted);
}
.gl-form textarea.form-control { resize: vertical; min-height: 130px; }

/* account type cards (sign up) */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .7rem;
}
.choice {
  position: relative;
  display: block;
  height: 100%;
  padding: 1rem 1.1rem;
  background: var(--surface-2);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.choice:hover { border-color: var(--c); }
.choice i {
  display: block;
  margin-bottom: .4rem;
  font-size: 1.4rem;
  color: var(--c-text, var(--c));
}
.choice strong {
  display: block;
  color: var(--white);
}
.choice span {
  display: block;
  font-size: .88rem;
  line-height: 1.4;
  color: var(--muted);
}

/* the chosen card fills with its color */
.btn-check:checked + .choice {
  background: var(--c);
  border-color: var(--c);
}
.btn-check:checked + .choice i,
.btn-check:checked + .choice strong,
.btn-check:checked + .choice span { color: var(--on-c, var(--on-color)); }
.btn-check:focus-visible + .choice {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}


/* ---------- 23b. Sign up: extra questions ---------- */
.form-section-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 1.6rem 0 1rem;
  padding-top: 1.3rem;
  font-size: 1.15rem;
  border-top: 1px solid var(--line);
}
.form-section-title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-size: .9rem;
  font-weight: 800;
  color: var(--on-yellow);
  background: var(--yellow);
  border-radius: 50%;
}
.form-hint {
  margin: -.4rem 0 1rem;
  font-size: .92rem;
  color: var(--muted);
}
.gl-form .form-label i { color: var(--c-text, var(--muted)); margin-right: .2rem; }
.gl-form .form-text { color: var(--muted); }
/* when one label is longer (two lines), keep the boxes in a row lined up */
.gl-form .row.g-3 { align-items: flex-end; }
.gl-form fieldset legend.form-label { float: none; width: auto; font-size: 1rem; }

/* choices shown as pills (certificate, where they sell) */
.pill-options {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.pill-option {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
  background: var(--surface-2);
  border: 2px solid var(--line);
  border-radius: var(--pill);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.pill-option:hover { border-color: var(--yellow); }
.btn-check:checked + .pill-option {
  color: var(--on-yellow);
  background: var(--yellow);
  border-color: var(--yellow);
}
.btn-check:focus-visible + .pill-option {
  outline: 3px solid var(--blue-light);
  outline-offset: 2px;
}

/* "No password to create" note */
.form-note {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .9rem 1rem;
  font-size: .95rem;
  color: var(--text);
  background: rgba(1, 108, 64, .18);
  border: 1px solid var(--green);
  border-radius: var(--radius-sm);
}
.form-note i { margin-top: .1rem; font-size: 1.1rem; color: var(--green-light); }


/* login and sign up: only the form (no colored side) */
.auth-box-single {
  grid-template-columns: 1fr;
  max-width: 560px;
}
.auth-box-wide { max-width: 780px; }
.auth-box-single .auth-form h2 { padding-right: 3rem; }   /* room for the close button */

/* photo upload boxes (sign up and profile) */
.upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.upload-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
}
.upload { position: relative; }
.upload-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 160px;
  margin: 0;
  overflow: hidden;
  text-align: center;
  background: var(--surface-2);
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color .2s ease;
}
.upload-box:hover { border-color: var(--yellow); }
.upload-input:focus-visible + .upload-box {
  outline: 3px solid var(--blue-light);
  outline-offset: 3px;
}
.upload-logo .upload-box { aspect-ratio: 1; height: auto; }
.upload-product .upload-box { height: auto; aspect-ratio: 4 / 3; }
.upload-cover .upload-box { height: auto; aspect-ratio: 3 / 1; }
.upload-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  padding: .5rem;
  color: var(--muted);
}
.upload-empty i { font-size: 1.8rem; color: var(--yellow); }
.upload-empty strong { font-size: .92rem; color: var(--white); }
.upload-empty small { font-size: .78rem; }
.upload-preview {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.upload-change {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: none;
  align-items: center;
  gap: .3rem;
  padding: .2rem .6rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(10, 9, 13, .8);
  border-radius: var(--pill);
}
.upload-logo .upload-change { right: 50%; bottom: 10px; transform: translateX(50%); }
.has-photo .upload-preview { display: block; }
.has-photo .upload-empty { display: none; }
.has-photo .upload-change { display: inline-flex; }
.has-photo .upload-box { border-style: solid; border-color: var(--green); }
.upload-error {
  margin: .4rem 0 0;
  font-size: .9rem;
  font-weight: 600;
  color: #FF8A80;
}
.upload-error:empty { display: none; }

@media (max-width: 575.98px) {
  .upload-row { grid-template-columns: 120px 1fr; gap: .8rem; }
  .upload-box { height: 120px; }
  .upload-product .upload-box { height: auto; }
}


/* ---------- 23c. Profile page (profile.html) ----------
   The same look as the public business page: the blue top (.vd-top, with the cover photo
   behind it when there is one), then a beige body (.vd-body) with white square sheets.
   The popups use the sign up form's fields (.reg-form). */

/* top: "Welcome back", the name, then the buttons on the right. Its size, logo and banner
   come from .vd-top, so it looks like the business's public page. */
.pf-top-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}
.pf-hello { margin: 0 0 .3rem; font-weight: 600; color: rgba(255, 255, 255, .8); }
.pf-top .vd-cats li i { margin-right: .2rem; }
.pf-top-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* buttons: blue and square, like the sign up button */
.pf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .7rem 1.2rem;
  font-size: .95rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  background: #1E4E8C;
  border: 1px solid #1E4E8C;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.pf-btn:hover { color: var(--light-text); background: var(--yellow); border-color: var(--yellow); }
.pf-btn:disabled { cursor: wait; opacity: .7; }
.pf-btn-line { color: var(--light-text); background: #FFFFFF; border-color: #D9D0C0; }
.pf-btn-line:hover { color: #1E4E8C; background: #FFFFFF; border-color: #1E4E8C; }
.pf-btn-light { color: #1E4E8C; background: #FFFFFF; border-color: #FFFFFF; }
.pf-btn-yellow { color: var(--light-text); background: var(--yellow); border-color: var(--yellow); }
.pf-btn-light:hover,
.pf-btn-yellow:hover { color: var(--light-text); background: #FFFFFF; border-color: #FFFFFF; }

/* the Minister's welcome message: the first thing on the page, above the banner. The beige and
   the two corner patterns of the homepage hero (.corner-pattern), the video big in the middle,
   with the minister's name under it. */
.pf-welcome {
  position: relative;
  overflow: hidden;
  padding: clamp(2.2rem, 4vw, 3.2rem) 0 clamp(2.6rem, 4.5vw, 3.6rem);
  color: var(--light-text);
  background: var(--light-bg);
}
.pf-welcome > .container { position: relative; z-index: 1; }
.pf-welcome .corner-top { width: clamp(80px, 8vw, 140px); }
.pf-welcome .corner-bottom { width: clamp(120px, 12vw, 200px); }
.pf-welcome-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  margin: 0 0 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--light-text);
}
/* a short yellow line on each side of the title */
.pf-welcome-title::before,
.pf-welcome-title::after { content: ""; flex: 0 0 32px; height: 3px; background: var(--yellow); }

/* the video: as wide as the screen allows while the whole of it (and the name) fits under the navbar */
.pf-welcome-media {
  position: relative;
  width: min(100%, 1040px, calc((100vh - 82px - 13rem) * 16 / 9));
  min-width: min(100%, 560px);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  background: var(--black);
  box-shadow: 12px 12px 0 var(--yellow), 0 24px 50px rgba(31, 26, 21, .25);
}
.pf-welcome-media video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--black); }
/* the whole picture can be clicked, with the play button in the middle */
.pf-welcome-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.pf-welcome-play span {
  display: grid;
  place-items: center;
  width: clamp(64px, 7vw, 92px);
  aspect-ratio: 1;
  font-size: clamp(2rem, 3vw, 2.7rem);
  color: var(--on-yellow);
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: transform .25s ease;
}
.pf-welcome-play span i { margin-left: .2em; line-height: 1; }   /* the triangle looks centered */
.pf-welcome-play:hover span,
.pf-welcome-play:focus-visible span { transform: scale(1.08); }
.pf-welcome-play small {
  position: absolute;
  left: 1rem;
  bottom: .9rem;
  padding: .2rem .55rem;
  font-size: .8rem;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(10, 9, 13, .6);
}
/* not played yet in this browser: the play button calls softly */
.pf-welcome.is-new .pf-welcome-play span { animation: pf-welcome-call 2.2s ease-out infinite; }
@keyframes pf-welcome-call {
  0%   { box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 0 rgba(247, 187, 1, .65); }
  70%  { box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 24px rgba(247, 187, 1, 0); }
  100% { box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 0 rgba(247, 187, 1, 0); }
}
/* while it plays, the video's own controls take over */
.pf-welcome.is-playing .pf-welcome-play { display: none; }

/* the minister's name and title, under the video */
.pf-welcome-who {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  margin: 2rem 0 0;
  text-align: center;
}
.pf-welcome-who strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; }
.pf-welcome-who span { font-size: .92rem; color: var(--light-muted); }

/* phones: smaller patterns, with room above and below so they never touch the text */
@media (max-width: 575.98px) {
  .pf-welcome { padding: 3.6rem 0 4.4rem; }
  .pf-welcome .corner-top { width: 64px; }
  .pf-welcome .corner-bottom { width: 100px; }
  .pf-welcome-media { box-shadow: 8px 8px 0 var(--yellow), 0 18px 36px rgba(31, 26, 21, .2); }
  .pf-welcome-title { gap: .6rem; font-size: 1.2rem; }
  .pf-welcome-title::before,
  .pf-welcome-title::after { flex-basis: 18px; }
}

/* body: one white sheet per part */
.pf-body { padding-top: 2.4rem; }
.pf-sheet {
  margin-bottom: 1.5rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: #FFFFFF;
  border: 1px solid #E8DFCF;
}
.pf-sheet-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #F1EBE0;
}
.pf-sheet-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--light-text);
}
.pf-link {
  padding: 0;
  font-weight: 700;
  color: #1E4E8C;
  background: none;
  border: 0;
}
.pf-link:hover { text-decoration: underline; }
.pf-waiting {
  display: inline-block;
  margin-left: .4rem;
  padding: .15rem .5rem;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  vertical-align: middle;
  color: #8A4B00;
  background: #FDF1CC;
}

/* changes waiting for our team, and changes turned down */
.pf-changes { border-left: 4px solid var(--yellow); }
.pf-changes h2 { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: 1.1rem; font-weight: 800; color: var(--light-text); }
.pf-changes p { margin: .4rem 0 0; font-size: .92rem; color: #6E6355; }
.pf-change-list { display: grid; gap: .6rem; margin: .9rem 0 0; padding: 0; list-style: none; }
.pf-change-list li { display: flex; flex-direction: column; gap: .2rem; padding: .7rem .9rem; color: var(--light-text); background: #FBF8F2; border: 1px solid #EFE6D6; }
.pf-change-list span { font-size: .9rem; color: #4A4036; overflow-wrap: anywhere; }

/* my products: the counts, then the cards */
.pf-counts { margin: .3rem 0 0; font-size: .92rem; color: #6E6355; }
.pf-counts strong { color: var(--light-text); }
.pf-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}
.pf-product { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid #E8DFCF; }
.pf-product-media { aspect-ratio: 4 / 3; background: #F6F1E8; }
.pf-product-media.img-missing::after { color: #6E6355; }
.pf-product-body { display: flex; flex: 1; flex-direction: column; gap: .45rem; padding: .9rem 1rem 1rem; }
.pf-product-body h3 { margin: 0; font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; line-height: 1.3; color: var(--light-text); }
.pf-product-meta { margin: 0; font-size: .88rem; color: #6E6355; }
.pf-product .cx-badges { margin: 0; }
.pf-status {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: .35rem;
  padding: .2rem .6rem;
  font-size: .75rem;
  font-weight: 700;
}
.pf-status-live { color: #17633D; background: #E3F2E9; }
.pf-status-waiting { color: #7A5A00; background: #FDF1CC; }
.pf-status-rejected { color: #B42318; background: #FEF3F2; }
.pf-note { margin: 0; font-size: .85rem; color: #7A5A00; }
.pf-reason {
  margin: 0;
  padding: .45rem .6rem;
  font-size: .85rem;
  color: #B42318;
  background: #FEF3F2;
  border-left: 3px solid #B42318;
}
.pf-product-buttons { display: flex; gap: 1.2rem; margin-top: auto; padding-top: .5rem; font-size: .9rem; }
.pf-remove { color: #B42318; }
.pf-add-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  min-height: 180px;
  font-weight: 700;
  color: #1E4E8C;
  background: #FBF8F2;
  border: 1.5px dashed #CFC3AE;
}
.pf-add-card i { font-size: 2rem; }
.pf-add-card:hover { border-color: #1E4E8C; }

/* about my business and my account */
.pf-about { margin-bottom: 1.2rem; line-height: 1.7; color: #2E2720; }
.pf-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem 1.4rem;
  margin: 0;
}
.pf-details-1 { grid-template-columns: minmax(0, 1fr); }
.pf-details dt { font-size: .82rem; font-weight: 600; color: #6E6355; }
.pf-details dd { margin: 0; font-weight: 700; color: var(--light-text); overflow-wrap: anywhere; }
.pf-account-buttons { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }

/* how buyers reach you */
.pf-contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);   /* long emails get "..." instead of pushing the page */
  gap: .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pf-contacts li { display: flex; align-items: center; gap: .8rem; }
.pf-contacts li > div { flex: 1; min-width: 0; }
.pf-contacts small { display: block; font-size: .8rem; color: #6E6355; }
.pf-contacts a {
  display: block;
  overflow: hidden;
  font-weight: 700;
  color: var(--light-text);
  text-decoration: none;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pf-contacts a:hover { color: #1E4E8C; }
.pf-contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: #1E4E8C;
  background: #E5EEF9;
}
.pf-contacts li.is-empty .pf-contact-icon { color: #A8A090; background: #F6F1E8; }

/* popups: white, square, with the sign up form's fields */
.pf-modal .modal-content { color: var(--light-text); background: #FFFFFF; border: 1px solid #E8DFCF; border-radius: 0; }
/* the form sits between .modal-content and .modal-body: it passes the height on, so the body scrolls */
.pf-modal .modal-dialog-scrollable form { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.pf-modal .modal-header,
.pf-modal .modal-footer { border-color: #F1EBE0; }
.pf-modal .modal-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; color: var(--light-text); }
/* the page is dark-themed, which would make the close button white */
.pf-modal .btn-close { filter: none; }
.pf-modal .form-label { font-weight: 700; color: var(--light-text); }
.pf-modal .form-label i { color: #1E4E8C; }
.pf-modal .form-optional { font-weight: 400; color: #6E6355; }
.pf-modal .reg-section { margin: 1.4rem 0 .4rem; }
.pf-modal .reg-error { margin: 0 0 1rem; }
.pf-modal .form-check-input[type="radio"] { border-radius: 50%; }
.pf-modal .upload-cover .upload-box { height: auto; }

@media (max-width: 575.98px) {
  .pf-top-actions, .pf-top-actions .pf-btn { width: 100%; }
  .pf-details { grid-template-columns: minmax(0, 1fr); }
  .pf-products { grid-template-columns: minmax(0, 1fr); }
}


/* ---------- 24. Responsive ---------- */

/* Tablets and small laptops */
@media (max-width: 991.98px) {
  .hero { padding: 5.5rem 0; }   /* the same space at the top and the bottom */
  .hero-logo { max-width: 420px; }
  .hero-slides { margin: 0 auto; }
  .deal-photo img { height: 300px; }
  .about-photo .img-wrap { height: 380px; }
  .stats { grid-template-columns: repeat(2, 1fr); }

  .auth { padding: 2.5rem 0 3.5rem; }
  .auth-box { grid-template-columns: 1fr; }
  .auth-side { padding: 2rem 2rem 3.2rem; }
  .auth-side-inner { position: static; }
  .auth-side h1,
  .auth-side .auth-title { padding-right: 3rem; }   /* room for the close button */
}

/* Phones */
@media (max-width: 575.98px) {
  .section { padding: 3.5rem 0; }

  .hero { padding: 4.5rem 0; min-height: calc(100vh - 60px); min-height: calc(100svh - 60px); }   /* the navbar is smaller on phones */
  .hero-logo { max-width: 300px; }
  .hero-intro span { display: inline; }
  /* no arrows on phones: swipe the photo or tap the dots */
  .hero-slides .carousel-control-prev,
  .hero-slides .carousel-control-next { display: none; }
  .hero-slide-types { gap: .3rem; margin-bottom: .8rem; }
  .hero-slide-types li { padding: .22rem .6rem; font-size: .76rem; }
  .hero-slide-btn { padding: .55rem 1.1rem; font-size: .92rem; }
  .hero-search { padding-left: .6rem; }
  .hero-search i { display: none; }   /* more room for the text on phones */
  .hero-search input { padding: .7rem .6rem; font-size: .95rem; }
  .hero-search button { padding: .7rem 1rem; }

  .about-photo { padding: 0 0 1.2rem 1.2rem; }
  .about-photo .img-wrap { height: 320px; }
  .about-quote { right: 8px; top: 14px; padding: .7rem .9rem; }

  .shop-tools,
  .search-box,
  .shop-tools .form-select { width: 100%; }
  .search-box input { width: 100%; }

  .product-body { padding: .8rem .8rem .9rem; }
  .p-name  { font-size: .98rem; }
  .p-price { font-size: .98rem; }
  .p-add   { width: 38px; height: 38px; font-size: 1rem; }


  .pay-options { grid-template-columns: 1fr; }
  .countdown div { min-width: 64px; }

  .cta-box,
  .form-card { padding: 1.6rem; }
  .cta-buttons,
  .cta-buttons .btn { width: 100%; }

  .auth { padding: 1.5rem 0 3rem; }
  .auth-side { padding: 1.6rem 1.4rem 2.6rem; }
  .auth-list { display: none; }
  .auth-form { padding: 1.8rem 1.4rem; }
  .choice-grid { grid-template-columns: 1fr; }
}


/* ---------- 25. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}


/* ---------- 23c. Sign up and Log in: an intro section, then a clean form ----------
   1. .reg-intro : blue, says why to fill the form
   2. .reg-body  : beige, with a white sheet; one question per line,
                   the question on the left and the field on the right */
.reg-intro {
  padding: clamp(3rem, 5vw, 4.2rem) 0 clamp(5rem, 8vw, 6.2rem);   /* more room at the bottom: the sheet comes over it */
  color: #FFFFFF;
  background: #1E4E8C;
}
.reg-intro-small { padding-bottom: clamp(5rem, 8vw, 6.2rem); }
/* the title on one line (on computers), with the yellow brush line under it */
.reg-title {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 3.4rem;   /* room for the brush line */
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}
.reg-title::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(100% + .55rem);
  width: clamp(170px, 16vw, 240px);
  height: clamp(24px, 2.2vw, 32px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 44' preserveAspectRatio='none'%3E%3Cmask id='m'%3E%3Crect width='300' height='44' fill='%23fff'/%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round'%3E%3Cpath d='M12 33.5 C 70 26.5 130 20.6 196 15.5' stroke-width='.9' stroke-dasharray='58 4 31 9 12 60'/%3E%3Cpath d='M18 36.2 C 84 30.4 150 24.6 232 19.3' stroke-width='.8' stroke-dasharray='22 3 64 7 18 80'/%3E%3Cpath d='M30 31.2 C 92 24.4 150 17.6 214 11.6' stroke-width='.7' stroke-dasharray='70 12 24 80'/%3E%3Cpath d='M16 37.8 C 60 34.6 100 31.6 150 28.4' stroke-width='.8' stroke-dasharray='40 5 30 40'/%3E%3Cpath d='M150 18.6 C 190 15.8 230 13 262 11.2' stroke-width='.6' stroke-dasharray='34 18 20'/%3E%3C/g%3E%3C/mask%3E%3Cpath fill='%23F7BB01' mask='url(%23m)' d='M10 30 C 40 25.5 64 22.8 90 20.4 C 150 14.8 210 8.6 284 3 C 299 2.5 300 20 288 21 C 230 24.2 170 27.6 120 31 C 82 33.6 46 36.4 12 39 C 4 39.5 3 31 10 30 Z'/%3E%3Cg fill='none' stroke='%23F7BB01' stroke-linecap='round'%3E%3Cpath d='M12 31.2 L 1 33.4' stroke-width='1.6'/%3E%3Cpath d='M12 34.6 L 0 37.2' stroke-width='1.3'/%3E%3Cpath d='M14 37.8 L 4 40.6' stroke-width='1.1'/%3E%3Cpath d='M20 39 L 12 42' stroke-width='.9'/%3E%3C/g%3E%3C/svg%3E") left center / 100% 100% no-repeat;
}
/* the sentence on one line (on computers) */
.reg-lead {
  margin: 0;
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, .85);
}
.reg-body {
  padding: 3rem 0 clamp(3.5rem, 6vw, 5rem) !important;
  color: var(--light-text);
  background: #F6F1E8;
}

.reg-sheet {
  max-width: 920px;
  margin: 0 auto !important;
  padding: clamp(1.6rem, 4vw, 3rem) clamp(1.2rem, 4vw, 3rem);
  background: #FFFFFF;
  border: 1px solid #E8DFCF;
  box-shadow: 0 30px 60px -40px rgba(60, 40, 20, .45);
}
.reg-sheet-small { max-width: 720px; }
.reg-mandatory { margin: 0 0 1.4rem; font-size: .95rem; color: #6E6355; }
.fr-req { color: #D64545; }

/* section titles: small, in capitals */
.reg-section {
  margin: 2.4rem 0 1.1rem;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--light-text);
}
.reg-form > .reg-section:first-child,
.reg-mandatory + .reg-section { margin-top: 0; }
.reg-section-help { margin: -.4rem 0 1.1rem !important; }

/* one question: label on the left, field on the right */
.fr-row {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  align-items: start;
  gap: .5rem 2rem;
  padding: .55rem 0;
}
.fr-row .fr-label { padding-top: .7rem; }   /* level with the text inside the field */
.fr-label { margin: 0; font-size: .98rem; font-weight: 700; line-height: 1.35; color: var(--light-text); }
.fr-num { margin-right: .2rem; color: #1E4E8C; }
.fr-help { margin: .45rem 0 0; font-size: .88rem; line-height: 1.5; color: #6E6355; }

/* the fields: white, thin border, square */
.reg-form .form-control,
.reg-form .form-select {
  min-height: 46px;
  padding: .6rem .9rem;
  font-size: 1rem;
  color: var(--light-text);
  background-color: #FFFFFF;
  border: 1px solid #D9D0C0;
  border-radius: 0;
  box-shadow: none;
}
.reg-form textarea.form-control { min-height: 110px; resize: vertical; }
.reg-form .form-control::placeholder { color: #A8A090; }
.reg-form .form-control:focus,
.reg-form .form-select:focus { border-color: #1E4E8C; box-shadow: 0 0 0 3px rgba(30, 78, 140, .12); }
.reg-form .invalid-feedback { font-size: .86rem; color: #B42318; }
.reg-form.was-validated .form-control:invalid,
.reg-form.was-validated .form-select:invalid,
.reg-form .is-invalid { border-color: #D64545; }

/* phone: a "+250" box in front */
.fr-phone { display: grid; grid-template-columns: auto minmax(0, 1fr); }
.fr-prefix {
  display: flex;
  align-items: center;
  padding: 0 .9rem;
  font-weight: 700;
  color: var(--light-text);
  background: #F6F1E8;
  border: 1px solid #D9D0C0;
  border-right: 0;
}
.fr-phone .invalid-feedback { grid-column: 1 / -1; }

/* password with the eye button */
.fr-password { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.fr-password .form-control { border-right: 0; }
.fr-eye { width: 50px; color: #6E6355; background: #FFFFFF; border: 1px solid #D9D0C0; border-left: 0; }
.fr-eye:hover { color: #1E4E8C; }
.fr-password .invalid-feedback { grid-column: 1 / -1; }

/* choices: square boxes, blue when chosen */
.reg-form .pill-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.reg-form .pill-option {
  margin: 0;
  padding: .55rem 1rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--light-text);
  background: #FFFFFF;
  border: 1px solid #D9D0C0;
  border-radius: 0;
  cursor: pointer;
}
.reg-form .pill-option:hover { border-color: #1E4E8C; }
.reg-form .btn-check:checked + .pill-option { color: #FFFFFF; background: #1E4E8C; border-color: #1E4E8C; }
.reg-form .btn-check:focus-visible + .pill-option { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* a box with a yellow line on the left, for useful information */
.reg-info {
  display: grid;
  gap: .25rem;
  margin: 0 0 1rem;
  padding: 1rem 1.2rem;
  background: #FBF8F2;
  border: 1px solid #EFE6D6;
  border-left: 4px solid var(--yellow);
}
.reg-info strong { color: var(--light-text); }
.reg-info span { font-size: .93rem; color: #5A4F43; }

/* photo boxes */
.reg-form .upload-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 1rem; }
.reg-form .upload-box {
  min-height: 140px;
  color: #6E6355;
  background: #FBF8F2;
  border: 1.5px dashed #CFC3AE;
  border-radius: 0;
}
.reg-form .upload-box:hover { border-color: #1E4E8C; }
.reg-form .upload-logo .upload-box { width: 140px; height: 140px; }
/* the square logo box is small: its texts are smaller so longer languages (Kinyarwanda) stay inside */
.reg-form .upload-logo .upload-empty { gap: .1rem; padding: .35rem; line-height: 1.2; }
.reg-form .upload-logo .upload-empty i { font-size: 1.45rem; }
.reg-form .upload-logo .upload-empty strong { font-size: .84rem; line-height: 1.2; }
.reg-form .upload-logo .upload-empty small { font-size: .7rem; line-height: 1.25; }
.reg-form .upload-empty i { color: #1E4E8C; }
.reg-form .upload-empty strong { color: var(--light-text); }
.reg-form .upload-empty small { color: #6E6355; }
.fr-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.fr-product { display: grid; gap: .5rem; align-content: start; }
.fr-product .upload-box { min-height: 0; aspect-ratio: 4 / 3; }
.fr-product .form-control { min-height: 40px; font-size: .92rem; }
.fr-product textarea.form-control { min-height: 70px; }
.reg-form .upload-error { color: #B42318; }

/* the end: terms, the big button, the link */
.reg-end { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid #F1EBE0; }
.reg-form .form-check-input { width: 1.15em; height: 1.15em; background-color: #FFFFFF; border: 1.5px solid #C9BCA6; border-radius: 0; }
.reg-form .form-check-input:checked { background-color: #1E4E8C; border-color: #1E4E8C; }
.reg-form .form-check-label { color: var(--light-text); }
.reg-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.reg-row a, .reg-switch a { font-weight: 700; color: #1E4E8C; text-decoration: none; }
.reg-row a:hover, .reg-switch a:hover { text-decoration: underline; }
.reg-submit {
  display: block;
  width: 100%;
  margin-top: 1.3rem;
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  color: #FFFFFF;
  text-decoration: none;
  background: #1E4E8C;
  border: 0;
  transition: background .2s ease, color .2s ease;
}
.reg-submit:hover { color: var(--light-text); background: var(--yellow); }
.reg-switch { margin: 1.2rem 0 0; text-align: center; color: #6E6355; }
.reg-submit:disabled { cursor: wait; opacity: .7; }
.reg-submit:disabled:hover { color: #FFFFFF; background: #1E4E8C; }

/* message when the registration could not be sent */
.reg-error {
  margin-top: 1.3rem;
  padding: 1rem 1.2rem;
  font-size: .95rem;
  color: #B42318;
  background: #FEF3F2;
  border: 1px solid #FECDCA;
  border-left: 4px solid #B42318;
}
.reg-error ul { margin: .5rem 0 0; padding-left: 1.2rem; }

/* after sending */
.reg-done { padding: 2rem 1rem; text-align: center; }
.reg-done i { font-size: 3rem; color: #1F7A4D; }
.reg-done h3 { margin: .8rem 0 .4rem; font-family: var(--font-display); font-weight: 800; color: var(--light-text); }
.reg-done p { color: #5A4F43; }
.reg-done .reg-submit { display: inline-block; width: auto; }

/* phones: the question above its field, everything one under the other */
@media (max-width: 767.98px) {
  .fr-row, .fr-row-top { grid-template-columns: minmax(0, 1fr); gap: .45rem; padding: .7rem 0; }
  .fr-row .fr-label { padding-top: 0; }
  .fr-products { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
  .reg-sheet { margin-top: -2.5rem; }
  .reg-form .upload-row { grid-template-columns: 110px minmax(0, 1fr); }
  .reg-form .upload-logo .upload-box { height: 110px; min-height: 110px; }
}

/* ---------- 99. Square corners ----------
   Every card and every button has square corners (no border-radius),
   EXCEPT the search bars and their buttons (navbar, phone and products search),
   and the small round icon buttons (social media, menu, arrows).
   "!important" because some of these had a rounded rule that is more precise. */
/* cards and boxes */
.cx-card,
.cx-side,
.cx-panel,
.cx-empty,
.cx-total,
.faqh-card,
.follow-box,
.pd-card,
.pd-reach,
.pd-photo,
.pd-thumb,
.vd-product,
/* buttons */
.btn,
.btn-nav,
.connect-btn,
.hero-slide-btn,
.cx-read,
.cx-more,
.cx-clear,
.cx-cat,
.faqh-link,
.pd-back,
.pd-contact,
.follow,
.lang-switch,
.lang-option {
  border-radius: 0 !important;
}

/* ---------- Sign up: professional dropdowns ----------
   Every dropdown of the form (type of business, district, category, year, people):
   - no dark browser arrows: our own look, the same on every computer and phone
   - on the right, a beige box with a dark arrow, separated by a thin line
   - the border turns blue under the mouse and when it is open */
.reg-form .form-select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  color-scheme: light;   /* never the dark look of the browser */
  padding-right: 3.6rem;
  cursor: pointer;
  background-color: #FFFFFF;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%231F1A15' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(#D9D0C0, #D9D0C0),
    linear-gradient(#F6F1E8, #F6F1E8);
  background-repeat: no-repeat;
  background-position:
    right 15px center,   /* the arrow */
    right 46px top,      /* the thin line */
    right top;           /* the beige box */
  background-size:
    16px 16px,
    1px 100%,
    46px 100%;
}
.reg-form .form-select:hover { border-color: #1E4E8C; }
.reg-form .form-select:focus {
  border-color: #1E4E8C;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(#1E4E8C, #1E4E8C),
    linear-gradient(#1E4E8C, #1E4E8C);   /* when open: the box turns blue, the arrow white */
}
.reg-form.was-validated .form-select:invalid { border-color: #D64545; }
/* Once the form is checked, Bootstrap moves the background layers to fit its own valid / invalid icon,
   and the thin line then shows as a small square next to the arrow. Keep them where they are.
   (The class is repeated so this rule is stronger than Bootstrap's.) */
.reg-form .form-select.form-select.form-select.form-select:is(:valid, :invalid, .is-valid, .is-invalid) {
  padding-right: 3.6rem;
  background-position: right 15px center, right 46px top, right top;
  background-size: 16px 16px, 1px 100%, 46px 100%;
}
/* "Choose a year", "Choose a category": a softer color until something is chosen */
.reg-form .form-select:has(option[value=""]:checked) { color: #A8A090; }
.reg-form .form-select option,
.reg-form .form-select optgroup { color: var(--light-text); background: #FFFFFF; }

/* number boxes: never the small up / down arrows of the browser */
.reg-form input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.reg-form input[type="number"]::-webkit-inner-spin-button,
.reg-form input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- 26. Events page (events.html) ----------
   1. .evh  HERO: the Gura Local campaign (big, blue, with the Gura Local logo on yellow)
            and "Coming up": the next Made in Rwanda events (white)
   2. .ev-list  all the Made in Rwanda events with 3 tabs (light beige)
   3. .ev-share  for vendors */

/* --- 1. hero (white) --- */
.evh {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  color: var(--light-text);
  background: #FFFFFF;
}
.evh-title {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 3.4rem;   /* room for the brush line */
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--light-text);
}
.evh-title::after {   /* the yellow brush line (the same as the other titles) */
  content: "";
  position: absolute;
  left: 0;
  top: calc(100% + .55rem);
  width: clamp(170px, 16vw, 240px);
  height: clamp(24px, 2.2vw, 32px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 44' preserveAspectRatio='none'%3E%3Cmask id='m'%3E%3Crect width='300' height='44' fill='%23fff'/%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round'%3E%3Cpath d='M12 33.5 C 70 26.5 130 20.6 196 15.5' stroke-width='.9' stroke-dasharray='58 4 31 9 12 60'/%3E%3Cpath d='M18 36.2 C 84 30.4 150 24.6 232 19.3' stroke-width='.8' stroke-dasharray='22 3 64 7 18 80'/%3E%3Cpath d='M30 31.2 C 92 24.4 150 17.6 214 11.6' stroke-width='.7' stroke-dasharray='70 12 24 80'/%3E%3Cpath d='M16 37.8 C 60 34.6 100 31.6 150 28.4' stroke-width='.8' stroke-dasharray='40 5 30 40'/%3E%3Cpath d='M150 18.6 C 190 15.8 230 13 262 11.2' stroke-width='.6' stroke-dasharray='34 18 20'/%3E%3C/g%3E%3C/mask%3E%3Cpath fill='%23F7BB01' mask='url(%23m)' d='M10 30 C 40 25.5 64 22.8 90 20.4 C 150 14.8 210 8.6 284 3 C 299 2.5 300 20 288 21 C 230 24.2 170 27.6 120 31 C 82 33.6 46 36.4 12 39 C 4 39.5 3 31 10 30 Z'/%3E%3Cg fill='none' stroke='%23F7BB01' stroke-linecap='round'%3E%3Cpath d='M12 31.2 L 1 33.4' stroke-width='1.6'/%3E%3Cpath d='M12 34.6 L 0 37.2' stroke-width='1.3'/%3E%3Cpath d='M14 37.8 L 4 40.6' stroke-width='1.1'/%3E%3Cpath d='M20 39 L 12 42' stroke-width='.9'/%3E%3C/g%3E%3C/svg%3E") left center / 100% 100% no-repeat;
}
.evh-lead { margin: 0 0 2.2rem; font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: #5A4F43; }

.evh-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: stretch;   /* the two parts have the same height */
  gap: 1.4rem;
}
/* the next event: a big blue block, the date in yellow on the left */
.evh-main {
  display: grid;
  grid-template-columns: minmax(160px, 28%) minmax(0, 1fr);
  color: #FFFFFF;
  background: #1E4E8C;
}
/* the Gura Local logo on beige (the logo's own yellow line shows well there),
   with a yellow line on the right, between the logo and the blue */
.evh-main-logo {
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem;
  background: var(--light-bg);
  border-right: 8px solid var(--yellow);
}
.evh-main-logo img { width: 100%; max-width: 260px; height: auto; }
.evh-main-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem .5rem;
  color: var(--light-text);
  background: var(--yellow);
}
.evh-main-date strong { font-family: var(--font-display); font-size: clamp(3.4rem, 6vw, 5.2rem); font-weight: 800; line-height: .95; }
.evh-main-date span { margin-top: .5rem; font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.evh-main-body { display: flex; flex-direction: column; gap: .6rem; padding: clamp(1.5rem, 3vw, 2.4rem); }
.evh-label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  align-self: flex-start;
  margin: 0;
  padding: .25rem .7rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1E4E8C;
  background: #FFFFFF;
}
.evh-main-title { margin: .2rem 0 0; font-family: var(--font-display); font-size: clamp(2.4rem, 4.4vw, 3.8rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--yellow); }
.evh-main-vendor strong { color: #FFFFFF; }
.evh-main-text b { color: var(--yellow); }
/* the social media under the buttons */
.evh-socials { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.evh-socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
  color: #1E4E8C;
  text-decoration: none;
  background: #FFFFFF;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.evh-socials a:hover { color: var(--light-text); background: var(--yellow); transform: translateY(-3px); }
.evh-main-vendor { margin: 0; font-size: 1.05rem; color: rgba(255, 255, 255, .85); }
.evh-main-vendor a { font-weight: 700; color: var(--yellow); text-decoration: none; }
.evh-main-vendor a:hover { text-decoration: underline; }
.evh-main-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: .3rem 0 0; padding: 0; list-style: none; font-weight: 600; }
.evh-main-meta i { margin-right: .35rem; color: var(--yellow); }
.evh-main-text { margin: .2rem 0 0; max-width: 60ch; font-size: 1.05rem; line-height: 1.7; color: rgba(255, 255, 255, .88); }
.evh-buttons { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: auto; padding-top: 1rem; }
.evh-btn { padding: .85rem 1.5rem; font-weight: 700; text-decoration: none; transition: background .2s ease, color .2s ease; }
.evh-btn-main { color: var(--light-text); background: var(--yellow); }
.evh-btn-main:hover { color: var(--light-text); background: #FFD23F; }
.evh-btn-line { color: #FFFFFF; border: 2px solid rgba(255, 255, 255, .7); }
.evh-btn-line:hover { color: #1E4E8C; background: #FFFFFF; border-color: #FFFFFF; }

/* "Coming up": a white list with the next events */
.evh-side {
  display: flex;
  flex-direction: column;
  padding: clamp(1.3rem, 2.5vw, 1.8rem);
  background: #FAF6EF;
  border: 1px solid #E0D6C4;
}
.evh-side-title {
  margin: 0 0 .8rem;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6E6355;
}
.evh-list { display: grid; margin: 0; padding: 0; list-style: none; }
.evh-list li + li { border-top: 1px solid #F1EBE0; }
.evh-next { display: flex; align-items: center; gap: 1rem; padding: .9rem 0; color: var(--light-text); text-decoration: none; }
.evh-next-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  color: #FFFFFF;
  background: #1E4E8C;
  transition: background .2s ease, color .2s ease;
}
.evh-next-date strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; line-height: 1; }
.evh-next-date small { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); }
.evh-next-text strong { display: block; font-family: var(--font-display); font-size: 1.08rem; font-weight: 800; line-height: 1.25; }
.evh-next-text span { font-size: .9rem; color: #6E6355; }
.evh-next:hover .evh-next-date { color: var(--light-text); background: var(--yellow); }
.evh-next:hover .evh-next-date small { color: var(--light-text); }
.evh-next:hover .evh-next-text strong { color: #1E4E8C; }
.evh-side-link {
  margin-top: auto;
  padding: .75rem 1rem;
  font-weight: 700;
  text-align: center;
  color: #1E4E8C;
  text-decoration: none;
  border: 2px solid #1E4E8C;
  transition: background .2s ease, color .2s ease;
}
.evh-side-link:hover { color: #FFFFFF; background: #1E4E8C; }

/* --- 3. all the Made in Rwanda events (light beige) --- */
.ev-list {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  color: var(--light-text);
  background: #F6F1E8;
}
.ev-head { margin-bottom: 1.6rem; }
.ev-head-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--light-text);
}
.ev-head p { margin: .7rem 0 0; font-size: 1.08rem; color: #6E6355; }

/* the tabs: All / Upcoming / Past (radio buttons, no script) */
.ev-radio { position: absolute; opacity: 0; pointer-events: none; }
.ev-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.ev-tabs label {
  padding: .6rem 1.4rem;
  font-weight: 700;
  color: var(--light-text);
  background: #FFFFFF;
  border: 1px solid #D9D0C0;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ev-tabs label:hover { border-color: #1E4E8C; }
#evAll:checked ~ .ev-tabs label[for="evAll"],
#evUpcoming:checked ~ .ev-tabs label[for="evUpcoming"],
#evPast:checked ~ .ev-tabs label[for="evPast"] { color: #FFFFFF; background: #1E4E8C; border-color: #1E4E8C; }
#evAll:focus-visible ~ .ev-tabs label[for="evAll"],
#evUpcoming:focus-visible ~ .ev-tabs label[for="evUpcoming"],
#evPast:focus-visible ~ .ev-tabs label[for="evPast"] { outline: 3px solid var(--yellow); outline-offset: 2px; }
#evUpcoming:checked ~ .ev-grid .ev-card[data-when="past"],
#evPast:checked ~ .ev-grid .ev-card[data-when="upcoming"] { display: none; }

/* one event: the date on the left, the details on the right */
.ev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.ev-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  background: #FFFFFF;
  border: 1px solid #E8DFCF;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ev-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(60, 40, 20, .5); }
.ev-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.2rem .5rem;
  color: #FFFFFF;
  background: #1E4E8C;
}
.ev-date strong { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1; }
.ev-date span { margin-top: .3rem; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--yellow); }
.ev-date small { margin-top: .1rem; font-size: .85rem; color: rgba(255, 255, 255, .75); }
.ev-date.is-past { background: #6E6355; }
.ev-date.is-past span { color: #F6F1E8; }
.ev-body { display: flex; flex-direction: column; gap: .45rem; padding: 1.3rem 1.4rem 1.4rem; }
.ev-status {
  align-self: flex-start;
  margin: 0;
  padding: .2rem .6rem;
  font-size: .75rem;
  font-weight: 700;
  color: #17633D;
  background: #E3F2E9;
}
.ev-card[data-when="past"] .ev-status { color: #5A4F43; background: #EFE8DC; }
.ev-title { margin: 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; color: var(--light-text); }
.ev-vendor { margin: 0; font-size: .95rem; color: #6E6355; }
.ev-vendor a { font-weight: 700; color: #1E4E8C; text-decoration: none; }
.ev-vendor a:hover { text-decoration: underline; }
.ev-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: 0; padding: 0; list-style: none; font-size: .92rem; font-weight: 600; color: var(--light-text); }
.ev-meta li { position: relative; }
.ev-meta li + li::before {   /* a small dot between date, time and place */
  content: "";
  position: absolute;
  left: -.7rem;
  top: 50%;
  width: 4px;
  height: 4px;
  background: #C9BCA6;
  border-radius: 50%;
}
.ev-text { margin: .2rem 0 0; line-height: 1.6; color: #4A4036; }
.ev-link {
  align-self: flex-start;
  margin-top: auto;
  padding: .55rem 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  background: #1E4E8C;
  transition: background .2s ease, color .2s ease;
}
.ev-link:hover { color: var(--light-text); background: var(--yellow); }
.ev-card[data-when="past"] .ev-link { color: #1E4E8C; background: transparent; border: 2px solid #1E4E8C; }
.ev-card[data-when="past"] .ev-link:hover { color: #FFFFFF; background: #1E4E8C; }

/* --- 4. for vendors --- */
.ev-share-sec { padding: 0 0 clamp(3.5rem, 6vw, 5rem); background: #F6F1E8; }
.ev-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  color: #FFFFFF;
  background: #1E4E8C;
}
.ev-share h2 { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; color: #FFFFFF; }
.ev-share p { margin: .4rem 0 0; color: rgba(255, 255, 255, .85); }
.ev-share-btn {
  padding: .9rem 1.6rem;
  font-weight: 700;
  color: var(--light-text);
  text-decoration: none;
  background: var(--yellow);
  transition: background .2s ease;
}
.ev-share-btn:hover { color: var(--light-text); background: #FFD23F; }

/* --- smaller screens --- */
@media (max-width: 991.98px) {
  .evh-grid { grid-template-columns: minmax(0, 1fr); }
  .ev-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
  .evh-main { grid-template-columns: minmax(0, 1fr); }
  .evh-main-logo { padding: 1rem 1.5rem; place-items: center start; border-right: 0; border-bottom: 8px solid var(--yellow); }
  .evh-main-logo img { max-width: 170px; }
  .evh-btn { flex: 1 1 100%; text-align: center; }
  .ev-card { grid-template-columns: 88px minmax(0, 1fr); }
  .ev-date strong { font-size: 2rem; }
  .ev-body { padding: 1.1rem; }
  .ev-meta { flex-direction: column; gap: .1rem; }   /* date, time and place one under the other */
  .ev-meta li + li::before { display: none; }
  .ev-tabs label { flex: 1 1 0; text-align: center; padding: .6rem .5rem; }
  .ev-share-btn { width: 100%; text-align: center; }
}


/* ---------- Sign up: Made in Rwanda certificate, the logo alone, one product ---------- */
/* "Please choose one answer." under Yes / Application in progress / Not yet */
.reg-form.was-validated .pill-options:has(:invalid) + .fr-group-feedback { display: block; }

/* the box to upload the certificate (PDF, JPG or PNG) */
.fr-cert { position: relative; margin-top: 1rem; }
.fr-cert.fr-cert-first { margin-top: 0; }   /* the S-Mark box: right under its question */
.fr-cert[hidden] { display: none; }
/* the country of a foreign branch, under its type: the same dark label as the questions */
.fr-origin .fr-sublabel { display: block; margin-bottom: .4rem; font-size: .98rem; font-weight: 700; color: var(--light-text); }
.fr-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.fr-file-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 1rem 1.1rem;
  background: #FBF8F2;
  border: 1.5px dashed #CFC3AE;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.fr-file-box:hover { border-color: #1E4E8C; }
.fr-file-box > i { flex-shrink: 0; font-size: 1.9rem; color: #1E4E8C; }
.fr-file-text { display: grid; gap: .1rem; flex: 1; min-width: 0; }
.fr-file-text strong { color: var(--light-text); }
.fr-file-text small { font-size: .85rem; color: #6E6355; }
.fr-file-name {
  display: none;
  overflow: hidden;
  font-size: .92rem;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #1F7A4D;
}
.fr-file-change {
  display: none;
  flex-shrink: 0;
  padding: .3rem .8rem;
  font-size: .85rem;
  font-weight: 700;
  color: #1E4E8C;
  border: 1.5px solid #1E4E8C;
}
/* a file is chosen: green box, its name, and "Change" */
.fr-cert.has-file .fr-file-box { background: #F1F8F4; border-style: solid; border-color: #1F7A4D; }
.fr-cert.has-file .fr-file-box > i { color: #1F7A4D; }
.fr-cert.has-file .fr-file-text small { display: none; }
.fr-cert.has-file .fr-file-name,
.fr-cert.has-file .fr-file-change { display: block; }
.fr-file-input:focus-visible + .fr-file-box { outline: 3px solid var(--yellow); outline-offset: 2px; }
.reg-form.was-validated .fr-file-input:invalid + .fr-file-box { border-color: #D64545; }
.reg-form.was-validated .fr-file-input:invalid ~ .invalid-feedback { display: block; }

/* the logo alone (no cover photo) */
.reg-form .fr-logo-only { width: 140px; }

/* one product: the photo on the left, its name and description on the right */
.fr-product.fr-product-one {
  grid-template-columns: 200px minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
}
.fr-product-fields { display: grid; gap: .5rem; }

@media (max-width: 575.98px) {
  .reg-form .fr-logo-only { width: 110px; }
  .fr-product.fr-product-one { grid-template-columns: minmax(0, 1fr); }
  .fr-file-box { flex-wrap: wrap; }
}


/* ---------- Sign up: a clear box in every choice button ----------
   So people see they can click: a round box for "choose one" (Yes / Application in
   progress / Not yet), a square box for "choose all that apply" (sales channels).
   When chosen, the button turns blue and the box shows a dot or a tick. */
.reg-form .pill-option {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem 1.05rem .6rem .8rem;
  user-select: none;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.reg-form .pill-option::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: #FFFFFF center / 14px 14px no-repeat;
  border: 2px solid #9A8F80;
  border-radius: 4px;           /* square box: choose all that apply */
  transition: border-color .2s ease, background-color .2s ease;
}
.reg-form input[type="radio"] + .pill-option::before { border-radius: 50%; }   /* round: choose one */
.reg-form .pill-option:hover::before { border-color: #1E4E8C; }

/* chosen: a white tick (square box) */
.reg-form .btn-check:checked + .pill-option::before {
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%231E4E8C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  border-color: #FFFFFF;
}
/* chosen: a blue dot in a white circle (round box) */
.reg-form input[type="radio"].btn-check:checked + .pill-option::before {
  background-image: radial-gradient(circle, #1E4E8C 0 4px, #FFFFFF 5px);
  background-size: 100% 100%;
}
/* not chosen yet but the form was sent: red boxes */
.reg-form.was-validated .pill-options:has(:invalid) .pill-option::before { border-color: #D64545; }


/* ---------- Terms of Use and Privacy Policy page (privacy.html) ----------
   It uses the same blue top and white sheet as the sign up page (.reg-intro, .reg-sheet). */
.legal-head { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.2rem); }
.legal-logo.brand-logo { --logo: clamp(84px, 9vw, 116px); margin: 0; }
.legal-intro .reg-title { margin-bottom: 3rem; }
.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 1rem 0 0;
  padding: .3rem .8rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--light-text);
  background: var(--yellow);
}
.legal-sheet { max-width: 920px; }

/* the two buttons at the top: Terms of Use / Privacy Policy */
.legal-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.6rem; }
.legal-tabs a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.2rem;
  font-weight: 700;
  color: #1E4E8C;
  text-decoration: none;
  border: 2px solid #1E4E8C;
  transition: background .2s ease, color .2s ease;
}
.legal-tabs a:hover { color: #FFFFFF; background: #1E4E8C; }
.legal-summary { margin-bottom: 2.4rem; }

/* the text */
.legal { scroll-margin-top: 110px; }
.legal + .legal { margin-top: 3rem; padding-top: 2.6rem; border-top: 1px solid #E8DFCF; }
.legal h2 {
  margin: 0 0 .8rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 800;
  color: var(--light-text);
}
.legal h3 {
  margin: 1.8rem 0 .6rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #1E4E8C;
}
.legal p,
.legal li { font-size: 1rem; line-height: 1.75; color: #3D342B; }
.legal p { margin: 0 0 .8rem; }
.legal ul { margin: 0 0 .8rem; padding-left: 1.3rem; }
.legal li + li { margin-top: .3rem; }
.legal strong { color: var(--light-text); }
.legal a { font-weight: 600; color: #1E4E8C; }
.legal-contact { padding: 0 !important; list-style: none; }
.legal-contact li { display: flex; align-items: center; gap: .6rem; }
.legal-contact i { color: #1E4E8C; }

.legal-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid #F1EBE0;
}
.legal-btn { display: inline-block; width: auto; margin: 0; padding: .9rem 1.6rem; }
.legal-top { font-weight: 700; color: #1E4E8C; text-decoration: none; }
.legal-top:hover { text-decoration: underline; }

/* the link in the sign up checkbox, and in the footer */
.reg-form .form-check-label a { font-weight: 700; color: #1E4E8C; text-decoration: underline; }
.footer-bottom a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.footer-bottom a:hover { color: var(--yellow); }

@media (max-width: 575.98px) {
  .legal-head { flex-direction: column; align-items: flex-start; }
  .legal-btn { width: 100%; text-align: center; }
}

/* ==========================================================
   CONNECTED TO THE API: loading message on the catalog
   ========================================================== */
.cx-loading {
  grid-column: 1 / -1;
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--muted);
  list-style: none;
}
/* ---------- Events page: an event on several days (for example 19–27 Dec) ----------
   The two days are written smaller, so they fit in the date square. */
.ev-date.ev-date-range strong { font-size: 1.75rem; letter-spacing: -0.02em; white-space: nowrap; }
.evh-next-date.is-range strong { font-size: 1.02rem; letter-spacing: -0.02em; white-space: nowrap; }
@media (max-width: 575.98px) {
  .ev-date.ev-date-range strong { font-size: 1.3rem; }
}

/* ---------- SAVE THE DATE: the 2 big events (Events page and homepage) ----------
   Big cards: a big yellow date on the left, the event on the right.
   Blue for the Gura Local launch, dark charcoal (.is-festive) for the Christmas Festival
   (the same dark colour as the footer). */
.save-date { margin: 0 0 3rem; }
.save-date-title {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #1E4E8C;
}
.sd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}
.sd-card {
  display: grid;
  grid-template-columns: clamp(130px, 13vw, 190px) minmax(0, 1fr);
  overflow: hidden;
  text-align: left;
  color: #FFFFFF;
  background: #1E4E8C;
  box-shadow: 0 28px 50px -30px rgba(20, 50, 90, .7);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sd-card:hover { transform: translateY(-5px); box-shadow: 0 34px 60px -30px rgba(20, 50, 90, .8); }
.sd-card.is-festive {
  background: linear-gradient(135deg, #2A2833 0%, #1C1B21 100%);   /* dark charcoal, like the footer */
  box-shadow: 0 28px 50px -30px rgba(10, 9, 13, .8);
}
.sd-card.is-festive:hover { box-shadow: 0 34px 60px -30px rgba(10, 9, 13, .9); }

/* the big date */
.sd-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem .6rem;
  text-align: center;
  color: var(--light-text);
  background: var(--yellow);
}
.sd-date strong {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 6.5vw, 5.6rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -0.04em;
}
.sd-date.is-range strong { font-size: clamp(2.3rem, 4vw, 3.4rem); white-space: nowrap; }
.sd-date span { margin-top: .5rem; font-size: clamp(1.1rem, 1.6vw, 1.45rem); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.sd-date small { margin-top: .15rem; font-size: .95rem; font-weight: 600; }

/* the event */
.sd-body { display: flex; flex-direction: column; gap: .7rem; padding: clamp(1.4rem, 2.6vw, 2.2rem); }
.sd-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  align-self: flex-start;
  margin: 0;
  padding: .35rem .85rem;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--light-text);
  background: #FFFFFF;
}
.sd-tag[hidden] { display: none; }
.sd-title {
  margin: .1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--yellow);
}
.sd-meta { display: grid; gap: .3rem; margin: 0; padding: 0; list-style: none; font-weight: 600; color: #FFFFFF; }
.sd-meta li { display: flex; align-items: flex-start; gap: .5rem; }
.sd-meta i { margin-top: .15rem; color: var(--yellow); }
.sd-text { margin: 0; font-size: 1.02rem; line-height: 1.65; color: rgba(255, 255, 255, .88); }
.sd-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-top: auto; padding-top: .6rem; }
.sd-btn {
  display: inline-block;
  padding: .8rem 1.5rem;
  font-weight: 800;
  color: var(--light-text);
  text-decoration: none;
  background: var(--yellow);
  transition: background .2s ease;
}
.sd-btn:hover { color: var(--light-text); background: #FFD23F; }
.sd-link { font-weight: 700; color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.sd-link:hover { color: var(--yellow); }

/* on the homepage: inside the "Discover our events" section, between the text and the button */
.save-date-home { margin: 2.4rem 0 0; }

/* tablets and phones: one card under the other; on small phones, the date on top */
@media (max-width: 991.98px) {
  .sd-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
  .sd-card { grid-template-columns: minmax(0, 1fr); }
  .sd-date { flex-direction: row; justify-content: flex-start; gap: .8rem; padding: 1rem 1.3rem; }
  .sd-date strong { font-size: 3rem; }
  .sd-date.is-range strong { font-size: 2.4rem; }
  .sd-date span, .sd-date small { margin: 0; }
  .sd-btn { flex: 1 1 100%; text-align: center; }
}

/* ---------- Events page: the "More events coming soon" card ----------
   The whole width, a dashed border, the date square with an hourglass. */
.ev-card.ev-card-soon { grid-column: 1 / -1; background: #FBF8F2; border: 2px dashed #CFC3AE; }
.ev-card-soon .ev-date { background: #6E6355; }
.ev-card-soon .ev-date strong { font-size: 2.2rem; }
.ev-card-soon .ev-status { color: #7A5A00; background: #FDF1CC; }
.evh-next-soon { background: #6E6355; }
.evh-next-soon strong { font-size: 1.2rem; }

/* ---------- Events page: the Gura Local card is the launch card ----------
   Under the Gura Local logo, the big date; under the title, #BuriMunsi. */
.evh-main-logo { gap: 1.2rem; align-content: center; }
.evh-main-when {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .6rem 1.2rem .7rem;
  color: var(--light-text);
  background: var(--yellow);
}
.evh-main-when strong { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 4.2rem); font-weight: 800; line-height: .9; }
.evh-main-when span { margin-top: .3rem; font-size: .95rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.evh-main-tag {
  margin: -.2rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 800;
  color: #FFFFFF;
}
.evh-label[hidden] { display: none; }
.evh-main { scroll-margin-top: 110px; }

/* the Christmas Festival under it: one big card, the whole width */
.save-date.save-date-after { margin: 2.6rem 0 0; }
.sd-grid.sd-grid-one { grid-template-columns: minmax(0, 1fr); }
.sd-grid-one .sd-card { grid-template-columns: clamp(150px, 16vw, 230px) minmax(0, 1fr); scroll-margin-top: 110px; }

@media (max-width: 575.98px) {
  .evh-main-logo { display: flex; align-items: center; justify-content: space-between; }
  .evh-main-when { padding: .5rem .9rem; }
  .evh-main-when strong { font-size: 2.4rem; }
  .sd-grid-one .sd-card { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Events page: the Gura Local launch inside the #BuriMunsi card ---------- */
.evh-main-when small { margin-bottom: .2rem; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.evh-launch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
  margin-top: .4rem;
  padding: .85rem 1rem;
  color: var(--light-text);
  background: var(--yellow);
}
.evh-launch-tag {
  margin: 0;
  padding: .2rem .6rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: #1E4E8C;
}
.evh-launch-tag[hidden] { display: none; }
.evh-launch-text { flex: 1; min-width: 200px; margin: 0; font-weight: 600; line-height: 1.45; }
.evh-launch-text strong { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; }
.evh-launch-link { font-weight: 800; color: var(--light-text); text-decoration: none; white-space: nowrap; }
.evh-launch-link:hover { color: #1E4E8C; text-decoration: underline; }

/* the line above the social media icons in the #BuriMunsi card */
.evh-follow {
  margin: 1.1rem 0 0;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}
.evh-follow + .evh-socials { margin-top: .6rem; }

/* ---------- Footer: the 4 columns with the SAME SPACE between them ----------
   On computers each column is only as wide as its content, and the space left
   is shared equally between the columns: no big empty area after the short lists. */
.footer-cols > [class*="col-"] { display: flex; flex-direction: column; }
.footer-cols .footer-about { max-width: 320px; }
@media (min-width: 992px) {
  .footer-cols { justify-content: space-between; }
  .footer-cols > [class*="col-"] { flex: 0 1 auto; width: auto; max-width: 340px; }
}

/* ---------- Sign up: a question with two boxes (Address line 1 + Sector) ---------- */
.fr-subfields { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: .8rem 1rem; }
.fr-subfield { display: grid; gap: .3rem; }
.fr-sublabel { margin: 0; font-size: .88rem; font-weight: 600; color: #5A4F43; }
@media (max-width: 575.98px) {
  .fr-subfields { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Sign up: choices one under the other (question 13, how you sell) ----------
   Only the tick box and the text: no box around each choice.
   Chosen: the tick box turns blue with a white tick, and the text turns bold. */
.reg-form .pill-options.pill-options-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  gap: .35rem;
}
.reg-form .pill-options-stack .pill-option,
.reg-form .pill-options-stack .pill-option:hover,
.reg-form .pill-options-stack .btn-check:checked + .pill-option {
  padding: .3rem 0;
  font-weight: 500;
  color: var(--light-text);
  background: transparent;
  border: 0;
}
.reg-form .pill-options-stack .btn-check:checked + .pill-option { font-weight: 700; }
.reg-form .pill-options-stack .btn-check:checked + .pill-option::before {
  background-color: #1E4E8C;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  border-color: #1E4E8C;
}
.reg-form .pill-options-stack .btn-check:focus-visible + .pill-option { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ---------- Sign up: the 3 product questions (a small title above each box) ---------- */
.fr-product-fields { gap: .35rem; }
.fr-product-fields .fr-sublabel { font-size: .92rem; font-weight: 700; color: var(--light-text); }
.fr-product-fields .fr-sublabel:not(:first-child) { margin-top: .7rem; }

/* ---------- Sign up: the "Business or personal?" question under WhatsApp ---------- */
.fr-sublabel.fr-sublabel-question { margin: 1rem 0 .5rem; font-size: .92rem; font-weight: 700; color: var(--light-text); }

/* the Facebook button on the product cards and business pages */
.cx-social-facebook { background: #1877F2; }

/* ---------- Country flags in the phone boxes ----------
   Windows does not show flag emojis by itself: this small free font (only the flags) fixes it.
   The other characters keep the normal font of the site. */
@font-face {
  font-family: "Twemoji Country Flags";
  unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E007F;
  src: url("https://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1.10/dist/TwemojiCountryFlags.woff2") format("woff2");
  font-display: swap;
}
.phone-code-flag { font-family: "Twemoji Country Flags", var(--font-body); }

/* ---------- Phone boxes: the country code (typed or chosen from the list), then the number ----------
   Same line on every screen. The code box is wide enough for the longest code ("+1868"). */
.fr-phone.fr-phone-country { grid-template-columns: 8.6rem minmax(0, 1fr); }
.reg-form .phone-code {
  position: relative;
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: 0 0 0 .75rem;
  background: #F6F1E8;
  border-right: 0;
  cursor: text;
}
.reg-form .phone-code:focus-within { border-color: #1E4E8C; box-shadow: 0 0 0 3px rgba(30, 78, 140, .12); }
.phone-code > .phone-code-flag { flex: none; font-size: 1.15rem; line-height: 1; }
.phone-code-input {
  flex: 1;
  min-width: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--light-text);
  background: transparent;
  border: 0;
  outline: 0;
}
.phone-code-toggle {
  flex: none;
  align-self: stretch;
  display: grid;
  place-items: center;
  width: 2.2rem;
  padding: 0;
  font-size: .8rem;
  color: var(--light-text);
  background: transparent;
  border: 0;
  cursor: pointer;
}
/* the list of countries under the box */
.phone-code-list {
  position: absolute;
  top: calc(100% + 4px);
  left: -1px;
  z-index: 1060;               /* above the edit window of the profile page */
  width: min(19rem, 86vw);
  max-height: 16rem;
  margin: 0;
  padding: .3rem;
  overflow-y: auto;
  list-style: none;
  background: #FFFFFF;
  border: 1px solid #D9D0C0;
  box-shadow: 0 12px 28px rgba(31, 26, 21, .14);
}
.phone-code-list li {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .6rem;
  font-size: .95rem;
  cursor: pointer;
}
.phone-code-list li b { min-width: 3.4rem; }
.phone-code-list .phone-code-name { overflow: hidden; color: #6E6355; text-overflow: ellipsis; white-space: nowrap; }
.phone-code-list li.is-active,
.phone-code-list li[data-iso]:hover { background: #F6F1E8; }
.phone-code-list .phone-code-none { color: #6E6355; cursor: default; }

/* ---------- Form section titles (Your details, Your business, Log in ...) ----------
   Bigger, in the blue of the site, on a light blue band with a yellow bar on the left,
   so each part of the form is easy to see. */
.reg-form .reg-section {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 2.8rem 0 1.3rem;
  padding: .85rem 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #1E4E8C;
  background: #E5EEF9;
  border-left: 6px solid var(--yellow);
}
.reg-form > .reg-section:first-child,
.reg-form .reg-mandatory + .reg-section { margin-top: 0; }
@media (max-width: 575.98px) {
  .reg-form .reg-section { padding: .75rem .9rem; font-size: 1.2rem; }
}

/* ---------- Sign up and Log in: the big title in the middle, with its yellow line under it ---------- */
body[data-page="signup"] .reg-intro .container,
body[data-page="login"] .reg-intro .container { text-align: center; }
body[data-page="signup"] .reg-title,
body[data-page="login"] .reg-title { margin-left: auto; margin-right: auto; text-align: center; }
body[data-page="signup"] .reg-title::after,
body[data-page="login"] .reg-title::after { left: 50%; transform: translateX(-50%); }

/* ---------- Categories: the subcategories under the chosen category ----------
   (index "Explore local business products and connect." and the Products page)
   The names, the order and the subcategories come from MAIN_CATEGORIES in js/script.js.
   On phones and tablets the categories slide sideways, so the subcategories show
   only under the title on the right. */
.cx-cat-text { display: grid; gap: .15rem; min-width: 0; }
.cx-cat-sub {
  font-size: .76rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(31, 26, 21, .72);
}
@media (max-width: 991.98px) {
  .cx-cat-sub { display: none; }
}

/* ---------- Kinyarwanda: longer texts ----------
   "Reba ibicuruzwa bikorerwa mu Rwanda n’abacuruzi babyo" is longer than the English button
   on the homepage slides: in Kinyarwanda only, it may go on two lines instead of leaving the slide. */
html[lang="rw"] .hero-slide-btn {
  max-width: 100%;
  white-space: normal;
  text-align: left;
  line-height: 1.35;
}

/* ---------- Hero: the slides come from the products on Gura Local ----------
   While the products are loading, the brush shows its beige colour with no dark shade.
   With no product photo yet, the slides are hidden and the logo sits in the middle. */
.hero-slide.is-loading::after { display: none; }
.hero-grid.no-slides { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.hero-grid.no-slides .hero-brand { width: 100%; max-width: 560px; }




/* ==========================================================
   NEW HERO (indexes.html) START
   The hero of indexes.html, EXACTLY like the "Gura Local" poster.
   On computers the hero has the poster's shape (16:9) and every part is placed
   where it is on the poster (in % of the poster, so it looks the same on every screen):
   - top left: imigongo diamonds
   - left: img/guralocal.png (Made in Rwanda + Gura Local, with its own brush strokes)
   - bottom left: optional photo of Kigali (img/kigali.png) and the waves
   - right: the product slides, cut by the blue and yellow curve, waves at the bottom
   All the coloured lines are drawn in indexes.html (<svg class="gh-art">).
   Tablets and phones: logos and search bar one under the other,
   waves at the bottom (the product slides show only on computers, like before).
   Every class here starts with "gh-", so the old hero (index.html, .hero ...) never changes.
   To remove this hero: delete everything from START to END.
   ========================================================== */

.gh-hero {
  position: relative;
  overflow: hidden;
  color: #121212;
  background: #FDF7EE;                 /* the cream of the poster */
  container-type: inline-size;         /* "cqw" below = 1% of the width of the hero */
}
/* the poster: 16:9, everything inside is placed in % of it.
   On wide screens the hero would be taller than the screen: then it takes the height of
   the screen (under the navbar), so the whole hero is always seen, waves included. */
.gh-stage {
  position: relative;
  width: 100%;
  height: min(56.25cqw, max(calc(100vh - 74px), 38cqw));
}

/* top left: imigongo diamonds, cut on a diagonal like the poster */
.gh-pattern {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 17.5cqw;
  height: 17.5cqw;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23F5DDB1' fill-rule='evenodd' d='M50 2 98 50 50 98 2 50ZM10 50 50 90 90 50 50 10ZM50 17 83 50 50 83 17 50ZM25 50 50 75 75 50 50 25ZM50 32 68 50 50 68 32 50ZM40 50 50 60 60 50 50 40ZM0 -48 48 0 0 48 -48 0ZM-40 0 0 40 40 0 0 -40ZM0 -33 33 0 0 33 -33 0ZM-25 0 0 25 25 0 0 -25ZM0 -18 18 0 0 18 -18 0ZM-10 0 0 10 10 0 0 -10ZM100 -48 148 0 100 48 52 0ZM60 0 100 40 140 0 100 -40ZM100 -33 133 0 100 33 67 0ZM75 0 100 25 125 0 100 -25ZM100 -18 118 0 100 18 82 0ZM90 0 100 10 110 0 100 -10ZM0 52 48 100 0 148 -48 100ZM-40 100 0 140 40 100 0 60ZM0 67 33 100 0 133 -33 100ZM-25 100 0 125 25 100 0 75ZM0 82 18 100 0 118 -18 100ZM-10 100 0 110 10 100 0 90ZM100 52 148 100 100 148 52 100ZM60 100 100 140 140 100 100 60ZM100 67 133 100 100 133 67 100ZM75 100 100 125 125 100 100 75ZM100 82 118 100 100 118 82 100ZM90 100 100 110 110 100 100 90Z'/%3E%3C/svg%3E") -1.3cqw -3.3cqw / 6.56cqw 6.56cqw repeat;
  -webkit-mask-image: linear-gradient(135deg, #000 40%, transparent 45%);
          mask-image: linear-gradient(135deg, #000 40%, transparent 45%);
  pointer-events: none;
}

/* bottom left: the photo of Kigali, fading into the cream (only if img/kigali.png exists) */
.gh-city {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 0;
  width: 40.6%;
  height: 28.9%;
  object-fit: cover;
  object-position: left bottom;
  -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 100%), linear-gradient(to top, #000 50%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, #000 55%, transparent 100%), linear-gradient(to top, #000 50%, transparent 100%);
          mask-composite: intersect;
  pointer-events: none;
  user-select: none;
}

/* right: the product slides, where the photo is on the poster */
.gh-media {
  position: absolute;
  top: 0;
  left: 55%;
  z-index: 1;
  width: 45%;
  height: 100%;
}
/* cut along the curve (top), soft on the left (bottom), like the poster */
.gh-photo {
  position: absolute;
  inset: 0;
  background: #EDE4D6;   /* shows while the photos are loading */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 900' preserveAspectRatio='none'%3E%3Cpath d='M442 -12 C438 -10 428 -9 415 0 C402 9 378 27 363 40 C348 53 335 67 323 80 C311 93 302 107 293 120 C284 133 276 147 270 160 C264 173 260 187 255 200 C250 213 246 227 242 240 C238 253 235 267 232 280 C229 293 224 308 222 320 C220 332 219 339 217 352 C215 365 218 385 212 400 C206 415 197 427 180 440 C163 453 137 467 110 480 C83 493 38 511 20 520 C2 529 3 532 0 535 L0 900 L720 900 L720 -12 Z'/%3E%3C/svg%3E"), linear-gradient(to right, transparent 0, #000 12%);
  -webkit-mask-size: 100% 100%, 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-composite: source-in;
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 900' preserveAspectRatio='none'%3E%3Cpath d='M442 -12 C438 -10 428 -9 415 0 C402 9 378 27 363 40 C348 53 335 67 323 80 C311 93 302 107 293 120 C284 133 276 147 270 160 C264 173 260 187 255 200 C250 213 246 227 242 240 C238 253 235 267 232 280 C229 293 224 308 222 320 C220 332 219 339 217 352 C215 365 218 385 212 400 C206 415 197 427 180 440 C163 453 137 467 110 480 C83 493 38 511 20 520 C2 529 3 532 0 535 L0 900 L720 900 L720 -12 Z'/%3E%3C/svg%3E"), linear-gradient(to right, transparent 0, #000 12%);
          mask-size: 100% 100%, 100% 100%;
          mask-repeat: no-repeat;
          mask-composite: intersect;
}
/* the slides (section 7) fill the whole photo here: no brush shape, no shadow */
.gh-media .hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  filter: none;
  animation: none;
}
.gh-media .hero-slides::before { display: none; }
.gh-media .hero-slides .carousel-inner {
  height: 100%;
  background: transparent;
  -webkit-mask: none;
          mask: none;
}
.gh-media .carousel-item { height: 100%; }
/* Product photos are landscape (4:3) and this space is tall, so a photo stretched over all of it
   would be zoomed in and cut. Instead the whole photo fills the width of the space, in the middle,
   its edges melting into what is drawn around it (below). */
.gh-media .hero-slide {
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  background: #F3EADB;
}
/* Around the photo: its own top edge stretched up, its bottom edge stretched down, blurred,
   so the photo seems to continue (white for a photo on white, the wall and floor for a room).
   No dark shade over the photo, like the poster. */
.gh-media .hero-slide::before,
.gh-media .hero-slide::after {
  content: "";
  display: block;
  position: absolute;
  left: -8%;
  right: -8%;
  background-image: var(--photo, none);
  background-repeat: no-repeat;
  filter: blur(1.6cqw) saturate(1.1);
}
.gh-media .hero-slide::before { top: -8%; bottom: 50%; background-position: center top; background-size: 100% 900%; }
.gh-media .hero-slide::after { top: 50%; bottom: -8%; background-position: center bottom; background-size: 100% 900%; }
.gh-media .hero-slide img {
  position: absolute;
  top: 16%;
  right: -3%;   /* a little past the right edge */
  z-index: 1;
  width: 86%;   /* to the right edge: the left of the space is mostly behind the curve */
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  /* soft top, bottom and left edges */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(to right, transparent 0, #000 18%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(to right, transparent 0, #000 18%);
          mask-composite: intersect;
}
/* the name of the category, its products and its button, like on the homepage: straight on the
   bottom of the photo, over a soft dark shade that fades away on every side (no box) */
.gh-media .hero-slide-caption {
  left: 17%;   /* the left edge of the photo */
  right: 0;
  top: auto;
  bottom: 21%;
  z-index: 2;
  padding: 3.5cqw 6% 2.6cqw 17%;
  background: linear-gradient(to top, transparent 0, rgba(10, 10, 12, .62) 22%, rgba(10, 10, 12, .45) 62%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%);
          mask-image: linear-gradient(to right, transparent 0, #000 14%);
}
/* the arrows: together in the top right corner */
.gh-media .carousel-control-prev,
.gh-media .carousel-control-next {
  top: 4%;
  left: auto;
  margin: 0;
  transform: none;
}
.gh-media .carousel-control-next { right: 3%; }
.gh-media .carousel-control-prev { right: calc(3% + 44px + .6rem); }
/* no product photo yet: no photos, the lines stay */
.gh-hero:has(#heroSlides[hidden]) .gh-media { display: none; }

/* all the coloured lines of the poster (drawn in indexes.html): above the photos and the logos,
   so a white background in img/guralocal.png never hides them */
.gh-art {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* the logos */
.gh-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  animation: logo-in .9s cubic-bezier(.2, .8, .2, 1) backwards;
}
.gh-content > * { pointer-events: auto; }
/* img/guralocal.png: the place of the two logos on the poster */
.gh-brand-img {
  position: absolute;
  left: 4.06%;
  top: 14.44%;
  width: 61.25%;
  height: 49.44%;
  object-fit: contain;
  object-position: left center;
  margin: 0;
  user-select: none;
}

/* the waves for tablets and phones: hidden on computers */
.gh-waves-m { display: none; }

/* --- tablets and phones (under 992px) --- */
@media (max-width: 991.98px) {
  .gh-stage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    min-height: calc(100vh - 74px);
    min-height: calc(100svh - 74px);
    padding: 3.5rem clamp(1rem, 3vw, 3rem) calc(clamp(60px, 14vw, 110px) + 2.5rem);
  }
  .gh-media,
  .gh-art { display: none; }
  .gh-pattern { width: 150px; height: 150px; background-size: 52px 52px; background-position: 0 0; }
  .gh-city { width: 75%; height: 32%; opacity: .55; }
  .gh-content {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
  }
  .gh-brand-img {
    position: static;
    width: 100%;
    height: auto;
    object-position: center;
  }
  .gh-hero .hero-search-bar { max-width: 640px; margin-top: 2rem; }
  .gh-waves-m {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    height: clamp(60px, 14vw, 110px);
  }
}

/* ==========================================================
   NEW HERO (indexes.html) END
   ========================================================== */
   /* ==========================================================
   NEW HERO — PASTE THIS AT THE VERY END OF css/style.css
   (after the last line of the file; do not change anything above it)
   Every class starts with "lh-", so it never touches the other styles.
   It reuses the brush slides (.hero-slides) and the corner patterns
   (.corner-pattern) that are already in this file.

   Left:  Made in Rwanda | line | Gura Local tag
          The empty space inside the two PNG files is cancelled with negative
          margins (see the --made-... and --tag-... numbers), so the space on each
          side of the line is EXACTLY equal. No JavaScript needed.
   Right: the brush slides, made by js/script.js (renderHeroSlides)
   ========================================================== */

.lh-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(860px, calc(100vh - 82px));
  padding: 6.5rem 0;                    /* room for the two corner patterns */
  color: var(--light-text);
  background: var(--light-bg);          /* plain beige, nothing else behind */
}
.lh-hero > .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* the two corner patterns, as before (V top right, mountains bottom left).
   Their position comes from .corner-pattern in style.css; only the sizes are here. */
.lh-hero .corner-top { width: clamp(100px, 7vw, 130px); }
.lh-hero .corner-bottom { width: clamp(140px, 10vw, 180px); }


/* ---------- layout: 2 columns ----------
   Left (logos) is a bit wider than the right (slides).
   TO MAKE THE LOGOS BIGGER: change 1.1fr / .9fr to 1.25fr / .75fr. */
.lh-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  column-gap: clamp(1.5rem, 3vw, 3.5rem);
}
/* computers: the hero always fits on one screen */
@media (min-width: 992px) {
  .lh-grid {
    max-width: calc((100vh - 82px - 13rem) * .9 * 2.5914 + clamp(1.5rem, 3vw, 3.5rem));
    margin: 0 auto;
  }
}


/* ---------- left: Made in Rwanda | line | Gura Local ---------- */
.lh-brand {
  container-type: inline-size;          /* so the sizes can follow the width of this column (cqw) */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  min-width: 0;
  animation: logo-in .9s cubic-bezier(.2, .8, .2, 1) backwards;
}

/* One row, in the middle of the column: Made in Rwanda | line | Gura Local.
   The space (gap) is the SAME on both sides of the line.
   TO CHANGE THE SPACE: change --lh-gap (smaller number = logos closer to the line).

   The PNG files have empty space around the logos. These numbers say how much
   (they were measured on your screenshot) and the margins below remove it, so the
   gap you see is the real gap between the logo and the line:
     --made-w      width of the whole made.webp file (the visible logo is only about half of it)
     --made-pad-*  empty space inside made.webp, as a part of its width (.22 = 22%)
     --tag-w       width of the whole gural.webp file
     --tag-pad-x   empty space on each side of gural.webp
   If Made in Rwanda looks too far from the line, make --made-pad-r bigger (for example .26);
   if it looks too close, make it smaller (for example .22). Same idea for --made-pad-l. */
.lh-lockup {
  --made-w: 83%;
  --made-pad-l: .22;
  --made-pad-r: .24;
  --made-pad-y: .20;
  --tag-w: 44%;
  --tag-pad-x: .047;

  --lh-gap: clamp(.8rem, 3vw, 2.2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--lh-gap);
  width: 100%;
  margin: 0;
}
@supports (width: 1cqw) {
  .lh-lockup { --lh-gap: clamp(.8rem, 4cqw, 2.4rem); }
}

/* Made in Rwanda: the BIG one (the visible logo is about 44% of the width).
   TO MAKE IT BIGGER OR SMALLER: change --made-w (for example 90% or 76%). */
.lh-made {
  flex: none;
  width: var(--made-w);
  height: auto;
  margin-top: calc(var(--made-w) * var(--made-pad-y) * -1);
  margin-bottom: calc(var(--made-w) * var(--made-pad-y) * -1);
  margin-left: calc(var(--made-w) * var(--made-pad-l) * -1);
  margin-right: calc(var(--made-w) * var(--made-pad-r) * -1);
  mix-blend-mode: multiply;             /* a white box around the logo disappears into the beige */
}
/* Gura Local tag: a bit smaller (the visible tag is about 40% of the width).
   TO MAKE IT BIGGER OR SMALLER: change --tag-w (keep the tag smaller than Made in Rwanda). */
.lh-tag {
  flex: none;
  width: var(--tag-w);
  height: auto;
  margin-left: calc(var(--tag-w) * var(--tag-pad-x) * -1);
  margin-right: calc(var(--tag-w) * var(--tag-pad-x) * -1);
  filter: drop-shadow(0 16px 20px rgba(70, 50, 25, .22));
}

/* the line: as tall as the Made in Rwanda logo, the 3 colours of the logo (green, blue, yellow) */
.lh-divider {
  flex: 0 0 5px;
  height: clamp(90px, 14vw, 240px);
  background: linear-gradient(180deg, #1F7A4D 0 33.34%, #2F6DB5 33.34% 66.67%, #F7BB01 66.67% 100%);
  border-radius: 6px;
}
@supports (width: 1cqw) {
  .lh-divider { height: clamp(90px, 46cqw, 260px); }
}


/* ---------- right: the brush slides ---------- */
.lh-slides { min-width: 0; }

/* no product photo yet: the left side sits alone in the middle */
.lh-grid.no-slides,
.lh-grid:has(#heroSlides[hidden]) {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}
.lh-grid.no-slides .lh-brand,
.lh-grid:has(#heroSlides[hidden]) .lh-brand {
  width: 100%;
  max-width: 640px;
  align-items: center;
}


/* ---------- tablets and phones (under 992px) ----------
   logos, then the search bar, all in the middle.
   The slides stay hidden here (style.css already does that). */
@media (max-width: 991.98px) {
  .lh-hero {
    min-height: calc(100vh - 74px);
    min-height: calc(100svh - 74px);
    padding: 5.5rem 0;
  }
  .lh-hero .corner-top { width: 100px; }
  .lh-hero .corner-bottom { width: 150px; }
  .lh-grid { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .lh-lockup { max-width: 620px; }
  .lh-search { margin-top: .6rem; }
}

/* phones */
@media (max-width: 575.98px) {
  .lh-hero { padding: 4.5rem 0; }
  .lh-hero .corner-top { width: 80px; }
  .lh-hero .corner-bottom { width: 120px; }
}

/* small phones */
@media (max-width: 389.98px) {
  .lh-hero .corner-top { width: 72px; }
}