h1, h2, h3, h4, h5, h6, a, p {
    word-break: break-word;
}

header span.bg-danger {
    background-color: #fb761f !important;
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    line-height: 11px;
    color: #fff;
    padding: 4px 6px;
    left: 32px !important;
    top: 10px !important;
}

.header-action-icon {
    display: flex;
    background-color: #043e54;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    text-align: center;
    position: relative;
    align-items: center;
    justify-content: center;
}

.dropdown-hover > .dropdown-toggle:active {
    pointer-events: none;
}

.search-form input {
    padding: 14px 10px;
}

.header-action-btn .header-btn:last-child {
    margin-left: 40px;
}

/* .header-btn {
    cursor: pointer;
    transition: 0.4s all ease;
    padding: 0px 64px 0px 0px;
} */
.header-btn {
    cursor: pointer;
    transition: 0.4s all ease;
    justify-content: space-between;
    /*padding: 0px 30px 0px 0px;*/
}

.header-btn:hover {
    background-color: #043e54;
    text-decoration: none;
    border-radius: 50px;
}

.form-register-now {
    font-size: 12px;
    color: #1b6ec2;
    margin-top: 20px;
    display: block;
}

.header-btn p {
    margin-left: 9px;
    font-size: 16px;
}

.header-action-btn {
    justify-content: space-evenly;
}

.register-from-btn {
    background-color: rgb(237, 108, 2);
    padding: 8px 16px;
    border: 1px solid rgb(237, 108, 2);
    text-transform: uppercase;
    border-radius: 4px;
}

.nav-item a {
    font-size: 15px;
    line-height: 17px;
}

.search-form input {
    padding: 14px 10px;
    font-size: 16px;
    line-height: 22px;
    outline: none;
}

.search-form input:focus {
    border-color: #035271 !important;
    box-shadow: unset !important;
}

.modal-title {
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
}

.header-menu ul .nav-item a {
    color: #fff;
    padding: 10px;
}

.header-menu .dropdown-menu {
    width: 600px;
    padding: 10px 15px;
    z-index: 3;
    background: #fff;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, .45);
    border: 3px solid #ffbb1c;
    font-size: 14px;
    line-height: 26px;
    max-height: 300px;
    overflow-y: auto;
}

.header-menu .dropdown-menu.right {
    right: 0px;
    width: 800px;
}

.header-menu .nav-item.dropdown .dropdown-menu .mega-list-group {
    margin: 20px;
}

.header-menu .nav-item.dropdown .dropdown-menu a {
    color: #575757;
    margin-bottom: 10px;
}

.header-menu .nav-item.dropdown .dropdown-menu a:last-child {
    margin-bottom: 0px;
}

.header-menu ul > li {
    position: relative;
}

.header-menu ul > li:hover > a:before {
    height: 5px;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    content: "";
    z-index: 1001;
    background-color: #ffbb1c;
}

.mega-list-group a {
    text-decoration: none;
    transition: 0.4s all;
}

.header-menu .nav-item.dropdown .mega-list-group a:hover {
    color: #035271;
}

.header-menu .nav-item.dropdown .dropdown-menu .row {
    margin-left: 0px;
}

.header-action-btn .register-from {
    margin-left: 9%;
}

.footer-desc {
    padding: 20px 15px;
}

/*--------------------------------------Footer Css--------------------------------------*/
footer {
    background-color: #043e54;
    padding: 35px 0px 10px 0px;
}

.footer-link ul li a {
    padding: 10px;
    display: block;
}

.scroll-top-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #ffff;
    color: #66717e;
    text-decoration: none;
    border-radius: 5px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .129);
    border: 1px solid #cbd2d9;
    border-radius: 40px;
}

.scroll-top-btn img {
    transform: rotate(270deg);
    margin-left: 5px;
}

/* main menu */
.navMenu {
    display: flex;
    list-style-type: none;
    padding: 0;
    flex-wrap: wrap;
}

.navMenu li a {
    padding: 10px;
    display: block;
}

.navMenu li a:hover .subMenu {
    display: flex;
}

.submenuChild {
    padding-left: 0;
}

.submenuChild li {
    padding: 0;
}

.subMenu {
    display: none;
    position: absolute;
    padding: 0;
    top: 100%;
    left: 0px;
}

.navMenu li:hover .subMenu {
    display: flex;
    flex-wrap: wrap;
}

.submenuChild li a {
    padding: 0 10px;
    margin: 0;
}

.navMenu li a {
    font-size: 15px;
    line-height: 17px;
    color: #fff;
    text-wrap: nowrap;
}

