.psa-product-detail {
    --psa-product-blue: var(--psa-blue, #073b9a);
    --psa-product-cyan: var(--psa-cyan, #009fe3);
    --psa-product-green: var(--psa-green, #18a83d);
    --psa-product-orange: var(--psa-orange, #f97300);
    background:
        radial-gradient(circle at 4% 8%, rgba(0, 159, 227, 0.09), transparent 25rem),
        radial-gradient(circle at 96% 35%, rgba(24, 168, 61, 0.07), transparent 26rem),
        #f5f8fc;
}

.psa-product-detail > .container > .row > .col-lg-9 > .h-100 > .card:first-child {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 70px rgba(6, 27, 75, 0.1);
    overflow: hidden;
    position: relative;
}

.psa-product-detail > .container > .row > .col-lg-9 > .h-100 > .card:first-child::before {
    background: linear-gradient(
        90deg,
        var(--psa-product-blue) 0 25%,
        var(--psa-product-cyan) 25% 50%,
        var(--psa-product-green) 50% 75%,
        var(--psa-product-orange) 75% 100%
    );
    content: "";
    height: 4px;
    inset: 0 0 auto;
    position: absolute;
    z-index: 3;
}

.psa-product-detail .quickviewSlider2 {
    background:
        radial-gradient(circle at 72% 20%, rgba(0, 159, 227, 0.08), transparent 34%),
        linear-gradient(145deg, #f8fafc, #eef3f9) !important;
}

.psa-product-detail .quickviewSlider2 img {
    filter: drop-shadow(0 16px 22px rgba(7, 27, 65, 0.12));
    transition: filter 220ms ease, transform 220ms ease;
}

.psa-product-detail .quickviewSlider2:hover img {
    filter: drop-shadow(0 20px 28px rgba(7, 27, 65, 0.16));
    transform: scale(1.015);
}

.psa-product-detail .quickviewSliderThumb2 .swiper-slide {
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.psa-product-detail .quickviewSliderThumb2 .swiper-slide:hover {
    border-color: rgba(7, 59, 154, 0.42) !important;
    box-shadow: 0 8px 20px rgba(6, 27, 75, 0.1);
    transform: translateY(-1px);
}

.psa-product-detail .details h1 {
    max-width: 38rem;
}

.psa-product-detail .addToCartDynamicForm {
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 159, 227, 0.06), transparent 35%),
        #fbfcfe;
    box-shadow: inset 0 1px 0 #ffffff, 0 14px 34px rgba(6, 27, 75, 0.05);
}

.psa-product-detail .discounted-unit-price,
.psa-product-detail .product-details-chosen-price-amount {
    color: var(--psa-product-blue) !important;
}

.psa-product-detail .product-add-and-buy-section {
    gap: 0.75rem !important;
}

.psa-product-detail .product-add-and-buy-section .btn,
body:has(.psa-product-detail) .bottom-sticky .product-add-and-buy-section .btn {
    align-items: center;
    border: 0 !important;
    border-radius: 13px !important;
    display: inline-flex;
    font-weight: 800;
    gap: 0.5rem;
    justify-content: center;
    min-height: 52px;
    padding-inline: 1rem;
    transition: box-shadow 180ms ease, filter 180ms ease, transform 180ms ease;
}

.psa-product-detail .psa-product-buy-now,
body:has(.psa-product-detail) .bottom-sticky .psa-product-buy-now {
    background: linear-gradient(135deg, #0f8739, var(--psa-product-green, #18a83d)) !important;
    box-shadow: 0 12px 24px rgba(24, 168, 61, 0.22);
    color: #ffffff !important;
}

.psa-product-detail .psa-product-add-cart,
body:has(.psa-product-detail) .bottom-sticky .psa-product-add-cart {
    background: linear-gradient(135deg, var(--psa-product-orange, #f97300), #ff9418) !important;
    box-shadow: 0 12px 24px rgba(249, 115, 0, 0.24);
    color: #ffffff !important;
}

.psa-product-detail .psa-product-buy-now:hover,
.psa-product-detail .psa-product-add-cart:hover,
body:has(.psa-product-detail) .bottom-sticky .psa-product-buy-now:hover,
body:has(.psa-product-detail) .bottom-sticky .psa-product-add-cart:hover {
    filter: saturate(1.08) brightness(0.97);
    transform: translateY(-2px);
}

.psa-product-detail .psa-product-buy-now:focus-visible,
.psa-product-detail .psa-product-add-cart:focus-visible,
body:has(.psa-product-detail) .bottom-sticky .psa-product-buy-now:focus-visible,
body:has(.psa-product-detail) .bottom-sticky .psa-product-add-cart:focus-visible {
    outline: 3px solid rgba(0, 159, 227, 0.32);
    outline-offset: 3px;
}

.psa-product-detail .psa-product-buy-now:disabled,
.psa-product-detail .psa-product-add-cart:disabled {
    box-shadow: none;
    cursor: not-allowed;
    filter: grayscale(0.45);
    opacity: 0.62;
    transform: none;
}

.psa-product-detail__assurances {
    background: rgba(239, 247, 252, 0.72);
    border: 1px solid #dde8f2;
    border-radius: 12px;
    margin-top: 1.1rem;
    padding: 0.85rem;
}

.psa-product-detail__assurances span {
    color: #4e5f78;
    font-weight: 650;
}

.psa-product-detail__assurances i {
    background: rgba(24, 168, 61, 0.11);
    border-radius: 50%;
    display: inline-grid;
    height: 1.55rem;
    place-items: center;
    width: 1.55rem;
}

.psa-product-detail .product-details-shipping-details,
.psa-product-detail .__inline-31,
.psa-product-detail .__review-overview {
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.psa-product-detail .product-details-shipping-details:hover,
.psa-product-detail .__inline-31:hover {
    border-color: #cad8e9;
    box-shadow: 0 18px 42px rgba(6, 27, 75, 0.08);
    transform: translateY(-2px);
}

body:has(.psa-product-detail) .bottom-sticky {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(209, 221, 236, 0.9);
    box-shadow: 0 -14px 38px rgba(6, 27, 75, 0.12);
}

@media (max-width: 767px) {
    .psa-product-detail > .container > .row > .col-lg-9 > .h-100 > .card:first-child {
        border-radius: 18px !important;
    }

    .psa-product-detail .product-add-and-buy-section .btn {
        min-height: 50px;
        width: 100%;
    }

    .psa-product-detail__assurances {
        gap: 0.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .psa-product-detail *,
    .psa-product-detail *::before,
    .psa-product-detail *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
