:root {
  --ciilock-ink: #1b1f22;
  --ciilock-ink-soft: #596167;
  --ciilock-steel: #737b80;
  --ciilock-yellow: #fbbd14;
  --ciilock-line: rgba(23, 35, 45, 0.14);
  --ciilock-paper: #fff;
  --ciilock-white: #fff;
  --ciilock-radius: 18px;
}

html {
  scroll-behavior: smooth;
  background: var(--ciilock-paper);
}

body.body,
body {
  background: #fff;
  background-color: var(--ciilock-paper) !important;
  color: var(--ciilock-ink);
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body strong,
body b {
  font-weight: 500;
}

body h3,
body h4,
body h5,
body h6 {
  font-size: clamp(1rem, 1.6vw, 1.35rem);
}

body.body::selection,
body::selection {
  background: var(--ciilock-yellow);
  color: var(--ciilock-ink);
}

a {
  color: var(--ciilock-ink);
  transition: color 180ms ease, opacity 180ms ease;
}

a:hover {
  color: var(--ciilock-ink-soft);
}

img {
  border-radius: 8px;
}

.top-hero-section,
.uui-section_heroheader04,
.uui-section_heroheader05,
.siigmatic_hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  color: var(--ciilock-ink);
  border-bottom: 1px solid var(--ciilock-line);
}

.top-hero-section::after,
.uui-section_heroheader04::after,
.uui-section_heroheader05::after,
.siigmatic_hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(27, 31, 34, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 31, 34, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(120deg, black, transparent 70%);
}

.top-hero-section > *,
.uui-section_heroheader04 > *,
.uui-section_heroheader05 > *,
.siigmatic_hero > * {
  position: relative;
  z-index: 1;
}

.top-hero-section h1,
.uui-section_heroheader04 h1,
.uui-section_heroheader05 h1,
.siigmatic_hero h1 {
  max-width: 850px;
  margin: 0 auto 1rem;
  color: var(--ciilock-ink);
  font-size: clamp(1.9rem, 3.2vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.top-hero-section p,
.uui-section_heroheader04 p,
.uui-section_heroheader05 p,
.siigmatic_hero p {
  color: var(--ciilock-ink-soft);
}

.catalogue-hardware-section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3.5rem, 8vw, 7rem);
  background: #fff;
  border-top: 1px solid var(--ciilock-line);
  border-bottom: 1px solid var(--ciilock-line);
}

.catalogue-hardware-section:nth-of-type(even),
.grey-background {
  background: #fff;
}

.blue-background {
  background: #fff;
}

