.product-detail {
  padding: 90px 0 70px;
  background: #fff;
}

.product-detail__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 45px;
  padding: 0;
  list-style: none;
  color: #777;
  font-size: 13px;
}

.product-detail__breadcrumb li:not(:last-child)::after {
  margin-left: 8px;
  content: "/";
  color: #aaa;
}

.product-detail__breadcrumb a {
  color: #313363;
}

.product-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
  gap: 70px;
  align-items: start;
}

.product-detail__media {
  position: sticky;
  top: 110px;
}

.product-detail__main-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  padding: 40px;
  overflow: hidden;
  background: #fafafa;
  cursor: pointer;
}

.product-detail__main-image::after {
  content: "\f00e";
  font-family: "FontAwesome";
  position: absolute;
  top: 15px;
  right: 15px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.9);
  color: #313363;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  opacity: 0.7;
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}

.product-detail__main-image:hover::after {
  opacity: 1;
  transform: scale(1.1);
}

.product-detail__main-image img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  transition: filter .25s ease, opacity .2s ease, transform .3s ease;
}

.product-detail__main-image:hover img {
  transform: scale(1.02);
}

/* Product Thumbnails Gallery */
.product-detail__thumbnails {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.product-detail__thumbnail {
  display: block;
  width: 72px;
  height: 72px;
  padding: 6px;
  border: 1px solid #e2e2e2;
  background: #fff;
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.product-detail__thumbnail:hover,
.product-detail__thumbnail.is-active {
  border-color: #313363;
  box-shadow: 0 0 0 2px rgba(49, 51, 99, 0.12);
}

.product-detail__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Image Lightbox Modal */
.image-lightbox-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .25s ease;
}

.image-lightbox-modal.is-open {
  display: flex;
  opacity: 1;
}

.image-lightbox-modal__content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-lightbox-modal__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform .25s ease, filter .25s ease;
}

.image-lightbox-modal.is-open .image-lightbox-modal__img {
  transform: scale(1);
}



.image-lightbox-modal__close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #fff;
  font-size: 36px;
  font-weight: 300;
  cursor: pointer;
  background: transparent;
  border: none;
  line-height: 1;
  z-index: 100000;
  transition: transform .2s ease, color .2s ease;
}

.image-lightbox-modal__close:hover {
  color: #ddd;
  transform: scale(1.15);
}

.product-detail__eyebrow {
  margin-bottom: 8px;
  color: #777;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.product-detail__title {
  margin: 0 0 32px;
  color: #111;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.2;
}

.product-detail__code {
  margin-bottom: 35px;
  color: #333;
  font-size: 18px;
  font-weight: 500;
}

.product-detail__color-heading {
  margin-bottom: 15px;
  color: #111;
  font-size: 16px;
  font-weight: 600;
}

.product-detail__colors {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.product-detail__color {
  display: block;
  min-width: 0;
  padding: 8px;
  border: 1px solid #e2e2e2;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.product-detail__color:hover,
.product-detail__color:focus,
.product-detail__color.is-active {
  border-color: #313363;
  box-shadow: 0 0 0 2px rgba(49, 51, 99, .1);
  outline: none;
}

.product-detail__color img {
  display: block;
  width: 100%;
  height: 62px;
  object-fit: contain;
}



.product-detail__selected-color {
  min-height: 22px;
  margin-bottom: 34px;
  color: #666;
  font-size: 13px;
}

.product-detail__intro {
  margin-bottom: 30px;
  color: #555;
  font-size: 15px;
  line-height: 1.8;
}

.product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-detail__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid #313363;
  background: #313363;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

.product-detail__button:hover {
  background: #fff;
  color: #313363;
  text-decoration: none;
}

.product-detail__button--secondary {
  background: #fff;
  color: #313363;
}

.product-detail__button--secondary:hover {
  background: #313363;
  color: #fff;
}

.product-description {
  padding: 80px 0;
  background: #f8f8f8;
}

.product-description__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 70px;
}

.product-description h2 {
  margin-bottom: 22px;
  color: #111;
  font-size: 30px;
  font-weight: 600;
}

.product-description p {
  color: #555;
  font-size: 15px;
  line-height: 1.85;
}

.product-description__specs {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #ddd;
}

.product-description__specs li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
  color: #555;
  font-size: 14px;
}

.product-description__specs strong {
  color: #111;
  font-weight: 500;
}

@media (max-width: 991px) {
  .product-detail__layout,
  .product-description__layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .product-detail__media {
    position: static;
  }
}

@media (max-width: 575px) {
  .product-detail {
    padding: 55px 0 50px;
  }

  .product-detail__main-image {
    min-height: 330px;
    padding: 20px;
  }

  .product-detail__title {
    font-size: 30px;
  }

  .product-detail__colors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail__button {
    width: 100%;
  }

  .product-description {
    padding: 60px 0;
  }
}
