/**
 * Modern product details page.
 */
.pdp-modern {
    padding-bottom: 3rem;
}

.pdp-modern__hero {
    position: relative;
    padding: 1.25rem;
    border: 1px solid rgba(20, 20, 20, 0.07);
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 195, 68, 0.18), transparent 30%),
        radial-gradient(circle at 100% 0%, rgba(248, 38, 71, 0.08), transparent 26%),
        #fff;
    box-shadow: 0 16px 48px rgba(20, 20, 20, 0.08);
}

.dark .pdp-modern__hero {
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 195, 68, 0.1), transparent 30%),
        radial-gradient(circle at 100% 0%, rgba(248, 38, 71, 0.08), transparent 26%),
        #1b1b1b;
    border-color: rgba(255, 255, 255, 0.08);
}

.pdp-modern .item-img-cover {
    position: sticky;
    top: 6rem;
}

.pdp-modern .item-img-cover .card {
    padding: 0.65rem;
    border-radius: 1.5rem !important;
    background: linear-gradient(135deg, #fff4ee, #f8f8f8);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.dark .pdp-modern .item-img-cover .card {
    background: linear-gradient(135deg, #2a2421, #1f1f1f);
}

.pdp-modern .sp-wrap {
    max-width: 100%;
    border: none;
    background: transparent;
}

.pdp-modern .sp-wrap > a,
.pdp-modern .sp-large {
    border-radius: 1.15rem;
    overflow: hidden;
}

.pdp-modern .sp-wrap img,
.pdp-modern .item-img-cover img {
    border-radius: 1.15rem !important;
    object-fit: cover;
}

.pdp-modern .sp-thumbs {
    display: flex;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.pdp-modern .sp-thumbs a {
    border-radius: 0.75rem;
    overflow: hidden;
    border: 2px solid transparent;
}

.pdp-modern .sp-thumbs a.sp-current,
.pdp-modern .sp-thumbs a:hover {
    border-color: var(--bs-primary);
}

.pdp-modern .item-content {
    padding: 0.25rem 0.25rem 0.25rem 1rem;
}

.pdp-modern .offer-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.8rem;
    border-radius: 999px;
    background: #1a1a1a;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.pdp-modern .item-heading > div:nth-child(2) span.text-muted,
.pdp-modern .item-heading > div:first-child + div span.text-muted {
    display: inline-flex;
    padding: 0.34rem 0.75rem;
    border-radius: 999px;
    background: rgba(248, 38, 71, 0.08);
    color: var(--bs-primary) !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pdp-modern .item-title {
    font-size: clamp(1.85rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.pdp-modern .item-heading .d-flex.text-align-center img {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
    margin-top: 0.35rem;
}

.pdp-modern .item-price {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.pdp-modern del.item-price {
    font-size: 0.95rem !important;
    font-weight: 700;
}

.pdp-modern a[href="#review-tab"] {
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: #fff7e6;
    text-decoration: none;
}

.dark .pdp-modern a[href="#review-tab"] {
    background: rgba(255, 193, 7, 0.1);
}

.pdp-modern .bg-gray {
    border: 1px solid rgba(20, 20, 20, 0.06) !important;
    border-radius: 1rem !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(20, 20, 20, 0.05);
}

.dark .pdp-modern .bg-gray {
    background: #222 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.pdp-modern .item-addons-list {
    padding: 1rem !important;
    border: 1px solid rgba(20, 20, 20, 0.07) !important;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 8px 26px rgba(20, 20, 20, 0.04);
}

.dark .pdp-modern .item-addons-list {
    background: #202020;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.pdp-modern .form-check,
.pdp-modern .item-addons-list > div {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.pdp-modern .form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.pdp-modern .border-bottom.border-top.py-3 {
    margin-top: 1.25rem;
    padding: 1rem !important;
    border: none !important;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 12px 34px rgba(20, 20, 20, 0.07);
}

.dark .pdp-modern .border-bottom.border-top.py-3 {
    background: #202020;
}

.pdp-modern__qty,
.pdp-modern .item-quantity {
    height: 3rem;
    border: none !important;
    border-radius: 999px !important;
    background: #f6f6f6;
}

.dark .pdp-modern__qty,
.dark .pdp-modern .item-quantity {
    background: #2b2b2b;
}

.pdp-modern .item-quantity-minus,
.pdp-modern .item-quantity-plus {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50% !important;
    background: #1a1a1a !important;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pdp-modern .item-quantity-input {
    font-size: 1rem !important;
    font-weight: 900 !important;
}

.pdp-modern__cart-btn {
    height: 3rem;
    border: none !important;
    border-radius: 999px !important;
    background: #1a1a1a !important;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
    font-weight: 800 !important;
    transition: transform 0.15s ease, background 0.18s ease;
}

.pdp-modern__cart-btn:hover {
    transform: translateY(-1px);
    background: var(--bs-primary) !important;
    color: #fff !important;
}

.pdp-modern .btn-enquir {
    height: 3rem;
    border-radius: 999px !important;
    background: #25d366 !important;
    border-color: #25d366 !important;
    font-weight: 800;
}

.pdp-modern .wishlist a,
.pdp-modern .icon-box {
    border-radius: 999px;
}

.pdp-modern .nav-pills {
    padding: 0.35rem;
    border-radius: 999px;
    background: #f5f5f5;
}

.dark .pdp-modern .nav-pills {
    background: #232323;
}

.pdp-modern .nav-pills .nav-link {
    border-radius: 999px;
    font-weight: 800;
}

.pdp-modern .tab-content .card {
    border: 1px solid rgba(20, 20, 20, 0.07);
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px rgba(20, 20, 20, 0.05);
}

.dark .pdp-modern .tab-content .card {
    border-color: rgba(255, 255, 255, 0.08);
    background: #1f1f1f;
}

@media (max-width: 991.98px) {
    .pdp-modern .item-img-cover {
        position: static;
    }

    .pdp-modern .item-content {
        padding: 0.75rem 0 0;
    }

    .pdp-modern__hero {
        padding: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .pdp-modern .item-title {
        font-size: 1.75rem;
    }

    .pdp-modern .item-price {
        font-size: 1.45rem;
    }
}
