/* =========================================================
 * NewEraOnline
 * CORE-07C
 * Shop / Product Archive
 * ========================================================= */


/* =========================================================
 * SHOP HERO
 * ========================================================= */

.newera-shop-hero {
    position: relative;
    overflow: hidden;

    padding:
        62px
        0;

    background:
        radial-gradient(
            circle at 83% 28%,
            rgba(216,184,110,.15),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #021D09 0%,
            #03270E 58%,
            #063314 100%
        );
}


.newera-shop-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    opacity: .08;

    background-image:
        linear-gradient(
            30deg,
            transparent 49.5%,
            rgba(216,184,110,.42) 50%,
            transparent 50.5%
        );

    background-size:
        54px
        94px;
}


.newera-shop-hero > .section-content {
    position: relative;

    z-index: 2;
}


.ne-shop-hero-row {
    align-items: center;
}


.ne-shop-eyebrow {
    margin:
        0
        0
        14px;

    color:
        var(--ne-gold);

    font-size:
        11px;
    font-weight:
        800;

    letter-spacing:
        .18em;
}


.ne-shop-hero-copy h1 {
    margin:
        0
        0
        17px;

    color: #fff;

    font-size:
        clamp(38px, 4.6vw, 58px);

    font-weight:
        800;

    letter-spacing:
        -.045em;

    line-height:
        1.05;
}


.ne-shop-lead {
    max-width:
        650px;

    margin: 0;

    color:
        rgba(255,255,255,.68);

    font-size:
        15px;

    line-height:
        1.9;
}


/* =========================================================
 * HERO BRAND BUTTONS
 * ========================================================= */

.ne-shop-brand-links > .col-inner {
    display:
        flex;

    flex-wrap:
        wrap;

    justify-content:
        flex-end;

    gap:
        9px;
}


.ne-shop-brand-links .button {
    min-height:
        43px;

    margin: 0;

    padding:
        0
        20px;

    font-size:
        13px;

    font-weight:
        700;
}


.ne-shop-brand-primary.button {
    background:
        var(--ne-gold) !important;

    border-color:
        var(--ne-gold) !important;

    color:
        var(--ne-green) !important;
}


.ne-shop-brand-button.button {
    background:
        transparent !important;

    border-color:
        rgba(216,184,110,.46) !important;

    color:
        #fff !important;
}


.ne-shop-brand-button.button:hover {
    border-color:
        var(--ne-gold) !important;

    background:
        rgba(216,184,110,.10) !important;

    color:
        var(--ne-gold) !important;
}


/* =========================================================
 * REMOVE DEFAULT TITLE GAP
 * ========================================================= */

.shop-page-title {
    border-bottom:
        1px
        solid
        var(--ne-border);

    background:
        #fff;
}


.shop-page-title .page-title-inner {
    min-height:
        64px;
}


/* custom Flatsome shop title block */

.shop-page-title .custom-page-title {
    width: 100%;
}


/* =========================================================
 * CATALOG AREA
 * ========================================================= */

.shop-container {
    padding-top:
        50px;

    padding-bottom:
        80px;
}


.category-page-row {
    max-width:
        1200px;
}


/* no sidebar = full product width */

.category-page-row > .col {
    width:
        100%;
    max-width:
        100%;
    flex-basis:
        100%;
}


/* =========================================================
 * TOOLBAR
 * ========================================================= */

.woocommerce-result-count {
    color:
        var(--ne-muted);

    font-size:
        13px;
}


.woocommerce-ordering select {
    min-width:
        180px;

    height:
        42px;

    padding:
        0
        38px
        0
        14px;

    border:
        1px
        solid
        var(--ne-border);

    border-radius:
        999px;

    background-color:
        #fff;

    color:
        var(--ne-green-title);

    font-size:
        13px;
}


/* =========================================================
 * PRODUCT GRID
 * ========================================================= */

.shop-container .products {
    margin-top:
        18px;
}


.shop-container .product-small {
    padding:
        0
        9px
        22px;
}


