.details-page .site-header {
  background: rgba(2, 7, 18, .68);
}

.detail-hero {
  padding: 86px 0 58px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb-icon {
  width: 14px;
  height: 14px;
  color: rgba(155, 168, 199, .62);
}

.breadcrumbs a:hover {
  color: #fff;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: 56px;
  align-items: start;
}

.detail-main-shot {
  height: 420px;
  border-radius: 10px;
}

.detail-main-shot .shot-ui {
  height: 270px;
  left: 34px;
  right: 34px;
  bottom: 34px;
}

.detail-thumbs {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 42px repeat(5, 1fr) 42px;
  gap: 14px;
}

.detail-thumbs button,
.preview-strip button {
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .11);
  color: #fff;
  background: rgba(7, 15, 32, .82);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.detail-thumbs button:hover,
.preview-strip button:hover {
  border-color: rgba(151, 91, 255, .45);
  background: rgba(124, 60, 255, .14);
  box-shadow: 0 0 24px rgba(124, 60, 255, .18);
  transform: translateY(-1px);
}

.detail-thumbs button:disabled,
.preview-strip button:disabled {
  opacity: .38;
  cursor: not-allowed;
}

.detail-thumbs button:disabled:hover,
.preview-strip button:disabled:hover {
  border-color: rgba(255, 255, 255, .11);
  background: rgba(7, 15, 32, .82);
  box-shadow: none;
  transform: none;
}

.detail-thumbs button svg,
.preview-strip button svg {
  width: 20px;
  height: 20px;
}

.thumb {
  height: 74px;
  border-radius: 7px;
  padding: 0;
}

.thumb .shot-ui {
  inset: 14px;
  height: auto;
}

.thumb.active {
  border: 2px solid var(--purple);
  box-shadow: 0 0 24px rgba(124, 60, 255, .38);
}

.detail-summary h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 4.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -.05em;
}

.detail-summary h1 span {
  display: block;
  color: var(--purple-2);
}

.detail-summary > p {
  margin: 0 0 22px;
  color: rgba(247, 248, 255, .84);
  line-height: 1.75;
  font-size: 16px;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.detail-badges span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #bdefff;
  background: rgba(0, 213, 255, .08);
  border: 1px solid rgba(0, 213, 255, .14);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-badges span:last-child {
  color: #72f3b5;
  background: rgba(24, 226, 141, .08);
  border-color: rgba(24, 226, 141, .14);
}

.detail-specs {
  display: grid;
  gap: 17px;
  margin: 0 0 32px;
}

.detail-specs div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
}

.detail-specs dt {
  color: var(--muted);
  font-size: 13px;
}

.detail-specs dd {
  margin: 0;
  color: #fff;
  font-size: 13px;
}

.detail-buy {
  display: grid;
  grid-template-columns: 120px 1fr 54px;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.detail-buy > strong {
  font-size: 34px;
  line-height: 1;
}

.detail-buy .btn.is-in-cart {
  color: #ffb0c4;
  background: linear-gradient(135deg, rgba(255, 67, 113, .2), rgba(124, 60, 255, .18));
  border: 1px solid rgba(255, 122, 155, .28);
}

.wish-btn {
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(7, 15, 32, .76);
  color: #fff;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.wish-btn.active {
  color: #ff74d4;
  border-color: rgba(255, 116, 212, .45);
  background: rgba(255, 116, 212, .12);
  box-shadow: 0 0 28px rgba(255, 116, 212, .18);
}

.detail-feedback {
  margin: -10px 0 22px;
  padding: 12px 14px;
  border-radius: 8px;
  color: #18e28d;
  background: rgba(24, 226, 141, .08);
  border: 1px solid rgba(24, 226, 141, .18);
  font-size: 13px;
  font-weight: 800;
}

.detail-latest-badge {
  width: max-content;
  margin-left: 8px;
  padding: 4px 7px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(56, 220, 150, .3);
  border-radius: 999px;
  color: #38dc96;
  background: rgba(56, 220, 150, .1);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.detail-info-template > .detail-latest-badge {
  margin: 0 0 12px;
}

.detail-info-template li .detail-latest-badge {
  margin: 0 7px 0 0;
}

.detail-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.detail-trust div {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 9px;
  align-items: center;
}

.detail-trust svg {
  grid-row: span 2;
  color: var(--purple-2);
  font-size: 22px;
}

.detail-trust strong {
  font-size: 12px;
}

.detail-trust span {
  color: var(--muted);
  font-size: 11px;
}

.detail-section {
  padding: 58px 0;
  border-top: 1px solid rgba(255, 255, 255, .055);
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--muted);
}

.detail-feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  max-width: 1158px;
  margin: 0 auto;
}

