﻿/* Product Details Container */
.pd-wrapper {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px;
}

/* Main Image Box */
.pd-main-img-box {
    width: 100%;
    height: 410px;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    position: relative;
    overflow: hidden;
}

    .pd-main-img-box img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

    .pd-main-img-box:hover img {
        transform: scale(1.06);
    }

/* Gallery Thumbnails Strip */
.pd-thumb-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-top: 14px;
}

    .pd-thumb-strip::-webkit-scrollbar {
        height: 5px;
    }

    .pd-thumb-strip::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 10px;
    }

.pd-thumb-item {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 4px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

    .pd-thumb-item img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .pd-thumb-item:hover,
    .pd-thumb-item.active {
        border-color: #e62e00;
        box-shadow: 0 3px 10px rgba(230, 46, 0, 0.18);
    }

/* Right Side Details */
.pd-cat-badge {
    background-color: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    font-weight: 700;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
}

.pd-title {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    line-height: 1.35;
}

.pd-price-box {
    background: #f8fafc;
    border-left: 4px solid #15803d;
    border-radius: 10px;
    padding: 14px 18px;
}

.pd-selling-price {
    font-size: 30px;
    font-weight: 800;
    color: #15803d;
}

.pd-mrp-price {
    font-size: 17px;
    color: #9ca3af;
    text-decoration: line-through;
}

.pd-save-badge {
    background: linear-gradient(135deg, #e62e00, #ff6b00);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

/* Quantity Selector */
.qty-control {
    display: inline-flex;
    align-items: center;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

    .qty-control button {
        border: none;
        background: #f3f4f6;
        width: 38px;
        height: 40px;
        font-weight: 800;
        font-size: 18px;
        color: #1f2937;
        cursor: pointer;
    }

        .qty-control button:hover {
            background: #e5e7eb;
        }

    .qty-control input {
        width: 52px;
        height: 40px;
        border: none;
        text-align: center;
        font-weight: 700;
        font-size: 16px;
        outline: none;
    }

/* Action Buttons */
.btn-pd-cart {
    background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 12px 26px;
    border-radius: 10px;
    border: none;
    transition: opacity 0.2s;
}

    .btn-pd-cart:hover {
        opacity: 0.92;
        color: #fff;
    }

.btn-pd-buy {
    background: linear-gradient(135deg, #e62e00 0%, #ff6b00 100%);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 12px 26px;
    border-radius: 10px;
    border: none;
    transition: opacity 0.2s;
}

    .btn-pd-buy:hover {
        opacity: 0.92;
        color: #fff;
    }

/* Trust Badges */
.trust-pill {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 600;
    color: #374151;
}

/* Product HTML Description */
.pd-description-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 26px;
}

.pd-description-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}

@media (max-width: 767px) {
    .pd-main-img-box {
        height: 290px;
    }

    .pd-title {
        font-size: 20px;
    }
}
