/*
Theme Name: Jalinstore
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/


/*************** ADD CUSTOM CSS HERE.   ***************/
@font-face {
    font-family: 'Handayani';
    src: url('fonts/handayani.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.entry-content.single-page {
    padding-top: 0;
}

.nav-pagination>li>a,
.nav-pagination>li>span {
    border: 1px solid;
    border-radius: 0;
    font-size: 13px;
    font-weight: 400;
}

.single-post p {
    margin-bottom: 20px;
}

.fr-lienhe form#fluentform_1 {
    background: #d8e3d5;
    padding: 50px;
    border-radius: 15px;
}

span.tagged_as {
    display: none;
}

.textOutline {
    color: #fff;
    text-shadow: -1px -1px 0 #006747, 1px -1px 0 #006747, -1px 1px 0 #006747, 1px 1px 0 #006747;
    font-size: 45px;
}

.textOutline h4 {
    color: #fff;
    margin-bottom: 0;
}

.nav-dropdown>li.nav-dropdown-col {
    display: block
}

.nav-dropdown {
    border: 1px solid #ddd;
    padding: 0
}

.nav-dropdown .nav-dropdown-col>a,
.nav-dropdown li a {
    font-weight: normal !important;
    text-transform: none !important;
    font-size: 15px;
    font-weight: 500
}

.nav-dropdown-default>li a,
.nav-dropdown .nav-dropdown-col>ul li>a {
    position: relative;
}

/*.nav-dropdown-default>li:hover>a, .nav-dropdown .nav-dropdown-col>ul li:hover>a{
    color:#006747;
}*/
.nav-dropdown-default>li a:before,
.nav-dropdown .nav-dropdown-col>ul li>a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #006747;
    transition: 0.3s;
}

.nav-dropdown-default>li:hover>a:before,
.nav-dropdown .nav-dropdown-col>ul li:hover>a:before {
    width: 50%;
}

.nav-dropdown-default>li>a {
    border-bottom: 0 !important
}

.nav-dropdown-has-arrow li.has-dropdown:before {
    border-width: 10px;
    margin-left: -10px;
}

.nav-dropdown .nav-dropdown-col>ul {
    border: 1px solid #d2d2d2;
    margin-top: -51px;
    display: none;
    position: absolute;
    left: 100%;
    z-index: 9;
    background: white;
    min-width: 240px;
}

.nav-dropdown>li.nav-dropdown-col {
    width: 100%;
    border-right: 0
}

.nav-dropdown .menu-item-has-children>a,
.nav-dropdown .nav-dropdown-col>a,
.nav-dropdown .title>a {
    color: rgba(74, 74, 74, .85);
}

.nav-column li.active>a,
.nav-column li>a:hover,
.nav-dropdown li.active>a,
.nav-dropdown>li>a:hover,
.nav-vertical-fly-out>li.active>a,
.nav-vertical-fly-out>li>a:hover,
.nav>li.active>a,
.nav>li.current>a,
.nav>li>a.active,
.nav>li>a.current,
.nav>li>a:hover {
    color: rgba(74, 74, 74, .85);
}

.nav-dropdown .nav-dropdown-col>ul li a {
    text-transform: none;
    color: rgba(74, 74, 74, .85);
}

.header-nav li.nav-dropdown-col:hover>ul {
    display: block !important
}

.active>ul.children,
.active>ul.sub-menu:not(.nav-dropdown) {
    display: none !important;
}

.nav-dropdown-default>li:hover>a,
.nav-dropdown .nav-dropdown-col>ul li:hover>a {
    color: #006747;
}

.bdr-5 img {
    border-radius: 15px;
}

.header-nav li.nav-dropdown-col:hover>ul {
    display: block !important
}


button.ux-buy-now-button.button.primary.ml-half {
    width: 100%;
    background: #d8e3d5;
    color: #006747;
    padding: 8px;
    font-weight: bold;
}

