/*
Theme Name: Sparfuchs Affiliate Light
Theme URI: https://sparfuchs365.com/
Author: Codex
Description: Fast affiliate theme for WooCommerce products, deals and blog content.
Version: 1.0.41
Text Domain: sparfuchs-affiliate-light
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
*/

:root {
  --sf-bg: #f4f7f8;
  --sf-surface: #ffffff;
  --sf-text: #141c24;
  --sf-muted: #657382;
  --sf-line: #dde3ea;
  --sf-brand: #0077b6;
  --sf-brand-strong: #005f93;
  --sf-accent: #138a43;
  --sf-warm: #ffb703;
  --sf-ink: #0e202d;
  --sf-shadow: 0 14px 36px rgba(20, 33, 44, 0.1);
  --sf-radius: 8px;
  --sf-wrap: 1180px;
  --sf-header-wrap: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sf-bg);
  color: var(--sf-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

a { color: var(--sf-brand); text-decoration: none; }
a:hover { color: var(--sf-brand-strong); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

.sf-wrap {
  width: min(var(--sf-wrap), calc(100% - 32px));
  margin: 0 auto;
}
.sf-header .sf-wrap {
  width: min(var(--sf-header-wrap), calc(100% - 32px));
}

.sf-skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  padding: 8px 12px;
  z-index: 1000;
}
.sf-skip:focus { left: 8px; }

.sf-topbar {
  background: var(--sf-ink);
  color: #e8f3fb;
  font-size: 14px;
}
.sf-topbar .sf-wrap {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sf-topbar a { color: #fff; }

.sf-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--sf-line);
  backdrop-filter: blur(10px);
}
.sf-header__inner {
  min-height: 154px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 16px 0 18px;
}
.sf-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.sf-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--sf-text);
  font-weight: 800;
  font-size: 22px;
  flex: 0 0 320px;
  width: 320px;
  min-height: 90px;
}
.sf-brand__mark {
  width: 38px;
  height: 38px;
  border-radius: var(--sf-radius);
  display: grid;
  place-items: center;
  background: var(--sf-brand);
  color: #fff;
  font-weight: 900;
}
.sf-brand__logo {
  display: block;
  width: min(320px, 100%);
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
}
.sf-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  flex-wrap: wrap;
  overflow: visible;
}
.sf-nav {
  min-width: 0;
  padding: 10px 12px;
  background: #f6fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
}
.sf-nav__item {
  position: relative;
  flex: 0 0 auto;
}
.sf-nav a,
.sf-nav__toggle {
  display: block;
  color: var(--sf-text);
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 750;
  font-size: 15px;
  line-height: 1.15;
  white-space: nowrap;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.sf-nav a:hover,
.sf-nav__toggle:hover,
.sf-nav__item.is-open > .sf-nav__toggle,
.sf-nav .current-menu-item > a,
.sf-nav .current_page_item > a {
  background: #eaf5fb;
  color: var(--sf-brand-strong);
}
.sf-nav__toggle::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.sf-submenu {
  position: fixed;
  left: 50%;
  top: 154px;
  z-index: 100;
  width: min(760px, calc(100vw - 32px));
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  box-shadow: 0 18px 48px rgba(14, 32, 45, 0.18);
  transform: translateX(-50%);
}
.sf-nav__item.is-open .sf-submenu {
  display: grid;
}
.sf-submenu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  background: #f7fafc;
  border: 1px solid #e5edf2;
}
.sf-submenu a:hover {
  background: #eaf5fb;
}
.sf-submenu small {
  color: var(--sf-muted);
  font-weight: 750;
}
.sf-submenu__all {
  grid-column: 1 / -1;
  background: var(--sf-ink) !important;
  color: #fff !important;
}

.sf-search form {
  display: flex;
  align-items: center;
  width: min(340px, 100%);
  background: #eef3f7;
  border: 1px solid #d8e2ea;
  border-radius: 999px;
  overflow: hidden;
}
.sf-search { flex: 0 0 360px; }
.sf-search input[type="search"] {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  outline: 0;
}
.sf-search button {
  border: 0;
  background: var(--sf-brand);
  color: #fff;
  min-width: 42px;
  align-self: stretch;
  cursor: pointer;
}

.sf-main { padding: 28px 0 42px; }

