/* ==========================================================================
   ChooseMyFresh theme for OpenCart 4.1
   Mirrors the choosemyfresh.myshopify.com header, footer and homepage.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Samsung Sharp Sans"; font-weight: 400; font-style: normal; font-display: swap; src: local("Samsung Sharp Sans"), url("fonts/samsung-sharp-sans-400.woff") format("woff"); }
@font-face { font-family: "Samsung Sharp Sans"; font-weight: 500; font-style: normal; font-display: swap; src: local("Samsung Sharp Sans"), url("fonts/samsung-sharp-sans-500.woff") format("woff"); }
@font-face { font-family: "Samsung Sharp Sans"; font-weight: 700; font-style: normal; font-display: swap; src: local("Samsung Sharp Sans"), url("fonts/samsung-sharp-sans-700.woff") format("woff"); }

/* ---------- Tokens ---------- */
:root {
  --cmf-green: #02470E;
  --cmf-green-2: #02470D;
  --cmf-search-green: #429243;
  --cmf-bg: #fff;
  --cmf-bg-rgb: 255 255 255;
  --cmf-tint: #EFF4E7;
  --cmf-ink: rgb(20 20 20);
  --cmf-heading: #2D392E;
  --cmf-text: #455677;
  --cmf-muted: #616660;
  --cmf-orange: #F2A312;
  --cmf-line: rgba(0, 0, 0, .12);
  --cmf-page-width: 1360px;
  --cmf-page-margin: 40px;
  --samsung: "Samsung Sharp Sans", "Poppins", sans-serif;
  /* Body text font (name kept for the many var(--poppins) rules): Samsung Sharp Sans, Poppins as fallback */
  --poppins: "Samsung Sharp Sans", "Poppins", sans-serif;

  --fs-40: 40px; --fs-36: 36px; --fs-32: 32px; --fs-28: 28px; --fs-24: 24px;
  --fs-20: 20px; --fs-18: 18px; --fs-16: 16px; --fs-14: 14px; --fs-12: 12px;
}
@media (max-width: 768px) {
  :root { --fs-40: 32px; --fs-36: 30px; --fs-32: 26px; --fs-28: 24px; --fs-24: 20px; --fs-20: 18px; --fs-18: 16px; --fs-16: 15px; --fs-14: 13px; }
}
@media (max-width: 749px) {
  :root { --cmf-page-margin: 16px; }
}
@media (max-width: 576px) {
  :root { --fs-40: 22px; --fs-36: 21px; --fs-32: 20px; --fs-28: 18px; --fs-24: 17px; --fs-20: 15px; --fs-18: 14px; --fs-16: 13px; --fs-14: 12px; }
}

/* ---------- Base (overrides OpenCart's default stylesheet) ---------- */
html { -webkit-text-size-adjust: 100%; }
body.cmf {
  margin: 0;
  background: var(--cmf-bg);
  color: var(--cmf-ink);
  font-family: var(--poppins);
  font-size: 14px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
body.cmf h1, body.cmf h2, body.cmf h3, body.cmf h4, body.cmf h5, body.cmf h6 { font-family: var(--samsung); color: var(--cmf-heading); }
/* Site-wide letter spacing (change the value here) */
body.cmf, body.cmf *, body.cmf *::before, body.cmf *::after { letter-spacing: .5px !important; }
/* Information pages (About, Terms, Privacy...): lists start at the text edge, no left indent */
body.cmf #information-information #content ul,
body.cmf #information-information #content ol { padding-left: 0; margin-left: 0; list-style-position: inside; }
/* Admin editor wraps list text in <p>: keep it on the same line as the bullet */
body.cmf #information-information #content li > p { display: inline; margin: 0; }
body.cmf #information-information #content li { margin-bottom: 8px; }
/* Information pages: body text line height */
body.cmf #information-information #content p,
body.cmf #information-information #content li,
body.cmf #information-information #content li > p { line-height: 24px; }
body.cmf #information-information #content ul ul,
body.cmf #information-information #content ol ol,
body.cmf #information-information #content ul ol,
body.cmf #information-information #content ol ul { padding-left: 1.2em; }
/* Policy pages (Terms, Privacy, Refund, Delivery): page title larger than the section headings */
body.cmf #information-information.container #content h1 { font-size: clamp(24px, 1.2vw + 20px, 32px); line-height: 1.25; margin: 0 0 16px; }
body.cmf #information-information.container #content h2 { font-size: 18px; line-height: 24px; margin: 28px 0 8px; }
body.cmf #information-information.container #content h1 + h2 { margin-top: 8px; }
body.cmf { --bs-link-color: #02470E; --bs-link-color-rgb: 2, 71, 14; --bs-link-hover-color: #013a0b; --bs-link-hover-color-rgb: 1, 58, 11; --bs-primary: #02470E; --bs-primary-rgb: 2, 71, 14; }
body.cmf .list-group { --bs-list-group-active-bg: #02470E; --bs-list-group-active-border-color: #02470E; }
body.cmf .form-control:focus, body.cmf .form-select:focus { border-color: #7fa889; box-shadow: 0 0 0 .2rem rgba(2, 71, 14, .15); }
body.cmf img { max-width: 100%; }
body.cmf #container { position: relative; min-height: 100vh; margin: 0; display: flex; flex-direction: column; }
body.cmf #container > main { flex: 1 0 auto; }
body.cmf #content, body.cmf #column-left, body.cmf #column-right { padding-bottom: 40px; }
body.cmf .container { max-width: calc(var(--cmf-page-width) + 2 * var(--cmf-page-margin)); padding-inline: var(--cmf-page-margin); }
body.cmf .btn-primary { --bs-btn-bg: var(--cmf-green); --bs-btn-border-color: var(--cmf-green); --bs-btn-hover-bg: #013a0b; --bs-btn-hover-border-color: #013a0b; --bs-btn-active-bg: #013a0b; --bs-btn-active-border-color: #013a0b; }
body.cmf .breadcrumb { --bs-breadcrumb-divider-color: #8a948b; }
body.cmf .breadcrumb a { color: var(--cmf-green); text-decoration: none; }

.cmf-page-width {
  width: 100%;
  max-width: calc(var(--cmf-page-width) + 2 * var(--cmf-page-margin));
  margin-inline: auto;
  padding-inline: var(--cmf-page-margin);
  box-sizing: border-box;
}
.cmf-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Alerts (add-to-cart toast etc.) */
body.cmf #alert { position: fixed; z-index: 9999; top: 20px; right: 20px; left: auto; width: 340px; max-width: calc(100vw - 32px); margin: 0; }
body.cmf #alert .alert { border: 0; border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .14); font-size: 14px; }
body.cmf #alert .alert-success { background: #fff; color: var(--cmf-heading); border-left: 4px solid var(--cmf-green); }
body.cmf #alert .alert-success a { color: var(--cmf-green); font-weight: 600; }
body.cmf #alert .alert-success .fa-circle-check { color: var(--cmf-green); }

/* ---------- Shared headings ---------- */
.cmf-title { padding: 3rem 0; }
.cmf-title__heading {
  margin: 0;
  color: var(--cmf-heading);
  text-align: center;
  font-family: var(--samsung);
  font-size: var(--fs-40);
  font-weight: 700;
  line-height: 120%;
  text-transform: capitalize;
}
.cmf-title__desc {
  margin: 10px auto 0;
  color: var(--cmf-text);
  text-align: center;
  font-family: var(--poppins);
  font-size: 14px;
  font-weight: 400;
  line-height: 152%;
  text-transform: capitalize;
}
@media (min-width: 768px) { .cmf-title__desc { max-width: 50%; } }

/* ==========================================================================
   Top bar
   ========================================================================== */
.cmf-topbar { background: var(--cmf-green); }
.cmf-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 36px; }
.cmf-topbar__inner p,
.cmf-topbar__inner a,
.cmf-topbar__inner span {
  margin: 0;
  color: #fff;
  font-family: var(--poppins);
  font-size: 12px;
  font-weight: 400;
  line-height: 120%;
  text-transform: capitalize;
}
.cmf-topbar__inner a { display: flex; align-items: center; gap: 5px; text-decoration: none; }
.cmf-topbar__inner > * { flex: 0 0 auto; white-space: nowrap; }
.cmf-topbar__inner > .cmf-topbar__tagline { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cmf-topbar__inner a:hover span { text-decoration: underline; }
.cmf-topbar__email span { text-transform: lowercase !important; }
.cmf-topbar__inner img { width: 14px; height: 14px; object-fit: contain; }
.cmf-topbar__lang { display: flex; align-items: center; }
.cmf-lang { position: relative; display: inline-flex; align-items: center; padding: 6px 4px 6px 16px; }
.cmf-lang select {
  appearance: none;
  -webkit-appearance: none;
  height: 24px;
  padding: 2px 22px 2px 8px;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, .78);
  color: var(--cmf-ink);
  font-family: var(--poppins);
  font-size: 12px;
  line-height: 19.6px;
  cursor: pointer;
}
.cmf-lang select:focus { outline: 2px solid rgba(255, 255, 255, .6); outline-offset: 1px; }
.cmf-lang svg { position: absolute; right: 9px; width: 14px; height: 14px; color: var(--cmf-ink); pointer-events: none; }

@media (max-width: 767px) {
  .cmf-topbar { padding: 2px 0; }
  .cmf-topbar__inner { flex-direction: column; gap: 8px; height: auto; text-align: center; }
  .cmf-topbar__location { order: 1; }
  .cmf-topbar__tagline { order: 2; text-align: center; }
  .cmf-topbar__email { order: 3; }
  .cmf-topbar__lang { order: 4; }
  .cmf-topbar__inner img { width: 12px; height: 12px; }
}
@media (max-width: 575.98px) {
  .cmf-topbar__tagline, .cmf-topbar__email { display: none !important; }
  .cmf-topbar__inner { flex-direction: row; justify-content: center; align-items: center; height: 36px; }
  .cmf-topbar__lang { order: 0; flex: 0 0 auto; }
  .cmf-lang { padding: 0 0 0 16px; }
  .cmf-lang select { height: 26px; font-size: 13px; }
  .cmf-lang svg { opacity: 0; }
  .cmf-topbar__inner > .cmf-topbar__location { order: 1; flex: 1 1 auto; min-width: 0; justify-content: flex-end; }
  .cmf-topbar__location span { overflow: hidden; text-overflow: ellipsis; }
}

/* Location popup */
.cmf-location-popup { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0, 0, 0, .5); align-items: center; justify-content: center; }
.cmf-location-popup.is-open { display: flex; }
.cmf-location-popup__content { width: 350px; max-width: calc(100vw - 32px); padding: 20px; border-radius: 10px; background: #fff; text-align: center; }
.cmf-location-popup__content h3 { margin-top: 0; color: #000; font-size: 1.5rem; }
.cmf-location-popup__content button { display: inline-block; margin-top: 10px; padding: 10px 15px; border: 1px solid #ccc; border-radius: 4px; background: #f5f5f5; cursor: pointer; }
.cmf-location-popup__content button[data-cmf-detect] { background: var(--cmf-green); border-color: var(--cmf-green); color: #fff; }
.cmf-location-popup__status { margin-top: 10px; font-size: 14px; }

/* ==========================================================================
   Header row (logo / search / account / cart) – sticky like the Shopify header
   ========================================================================== */
.cmf-header { position: sticky; top: 0; z-index: 1000; background: var(--cmf-bg); }
.cmf-header__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px) minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  min-height: 64px;
  padding-block: 10px;
  box-sizing: border-box;
}
.cmf-header__left { display: flex; align-items: center; min-width: 0; }
.cmf-header__logo { display: inline-flex; align-items: center; text-decoration: none; }
.cmf-header__logo img { display: block; width: 207px; height: 28px; max-width: none; object-fit: contain; }
.cmf-header__logo-text { color: var(--cmf-green); font-family: var(--samsung); font-size: 24px; font-weight: 700; }
.cmf-header__search { width: 520px; max-width: 100%; justify-self: center; }
.cmf-header__actions { display: flex; align-items: center; justify-content: flex-end; }

.cmf-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cmf-ink);
  cursor: pointer;
  text-decoration: none;
  position: relative;
}
.cmf-icon-btn svg { display: block; }
.cmf-icon-btn--search svg { width: 22px; height: 22px; }
.cmf-icon-btn--account svg { width: 15px; height: 17px; }
.cmf-icon-btn--cart svg { width: 22px; height: 22px; }
.cmf-icon-btn:focus-visible { outline: 2px solid var(--cmf-green); outline-offset: -4px; border-radius: 8px; }
.cmf-header__search-toggle { display: none; }

/* Search pill */
.cmf-search { display: flex; justify-content: center; width: 100%; margin: 0; }
.cmf-search__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 85%;
  height: 40px;
  padding: 4px 4px 4px 16px;
  border: 1px solid #e2e8df;
  border-radius: 999px;
  background: #f6f8f4;
  box-sizing: border-box;
}
.cmf-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #333;
  font-family: var(--poppins);
  font-size: 13px;
  line-height: 18.2px;
  outline: none;
}
.cmf-search__input::placeholder { color: #6f6f6f; }
.cmf-search__input::-webkit-search-cancel-button { display: none; }
.cmf-search__submit {
  display: inline-flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--cmf-search-green);
  color: #fff;
  cursor: pointer;
}
.cmf-search__submit svg { width: 16px; height: 16px; }

/* Account dropdown */
.cmf-account { position: relative; }
.cmf-account .dropdown-menu { min-width: 190px; padding: 8px 0; border: 1px solid rgba(0, 0, 0, .08); border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .1); font-size: 14px; }
.cmf-account .dropdown-item { padding: 8px 16px; color: var(--cmf-heading); }
.cmf-account .dropdown-item:hover, .cmf-account .dropdown-item:focus { background: var(--cmf-tint); color: var(--cmf-green); }

/* Cart icon + bubble */
body.cmf #cart.cmf-cart { position: relative; display: inline-flex; margin: 0; }
.cmf-cart__bubble {
  position: absolute;
  top: 6px;
  right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--cmf-green);
  color: #fff;
  font-family: var(--poppins);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  box-sizing: border-box;
}
.cmf-cart__bubble[hidden] { display: none; }

