.inner-banner {
  height: 250px;
  overflow: hidden;
  background: #f5f5f5;
}

.inner-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.inner-main {
  display: grid;
  grid-template-columns: 238px 1fr;
  gap: 34px;
  padding: 40px 0 64px;
}

.side-title {
  margin: 0;
  padding: 12px 16px;
  color: white;
  background: #187fb8;
  border-bottom: 1px solid white;
  font-size: 17px;
  font-weight: normal;
}

.side-nav {
  margin: 0;
  padding: 0;
  border: 1px solid #d9dfe2;
  border-top: 0;
  background: white;
  list-style: none;
}

.side-nav>li+li {
  border-top: 1px solid #e1e5e7;
}

.side-nav>li>a {
  display: block;
  padding: 10px 16px;
  color: #4c5660;
  background: #f7f8f8;
  font-size: 13px;
  transition: color 160ms ease, background 160ms ease;
}

.side-nav>li>a:hover {
  color: var(--blue);
  background: #f0f7fb;
}

.side-nav>li>a.current,
.side-nav>li>a.active {
  color: #0789cf;
  background: white;
  font-weight: 700;
}

.side-subnav {
  margin: 0;
  padding: 7px 0 8px;
  background: white;
  list-style: none;
}

.side-subnav a {
  position: relative;
  padding: 4px 16px 4px 31px;
  color: #61717b;
  background: white;
  font-size: 12px;
}

.side-subnav a::before {
  position: absolute;
  top: 50%;
  left: 17px;
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background: #bec6ca;
  transform: translateY(-50%);
}

.side-subnav a.active {
  color: #0789cf;
  font-weight: 700;
}

.side-subnav a.active::before {
  background: #0789cf;
}

.side-contact {
  margin-top: 18px;
  border: 1px solid #e0e4e6;
  background: white;
}

.side-contact-banner {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  min-height: 70px;
  padding: 0;
  overflow: hidden;
  background: #f4f4f4;
}

.side-contact-banner img {
  display: block;
  width: 70px;
  height: 70px;
  object-fit: cover;
}

.side-contact-banner span {
  padding: 0 12px;
  color: #168bd0;
  font-size: 22px;
  font-weight: normal;
}

.side-contact-details {
  padding: 12px 15px;
  color: #65727a;
  font-size: 12px;
  line-height: 1.85;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
}

.breadcrumbs span {
  color: #999;
  font-size: 12px;
}

.breadcrumbs a {
  color: #888;
}

.breadcrumbs h1 {
  margin: 0;
  color: #555;
  font-size: 19px;
  font-weight: normal;
}

.content-panel {
  padding: 29px 0;
}

.content-panel p {
  color: #777;
  font-size: 14px;
}

.content-panel>p:first-child {
  margin-top: 0;
}

.product-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 29px 22px;
  padding-top: 28px;
}

.catalog-item {
  color: #555;
  text-align: center;
  font-size: 13px;
}

.catalog-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid #eee;
}

.catalog-item span {
  display: block;
  min-height: 44px;
  padding-top: 9px;
}

.catalog-item:hover span {
  color: var(--blue);
}

.module-empty-state {
  margin: 28px 0;
  padding: 28px 24px;
  border: 1px solid #dce5e9;
  color: #66757d;
  background: #f8fafb;
  text-align: center;
  font-size: 14px;
}

.news-list {
  margin: 0;
  padding: 12px 0;
  list-style: none;
}

.news-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.news-date {
  display: grid;
  height: 57px;
  place-content: center;
  color: white;
  background: var(--blue);
  text-align: center;
  line-height: 1.1;
}

.news-date b {
  font-size: 23px;
}

.news-date span {
  margin-top: 3px;
  font-size: 11px;
}

.news-list h2 {
  margin: 1px 0 4px;
  color: #555;
  font-size: 15px;
  font-weight: normal;
}

.news-list p {
  margin: 0;
  color: #999;
  font-size: 12px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 35px 0 0;
}

.pagination a,
.pagination span.current {
  display: grid;
  min-width: 32px;
  height: 32px;
  padding: 0 9px;
  place-items: center;
  border: 1px solid #ddd;
  color: #777;
  background: white;
  font-size: 12px;
}

.pagination a:hover,
.pagination a.current,
.pagination span.current {
  border-color: var(--blue);
  color: white;
  background: var(--blue);
}

.pagination .page-control {
  min-width: 66px;
}

.contact-info {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 28px;
}

.contact-info h2,
.job-empty h2 {
  margin: 0 0 17px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue);
  color: #555;
  font-size: 18px;
  font-weight: normal;
}

.contact-info p {
  margin: 6px 0;
}

.map-placeholder {
  min-height: 260px;
  padding: 25px;
  border: 1px solid #d6e0e4;
  background: linear-gradient(135deg, #eef5f7 25%, #f7fafb 25%, #f7fafb 50%, #eef5f7 50%, #eef5f7 75%, #f7fafb 75%);
  background-size: 40px 40px;
}

.map-pin {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin: 68px auto 12px;
  border-radius: 50%;
  color: white;
  background: var(--blue);
  font-size: 20px;
}

.map-placeholder p {
  color: #58707c;
  text-align: center;
}

.feedback-form {
  max-width: 620px;
}

.feedback-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: start;
  margin-bottom: 16px;
}

