/* ============================================================
   PRODUCT PAGE STYLES — BBS Design System v2.0
   ============================================================
   
   Uses design tokens from base.html:
   - Radii: --radius-sm (4px), --radius-md (8px), --radius-lg (12px)
   - Shadows: --shadow-sm (2px), --shadow-md (4px), --shadow-lg (6px)
   - Borders: --border-hairline (1px), --border-thick (2px)
   - Spacing: --sp-1 through --sp-12
   
============================================================ */

/* === PAGE LAYOUT === */

.product-page-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.breadcrumb {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto var(--sp-5);
    padding: 0 var(--sp-5);
    font-size: 12px;
    color: var(--c-gray-500);
}
.breadcrumb a {
    color: var(--c-gray-500);
    text-decoration: none;
}
.breadcrumb a:hover {
    color: var(--c-black);
    text-decoration: underline;
}

/* 3-Column Product Grid */
.product-hero {
    display: grid;
    grid-template-columns: 380px minmax(280px, 400px) 280px;
    gap: var(--sp-5);
    margin-bottom: var(--sp-8);
    width: 100%;
    max-width: 1100px;
    padding: 0 var(--sp-5);
    box-sizing: border-box;
}

/* === ENTRANCE ANIMATIONS === */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Entrance animations removed (design lock D3, speed first): task-critical content is usable immediately. */

/* === LEFT COLUMN: IMAGES === */

/* Note: .product-images entrance animation defined above */
.product-images {
    display: flex;
    gap: var(--sp-3);
}
/* Note: .product-info entrance animation defined above */
/* Note: .buy-box entrance animation defined above */

.thumbnail-strip {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    width: 60px;
}

.thumbnail {
    width: 60px;
    height: 60px;
    border: 1.5px solid var(--c-gray-300);
    border-radius: var(--radius-md);
    background: var(--c-gray-50);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s ease;
    overflow: hidden;
}
.thumbnail:hover {
    border-color: var(--c-gray-400);
}
.thumbnail.active {
    border-color: var(--c-black);
}
.thumbnail img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.thumbnail-placeholder {
    font-size: 20px;
    color: var(--c-gray-300);
}
.thumbnail-placeholder.photo-pending {
    color: var(--c-gray-400);
    font-size: 9px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
}

.main-image-container {
    flex: 1;
}
.main-image {
    width: 100%;
    aspect-ratio: 1;
    max-width: 300px;
    border: 1.5px solid var(--c-black);
    border-radius: var(--radius-lg);
    background: var(--c-gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.main-image-placeholder {
    text-align: center;
    color: var(--c-gray-400);
}
.main-image-placeholder svg {
    width: 80px;
    height: 80px;
    stroke: var(--c-gray-300);
}

/* Pagination Dots (Amazon-style, mobile only) */
.pagination-dots {
    display: none;  /* Hidden on desktop */
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: var(--sp-3) 0;
}
.pagination-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-gray-300);
    cursor: pointer;
    transition: background 0.2s ease;
}
.pagination-dots .dot.active {
    background: var(--c-black);
}
.pagination-dots .dot:hover {
    background: var(--c-gray-500);
}

.image-footer {
    margin-top: var(--sp-2);
    text-align: center;
}
.image-footer a {
    font-size: 12px;
    color: var(--c-gray-500);
    text-decoration: underline;
}
.image-footer a:hover {
    color: var(--c-black);
}

/* === CENTER COLUMN: PRODUCT INFO === */

.product-info {
    min-width: 0;
}

/* Brand Row */
.brand-row {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin-bottom: var(--sp-2);
    padding-bottom: var(--sp-2);
}
.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--c-gray-100);
    border: 1px solid var(--c-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.brand-logo.brand-logo-real {
    width: 28px;
    height: 28px;
    padding: 4px;
    background: var(--c-white);
    border-radius: 4px;
}
.brand-logo.brand-logo-real img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.brand-logo-text {
    font-size: 11px;
    font-weight: 700;
    color: var(--c-gray-600);
    text-transform: uppercase;
}
.brand-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    min-width: 0;
}
.brand-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-black);
}
.pdp-brand-link,
.brand-store-link {
    font-size: 13px;
    color: #007185;
    text-decoration: none;
}
.pdp-brand-link:hover,
.brand-store-link:hover {
    text-decoration: underline;
    color: #c7511f;
}
.brand-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.brand-rating .rating-value {
    font-size: 13px;
    color: #007185;
}
.stars-inline {
    font-size: 13px;
    color: #de7921;
    letter-spacing: -1px;
}
.stars-inline .star-half {
    background: linear-gradient(90deg, #de7921 50%, #ccc 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.brand-rating .rating-count {
    font-size: 13px;
    color: #007185;
    text-decoration: none;
}
.brand-rating .rating-count:hover {
    text-decoration: underline;
    color: #c7511f;
}

/* Trust Badge - Amazon's Choice style (now below title) */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    margin-bottom: var(--sp-2);
    font-size: 12px;
}
.trust-badge-label {
    background: #232f3e;
    color: #fff;
    padding: 4px 8px;
    font-weight: 700;
    border-radius: 2px;
}
.trust-badge-text {
    color: #007185;
    font-weight: 400;
}

/* Popularity Indicator - Amazon "1K+ bought" style */
.popularity-indicator {
    font-size: 13px;
    color: #0f1111;
    margin-bottom: var(--sp-3);
}
.popularity-count {
    font-weight: 600;
}

/* Visual Model CTA - replaces unsourced reviews/social proof */
.visual-model-cta {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: var(--sp-3);
    margin: 0 0 var(--sp-3);
    padding: var(--sp-3);
    border: 1px solid var(--c-gray-300);
    border-radius: var(--radius-md);
    background: var(--c-white);
}
.visual-model-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 12px;
    border: 1.5px solid var(--c-black);
    border-radius: var(--radius-sm);
    background: var(--c-black);
    color: var(--c-white);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}
.visual-model-link:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}
.visual-model-link:active {
    transform: translateY(0);
    box-shadow: none;
}
.visual-model-cta-3d .visual-model-link {
    background: var(--c-white);
    color: var(--c-black);
}
.visual-model-icon {
    width: 19px;
    height: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.visual-model-icon svg {
    width: 19px;
    height: 19px;
    display: block;
}
.visual-model-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}
.visual-model-subtext {
    color: var(--c-black);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.visual-model-cta-buybox {
    grid-template-columns: 1fr;
    gap: 6px;
    margin: var(--sp-3) 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.visual-model-cta-buybox .visual-model-link {
    width: 100%;
    min-height: 44px;
}
.visual-model-cta-buybox .visual-model-copy {
    text-align: center;
}
.buy-box-utility-stack {
    display: grid;
    gap: 8px;
    margin-top: var(--sp-3);
}
.buy-box-utility-stack .visual-model-cta-buybox {
    margin: 0;
}
.buy-box-utility-stack .buy-box-compare {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1.5px solid var(--c-gray-400);
    border-radius: var(--radius-sm);
    background: var(--c-white);
    color: var(--c-black);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease;
}
.buy-box-utility-stack .buy-box-compare:hover {
    border-color: var(--c-black);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}
.buy-box-utility-stack .buy-box-compare:active {
    box-shadow: none;
    transform: translateY(0);
}

/* Mobile Image Slot - hidden on desktop */
.mobile-image-slot {
    display: none;
}
.mobile-image-container {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-white);
}
.mobile-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.mobile-image-placeholder {
    text-align: center;
    color: var(--c-gray-400);
}
.mobile-image-placeholder svg {
    width: 80px;
    height: 80px;
    stroke: var(--c-gray-300);
}
.mobile-pagination-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: var(--sp-3) 0;
}
.mobile-pagination-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-gray-300);
    cursor: pointer;
    transition: background 0.2s ease;
}
.mobile-pagination-dots .dot.active {
    background: var(--c-black);
}

/* Mobile Promo Banner - BBS Style (Green Gradient) */
.promo-banner-mobile {
    display: none;  /* Hidden on desktop, shown in mobile @media */
}
.promo-banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Row 1: Discount Badge + Headline */
.promo-row-1 {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding-right: 8px;
}
.promo-discount-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #006400;
    font-size: 13px;
    font-weight: 700;
    padding: 0 6px;
    border-radius: 4px;
    flex-shrink: 0;
    height: 19px;
    line-height: 19px;
    display: inline-flex;
    align-items: center;
}
.promo-headline {
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.1;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    letter-spacing: 0;
}

