/* Stoffpalast lower homepage and footer redesign, v1.0.8. */
:root {
  /* Ultrawide cap (Niko, 16 Aug): content stops growing here and centers;
     section backgrounds keep spanning the full viewport width. */
  --sp-lower-content-max: 1800px; /* raised 1560 -> 1800, Niko 17 Aug */
  --sp-lower-pink: #EA5284;
  --sp-lower-pink-700: #BF2E60;
  --sp-lower-pink-tint: #FDEEF3;
  --sp-lower-blue: #58ACC4;
  --sp-lower-blue-800: #2E7F97;
  --sp-lower-blue-900: #245F72;
  --sp-lower-sky: #EAF6FB;
  --sp-lower-sky-200: #DCEEF6;
  --sp-lower-ink: #3A3C42;
  --sp-lower-ink-soft: #5D616A;
  --sp-lower-muted: #71757E;
  --sp-lower-line: #ECEEF2;
  --sp-lower-line-strong: #D7DBE2;
  --sp-lower-radius: 9px;
  --sp-lower-ease: cubic-bezier(.22, .61, .36, 1);
  --sp-lower-ease-soft: cubic-bezier(.16, 1, .3, 1);
}

/* Dynamic homepage sections only. The page-editor content above these sections
   contains the approved July redesign and is intentionally not selected here. */
body.sp-lower-home-active .site-main > .storefront-product-section {
  clear: both;
  width: 100%;
  margin: 0;
  padding: clamp(30px, 3.4vw, 52px) 0;
  background: #fff;
}

body.sp-lower-home-active .site-main > .storefront-product-section + .storefront-product-section {
  border-top: 1px solid #F3F4F6;
}

body.sp-lower-home-active .sp-lower-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--sp-lower-content-max);
  margin: 0 auto 26px;
}

body.sp-lower-home-active .sp-lower-section-head__text {
  min-width: 0;
}

body.sp-lower-home-active .sp-lower-section-head__eyebrow {
  display: block;
  margin: 0 0 6px;
  color: var(--sp-lower-pink-700);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

body.sp-lower-home-active .sp-lower-section-head .section-title {
  margin: 0 !important;
  padding: 0;
  border: 0;
  color: var(--sp-lower-ink);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.18;
  text-align: left;
  text-wrap: balance;
}

body.sp-lower-home-active .sp-lower-section-head__sub {
  max-width: 62ch;
  margin: 8px 0 0 !important;
  color: var(--sp-lower-ink-soft);
  font-size: 15.5px;
  line-height: 1.5;
}

body.sp-lower-home-active .sp-lower-section-head__link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 0 0 4px;
  color: var(--sp-lower-pink-700);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s var(--sp-lower-ease), gap .22s var(--sp-lower-ease);
}

body.sp-lower-home-active .sp-lower-section-head__link:hover,
body.sp-lower-home-active .sp-lower-section-head__link:focus-visible {
  gap: 13px;
  color: var(--sp-lower-pink);
}

/* The grids sit directly in the uncapped .col-full (Powerpack sp-max-width),
   so they grew without limit on ultrawide monitors. Cap and center the grid
   wrapper of every section; below the cap nothing changes. */
body.sp-lower-home-active .site-main > .storefront-product-section > .woocommerce {
  max-width: var(--sp-lower-content-max);
  margin-right: auto;
  margin-left: auto;
}

/* Product grids: dynamic products, no duplicated hard-coded cards. */
body.sp-lower-home-active .site-main > .storefront-product-section:not(.storefront-product-categories):not(.storefront-blog) .woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
  margin: 0 !important;
  padding: 0 !important;
}

body.sp-lower-home-active .site-main > .storefront-product-section .woocommerce ul.products::before,
body.sp-lower-home-active .site-main > .storefront-product-section .woocommerce ul.products::after {
  display: none !important;
  content: none !important;
}

body.sp-lower-home-active .site-main > .storefront-product-section:not(.storefront-product-categories):not(.storefront-blog) ul.products li.product {
  position: relative;
  display: flex;
  float: none !important;
  flex: none !important;
  flex-direction: column;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  height: 100%;
  margin: 0 !important;
  padding: 0 0 16px !important;
  overflow: hidden;
  border: 1px solid var(--sp-lower-line) !important;
  border-radius: var(--sp-lower-radius);
  background: #fff;
  text-align: left;
  transition: transform .28s var(--sp-lower-ease), border-color .28s var(--sp-lower-ease), box-shadow .28s var(--sp-lower-ease);
}

