/* ==================================================
   SDSD MOBILE HEADER
   Search + Shop By Department
   ================================================== */

@media (max-width: 980px) {

    /* Department menu - match header/search width */
    .sdsd-department-menu {
        width: 100% !important;
        max-width: none !important;
        margin: 6px auto 10px !important;
        padding: 0 !important;
    }
	
	
	/* ==================================================
   SDSD MOBILE - REDUCE LOGO / SEARCH GAP
   ================================================== */

@media (max-width: 980px) {

    /* Pull the second column (search) upward */
    .et_pb_row .et_pb_column:nth-child(2) {
        margin-top: -15px !important;
    }

}

    .sdsd-department-menu .et_pb_menu_inner_container,
    .sdsd-department-menu .et_pb_menu__wrap {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .sdsd-department-menu .et_pb_menu__wrap {
        justify-content: stretch !important;
    }

    .sdsd-department-menu .et_mobile_nav_menu {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .sdsd-department-menu .mobile_nav {
        width: 100% !important;
        margin: 0 !important;
    }

    /* Full-width navy button */
    .sdsd-department-menu .mobile_menu_bar {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        width: 100% !important;
        box-sizing: border-box !important;

        background: #0e2a47 !important;
        border-radius: 5px !important;

        padding: 14px 16px !important;
        margin: 0 !important;

        font-size: 0 !important;
        cursor: pointer !important;
    }

    /* SHOP BY DEPARTMENT */
    .sdsd-department-menu .mobile_menu_bar::before {
        content: "SHOP BY DEPARTMENT" !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;

        color: #ffffff !important;
        font-family: inherit !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        letter-spacing: .5px !important;
    }

    /* Hamburger */
    .sdsd-department-menu .mobile_menu_bar::after {
        content: "\2630" !important;
        color: #ffffff !important;
        font-family: Arial, sans-serif !important;
        font-size: 24px !important;
        font-weight: 400 !important;
        line-height: 1 !important;
    }

    /* Dropdown */
    .sdsd-department-menu .et_mobile_menu {
        width: 100% !important;
        left: 0 !important;
        margin-top: 6px !important;
        border-top: 3px solid #e00000 !important;
        box-shadow: 0 8px 20px rgba(0,0,0,.12) !important;
    }

    /* Reduce Divi menu module vertical space */
    .sdsd-department-menu.et_pb_menu {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}


/* =====================================================
   SDSD - HOMEPAGE SHOWER SEALS PRODUCT GRID

   Clean Product Style
   White Background
   Black Text
   Dark Gray Image Borders
   ===================================================== */


/* =====================================================
   PRODUCT CARD
   ===================================================== */

.woocommerce ul.products li.product {
    background: #ffffff;

    border: 1px solid #E8F0FF;
    border-radius: 8px;

    padding: 12px !important;
    margin-bottom: 22px !important;

    box-sizing: border-box;

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


/* =====================================================
   PRODUCT CARD HOVER
   ===================================================== */

.woocommerce ul.products li.product:hover {
    border-color: #0077FF;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

    transform: translateY(-3px);
}


/* =====================================================
   PRODUCT IMAGE
   ===================================================== */

.woocommerce ul.products li.product a img {
    display: block;

    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;

    margin: 0 0 12px !important;
    padding: 0 !important;

    border: 1px solid #666666;
    border-radius: 6px;

    background: #ffffff;

    box-sizing: border-box;
}


/* =====================================================
   PRODUCT TITLE
   ===================================================== */

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #000000 !important;

    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;

    padding: 0 !important;
    margin: 0 0 8px !important;
}


/* =====================================================
   PRODUCT PRICE
   ===================================================== */

.woocommerce ul.products li.product .price {
    color: #000000 !important;

    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* SALE / REGULAR PRICE */
.woocommerce ul.products li.product .price del,
.woocommerce ul.products li.product .price ins {
    color: #000000 !important;
}


/* REMOVE UNDERLINE FROM LINKS */
.woocommerce ul.products li.product a {
    text-decoration: none !important;
}


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

@media (max-width: 980px) {

    .woocommerce ul.products li.product {
        padding: 10px !important;
        margin-bottom: 18px !important;
    }

    .woocommerce ul.products li.product
    .woocommerce-loop-product__title {
        font-size: 15px !important;
    }

    .woocommerce ul.products li.product .price {
        font-size: 15px !important;
    }

}


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

@media (max-width: 767px) {

    .woocommerce ul.products li.product {
        padding: 10px !important;
        margin-bottom: 16px !important;
    }

    .woocommerce ul.products li.product
    .woocommerce-loop-product__title {
        font-size: 14px !important;
        font-weight: 500 !important;
        line-height: 1.3 !important;
    }

    .woocommerce ul.products li.product .price {
        font-size: 15px !important;
        font-weight: 600 !important;
    }

}

/* =====================================================
   SDSD AJAX SEARCH - PRODUCT IMAGE
   ===================================================== */

.dipl_ajax_search_item_image {
    background: #ffffff !important;
    overflow: hidden !important;
}

.dipl_ajax_search_item_image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 8px !important;
    box-sizing: border-box !important;
}

/* =====================================================
   SDSD AJAX SEARCH - RESULTS BACKGROUND
   ===================================================== */

.dipl_ajax_search_results_wrap,
.dipl_ajax_search_results,
.dipl_ajax_search_items {
    background: #ffffff !important;
}

/* =====================================================
   SDSD AJAX SEARCH - PRODUCT RESULT CARDS
   ===================================================== */

.dipl_ajax_search_item {
    background: #ffffff !important;
    border: 1px solid #d9e2ec !important;
    border-radius: 6px !important;
    margin-bottom: 8px !important;
    padding: 8px !important;
    box-sizing: border-box !important;
}

/* =====================================================
   SDSD AJAX SEARCH - IMAGE ALIGN TOP
   ===================================================== */

.dipl_ajax_search_item_image {
    align-self: flex-start !important;
}

.dipl_ajax_search_item_image img {
    object-position: center top !important;
}

/* =====================================================
   SDSD AJAX SEARCH - SHOW APPROX. 4 PRODUCTS
   ===================================================== */

@media (min-width: 981px) {

    .dipl_ajax_search_results {
        max-height: 560px !important;
        overflow-y: auto !important;
    }
}