.product-detail-page {
  --product-bg: #0b1018;
  --product-panel: #121a24;
  --product-panel-raised: #17212d;
  --product-border: rgba(190, 205, 224, 0.12);
  --product-muted: #9ba9b9;
  --product-text: #f2f5f8;
  --product-red: #cf1f1f;
  --product-red-hover: #e12b2b;
  padding: 20px 0 42px;
  background: var(--product-bg);
  color: var(--product-text);
}

.product-detail-page,
.product-detail-page * {
  box-sizing: border-box;
}

.product-detail-container {
  max-width: 1400px;
}

.product-detail-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 5px 8px;
  height: auto;
  min-height: 0;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(190, 205, 224, 0.08);
  background: #0c1119;
  color: var(--product-muted);
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: right;
  direction: rtl;
}

.product-detail-breadcrumb a {
  flex: 0 0 auto;
  min-height: 0;
  color: #b6c1ce;
  text-decoration: none;
  transition: color 150ms ease;
}

.product-detail-breadcrumb span {
  flex: 0 0 auto;
  color: rgba(182, 193, 206, 0.42);
  font-size: 0.72rem;
  line-height: 1;
}

.product-detail-breadcrumb a:hover,
.product-detail-breadcrumb a:focus-visible {
  color: #fff;
}

.product-detail-breadcrumb strong {
  min-width: 0;
  max-width: min(55%, 620px);
  padding-right: 9px;
  border-right: 2px solid var(--product-red);
  overflow: hidden;
  color: #f5f7fa;
  font-size: 0.88rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 252px;
  align-items: start;
  gap: 22px;
}

.product-detail-main {
  display: grid;
  min-width: 0;
  gap: 18px;
}

.product-overview,
.product-information-panel,
.product-sidebar-card {
  border: 1px solid var(--product-border);
  border-radius: 10px;
  background: var(--product-panel);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.product-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 270px);
  gap: 22px 26px;
  padding: clamp(20px, 2.5vw, 30px);
}

.product-overview-heading {
  min-width: 0;
  align-self: center;
}

.product-eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: #ed6262;
  font-size: 0.83rem;
  font-weight: 700;
}

.product-overview h1 {
  margin: 0;
  color: var(--product-text);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.product-dimensions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 14px;
  margin-top: 20px;
  padding: 12px 15px;
  border-right: 3px solid var(--product-red);
  border-radius: 5px;
  background: rgba(207, 31, 31, 0.09);
}

.product-dimensions span {
  color: var(--product-muted);
  font-size: 0.88rem;
}

.product-dimensions strong {
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 0.015em;
}

.product-inquiry-card {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: var(--product-panel-raised);
}

.product-price {
  display: grid;
  gap: 4px;
}

.product-price > span:first-child {
  color: var(--product-muted);
  font-size: 0.83rem;
}

.product-price strong {
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.product-price strong small {
  color: #c2ccd7;
  font-size: 0.8rem;
  font-weight: 500;
}

.product-price .product-updated {
  color: var(--product-muted);
  font-size: 0.76rem;
}

.product-inquiry-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid var(--product-red);
  border-radius: 6px;
  background: var(--product-red);
  color: #fff;
  font-size: 0.91rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.product-inquiry-button:hover,
.product-inquiry-button:focus-visible {
  border-color: var(--product-red-hover);
  background: var(--product-red-hover);
  color: #fff;
}

.product-contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #c0cbd7;
  font-size: 0.78rem;
  text-decoration: none;
}

.product-contact-link strong {
  color: #fff;
  font-size: 0.88rem;
}

.product-highlight-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 220px));
  justify-content: start;
  gap: 10px;
}

.product-highlight {
  display: grid;
  min-height: 72px;
  align-content: center;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid var(--product-border);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
}

.product-highlight span {
  color: var(--product-muted);
  font-size: 0.76rem;
}

.product-highlight strong {
  color: #eaf0f6;
  font-size: 0.91rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.product-information-panel {
  padding: 0;
  overflow: hidden;
}

.product-tabs {
  display: flex;
  gap: 5px;
  padding: 0 20px;
  border-bottom: 1px solid var(--product-border);
  background: rgba(255, 255, 255, 0.018);
}

.product-tab {
  position: relative;
  min-height: 56px;
  padding: 12px 16px;
  border: 0;
  background: transparent;
  color: var(--product-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.91rem;
  font-weight: 650;
}

.product-tab::after {
  position: absolute;
  right: 12px;
  bottom: -1px;
  left: 12px;
  height: 2px;
  background: transparent;
  content: "";
}

.product-tab:hover,
.product-tab:focus-visible {
  color: #fff;
}

.product-tab.is-active {
  color: #fff;
}

.product-tab.is-active::after {
  background: var(--product-red);
}

.product-tab:focus-visible,
.product-inquiry-button:focus-visible,
.product-sidebar-card a:focus-visible {
  outline: 2px solid #ff7777;
  outline-offset: 3px;
}

.product-tab-panel {
  padding: clamp(18px, 3vw, 28px);
}

.product-tab-panel[hidden] {
  display: none !important;
}

.product-specifications-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--product-border);
  border-radius: 7px;
}