body.sp-lower-home-active .site-main > .storefront-product-section:not(.storefront-product-categories):not(.storefront-blog) ul.products li.product:hover {
  z-index: 1;
  border-color: #E2E5EA !important;
  box-shadow: 0 8px 14px rgba(58, 60, 66, .10);
  transform: translateY(-4px);
}

body.sp-lower-home-active .site-main > .storefront-product-section:not(.storefront-product-categories):not(.storefront-blog) li.product .woocommerce-LoopProduct-link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

body.sp-lower-home-active .site-main > .storefront-product-section:not(.storefront-product-categories):not(.storefront-blog) li.product .woocommerce-LoopProduct-link::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
}

body.sp-lower-home-active .site-main > .storefront-product-section:not(.storefront-product-categories):not(.storefront-blog) li.product:has(.woocommerce-LoopProduct-link:focus-visible) {
  outline: 3px solid var(--sp-lower-pink);
  outline-offset: 3px;
}

body.sp-lower-home-active .site-main > .storefront-product-section:not(.storefront-product-categories):not(.storefront-blog) li.product img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  margin: 0 0 14px !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: cover;
  transition: transform .55s var(--sp-lower-ease-soft);
}

body.sp-lower-home-active .site-main > .storefront-product-section:not(.storefront-product-categories):not(.storefront-blog) li.product:hover img {
  transform: scale(1.045);
}

body.sp-lower-home-active .site-main > .storefront-product-section:not(.storefront-product-categories):not(.storefront-blog) li.product .woocommerce-loop-product__title {
  display: block !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 14px;
  overflow: visible;
  color: var(--sp-lower-ink);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 15px !important;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  text-align: left;
  transition: color .18s var(--sp-lower-ease);
}

body.sp-lower-home-active .site-main > .storefront-product-section:not(.storefront-product-categories):not(.storefront-blog) li.product:hover .woocommerce-loop-product__title {
  color: var(--sp-lower-pink-700);
}

body.sp-lower-home-active .site-main > .storefront-product-section:not(.storefront-product-categories):not(.storefront-blog) li.product .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin: auto 0 0 !important;
  padding: 12px 14px 0;
  color: var(--sp-lower-ink);
  font-size: 18px !important;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}

body.sp-lower-home-active .storefront-on-sale-products li.product .price {
  color: var(--sp-lower-pink-700) !important;
}

body.sp-lower-home-active li.product .price .wgm-sale-label,
body.sp-lower-home-active li.product .price .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.sp-lower-home-active li.product .price del {
  order: 2;
  color: var(--sp-lower-muted);
  font-size: 13.5px;
  font-weight: 500;
  opacity: 1;
}

body.sp-lower-home-active li.product .price ins {
  order: 1;
  color: var(--sp-lower-pink-700);
  text-decoration: none;
}

body.sp-lower-home-active li.product .price .woocommerce-price-suffix {
  order: 3;
  color: var(--sp-lower-muted);
  font-size: 13px;
  font-weight: 500;
}

body.sp-lower-home-active .sp-lower-product-m2 {
  min-height: 1.4em;
  margin: 3px 0 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding: 0 14px;
  color: var(--sp-lower-muted);
  font-size: 13px;
  line-height: 1.4;
}

body.sp-lower-home-active .sp-lower-product-m2 .woocommerce-Price-amount {
  font: inherit;
  color: inherit;
}

body.sp-lower-home-active .site-main > .storefront-product-section:not(.storefront-product-categories):not(.storefront-blog) li.product > .wgm-info,
body.sp-lower-home-active .site-main > .storefront-product-section:not(.storefront-product-categories):not(.storefront-blog) li.product > .button,
body.sp-lower-home-active .site-main > .storefront-product-section:not(.storefront-product-categories):not(.storefront-blog) li.product > [id^="woocommerce_loop_add_to_cart_link_describedby"] {
  display: none !important;
}

