.product-details-page {
  background: #000000;
}

.page-breadcrumb {
  position: static;
  top: auto;
  z-index: auto;
  background: #000000;
  padding: 12px 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid #000000;
}

.page-breadcrumb .container {
  gap: 8px;
  min-height: 0;
  color: inherit;
}

.page-breadcrumb a {
  color: #fff;
}

.page-breadcrumb__sep {
  color: #fff;
}

.page-breadcrumb__current {
  color: var(--red);
}

.product-detail-hero {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  color: #fff;
  background: #1b1b1b;
}

.product-detail-hero__image,
.product-detail-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.product-detail-hero__image {
  object-fit: cover;
}

.product-detail-hero__overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.52) 28%, rgba(0, 0, 0, 0.08) 64%, rgba(0, 0, 0, 0) 100%);
}

.product-detail-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 380px;
  max-width: 720px;
  padding-top: 34px;
  padding-bottom: 44px;
}

.product-detail-hero__eyebrow {
  margin: 0 0 10px;
  color: #d63b3b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-detail-hero h1 {
  margin: 0;
  font-size: 52px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.product-detail-hero__summary {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.5;
}

.product-detail-main {
  background: #fff;
  padding: 14px 0 64px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.detail-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 100px;
  align-self: start;
}

.detail-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
}

.detail-card__title {
  margin: 0;
  padding: 16px 20px;
  background: var(--red);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.detail-contact-list {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.detail-contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.detail-contact-label {
  display: block;
  margin-bottom: 2px;
  color: #1f1f1f;
  font-weight: 700;
}

.detail-contact-list a {
  color: #555;
}

.detail-related-list li + li {
  border-top: 1px solid #ededed;
}

.detail-related-list a {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 24px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
}

.detail-related-list img {
  width: 78px;
  height: 54px;
  border-radius: 3px;
  object-fit: cover;
}

.detail-related-list span:first-of-type {
  color: #2f2f2f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.detail-related-list__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  justify-self: end;
  position: relative;
}

.detail-related-list__arrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.8px solid #fff;
  border-right: 1.8px solid #fff;
  transform: translateX(-1px) rotate(45deg);
  display: block;
}

.detail-related-empty {
  padding: 16px;
  color: #777;
  font-size: 14px;
  line-height: 1.7;
}

.product-detail-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.product-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  padding: 16px;
}

.product-gallery-stage {
  position: relative;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  overflow: hidden;
  background: #f8f8f8;
}

.product-gallery-stage img {
  width: 100%;
  aspect-ratio: 16 / 11.2;
  object-fit: cover;
  display: block;
}

.product-gallery-lens {
  position: absolute;
  top: 0;
  left: 0;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 2;
  transition: opacity 0.15s ease;
}

.product-gallery-mask {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.15s ease;
}

.product-gallery-stage.is-zooming .product-gallery-mask,
.product-gallery-stage.is-zooming .product-gallery-lens {
  opacity: 1;
  visibility: visible;
}

.product-gallery-zoom-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  pointer-events: none;
  z-index: 3;
}

.product-gallery-zoom-indicator::before,
.product-gallery-zoom-indicator::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.product-gallery-zoom-indicator::before {
  top: 5px;
  left: 5px;
  width: 8px;
  height: 8px;
  border: 1.6px solid #2b7fd3;
  border-radius: 50%;
}

.product-gallery-zoom-indicator::after {
  right: 4px;
  bottom: 4px;
  width: 6px;
  height: 1.6px;
  background: #2b7fd3;
  transform: rotate(45deg);
  transform-origin: center;
}

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.product-gallery-thumbs__viewport {
  overflow: hidden;
  min-width: 0;
}

.product-gallery-thumbs__track {
  display: flex;
  gap: 10px;
  transition: transform 0.28s ease;
}

.product-gallery-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.product-gallery-arrow[disabled] {
  opacity: 0.35;
  cursor: default;
}

.product-gallery-arrow img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.product-gallery-thumb {
  flex: 0 0 calc((100% - 40px) / 5);
  padding: 0;
  border: 2px solid transparent;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.product-gallery-thumb.is-active {
  border-color: var(--red);
}

.product-gallery-thumb img {
  width: 100%;
  aspect-ratio: 1 / 0.76;
  object-fit: cover;
}

.product-summary {
  position: relative;
  min-width: 0;
  padding: 6px 6px 0 12px;
}

.product-summary-zoom-overlay {
  position: absolute;
  inset: 0;
  z-index: 8;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 4px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease;
  overflow: hidden;
}

.product-summary.is-zoom-open .product-summary-zoom-overlay {
  opacity: 1;
  visibility: visible;
}

.product-summary-zoom-surface {
  position: absolute;
  inset: 0;
  background-color: #fff;
  background-repeat: no-repeat;
}

.product-summary h2 {
  margin: 0 0 24px;
  padding: 0;
  background: transparent;
  color: #2f2f2f;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
}

.product-summary__intro {
  margin-bottom: 18px;
}

.product-summary__intro p {
  margin: 0 0 14px;
  color: #676767;
  font-size: 15px;
  line-height: 1.8;
}

.product-meta {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 0;
  border-bottom: 0;
}

.product-meta li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.product-meta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--red);
}

.product-meta__icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.product-meta strong {
  min-width: 116px;
  color: #111;
  font-size: 14px;
  font-weight: 700;
}

.product-meta span,
.product-meta a {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
}

.product-meta a {
  color: var(--red);
  font-weight: 700;
}

.product-summary__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.product-summary__actions .button {
  min-width: 174px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  justify-content: center;
  border: 1px solid #a90000;
  background: #a90000;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  gap: 8px;
  text-transform: none;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.16),
    0 2px 10px rgba(169, 0, 0, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  animation: productButtonBreath 2.6s ease-in-out infinite;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-summary__actions .button span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: none;
}