.product-specifications-table {
  width: 100%;
  border-collapse: collapse;
  color: #e6edf4;
  font-size: 0.91rem;
}

.product-specifications-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.product-specifications-table th,
.product-specifications-table td {
  width: 50%;
  padding: 13px 16px;
  border-bottom: 1px solid var(--product-border);
  text-align: right;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.product-specifications-table tr:last-child th,
.product-specifications-table tr:last-child td {
  border-bottom: 0;
}

.product-specifications-table th {
  color: #aebbc9;
  font-weight: 550;
}

.product-specifications-table td {
  color: #f0f4f8;
}

.product-specifications-table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

.product-description {
  max-width: 74ch;
  color: #d4dde7;
  line-height: 2;
}

.product-description h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.product-description p,
.product-empty-note {
  margin: 0;
}

.product-empty-note {
  color: var(--product-muted);
  line-height: 1.9;
}

.product-detail-sidebar {
  display: grid;
  gap: 14px;
}

.product-sidebar-card {
  padding: 15px;
}

.product-sidebar-card h2 {
  margin: 0 0 12px;
  color: #f3f6f9;
  font-size: 0.96rem;
  font-weight: 700;
}

.product-sidebar-card nav,
.product-related-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-sidebar-card nav a,
.product-related-list a {
  display: block;
  padding: 8px 9px;
  border-radius: 5px;
  color: #b7c3d0;
  font-size: 0.83rem;
  line-height: 1.55;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color 150ms ease, color 150ms ease;
}

.product-sidebar-card nav a:hover,
.product-related-list a:hover {
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
}

.product-sidebar-card nav a.is-current {
  border-right: 2px solid var(--product-red);
  background: rgba(207, 31, 31, 0.1);
  color: #fff;
}

@media (max-width: 767.98px) {
  body.product-detail-page-body .mobile-call-button {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .product-detail-layout {
    grid-template-columns: minmax(0, 1fr) 224px;
    gap: 15px;
  }

  .product-overview {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-inquiry-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(185px, 0.8fr);
    align-items: center;
  }

  .product-contact-link {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  .product-detail-page {
    padding: 14px 0 38px;
  }

  .product-detail-breadcrumb {
    gap: 5px 7px;
    margin-bottom: 13px;
    padding: 7px 9px;
    font-size: 0.74rem;
  }

  .product-detail-breadcrumb span:last-of-type {
    display: none;
  }

  .product-detail-breadcrumb strong {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 8px;
    overflow: visible;
    font-size: 0.82rem;
    line-height: 1.7;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .product-detail-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .product-detail-main {
    gap: 13px;
  }

  .product-overview {
    gap: 18px;
    padding: 19px 16px;
  }

  .product-inquiry-card {
    display: flex;
    align-items: stretch;
    padding: 15px;
  }

  .product-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-highlight {
    min-width: 0;
    padding: 10px 11px;
  }

  .product-tabs {
    gap: 0;
    padding: 0 10px;
  }

  .product-tab {
    flex: 1;
    min-height: 52px;
    padding: 10px 8px;
    font-size: 0.84rem;
  }

  .product-specifications-table th,
  .product-specifications-table td {
    padding: 11px 10px;
    font-size: 0.83rem;
  }

  .product-detail-sidebar {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  }

  .product-detail-page .product-quick-access-card {
    min-width: 0;
    padding: 16px;
  }

  .product-detail-page .product-quick-access-card h2 {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    padding-right: 10px;
    border-right: 3px solid var(--product-red);
    font-size: 1.02rem;
    line-height: 1.6;
  }

  .product-detail-page .product-quick-access-card nav {
    height: auto;
    gap: 8px;
  }

  .product-detail-page .product-quick-access-card nav a {
    display: flex;
    min-height: 44px;
    align-items: center;
  }

  .product-detail-page .product-sidebar-card nav a.product-all-products-link {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 1px solid var(--product-red);
    border-radius: 6px;
    background: var(--product-red);
    color: #fff;
    font-weight: 700;
    text-align: center;
    transition: background-color 150ms ease, border-color 150ms ease;
  }

  .product-detail-page .product-sidebar-card nav a.product-all-products-link:hover,
  .product-detail-page .product-sidebar-card nav a.product-all-products-link:focus-visible {
    border-color: var(--product-red-hover);
    background: var(--product-red-hover);
    color: #fff;
  }

  .product-detail-page .product-sidebar-card nav a.product-all-products-link:active {
    background: var(--product-red);
  }
}

@media (max-width: 380px) {
  .product-overview h1 {
    font-size: 1.4rem;
  }

  .product-dimensions {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-detail-page *,
  .product-detail-page *::before,
  .product-detail-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