@media (min-width: 981px) {
  .sf-topbar .sf-wrap {
    min-height: 28px;
    font-size: 13px;
  }
  .sf-header__inner {
    min-height: 68px;
    display: grid;
    grid-template-columns: 156px 250px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 8px 0;
  }
  .sf-header__top {
    display: contents;
  }
  .sf-brand {
    flex: none;
    width: 156px;
    min-height: 0;
  }
  .sf-brand__logo {
    width: 156px;
    max-height: 46px;
    object-fit: contain;
  }
  .sf-search {
    flex: none;
    width: 250px;
    min-width: 0;
    grid-column: 2;
  }
  .sf-search form {
    width: 100%;
    min-height: 38px;
    height: 38px;
  }
  .sf-search input[type="search"] {
    padding: 8px 12px;
    font-size: 14px;
  }
  .sf-search button {
    min-width: 40px;
  }
  .sf-nav {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    min-width: 0;
    grid-column: 3;
  }
  .sf-nav ul {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow: visible;
    gap: 1px;
  }
  .sf-nav a,
  .sf-nav__toggle {
    padding: 7px 7px;
    font-size: 15px;
    line-height: 1.05;
    border-radius: 6px;
  }
  .sf-nav__toggle::after {
    width: 6px;
    height: 6px;
    margin-left: 5px;
  }
  .sf-submenu {
    top: 98px;
  }
}
.sf-hero {
  background:
    linear-gradient(115deg, rgba(14, 32, 45, 0.95), rgba(10, 49, 72, 0.9)),
    radial-gradient(circle at 82% 20%, rgba(255, 183, 3, 0.2), transparent 34%),
    linear-gradient(90deg, #0e202d, #0b4567);
  color: #fff;
  overflow: hidden;
}
.sf-hero .sf-wrap {
  min-height: 398px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 480px);
  gap: 42px;
  align-items: center;
  padding: 52px 0;
}
.sf-hero__copy {
  position: relative;
}
.sf-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 16px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff4ce;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
}
.sf-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.06;
  letter-spacing: 0;
  max-width: 820px;
}
.sf-hero p {
  max-width: 680px;
  margin: 0 0 24px;
  color: #dcecf5;
  font-size: 18px;
}
.sf-hero__panel {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--sf-radius);
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}
.sf-hero__panel strong { display: block; font-size: 18px; margin-bottom: 8px; }
.sf-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.sf-stat {
  background: rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  padding: 12px;
}
.sf-stat b { display: block; font-size: 22px; }
.sf-stat span { color: #dcecf5; font-size: 13px; }

.sf-button,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--sf-brand);
  color: #fff !important;
  padding: 11px 18px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none;
}
.sf-button:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--sf-brand-strong);
  color: #fff !important;
}
.sf-button--warm { background: var(--sf-warm); color: #1b2832 !important; }
.sf-button--warm:hover { background: #ffcb3d; color: #1b2832 !important; }

.sf-section { margin-top: 34px; }
.sf-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.sf-section__head h2,
.sf-page-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: 0;
}
.sf-section__head p { margin: 6px 0 0; color: var(--sf-muted); }

.sf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.sf-grid--posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sf-card {
  background: var(--sf-surface);
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  overflow: hidden;
  box-shadow: var(--sf-shadow);
}
.sf-card__media {
  aspect-ratio: 1 / 1;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.sf-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  transform: scale(var(--sf-img-scale, 1));
  transform-origin: center;
}
.sf-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 22px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(0, 119, 182, 0.12), rgba(255, 183, 3, 0.16)),
    #f7fafc;
  color: var(--sf-text);
}
.sf-card__placeholder b {
  font-size: 15px;
}
.sf-card__placeholder small {
  max-width: 28ch;
  color: var(--sf-muted);
  font-weight: 750;
  line-height: 1.35;
}
.sf-card__body { padding: 14px; }
.sf-card h3 {
  margin: 0 0 10px;
  color: var(--sf-text);
  font-size: 16px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 64px;
}
.sf-card h3 a { color: inherit; }
.sf-card__meta {
  color: var(--sf-muted);
  font-size: 13px;
  margin-bottom: 9px;
}
.sf-price {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 12px;
  row-gap: 3px;
  color: var(--sf-accent);
  font-size: 18px;
  font-weight: 850;
  margin: 8px 0 12px;
}
.woocommerce ul.products li.product .price,
.woocommerce .products .product .price,
.sf-card .price {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: end !important;
  column-gap: 12px !important;
  row-gap: 3px !important;
  color: var(--sf-accent) !important;
  font-size: 18px !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  margin: 8px 0 12px !important;
}
.sf-product-card .sf-price {
  min-height: 28px;
}
.sf-price del,
.woocommerce ul.products li.product .price del,
.woocommerce .products .product .price del,
.sf-card .price del {
  grid-column: 1;
  color: rgba(83, 100, 113, 0.72);
  font-size: 13px;
  font-weight: 650;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  line-height: 1.1;
}
.sf-price del .amount,
.woocommerce ul.products li.product .price del .amount,
.woocommerce .products .product .price del .amount,
.sf-card .price del .amount {
  color: rgba(83, 100, 113, 0.72) !important;
  font-size: inherit !important;
}
.sf-price ins,
.woocommerce ul.products li.product .price ins,
.woocommerce .products .product .price ins,
.sf-card .price ins {
  grid-column: 1;
  text-decoration: none;
  line-height: 1.15;
}
.sf-price ins .amount,
.sf-price > .amount,
.woocommerce ul.products li.product .price ins .amount,
.woocommerce .products .product .price ins .amount,
.woocommerce ul.products li.product .price > .amount,
.woocommerce .products .product .price > .amount,
.sf-card .price ins .amount,
.sf-card .price > .amount {
  color: var(--sf-accent) !important;
}
.sf-price > .amount,
.woocommerce ul.products li.product .price > .amount,
.woocommerce .products .product .price > .amount,
.sf-card .price > .amount {
  grid-column: 1;
  line-height: 1.15;
}
.sf-discount-badge {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  margin-left: 0;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  color: #0f766e !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
  box-shadow: none;
  white-space: nowrap;
}
.sf-discount-badge span {
  margin-right: 3px;
  font-size: 10px;
  line-height: 1;
}
.woocommerce div.product .summary > .sf-discount-badge {
  margin: 4px 0 10px;
  min-height: 25px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
}
.sf-amazon-badges,
.sf-amazon-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 6px 0 8px;
}
.sf-amazon-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 8px;
  border-radius: 5px;
  background: #111827;
  color: #fff !important;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}