.detail-feature-grid article,
.info-grid > *,
.reviews-grid article {
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(10, 22, 48, .78), rgba(6, 14, 31, .78));
  border: 1px solid rgba(160, 130, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.detail-feature-grid article {
  width: 178px;
  min-width: 178px;
  min-height: 190px;
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.detail-feature-grid article div {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  color: var(--purple-2);
  filter: drop-shadow(0 0 18px rgba(124, 60, 255, .48));
}

.detail-feature-grid svg {
  width: 42px;
  height: 42px;
}

.detail-feature-grid h3 {
  margin: 0 0 10px;
  font-size: 14px;
}

.detail-feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.preview-strip {
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: center;
}

.preview-strip > button {
  flex: 0 0 auto;
  width: 42px;
  height: 220px;
}

.preview-strip .product-shot {
  flex: 0 0 clamp(190px, 25vw, 330px);
  width: clamp(190px, 25vw, 330px);
  height: 220px;
  padding: 0;
  cursor: pointer;
}

.preview-strip .product-shot.active {
  border-color: rgba(177, 76, 255, .65);
  box-shadow: 0 0 30px rgba(124, 60, 255, .2);
}

.detail-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  padding: 72px 28px 28px;
  display: grid;
  place-items: start center;
  background: rgba(2, 7, 18, .9);
  backdrop-filter: blur(14px);
}

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

.detail-lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  background: rgba(7, 15, 32, .92);
  font-size: 18px;
  font-weight: 950;
  cursor: pointer;
}

.detail-lightbox-close:hover {
  border-color: rgba(177, 76, 255, .55);
  background: rgba(124, 60, 255, .22);
}

.detail-lightbox-frame {
  width: min(1280px, 96vw);
  height: min(760px, calc(100vh - 104px));
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(177, 76, 255, .45);
  box-shadow: 0 30px 120px rgba(0, 0, 0, .55), 0 0 48px rgba(124, 60, 255, .16);
}

.detail-lightbox-frame .product-shot,
.detail-lightbox-frame .detail-lightbox-image {
  width: 100%;
  height: 100%;
}

.detail-lightbox-frame .detail-lightbox-image {
  display: block;
  object-fit: contain;
  background: #020712;
}

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

.info-grid {
  display: grid;
  grid-template-columns: 170px 1fr 280px;
  gap: 16px;
}

.info-grid aside,
.info-grid article {
  padding: 22px;
}

.info-grid aside button {
  display: block;
  width: 100%;
  padding: 14px 12px;
  border-radius: 8px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.info-grid aside button.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(124, 60, 255, .34), rgba(124, 60, 255, .08));
  border-top: 1px solid rgba(177, 76, 255, .7);
}

.info-grid article p,
.info-grid aside p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
}

.info-grid article p {
  white-space: pre-wrap;
}

.info-grid article ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

.info-grid article li::before,
.info-grid aside p::before {
  content: "✓";
  margin-right: 9px;
  color: #18e28d;
}

.info-grid aside > div + div {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.reviews-grid article {
  padding: 22px;
}

.avatar {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 40% 35%, #fff, #59647c 28%, #111827 70%);
}

.reviews-grid span {
  display: block;
  margin: 7px 0 12px;
  color: var(--purple-2);
  letter-spacing: .12em;
}

.reviews-grid p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.reviews-grid small {
  color: #18e28d;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .detail-hero-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .preview-strip button {
    display: none;
  }
}

@media (max-width: 700px) {
  .detail-main-shot {
    height: 300px;
  }

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

  .detail-thumbs button {
    display: none;
  }

  .detail-buy,
  .detail-trust {
    grid-template-columns: 1fr;
  }

  .detail-feature-grid article {
    width: min(100%, 280px);
    min-width: 0;
  }

  .detail-specs div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
