/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Child theme for Divi
 Author:         Glenn
 Template:       Divi
 Version:        1.0.0
*/

/* Paste your 1,000+ lines of custom CSS below */

/* ==========================================================
   NETW GLOBAL & SHOP OVERRIDES
========================================================== */

.et-cart-info {
    display: none !important;
}

/* ===== SHOP + PRODUCT BUTTON SYSTEM ===== */
.woocommerce ul.products li.product .button,
#elex_prod_btn,
.netw-reserve-btn,
.netw-read-more-btn,
.single_add_to_cart_button {
    background: #d71920 !important;
    color: #ffffff !important;
    border: 2px solid #d71920 !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
    cursor: pointer;
}

/* SHOP BUTTON */
.woocommerce ul.products li.product .button,
.netw-read-more-btn {
    display: block !important;
    width: 100%;
    padding: 12px 18px !important;
    margin-top: 12px !important;
}

/* PRODUCT PAGE RESERVE NOW - FIXED CENTERING */
.single-product #elex_prod_btn,
.single-product .netw-reserve-btn,
.single-product .single_add_to_cart_button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    height: 52px; /* forces perfect vertical centering */
    padding: 0 30px !important; /* remove vertical padding */
    margin-top: 18px !important;
    margin-bottom: 18px !important;
    background: #d71920 !important;
    color: #ffffff !important;
    border: 2px solid #d71920 !important;
    border-radius: 8px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    line-height: 1 !important; /* key fix */
    text-align: center !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.16);
    transition: all 0.2s ease;
}

/* HOVER */
.woocommerce ul.products li.product .button:hover,
#elex_prod_btn:hover,
.netw-reserve-btn:hover,
.netw-read-more-btn:hover,
.single_add_to_cart_button:hover {
    background: #b7151b !important;
    border-color: #b7151b !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* MOBILE PRODUCT BUTTON */
@media (max-width: 768px) {
    #elex_prod_btn,
    .single_add_to_cart_button {
        width: 100%;
    }
}

/* PRODUCT CARD */
.woocommerce ul.products li.product {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 10px;
    background: #fff;
    transition: all 0.25s ease;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.woocommerce ul.products li.product img {
    border-radius: 8px;
    margin-bottom: 10px;
}

.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.35;
}

/* PRICE AREA */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    display: block;
    background: #f8f8f8;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 800;
    color: #111;
    margin: 6px 0 10px !important;
    line-height: 1.25;
}

/* regular/original price */
.woocommerce div.product .price del {
    text-decoration: none;
    position: relative;
}

.woocommerce div.product .price del::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: #b31319;
    transform: translateY(-50%);
}

/* sale price */
.woocommerce .price ins {
    color: #b31319 !important;
    text-decoration: none !important;
    font-size: 28px;
    font-weight: 900;
    background: #fff1f1;
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-block;
    box-shadow: inset 0 0 0 1px rgba(179, 19, 25, 0.10);
}

/* ensure amount inside ins stays bold/red */
.woocommerce .price ins .amount,
.woocommerce .price ins bdi {
    color: #b31319 !important;
    font-weight: 900;
}

/* regular amount inside del */
.woocommerce .price del .amount,
.woocommerce .price del bdi {
    color: #777 !important;
}

/* if price is not on sale */
.woocommerce ul.products li.product .price > .amount,
.woocommerce div.product p.price > .amount,
.woocommerce div.product span.price > .amount {
    color: #111;
    font-weight: 800;
}

/* tighten price spacing in loop cards */
.woocommerce ul.products li.product .price {
    margin-top: 4px !important;
    margin-bottom: 8px !important;
}

/* STOCK BADGE BASE */
.netw-stock-status,
.woocommerce ul.products li.product .stock {
    display: inline-block;
    margin-top: 4px;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
}

.woocommerce ul.products li.product .stock,
.netw-stock-status {
    display: inline-block;
    clear: both;
}

