/* Wadood Product Details — visual redesign only */

.wd-pdp {
    background:
        radial-gradient(70% 40% at 100% 0%, color-mix(in srgb, var(--web-primary) 8%, transparent) 0%, transparent 55%),
        #f7f8fa;
    padding-bottom: 2rem;
}

.wd-pdp .container {
    max-width: 1200px;
}

.wd-pdp__main,
.wd-pdp .__review-overview.card,
.wd-pdp .product-details-shipping-details,
.wd-pdp .__inline-31,
.wd-pdp .__card {
    border: 1px solid #eceef2 !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 28px rgba(18, 20, 26, 0.05) !important;
    background: #fff !important;
}

.wd-pdp__main.card-body,
.wd-pdp .__review-overview.card-body {
    padding: 1.35rem 1.4rem !important;
}

/* Gallery */
.wd-pdp__gallery .quickviewSlider2 {
    border: 1px solid #eceef2 !important;
    border-radius: 16px !important;
    overflow: hidden;
    background: #f3f4f6;
}

.wd-pdp__gallery .quickviewSlider2 img {
    border-radius: 16px;
    object-fit: cover;
}

.wd-pdp__gallery .discount-badge-wrapper .discount-badge {
    border-radius: 999px !important;
    padding: 0.35rem 0.75rem !important;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--web-primary) 35%, transparent);
}

.wd-pdp__gallery .cz-product-gallery-icons .btn-circle,
.wd-pdp__gallery .cz-product-gallery-icons .border {
    border-radius: 12px !important;
    border-color: #e5e7eb !important;
    box-shadow: 0 4px 12px rgba(18, 20, 26, 0.06);
}

.wd-pdp__gallery .quickviewSliderThumb2 .swiper-slide {
    border-radius: 12px !important;
    border: 1px solid #eceef2 !important;
    overflow: hidden;
    opacity: 0.7;
    transition: border-color .2s ease, opacity .2s ease, transform .2s ease;
}

.wd-pdp__gallery .quickviewSliderThumb2 .swiper-slide-thumb-active,
.wd-pdp__gallery .quickviewSliderThumb2 .swiper-slide.active,
.wd-pdp__gallery .active-border .swiper-slide.swiper-slide-thumb-active {
    border-color: var(--web-primary) !important;
    opacity: 1;
    transform: translateY(-1px);
}