body.sp-lower-home-active .sp-lower-price-note {
  max-width: var(--sp-lower-content-max);
  margin: 16px auto 0 !important;
  color: var(--sp-lower-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

body.sp-lower-home-active .sp-lower-price-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.sp-lower-home-active .storefront-recent-products li.product::before,
body.sp-lower-home-active .storefront-on-sale-products li.product .onsale {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  left: auto;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 5px 11px;
  overflow: visible;
  border: 0;
  border-radius: 999px;
  color: #fff !important;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
  box-shadow: 0 3px 8px rgba(58, 60, 66, .18);
}

body.sp-lower-home-active .storefront-recent-products li.product::before {
  background: var(--sp-lower-blue-800);
  content: "Neu";
}

body.sp-lower-home-active .storefront-recent-products li.product > .woosticker_new {
  display: none !important;
}

body.sp-lower-home-active .storefront-on-sale-products li.product .onsale {
  background: var(--sp-lower-pink-700);
}

/* Category cards retain their uncropped 2:1 source images and cloud edge. */
body.sp-lower-home-active .storefront-product-categories .woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0 !important;
  padding: 0 !important;
}

body.sp-lower-home-active .storefront-product-categories ul.products li.product-category {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--sp-lower-line) !important;
  border-radius: var(--sp-lower-radius);
  background: #fff !important;
  transition: transform .28s var(--sp-lower-ease), box-shadow .28s var(--sp-lower-ease), border-color .28s var(--sp-lower-ease);
}

body.sp-lower-home-active .storefront-product-categories ul.products li.product-category:hover {
  border-color: #E2E5EA !important;
  box-shadow: 0 8px 14px rgba(58, 60, 66, .10);
  transform: translateY(-4px);
}

body.sp-lower-home-active .storefront-product-categories li.product-category > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

body.sp-lower-home-active .storefront-product-categories li.product-category img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 2 / 1;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: contain;
  transition: transform .55s var(--sp-lower-ease-soft);
}

body.sp-lower-home-active .storefront-product-categories li.product-category:hover img {
  transform: scale(1.025);
}

body.sp-lower-home-active .storefront-product-categories .woocommerce-loop-category__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 0 !important;
  margin: auto 0 0 !important;
  padding: 15px 16px 16px;
  color: var(--sp-lower-ink);
  font-family: "Hanken Grotesk", system-ui, sans-serif !important;
  font-size: 17px !important;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  text-align: left;
}

body.sp-lower-home-active .storefront-product-categories .woocommerce-loop-category__title::after {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--sp-lower-sky);
  color: var(--sp-lower-blue-800);
  content: "→";
  font-size: 18px;
  transition: color .22s var(--sp-lower-ease), background .22s var(--sp-lower-ease), transform .22s var(--sp-lower-ease);
}

body.sp-lower-home-active .storefront-product-categories li.product-category:hover .woocommerce-loop-category__title {
  color: var(--sp-lower-pink-700);
}

body.sp-lower-home-active .storefront-product-categories li.product-category:hover .woocommerce-loop-category__title::after {
  background: var(--sp-lower-pink);
  color: #fff;
  transform: translateX(3px);
}

body.sp-lower-home-active .storefront-product-categories .count {
  display: none !important;
}

/* Blog cards. Markup remains owned by Storefront Blog Customiser. */
body.sp-lower-home-active .storefront-blog {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* The blog section is its own grid (no .woocommerce wrapper), so the
   ultrawide cap goes on the section itself; its background is white on
   white, so the narrower box is invisible. Full selector needed: the
   generic section rule above sets margin:0 at higher specificity. */
body.sp-lower-home-active .site-main > .storefront-product-section.storefront-blog {
  max-width: var(--sp-lower-content-max);
  margin-right: auto;
  margin-left: auto;
}

body.sp-lower-home-active .storefront-blog > .sp-lower-section-head {
  grid-column: 1 / -1;
  /* Undo the shared head cap inside the grid: auto margins make a grid item
     shrink to fit-content and self-center; the section is already capped. */
  max-width: none;
  margin: 0 0 4px;
}

body.sp-lower-home-active .storefront-blog article {
  position: relative;
  display: flex;
  float: none !important;
  clear: none !important;
  flex-direction: column;
  min-width: 0;
  width: auto !important;
  max-width: none !important;
  min-height: 0 !important;
  height: 100%;
  margin: 0 !important;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--sp-lower-line);
  border-radius: var(--sp-lower-radius);
  background: #fff;
  color: var(--sp-lower-ink);
  transition: transform .28s var(--sp-lower-ease), box-shadow .28s var(--sp-lower-ease), border-color .28s var(--sp-lower-ease);
}

