/* ============================================
   PRODUCT DETAIL PAGE ENHANCEMENTS - MODERN UX/UI
   ============================================ */

/* Product Image Section - Modern Design */
.product-image {
    position: sticky;
    top: 100px;
    margin-bottom: 2rem;
}

.product_img_box {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08);
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product_img_box:hover {
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.product_img_box img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.product_img_box:hover img {
    transform: scale(1.02);
}

.product_img_zoom {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
}

.product_img_zoom:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    color: white;
}

.product_img_zoom span {
    font-size: 1.2rem;
}

/* Product Gallery Thumbnails */
.product_gallery_item {
    margin-top: 1rem;
}

.product_gallery_item .item {
    padding: 0.5rem;
}

.product_gallery_item .item a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product_gallery_item .item a:hover,
.product_gallery_item .item a.active {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.product_gallery_item .item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.product_gallery_item .item a:hover img {
    transform: scale(1.05);
}

/* Product Detail Section */
.pr_detail {
    padding-left: 2rem;
}

.product_title {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    background: linear-gradient(135deg, #1f2937 0%, #4b5563 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Product Price - Modern Design */
.product_price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.product_price .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product_price del {
    font-size: 1.5rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 600;
}

.product_price .on_sale {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.product_price .on_sale span {
    color: white;
}

/* Product Description */
.pr_desc {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.pr_desc p {
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

/* Product Meta - Modern List Design */
.product-meta {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.product-meta li {
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-meta li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
    border-left-color: #764ba2;
}

.product-meta li::before {
    content: '✓';
    color: #667eea;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.product-meta li a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.product-meta li a:hover {
    color: #667eea;
}

/* Quantity Selector - Modern Design */
.cart_extra {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08);
}

.quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.quantity .minus,
.quantity .plus {
    width: 45px;
    height: 45px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    transition: all 0.3s ease;
    padding: 0;
}

.quantity .minus:hover,
.quantity .plus:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.quantity .qty {
    width: 80px;
    height: 45px;
    text-align: center;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    transition: all 0.3s ease;
}

.quantity .qty:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

/* Action Buttons - Modern Design */
.cart_btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-addtocart,
.btn-buynow {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    vertical-align: middle;
}

.btn-addtocart i,
.btn-buynow i {
    font-size: 1.2rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.btn-addtocart {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-addtocart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: white;
}

.btn-buynow {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.btn-buynow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
}

.add_wishlist {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.add_wishlist:hover {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #ef4444;
    color: #ef4444;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.add_wishlist i {
    font-size: 1.5rem;
}

/* Certifications/Features Section */
.product-features {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 4px solid #10b981;
}

.product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 20px;
    font-weight: 600;
    color: #059669;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.product-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 991px) {
    .pr_detail {
        padding-left: 0;
        margin-top: 2rem;
    }

    .product-image {
        position: relative;
        top: 0;
    }

    .product_title {
        font-size: 1.75rem;
    }

    .product_price .price {
        font-size: 2rem;
    }

    .cart_extra {
        flex-direction: column;
        align-items: stretch;
    }

    .quantity {
        width: 100%;
        justify-content: center;
    }

    .cart_btn {
        width: 100%;
        flex-direction: column;
    }

    .btn-addtocart,
    .btn-buynow {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .product_title {
        font-size: 1.5rem;
    }

    .product_price .price {
        font-size: 1.75rem;
    }

    .product_price del {
        font-size: 1.2rem;
    }

    .pr_desc {
        padding: 1rem;
    }

    .product-meta li {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pr_detail > * {
    animation: fadeInUp 0.6s ease-out;
}

.pr_detail > *:nth-child(1) { animation-delay: 0.1s; }
.pr_detail > *:nth-child(2) { animation-delay: 0.2s; }
.pr_detail > *:nth-child(3) { animation-delay: 0.3s; }
.pr_detail > *:nth-child(4) { animation-delay: 0.4s; }

