/* Product detail — Figma 21:344 */

.detail-breadcrumb {
  background: #f7f8f5;
  border-bottom: 1px solid rgba(224, 226, 217, 0.1);
  padding: 24px 0 25px;
}

.detail-breadcrumb__inner {
  max-width: 1411px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.detail-breadcrumb a,
.detail-breadcrumb span {
  font-size: 16px;
  line-height: 24px;
}

.detail-breadcrumb a {
  color: #9a9e8e;
}

.detail-breadcrumb span {
  font-weight: 700;
  color: #1a1a1a;
}

.detail-breadcrumb img {
  width: 4.3px;
  height: 7px;
}

.detail-hero {
  background: #f7f8f5;
  padding: 56px 0 80px;
}

.detail-hero__inner {
  max-width: 1411px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.detail-main-swiper,
.detail-thumbs-swiper {
  width: 100%;
  overflow: hidden;
}

.detail-gallery__main {
  background: #fff;
  border: 1px solid rgba(224, 226, 217, 0.3);
  overflow: hidden;
  height: 500.5px;
}

.detail-gallery__main img {
  width: 137.5%;
  max-width: none;
  height: 100%;
  margin-left: -18.75%;
  object-fit: cover;
}

.detail-thumbs-swiper .swiper-slide {
  height: auto;
  opacity: 1;
}

.detail-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #fff;
  box-shadow: 0 0 0 1px #e0e2d9;
  height: 155.5px;
  overflow: hidden;
  cursor: pointer;
  pointer-events: none;
}

.detail-thumbs-swiper .swiper-slide-thumb-active .detail-thumb {
  box-shadow: 0 0 0 2px var(--color-lime);
}

.detail-thumb img {
  width: 183.51%;
  max-width: none;
  height: 100%;
  margin-left: -41.76%;
  object-fit: cover;
}

.detail-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.detail-tag {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(212, 221, 130, 0.2);
  color: var(--color-olive);
  font-size: 16px;
  line-height: 24px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.detail-info h2 {
  margin: 0 0 16px;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -0.96px;
  color: #1a1a1a;
}

.detail-price {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
  color: #b51818;
}

.detail-desc {
  margin: 0 0 40px;
  font-size: 16px;
  line-height: 26px;
  color: #5a5e52;
}

.detail-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  background: var(--color-lime);
  color: var(--color-olive);
  font-size: 16px;
  line-height: 24px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.detail-cta:hover {
  background: #dde68f;
  transform: translateY(-2px);
}

.detail-editorial {
  background: #fff;
  padding: 128px 0;
}

.detail-editorial__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 64px;
}

.detail-editorial h3 {
  margin: 0 0 16px;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.6px;
  color: #1a1a1a;
}

.detail-editorial__lead {
  margin: 0 0 48px;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.8;
  color: #5a5e52;
}

.detail-editorial__media {
  background: #f0f1eb;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  margin-bottom: 48px;
}

.detail-editorial__media img {
  width: 100%;
  height: 127%;
  margin-top: -13.5%;
  object-fit: cover;
}

.detail-editorial__body p {
  margin: 0 0 0;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.8;
  color: #5a5e52;
}

.detail-related {
  background: #f7f8f5;
  padding: 128px 0;
}

.detail-related__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

.detail-related__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 64px;
}

.detail-related__eyebrow {
  margin: 0 0 8px;
  font-size: 16px;
  color: #9a9e8e;
}

.detail-related__head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: #1a1a1a;
}

.detail-related__link {
  border-bottom: 1px solid var(--color-olive);
  padding-bottom: 5px;
  color: var(--color-olive);
  font-size: 16px;
}

.detail-related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.detail-related__card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.detail-related__card:hover {
  transform: translateY(-4px);
}

.detail-related__img {
  background: #fff;
  border: 1px solid rgba(224, 226, 217, 0.3);
  overflow: hidden;
  height: 240px;
  margin-bottom: 24px;
}

.detail-related__img img {
  width: 136.66%;
  max-width: none;
  height: 100%;
  margin-left: -18.33%;
  object-fit: cover;
}

.detail-related__cat {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 500;
  line-height: 24px;
  text-transform: uppercase;
  color: #9a9e8e;
}

.detail-related__card h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: #1a1a1a;
}

@media (max-width: 1100px) {
  .detail-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .detail-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-editorial h3 {
    font-size: 40px;
  }

  .detail-editorial__lead,
  .detail-editorial__body p {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .detail-info h2 {
    font-size: 32px;
    line-height: 1.2;
  }

  .detail-gallery__main,
  .detail-thumb {
    height: 220px;
  }

  .detail-related__grid {
    grid-template-columns: 1fr;
  }

  .detail-editorial__inner,
  .detail-related__inner {
    padding: 0 24px;
  }

  .detail-related__head {
    flex-direction: column;
    align-items: flex-start;
  }
}
