/* =========================================================
   ALL PRODUCTS PAGE
   ========================================================= */

.all-products-page {
  --products-blue: #0058a9;
  --products-blue-dark: #003f7e;
  --products-red: #e11b22;
  --products-ink: #0f1b34;
  --products-muted: #5a667a;
  --products-border: #d7e2ee;

  color: var(--products-ink);
  background: #f5f7fa;
}

.all-products-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #d9e4ef;
  background:
    radial-gradient(
      circle at 82% 28%,
      rgba(0, 88, 169, 0.11),
      transparent 22%
    ),
    linear-gradient(180deg, #eef4fb 0%, #edf3fa 100%);
}

.all-products-hero__background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-radial-gradient(
      ellipse at 58% -30%,
      transparent 0 52px,
      rgba(0, 88, 169, 0.045) 53px 55px
    );
}

.all-products-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(320px, 0.9fr);
  gap: 2rem;
  align-items: center;
  min-height: 430px;
  padding: 2.8rem 0 2.6rem;
}

.all-products-hero__content {
  max-width: 690px;
}

.all-products-hero__eyebrow {
  margin: 0 0 1rem;
  color: var(--products-blue);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.all-products-hero h1 {
  margin: 0;
  color: #081732;
  font-size: clamp(3rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.all-products-hero h1 span {
  display: block;
}

.all-products-hero__lead {
  max-width: 660px;
  margin: 1.35rem 0 0;
  color: #455468;
  font-size: 1.15rem;
  line-height: 1.7;
}

.all-products-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.8rem;
}

.all-products-benefit {
  display: flex;
  min-width: 190px;
  align-items: center;
  gap: 0.75rem;
}

.all-products-benefit__icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  color: var(--products-blue);
  font-size: 1.1rem;
  font-weight: 800;
  border: 1px solid #c7d8ea;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(0, 88, 169, 0.08);
}

.all-products-benefit strong,
.all-products-benefit small {
  display: block;
}

.all-products-benefit strong {
  font-size: 1rem;
  line-height: 1.25;
}

.all-products-benefit small {
  margin-top: 0.12rem;
  color: var(--products-muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.all-products-hero__visual {
  position: relative;
  min-height: 345px;
}

.all-products-hero__image-glow {
  position: absolute;
  right: 7%;
  bottom: 5%;
  width: 340px;
  height: 220px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(0, 88, 169, 0.12),
      rgba(0, 88, 169, 0) 72%
    );
  filter: blur(12px);
}

.all-products-hero__image {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: min(88%, 360px);
  max-height: 360px;
  object-fit: contain;
  filter:
    drop-shadow(0 22px 22px rgba(24, 47, 73, 0.18));
}

.all-products-section {
  padding: 0 0 4rem;
}

.all-products-filter-panel {
  display: grid;
  grid-template-columns:
    minmax(0, 0.8fr)
    minmax(360px, 1.2fr);
  gap: 1.75rem;
  align-items: center;
  margin-top: 0.2rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--products-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(19, 50, 87, 0.06);
}

.all-products-filter-panel__heading {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.all-products-filter-panel__icon {
  display: inline-flex;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  align-items: center;
  justify-content: center;
  color: var(--products-blue);
  font-size: 1.4rem;
  font-weight: 800;
  border-radius: 999px;
  background: #e9f1fb;
}

.all-products-filter-panel h2 {
  margin: 0;
  color: #0d1832;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.2;
}

.all-products-filter-panel p {
  margin: 0.35rem 0 0;
  color: var(--products-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.all-products-filter-panel__controls {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.all-products-filter-panel__control label {
  display: block;
  margin-bottom: 0.5rem;
  color: #23334c;
  font-size: 0.95rem;
  font-weight: 700;
}

.all-products-filter-panel__control select {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 1rem;
  color: #0f1d34;
  font: inherit;
  font-size: 1rem;
  border: 2px solid #7fb1e5;
  border-radius: 10px;
  outline: none;
  background: #fff;
}

.all-products-filter-panel__control select:focus {
  border-color: var(--products-blue);
  box-shadow:
    0 0 0 4px rgba(0, 88, 169, 0.12);
}

.all-products-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 1rem 0 0.8rem;
  overflow: hidden;
  border: 1px solid #d6e2ee;
  border-radius: 14px;
  background: #edf4fb;
}

.all-products-trust-strip__item {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-right: 1px solid #d6e2ee;
}

.all-products-trust-strip__item:last-child {
  border-right: 0;
}

.all-products-trust-strip__item > span {
  flex: 0 0 auto;
  color: var(--products-blue);
  font-size: 1.15rem;
  font-weight: 800;
}

.all-products-trust-strip__item strong,
.all-products-trust-strip__item small {
  display: block;
}

.all-products-trust-strip__item strong {
  color: #0d1a33;
  font-size: 0.98rem;
  line-height: 1.2;
}

.all-products-trust-strip__item small {
  margin-top: 0.15rem;
  color: var(--products-muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.all-products-results-hint {
  min-height: 1.25rem;
  margin: 0.8rem 0 1rem;
  color: var(--products-muted);
  font-size: 0.95rem;
  text-align: right;
}

.all-products-grid {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.all-products-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #dbe4ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(22, 46, 76, 0.06);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.all-products-card:hover,
.all-products-card:focus-visible {
  transform: translateY(-4px);
  border-color: #bdd0e4;
  box-shadow: 0 14px 30px rgba(22, 46, 76, 0.12);
}

.all-products-card:focus-visible {
  outline: 3px solid rgba(0, 88, 169, 0.18);
  outline-offset: 2px;
}

.all-products-card__image-wrap {
  display: flex;
  min-height: 225px;
  align-items: center;
  justify-content: center;
  padding: 1.3rem 1rem 0.8rem;
  background:
    linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
}

.all-products-card__image-wrap img {
  width: 100%;
  max-width: 190px;
  height: 190px;
  object-fit: contain;
}

.all-products-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem 1rem 1.15rem;
}

.all-products-card__category {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.55rem;
  padding: 0.3rem 0.55rem;
  color: var(--products-blue);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  border-radius: 999px;
  background: #edf4fb;
}

.all-products-card h3 {
  margin: 0;
  color: #142136;
  font-size: 0.97rem;
  font-weight: 800;
  line-height: 1.38;
  text-align: left;
}

.all-products-card__description {
  margin: 0.65rem 0 0;
  color: #596678;
  font-size: 0.86rem;
  line-height: 1.65;
  text-align: left;
}

.all-products-card__footer {
  margin-top: auto;
  padding-top: 1rem;
}

.all-products-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
}

.all-products-card__old-price {
  color: #7b8490;
  font-size: 1.1rem;
  text-decoration: line-through;
}

.all-products-card__sale-price {
  color: var(--products-red);
  font-size: 1.1rem;
  font-weight: 800;
}

.all-products-card__call-price {
  color: #111827;
  font-size: 0.98rem;
  font-weight: 700;
}

.all-products-grid__empty {
  grid-column: 1 / -1;
  margin: 1rem 0;
  padding: 2rem;
  color: var(--products-muted);
  text-align: center;
  border: 1px dashed #cdd7e3;
  border-radius: 12px;
  background: #fff;
}

@media (max-width: 1100px) {
  .all-products-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

  .all-products-hero__grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(280px, 0.8fr);
  }
}

@media (max-width: 900px) {
  .all-products-filter-panel {
    grid-template-columns: 1fr;
  }

  .all-products-trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .all-products-hero__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: auto;
    padding: 2.25rem 0 1.5rem;
    text-align: center;
  }

  .all-products-hero h1 {
    font-size: 3rem;
  }

  .all-products-hero__lead {
    font-size: 1.22rem;
    line-height: 1.85;
  }

  .all-products-benefits {
    justify-content: center;
  }

  .all-products-benefit {
    min-width: min(100%, 320px);
    justify-content: flex-start;
    text-align: left;
  }

  .all-products-benefit strong {
    font-size: 1.08rem;
  }

  .all-products-benefit small {
    font-size: 0.92rem;
  }

  .all-products-hero__visual {
    min-height: 310px;
  }

  .all-products-hero__image {
    right: 50%;
    width: min(82%, 330px);
    max-height: 320px;
    transform: translateX(50%);
  }

  .all-products-filter-panel {
    gap: 1.15rem;
    padding: 1.35rem;
  }

  .all-products-filter-panel__heading {
    align-items: flex-start;
    text-align: left;
  }

  .all-products-filter-panel h2 {
    font-size: 2rem;
  }

  .all-products-filter-panel p {
    font-size: 1.08rem;
  }

  .all-products-filter-panel__controls {
    grid-template-columns: 1fr;
  }

  .all-products-filter-panel__control label,
  .all-products-filter-panel__control select {
    font-size: 1.05rem;
  }

  .all-products-filter-panel__control select {
    min-height: 56px;
  }

  .all-products-trust-strip {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .all-products-trust-strip__item,
  .all-products-trust-strip__item:last-child {
    min-height: 118px;
    flex-direction: column;
    justify-content: center;
    padding: 0.9rem 0.65rem;
    text-align: center;
    border: 1px solid #d6e2ee;
    border-radius: 14px;
    background: #edf4fb;
  }

  .all-products-trust-strip__item > span {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
  }

  .all-products-trust-strip__item strong {
    font-size: 1.12rem;
  }

  .all-products-trust-strip__item small {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .all-products-results-hint {
    font-size: 1rem;
    text-align: left;
  }

  .all-products-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .all-products-card__image-wrap {
    min-height: 240px;
  }

  .all-products-card__image-wrap img {
    max-width: 210px;
    height: 210px;
  }

  .all-products-card__category {
    font-size: 0.76rem;
  }

  .all-products-card h3 {
    font-size: 1.15rem;
  }

  .all-products-card__description {
    font-size: 1rem;
  }

  .all-products-card__old-price,
  .all-products-card__sale-price {
    font-size: 1.28rem;
  }
}

@media (max-width: 560px) {
  .all-products-hero h1 {
    font-size: 2.6rem;
  }

  .all-products-benefits {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 340px);
    margin-right: auto;
    margin-left: auto;
  }

  .all-products-filter-panel h2 {
    font-size: 1.75rem;
  }

  .all-products-grid {
    grid-template-columns: 1fr;
  }

  .all-products-card__image-wrap {
    min-height: 250px;
  }

  .all-products-card__image-wrap img {
    max-width: 225px;
    height: 225px;
  }

  .all-products-card h3 {
    font-size: 1.28rem;
  }

  .all-products-card__description {
    font-size: 1.08rem;
    line-height: 1.72;
  }

  .all-products-card__old-price,
  .all-products-card__sale-price {
    font-size: 1.4rem;
  }
}


/* =========================================================
   NESTED PRODUCT SUBSET DROPDOWN
   ========================================================= */

.all-products-filter-panel__controls {
  grid-template-columns: 1fr;
}

.all-products-filter-panel__control--stacked {
  width: 100%;
}

.all-products-filter-panel__subset {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #dbe5ef;
}

.all-products-filter-panel__subset label {
  display: block;
  margin-bottom: 0.5rem;
  color: #23334c;
  font-size: 0.95rem;
  font-weight: 700;
}

.all-products-filter-panel__subset select {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 1rem;
  color: #0f1d34;
  font: inherit;
  font-size: 1rem;
  border: 2px solid #7fb1e5;
  border-radius: 10px;
  outline: none;
  background: #fff;
}

.all-products-filter-panel__subset select:focus {
  border-color: var(--products-blue);
  box-shadow: 0 0 0 4px rgba(0, 88, 169, 0.12);
}

@media (max-width: 768px) {
  .all-products-filter-panel__subset label {
    font-size: 1.05rem;
  }

  .all-products-filter-panel__subset select {
    min-height: 56px;
    font-size: 1.05rem;
  }
}


/* =========================================================
   ALL PRODUCTS HERO — STACKED MIELE + SEBO LOGOS
   ========================================================= */

.all-products-hero__visual--brands {
  display: flex;
  align-items: center;
  justify-content: center;
}

.all-products-hero__brand-stack {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 390px);
  min-height: 285px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border: 1px solid rgba(0, 88, 169, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 45px rgba(19, 50, 87, 0.10);
  backdrop-filter: blur(8px);
}

.all-products-hero__brand-stack::before {
  content: "";
  position: absolute;
  inset: 12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 88, 169, 0.13),
    rgba(0, 88, 169, 0) 70%
  );
  filter: blur(12px);
}

.all-products-hero__brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(20, 42, 67, 0.08));
}

.all-products-hero__brand-logo--miele {
  max-width: 245px;
  max-height: 95px;
  margin-bottom: -0.25rem;
}

.all-products-hero__brand-logo--sebo {
  max-width: 205px;
  max-height: 92px;
  margin-top: -0.25rem;
}

@media (max-width: 768px) {
  .all-products-hero__visual--brands {
    min-height: 285px;
  }

  .all-products-hero__brand-stack {
    width: min(90%, 350px);
    min-height: 245px;
    padding: 1.5rem;
  }

  .all-products-hero__brand-logo--miele {
    max-width: 220px;
    max-height: 84px;
  }

  .all-products-hero__brand-logo--sebo {
    max-width: 185px;
    max-height: 82px;
  }
}

@media (max-width: 480px) {
  .all-products-hero__visual--brands {
    min-height: 240px;
  }

  .all-products-hero__brand-stack {
    width: min(92%, 310px);
    min-height: 205px;
    padding: 1.25rem;
    border-radius: 22px;
  }

  .all-products-hero__brand-logo--miele {
    max-width: 190px;
    max-height: 72px;
  }

  .all-products-hero__brand-logo--sebo {
    max-width: 160px;
    max-height: 70px;
  }
}