.mak-pc-section {
  --mak-pc-image-hover-scale: 1.08;
  --mak-pc-image-hover-lift: 5px;
  --mak-pc-image-hover-tilt: 3deg;
  --mak-pc-image-hover-shadow: rgba(13, 43, 92, 0.28);
  width: 100%;
  padding: 22px 36px 28px;
  background: #fff;
}

.mak-pc-inner {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
}

.mak-pc-section.mak-pc-no-headings {
  padding-top: 0 !important;
}

.mak-pc-header {
  margin: 0 0 13px;
}

.mak-pc-eyebrow {
  margin: 0 0 5px;
  color: #1d3f72;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.mak-pc-heading {
  margin: 0;
  color: #0d2b5c;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.15;
}

.mak-pc-grid {
  --mak-pc-columns: 4;
  display: grid;
  grid-template-columns: repeat(var(--mak-pc-columns), minmax(0, 1fr));
  column-gap: 14px;
  row-gap: 20px;
  align-items: stretch;
}

.mak-pc-card {
  --mak-pc-hover-lift: 4px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 295px;
  overflow: hidden;
  border: 1px solid #d9e3f2;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(13, 43, 92, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.mak-pc-card:hover {
  border-color: #b7c9e6;
  box-shadow: 0 10px 24px rgba(13, 43, 92, 0.11);
  transform: translateY(calc(-1 * var(--mak-pc-hover-lift)));
}

.mak-pc-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 155px;
  padding: 10px 12px 2px;
  overflow: hidden;
  background: #fff;
  perspective: 800px;
  isolation: isolate;
}

.mak-pc-image-wrap::after {
  position: absolute;
  z-index: 0;
  right: 19%;
  bottom: 6%;
  left: 19%;
  height: 12%;
  border-radius: 50%;
  background: var(--mak-pc-image-hover-shadow);
  content: "";
  opacity: 0;
  filter: blur(9px);
  pointer-events: none;
  transform: translateY(3px) scale(0.82);
  transition: opacity 320ms ease, transform 320ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.mak-pc-image-wrap img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: translateZ(0);
  transform-origin: center center;
  filter: none !important;
  mix-blend-mode: normal;
  transition: transform 320ms cubic-bezier(0.2, 0.75, 0.25, 1);
  will-change: transform;
}

.mak-pc-has-3d-hover .mak-pc-card:hover .mak-pc-image-wrap img,
.mak-pc-has-3d-hover .mak-pc-card:focus-within .mak-pc-image-wrap img {
  transform: translateY(calc(-1 * var(--mak-pc-image-hover-lift))) rotateX(var(--mak-pc-image-hover-tilt)) rotateY(calc(-1 * var(--mak-pc-image-hover-tilt))) scale(var(--mak-pc-image-hover-scale));
  filter: none !important;
}

.mak-pc-has-3d-hover .mak-pc-card:hover .mak-pc-image-wrap::after,
.mak-pc-has-3d-hover .mak-pc-card:focus-within .mak-pc-image-wrap::after {
  opacity: 1;
  transform: translateY(5px) scale(1);
}

.mak-pc-image-empty {
  color: #a9b9d0;
  font-size: 42px;
  background: #f5f8fc;
}

.mak-pc-content {
  flex: 1 1 auto;
  padding: 13px 15px 0;
}

.mak-pc-product-title {
  margin: 0 0 16px;
  color: #0d2b5c;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.mak-pc-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.mak-pc-spec {
  min-width: 0;
}

.mak-pc-spec + .mak-pc-spec {
  padding-left: 12px;
  border-left: 1px solid #d9e3f2;
}

.mak-pc-spec-label {
  color: #66738a;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.mak-pc-spec-value {
  margin-top: 3px;
  color: #1d3f72;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.mak-pc-link-row {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
  margin: 12px 15px 0;
  padding: 11px 0 12px;
  border-top: 1px solid #d9e3f2;
  color: #0d2b5c;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: color 160ms ease;
}

a.mak-pc-link-row:hover,
a.mak-pc-link-row:focus {
  color: #1d3f72;
  text-decoration: none;
}

a.mak-pc-link-row:focus-visible {
  outline: 2px solid #1d3f72;
  outline-offset: 2px;
}

.mak-pc-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ed1b24;
  line-height: 1;
}

.mak-pc-link-icon i {
  font-size: 10px;
}

.mak-pc-link-icon svg {
  display: block;
  width: 10px;
  height: 10px;
  fill: currentColor;
}

.mak-pc-link-icon-image img {
  display: block;
  width: 10px;
  height: 10px;
  object-fit: contain;
}

.mak-pc-empty {
  padding: 30px;
  border: 1px dashed #b7c9e6;
  border-radius: 7px;
  color: #526785;
  text-align: center;
  background: #f4f7fd;
}

@media (max-width: 1024px) {
  .mak-pc-grid {
    --mak-pc-columns: 2;
  }
}

@media (max-width: 767px) {
  .mak-pc-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .mak-pc-grid {
    --mak-pc-columns: 1;
  }

  .mak-pc-image-wrap {
    height: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mak-pc-card,
  .mak-pc-image-wrap img,
  .mak-pc-image-wrap::after {
    transition: none;
  }

  .mak-pc-card:hover,
  .mak-pc-has-3d-hover .mak-pc-card:hover .mak-pc-image-wrap img,
  .mak-pc-has-3d-hover .mak-pc-card:focus-within .mak-pc-image-wrap img {
    transform: none;
    filter: none;
  }

  .mak-pc-has-3d-hover .mak-pc-card:hover .mak-pc-image-wrap::after,
  .mak-pc-has-3d-hover .mak-pc-card:focus-within .mak-pc-image-wrap::after {
    opacity: 0;
    transform: none;
  }
}

/* Heading-only mode: remove the card gap when Product Cards are hidden. */
.mak-pc-section.mak-pc-cards-hidden .mak-pc-header {
  margin-bottom: 0 !important;
}