.accordian-inner.subMenu li a {
    color: #575757;
    margin-bottom: 10px;
}

.accordian-inner {
    gap: 10px;
}

.accordian-inner .submenuChild li {
    width: 100%;
}

.navMenu .subMenu.rightFace {
    width: 800px;
    right: 0px !important;
    left: unset !important;
}

.navMenu .subMenu {
    background: #fff;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, .45);
    border: 3px solid #ffbb1c;
    padding: 10px 15px;
    width: 600px;
    z-index: 2;
}

.navMenu li .subMenu > li .toggle {
    font-weight: 700 !important;
    position: relative;
}

.accordian-inner.subMenu li,
.subMenu li a {
    color: #575757;
    margin-bottom: 10px;
    display: block;
}

.navMenu li {
    position: relative;
}

.navMenu > li:hover > a:after {
    height: 5px;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    content: "";
    z-index: 3;
    background-color: #ffbb1c;
}

#navbarSupportedContent {
    position: relative;
}

.registerPopup {
    position: absolute;
    top: 70px;
    /*left: 27px;*/
    background-color: #fff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .15) !important;
    z-index: 2;
    padding: 20px;
    width: 100%;
    max-width: 335px;
    display: none;
}

.registerPopup::after {
    content: "";
    bottom: 100%;
    left: 70%;
    content: "";
    position: absolute;
    pointer-events: none;
    border: 10px solid transparent;
    border-bottom-color: #fff;
}

.registerPopup .modalHeader {
    display: flex;
    justify-content: space-between;
}

.registerPopup.show {
    display: block;
}

.registerBtn {
    display: flex;
    align-items: center;
}

/* mobileHeader */

.searcformBlock {
    display: none;
    padding-bottom: 10px;
}

#hamburger {
    display: none;
}

#hamburger {
    position: relative;
    width: 20%;
    display: none;
    z-index: 9;
    cursor: pointer;
}

#hamburger.open > div {
    background-color: transparent;
    position: relative;
}

#hamburger.open::after {
    content: "";
    position: absolute;
    top: 0px;
    transform: rotate(45deg);
}

#hamburger.open::before {
    content: "";
    position: absolute;
    top: 0px;
    transform: rotate(-45deg);
}

#hamburger > div {
    background: #fff;
    transition: all 0.4s ease-out;
    position: relative;
    height: 2px;
    width: 29px;
}

#hamburger::after,
#hamburger::before {
    content: "";
    position: absolute;
    height: 2px;
    width: 29px;
    background: #fff;
    transition: all 0.4s ease-out;
}

#hamburger::after {
    top: 10px;
}

#hamburger::before {
    top: -10px;
}

.headerBlock {
    display: flex;
    align-items: center;
}

.header-bottom .btn-close {
    display: none;
    position: absolute;
    right: 10px;
    opacity: 1;
}

.accordian-inner .pc-laptop-list {
    width: 28%;
}

.accordian-icon {
    border-bottom: 1px solid #dddddd;
}

.accordian-inner.submenuChild.show li a {
    padding: 8px 16px 16px;
    margin-bottom: 0px;
}

.photo-video-list {
    width: 28%;
}

.accordian-inner.subMenu li a {
    font-size: 14px;
}

.accordian-inner.subMenu {
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px;
}

.accordian-inner .photo-video-list {
    width: 28%;
}

.accordian-inner .pc-laptop-list, .accordian-inner .mobile-phone-list {
    width: auto;
}

.accordian-inner li {
    margin: 0;
    width: 30%;
}

form.search-form {
    width: 84.8%;
    text-align: center;
    margin-left: 20px;
}

.accordian-inner a.toggle {
    text-wrap: wrap;
}

.navbar-brand {
    height: 96px;
    display: flex;
    align-items: center;
}

