/* ============================================================
   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);
    }
}

.product-images {
    opacity: 0;
    animation: fadeSlideUp 0.4s ease forwards;
    animation-delay: 0.05s;
}

.product-info {
    opacity: 0;
    animation: fadeSlideUp 0.4s ease forwards;
    animation-delay: 0.1s;
}

.buy-box {
    opacity: 0;
    animation: fadeSlideUp 0.4s ease forwards;
    animation-delay: 0.15s;
}

/* === 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);
}

.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 - Amazon style (logo | name + store | ratings on right) */
.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-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);
}
.brand-store-link {
    font-size: 13px;
    color: #007185;
    text-decoration: none;
}
.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;
}

/* 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 Sponsored Banner - Amazon dark product card style */
.sponsored-banner-mobile {
    display: none;  /* Hidden on desktop */
}
.sponsored-product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.sponsored-product-info {
    width: 100%;
}
.sponsored-product-title {
    font-size: 13px;
    font-weight: 400;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}
.sponsored-product-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}
.sponsored-discount {
    color: #f0f0f0;
    background: #CC0C39;
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 11px;
}
.sponsored-price {
    color: #fff;
    font-weight: 600;
}
.sponsored-amazon-price {
    color: #8d9096;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 2px;
}
/* Amazon logo - base styles */
.amazon-a-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

/* Banner context (dark bg) - match #8d9096 text */
.sponsored-banner-mobile .amazon-a-icon {
    filter: brightness(0.78) saturate(0);
    opacity: 0.9;
}

/* Product page context (light bg, dark logo) - match #565959 text */
.list-price .amazon-a-icon {
    filter: saturate(0);
    opacity: 0.65;
}
.sponsored-amazon-price s {
    text-decoration: line-through;
}
.sponsored-rating {
    color: #ffa41c;
    font-size: 11px;
}
.sponsored-reviews {
    color: #8d9096;
    font-size: 11px;
}
.sponsored-banner-mobile .sponsored-label {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 11px;
    color: #8d9096;
    display: flex;
    align-items: center;
    gap: 4px;
}
.sponsored-banner-mobile .sponsored-label svg {
    opacity: 0.7;
}

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

.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.5px;
}
.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;
}

/* 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);
    cursor: pointer;
    text-align: center;
    transition: all 0.1s ease;
}
.variant-btn:hover:not(.active):not(.unavailable) {
    background: var(--c-gray-50);
}
.variant-btn.active {
    background: var(--c-gray-100);
}
.variant-btn.unavailable {
    opacity: 0.4;
    cursor: not-allowed;
}
.variant-btn .variant-name {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: var(--sp-1);
}
.variant-btn .variant-price {
    font-size: 14px;
    color: var(--c-black);
}
.variant-btn.unavailable .variant-price {
    color: var(--c-gray-400);
    text-decoration: line-through;
}

/* Size/VA Selector */
.size-section {
    margin-bottom: var(--sp-4);
}
.size-label {
    font-size: 13px;
    margin-bottom: var(--sp-2);
}
.size-label strong {
    font-weight: 700;
}
.size-options {
    display: flex;
    gap: var(--sp-2);
    flex-wrap: wrap;
}
.size-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) {
    background: var(--c-gray-50);
}
.size-btn.active {
    background: var(--c-gray-100);
}
.size-btn.unavailable {
    opacity: 0.5;
    cursor: pointer;
    border-style: dashed;
}
.size-btn .size-va {
    font-weight: 700;
}
.size-btn .size-price {
    font-size: 11px;
    color: var(--c-gray-500);
    margin-top: 2px;
}
.size-btn.unavailable .size-price {
    color: var(--c-gray-400);
}

/* 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: 2px 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-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-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.out-of-stock {
    color: var(--c-error);
}

.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;
}

/* CTA Buttons - Original BBS style */
.btn-add-cart {
    width: 100%;
    padding: var(--sp-3) var(--sp-5);
    background: var(--c-accent);
    color: var(--c-white);
    border: 2px solid var(--c-black);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    margin-bottom: var(--sp-2);
    transition: all 0.1s ease;
    -webkit-text-stroke: 2px var(--c-black);
    text-stroke: 2px var(--c-black);
    paint-order: stroke fill;
}
.btn-add-cart:hover {
    background: var(--c-accent-hover);
    box-shadow: var(--shadow-sm);
    transform: translateY(2px);
}
.btn-add-cart:active {
    transform: translateY(4px);
    box-shadow: none;
}

.btn-buy-now {
    width: 100%;
    padding: var(--sp-3) var(--sp-5);
    background: var(--c-success);
    color: var(--c-white);
    border: 2px solid var(--c-black);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    margin-bottom: var(--sp-2);
    transition: all 0.1s ease;
    -webkit-text-stroke: 2px var(--c-black);
    text-stroke: 2px var(--c-black);
    paint-order: stroke fill;
}
.btn-buy-now:hover {
    background: #148a16;
    box-shadow: var(--shadow-sm);
    transform: translateY(2px);
}
.btn-buy-now:active {
    transform: translateY(4px);
    box-shadow: none;
}

