.lgbo-catalog {
  position: relative;
  margin-bottom: 48px;
}

body.layada-gbo-catalog-page #page .content-area {
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.lgbo-catalog.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  min-height: 160px;
  background: rgba(255,255,255,.75);
  z-index: 2;
}

.lgbo-eyebrow {
  margin: 0 0 10px;
  color: #c9a006;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lgbo-hero {
  position: relative;
  overflow: hidden;
  padding: 36px 40px;
  margin: 0 0 36px;
  border: 0;
  border-left: 4px solid #f4c70b;
  background: #f7fafc;
  box-shadow: 0 10px 28px rgba(7, 47, 79, .06);
}

.lgbo-hero h2 {
  margin: 0 0 14px;
  color: #072f4f;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.2;
  font-weight: 700;
}

.lgbo-hero > p {
  max-width: 720px;
  margin: 0;
  color: #3d4f5f;
  font-size: 17px;
  line-height: 1.65;
}

.lgbo-hero .lgbo-disclaimer {
  max-width: 720px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(7, 47, 79, .12);
  color: #667787;
  font-size: 14px;
  line-height: 1.55;
}

.lgbo-heading,
.lgbo-service-block {
  padding: 28px;
  margin: 0 0 28px;
  border: 1px solid #eee;
  background: #fff;
}

.lgbo-heading h2,
.lgbo-service-block h2 {
  margin: 0 0 12px;
  color: #072f4f;
}

.lgbo-category-grid,
.lgbo-kit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.lgbo-category-card,
.lgbo-kit-card a {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  color: inherit;
  text-decoration: none;
  border: 1px solid #eee;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.lgbo-category-card {
  justify-content: flex-start;
  padding: 0;
  overflow: hidden;
}

.lgbo-category-card__media,
.lgbo-category-card__media img,
.lgbo-category-card__media .lgbo-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.lgbo-category-card__media--empty .lgbo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  background: #f3f5f7;
  color: #777;
}

.lgbo-category-card__body {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 24px;
}

.lgbo-category-card__label {
  color: #072f4f;
  font-size: 28px;
  font-weight: 700;
}

.lgbo-category-card__text,
.lgbo-category-card__count {
  margin-top: 8px;
  color: #555;
}

.lgbo-category-card:hover,
.lgbo-category-card:focus,
.lgbo-kit-card a:hover,
.lgbo-kit-card a:focus {
  color: inherit;
  text-decoration: none;
  transform: translateY(-4px);
  border-color: #f4c70b;
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
}

.lgbo-kit-card img,
.lgbo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f4f4f4;
}

.lgbo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
}

.lgbo-kit-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.lgbo-kit-card__body strong {
  color: #072f4f;
  font-size: 18px;
}

.lgbo-kit-card__features {
  display: grid;
  gap: 6px;
  color: #555;
  font-size: 14px;
}

.lgbo-card-button,
.lgbo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  margin-top: auto;
  padding: 11px 18px;
  color: #072f4f;
  font-weight: 700;
  border: 0;
  background: #f4c70b;
  cursor: pointer;
}

.lgbo-button:hover,
.lgbo-button:focus {
  color: #fff;
  background: #072f4f;
}

.lgbo-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: #777;
}

.lgbo-breadcrumbs a {
  color: #072f4f;
}

.lgbo-empty {
  padding: 28px;
  border: 1px solid #eee;
  background: #fff;
}

.lgbo-kit-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: 28px;
  margin-bottom: 34px;
  padding: 28px;
  border-left: 4px solid #f4c70b;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 47, 79, .06);
}

.lgbo-kit-detail__media,
.lgbo-kit-detail__content {
  padding: 0;
  border: 0;
  background: transparent;
}

.lgbo-kit-detail__main {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #f3f5f7;
  cursor: zoom-in;
  overflow: hidden;
}

.lgbo-kit-detail__image {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}

.lgbo-kit-detail__main:hover .lgbo-kit-detail__image,
.lgbo-kit-detail__main:focus .lgbo-kit-detail__image {
  transform: scale(1.03);
}

.lgbo-kit-detail__zoom {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 12px;
  color: #072f4f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(255,255,255,.92);
}

.lgbo-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.lgbo-gallery__thumb {
  display: block;
  padding: 0;
  border: 2px solid transparent;
  background: #f3f5f7;
  cursor: pointer;
  overflow: hidden;
}

.lgbo-gallery__thumb.is-active,
.lgbo-gallery__thumb:hover,
.lgbo-gallery__thumb:focus {
  border-color: #f4c70b;
}