body.sp-lower-home-active .storefront-blog article:hover {
  border-color: #E2E5EA;
  box-shadow: 0 8px 14px rgba(58, 60, 66, .10);
  transform: translateY(-4px);
}

body.sp-lower-home-active .storefront-blog article > .entry-content {
  display: contents;
}

body.sp-lower-home-active .storefront-blog article > .entry-header {
  order: 2;
  display: block !important;
  width: auto;
  margin: 0;
  padding: 17px 20px 0;
  border: 0;
}

body.sp-lower-home-active .storefront-blog article .entry-title {
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  color: var(--sp-lower-ink);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 19px !important;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}

body.sp-lower-home-active .storefront-blog article .entry-title a {
  color: inherit;
  text-decoration: none;
}

body.sp-lower-home-active .storefront-blog article .entry-title a::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
}

body.sp-lower-home-active .storefront-blog article:hover .entry-title {
  color: var(--sp-lower-pink-700);
}

body.sp-lower-home-active .storefront-blog article .entry-content > a:first-child {
  order: 1;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

body.sp-lower-home-active .storefront-blog article .entry-content > a:first-child img {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  transition: transform .55s var(--sp-lower-ease-soft);
}

body.sp-lower-home-active .storefront-blog article:hover .entry-content > a:first-child img {
  transform: scale(1.045);
}

body.sp-lower-home-active .storefront-blog article .entry-content > p:not(.read-more) {
  order: 3;
  display: -webkit-box;
  margin: 9px 20px 0 !important;
  overflow: hidden;
  color: var(--sp-lower-ink-soft);
  font-size: 14.5px !important;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.sp-lower-home-active .storefront-blog article .read-more {
  order: 4;
  display: block !important;
  margin: auto 20px 20px !important;
  padding: 15px 0 0;
}

body.sp-lower-home-active .storefront-blog article .read-more .button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sp-lower-pink-700);
  font-size: 14.5px;
  font-weight: 600;
}

body.sp-lower-home-active .storefront-blog article .read-more .button::after {
  content: "→";
}

/* Existing FAQ, categories, newsletter and Trusted Shops widget, restyled in place. */
body.sp-lower-footer-active .sfb-footer-bar {
  margin: 0;
  padding: clamp(48px, 6vw, 78px) 0;
  background: var(--sp-lower-sky);
  color: var(--sp-lower-ink);
}

body.sp-lower-footer-active .sfb-footer-bar > .col-full {
  width: 90%;
  max-width: var(--sp-lower-content-max);
  margin: 0 auto;
  padding: 0;
}

body.sp-lower-footer-active .sfb-footer-bar #text-4,
body.sp-lower-footer-active .sfb-footer-bar #text-4 > .textwidget,
body.sp-lower-footer-active .sfb-footer-bar .sp-homepage-lower-section {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.sp-lower-footer-active .sfb-footer-bar #text-4 > .widget-title {
  margin: 0 0 14px;
  color: var(--sp-lower-ink);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.18;
  text-wrap: balance;
}

body.sp-lower-footer-active .sp-faq-categories-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
}

body.sp-lower-footer-active .sp-faq-intro {
  max-width: 70ch;
  margin: 0 0 20px;
  color: var(--sp-lower-ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
}

body.sp-lower-footer-active .sp-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  border: 0;
}

body.sp-lower-footer-active .sp-faq-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--sp-lower-line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(58, 60, 66, .06);
}

body.sp-lower-footer-active .sp-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  list-style: none;
  color: var(--sp-lower-ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

body.sp-lower-footer-active .sp-faq-item summary::before {
  display: none !important;
}

body.sp-lower-footer-active .sp-faq-item summary::after {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--sp-lower-blue-800);
  border-bottom: 2px solid var(--sp-lower-blue-800);
  content: "";
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s var(--sp-lower-ease);
}