.count-up {
    font-size: 48px;
    font-weight: bold;
}

.related-categories {
    background: #e2f2e1;
    padding: 15px 0px;
    border-bottom: 1px solid #006747;
}

ul.related-product-categories {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    font-size: 15px;
    margin-bottom: 0;
}

ul.related-product-categories li {
    margin-bottom: 0;
}

ul.related-product-categories li a {
    color: #000;
}

/*Workshop*/
form#fluentform_2 {
    background: #ffff;
    padding: 40px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    border-radius: 8px;
}

form.fluent_form_2 .ff-btn-submit:not(.ff_btn_no_style) {
    background: #006747 !important;
    font-size: 15px;
    margin: 0;
    width: 100%;
}

select#ff_2_2_dropdown {
    line-height: 1.4;
}

.categories-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.woocommerce-result-count,
.woocommerce-ordering,
.woocommerce-ordering select {
    margin: unset;
}

.comment-form>p {
    font-size: 14px;
}

input[type=email],
input[type=number],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
textarea,
.button,
button,
fieldset,
input,
select {
    border-radius: 5px;
    box-shadow: none;
}

.button,
button,
fieldset,
input,
select,
textarea {
    box-shadow: none;
}

label,
legend {
    font-weight: 500;
}

.button,
button,
input[type=button],
input[type=reset],
input[type=submit] {
    border-radius: 5px;
}

div#masthead {
    background-image: linear-gradient(#ffffffe6), url(https://jalinstore.123websitedev.com/wp-content/uploads/2026/01/banner-qua-tang-doanh-nghiep-trang-chu-3-711x400.jpg);
}

.badge,
.badge+.badge {
    width: auto;
    height: auto;
    text-transform: uppercase;
}

.badge-circle,
.badge-outline,
.badge-circle+.badge {
    margin: 0;
}

.badge-inner.on-sale,
.badge-inner.new-bubble {
    font-size: 14px;
    padding: 8px 15px;
    display: block;
    margin-bottom: 5px;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

ul.social-ft {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    margin-bottom: 20px;
    gap: 5px;
}

.container.section-title-container {
    margin-bottom: 0;
}

ul.social-ft li {
    margin: 0;
}

.button,
button,
input[type=button],
input[type=reset],
input[type=submit] {
    font-weight: normal;
}

p.woocommerce-mini-cart__buttons.buttons a {
    font-size: 13px;
}

[data-icon-label]:after {
    background-color: #b10d0a;
}

li.header-search-form.search-form.html.relative.has-icon input#woocommerce-product-search-field-0 {
    height: 35px;
    border-radius: 5px;
    box-shadow: none;
}

.header-search-form-wrapper {
    margin-right: 48px;
}

span.widget-title.shop-sidebar {
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    padding-bottom: 1rem;
    margin-bottom: 10px;
    color: #000;
    text-transform: uppercase;
    border-bottom: 1px solid #d1d1d1;
    display: block;
}

p.stock.out-of-stock {
    display: inline-block;
    text-transform: uppercase;
    background: #cb3535;
    padding: 5px 25px;
    color: #fff;
    border-radius: 5px;
    font-size: 14px;
}

.header-bottom-nav>li>a {
    font-weight: 500 !important;
}

#wide-nav .flex-col.hide-for-medium.flex-center {
    width: 100%;
}

#wide-nav .flex-col.hide-for-medium.flex-center .nav-center {
    justify-content: space-between;
}

.slider-nav-simple button {
    display: none;
}

#footer p,
#footer a {
    font-size: 14px;
}

.absolute-footer.dark {
    color: hsla(0, 0%, 100%, .8);
    font-size: 13px;
    padding: 10px 0px;
}

li.html.custom.html_topbar_left {
    font-size: 15px;
}

li.html.custom.html_topbar_left strong {
    color: #006747;
    font-weight: bold;
}

.section-title-normal span {
    border-bottom: none;
    margin-bottom: 0;
    margin-right: 0;
    padding-bottom: 0;
}

