/* ── Level & Flow Products Page — Cristal Instruments ── */

/* Main Title Font - barlow_condensed */
@import url(/wp-content/themes/astra-child/assets/fonts/barlow_condensed/stylesheet.css);

/* Main Body Font - barlow */
@import url(/wp-content/themes/astra-child/assets/fonts/barlow/stylesheet.css);


:root {
  --blue: #0a3d62;
  --blue-d: #072b46;
  --blue-l: #1763a0;
  --red: #c0392b;
  --red-d: #962a1f;
  --ink: #1a242f;
  --text: #3a4654;
  --muted: #6b7889;
  --line: #dfe4ec;
  --line-2: #eef1f6;
  --bg: #ffffff;
  --bg-2: #f5f7fa;
  --bg-3: #eef2f7;
  --yellow: #f4b400;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --display: 'Barlow Condensed';
  --body: "Barlow";
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--display);
}

p,
a,
li,
span {
  font-family: var(--body);
}



/*.page-hero::before {
  background-image: url('https://images.unsplash.com/photo-1650551182956-47efa0f90b64?fm=jpg&auto=format&fit=crop&w=1600&q=80');
}*/
.page-hero .ph-sub {
  margin-bottom: 36px;
}

.ph-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.ph-jump a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .75);
  transition: all .2s;
}

.ph-jump a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.ph-jump a svg {
  width: 12px;
  height: 12px;
  opacity: .6;
}

/* ── PRODUCT SECTIONS ── */
.ps {
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
}

.ps.alt {
  background: var(--bg-2);
}

.ps:last-of-type {
  border-bottom: 0;
}

.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 960px) {
  .ps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.ps-img-wrap {
  position: relative;
}

.ps-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(10, 61, 98, .14);
}

.ps-img-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--red);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.ps-num {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-family: var(--display);
  font-size: 72px;
  font-weight: 800;
  color: rgba(255, 255, 255, .12);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.ps-content h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 64px;
  line-height: 64px;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 6px;
}

.ps-content .ps-cat {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--red);
  margin-bottom: 16px;
  display: block;
}

.ps-rule {
  width: 48px;
  height: 4px;
  background: var(--red);
  border-radius: 999px;
  margin: 16px 0 22px;
}

.ps-lead {
  font-size: 16px;
  color: var(--text);
  line-height: 1.72;
  margin: 0 0 30px;
}

.ps-features {
  margin-bottom: 28px;
}

.ps-features h4 {
  font-family: var(--display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 14px;
}

.ps-feat-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  padding: 0;
  margin: 0;
}

@media (max-width: 540px) {
  .ps-feat-list {
    grid-template-columns: 1fr;
  }
}

.ps-feat-list li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.4;
}

.ps-feat-list li svg {
  flex: none;
  margin-top: 2px;
  color: var(--red);
}

.ps-types {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 30px;
}

.ps-types h4 {
  font-family: var(--display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 14px;
}

.ps-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media (max-width: 540px) {
  .ps-type-grid {
    grid-template-columns: 1fr;
  }
}

.ps-type-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: all .2s;
}

.ps-type-tag:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.ps-type-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  flex: none;
}

.ps-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ps-models {
  margin-bottom: 28px;
}

.ps-models h4 {
  font-family: var(--display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 14px;
}

.ps-model-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}

@media (max-width: 540px) {
  .ps-model-list {
    grid-template-columns: 1fr;
  }
}

.ps-model {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  transition: all .2s;
  cursor: pointer;
}

.ps-model::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  flex: none;
}

.ps-model:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 8px 22px rgba(10, 61, 98, .12);
}

.ps-model-preview {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%) scale(.96);
  transform-origin: bottom center;
  width: 240px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 44px rgba(10, 61, 98, .24);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 30;
  pointer-events: none;
}

.ps-model:hover .ps-model-preview {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

.ps-model-preview::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #fff;
}

.ps-model-preview img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}

.ps-model-preview .pm-cap {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-top: 7px;
  text-align: center;
}

.ps-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  font-size: 13.5px;
}

.ps-spec-table tr {
  border-bottom: 1px solid var(--line-2);
}

.ps-spec-table tr:last-child {
  border-bottom: 0;
}

.ps-spec-table td {
  padding: 9px 6px;
  vertical-align: top;
  line-height: 1.4;
}

.ps-spec-table td:first-child {
  font-weight: 600;
  color: var(--blue);
  width: 42%;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}

.cta-band .btn-white {
  background: #fff;
  color: var(--red);
  border-color: #fff;
}

.cta-band .btn-white:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.other-lines {
  padding: 72px 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}

.other-lines-head {
  text-align: center;
  margin-bottom: 48px;
}

.other-lines-head .kicker {
  display: inline-block;
  letter-spacing: 2.34px;
}

.other-lines-head h2 {
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 38px);
  text-transform: uppercase;
  font-weight: 800;
  color: var(--ink);
  margin-top: 4px;
}

.other-lines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 760px) {
  .other-lines-grid {
    grid-template-columns: 1fr;
  }
}

.ol-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}

.ol-card:hover {
  box-shadow: 0 20px 50px rgba(10, 61, 98, .13);
  transform: translateY(-4px);
}

.ol-card-img {
  position: relative;
  overflow: hidden;
}

.ol-card-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.ol-card:hover .ol-card-img img {
  transform: scale(1.04);
}

.ol-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--blue);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.ol-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ol-card-body h3 {
  font-family: var(--display);
  font-size: 22px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.1;
}

.ol-card-rule {
  width: 36px;
  height: 3px;
  background: var(--red);
  border-radius: 999px;
  margin-bottom: 14px;
}

.ol-card-body p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 18px;
}

.ol-card-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  margin-bottom: 24px;
}

.ol-card-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text);
}

.ol-card-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  flex: none;
}

.ol-card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue);
  padding: 11px 20px;
  border: 1px solid var(--blue);
  border-radius: 10px;
  transition: all .2s;
  align-self: flex-start;
}

.ol-card-cta:hover {
  background: var(--blue);
  color: #fff;
}

.ol-card-cta svg {
  transition: transform .2s;
}

.ol-card-cta:hover svg {
  transform: translateX(3px);
}

.check-icon {
  width: 16px;
  height: 16px;
  viewBox: 0 0 16 16;
}