/* =========================================================
   PRIMEVITALS SHOP PAGE
========================================================= */

.pv-shop-section {
    padding: 85px 0 100px;
    background: #ffffff;
}


/* =========================================================
   SHOP HEADER
========================================================= */

.pv-shop-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.pv-shop-heading {
    max-width: 760px;
}

.pv-section-label {
    display: inline-block;
    margin-bottom: 10px;

    color: #0798b8;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.pv-shop-heading h2 {
    margin: 0 0 14px;

    color: #111d3c;

    font-size: 42px;
    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -1px;
}

.pv-shop-heading p {
    max-width: 680px;

    margin: 0;

    color: #7d8799;

    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   PRODUCT COUNT
========================================================= */

.pv-shop-count {
    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.pv-shop-count strong {
    color: #0798b8;

    font-size: 34px;
    line-height: 1;

    font-weight: 800;
}

.pv-shop-count span {
    margin-top: 6px;

    color: #8992a4;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.8px;
    text-transform: uppercase;
}


/* =========================================================
   TOOLBAR
========================================================= */

.pv-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 32px;
    padding: 18px 0;

    border-top: 1px solid #edf0f4;
    border-bottom: 1px solid #edf0f4;
}


/* =========================================================
   CATEGORY FILTERS
========================================================= */

.pv-shop-categories {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;
}

.pv-shop-categories .pv-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;

    padding: 0 14px;

    border: 1px solid #e1e6ed;
    border-radius: 7px;

    background: #ffffff;

    color: #68748a;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition: all 0.25s ease;
}

.pv-shop-categories .pv-filter-btn:hover {
    border-color: #0798b8;

    background: #f1fbfd;

    color: #0798b8;
}

.pv-shop-categories .pv-filter-btn.active {
    border-color: #0798b8;

    background: #0798b8;

    color: #ffffff;
}


/* =========================================================
   SORT
========================================================= */

.pv-shop-sort {
    display: flex;
    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}

.pv-shop-sort label {
    color: #8992a4;

    font-size: 11px;
    font-weight: 600;

    white-space: nowrap;
}

.pv-shop-sort select {
    width: 155px;
    height: 40px;

    padding: 0 12px;

    border: 1px solid #e1e6ed;
    border-radius: 7px;

    background: #ffffff;

    color: #25345d;

    font-size: 11px;
    font-weight: 600;

    outline: none;

    cursor: pointer;
}

.pv-shop-sort select:focus {
    border-color: #0798b8;
}


/* =========================================================
   PRODUCTS GRID
========================================================= */

.pv-shop-grid {
    display: grid !important;

    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;

    gap: 24px;

    width: 100%;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.pv-shop-grid .pv-product-card {
    position: relative;

    width: 100%;
    min-width: 0;
    height: 100%;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid #e7ebf1;
    border-radius: 12px;

    background: #ffffff;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.pv-shop-grid .pv-product-card:hover {
    transform: translateY(-5px);

    border-color: rgba(7, 152, 184, 0.25);

    box-shadow:
        0 18px 40px rgba(17, 29, 60, 0.10);
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.pv-shop-grid .pv-product-image {
    position: relative;

    width: 100%;
    height: 235px;

    overflow: hidden;

    background: #f3f7f9;
}

.pv-shop-grid .pv-product-image > a:first-child {
    display: block;

    width: 100%;
    height: 100%;
}

.pv-shop-grid .pv-product-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 18px;

    transition: transform 0.45s ease;
}

.pv-shop-grid .pv-product-card:hover
.pv-product-image img {
    transform: scale(1.04);
}


/* =========================================================
   BADGE
========================================================= */

.pv-shop-grid .pv-product-badge {
    position: absolute;

    top: 13px;
    left: 13px;

    z-index: 3;

    padding: 6px 9px;

    border-radius: 5px;

    background: #1e2d5b;
    color: #ffffff;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.pv-shop-grid .pv-badge-new {
    background: #0798b8;
}


/* =========================================================
   WISHLIST
========================================================= */

.pv-shop-grid .pv-product-wishlist {
    position: absolute;

    top: 12px;
    right: 12px;

    z-index: 3;

    width: 37px;
    height: 37px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.96);

    color: #647087;

    cursor: pointer;

    box-shadow: 0 5px 15px rgba(17, 29, 60, 0.08);

    transition: all 0.25s ease;
}

.pv-shop-grid .pv-product-wishlist:hover {
    background: #0798b8;
    color: #ffffff;
}