.brr-lr {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    overflow: hidden;
}

.product-small .col-inner {
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

p.name.product-title.woocommerce-loop-product__title a {
    color: #000;
    font-weight: 500;
}

form#fluentform_1 input,
form#fluentform_1 textarea {
    border: 1px solid;
    box-shadow: none;
    outline: none;
    border-radius: 5px;
}

form#fluentform_1 button {
    border: none;
    margin: 0;
    background: #006747;
    font-size: 15px;
    border-radius: 5px;
}

/* Custom Search Form Styles */
.searchform .flex-col.flex-grow {
    position: relative;
}

.searchform .flex-col.flex-grow span {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    color: #666;
    display: flex;
    align-items: center;
}

.searchform .search-field {
    padding-left: 40px !important;
}

a.nav-top-link.nav-top-not-logged-in.icon.primary.button.round.is-small.icon.primary.button.round.is-small,
a.header-cart-link.nav-top-link.icon.primary.button.round.is-small {
    color: #10634e;
    background-color: #d8e3d5;
}

.page-header-ct {
    background: linear-gradient(#d8e3d5f0), url(https://jalinstore.123websitedev.com/wp-content/uploads/2026/01/banner-khoa-hoc-nen-thom.jpg) no-repeat;
    padding: 25px 0px;
    background-size: cover;
    background-position: center;
}

.page-header-inner p#breadcrumbs {
    font-size: 14px;
}

.page-header-inner h1 {
    font-size: 25px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

/*Single*/
.single-post h1.entry-title {
    font-size: 45px;
    word-break: break-word;
    margin: 5px 0 15px;
}

blockquote h2 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 15px 0 0;
}

h6.entry-category.is-xsmall a {
    color: #006747;
    font-size: 13px;
    text-transform: uppercase;
}

.entry-header-text.text-center {
    padding-left: 1.5em;
    padding-right: 1.5em;
    margin-bottom: 30px;
}

.badge.post-date .badge-inner {
    padding: 8px;
    background: #006747;
    color: #fff;
    font-size: 15px;
    border: none;
}

.page-header-sg p#breadcrumbs {
    font-size: 14px;
    line-height: 24px;
    color: #000;
    justify-content: flex-start;
    padding: 20px 0px 10px 0px;
    margin: 0;
}

.blog-posts .box-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.blog-posts .box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-archive .image-cover {
    padding-top: 100% !important;
    border-radius: 5px;
}

/*Blog Loop*/
.blog-card {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    transition: transform .3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
}

/* IMAGE */
.blog-card__thumb {
    display: block;
    overflow: hidden;
    border-radius: 16px;
}

.blog-card__thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .4s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

/* CONTENT */
.blog-card__content {
    padding: 16px 4px 0;
}

/* META */
.blog-card__meta {
    display: flex;
    gap: 18px;
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

.meta-icon {
    width: 14px;
    height: 14px;
    fill: #bbb;
}

/* TITLE */
.blog-card__title {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    color: #111;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ARROW BUTTON */
.blog-card__arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e5e5e5;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #111;
    transition: all .25s ease;
}

.blog-card__arrow:hover {
    border-color: #006747;
    background: #006747;
    color: #fff;
}

.nav-dropdown-has-border .nav-dropdown,
.nav-dropdown .nav-dropdown-col>ul {
    border-radius: 15px;
    padding: 15px 0px 15px 15px;

}

h3.title-related {
    text-align: center;
    font-size: 28px;
    margin-top: 15px;
}

/* ===== BUTTON ===== */
.btn-open-popup {
    padding: 5px 21px;
    border-radius: 999px;
    background: #006747;
    color: #fff;
    font-weight: 500;
    font-size: 13px;
    transition: all .25s ease;
}

.btn-open-popup:hover {
    background: #000;
    transform: translateY(-1px);
}

/* ===== MODAL BASE ===== */
.tw-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* OVERLAY */
.tw-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, .6);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .3s ease;
}