body.sp-lower-footer-active .sp-faq-item[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

body.sp-lower-footer-active .sp-faq-body {
  padding: 0 18px 18px;
  color: var(--sp-lower-ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

body.sp-lower-footer-active .sp-categories-box {
  padding: 20px 22px 22px;
  border: 1px solid var(--sp-lower-line);
  border-radius: var(--sp-lower-radius);
  background: #fff;
}

body.sp-lower-footer-active .sp-categories-heading {
  margin: 0 0 12px;
  color: var(--sp-lower-ink);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
}

body.sp-lower-footer-active .sp-categories-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  list-style: none;
}

body.sp-lower-footer-active .sp-categories-list a {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 -10px;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--sp-lower-ink-soft);
  font-size: 15px;
  text-decoration: none;
  transition: color .18s var(--sp-lower-ease), background .18s var(--sp-lower-ease);
}

body.sp-lower-footer-active .sp-categories-list a:hover {
  background: var(--sp-lower-pink-tint);
  color: var(--sp-lower-pink-700);
}

body.sp-lower-footer-active .sp-stats-separator {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 38px;
  margin: 34px 0 0;
  padding: 26px 0 0;
  border: 0;
  border-top: 1px solid var(--sp-lower-sky-200);
  background: transparent;
  color: var(--sp-lower-ink-soft);
  font-size: 14.5px;
}

body.sp-lower-footer-active .sp-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

body.sp-lower-footer-active .sp-stat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sp-lower-pink);
}

body.sp-lower-footer-active .sp-homepage-newsletter {
  margin: 34px 0 0;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--sp-lower-line);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(58, 60, 66, .07);
  text-align: center;
}

body.sp-lower-footer-active .sp-newsletter-inner h3,
body.sp-lower-footer-active .sp-reviews-heading {
  margin: 0;
  color: var(--sp-lower-ink);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 600;
}

body.sp-lower-footer-active .sp-newsletter-inner > p {
  max-width: 56ch;
  margin: 8px auto 20px;
  color: var(--sp-lower-muted);
  font-size: 15.5px;
}

body.sp-lower-footer-active .sp-newsletter-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

body.sp-lower-footer-active .sp-newsletter-email {
  flex: 1 1 320px;
  width: auto;
  max-width: 400px;
  margin: 0;
  padding: 13px 20px;
  border: 1.6px solid var(--sp-lower-line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--sp-lower-ink);
  box-shadow: none;
}

body.sp-lower-footer-active .sp-newsletter-submit {
  margin: 0;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--sp-lower-pink);
  color: #fff;
  font-weight: 600;
}

body.sp-lower-footer-active .sp-homepage-reviews-section {
  margin: 34px 0 0;
  padding: 0;
  border: 0;
}

body.sp-lower-footer-active .sp-reviews-heading {
  margin-bottom: 18px;
  text-align: left;
}

/* Sitewide footer, matching the approved prototype while retaining live data and controls. */
body.sp-lower-footer-active .site-footer {
  position: relative;
  margin: 0;
  padding: 52px 0 0;
  border-radius: 16px 16px 0 0;
  background: var(--sp-lower-blue-800);
  color: #fff;
}

body.sp-lower-footer-active .site-footer > .col-full {
  width: 90%;
  max-width: var(--sp-lower-content-max);
  margin: 0 auto;
  padding: 0;
}

body.sp-lower-footer-active .sp-lower-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

body.sp-lower-footer-active .sp-lower-footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

body.sp-lower-footer-active .sp-lower-footer-brand__logo {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: var(--sp-lower-radius);
  background: #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .14);
}

body.sp-lower-footer-active .sp-lower-footer-brand__logo img {
  display: block;
  width: 150px;
  height: auto;
}

body.sp-lower-footer-active .sp-lower-footer-brand p {
  max-width: 34ch;
  margin: 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.55;
}

body.sp-lower-footer-active .sp-lower-footer-social {
  display: flex;
  gap: 10px;
}

body.sp-lower-footer-active .sp-lower-footer-social a {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  text-decoration: none;
  transition: background .2s var(--sp-lower-ease), transform .2s var(--sp-lower-ease), border-color .2s var(--sp-lower-ease);
}

body.sp-lower-footer-active .sp-lower-footer-social a:hover,
body.sp-lower-footer-active .sp-lower-footer-social a:focus-visible {
  border-color: var(--sp-lower-pink);
  background: var(--sp-lower-pink);
  color: #fff;
  transform: translateY(-3px);
}

body.sp-lower-footer-active .sp-lower-footer-social svg {
  width: 18px;
  height: 18px;
}

