/* Shared product detail design promoted from the approved installation preview. */
.product-detail { --detail-line: #ffffff20; width: min(860px, calc(100% - 64px)); margin: 0 auto; padding: 112px 0 64px; color: #f5f6f8; }
.product-detail svg { width: 22px; height: 22px; flex-shrink: 0; }
.product-detail button { font: inherit; color: inherit; cursor: pointer; }
.product-detail h1, .product-detail h2, .product-detail h3 { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 400; }
.detail-identity { margin-bottom: 24px; }
.detail-identity h1 { margin: 0; font-size: clamp(27px, 2.7vw, 38px); line-height: 1.24; letter-spacing: -.025em; text-wrap: balance; }
.detail-subtitle { margin: 12px 0 0; color: #c5ced9; font-size: 17px; line-height: 1.5; font-weight: 600; }
.detail-price { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 28px 0 0; }
.detail-price > strong { font: 500 32px/1.2 Arial, sans-serif; white-space: nowrap; letter-spacing: -.025em; }
.detail-price > strong span { font-size: 24px; }
.detail-price > span { color: #aeb6c0; font-size: 11px; line-height: 1.6; }
.detail-gallery { margin: 0; min-width: 0; }
.detail-stage { position: relative; overflow: hidden; border-radius: 14px; background: #171c24; border: 1px solid var(--detail-line); }
.detail-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in !important; touch-action: pan-y pinch-zoom; }
.detail-open > img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.detail-open:focus-visible { outline: 2px solid #86c9ee; outline-offset: -4px; }
.detail-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.detail-thumb { width: 86px; min-width: 0; padding: 3px; border: 1px solid #ffffff26; border-radius: 8px; background: #141922; opacity: .65; transition: opacity .15s; }
.detail-thumb[aria-pressed='true'] { opacity: 1; border-color: #86c9ee; box-shadow: 0 0 0 1px #86c9ee; }
.detail-thumb:hover { opacity: 1; }
.detail-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.detail-details { display: grid; grid-template-columns: 1fr; gap: 36px; margin-top: 24px; }
.detail-details h2 { font-size: 25px; line-height: 1.3; margin: 0 0 20px; }
.detail-description > p { color: #b8c1cd; font-size: 14px; line-height: 1.95; margin: 0 0 16px; }
.detail-description h3 { margin: 25px 0 16px; font-size: 19px; }
.detail-included { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 0; padding: 0; list-style: none; }
.detail-included li { display:block; position:relative; padding-left:24px; font-size: 12px; line-height: 1.7; color: #c5ced9; }
.detail-notes { margin: 0 0 16px; padding-left: 20px; list-style: disc; color: #c5ced9; font-size: 13px; line-height: 1.8; }
.detail-notes li + li { margin-top: 8px; }
.detail-specifications { border-top: 1px solid var(--detail-line); padding-top: 30px; }
.detail-specifications table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.65; table-layout: fixed; }
.detail-specifications th, .detail-specifications td { border-bottom: 1px solid var(--detail-line); padding: 14px 0; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.detail-specifications th { color: #9eabbc; font-weight: 400; width: 44%; padding-right: 18px; }
.detail-specifications tr:first-child > * { padding-top: 0; }
.detail-specifications-note { margin-top: 16px; color: #aeb9c7; font-size: 12px; line-height: 1.7; }
.detail-specifications-note p { margin: 0 0 12px; }
.detail-specifications-note p:last-child { margin-bottom: 0; }
.detail-specifications-note strong { color: #e5eaf0; font-weight: 600; }
.detail-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; margin-top: 44px; padding: 32px; border: 1px solid #ffffff1a; border-radius: 16px; background: radial-gradient(ellipse at 100% 100%, #183a5033, transparent 70%), #11161e; }
.detail-contact h2 { margin: 0; font-size: 27px; line-height: 1.35; }
.detail-actions { display: flex; gap: 10px; flex-shrink: 0; }
.detail-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1px solid #ffffff30; border-radius: 999px; text-decoration: none; color: white; font-size: 13px; background: #ffffff08; }
.detail-action--primary { background: #e6f1f7; color: #101720; border-color: #e6f1f7; }
.detail-action:hover { box-shadow: 0 0 0 2px #72bfe855; }
.detail-viewer { inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; padding: 20px; margin: 0; border: 0; color: white; background: #080b10fa; }
.detail-viewer::backdrop { background: #080b10; }
.detail-viewer[open] { display: flex; flex-direction: column; }
.detail-viewer-bar { display: flex; justify-content: flex-end; }
.detail-viewer-bar button { display: grid; place-items: center; width: 44px; height: 44px; background: #ffffff10; border: 1px solid #ffffff30; border-radius: 50%; }
.detail-viewer-stage { position: relative; min-height: 0; flex: 1; display: flex; justify-content: center; align-items: center; touch-action: pan-y pinch-zoom; }
.detail-viewer-stage img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 800px) {
  .product-detail { width: calc(100% - 36px); padding: 92px 0 40px; }
  .detail-identity { margin-bottom: 20px; }
  .detail-identity h1 { font-size: clamp(26px, 7.4vw, 34px); line-height: 1.22; }
  .detail-price { margin-top: 22px; gap: 8px 14px; }
  .detail-price > strong { font-size: 30px; }.detail-price > strong span { font-size: 23px; }
  .detail-price > span { font-size: 10px; }
  .detail-open > img { aspect-ratio: 4/3; max-height: 390px; }
  .detail-stage { border-radius: 10px; }
  .detail-thumbs { gap: 8px; margin-top: 10px; }
  .detail-thumb { width: 72px; flex-shrink: 1; }
  .detail-details { gap: 30px; margin-top: 20px; }
  .detail-details h2 { font-size: 23px; margin-bottom: 16px; }
  .detail-included { grid-template-columns: 1fr; gap: 10px; }
  .detail-specifications { border-top: 1px solid var(--detail-line); padding-top: 28px; }
  .detail-contact { align-items: stretch; flex-direction: column; padding: 24px 20px; gap: 23px; margin-top: 30px; }
  .detail-contact h2 { font-size: 25px; }
  .detail-actions { gap: 8px; }.detail-action { flex: 1; padding: 12px 10px; font-size: 12px; }
  .detail-viewer { padding: max(12px, env(safe-area-inset-top)) 10px max(12px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .detail-thumb { transition: none; } }

/* Keep the approved checkmarks without requiring decorative characters in content. */
.detail-included li::before { position:absolute; left:0; top:0; content: ""; width: 7px; height: 12px; margin: 3px 5px 0 3px; border: solid #84bad9; border-width: 0 1.7px 1.7px 0; transform: rotate(45deg); flex-shrink: 0; }
.product-detail { overflow-wrap: anywhere; }
.detail-thumbs { flex-wrap: wrap; }
.detail-thumb { flex: 0 0 86px; }
.detail-price > strong { white-space: normal; }
.detail-description strong { color: #e5eaf0; font-weight: 600; }
.detail-description .detail-included { margin-bottom: 16px; }
@media (max-width: 800px) { .detail-thumb { flex-basis: 72px; } }
