@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

:root {
    --aBlue: #1F3C88;
    --aRed: #E1251B;
    --aWhite: #ffffff;
    --aLightWhite: #ffffffBF;
    --aLightGray: #F5F5F5;
    --aMediumGray: #9E9E9E;
    --aDarkGray: #212121;
    --aLightBlack: #212121BF;
    --aDarkBlue: #142A66;
    --aLightBlue: #4A6FD6;
    --baiJamjuree: "Bai Jamjuree", sans-serif;
    --inter: "Inter", sans-serif;
}

/* Before navbar starts */
.ap-before-nav-blue {
    background-color: var(--aDarkBlue);
    padding: 8px 0px;
}

.ap-before-nav-container {
    max-width: 1240px;
    margin: auto;
    display: flex;
    gap: 16px;
    padding: 0px 24px;
}


.ap-socialmedia img {
    width: 25px;
    height: 25px;
}

@media (max-width: 768px) {
    .ap-before-nav-container {
        padding: 0px 16px;

    }
}

@media (max-width: 576px) {
    .ap-before-nav-container {
        gap: 8px;
    }

    .ap-socialmedia img {
        width: 20px;
        height: 20px;
    }
}

/* Before navbar ends */


/* Navigation css */
.custom-navigation {
    background-color: var(--aWhite);
}

.ap-navbar-container-wrapper {
    max-width: 1240px;
    height: 80px;
    margin: auto;
    padding: 0px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ap-logo-container-image {
    width: 86px;
    height: 56px;
}

.ap-logo-container-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.navbar-container-list {
    margin: 12px auto;
}

.nav-ul {
    display: flex;
    margin-bottom: 0;
    align-items: center;
    position: relative;
    padding: 0px !important;
}

.nav-ul>li {
    list-style: none;
    padding: 10px 0px;
    cursor: pointer;
    position: relative;
}

.nav-ul>li:not(:last-child)::after {
    content: "|";
    margin: 0 16px;
    color: var(--aDarkGray);
}

.nav-ul li a {
    text-decoration: none;
    color: var(--aWhite);
    font-family: var(--baiJamjuree);
    font-size: 16px;
    font-weight: 400;
}

.navbar-container-list>ul>li>a:hover {
    color: var(--aRed);
    opacity: 1;
    border-bottom: 1px solid var(--aRed);
}

.nav-ul>li>ul {
    list-style: none;
    display: none;
    position: absolute;
    left: 0;
    top: 40px;
    background-color: var(--aRed);
    width: 850px;
    left: -200px;
    box-shadow: 0 5px 5px -3px rgb(0 0 0 / 20%), 0 8px 10px 1px rgb(0 0 0 / 14%),
        0 3px 14px 2px rgb(0 0 0 / 12%);
    z-index: 100;
    padding: 16px !important;
    border-radius: 4px;
}

.nav-ul>li>ul>li {
    width: 260px;
    margin-bottom: 12px;
}

.nav-ul>li>ul>li>a {
    /*   display: block; */
    font-size: 16px;
    font-weight: 400;
    font-family: var(--baiJamjuree);
    line-height: 1.2;
    color: var(--aWhite);

}

.navbar-container-list>ul>li:hover>ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0px 4px;
}

.nav-ul>li>ul>li>a:hover {
    border-bottom: 1px solid var(--aWhite);
}



.nav-ul>li>ul>li>ul {
    list-style: none;
    padding-left: unset !important;
}







.navbar-call-us {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    margin-bottom: auto;
}

.navbar-call-us .navbar-call-us-text {
    font-family: var(--baiJamjuree);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--aWhite);
    margin-bottom: unset !important;
}

.navbar-call-us-text-num {
    margin-bottom: 0px !important;
}

.navbar-call-us .navbar-call-us-text-num a {
    font-family: var(--baiJamjuree);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--aWhite);
    text-decoration: none;
}

.hamburger-icon {
    display: none;
}

.hamburger-icon img {
    width: 25px;
    height: 25px;
}

.after-menu-container {
    gap: 65px;
}

.custom-navigation {
    background-color: var(--aWhite) !important;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    z-index: 100;
    top: 0;
}

.custom-navigation .nav-ul li a {
    color: var(--aDarkGray);
}

.custom-navigation .nav-ul li ul li a {
    color: var(--aWhite) !important;
}

.nav-ul>li>ul>li>a {
    /* font-weight: 500; */
}

.nav-ul>li>ul>li>ul>li>a {
    opacity: 0.7;
}