body.sp-lower-footer-active .sp-lower-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 26px;
  margin: 0;
  padding: 38px 0;
}

body.sp-lower-footer-active .sp-lower-footer-col {
  min-width: 0;
  margin: 0;
}

body.sp-lower-footer-active .sp-lower-footer-title {
  position: relative;
  display: block;
  margin: 0 0 16px !important;
  padding: 0 0 10px !important;
  color: #fff;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.4;
}

body.sp-lower-footer-active .sp-lower-footer-title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--sp-lower-pink);
  content: "";
}

body.sp-lower-footer-active .site-footer p,
body.sp-lower-footer-active .site-footer li,
body.sp-lower-footer-active .site-footer dd,
body.sp-lower-footer-active .site-footer a {
  color: #fff;
  font-size: 15px;
  line-height: 1.65;
}

body.sp-lower-footer-active .site-footer a {
  text-decoration-color: rgba(255, 255, 255, .45);
  text-underline-offset: 3px;
}

body.sp-lower-footer-active .sp-lower-footer-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.sp-lower-footer-active .sp-lower-footer-links li {
  margin: 0;
  padding: 0;
}

body.sp-lower-footer-active .sp-lower-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  font-weight: 500;
  text-decoration: none;
  transition: color .18s var(--sp-lower-ease), transform .18s var(--sp-lower-ease);
}

body.sp-lower-footer-active .sp-lower-footer-links a::before {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  content: "";
  transition: background .18s var(--sp-lower-ease), transform .18s var(--sp-lower-ease);
}

body.sp-lower-footer-active .sp-lower-footer-links a:hover,
body.sp-lower-footer-active .sp-lower-footer-links a:focus-visible {
  color: #fff;
  transform: translateX(3px);
}

body.sp-lower-footer-active .sp-lower-footer-links a:hover::before,
body.sp-lower-footer-active .sp-lower-footer-links a:focus-visible::before {
  background: var(--sp-lower-pink);
  transform: scale(1.6);
}

body.sp-lower-footer-active .sp-lower-contact {
  margin: 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.75;
}

body.sp-lower-footer-active .sp-lower-contact dt {
  margin: 12px 0 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.45;
  text-transform: uppercase;
  opacity: .95;
}

body.sp-lower-footer-active .sp-lower-contact dt:first-child {
  margin-top: 0;
}

body.sp-lower-footer-active .sp-lower-contact dd {
  margin: 0;
}

body.sp-lower-footer-active .sp-lower-contact dd a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .45);
  text-underline-offset: 3px;
}

body.sp-lower-footer-active .sp-lower-footer-pay {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 68px));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.sp-lower-footer-active .sp-lower-footer-pay li {
  display: grid;
  height: 46px;
  margin: 0;
  padding: 6px 7px;
  place-items: center;
  border-radius: var(--sp-lower-radius);
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .12);
  transition: transform .2s var(--sp-lower-ease);
}

body.sp-lower-footer-active .sp-lower-footer-pay li:hover {
  transform: translateY(-2px);
}

body.sp-lower-footer-active .sp-lower-footer-pay img {
  display: block;
  width: 50px;
  max-width: 100%;
  height: 33px;
  object-fit: contain;
}

body.sp-lower-footer-active .sp-lower-footer-pay-note {
  margin: 14px 0 0 !important;
  color: #fff;
  font-size: 13.5px !important;
}

body.sp-lower-footer-active .site-footer .sp-lower-cookie-settings {
  display: inline-flex;
  margin-top: 18px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

body.sp-lower-footer-active .site-footer .sp-lower-cookie-settings .brlbs-cmpnt-btn {
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
  font: inherit;
  line-height: inherit;
}

body.sp-lower-footer-active .site-footer .sp-wr-footer {
  display: flex;
  justify-content: center;
  padding: 8px 0 30px;
}

body.sp-lower-footer-active .site-footer .sp-wr-footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--sp-lower-blue-900) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .18);
  transition: background .2s var(--sp-lower-ease), color .2s var(--sp-lower-ease), transform .2s var(--sp-lower-ease);
}

body.sp-lower-footer-active .site-footer .sp-wr-footer__btn:hover,
body.sp-lower-footer-active .site-footer .sp-wr-footer__btn:focus-visible {
  background: var(--sp-lower-pink);
  color: #fff !important;
  transform: translateY(-2px);
}

