/* FAEL shop — product catalog & detail pages */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Portfolio layout (2 Agotec PVC lines) */
body.theme-fael .fael-shop--portfolio {
  padding: 0 0 3.5rem;
}

body.theme-fael .fael-shop-portfolio__head {
  max-width: 42rem;
  margin-bottom: 2rem;
}

body.theme-fael .fael-shop-portfolio__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.theme-fael .fael-shop-portfolio__lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

body.theme-fael .fael-partners-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--fael-radius-md);
  background: var(--surface-2);
}

body.theme-fael .fael-partners-strip__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

body.theme-fael .fael-partners-strip__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

body.theme-fael .fael-partners-strip__name {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--fael-black);
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--fael-radius);
  background: #fff;
}

body.theme-fael .fael-shop-grid--portfolio {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  body.theme-fael .fael-shop-grid--portfolio {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.theme-fael .fael-shop-portfolio__note {
  margin: 2rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 40rem;
}

body.theme-fael .fael-shop {
  padding: 0 0 3rem;
  background: var(--surface);
}

body.theme-fael .fael-shop__layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  body.theme-fael .fael-shop__layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 2.5rem;
  }
}

/* Sidebar filters */
body.theme-fael .fael-shop-filter {
  position: sticky;
  top: calc(var(--header-sticky-h, 64px) + 1rem);
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--fael-radius-md);
  background: var(--surface);
}

body.theme-fael .fael-shop-filter__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

body.theme-fael .fael-shop-filter__group + .fael-shop-filter__group {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

body.theme-fael .fael-shop-filter__label {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

body.theme-fael .fael-shop-filter__chips {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

body.theme-fael .fael-shop-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  text-align: left;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: var(--fael-radius);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

body.theme-fael .fael-shop-chip span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

body.theme-fael .fael-shop-chip:hover {
  border-color: var(--line);
  background: #fff;
}

body.theme-fael .fael-shop-chip.is-active {
  background: var(--fael-red);
  color: #ffffff;
  border-color: var(--fael-red);
}

body.theme-fael .fael-shop-chip.is-active span {
  color: rgba(255, 255, 255, 0.8);
}

body.theme-fael .fael-shop-filter__cta {
  width: 100%;
  margin-top: 1.35rem;
  text-align: center;
}

/* Featured row */
body.theme-fael .fael-shop-featured {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

body.theme-fael .fael-shop-featured__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fael-red);
}

body.theme-fael .fael-shop-featured__head h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.theme-fael .fael-shop-featured__row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* Toolbar */
body.theme-fael .fael-shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

body.theme-fael .fael-shop-toolbar__count {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

body.theme-fael .fael-shop-toolbar__sort select {
  padding: 0.45rem 2rem 0.45rem 0.75rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

/* Product grid */
body.theme-fael .fael-shop-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

body.theme-fael .fael-shop-grid--related {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

body.theme-fael .fael-shop__empty {
  margin: 2rem 0 0;
  text-align: center;
  color: var(--muted);
}

/* Product card */
body.theme-fael .fael-shop-card {
  height: 100%;
}

body.theme-fael .fael-shop-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: var(--fael-radius-md);
  background: #fff;
  overflow: hidden;
}

body.theme-fael .fael-shop-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f4f4f4;
}

body.theme-fael .fael-shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.theme-fael .fael-shop-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.3rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--fael-red);
  color: #ffffff;
  border-radius: var(--fael-radius);
}

body.theme-fael .fael-shop-card__quick {
  position: absolute;
  inset: auto 0 0;
  padding: 0.65rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  text-align: center;
  color: #fff;
  background: rgba(227, 6, 19, 0.92);
}

body.theme-fael .fael-shop-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.15rem 1.2rem;
  gap: 0.35rem;
}

body.theme-fael .fael-shop-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

body.theme-fael .fael-shop-card__brand {
  padding: 0.2rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--fael-red-soft);
  color: var(--fael-red);
  border-radius: var(--fael-radius);
}

body.theme-fael .fael-shop-card__cat {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

body.theme-fael .fael-shop-card__title {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

body.theme-fael .fael-shop-card__spec {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

body.theme-fael .fael-shop-card__desc {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.theme-fael .fael-shop-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

body.theme-fael .fael-shop-card__price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

body.theme-fael .fael-shop-card__cta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fael-red);
  white-space: nowrap;
}

/* —— Product detail —— */
body.theme-fael .fael-shop-detail {
  padding: 1.5rem 0 3rem;
}

body.theme-fael .fael-shop-detail__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}

body.theme-fael .fael-shop-detail__back-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

body.theme-fael .fael-shop-detail__back-link:hover {
  color: var(--fael-red);
}

body.theme-fael .fael-shop-detail__back {
  margin-top: 2rem;
}

body.theme-fael .fael-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--muted);
}

body.theme-fael .fael-breadcrumb a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

body.theme-fael .fael-breadcrumb a:hover {
  color: var(--fael-red);
}

body.theme-fael .fael-shop-detail__grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  body.theme-fael .fael-shop-detail__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
  }
}