.wd-pdp__gallery .swiper-button-next,
.wd-pdp__gallery .swiper-button-prev {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.wd-pdp__gallery .swiper-button-next::after,
.wd-pdp__gallery .swiper-button-prev::after {
    font-size: 12px;
    color: #12141a;
}

/* Info */
.wd-pdp__title,
.wd-pdp .details .__inline-24 {
    font-size: clamp(1.25rem, 2vw, 1.65rem) !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    color: #12141a !important;
    letter-spacing: -0.02em;
}

.wd-pdp__brand {
    font-size: 0.9rem;
    font-weight: 600;
    color: #9ca3af;
}

.wd-pdp__price-row {
    display: block !important;
    visibility: visible !important;
    margin-bottom: 0.25rem;
}

.wd-pdp .discounted-unit-price {
    display: inline-flex !important;
    align-items: baseline;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #12141a !important;
    line-height: 1.1;
}

.wd-pdp .discounted-unit-price .wd-amount {
    font-size: 1.15em;
}

.wd-pdp .product-details-chosen-price-section,
.wd-pdp .product-details-chosen-price-amount {
    display: flex !important;
    visibility: visible !important;
    align-items: baseline;
    color: #12141a !important;
}

.wd-pdp .product-details-chosen-price-amount {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
}

.wd-pdp .product-details-chosen-price-amount .wd-amount {
    font-size: 1.1em;
}

.wd-pdp .product-details-chosen-price-section .product-description-label {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
}

.wd-pdp .product-total-unit-price {
    font-size: 0.9rem !important;
    color: #9ca3af !important;
}

.wd-pdp .product-total-unit-price .wd-currency {
    color: #9ca3af !important;
}

.wd-pdp .discounted-unit-price .wd-currency {
    color: #e11d48 !important;
    font-size: 0.85em;
}

/* Variants */
.wd-pdp .product-description-label {
    min-width: 72px;
    font-weight: 600 !important;
    color: #6b7280 !important;
}

.wd-pdp .checkbox-color label {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    box-shadow: 0 0 0 1px #e5e7eb;
}

.wd-pdp .checkbox-alphanumeric label,
.wd-pdp .for-mobile-capacity label {
    border-radius: 10px !important;
    border: 1px solid #e5e7eb !important;
    padding: 0.45rem 0.85rem !important;
    background: #fff !important;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.wd-pdp .checkbox-alphanumeric input:checked + label,
.wd-pdp .for-mobile-capacity input:checked + label {
    border-color: var(--web-primary) !important;
    background: color-mix(in srgb, var(--web-primary) 10%, #fff) !important;
    color: var(--web-primary) !important;
}

/* Qty */
.wd-pdp .quantity-box {
    border-radius: 12px !important;
    border-color: #e5e7eb !important;
    overflow: hidden;
    height: 44px !important;
}

.wd-pdp .quantity-box .btn-number {
    background: #f3f4f6 !important;
    color: #12141a !important;
    width: 40px !important;
}

.wd-pdp .product-details-chosen-price-amount {
    color: var(--web-primary) !important;
    font-weight: 800 !important;
}

/* CTA buttons */
.wd-pdp .product-add-and-buy-section .btn,
.wd-pdp .__btn-grp .btn {
    border-radius: 12px !important;
    min-height: 46px;
    font-weight: 700 !important;
    padding-inline: 1.25rem !important;
    box-shadow: none !important;
}

.wd-pdp .product-add-and-buy-section .btn--primary,
.wd-pdp .product-add-to-cart-button {
    background: var(--web-primary) !important;
    border-color: var(--web-primary) !important;
    color: #fff !important;
}

.wd-pdp .product-add-and-buy-section .btn-secondary,
.wd-pdp .product-buy-now-button {
    background: #12141a !important;
    border-color: #12141a !important;
    color: #fff !important;
}

.wd-pdp .product-action-add-wishlist {
    border-radius: 12px !important;
    border-color: #e5e7eb !important;
    min-height: 46px;
    padding-inline: 0.9rem !important;
}

.wd-pdp .request-restock-btn {
    border-radius: 12px !important;
    min-height: 46px;
}

/* Tabs */
.wd-pdp .nav--tabs {
    border-bottom: 1px solid #eceef2 !important;
    gap: 0.5rem !important;
    justify-content: flex-start !important;
    margin-bottom: 1rem;
}

.wd-pdp .nav--tabs .nav-link {
    border: 0 !important;
    border-radius: 999px !important;
    padding: 0.55rem 1.15rem !important;
    font-weight: 700 !important;
    color: #6b7280 !important;
    background: #f3f4f6 !important;
}

.wd-pdp .nav--tabs .nav-link.active {
    background: var(--web-primary) !important;
    color: #fff !important;
}

.wd-pdp .p-details-description,
.wd-pdp .rich-editor-html-content {
    line-height: 1.75;
    color: #374151;
}

.wd-pdp .see-more-details {
    border-radius: 999px !important;
    font-weight: 700;
}

/* Sidebar */
.wd-pdp .product-details-shipping-details {
    overflow: hidden;
    margin-bottom: 1rem;
}

.wd-pdp .shipping-details-bottom-border {
    border-bottom: 1px solid #f0f1f3;
}

.wd-pdp .shipping-details-bottom-border:last-child {
    border-bottom: 0;
}

.wd-pdp .shipping-details-bottom-border > div {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem 1rem !important;
    font-weight: 600;
    font-size: 0.9rem;
    color: #12141a;
}

.wd-pdp .__inline-31 {
    padding: 1.1rem !important;
    margin-bottom: 1rem;
}

.wd-pdp .__seller-author h2 {
    font-weight: 800 !important;
    margin-bottom: 0.25rem !important;
}

.wd-pdp .chat_with_seller-buttons .btn {
    border-radius: 12px !important;
    min-height: 44px;
    font-weight: 700 !important;
}

.wd-pdp .__text-16px.font-bold {
    font-weight: 800 !important;
}

/* Similar products strip */
.wd-pdp + .container .__card,
.wd-pdp .__card {
    border-radius: 18px !important;
}

/* Sticky bottom bar */
.product-details-sticky {
    border-top: 1px solid #eceef2 !important;
    box-shadow: 0 -10px 30px rgba(18, 20, 26, 0.08) !important;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.96) !important;
}

.product-details-sticky .product-bottom-section-price {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #12141a !important;
    display: inline-flex;
    align-items: baseline;
}

.product-details-sticky .product-bottom-section-price .wd-amount {
    font-size: 1.1em;
}

.product-details-sticky .product-bottom-section-price .wd-currency {
    font-size: 0.8em;
    color: #e11d48 !important;
}

.product-details-sticky .btn--primary,
.product-details-sticky .product-add-to-cart-button {
    border-radius: 12px !important;
    min-height: 44px;
    font-weight: 700 !important;
}

.product-details-sticky .btn-secondary,
.product-details-sticky .product-buy-now-button {
    border-radius: 12px !important;
    min-height: 44px;
    font-weight: 700 !important;
    background: #12141a !important;
    border-color: #12141a !important;
}

@media (max-width: 991.98px) {
    .wd-pdp__main.card-body,
    .wd-pdp .__review-overview.card-body {
        padding: 1rem !important;
    }

    .wd-pdp .product-add-and-buy-section {
        flex-wrap: wrap;
    }

    .wd-pdp .product-add-and-buy-section .btn {
        flex: 1 1 auto;
    }
}
