html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
}

body {
    position: relative;
    font-family: 'Amazon Ember', sans-serif;
    font-size: 16px;
    padding-top: 0 !important;
    color: #1f2933;
    background: #fff;
    line-height: 1.5;
}

.sidecart {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 15px;
    background-color: #fff;
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
    z-index: 999;
    box-shadow: 0 10px 24px rgba(33, 33, 33, 0.18);
    transition: transform .18s ease, box-shadow .18s ease;
}

.sidecart:hover {
    transform: translateY(-50%) translateX(-2px);
    box-shadow: 0 14px 28px rgba(33, 33, 33, 0.22);
}

.sidecart i {
    color: #111827;
}

.sitelogo {
    width: auto;
    max-width: 190px;
    flex: none !important;
    min-width: max-content;
    text-align: left;
}

.sitelogo img {
    width: 100%;
    max-width: 165px;
    height: auto;
    display: block;
    object-fit: contain;
}

.main-header {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
}

.siteheader {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 74px;
    padding: 10px 0;
}

.searchbar {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 auto;
}

.search-submit i {
    color: #fff;
}

.headerlink {
    align-self: center;
    width: auto !important;
    min-width: max-content !important;
    margin-left: 0 !important;
    justify-self: end;
    flex: 0 0 auto;
}

.headerlink > ul {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.headerlink > ul > li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    text-align: center;
    line-height: 1;
    vertical-align: middle;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    margin: 0;
    list-style: none;
}

.headerlink > ul > li > a {
    color: #fff;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: .35rem;
    min-width: 34px;
    min-height: 34px;
    transition: opacity .15s ease, transform .15s ease;
}

.headerlink > ul > li > a:hover {
    opacity: .92;
    transform: translateY(-1px);
}

.headerlink > ul > li > a i {
    font-size: 16px;
}

.headerlink > ul > li > a .fa-facebook-messenger,
.headerlink > ul > li > a .fa-bell {
    font-size: 20px;
}

.mainmenu {
    position: relative;
    box-shadow: 0 10px 18px -16px rgba(0, 0, 0, 0.25);
    background-color: #fff;
    border-bottom: 1px solid #edf2f7;
}

.mainmenu-line {
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.mainmenu-line::-webkit-scrollbar {
    display: none !important;
}

.menu-items {
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.menu-items li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-items li:last-child {
    border-right: 0;
}

.menu-items li a {
    color: #1f2933;
    padding: 12px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    width: 128px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: background-color .18s ease, color .18s ease;
}

.menu-items li a:hover {
    background-color: #f3f7f9;
    color: #0f766e;
}

.menu-items li .active,
.menu-items li .active:hover {
    background: linear-gradient(135deg, #38b2ac 0%, #2b9b95 100%);
    color: #fff;
}

form#searchForm {
    width: 100%;
    padding-left: 0 !important;
}

.usermenu {
    padding: 10px !important;
    background-color: #4b5563;
    position: absolute;
    top: 52px;
    right: 0;
    z-index: 99;
    display: none;
    border-radius: 10px;
}

.usermenu li {
    display: block !important;
    text-align: left !important;
    padding: 8px !important;
    margin: 0 !important;
    white-space: nowrap;
}

.usermenu li:hover {
    background-color: #111827 !important;
}

.usermenu-prtn {
    position: relative;
    padding-right: 0 !important;
}

ul li {
    list-style: none;
}

button#dropdownMenuButton1 {
    background: transparent;
    border: 0;
    position: relative;
    padding: 0;
    line-height: 1;
    text-align: center;
}

button#dropdownMenuButton1:hover {
    color: #fff;
}

button#dropdownMenuButton1:focus {
    box-shadow: none;
}

button#dropdownMenuButton1 p {
    line-height: 10px;
    font-size: 12px;
}