body.sp-lower-footer-active .sp-lower-footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 14px;
}

body.sp-lower-footer-active .sp-lower-footer-bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

body.sp-lower-footer-active .sp-lower-footer-bar a {
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .35);
  text-underline-offset: 3px;
}

body.sp-lower-footer-active .sp-lower-footer-bar a:hover,
body.sp-lower-footer-active .sp-lower-footer-bar a:focus-visible {
  color: #fff;
  text-decoration-color: var(--sp-lower-pink);
}

@media (max-width: 1199px) {
  body.sp-lower-home-active .site-main > .storefront-product-section:not(.storefront-product-categories):not(.storefront-blog) .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  body.sp-lower-home-active .storefront-product-categories .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  body.sp-lower-footer-active .sp-faq-categories-row {
    grid-template-columns: 1fr;
  }

  body.sp-lower-footer-active .sp-lower-footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.sp-lower-home-active .site-main > .storefront-product-section {
    display: block !important;
    visibility: visible !important;
  }

  body.sp-lower-home-active .sp-lower-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-right: 16px;
    margin-left: 16px;
  }

  body.sp-lower-home-active .site-main > .storefront-product-section:not(.storefront-product-categories):not(.storefront-blog) .woocommerce ul.products,
  body.sp-lower-home-active .storefront-product-categories .woocommerce ul.products {
    gap: 14px;
    padding: 0 16px !important;
  }

  body.sp-lower-home-active .site-main > .storefront-product-section:not(.storefront-product-categories):not(.storefront-blog) .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.sp-lower-home-active .sp-lower-price-note {
    margin-right: 16px !important;
    margin-left: 16px !important;
  }

  body.sp-lower-home-active .sp-lower-product-m2 {
    font-size: 12px;
  }

  body.sp-lower-home-active .site-main > .storefront-product-section:not(.storefront-product-categories):not(.storefront-blog) li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
  }

  body.sp-lower-home-active .site-main > .storefront-product-section:not(.storefront-product-categories):not(.storefront-blog) li.product .price {
    font-size: 16.5px !important;
  }

  body.sp-lower-home-active .storefront-blog {
    grid-template-columns: 1fr;
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  body.sp-lower-home-active .storefront-blog > .sp-lower-section-head {
    margin-right: 0;
    margin-left: 0;
  }

  body.sp-lower-footer-active .sfb-footer-bar {
    display: block !important;
    visibility: visible !important;
  }

  body.sp-lower-footer-active .sfb-footer-bar > .col-full,
  body.sp-lower-footer-active .site-footer > .col-full {
    width: auto;
    margin-right: 16px;
    margin-left: 16px;
  }

  body.sp-lower-footer-active .sp-newsletter-email,
  body.sp-lower-footer-active .sp-newsletter-submit {
    width: 100%;
    max-width: none;
  }

  body.sp-lower-footer-active .sp-newsletter-email {
    flex: 0 0 50px;
    height: 50px;
    min-height: 50px;
  }

  body.sp-lower-footer-active .site-footer {
    border-radius: 12px 12px 0 0;
  }

  body.sp-lower-footer-active .sp-lower-footer-top,
  body.sp-lower-footer-active .sp-lower-footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  body.sp-lower-footer-active .sp-lower-footer-cols {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  body.sp-lower-footer-active .sp-lower-footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 559px) {
  body.sp-lower-home-active .storefront-product-categories .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 359px) {
  body.sp-lower-home-active .site-main > .storefront-product-section:not(.storefront-product-categories):not(.storefront-blog) .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.sp-lower-home-active *,
  body.sp-lower-home-active *::before,
  body.sp-lower-home-active *::after,
  body.sp-lower-footer-active .site-footer *,
  body.sp-lower-footer-active .sfb-footer-bar * {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

/* Storefront gives .price ins a margin-left of .618em to separate it from
   del in the theme's del-then-ins order; these cards reorder ins first
   (order:1), so that margin indented the sale price ~11px against the title
   and the m² line (Niko, 17 Aug). Scoped to the same sections as the
   reordering rule. */
body.sp-lower-home-active .site-main > .storefront-product-section:not(.storefront-product-categories):not(.storefront-blog) li.product .price ins {
  margin-left: 0 !important;
}
