/* -----------------------------------------------------------------------
   Storefront design layer (green / black marketplace look).
   Loaded last, after bootstrap.css, theme-style.css and custom.css.
   All new components use the "sf-" prefix; the overrides at the bottom
   re-skin the older theme pieces still used by inner pages.
------------------------------------------------------------------------ */

:root {
  --first-color: #35A839;
  --second-color: #000000;

  --sf-green: #35A839;
  --sf-green-dark: #2C8F30;
  --sf-green-deal: #28A745;
  --sf-green-soft: #C9EDCB;
  --sf-ink: #101828;
  --sf-text: #344054;
  --sf-muted: #667085;
  --sf-border: #EAECF0;
  --sf-bg-soft: #F9FAFB;
  --sf-red: #E4263A;
  --sf-badge-bg: #FDE8EC;
  --sf-badge-text: #E5364B;
  --sf-radius: 10px;
}

body.sf {
  font-family: 'Figtree', 'Segoe UI', Arial, sans-serif;
  color: var(--sf-text);
  background: #fff;
  font-size: 16px;
}
body.sf h1, body.sf h2, body.sf h3, body.sf h4, body.sf h5, body.sf h6 {
  font-family: 'Figtree', 'Segoe UI', Arial, sans-serif;
  color: var(--sf-ink);
  letter-spacing: 0;
}
body.sf a:hover { color: var(--sf-green); }

.sf-container {
  width: 100%;
  max-width: 1444px;
  margin-inline: auto;
  padding-inline: 16px;
}

/* ------------------------------------------------------------------ Header */
/* Sticky: stays pinned to the top while scrolling; storefront.js adds
   .is-stuck once the page has scrolled so the bar gets a shadow. */
.sf-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--sf-bg-soft);
  padding-bottom: 10px;
  transition: box-shadow 0.2s ease;
}
.sf-header.is-stuck { box-shadow: 0 4px 16px rgba(16, 24, 40, 0.12); }
.sf-header .sf-container { max-width: 1472px; }
.sf-header-main {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 14px;
}
.sf-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.sf-logo-mark {
  font-size: 22px;
  font-weight: 800;
  color: #000;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  border-bottom: 3px solid var(--sf-green);
  padding-bottom: 3px;
}
.sf-logo-sub {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--sf-green);
  text-transform: uppercase;
}
.sf-logo:hover .sf-logo-mark { color: #000; }

.sf-search {
  flex: 1 1 auto;
  max-width: 720px;
  display: flex;
  height: 46px;
  border: 1px solid #D0D5DD;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.sf-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0 16px;
  font-size: 15px;
  color: var(--sf-ink);
  background: transparent;
  outline: none;
}
.sf-search input::placeholder { color: var(--sf-muted); }
.sf-search:focus-within { border-color: var(--sf-green); box-shadow: 0 0 0 3px rgba(53, 168, 57, 0.15); }
.sf-search button {
  flex: 0 0 110px;
  border: 0;
  background: var(--sf-green);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.sf-search button:hover { background: var(--sf-green-dark); }

.sf-user-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  flex-shrink: 0;
}
.sf-user-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--sf-ink);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.sf-user-link .icon { color: var(--sf-green); }
body.sf .sf-user-link:hover { color: var(--sf-green); }
.sf-icon-badge-wrap { position: relative; display: inline-flex; }
.sf-icon-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--sf-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