/* AVAILABLE NOW */
.netw-stock-instock,
.woocommerce .stock.in-stock {
    background: #e6f4ea;
    color: #1e7e34;
    border-color: #c6e6cf;
}

/* SPECIAL ORDER */
.netw-stock-specialorder,
.woocommerce .stock.specialorder,
.woocommerce .stock.special-order {
    background: #fff3e0;
    color: #b45309;
    border-color: #ffe0b2;
}

/* SOLD */
.netw-stock-outofstock,
.woocommerce .stock.out-of-stock {
    background: #fdecea;
    color: #b91c1c;
    border-color: #f5c2c0;
}

/* ==========================================================
   CLEAN CATEGORY NAV
========================================================== */

.netw-cat-accordion {
    width: 100%;
}

.netw-cat-item {
    display: block;
    border: none;
    background: none;
    padding: 4px 0;
    margin-bottom: 6px;
    position: relative;
}

.netw-cat-link {
    display: inline-block;
    text-decoration: none;
    color: #222;
    line-height: 1.3;
    transition: all 0.2s ease;
}

.netw-cat-link:hover {
    color: #d77d27;
}

.netw-cat-type {
    display: none;
}

/* HIERARCHY */
.netw-cat-item.level-0 .netw-cat-link {
    font-size: 18px;
    font-weight: 700;
}

.netw-cat-item.level-1 .netw-cat-link {
    font-size: 16px;
    font-weight: 700;
}

.netw-cat-item.level-2 .netw-cat-link {
    font-size: 15px;
    font-weight: 500;
    color: #555;
}

/* INDENTATION */
.netw-cat-item.level-1 {
    margin-left: 12px;
    margin-top: 10px;
}

.netw-cat-item.level-2 {
    margin-left: 24px;
}

/* ACTIVE / HOVER FEEL */
.netw-cat-item.level-2 .netw-cat-link:hover {
    color: #000;
}

/* SPECIALS ITEM */
.netw-cat-item.specials-item {
    background: linear-gradient(135deg, #d71920, #b7151b);
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: specialsPulse 2.5s infinite;
    padding: 0;
    position: relative;
}

.netw-cat-item.specials-item .netw-cat-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    color: #ffffff !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 14px 16px;
    text-align: center;
}

/* flame icon positioned separately so it cannot wrap */
.netw-cat-item.specials-item .netw-cat-link::before {
    content: "🔥";
    position: static;
    transform: none;
    font-size: 16px;
}

/* subtle shine sweep */
.netw-cat-item.specials-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 42%;
    height: 100%;
    background: rgba(255,255,255,0.16);
    transform: skewX(-20deg);
    z-index: 1;
    pointer-events: none;
}

.netw-cat-item.specials-item:hover::before {
    left: 130%;
    transition: left 0.6s ease;
}

.netw-cat-item.specials-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    animation: none;
}

.netw-cat-item.specials-item:hover .netw-cat-link {
    color: #ffffff !important;
}

/* pulse */
@keyframes specialsPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(215, 25, 32, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(215, 25, 32, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(215, 25, 32, 0);
    }
}

/* SINGLE PRODUCT WIDTH */
.single-product .product.type-product {
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
}

/* SINGLE PRODUCT SIDEBAR */
.single-product .netw-product-side-menu {
    width: 250px;
    flex: 0 0 250px;
}

/* mobile tune-up */
@media (max-width: 768px) {
    .netw-cat-item.specials-item .netw-cat-link {
        padding: 13px 80px 13px 38px;
        font-size: 17px;
    }

    .netw-cat-item.specials-item::after {
        right: 8px;
        font-size: 8px;
        padding: 4px 6px;
    }

    .single-product .netw-product-side-menu {
        width: 100%;
        flex: 0 0 100%;
    }
}