.nav-ul>li>ul>li>ul>li a:hover {
    border-bottom: 1px solid var(--aWhite);
}

.custom-navigation .hamburger-icon img {
    filter: unset;
}

.custom-navigation .navbar-search img {
    filter: unset;
}

.custom-navigation .navbar-call-us .navbar-call-us-text-num a,
.custom-navigation .navbar-call-us .navbar-call-us-text {
    color: var(--aDarkGray);
}



@media (max-width: 992px) {
    .ap-navbar-container-wrapper {
        padding: 0px 16px;
    }

    .top-navbar-call-us {
        text-align: end;
        display: block;
    }

    .navbar-call-us {
        display: none;
    }

    .nav-ul {
        display: none;
        z-index: 100;
        flex-direction: column;
        position: absolute;
        left: 0;
        top: 80px;
        width: 100% !important;
        background-color: var(--aWhite);
        box-shadow: 0 5px 5px -3px rgb(0 0 0 / 20%), 0 8px 10px 1px rgb(0 0 0 / 14%),
            0 3px 14px 2px rgb(0 0 0 / 12%);
        padding: 0px 24px;
        padding-bottom: 12px;
    }

    .show {
        display: block !important;
    }

    .custom-navigation .show li ul li a {
        color: var(--aDarkGray) !important;
    }

    .hamburger-icon {
        display: block;
        cursor: pointer;
    }

    .nav-ul>li {
        position: relative;
        display: block;
        z-index: 100;
        padding: 10px 20px;
        margin-top: 0px;
        height: unset;
    }

    .nav-ul>li:hover>ul {
        flex-direction: column;
        display: flex;
        flex-wrap: wrap;
    }

    .nav-ul>li>ul {
        background-color: var(--aWhite);
        box-shadow: none;
        position: relative;
        top: 0;
        left: 0 !important;
        width: unset;
        padding: 16px 16px 0 !important;
    }

    .nav-ul>li>ul>li {
        width: 100% !important;
        padding: 4px 0;
        margin-bottom: unset !important;
    }

    .nav-ul li a {
        color: var(--aDarkGray);
    }

    .nav-ul>li>ul>li>a {
        color: var(--aDarkGray);

    }

    .nav-ul>li:not(:last-child)::after {
        display: none;
    }

    .nav-ul>li>ul>li>ul>li {
        padding: 4px 0;
    }

}

@media (max-width: 576px) {


    .after-menu-container {
        gap: 30px;
    }

}


@media (max-width: 320px) {}

/* End of the Navbar css  */

/* Footer css */

.ap-footer-container {
    width: 100%;
    height: 100%;
    background-color: var(--aDarkBlue);
}


.ap-footer-container-wrapper {
    max-width: 1240px;
    margin: auto;
    padding: 46px 8px 32px;
}

.ap-footer-image {
    width: 90px;
    height: 65px;
}

.ap-footer-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--aDarkBlue);

}

.ap-heading {
    font-family: var(--baiJamjuree);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--aWhite);
    margin: 16px 0px;
    text-transform: capitalize;
}

.ap-detail {
    font-family: var(--baiJamjuree);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--aLightWhite);
    margin-bottom: unset !important;
    max-width: 234px;
}

.ap-social-link {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.ap-social-link-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--aWhite);
    position: relative;
}

.ap-social-link-icon img {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ap-quick-link-container {
    margin-left: 24px;
}

.ap-contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ap-quick-link-heading,
.ap-contact-info-title,
.ap-location-title {
    font-family: var(--baiJamjuree);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--aWhite);
    text-transform: capitalize;
    margin-bottom: 30px;
}

.ap-quick-links-ul,
.ap-contact-info-ul {
    list-style: none;
    padding-left: unset !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: unset !important;
}

.ap-quick-links-ul li a {
    font-family: var(--baiJamjuree);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--aLightWhite);
    text-decoration: none;
}

.ap-quick-links-ul li a {
    text-transform: capitalize;
}

.ap-contact-info-ul p {
    font-family: var(--baiJamjuree);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--aWhite);
    text-decoration: none;
    margin-bottom: 6px !important;
}

.ap-contact-info-ul li,
.ap-contact-info-ul li a {
    font-family: var(--baiJamjuree);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--aLightWhite);
    text-decoration: none;
}

