/* ========================================================================== */
/* Extra Features - Frontend Custom Styles                                     */
/* ========================================================================== */

/* Header and navigation */
.header.header--1,
.header.header--mobile {
    position: sticky !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.header .header__top {
    padding: 12px 0;
}

.header__center {
    border-radius: 50px;
    overflow: hidden;
}

.header.header--product.header--sticky .navigation {
    background: #ffffff !important;
}

.navigation {
    background-color: #3c82b7 !important;
}

.navigation .navigation__left {
    display: none;
}

.navigation__content,
.navigation--list .navigation__content {
    max-width: 100%;
}

.navigation--list .navigation__item i {
    font-size: 16px;
}

.navigation__extra .ps-dropdown .ps-dropdown-menu a span {
    color: #000;
}

.menu--mobile .mega-menu {
    padding-left: 0;
}

/* Search */
.ps-form--quick-search .form-group--icon {
    display: none !important;
}

.ps-form--quick-search .form-control {
    height: 35px;
}

/* Menus and widgets */
.sub-menu>li>a img {
    width: 30px;
    height: auto;
    padding-right: 10px;
}

.widget:last-child {
    width: 120px;
}

/* Homepage blocks */
#homepage-1 .ps-deal-of-day {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 1.7rem !important
}

#homepage-1 .ps-site-features {
    padding-bottom: 0 !important;
}

.ps-home-banner .ps-carousel--nav-inside .owl-nav button.owl-next,
.ps-home-banner .ps-carousel--nav-inside .owl-nav button.owl-prev {
    background-color: transparent;
}

/* Product UI */
.ps-product--header-sticky .ps-product__title,
.header-sticky .ps-tab-list li.active a {
    color: #fff;
}

.ps-product__progress-bar.ps-progress,
.ps-product__countdown figure:last-child {
    display: none !important;
}

.ps-product-list.mb-60 {
    margin-bottom: 0;
}

.rating_wrap {
    padding: 5px 0;
}

/* Product detail tables */
.tp-product-details-additional-info table {
    border: 1px solid #e0e2e3;
    width: 100%;
}

.product-specification-table {
    border: 1px solid #e0e2e3;
}

.product-specification-table .row {
    --bs-gutter-x: 0;
}

.product-specification-table .spec-item {
    font-weight: 600;
    display: flex;
    align-items: center;
    background: #e0e2e3;
    border: 1px solid #e0e2e3;
}

.product-specification-table .spec-label,
.product-specification-table .spec-value {
    width: 100%;
}

.product-specification-table .spec-label {
    max-width: 200px;
    padding: 5px 10px;
}

.product-specification-table .spec-value {
    background: #ffffff !important;
    padding: 5px;
}

/* Lab test report badges and buttons */
.pdf-openner-btn {
    color: #000 !important;
    background: #fff !important;
}

.pdf-openner-btn:hover {
    color: #fff !important;
    background: #000 !important;
}

.ps-badge-tested {
    display: inline-block;
    height: auto;
    max-width: 80px;
    width: auto;
    margin-left: 10px;
}

.lab-test-report-batch {
    background: #fff !important;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: none;
    left: 10px;
    line-height: 0;
    padding: 3px 6px;
    position: absolute;
    top: 0px;
    z-index: 8;
    margin-left: -10px !important;
}

.lab-test-report-batch .lab-tested {
    display: block;
    height: auto;
    max-width: 68px;
    width: 100%;
}

.extra-features-lab-test-report-listing {
    line-height: 1.2;
}

.ps-product .ps-product__thumbnail {
    position: relative;
}

.extra-features-lab-test-report-badge-link {
    display: inline-block;
    border: 1px solid #1f7a3d;
    border-radius: 999px;
    color: #1f7a3d !important;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    text-decoration: none !important;
}

.extra-features-lab-test-report-badge-link:hover {
    background: #1f7a3d;
    color: #fff !important;
}

.extra-features-lab-test-report-detail-link {
    color: #000 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
}

/* Store list shortcode tables */
.extra-features-store-list-block {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 14px;
    background: #fff;
}

.extra-features-store-list-table {
    margin-bottom: 0;
}

.extra-features-store-list-table th,
.extra-features-store-list-table td {
    vertical-align: middle;
    white-space: nowrap;
    font-size: 13px;
}

