/**
 * Product Styles for Discolink
 * Developed by Bishal Mondal
 * All rights reserved from Bangladesh
 * LinkedIn: www.linkedin.com/in/bishal-mondal2025
 * Portfolio: bishalmondal.com
 */

.product-detail {
    padding-top: 100px;
    padding-bottom: 60px;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.main-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s var(--bounce);
}

.main-image:hover img {
    transform: scale(1.05);
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    transform: translateY(-2px);
}

/* Product Info */
.breadcrumb {
    margin-bottom: 20px;
}

.breadcrumb-item a {
    color: var(--text-light);
    text-decoration: none;
}

.product-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.product-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--surface-color);
    border-radius: 12px;
}

.price-info {
    display: flex;
    flex-direction: column;
}

.original {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 1.1rem;
}

.discounted {
    color: var(--accent-color);
    font-size: 2rem;
    font-weight: 600;
}

.savings-badge {
    background: var(--accent-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
}

.product-description {
    margin-bottom: 30px;
}

.product-description h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--surface-color);
    border-radius: 8px;
    color: var(--text-color);
}

.timer i {
    color: var(--accent-color);
}

.buy-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Related Products */
.related-products {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--text-light);
}

.related-products h2 {
    margin-bottom: 30px;
    color: var(--text-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-gallery {
        position: static;
        margin-bottom: 30px;
    }

    .product-price {
        flex-direction: column;
        gap: 15px;
    }

    .savings-badge {
        align-self: flex-start;
    }
} 