/* =========================================================
   VIEW PRODUCT
========================================================= */

.pv-shop-grid .pv-product-quick {
    position: absolute;

    left: 14px;
    right: 14px;
    bottom: 14px;

    z-index: 4;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 38px;

    border-radius: 6px;

    background: rgba(17, 29, 60, 0.94);

    color: #ffffff;

    font-size: 10px;
    font-weight: 700;

    text-decoration: none;

    opacity: 0;
    transform: translateY(8px);

    transition: all 0.25s ease;
}

.pv-shop-grid .pv-product-card:hover
.pv-product-quick {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   PRODUCT CONTENT
========================================================= */

.pv-shop-grid .pv-product-content {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 18px;
}

.pv-shop-grid .pv-product-category {
    display: block;

    margin-bottom: 7px;

    color: #0798b8;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.pv-shop-grid .pv-product-content h3 {
    margin: 0;

    min-height: 45px;

    font-size: 14px;
    line-height: 1.5;

    font-weight: 700;
}

.pv-shop-grid .pv-product-content h3 a {
    color: #1d2a4b;

    text-decoration: none;

    transition: color 0.2s ease;
}

.pv-shop-grid .pv-product-content h3 a:hover {
    color: #0798b8;
}


/* =========================================================
   PRICE
========================================================= */

.pv-shop-grid .pv-product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 12px;
    margin-bottom: 15px;
}

.pv-shop-grid .pv-product-price del {
    color: #9ba4b4;

    font-size: 10px;
}

.pv-shop-grid .pv-product-price strong {
    color: #111d3c;

    font-size: 16px;
    font-weight: 800;
}


/* =========================================================
   ADD TO CART
========================================================= */

.pv-shop-grid .pv-product-add {
    width: 100%;
    min-height: 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 12px;

    border: 1px solid #dfe5ec;
    border-radius: 7px;

    background: #ffffff;

    color: #25345d;

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;

    transition: all 0.25s ease;
}

.pv-shop-grid .pv-product-add i {
    font-size: 15px;
}

.pv-shop-grid .pv-product-add:hover {
    border-color: #0798b8;

    background: #0798b8;

    color: #ffffff;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.pv-shop-empty {
    grid-column: 1 / -1;

    padding: 75px 20px;

    text-align: center;

    border: 1px dashed #dce2ea;
    border-radius: 12px;

    background: #fafbfd;
}

.pv-shop-empty i {
    color: #0798b8;

    font-size: 42px;
}

.pv-shop-empty h3 {
    margin: 15px 0 7px;

    color: #111d3c;

    font-size: 20px;
}

.pv-shop-empty p {
    margin: 0;

    color: #8992a4;

    font-size: 13px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {

    .pv-shop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

}


@media (max-width: 991px) {

    .pv-shop-section {
        padding: 70px 0 80px;
    }

    .pv-shop-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 20px;
    }

    .pv-shop-count {
        align-items: flex-start;
    }

    .pv-shop-toolbar {
        align-items: flex-start;

        flex-direction: column;
    }

    .pv-shop-sort {
        width: 100%;

        justify-content: space-between;
    }

    .pv-shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}


@media (max-width: 575px) {

    .pv-shop-section {
        padding: 55px 0 65px;
    }

    .pv-shop-heading h2 {
        font-size: 30px;
    }

    .pv-shop-heading p {
        font-size: 13px;
    }

    .pv-shop-categories {
        width: 100%;

        flex-wrap: nowrap;

        overflow-x: auto;

        padding-bottom: 5px;

        scrollbar-width: none;
    }

    .pv-shop-categories::-webkit-scrollbar {
        display: none;
    }

    .pv-shop-categories .pv-filter-btn {
        flex: 0 0 auto;
    }

    .pv-shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

        gap: 12px;
    }

    .pv-shop-grid .pv-product-image {
        height: 165px;
    }

    .pv-shop-grid .pv-product-image img {
        padding: 12px;
    }

    .pv-shop-grid .pv-product-content {
        padding: 13px;
    }

    .pv-shop-grid .pv-product-content h3 {
        min-height: 42px;

        font-size: 12px;
    }

    .pv-shop-grid .pv-product-price strong {
        font-size: 13px;
    }

    .pv-shop-grid .pv-product-add {
        min-height: 37px;

        font-size: 9px;
    }

    .pv-shop-grid .pv-product-quick {
        display: none;
    }

}