.catalogue-hardware-section h1,
.catalogue-hardware-section h2,
.header-hero h1,
.header-hero h2,
.header-hero-smaller h1,
.header-hero-smaller h2 {
  color: var(--ciilock-ink);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.header-hero,
.header-hero-smaller,
.container-for-hero {
  width: min(100% - 3rem, 1180px);
  margin-inline: auto;
}

.header-hero {
  padding-block: clamp(1.5rem, 4vw, 3.5rem);
}

.header-hero-smaller {
  padding-block: 1.25rem;
}

.header-hero > *,
.header-hero-smaller > * {
  min-width: 0;
}

.image-wrap,
.image-wrap-600,
.table-image-container,
.table-image-wrap,
.table-image-wrap-phone {
  overflow: hidden;
  border: 1px solid rgba(23, 35, 45, 0.12);
  border-radius: var(--ciilock-radius);
  background: #fff;
  box-shadow: 0 18px 45px rgba(23, 35, 45, 0.08);
}

.image-wrap img,
.image-wrap-600 img,
.table-image-container img,
.table-image-wrap img,
.table-image-wrap-phone img,
.uui-heroheader18_image-alt {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 350ms ease;
}

.image-wrap:hover img,
.image-wrap-600:hover img,
.table-image-container:hover img,
.table-image-wrap:hover img,
.table-image-wrap-phone:hover img {
  transform: scale(1.025);
}

table {
  width: 100%;
  margin: 1.5rem auto;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--ciilock-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(23, 35, 45, 0.06);
}

th {
  background: var(--ciilock-ink);
  color: var(--ciilock-white);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

th,
td {
  padding: 0.9rem 1rem;
  border-right: 1px solid var(--ciilock-line);
  border-bottom: 1px solid var(--ciilock-line);
  vertical-align: middle;
}

tr:last-child td {
  border-bottom: 0;
}

th:last-child,
td:last-child {
  border-right: 0;
}

tr:nth-child(even) td {
  background: rgba(27, 31, 34, 0.035);
}

.w-button,
button,
input[type="submit"],
.button,
.btn {
  min-height: 2.85rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ciilock-ink);
  color: var(--ciilock-white);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(23, 35, 45, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.w-button:hover,
button:hover,
input[type="submit"]:hover,
.button:hover,
.btn:hover {
  color: var(--ciilock-white);
  background: var(--ciilock-ink-soft);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(23, 35, 45, 0.2);
}

.w-button:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible,
.button:focus-visible,
.btn:focus-visible {
  outline: 2px solid rgba(251, 189, 20, 0.85);
  outline-offset: 3px;
}

.footer-section,
footer,
.web-footer,
.dms-footer {
  background: var(--ciilock-paper) !important;
  color: var(--ciilock-ink);
  border-top: 1px solid var(--ciilock-line);
}

.footer-section a,
footer a {
  color: var(--ciilock-ink);
}

@media (max-width: 760px) {
  body.body,
  body {
    font-size: 14px;
  }

  .top-hero-section h1,
  .uui-section_heroheader04 h1,
  .uui-section_heroheader05 h1,
  .siigmatic_hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .header-hero,
  .header-hero-smaller,
  .container-for-hero {
    width: min(100% - 1.5rem, 1180px);
  }

  .catalogue-hardware-section {
    padding-block: 2.75rem;
  }

  .table-responsive,
  .for-desktop,
  .roller-table {
    max-width: 100%;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: normal;
    -webkit-overflow-scrolling: touch;
  }

  th,
  td {
    min-width: 8rem;
    padding: 0.7rem 0.75rem;
    font-size: 0.78rem;
  }

  .w-button,
  button,
  input[type="submit"],
  .button,
  .btn {
    width: 100%;
  }
}

@media (min-width: 761px) and (max-width: 1200px) {
  .max-1200-tablet .quick-add-action-row,
  .max-1200-hero-tablet .quick-add-action-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: 100%;
  }

  .max-1200-tablet .quick-add-action-cell,
  .max-1200-hero-tablet .quick-add-action-cell {
    display: flex !important;
    min-width: 0;
    margin: 0 !important;
  }

  .max-1200-tablet .pricing-rows,
  .max-1200-hero-tablet .pricing-rows {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
  }

  .max-1200-tablet .pricing-rows > .description-cell,
  .max-1200-tablet .pricing-rows > .catalogue-cell,
  .max-1200-hero-tablet .pricing-rows > .description-cell,
  .max-1200-hero-tablet .pricing-rows > .catalogue-cell {
    width: auto !important;
    min-width: 0;
    min-height: 0;
    flex: none !important;
    margin: 0 !important;
    padding: 0.75rem !important;
    overflow: hidden;
  }

  .max-1200-tablet .description-cell > *,
  .max-1200-tablet .catalogue-cell > *,
  .max-1200-hero-tablet .description-cell > *,
  .max-1200-hero-tablet .catalogue-cell > * {
    min-width: 0;
    max-width: 100%;
  }

  .max-1200-tablet .image-wrap-restricted-table,
  .max-1200-hero-tablet .image-wrap-restricted-table,
  .max-1200-tablet .full-image,
  .max-1200-hero-tablet .full-image {
    width: 100%;
    min-width: 0;
  }

  .max-1200-tablet .image-wrap-restricted-table img,
  .max-1200-hero-tablet .image-wrap-restricted-table img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* Security catalogue: keep hero artwork visible and typography restrained. */
.security-catalogue-page .image-wrap {
  position: relative;
  z-index: 0;
}

.security-catalogue-page .image-wrap .image-full {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.security-catalogue-page .text-heading-large {
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  line-height: 1.08;
}

.security-catalogue-page .text-heading-large.text-color-primary900 {
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
}

.security-catalogue-page .heading-medium {
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.15;
}

.security-catalogue-page .text-large-size {
  font-size: clamp(0.82rem, 0.95vw, 0.98rem);
  line-height: 1.55;
}

@media (max-width: 760px) {
  .security-catalogue-page .text-heading-large,
  .security-catalogue-page .text-heading-large.text-color-primary900 {
    font-size: clamp(1.4rem, 6vw, 1.85rem);
  }

  .security-catalogue-page .text-large-size {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/*
 * Catalogue comparison rows use shared cells. Let flex distribute each row
 * from its children instead of maintaining a separate width for every table.
 */
.grid-flexbox {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--ciilock-line);
  border-radius: 14px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.pricing-rows,
.pricing-rows-2,
.pricing-rows-full {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
}

.description-title {
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 0;
  align-items: center;
  justify-content: flex-start;
  color: var(--ciilock-ink);
  display: flex;
  overflow-wrap: anywhere;
}

.check-column-title {
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 0;
  align-items: center;
  justify-content: center;
  color: var(--ciilock-ink);
  display: flex;
  overflow-wrap: anywhere;
  text-align: center;
}

.pricing-rows > .description-cell,
.pricing-rows > .catalogue-cell,
.pricing-rows-2 > .description-cell,
.pricing-rows-2 > .catalogue-cell,
.pricing-rows-full > .description-cell,
.pricing-rows-full > .catalogue-cell {
  box-sizing: border-box;
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0;
  min-height: 4rem;
  margin: 0 !important;
  padding: clamp(0.75rem, 1.25vw, 1.15rem) !important;
  border-right: 1px solid var(--ciilock-line);
  border-bottom: 1px solid var(--ciilock-line);
  background: #fff;
  color: var(--ciilock-ink);
  font-size: clamp(0.78rem, 0.9vw, 0.95rem);
  line-height: 1.4;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-rows > .description-cell,
.pricing-rows-2 > .description-cell,
.pricing-rows-full > .description-cell {
  text-align: center;
  justify-content: center;
}

.pricing-rows > .description-cell > :where(p, span, a, strong, small),
.pricing-rows > .catalogue-cell > :where(p, span, a, strong, small),
.pricing-rows-2 > .description-cell > :where(p, span, a, strong, small),
.pricing-rows-2 > .catalogue-cell > :where(p, span, a, strong, small),
.pricing-rows-full > .description-cell > :where(p, span, a, strong, small),
.pricing-rows-full > .catalogue-cell > :where(p, span, a, strong, small) {
  margin: 0;
  line-height: inherit;
}

.pricing-rows > :last-child,
.pricing-rows-2 > :last-child,
.pricing-rows-full > :last-child {
  border-right: 0;
}

.pricing-rows > .description-cell > *,
.pricing-rows > .catalogue-cell > *,
.pricing-rows-2 > .description-cell > *,
.pricing-rows-2 > .catalogue-cell > *,
.pricing-rows-full > .description-cell > *,
.pricing-rows-full > .catalogue-cell > * {
  max-width: 100%;
}

/* Keep catalogue preview artwork above the table surface. */
.image-wrap-restricted-table {
  position: relative;
  bottom: auto;
  z-index: 0;
}

.image-wrap-restricted-table .full-image,
.image-wrap-restricted-table img {
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  .grid-flexbox {
    border-radius: 10px;
  }

  .pricing-rows,
  .pricing-rows-2,
  .pricing-rows-full {
    width: 100%;
    min-width: 100%;
  }

  .pricing-rows > .description-cell,
  .pricing-rows > .catalogue-cell,
  .pricing-rows-2 > .description-cell,
  .pricing-rows-2 > .catalogue-cell,
  .pricing-rows-full > .description-cell,
  .pricing-rows-full > .catalogue-cell {
    flex: 0 0 50% !important;
    width: 50% !important;
    min-width: 50%;
    max-width: 50%;
    padding: 0.75rem !important;
  }

  .max-1200-tablet .quick-add-action-row,
  .max-1200-hero-tablet .quick-add-action-row {
    display: flex !important;
    width: 100%;
  }

  .max-1200-tablet .quick-add-action-cell,
  .max-1200-hero-tablet .quick-add-action-cell {
    display: flex !important;
    min-width: 0;
    margin: 0 !important;
  }
}

@media (max-width: 600px) {
  .grid-flexbox {
    border-radius: 8px;
  }

  .pricing-rows,
  .pricing-rows-2,
  .pricing-rows-full {
    min-height: 3.25rem;
  }

  .pricing-rows > .description-cell,
  .pricing-rows > .catalogue-cell,
  .pricing-rows-2 > .description-cell,
  .pricing-rows-2 > .catalogue-cell,
  .pricing-rows-full > .description-cell,
  .pricing-rows-full > .catalogue-cell {
    min-height: 3.25rem;
    padding: 0.55rem !important;
    font-size: 0.74rem;
    line-height: 1.3;
  }

  .pricing-rows > .description-cell > *,
  .pricing-rows > .catalogue-cell > *,
  .pricing-rows-2 > .description-cell > *,
  .pricing-rows-2 > .catalogue-cell > *,
  .pricing-rows-full > .description-cell > *,
  .pricing-rows-full > .catalogue-cell > * {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .component-titles,
  .catalogue-textblock {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .image-wrap-restricted-table img,
  .image-wrap-restricted-table .full-image {
    max-height: 8rem;
    height: auto;
    object-fit: contain;
  }

  .quick-add-action-btn {
    min-height: 34px;
    padding: 0.45rem 0.4rem;
    font-size: 0.7rem;
    white-space: normal;
  }
}

/* Final shared button contrast and motion overrides */
:is(.w-button, button, input[type="submit"], .button, .btn,
    .uui-button_product, .pdf-button, .contact-button, .consult-button,
    .uui-button_discover, .uui-button_volta, .uui-button_booking,
    .uui-button_siig, .siigmatic-uui-button, .siigmatic-uui-button1,
    .form-button, .form-button-still, .uui-button-secondary-gray-5,
    .back-pill) {
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

:is(.uui-button_product, .contact-button, .uui-button_booking,
    .uui-button_siig, .siigmatic-uui-button, .siigmatic-uui-button1,
    .floating-button) {
  color: #fff;
  background-color: var(--ciilock-ink);
  border-color: var(--ciilock-ink);
}

:is(.uui-button_product, .contact-button, .uui-button_booking,
    .uui-button_siig, .siigmatic-uui-button, .siigmatic-uui-button1,
    .floating-button):hover {
  color: #fff;
  background-color: var(--ciilock-ink-soft);
  border-color: var(--ciilock-ink-soft);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(27, 31, 34, 0.2);
}

:is(.pdf-button, .consult-button, .uui-button_discover, .uui-button_volta,
    .uui-button-secondary-gray-5) {
  color: var(--ciilock-ink);
  background-color: #f2f8fc;
  border: 1px solid #b9ddec;
}

:is(.pdf-button, .consult-button, .uui-button_discover, .uui-button_volta,
    .uui-button-secondary-gray-5):hover {
  color: var(--ciilock-ink);
  background-color: #dcecf5;
  border-color: #8fc8df;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(27, 31, 34, 0.14);
}

:is(.form-button, .form-button-still) {
  color: var(--ciilock-ink);
  background-color: var(--ciilock-yellow);
  border-color: var(--ciilock-yellow);
}

:is(.form-button, .form-button-still):hover {
  color: #fff;
  background-color: var(--ciilock-ink);
  border-color: var(--ciilock-ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(27, 31, 34, 0.2);
}

:is(.w-button, button, input[type="submit"], .button, .btn,
    .uui-button_product, .pdf-button, .contact-button, .consult-button,
    .uui-button_discover, .uui-button_volta, .uui-button_booking,
    .uui-button_siig, .siigmatic-uui-button, .siigmatic-uui-button1,
    .form-button, .form-button-still, .uui-button-secondary-gray-5,
    .back-pill):active {
  transform: translateY(0);
  box-shadow: none;
}

:is(.w-button, button, input[type="submit"], .button, .btn,
    .uui-button_product, .pdf-button, .contact-button, .consult-button,
    .uui-button_discover, .uui-button_volta, .uui-button_booking,
    .uui-button_siig, .siigmatic-uui-button, .siigmatic-uui-button1,
    .form-button, .form-button-still, .uui-button-secondary-gray-5,
    .back-pill):focus-visible {
  outline: 2px solid var(--ciilock-yellow);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

.page-padding-roller,
.uui-page-padding-volta,
.uui-testimonial10_component {
  opacity: 1 !important;
}