body.theme-fael .fael-shop-detail__stage {
  border: 1px solid var(--line);
  border-radius: var(--fael-radius-md);
  background: #f8f8f8;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

body.theme-fael .fael-shop-detail__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
}

body.theme-fael .fael-shop-detail__stage img.is-fading {
  opacity: 0.35;
}

body.theme-fael .fael-shop-detail__thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

body.theme-fael .fael-shop-detail__thumb {
  flex: 1;
  max-width: 160px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--fael-radius);
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s;
}

body.theme-fael .fael-shop-detail__thumb:hover {
  border-color: var(--fael-red);
}

body.theme-fael .fael-shop-detail__thumb:focus-visible {
  outline: 2px solid var(--fael-red);
  outline-offset: 2px;
}

body.theme-fael .fael-shop-detail__thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

body.theme-fael .fael-shop-detail__thumb span {
  display: block;
  padding: 0.35rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.theme-fael .fael-shop-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

body.theme-fael .fael-shop-detail__brand {
  padding: 0.25rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--fael-red-soft);
  color: var(--fael-red);
  border-radius: var(--fael-radius);
}

body.theme-fael .fael-shop-detail__cat {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  align-self: center;
}

body.theme-fael .fael-shop-detail__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

body.theme-fael .fael-shop-detail__spec {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fael-red);
}

body.theme-fael .fael-shop-detail__lead {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  max-width: 52ch;
}

body.theme-fael .fael-shop-detail__highlights {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

body.theme-fael .fael-shop-detail__highlights li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.35rem;
  font-size: 0.92rem;
  line-height: 1.45;
  border-bottom: 1px solid var(--line);
}

body.theme-fael .fael-shop-detail__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  background: var(--fael-red);
  border-radius: 0;
}

body.theme-fael .fael-shop-detail__buybox {
  padding: 1.35rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--fael-red);
  border-radius: var(--fael-radius-md);
  background: var(--surface-2);
}

body.theme-fael .fael-shop-detail__price-label {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

body.theme-fael .fael-shop-detail__price {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fael-red);
}

body.theme-fael .fael-shop-detail__price-note {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}

body.theme-fael .fael-shop-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

body.theme-fael .fael-shop-detail__facts {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

body.theme-fael .fael-shop-detail__facts > div {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

body.theme-fael .fael-shop-detail__facts dt {
  margin: 0;
  font-weight: 600;
  color: var(--muted);
}

body.theme-fael .fael-shop-detail__facts dd {
  margin: 0;
  font-weight: 600;
}

body.theme-fael .fael-shop-detail__thumb.is-active {
  border-color: var(--fael-red);
  box-shadow: inset 0 0 0 1px var(--fael-red);
}

body.theme-fael .fael-shop-detail__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

body.theme-fael .fael-shop-detail__trust li {
  padding: 0.3rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--fael-radius);
}

body.theme-fael .fael-shop-detail__specs {
  margin-bottom: 1.5rem;
}

body.theme-fael .fael-shop-detail__specs-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

body.theme-fael .fael-shop-detail__specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
}

@media (min-width: 640px) {
  body.theme-fael .fael-shop-detail__specs-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

body.theme-fael .fael-shop-detail__spec-item {
  padding: 0.75rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--fael-radius);
  background: #fff;
}

body.theme-fael .fael-shop-detail__spec-item dt {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

body.theme-fael .fael-shop-detail__spec-item dd {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
}

body.theme-fael .fael-shop-related__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fael-red);
}

body.theme-fael .fael-shop-related__lead {
  margin: 0.35rem 0 0;
  max-width: 42rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

body.theme-fael .fael-shop-related__head {
  margin-bottom: 1.25rem;
}

body.theme-fael .fael-shop-related__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
}

body.theme-fael .fael-shop-detail__sticky {
  position: fixed;
  left: 0;
  right: 0;
  /* Sit above the Offerte/Chat bottom dock so both stay usable */
  bottom: calc(var(--bottom-dock-h, 3rem) + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  padding: 0.65rem 0;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(calc(100% + var(--bottom-dock-h, 3rem) + env(safe-area-inset-bottom, 0px)));
  transition: transform 0.25s ease;
}

body.theme-fael .fael-shop-detail__sticky.is-visible {
  transform: translateY(0);
}

body.theme-fael .fael-shop-detail__sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

body.theme-fael .fael-shop-detail__sticky-label {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  min-width: 0;
}

body.theme-fael .fael-shop-detail__sticky-label strong {
  display: block;
  font-size: 0.92rem;
}

body.theme-fael .fael-shop-detail__sticky-label span {
  color: var(--muted);
}

body.theme-fael .fael-shop-detail__sticky .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (min-width: 900px) {
  body.theme-fael .fael-shop-detail__sticky {
    display: none !important;
  }
}

@media (max-width: 959px) {
  body.theme-fael .fael-shop-filter {
    position: static;
  }

  body.theme-fael .fael-shop-filter__chips {
    flex-direction: row;
    flex-wrap: wrap;
  }

  body.theme-fael .fael-shop-chip {
    width: auto;
    flex: 1 1 auto;
  }
}