.lgbo-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.lgbo-kit-detail__category {
  display: inline-flex;
  margin: 0 0 10px;
  color: #c9a006;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}

.lgbo-kit-detail__category:hover,
.lgbo-kit-detail__category:focus {
  color: #072f4f;
}

.lgbo-kit-detail__content h2 {
  margin: 0 0 14px;
  color: #072f4f;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
}

.lgbo-kit-detail__highlights {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.lgbo-kit-detail__highlights li {
  position: relative;
  padding-left: 18px;
  color: #3d4f5f;
  font-size: 15px;
  line-height: 1.45;
}

.lgbo-kit-detail__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  background: #f4c70b;
}

.lgbo-description {
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 1.7;
}

.lgbo-kit-detail__actions {
  padding-top: 4px;
}

.lgbo-note {
  margin: 14px 0 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.lgbo-spec-block {
  padding: 24px;
  border: 1px solid #eee;
  background: #fff;
}

.lgbo-specs {
  display: grid;
  gap: 22px;
}

.lgbo-spec-block h3 {
  margin: 0 0 16px;
  color: #072f4f;
}

.lgbo-spec-block table {
  width: 100%;
  border-collapse: collapse;
}

.lgbo-spec-block th,
.lgbo-spec-block td {
  padding: 12px;
  border: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}

.lgbo-spec-block tr:nth-child(even) {
  background: #fafbfc;
}

.lgbo-spec-block td:first-child {
  width: 54px;
  color: #777;
  text-align: center;
}

.lgbo-feature-list {
  margin: 0;
  padding-left: 20px;
}

.lgbo-feature-list li {
  margin-bottom: 8px;
}

.lgbo-lightbox[hidden] {
  display: none;
}

.lgbo-lightbox {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lgbo-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 24, 40, .88);
}

.lgbo-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lgbo-lightbox__image {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #111;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

.lgbo-lightbox__close,
.lgbo-lightbox__nav {
  position: absolute;
  border: 0;
  background: rgba(255,255,255,.92);
  color: #072f4f;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.lgbo-lightbox__close {
  top: -8px;
  right: -8px;
  width: 44px;
  height: 44px;
  z-index: 2;
}

.lgbo-lightbox__nav {
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
}

.lgbo-lightbox__nav--prev { left: 8px; }
.lgbo-lightbox__nav--next { right: 8px; }

.lgbo-lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: -36px;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  letter-spacing: .04em;
}

body.lgbo-lightbox-open {
  overflow: hidden;
}

.lgbo-service-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr);
  gap: 24px;
  align-items: center;
}

.lgbo-service-links {
  display: grid;
  gap: 8px;
}

.lgbo-service-links p,
.lgbo-service-links br {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.lgbo-service-links a {
  display: block;
  margin: 0 !important;
  padding: 10px 14px;
  color: #072f4f;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  border: 1px solid #eee;
  background: #f8f8f8;
}

.lgbo-service-links a:hover,
.lgbo-service-links a:focus,
.lgbo-service-links__all {
  border-color: #f4c70b;
  background: #f4c70b;
}

.lgbo-modal[hidden] {
  display: none;
}

.lgbo-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lgbo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 24, 40, .72);
}

.lgbo-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 0;
  border-left: 4px solid #f4c70b;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.lgbo-modal__head {
  padding: 28px 28px 18px;
  background: #f7fafc;
  border-bottom: 1px solid rgba(7, 47, 79, .08);
}

.lgbo-modal__head h3 {
  margin: 0 0 10px;
  color: #072f4f;
  font-size: 26px;
  line-height: 1.25;
}

.lgbo-modal__kit {
  margin: 0;
  color: #3d4f5f;
  font-size: 15px;
  line-height: 1.5;
}

.lgbo-modal__kit strong {
  color: #072f4f;
}

.lgbo-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #072f4f;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(7, 47, 79, .12);
}

.lgbo-modal__close:hover,
.lgbo-modal__close:focus {
  background: #f4c70b;
}

.lgbo-modal__form {
  padding: 22px 28px 28px;
}

.lgbo-modal-open {
  overflow: hidden;
}

.lgbo-modal .wpforms-container {
  margin: 0 !important;
}

.lgbo-modal .wpforms-container .wpforms-title,
.lgbo-modal .wpforms-container .wpforms-description {
  display: none;
}

.lgbo-modal .wpforms-field {
  padding: 0 0 16px !important;
}

.lgbo-modal .wpforms-field-label {
  display: block;
  margin: 0 0 6px;
  color: #072f4f;
  font-size: 14px;
  font-weight: 700;
}

.lgbo-modal .wpforms-required-label {
  color: #c9a006;
}

.lgbo-modal .wpforms-field-description {
  margin-top: 6px;
  color: #667787;
  font-size: 13px;
}

.lgbo-modal .wpforms-field input[type="text"],
.lgbo-modal .wpforms-field input[type="email"],
.lgbo-modal .wpforms-field input[type="tel"],
.lgbo-modal .wpforms-field input[type="number"],
.lgbo-modal .wpforms-field textarea,
.lgbo-modal .wpforms-field select {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 48px;
  padding: 12px 14px !important;
  color: #072f4f;
  font-size: 15px;
  border: 1px solid #d7dee5 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.lgbo-modal .wpforms-field textarea {
  min-height: 110px;
  resize: vertical;
}

.lgbo-modal .wpforms-field input:focus,
.lgbo-modal .wpforms-field textarea:focus,
.lgbo-modal .wpforms-field select:focus {
  border-color: #f4c70b !important;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(244, 199, 11, .22) !important;
}

.lgbo-modal .wpforms-field-checkbox ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lgbo-modal .wpforms-field-checkbox li {
  margin: 0;
}

.lgbo-modal .wpforms-field-checkbox label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #3d4f5f;
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
}

.lgbo-modal .wpforms-field-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #f4c70b;
}

.lgbo-modal .wpforms-submit-container {
  margin: 8px 0 0 !important;
  padding: 0 !important;
}

.lgbo-modal .wpforms-submit {
  width: 100%;
  min-height: 52px;
  padding: 14px 20px !important;
  color: #072f4f !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: .02em;
  text-transform: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f4c70b !important;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.lgbo-modal .wpforms-submit:hover,
.lgbo-modal .wpforms-submit:focus {
  color: #fff !important;
  background: #072f4f !important;
}

@media (max-width: 992px) {
  .lgbo-category-grid,
  .lgbo-kit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lgbo-kit-detail,
  .lgbo-service-block {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lgbo-category-grid,
  .lgbo-kit-grid {
    grid-template-columns: 1fr;
  }

  .lgbo-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lgbo-hero,
  .lgbo-heading,
  .lgbo-service-block,
  .lgbo-kit-detail,
  .lgbo-spec-block {
    padding: 18px;
  }

  .lgbo-lightbox {
    padding: 12px;
  }

  .lgbo-lightbox__nav--prev { left: 0; }
  .lgbo-lightbox__nav--next { right: 0; }
}