.feedback-row label {
  padding-top: 7px;
  color: #666;
}

.feedback-row input,
.feedback-row textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  outline: none;
  color: #555;
}

.feedback-row textarea {
  min-height: 115px;
  resize: vertical;
}

.feedback-row input:focus,
.feedback-row textarea:focus {
  border-color: var(--blue);
}

.form-button {
  margin-left: 130px;
  padding: 9px 32px;
  border: 0;
  color: white;
  background: var(--blue);
  cursor: pointer;
}

.form-button:hover {
  background: var(--blue-dark);
}

.form-message {
  min-height: 22px;
  margin: 14px 0 0 130px;
  color: var(--blue);
  font-size: 13px;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(300px, .88fr) minmax(320px, 1.12fr);
  gap: 34px;
  align-items: start;
}

.product-gallery {
  position: relative;
  min-width: 0;
}

.gallery-main {
  display: grid;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  place-items: center;
  overflow: hidden;
  border: 1px solid #eee;
  background: white;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-nav {
  position: absolute;
  z-index: 1;
  top: calc(50% - 39px);
  display: grid;
  width: 32px;
  height: 50px;
  padding: 0;
  place-items: center;
  border: 0;
  color: white;
  background: rgb(32 49 59 / 65%);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease;
}

.gallery-nav:hover {
  background: rgb(7 155 214 / 88%);
}

.gallery-nav-prev {
  left: 0;
}

.gallery-nav-next {
  right: 0;
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  min-height: 61px;
  margin-top: 13px;
  overflow: hidden;
  padding: 1px;
}

.gallery-thumb {
  display: none;
  width: 100%;
  aspect-ratio: 1;
  padding: 2px;
  overflow: hidden;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
}

.gallery-thumb.is-visible {
  display: block;
}

.gallery-thumb.is-active {
  border: 2px solid #333;
}

.gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-summary h2 {
  margin: 0 0 14px;
  color: #3f474c;
  font-size: 22px;
  font-weight: normal;
  line-height: 1.32;
}

.product-summary>p:not(.summary-category) {
  margin: 16px 0 20px;
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}

.summary-category {
  margin: 0;
  padding: 8px 10px;
  color: #666;
  background: #f2f2f2;
  font-size: 13px;
}

.summary-category a {
  color: var(--blue);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.detail-inquiry,
.detail-contact {
  display: inline-flex;
  min-height: 44px;
  padding: 0 30px;
  align-items: center;
  justify-content: center;
  color: white;
  background: #079bd6;
}

.detail-inquiry:hover {
  color: white;
  background: #087fb1;
}

.detail-contact {
  background: #f29100;
}

.detail-contact:hover {
  color: white;
  background: #d98000;
}

.image-lightbox:not([open]) {
  display: none;
}

.image-lightbox[open] {
  position: relative;
  display: grid;
  width: min(94vw, 1100px);
  height: min(92dvh, 900px);
  max-width: none;
  max-height: none;
  padding: 42px 24px 24px;
  place-items: center;
  overflow: hidden;
  border: 0;
  box-sizing: border-box;
  background: white;
  box-shadow: 0 16px 45px rgb(0 0 0 / 32%);
}

.image-lightbox::backdrop {
  background: rgb(0 0 0 / 72%);
}

.image-lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  object-fit: contain;
}

.image-lightbox:focus {
  outline: none;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  padding: 0;
  place-items: center;
  border: 0;
  color: white;
  cursor: pointer;
}

.lightbox-close {
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #333;
  font-size: 25px;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  width: 42px;
  height: 64px;
  background: rgb(32 49 59 / 72%);
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-nav:hover {
  background: rgb(7 155 214 / 92%);
}

.lightbox-nav-prev {
  left: 8px;
}

.lightbox-nav-next {
  right: 8px;
}

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

.product-description {
  margin-top: 25px;
  border-top: 2px solid #079bd6;
}

.product-description>h2 {
  display: inline-block;
  margin: -2px 0 0;
  padding: 8px 15px;
  color: white;
  background: #079bd6;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.description-copy {
  padding: 18px 4px 0;
}

.description-copy p {
  margin: 0 0 15px;
  color: #777;
  font-size: 14px;
  line-height: 1.85;
}

.description-copy h3 {
  margin: 18px 0 9px;
  color: #555;
  font-size: 15px;
}

.description-copy ul {
  margin: 0 0 17px;
  padding-left: 20px;
  color: #777;
  font-size: 14px;
  line-height: 1.85;
}

.description-copy a {
  color: var(--blue);
}

@media (max-width: 800px) {
  .inner-banner {
    height: 180px;
  }

  .inner-main {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 26px;
  }

  .side-contact {
    display: none;
  }

  .side-nav {
    display: flex;
    flex-wrap: wrap;
  }

  .side-nav li {
    flex: 1 1 150px;
  }

  .side-nav li+li {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .side-subnav {
    display: none;
  }

  .product-layout {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-info,
  .product-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .inner-banner {
    height: 135px;
  }

  .breadcrumbs {
    display: block;
    padding: 10px 0;
  }

  .breadcrumbs h1 {
    margin-top: 3px;
  }

  .product-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }

  .feedback-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .feedback-row label {
    padding-top: 0;
  }

  .form-button,
  .form-message {
    margin-left: 0;
  }

  .news-list li {
    gap: 12px;
  }
}