.sf-amazon-badge--best { background: #f59e0b; color: #111827 !important; }
.sf-amazon-badge--choice { background: #111827; }
.sf-amazon-badge--deal { background: #d71920; }
.sf-amazon-rating {
  color: #475569;
  font-size: 13px;
  font-weight: 750;
}
.sf-amazon-rating__stars {
  color: #ff9900;
  letter-spacing: 1px;
}
.sf-amazon-rating__bought {
  color: #111827;
}
.woocommerce div.product .summary > .sf-amazon-badges {
  margin-top: 4px;
}
.woocommerce div.product .summary > .sf-amazon-badges .sf-amazon-badge {
  min-height: 29px;
  padding: 6px 10px;
  font-size: 13px;
}
.woocommerce div.product .summary > .sf-amazon-rating {
  font-size: 15px;
  margin-bottom: 10px;
}
.sf-clean-price + .sf-discount-badge,
.sf-price .sf-discount-badge {
  margin-top: 2px;
}
.sf-clean-price,
.sf-clean-price .amount {
  display: inline-block;
  color: var(--sf-accent) !important;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 900;
}
.sf-card .sf-button { width: 100%; padding: 10px 12px; }

.sf-cat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.sf-cat {
  background: var(--sf-surface);
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  padding: 14px;
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--sf-text);
  box-shadow: 0 8px 24px rgba(20, 33, 44, 0.06);
}
.sf-cat:hover {
  border-color: #a9cfe5;
  color: var(--sf-brand-strong);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(20, 33, 44, 0.1);
}
.sf-cat em {
  color: var(--sf-brand-strong);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}
.sf-cat strong { line-height: 1.25; font-size: 17px; }
.sf-cat span { color: var(--sf-muted); font-size: 13px; }

.sf-content {
  background: var(--sf-surface);
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  padding: clamp(18px, 3vw, 34px);
  box-shadow: var(--sf-shadow);
}
.sf-content h1:first-child,
.sf-content h2:first-child { margin-top: 0; }

.sf-blog-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}
.sf-blog-cats a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--sf-line);
  border-radius: 999px;
  background: var(--sf-surface);
  color: var(--sf-text);
  font-weight: 750;
  font-size: 14px;
}
.sf-blog-cats a:hover,
.sf-blog-cats a.is-active {
  background: var(--sf-brand);
  border-color: var(--sf-brand);
  color: #fff;
}
.sf-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--sf-line);
}
.sf-share strong {
  margin-right: 2px;
}
.sf-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 38px;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--sf-line);
  background: #fff;
  color: var(--sf-text);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 26px rgba(13, 31, 43, 0.08);
}
.sf-share__btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex: 0 0 auto;
}
.sf-share__btn:hover {
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
}
.sf-share__btn--facebook { color: #1877f2; }
.sf-share__btn--twitter { color: #111827; }
.sf-share__btn--pinterest { color: #e60023; }
.sf-share__btn--facebook:hover { background: #1877f2; }
.sf-share__btn--twitter:hover { background: #111827; }
.sf-share__btn--pinterest:hover { background: #e60023; }
.sf-share--compact {
  margin-top: 14px;
  padding-top: 12px;
  gap: 8px;
}
.sf-share--compact .sf-share__btn {
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(13, 31, 43, 0.14);
}
.sf-share--compact .sf-share__btn svg {
  width: 16px;
  height: 16px;
}
.sf-share--compact .sf-share__btn--facebook { background: #1877f2; }
.sf-share--compact .sf-share__btn--twitter { background: #111827; }
.sf-share--compact .sf-share__btn--pinterest { background: #e60023; }
.sf-share--compact .sf-share__btn:hover {
  filter: brightness(0.94);
}
.sf-directory {
  display: grid;
  gap: 18px;
}
.sf-directory > p {
  margin: 0;
  color: var(--sf-muted);
}
.sf-directory__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.sf-directory__grid a {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  background: #fff;
  color: var(--sf-text);
}
.sf-directory__grid a:hover {
  border-color: var(--sf-brand);
}
.sf-directory__grid strong {
  font-size: 14px;
  line-height: 1.3;
}
.sf-directory__grid span {
  color: var(--sf-muted);
  font-size: 12px;
}
.sf-directory__grid em {
  color: var(--sf-accent);
  font-style: normal;
  font-weight: 850;
}
.sf-pagination ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
}
.sf-pagination a,
.sf-pagination span {
  display: inline-flex;
  min-width: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sf-line);
  border-radius: 6px;
  background: #fff;
  color: var(--sf-text);
  font-weight: 800;
}
.sf-pagination .current {
  background: var(--sf-brand);
  border-color: var(--sf-brand);
  color: #fff;
}
.sf-review-entry__empty {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: var(--sf-surface);
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  color: var(--sf-text);
  box-shadow: var(--sf-shadow);
}
.sf-review-entry__empty span {
  color: var(--sf-muted);
}

.sf-loop {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.sf-post-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  background: var(--sf-surface);
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  padding: 14px;
}
.sf-post-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}
.sf-post-row h2 { margin: 0 0 8px; font-size: 24px; line-height: 1.2; }
.sf-post-row p { margin: 0; color: var(--sf-muted); }

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { margin-bottom: 18px; }
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  background: var(--sf-surface);
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  padding: 14px !important;
  box-shadow: var(--sf-shadow);
}
.woocommerce ul.products li.product a img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: 6px;
  padding: 4px;
  margin: 0 0 12px !important;
  transform: none;
  transform-origin: center;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--sf-text);
  font-size: 16px;
  line-height: 1.35;
  padding: 0;
}
.woocommerce ul.products li.product .price { color: var(--sf-accent); font-weight: 850; }

.woocommerce div.product {
  background: var(--sf-surface);
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  padding: clamp(16px, 3vw, 30px);
  box-shadow: var(--sf-shadow);
}
.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(360px, 48%) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.woocommerce div.product div.images {
  grid-column: 1;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  overflow: hidden;
  background: #fff;
  border-radius: var(--sf-radius);
}
.woocommerce div.product div.summary {
  grid-column: 2;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related {
  grid-column: 1 / -1;
}
.woocommerce div.product .product_title { font-size: clamp(26px, 4vw, 42px); line-height: 1.12; }
.woocommerce div.product .product_title {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  max-width: 860px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product .price,
.WooZone-price-info {
  color: transparent !important;
  font-size: 0 !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  margin: 12px 0 18px !important;
}
.WooZone-price-info { display: block !important; }
.WooZone-price-info del,
.WooZone-price-info a,
.WooZone-price-info .screen-reader-text {
  display: none !important;
}
[class*="WooZone"]:not(.WooZone-price-info):not(.woocommerce-Price-amount),
[id*="WooZone"],
[class*="cross-sell"],
[id*="cross-sell"],
[class*="CrossSell"],
[id*="CrossSell"] {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
}
.WooZone-country-check,
.WooZone-country-cached,
.WooZone-country-affid,
.WooZone-country-loader,
.WooZone-cross-sell-loader,
.WooZone-product-data,
.WooZone-country-selector,
.WooZone-country-check-loader,
.WooZone-no-aws-advertise,
.WooZone-amazon-disclaimer,
.WooZone-disclaimer,
.main-cross-sell,
.cross-sells,
.upsells.products,
.woocommerce div.product .related.products,
.woocommerce span.onsale,
.woocommerce div.product span.onsale,
.sf-product-card .onsale,
.WooZone-cart-checkout,
.WooZone-cart-msg,
.WooZone-cc_status,
#WooZone-cc-template {
  display: none !important;
}
.woocommerce div.product .WooZone-price-info .amount,
.woocommerce div.product p.price .amount,
.woocommerce div.product span.price .amount {
  display: inline-block;
  color: var(--sf-accent) !important;
  font-size: 32px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  font-style: normal !important;
  margin: 0 4px;
}
.woocommerce div.product .WooZone-price-info a {
  display: none !important;
}
.sf-amazon-price-notice {
  max-width: 680px;
  margin: 10px 0 16px;
  padding: 10px 12px;
  border-left: 3px solid var(--sf-warm);
  border-radius: 0 6px 6px 0;
  background: #fff8e6;
  color: #5f4b18;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}
.sf-primary-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 12px 0 14px;
}
.sf-primary-cta .sf-button {
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 16px;
}
.sf-primary-cta span {
  color: var(--sf-muted);
  font-size: 13px;
  font-weight: 700;
}
.sf-button--amazon {
  background: var(--sf-brand);
  color: #fff !important;
}
.sf-button--amazon:hover {
  background: var(--sf-brand-strong);
}
.sf-buy-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 18px;
}
.sf-buy-reasons span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid #d9eadf;
  border-radius: 999px;
  background: #f3fbf5;
  color: #174f2c;
  font-size: 13px;
  font-weight: 800;
}
.sfal-seo-block,
.sfal-blog-links {
  margin: 24px 0 0;
  padding: 18px;
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  background: #f8fbfd;
}
.sfal-seo-block h2,
.sfal-blog-links h2 {
  margin-top: 0;
  font-size: 22px;
}
.sfal-seo-block h3 {
  font-size: 18px;
}
.sfal-seo-block ul {
  margin-bottom: 12px;
}
.sfal-seo-links,
.sfal-blog-links div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.sfal-seo-links a,
.sfal-blog-links a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--sf-line);
  border-radius: 999px;
  background: #fff;
  color: var(--sf-text);
  font-weight: 800;
  font-size: 13px;
}
.sfal-seo-links a:hover,
.sfal-blog-links a:hover {
  border-color: var(--sf-brand);
  color: var(--sf-brand);
}
.woocommerce div.product div.images img { border-radius: var(--sf-radius); background: #fff; }
.woocommerce div.product div.images img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 680px;
  object-fit: contain;
  object-position: center;
  transform: none;
  transform-origin: center;
  margin: 0 auto;
  image-rendering: auto;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { display: none !important; }
.woocommerce div.product div.images .flex-control-thumbs {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0 !important;
  padding: 0 !important;
}
.woocommerce div.product div.images .flex-control-thumbs li {
  width: 64px !important;
  margin: 0 !important;
  list-style: none;
}
.woocommerce div.product div.images .flex-control-thumbs img {
  width: 64px !important;
  height: 64px !important;
  max-height: 64px !important;
  object-fit: contain !important;
  padding: 4px;
  border: 1px solid var(--sf-line);
  border-radius: 6px;
  background: #fff;
  opacity: .72;
}
.woocommerce div.product div.images .flex-control-thumbs img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs img:hover {
  border-color: var(--sf-brand);
  opacity: 1;
}
.woocommerce-tabs { margin-top: 28px; }

.sf-mobile-zoom {
  display: none;
}

.sf-compare-products {
  grid-column: 1 / -1;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--sf-line);
}
.sf-product-links {
  margin: 22px 0;
  padding: 16px;
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  background: #f8fbfd;
}
.sf-product-links h2 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.2;
}
.sf-product-links__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.sf-product-links strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--sf-muted);
  text-transform: uppercase;
}
.sf-product-links__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sf-product-links__chips a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid #d7e5ee;
  background: #fff;
  color: var(--sf-text);
  font-size: 14px;
  font-weight: 750;
}
.sf-product-links__chips a:hover {
  border-color: var(--sf-brand);
  background: #eaf5fb;
  color: var(--sf-brand-strong);
}
.sf-product-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 18px;
}
.sf-product-status span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eef8f1;
  color: #174f2c;
  font-size: 14px;
  font-weight: 750;
}
.sf-product-status strong {
  margin-left: 4px;
}
.sf-product-status .amount {
  color: #174f2c !important;
}
.sf-product-review-summary {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  background: #fff;
}
.sf-product-review-summary h2 {
  margin: 0 0 8px;
  font-size: 22px;
}
.sf-product-review-summary p {
  margin: 0 0 10px;
  color: var(--sf-muted);
}
.sf-product-review-summary blockquote {
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid var(--sf-brand);
  color: var(--sf-text);
}
.sf-product-index-context {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding: 18px;
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-radius);
  background: #f8fbfd;
}
.sf-product-index-context h2 {
  margin: 0 0 10px;
  font-size: 22px;
}
.sf-product-index-context p {
  max-width: 980px;
  margin: 0 0 12px;
  color: #33424d;
  line-height: 1.65;
}
.sf-product-index-context ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sf-product-index-context a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--sf-line);
  border-radius: 999px;
  background: #fff;
  color: var(--sf-brand-strong);
  font-weight: 750;
}
.sf-product-index-context a:hover {
  border-color: var(--sf-brand);
  background: #eaf5fb;
}
.sf-compare-products .sf-section__head {
  margin-bottom: 14px;
}
.sf-compare-products .sf-section__head h2 {
  font-size: 24px;
}
.sf-compare-products__grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.sf-compare-products .sf-card__media {
  aspect-ratio: 4 / 3;
  position: relative;
}
.sf-compare-products .sf-card__media img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  padding: 10px;
  transform: scale(var(--sf-img-scale, 1));
  transform-origin: center;
}
.sf-compare-products .sf-card h3 {
  font-size: 15px;
  min-height: 61px;
  -webkit-line-clamp: 3;
}
.sf-compare-products .sf-price,
.sf-compare-products .sf-clean-price,
.sf-compare-products .sf-clean-price .amount {
  font-size: 24px;
}
.sf-compare-products .sf-price {
  column-gap: 12px;
}
.sf-compare-products .sf-price del,
.sf-compare-products .sf-price del .amount {
  font-size: 14px;
}
.sf-compare-products .sf-discount-badge {
  font-size: 11px;
  font-weight: 700;
}