.btn-request-quote {
    width: 100%;
    padding: var(--sp-3) var(--sp-5);
    background: #ffae42;
    color: var(--c-white);
    border: 2px solid var(--c-black);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    margin-bottom: var(--sp-3);
    transition: all 0.1s ease;
    -webkit-text-stroke: 2px var(--c-black);
    text-stroke: 2px var(--c-black);
    paint-order: stroke fill;
}
.btn-request-quote:hover {
    background: #e69a35;
    box-shadow: var(--shadow-sm);
    transform: translateY(2px);
}
.btn-request-quote:active {
    transform: translateY(4px);
    box-shadow: none;
}

.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: 50px 1fr 80px 90px 80px;
    gap: var(--sp-2);
    align-items: center;
    padding: var(--sp-2) var(--sp-3);
    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(4),
.bom-header span:nth-child(5) {
    text-align: center;
}

.addon-row {
    display: grid;
    grid-template-columns: 50px 1fr 80px 90px 80px;
    gap: var(--sp-2);
    align-items: center;
    padding: var(--sp-2) var(--sp-3);
    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-thumb {
    width: 44px;
    height: 44px;
    border: var(--border-hairline) solid var(--c-gray-300);
    border-radius: var(--radius-sm);
    background: var(--c-gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.addon-thumb svg {
    width: 24px;
    height: 24px;
    stroke: var(--c-gray-400);
}

.addon-info {
    min-width: 0;
    position: relative;
}
.addon-sku {
    font-size: 12px;
    font-weight: 700;
    color: var(--c-black);
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: var(--sp-1);
}
.addon-name {
    font-size: 11px;
    color: var(--c-gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Addon Tooltip */
.addon-info-trigger {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--c-gray-200);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    flex-shrink: 0;
}
.addon-info-trigger svg {
    width: 10px;
    height: 10px;
    stroke: var(--c-gray-500);
}
.addon-info-trigger:hover {
    background: var(--c-black);
}
.addon-info-trigger:hover svg {
    stroke: var(--c-white);
}

.addon-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    width: 260px;
    background: var(--c-black);
    color: var(--c-white);
    padding: var(--sp-3);
    border-radius: var(--radius-md);
    font-size: 12px;
    line-height: 1.4;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: all 0.15s ease;
    pointer-events: none;
}
.addon-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 20px;
    border: 6px solid transparent;
    border-top-color: var(--c-black);
}
.addon-info-trigger:hover + .addon-tooltip,
.addon-tooltip:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.addon-tooltip-title {
    font-weight: 700;
    margin-bottom: var(--sp-1);
    color: var(--c-white);
}
.addon-tooltip-benefit {
    color: #4ade80;
    margin-bottom: var(--sp-1);
}
.addon-tooltip-compat {
    color: var(--c-gray-300);
    font-size: 11px;
}

/* Status Column */
.addon-status {
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--sp-1);
}
.addon-status .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.addon-status.in-stock .dot {
    background: var(--c-success);
}
.addon-status.in-stock {
    color: var(--c-success);
}
.addon-status.lead-time .dot {
    background: var(--c-warning);
}
.addon-status.lead-time {
    color: var(--c-warning);
}

/* 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);
}

/* Line Total */
.addon-line-total {
    font-weight: 700;
    font-size: 13px;
    color: var(--c-black);
    text-align: right;
}
.addon-line-total.zero {
    color: var(--c-gray-400);
}

.setup-footer {
    display: flex;
    justify-content: space-between;
    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: 13px;
}
.setup-total .grand {
    font-size: 18px;
    font-weight: 900;
    color: var(--c-black);
}
.setup-footer .btn-request-quote {
    width: auto;
    margin: 0;
}

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

/* 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 {
    font-size: 18px;
    font-weight: 400;
    transition: transform 0.2s ease;
}
.accordion-header[aria-expanded="false"] .accordion-icon {
    transform: rotate(0deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.accordion-content.expanded {
    max-height: 1000px;
}

/* === RELATED PRODUCTS CAROUSEL === */
.related-products-section {
    margin: var(--sp-6) 0;
    padding: var(--sp-5);
    background: var(--c-gray-50);
    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-gray-100);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.related-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.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;
}

/* === 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;
}
.sticky-bar-description .main-item {
    color: var(--c-black);
}
.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-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);
}

/* === 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;
    }
    .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;
    }

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

    /* Mobile order: sponsored banner, info (with image inside), buy box */
    .sponsored-banner-mobile {
        order: 1;
        display: block;
        position: relative;
        background: #232f3e;
        border-radius: var(--radius-lg);
        padding: 12px 14px 28px 14px;
        margin-bottom: var(--sp-3);
        box-sizing: border-box;
    }
    .product-images {
        display: none;  /* Hide original images container on mobile */
    }
    .product-info {
        order: 2;
    }
    .buy-box-column {
        order: 3;
    }

    /* 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-size: 18px;
    }

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

    .size-options {
        gap: var(--sp-1);
    }
    .size-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;
    }
    .buy-box {
        max-width: 100%;
        border: none;
        border-radius: 0;
        box-shadow: none;
        border-top: 1px solid var(--c-gray-200);
    }

    .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;
    }
}
