/* =========================================================
   PRIMEVITALS PRODUCT DETAIL
========================================================= */

.pv-product-detail {
    padding: 35px 0 90px;
    background: #ffffff;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.pv-product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 30px;

    color: #8992a4;

    font-size: 11px;
}

.pv-product-breadcrumb a {
    color: #657188;

    text-decoration: none;

    font-weight: 600;
}

.pv-product-breadcrumb a:hover {
    color: #0798b8;
}

.pv-product-breadcrumb i {
    color: #b4bcc9;
    font-size: 9px;
}

.pv-product-breadcrumb span {
    color: #0798b8;
}


/* =========================================================
   MAIN PRODUCT AREA
========================================================= */

.pv-product-main {
    display: grid;

    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);

    gap: 70px;

    align-items: center;
}


/* =========================================================
   PRODUCT GALLERY
========================================================= */

.pv-product-gallery {
    min-width: 0;
}

.pv-product-main-image {
    position: relative;

    height: 560px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border: 1px solid #e8edf2;
    border-radius: 18px;

    background: #f5f8fa;
}

.pv-product-main-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 40px;

    transition: transform 0.4s ease;
}

.pv-product-main-image:hover img {
    transform: scale(1.025);
}


/* Badge */

.pv-product-detail-badge {
    position: absolute;

    top: 20px;
    left: 20px;

    z-index: 5;

    padding: 8px 13px;

    border-radius: 6px;

    background: #1e2d5b;
    color: #ffffff;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.pv-detail-badge-new {
    background: #0798b8;
}


/* Wishlist */

.pv-detail-wishlist {
    position: absolute;

    top: 18px;
    right: 18px;

    z-index: 5;

    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e1e6ed;
    border-radius: 50%;

    background: #ffffff;

    color: #66738a;

    cursor: pointer;

    transition: all 0.25s ease;
}

.pv-detail-wishlist:hover {
    background: #0798b8;
    border-color: #0798b8;
    color: #ffffff;
}


/* =========================================================
   PRODUCT INFO
========================================================= */

.pv-product-info {
    max-width: 590px;
}

.pv-detail-category {
    display: inline-block;

    margin-bottom: 12px;

    color: #0798b8;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.pv-product-info h1 {
    margin: 0;

    color: #111d3c;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.12;

    font-weight: 800;

    letter-spacing: -1.2px;
}


/* =========================================================
   META
========================================================= */

.pv-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 13px;

    margin-top: 18px;
}

.pv-detail-stars {
    display: flex;
    align-items: center;

    gap: 3px;

    color: #0798b8;

    font-size: 11px;
}

.pv-detail-stars span {
    margin-left: 7px;

    color: #7d8799;

    font-size: 10px;
    font-weight: 600;
}

.pv-meta-divider {
    width: 1px;
    height: 16px;

    background: #dfe4eb;
}

.pv-stock-status {
    display: inline-flex;
    align-items: center;

    gap: 5px;

    color: #198754;

    font-size: 10px;
    font-weight: 700;
}

.pv-stock-status i {
    font-size: 12px;
}


/* =========================================================
   PRICE
========================================================= */

.pv-detail-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 25px;
    padding-bottom: 22px;

    border-bottom: 1px solid #edf0f4;
}

.pv-detail-price del {
    color: #9ba4b4;

    font-size: 14px;
}