.sf-footer {
  background: var(--sf-ink);
  color: #dcecf5;
  padding: 42px 0 26px;
}
.sf-footer a { color: #dcecf5; }
.sf-footer strong {
  display: block;
  color: #fff;
  margin-bottom: 12px;
  font-size: 15px;
}
.sf-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.sf-footer__links a {
  color: #dcecf5;
  font-weight: 700;
}
.sf-footer__links a:hover {
  color: #fff;
}
.sf-footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(160px, 0.7fr));
  gap: 34px;
  align-items: start;
}
.sf-footer p { margin: 0; color: #b8cad5; }
.sf-footer__brand strong {
  font-size: 17px;
}
.sf-footer__brand p {
  max-width: 360px;
  line-height: 1.65;
}
.sf-footer__note {
  margin-top: 12px !important;
  color: #91a9b8 !important;
}
.sf-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #91a9b8;
  font-size: 14px;
}

@media (max-width: 980px) {
  .sf-topbar { display: none; }
  .sf-header { position: sticky; top: 0; }
  .sf-header .sf-wrap { width: min(100% - 14px, var(--sf-header-wrap)); }
  .sf-header__inner {
    min-height: 0;
    padding: 4px 0 5px;
    gap: 4px;
  }
  .sf-header__top {
    align-items: center;
    flex-direction: row;
    gap: 8px;
  }
  .sf-brand {
    flex: 0 0 74px;
    width: 74px;
    min-height: 0;
  }
  .sf-brand__logo {
    width: 74px;
    max-height: 30px;
    object-fit: contain;
  }
  .sf-nav {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
  }
  .sf-nav ul {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    max-height: none;
    gap: 2px;
    padding: 0 0 1px;
    scrollbar-width: thin;
  }
  .sf-nav a,
  .sf-nav__toggle {
    padding: 5px 8px;
    font-size: 13px;
    line-height: 1.05;
  }
  .sf-submenu { top: 112px; }
  .sf-search form { width: 100%; min-height: 34px; height: 34px; }
  .sf-search { flex: 1 1 auto; min-width: 0; }
  .sf-search input[type="search"] { padding: 6px 10px; font-size: 14px; }
  .sf-search button { min-width: 36px; font-size: 14px; }
  .sf-hero .sf-wrap { grid-template-columns: 1fr; min-height: 0; }
  .sf-grid,
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-compare-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sf-grid--posts { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .sf-wrap { width: min(100% - 24px, var(--sf-wrap)); }
  .sf-header .sf-wrap { width: min(100% - 12px, var(--sf-header-wrap)); }
  .sf-topbar { display: none; }
  .sf-header__inner { padding: 3px 0 4px; gap: 3px; }
  .sf-brand { font-size: 21px; }
  .sf-brand__mark { width: 37px; height: 37px; }
  .sf-brand { flex-basis: 58px; width: 58px; min-height: auto; }
  .sf-brand__logo { width: 58px; max-width: 100%; max-height: 24px; }
  .sf-search form {
    min-height: 32px;
    height: 32px;
    border-radius: 999px;
  }
  .sf-search input[type="search"] {
    padding: 5px 9px;
    font-size: 14px;
  }
  .sf-search button {
    min-width: 34px;
    font-size: 14px;
  }
  .sf-nav ul { gap: 3px; max-width: 100%; }
  .sf-nav a,
  .sf-nav__toggle {
    padding: 5px 7px;
    font-size: 12px;
    line-height: 1.1;
  }
  .sf-nav__toggle::after {
    width: 6px;
    height: 6px;
    margin-left: 5px;
  }
  .sf-main { padding-top: 18px; }
  .sf-hero .sf-wrap { padding: 26px 0; gap: 18px; }
  .sf-hero h1 { font-size: 28px; }
  .sf-hero p { font-size: 16px; }
  .sf-hero__panel { display: none; }
  .sf-eyebrow { margin-bottom: 12px; }
  .sf-submenu {
    top: 72px;
    grid-template-columns: 1fr;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
  }
  .sf-card h3 { min-height: 0; }
  .woocommerce div.product { padding: 12px; }
  .woocommerce div.product { display: flex; flex-direction: column; gap: 14px; }
  .woocommerce div.product div.images { order: 1; margin-bottom: 0; }
  .woocommerce div.product div.summary { order: 2; margin-bottom: 0; }
  .sf-compare-products { order: 3; }
  .woocommerce div.product .woocommerce-tabs { order: 4; }
  .woocommerce div.product .related { order: 5; }
  .woocommerce div.product div.images img {
    width: 100%;
    max-height: none;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    transform: none;
  }
  .woocommerce div.product div.images .woocommerce-product-gallery__trigger { display: none; }
  .woocommerce div.product div.images .flex-control-thumbs {
    display: flex !important;
  }
  .woocommerce div.product .product_title {
    font-size: 22px;
    line-height: 1.2;
    -webkit-line-clamp: 3;
  }
  .sf-hero__stats { grid-template-columns: 1fr; }
  .sf-section__head { align-items: flex-start; flex-direction: column; }
  .sf-grid,
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .sf-directory__grid { grid-template-columns: 1fr; }
  .sf-compare-products { margin-top: 22px; padding-top: 18px; }
  .sf-compare-products__grid { grid-template-columns: 1fr; }
  .sf-product-links__grid { grid-template-columns: 1fr; }
  .sf-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-post-row { grid-template-columns: 1fr; }
  .sf-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .sf-footer__bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 900px), (pointer: coarse) {
}
