/* Standalone product pages use the same neutral storefront palette. */
.product-route #store-home { display: none; }
.product-page { padding-block: 25px 50px; }
.pdp-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #8b8b94; font-size: 11px; line-height: 1.8; margin-bottom: 28px; }
.pdp-breadcrumb a { color: #71717a; }
.pdp-breadcrumb a:hover { color: #18181b; text-decoration: underline; }
.pdp-breadcrumb [aria-current] { color: #3f3f46; }
.product-page .product-detail-layout { grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 58px; align-items: start; }
.product-page .detail-gallery { position: sticky; top: calc(var(--header-height) + 18px); padding: 0; background: transparent; }
.product-page .detail-media { aspect-ratio: 1.04; border: 0; border-radius: 3px; background: #f5f5f6; }
.product-page .detail-image { object-fit: contain; }
.product-page .detail-thumbnails { margin-top: 13px; padding: 2px; }
.product-page .detail-thumbnails button { width: 68px; height: 68px; border-radius: 3px; }
.product-page .detail-thumbnails button[aria-pressed="true"] { border-color: #27272a; }
.product-page .detail-copy { padding: 6px 0 0; min-width: 0; }
.product-page .detail-category { background: transparent; border: 0; padding: 0; color: #71717a; font-size: 11px; letter-spacing: .7px; text-transform: uppercase; }
.home-refresh .product-page h1 { font-family: StoreManrope,Inter,Arial,sans-serif; font-size: clamp(28px,2.7vw,39px); line-height: 1.17; font-weight: 650; letter-spacing: -1.2px; margin-block: 14px 23px; color: #18181b; }
.product-page .detail-price .product-price { font-size: 33px; gap: 12px; min-height: 0; }
.product-page .detail-price .product-price del { font-size: 15px; }
.product-page .detail-price .price-label { font-size: 12px; }
.product-page .detail-price-note { font-size: 11px; color: #92929a; margin-top: 9px; line-height: 1.7; }
.product-page .detail-description { font-size: 14px; line-height: 1.85; color: #71717a; margin-block: 22px; white-space: pre-line; }
.product-page .detail-facts { gap: 13px; margin-bottom: 25px; }
.product-page .detail-facts > div { background: #f7f7f8; border: 1px solid #ededf0; border-radius: 3px; color: #71717a; font-size: 11px; padding: 14px 15px; }
.product-page .detail-facts strong { font-size: 14px; color: #27272a; font-weight: 600; }
.product-page .detail-purchase-form { padding-top: 23px; border-top: 1px solid #e5e7eb; }
.product-page .detail-purchase-form > label { font-size: 12px; color: #3f3f46; }
.product-page .detail-quantity-control { border-color: #dcdce2; border-radius: 3px; }
.product-page .detail-quantity-control button { background: #f7f7f8; min-height: 43px; }
.product-page .detail-quantity-control button:hover { background: #ebebef; color: #18181b; }
.product-page .detail-quantity-row > span { font-size: 11px; color: #92929a; }
.product-page .detail-receive { padding: 0; background: transparent; border: 0; border-radius: 0; font-size: 12px; color: #71717a; margin-block: 12px 18px; }
.pdp-order-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; font-size: 12px; color: #71717a; }
.pdp-order-summary > strong { font-size: 24px; color: #18181b; font-weight: 600; }
.product-page .detail-purchase-form .button.primary { min-height: 49px; border-radius: 3px; background: #202024; border: 1px solid #202024; color: #fff; font-size: 13px; }
.product-page .detail-purchase-form .button.primary:hover { background: #3f3f46; }
.product-page .detail-demo { color: #92929a; font-size: 11px; line-height: 1.75; margin-top: 15px; }
.pdp-related { margin-top: 61px; padding-top: 31px; border-top: 1px solid #e5e7eb; }
.pdp-related-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 25px; }
.pdp-related-heading h2 { font-size: 25px; letter-spacing: -.7px; font-weight: 600; }
.pdp-related-heading a { font-size: 11px; color: #71717a; display: inline-flex; align-items: center; gap: 12px; }
.pdp-loading { display: grid; place-items: center; min-height: 420px; color: #71717a; font-size: 14px; }
.pdp-unavailable { padding-block: 65px 100px; }
.pdp-unavailable p { color: #71717a; margin-bottom: 25px; line-height: 1.7; }
.pdp-unavailable a { display: inline-flex; padding: 12px 18px; font-size: 13px; background: #202024; color: #fff; }
.pdp-retry { padding: 12px 18px; margin-right: 12px; background: #e9e9ed; color: #18181b; font-size: 13px; }
@media (max-width:1050px) {
 .product-page .product-detail-layout { gap: 32px; }
 .home-refresh .product-page h1 { font-size: 30px; }
}
@media (max-width:760px) {
 .product-page { padding-block: 18px 35px; }
 .pdp-breadcrumb { gap: 7px; font-size: 10px; margin-bottom: 18px; }
 .product-page .product-detail-layout { grid-template-columns: 1fr; gap: 24px; }
 .product-page .detail-gallery { position: static; }
 .product-page .detail-media { aspect-ratio: 1.12; }
 .product-page .detail-copy { padding: 0; }
 .home-refresh .product-page h1 { font-size: 29px; line-height: 1.17; margin-block: 12px 19px; letter-spacing: -.9px; }
 .product-page .detail-price .product-price { font-size: 30px; }
 .product-page .detail-description { margin-block: 19px; font-size: 13px; }
 .product-page .detail-facts { grid-template-columns: 1fr 1fr; gap: 10px; }
 .product-page .detail-facts > div { padding: 12px; }
 .product-page .detail-purchase-form { padding-top: 19px; }
 .product-page .detail-demo { font-size: 10px; }
 .pdp-related { margin-top: 36px; padding-top: 25px; }
 .pdp-related-heading { gap: 12px; margin-bottom: 20px; }
 .pdp-related-heading h2 { font-size: 22px; }
 .pdp-related-heading a { font-size: 10px; gap: 7px; }
}

/* Product gallery: thumbnails sit directly below the main image. */
.product-page .product-detail-layout { grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); }
.product-page .detail-gallery { grid-column: 1; grid-row: 1; min-width: 0; }
.product-page .detail-copy { grid-column: 2; grid-row: 1; }
.detail-gallery-meta { display: flex; justify-content: space-between; gap: 15px; margin-top: 16px; font-size: 11px; line-height: 1.7; color: #71717a; }
.detail-gallery-strip { display: flex; align-items: center; gap: 9px; min-width: 0; margin-top: 10px; }
.product-page .detail-thumbnails { display: flex; flex: 1; min-width: 0; gap: 10px; margin: 0; padding: 3px 2px 10px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: #a1a1aa #ededf0; -webkit-overflow-scrolling: touch; }
.product-page .detail-thumbnails::-webkit-scrollbar { height: 5px; }
.product-page .detail-thumbnails::-webkit-scrollbar-track { background: #ededf0; border-radius: 4px; }
.product-page .detail-thumbnails::-webkit-scrollbar-thumb { background: #a1a1aa; border-radius: 4px; }
.product-page .detail-thumbnails button { width: 104px; height: 88px; flex: 0 0 104px; padding: 3px; border: 1px solid #dedee3; border-radius: 3px; background: #fff; }
.product-page .detail-thumbnails button[aria-pressed="true"] { border: 2px solid #27272a; padding: 2px; }
.product-page .detail-thumbnails button:focus-visible { outline: 2px solid #52525b; outline-offset: 1px; }
.product-page .detail-thumbnails img { width: 100%; height: 100%; object-fit: cover; border-radius: 1px; }
.gallery-scroll-button { display: grid; place-items: center; flex: 0 0 29px; width: 29px; height: 38px; margin-bottom: 7px; background: #fff; color: #27272a; border: 1px solid #dedee3; border-radius: 3px; font-size: 25px; line-height: 1; }
.gallery-scroll-button:hover { background: #f4f4f5; }
.gallery-scroll-button:disabled { opacity: .35; cursor: default; }
.detail-gallery-demo { margin-top: 7px; font-size: 10px; color: #92929a; line-height: 1.7; }
@media (max-width:760px) {
 .product-page .product-detail-layout { grid-template-columns: minmax(0,1fr); }
 .product-page .detail-gallery { grid-column: auto; grid-row: auto; }
 .product-page .detail-copy { grid-column: auto; grid-row: auto; }
 .product-page .detail-thumbnails button { width: 72px; height: 66px; flex-basis: 72px; }
 .detail-gallery-strip { gap: 7px; }
 .gallery-scroll-button { width: 26px; flex-basis: 26px; height: 35px; font-size: 23px; }
}
@media (min-width:761px) and (max-height:800px) { .product-page .detail-gallery { position: static; } }

/* Desktop hover magnifier; the base gallery remains usable on touch devices. */
.product-page .detail-media { position: relative; }
.image-zoom-lens { position: absolute; z-index: 2; pointer-events: none; background: rgb(132 151 180 / 22%); border: 1px solid #8795ab; }
.image-zoom-preview { position: fixed; z-index: 45; pointer-events: none; background-color: #fff; background-repeat: no-repeat; border: 1px solid #d5d8df; border-radius: 3px; box-shadow: 0 6px 25px rgb(24 24 27 / 12%); }
@media (min-width:761px) and (hover:hover) and (pointer:fine) {
 .product-page .detail-media { cursor: crosshair; }
 .product-page .detail-media:focus-visible { outline: 2px solid #52525b; outline-offset: 3px; }
}
@media (max-width:760px), (hover:none), (pointer:coarse) {
 .image-zoom-lens,.image-zoom-preview { display: none !important; }
}

/* Detail purchase action. */
.product-page .detail-purchase-form .button.primary { position: relative; overflow: hidden; isolation: isolate; border-color: #202024; background: #202024; box-shadow: 0 3px 8px rgb(24 24 27 / 8%); transition: transform 180ms ease,box-shadow 180ms ease,background 180ms ease,border-color 180ms ease; }
.product-page .detail-purchase-form .button.primary > .icon { transition: transform 180ms ease; }
.product-page .detail-purchase-form .button.primary::after { content: ''; position: absolute; inset: 0 auto 0 -55%; width: 35%; background: linear-gradient(110deg,transparent,rgb(255 255 255 / 13%),transparent); transform: skewX(-15deg); pointer-events: none; transition: left 450ms ease; }
@media (hover:hover) and (pointer:fine) {
 .product-page .detail-purchase-form .button.primary:hover:not(:disabled) { background: #303038; border-color: #303038; transform: translateY(-2px); box-shadow: 0 9px 19px rgb(24 24 27 / 19%); }
 .product-page .detail-purchase-form .button.primary:hover:not(:disabled) > .icon { transform: translateY(-2px) rotate(-8deg); }
 .product-page .detail-purchase-form .button.primary:hover:not(:disabled)::after { left: 120%; }
}
.product-page .detail-purchase-form .button.primary:focus-visible { outline: 2px solid #71717a; outline-offset: 4px; box-shadow: 0 5px 13px rgb(24 24 27 / 15%); }
.product-page .detail-purchase-form .button.primary:active:not(:disabled) { transform: translateY(0); box-shadow: 0 2px 5px rgb(24 24 27 / 12%); }
@media (prefers-reduced-motion:reduce) {
 .product-page .detail-purchase-form .button.primary,.product-page .detail-purchase-form .button.primary > .icon { transition: none; transform: none !important; }
 .product-page .detail-purchase-form .button.primary::after { display: none; }
}