.pv-detail-price strong {
    color: #111d3c;

    font-size: 28px;
    font-weight: 800;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.pv-detail-description {
    margin-top: 22px;
}

.pv-detail-description p {
    margin: 0 0 12px;

    color: #6f7a8e;

    font-size: 14px;

    line-height: 1.8;
}

.pv-detail-description strong {
    color: #25345d;
}


/* =========================================================
   ACTIONS
========================================================= */

.pv-detail-actions {
    display: grid;

    grid-template-columns: 105px 1fr 1fr;

    gap: 10px;

    margin-top: 27px;
}


/* Quantity */

.pv-quantity {
    height: 48px;

    display: grid;

    grid-template-columns: 30px 1fr 30px;

    align-items: center;

    border: 1px solid #dfe5ec;
    border-radius: 7px;

    background: #ffffff;
}

.pv-quantity button {
    height: 100%;

    padding: 0;

    border: 0;

    background: transparent;

    color: #66738a;

    cursor: pointer;
}

.pv-quantity input {
    width: 100%;

    height: 100%;

    padding: 0;

    border: 0;

    outline: none;

    background: transparent;

    color: #25345d;

    text-align: center;

    font-size: 12px;
    font-weight: 700;
}

.pv-quantity input::-webkit-inner-spin-button,
.pv-quantity input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* Add cart */

.pv-detail-add-cart {
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    border: 1px solid #0798b8;
    border-radius: 7px;

    background: #0798b8;
    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;

    transition: all 0.25s ease;
}

.pv-detail-add-cart:hover {
    background: #067f9b;

    border-color: #067f9b;

    transform: translateY(-2px);
}


/* Quote */

.pv-detail-quote {
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    border: 1px solid #dfe5ec;
    border-radius: 7px;

    background: #ffffff;
    color: #25345d;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

    transition: all 0.25s ease;
}

.pv-detail-quote:hover {
    border-color: #25345d;

    background: #25345d;

    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================================================
   TRUST
========================================================= */

.pv-detail-trust {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    margin-top: 28px;
    padding-top: 25px;

    border-top: 1px solid #edf0f4;
}

.pv-detail-trust > div {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #657188;

    font-size: 9px;
    font-weight: 700;
}

.pv-trust-icon {
    width: 31px;
    height: 31px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: #eefafd;

    color: #0798b8;

    font-size: 14px;
}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.pv-product-information {
    padding: 90px 0;

    background: #f6f9fb;
}

.pv-product-info-grid {
    display: grid;

    grid-template-columns: 1fr 0.8fr;

    gap: 80px;

    align-items: center;
}

.pv-product-description-block {
    max-width: 650px;
}

.pv-product-description-block h2 {
    margin: 0 0 17px;

    color: #111d3c;

    font-size: 35px;
    line-height: 1.2;

    font-weight: 800;
}

.pv-product-description-block p {
    margin: 0 0 13px;

    color: #758095;

    font-size: 14px;
    line-height: 1.8;
}


/* Specification card */

.pv-product-spec-card {
    padding: 10px 25px;

    border: 1px solid #e3e9ef;
    border-radius: 12px;

    background: #ffffff;

    box-shadow: 0 15px 35px rgba(17, 29, 60, 0.05);
}

.pv-spec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 17px 0;

    border-bottom: 1px solid #edf0f4;
}

.pv-spec-row:last-child {
    border-bottom: 0;
}

.pv-spec-row span {
    color: #8a94a8;

    font-size: 11px;
}

.pv-spec-row strong {
    max-width: 55%;

    color: #25345d;

    font-size: 11px;

    text-align: right;
}

.pv-spec-row .pv-available {
    color: #198754;
}


/* =========================================================
   RELATED PRODUCTS
========================================================= */

.pv-related-products {
    padding: 90px 0;

    background: #ffffff;
}

.pv-related-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 35px;
}

.pv-related-heading h2 {
    margin: 0;

    color: #111d3c;

    font-size: 34px;
    font-weight: 800;
}

.pv-related-view-all {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: #0798b8;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;
}

.pv-related-view-all:hover {
    color: #067f9b;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .pv-product-main {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .pv-product-info {
        max-width: 100%;
    }

    .pv-product-main-image {
        height: 500px;
    }

    .pv-product-info-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

}


@media (max-width: 767px) {

    .pv-product-detail {
        padding: 25px 0 65px;
    }

    .pv-product-main-image {
        height: 380px;

        border-radius: 12px;
    }

    .pv-product-main-image img {
        padding: 25px;
    }

    .pv-product-info h1 {
        font-size: 31px;
    }

    .pv-detail-price strong {
        font-size: 24px;
    }

    .pv-detail-actions {
        grid-template-columns: 1fr 1fr;
    }

    .pv-quantity {
        grid-column: 1 / -1;
    }

    .pv-detail-trust {
        grid-template-columns: 1fr;
    }

    .pv-product-information,
    .pv-related-products {
        padding: 65px 0;
    }

    .pv-product-description-block h2 {
        font-size: 29px;
    }

    .pv-related-heading {
        align-items: flex-start;

        flex-direction: column;
    }

    .pv-related-heading h2 {
        font-size: 29px;
    }

}


@media (max-width: 575px) {

    .pv-product-main-image {
        height: 320px;
    }

    .pv-product-breadcrumb {
        font-size: 10px;
    }

    .pv-detail-actions {
        grid-template-columns: 1fr;
    }

    .pv-quantity {
        grid-column: auto;
    }

    .pv-detail-add-cart,
    .pv-detail-quote {
        width: 100%;
    }

    .pv-product-spec-card {
        padding: 8px 18px;
    }

    .pv-spec-row {
        align-items: flex-start;

        flex-direction: column;

        gap: 5px;
    }

    .pv-spec-row strong {
        max-width: 100%;

        text-align: left;
    }

}