/* SHOP BUTTON TEXT + ARROW FIX */
.woocommerce ul.products li.product .button,
.netw-read-more-btn {
    position: relative;
    display: block !important;
    width: 100%;
    text-align: center !important;
    padding: 12px 42px 12px 18px !important; /* extra room on right for arrow */
    line-height: 1.2 !important;
}

/* POSITION ARROW SEPARATELY */
.woocommerce ul.products li.product .button::after,
.netw-read-more-btn::after {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1 !important;
    margin: 0 !important;
}


/* ==========================================================
   POPUP MAKER / INQUIRY FORM OVERRIDES
========================================================== */

.pum-container {
    border-radius: 10px !important;
    padding: 22px !important;
    max-width: 520px !important;
}

.netw-popup-title {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
}

.netw-popup-sub {
    text-align: center;
    font-size: 13px;
    color: #777;
    margin-bottom: 12px;
}

.netw-popup-trailer input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 9px 10px;
    font-weight: 600;
    margin-bottom: 14px;
    background: #f8f8f8;
    font-size: 14px;
}

.pum-container input[type="text"],
.pum-container input[type="email"],
.pum-container input[type="tel"],
.pum-container textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 9px 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.pum-container textarea {
    min-height: 90px;
    max-height: 140px;
}

.pum-container input[type="submit"] {
    width: 100%;
    background: #d71920 !important;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 14px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pum-container input[type="submit"]:hover {
    background: #b7151b !important;
}

.pum-close {
    background: none !important;
    color: #999 !important;
    font-size: 14px !important;
    font-weight: 600;
    right: 12px !important;
    top: 12px !important;
}

.wpcf7-form #your-trailer {
    display: none;
}


/* ==========================================================
   RELATED PRODUCTS - CARD ALIGNMENT
========================================================== */

.related ul.products {
    display: flex;
    flex-wrap: wrap;
}

.related ul.products li.product {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 14px !important;
}

.related ul.products li.product > * {
    width: 100%;
}

.related ul.products li.product h2,
.related ul.products li.product .woocommerce-loop-product__title {
    font-size: 15px !important;
    line-height: 1.3 !important;
    font-weight: 600;
    margin-bottom: 8px !important;
}

.related ul.products li.product .price {
    min-height: 52px; /* keeps rows aligned */
}

.related ul.products li.product .stock {
    margin-bottom: 10px !important;
}

.related ul.products li.product .button {
    margin-top: auto !important;
}


/* ==========================================================
   NETW BRAND & PRODUCT CATEGORY HERO
========================================================== */

.netw-brand-hero {
    position: relative;
    max-width: 1200px;
    height: 500px;
    margin: 40px auto 0;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
}

/* GRADIENT OVERLAY OVER BACKGROUND IMAGE */
.netw-brand-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(0,0,0,.85) 0%,
        rgba(0,0,0,.68) 32%,
        rgba(0,0,0,.25) 60%,
        rgba(0,0,0,0) 80%);
    z-index: 1;
}

.netw-brand-hero > * {
    position: relative;
    z-index: 2;
}

/* BRAND LOGO (DEFAULT) */
.netw-brand-logo {
    max-height: 170px;
    width: auto;
    margin: 0 0 20px;
    object-fit: contain;
}

/* FORCE CATEGORY PHOTO TO FILL HERO BACKGROUND */
.tax-product_cat .netw-brand-hero img.netw-brand-logo,
.tax-product_cat .netw-brand-hero > img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
    z-index: 0 !important;
}

/* HERO HEADLINE (H1) */
.netw-brand-hero h1 {
    color: #fff !important;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.05;
    margin: 0 0 18px;
    text-shadow: 0 3px 12px rgba(0,0,0,.75);
}

/* HERO INTRO & DESCRIPTION TEXT */
.netw-brand-description,
.netw-brand-description p {
    color: #fff !important;
    font-size: 22px;
    line-height: 1.6;
    margin: 0;
    max-width: 520px;
    text-shadow: 0 2px 10px rgba(0,0,0,.75);
}

