/* eBay Product Page Styles */
.product-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Roboto', Arial, sans-serif;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumbs a {
    color: #0654ba;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Product Container */
.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

/* Image Gallery */
.product-image-gallery {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.main-image {
    position: relative;
    width: 100%;
    height: 400px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.image-zoom-lens {
    position: absolute;
    border: 2px solid #ccc;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: none;
    cursor: crosshair;
    background-repeat: no-repeat;
    pointer-events: none;
}

.thumbnail-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}

.thumbnail:hover {
    border-color: #0654ba;
}

.thumbnail.active {
    border: 2px solid #0654ba;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Details */
.product-details {
    flex: 1;
    min-width: 300px;
}

.product-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.product-time-left {
    color: #e53935;
    font-weight: bold;
}

.product-pricing {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 4px;
}

.main-price {
    font-size: 28px;
    font-weight: bold;
    color: #111;
    margin-bottom: 5px;
}

.shipping-info {
    font-size: 16px;
    color: #00a65a;
}

.seller-info {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.seller-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

.seller-details p {
    margin: 5px 0;
    font-size: 14px;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.buy-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #0654ba;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.2s ease;
}

.buy-button:hover {
    background-color: #00489a;
}

.best-offer-tag {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #0654ba;
}

/* Product Tabs */
.product-tabs {
    margin-bottom: 40px;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 20px;
}

.tab-button {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    transition: all 0.2s ease;
}

.tab-button:hover {
    color: #0654ba;
}

.tab-button.active {
    color: #0654ba;
    border-bottom-color: #0654ba;
}

.tab-content {
    display: none;
    padding: 20px 0;
}

.tab-content.active {
    display: block;
}

.product-description {
    line-height: 1.6;
    color: #333;
}

.product-description p {
    margin-bottom: 16px;
}

.product-description ul, 
.product-description ol {
    margin-left: 20px;
    margin-bottom: 16px;
}

.product-description li {
    margin-bottom: 8px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th, 
.specs-table td {
    padding: 10px;
    border-bottom: 1px solid #e5e5e5;
    text-align: left;
}

.specs-table th {
    width: 30%;
    color: #666;
    font-weight: 500;
}

.shipping-details {
    line-height: 1.6;
}

.shipping-details p {
    margin-bottom: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
    }
    
    .product-image-gallery,
    .product-details {
        width: 100%;
        max-width: 100%;
    }
    
    .main-image {
        height: 300px;
    }
    
    .tabs-header {
        overflow-x: auto;
    }
} 