.ap-contact-info-ul li {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ap-contact-info-ul li img {
    width: 16px;
    height: 16px;

}

.ap-bottom-footer {
    padding: 16px 16px;
    background-color: var(--aRed);
}

.ap-bottom-text {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.ap-copyright-text,
.ap-handcraft-text {
    font-family: var(--baiJamjuree);
    font-size: 16px;
    line-height: 1.2;
    color: var(--aWhite);
    font-weight: 400;
    text-transform: capitalize;
    margin-bottom: unset !important;
}

.ap-handcraft-text a {
    text-decoration: none;
    color: var(--aWhite);
    font-weight: 600;
}

.ap-handcraft-text a:hover {
    text-decoration: underline;
}

.ap-copyright-text span {
    font-weight: 700;
}

.ap-custom-col-right,
.ap-custom-col {
    z-index: 1;
}

@media (max-width: 992px) {
    .ap-custom-col {
        margin-bottom: 24px !important;
    }

    .ap-custom-col-right {
        padding-right: 0px !important;
        margin-bottom: unset !important;
    }

    .ap-quick-link-heading,
    .ap-contact-info-title,
    .ap-location-title {
        margin-bottom: 16px;
    }
}

@media (max-width: 768px) {
    .ap-quick-link-container {
        margin-left: 0px;
    }

    .ap-copyright-text,
    .ap-handcraft-text {
        font-size: 14px;
    }

    .ap-contact-info-container {
        gap: 16px;
    }
}

@media(max-width: 578px) {
    .ap-bottom-text {
        flex-direction: column;
    }

    .ap-handcraft-text {
        margin-top: 12px;
    }

    .ap-quick-link-heading,
    .ap-contact-info-title,
    .ap-location-title {
        margin-bottom: 10px;
    }

    .ap-quick-links-ul li {
        margin-bottom: 4px;
    }



    .ap-social-link {
        margin-top: 16px;
    }

    .ap-product-info-ul,
    .ap-quick-links-ul,
    .ap-detail {
        margin-bottom: 0px !important;
    }

    .ap-detail {
        max-width: unset;
    }
}

/* End of the Footer css */


/* new search css */
.navbar-search {
    cursor: pointer;
}

.navbar-search-box {
    display: none;
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100%;
    max-width: 90%;
    margin: auto;
    border-radius: 8px;
    background-color: #f2f2f2;
    padding: 20px;
    z-index: 1000;
}

.navbar-search-color-block {
    display: flex;
    max-width: 500px;
    background-color: var(--aWhite);
    margin: auto !important;
    padding: 10px;
    border-radius: 16px;
}

.navbar-search-box input {
    display: flex;
    max-width: 500px;
    margin: auto !important;
    width: 100%;
    padding: 8px;
    color: #828282;
    border: unset !important;
    background-color: #f2f2f2;
    border-radius: 8px;
    font-family: var(--inter);
    font-size: 14px;
    line-height: 1.2;
}


/* 404 error */
/* 404page css */
.down_content_404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 42px 0px;
}

.down_content_404>h3 {
    text-align: center;
    font-family: "Inter", serif;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.6;
    color: var(--aRed);
    margin-bottom: 12px !important;
}

.down_content_404>p {
    font-family: var(--inter);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: capitalize;
    margin-bottom: 36px !important;
}

.page_404_btns a {
    font-family: var(--inter);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
    padding: 12px 24px;
    background-color: var(--aRed);
    color: var(--aWhite);
    border: 1px solid var(--aRed);
    transition: 0.3s;
    text-decoration: none;
}

.page_404_btns a:hover {
    background-color: var(--aWhite);
    border: 1px solid var(--aRed);
    color: var(--aRed);
}

/* end of the 404 page css */

/* new search page  */
.ap-search-result {
    margin: 20px 0px;
    font-family: var(--baiJamjuree);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    color: #000000;
}

.ap-search-not-found {
    margin: 20px 0px;
    font-family: var(--baiJamjuree);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    color: #000000;
}

@media (max-width: 992px) {
    .ap-search-result {
        font-size: 28px;
    }

    .ap-search-not-found {
        font-size: 18px;
    }
}

@media (max-width: 768px) {


    .ap-search-result {
        margin: 14px 0px;
        font-size: 24px;
    }

    .ap-search-not-found {
        margin: 14px 0px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .ap-search-result {
        font-size: 20px;
        margin: 10px 0px;
    }

    .ap-search-not-found {
        margin: 10px 0px;
        font-size: 14px;
    }
}


.current-active>a,
.custom-navigation>.nav-ul>li.current-active>a {
    color: var(--aRed) !important;
    border-bottom: 1px solid var(--aRed) !important;
}