/* Page styles for the search results page (currently Views/Search/Index.cshtml).
   Loaded in <head> right after department_v25.css and the fancybox/carousel CSS, so the
   server-rendered results are styled on first paint. */

/* Product tiles */
.ss-product-pack-box { margin-bottom: 5px; }
.ss-product-pack-box .item { border: 1px solid #D0D0D0; padding: 1px 4px 2px; border-radius: 4px; color: #000; font-weight: 500; display: inline-block; margin-left: 2px; vertical-align: middle; }
.ss-product-box .pack-line { font-size: 12px; color: #585858; }
.ss-product-box .per-tag { font-size: 14px; color: #585858; min-height: 18px; margin-bottom: 15px; }
.ss-product-box .price-per-item { margin-bottom: 15px; }
.ss-product-box .ss-product-box-title { margin-bottom: 10px; }
.ss-product-box { padding: 20px 0px; line-height: normal; }
.ss-product-box .ss-product-content-item-content { margin-bottom: 8px; }
.ss-product-box .ss-product-box-title a { line-height: 1.4; }
.ss-product-box .ss-product-img-box { height: 200px; }
.ss-product-box .ss-product-content-box,
.ss-product-box .ss-product-price { text-align: left; margin-bottom: 5px; }
.ss-product-box .ss-product-rating-box { margin-bottom: 10px; }
.ss-product-add-cart-btn .btn { max-width: 100%; }
@media (max-width: 567px) {
    .ss-product-box .per-tag { min-height: 0; }
}

:root { --page-master-color: var(--primarycolor); }
.main-no-results-message { grid-column: 1 / -1; width: 100%; font-size: 26px; font-family: var(--heading-font); font-weight: 400; line-height: normal; color: #707070; padding: 40px 0; text-align: center; }
.main-no-results-message strong { color: #000; }
.no-results-found { margin: 40px auto 0; font-size: 16px; text-align: center; }

/* AzSearch_V3.cshtml:140-145 - facet search box with its magnifier icon. */
.filter-search-box { margin-bottom: 15px; position: relative; }
.filter-search-box::after { content: ""; position: absolute; top: 50%; left: 6px; transform: translateY(-50%); mask-repeat: no-repeat; mask-size: 14px; mask-position: center center; width: 20px; height: 20px; background-color: #333; display: flex; align-items: center; justify-content: center;
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"/></svg>'); }
.filter-search-box .form-control { border-radius: 25px; height: 35px; font-size: 14px; padding: 0 15px; padding-left: 28px; color: #333; }
.filter-search-box .form-control::placeholder { color: #333; }

/* AzSearch_V3.cshtml:30/77-80/116/118/128/222 */
.no-results-found .searchBox__input-container_box { margin-bottom: 20px; }
.ss_dept_sub_heading { margin: 0; }
.ss_subcategory_filter_right_box { display: flex; flex-wrap: wrap; }
.ss_department_slider .department_products_item { padding: 0 15px; height: auto; }
body { min-height: calc(100vh + 1px); }
.see_all_related_box { margin-top: 20px; }
@media (max-device-width: 567px) {
    .cant_find_sign ul li .img_box svg { height: 35px; }
    .contact_customer_care_row { flex-wrap: wrap; }
    .contact_customer_care .supports-icons-cont img { max-width: 120px; }
}
.see_all_filter_btn .down_icon svg { transition: 0.3s; }
.see_all_filter_btn.active .down_icon svg { transform: rotate(180deg); }
.search-result-page button.pagination_page_btn.disabled { pointer-events: none; opacity: 0.5; cursor: not-allowed; }
.badge-disabled { background-color: #e3e3d9; }

/* Applied-filter tags */
.search-result-page .applied-department-filter-tag .list-unstyled { gap: 15px; }
.search-result-page .applied-department-filter-tag .applied-tag { padding: 3px 15px 0 6px; border-radius: 6px; }
.search-result-page .applied-department-filter-tag .applied-tag span { display: block; font-weight: var(--text-bold); }
.search-result-page .applied-department-filter-tag .applied-tag .reset_btn { width: 20px; height: 20px; border-radius: 100%; color: #fff; background-color: #7b7b7b; align-items: center; right: -7px; top: -7px; text-align: center; line-height: 22px; font-size: 13px; justify-content: center; }
.search-result-page .applied-department-filter-tag .applied-tag .reset_btn svg { position: absolute; top: 50%; transform: translate(-50%, -50%); left: 50%; }
.search-result-page .applied-department-filter-tag .applied-tag .reset_btn:hover { color: #fff; background-color: #6f6f6f; }

.ss-product-ltmprice { font-size: 14px; margin-top: 6px; color: #555; font-weight: bold; margin-bottom: 10px; }
.ss-product-ltmprice .price { color: #1a7f37; font-weight: 600; background: #e6f4ea; padding: 2px 6px; border-radius: 4px; margin-left: 4px; display: inline-block; }
.ss-product-rating-box a { cursor: default; }

/* Beta "More" tooltip highlights */
.search-highlights { min-width: 300px; padding: 10px 10px 10px 10px; }
.search-highlights li { list-style: none; }
.search-highlights em { background-color: yellow; }

/* Ported from AzSearch_V2.cshtml:118-125/169-172 - the "Relevant Product Pages" Slick
   carousel's arrow-button styling. Scoped to .ss_department_slider specifically (unlike
   the site-wide .slick_slider_Btn rules, which are all scoped to OTHER containers like
   .viewed-product-slider-box and never apply here). */
.ss_department_slider .slick_slider_Btn { width: 36px; height: 36px; border-radius: 8px; background-color: #fff; color: var(--gray-700); border: 1px solid #D5D7DA; display: flex; align-items: center; justify-content: center; z-index: 3; transform: none; top: calc(180px / 2); }
.ss_department_slider .slick_slider_Btn::before { display: none; }
.ss_department_slider .slick_slider_Btn:hover,
.ss_department_slider .slick_slider_Btn:focus { background-color: #FAFAFA; color: #000 !important; box-shadow: none; outline: none; border-color: #D5D7DA; }
.ss_department_slider .slick-prev { left: 0; }
.ss_department_slider .slick-next { right: 0; }
.ss_department_slider .slick_slider_Btn.slick-disabled,
.ss_department_slider .slick_slider_Btn.slick-disabled:hover { color: #A4A7AE !important; border: 1px solid #D5D7DA; opacity: 0.8; }
@media (max-width: 767px) {
    .ss_department_slider .slick_slider_Btn { bottom: 0; left: inherit; right: inherit; top: inherit; }
    .ss_department_slider { padding-bottom: 50px; }
    .ss_department_slider .slick-prev { left: calc(50% - 45px); }
    .ss_department_slider .slick-next { right: calc(50% - 45px); }
}

/* AzSearch_V3.cshtml:164-189 - responsive page rules. */
@media (max-width: 1199px) {
    .search-result-page .products_filter_body .subcategory-filter-box:last-child { border: none; }
    .subcategory-container-box { padding-top: 30px; }
    .plp-box-style .ss_dept_main_heading { margin-bottom: 0; }
}
@media (max-width: 767px) {
    .pagination > li.page-item.active > a, .pagination > li.page-item.active > a:focus, .pagination > li.page-item.active > a:hover, .pagination > li.page-item.active > span, .pagination > li.page-item.active > span:focus, .pagination > li.page-item.active > span:hover, .pagination > li.page-item.active > button, .pagination > li.page-item.active > button:focus, .pagination > li.page-item.active > button:hover { background-color: var(--primarycolor); border-color: #d3d3d3; color: #fff; }
    .ss_subcategory_filter_count .filter_pagination_cont { font-size: 12px; row-gap: 5px; width: 100%; }
    .search-result-page .ss_subcategory_filter_count .ss_subcategory_filter + .btn { margin-left: 10px; }
    .search-result-page .subcategory-container .subcategory-content-right .ss_subcategory_filter_count { row-gap: 15px; }
    .search-result-page .plp-box-style .ss_dept_main_heading h1 { font-size: 22px; }
    .search-result-page .container { padding: 0; }
}
@media (max-width: 567px) {
    .search-result-page .products_grid .ss-product-box + .ss-product-box { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border-color); }
}

/* Ported from AzSearch_V2.cshtml:22-53 - the rich no-results-found fallback
   (search tips, "need help" chat/call cards, "can't find" custom-wizard promo). */
.no-results-found { margin: 40px auto 0; font-size: 16px; }
.try_our_tips { max-width: 550px; margin: 0 auto; text-align: left; }
.try_our_tips .try_our_tips_title { font-size: 20px; font-weight: 500; margin-bottom: 5px; color: #000; text-align: left; }
.try_our_tips ul { margin: 0; padding: 0; text-align: left; }
.try_our_tips ul li { position: relative; list-style-type: none; padding-left: 16px; text-align: left; }
.try_our_tips ul li .try_check_icon { display: inline-block; vertical-align: middle; position: absolute; top: -1px; left: 0; }
.try_our_tips ul li + li { margin-top: 8px; }
.no-results-found .page_title { font-size: 26px; font-family: var(--heading-font); font-weight: 400; line-height: normal; color: #707070; text-align: center; }
.no-results-found .page_title span { color: #000; }
.lets_help .lets_help_title { font-size: 26px; margin-bottom: 8px; font-weight: 400; line-height: normal; font-family: var(--heading-font); }
.lets_help p { margin-bottom: 20px; }
.contact_customer_care { width: 100%; max-width: 500px; position: relative; border-radius: 12px; }
.contact_customer_care p { font-size: 16px; font-weight: 400; margin-bottom: 0; }
.contact_customer_care p.phone_number a { color: #000; }
.contact_customer_care p span { display: inline-block; vertical-align: middle; margin-right: 4px; margin-top: -2px; }
.contact_customer_care .contact_customer_care_right_box { margin-top: 10px; }
.contact_customer_care_title { font-size: 20px; font-weight: var(--text-bold); }
.contact_customer_care p span svg { height: 16px; }
.no-results-found hr { border-top-color: #e7e7e7; margin: 30px 0 25px; }
.cant_find_sign { max-width: 1030px; margin: 0 auto; }
.cant_find_sign .cant_find_sign_title { font-size: 26px; margin-bottom: 25px; font-weight: 400; text-align: center; line-height: normal; font-family: var(--heading-font); }
.cant_find_sign ul { text-align: center; display: flex; margin: 0; padding: 0; }
.cant_find_sign ul li { display: inline-block; vertical-align: middle; flex: 1 0; list-style-type: none; }
.cant_find_sign ul li p { font-size: 18px; font-weight: 400; }
.cant_find_sign ul li .img_box { margin-bottom: 8px; }
.contact_customer_care .supports-icons-cont svg { max-width: 152px; }
@media (max-width: 991px) {
    .lets_help { margin: 25px 0; }
    .lets_help .lets_help_title, .no-results-found .page_title, .cant_find_sign .cant_find_sign_title { font-size: 24px; }
    .contact_customer_care_title { font-size: 18px; }
    .contact_customer_care { width: 50%; max-width: 100%; }
    .try_our_tips ul li .try_check_icon { margin-right: 6px; }
    .contact_customer_care p { font-size: 14px; }
    .contact_customer_care p span svg { height: 15px; }
}
@media (max-device-width: 767px) {
    .cant_find_sign ul li p { font-size: 14px; }
    .cant_find_sign ul { flex-wrap: wrap; margin-top: -10px; }
    .cant_find_sign ul li { min-width: 120px; padding-top: 10px; }
    .contact_customer_care_title { font-size: 14px; }
}
@media (min-width: 767px) {
    .ss_department_slider { padding: 0 40px; }
    .search-result-page .department_grid.department_grid_5_col { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
    .search-result-page .department_grid .department_products_img,
    .ss_department_slider .department_grid .department_products_img { width: 200px; height: 200px; }
    .search-result-page .department_grid .department_products_img img { max-width: 145px; max-height: 145px; }
}

#semanticSubCopy { color: #707070; font-size: 16px; margin-top: -5px; }

/* Ajax loader (#spinner) - same styles as AzSearch_V3.cshtml */
.mat-spinner-text { position: fixed; top: 50%; left: 50%; z-index: 1000001; height: 128px; width: 128px; margin-top: -64px; margin-left: -64px; line-height: 32px; text-align: center; font-size: 27px; color: #303b83; border-radius: 16px !important; opacity: .6; box-shadow: 0 0 20px #dedede; }
#spinner > .bgGlass2 { position: fixed; top: 0; left: 0; height: 100%; width: 100%; z-index: 9999; opacity: .5; background-color: #faf6f6; }

/* Related Searches box - same styles as AzSearch_V3.cshtml */
.rs-heading { font-size: 18px; font-weight: var(--semibold); color: var(--primaryDefault); }
.rs-list { gap: 10px; }
.rs-chip { border: 1px solid #E0E0E0; color: var(--primaryDefault); background: #fff; font-size: 14px; white-space: nowrap; padding: 7px 14px 7px 10px; font-weight: 500; }
.rs-chip:hover { background-color: rgba(var(--secondarycolorRGB), 0.1); border-color: var(--secondarycolor); color: var(--primaryDefault); box-shadow: 0 0 0 1px var(--secondarycolor); }
.rs-icon { flex-shrink: 0; }
@media (max-width: 991px) {
    .related-search-box { border-bottom: 1px solid #E0E0E0; padding-bottom: 12px; margin-bottom: 15px !important; }
}