/* Order and utility */
.customer-order-detail .entered.loading {
    width: 100px;
    height: 100px;
}

#back2top {
    background-color: #ffffff59;
    display: none;
}

#back2top i {
    color: #000046 !important;
}

.ps-page--404 img {
    height: 120px;
    margin-bottom: 30px !important;
}

/* Footer */
.footer-logo {
    width: 150px !important;
}

.ps-footer {
    border-top: 1px solid #e1e1e1;
}

.footer-payments img {
    max-height: 15px !important;
}

.ps-block--countdown-deal figure {
    font-size: 12px;
    padding: 7px 15px;
}

/* ========================================================================== */
/* Responsive                                                                  */
/* ========================================================================== */

/* Tablet and below */
@media (max-width: 992px) {
    .ps-carousel--nav {
        padding-bottom: 0;
    }

    .ps-section__links {
        display: none !important;
    }

    .ps-product-list .ps-section__header {
        background: var(--color-1st);
    }

    .ps-product-list .ps-section__header h3 {
        padding-bottom: 0;
        color: #fff;
    }

    .ps-block--countdown-deal .ps-block__left h3 {
        margin-right: 10px;
    }

    .header--mobile .ps-search--mobile {
        display: block;
        max-width: 100%;
        background-color: #3c82b7 !important;
    }

    .header--mobile .ps-search--mobile .form-group--nest {
        border-radius: 50px;
        overflow: hidden;
    }

    .header--mobile .ps-search--mobile .ps-form--search-mobile button {
        padding-top: 5px;
    }

    input.form-control.input-search-product {
        height: 30px;
    }

    .ps-form--search-mobile button {
        height: 30px;
    }

    .navigation--list {
        padding: 10px 0;
    }
}

/* Mobile large */
@media screen and (max-width: 768px) {
    footer.ps-footer {
        display: none;
    }

    .ps-newsletter {
        margin-bottom: 40px;
    }

    .ps-home-ads .ps-container .col-lg-4:nth-child(2),
    .ps-home-ads .ps-container .col-lg-4:last-child {
        display: none !important;
    }
}

@media screen and (max-width: 480px) {
    .mega-menu .mega-menu-wrapper {
        padding: 0 0 0 40px;
    }

    .widget_content {
        max-width: 150px;
        word-wrap: break-word;
    }

    .ps-block--site-features .ps-block__item {
        max-width: 50%;
    }

    .ps-block--site-features .ps-block__left i {
        font-size: 20px;
    }

    .ps-block--site-features .ps-block__right h4 {
        font-size: 13px;
    }

    .ps-site-features {
        display: none !important;
    }

    .ps-block--countdown-deal .ps-block__left {
        margin-bottom: 15px;
    }

    .ps-container .ps-collection {
        margin-bottom: 0;
    }

    .lab-test-report-batch .lab-tested {
        max-width: 45px;
    }

    .ps-product .ps-product__badge {
        font-size: 10px;
        line-height: 11px;
    }
}

/* Desktop wide */
@media screen and (min-width: 1440px) {
    #homepage-1 .ps-home-banner .ps-banner {
        min-height: 525px;
    }
}

@media screen and (max-width: 1439px) {
    #homepage-1 .ps-home-banner .ps-banner {
        min-height: 525px;
    }
}

@media screen and (min-width: 1080px) {
    #homepage-1 .ps-home-banner .ps-banner {
        min-height: 350px;
    }
}

@media screen and (min-width: 1024px) {
    #homepage-1 .ps-home-banner .ps-banner {
        min-height: 440px;
    }
}

/* Mobile banner scaling */
@media screen and (max-width: 992px) {
    #homepage-1 .ps-home-banner .ps-banner {
        min-height: 220px;
    }
}

@media screen and (max-width: 768px) {
    #homepage-1 .ps-home-banner .ps-banner {
        min-height: 220px;
    }
}

@media screen and (max-width: 600px) {
    #homepage-1 .ps-home-banner .ps-banner {
        min-height: 160px;
    }

    .ps-block--site-features .ps-block__left i {
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    #homepage-1 .ps-home-banner .ps-banner {
        min-height: 120px;
    }
}

@media screen and (max-width: 300px) {
    #homepage-1 .ps-home-banner .ps-banner {
        min-height: 90px;
    }
}