/* Mobile search panel */
.cmf-mobile-search { display: none; padding: 0 var(--cmf-page-margin) 12px; }
.cmf-mobile-search.is-open { display: block; }
.cmf-mobile-search .cmf-search__bar { width: 100%; }

@media (min-width: 750px) and (max-width: 1099px) {
  .cmf-header__row { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 24px; }
  .cmf-header__search { width: 100%; }
}
@media (max-width: 749px) {
  .cmf-header__row { grid-template-columns: 44px minmax(0, 1fr) auto; min-height: 44px; padding-block: 0; padding-right: 2px; column-gap: 0; }
  .cmf-header .cmf-page-width { padding-inline: 0; }
  .cmf-header__left { order: 1; }
  .cmf-header__search-toggle { display: inline-flex; }
  .cmf-header__search { display: none; }
  .cmf-header__logo { order: 2; grid-column: 2; justify-self: center; }
  .cmf-header__logo img { width: 162px; height: 22px; }
  .cmf-header__actions { order: 3; grid-column: 3; }
  .cmf-header__left .cmf-header__logo { display: none; }
  .cmf-header__logo--mobile { display: inline-flex !important; }
}
@media (min-width: 750px) {
  .cmf-header__logo--mobile { display: none !important; }
}

/* ==========================================================================
   Category icon strip (OpenCart menu)
   ========================================================================== */
.cmf-cats { position: relative; }
.cmf-cats__viewport { position: relative; }
.cmf-cats__track {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  padding-block: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-top: 1px solid var(--cmf-line);
  border-bottom: 1px solid var(--cmf-line);
}
.cmf-cats__track::-webkit-scrollbar { display: none; }
.cmf-cats__track.is-centered { justify-content: center; }
.cmf-cats__item {
  flex: 0 0 auto;
  width: 100px;
  text-align: center;
  text-decoration: none;
  scroll-snap-align: start;
  color: var(--cmf-ink);
}
.cmf-cats__thumb {
  width: 45px;
  height: 45px;
  margin: 0 auto 10px;
  overflow: hidden;
  border: 2px solid #f3f3f3;
  border-radius: 50%;
  transition: all .4s ease;
  box-sizing: border-box;
}
.cmf-cats__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: all .4s ease; }
.cmf-cats__item span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  min-height: 2.6em;
  overflow: hidden;
  font-family: var(--poppins);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-transform: capitalize;
  white-space: normal;
  overflow-wrap: break-word;
}
.cmf-cats__item.active .cmf-cats__thumb,
.cmf-cats__item:hover .cmf-cats__thumb { background-color: var(--cmf-green); }
.cmf-cats__item.active .cmf-cats__thumb img,
.cmf-cats__item:hover .cmf-cats__thumb img { transform: scale(1.08); filter: brightness(0) invert(1); }
.cmf-cats__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--cmf-line);
  border-radius: 50%;
  background: #fff;
  color: var(--cmf-green);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  transform: translateY(-50%);
  transition: opacity .25s ease, visibility .25s ease, background-color .25s ease, color .25s ease;
}
.cmf-cats__nav svg { display: block; width: 16px; height: 16px; }
.cmf-cats__nav:hover { background: var(--cmf-green); color: #fff; }
.cmf-cats__nav[hidden] { display: none; }
.cmf-cats__nav:disabled { opacity: 0; visibility: hidden; pointer-events: none; }
.cmf-cats__nav--prev { inset-inline-start: 0; }
.cmf-cats__nav--next { inset-inline-end: 0; }
.cmf-cats__viewport::before,
.cmf-cats__viewport::after {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  z-index: 1;
  width: 60px;
  pointer-events: none;
  opacity: 1;
  transition: opacity .25s ease;
}
.cmf-cats__viewport::before { inset-inline-start: 0; background: linear-gradient(to right, rgb(var(--cmf-bg-rgb)) 25%, transparent); }
.cmf-cats__viewport::after { inset-inline-end: 0; background: linear-gradient(to left, rgb(var(--cmf-bg-rgb)) 25%, transparent); }
.cmf-cats__viewport.is-start::before,
.cmf-cats__viewport.is-end::after,
.cmf-cats__viewport.no-overflow::before,
.cmf-cats__viewport.no-overflow::after { opacity: 0; }
@media (max-width: 749px) {
  .cmf-cats__track { gap: 6px; }
  .cmf-cats__item { width: 84px; }
  .cmf-cats__thumb { width: 58px; height: 58px; }
  .cmf-cats__item span { font-size: 11px; }
  .cmf-cats__nav { display: none; }
  .cmf-cats__viewport::before, .cmf-cats__viewport::after { width: 32px; }
}

/* ==========================================================================
   Banner slider
   ========================================================================== */
.cmf-banner { position: relative; overflow: hidden; }
.cmf-banner .swiper-slide a { display: block; }
.cmf-banner img { display: block; width: 100%; height: auto; aspect-ratio: 2880 / 1156; object-fit: cover; }
.cmf-banner .swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) { display: none; }

/* ==========================================================================
   Product card (used on the homepage and by product/thumb.twig everywhere)
   ========================================================================== */
.cmf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  color: var(--cmf-ink);
}
.cmf-card__media { position: relative; display: block; overflow: hidden; border-radius: 16px; aspect-ratio: 1 / 1; background: #fff; }
.cmf-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cmf-card:hover .cmf-card__media img { transform: scale(1.03); }
.cmf-card__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--cmf-green);
  color: var(--cmf-orange);
  font-family: var(--samsung);
  font-size: var(--fs-16);
  font-weight: 700;
  line-height: 1.4;
}
.cmf-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cmf-card__title {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0 10px 0 20px;
  color: var(--cmf-heading) !important;
  font-family: var(--samsung);
  font-size: var(--fs-16);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .6px;
  text-decoration: none;
  text-transform: capitalize;
  box-sizing: border-box;
}
.cmf-card__title:hover { color: var(--cmf-green) !important; }
.cmf-card__weight {
  display: block;
  padding-left: 20px;
  color: var(--cmf-ink);
  font-family: var(--samsung);
  font-size: 14px;
  font-weight: 500;
  line-height: 19.6px;
  letter-spacing: .1%;
}
.cmf-card__price { display: block; width: 100%; padding-left: 20px; line-height: 22px; box-sizing: border-box; }
.cmf-card__price-sale {
  margin: 0;
  white-space: nowrap;
  color: var(--cmf-green-2);
  font-family: var(--samsung);
  font-size: var(--fs-20);
  font-weight: 700;
  line-height: 100%;
}
.cmf-card__price-compare {
  margin-left: 0;
  white-space: nowrap;
  color: var(--cmf-ink);
  font-family: var(--poppins);
  font-size: 14px;
  opacity: .4;
  text-decoration: line-through;
}
.cmf-card__price-tax { display: block; color: var(--cmf-muted); font-size: 12px; }
.cmf-card__form { margin: 0; }
.cmf-card__add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 32px);
  height: 36px;
  margin: 0 16px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--cmf-green);
  color: #fff;
  font-family: var(--poppins);
  font-size: 14px;
  font-weight: 400;
  line-height: 19.6px;
  cursor: pointer;
  transition: background-color .2s ease, transform .1s ease;
}
.cmf-card__add:hover { background: #013a0b; }
.cmf-card__add:active { transform: scale(.98); }
.cmf-card__add svg { width: 20px; height: 20px; flex: 0 0 20px; }
.cmf-card__add:disabled { opacity: .7; }
/* In carousels the Add button sits on one line across cards */
.cmf-carousel .cmf-card__form { margin-top: auto; }

/* Card text sizes on tablets and desktop (home carousels, related products): lighter title, small muted weight, 17px price */
@media (min-width: 750px) {
  .cmf-card__badge { padding: 2px 8px; font-size: 12px; line-height: 1.5; }
  .cmf-card__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: 0; }
  .cmf-card__weight { color: var(--cmf-muted); font-size: 13px; font-weight: 400; line-height: 18px; letter-spacing: 0; }
  .cmf-card__price-sale { font-size: 17px; line-height: 22px; }
  .cmf-card__price-compare { font-size: 12px; font-weight: 500; }
}

@media (max-width: 749px) {
  .cmf-card { padding-bottom: 11px; }
  .cmf-card .cmf-card__form, .cmf-carousel .cmf-card__form { margin-top: -10px; }
  .cmf-card__add {
    position: absolute;
    right: 11px;
    bottom: 12px;
    width: 36px;
    height: 36px;
    margin: 0;
    border: 2px solid rgba(0, 0, 0, .15);
    border-radius: 50px;
    background: var(--cmf-bg);
    color: var(--cmf-ink);
  }
  .cmf-card__add:hover { background: #e3ebd8; }
  .cmf-card__add-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
}
@media (max-width: 576px) {
  .cmf-card__badge { padding: 1px 6px; font-size: 13px; line-height: 18px; }
  .cmf-card__body { gap: 3px; }
  .cmf-card__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; padding: 0 10px; font-size: 13px; line-height: 13px; }
  .cmf-card__weight { padding: 0 10px; font-size: 12px; line-height: 14px; }
  .cmf-card__weight span { display: none; }
  .cmf-card__price { padding: 0 10px; line-height: 15px; }
  .cmf-card__price-sale { font-size: 12px; }
  .cmf-card__price-compare { font-size: 10px; }
}

/* Category / search / special listing pages reuse the card */
@media (min-width: 768px) {
  body.cmf .product-list .cmf-card { flex-direction: row; align-items: center; padding: 12px; gap: 20px; }
  body.cmf .product-list .cmf-card__media { flex: 0 0 180px; width: 180px; }
  body.cmf .product-list .cmf-card__body { flex: 1 1 auto; }
  body.cmf .product-list .cmf-card__form { flex: 0 0 160px; margin: 0; }
  body.cmf .product-list .cmf-card__add { width: 100%; margin: 0; }
}
body.cmf .product-list .cmf-card, body.cmf #product-list .cmf-card { margin-bottom: 0; }
body.cmf #product-list > .col, body.cmf #product-list > div { margin-bottom: 20px; }

/* ==========================================================================
   Featured collection carousel ("Our Current Items" etc.)
   ========================================================================== */
.cmf-fc { padding-top: 48px; padding-bottom: 0; }
.cmf-fc__header { margin: 0 auto 36px; text-align: center; }
.cmf-fc__header .cmf-title__heading { padding: 0; }
.cmf-fc__wrapper { position: relative; }
.cmf-fc .swiper { padding-block: 6px; }
.cmf-fc .swiper-slide { height: auto; }
.cmf-fc .swiper-slide > * { height: 100%; }
.cmf-fc .swiper:not(.swiper-initialized) .swiper-wrapper { gap: 20px; }
.cmf-fc .swiper:not(.swiper-initialized) .swiper-slide { width: calc((100% - 40px) * .4); flex-shrink: 0; }
@media (min-width: 992px) { .cmf-fc .swiper:not(.swiper-initialized) .swiper-slide { width: calc((100% - 60px) / 3.3); } }
@media (min-width: 1200px) { .cmf-fc .swiper:not(.swiper-initialized) .swiper-slide { width: calc((100% - 60px) / 4); } }
.cmf-fc__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(127, 127, 127, .3);
  border-radius: 50%;
  background: var(--cmf-bg);
  color: var(--cmf-ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .2s ease, opacity .2s ease, color .2s ease;
}
.cmf-fc__nav:hover { background: var(--cmf-ink); color: var(--cmf-bg); }
.cmf-fc__nav svg { width: 18px; height: 18px; }
.cmf-fc__nav--prev { left: -22px; }
.cmf-fc__nav--next { right: -22px; }
.cmf-fc__nav.swiper-button-disabled { opacity: .3; cursor: default; pointer-events: none; }
.cmf-fc__nav.swiper-button-lock { display: none; }
@media (max-width: 1300px) {
  .cmf-fc__nav--prev { left: 6px; }
  .cmf-fc__nav--next { right: 6px; }
}
@media (max-width: 576px) {
  .cmf-fc__nav { display: none; }
}