.shop-container .product-small .col-inner {
    overflow:
        hidden;

    height:
        100%;

    border:
        1px
        solid
        var(--ne-border);

    border-radius:
        18px;

    background:
        #fff;

    box-shadow:
        0
        7px
        26px
        rgba(3,39,14,.035);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


.shop-container .product-small .col-inner:hover {
    transform:
        translateY(-4px);

    border-color:
        var(--ne-gold-light);

    box-shadow:
        0
        18px
        45px
        rgba(3,39,14,.09);
}


.shop-container .product-small .box-image {
    background:
        var(--ne-bg-soft);
}


.shop-container .product-small .box-text {
    padding:
        17px
        17px
        19px;
}


/* category */

.shop-container .product-small .category {
    margin-bottom:
        5px;

    color:
        #99805A;

    font-size:
        10px;

    font-weight:
        700;

    letter-spacing:
        .08em;

    text-transform:
        uppercase;
}


/* title */

.shop-container .product-small .product-title a {
    color:
        var(--ne-green-title) !important;

    font-size:
        15px;

    font-weight:
        700;

    line-height:
        1.55;
}


/* price */

.shop-container .product-small .price-wrapper {
    margin-top:
        8px;
}


.shop-container .product-small .price {
    color:
        var(--ne-green);

    font-size:
        17px;

    font-weight:
        800;
}


/* add to cart */

.shop-container .product-small .add-to-cart-button {
    margin-top:
        13px;
}


.shop-container .product-small .add-to-cart-button .button {
    width:
        100%;

    min-height:
        40px;

    margin:
        0;

    background:
        var(--ne-green) !important;

    border-color:
        var(--ne-green) !important;

    color:
        #fff !important;

    font-size:
        12px;
}


.shop-container .product-small .add-to-cart-button .button:hover {
    background:
        var(--ne-gold) !important;

    border-color:
        var(--ne-gold) !important;

    color:
        var(--ne-green) !important;
}


/* =========================================================
 * EMPTY SHOP
 * ========================================================= */

.ne-shop-empty {
    max-width:
        720px;

    margin:
        35px
        auto
        70px;

    padding:
        60px
        35px;

    border:
        1px
        solid
        var(--ne-border);

    border-radius:
        22px;

    background:
        var(--ne-bg-soft);

    text-align:
        center;
}


.ne-shop-empty-mark {
    display:
        inline-flex;

    align-items:
        center;
    justify-content:
        center;

    width:
        54px;
    height:
        54px;

    margin-bottom:
        22px;

    border:
        1px
        solid
        var(--ne-gold);

    border-radius:
        50%;

    color:
        var(--ne-gold-dark);

    font-size:
        18px;

    font-weight:
        800;
}


.ne-shop-empty h2 {
    margin:
        0
        0
        12px;

    color:
        var(--ne-green-title);

    font-size:
        27px;
}


.ne-shop-empty p {
    max-width:
        520px;

    margin:
        0
        auto;

    color:
        var(--ne-muted);

    font-size:
        14px;

    line-height:
        1.85;
}


/* =========================================================
 * PRODUCT CATEGORY ARCHIVES
 * ========================================================= */

.tax-product_cat .shop-page-title {
    background:
        var(--ne-bg-soft);
}


.tax-product_cat .shop-page-title .page-title-inner {
    min-height:
        120px;
}


.tax-product_cat .shop-page-title .page-title {
    color:
        var(--ne-green-title);
}


/* =========================================================
 * TABLET
 * ========================================================= */

@media (max-width: 849px) {

    .newera-shop-hero {
        padding:
            48px
            0;
    }


    .ne-shop-brand-links > .col-inner {
        justify-content:
            flex-start;

        margin-top:
            25px;
    }


    .shop-container {
        padding-top:
            38px;
    }

}


/* =========================================================
 * MOBILE
 * ========================================================= */

@media (max-width: 549px) {

    .newera-shop-hero {
        padding:
            42px
            0;
    }


    .ne-shop-hero-copy h1 {
        font-size:
            37px;
    }


    .ne-shop-lead {
        font-size:
            14px;
    }


    .ne-shop-brand-links .button {
        padding:
            0
            15px;

        font-size:
            12px;
    }


    .shop-container {
        padding-top:
            28px;

        padding-bottom:
            55px;
    }


    .shop-container .product-small {
        padding:
            0
            5px
            14px;
    }


    .shop-container .product-small .col-inner {
        border-radius:
            14px;
    }


    .shop-container .product-small .box-text {
        padding:
            13px
            12px
            15px;
    }


    .shop-container .product-small .product-title a {
        font-size:
            14px;
    }


    .shop-container .product-small .price {
        font-size:
            16px;
    }


    .woocommerce-ordering select {
        min-width:
            155px;

        font-size:
            12px;
    }


    .ne-shop-empty {
        margin:
            20px
            0
            50px;

        padding:
            45px
            22px;
    }

}


/* NEWERA FIX-UI-003 SHOP HERO BUTTON ALIGNMENT */

body.post-type-archive-product .section .button,
body.tax-product_cat .section .button {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    vertical-align:middle !important;
    line-height:1.4 !important;
    min-height:44px;
    padding-top:0 !important;
    padding-bottom:0 !important;
    text-align:center !important;
    box-sizing:border-box;
}

body.post-type-archive-product .section .button > span,
body.tax-product_cat .section .button > span {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    line-height:1.4 !important;
    margin:0 !important;
    padding:0 !important;
}


/* NEWERA FIX-UI-004 SHOP DETAILS */

/* Remove overlapping badge backgrounds */
.product-small .badge-container,
.product-small .badge {
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
}

.product-small .badge-inner.on-sale,
.product-small .badge-inner.onsale,
.product-small .badge .onsale {
    background:#03270E!important;
    color:#D8B86E!important;
    border:0!important;
    border-radius:50%!important;
    box-shadow:none!important;
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    font-size:12px;
    line-height:1!important;
}

.product-small .badge-container {
    top:10px!important;
    left:10px!important;
    margin:0!important;
}

/* Product grid spacing */
body.post-type-archive-product .shop-container,
body.tax-product_cat .shop-container {
    padding-top:28px!important;
    padding-bottom:32px!important;
}

body.post-type-archive-product .category-page-row,
body.tax-product_cat .category-page-row {
    padding-top:0!important;
}

/* Mobile catalog */
@media(max-width:767px){

    body.post-type-archive-product .woocommerce-ordering,
    body.tax-product_cat .woocommerce-ordering {
        display:none!important;
    }

    body.post-type-archive-product .shop-container,
    body.tax-product_cat .shop-container {
        padding-top:16px!important;
        padding-bottom:20px!important;
    }

    .shop-page-title .page-title-inner {
        min-height:0!important;
        padding-top:12px!important;
        padding-bottom:12px!important;
    }

    .shop-page-title .woocommerce-breadcrumb {
        margin-bottom:0!important;
    }

    .product-small .badge-inner.on-sale,
    .product-small .badge-inner.onsale,
    .product-small .badge .onsale {
        width:34px;
        height:34px;
        font-size:11px;
    }

    .product-small .badge-container {
        top:8px!important;
        left:8px!important;
    }
}