/* Row 2: Price + Divider + Rating */
.promo-row-2 {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.promo-price-section {
    display: flex;
    align-items: center;
    gap: 6px;
}
.promo-price-icon {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
}
.promo-our-price {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
}
.promo-amazon-price {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
}
.promo-amazon-price s {
    text-decoration: line-through;
}
.promo-divider {
    color: rgba(255, 255, 255, 0.4);
    font-size: 20px;
    font-weight: 300;
}
.promo-warranty-section {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}
.promo-warranty-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.promo-check-note {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    line-height: 1.25;
}

/* Amazon logo - base styles */
.amazon-a-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

/* Product page context (light bg, dark logo) - match #565959 text */
.list-price .amazon-a-icon {
    filter: saturate(0);
    opacity: 0.65;
}

.product-title {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0 0 var(--sp-2) 0;
    color: #0f1111;
}
.product-title-mobile {
    display: none;
}

.product-meta {
    font-size: 13px;
    margin-bottom: var(--sp-3);
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex-wrap: wrap;
}
.product-sku {
    color: var(--c-gray-600);
}
.product-sku strong {
    color: var(--c-black);
}
.brand-link {
    color: var(--c-black);
    text-decoration: underline;
}
.brand-link:hover {
    color: var(--c-gray-600);
}

/* Price Block */
.price-block {
    padding: var(--sp-4) 0;
    border-top: var(--border-hairline) solid var(--c-gray-200);
    border-bottom: var(--border-hairline) solid var(--c-gray-200);
    margin-bottom: var(--sp-4);
}
.price-row {
    display: flex;
    align-items: baseline;
    gap: var(--sp-3);
    flex-wrap: wrap;
}
.discount-badge {
    background: transparent;
    color: #CC0C39;  /* Amazon red */
    padding: 0;
    font-size: 28px;
    font-weight: 400;
    border-radius: 0;
}
.current-price {
    font-size: 28px;
    font-weight: 400;
    color: #0f1111;
    letter-spacing: 0;
}
.list-price {
    font-size: 14px;
    color: #565959;
    margin-top: var(--sp-1);
    display: flex;
    align-items: center;
    gap: 2px;
}
.list-price .amazon-a-icon {
    width: 16px;
    height: 16px;
}
.list-price-value {
    text-decoration: line-through;
}
.list-price-plain {
    color: #0f1111;
    font-weight: 600;
}
.price-check-note {
    margin-left: 6px;
    color: #565959;
    font-size: 12px;
}

/* Variant Selector */
.variant-section {
    margin-bottom: var(--sp-5);
}
.variant-label {
    font-size: 13px;
    margin-bottom: var(--sp-2);
}
.variant-label strong {
    font-weight: 700;
}
.variant-options {
    display: flex;
    gap: var(--sp-2);
    flex-wrap: wrap;
}
.variant-btn {
    min-width: 100px;
    padding: var(--sp-3) var(--sp-4);
    border: 1.5px solid var(--c-black);
    border-radius: var(--radius-lg);
    background: var(--c-white);
    color: var(--c-black);
    cursor: pointer;
    text-align: left;
    transition: all 0.1s ease;
}
.variant-btn:hover:not(.active):not(.unavailable) {
    background: var(--c-gray-50);
}
.variant-btn.active {
    border: 2px solid #0000FF;
    background: #F0F0FC;
    color: var(--c-black);
    box-shadow: none;
}
.variant-btn.unavailable {
    opacity: 0.4;
    cursor: not-allowed;
}
.variant-btn.active.unavailable {
    opacity: 1;
}
.variant-btn .variant-name {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 0;
}
.variant-btn .variant-price {
    font-size: 14px;
    color: var(--c-black);
    margin-bottom: var(--sp-1);
    justify-content: flex-start;
}
.variant-btn.active .variant-price {
    color: var(--c-black);
}
.variant-btn.unavailable .variant-price {
    color: var(--c-gray-400);
    text-decoration: line-through;
}
.variant-btn.active.unavailable .variant-price {
    color: var(--c-black);
}

/* Size/VA Selector */
.size-section,
.form-factor-section {
    margin-bottom: var(--sp-4);
}
.size-label,
.form-factor-label {
    font-size: 13px;
    margin-bottom: var(--sp-2);
}
.size-label strong,
.form-factor-label strong {
    font-weight: 700;
}
.size-options,
.form-factor-options {
    display: flex;
    gap: var(--sp-2);
    flex-wrap: wrap;
}
.size-btn,
.form-factor-btn {
    min-width: 80px;
    padding: var(--sp-2) var(--sp-3);
    border: 1.5px solid var(--c-black);
    border-radius: var(--radius-lg);
    background: var(--c-white);
    cursor: pointer;
    text-align: center;
    transition: all 0.1s ease;
    font-size: 13px;
    text-decoration: none;
    color: inherit;
}
.size-btn:hover:not(.active):not(.unavailable),
.form-factor-btn:hover:not(.active):not(.unavailable) {
    background: var(--c-gray-50);
}
.size-btn.active,
.form-factor-btn.active {
    border: 2px solid #0000FF;
    background: #F0F0FC;
    color: var(--c-black);
    box-shadow: none;
}
.size-btn.unavailable,
.form-factor-btn.unavailable {
    opacity: 0.5;
    cursor: not-allowed;
    border-style: dashed;
}
.form-factor-btn.unavailable {
    cursor: pointer;
}
.size-btn.active.unavailable,
.form-factor-btn.active.unavailable {
    opacity: 1;
    border-style: solid;
    cursor: default;
}
.size-btn .size-va,
.form-factor-btn .form-factor-name {
    font-weight: 700;
}
.size-btn .size-price {
    font-size: 11px;
    color: var(--c-gray-500);
    margin-top: 2px;
}
.size-btn .size-status {
    font-size: 10px;
    color: var(--c-gray-500);
    margin-top: 2px;
}
.size-btn.unavailable .size-price {
    color: var(--c-gray-400);
}
.size-btn.active .size-price,
.size-btn.active.unavailable .size-price {
    color: var(--c-black);
}
.size-btn.unavailable .size-status {
    color: var(--c-gray-500);
}

/* Feature Bullets */
.features-section {
    margin-bottom: var(--sp-5);
}
.features-header {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: var(--sp-2);
    padding-bottom: var(--sp-1);
    border-bottom: var(--border-hairline) solid var(--c-gray-200);
}
.features-list {
    list-style: disc;
    padding-left: var(--sp-5);
    margin: 0;
}
.features-list li {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: var(--sp-1);
    color: var(--c-gray-600);
}

.report-link {
    margin-top: var(--sp-4);
    font-size: 12px;
}
.report-link a {
    color: var(--c-gray-500);
    text-decoration: underline;
}

/* === RIGHT COLUMN: BUY BOX === */

.buy-box-column {
    position: sticky;
    top: var(--sp-5);
    align-self: start;
    height: fit-content;
}

.buy-box {
    border: 1px solid var(--c-black);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background: var(--c-white);
    width: 100%;
    overflow: hidden;
}

.buy-box-price {
    padding: var(--sp-4);
    border-bottom: var(--border-hairline) solid var(--c-gray-200);
}
.buy-box-price-value {
    font-size: 24px;
    font-weight: 900;
    color: var(--c-black);
}
.buy-box-payment-plan {
    display: none;
}

.buy-box-delivery {
    padding: var(--sp-3) var(--sp-4);
    background: var(--c-gray-50);
    border-bottom: var(--border-hairline) solid var(--c-gray-200);
    font-size: 13px;
}
.delivery-date {
    font-weight: 700;
    color: var(--c-black);
}
.delivery-copy-mobile,
.delivery-location-mobile {
    display: none;
}
.delivery-location {
    color: var(--c-gray-500);
    font-size: 12px;
    margin-top: 2px;
}

.buy-box-stock {
    padding: var(--sp-2) var(--sp-4);
    font-size: 14px;
    font-weight: 700;
    color: var(--c-success);
    border-bottom: var(--border-hairline) solid var(--c-gray-200);
}
.buy-box-stock.backorder {
    color: var(--status-warn, #C41E78);
    background: var(--hl-pink-tint, #FFE4F3);
}
.availability-estimate-note {
    margin: 0;
    padding: 10px var(--sp-4);
    border-bottom: var(--border-hairline) solid var(--c-gray-200);
    color: var(--c-gray-600);
    font-size: 11px;
    line-height: 1.45;
}
.availability-estimate-note[hidden] {
    display: none;
}

.buy-box-actions {
    padding: var(--sp-4);
}

.qty-row {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin-bottom: var(--sp-3);
}
.qty-label {
    font-size: 13px;
    color: var(--c-gray-600);
}
.qty-select {
    padding: var(--sp-1) var(--sp-2);
    border: 1.5px solid var(--c-black);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    background: var(--c-white);
    cursor: pointer;
    min-width: 70px;
}

/* Product CTAs — locked set (Nick + CTO, 2026-09-14; reference: Current panel of Current-vs-D rev 4):
   yellow Add / white Quote / white Service. 48px targets, black centred labels, no icons, equal 10px
   gaps, no Service divider. Add and Quote: 8px corners, 1.5px solid ink border, the matte raised finish.
   Service: white face, black 2px dots at a 5px pitch on a 10px-radius perimeter, no raised edge. */
.btn-add-cart,
.btn-buy-now,
.btn-request-quote,
.btn-request-service {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    margin-bottom: 10px;
    border: var(--control-border, 1.5px solid #111111);
    border-radius: var(--control-radius, 8px);
    background: var(--paper, #ffffff);
    color: var(--action-ink, #111111);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    box-shadow: var(--cta-lift, 0 1px 0 #111111, 0 2px 0 rgba(0, 0, 0, 0.161));
    transform: translateY(0);
    transition: transform var(--cta-feedback, 70ms ease-out), box-shadow var(--cta-feedback, 70ms ease-out), filter var(--cta-feedback, 70ms ease-out);
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.btn-add-cart { background: var(--action-add, #CCFF00); }
.btn-buy-now { background: var(--action-buy, #CCFF00); }
/* Grouped quote actions use the white PDP finish, including Add buttons relabeled for setup quotes. */
.btn-request-quote { background: var(--paper, #ffffff); }
/* Service: the dotted perimeter is an SVG layer sized by CSS geometry, so it needs no script and follows
   the button at any width. Its shape is the selected "02 — Dotted perimeter": 10px corners, no lift. */
.btn-request-service {
    margin-bottom: 0;
    background: var(--paper, #ffffff);
    border-color: transparent;
    border-radius: 10px;
    box-shadow: none;
    isolation: isolate;
}
.btn-request-service > span { position: relative; z-index: 1; }
.btn-request-service .cta-dots { position: absolute; inset: -1.5px; width: calc(100% + 3px); height: calc(100% + 3px); pointer-events: none; overflow: visible; z-index: 0; }
.btn-request-service .cta-dots rect { x: 1px; y: 1px; width: calc(100% - 2px); height: calc(100% - 2px); rx: 9px; fill: none; stroke: var(--ink, #111111); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 0 5; shape-rendering: geometricPrecision; }
@media (hover: hover) {
    .btn-add-cart:hover:not(:disabled),
    .btn-buy-now:hover:not(:disabled),
    .btn-request-quote:hover:not(:disabled) { filter: var(--cta-hover-lift, brightness(1.025)); }
}
/* Pressed: the outer edge goes, the face drops a pixel and shades inward. */
.btn-add-cart:active:not(:disabled),
.btn-buy-now:active:not(:disabled),
.btn-request-quote:active:not(:disabled),
.btn-request-service:active:not(:disabled) {
    transform: var(--cta-press-shift, translateY(1px));
    box-shadow: var(--cta-press-shadow, inset 0 1px 2px rgba(0, 0, 0, 0.149));
    filter: var(--cta-press-dim, brightness(0.95));
}
/* The focus ring is drawn as its own layer so it never replaces the raised edge and never merges with a neighbour. */
.btn-add-cart:focus-visible,
.btn-buy-now:focus-visible,
.btn-request-quote:focus-visible,
.btn-request-service:focus-visible { outline: none; }
.btn-add-cart:focus-visible::after,
.btn-buy-now:focus-visible::after,
.btn-request-quote:focus-visible::after,
.btn-request-service:focus-visible::after {
    content: "";
    position: absolute;
    inset: var(--cta-focus-inset, -5px);
    border: 2px solid var(--focus-ring, #FFF200);
    outline: 1px solid var(--ink, #111111);
    border-radius: var(--cta-focus-radius, 12px);
    pointer-events: none;
}
/* Confirmation and refusal on the Add button keep the raised finish; the face comes from the status roles.
   Use the shared success and pink caution roles. */
.btn-add-cart.is-confirmed { background: var(--status-ok, #2FA900); color: var(--ink, #111111); }
.btn-add-cart.is-refused { background: var(--hl-pink-tint, #FFE4F3); color: var(--hl-pink-text, #C41E78); border-color: var(--hl-pink-text, #C41E78); }
.btn-add-cart:disabled,
.btn-buy-now:disabled,
.btn-request-quote:disabled,
.sticky-btn:disabled {
    background: var(--disabled-face, #EDEDED);
    color: var(--disabled-ink, #5F5F5F);
    border-color: var(--disabled-line, #C4C4C4);
    box-shadow: none;
    transform: none;
    filter: none;
    opacity: 1;
    cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
    .btn-add-cart, .btn-buy-now, .btn-request-quote, .btn-request-service, .sticky-btn { transition: none; }
    .btn-add-cart:active:not(:disabled),
    .btn-buy-now:active:not(:disabled),
    .btn-request-quote:active:not(:disabled),
    .btn-request-service:active:not(:disabled),
    .sticky-btn:active:not(:disabled) { transform: none; }
}

.btn-compare {
    width: 100%;
    padding: var(--sp-3) var(--sp-5);
    background: var(--c-gray-100);
    color: var(--c-black);
    border: 1px solid var(--c-gray-400);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
}
.btn-compare:hover {
    background: var(--c-gray-200);
    border-color: var(--c-black);
}
.btn-compare.added {
    background: var(--c-accent);
    color: var(--c-white);
    border-color: var(--c-accent);
}
.btn-compare.added:hover {
    background: var(--c-accent-hover);
}
.btn-compare svg {
    flex-shrink: 0;
}

.buy-box-meta {
    padding: var(--sp-3) var(--sp-4);
    border-top: var(--border-hairline) solid var(--c-gray-200);
    font-size: 12px;
    color: var(--c-gray-600);
}
.meta-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--sp-1);
}
.meta-row:last-child {
    margin-bottom: 0;
}
.meta-label {
    color: var(--c-gray-400);
}
.meta-value {
    color: var(--c-black);
    text-align: right;
}
.meta-value a,
.meta-link {
    color: var(--c-black);
    text-decoration: underline;
    cursor: pointer;
}
.meta-link:hover {
    color: var(--c-gray-600);
}

.buy-box-secure {
    padding: var(--sp-2) var(--sp-4);
    border-top: var(--border-hairline) solid var(--c-gray-200);
    font-size: 12px;
    color: var(--c-gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-1);
}
.buy-box-secure svg {
    width: 14px;
    height: 14px;
}

/* === BELOW THE FOLD === */

.product-sections {
    display: flex;
    flex-direction: column;
    gap: var(--sp-8);
    width: 100%;
    max-width: 1100px;
    padding: 0 var(--sp-5);
    padding-bottom: 160px;
    box-sizing: border-box;
}

/* Complete Your Setup */
.setup-section {
    border: 1.5px solid var(--c-black);
    border-radius: var(--radius-lg);
    max-width: 680px;
    margin-bottom: var(--sp-8);
    overflow: hidden;
}
.setup-header {
    background: var(--c-black);
    color: var(--c-white);
    padding: var(--sp-3) var(--sp-4);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
}
.setup-body {
    padding: 0;
}

/* BOM Table */
.bom-header {
    display: grid;
    grid-template-columns: 48px 1fr 100px 100px;
    gap: var(--sp-4);
    align-items: center;
    padding: var(--sp-3) var(--sp-4);
    background: var(--c-gray-100);
    border-bottom: var(--border-thick) solid var(--c-black);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--c-gray-500);
    letter-spacing: 0.5px;
}
.bom-header span:nth-child(3),
.bom-header span:nth-child(4) {
    text-align: center;
}

.addon-row {
    display: grid;
    grid-template-columns: 48px 1fr 100px 100px;
    gap: var(--sp-4);
    align-items: center;
    padding: var(--sp-3) var(--sp-4);
    border-bottom: var(--border-hairline) solid var(--c-gray-200);
    background: var(--c-white);
    transition: background 0.1s ease;
}
.addon-row:last-child {
    border-bottom: none;
}
.addon-row:hover {
    background: var(--c-gray-50);
}
.addon-row.checked {
    background: var(--c-gray-100);
}
.addon-row-disabled {
    border: 1.5px dashed var(--c-gray-300);
    border-radius: var(--radius-md);
    margin: var(--sp-2) var(--sp-3);
    background: var(--c-gray-50);
    color: var(--c-gray-500);
    cursor: pointer;
}
.addon-row-disabled:hover {
    background: var(--c-gray-100);
}
.addon-row-disabled .addon-thumb,
.addon-row-disabled .addon-price {
    opacity: 0.62;
}
.addon-row-alternative {
    background: #f8fbff;
}

.addon-thumb {
    width: 48px;
    height: 48px;
    border: 1.5px solid var(--c-gray-300);
    border-radius: var(--radius-md);
    background: var(--c-gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.addon-thumb.addon-thumb-image {
    background: var(--c-white);
    border-color: var(--c-gray-300);
}
.addon-thumb.addon-thumb-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
    box-sizing: border-box;
}
.addon-thumb.addon-thumb-empty {
    background: transparent;
    border-color: transparent;
}

.addon-info {
    min-width: 0;
}
.addon-sku {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-black);
    margin-bottom: 2px;
}
.addon-name {
    font-size: 12px;
    color: var(--c-gray-500);
    line-height: 1.25;
    overflow-wrap: break-word;
}
.addon-status {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 700;
    color: var(--c-gray-500);
}
.addon-status-available {
    color: var(--c-success);
}

.addon-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-black);
    text-align: center;
}

/* QTY Stepper */
.addon-qty {
    display: flex;
    align-items: center;
    justify-content: center;
}
.addon-qty button {
    width: 28px;
    height: 28px;
    border: 1.5px solid var(--c-black);
    background: var(--c-white);
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: var(--c-black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s ease;
}
.addon-qty button:first-child {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    border-right: var(--border-hairline) solid var(--c-black);
}
.addon-qty button:last-child {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    border-left: var(--border-hairline) solid var(--c-black);
}
.addon-qty button:hover {
    background: var(--c-gray-100);
}
.addon-qty button:active {
    background: var(--c-gray-200);
}
.addon-qty-value {
    width: 32px;
    height: 28px;
    border-top: var(--border-thick) solid var(--c-black);
    border-bottom: var(--border-thick) solid var(--c-black);
    background: var(--c-white);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.addon-row.checked .addon-qty-value {
    background: var(--c-black);
    color: var(--c-white);
}
.addon-alt-button,
.addon-unavailable-label {
    min-width: 72px;
    height: 28px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
}
.addon-alt-button {
    border: 1.5px solid var(--c-black);
    background: var(--c-white);
    color: var(--c-black);
    cursor: pointer;
}
.addon-alt-button:hover {
    background: var(--c-gray-100);
}
.addon-unavailable-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--c-gray-500);
}

/* Setup Footer */
.setup-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--sp-3) var(--sp-4);
    border-top: var(--border-thick) solid var(--c-black);
    background: var(--c-gray-50);
}
.setup-total {
    font-size: 14px;
    text-align: center;
}
.setup-total .grand {
    font-size: 18px;
    font-weight: 900;
    color: var(--c-black);
}

.no-addons {
    padding: var(--sp-6);
    text-align: center;
    color: var(--c-gray-500);
    font-size: 13px;
}

/* Tools Row (Solution Finder + Compare) */
.tools-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
    max-width: 1060px;
    margin-bottom: var(--sp-6);
}
.tool-card {
    padding: var(--sp-5);
    background: var(--c-white);
    border: var(--border-thick) solid var(--c-black);
    border-radius: var(--radius-lg);
    text-align: center;
}
.tool-card-text {
    font-size: 14px;
    color: var(--c-gray-600);
    margin-bottom: var(--sp-4);
    line-height: 1.5;
}
.btn-tool {
    display: inline-block;
    padding: var(--sp-3) var(--sp-5);
    background: var(--c-black);
    color: var(--c-white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s;
}
.btn-tool:hover {
    background: var(--c-gray-600);
}

/* Specs + Solution Finder Row */
.specs-finder-row {
    display: flex;
    justify-content: space-between;
    gap: var(--sp-8);
    margin-bottom: var(--sp-5);
    max-width: 1060px;
}

/* Solution Finder CTA */
.solution-finder-section {
    border: 1.5px solid var(--c-black);
    border-radius: var(--radius-lg);
    text-align: center;
    padding: var(--sp-8) var(--sp-5);
    background: var(--c-gray-50);
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 340px;
    flex-shrink: 0;
    overflow: hidden;
}
.solution-finder-text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--sp-4);
    color: var(--c-gray-600);
}
.btn-solution-finder {
    display: inline-block;
    padding: var(--sp-3) var(--sp-6);
    background: var(--c-black);
    color: var(--c-white);
    border: 1.5px solid var(--c-black);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.1s ease;
}
.btn-solution-finder:hover {
    background: #333;
}
.btn-solution-finder:active {
    background: #222;
}

/* Specifications */
.specs-section {
    border: 1.5px solid var(--c-black);
    border-radius: var(--radius-lg);
    width: 280px;
    flex-shrink: 0;
    overflow: hidden;
}
/* Accordion Styles */
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: var(--c-black);
    color: var(--c-white);
    padding: var(--sp-3) var(--sp-4);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
}
.accordion-header:hover {
    background: var(--c-gray-800);
}
.accordion-icon {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    transition: transform 0.2s ease;
}
.accordion-icon::before,
.accordion-icon::after {
    content: "";
    position: absolute;
    top: 8px;
    width: 10px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}
.accordion-icon::before {
    left: 1px;
    transform: rotate(-45deg);
    transform-origin: right center;
}
.accordion-icon::after {
    right: 1px;
    transform: rotate(45deg);
    transform-origin: left center;
}
.accordion-header[aria-expanded="false"] .accordion-icon::before {
    transform: rotate(45deg);
}
.accordion-header[aria-expanded="false"] .accordion-icon::after {
    transform: rotate(-45deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.accordion-content.expanded {
    max-height: 1000px;
}

.policy-accordion-section {
    display: none;
}

/* === RELATED PRODUCTS CAROUSEL === */
.related-products-section {
    margin: var(--sp-6) 0;
    padding: var(--sp-5);
    background: var(--c-white);
    border: 1.5px solid var(--c-black);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.related-header {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: var(--sp-4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.related-carousel {
    display: flex;
    gap: var(--sp-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--sp-2);
}
.related-carousel::-webkit-scrollbar {
    height: 4px;
}
.related-carousel::-webkit-scrollbar-track {
    background: var(--c-gray-200);
    border-radius: 2px;
}
.related-carousel::-webkit-scrollbar-thumb {
    background: var(--c-gray-400);
    border-radius: 2px;
}
.related-card {
    flex: 0 0 140px;
    scroll-snap-align: start;
    background: var(--c-white);
    border: 1.5px solid var(--c-black);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease;
    overflow: hidden;
}
.related-card:hover {
    transform: translateY(-2px);
}
.related-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--c-white);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8px;
}
.related-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
}
.related-image-placeholder {
    color: var(--c-gray-300);
}
.related-image-placeholder svg {
    width: 40px;
    height: 40px;
}
.related-info {
    padding: var(--sp-2) var(--sp-3);
}
.related-brand {
    font-size: 10px;
    color: var(--c-gray-500);
    text-transform: uppercase;
    margin-bottom: 2px;
}
.related-name {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: var(--sp-1);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-price {
    font-size: 13px;
    font-weight: 700;
}

/* === QUESTION CHIPS (FAQ) === */
.question-chips {
    margin: var(--sp-4) 0;
    overflow: hidden;
}
.chips-scroll {
    display: flex;
    gap: var(--sp-2);
    overflow-x: auto;
    padding-bottom: var(--sp-2);
    -webkit-overflow-scrolling: touch;
}
.chips-scroll::-webkit-scrollbar {
    display: none;
}
.chip {
    flex-shrink: 0;
    padding: var(--sp-2) var(--sp-3);
    font-size: 12px;
    font-weight: 500;
    color: var(--c-black);
    background: var(--c-gray-100);
    border: var(--border-hairline) solid var(--c-gray-300);
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}
.chip:hover {
    background: var(--c-gray-200);
    border-color: var(--c-gray-400);
}
.chip:active {
    transform: scale(0.98);
}

.specs-header {
    background: var(--c-black);
    color: var(--c-white);
    padding: var(--sp-3) var(--sp-4);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.specs-table td {
    padding: var(--sp-2) var(--sp-3);
    border-bottom: var(--border-hairline) solid var(--c-gray-200);
}
.specs-table tr:last-child td {
    border-bottom: none;
}
.specs-table td:first-child {
    color: var(--c-gray-500);
    width: 40%;
}
.specs-table td:last-child {
    color: var(--c-black);
    font-weight: 600;
    text-align: right;
}

.product-details-section {
    display: none;
}
.product-details-title {
    margin: 0 0 10px;
    color: #111;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: 0;
}
.product-details-rows {
    width: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 13px;
    line-height: 1.28;
}
.product-details-row {
    display: grid;
    grid-template-columns: 45% minmax(0, 1fr);
    gap: 16px;
    padding: 9px 0;
    border-top: 1px solid #d6d6d6;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    background: transparent;
}
.product-details-label {
    color: #727272;
    font-weight: 600;
}
.product-details-value {
    min-width: 0;
    color: #080808;
    font-weight: 700;
}

.pdp-included-section {
    width: 100%;
    max-width: 1100px;
    box-sizing: border-box;
    padding: 0 var(--sp-5);
    margin: 0 auto var(--sp-5);
    font-size: 14px;
    line-height: 1.55;
}
.pdp-included-section h2 {
    font-size: 18px;
    margin: 0 0 10px;
}
.pdp-included-section p { margin: 8px 0; }
.pdp-included-section [hidden], .info-popup [hidden] { display: none !important; }
.pdp-specification-notes {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--c-gray-600, #555);
}
.pdp-specification-notes p { margin: 8px 0; }
.pdp-specification-notes a, .pdp-included-section a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.specs-table td, .product-details-value { overflow-wrap: anywhere; }

/* === STICKY BAR === */

.sticky-bar-desktop {
    display: none !important;
}

.sticky-bar-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--c-white);
    border-top: var(--border-hairline) solid var(--c-black);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    display: none;
    flex-direction: column;
    padding: var(--sp-3) var(--sp-5) env(safe-area-inset-bottom, var(--sp-3));
    padding-left: max(var(--sp-5), env(safe-area-inset-left, var(--sp-5)));
    padding-right: max(var(--sp-5), env(safe-area-inset-right, var(--sp-5)));
    z-index: 200;
    box-shadow: var(--shadow-up);
}
.sticky-bar-mobile.visible {
    display: flex;
}

/* Hide sticky bar when cart sidebar is open */
.main-wrap.cart-sidebar-open .sticky-bar-mobile {
    display: none !important;
}

.sticky-bar-description {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-black);
    margin-bottom: var(--sp-2);
    line-height: 1.3;
    transition: font-size 0.15s ease;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sticky-bar-description .main-item {
    color: var(--c-black);
}
.sticky-bar-description .sticky-meta {
    font-size: 11px;
    font-weight: 500;
    color: var(--c-gray-500);
}
.sticky-bar-description .addon-item {
    color: var(--c-gray-600);
}
.sticky-bar-description .addon-item::before {
    content: ' + ';
    color: var(--c-gray-400);
}

.sticky-bar-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
}
.sticky-bar-left {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}
.sticky-bar-right {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}
.sticky-bar-mobile .sticky-price {
    font-size: 22px;
    font-weight: 900;
    color: var(--c-black);
}
.sticky-bar-mobile .qty-select {
    padding: var(--sp-2) var(--sp-3);
    font-size: 14px;
    border: 1.5px solid var(--c-black);
    border-radius: var(--radius-sm);
    background: var(--c-white);
}
/* Sticky bar (phone): two rows, Add/Buy then price + full-size Request a quote (design lock D10).
   It appears only after the page's own buttons scroll off the top (initStickyBar) and hides again on the way back. */
.sticky-row { display: flex; align-items: center; gap: var(--sp-2); }
.sticky-row-primary { margin-bottom: var(--sp-2); }
.sticky-row-secondary { justify-content: space-between; }
.sticky-bar-left { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sticky-bar-mobile .sticky-price { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.sticky-stock { font-size: 11px; font-weight: 600; color: var(--status-ok, #2FA900); }
.sticky-stock.backorder { color: var(--status-warn, #C41E78); }
/* The approved two-row bar (D10) has no description row; the element stays for the script that maintains it. */
.sticky-bar-description { display: none; }
.sticky-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--control-height, 44px);
    padding: 0 14px;
    border: var(--control-border, 1.5px solid #111111);
    border-radius: var(--control-radius, 8px);
    background: var(--paper, #ffffff);
    color: var(--action-ink, #111111);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: var(--cta-lift, 0 1px 0 #111111, 0 2px 0 rgba(0, 0, 0, 0.161));
    transform: translateY(0);
    transition: transform var(--cta-feedback, 70ms ease-out), box-shadow var(--cta-feedback, 70ms ease-out), filter var(--cta-feedback, 70ms ease-out);
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.sticky-row-primary .sticky-btn { flex: 1 1 0; }
.sticky-btn-add { background: var(--action-add, #3AD1FF); }
.sticky-btn-buy { background: var(--action-buy, #A8FF3C); }
/* Quote now sits beside Add in the primary row and carries the blue action fill (2026-09-11). */
/* Phone-bar Quote is the product entry too: white face, ink border (locked 2026-09-14). */
.sticky-btn-quote { background: var(--paper, #ffffff); border-color: var(--ink, #111111); color: var(--action-ink, #111111); flex: 1 1 0; }
@media (hover: hover) {
    .sticky-btn:hover:not(:disabled) { filter: var(--cta-hover-lift, brightness(1.025)); }
}
.sticky-btn:active:not(:disabled) {
    transform: var(--cta-press-shift, translateY(1px));
    box-shadow: var(--cta-press-shadow, inset 0 1px 2px rgba(0, 0, 0, 0.149));
    filter: var(--cta-press-dim, brightness(0.95));
}
.sticky-btn:focus-visible { outline: none; }
.sticky-btn:focus-visible::after {
    content: "";
    position: absolute;
    inset: var(--cta-focus-inset, -5px);
    border: 2px solid var(--focus-ring, #FFF200);
    outline: 1px solid var(--ink, #111111);
    border-radius: var(--cta-focus-radius, 12px);
    pointer-events: none;
}

/* This must follow the sticky rules as well as the main buy-box rules. */
@media (prefers-reduced-motion: reduce) {
    .sticky-btn { transition: none; }
    .sticky-btn:active:not(:disabled) { transform: none; }
}

.sticky-bar-mobile .btn-add-cart,
.sticky-bar-mobile .btn-buy-now,
.sticky-bar-mobile .btn-request-quote {
    width: auto;
    margin: 0;
    padding: var(--sp-3) var(--sp-5);
    white-space: nowrap;
}

/* === INFO POPUPS === */

.info-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--c-black);
    opacity: 0.5;
    z-index: 1000;
    display: none;
}
.info-popup-overlay.active {
    display: block;
}

.info-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--c-white);
    border: 1.5px solid var(--c-black);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 480px;
    width: calc(100% - 40px);
    max-height: 80vh;
    overflow: hidden;
    z-index: 1001;
    display: none;
}
.info-popup-overlay.active + .info-popup,
.info-popup.active {
    display: block;
}

.info-popup-header {
    background: var(--c-black);
    color: var(--c-white);
    padding: var(--sp-3) var(--sp-4);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.info-popup-close {
    background: none;
    border: none;
    color: var(--c-white);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.info-popup-close:hover {
    color: var(--c-gray-300);
}
.info-popup-body {
    padding: var(--sp-5);
    font-size: 14px;
    line-height: 1.6;
    color: var(--c-gray-600);
    max-height: calc(80vh - 60px);
    overflow-y: auto;
}
.info-popup-body p {
    margin: 0 0 var(--sp-3) 0;
}
.info-popup-body p:last-child {
    margin-bottom: 0;
}
.info-popup-body strong {
    color: var(--c-black);
}
.info-popup-body .highlight {
    background: var(--c-highlight);
    padding: var(--sp-3);
    border-left: 3px solid var(--c-black);
    margin: var(--sp-4) 0;
}
.info-popup-body .contact-note {
    font-size: 13px;
    color: var(--c-gray-500);
    margin-top: var(--sp-4);
    padding-top: var(--sp-3);
    border-top: var(--border-hairline) solid var(--c-gray-200);
}

/* === VISUAL MODEL MODAL === */

.visual-model-overlay {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: none;
    background: rgba(0, 0, 0, 0.88);
    padding: var(--sp-5);
}
.visual-model-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}
.visual-model-modal {
    width: min(1120px, 100%);
    height: min(760px, calc(100vh - 40px));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    background: #0f1111;
    border: 1.5px solid var(--c-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.visual-model-modal-header {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding: var(--sp-3) var(--sp-4);
    background: var(--c-black);
    color: var(--c-white);
}
.visual-model-modal-kicker {
    color: var(--c-gray-300);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}
.visual-model-modal-title {
    margin-top: 2px;
    color: var(--c-white);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.visual-model-close {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--c-gray-500);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--c-white);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.visual-model-close:hover {
    background: rgba(255, 255, 255, 0.12);
}
.visual-model-modal iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background: #111;
}

/* === IMAGE ZOOM MODAL === */

.image-zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--sp-5);
    cursor: zoom-out;
}
.image-zoom-overlay.active {
    display: flex;
}

.image-zoom-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    cursor: default;
    animation: zoomIn 0.2s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.image-zoom-container img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border: var(--border-thick) solid var(--c-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-zoom-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: var(--c-white);
    border: none;
    color: var(--c-black);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
}
.image-zoom-close:hover {
    transform: scale(1.1);
}

.image-zoom-caption {
    color: var(--c-white);
    text-align: center;
    margin-top: var(--sp-4);
    font-size: 14px;
    font-weight: 600;
}

/* === RESPONSIVE === */

@media (max-width: 1100px) {
    .product-hero {
        grid-template-columns: 320px 1fr;
        gap: var(--sp-5);
    }
    .buy-box-column {
        grid-column: 1 / -1;
        position: relative;
        top: 0;
    }
    .buy-box {
        max-width: 400px;
    }
    .visual-model-cta-buybox {
        max-width: 400px;
    }
    .buy-box-utility-stack {
        max-width: 400px;
    }
    .setup-section {
        max-width: 100%;
    }
    .specs-finder-row {
        max-width: 100%;
        flex-wrap: wrap;
    }
    .specs-finder-row .solution-finder-section {
        flex: 1;
        min-width: 280px;
    }
    .specs-finder-row .specs-section {
        width: auto;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .product-hero {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100vw;
        max-width: 100vw;
        padding: 0;
        overflow: hidden;
    }

    /* Hide breadcrumb on mobile */
    .breadcrumb {
        display: none;
    }

    /* Mobile order: promo banner, info (with image inside), buy box */
    .promo-banner-mobile {
        order: 1;
        display: block;
        position: relative;
        /* Green gradient - diagonal from top-left to bottom-right */
        background: linear-gradient(135deg, #006400 0%, #008a00 50%, #00a000 100%);
        border-radius: var(--radius-lg);
        padding: 12px;
        margin-bottom: var(--sp-3);
        box-sizing: border-box;
        max-width: 100%;
        overflow: hidden;
        box-shadow: var(--shadow-md);
    }
    .promo-row-1 {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
    }
    .promo-headline {
        white-space: normal;
        overflow-wrap: anywhere;
        font-size: 16px;
        max-width: 100%;
    }
    .promo-row-2 {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 8px;
    }
    .promo-price-section {
        min-width: 0;
        flex-shrink: 0;
    }
    .promo-divider {
        display: none;
    }
    .promo-warranty-section {
        min-width: 0;
    }
    .product-images {
        display: none;  /* Hide original images container on mobile */
    }
    .product-info {
        order: 2;
        padding: 0 20px;
        width: 100vw;
        max-width: 100vw;
        flex: 0 0 auto;
        min-width: 0;
        box-sizing: border-box;
    }
    .buy-box-column {
        order: 3;
        width: 100vw;
        max-width: 100vw;
        align-self: stretch;
        box-sizing: border-box;
    }

    /* Show mobile image slot */
    .mobile-image-slot {
        display: block;
    }

    .product-images {
        flex-direction: column;
        gap: 0;
    }
    .thumbnail-strip {
        display: none !important;
        width: 0;
        padding: 0;
        margin: 0;
    }
    .pagination-dots {
        display: flex;
    }
    .main-image {
        max-width: 100%;
        border: none;
        border-radius: 0;
    }
    .image-footer {
        display: none;
    }

    .product-title {
        font-family: var(--font-sans);
        font-size: 14px;
        line-height: 18px;
        font-weight: 400;
        color: #565959;
        margin: 0 0 12px;
        letter-spacing: 0;
        width: 100%;
        max-width: calc(100vw - 40px);
        white-space: normal;
        overflow: visible;
        overflow-wrap: anywhere;
        word-break: normal;
    }
    .product-title-desktop {
        display: none;
    }
    .product-title-mobile {
        display: inline;
    }

    .brand-row {
        display: block;
        margin: 0;
        padding: 0;
        border: 0;
    }
    .brand-row .brand-logo,
    .brand-row .brand-logo.brand-logo-real {
        display: none !important;
    }
    .brand-info {
        display: block;
    }
    .brand-info::before {
        content: "Brand: ";
        font-family: var(--font-sans);
        color: #2162a1;
        font-size: 14px;
        line-height: 18px;
        font-weight: 400;
    }
    .brand-name {
        display: inline;
        font-family: var(--font-sans);
        color: #2162a1;
        font-size: 14px;
        line-height: 18px;
        font-weight: 400;
    }
    .brand-store-link {
        display: none;
    }
    .pdp-brand-link {
        display: inline;
        font-family: var(--font-sans);
        color: #2162a1;
        font-size: 14px;
        line-height: 18px;
        font-weight: 400;
    }

    .visual-model-cta {
        grid-template-columns: 1fr;
        gap: var(--sp-2);
        padding: var(--sp-3);
    }
    .visual-model-link {
        width: 100%;
    }
    .visual-model-overlay {
        padding: 0;
    }
    .visual-model-modal {
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 0;
    }

    .current-price {
        font-size: 26px;
    }

    .size-options,
    .form-factor-options {
        gap: var(--sp-1);
    }
    .size-btn,
    .form-factor-btn {
        min-width: 70px;
        padding: var(--sp-2);
        font-size: 12px;
    }

    .variant-options {
        gap: var(--sp-2);
    }
    .variant-btn {
        min-width: 90px;
        padding: var(--sp-2) var(--sp-3);
    }

    .buy-box-column {
        position: relative;
        top: 0;
        width: 100vw;
        max-width: 100vw;
        align-self: stretch;
        box-sizing: border-box;
    }
    .buy-box {
        max-width: 100%;
        border: none;
        border-radius: 0;
        box-shadow: none;
        border-top: 0;
    }
    .buy-box-price {
        padding: var(--sp-4) var(--sp-4) var(--sp-2);
        border-bottom: 0;
    }
    .current-price,
    .buy-box-price-value,
    .variant-price {
        display: inline-flex;
        align-items: flex-start;
        color: #0f1111;
        font-weight: 500;
        line-height: 1;
    }
    .current-price .pdp-price-currency,
    .buy-box-price-value .pdp-price-currency {
        font-size: 17px;
        line-height: 1.25;
        margin-right: 1px;
    }
    .current-price .pdp-price-dollars,
    .buy-box-price-value .pdp-price-dollars {
        font-size: 40px;
        line-height: 0.92;
        letter-spacing: 0;
        font-weight: 500;
    }
    .variant-price .pdp-price-currency {
        font-size: 10px;
        line-height: 1.25;
        margin-right: 1px;
    }
    .variant-price .pdp-price-dollars {
        font-size: 17px;
        line-height: 1;
        font-weight: 600;
    }
    .buy-box-payment-plan {
        display: block;
        margin-top: 6px;
        color: #111;
        font-size: 15px;
        line-height: 1.35;
    }
    .buy-box-payment-plan #buybox-payment-amount {
        display: inline-block;
        padding: 0 3px;
        background: #d8f3e5;
    }
    .buy-box-inline-link,
    .delivery-zip-link,
    .shipping-learn-more {
        color: inherit;
        text-decoration-line: underline;
        text-decoration-style: dotted;
        text-underline-offset: 3px;
        text-decoration-thickness: 1px;
    }
    .shipping-learn-more {
        appearance: none;
        -webkit-appearance: none;
        border: 0;
        border-radius: 0;
        padding: 0;
        background: transparent;
        font: inherit;
        font-weight: 600;
        cursor: pointer;
    }
    .buy-box-delivery {
        padding: var(--sp-2) var(--sp-4);
        background: transparent;
        border-bottom: 0;
        font-size: 15px;
        line-height: 1.35;
    }
    .delivery-copy-desktop,
    .delivery-location-desktop {
        display: none;
    }
    .delivery-copy-mobile,
    .delivery-location-mobile {
        display: inline-flex;
        align-items: center;
    }
    .delivery-copy-mobile {
        gap: 0.35em;
        flex-wrap: wrap;
    }
    .delivery-date {
        font-weight: 600;
    }
    .delivery-location {
        margin-top: 8px;
        color: #3f4f44;
        font-size: 14px;
    }
    .delivery-location-mobile {
        gap: 6px;
    }
    .delivery-location-icon {
        width: 18px;
        height: 18px;
        flex: 0 0 auto;
        color: #66736a;
    }
    .delivery-zip-link {
        appearance: none;
        -webkit-appearance: none;
        border: 0;
        border-radius: 0;
        padding: 0;
        background: transparent;
        font: inherit;
        cursor: pointer;
        text-align: left;
    }
    .delivery-zip-link.is-set {
        color: #111;
        text-decoration: none;
    }
    .buy-box-stock {
        padding: var(--sp-2) var(--sp-4) var(--sp-3);
        border-bottom: 0;
    }
    .buy-box-actions {
        width: calc(100% - 40px);
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        padding: var(--sp-2) 0 0;
        box-sizing: border-box;
    }
    .buy-box-meta {
        width: calc(100% - 40px);
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        border-top: 0;
        padding: var(--sp-4) 0 0;
        box-sizing: border-box;
    }
    .buy-box-secure {
        width: calc(100% - 40px);
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        border-top: 0;
        box-sizing: border-box;
    }
    .visual-model-cta-buybox {
        width: 100%;
        max-width: 100%;
        margin: var(--sp-3) 0 0;
    }
    .buy-box-utility-stack {
        width: calc(100% - 40px);
        max-width: 520px;
        margin: var(--sp-3) auto 0;
        box-sizing: border-box;
    }
    .product-details-section {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    .specs-finder-row-desktop {
        display: none !important;
    }

    .policy-accordion-section {
        display: block;
        width: calc(100% + 40px);
        margin: var(--sp-5) -20px 0;
        border-top: 1px solid #d5d9d9;
        border-bottom: 1px solid #d5d9d9;
        background: #fff;
    }
    .policy-accordion-item + .policy-accordion-item {
        border-top: 1px solid #d5d9d9;
    }
    .policy-accordion-header {
        min-height: 54px;
        padding: 0 20px;
        background: #fff;
        color: #0f1111;
        font-size: 20px;
        font-weight: 800;
        line-height: 1.15;
        letter-spacing: 0;
        text-transform: none;
        box-shadow: 0 2px 3px rgba(15, 17, 17, 0.08);
    }
    .policy-accordion-header:hover {
        background: #fff;
    }
    .policy-accordion-header .accordion-icon {
        width: 20px;
        height: 20px;
        color: #0f1111;
    }
    .policy-accordion-content {
        color: #0f1111;
        background: #fff;
        font-size: 15px;
        line-height: 1.42;
    }
    .policy-accordion-content.expanded {
        padding: 12px 20px 18px;
    }
    .policy-accordion-content p {
        margin: 0 0 10px;
    }
    .policy-accordion-content p:last-child {
        margin-bottom: 0;
    }

    .tools-row {
        grid-template-columns: 1fr;
    }

    .specs-finder-row {
        flex-direction: column;
        gap: var(--sp-5);
    }
    .specs-finder-row .solution-finder-section,
    .specs-finder-row .specs-section {
        width: 100%;
    }

    .sticky-bar-mobile.visible {
        display: flex;
    }
    .sticky-bar-description {
        font-size: 12px;
    }
    .sticky-bar-controls {
        flex-wrap: wrap;
        gap: var(--sp-2);
    }
    .sticky-bar-left {
        width: auto;
    }
    .sticky-bar-right {
        flex: 1;
        justify-content: flex-end;
    }
    .sticky-bar-mobile .btn-add-cart,
    .sticky-bar-mobile .btn-buy-now,
    .sticky-bar-mobile .btn-request-quote {
        padding: var(--sp-2) var(--sp-3);
        font-size: 11px;
    }

    /* Mobile Add-ons Section */
    .bom-header {
        grid-template-columns: 40px minmax(0, 1fr) 58px 76px;
        gap: 6px;
        padding: var(--sp-2);
        font-size: 9px;
    }
    .addon-row {
        grid-template-columns: 40px minmax(0, 1fr) 58px 76px;
        gap: 6px;
        padding: var(--sp-2);
    }
    .addon-thumb {
        width: 40px;
        height: 40px;
    }
    .addon-sku {
        font-size: 11px;
    }
    .addon-name {
        font-size: 10px;
    }
    .addon-price {
        font-size: 13px;
    }
    .addon-qty button {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
    .addon-qty-value {
        font-size: 12px;
        min-width: 24px;
    }
    .setup-footer {
        padding: var(--sp-4);
    }
}


/* ============================================================================
   2026-09-08 visual polish (design locks D5–D9, D12): layout, gallery, title,
   selection color, offer cards, key specs, buy-box order. Appended so the
   earlier rules above stay readable; these win by cascade order.
   ============================================================================ */
.product-hero { grid-template-columns: minmax(0, 38fr) minmax(280px, 36fr) minmax(280px, 26fr); }
.main-image {
    aspect-ratio: auto;
    max-width: none;
    min-height: 200px;
    max-height: 440px;
    padding: 14px;
    border: 1.5px solid var(--line, #dcdcdc);
    border-radius: var(--control-radius, 8px);
    background: var(--paper, #ffffff);
}
.main-image img { max-width: 100%; max-height: 410px; width: auto; height: auto; object-fit: contain; }
.brand-row { margin-bottom: 2px; padding-bottom: 0; }
.pdp-brand-link { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted, #767676); text-decoration: none; }
.pdp-brand-link:hover { color: var(--ink, #111111); text-decoration: underline; }
.product-title { font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink, #111111); margin: 0 0 6px; }
.product-model-line { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-4); font-size: 13px; }
.product-model-label { color: var(--ink-muted, #767676); }
.product-model-code { font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--ink, #111111); background: transparent; }
.product-model-copy {
    font: 700 10px/1 var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase;
    padding: 4px 7px; border: 1px solid var(--line, #dcdcdc); border-radius: 4px; background: var(--paper-2, #f4f4f4); color: var(--ink-2, #444444); cursor: pointer;
}
.product-model-copy:hover { border-color: var(--ink, #111111); }
.product-model-copy:focus-visible { outline: 2px solid var(--ink, #111111); outline-offset: 2px; box-shadow: 0 0 0 6px var(--focus-ring, #FFF200); }
.product-model-copy[hidden] { display: none; }

/* Selection = yellow (design lock D0); chips share the control geometry */
.size-btn, .form-factor-btn { border-radius: var(--control-radius, 8px); min-height: var(--control-height-compact, 36px); }
.size-btn.active, .form-factor-btn.active { border: 1.5px solid var(--ink, #111111); background: var(--selected, #FFF200); color: var(--ink, #111111); }
.size-btn:focus-visible, .form-factor-btn:focus-visible, .variant-btn:focus-visible { outline: 2px solid var(--ink, #111111); outline-offset: 2px; box-shadow: 0 0 0 6px var(--focus-ring, #FFF200); }

/* Offer cards: equal cards with fixed rows (design lock D9) */
.variant-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--sp-2); }
.variant-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; padding: var(--sp-3); border-radius: var(--control-radius, 8px); }
.variant-btn.active { border: 1.5px solid var(--ink, #111111); outline: 3px solid var(--selected, #FFF200); background: var(--paper, #ffffff); }
.variant-btn .variant-name { font-size: 10.5px; font-weight: 700; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2, #444444); margin: 0; }
.variant-btn .variant-price { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin: 0; line-height: 1.1; }
.variant-stock { font-size: 12px; font-weight: 600; color: var(--status-ok, #2FA900); }
.variant-stock.backorder { color: var(--status-warn, #C41E78); }
.variant-warranty { font-size: 11.5px; color: var(--ink-muted, #767676); }

/* Key specs beside the price box (design lock D7) */
.key-specs { margin-top: var(--sp-4); padding-top: var(--sp-3); border-top: 1px solid var(--line, #dcdcdc); }
.key-specs-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-3); margin-bottom: var(--sp-2); }
.key-specs-title { margin: 0; font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted, #767676); }
.key-specs-more { font-size: 12.5px; font-weight: 600; color: var(--ink, #111111); }
.key-specs-more-mobile { display: none; }
.key-specs-rows { margin: 0; display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 5px 12px; font-size: 13px; }
.key-specs-row { display: contents; }
.key-specs-rows dt { color: var(--ink-muted, #767676); margin: 0; }
.key-specs-rows dd { margin: 0; font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--ink, #111111); overflow-wrap: anywhere; }
.key-specs-rows dd.sans { font-family: var(--font-sans); }

/* Buy box order and finish (design lock D6) */
.buy-box { border: 1.5px solid var(--ink, #111111); border-radius: 10px; box-shadow: none; }
.buy-box-price { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); flex-wrap: wrap; }
.buy-box-price-value { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.buy-box-condition { font-size: 10.5px; font-weight: 700; line-height: 1; letter-spacing: 0.02em; padding: 4px 7px; border-radius: 4px; border: 1px solid #cccccc; background: var(--paper-2, #f4f4f4); color: var(--ink-2, #444444); white-space: nowrap; }
.buy-box-stock { font-size: 13.5px; }
.buy-box-delivery { background: transparent; font-size: 12.5px; border-top: var(--border-hairline) solid var(--c-gray-200); border-bottom: 0; padding-top: var(--sp-3); }
.delivery-date { font-weight: 500; color: var(--ink-2, #444444); }
.delivery-location { font-size: 11.5px; }
.shipping-learn-more { background: none; border: 0; padding: 0; margin-left: 4px; font: 600 12.5px var(--font-sans); text-decoration: underline; color: var(--ink, #111111); cursor: pointer; }
.shipping-learn-more:focus-visible { outline: 2px solid var(--ink, #111111); outline-offset: 2px; }
.qty-row { margin-bottom: var(--sp-3); }
.qty-select { min-height: 40px; border-radius: var(--control-radius, 8px); border: var(--control-border, 1.5px solid #111111); padding: 0 var(--sp-3); }
.qty-select:focus-visible { outline: 2px solid var(--ink, #111111); outline-offset: 2px; box-shadow: 0 0 0 6px var(--focus-ring, #FFF200); }
.buy-box-meta { border-top: var(--border-hairline) solid var(--c-gray-200); }

@media (max-width: 768px) {
    .product-title { font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--ink, #111111); margin: 0 0 4px; max-width: none; }
    .product-model-line { margin-bottom: var(--sp-3); }
    .mobile-image-container { aspect-ratio: auto; height: auto; min-height: 140px; max-height: 42vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 10px 0; }
    .mobile-image-container img { max-height: calc(42vh - 8px); width: auto; max-width: 100%; object-fit: contain; }
    .key-specs-rows { grid-template-columns: 104px minmax(0, 1fr); font-size: 12.5px; }
    .key-specs-more-desktop { display: none; }
    .key-specs-more-mobile { display: inline; }
    .sticky-bar-mobile { border-radius: 0; padding-top: var(--sp-2); }
}

/* ===== 2026-09-08 batch 4a — desktop specifications, anchor clearance, desktop purchase bar ===== */
/* In-page links (Full specifications, policies) must land below the sticky header on every width. */
:root { --anchor-clearance: 146px; }
@media (min-width: 768px) { :root { --anchor-clearance: 182px; } }
@media (min-width: 1024px) { :root { --anchor-clearance: 88px; } }
#specs, #mobile-product-details, .pdp-included-section, .policy-accordion-item, .product-details-section { scroll-margin-top: var(--anchor-clearance); }

@media (min-width: 1024px) {
    /* The standalone specifications block uses the full content width: two columns of label/value pairs
       instead of a 280 px card with wrapped labels. Order and data unchanged. */
    .specs-finder-row-desktop { max-width: 1060px; }
    .specs-finder-row-desktop .specs-section { width: 100%; max-width: none; min-width: 0; flex: 1 1 auto; }
    .specs-finder-row-desktop .specs-table { display: block; font-size: 13px; }
    .specs-finder-row-desktop .specs-table tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; padding: 6px 18px 10px; }
    .specs-finder-row-desktop .specs-table tr { display: grid; grid-template-columns: minmax(150px, 42%) minmax(0, 1fr); align-items: baseline; column-gap: 12px; border-bottom: 1px solid var(--line, #dcdcdc); }
    .specs-finder-row-desktop .specs-table td { display: block; width: auto; padding: 9px 0; border-bottom: 0; }
    .specs-finder-row-desktop .specs-table td:first-child { color: var(--ink-muted, #767676); }
    .specs-finder-row-desktop .specs-table td:last-child { text-align: left; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink, #111111); }
    .specs-finder-row-desktop .specs-table tr:last-child td { border-bottom: 0; }

    /* Scrolled purchase bar on desktop: one row aligned to the content width — identity, price/stock,
       quote, then the primary actions — instead of two full-viewport rows. */
    .sticky-bar-mobile.visible { flex-direction: row; align-items: center; gap: var(--sp-5); border-radius: 0; padding: 10px max(var(--sp-5), calc((100% - 1060px) / 2)); }
    .sticky-bar-mobile .sticky-bar-description { display: flex; margin: 0; flex: 1 1 auto; min-width: 0; order: 1; }
    .sticky-bar-mobile .sticky-bar-description .main-item { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
    .sticky-bar-mobile .sticky-row-secondary { order: 2; flex: 0 0 auto; gap: var(--sp-4); justify-content: flex-start; }
    .sticky-bar-mobile .sticky-row-primary { order: 3; margin: 0; flex: 0 0 auto; }
    .sticky-bar-mobile .sticky-row-primary .sticky-btn { flex: 0 0 auto; min-width: 150px; padding: 0 20px; }
    .sticky-bar-mobile .sticky-btn-quote { min-width: 150px; }
}

/* Nick2026-09-26: a purchase action becomes a grouped white quote action when accessories require a quote. */
.btn-add-cart[data-quote-action="true"]:not(:disabled):not(.is-refused):not(.is-confirmed), .btn-buy-now[data-quote-action="true"]:not(:disabled):not(.is-refused):not(.is-confirmed),
.sticky-btn-add[data-quote-action="true"]:not(:disabled):not(.is-refused):not(.is-confirmed), .sticky-btn-buy[data-quote-action="true"]:not(:disabled):not(.is-refused):not(.is-confirmed) { background: var(--action-quote, #fff); color: var(--ink, #111111); }