/* ==========================================================================
   Shop by categories grid
   ========================================================================== */
.cmf-catgrid__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cmf-catgrid__card {
  display: flex;
  align-items: stretch;
  height: 100%;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 4px rgba(2, 216, 70, .15);
}
.cmf-catgrid__img { width: 50%; overflow: hidden; }
.cmf-catgrid__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cmf-catgrid__content { position: relative; flex: 1; min-height: 180px; padding: 20px 20px 72px; background: #f9f9f9; }
.cmf-catgrid__content h5 { margin: 0 0 10px; color: var(--cmf-heading); font-family: var(--samsung); font-size: 18px; font-weight: 700; line-height: 1.2; letter-spacing: .6px; }
.cmf-catgrid__content p { margin: 0; color: #333; font-size: 13px; line-height: 1.5; }
.cmf-catgrid__content a {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 4px;
  background: var(--cmf-green);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: .3s ease;
}
.cmf-catgrid__content a:hover { opacity: .9; }
@media (max-width: 991px) { .cmf-catgrid__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) {
  .cmf-catgrid__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cmf-catgrid__card { flex-direction: column; }
  .cmf-catgrid__img { width: 100%; height: 140px; }
  .cmf-catgrid__content { min-height: auto; padding: 15px; }
  .cmf-catgrid__content a { position: static; margin-top: 12px; }
}

/* ==========================================================================
   Collection carousels (Hot Deals, Fresh Vegetables ...)
   ========================================================================== */
.cmf-cc { padding-top: 48px; padding-bottom: 48px; }
.cmf-cc__grid { display: flex; flex-wrap: wrap; column-gap: 32px; row-gap: 48px; }
.cmf-cc__item { flex: 1 1 100%; min-width: 0; max-width: 100%; container-type: inline-size; display: flex; flex-direction: column; }
@media (min-width: 990px) { .cmf-cc__item--half { flex-basis: calc(50% - 16px); } }
.cmf-cc__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cmf-cc__title { min-width: 0; margin: 0; color: var(--cmf-heading); font-family: var(--samsung); font-size: var(--fs-28); font-weight: 700; line-height: 1.2; text-transform: capitalize; }
.cmf-cc__title a { color: inherit; text-decoration: none; }
.cmf-cc__actions { display: flex; flex-shrink: 0; align-items: center; gap: 8px; }
.cmf-cc__view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid var(--cmf-green);
  border-radius: 999px;
  color: var(--cmf-green) !important;
  font-family: var(--poppins);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.cmf-cc__view-all:hover { background: var(--cmf-green); color: #fff !important; }
.cmf-cc__view-all svg { display: block; width: 14px; height: 14px; }
.cmf-cc__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--cmf-line);
  border-radius: 50%;
  background: #fff;
  color: var(--cmf-green);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.cmf-cc__nav:hover { background: var(--cmf-green); color: #fff; }
.cmf-cc__nav svg { display: block; width: 16px; height: 16px; }
.cmf-cc__nav.swiper-button-disabled { opacity: .35; cursor: default; pointer-events: none; }
.cmf-cc__nav.swiper-button-lock { display: none; }
.cmf-cc__wrapper { --cc-gap: 16px; --cc-per-view: 2; --cc-gaps: 1; display: flex; flex: 1 1 auto; min-height: 0; }
@container (min-width: 480px) { .cmf-cc__wrapper { --cc-per-view: 3; --cc-gaps: 2; } }
@container (min-width: 900px) { .cmf-cc__wrapper { --cc-per-view: 4; --cc-gaps: 3; } }
.cmf-cc .swiper { flex: 1 1 auto; width: 100%; min-width: 0; padding-block: 6px; }
.cmf-cc .swiper-slide { width: calc((100cqi - var(--cc-gap) * var(--cc-gaps)) / var(--cc-per-view)); height: auto; }
.cmf-cc .swiper-slide > * { height: 100%; }
.cmf-cc .swiper:not(.swiper-initialized) { overflow-x: auto; scrollbar-width: none; }
.cmf-cc .swiper:not(.swiper-initialized)::-webkit-scrollbar { display: none; }
.cmf-cc .swiper:not(.swiper-initialized) .swiper-wrapper { gap: var(--cc-gap); }
.cmf-cc .swiper:not(.swiper-initialized) .swiper-slide { flex-shrink: 0; }
@media (max-width: 749px) {
  .cmf-cc__header { margin-bottom: 12px; }
  .cmf-cc__view-all { padding: 8px 12px; font-size: 13px; }
  .cmf-cc__nav { display: none; }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.cmf-testi { padding: 50px 0 0; }
.cmf-testi__inner { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; }
.cmf-testi__title h2 { margin: 0; color: var(--cmf-heading); font-family: var(--samsung); font-size: var(--fs-32); font-weight: 700; line-height: 1; text-align: center; }
.cmf-testi__slider { min-width: 0; overflow: hidden; }
.cmf-testi .swiper { width: 100%; padding-top: 32px; padding-bottom: 70px; overflow: hidden; }
.cmf-testi__card-wrap { position: relative; padding-top: 32px; height: 100%; box-sizing: border-box; }
.cmf-testi__card { min-height: 180px; padding: 12px 20px 20px; border-radius: 16px 0 16px 0; background: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .12); }
.cmf-testi__head { width: 65%; margin-bottom: 18px; padding: 12px 18px; border-radius: 16px 0 16px 0; background: var(--cmf-tint); }
.cmf-testi__head h5 { margin: 0 0 5px; color: #2F3A30; font-family: var(--samsung); font-size: var(--fs-18); font-weight: 700; line-height: 1.2; text-transform: capitalize; }
.cmf-testi__head p { margin: 0; color: #555; font-size: 14px; }
.cmf-testi__text p { margin: 0; color: var(--cmf-muted); font-size: 15px; line-height: 1.4; }
.cmf-testi__avatar { position: absolute; top: 0; right: 16px; width: 64px; height: 64px; overflow: hidden; border-radius: 50%; box-shadow: 0 4px 10px rgba(0, 0, 0, .2); }
.cmf-testi__avatar img { width: 100%; height: 100%; object-fit: cover; }
.cmf-testi__nav {
  position: absolute;
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #d8e0ce;
  border-radius: 50%;
  background: #fff;
  color: #6c8c5b;
  cursor: pointer;
}
.cmf-testi__nav svg { width: 20px; height: 20px; }
.cmf-testi__nav--prev { left: 0; }
.cmf-testi__nav--prev svg { transform: scaleX(-1); }
.cmf-testi__nav--next { left: 60px; }
.cmf-testi__nav.swiper-button-disabled { opacity: .35; }
@media (max-width: 991px) { .cmf-testi__inner { grid-template-columns: 1fr; } }
@media (max-width: 576px) { .cmf-testi { padding-top: 40px; } .cmf-testi__inner { gap: 0; } }

/* ==========================================================================
   Our process + Hello farmers
   ========================================================================== */
.cmf-process picture img { display: block; max-width: 100%; height: auto; margin-bottom: 3rem; }
.cmf-hello {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 40px 20px;
  background: url("../../image/cmf/hello.jpg") no-repeat center / cover;
  text-align: center;
}
.cmf-hello h4 { margin: 0; color: var(--cmf-heading); font-family: var(--samsung); font-size: var(--fs-24); font-weight: 700; line-height: normal; text-transform: capitalize; }
.cmf-hello p { margin: 0; color: var(--cmf-text); font-family: var(--samsung); font-size: var(--fs-16); font-weight: 500; line-height: 144%; }
.cmf-hello h6 { margin: 0; color: var(--cmf-heading); font-family: var(--samsung); font-size: var(--fs-14); font-weight: 700; text-transform: capitalize; }
.cmf-hello a { display: inline-block; margin: 0; padding: 11px 16px; border-radius: 4px; background: var(--cmf-green-2); color: #fff !important; font-family: var(--samsung); font-size: var(--fs-16); font-weight: 500; line-height: 1.4; text-decoration: none; text-transform: capitalize; }
.cmf-hello a:hover { background: #013a0b; }

/* ==========================================================================
   Product detail page (product/product)
   Mirrors choosemyfresh.myshopify.com/products/<handle>
   ========================================================================== */
.cmf-pdp { --pdp-gap: 24px; }
.cmf-pdp__section { padding-top: 20px; }
@media (min-width: 900px) {
  .cmf-pdp { --pdp-gap: 28px; }
  .cmf-pdp__section { padding-top: 25px; }
}

.cmf-pdp__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 750px) {
  .cmf-pdp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .cmf-pdp__media { padding-right: 24px; }
  .cmf-pdp__details { padding-left: 24px; }
}
@media (max-width: 749px) {
  .cmf-pdp__media { margin-inline: calc(-1 * var(--cmf-page-margin)); }
}
.cmf-pdp__details { padding-bottom: 20px; }
@media (min-width: 1200px) { .cmf-pdp__details { padding-bottom: 24px; } }
@media (max-width: 576px) {
  .cmf-pdp__details { padding-top: 20px; }
}

/* Gallery */
.cmf-pdp__media, .cmf-pdp__details { min-width: 0; }
.cmf-pdp__main { display: block; line-height: 0; }
.cmf-pdp__main img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.cmf-pdp__thumbs { display: flex; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; overflow-x: auto; }
.cmf-pdp__thumbs li { flex: 0 0 auto; }
.cmf-pdp__thumb { display: block; width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 8px; background: #fff; overflow: hidden; cursor: pointer; }
.cmf-pdp__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cmf-pdp__thumb.is-active { border-color: var(--cmf-green); }
@media (max-width: 749px) {
  .cmf-pdp__thumbs { padding-inline: var(--cmf-page-margin); }
}

/* Details column */
.cmf-pdp__content, .cmf-pdp__form { display: flex; flex-direction: column; gap: var(--pdp-gap); }
.cmf-pdp__head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cmf-pdp__buy { display: contents; }
.cmf-pdp__title {
  margin: 0;
  color: var(--cmf-heading);
  font-family: var(--samsung);
  font-size: var(--fs-24);
  font-weight: 700;
  line-height: normal;
  text-transform: capitalize;
}
.cmf-pdp__net {
  margin: 0;
  padding: 0;
  color: var(--cmf-ink);
  font-family: var(--samsung);
  font-size: 14px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: .1%;
}
@media (max-width: 576px) { .cmf-pdp__net > span { display: none; } }

.cmf-pdp__nutrition { display: grid; grid-template-columns: repeat(2, auto); gap: 20px 40px; justify-content: start; margin: 20px 0; }
.cmf-pdp__nutrition div { display: flex; align-items: center; gap: 15px; }
.cmf-pdp__nutrition img { flex-shrink: 0; width: 40px; height: 40px; }
.cmf-pdp__nutrition p { margin: 0; color: var(--cmf-heading); font-family: var(--poppins); font-size: 14px; font-weight: 700; line-height: 1.4; }
@media (max-width: 575.98px) { .cmf-pdp__nutrition { margin: 0; } }

.cmf-pdp__purchase { display: flex; align-items: center; gap: 16px; }
.cmf-pdp__type { color: var(--cmf-heading); font-family: var(--samsung); font-size: 16px; font-weight: 700; line-height: 16px; }
.cmf-pdp__stock { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 8px; color: #fff; font-family: var(--samsung); font-size: 16px; font-weight: 700; line-height: 1; }
.cmf-pdp__stock--in { background: #02470E; }
.cmf-pdp__stock--out { background: #d32f2f; }

.cmf-pdp__price { align-self: stretch; padding-top: 4px; text-align: left; }
.cmf-pdp__price-now { color: var(--cmf-green-2); font-family: var(--samsung); font-size: 24px; font-weight: 700; line-height: normal; white-space: nowrap; }
.cmf-pdp__price-old { margin-left: 5px; color: rgba(45, 57, 46, .46); font-family: var(--samsung); font-size: 17px; font-weight: 500; line-height: normal; text-decoration: line-through; text-decoration-thickness: 1.5px; white-space: nowrap; }
@media (max-width: 767px) {
  .cmf-pdp__price-now { font-size: 21px; }
  .cmf-pdp__price-old { font-size: 15px; }
}
.cmf-pdp__price-note { display: block; margin-top: 4px; color: var(--cmf-muted); font-size: 13px; }
.cmf-pdp__discounts { margin: 8px 0 0; padding: 0; list-style: none; color: var(--cmf-text); font-size: 13px; }

.cmf-pdp__variant { color: var(--cmf-ink); font-family: var(--poppins); font-size: 14px; line-height: 19.6px; }
.cmf-pdp__variant span { padding-left: 8px; color: rgba(20, 20, 20, .7); }

/* Options (OpenCart product options in the variant-picker style) */
.cmf-pdp__options { display: flex; flex-direction: column; gap: 16px; }
.cmf-opt__label { display: block; margin-bottom: 8px; color: var(--cmf-heading); font-family: var(--samsung); font-size: 14px; font-weight: 700; line-height: 1.2; }
.cmf-opt.required > .cmf-opt__label::after { content: " *"; color: #d32f2f; }
.cmf-opt__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cmf-opt__pill { position: relative; }
.cmf-opt__pill input { position: absolute; opacity: 0; pointer-events: none; }
.cmf-opt__pill label { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border: 1px solid #dfdfdf; border-radius: 8px; background: #fff; color: var(--cmf-ink); font-size: 14px; line-height: 1.3; cursor: pointer; transition: background .125s ease, border-color .125s ease, color .125s ease; }
.cmf-opt__pill label img { border-radius: 4px; object-fit: cover; }
.cmf-opt__pill input:checked + label { border-color: var(--cmf-green); background: var(--cmf-green); color: #fff; }
.cmf-opt__pill input:focus-visible + label { outline: 2px solid var(--cmf-green); outline-offset: 2px; }
.cmf-opt__pill input.is-invalid + label { border-color: #d32f2f; }
.cmf-opt__select, .cmf-opt .form-control { border-color: #dfdfdf; border-radius: 10px; }
.cmf-opt__select { height: 48px; }

/* Quantity + buttons */
.cmf-pdp__buttons { display: flex; flex-wrap: wrap; align-items: stretch; gap: 11.2px; }
@media (max-width: 576px) { .cmf-pdp__buttons { gap: 5.6px; } }
.cmf-qty { display: flex; flex: 0 0 126px; align-items: center; justify-content: space-between; box-sizing: border-box; width: 126px; height: 52px; border: 1px solid #dfdfdf; border-radius: 14px; background: rgba(255, 255, 255, .78); color: #333; }
.cmf-qty__btn { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 14px; background: transparent; color: #333; cursor: pointer; }
.cmf-qty__btn:disabled { opacity: .5; cursor: default; }
.cmf-qty input { width: 36px; min-width: 0; margin: 0; padding: 1px 2px; border: 0; background: transparent; color: #333; font-family: var(--poppins); font-size: 16px; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.cmf-qty input:focus { outline: 0; }
.cmf-qty input::-webkit-outer-spin-button, .cmf-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cmf-btn { display: flex; flex: 1 1 190px; align-items: center; justify-content: center; gap: 4.8px; box-sizing: border-box; min-width: 0; height: 52px; padding: 16px 24px; border: 0; border-radius: 14px; background: var(--cmf-green); color: #fff; font-family: var(--poppins); font-size: 14px; font-weight: 400; line-height: 1.4; text-align: center; cursor: pointer; transition: background-color .125s ease, scale .125s ease; }
.cmf-btn:hover { background: #333; color: #fff; }
.cmf-btn:active { scale: .99; }
.cmf-btn svg { flex-shrink: 0; }
.cmf-btn:disabled { opacity: .7; cursor: default; }
.cmf-pdp__form #error-quantity:empty { display: none; }

/* Description */
.cmf-pdp__desc { display: flex; flex-direction: column; }
.cmf-pdp__desc h4, .cmf-pdp__specs h4 { margin: 0 0 .25em; color: var(--cmf-heading); font-family: var(--samsung); font-size: var(--fs-18); font-weight: 700; line-height: normal; text-transform: capitalize; }
.cmf-pdp__desc p { margin: .5em 0; color: var(--cmf-text); font-family: var(--poppins); font-size: var(--fs-16); font-weight: 400; line-height: 120%; }
.cmf-pdp__desc a { color: var(--cmf-green); }
.cmf-pdp__specs dl { margin: 8px 0 0; }
.cmf-pdp__specs dl div { display: flex; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--cmf-line); color: var(--cmf-text); font-size: 14px; }
.cmf-pdp__specs dt { flex: 0 0 40%; font-weight: 600; }
.cmf-pdp__specs dd { margin: 0; }

.cmf-pdp__desc > :last-child { margin-bottom: 0; }

/* Related products: full-bleed carousel with a peeking last card */
.cmf-pdp__related { padding-bottom: 31.6px; }
.cmf-pdp__related .cmf-fc__header { margin-bottom: 28.4px; }
.cmf-pdp__related .swiper { padding: 16px var(--cmf-page-margin); }
.cmf-pdp__related .swiper:not(.swiper-initialized) .swiper-wrapper { gap: 12px; }
.cmf-pdp__related.cmf-fc .swiper .swiper-slide,
.cmf-pdp__related.cmf-fc .swiper:not(.swiper-initialized) .swiper-slide { flex-shrink: 0; width: calc((100% - 84px) / 4); }
.cmf-pdp__related .cmf-fc__nav--prev { left: var(--cmf-page-margin); }
.cmf-pdp__related .cmf-fc__nav--next { right: var(--cmf-page-margin); }
.cmf-pdp__related .cmf-fc__nav.swiper-button-disabled { display: none; }
@media (min-width: 750px) {
  .cmf-pdp__related .cmf-card { gap: 2px; padding-bottom: 8px; }
  .cmf-pdp__related .cmf-card__body { margin-top: 4px; gap: 2px; }
  .cmf-pdp__related .cmf-card__price { padding-bottom: 10px; line-height: 20px; }
  .cmf-pdp__related .cmf-card__price-compare { font-size: 12px; font-weight: 500; line-height: 14.4px; }
}
@media (max-width: 749px) {
  .cmf-pdp__related .cmf-card { gap: 2px; padding-bottom: 8px; }
  .cmf-pdp__related .cmf-card__body { margin-top: 4px; gap: 2px; }
  .cmf-pdp__related .cmf-card__weight { line-height: 19.6px; }
  .cmf-pdp__related .cmf-card__price { height: 13px; line-height: 13px; }
  .cmf-pdp__related .cmf-card .cmf-card__form { margin-top: -2px; }
  .cmf-pdp__related .cmf-card__add { bottom: 19.2px; }
  .cmf-pdp__related { padding-bottom: 17.3px; }
  .cmf-pdp__related .cmf-fc__header { margin-bottom: 23.7px; }
  .cmf-pdp__related.cmf-fc .swiper .swiper-slide,
  .cmf-pdp__related.cmf-fc .swiper:not(.swiper-initialized) .swiper-slide { width: calc((100% + 2 * var(--cmf-page-margin)) * .6); }
}

/* Category, search and special pages: 4 products per row from 992px, 5 per row from 1200px
   (OpenCart's grid switch resets the columns to 3, so the width is set here) */
@media (min-width: 992px) {
  body.cmf #product-list.row-cols-lg-3 > *,
  body.cmf #product-list.row-cols-lg-4 > * { flex: 0 0 auto; width: 25%; }
}
@media (min-width: 1200px) {
  body.cmf #product-list.row-cols-lg-3 > *,
  body.cmf #product-list.row-cols-lg-4 > * { width: 20%; }
}

/* ==========================================================================
   Product listing card (category, search, special offers, brand pages)
   Bordered card, full-width 3:2 photo, "13% OFF" badge, price with struck MRP and an outlined ADD button
   ========================================================================== */
body.cmf .cmf-card--listing {
  --lc-ink: #17221A;
  --lc-muted: #66736A;
  --lc-line: #E2E8DF;
  --lc-green: #1B7A07;
  --lc-green-soft: #F4FAF2;
  --lc-orange: #E4570F;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto 1fr;
  grid-template-areas: "media media" "title title" "weight weight" "price add";
  gap: 0;
  padding: 0;
  border: 1px solid var(--lc-line);
  border-radius: 12px;
  background: #fff;
  color: var(--lc-ink);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
body.cmf .cmf-card--listing:hover { border-color: #cfd9cb; box-shadow: 0 8px 24px rgba(23, 34, 26, .10); }
body.cmf .cmf-card--listing .cmf-card__body { display: contents; }

body.cmf .cmf-card--listing .cmf-card__media {
  grid-area: media;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 0;
  background: #f4f6f2;
}

body.cmf .cmf-card--listing .cmf-card__badge {
  top: 10px;
  right: auto;
  left: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--lc-orange);
  color: #fff;
  font-family: var(--poppins);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: .2px;
  text-transform: uppercase;
}

body.cmf .cmf-card--listing .cmf-card__title {
  grid-area: title;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 52px;
  padding: 12px 14px 0;
  color: var(--lc-ink) !important;
  font-family: var(--poppins);
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: none;
}
body.cmf .cmf-card--listing .cmf-card__title:hover { color: var(--lc-green) !important; }

body.cmf .cmf-card--listing .cmf-card__weight {
  grid-area: weight;
  padding: 4px 14px 0;
  color: var(--lc-muted);
  font-family: var(--poppins);
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0;
}

body.cmf .cmf-card--listing .cmf-card__price {
  grid-area: price;
  align-self: end;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: auto;
  min-height: 40px;
  margin-top: 10px;
  padding: 0 0 14px 14px;
  line-height: 1.2;
}
body.cmf .cmf-card--listing .cmf-card__price-sale {
  display: block;
  color: var(--lc-ink);
  font-family: var(--poppins);
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}
body.cmf .cmf-card--listing .cmf-card__price-compare {
  display: block;
  margin: 1px 0 0;
  color: var(--lc-muted);
  font-family: var(--poppins);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 16px;
  opacity: 1;
  text-decoration: line-through;
}
body.cmf .cmf-card--listing .cmf-card__price-tax { color: var(--lc-muted); font-size: 11px; line-height: 15px; }

body.cmf .cmf-card--listing .cmf-card__form {
  grid-area: add;
  align-self: end;
  display: flex;
  align-items: center;
  min-height: 40px;
  margin: 10px 0 0;
  padding: 0 14px 14px 8px;
}
body.cmf .cmf-card--listing .cmf-card__add {
  position: static;
  width: auto;
  min-width: 76px;
  height: 36px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--lc-green);
  border-radius: 8px;
  background: var(--lc-green-soft);
  color: var(--lc-green);
  font-family: var(--poppins);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  line-height: 1;
  text-transform: uppercase;
}
body.cmf .cmf-card--listing .cmf-card__add:hover { background: var(--lc-green); color: #fff; }
body.cmf .cmf-card--listing .cmf-card__add:active { transform: scale(.97); }
body.cmf .cmf-card--listing .cmf-card__add svg { display: none; }
body.cmf .cmf-card--listing .cmf-card__add-text { position: static; width: auto; height: auto; overflow: visible; clip: auto; }

/* Narrow cards (5 per row on 1200-1400px screens): slightly smaller type and button so price and ADD never collide */
body.cmf .cmf-card--listing { container: lc / inline-size; }
@container lc (max-width: 228px) {
  body.cmf .cmf-card--listing .cmf-card__title { padding: 10px 12px 0; font-size: 14px; }
  body.cmf .cmf-card--listing .cmf-card__weight { padding: 3px 12px 0; font-size: 12.5px; }
  body.cmf .cmf-card--listing .cmf-card__price { padding-left: 12px; }
  body.cmf .cmf-card--listing .cmf-card__price-sale { font-size: 16px; }
  body.cmf .cmf-card--listing .cmf-card__price-compare { font-size: 11.5px; }
  body.cmf .cmf-card--listing .cmf-card__form { padding: 0 12px 14px 6px; }
  body.cmf .cmf-card--listing .cmf-card__add { min-width: 58px; height: 34px; padding: 0 10px; font-size: 12px; }
}

/* List view (grid/list toggle on listing pages): photo left, text in the middle, ADD on the right */
@media (min-width: 768px) {
  body.cmf .product-list .cmf-card--listing {
    grid-template-columns: 200px minmax(0, 1fr) auto;
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "media title add" "media weight add" "media price add";
    align-items: start;
    padding: 0;
    gap: 0;
  }
  body.cmf .product-list .cmf-card--listing .cmf-card__media { flex: none; width: 100%; align-self: stretch; height: 100%; aspect-ratio: auto; min-height: 133px; }
  body.cmf .product-list .cmf-card--listing .cmf-card__title { min-height: 0; padding: 16px 16px 0; }
  body.cmf .product-list .cmf-card--listing .cmf-card__weight { padding: 4px 16px 0; }
  body.cmf .product-list .cmf-card--listing .cmf-card__price { align-self: start; min-height: 0; margin-top: 10px; padding: 0 0 16px 16px; }
  body.cmf .product-list .cmf-card--listing .cmf-card__form { flex: none; align-self: center; margin: 0; padding: 0 16px; grid-row: 1 / -1; }
  body.cmf .product-list .cmf-card--listing .cmf-card__add { width: auto; margin: 0; }
}

/* ==========================================================================
   Mobile bottom tab bar (Home / Categories / Cart / Account) + category sheet
   Phones and small tablets only (up to 767px)
   ========================================================================== */
.cmf-tabbar, .cmf-sheet { display: none; }

@media (max-width: 767px) {
  body.cmf { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }

  .cmf-tabbar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 1030;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    align-items: stretch;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding: 6px 8px env(safe-area-inset-bottom, 0px);
    border-radius: 20px 20px 0 0;
    background: #fff;
    box-shadow: 0 -6px 24px rgba(20, 40, 20, .10);
    box-sizing: border-box;
  }
  .cmf-tabbar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: none;
    color: #6f7a71;
    font-family: var(--poppins);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color .15s ease;
  }
  .cmf-tabbar__item[hidden] { display: none; }
  .cmf-tabbar__item:focus-visible { outline: 2px solid var(--cmf-green); outline-offset: -2px; }
  .cmf-tabbar__item svg { display: block; width: 24px; height: 24px; transition: fill .15s ease; }
  .cmf-tabbar__item.is-active { color: var(--cmf-green); font-weight: 600; }
  .cmf-tabbar__item.is-active svg { fill: rgba(2, 71, 14, .13); }
  .cmf-tabbar__item:active svg { transform: scale(.92); }
  .cmf-tabbar__icon { position: relative; display: inline-flex; }
  .cmf-tabbar__badge {
    position: absolute;
    top: -6px;
    right: -10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--cmf-green);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    box-sizing: border-box;
  }
  .cmf-tabbar__badge[hidden] { display: none; }

  /* Slide-up category list */
  .cmf-sheet { position: fixed; inset: 0; z-index: 1050; display: block; }
  .cmf-sheet[hidden] { display: none; }
  .cmf-sheet__backdrop { position: absolute; inset: 0; background: rgba(10, 20, 12, .45); opacity: 0; transition: opacity .25s ease; }
  .cmf-sheet.is-open .cmf-sheet__backdrop { opacity: 1; }
  .cmf-sheet__panel {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    flex-direction: column;
    max-height: 78vh;
    padding: 8px 16px calc(20px + env(safe-area-inset-bottom, 0px));
    border-radius: 22px 22px 0 0;
    background: #fff;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, .18);
    transform: translateY(100%);
    transition: transform .26s cubic-bezier(.2, .8, .2, 1);
    box-sizing: border-box;
  }
  .cmf-sheet.is-open .cmf-sheet__panel { transform: none; }
  .cmf-sheet__grab { display: block; flex: 0 0 auto; width: 40px; height: 4px; margin: 4px auto 6px; border-radius: 4px; background: #d6ddd3; }
  .cmf-sheet__head { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; padding: 4px 0 10px; }
  .cmf-sheet__head h3 { margin: 0; color: var(--cmf-heading); font-family: var(--samsung); font-size: 18px; font-weight: 700; line-height: 1.3; }
  .cmf-sheet__close {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
    background: var(--cmf-tint); color: var(--cmf-ink); cursor: pointer;
  }
  .cmf-sheet__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 10px;
    padding: 6px 0 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .cmf-sheet__item { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; color: var(--cmf-ink); text-decoration: none; }
  .cmf-sheet__thumb {
    display: block;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border: 2px solid #f0f2ee;
    border-radius: 50%;
    background: var(--cmf-tint);
    box-sizing: border-box;
    transition: background-color .2s ease;
  }
  .cmf-sheet__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .cmf-sheet__name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    text-transform: capitalize;
  }
  .cmf-sheet__item.is-active .cmf-sheet__thumb { background: var(--cmf-green); border-color: var(--cmf-green); }
  .cmf-sheet__item.is-active .cmf-sheet__thumb img { filter: brightness(0) invert(1); }
  .cmf-sheet__item.is-active .cmf-sheet__name { color: var(--cmf-green); font-weight: 600; }
  .cmf-sheet__item:active .cmf-sheet__thumb { background: #e3ebd8; }

  body.cmf.cmf-sheet-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .cmf-sheet__panel, .cmf-sheet__backdrop { transition: none; }
}

/* Page headings (category, search, special, information, cart...): smaller everywhere, smaller still on phones */
body.cmf #content > h1 { margin-bottom: 14px; font-size: 26px; line-height: 1.25; }
@media (max-width: 767px) {
  body.cmf #content > h1 { margin-bottom: 12px; font-size: 22px; line-height: 1.25; }
}
@media (max-width: 575.98px) {
  body.cmf #content > h1 { font-size: 20px; }
}

/* ==========================================================================
   Phones: two products per row on category / search / special pages (grid view)
   The card stacks its price above a full-width ADD button so it fits in half the screen.
   ========================================================================== */
@media (max-width: 575.98px) {
  body.cmf #product-list:not(.product-list) { --bs-gutter-x: 12px; --bs-gutter-y: 12px; }
  body.cmf #product-list:not(.product-list).row-cols-1 > * { flex: 0 0 auto; width: 50%; }
  body.cmf #product-list:not(.product-list) > .col,
  body.cmf #product-list:not(.product-list) > div { margin-bottom: 0 !important; }

  body.cmf #product-list:not(.product-list) .cmf-card--listing {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto 1fr auto;
    grid-template-areas: "media" "title" "weight" "price" "add";
    border-radius: 10px;
  }
  body.cmf #product-list:not(.product-list) .cmf-card--listing .cmf-card__media { aspect-ratio: 4 / 3; }
  body.cmf #product-list:not(.product-list) .cmf-card--listing .cmf-card__badge { top: 6px; left: 6px; padding: 2px 6px; border-radius: 3px; font-size: 10.5px; line-height: 15px; }
  body.cmf #product-list:not(.product-list) .cmf-card--listing .cmf-card__title { min-height: 44px; padding: 10px 10px 0; font-size: 13px; line-height: 17px; }
  body.cmf #product-list:not(.product-list) .cmf-card--listing .cmf-card__weight { padding: 2px 10px 0; font-size: 12px; line-height: 16px; }
  body.cmf #product-list:not(.product-list) .cmf-card--listing .cmf-card__price { align-self: start; min-height: 38px; margin-top: 6px; padding: 0 10px; }
  body.cmf #product-list:not(.product-list) .cmf-card--listing .cmf-card__price-sale { font-size: 16px; line-height: 22px; }
  body.cmf #product-list:not(.product-list) .cmf-card--listing .cmf-card__price-compare { font-size: 11.5px; line-height: 15px; }
  body.cmf #product-list:not(.product-list) .cmf-card--listing .cmf-card__form { display: block; min-height: 0; margin: 0; padding: 8px 10px 10px; }
  body.cmf #product-list:not(.product-list) .cmf-card--listing .cmf-card__add { width: 100%; min-width: 0; height: 34px; padding: 0 8px; font-size: 12.5px; }
}

/* ==========================================================================
   PHONE LAYOUT  -  mirrors the choosemyfresh.com mobile site
   Everything below is phone-only (up to 749px; the bottom bar and WhatsApp
   button go up to 767px). Desktop and tablet styling above is untouched.
   ========================================================================== */

/* New phone-only parts are hidden everywhere else */
.cmf-m-loc, .cmf-deals, .cmf-why, .cmf-banner__dots,
.cmf-catgrid__tile, .cmf-search__lead, .cmf-search__label,
.cmf-cats__thumb .cmf-cats__img-m, .cmf-v-m { display: none; }

/* Next delivery strip - all screen sizes, like choosemyfresh.com (centred on desktop, hidden on the desktop home page) */
.cmf-promise { display: block; background: #e9f6e5; color: #125405; font-size: 12.2px; }
.cmf-promise .cmf-page-width { display: flex; align-items: center; gap: 8px; min-height: 30px; padding-block: 4px; white-space: nowrap; overflow: hidden; }
.cmf-promise svg { flex: none; width: 16px; height: 16px; }
.cmf-promise span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cmf-promise b { font-weight: 600; }
.cmf-promise__free { display: none; }
.cmf-promise__sep { opacity: .5; }
@media (min-width: 600px) { .cmf-promise__free { display: inline; } }
@media (min-width: 992px) {
  .cmf-promise .cmf-page-width { justify-content: center; }
  body.cmf-home .cmf-promise { display: none; }
}

@media (max-width: 749px) {
  body.cmf {
    --m-green: #1b7a07; --m-green-dark: #125405; --m-brand: #249508;
    --m-tint: #f4faf2; --m-soft: #e9f6e5; --m-offer: #e4570f;
    --m-line: #e2e8df; --m-bg: #f6f8f4;
    --m-ink: #17221a; --m-ink2: #3a463d; --m-muted: #66736a;
  }
  body.cmf.cmf-home { background: #fff; }
  .cmf-v-d { display: none; }
  .cmf-v-m { display: block; height: 100%; }

  /* ---------- Header: logo | deliver-to | account + cart, search on the second row ---------- */
  .cmf-topbar { display: none; }
  .cmf-header { background: #fff; box-shadow: 0 1px 0 var(--m-line); }
  .cmf-header .cmf-page-width { padding-inline: 16px; }
  .cmf-header .cmf-header__row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: 56px auto;
    grid-template-areas: "logo loc act" "search search search";
    column-gap: 6px;
    min-height: 0;
    padding: 0;
  }
  .cmf-header .cmf-header__left { display: none; }
  .cmf-header .cmf-header__logo--mobile { grid-area: logo; justify-self: start; order: 0; }
  .cmf-header .cmf-header__logo--mobile img { width: auto; height: 16px; }
  .cmf-header .cmf-header__actions .cmf-icon-btn { width: 40px; }
  .cmf-header .cmf-header__actions { grid-area: act; justify-self: end; order: 0; margin-right: -8px; }
  .cmf-header .cmf-header__search { display: block; grid-area: search; justify-self: stretch; width: 100%; padding-bottom: 10px; }
  .cmf-mobile-search, .cmf-mobile-search.is-open { display: none; }
  .cmf-icon-btn--account svg { width: 18px; height: 20px; }
  .cmf-cart__bubble { top: 4px; right: 2px; background: var(--m-offer); }

  .cmf-m-loc {
    display: flex; align-items: center; gap: 6px; min-width: 0; padding: 6px 4px;
    border: 0; background: none; color: var(--m-ink); text-align: left; cursor: pointer;
  }
  .cmf-m-loc > svg:first-child { flex: none; width: 20px; height: 20px; color: var(--m-brand); }
  .cmf-m-loc__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
  .cmf-m-loc__text small { color: var(--m-muted); font-size: 11.2px; }
  .cmf-m-loc__text strong { overflow: hidden; font-size: 13.6px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
  .cmf-m-loc.is-empty strong { color: var(--m-offer); }
  .cmf-m-loc__chev { flex: none; width: 16px; height: 16px; color: var(--m-muted); }

  /* Search box with a green "Search" button */
  .cmf-search { display: block; }
  .cmf-search__bar {
    gap: 0; width: 100%; height: 44px; padding: 0 4px 0 12px;
    border: 1.5px solid var(--m-line); border-radius: 12px; background: var(--m-bg);
  }
  .cmf-search__bar:focus-within { border-color: var(--m-green); background: #fff; }
  .cmf-search__lead { display: block; flex: none; width: 20px; height: 20px; color: var(--m-muted); }
  .cmf-search__input { height: 100%; padding: 0 8px 0 10px; font-size: 16px; line-height: normal; text-overflow: ellipsis; }
  .cmf-search__input::placeholder { color: var(--m-muted); font-size: 13px; opacity: 1; text-overflow: ellipsis; }
  .cmf-search__submit {
    flex: none; width: auto; height: 36px; padding: 0 12px; border-radius: 9px;
    background: var(--m-green); font-family: var(--poppins); font-size: 13.6px; font-weight: 600;
  }
  .cmf-search__submit svg { display: none; }
  .cmf-search__label { display: inline; }

  /* ---------- Category icon strip ---------- */
  .cmf-cats.cmf-page-width { max-width: none; padding-inline: 0; background: #fff; border-bottom: 1px solid var(--m-line); }
  .cmf-cats__viewport::before, .cmf-cats__viewport::after { display: none; }
  .cmf-cats__track, .cmf-cats__track.is-centered { justify-content: flex-start; gap: 2px; padding: 6px 10px 8px; border: 0; }
  .cmf-cats__item { width: 66px; padding: 3px 2px; border-radius: 12px; color: var(--m-ink2); }
  .cmf-cats__thumb {
    display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 3px;
    border: 0; border-radius: 12px; background: var(--m-tint);
  }
  .cmf-cats__thumb .cmf-cats__img-d { display: none; }
  .cmf-cats__thumb .cmf-cats__img-m { display: block; }
  .cmf-cats__thumb img { width: 32px; height: 32px; object-fit: contain; }
  .cmf-cats__item span { min-height: 0; font-size: 10.9px; font-weight: 500; line-height: 1.2; }
  .cmf-cats__item.active, .cmf-cats__item:hover { color: var(--m-green-dark); }
  .cmf-cats__item.active .cmf-cats__thumb { background-color: var(--m-tint); box-shadow: 0 0 0 2px var(--m-brand); }
  .cmf-cats__item:hover .cmf-cats__thumb { background-color: var(--m-tint); }
  .cmf-cats__item.active .cmf-cats__thumb img, .cmf-cats__item:hover .cmf-cats__thumb img { transform: none; filter: none; }

  /* ---------- Banner slider with dots underneath ---------- */
  .cmf-banner { margin: 14px 16px 0; overflow: visible; }
  .cmf-banner .swiper { padding-bottom: 20px; overflow: hidden; }
  .cmf-banner .swiper-slide img { border-radius: 14px; }
  .cmf-banner .swiper > .cmf-banner__dots {
    display: flex; justify-content: center; align-items: center; gap: 6px;
    inset: auto 0 4px; width: 100%; line-height: 0;
  }
  .cmf-banner__dots .swiper-pagination-bullet {
    width: 7px; height: 7px; margin: 0 !important; border-radius: 4px; background: #c9d3c6; opacity: 1;
    transition: width .2s, background .2s;
  }
  .cmf-banner__dots .swiper-pagination-bullet-active { width: 20px; background: var(--m-green); }

  /* ---------- Today's best deals ---------- */
  .cmf-deals { display: block; margin-top: 8px; }
  .cmf-deals__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
  body.cmf .cmf-deals__head h2 { margin: 0; color: var(--m-ink); font-family: var(--poppins); font-size: 17.9px; font-weight: 600; line-height: 1.25; }
  .cmf-deals__head p { margin: 2px 0 0; color: var(--m-muted); font-size: 12.5px; line-height: 1.4; }
  .cmf-deals__head a { display: inline-flex; align-items: center; gap: 2px; color: var(--m-green); font-size: 13.6px; font-weight: 600; white-space: nowrap; text-decoration: none; }
  .cmf-deals__head a svg { width: 16px; height: 16px; }
  .cmf-deals__track {
    display: flex; gap: 12px; margin: 0 -16px; padding: 2px 16px 10px; list-style: none;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none;
  }
  .cmf-deals__track::-webkit-scrollbar { display: none; }
  .cmf-deals__track > li { flex: 0 0 82%; scroll-snap-align: start; }
  .cmf-deal {
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 104px; align-items: center; gap: 10px;
    height: 100%; min-height: 150px; padding: 14px 14px 14px 16px;
    border: 1px solid rgba(18, 34, 20, .05); border-radius: 18px; overflow: hidden;
    color: var(--m-ink); text-decoration: none;
  }
  .cmf-deal:hover, .cmf-deal:focus-visible { color: var(--m-ink); }
  .cmf-deal__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .cmf-deal__badge {
    align-self: flex-start; display: inline-flex; align-items: baseline; gap: 3px; padding: 3px 10px;
    border-radius: 999px; background: var(--m-offer); color: #fff;
    font-size: 10.6px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  }
  .cmf-deal__badge b { font-size: 14.7px; font-weight: 700; letter-spacing: 0; }
  .cmf-deal__cat { margin-top: 8px; color: var(--m-muted); font-size: 11.2px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
  .cmf-deal__name {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-size: 15.7px; font-weight: 600; line-height: 1.25; text-transform: capitalize;
  }
  .cmf-deal__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
  .cmf-deal__price b { color: var(--m-green-dark); font-size: 16.8px; font-weight: 700; white-space: nowrap; }
  .cmf-deal__price s { color: var(--m-muted); font-size: 12.5px; white-space: nowrap; }
  .cmf-deal__more { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; color: var(--m-green); font-size: 12.8px; font-weight: 600; }
  .cmf-deal__more svg { width: 15px; height: 15px; }
  .cmf-deal__img { position: relative; width: 104px; height: 104px; }
  .cmf-deal__img img { display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; object-fit: cover; box-shadow: 0 6px 16px rgba(18, 34, 20, .14); }
  .cmf-deal__pct { position: absolute; right: -2px; bottom: 2px; padding: 2px 7px; border-radius: 999px; background: #fff; color: var(--m-offer); font-size: 11.2px; font-weight: 700; box-shadow: 0 2px 6px rgba(18, 34, 20, .15); }
  .cmf-deal--green { background: linear-gradient(135deg, #eef8e9 0%, #dff1d6 100%); }
  .cmf-deal--orange { background: linear-gradient(135deg, #fff5ec 0%, #ffe6d1 100%); }
  .cmf-deal--blue { background: linear-gradient(135deg, #eff6fe 0%, #dcebfb 100%); }
  .cmf-deal--pink { background: linear-gradient(135deg, #fef1f5 0%, #fbdfe9 100%); }

  /* ---------- Section headings: left aligned, compact ---------- */
  body.cmf-home .cmf-fc { padding-top: 22px; }
  body.cmf-home .cmf-fc__header { margin: 0 0 10px; text-align: left; }
  body.cmf-home .cmf-fc__header .cmf-title__heading,
  body.cmf .cmf-catgrid .cmf-title__heading,
  body.cmf .cmf-why__title,
  body.cmf .cmf-cc__title {
    margin: 0; color: var(--m-ink); font-family: var(--poppins); font-size: 18.4px; font-weight: 600; line-height: 1.25; text-align: left;
  }
  body.cmf-home .cmf-fc__header .cmf-title__desc, .cmf-catgrid .cmf-title__desc { display: none; }

  /* Product rails run edge to edge so the next card peeks in */
  body.cmf-home .cmf-fc .swiper { margin-inline: -16px; padding: 2px 16px 10px; }
  .cmf-cc { padding-block: 22px 0; }
  .cmf-cc__grid { row-gap: 22px; }
  .cmf-cc__wrapper { margin-inline: -16px; --cc-gap: 16px; }
  .cmf-cc .swiper { padding: 2px 16px 10px; }
  .cmf-cc .swiper-slide { width: calc((100cqi - 16px) / 2.1); }
  .cmf-cc__view-all { padding: 0; border: 0; background: none; color: var(--m-green) !important; font-size: 13.6px; }
  .cmf-cc__view-all:hover { background: none; color: var(--m-green-dark) !important; }
  .cmf-cc__view-all svg { width: 14px; height: 14px; }

  /* ---------- Grocery-style product card on the home rails ---------- */
  body.cmf .cmf-v-m .cmf-card--listing {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto 1fr auto;
    grid-template-areas: "media" "title" "weight" "price" "add";
    border-radius: 14px;
  }
  body.cmf .cmf-v-m .cmf-card--listing .cmf-card__media { aspect-ratio: 440 / 300; }
  body.cmf .cmf-v-m .cmf-card--listing .cmf-card__badge { top: 8px; left: 8px; padding: 3px 8px; border-radius: 6px; font-size: 11px; line-height: 14px; }
  body.cmf .cmf-v-m .cmf-card--listing .cmf-card__title { min-height: 46px; padding: 10px 10px 0; font-size: 13.8px; font-weight: 500; line-height: 18px; }
  body.cmf .cmf-v-m .cmf-card--listing .cmf-card__weight { padding: 2px 10px 0; font-size: 11.8px; line-height: 16px; }
  body.cmf .cmf-v-m .cmf-card--listing .cmf-card__price {
    display: flex; flex-flow: row wrap; align-items: baseline; justify-content: flex-start; align-self: start; gap: 0 6px;
    min-height: 0; margin-top: 6px; padding: 0 10px;
  }
  body.cmf .cmf-v-m .cmf-card--listing .cmf-card__price-sale { font-size: 16px; line-height: 22px; }
  body.cmf .cmf-v-m .cmf-card--listing .cmf-card__price-compare { display: inline-block; margin: 0; font-size: 11px; line-height: 16px; }
  body.cmf .cmf-v-m .cmf-card--listing .cmf-card__mrp { display: inline-block; margin-right: 3px; }
  body.cmf .cmf-v-m .cmf-card--listing .cmf-card__form { display: block; min-height: 0; margin: 0; padding: 8px 10px 12px; }
  body.cmf .cmf-v-m .cmf-card--listing .cmf-card__add { width: 100%; min-width: 0; height: 36px; padding: 0 8px; border-radius: 10px; font-size: 13px; }

  /* ---------- Shop by category: 4 icon tiles per row ---------- */
  .cmf-catgrid { margin-top: 22px; padding: 22px 0; background: var(--m-bg); }
  .cmf-catgrid .cmf-title { padding: 0 0 12px; }
  .cmf-catgrid .cmf-catgrid__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .cmf-catgrid__card { display: block; height: auto; overflow: visible; border: 0; background: none; box-shadow: none; }
  .cmf-catgrid__img, .cmf-catgrid__content { display: none; }
  .cmf-catgrid__tile { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--m-ink); font-size: 11.8px; font-weight: 500; line-height: 1.25; text-align: center; text-decoration: none; }
  .cmf-catgrid__tile:hover { color: var(--m-ink); }
  .cmf-catgrid__tile-img { display: grid; place-items: center; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 16px; background: var(--m-tint); }
  .cmf-catgrid__tile-img img { width: 70%; height: 70%; object-fit: contain; }

  /* ---------- Why choose us ---------- */
  .cmf-why { display: block; margin-top: 22px; padding: 22px 0; background: var(--m-bg); }
  .cmf-why__title { margin-bottom: 12px; }
  .cmf-why__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
  .cmf-why__list li { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid var(--m-line); border-radius: 14px; background: #fff; }
  .cmf-why__ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--m-soft); color: var(--m-green); }
  .cmf-why__ico svg { width: 20px; height: 20px; }
  .cmf-why__list b { display: block; color: var(--m-ink); font-size: 13.6px; font-weight: 600; line-height: 1.3; }
  .cmf-why__list span:not(.cmf-why__ico) { display: block; margin-top: 2px; color: var(--m-muted); font-size: 12.2px; line-height: 1.5; }
}

/* ---------- Bottom bar (5 items) + WhatsApp button: phones and small tablets ---------- */
@media (max-width: 767px) {
  body.cmf { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .cmf-tabbar {
    height: calc(62px + env(safe-area-inset-bottom, 0px));
    padding: 0 0 env(safe-area-inset-bottom, 0px);
    border-top: 1px solid #e2e8df;
    border-radius: 0;
    box-shadow: 0 -4px 18px rgba(18, 34, 20, .06);
  }
  .cmf-tabbar__item { gap: 3px; border-radius: 0; font-size: 10.9px; }
  .cmf-tabbar__item svg { width: 22px; height: 22px; }
  .cmf-tabbar__item.is-active { color: #1b7a07; }
  .cmf-tabbar__item.is-active svg { fill: none; }
  .cmf-tabbar__badge { top: -5px; right: -9px; background: #e4570f; }

  body.cmf .cmf-wa { right: 14px; bottom: calc(62px + 14px + env(safe-area-inset-bottom, 0px)); width: 50px; height: 50px; }
  body.cmf .cmf-wa svg { width: 28px; height: 28px; }
}

/* ---------- Phones: price on a single line, like the live site (sale price + struck MRP side by side) ---------- */
@media (max-width: 749px) {
  body.cmf .cmf-v-m .cmf-card--listing .cmf-card__price,
  body.cmf #product-list:not(.product-list) .cmf-card--listing .cmf-card__price {
    display: flex; flex-flow: row wrap; align-items: baseline; justify-content: flex-start; align-self: start;
    gap: 0 3px; min-height: 0; margin-top: 6px; padding: 0 10px; line-height: 22px;
  }
  /* Text scales with the card width so a 3-digit price and its MRP always share one line */
  body.cmf .cmf-v-m .cmf-card--listing .cmf-card__price-sale,
  body.cmf #product-list:not(.product-list) .cmf-card--listing .cmf-card__price-sale { font-size: clamp(11px, 8.5cqi, 15px); line-height: 22px; white-space: nowrap; }
  body.cmf .cmf-v-m .cmf-card--listing .cmf-card__price-compare,
  body.cmf #product-list:not(.product-list) .cmf-card--listing .cmf-card__price-compare { display: inline-block; margin: 0; font-size: clamp(8.6px, 6cqi, 10.5px); line-height: 16px; white-space: nowrap; }
  /* The strike-through already says "MRP", and the label would not fit beside AED prices on a phone */
  body.cmf .cmf-v-m .cmf-card--listing .cmf-card__mrp,
  body.cmf #product-list:not(.product-list) .cmf-card--listing .cmf-card__mrp { display: none; }
}

/* ==========================================================================
   Bottom of the home page: bulk-supply teaser, app banner, FAQ
   ========================================================================== */
.cmf-bulk { padding-top: 40px; }
.cmf-bulk__box {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px;
  padding: 18px 22px; border: 1px solid #f4dcbc; border-radius: 16px; background: #fff4e6;
}
body.cmf .cmf-bulk__text h2 { margin: 0 0 4px; color: #17221a; font-family: var(--poppins); font-size: 18px; font-weight: 700; line-height: 1.3; }
.cmf-bulk__text p { margin: 0; color: #3a463d; font-size: 14px; line-height: 1.5; }
.cmf-bulk__btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 10px 18px;
  border-radius: 10px; background: #1b7a07; color: #fff !important; font-size: 14px; font-weight: 600; line-height: 1.2;
  text-align: center; text-decoration: none; white-space: nowrap; transition: background-color .15s ease;
}
.cmf-bulk__btn:hover { background: #125405; }

.cmf-app { padding-top: 16px; }
.cmf-app__box {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px;
  padding: 18px 22px; border-radius: 16px; background: linear-gradient(135deg, #1b7a07 0%, #125405 100%); color: #fff;
}
body.cmf .cmf-app__text h2 { margin: 0 0 4px; color: #fff; font-family: var(--poppins); font-size: 18px; font-weight: 700; line-height: 1.3; }
.cmf-app__text p { margin: 0; color: rgba(255, 255, 255, .85); font-size: 14px; line-height: 1.5; }
.cmf-app__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.cmf-app__badges img { display: block; width: auto; height: 40px; }

.cmf-faq { padding: 40px 0 48px; }
body.cmf .cmf-faq__title { margin: 0 0 14px; color: #17221a; font-family: var(--poppins); font-size: 20px; font-weight: 700; line-height: 1.3; }
.cmf-faq__item { margin-bottom: 8px; border: 1px solid #e2e8df; border-radius: 10px; background: #fff; }
.cmf-faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px;
  color: #17221a; font-size: 14.4px; font-weight: 600; line-height: 1.4; list-style: none; cursor: pointer;
}
.cmf-faq__item summary::-webkit-details-marker { display: none; }
.cmf-faq__item summary::after { content: "+"; flex: none; color: #1b7a07; font-size: 20px; font-weight: 600; line-height: 1; }
.cmf-faq__item[open] summary::after { content: "\2212"; }
.cmf-faq__item summary:focus-visible { outline: 2px solid #1b7a07; outline-offset: -2px; border-radius: 10px; }
.cmf-faq__item > div { padding: 0 16px 14px; color: #3a463d; font-size: 14px; line-height: 1.6; }

@media (max-width: 749px) {
  .cmf-bulk { padding-top: 28px; }
  .cmf-bulk__box { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; border-radius: 18px; }
  body.cmf .cmf-bulk__text h2, body.cmf .cmf-app__text h2 { font-size: 17.5px; }
  .cmf-bulk__text p, .cmf-app__text p { font-size: 14.4px; }
  .cmf-bulk__btn { min-height: 44px; font-size: 15px; }
  .cmf-app { padding-top: 22px; }
  .cmf-app__box { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; border-radius: 18px; }
  .cmf-app__badges img { height: 44px; }
  .cmf-faq { padding: 28px 0 8px; }
  body.cmf .cmf-faq__title { font-size: 18.4px; }
  .cmf-faq__item summary { padding: 14px; font-size: 14.4px; }
  .cmf-faq__item > div { padding: 0 14px 14px; font-size: 14px; }
}

/* ==========================================================================
   Footer  -  dark green, mirrors the choosemyfresh.com footer (all screen sizes)
   ========================================================================== */
.cmf-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 1029;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 6px 18px rgba(37, 211, 102, .4);
}
.cmf-wa:hover { background: #1ebe5a; color: #fff; }
.cmf-wa svg { width: 30px; height: 30px; }
body.cmf-sheet-open .cmf-wa { display: none; }

body.cmf footer.cmf-ftr { position: static; width: auto; margin-top: 30px; padding: 0; border: 0; background: #0f2614; color: #c9d6cb; font-size: 13.6px; line-height: 1.55; }
body.cmf footer.cmf-ftr a { color: #e5efe6; text-decoration: none; }
body.cmf footer.cmf-ftr a:hover { color: #fff; }
.cmf-ftr__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 28px 0 18px; }
body.cmf .cmf-ftr h2 { margin: 0 0 10px; color: #fff; font-family: var(--poppins); font-size: 15.2px; font-weight: 600; line-height: 1.3; }
.cmf-ftr ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cmf-ftr p { margin: 0; color: #c9d6cb; font-size: 13.6px; line-height: 1.6; }
.cmf-ftr__logo { display: inline-block; margin-bottom: 10px; }
.cmf-ftr__logo img { display: block; width: 150px; max-width: 100%; height: auto; filter: brightness(0) invert(1); opacity: .95; }
.cmf-ftr__logo-text { color: #fff; font-family: var(--samsung); font-size: 22px; font-weight: 700; }
.cmf-ftr__licence { margin-top: 10px; color: #9fb2a3 !important; }
.cmf-ftr__contact li { display: flex; gap: 8px; }
.cmf-ftr__contact svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: #86b915; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cmf-ftr__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cmf-ftr__badges img { display: block; width: auto; height: 40px; }
.cmf-ftr__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  padding: 14px 0 18px; border-top: 1px solid rgba(255, 255, 255, .1); color: #9fb2a3; font-size: 12px;
}
.cmf-ftr__pay { display: flex; flex-wrap: wrap; gap: 6px; }
.cmf-ftr__pay span { padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, .08); font-size: 11.5px; }
@media (min-width: 600px) {
  .cmf-ftr__grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
@media (min-width: 992px) {
  .cmf-ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; padding-top: 36px; }
}
.cmf-faq { scroll-margin-top: 120px; }

/* ---------- About page (information/information.twig, About Us only) ---------- */
.cmf-about { --ab-gap: clamp(44px, 6vw, 80px); --ab-line: #e4eadf; padding-bottom: 28px; color: var(--cmf-muted); font-family: var(--poppins); }
.cmf-about p { margin: 0; font-size: 14px; line-height: 24px; }
.cmf-about h1, .cmf-about h2, .cmf-about h3 { margin: 0; }
.cmf-about__crumbs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 12px 0 4px; list-style: none; color: var(--cmf-muted); font-size: 12.5px; line-height: 1.4; }
.cmf-about__crumbs li + li::before { content: "\203A"; margin-right: 4px; color: #a5aea7; }
.cmf-about__crumbs a { color: var(--cmf-muted); text-decoration: none; }
.cmf-about__crumbs a:hover { color: var(--cmf-green); }

.cmf-about__btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 30px; border-radius: 14px; background: var(--cmf-green); color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color .15s ease; }
.cmf-about__btn:hover { background: #013a0b; color: #fff; }
.cmf-about__kicker { display: block; margin-bottom: 8px; color: #2f7d32; font-family: var(--samsung); font-size: 16px; font-weight: 700; }
.cmf-about__title { color: var(--cmf-heading); font-family: var(--samsung); font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.25; text-align: center; }
.cmf-about__title::after { content: ""; display: block; width: 64px; height: 12px; margin: 12px auto 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 12'%3E%3Cpath d='M2 6q7-8 14 0t14 0 14 0 14 0' fill='none' stroke='%2395d19a' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.cmf-about__h2 { margin-bottom: 14px !important; color: var(--cmf-heading); font-family: var(--samsung); font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.25; }

/* Intro */
.cmf-about__hero { display: grid; gap: 28px; align-items: center; padding-top: 20px; }
.cmf-about__mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 1 / 1; max-height: 560px; }
.cmf-about__mosaic img { display: block; width: 100%; height: 100%; min-height: 0; border-radius: 20px; object-fit: cover; }
.cmf-about__mosaic img:first-child { grid-row: 1 / span 2; }
body.cmf .cmf-about__eyebrow { margin-bottom: 8px !important; color: #2f7d32; font-family: var(--samsung); font-size: 16px; font-weight: 700; line-height: 1.3; text-transform: uppercase; }
.cmf-about__lead { margin-bottom: 16px !important; color: var(--cmf-heading); font-family: var(--samsung); font-size: clamp(26px, 3.3vw, 42px); font-weight: 700; line-height: 1.2; }
.cmf-about__intro p { margin-bottom: 14px; font-size: 15px; }
.cmf-about__intro .cmf-about__btn { margin-top: 8px; }

/* What We Offer */
.cmf-about__sec { padding-top: var(--ab-gap); }
.cmf-about__cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 32px; }
.cmf-about__card { flex: 0 0 100%; box-sizing: border-box; padding: 32px 24px 28px; border: 1px solid var(--ab-line); border-radius: 20px; background: #fff; text-align: center; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.cmf-about__card:hover { border-color: #b9dcb8; box-shadow: 0 10px 28px rgba(2, 71, 14, .08); transform: translateY(-3px); }
.cmf-about__card img { display: block; width: 72px; height: 72px; margin: 0 auto 16px; }
.cmf-about__card h3 { margin-bottom: 10px; color: var(--cmf-heading); font-family: var(--samsung); font-size: 18px; font-weight: 600; line-height: 1.3; }

/* Our Story */
.cmf-about__story { display: grid; gap: 28px; align-items: center; padding-top: var(--ab-gap); }
.cmf-about__duo { display: grid; grid-template-columns: 1fr 1.15fr; gap: 14px; align-items: center; }
.cmf-about__duo img { display: block; width: 100%; height: auto; border-radius: 20px; object-fit: cover; }
.cmf-about__duo img:first-child { aspect-ratio: 3 / 4; }
.cmf-about__duo img:last-child { aspect-ratio: 3 / 4.4; }
.cmf-about__storytext p + p { margin-top: 14px; }

/* Our Commitment to Quality (green band) */
.cmf-about__band { position: relative; isolation: isolate; margin-top: var(--ab-gap); padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px); border-radius: 24px; overflow: hidden; background: #2d5a35; color: #fff; }
.cmf-about__band-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cmf-about__band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(32, 76, 40, .9); }
.cmf-about__band-text { display: grid; gap: 14px; }
body.cmf .cmf-about__band h2 { color: #fff; font-family: var(--samsung); font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.25; }
.cmf-about__band p { color: rgba(255, 255, 255, .88); }
.cmf-about__band-text > div p + p { margin-top: 12px; }
.cmf-about__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255, 255, 255, .22); list-style: none; }
.cmf-about__stats li { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; }
.cmf-about__stats b { color: #fff; font-family: var(--samsung); font-size: clamp(30px, 4vw, 46px); font-weight: 700; line-height: 1.1; }
.cmf-about__stats span { color: rgba(255, 255, 255, .92); font-size: 14px; font-weight: 500; line-height: 1.4; }

/* Why Choose */
.cmf-about__why { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
.cmf-about__reason { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--ab-line); border-radius: 18px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.cmf-about__reason:hover { border-color: #b9dcb8; box-shadow: 0 10px 28px rgba(2, 71, 14, .07); }
.cmf-about__reason-icon { display: flex; flex: 0 0 48px; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #e9f6e5; color: var(--cmf-green); }
.cmf-about__reason-icon svg { width: 24px; height: 24px; }
.cmf-about__reason h3 { margin-bottom: 4px; color: var(--cmf-heading); font-family: var(--samsung); font-size: 17px; font-weight: 600; line-height: 1.3; }

/* Vision / Mission / Promise */
.cmf-about__trio { display: grid; grid-template-columns: 1fr; gap: 16px; padding-top: var(--ab-gap); }
.cmf-about__trio article { padding: 28px 26px; border-radius: 20px; background: #f6f8f4; }
.cmf-about__trio h3 { position: relative; margin-bottom: 12px; padding-bottom: 12px; color: var(--cmf-heading); font-family: var(--samsung); font-size: 22px; font-weight: 600; line-height: 1.25; }
.cmf-about__trio h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: #429243; }

/* Closing banner */
.cmf-about__cta { display: grid; gap: 28px; align-items: center; margin-top: var(--ab-gap); padding: clamp(28px, 5vw, 56px); border-radius: 28px; background: #e9f6e5; overflow: hidden; }
body.cmf .cmf-about__cta h2 { margin-bottom: 12px; color: #17221a; font-family: var(--samsung); font-size: clamp(26px, 3.4vw, 42px); font-weight: 700; line-height: 1.15; }
.cmf-about__cta p { margin-bottom: 22px; font-size: 15px; }
.cmf-about__cta-pics { display: flex; align-items: center; justify-content: center; }
.cmf-about__cta-pics img { flex: 0 0 auto; width: clamp(96px, 26vw, 170px); height: clamp(96px, 26vw, 170px); border: 6px solid #e9f6e5; border-radius: 50%; object-fit: cover; }
.cmf-about__cta-pics img + img { margin-left: -26px; }
.cmf-about__cta-pics img:nth-child(2) { width: clamp(112px, 30vw, 200px); height: clamp(112px, 30vw, 200px); position: relative; z-index: 1; }

@media (min-width: 600px) {
  .cmf-about__card { flex-basis: calc((100% - 20px) / 2); }
  .cmf-about__why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmf-about__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .cmf-about__trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 900px) {
  .cmf-about__hero, .cmf-about__story { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; }
  .cmf-about__card { flex-basis: calc((100% - 40px) / 3); }
  .cmf-about__why { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .cmf-about__band-text { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: start; }
  .cmf-about__cta { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 599px) {
  .cmf-about__card { padding: 26px 20px 22px; }
  .cmf-about__card img { width: 64px; height: 64px; margin-bottom: 12px; }
  .cmf-about__mosaic { max-height: 380px; aspect-ratio: 4 / 3; }
  .cmf-about__mosaic img { border-radius: 16px; }
}

/* ---------- Contact page (information/contact.twig) ---------- */
.cmf-contact { --ct-gap: clamp(40px, 6vw, 72px); padding-bottom: 32px; color: var(--cmf-muted); font-family: var(--poppins); }
.cmf-contact p { margin: 0; font-size: 14px; line-height: 24px; }
.cmf-contact h1, .cmf-contact h2, .cmf-contact h3 { margin: 0; font-family: var(--samsung); }
.cmf-contact__map { margin-top: var(--ct-gap); height: clamp(240px, 30vw, 380px); border-radius: 20px; overflow: hidden; background: #eef2ea; }
.cmf-contact__map iframe { display: block; width: 100%; height: 100%; border: 0; }

.cmf-contact__main { display: grid; gap: 32px; align-items: start; padding-top: 24px; }
.cmf-contact__info { padding: 32px 26px; border: 1px solid #edf0ea; border-radius: 20px; background: #fff; box-shadow: 0 18px 50px rgba(20, 40, 20, .1); }
body.cmf .cmf-contact__info h1 { color: var(--cmf-heading); font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; line-height: 1.15; }
.cmf-contact__info > p { margin: 14px 0 28px; }
.cmf-contact__info ul { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.cmf-contact__info li { display: flex; gap: 16px; align-items: flex-start; margin: 0; padding: 0; }
.cmf-contact__icon { display: flex; flex: 0 0 42px; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #e9f6e5; color: #1b7a07; }
.cmf-contact__icon svg { width: 22px; height: 22px; }
body.cmf .cmf-contact__info h3 { margin-bottom: 2px; color: var(--cmf-heading); font-size: 16px; font-weight: 600; line-height: 1.4; }
.cmf-contact__info li p a { color: inherit; text-decoration: none; }
.cmf-contact__info li p a:hover { color: var(--cmf-green); }

body.cmf .cmf-contact__form h2 { color: var(--cmf-heading); font-size: clamp(26px, 3vw, 38px); font-weight: 700; line-height: 1.15; }
.cmf-contact__form > p { margin: 12px 0 24px; }
.cmf-contact__form form { display: grid; gap: 16px; }
.cmf-contact__row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.cmf-contact__form label { display: block; margin: 0 0 6px; color: var(--cmf-heading); font-size: 14px; font-weight: 500; }
.cmf-contact .form-control { display: block; box-sizing: border-box; width: 100%; height: 48px; padding: 0 16px; border: 1px solid transparent; border-radius: 10px; background: #f1f3ef; color: var(--cmf-heading); font-family: var(--poppins); font-size: 14px; box-shadow: none; }
.cmf-contact textarea.form-control { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; }
.cmf-contact .form-control::placeholder { color: #7b847d; }
.cmf-contact .form-control:focus { border-color: #7fa889; background: #fff; box-shadow: 0 0 0 .2rem rgba(2, 71, 14, .12); }
.cmf-contact .form-control.is-invalid { border-color: #dc3545; background-image: none; }
.cmf-contact .invalid-feedback { margin-top: 4px; font-size: 12.5px; }
.cmf-contact__send { display: inline-flex; align-items: center; justify-self: start; gap: 8px; height: 48px; padding: 0 28px; border: 0; border-radius: 12px; background: var(--cmf-green); color: #fff; font-family: var(--poppins); font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .15s ease; }
.cmf-contact__send:hover { background: #013a0b; }
.cmf-contact__send:disabled { opacity: .7; cursor: default; }
.cmf-contact__send svg { width: 18px; height: 18px; }

.cmf-contact__help { margin-top: var(--ct-gap); }
.cmf-contact__help-top { position: relative; isolation: isolate; overflow: hidden; padding: clamp(40px, 6vw, 72px) 24px calc(clamp(40px, 6vw, 72px) + 80px); border-radius: 28px; background: linear-gradient(120deg, #02470E 0%, #2f7d32 55%, #7fb23a 100%); color: #fff; text-align: center; }
.cmf-contact__help-top img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .2; }
body.cmf .cmf-contact__help-top h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; line-height: 1.15; }
.cmf-contact__help-top p { margin-top: 10px; color: rgba(255, 255, 255, .92); font-size: 15px; }
.cmf-contact__help-cards { position: relative; display: grid; grid-template-columns: 1fr; gap: 16px; margin: -80px 20px 0; }
.cmf-contact__help-cards article { padding: 28px 24px; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px rgba(20, 40, 20, .13); text-align: center; }
.cmf-contact__help-cards svg { width: 36px; height: 36px; color: #1b7a07; }
body.cmf .cmf-contact__help-cards h3 { margin: 12px 0 8px; color: var(--cmf-heading); font-size: 20px; font-weight: 600; line-height: 1.3; }
.cmf-contact__help-cards p { margin-bottom: 18px; }
.cmf-contact__btn { display: inline-flex; align-items: center; height: 40px; padding: 0 24px; border-radius: 10px; background: var(--cmf-green); color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color .15s ease; }
.cmf-contact__btn:hover { background: #013a0b; color: #fff; }

@media (min-width: 600px) {
  .cmf-contact__row { grid-template-columns: 1fr 1fr; }
  .cmf-contact__info { padding: 40px 36px; }
}
@media (min-width: 768px) {
  .cmf-contact__help-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-inline: 32px; }
}
@media (min-width: 900px) {
  .cmf-contact__main { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .cmf-contact__form { padding-top: 24px; }
}

/* ---------- FAQ page (information/faq.twig) ---------- */
.cmf-faqpage { padding-bottom: 40px; color: var(--cmf-muted); font-family: var(--poppins); }
.cmf-faqpage [hidden] { display: none !important; }
.cmf-faqpage__head { padding: clamp(20px, 4vw, 40px) 0 clamp(28px, 5vw, 64px); }
body.cmf .cmf-faqpage__head h1 { margin: 0; color: #111; font-family: var(--samsung); font-size: 36px; font-weight: 700; line-height: 1.1; }
.cmf-faqpage__head p { max-width: 560px; margin: 16px 0 0; font-size: 15px; line-height: 24px; }

.cmf-faqpage__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.cmf-faqpage__search { position: relative; margin: 0; }
.cmf-faqpage__search input { display: block; box-sizing: border-box; width: 100%; height: 40px; padding: 0 30px 0 0; border: 0; border-bottom: 1px solid #111; border-radius: 0; outline: 0; background: transparent; color: #111; font-family: var(--poppins); font-size: 14px; appearance: none; }
.cmf-faqpage__search input::placeholder { color: #8a948b; }
.cmf-faqpage__search input:focus { border-bottom-color: var(--cmf-green); box-shadow: 0 1px 0 var(--cmf-green); }
.cmf-faqpage__search svg { position: absolute; top: 50%; right: 2px; width: 16px; height: 16px; margin-top: -8px; color: #111; pointer-events: none; }

.cmf-faqpage__nav ul { display: flex; gap: 8px; margin: 14px 0 0; padding: 2px 0 6px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.cmf-faqpage__nav ul::-webkit-scrollbar { display: none; }
.cmf-faqpage__nav li { flex: none; margin: 0; padding: 0; }
.cmf-faqpage__nav button { display: block; padding: 9px 16px; border: 1px solid #d5dbd2; border-radius: 999px; background: #fff; color: #111; font-family: var(--poppins); font-size: 12.5px; font-weight: 500; line-height: 1.2; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.cmf-faqpage__nav button:hover { border-color: #111; }
.cmf-faqpage__nav button.is-active { border-color: var(--cmf-green); background: var(--cmf-green); color: #fff; }

.cmf-faqpage__list { border-bottom: 1px solid #d9ddd7; }
.cmf-faqpage__list > section { border-top: 1px solid #d9ddd7; }
.cmf-faqpage__item { border-top: 1px solid #d9ddd7; }
.cmf-faqpage__list > section > .cmf-faqpage__item:first-child { border-top: 0; }
.cmf-faqpage__item summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 0; color: #111; font-family: var(--poppins); font-size: 17px; font-weight: 400; line-height: 1.45; list-style: none; cursor: pointer; }
.cmf-faqpage__item summary::-webkit-details-marker { display: none; }
.cmf-faqpage__item summary::after { content: "+"; flex: none; margin-top: -2px; color: #111; font-size: 26px; font-weight: 300; line-height: 1; }
.cmf-faqpage__item[open] summary::after { content: "\2212"; }
.cmf-faqpage__item summary:focus-visible { outline: 2px solid var(--cmf-green); outline-offset: 2px; }
.cmf-faqpage__item > div { max-width: 760px; padding: 0 40px 24px 0; color: #4a554d; font-size: 15px; line-height: 26px; }
.cmf-faqpage__item > div a { color: var(--cmf-green); text-decoration: underline; }
.cmf-faqpage__empty { padding: 24px 0; font-size: 15px; }
.cmf-faqpage__empty a { color: var(--cmf-green); }

.cmf-faqpage__more { margin-top: clamp(44px, 6vw, 80px); padding: clamp(28px, 4vw, 44px); border-radius: 24px; background: #e9f6e5; text-align: center; }
body.cmf .cmf-faqpage__more h2 { margin: 0 0 8px; color: #17221a; font-family: var(--samsung); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.2; }
.cmf-faqpage__more p { margin: 0 0 20px; font-size: 14px; line-height: 24px; }

@media (min-width: 900px) {
  .cmf-faqpage__body { grid-template-columns: 230px minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); }
  .cmf-faqpage__nav { position: sticky; top: 130px; }
  .cmf-faqpage__nav ul { flex-direction: column; gap: 0; margin-top: 34px; padding: 0; overflow: visible; }
  .cmf-faqpage__nav li { padding: 11px 0; }
  .cmf-faqpage__nav button { display: inline-block; padding: 0 0 4px; border: 0; border-bottom: 1px solid transparent; border-radius: 0; background: none; color: #111; font-size: 12px; letter-spacing: 1.5px; }
  .cmf-faqpage__nav button:hover { border-color: #111; }
  .cmf-faqpage__nav button.is-active { border-color: #111; background: none; color: #111; }
  .cmf-faqpage__item summary { padding: 26px 0; font-size: 20px; }
}

/* ==========================================================================
   Product card quantity stepper
   Once a product is in the cart its Add button turns into  -  1  +  (cmf.js keeps data-cmf-qty on the form
   in step with the cart). Same size and place as the Add button in every card layout.
   ========================================================================== */
.cmf-card__stepper { display: none; }
body.cmf .cmf-card__form[data-cmf-qty]:not([data-cmf-qty="0"]) .cmf-card__add { display: none; }
body.cmf .cmf-card__form[data-cmf-qty]:not([data-cmf-qty="0"]) .cmf-card__stepper { display: flex; }

.cmf-card__stepper {
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: calc(100% - 32px);
  height: 36px;
  margin: 0 16px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--cmf-green);
  color: #fff;
  font-family: var(--poppins);
}
.cmf-card__stepper button {
  display: flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color .15s ease;
}
.cmf-card__stepper button:hover { background: rgba(255, 255, 255, .14); }
.cmf-card__stepper button:active { background: rgba(255, 255, 255, .24); }
.cmf-card__stepper svg { width: 16px; height: 16px; }
.cmf-card__stepper output { flex: 1 1 auto; min-width: 0; color: inherit; font-size: 14px; font-weight: 600; line-height: 1; text-align: center; }
/* While the cart is being updated a second Add tap would race the update */
.cmf-card__form.is-busy .cmf-card__add { pointer-events: none; opacity: .7; }

/* Home rails / related products on phones: the Add button is a round icon in the corner, the stepper needs the full width */
@media (max-width: 749px) {
  body.cmf .cmf-card:not(.cmf-card--listing) .cmf-card__form[data-cmf-qty]:not([data-cmf-qty="0"]) { margin-top: 6px; padding: 0 10px; }
  body.cmf .cmf-card:not(.cmf-card--listing) .cmf-card__stepper { width: 100%; height: 34px; margin: 0; }
}

/* Grocery-style listing card: stepper takes the place of the outlined ADD button */
body.cmf .cmf-card--listing .cmf-card__stepper { flex: 0 0 auto; width: 108px; height: 36px; margin: 0; background: var(--lc-green, #1B7A07); }
@container lc (max-width: 228px) {
  body.cmf .cmf-card--listing .cmf-card__stepper { width: 92px; height: 34px; }
  body.cmf .cmf-card--listing .cmf-card__stepper button { flex-basis: 32px; }
}
@media (min-width: 768px) {
  body.cmf .product-list .cmf-card--listing .cmf-card__stepper { width: 120px; }
}
/* Phones: price above a full-width button (category / search pages and the home rails) */
@media (max-width: 575.98px) {
  body.cmf #product-list:not(.product-list) .cmf-card--listing .cmf-card__stepper { width: 100%; height: 34px; }
}
body.cmf .cmf-v-m .cmf-card--listing .cmf-card__stepper { width: 100%; height: 36px; border-radius: 10px; }

/* ===== Shop By Categories – card hover effect =====
   Add at the end of catalog/view/stylesheet/cmf/cmf.css */

.cmf-catgrid__card {
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.cmf-catgrid__img img {
  transition: transform .6s ease;
}
.cmf-catgrid__content h5 {
  transition: color .3s ease;
}

@media (hover: hover) {
  .cmf-catgrid__card:hover {
    transform: translateY(-6px);
    border-color: var(--cmf-green);
    box-shadow: 0 14px 30px rgba(2, 71, 14, .18);
  }
  .cmf-catgrid__card:hover .cmf-catgrid__img img {
    transform: scale(1.08);
  }
  .cmf-catgrid__card:hover .cmf-catgrid__content h5 {
    color: var(--cmf-green);
  }
  .cmf-catgrid__card:hover .cmf-catgrid__content a {
    box-shadow: 0 6px 14px rgba(2, 71, 14, .3);
    transform: translateY(-2px);
  }
}

