
/* Bids.com Style Detail Page */
.content-area { overflow: auto !important; }
.product-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
}

.product-detail-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    min-width: 0;
}

/* Left Column - Image Gallery */
.image-gallery {
    position: relative;
}

.main-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f8f8;
}

.main-image-container img,
.main-image-container video,
.main-image-container iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.view-mode-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.view-tab {
    flex: 1;
    padding: 12px 20px;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.view-tab:hover {
    background: #e8e8e8;
}

.view-tab.active {
    background: #fff;
    border-color: #007bff;
    color: #007bff;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.thumbnail-item {
    aspect-ratio: 1;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f8f8;
}

.thumbnail-item:hover {
    border-color: #007bff;
    transform: scale(1.05);
}

.thumbnail-item.active {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.2);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Column - Product Info */
.product-info {
    padding: 20px 0;
    min-width: 0;
}

.product-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

/* Clean Quantity Stepper & Compact Button Styles */
input[type=number].qty-num-input::-webkit-outer-spin-button,
input[type=number].qty-num-input::-webkit-inner-spin-button,
input[type=number].quantity-input::-webkit-outer-spin-button,
input[type=number].quantity-input::-webkit-inner-spin-button,
#quantity::-webkit-outer-spin-button,
#quantity::-webkit-inner-spin-button,
#desc_quantity_sync::-webkit-outer-spin-button,
#desc_quantity_sync::-webkit-inner-spin-button,
#auctionBuyNowQty::-webkit-outer-spin-button,
#auctionBuyNowQty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number].qty-num-input,
input[type=number].quantity-input,
#quantity,
#desc_quantity_sync,
#auctionBuyNowQty {
    -moz-appearance: textfield;
}

.item-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.spec-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.spec-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.spec-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Description Section */
.description-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.description-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.description-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 968px) {
    .product-detail-main {
        grid-template-columns: 1fr;
    }
    
    .thumbnail-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}
