 /* Product Page Styles */
 .product-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.breadcrumbs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .separator {
    color: #ccc;
}

.product-details {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.product-gallery {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.main-image {
    height: 400px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumbnail-row {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnail.active {
    border-color: var(--primary);
}

.thumbnail img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    width: 50%;
}

.product-category {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 14px;
}

.product-title {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--dark);
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #ffc107;
}

.product-rating span {
    margin-left: 10px;
    color: #666;
}

.product-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.product-actions {
    margin-bottom: 25px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.quantity-label {
    margin-right: 15px;
    font-weight: bold;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.quantity-btn:hover {
    background-color: #e9e9e9;
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 16px;
}

.add-to-cart {
    width: 100%;
    padding: 15px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 15px;
}

.add-to-cart:hover {
    background-color: #e64a19;
}

.wishlist-btn {
    width: 100%;
    padding: 12px;
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.wishlist-btn:hover {
    background-color: #f5f5f5;
}

.product-meta {
    border-top: 1px solid #eee;
    padding-top: 20px;
    font-size: 14px;
    color: #666;
}

.product-meta p {
    margin-bottom: 8px;
}

.product-meta a {
    color: var(--primary);
    text-decoration: none;
}

.product-meta a:hover {
    text-decoration: underline;
}

.tabs {
    margin-bottom: 50px;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 12px 20px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    position: relative;
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
}

.tab-content {
    display: none;
    padding: 10px 0;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.tab-content p,
.tab-content li {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

.tab-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.related-products {
    margin-bottom: 50px;
}

.related-title {
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.related-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-image {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
}

.related-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.related-info {
    padding: 15px;
    text-decoration: none;
}

.related-grid a {
    text-decoration: none;
}

.related-name {
    font-size: 16px;

    font-weight: bold;
    margin-bottom: 10px;

    height: 80px;
    overflow: hidden;
    display: -webkit-box;
    /* -webkit-line-clamp: 2; */
    -webkit-box-orient: vertical;
    color: var(--dark);
}

.related-price {
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary);
}

.special-offer {
    background-color: #fef2e0;
    border-radius: 8px;
    padding: 15px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.special-offer-icon {
    font-size: 24px;
    color: var(--warning);
}

.special-offer-text {
    font-size: 14px;
    color: #333;
}

.special-offer-text strong {
    color: var(--warning);
}

@media (max-width: 900px) {
    .product-details {
        flex-direction: column;
    }

    .product-gallery,
    .product-info {
        width: 100%;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .thumbnail-row {
        justify-content: center;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .tab-buttons {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex-basis: 50%;
        text-align: center;
        padding: 10px;
    }
}