/* PANEL */
.tw-modal-panel {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .15);
    transform: scale(.95) translateY(20px);
    opacity: 0;
    transition: all .3s ease;
}

/* ACTIVE STATE */
.tw-modal.is-open {
    pointer-events: auto;
}

.tw-modal.is-open .tw-modal-overlay {
    opacity: 1;
}

.tw-modal.is-open .tw-modal-panel {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* TITLE */
.tw-modal-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111827;
}

.tw-modal-desc {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
}

/* CLOSE */
.tw-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 30px;
    padding: 0;
    border-radius: 50px;
    background: #ddd;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    margin: 0;
}

.tw-modal-close svg {
    width: 15px;
    height: 15px;
    display: block;
    margin: 0;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    pointer-events: none;
}

.tw-modal-close:hover {
    background: #f3f4f6;
    color: #111827;
}

.tw-modal-panel {
    transition: transform .35s cubic-bezier(.4, 0, .2, 1),
        opacity .35s cubic-bezier(.4, 0, .2, 1);
}


/*Sidebar*/
div#shop-sidebar>aside {
    border: 1px solid #d1d1d1;
    padding: 15px;
    border-radius: 15px;
}

.product-gallery-slider img,
.product-thumbnails img,
.product-thumbnails a {
    border-radius: 15px;
}

li#tab-title-reviews {
    border-top-right-radius: 15px;
    overflow: hidden;
}

li#tab-title-description {
    border-top-left-radius: 15px;
    overflow: hidden;
}

form.checkout.woocommerce-checkout .col-inner.has-border {
    border-radius: 15px;
}

.is-well.col-inner.entry-content {
    border-radius: 15px;
}

.brd-15 {
    border-radius: 15px;
    overflow: hidden;
}

del span.amount,
.price del {
    color: #5a5a5a !important;
}

.label-sale.menu-item>a:after {
    margin-left: 6px;
    background-color: #c5280a;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;

    animation: saleBlink 1s infinite;
}


/* Dòng trên: bám vào tâm, chạy sang trái */
ul.header-nav.header-nav-main.nav.nav-left.nav-uppercase {
    justify-content: space-between;
}

.sole .top {
    font-weight: normal;
    grid-column: 1;
    text-align: right;
    padding-right: 84px;
    color: #006747;
}

/* Dòng dưới: bám vào tâm, chạy sang phải */
.sole .bottom {
    grid-column: 2;
    text-align: left;
}


.sole {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 30px;
    padding-left: 40px;
    font-family: 'Handayani';
    line-height: 1.2;
}

.stuck .sole {
    font-size: 20px;
}

@keyframes saleBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .35;
    }
}

.section-title-normal {
    border-bottom: none;
}

@media only screen and (max-width: 48em) {
    form#fluentform_2 {
        margin: 25px 0px;
    }

    ul.related-product-categories {
        display: flex;
        align-items: center;
        gap: 10px;

        list-style: none;
        font-size: 15px;
        margin-bottom: 0;
        padding-bottom: 6px;

        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;

        -webkit-overflow-scrolling: touch;
        /* mượt trên mobile */
    }

    .blog-single {
        padding: 0;
    }

    .post {
        margin: 0;
    }

    ul.social-ft {
        justify-content: start;
    }

    ul.social-ft li {
        width: 35px;
    }

    .single-post h1.entry-title {
        font-size: 25px;
        word-break: normal;
    }

    .entry-header-text.text-center {
        padding: 0;
    }

    /*************** ADD MOBILE ONLY CSS HERE  ***************/

}

ul.sub-menu.nav-dropdown.nav-dropdown-default .menu-item-has-children i {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

/* Style for sub-menu icon in 2nd level */
.nav-dropdown>.menu-item-has-children>a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.nav-dropdown>.menu-item-has-children>a i.icon-angle-right {
    margin-left: 10px;
    font-size: 15px;
}