/* Filters page preview — extends suction-bag-page.css. Preview only. */
.page-filters { --flt-banner-h: 0px; }
.page-filters .flt-banner {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  background: var(--surface, #e8f3f3);
  color: var(--ink, #10292b);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
  padding: 7px 16px;
  min-height: var(--flt-banner-h);
  box-shadow: 0 1px 0 rgba(6, 97, 99, .08);
}
@media (max-width: 700px) {
  .page-filters { --flt-banner-h: 0px; }
  .page-filters .flt-banner { font-size: 12px; padding: 6px 12px; }
}
/* Sit under the preview banner. Over the dark film the header stays
   transparent with white ink (same ABADIS_BAG_FILM_HEADER contract as the
   bag page). Solid fill is applied only once .past-hero / .scrolled. */
.page-filters .header {
  top: var(--flt-banner-h);
}

.page-filters .bag-sub {
  top: calc(var(--bag-sticky-top, 64px) + var(--flt-banner-h));
}
.page-filters .flt-pick {
  top: calc(var(--bag-sticky-top, 64px) + var(--flt-banner-h) + 58px);
}
.page-filters .flt-section,
.page-filters .flt-compare {
  scroll-margin-top: calc(var(--bag-anchor-pad, 140px) + var(--flt-banner-h));
}

/* Vertical product switcher beside stacked sections */
.flt-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding-top: 8px;
}
.flt-pick {
  display: none;
}
@media (min-width: 980px) {
  .flt-stage {
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: start;
    padding-inline: 24px 0;
    max-width: 1280px;
    margin-inline: auto;
  }
  .flt-pick {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: sticky;
    top: calc(var(--bag-sticky-top, 64px) + var(--flt-banner-h, 0px) + 58px);
    align-self: start;
    margin: 32px 8px 32px 0;
    z-index: 5;
  }
  .flt-pick .flt-pick-btn {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 100%;
    text-align: start;
    background: transparent;
    border: 0;
    border-radius: 16px;
    padding: 12px 14px;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
  }
  .flt-pick .flt-pick-btn strong {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 800;
  }
  .flt-pick .flt-pick-btn em {
    display: block;
    font-style: normal;
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
    font-family: inherit;
  }
  .flt-pick .flt-pick-btn[aria-current="true"] {
    background: var(--surface);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  }
  .flt-pick .flt-pick-btn[aria-current="true"] strong {
    color: var(--brand, #066163);
  }
  .flt-pick .flt-pick-btn:focus-visible {
    outline: 2px solid var(--brand, #0e7475);
    outline-offset: 2px;
  }
  .page-filters .flt-stage .wrap {
    padding-inline: 28px 48px;
  }
}

.flt-section {
  padding: 56px 0 24px;
  scroll-margin-top: calc(var(--bag-anchor-pad, 140px) + var(--flt-banner-h, 0px));
}
.flt-section:nth-child(even) {
  background: color-mix(in srgb, var(--surface, #e8f3f3) 55%, transparent);
}
.page-filters .flt-kicker {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted, #5b7374);
  font-weight: 700;
}
.page-filters .flt-section h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  font-weight: 800;
}
.page-filters .flt-section h3 {
  margin: 36px 0 12px;
  font-size: 20px;
  font-weight: 800;
}
.page-filters .flt-intro p,
.page-filters .flt-life p {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.9;
  max-width: 68ch;
}
.flt-viewer {
  margin: 28px 0 8px;
}
.solid-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  max-width: 820px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 40%, #1a2a30 0%, #0a1216 70%);
  touch-action: pan-y;
}
[data-theme="light"] .solid-frame {
  background: radial-gradient(120% 90% at 50% 42%, #eef6f6 0%, #d8e8e8 70%);
}
[data-theme="noir"] .solid-frame {
  background: radial-gradient(120% 90% at 50% 40%, #1c1730 0%, #0c0a14 70%);
}
.solid-frame .solid-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.solid-frame .solid-still-dark { display: none; }
[data-theme="dark"] .solid-frame .solid-still-light,
[data-theme="noir"] .solid-frame .solid-still-light { display: none !important; }
[data-theme="dark"] .solid-frame .solid-still-dark,
[data-theme="noir"] .solid-frame .solid-still-dark { display: block !important; }
.solid-frame canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  touch-action: pan-y;
}
.solid-frame.is-live canvas { touch-action: none; }
.solid-frame:not(.is-live) canvas { visibility: hidden; }
.solid-frame.is-live .solid-still,
.solid-frame.is-live .solid-load { display: none !important; }
.solid-load {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 2;
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  min-height: 44px;
  font: 700 14px inherit;
  background: #0e7475;
  color: #fff;
  cursor: pointer;
}
.solid-frame.is-loading .solid-load { opacity: .6; pointer-events: none; }
.solid-frame.is-still-only .solid-load { display: none !important; }
.solid-caption {
  margin: 10px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.page-filters .gal-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f4f8f8;
}
[data-theme="dark"] .page-filters .gal-frame img,
[data-theme="noir"] .page-filters .gal-frame img {
  background: #0c2224;
}
.page-filters .gal-card.gal-contain .gal-frame,
.page-filters .gal-card.gal-diagram .gal-frame {
  background: #f4f8f8;
}

.flt-compare {
  padding: 64px 0 40px;
  scroll-margin-top: calc(var(--bag-anchor-pad, 140px) + var(--flt-banner-h, 0px));
}
.flt-compare h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
}
.page-filters .compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 20px;
}
.page-filters .compare-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 15px;
  line-height: 1.75;
}
.page-filters .compare-table th,
.page-filters .compare-table td {
  padding: 12px 10px;
  text-align: start;
  vertical-align: top;
  box-shadow: 0 1px 0 rgba(6, 97, 99, .08);
  background: transparent;
  border: 0;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}
.page-filters .compare-table thead th {
  font-weight: 800;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.page-filters .compare-table tbody th {
  font-weight: 800;
  white-space: normal;
  min-width: 8.5rem;
  max-width: 11rem;
}
.page-filters .compare-table th:nth-child(6),
.page-filters .compare-table td:nth-child(6),
.page-filters .compare-table th:nth-child(7),
.page-filters .compare-table td:nth-child(7) { white-space: nowrap; }
.page-filters .compare-table tbody th,
.page-filters .compare-table tbody th a,
.page-filters .compare-table a {
  color: var(--ink, #10292b);
  font-weight: 800;
  text-decoration: none;
}
[data-theme="dark"] .page-filters .compare-table tbody th,
[data-theme="noir"] .page-filters .compare-table tbody th,
[data-theme="dark"] .page-filters .compare-table tbody th a,
[data-theme="noir"] .page-filters .compare-table tbody th a,
[data-theme="dark"] .page-filters .compare-table a,
[data-theme="noir"] .page-filters .compare-table a {
  color: var(--ink, #e8f3f3);
}
.page-filters .compare-table a:hover { color: var(--brand, #066163); }
.page-filters .compare-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}


/* Soft, borderless product blocks — no card frames */
.page-filters .bag-block,
.page-filters .flt-section,
.page-filters .flt-compare,
.page-filters .benefit-card,
.page-filters .pack-table,
.page-filters .code-table,
.page-filters .gal-card,
.page-filters .iso-frame,
.page-filters .solid-frame {
  outline: none;
  border: 0;
}

/* Solid header once the cinematic is off-screen, so content does not show through. */
.page-filters .header.past-hero,
.page-filters .header.scrolled {
  color: var(--header-ink, #10292b);
  background: var(--bg, #f3f7f7);
}
.page-filters .header.past-hero::before,
.page-filters .header.scrolled::before {
  opacity: 1;
  inset: 0;
  background: var(--bg, #f3f7f7);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
[data-theme="dark"] .page-filters .header.past-hero,
[data-theme="noir"] .page-filters .header.past-hero,
[data-theme="dark"] .page-filters .header.scrolled,
[data-theme="noir"] .page-filters .header.scrolled,
[data-theme="dark"] .page-filters .header.past-hero::before,
[data-theme="noir"] .page-filters .header.past-hero::before,
[data-theme="dark"] .page-filters .header.scrolled::before,
[data-theme="noir"] .page-filters .header.scrolled::before {
  background: var(--bg, #071314);
  color: var(--header-ink, #e8f3f3);
}

@media (max-width: 800px) {
  .page-filters .compare-wrap { overflow: visible; margin-top: 8px; }
  .page-filters .compare-table,
  .page-filters .compare-table thead,
  .page-filters .compare-table tbody,
  .page-filters .compare-table th,
  .page-filters .compare-table td {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: none;
    white-space: normal;
  }
  .page-filters .compare-table thead { position: absolute; inset-inline-start: -9999px; height: 0; overflow: hidden; }
  .page-filters .compare-table tr {
    margin: 0 0 28px;
    padding: 8px 0 20px;
    box-shadow: 0 1px 0 rgba(6, 97, 99, .12);
  }
  .page-filters .compare-table tbody th {
    font-size: 18px;
    padding: 8px 0 10px;
  }
  .page-filters .compare-table td {
    padding: 8px 0;
    box-shadow: none;
  }
  .page-filters .compare-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 800;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 2px;
  }
}

/* ----- Specs + coding tables -------------------------------------------
   The bag page forces .code-table { min-width: 720px } (560px on small
   screens) for its 6-column liner coding table. This preview is
   page-bag + page-filters, so that min-width hid the «کد کالا» column
   on a 390px phone and broke the table into stacked fragments. A
   2-column filters coding table must fit the viewport as a real table. */
.page-filters .code-table {
  min-width: 0 !important;
  width: 100% !important;
  table-layout: auto;
}
.page-filters .code-table th,
.page-filters .code-table td {
  position: static !important;
  left: auto !important;
  right: auto !important;
  box-shadow: none !important;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}
.page-filters .code-table thead th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.page-filters .code-table th:last-child,
.page-filters .code-table td:last-child {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.page-filters .code-table-fade {
  display: none;
}

.page-filters .pack-table {
  min-width: 0 !important;
  width: 100%;
}
.page-filters .pack-table th {
  width: 42%;
  max-width: 16rem;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}
@media (max-width: 720px) {
  .page-filters .pack-table,
  .page-filters .pack-table tbody,
  .page-filters .pack-table tr,
  .page-filters .pack-table th,
  .page-filters .pack-table td {
    display: block;
    width: 100%;
    max-width: none;
  }
  .page-filters .pack-table th {
    width: 100%;
    padding-bottom: 0;
    border-bottom: 0;
  }
  .page-filters .pack-table td {
    padding-top: 4px;
    padding-bottom: 12px;
  }
  .page-filters .pack-table tr {
    box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 8%, transparent);
  }
  .page-filters .pack-table tr:last-child {
    box-shadow: none;
  }
  .page-filters .pack-table tr:last-child td { border-bottom: 0; }
}
