.fwi-page-section {
  --fwi-blue: #003b8d;
  --fwi-orange: #f15b33;
  --fwi-border: #e6e9ef;
  --fwi-radius: 20px;
  --fwi-side: clamp(16px, 3vw, 32px);
  width: 100%;
  box-sizing: border-box;
}
.fwi-page-section:not(.fwi-page-native) {
  padding: clamp(44px, 7vw, 88px) max(var(--fwi-side), calc((100% - 1216px) / 2));
}
.fwi-page-section h1, .fwi-page-section h2, .fwi-page-section h3,
.fwi-page-section p, .fwi-page-section figure { margin-block: 0; }
.fwi-page-section a:focus-visible,
.fwi-page-section button:focus-visible,
.fwi-page-section summary:focus-visible { outline: 2px solid var(--fwi-orange); outline-offset: 4px; }
:is(.fwi-page-hero, .fwi-page-faq):not(.fwi-page-native) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
}
.fwi-page-hero:not(.fwi-page-native) { align-items: center; padding-top: clamp(28px, 5vw, 64px); }
.fwi-page-hero-copy, .fwi-page-faq-intro { display: grid; gap: 18px; }
.fwi-page-hero-copy h1, .fwi-page-trust > h2 { text-wrap: balance; }
.fwi-page-promises { font-weight: 600; }
.fwi-page-finder:not(.wp-block-kadence-column) {
  background: var(--fwi-blue);
  color: #fff;
  border-radius: 24px;
  padding: clamp(18px, 3vw, 32px);
}
.fwi-page-hero:not(.fwi-page-native) .fwi-page-finder .fwi-kicker,
.fwi-page-knowledge:not(.fwi-page-native) .fwi-kicker { color: #ffb39e; }
.fwi-page-finder h2 { margin: 8px 0 20px; }
.fwi-page-finder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.fwi-page-finder-grid a {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 7px 10px 7px 7px;
  background: #fff;
  color: #01112e;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.3;
}
.fwi-page-finder-grid a[aria-pressed="true"],
.fwi-page-finder-grid a:hover { border-color: #ff956f; background: #fff4ee; }
.fwi-page-finder-grid img { flex: none; border-radius: 9px; object-fit: cover; }
.fwi-page-finder-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #ffffff38;
}
.fwi-page-result-count { display: block; color: #d9e2f3; }
.fwi-page-result-title { display: block; }
.fwi-page-finder-result .fwi-page-result-link,
.fwi-page-contact a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.fwi-page-finder-result .fwi-page-result-link { background: #bd421e; color: #fff; }
.fwi-page-finder-result .fwi-page-result-link:hover { background: #9e3315; }
.fwi-page-contact a { border: 2px solid var(--fwi-blue); color: var(--fwi-blue); }

.fwi-page-overview:not(.fwi-page-native) { padding-top: 0; }
.fwi-page-topic-grid:not(.fwi-page-native-grid), .fwi-page-article-grid:not(.fwi-page-native-grid), .fwi-page-trust-grid:not(.fwi-page-native-grid) { display: grid; gap: 24px; margin-top: 28px; }
.fwi-page-topic-grid:not(.fwi-page-native-grid), .fwi-page-article-grid:not(.fwi-page-native-grid) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fwi-page-trust-grid:not(.fwi-page-native-grid) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
:is(.fwi-page-topic, .fwi-page-article, .fwi-page-benefit):not(.fwi-page-native-card) {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--fwi-border);
  border-radius: var(--fwi-radius);
  background: #fff;
}
:is(.fwi-page-topic, .fwi-page-article):not(.fwi-page-native-card) { display: flex; flex-direction: column; }
.fwi-page-topic:hover, .fwi-page-article:hover { box-shadow: 0 12px 32px #01112e19; }
.fwi-page-topic:focus-within, .fwi-page-article:focus-within { outline: 2px solid var(--fwi-orange); outline-offset: 3px; }
.fwi-page-topic-media { position: relative; }
.fwi-page-topic-media img, .fwi-page-article img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.fwi-page-topic-count {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  padding: 4px 12px;
  background: #fff;
  color: #01112e;
  font-weight: 700;
}
.fwi-page-card-copy { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.fwi-page-card-copy .fwi-page-link { margin-top: auto; padding-top: 8px; }
.fwi-page-link a { color: var(--fwi-blue); font-weight: 700; text-decoration: none; }
.fwi-page-link a:hover { text-decoration: underline; }
.fwi-page-link a::after { content: " →" / ""; color: var(--fwi-orange); }
.fwi-page-card-copy .fwi-page-link a::before { content: ""; position: absolute; inset: 0; }
.block-editor-block-list__layout .fwi-page-card-copy .fwi-page-link a::before { content: none; }

.fwi-page-products:not(.fwi-page-native) { background: #f6f7fa; }
.fwi-page-products > h2, .fwi-page-knowledge > h2 { margin: 12px 0 18px; }
.fwi-page-product-tabs, .fwi-page-utility { display: flex; flex-wrap: wrap; gap: 8px; }
.fwi-page-product-tabs button, .fwi-page-utility a {
  display: inline-block;
  border: 1px solid var(--fwi-border);
  padding: 8px 15px;
  border-radius: 999px;
  background: #fff;
  color: var(--fwi-blue);
  text-decoration: none;
}
.fwi-page-product-tabs button { font: inherit; cursor: pointer; }
.fwi-page-product-tabs button:hover,
.fwi-page-product-tabs button[aria-pressed="true"] { background: var(--fwi-blue); color: #fff; }
.fwi-page-product-panel[hidden] { display: none; }
.fwi-page-product-meta { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; margin: 22px 0 16px; }
.fwi-page-product-meta > a { font-weight: 700; }
.fwi-page-product-meta > a span { color: var(--fwi-orange); }

.fwi-page-trust > h2 { text-align: center; }
.fwi-page-benefit:not(.fwi-page-native-card) { padding: 24px; }
.fwi-page-benefit h3 { margin: 8px 0; }

.fwi-page-utility { justify-content: center; margin-top: 28px; }
.fwi-page-knowledge:not(.fwi-page-native) { background: var(--fwi-blue); }
.fwi-page-knowledge:not(.fwi-page-native) .fwi-page-knowledge-link a { color: #fff; }
.fwi-page-section:not(.fwi-page-native) .fwi-page-article-category { font-weight: 700; color: #bd421e; }
.fwi-page-faq-list details { border-top: 1px solid var(--fwi-border); padding: 16px 0; }
.fwi-page-faq-list details:last-child { border-bottom: 1px solid var(--fwi-border); }
.fwi-page-faq-list summary { cursor: pointer; font-weight: 700; }
.fwi-page-faq-list summary::marker { color: var(--fwi-orange); }
.fwi-page-faq-list details p { margin: 12px 0 0; }

@media (max-width: 980px) {
  :is(.fwi-page-hero, .fwi-page-faq):not(.fwi-page-native) { grid-template-columns: minmax(0, 1fr); }
  .fwi-page-topic-grid:not(.fwi-page-native-grid), .fwi-page-article-grid:not(.fwi-page-native-grid), .fwi-page-trust-grid:not(.fwi-page-native-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .fwi-page-topic-grid:not(.fwi-page-native-grid), .fwi-page-article-grid:not(.fwi-page-native-grid), .fwi-page-trust-grid:not(.fwi-page-native-grid) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .fwi-page-finder-grid { grid-template-columns: minmax(0, 1fr); }
}

/* The Kadence row sets column widths and gaps. These rules handle card content. */
.fwi-page-native .fwi-page-finder img { width: 40px; height: 40px; }
.fwi-page-native .fwi-page-finder { color: #fff; }
.fwi-page-native .fwi-page-native-card { position: relative; overflow: hidden; min-width: 0; }
.fwi-page-native .fwi-page-native-card > .kt-inside-inner-col { height: 100%; }
.fwi-page-native :is(.fwi-page-topic, .fwi-page-article) > .kt-inside-inner-col {
  display: flex;
  flex-direction: column;
}
.fwi-page-native .fwi-page-card-copy > * { margin-block: 0; }
.fwi-page-native .fwi-page-card-copy > .fwi-page-link { margin-top: auto; }
.fwi-page-native .fwi-page-promises { margin-top: 18px; }
.fwi-page-native .fwi-page-benefit h3 { hyphens: auto; overflow-wrap: anywhere; }
.fwi-page-native .fwi-page-trust-grid + .fwi-page-utility { display: flex; }

/* Clip the article image on the inner Kadence wrapper as well as the card. */
.fwi-page-native .fwi-page-article > .kt-inside-inner-col {
  overflow: hidden;
}
.fwi-page-utility :is(.fwi-page-payment-icon, .fwi-page-shipping) {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid var(--fwi-border);
  border-radius: 8px;
  background: #fff;
}
.fwi-page-utility .fwi-page-payment-icon { width: 66px; }
.fwi-page-utility .fwi-page-payment-icon img { width: 100%; height: 24px; object-fit: contain; }

/* Startseite */
.fwi-home-copy > :is(p, .fwi-home-actions) + :is(p, .fwi-home-actions) { margin-top: 14px; }
.fwi-home-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fwi-home-actions .fwi-home-cta a,
.fwi-home-actions .fwi-home-secondary a {
  display: inline-block;
  padding: 11px 18px;
  border: 1px solid var(--fwi-blue);
  border-radius: 999px;
  color: var(--fwi-blue);
  font-weight: 700;
  text-decoration: none;
}
.fwi-home-actions .fwi-home-cta a { background: var(--fwi-blue); color: #fff; }
.fwi-home-promise, .fwi-home-question { font-weight: 600; }
.fwi-home-hero-media figure {
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, #e9effa, #f5f7fa);
}
.fwi-home-hero-media img { display: block; width: 100%; height: auto; object-fit: contain; }
.fwi-home-caption { padding-top: 10px; }
.fwi-home-benefits .fwi-home-check { font-size: 1.2em; font-weight: 700; }
.fwi-home-themes .fwi-page-topic img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.fwi-home-themes .fwi-page-link,
.fwi-home-bestseller .fwi-page-link { margin-top: 10px; }
.fwi-home-step h3, .fwi-home-guide h3 { margin-top: 8px; }
.fwi-home-guide .fwi-page-link { margin-top: 12px; }
.fwi-home-finder {
  margin-top: 28px;
  padding: clamp(20px, 4vw, 36px);
  border-radius: 24px;
  background: #fff;
}
.fwi-home-finder .fwi-page-finder-controls { margin-top: 16px; }
.fwi-home-finder .fwi-page-finder-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.fwi-home-finder .fwi-page-finder-grid a { border-color: #e6e9ef; }
.fwi-home-finder .fwi-page-finder-grid a:is(:hover, [aria-pressed="true"]) { border-color: #ff956f; }
.fwi-home-finder .fwi-page-finder-grid img { width: 40px; height: 40px; }
.fwi-home-finder .fwi-page-finder-result { border-color: #e6e9ef; }
.fwi-home-finder .fwi-page-result-count { color: #475467; }
.fwi-home-story-media img, .fwi-home-company-media img, .fwi-home-sport-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}
.fwi-home-company-media figure { margin-top: 12px; }
.fwi-home-bestseller .woocommerce { margin-top: 22px; }
@media (min-width: 981px) {
  .fwi-home-bestseller .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Startseiten-Hero nach der Layoutvorlage */
.fwi-home-hero-revised h1 { text-wrap: initial; overflow-wrap: anywhere; }
.fwi-home-hero-revised .fwi-home-copy > .kt-inside-inner-col {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 26px);
}
.fwi-home-hero-revised .fwi-home-copy > .kt-inside-inner-col > * { margin-block: 0; }
.fwi-home-hero-revised .fwi-home-actions .fwi-home-cta a {
  border-color: #d44324;
  background: #d44324;
  color: #fff;
}
.fwi-home-hero-revised .fwi-home-cta a::after { content: ' →'; }
.fwi-home-hero-revised .fwi-home-actions .fwi-home-secondary a { border-width: 2px; }
.fwi-home-promises { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.fwi-home-promises .fwi-home-promise { display: inline-flex; gap: 8px; align-items: center; }
.fwi-home-promises .fwi-home-promise::before {
  content: '✓';
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 1.45em;
  height: 1.45em;
  border-radius: 50%;
  background: #e7eef9;
  color: #003b8d;
}
.fwi-home-hero-revised .fwi-home-hero-media > .kt-inside-inner-col {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 280px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(145deg, #f4f6f9, #edf1f7);
}
.fwi-home-hero-revised .fwi-home-hero-media > .kt-inside-inner-col::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 41%;
  aspect-ratio: 1;
  top: -15%;
  right: -10%;
  border: 2px solid #ffcdbd;
  border-radius: 50%;
  pointer-events: none;
}
.fwi-home-hero-revised .fwi-home-hero-media figure {
  width: 70%;
  max-width: 440px;
  margin: 0;
  background: transparent;
  overflow: visible;
}
.fwi-home-hero-revised .fwi-home-hero-media img { width: 100%; max-height: 400px; object-fit: contain; }
.fwi-home-hero-revised .fwi-home-badge {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: .55em;
  max-width: 90%;
  padding: .45em .95em;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 24px #01112e14;
}
.fwi-home-badge-first { top: 6%; left: 5%; }
.fwi-home-badge-second { bottom: 6%; right: 5%; }
.fwi-home-badge::before {
  content: '';
  width: .55em;
  height: .55em;
  flex: none;
  border-radius: 50%;
  background: #f15b33;
}
.fwi-home-badge-second::before { background: #287650; }

.fwi-home-benefits-revised > .kt-row-column-wrap {
  border: 1px solid var(--fwi-border);
  border-radius: 20px;
  overflow: hidden;
}
.fwi-home-benefits-revised .fwi-page-benefit {
  border: 0;
  border-radius: 0;
  background: #fff;
}
.fwi-home-benefits-revised .fwi-page-benefit + .fwi-page-benefit {
  border-inline-start: 1px solid var(--fwi-border);
}
.fwi-home-benefits-revised .fwi-page-benefit > .kt-inside-inner-col {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  column-gap: 14px;
}
.fwi-home-benefits-revised .fwi-home-check {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e7eef9;
}
.fwi-home-benefits-revised .fwi-page-benefit:last-child .fwi-home-check { background: #fce5dc; }
.fwi-home-benefits-revised .fwi-page-benefit h3 { margin-top: 0; }
@media (min-width: 1025px) and (max-width: 1240px) {
  .fwi-home-hero-revised h1 { font-size: clamp(43px, 4.8vw, 58px); }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .fwi-home-benefits-revised .fwi-page-benefit:nth-child(3) { border-inline-start: 0; }
  .fwi-home-benefits-revised .fwi-page-benefit:nth-child(n+3) { border-top: 1px solid var(--fwi-border); }
}
@media (max-width: 767px) {
  .fwi-home-benefits-revised .fwi-page-benefit + .fwi-page-benefit { border-inline-start: 0; border-top: 1px solid var(--fwi-border); }
  .fwi-home-hero-revised .fwi-home-badge { font-size: .85em; }
}

/* Startseite: Akzentfarben und Details aus der Vorlage. */
[class*="fwi-home-"].fwi-page-section { --fwi-orange: #ff674b; }
.fwi-home-hero-revised .fwi-home-actions .fwi-home-cta a,
.fwi-home-finder .fwi-page-result-link { background: #ff674b; border-color: #ff674b; color: #01112e; }
.fwi-home-hero-revised .fwi-home-cta a:hover,
.fwi-home-finder .fwi-page-result-link:hover { background: #ee5f45; }
.fwi-home-hero-revised .fwi-home-badge-first::before { background: #ff674b; }
.fwi-home-hero-revised .fwi-home-hero-media > .kt-inside-inner-col::before { border-color: #ff674b66; }
.fwi-home-finder .fwi-page-finder-grid a:is(:hover, [aria-pressed="true"]) { border-color: #ff674b; }
.fwi-home-bestseller .woocommerce { margin-top: 0; }
.fwi-home-bestseller .woocommerce ul.products li.product img { mix-blend-mode: multiply; }
.fwi-home-bestseller .woocommerce ul.products li.product :is(.woocommerce-loop-product__title, .woocommerce-loop-product__title a) { color: #01112e; }
.fwi-home-bestseller .woocommerce ul.products li.product .price { color: #01112e; }
.fwi-home-bestseller .woocommerce ul.products li.product .product-action-wrap { padding-top: 14px; }
.fwi-home-advantages > .kt-inside-inner-col { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.fwi-home-advantage-label {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ff674b;
  color: #01112e;
  font-weight: 700;
}
.fwi-home-story-media > .kt-inside-inner-col { position: relative; }
.fwi-home-story-media img { aspect-ratio: 1; object-fit: cover; border-radius: 24px; }
.fwi-home-molecule-labels { position: absolute; inset: auto 16px 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.fwi-home-molecule-label {
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
  line-height: 1.35;
}
.fwi-home-molecule-label strong { display: block; }
.fwi-home-company .fwi-home-family-title { overflow-wrap: normal; word-break: normal; hyphens: none; }
.fwi-home-family-subtitle { margin-bottom: 18px; font-weight: 600; }
.fwi-home-founders { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.fwi-home-founders figure { width: min(220px, 100%); }
.fwi-home-founders img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.fwi-home-company .fwi-page-link a {
  display: inline-block;
  padding: 10px 18px;
  border: 2px solid #003b8d;
  border-radius: 999px;
}
@media (max-width: 767px) {
  .fwi-home-molecule-labels { position: static; margin-top: 10px; }
}

/* Native WooCommerce-Karten im Bestseller-Raster. */
.fwi-home-bestseller .wc-block-product .wp-block-post-title,
.fwi-home-bestseller .wc-block-product .wp-block-post-title a,
.fwi-home-bestseller .wc-block-product .wc-block-components-product-price { color: #01112e; }
.fwi-home-bestseller .wc-block-product .wp-block-post-title { margin-block: 12px 4px; }
.fwi-home-bestseller .wc-block-product .wp-block-woocommerce-product-summary { margin-block: 4px 12px; }
.fwi-home-bestseller .wc-block-product .wp-block-woocommerce-product-button { padding-top: 12px; }

/* Homepage bestseller section. WooCommerce keeps ownership of price and cart. */
.fwi-home-bestseller .fwi-home-bestseller-note {
  float: left;
  margin: 0;
}
.fwi-home-bestseller .fwi-page-link {
  margin: 0;
  text-align: end;
}
.fwi-home-bestseller .fwi-home-product-row {
  --fwi-bestseller-gap: clamp(12px, 1.55vw, 24px);
  clear: both;
}
.fwi-home-bestseller .fwi-home-product-row > .kt-row-column-wrap {
  gap: var(--fwi-bestseller-gap);
  align-items: stretch;
}
.fwi-home-bestseller .fwi-bestseller-columns-1 { --fwi-bestseller-columns: 1; }
.fwi-home-bestseller .fwi-bestseller-columns-2 { --fwi-bestseller-columns: 2; }
.fwi-home-bestseller .fwi-bestseller-columns-4 { --fwi-bestseller-columns: 4; }
.fwi-home-bestseller .fwi-bestseller-columns-5 { --fwi-bestseller-columns: 5; }
.fwi-home-bestseller .fwi-bestseller-columns-6 { --fwi-bestseller-columns: 6; }
.fwi-home-bestseller .fwi-home-product-row .wc-block-product-template {
  display: grid;
  grid-template-columns: repeat(var(--fwi-bestseller-columns, 3), minmax(0, 1fr));
  align-items: stretch;
  gap: var(--fwi-bestseller-gap);
  margin: 0;
  padding: 0;
}
.fwi-home-bestseller .wc-block-product-template > li.wc-block-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto 1fr auto;
  align-items: start;
  column-gap: 8px;
  padding: clamp(12px, 1.15vw, 20px);
  margin: 0;
  width: auto;
  text-align: start;
  box-shadow: none;
}
.fwi-home-bestseller .wc-block-product > * { grid-column: 1 / -1; }
.fwi-home-bestseller .wc-block-product .wc-block-components-product-image {
  overflow: hidden;
  margin: 0 0 14px;
  border-radius: 14px;
  background: #f0f2f5;
}
.fwi-home-bestseller .wc-block-product .wc-block-components-product-image img {
  width: 100%;
  padding: 10%;
  background: transparent;
  mix-blend-mode: multiply;
}
.fwi-home-bestseller .wc-block-product .fwi-home-product-topic {
  margin: 0;
  color: #58677f;
  font-size: .72em;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.fwi-home-bestseller .wc-block-product .wp-block-post-title {
  margin: 5px 0;
  font-size: clamp(16px, 1.4vw, 23px);
  font-weight: 800;
  line-height: 1.2;
  text-align: start;
}
.fwi-home-bestseller .wc-block-product :is(.fwi-home-product-summary, .wp-block-woocommerce-product-summary) {
  margin: 0 0 18px;
  color: #43526a;
  font-size: .86em;
  text-align: start;
}
.fwi-home-bestseller .wc-block-product .fwi-home-product-price {
  grid-column: 1;
  grid-row: 5;
  align-self: end;
  text-align: start;
}
.fwi-home-bestseller .wc-block-product .fwi-home-product-price .wp-block-woocommerce-product-price {
  margin: 0;
  text-align: start;
}
.fwi-home-bestseller .wc-block-product .fwi-home-product-price .woocommerce-Price-amount {
  font-size: 1.2em;
  font-weight: 800;
  white-space: nowrap;
}
.fwi-home-bestseller .wc-block-product .fwi-home-product-price :is(small, .woocommerce-price-suffix),
.fwi-home-bestseller .wc-block-product .fwi-home-shipping-note {
  display: block;
  color: #58677f;
  font-size: .72em;
  line-height: 1.35;
}
.fwi-home-bestseller .wc-block-product .wp-block-woocommerce-product-button {
  grid-column: 2;
  grid-row: 5;
  align-self: end;
  justify-self: end;
  margin: 0;
  padding: 0;
}
.fwi-home-bestseller .wc-block-product .wp-block-woocommerce-product-button .wp-block-button__link {
  padding: .7em .85em;
  font-size: clamp(11px, .95vw, 17px);
  font-weight: 700;
  line-height: 1.15;
  text-transform: none;
}
.fwi-home-bestseller .fwi-home-advantages .fwi-kicker::before { display: none; }
.fwi-home-bestseller .fwi-home-advantages > .kt-inside-inner-col { min-height: 230px; }
.fwi-home-bestseller .fwi-home-advantage-label {
  margin-block-start: auto !important;
  margin-block-end: 0;
  color: #01112e;
}
@media (min-width: 1025px) {
  .fwi-home-bestseller .fwi-home-product-row > .kt-row-column-wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, calc((100% - 3 * var(--fwi-bestseller-gap)) / 4));
  }
}
@media (max-width: 767px) {
  .fwi-home-bestseller .fwi-home-bestseller-note { float: none; }
  .fwi-home-bestseller .fwi-page-link { margin-top: 8px; text-align: start; }
  .fwi-home-bestseller .fwi-home-product-row .wc-block-product-template { grid-template-columns: minmax(0, 1fr); }
}

/* Native footer inside the WooCommerce template, also shown in the editor. */
.fwi-home-bestseller .wc-block-product:has(.fwi-card-footer) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.fwi-card-category {
  margin: 0;
  text-align: start;
  color: #58677f;
  font-size: .72em;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.fwi-card-category a { color: inherit; }
.fwi-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .5rem;
  width: 100%;
  margin-block-start: auto;
  container-type: inline-size;
}
.fwi-card-footer .wp-block-woocommerce-product-price,
.fwi-card-footer .fwi-home-product-price {
  flex: 0 1 auto;
  margin: 0;
  text-align: start;
}
.fwi-card-footer .wp-block-woocommerce-product-button {
  flex: 0 1 auto;
  min-inline-size: 0;
  margin: 0 0 0 auto;
  padding: 0;
  text-align: end;
}
.fwi-card-footer .wp-block-button__link {
  display: inline-block;
  max-inline-size: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.fwi-card-footer-stacked { flex-direction: column; align-items: stretch; }
.fwi-card-footer-compact .wp-block-woocommerce-product-price { font-size: .88em; }
.wc-block-product .fwi-card-footer-compact .wp-block-woocommerce-product-button .wp-block-button__link {
  font-size: clamp(.68rem, 5.2cqi, .89rem);
  padding: .56em .7em;
}
@container (max-width: 180px) {
  .fwi-card-footer .wp-block-woocommerce-product-price { font-size: .84em; }
  .wc-block-product .fwi-card-footer .wp-block-woocommerce-product-button .wp-block-button__link {
    font-size: .69rem;
    padding: .5em .55em;
  }
}
