/* ========================================
   Single Product Page - Modern & Professional
   ======================================== */

/* Social Share */
.product-social-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.product-social-share .share-label {
    font-weight: 600;
    color: #333;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s;
    text-decoration: none;
}

.share-btn.facebook {
    background: #1877f2;
    color: #fff;
}

.share-btn.facebook:hover {
    background: #145dbf;
    transform: translateY(-3px);
}

.share-btn.twitter {
    background: #1da1f2;
    color: #fff;
}

.share-btn.twitter:hover {
    background: #0c85d0;
    transform: translateY(-3px);
}

.share-btn.whatsapp {
    background: #25d366;
    color: #fff;
}

.share-btn.whatsapp:hover {
    background: #1da851;
    transform: translateY(-3px);
}

.share-btn.pinterest {
    background: #e60023;
    color: #fff;
}

.share-btn.pinterest:hover {
    background: #bd001c;
    transform: translateY(-3px);
}

/* Related Products Section */
.related-products-section {
    margin: 60px 0 40px;
    padding: 40px 0;
    background: #f8f9fa;
}

.related-products-section .section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 40px;
    color: #333;
}

.related-products-slider {
    position: relative;
    padding: 0 50px;
}

.related-product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-product-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.related-product-image {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 4 / 3;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-product-card:hover .related-product-image img {
    transform: scale(1.05);
}

.related-product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.related-product-title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    flex-grow: 1;
}

.related-product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.related-product-title a:hover {
    color: #3498db;
}

.related-product-price {
    margin: 10px 0 15px;
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
}

.related-product-button {
    width: 100%;
    padding: 12px 20px;
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.related-product-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52,152,219,0.3);
}

/* Related Slider Navigation */
.related-products-slider .swiper-button-prev,
.related-products-slider .swiper-button-next {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s;
}

.related-products-slider .swiper-button-prev:after,
.related-products-slider .swiper-button-next:after {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.related-products-slider .swiper-button-prev:hover,
.related-products-slider .swiper-button-next:hover {
    background: #3498db;
    transform: scale(1.1);
}

.related-products-slider .swiper-button-prev:hover:after,
.related-products-slider .swiper-button-next:hover:after {
    color: #fff;
}

.related-products-slider .swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.related-products-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
    transition: all 0.3s;
}

.related-products-slider .swiper-pagination-bullet-active {
    background: #3498db;
    width: 30px;
    border-radius: 5px;
}

.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page div.product div.summary{
    width: 100%;
}

 .woocommerce div.product div.images, .woocommerce-page div.product div.images {
    float: left;
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .product-social-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .related-products-section .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .related-products-slider {
        padding: 0 40px;
    }
    
    .related-products-slider .swiper-button-prev,
    .related-products-slider .swiper-button-next {
        width: 36px;
        height: 36px;
    }
    
    .related-products-slider .swiper-button-prev:after,
    .related-products-slider .swiper-button-next:after {
        font-size: 16px;
    }
}