@media (max-width: 992px) {
    /* 1199px */
    .navbar-brand {
        height: unset;
        display: unset;
        align-items: center;
    }

    .footer-link ul {
        margin-bottom: 0px;
    }

    .navMenu li .subMenu > li .toggle {
        margin-bottom: 0px;
    }

    nav.menu .navMenu li a {
        color: #000;
        padding: 13px 16px;
        font-size: 16px;
        line-height: 22px;
    }

    .header-bottom nav {
        display: none;
        position: absolute;
        z-index: 2;
        left: 0;
        right: 0;
        top: 13px;
        background: #fff;
        padding: 10px;
    }

    .header-bottom nav.menu {
        display: block;
        height: 100vh;
        background-color: #fff;
        position: fixed;
        top: 0px;
        z-index: 99;
        overflow: auto;
    }

    .submenuChild {
        display: none;
    }

    .navMenu {
        display: block;
        margin-top: 30px;
    }

    .subMenu {
        display: none;
        position: unset;
    }

    .navMenu li:hover .subMenu {
        display: block;
    }

    #hamburger {
        display: block;
    }

    .header-search.deskHeader {
        display: none;
    }

    .header-logo {
        width: 20%;
    }

    .header-action-btn p {
        display: none;
    }

    .header-btn {
        padding: 0;
        margin-right: 15px;
    }

    .header-action-btn .register-from {
        padding-left: 10px;
        margin: 0;
    }

    #navbarSupportedContent {
        position: relative;
        width: 30%;
    }

    .header-bottom .btn-close {
        display: block;
        background-size: 20px;
    }

    .navMenu .subMenu {
        width: 100%;
    }

    .accordian-inner li {
        width: 100%;
    }

    .navMenu .subMenu {
        box-shadow: unset;
        border-bottom: 1px solid #dbdbdb;
    }

    .accordian-inner.subMenu > li {
        border-bottom: 1px solid #dbdbdb;
        margin-bottom: 0px;
    }

    .headerBlock {
        position: relative;
    }

    #navbarSupportedContent {
        position: unset;

    }

    #navbarSupportedContent {
        width: 19%;
    }

    .registerPopup {
        top: 87px;
        left: unset;
        right: 30px;
    }

    .searcformBlock {
        display: block;
    }

    #navbarSupportedContent {
        width: 21%;
    }

    .accordian-icon {
        position: relative;
    }

    .accordian-icon:after, .navMenu li .subMenu > li .toggle:after {
        content: '';
        position: absolute;
        background-image: url(../images/download.svg) !important;
        background-repeat: no-repeat;
        background-size: 15px;
        background-position: center right;
        width: 25px;
        height: 15px;
        right: 16px;
        border: 0px !important;
        top: 15px;
    }

    .navMenu > li:hover > a:after {
        width: 0px;
    }

    .navMenu .subMenu {
        border: 0px solid;
        box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px;
    }

    .navMenu li:hover .subMenu {
        padding: 0px;
        margin-bottom: 16px;
        background-color: #0352711a;
    }

    .navMenu li .subMenu > li .toggle {
        font-weight: 400 !important;
        padding: 13px 16px;
    }

    .accordian-inner.subMenu > li {
        border-bottom: 1px solid #dbdbdb;
        width: 100%;
    }

    .header-action-btn {
        justify-content: flex-end;
    }

    .accordian-inner.submenuChild.show li a {
        color: #035271;
        font-size: 14px;
    }

    .accordian-inner.submenuChild.show li {
        margin-bottom: 0px;
    }

    form.search-form {
        width: 100%;
        margin-left: 0px;
    }
}

@media (max-width: 991px) {
    #navbarSupportedContent {
        width: 19%;
    }

    .registerPopup {
        top: 87px;
        left: unset;
        right: 30px;
    }

    .registerPopup::after {
        right: 11px;
        left: unset;
    }

}

@media (max-width: 767px) {
    #navbarSupportedContent {
        width: 33%;
    }

    .header-btn {
        margin-right: 0px;
    }

    .registerPopup {
        right: 0px;
    }

    .header-logo {
        width: 150px;
    }

    .navMenu .subMenu.rightFace {
        width: 100%;
    }
}

@media (max-width: 413px) {
    .header-logo {
        width: 35%;
    }
    .header-action-btn .header-btn:last-child {
        margin-left: 0px;
    }
}


/* Overlay styles */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Slightly darkened background */
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
}

/* Product grid styles */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.product {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    display: flex;
    min-height: 8rem;
}

.product > p {
    color: black;
}

.productImageOverlay {
    width: 8rem;
    height: 8rem;
    object-fit: contain;
}

.search-form-overlay {
    width: 90% !important;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .productImageOverlay {
        width: 4rem;
        height: 8rem;
        object-fit: contain;
    }

    .search-form-overlay {
        width: 80% !important;
    }

    .changeSortSelect {
        max-width: 5rem !important;
    }

    .imgLayout2 {
        max-height: 5rem !important;
        max-width: 3rem !important;
    }

    .headerLayout2 {
        font-size: 15px !important;
    }
}

@media (min-width: 768px) {
    .changeSortSelectLabel {
        min-width: 9rem !important;
    }
}
