/* Product tabs built from sections and blocks (customTabRozek v5). */
.ctr-tab {
  --ctr-ink: #002b44;
  --ctr-muted: #879ea1;
  --ctr-brand: #0084b1;
  --ctr-accent: #029fae;
  --ctr-line: #d4d4d4;
  --ctr-gap: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: var(--ctr-ink);
}

/* ---------- sections ---------- */
.ctr-sec {
  display: grid;
  gap: var(--ctr-gap);
  align-items: start;
}
.ctr-sec--1 {
  grid-template-columns: minmax(0, 1fr);
}
.ctr-sec--1-1 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ctr-sec--1-2 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}
.ctr-sec--2-1 {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}
.ctr-sec--1-1-1 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ctr-sec--1-2-1 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr);
}
.ctr-sec--v-center {
  align-items: center;
}
.ctr-sec--v-end {
  align-items: end;
}

.ctr-col {
  display: flex;
  flex-direction: column;
  gap: var(--ctr-gap);
  min-width: 0;
}
.ctr-col:empty {
  display: none;
}

.ctr-b {
  margin: 0;
}
.ctr-al-left {
  text-align: left;
}
.ctr-al-center {
  text-align: center;
}
.ctr-al-right {
  text-align: right;
}

/* ---------- text ---------- */
.ctr-heading {
  color: var(--ctr-ink);
  font-weight: 700;
  line-height: 1.25;
}
.ctr-heading--sm {
  font-size: 1rem;
}
.ctr-heading--md {
  font-size: 1.25rem;
}
.ctr-heading--lg {
  font-size: 1.75rem;
}

.ctr-text {
  color: var(--ctr-muted);
  font-size: 1rem;
  line-height: 1.55;
}
.ctr-text > :first-child {
  margin-top: 0;
}
.ctr-text > :last-child {
  margin-bottom: 0;
}
.ctr-text strong,
.ctr-text b,
.ctr-text h2,
.ctr-text h3,
.ctr-text h4 {
  color: var(--ctr-ink);
}
.ctr-text a {
  color: var(--ctr-brand);
}

.ctr-caption {
  margin: 0 0 0.85rem;
  color: var(--ctr-ink);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

/* ---------- media ---------- */
.ctr-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}
.ctr-img--plain {
  border-radius: 0;
}

.ctr-gallery {
  display: grid;
  gap: 1.5rem;
}
.ctr-gallery--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ctr-gallery--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ctr-video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ctr-ink);
}
.ctr-video iframe,
.ctr-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* ---------- table ---------- */
.ctr-table {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
}
.ctr-table__head,
.ctr-table__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.ctr-table__head span {
  padding: 0.85rem 1rem;
  background: var(--ctr-muted);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  text-align: center;
}
.ctr-table__row span[role="cell"] {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--ctr-line);
  font-size: 0.95rem;
  line-height: 1.35;
}
.ctr-table__row:last-child span[role="cell"] {
  border-bottom: 0;
}
.ctr-table__row span[role="cell"]:first-child {
  border-right: 1px solid #f2f2f2;
  color: var(--ctr-ink);
  font-weight: 500;
}
.ctr-table__row span[role="cell"]:last-child {
  color: var(--ctr-muted);
}

.ctr-mark {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  color: #fff;
}
.ctr-mark svg {
  width: 0.95rem;
  height: 0.95rem;
}
.ctr-mark--yes {
  background: var(--ctr-brand);
}
.ctr-mark--no {
  background: #c9d3d4;
}

/* ---------- hotspot image ---------- */
.ctr-hotspot {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
/* The box shrinks to the picture, so percentage pin positions stay on target. */
.ctr-hotspot img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 42.5rem;
}
.ctr-pin {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--ctr-brand);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}
.ctr-pin:focus-visible {
  outline: 2px solid var(--ctr-accent);
  outline-offset: 2px;
}
.ctr-pin__tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  background: var(--ctr-ink);
  color: #fff;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 4px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}
.ctr-pin:hover,
.ctr-pin.is-active {
  z-index: 2;
  background: var(--ctr-accent);
  transform: translate(-50%, -50%) scale(1.12);
}
.ctr-pin:hover .ctr-pin__tip,
.ctr-pin.is-active .ctr-pin__tip {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- feature cards ---------- */
.ctr-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ctr-feat-card {
  position: relative;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  overflow: hidden;
  min-height: 5rem;
  padding: 0.85rem 0.85rem 0.85rem 2.4rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.15s ease;
  scroll-margin: 6rem;
}
.ctr-feat-card__num {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0.3rem 0 0 0.5rem;
  border-radius: 0 0 2rem 0;
  background: var(--ctr-brand);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.ctr-feat-card__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid var(--ctr-line);
  border-radius: 50%;
  color: var(--ctr-muted);
}
.ctr-feat-card__icon--img {
  border: 0;
}
.ctr-feat-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ctr-feat-card h4 {
  margin: 0 0 0.15rem;
  color: var(--ctr-ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}
.ctr-feat-card p {
  margin: 0;
  color: var(--ctr-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}
.ctr-feat-card.is-active {
  box-shadow:
    0 0 0 2px var(--ctr-accent),
    0 0 10px rgba(0, 132, 177, 0.35);
}

/* ---------- button & spacer ---------- */
.ctr-btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border: 2px solid var(--ctr-brand);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.ctr-btn--primary {
  background: var(--ctr-brand);
  color: #fff;
}
.ctr-btn--primary:hover {
  background: #006f95;
  border-color: #006f95;
  color: #fff;
}
.ctr-btn--outline {
  background: transparent;
  color: var(--ctr-brand);
}
.ctr-btn--outline:hover {
  background: var(--ctr-brand);
  color: #fff;
}

.ctr-spacer--sm {
  height: 0.5rem;
}
.ctr-spacer--md {
  height: 1.5rem;
}
.ctr-spacer--lg {
  height: 3rem;
}

/* ---------- mobile ---------- */
@media (max-width: 767.98px) {
  .ctr-tab {
    gap: 1.5rem;
  }
  .ctr-sec {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .ctr-sec--mrev .ctr-col:first-child {
    order: 2;
  }
  .ctr-gallery--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ctr-table__head span {
    font-size: 0.95rem;
  }
  .ctr-table__row span[role="cell"] {
    font-size: 0.875rem;
  }
  .ctr-pin {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 0.75rem;
  }
}
