
/*
 * THE YUNUS FOUNDATION
 * UNIFIED HEADER CART
 *
 * Important:
 * We DO NOT modify .option-wrapper.
 */


/* ==========================================================
   SEARCH + CART
   ========================================================== */

.header-upper
.search-box-outer.yunus-search-with-cart,

.mobile-menu
.search-box-outer.yunus-search-with-cart {

    display: inline-flex !important;

    align-items: center;

    justify-content: center;

    gap: 3px;

    width: auto !important;

    white-space: nowrap;
}


/* Keep existing search dropdown intact */

.yunus-search-with-cart
.dropdown {

    display: inline-block;

    margin: 0;
}


/* ==========================================================
   CART ICON
   ========================================================== */

.yunus-nav-cart {

    position: relative;

    display: inline-flex !important;

    align-items: center;

    justify-content: center;

    width: 27px;

    height: 34px;

    padding: 0 !important;

    margin: 0 !important;

    border: 0 !important;

    border-radius: 0 !important;

    background: transparent !important;

    box-shadow: none !important;

    color: inherit;

    text-decoration: none !important;

    line-height: 1;
}


.yunus-nav-cart
.fa-shopping-cart {

    font-size: 15px;

    line-height: 1;
}


.yunus-nav-cart:hover {

    color: #df8c16 !important;

    background: transparent !important;
}


/* ==========================================================
   CART QUANTITY
   ========================================================== */

.yunus-cart-count {

    position: absolute;

    top: 0;

    right: -2px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 14px;

    height: 14px;

    padding: 0 3px;

    border-radius: 10px;

    background: #df8c16;

    color: #ffffff;

    font-size: 8px;

    font-weight: 700;

    line-height: 14px;
}


.yunus-cart-count[hidden] {

    display: none !important;
}


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

.mobile-menu
.search-box-outer.yunus-search-with-cart {

    display: inline-flex !important;

    align-items: center;

    width: auto !important;
}


.mobile-menu
.yunus-nav-cart {

    display: inline-flex !important;

    width: 28px;

    height: 36px;
}


.mobile-menu
.yunus-nav-cart
.fa-shopping-cart {

    font-size: 16px;
}