.dropdown-menu {
    display: none;
    margin: 0;
    position: absolute;
    top: 14px !important;
    z-index: 99;
    background-color: #fff;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .16);
    overflow: hidden;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu li {
    display: block !important;
    text-align: left !important;
}

.dropdown-menu li:hover {
    background-color: #f6fbfb !important;
}

.dropdown-menu li a:hover {
    background-color: transparent !important;
    color: #0f766e !important;
}

.dropdown-toggle::after {
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
}

.header-search {
    width: 100%;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.header-search .form-select {
    border-radius: 0;
    background-color: #fff;
    border: 0;
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

.header-search .form-select:focus {
    box-shadow: none !important;
    outline: none;
    border: 0;
}

.header-search input {
    background-color: #fff;
    border: 0;
    border-radius: 0;
    height: 40px;
}

.header-search button {
    background-color: #374151;
    color: #fff;
    font-size: 14px;
    padding-left: 22px;
    padding-right: 22px;
    transition: background-color .18s ease;
}

.header-search button:hover {
    background-color: #1f2937;
}

.footer-top {
    background-color: #232F3E;
    color: #ccc !important;
    padding: 6px 0;
    font-size: 13px;
}

.footer-logo {
    width: 120px;
    height: auto;
}

.footermenu {
    background-color: #131A22;
}

.footer-mid {
    color: #ddd;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    padding: 32px 0;
    font-size: 12px;
}

.footer-mid ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.footer-mid a {
    color: #9ca3af;
    text-decoration: none;
}

.footer-mid span {
    color: #f3f4f6;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}

.footer-mid a:hover {
    color: #ffffff !important;
}

.footer-mid i {
    font-size: 20px;
}

.footer-mid li a {
    text-transform: capitalize;
}

.footer-bottom {
    color: #9ca3af;
    background-color: #131A22;
    font-size: 11px;
    text-align: center;
    padding: 0 0 20px;
}

.footer-bottom p {
    text-align: justify;
    line-height: 20px;
    font-size: 12px;
}

.footer-bottom p span {
    font-size: 10pt;
}

@media screen and (max-width: 991px) {
    .siteheader {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 10px;
    }

    .searchbar {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 140px !important;
    }

    .menu-items {
        justify-content: flex-start;
    }

    .menu-items li a {
        width: auto;
        min-width: 70px;
        padding-left: 14px;
        padding-right: 14px;
    }
}

@media screen and (min-width: 600px) and (max-width: 767px) {
    .siteheader {
        grid-template-columns: auto minmax(140px, 1fr) auto;
        gap: 8px;
    }

    .sitelogo {
        max-width: 140px;
    }

    .sitelogo img {
        max-width: 135px;
    }

    .searchbar {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 140px !important;
    }

    .headerlink {
        width: auto;
    }

    .menu-items {
        justify-content: flex-start;
    }

    .footer-mid {
        background-color: #232F3E;
        grid-template-columns: repeat(1, 1fr);
        padding: 5px 5% 20px 5%;
    }

    .footer-mid ul {
        background-color: #131A22;
        padding: 12px 10%;
        border-radius: 12px;
    }

    .footer-mid span {
        text-align: center;
    }

    .footer-bottom {
        padding: 8% 6% !important;
    }
}

@media screen and (max-width: 599.98px) {
    .siteheader {
        grid-template-columns: auto auto;
        gap: 8px;
    }

    .searchbar {
        display: none !important;
    }

    .headerlink {
        width: auto;
    }

    .menu-items {
        justify-content: flex-start;
    }

    .footer-mid {
        background-color: #232F3E;
        grid-template-columns: repeat(1, 1fr);
        padding: 5px 5% 20px 5%;
    }

    .footer-mid ul {
        background-color: #131A22;
        padding: 12px 10%;
        border-radius: 12px;
    }

    .footer-mid span {
        text-align: center;
    }

    .footer-bottom {
        padding: 8% 6% !important;
    }
}

.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    width: 100%;
    animation-duration: .3s;
    animation-name: menu-sticky;
    animation-timing-function: ease-in-out;
    display: block;
    background-color: #fff;
}

.ntf-icon {
    font-size: 20px;
}

.notif-dmenu {
    top: 20px !important;
    min-width: auto !important;
    width: 350px;
    padding: 20px;
    transform: translate(-220px, 22px) !important;
    background-color: #fff;
    box-shadow: 0 0 11px rgba(22, 22, 22, 0.1);
}

.notif-head h3 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.notif-head ul li {
    color: #222;
    padding: 0;
    text-align: center !important;
    height: 30px;
    width: 30px;
    line-height: 32px;
    font-size: 20px;
    border-radius: 50%;
}

.notif-head ul li:hover {
    background-color: #ddd !important;
}

.nt-read-status {
    padding: 20px 0;
}

.nt-read-status li {
    display: inline-block !important;
    margin: 0 10px 0 0 !important;
    padding: 0 !important;
    line-height: 16px !important;
}

.nt-read-status li a {
    color: #212529 !important;
    font-size: 14px !important;
    padding: 8px 12px !important;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
}

.nt-read-status li .active {
    background-color: #e2f7f6 !important;
    color: #38b2ac !important;
}

.nt-read-status li a:hover {
    background-color: #e2f7f6 !important;
    color: #38b2ac !important;
}

.nt-read-status li:hover {
    color: unset !important;
    font-size: unset !important;
    padding: unset !important;
    background-color: unset !important;
    border-radius: unset !important;
}

.ntf-subhead p {
    font-size: 18px;
    color: #222;
    font-weight: 700;
}

.ntf-subhead a {
    font-size: 16px !important;
    color: #38b2ac !important;
}

.w-10 { width: 10%; }
.w-15 { width: 15%; }
.w-20 { width: 20%; }
.w-30 { width: 30%; }
.w-40 { width: 40%; }
.w-50 { width: 50%; }
.w-60 { width: 60%; }
.w-70 { width: 70%; }
.w-80 { width: 80%; }
.w-85 { width: 85%; }
.w-90 { width: 90%; }

.main-notif {
    padding-top: 15px;
}

.main-notif img {
    border-radius: 50%;
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
}

.main-notif h4 {
    font-size: 16px;
}

.main-notif p {
    font-size: 13px;
    line-height: 17px;
}

.main-notif small {
    color: #38b2ac;
    font-size: 12px;
}

.main-notif i {
    font-size: 12px;
    color: #38b2ac;
}

.all-notif {
    height: 300px;
    overflow-y: auto;
}

.all-ntf-btn {
    width: 100%;
    background-color: #212529;
    padding: 10px 20px;
    color: #fff;
    border-radius: 10px;
    margin-top: 20px;
}

.all-notif::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #F5F5F5;
}

.all-notif::-webkit-scrollbar {
    width: 12px;
    background-color: #F5F5F5;
}

.all-notif::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background-color: #ddd;
}

.sitehead2 {
    width: 100%;
    height: auto;
    background: #eee;
}

.hide-header {
    transform: translateY(-100%);
}

.menuicon {
    width: 25px;
    border-radius: 50%;
}

.property:hover .property-submenu {
    display: block !important;
}

.property-submenu {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    margin: auto;
    top: 41px;
    z-index: 9;
    display: none;
    transition: all .3s linear;
}

.property-submenu ul {
    background-color: #fff;
    text-align: left;
    padding: 15px 10px !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.property-submenu ul li {
    padding: 10px 20px;
}

.property-submenu ul li a {
    color: #222;
    font-size: 14px;
    transition: all .1s linear;
    text-decoration: none;
}


.property-submenu ul li a:hover {
    color: #38b2ac;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: transparent;
}

.dropdown-item:focus {
    background-color: transparent;
    color: #fff;
}

.menu-active {
    color: #38b2ac !important;
}
/* default: keep header in one line */
.siteheader {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

/* searchbar hidden only below 650 */
@media screen and (max-width: 649.98px) {
    .siteheader {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }

    .searchbar {
        display: none !important;
    }
}

/* searchbar shows from 650 and up */
@media screen and (min-width: 650px) {
    .searchbar {
        display: block !important;
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 140px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
}

/* specifically fix 760–992 so it does not become grid */
@media screen and (min-width: 760px) and (max-width: 992px) {
    .siteheader {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }

    .searchbar {
        display: block !important;
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 180px !important;
        max-width: 420px !important;
        margin: 0 auto !important;
    }

    .headerlink {
        flex: 0 0 auto !important;
        width: auto !important;
        margin-left: auto !important;
    }
    .siteheader {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 74px !important;
    padding: 10px 0 !important;
}

.sitelogo {
    width: auto !important;
    max-width: 190px !important;
    min-width: max-content !important;
    flex: none !important;
}

.sitelogo img {
    width: 100% !important;
    max-width: 165px !important;
    height: auto !important;
    display: block !important;
}

.searchbar {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    flex: none !important;
}

form#searchForm,
.header-search {
    width: 100% !important;
}

.headerlink {
    width: auto !important;
    min-width: max-content !important;
    margin-left: 0 !important;
    justify-self: end !important;
    flex: none !important;
}

.headerlink > ul,
.header-utility-list {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media screen and (min-width: 650px) and (max-width: 991px) {
    .siteheader {
        grid-template-columns: auto minmax(140px, 1fr) auto !important;
        gap: 8px !important;
    }

    .searchbar {
        display: block !important;
        min-width: 140px !important;
    }
}

@media screen and (max-width: 649.98px) {
    .siteheader {
        grid-template-columns: auto auto !important;
        gap: 8px !important;
    }

    .searchbar {
        display: none !important;
    }
}
}