.netw-brand-products {
    max-width: 1200px;
    margin: 10px auto 30px;
    padding: 0;
    text-align: center;
}

.netw-brand-products-title {
    margin: 0 0 12px;
    font-size: 40px;
    font-weight: 800;
    color: #222;
}

.netw-brand-products-intro {
    max-width: 760px;
    margin: 0 auto 30px;
    font-size: 20px;
    line-height: 1.7;
    color: #666;
}

.netw-brand-breadcrumb {
    width: 100%;
    margin: 0 0 25px;
    text-align: left;
}

.netw-brand-breadcrumb .woocommerce-breadcrumb {
    margin: 0;
    text-align: left;
}

.netw-brand-breadcrumb .woocommerce-breadcrumb a {
    color: #666;
    text-decoration: none;
}

.netw-brand-breadcrumb .woocommerce-breadcrumb a:hover {
    color: #d71920;
}

/* HIDE DEFAULT HEADERS FOR BOTH BRAND & CATEGORY TAXONOMIES */
.tax-product_brand .woocommerce-products-header,
.tax-product_cat .woocommerce-products-header,
.tax-product_cat .page-title,
.tax-product_cat .term-description {
    margin: 0 !important;
    padding: 0 !important;
    display: none !important;
}

@media (max-width: 980px) {
    .netw-brand-hero {
        height: 360px;
        padding: 35px;
    }

    .netw-brand-logo {
        max-height: 90px;
    }

    .netw-brand-hero h1 {
        font-size: 38px;
    }

    .netw-brand-description,
    .netw-brand-description p {
        font-size: 18px;
        max-width: 100%;
    }

    .netw-brand-products-title {
        font-size: 30px;
    }

    .netw-brand-products-intro {
        font-size: 18px;
        padding: 0 20px;
    }
}


/* ==========================================================
   TRUST BAR ("WHY BUY FROM NETW")
========================================================== */