/* Category bar */
.sf-catbar {
  display: flex;
  align-items: stretch;
  min-height: 48px;
  background: var(--sf-green);
  border-radius: 6px;
  overflow: visible;
}
.sf-allcat { position: relative; flex: 0 0 240px; }
.sf-allcat-btn {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: #000;
  color: #fff;
  border: 0;
  border-radius: 6px 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.sf-allcat-btn span { flex: 1; text-align: left; }
.sf-allcat-btn .icon-chevron-down { flex-shrink: 0; transform-origin: 50% 50%; transition: transform 0.2s ease; }
.sf-allcat.is-open .icon-chevron-down { transform: rotate(180deg); }
.sf-allcat-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 50;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--sf-border);
  border-top: 0;
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.12);
}
.sf-allcat-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--sf-ink);
  font-size: 15px;
}
body.sf .sf-allcat-menu a:hover { background: #f1faf1; color: var(--sf-green); }

.sf-catlinks {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0 22px;
  overflow-x: auto;
  scrollbar-width: none;
}
.sf-catlinks::-webkit-scrollbar { display: none; }
.sf-catlinks a {
  display: block;
  padding: 6px 0;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
body.sf .sf-catlinks a:hover,
.sf-catlinks a.is-active { color: #fff; border-bottom-color: #fff; }

/* --------------------------------------------------------------- Sections */
.sf-section { margin-top: 56px; }
.sf-section-tight { margin-top: 32px; }

.sf-sec-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}
.sf-sec-title {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  color: var(--sf-ink);
}
.sf-sec-title-plain { margin-bottom: 24px; }
.sf-sec-bar {
  display: flex;
  gap: 5px;
  margin: 14px 0 0 12px;
}
.sf-sec-bar i {
  display: block;
  width: 22px;
  height: 4px;
  border-radius: 4px;
  background: var(--sf-green-soft);
}
.sf-sec-bar i:nth-child(2) { width: 67px; background: var(--sf-green); }
.sf-viewall {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--sf-ink);
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}
.sf-viewall .icon { color: var(--sf-green); }

/* Horizontal rails */
.sf-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.sf-rail::-webkit-scrollbar { display: none; }
.sf-rail > * { scroll-snap-align: start; }

/* -------------------------------------------------------------------- Hero */
.sf-hero { margin-top: 8px; }
.sf-hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 358px;
  padding: 36px 56px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 60% 45%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(180deg, #2EAA4E 0%, #3FB45B 78%, #5BC571 100%);
}
.sf-hero-text {
  position: relative;
  z-index: 2;
  flex: 0 0 46%;
  color: #fff;
}
.sf-hero-kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  background: #fff;
  color: var(--sf-green-dark);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.sf-hero-title {
  margin: 0;
  color: #fff !important;
  font-size: 64px;
  font-weight: 800;
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.sf-hero-desc {
  margin: 14px 0 0;
  max-width: 460px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  font-weight: 500;
}
.sf-hero-btn {
  display: inline-block;
  margin-top: 22px;
  padding: 14px 44px;
  background: var(--sf-red);
  color: #fff;
  border-radius: 6px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}
body.sf .sf-hero-btn:hover { color: #fff; background: #c81d30; }
.sf-hero-media {
  position: absolute;
  inset: 0 0 0 44%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sf-hero-media img {
  width: 100% !important;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 20px;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.25));
}
.sf-hero-carousel .owl-nav button.owl-prev,
.sf-hero-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  border-radius: 50%;
  background: #fff !important;
  color: var(--sf-green-dark) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.sf-hero-carousel .owl-nav .owl-prev { left: 14px; }
.sf-hero-carousel .owl-nav .owl-next { right: 24px; }
.sf-hero-carousel .owl-nav.disabled { display: none; }
.sf-hero-carousel .owl-dots {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}
.sf-hero-carousel .owl-dots.disabled { display: none; }
.sf-hero-carousel button.owl-dot {
  padding: 0;
  border: 0;
  background: none;
}
.sf-hero-carousel .owl-dot span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #BDBDBD;
}
.sf-hero-carousel .owl-dot.active span { background: #222; }

/* ---------------------------------------------------------- Shop by Category */
.sf-shopcat { margin-top: 40px; }
.sf-cat-rail { gap: 22px; }
.sf-cat-tile {
  flex: 0 0 192px;
  display: flex;
  flex-direction: column;
  color: var(--sf-ink);
}
.sf-cat-img {
  display: block;
  width: 192px;
  height: 192px;
  border-radius: 12px;
  overflow: hidden;
  background: #F2F4F7;
}
.sf-cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.sf-cat-tile:hover .sf-cat-img img { transform: scale(1.05); }
.sf-cat-img-promo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
  background: linear-gradient(160deg, #3FB45B, #1F8F3B);
  color: #fff;
}
.sf-promo-kicker {
  align-self: flex-start;
  padding: 2px 6px;
  background: var(--sf-red);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sf-promo-word {
  margin: 8px 0;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}
.sf-promo-pill {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--sf-red);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.sf-cat-name {
  margin-top: 16px;
  font-size: 18px;
}
body.sf .sf-cat-tile:hover .sf-cat-name { color: var(--sf-green); }

/* ------------------------------------------------------------ Product card */
/* Every zone has a fixed size (image box, 2-line title, price row, note row,
   buy button) so all cards in a row/grid come out exactly the same height.
   The Buy Now button's space is always reserved; it only fades in on hover,
   so nothing shifts when it appears. */
.sf-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-radius);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.sf-card:hover,
.sf-card:focus-within {
  border-color: #D0D5DD;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.10);
}
.sf-card-media {
  position: relative;
  height: 250px;
  margin-bottom: 16px;
}
.sf-card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 6px;
}
.sf-card-img img {
  max-width: 86%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.sf-card:hover .sf-card-img img { transform: scale(1.04); }
.sf-card-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--sf-badge-bg);
  color: var(--sf-badge-text);
  font-size: 13px;
  font-weight: 600;
}
.sf-card-cart {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
}
.sf-card-cart button {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #A9DDAB;
  border-radius: 8px;
  color: var(--sf-green-dark);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.sf-card-cart button:hover { background: var(--sf-green); color: #fff; border-color: var(--sf-green); }
.sf-card-title {
  margin: 0 0 10px;
  height: 3em;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sf-card-title a { color: var(--sf-ink); }
.sf-card-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  height: 30px;
  overflow: hidden;
  white-space: nowrap;
}
.sf-card-price strong {
  font-size: 20px;
  font-weight: 700;
  color: var(--sf-ink);
}
.sf-card-price del {
  font-size: 13px;
  color: var(--sf-muted);
}
.sf-card-note {
  height: 22px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sf-ink);
  white-space: nowrap;
  overflow: hidden;
}
.sf-card-stars { color: var(--sf-green); font-size: 12px; letter-spacing: 1px; }
.sf-card-muted { color: var(--sf-muted); font-weight: 400; }
.sf-card-note-out { color: var(--sf-badge-text); }

.sf-card-buy {
  margin-top: auto;
  padding-top: 14px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.sf-card-buy form { margin: 0; }
.sf-card:hover .sf-card-buy,
.sf-card:focus-within .sf-card-buy {
  opacity: 1;
  transform: none;
}
.sf-buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--sf-green);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.sf-buy-btn:hover { background: var(--sf-green-dark); }
body.sf a.sf-buy-btn:hover { color: #fff; }
.sf-buy-btn-muted { background: #F2F4F7; color: var(--sf-text); }
body.sf a.sf-buy-btn-muted:hover { background: #E4E7EC; color: var(--sf-ink); }
/* Touch screens have no hover: keep the button visible there. */
@media (hover: none) {
  .sf-card-buy { opacity: 1; transform: none; }
}

/* Card wrappers */
.sf-product-rail .sf-rail-item { flex: 0 0 calc((100% - 40px) / 4.24); min-width: 240px; }
.sf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

/* ---------------------------------------------------------------- Deals strip */
.sf-deals {
  display: flex;
  gap: 10px;
  min-height: 269px;
}
.sf-deals-intro {
  flex: 0 0 315px;
  padding: 26px 20px;
  border: 1px solid var(--sf-border);
  border-radius: 8px;
}
.sf-deals-intro h3 {
  margin: 0 0 18px;
  font-size: 35px;
  font-weight: 700;
  line-height: 1.3;
}
.sf-countdown { display: flex; gap: 12px; }
.sf-countdown > div {
  width: 60px;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--sf-green-deal);
  color: #fff;
}
.sf-countdown b { font-size: 18px; line-height: 1.1; }
.sf-countdown span { font-size: 14px; }
.sf-deals-rail { flex: 1; }
.sf-deal-tile {
  flex: 0 0 214px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 12px 20px;
  border: 1px solid var(--sf-border);
  border-radius: 8px;
  text-align: center;
}
.sf-deal-tile img { width: 150px; height: 160px; object-fit: contain; }
.sf-deal-name { margin-top: 16px; font-size: 16px; color: var(--sf-text); }
.sf-deal-off { margin-top: 12px; font-size: 18px; font-weight: 500; color: var(--sf-ink); }
body.sf .sf-deal-tile:hover .sf-deal-name { color: var(--sf-green); }

/* ------------------------------------------------------------ Promo banners */
.sf-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 235px;
  padding: 24px 56px;
  overflow: hidden;
}
.sf-banner-green {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(255, 255, 255, 0.12), transparent 60%),
    linear-gradient(180deg, #1FA64A 0%, #22A34A 70%, #2FB658 100%);
  color: #fff;
}
.sf-banner-headline {
  display: flex;
  flex-direction: column;
  font-size: 64px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #fff;
}
.sf-banner-headline small {
  margin-top: 8px;
  font-size: 26px;
  letter-spacing: 0;
  text-transform: uppercase;
}
.sf-banner-price {
  display: flex;
  flex-direction: column;
  padding: 16px 26px;
  border-radius: 14px 0 0 14px;
  background: var(--sf-red);
  color: #fff;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}
.sf-banner-price small {
  margin-bottom: 6px;
  font-size: 19px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sf-banner-img {
  height: 200px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.25));
}
.sf-banner-cta {
  margin-left: auto;
  padding: 18px 54px;
  border-radius: 10px;
  background: var(--sf-red);
  color: #fff;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
body.sf .sf-banner-green:hover .sf-banner-cta { background: #c81d30; }
body.sf .sf-banner:hover { color: #fff; }

/* ----------------------------------------------------------------- Trust bar */
.sf-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-block: 96px 80px;
  padding-left: 40px;
}
.sf-trust-item { display: flex; align-items: center; gap: 16px; }
.sf-trust-icon {
  flex: 0 0 86px;
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #EDEDED;
  color: var(--sf-green);
}
.sf-trust h4 { margin: 0 0 6px; font-size: 21px; font-weight: 700; }
.sf-trust p { margin: 0; font-size: 16px; color: var(--sf-text); line-height: 1.6; }

/* ------------------------------------------------------------- Load more */
.sf-all { margin-top: 0; }
.sf-loadmore-wrap { display: flex; justify-content: center; margin: 16px 0 62px; }
.sf-loadmore {
  width: 240px;
  height: 48px;
  border: 0;
  border-radius: 6px;
  background: var(--sf-green);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.sf-loadmore:hover { background: var(--sf-green-dark); }
.sf-loadmore:disabled { opacity: 0.7; cursor: wait; }

/* ------------------------------------------------------------------ Footer */
.sf-footer {
  margin-top: 62px;
  background: #000;
  color: #fff;
}
.sf-all + .sf-footer, main > .sf-all:last-child { margin-bottom: 0; }
.sf-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 48px 38px 40px;
}
.sf-footer-cols { display: flex; gap: 32px 100px; flex-wrap: wrap; }
/* body.sf prefix: the global "body.sf h5" heading colour would otherwise
   win and paint these near-black on the black footer. */
body.sf .sf-footer-col h5 {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.sf-footer-col ul { list-style: none; margin: 0; padding: 0; }
.sf-footer-col li { line-height: 30px; }
body.sf .sf-footer-col a { color: #D0D5DD; font-size: 15px; }
body.sf .sf-footer-col a:hover { color: var(--sf-green); }
.sf-footer-social {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 40px 90px 0 0;
}
.sf-footer-social a { color: #fff; display: inline-flex; }
body.sf .sf-footer-social a:hover { color: var(--sf-green); }
.sf-footer-copy {
  padding: 16px 38px;
  border-top: 1px solid #1d1d1d;
  color: #98A2B3;
  font-size: 14px;
}

/* ------------------------------------------------ Inner pages (re-skin) */
body.sf .featured-header-image { margin-bottom: 24px; }
body.sf .featured-header-image * { color: var(--sf-ink); text-shadow: none; }
body.sf .inner-banner {
  height: auto;
  padding: 36px 16px;
  background: var(--sf-bg-soft) !important;
  border-bottom: 1px solid var(--sf-border);
}
body.sf .inner-banner::before { display: none; }
body.sf .inner-banner h1,
body.sf .inner-banner .entry-title {
  color: var(--sf-ink);
  font-size: 30px;
  font-weight: 700;
}

body.sf .button,
body.sf button.button,
body.sf input.button,
body.sf a.button {
  background: var(--sf-green);
  border: 1px solid var(--sf-green);
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
}
body.sf .button:hover,
body.sf button.button:hover,
body.sf input.button:hover,
body.sf a.button:hover {
  background: var(--sf-green-dark);
  border-color: var(--sf-green-dark);
  color: #fff;
  box-shadow: none;
  transform: none;
}
body.sf .button.disabled,
body.sf .button:disabled,
body.sf span.button.disabled { background: #F2F4F7; border-color: var(--sf-border); color: var(--sf-muted); }

body.sf .form-control:focus,
body.sf .form-select:focus {
  border-color: var(--sf-green);
  box-shadow: 0 0 0 3px rgba(53, 168, 57, 0.15);
}
body.sf .table thead th { background: var(--sf-bg-soft); color: var(--sf-muted); }
body.sf .page-link { color: var(--sf-ink); }
body.sf .page-item.active .page-link { background: var(--sf-green); border-color: var(--sf-green); color: #fff; }
body.sf .widget-area .widget { border-color: var(--sf-border); border-radius: var(--sf-radius); box-shadow: none; }
body.sf .widget-area ul li a { color: var(--sf-text); }
body.sf .widget-area ul li a:hover { color: var(--sf-green); }
body.sf .trending-main-heading { font-size: 24px; font-weight: 500; }
body.sf .trending-product-price ins { color: var(--sf-ink); }

/* ------------------------------------------------------------ Responsive */
@media (max-width: 1399px) {
  .sf-user-links { gap: 18px; }
}

@media (max-width: 1199px) {
  .sf-user-link span:not(.sf-icon-badge-wrap):not(.sf-icon-badge) { display: none; }
  .sf-header-main { gap: 20px; }
  .sf-allcat { flex-basis: 210px; }
  .sf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sf-product-rail .sf-rail-item { flex-basis: calc((100% - 30px) / 3.2); }
  .sf-hero-title { font-size: 52px; }
  .sf-banner { padding: 24px 32px; gap: 24px; }
  .sf-banner-headline { font-size: 48px; }
  .sf-banner-price { font-size: 36px; }
  .sf-banner-cta { padding: 14px 32px; font-size: 22px; }
  .sf-trust { padding-left: 0; }
}

@media (max-width: 991px) {
  .sf-header-main { flex-wrap: wrap; }
  .sf-search { order: 3; flex-basis: 100%; max-width: none; height: 44px; }
  .sf-search button { flex-basis: 96px; }
  .sf-catbar { min-height: 46px; }
  .sf-allcat { flex-basis: auto; }
  .sf-allcat-btn { gap: 10px; padding: 0 14px; }
  .sf-allcat-menu { width: 260px; }
  .sf-catlinks { gap: 22px; padding: 0 16px; }

  .sf-hero-slide { flex-direction: column; align-items: flex-start; padding: 28px 28px 0; min-height: 0; }
  .sf-hero-text { flex-basis: auto; }
  .sf-hero-title { font-size: 40px; }
  .sf-hero-btn { font-size: 18px; padding: 12px 28px; }
  .sf-hero-media { position: static; width: 100%; height: 220px; }


  .sf-deals { flex-direction: column; }
  .sf-deals-intro { flex-basis: auto; }
  .sf-deals-intro h3 { font-size: 26px; }

  .sf-banner { flex-wrap: wrap; justify-content: flex-start; }
  .sf-banner-img { display: none; }
  .sf-banner-cta { margin-left: 0; }

  .sf-trust { grid-template-columns: 1fr; padding-block: 56px 40px; }
  .sf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sf-card-media { height: auto; aspect-ratio: 5 / 4; }
  .sf-product-rail .sf-rail-item { flex-basis: calc((100% - 10px) / 2.2); min-width: 200px; }
  .sf-footer-social { margin: 0; }
}

@media (max-width: 575px) {
  .sf-section { margin-top: 40px; }
  /* Keep the sticky header compact on phones */
  .sf-header { padding-bottom: 6px; }
  .sf-header-main { padding-block: 10px; row-gap: 10px; }
  .sf-logo-mark { font-size: 20px; border-bottom-width: 3px; padding-bottom: 3px; }
  .sf-logo-sub { display: none; }
  .sf-search { height: 44px; }
  .sf-search input { font-size: 15px; padding: 0 12px; }
  .sf-search button { flex-basis: 80px; font-size: 15px; }
  .sf-catbar { min-height: 46px; }
  .sf-catlinks a { font-size: 14px; }
  .sf-user-links { gap: 14px; }
  .sf-user-link .icon { width: 22px; height: 22px; }
  .sf-allcat-btn span { display: none; }
  .sf-hero-title { font-size: 32px; }
  .sf-hero-desc { font-size: 15px; }
  .sf-hero-slide { padding: 22px 20px 0; }
  .sf-hero-media { height: 170px; }
  .sf-sec-title { font-size: 20px; }
  .sf-viewall { font-size: 15px; }
  .sf-cat-tile { flex-basis: 128px; }
  .sf-cat-img { width: 128px; height: 128px; }
  .sf-cat-name { font-size: 15px; margin-top: 10px; }
  .sf-promo-word { font-size: 28px; }
  .sf-card { padding: 10px; }
  .sf-card-media { margin-bottom: 12px; }
  .sf-card-cart button { width: 38px; height: 38px; }
  .sf-card-cart .icon { width: 20px; height: 20px; }
  .sf-card-badge { font-size: 11px; padding: 3px 7px; }
  .sf-card-title { font-size: 13px; }
  .sf-card-price { height: 26px; }
  .sf-card-price strong { font-size: 16px; }
  .sf-card-price del { display: none; }
  .sf-card-note { font-size: 12px; height: 20px; }
  .sf-buy-btn { height: 38px; font-size: 14px; }
  .sf-product-rail .sf-rail-item { min-width: 170px; flex-basis: 46%; }
  .sf-banner { padding: 22px 20px; }
  .sf-banner-headline { font-size: 38px; }
  .sf-banner-headline small { font-size: 18px; }
  .sf-banner-price { font-size: 28px; border-radius: 10px; }
  .sf-banner-cta { font-size: 18px; padding: 12px 26px; }
  .sf-trust h4 { font-size: 18px; }
  .sf-trust-icon { flex-basis: 64px; width: 64px; height: 64px; }
  .sf-footer-inner { padding: 36px 20px; }
  .sf-footer-copy { padding: 14px 20px; }
}

/* ----------------------------------------------------- Confirmation popup */
.sf-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--sf-muted);
  transition: background 0.15s ease, color 0.15s ease;
}
body.sf .sf-remove-btn:hover { background: #FEF3F2; color: #D92D20; }

.sf-confirm .modal-dialog { max-width: 420px; }
.sf-confirm.fade .modal-dialog { transform: scale(0.96); transition: transform 0.2s ease; }
.sf-confirm.show .modal-dialog { transform: none; }
.sf-confirm .modal-content {
  position: relative;
  padding: 28px 24px 24px;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 24px 48px rgba(16, 24, 40, 0.18);
  text-align: center;
}
.modal-backdrop.show { opacity: 0.55; }
.sf-confirm-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--sf-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.sf-confirm-close:hover { background: #F2F4F7; color: var(--sf-ink); }
.sf-confirm-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #FEE4E2;
  color: #D92D20;
  box-shadow: 0 0 0 8px #FEF3F2;
}
.sf-confirm-title { margin: 0 0 6px; font-size: 19px; font-weight: 700; }
.sf-confirm-text { margin: 0 0 18px; font-size: 14px; color: var(--sf-muted); line-height: 1.5; }
.sf-confirm-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  margin-bottom: 22px;
  border: 1px solid var(--sf-border);
  border-radius: 10px;
  background: var(--sf-bg-soft);
  text-align: left;
}
.sf-confirm-item img {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}
.sf-confirm-item div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sf-confirm-item strong {
  font-size: 15px;
  color: var(--sf-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sf-confirm-item span { font-size: 13px; color: var(--sf-muted); }
.sf-confirm-item b { color: var(--sf-text); font-weight: 600; }
.sf-confirm-actions { display: flex; gap: 12px; }
.sf-confirm-actions button {
  flex: 1;
  height: 44px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.sf-confirm-cancel { background: #fff; border: 1px solid #D0D5DD; color: var(--sf-text); }
.sf-confirm-cancel:hover { background: var(--sf-bg-soft); }
.sf-confirm-danger { background: #D92D20; border: 1px solid #D92D20; color: #fff; }
.sf-confirm-danger:hover { background: #B42318; border-color: #B42318; }
.sf-confirm-danger:disabled { opacity: 0.75; cursor: wait; }
.sf-confirm-actions button:focus-visible { outline: 3px solid rgba(53, 168, 57, 0.35); outline-offset: 2px; }

/* ------------------------------------------------- Cart table on phones */
/* Each cart row becomes a stacked card so nothing overflows the screen
   and the remove button stays reachable. */
@media (max-width: 767px) {
  .sf-cart-table { box-shadow: none; background: transparent; }
  .sf-cart-table thead { display: none; }
  .sf-cart-table tbody tr {
    position: relative;
    display: block;
    margin-bottom: 12px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--sf-border);
    border-radius: 10px;
  }
  .sf-cart-table tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: auto !important;
    padding: 8px 0;
    border: 0;
  }
  .sf-cart-table tbody td[data-label]::before {
    content: attr(data-label);
    font-size: 13px;
    color: var(--sf-muted);
  }
  .sf-cart-table td[data-label="Quantity"] input { width: 90px; }
  .sf-cart-table td.sf-cart-product {
    justify-content: flex-start;
    padding: 0 44px 10px 0;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--sf-border);
  }
  .sf-cart-table td.sf-cart-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 0;
  }
}

/* --------------------------------------------------- Sign in / register */
/* Sized to fit one screen: the two panels fill the viewport minus the slim
   copyright bar, and the form is vertically centred in the left panel. */
.sf-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 49px);
  background: #fff;
}
.sf-auth-main {
  display: flex;
  flex-direction: column;
  padding: 24px 48px 28px 64px;
}
.sf-auth-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sf-auth-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sf-green);
  font-size: 15px;
  font-weight: 600;
}
body.sf .sf-auth-back:hover { color: var(--sf-green-dark); }
.sf-auth-form {
  width: 100%;
  max-width: 420px;
  margin: auto;
  padding-block: 28px 8px;
}

.sf-auth-guest-label { margin: 0 0 12px; text-align: center; font-size: 16px; font-weight: 500; color: #1D2939; }
.sf-auth-guest {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  border: 1px solid var(--sf-green);
  border-radius: 8px;
  color: var(--sf-green-dark);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.15s ease;
}
body.sf .sf-auth-guest:hover { background: #F3FBF3; color: var(--sf-green-dark); }
.sf-auth-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 22px;
  color: var(--sf-muted);
  font-size: 13px;
}
.sf-auth-or::before, .sf-auth-or::after { content: ""; flex: 1; height: 1px; background: var(--sf-border); }

.sf-auth-title { margin: 0 0 4px; font-size: 24px; font-weight: 700; color: var(--sf-ink); }
.sf-auth-sub { margin: 0 0 20px; font-size: 14px; color: var(--sf-muted); }
.sf-auth-fields { display: flex; flex-direction: column; gap: 16px; }
.sf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sf-field label { margin: 0; font-size: 14px; font-weight: 500; color: var(--sf-text); }
.sf-field label span { margin-left: 2px; color: #D92D20; }
.sf-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sf-input { position: relative; display: flex; align-items: center; }
.sf-input input,
.sf-input select {
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 46px 0 14px;
  border: 1px solid #D0D5DD;
  border-radius: 8px;
  background: #fff;
  color: var(--sf-ink);
  font-size: 15px;
  outline: none;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sf-input select { padding-right: 12px; }
.sf-input input::placeholder { color: #98A2B3; }
/* Hide Edge/IE's built-in reveal button; we provide our own eye toggle */
.sf-input input::-ms-reveal,
.sf-input input::-ms-clear { display: none; }
.sf-input input:focus,
.sf-input select:focus { border-color: var(--sf-green); box-shadow: 0 0 0 3px rgba(53, 168, 57, 0.14); }
.sf-input-icon {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #98A2B3;
  cursor: help;
}
.sf-input-icon .icon { width: 19px; height: 19px; }
button.sf-input-icon { cursor: pointer; color: #475467; }
button.sf-input-icon:hover { background: #F2F4F7; }
.sf-field-error { margin-top: -6px; color: #D92D20; font-size: 13px; }
.sf-auth-forgot { align-self: flex-end; margin-top: -6px; color: var(--sf-green); font-size: 14px; font-weight: 600; }
body.sf .sf-auth-forgot:hover { color: var(--sf-green-dark); text-decoration: underline; }
.sf-auth-submit {
  height: 44px;
  margin-top: 2px;
  border: 1px solid var(--sf-green);
  border-radius: 8px;
  background: var(--sf-green);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.sf-auth-submit:hover { background: var(--sf-green-dark); }
.sf-auth-submit:disabled {
  background: #F2F4F7;
  border-color: #EAECF0;
  color: #98A2B3;
  font-weight: 500;
  cursor: not-allowed;
}
.sf-auth-switch { margin: 20px 0 0; text-align: center; font-size: 14px; color: var(--sf-text); }
.sf-auth-switch a { color: var(--sf-green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Right panel: solid dark brand panel with a soft green glow (no photo) */
.sf-auth-aside {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 12%, rgba(53, 168, 57, 0.28), transparent 42%),
    radial-gradient(circle at 10% 95%, rgba(53, 168, 57, 0.16), transparent 40%),
    linear-gradient(160deg, #111a14 0%, #0b100d 100%);
  color: #fff;
}
.sf-auth-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.sf-auth-aside-inner { position: relative; width: 100%; max-width: 560px; padding: 40px 56px; }
body.sf .sf-auth-aside h2 { margin: 0 0 8px; color: #fff; font-size: 30px; font-weight: 700; line-height: 1.2; }
.sf-auth-aside-sub { margin: 0 0 26px; font-size: 16px; color: rgba(255, 255, 255, 0.75); }
.sf-benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.sf-benefits li { display: flex; align-items: center; gap: 16px; }
.sf-benefit-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  color: var(--sf-green);
}
.sf-benefit-icon .icon { width: 24px; height: 24px; }
body.sf .sf-benefits h3 { margin: 0 0 2px; color: #fff; font-size: 16px; font-weight: 700; }
.sf-benefits p { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 14px; line-height: 1.45; }
.sf-auth-aside-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
body.sf .sf-auth-aside-link:hover { color: #fff; border-bottom-color: var(--sf-green); }

.sf-footer-slim {
  padding: 14px 16px;
  border-top: 1px solid var(--sf-border);
  background: #fff;
  color: var(--sf-muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 1199px) {
  .sf-auth-main { padding: 24px 32px 28px 40px; }
  .sf-auth-aside-inner { padding: 40px; }
  body.sf .sf-auth-aside h2 { font-size: 26px; }
}
@media (max-width: 991px) {
  .sf-auth { grid-template-columns: 1fr; min-height: 0; }
  .sf-auth-main { padding: 20px 20px 32px; }
  .sf-auth-form { margin: 0 auto; padding-top: 24px; }
  .sf-auth-aside-inner { padding: 36px 24px; margin: 0 auto; }
  body.sf .sf-auth-aside h2 { font-size: 24px; }
}
@media (max-width: 575px) {
  .sf-field-row { grid-template-columns: 1fr; }
  .sf-auth-top .sf-logo-sub { display: none; }
  .sf-auth-title { font-size: 22px; }
}

/* Uploaded logo image (Admin > Store Settings) */
.sf-logo-img { display: block; max-height: 52px; max-width: 220px; width: auto; height: auto; }
@media (max-width: 575px) { .sf-logo-img { max-height: 40px; max-width: 160px; } }

/* Cart / checkout totals with delivery fee */
.sf-cart-totals { min-width: 260px; text-align: right; }
.sf-cart-totals > div { display: flex; justify-content: space-between; gap: 24px; padding: 4px 0; color: var(--sf-text); }
.sf-cart-totals h4 { margin: 8px 0 0; }
.sf-cart-hint { margin: 4px 0 0; font-size: 13px; color: var(--sf-green-dark); }

/* ===================================================== Product page (pdp) */
.sf-pdp { padding-top: 16px; }
.sf-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 14px; color: var(--sf-muted); }
.sf-crumbs a { color: var(--sf-muted); }
body.sf .sf-crumbs a:hover { color: var(--sf-green); }
.sf-crumbs [aria-current] { color: var(--sf-ink); font-weight: 500; }

.sf-pdp-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(300px, 0.95fr);
  gap: 32px;
  align-items: start;
}

/* Gallery */
.sf-pdp-gallery { display: flex; gap: 16px; align-items: flex-start; }
.sf-pdp-thumbs {
  flex: 0 0 96px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 520px;
  overflow-y: auto;
  padding: 2px;
  scrollbar-width: none;
}
.sf-pdp-thumbs::-webkit-scrollbar { display: none; }
.sf-pdp-thumb {
  flex: 0 0 auto;
  width: 92px;
  height: 92px;
  padding: 6px;
  border: 1px solid var(--sf-border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sf-pdp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.sf-pdp-thumb:hover { border-color: #D0D5DD; }
.sf-pdp-thumb.is-active { border-color: #667085; box-shadow: 0 0 0 1px #667085; }
.sf-pdp-stage {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 56px;
  border-radius: 12px;
  outline: none;
}
.sf-pdp-stage:focus-visible { box-shadow: 0 0 0 3px rgba(53, 168, 57, 0.25); }
.sf-pdp-main { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.sf-pdp-badge { top: 8px; right: 8px; }
.sf-pdp-nav {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sf-border);
  border-radius: 50%;
  background: #fff;
  color: var(--sf-text);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.06);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.sf-pdp-nav:hover { border-color: #A9DDAB; color: var(--sf-green-dark); }
.sf-pdp-prev { left: 0; }
.sf-pdp-next { right: 0; }
.sf-pdp-actions { flex: 0 0 56px; display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.sf-pdp-round {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #F2F2F2;
  color: var(--sf-green);
  cursor: pointer;
  transition: background 0.15s ease;
}
.sf-pdp-round:hover { background: var(--sf-green-soft); }

/* Title + info cards */
body.sf .sf-pdp-title { margin: 0; font-size: 24px; font-weight: 500; line-height: 1.3; color: var(--sf-ink); }
.sf-pdp-subtitle { margin: 6px 0 0; font-size: 20px; line-height: 1.6; color: var(--sf-text); font-weight: 500; }
.sf-pdp-rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--sf-muted); }
.sf-pdp-rating strong { color: var(--sf-ink); }
body.sf .sf-pdp-rating:hover { color: var(--sf-green); }
.sf-pdp-sku { margin: 8px 0 0; font-size: 13px; color: var(--sf-muted); }
.sf-pdp-cards { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--sf-border); }
.sf-pdp-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid #CDE9CF;
  border-radius: 10px;
  background: #fff;
}
.sf-pdp-card-icon { flex: 0 0 44px; display: flex; justify-content: center; padding-top: 4px; color: var(--sf-green-dark); }
body.sf .sf-pdp-card h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: var(--sf-green-dark); }
.sf-pdp-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--sf-text); }
.sf-pdp-card .sf-pdp-card-note { margin-top: 6px; font-weight: 600; color: var(--sf-ink); }
.sf-pdp-disclaimer { gap: 10px; align-items: flex-start; }
.sf-pdp-disclaimer-icon { color: #D92D20; padding-top: 2px; }
.sf-pdp-disclaimer strong { color: #D92D20; }

/* Price box */
.sf-buybox {
  position: sticky;
  top: 150px;
  overflow: hidden;
  border: 1px solid #A11C3F;
  border-radius: 12px;
  background: #fff;
}
.sf-buybox-head { padding: 13px 28px; background: #A11C3F; color: #fff; font-size: 22px; font-weight: 600; }
.sf-buybox-body { padding: 24px 22px 26px; }
.sf-buybox-price { font-size: 30px; font-weight: 700; color: var(--sf-ink); line-height: 1.2; }
.sf-buybox-was { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 6px; }
.sf-buybox-was del { color: var(--sf-muted); font-size: 16px; }
.sf-buybox-save { padding: 3px 10px; border-radius: 6px; background: var(--sf-badge-bg); color: var(--sf-badge-text); font-size: 13px; font-weight: 700; }
.sf-buybox-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--sf-border);
  border-bottom: 1px solid var(--sf-border);
  font-size: 15px;
  font-weight: 600;
  color: var(--sf-green-dark);
}
.sf-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(53, 168, 57, 0.15); }
.sf-buybox-stock.is-low { color: #B54708; }
.sf-buybox-stock.is-low .sf-dot { box-shadow: 0 0 0 3px rgba(247, 144, 9, 0.18); }
.sf-buybox-stock.is-out { color: #D92D20; }
.sf-buybox-stock.is-out .sf-dot { box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.15); }
.sf-buybox-form { margin: 0; }
.sf-qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0; }
.sf-qty-row label { margin: 0; font-size: 19px; font-weight: 500; color: var(--sf-text); }
.sf-qty { display: inline-flex; align-items: center; padding: 4px; border: 1px solid var(--sf-border); border-radius: 8px; }
.sf-qty input {
  width: 64px;
  height: 48px;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--sf-ink);
  -moz-appearance: textfield;
  outline: none;
}
.sf-qty input::-webkit-outer-spin-button,
.sf-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sf-qty-btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sf-border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
}
.sf-qty-minus { color: #E5364B; }
.sf-qty-plus { color: var(--sf-green); }
.sf-qty-btn:hover:not(:disabled) { background: var(--sf-bg-soft); }
.sf-qty-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.sf-buybox-cart,
.sf-buybox-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.sf-buybox-cart { margin-bottom: 14px; border: 1px solid var(--sf-green); background: #fff; color: var(--sf-green-dark); }
.sf-buybox-cart:hover { background: #F3FBF3; }
.sf-buybox-buy { border: 1px solid var(--sf-green); background: var(--sf-green); color: #fff; }
.sf-buybox-buy:hover { background: var(--sf-green-dark); border-color: var(--sf-green-dark); }
.sf-buybox-outnote { margin: 18px 0 0; font-size: 15px; color: var(--sf-text); }
.sf-buybox-outnote a { color: var(--sf-green-dark); font-weight: 600; text-decoration: underline; }
.sf-buybox-pay { display: flex; gap: 8px; align-items: flex-start; margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: var(--sf-muted); }
.sf-buybox-pay .icon { flex-shrink: 0; color: var(--sf-green); margin-top: 1px; }

/* Tabs: same width as the gallery + info columns, like the reference */
.sf-pdp-tabs { width: 68%; margin-top: 48px; }
.sf-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 4px; background: #F9FAFB; border-radius: 8px 8px 0 0; }
.sf-tab {
  padding: 16px 18px 14px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--sf-text);
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.sf-tab:hover { color: var(--sf-ink); }
.sf-tab.is-active { color: var(--sf-green); border-bottom-color: var(--sf-green); }
.sf-tab:focus-visible { outline: 3px solid rgba(53, 168, 57, 0.3); outline-offset: -3px; }
.sf-tab-panel { padding-top: 26px; }
body.sf .sf-tab-panel h2 { margin: 0 0 18px; font-size: 28px; font-weight: 600; color: #1D2939; }
.sf-spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--sf-border); }
.sf-spec-table th,
.sf-spec-table td { padding: 11px 12px; border-bottom: 1px solid var(--sf-border); font-size: 17px; vertical-align: top; }
.sf-spec-table tr:nth-child(odd) { background: #F9FAFB; }
.sf-spec-table th { width: 27%; font-weight: 400; color: var(--sf-muted); border-right: 1px solid var(--sf-border); }
.sf-spec-table td { font-weight: 500; color: var(--sf-ink); }
.sf-pdp-desc { font-size: 16px; line-height: 1.75; color: var(--sf-text); }
.sf-pdp-muted { color: var(--sf-muted); }
.sf-review-summary { display: flex; align-items: center; gap: 24px; padding: 20px 24px; border: 1px solid var(--sf-border); border-radius: 12px; }
.sf-review-score { display: flex; flex-direction: column; align-items: center; font-size: 44px; font-weight: 700; line-height: 1; color: var(--sf-ink); }
.sf-review-score small { margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--sf-muted); }
.sf-review-stars { font-size: 20px; }
.sf-review-summary p { margin: 6px 0 0; color: var(--sf-text); }
.sf-ask-box { max-width: 720px; padding: 18px; border: 1px solid var(--sf-border); border-radius: 12px; }
.sf-ask-box .bg-primary { background: var(--sf-green) !important; }
.sf-ask-box .btn-primary { background: var(--sf-green); border-color: var(--sf-green); }
.sf-ask-box .btn-primary:hover { background: var(--sf-green-dark); border-color: var(--sf-green-dark); }
.sf-ask-box a { color: var(--sf-green-dark); font-weight: 600; }

@media (max-width: 1199px) {
  .sf-pdp-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sf-pdp-gallery { grid-column: 1 / -1; }
  .sf-buybox { position: static; }
  .sf-pdp-tabs { width: auto; }
}
@media (max-width: 767px) {
  .sf-pdp-top { grid-template-columns: 1fr; gap: 24px; }
  .sf-pdp-gallery { flex-direction: column-reverse; position: relative; }
  .sf-pdp-thumbs { flex-direction: row; flex-basis: auto; width: 100%; max-height: none; overflow-x: auto; gap: 10px; }
  .sf-pdp-thumb { width: 72px; height: 72px; }
  .sf-pdp-stage { width: 100%; height: 340px; padding: 0 44px; }
  .sf-pdp-nav { width: 38px; height: 38px; margin-top: -19px; }
  .sf-pdp-actions { position: absolute; top: 0; right: 0; flex-direction: row; padding: 0; z-index: 3; }
  .sf-pdp-round { width: 44px; height: 44px; }
  .sf-pdp-badge { right: auto; left: 8px; }
  body.sf .sf-pdp-title { font-size: 21px; }
  .sf-pdp-subtitle { font-size: 17px; }
  .sf-buybox-price { font-size: 26px; }
  .sf-tab { padding: 13px 12px 11px; font-size: 15px; }
  body.sf .sf-tab-panel h2 { font-size: 22px; }
  .sf-spec-table th, .sf-spec-table td { font-size: 15px; }
  .sf-spec-table th { width: 38%; }
}

/* Product page fixes: let the columns shrink (the thumbnail row scrolls
   instead of widening the page on phones) and let the main image fill
   the image area even when the photo file is small. */
.sf-pdp-top > * { min-width: 0; }
.sf-pdp-gallery, .sf-pdp-stage, .sf-pdp-thumbs { min-width: 0; }
.sf-pdp-main { width: 100%; height: 100%; }
@media (max-width: 767px) {
  .sf-pdp-gallery { width: 100%; }
  .sf-pdp-thumbs { max-width: 100%; }
  .sf-pdp-tabs .sf-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sf-pdp-tabs .sf-tabs::-webkit-scrollbar { display: none; }
  .sf-tab { flex-shrink: 0; }
}
/* Main image area follows the photo's shape: tall portrait photos use up to
   520px, wide landscape photos don't leave a large empty gap. */
@media (min-width: 768px) {
  .sf-pdp-stage { height: auto; min-height: 360px; max-height: 520px; }
  .sf-pdp-main { width: 100%; height: auto; max-height: 520px; }
}
/* Arrows sit over the image edges so the photo can use the full width. */
@media (min-width: 768px) {
  .sf-pdp-stage { padding: 0; }
  .sf-pdp-prev { left: 6px; }
  .sf-pdp-next { right: 6px; }
}
/* ---- Product gallery, reference layout (supersedes earlier stage rules):
   fixed-height frame, photo centred with the arrows in the space beside it,
   thumbnail column exactly as tall as the frame and scrollable. */
@media (min-width: 768px) {
  .sf-pdp-stage { height: 520px; min-height: 0; max-height: none; padding: 0 58px; }
  .sf-pdp-main { width: 100%; height: 100%; max-height: none; object-fit: contain; }
  .sf-pdp-prev { left: 0; }
  .sf-pdp-next { right: 0; }
  .sf-pdp-thumbs { height: 520px; max-height: 520px; }
}
.sf-pdp-main { user-select: none; -webkit-user-drag: none; }
.sf-pdp-count {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(16, 24, 40, 0.6);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
@media (max-width: 767px) {
  .sf-pdp-stage { touch-action: pan-y; }
}

/* ---- Sticky tab bar: sticks right under the sticky site header while the
   tabs section is on screen (--sf-header-h is measured by storefront.js). */
.sf-pdp-tabs { scroll-margin-top: var(--sf-header-h, 132px); }
.sf-pdp-tabs .sf-tabs {
  position: sticky;
  top: var(--sf-header-h, 132px);
  z-index: 20;
  background: #F9FAFB;
  transition: box-shadow 0.2s ease, border-radius 0.2s ease;
}
.sf-pdp-tabs .sf-tabs.is-stuck { border-radius: 0 0 8px 8px; box-shadow: 0 8px 16px -8px rgba(16, 24, 40, 0.18); }
.sf-buybox { top: calc(var(--sf-header-h, 132px) + 16px); }
/* ---- Delivery / pick-up / disclaimer cards, reference styling
   (supersedes the earlier .sf-pdp-card rules). */
.sf-pdp-cards { gap: 14px; }
.sf-pdp-card {
  gap: 20px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid #D1E9D6;
  border-radius: 10px;
  background: #F9FAFB;
}
.sf-pdp-card-icon { flex: 0 0 56px; padding-top: 0; color: #074D31; }
.sf-pdp-card-icon .icon { stroke-width: 1.5; }
body.sf .sf-pdp-card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: #067647; }
.sf-pdp-card p { font-size: 16px; line-height: 1.6; color: #344054; }
.sf-pdp-card p b { font-weight: 700; color: #1D2939; }
.sf-pdp-disclaimer { align-items: flex-start; gap: 12px; background: #F6FBF7; }
.sf-pdp-disclaimer-icon { flex: 0 0 auto; padding-top: 3px; color: #D92D20; }
.sf-pdp-disclaimer strong { color: #D92D20; font-weight: 700; }

/* ---- Description: padded, bordered box with a comfortable line length. */
.sf-pdp-desc {
  padding: 22px 26px;
  border: 1px solid var(--sf-border);
  border-radius: 10px;
  background: #fff;
}
.sf-pdp-desc { max-width: 100%; }
.sf-pdp-desc, .sf-pdp-desc * { overflow-wrap: anywhere; }
.sf-review-summary, .sf-ask-box { padding: 22px 26px; }
@media (max-width: 767px) {
  .sf-pdp-card { padding: 16px; gap: 14px; }
  .sf-pdp-card-icon { flex-basis: 44px; }
  .sf-pdp-card-icon .icon { width: 38px; height: 38px; }
  .sf-pdp-desc, .sf-review-summary, .sf-ask-box { padding: 16px 18px; }
}
/* ==== Product gallery v2 (supersedes the earlier gallery rules) ==========
   Measured problem: reserving 58px per side for the arrows left only
   174-239px for square/landscape photos. Now the photo gets the whole frame,
   the arrows sit on the frame edges (they only overlap wide photos, as white
   circles), the share button sits in the frame corner, and the gallery
   column is wider. Small images are never enlarged (no blur). */
@media (min-width: 1200px) {
  .sf-pdp-top { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(300px, 0.95fr); }
}
.sf-pdp-gallery { display: flex; align-items: stretch; gap: 14px; }
.sf-pdp-thumbs {
  flex: 0 0 86px;
  height: auto;
  max-height: none;
  contain: size;            /* doesn't add height: stretches to the frame's height and scrolls */
  overflow-y: auto;
  gap: 10px;
}
.sf-pdp-thumb { width: 82px; height: 82px; }
.sf-pdp-stage {
  flex: 1;
  aspect-ratio: 10 / 11;
  height: auto;
  min-height: 0;
  max-height: 520px;
  padding: 0;
  border: 1px solid var(--sf-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.sf-pdp-zoom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 16px;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.sf-pdp-zoom:focus-visible { outline: 3px solid rgba(53, 168, 57, 0.35); outline-offset: -3px; }
.sf-pdp-main {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
}
.sf-pdp-nav { z-index: 2; width: 42px; height: 42px; margin-top: -21px; background: rgba(255, 255, 255, 0.95); box-shadow: 0 2px 10px rgba(16, 24, 40, 0.12); }
.sf-pdp-prev { left: 10px; }
.sf-pdp-next { right: 10px; }
.sf-pdp-share { position: absolute; top: 10px; right: 10px; z-index: 3; width: 44px; height: 44px; }
.sf-pdp-badge { top: 12px; left: 12px; right: auto; z-index: 3; }
.sf-pdp-count { z-index: 2; }
.sf-pdp-actions { display: none; }

@media (max-width: 1199px) {
  .sf-pdp-gallery { max-width: 720px; }
}
@media (max-width: 767px) {
  .sf-pdp-gallery { flex-direction: column-reverse; max-width: none; }
  .sf-pdp-thumbs { contain: none; flex: 0 0 auto; flex-direction: row; overflow-x: auto; overflow-y: hidden; }
  .sf-pdp-thumb { width: 68px; height: 68px; }
  /* Fixed square frame on phones: swiping between photos of different
     shapes no longer makes the page jump. */
  .sf-pdp-stage { width: 100%; aspect-ratio: 1 / 1; max-height: 70vh; height: auto; }
  .sf-pdp-zoom { padding: 10px; }
  .sf-pdp-nav { width: 36px; height: 36px; margin-top: -18px; }
  .sf-pdp-share { width: 40px; height: 40px; }
}

/* Full-screen image viewer */
body.sf-viewer-lock { overflow: hidden; }
.sf-viewer {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 72px;
  background: rgba(10, 12, 11, 0.92);
  opacity: 0;
  transition: opacity 0.18s ease;
}
.sf-viewer.is-open { opacity: 1; }
.sf-viewer-img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border-radius: 8px; user-select: none; }
.sf-viewer-close,
.sf-viewer-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
}
.sf-viewer-close:hover, .sf-viewer-nav:hover { background: rgba(255, 255, 255, 0.28); }
.sf-viewer-close:focus-visible, .sf-viewer-nav:focus-visible { outline: 3px solid #35A839; outline-offset: 2px; }
.sf-viewer-close { top: 14px; right: 14px; width: 44px; height: 44px; font-size: 30px; line-height: 1; }
.sf-viewer-nav { top: 50%; width: 52px; height: 52px; margin-top: -26px; font-size: 38px; line-height: 1; padding-bottom: 4px; }
.sf-viewer-prev { left: 12px; }
.sf-viewer-next { right: 12px; }
.sf-viewer-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.85); font-size: 14px; font-weight: 600; }
@media (max-width: 767px) {
  .sf-viewer { padding: 60px 8px; }
  .sf-viewer-nav { width: 40px; height: 40px; margin-top: -20px; font-size: 30px; background: rgba(255, 255, 255, 0.18); }
  .sf-viewer-prev { left: 6px; }
  .sf-viewer-next { right: 6px; }
}

/* ---- Rail scroll arrows (product rows, category tiles, deals strip).
   Soft grey translucent circles with a thin white chevron, shown on hover
   and only in a direction there is more to scroll. */
.sf-rail-wrap { position: relative; }
.sf-rail-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 24, 40, 0.24);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, background 0.15s ease, visibility 0.18s;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.sf-rail-btn:hover { background: rgba(16, 24, 40, 0.42); }
.sf-rail-btn:focus-visible { outline: 3px solid rgba(53, 168, 57, 0.5); outline-offset: 2px; }
.sf-rail-prev { left: 0; }
.sf-rail-next { right: 0; }
/* line the arrows up with the middle of the product photos / tiles */
.sf-rail-wrap.is-products .sf-rail-btn { top: 139px; }
.sf-rail-wrap.is-categories .sf-rail-btn { top: 96px; }
.sf-rail-wrap.can-prev:hover .sf-rail-prev,
.sf-rail-wrap.can-next:hover .sf-rail-next,
.sf-rail-wrap.can-prev:focus-within .sf-rail-prev,
.sf-rail-wrap.can-next:focus-within .sf-rail-next { opacity: 1; visibility: visible; }
/* touch screens: swipe instead */
@media (hover: none) {
  .sf-rail-btn { display: none; }
}
@media (max-width: 575px) {
  .sf-rail-wrap.is-categories .sf-rail-btn { top: 64px; }
}

/* ================================================ Category / search listing */
.sf-listing { padding-top: 32px; }
.sf-listing-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
body.sf .sf-listing-title { margin: 0; font-size: 28px; font-weight: 700; color: var(--sf-ink); }
.sf-sort { display: flex; align-items: center; gap: 12px; margin: 0; }
.sf-sort label { margin: 0; font-size: 17px; color: #475467; white-space: nowrap; }
.sf-sort select {
  width: 240px;
  height: 52px;
  padding: 0 44px 0 16px;
  border: 1px solid #D0D5DD;
  border-radius: 6px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23344054' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--sf-ink);
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.sf-sort select:focus { outline: none; border-color: var(--sf-green); box-shadow: 0 0 0 3px rgba(53, 168, 57, 0.15); }

.sf-listing-body { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }

/* Filter column: sticks under the site header while the results scroll */
.sf-filters {
  position: sticky;
  top: calc(var(--sf-header-h, 132px) + 16px);
  max-height: calc(100vh - var(--sf-header-h, 132px) - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding-right: 4px;
}
.sf-filters.is-loading { opacity: 0.6; pointer-events: none; }
.sf-filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sf-filters-title { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--sf-ink); }
.sf-filters-title .icon { color: var(--sf-green); }
.sf-filters-close { display: none; }
.sf-filters-form { margin: 0; border-top: 1px solid var(--sf-border); }
.sf-filter { border-bottom: 1px solid var(--sf-border); }
.sf-filter summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 12px;
  font-size: 17px;
  font-weight: 500;
  color: var(--sf-ink);
  cursor: pointer;
  list-style: none;
}
.sf-filter summary::-webkit-details-marker { display: none; }
.sf-filter summary .icon { transition: transform 0.2s ease; color: var(--sf-ink); }
.sf-filter[open] summary .icon { transform: rotate(180deg); }
.sf-filter summary:hover { color: var(--sf-green-dark); }
.sf-filter summary:focus-visible { outline: 3px solid rgba(53, 168, 57, 0.3); outline-offset: -3px; }
.sf-filter-body { padding: 0 12px 18px; }
.sf-filter-options { display: flex; flex-direction: column; gap: 2px; }
.sf-option { display: flex; align-items: center; gap: 10px; margin: 0; padding: 7px 0; font-size: 15px; color: var(--sf-text); cursor: pointer; }
.sf-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--sf-green); cursor: pointer; flex-shrink: 0; }
.sf-option span:first-of-type { flex: 1 1 auto; }
.sf-option .sf-card-stars { flex: 0 0 auto; }
.sf-option em { font-style: normal; font-size: 13px; color: var(--sf-muted); background: #F2F4F7; border-radius: 999px; padding: 1px 8px; }
.sf-option:hover { color: var(--sf-green-dark); }
.sf-price-row { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 12px; }
.sf-price-row label { flex: 1; margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--sf-muted); }
.sf-price-row input { width: 100%; height: 40px; padding: 0 10px; border: 1px solid #D0D5DD; border-radius: 6px; font-size: 15px; color: var(--sf-ink); }
.sf-price-row input:focus { outline: none; border-color: var(--sf-green); box-shadow: 0 0 0 3px rgba(53, 168, 57, 0.15); }
.sf-price-dash { padding-bottom: 10px; color: var(--sf-muted); }
.sf-filter-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--sf-green);
  border-radius: 6px;
  background: var(--sf-green);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.sf-filter-apply:hover { background: var(--sf-green-dark); }
body.sf a.sf-filter-apply:hover { color: #fff; }
.sf-filters-clear { display: inline-block; margin: 16px 12px 4px; font-size: 14px; font-weight: 600; color: #D92D20; }
body.sf .sf-filters-clear:hover { color: #B42318; text-decoration: underline; }

/* Results */
.sf-results-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sf-results-count { margin: 0; font-size: 16px; color: #475467; }
.sf-results-head .sf-sec-bar { margin-top: 8px; margin-left: 6px; }
.sf-filters-open {
  display: none;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #D0D5DD;
  border-radius: 6px;
  background: #fff;
  color: var(--sf-ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.sf-filters-open .icon { color: var(--sf-green); }
.sf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.sf-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #EAF6EA; color: #1E5F21; font-size: 13px; font-weight: 600; }
.sf-chip span { font-size: 16px; line-height: 1; }
body.sf .sf-chip:hover { background: #D5EFD6; color: #1E5F21; }
.sf-grid.sf-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sf-empty { padding: 56px 24px; border: 1px dashed #D0D5DD; border-radius: 12px; text-align: center; }
body.sf .sf-empty h2 { margin: 0 0 8px; font-size: 22px; }
.sf-empty p { margin: 0 0 18px; color: var(--sf-muted); }

/* Pagination: |< < 1 2 3 4 5 … 38 > >| */
.sf-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; margin: 44px 0 12px; }
.sf-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  color: var(--sf-ink);
  font-size: 16px;
  font-weight: 500;
}
.sf-page-box { border: 1px solid #D0D5DD; border-radius: 2px; background: #fff; }
body.sf .sf-page-box:hover { border-color: var(--sf-green); color: var(--sf-green-dark); }
.sf-page-box.is-active { background: #EAF6EA; border-color: #A9DDAB; color: var(--sf-green); }
.sf-page.is-disabled { color: #98A2B3; pointer-events: none; }
.sf-page-box.is-disabled { border-color: var(--sf-border); }
.sf-page-gap { min-width: 40px; text-align: center; color: var(--sf-ink); }

@media (max-width: 1199px) {
  .sf-listing-body { grid-template-columns: 260px minmax(0, 1fr); gap: 24px; }
  .sf-grid.sf-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .sf-listing-body { grid-template-columns: 1fr; }
  .sf-filters-open { display: inline-flex; }
  /* Filters become a slide-in panel */
  .sf-filters {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 2100;
    width: min(340px, 88vw);
    max-height: none;
    padding: 18px 16px 24px;
    background: #fff;
    box-shadow: 16px 0 40px rgba(16, 24, 40, 0.18);
    transform: translateX(-105%);
    transition: transform 0.25s ease;
  }
  .sf-filters.is-open { transform: none; }
  .sf-filters-close { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: #F2F4F7; color: var(--sf-ink); font-size: 26px; line-height: 1; cursor: pointer; }
  .sf-filters-backdrop { position: fixed; inset: 0; z-index: 2090; background: rgba(16, 24, 40, 0.45); }
}
@media (max-width: 575px) {
  .sf-listing { padding-top: 20px; }
  body.sf .sf-listing-title { font-size: 22px; flex-basis: 100%; }
  .sf-sort { width: 100%; }
  .sf-sort select { flex: 1; width: auto; height: 44px; }
  .sf-sort label { font-size: 15px; }
  .sf-grid.sf-grid-3 { gap: 12px; }
  .sf-page { min-width: 36px; height: 36px; font-size: 15px; }
}
@media (min-width: 992px) {
  .sf-filters-backdrop { display: none !important; }
}
