.footermenu h4 {
    color: #fff;
    border-bottom: 1px solid rgb(255 255 255 / 6%);
    padding-bottom: 14px;
}

.footermenu li {
    list-style: none;
    padding-bottom: 13px;
}

.footermenu li a {
    color: #fff;
}

.footermenu {
    padding-top: 13px;
}
.banneroftabs {
    float: left;
    width: 25%;
}
/* ========================================================================== 
   MOBILE UI FIX v2 — targeted SO Entry responsive cleanup
   Desktop is untouched. Main focus: typeheader-4 + home/product/category spacing.
   ========================================================================== */
@media (max-width: 767px) {
    html, body {
        overflow-x: hidden;
    }

    /* Base mobile rhythm */
    .container,
    .container-fluid {
        width: 100%;
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    #content {
        width: 100%;
        max-width: 100%;
    }

    img, video, iframe {
        max-width: 100%;
        height: auto;
    }

    /* ========================= HEADER 4 ========================= */
    header.typeheader-4 .header-top {
        display: none;
    }

    header.typeheader-4 .header-center .container,
    header.typeheader-4 .header-bottom .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    header.typeheader-4 .header-center .header-center__inner {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr) auto;
        grid-template-areas:
            "logo logo logo"
            "search spacer links";
        align-items: center;
        gap: 8px 10px;
        padding: 14px 0 9px;
    }

    header.typeheader-4 .header-logo {
        grid-area: logo;
        width: 100%;
        max-width: none;
        text-align: center;
        line-height: 1;
    }

    header.typeheader-4 .header-logo .logo {
        display: flex;
        min-height: 0;
        padding-bottom: 6px;
        padding-top: 5px;
    }

    header.typeheader-4 .header-logo img {
        display: block;
        width: auto;
        max-width: 190px;
        max-height: 88px;
        margin: 0 auto;
    }

    header.typeheader-4 .header-search {
        grid-area: search;
        width: 34px;
        min-width: 34px;
        position: absolute;
        margin-left: 49%;
        margin-top: 17px;
    }
header.typeheader-4 ul.signin-w > li > a span {
    display: none;
}

div#cart a span {
}

.typeheader-4 .shopping_cart {
    float: right;
}

    header.typeheader-4 .header-search .icon-search {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    header.typeheader-4 .header-links {
        grid-area: links;
        display: flex;
        justify-self: end;
        align-items: center;
        gap: 5px;
        column-gap: 8px;
        min-width: 0;
        position: absolute;
        right: 0;
        top: 0;
        margin-top: 48px;
    }

    header.typeheader-4 .header-links .wishlist {
        display: none;
    }

    header.typeheader-4 ul.signin-w {
        margin: 0;
    }

    header.typeheader-4 ul.signin-w > li > a {
        min-height: 36px;
        padding: 7px 11px;
        column-gap: 7px;
        border-radius: 11px;
        font-size: 13px;
        white-space: nowrap;
        box-shadow: 0 1px 4px rgba(0,0,0,.28);
    }

    header.typeheader-4 ul.signin-w > li > a svg {
        width: 18px;
        height: 18px;
    }

    header.typeheader-4 .shopping_cart .btn-shopping-cart .top_cart {
        height: 36px;
        min-height: 36px;
        padding: 0 10px;
        border-radius: 11px;
        background: #fff;
        color: #111;
        box-shadow: 0 1px 4px rgba(0,0,0,.28);
    }

    header.typeheader-4 .shopping_cart .btn-shopping-cart .top_cart .shopcart {
        gap: 8px;
    }

    header.typeheader-4 .shopping_cart .btn-shopping-cart .top_cart .icon-c {
        height: 18px;
    }

    header.typeheader-4 .shopping_cart .btn-shopping-cart .top_cart .shopcart-inner .text-shopping-cart {
        font-size: 13px;
        line-height: 16px;
        color: #111;
    }

    header.typeheader-4 .shopping_cart .btn-shopping-cart .top_cart .shopcart-inner .total-shopping-cart .items_cart {
        min-width: 18px;
        width: 18px;
        height: 18px;
        line-height: 16px;
        left: -5px;
        top: -7px;
        font-size: 10px;
    }

    header.typeheader-4 #sosearchpro {
        top: calc(100% - 45px);
        padding: 0 12px;
    }

    header.typeheader-4 #sosearchpro .search {
        width: 100%;
        max-width: none;
    }