.product-summary__actions .button--dark {
  background: #fff;
  border-color: #a90000;
  color: #a90000;
}

.product-summary__actions .button:hover,
.product-summary__actions .button:focus-visible {
  background: #930708;
  transform: translateY(-1px);
  animation-play-state: paused;
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.22),
    0 3px 14px rgba(169, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.product-summary__actions .button--dark:hover,
.product-summary__actions .button--dark:focus-visible {
  background: #fff6f6;
  color: #930708;
}

@keyframes productButtonBreath {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 8px 18px rgba(0, 0, 0, 0.16),
      0 2px 10px rgba(169, 0, 0, 0.2),
      0 0 0 0 rgba(169, 0, 0, 0.08),
      inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  }

  50% {
    transform: scale(1.02);
    box-shadow:
      0 12px 24px rgba(0, 0, 0, 0.2),
      0 4px 16px rgba(169, 0, 0, 0.28),
      0 0 0 6px rgba(169, 0, 0, 0.08),
      inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-summary__actions .button {
    animation: none;
  }
}

.product-summary__action-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  flex: 0 0 16px;
}

.product-summary__actions .button img.product-summary__action-arrow {
  width: 10px;
  height: 10px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  flex: 0 0 10px;
}

.product-summary__actions .button--dark .product-summary__action-icon,
.product-summary__actions .button--dark .product-summary__action-arrow {
  filter: brightness(0) saturate(100%) invert(15%) sepia(91%) saturate(3983%) hue-rotate(352deg) brightness(81%) contrast(112%);
}

.product-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.product-socials__label {
  margin-right: 2px;
  color: #222;
  font-size: 14px;
  font-weight: 700;
}

.product-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0f0f0f;
  overflow: hidden;
}

.product-socials img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.detail-section {
  padding: 18px;
}

.detail-section__title {
  margin: 0 0 18px;
  padding: 12px 16px;
  background: var(--red);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 4px;
}

.detail-section__copy,
.detail-richtext {
  color: #555;
  font-size: 15px;
  line-height: 1.8;
}

.detail-richtext {
  margin-top: 22px;
}

.detail-richtext p + p {
  margin-top: 12px;
}

.detail-richtext ul,
.detail-richtext ol {
  padding-left: 22px;
  margin: 0 0 16px;
}

.detail-richtext img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.detail-richtext table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
}

.detail-richtext table th,
.detail-richtext table td {
  border: 1px solid #e8e8e8;
  padding: 10px 12px;
}

.detail-prevnext {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #ececec;
}

.detail-prevnext__item {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.detail-prevnext__item span {
  color: #222;
  font-weight: 700;
  margin-right: 8px;
}

.detail-prevnext__item a {
  color: var(--red);
}

.inquiry-panel {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 26px 18px;
  border: 1px solid #e5e5e5;
  background: #fff;
}

.inquiry-copy {
  padding: 4px 12px 4px 18px;
  border-left: 4px solid var(--red);
}

.inquiry-copy h2 {
  display: inline-block;
  margin: 0 0 10px;
  padding: 16px 20px 15px;
  min-width: 236px;
  background: var(--red);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
}

.inquiry-copy p {
  margin: 0;
  max-width: 210px;
  color: #5f5f5f;
  font-size: 15px;
  line-height: 1.6;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.inquiry-field--full {
  grid-column: 1 / -1;
}

.inquiry-field input,
.inquiry-field textarea,
.inquiry-form button {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  font-size: 15px;
}

.inquiry-field input,
.inquiry-field textarea {
  padding: 12px 16px;
  color: #2f2f2f;
  background: #fff;
}

.inquiry-field textarea {
  min-height: 110px;
  resize: vertical;
}

.inquiry-form button {
  width: auto;
  min-width: 180px;
  padding: 0 24px;
  justify-self: center;
  grid-column: 1 / -1;
  border: 0;
  cursor: pointer;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .product-detail-layout,
  .product-overview,
  .inquiry-panel {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
    order: 2;
  }

  .product-gallery-zoom-indicator,
  .product-gallery-lens,
  .product-summary-zoom-overlay {
    display: none;
  }
}

@media (max-width: 720px) {
  .product-details-page .page-breadcrumb .container,
  .product-details-page .product-detail-hero .container,
  .product-details-page .product-detail-main > .container {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
  }

  .product-detail-hero {
    min-height: 300px;
  }

  .product-detail-hero__content {
    min-height: 300px;
    max-width: 100%;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .product-detail-hero h1 {
    font-size: 32px;
  }

  .product-detail-hero__summary {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.45;
  }

  .product-gallery-thumbs {
    grid-template-columns: 24px minmax(0, 1fr) 24px;
  }

  .product-gallery-thumb {
    flex-basis: calc((100% - 20px) / 3);
  }

  .product-summary h2 {
    font-size: 22px;
  }

  .product-summary__actions {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .product-summary__actions .button {
    min-width: 0;
    flex: 1 1 0;
    padding: 0 10px;
    font-size: 14px;
  }

  .product-gallery-zoom-indicator,
  .product-gallery-lens,
  .product-summary-zoom-overlay {
    display: none;
  }

  .sidebar-card--category {
    display: none;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .detail-section,
  .product-overview,
  .inquiry-panel {
    padding-left: 10px;
    padding-right: 10px;
  }

  .detail-card,
  .inquiry-panel {
    border: 0;
    border-radius: 0;
  }

  .inquiry-form button {
    width: 100%;
    justify-self: stretch;
  }
}