.netw-trust-bar {
    max-width: 1200px;
    margin: -20px auto 45px;
    padding: 34px 42px;
    background: linear-gradient(180deg,#ffffff,#fafafa);
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.netw-trust-title {
    text-align: center;
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 28px;
    color: #222;
}

.netw-trust-items {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.netw-trust-item {
    flex: 1 1 calc(25% - 18px);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.netw-trust-item .dashicons {
    font-size: 38px;
    width: 38px;
    height: 38px;
    color: #d71920;
    flex: none;
    margin-top: 3px;
}

.netw-trust-item strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}

.netw-trust-item small {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

@media (max-width: 980px) {
    .netw-trust-item {
        flex: 1 1 calc(50% - 18px);
    }
}

@media (max-width: 600px) {
    .netw-trust-bar {
        padding: 28px;
    }

    .netw-trust-title {
        font-size: 28px;
    }

    .netw-trust-item {
        flex: 1 1 100%;
    }
}


/* ==========================================================
   SALE BADGE
========================================================== */

.woocommerce span.onsale {
    top: 12px;
    left: 12px;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 6px 11px !important;
    line-height: 1 !important;
    border-radius: 6px;
    background: #d71920 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    box-shadow: 0 3px 8px rgba(0,0,0,.18);
}


/* ==========================================================
   CONTACT FORM 7 & SELECT2 DROPDOWN MATCHES
========================================================== */

/* Grid Layout & Spacing */
.cf7-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 1em;
}

.cf7-grid > p {
    flex: 1;
    margin: 0;
}

/* Form Labels */
.wpcf7 label {
    font-weight: 600;
    color: #333333;
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

/* General Input Fields Styling */
.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="tel"],
.wpcf7 form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-size: 15px;
    color: #333333;
    background-color: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Input Focus States */
.wpcf7 form input:focus,
.wpcf7 form textarea:focus {
    border-color: #d71920 !important;
    box-shadow: 0 0 5px rgba(215, 25, 32, 0.3);
    outline: none;
}

/* Select2 Container & Dropdown Styling */
.select2-container--default .select2-selection--single {
    height: 48px !important;
    border: 1px solid #cccccc !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    transition: border-color 0.2s ease;
}

.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #d71920 !important;
    outline: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal !important;
    color: #333333 !important;
    width: 100%;
    padding-left: 12px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    right: 10px !important;
}

/* Select2 Dropdown Popup Items */
.select2-dropdown {
    border: 1px solid #cccccc !important;
    border-radius: 6px !important;
    overflow: hidden;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #d71920 !important;
    color: #ffffff !important;
}

.select2-container--default .select2-results__option {
    padding: 8px 12px !important;
}

/* Direct Contact Callout Box */
.cf7-direct-contact {
    background-color: #f8f9fa;
    border-left: 4px solid #d71920;
    padding: 14px 18px;
    margin: 20px 0;
    font-weight: 600;
    color: #333333;
    border-radius: 0 6px 6px 0;
}

.cf7-direct-contact a {
    color: #d71920;
    text-decoration: none;
    font-weight: 700;
}

.cf7-direct-contact a:hover {
    text-decoration: underline;
}

/* Brand Button Styling (Matches #d71920 Shop Buttons) */
.wpcf7 input[type="submit"] {
    background-color: #d71920 !important;
    color: #ffffff !important;
    border: 2px solid #d71920 !important;
    border-radius: 6px !important;
    padding: 14px 32px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.2s ease !important;
    display: inline-block;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #b7151b !important;
    border-color: #b7151b !important;
    transform: translateY(-1px);
}

.wpcf7 input[type="submit"]:active {
    transform: translateY(0);
}

/* Responsive Mobile Rules for CF7 */
@media (max-width: 600px) {
    .cf7-grid {
        flex-direction: column;
        gap: 15px;
    }
}

/* ==========================================================
   WOOCOMMERCE / DIVI PAGINATION STYLING (BORDERLESS)
========================================================== */

.woocommerce-pagination {
    width: 100%;
    text-align: center;
    margin: 40px 0 20px !important;
    clear: both;
}

.woocommerce-pagination ul.page-numbers {
    display: inline-flex !important;
    gap: 8px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.woocommerce-pagination ul.page-numbers li {
    display: inline-block !important;
    border: none !important;
    margin: 0 !important;
}

.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: none !important;
    border-radius: 6px !important;
    background: #f4f4f5 !important;
    color: #27272a !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    outline: none !important;
}

.woocommerce-pagination ul.page-numbers li a:hover {
    background-color: #d71920 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(215, 25, 32, 0.25);
}

.woocommerce-pagination ul.page-numbers li span.current {
    background-color: #d71920 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(215, 25, 32, 0.3);
}

/* ==========================================================
   DIVI SHOP GRID - RESPONSIVE
   Desktop = Divi default
   Tablet = 2 columns
   Phone = 1 column
========================================================== */

/* TABLET */
@media only screen and (min-width: 768px) and (max-width: 980px) {

    #page-container .et_pb_shop_grid .woocommerce.columns-4 > ul.products.columns-4 {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 30px 4% !important;
    }

    #page-container .et_pb_shop_grid .woocommerce.columns-4 > ul.products.columns-4 > li.product {
        float: none !important;
        clear: none !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}

/* PHONE */
@media only screen and (max-width: 767px) {

    #page-container .et_pb_shop_grid .woocommerce.columns-4 > ul.products.columns-4 {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 30px !important;
    }

    #page-container .et_pb_shop_grid .woocommerce.columns-4 > ul.products.columns-4 > li.product {
        float: none !important;
        clear: none !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    #page-container .et_pb_shop_grid ul.products li.product .price,
    #page-container .et_pb_shop_grid ul.products li.product .price ins {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