.container-megamenu.horizontal ul.megamenu > li > a strong {
    color: #000 !IMPORTANT;
}
    header.typeheader-4 .header-bottom {
        border-top: 1px solid rgba(255,255,255,.08);
    }

    header.typeheader-4 .header-bottom .header-bottom__inner {
        min-height: 42px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    header.typeheader-4 .menu-vertical,
    header.typeheader-4 .main-menu-w {
        width: auto;
        flex: 0 0 auto;
    }

    header.typeheader-4 .megamenu-style-dev .navbar-default .vertical .navbar-header,
    header.typeheader-4 .megamenu-style-dev .navbar-default .horizontal .navbar-header {
        min-height: 0;
        margin: 0;
        padding: 0;
    }

    header.typeheader-4 .megamenu-style-dev .navbar-default .vertical .navbar-header .navbar-toggle,
    header.typeheader-4 .megamenu-style-dev .navbar-default .horizontal .navbar-toggle {
        margin: 0;
    }

    /* ========================= HOME ========================= */
    body.common-home #content {
        padding-top: 0;
    }

    body.common-home #content > .container,
    body.common-home #content .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    /* Theme default is 50px on mobile – too much for this store. */
    body.common-home #content .module,
    .layout-1.common-home #content .module,
    .layout-2.common-home #content .module,
    .layout-3.common-home #content .module,
    .layout-4.common-home #content .module {
        margin-bottom: 28px;
    }

    body.common-home #content .module:last-child {
        margin-bottom: 18px;
    }

    body.common-home #content .module .modtitle,
    body.common-home #content .module .modtitle span,
    .layout-4.common-home #content .module .modtitle,
    .layout-4.common-home #content .module .modtitle span {
        font-size: 20px;
        line-height: 1.25;
    }

    body.common-home #content .module .modtitle {
        margin-bottom: 18px;
    }

    /* Slider / banner spacing */
    body.common-home .sohomepage-slider,
    body.common-home .module.sohomepage-slider,
    body.common-home .banners,
    body.common-home .banner,
    body.common-home .htmlcontent-home,
    body.common-home .so-html-content {
        margin-bottom: 24px !important;
    }

    body.common-home .sohomepage-slider img,
    body.common-home .banners img,
    body.common-home .banner img,
    body.common-home .so-html-content img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 4px;
    }

    .banneroftabs {
        float: none;
        width: 100%;
    }

    /* Category carousel/cards */
    body.common-home .custom-slidercates,
    body.common-home .custom-slidercates2,
    body.common-home .so-categories,
    body.common-home .category-slider,
    body.common-home .categories-slider {
        margin-bottom: 26px !important;
    }

    body.common-home .custom-slidercates .cat-wrap .content-box,
    body.common-home .custom-slidercates2 .cat-wrap .content-box {
        margin-bottom: 0 !important;
    }

    body.common-home .custom-slidercates .cat-wrap .content-box .image-cat,
    body.common-home .custom-slidercates2 .cat-wrap .content-box .image-cat {
        overflow: hidden;
        border-radius: 14px;
    }

    body.common-home .custom-slidercates .cat-wrap .content-box .cat-title,
    body.common-home .custom-slidercates2 .cat-wrap .content-box .cat-title {
        margin-top: 9px;
        margin-bottom: 0;
        line-height: 1.25;
    }

    body.common-home .custom-slidercates .cat-wrap .content-box .cat-title a,
    body.common-home .custom-slidercates2 .cat-wrap .content-box .cat-title a {
        font-size: 14px;
        line-height: 18px;
    }

    /* Remove empty vertical space from Owl wrappers. */
    body.common-home .owl2-stage-outer,
    body.common-home .owl2-item,
    body.common-home .owl2-item > div {
        min-height: 0;
    }

    /* ========================= PRODUCT/CATEGORY PAGES ========================= */
    .products-category .product-layout,
    .products-list .product-layout {
        min-width: 0;
    }

    .products-list .product-item-container {
        max-width: 100%;
    }

    .products-list .product-item-container img {
        max-width: 100%;
        height: auto;
    }

    .products-category .category-info,
    .products-category .product-filter {
        margin-bottom: 18px;
    }

    .product-filter .short-by,
    .product-filter .show-by,
    .product-filter .box-pagination {
        max-width: 100%;
    }

    .product-filter select.form-control {
        width: 100%;
    }

    /* Prevent generic theme elements from widening the viewport. */
    table,
    .table-responsive,
    .row,
    .module,
    .product-item-container,
    .owl2-stage-outer {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    header.typeheader-4 .header-logo img {
        max-width: 143px;
        max-height: 78px;
    }

    header.typeheader-4 .header-center .header-center__inner {
        padding-top: 11px;
        gap: 7px 8px;
    }

    header.typeheader-4 ul.signin-w > li > a {
        padding-left: 9px;
        padding-right: 9px;
    }

    header.typeheader-4 .shopping_cart .btn-shopping-cart .top_cart {
        padding-left: 9px;
        padding-right: 9px;
    }

    body.common-home #content .module,
    .layout-1.common-home #content .module,
    .layout-2.common-home #content .module,
    .layout-3.common-home #content .module,
    .layout-4.common-home #content .module {
        margin-bottom: 24px;
    }

    body.common-home #content .module .modtitle {
        margin-bottom: 15px;
    }
}
