/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/**************
    GLOBAL
**************/
.elementor-element svg.wd-icon, .img-wrapper .e-font-icon-svg{
    vertical-align: middle;
}

:is(.btn,.button,button,[type=submit],[type=button]){
    text-transform: inherit;
    text-align: inherit;
}

.wd-btn-icon .e-fas-arrow-up{
    transform: rotate(45deg) !important;
}

.btn-color-primary.btn-style-link{
    --btn-color: rgb(15,85,94) !important;
    --btn-color-hover: #765421 !important; 
}

.btn-color-primary.btn-style-link span.wd-btn-text{
    text-decoration: underline;
    text-underline-offset: 4px;
}

.jo-hepius-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid #ded5bd;
  border-radius: 10px;
  background: #f3ebd8;
}

.jo-hepius-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.jo-hepius-photo figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 14px;
  margin: 0;
  padding: 9px 14px;
  color: #4b5042;
  font-size: 12px;
  line-height: 1.5;
}

/******* Header ********/

/* Topbar */
.whb-top-bar .wd-header-text, .whb-top-bar .wd-header-text a{
    color: #f0e8b0;
    font-family: "SVN-Gotham Regular", Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 14px;
}

.whb-top-bar .wd-social-icons>a{
    color: #f0e8b0;
}

.jo-thong-bao-header > ul {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jo-thong-bao-header > ul > li {
    font-family: "SVN-Gotham Regular", Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 14px;
    margin: 0;
    padding: 0 20px;

    color: #f0e8b0;
    line-height: 1.5;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
}

/* Trước khi JS chạy, chỉ hiện thông báo đầu */
.jo-thong-bao-header > ul > li + li {
    display: none;
}

/* JS xếp chồng các thông báo để đo chiều cao và chuyển fade */
.jo-thong-bao-header.jo-topbar-ready > ul > li {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    visibility: hidden;
}



/* Middle bar */
.whb-column [class*=wd-header-search-form] {
    margin-left: auto;
}

.whb-general-header .wd-header-cart :is(.wd-cart-subtotal,.subtotal-divider,.wd-tools-count){
    vertical-align: text-top;
}

.wd-header-my-account span.wd-tools-inner{
    border: 1px solid  rgba(15, 85, 94, 1);
}
.whb-row .whb-vssfpylqqax9pvkfnxoz.wd-tools-element:hover .wd-tools-inner{
    border-color: rgba(110, 31, 42, 1);
}

.whb-general-header .wd-tools-element>a{
    padding-inline: 8px;
}

.whb-general-header .wd-tools-element:is([class*=wd-design-6],[class*=wd-design-7]) .wd-tools-inner {
    padding-inline: 20px;
}

.whb-general-header .wd-tools-element:is([class*=wd-design-6],[class*=wd-design-7]) :is(.wd-tools-inner,.wd-tools-icon){
    height: 50px;
}

/* Bottom bar */


/* Dropdow Mega Menu */
.wd-dropdown-menu.wd-design-default{
    padding: 6px;
}

.wd-dropdown-menu{
    border: 1px solid #dfcfab;
    border-radius: 10px;
    background: #fffdf6;
    box-shadow: 0 8px 20px #143c3520;
}

.wd-dropdown-menu.wd-design-default .wd-sub-menu li a{
    padding: 10px 12px;
    border-radius: 5px;
}

.wd-dropdown-menu.wd-design-default .wd-sub-menu li a:hover{
    background: #f0eee3;
    color: #333;
}

.wd-dropdown-menu.wd-design-default .wd-sub-menu li.current-menu-item a{
    background: #f0eee3;
    color: rgb(15,85,94);
}

/*** Mobile menu ***/
.wd-side-hidden.wd-opened{
    background: #fcfaf2;
    box-shadow: 14px 0 38px #06272830;
}

.wd-nav-mobile{
    padding: 0px 20px;
}

.close-side-widget .wd-action-text{
    display: none;
}

.close-side-widget .wd-action-icon{
    border: 1px solid #e5dcc6;
    border-radius: 50%;
    background: #fffdf7;
    width: 40px;
    height: 40px;
    padding: 0;
}

.close-side-widget .wd-action-icon::before{
    font-size: 16px;
    font-weight: 700;
}

.wd-nav-mobile>li>a{
    text-transform: inherit;
    font-family: "SVN-Gotham Regular", Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 12px;
}

.wd-nav-mobile>li>a:hover, .wd-nav-mobile>li.current-menu-item>a{
    text-decoration: underline;
    text-underline-offset: 4px;
}

.mobile-nav .wd-nav-opener{
    border-inline-start: none !important;
    border-radius: 5px;
}
.mobile-nav .wd-nav-opener.wd-active{
    background: #efeadd !important;
    color: #0d545e !important;
}

.wd-nav-mobile>li>ul li>a{
    text-transform: inherit;
    font-family: "SVN-Gotham Regular", Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 14px;
    padding: 8px 12px !important;
    border-bottom: none !important;
}

.wd-nav-mobile>li>ul li>a:hover, .wd-nav-mobile>li>ul li.current-menu-item>a{
    background: #f0eee3;
    text-decoration: none;
}

.wd-nav-mobile>li.nav-shop>a{
    margin-bottom: 8px;
    border-radius: 7px;
    background: #0d545e;
    color: #fffdf6;
    font-weight: 750;
} 
.wd-nav-mobile>li.nav-shop>a:hover{
    color: #fffdf6;
    background: #0d363e;
    text-decoration: none;
}

.wd-nav-mobile>li>:is(.wd-sub-menu,.sub-sub-menu), .wd-nav-mobile>li>ul li>:is(.wd-sub-menu,.sub-sub-menu){
    width: auto;
    margin: 0 0 10px 12px;
    padding: 0 0 0 8px;
    border: 0;
    border-left: 1px solid #d9bf89;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/******* Main Content *******/

/** HOME PAGE **/

/* Hero */
.jo-slider-hero  .jo-heading-gradient {
    font-size: clamp(26px, 4.5vw, 50px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0;
}

.jo-slider-hero  .jo-logo-slider{
    margin-top: 15px;
}

/* Mỗi dòng có gradient riêng */
.jo-heading-gradient > span {
    display: inline-block;
    padding-block: 0.08em;

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Xanh ngọc đậm */
.jo-heading-gradient .jo-text-green {
    color: #073f37;
    background-image: linear-gradient(
        180deg,
        #176254 0%,
        #073f37 45%,
        #002b25 100%
    );
}

/* Vàng đồng */
.jo-heading-gradient .jo-text-gold {
    color: #bd7b12;
    background-image: linear-gradient(
        180deg,
        #edbd55 0%,
        #d99a24 35%,
        #b87710 70%,
        #885006 100%
    );
}

/* Hiệu ứng chung cho hai dòng */
.wd-slide-inner .jo-heading-gradient > span {
    animation: jo-heading-appear 2s
        cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Dòng vàng xuất hiện trước */
.wd-slide-inner .jo-heading-gradient > .jo-text-gold {
    animation-delay: 0.3s;
}

/* Dòng xanh xuất hiện sau */
.wd-slide-inner .jo-heading-gradient > .jo-text-green {
    animation-delay: 0.55s;
}

/* Nền tiêu đề trên tất cả thiết bị */
.wd-slide-inner .jo-heading-gradient {
    box-sizing: border-box;
    padding: 24px 28px;

    background: linear-gradient(
        135deg,
        rgba(255, 253, 241, 0.65),
        rgba(247, 245, 237, 0.80)
    );

    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(7, 63, 55, 0.08);
}

/* Vàng đồng đậm hơn trên nền sáng */
.wd-slide-inner .jo-heading-gradient > .jo-text-gold {
    background-image: linear-gradient(
        180deg,
        #d69b29 0%,
        #ad6c08 60%,
        #855006 100%
    );
}

@keyframes jo-heading-appear {
    from {
        opacity: 0;
        transform: translate3d(0, 24px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Tôn trọng cài đặt giảm chuyển động */
@media (prefers-reduced-motion: reduce) {
    .wd-slide-inner .jo-heading-gradient > span {
        animation: none;
    }
}


/* Section Benefits 3 khối */
/* Cho phép góc gradient chuyển động mượt */
@property --jo-border-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

/* Cân chiều cao các ô Grid */
.jo-benefits-grid,
.jo-benefits-grid > .e-con-inner {
    align-items: stretch;
    grid-auto-rows: 1fr;
}

/* Khối nội dung */
.jo-benefit-card {
    position: relative;
    isolation: isolate;
    box-sizing: border-box;

    height: auto;
    min-width: 0;
    align-self: stretch;

    border: 1px solid rgba(204, 158, 66, 0.55);
    border-radius: 26px;

    background: linear-gradient(
        135deg,
        #fffdf5 0%,
        #faf5e5 100%
    );

    box-shadow: 0 4px 18px rgba(7, 63, 55, 0.04);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.jo-benefit-card .wd-info-box{
    padding: 20px 15px;
}

/* Viền sáng: chỉ phủ lên mép, không che nội dung */
.jo-benefit-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    padding: 2px;
    border-radius: inherit;
    pointer-events: none;

    background: conic-gradient(
        from var(--jo-border-angle),
        #c99a42 0%,
        #c99a42 65%,
        #f0d38a 78%,
        #fff7cf 85%,
        #d9aa50 92%,
        #c99a42 100%
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;

    opacity: 0;
    transition: opacity 0.35s ease;
}

/* Hover hoặc focus vào liên kết bên trong */
.jo-benefit-card:hover,
.jo-benefit-card:focus-within {
    transform: translateY(-4px);
    border-color: #c99a42;
    box-shadow: 0 12px 28px rgba(7, 63, 55, 0.09);
}

.jo-benefit-card:hover::after,
.jo-benefit-card:focus-within::after {
    opacity: 1;
    animation: jo-border-shine 3s linear infinite;
}

@keyframes jo-border-shine {
    to {
        --jo-border-angle: 360deg;
    }
}



/* Giảm chuyển động theo cài đặt thiết bị */
@media (prefers-reduced-motion: reduce) {
    .jo-benefit-card {
        transition: none;
    }

    .jo-benefit-card:hover,
    .jo-benefit-card:focus-within {
        transform: none;
    }

    .jo-benefit-card::after {
        animation: none !important;
        transition: none;
    }
}

.wd-info-box .info-box-content .info-btn-wrapper{
    margin-top: 10px;
}

.jo-benefit-card .wd-info-box .info-box-content .info-btn-wrapper .btn-style-link{
    color: #815b21;
    font-size: 14px;
}
.jo-benefit-card .wd-info-box .info-box-content .info-btn-wrapper .btn-style-link:hover{
    text-decoration: underline !important;
}
.btn.btn-style-link{
    --btn-brd-width: 0px !important;
}

/** Section KHÁM PHÁ CÔNG NGHỆ **/
.jo-video-thumb{
    margin: auto;
}

.jo-video-thumb .wd-el-video:is(.wd-action-overlay,.wd-action-without){
    border-radius: 25px;
    border: 2px solid rgba(204, 158, 66, 0.55);
    background: linear-gradient(135deg, #fffdf5 0%, #faf5e5 100%);
    box-shadow: 0 4px 18px rgba(7, 63, 55, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.jo-video-thumb .wd-el-video-overlay:after{
    background-color: rgb(7 63 55 / 10%);
}


.jo-section-title .title-subtitle{
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    line-height: 1;
    white-space: nowrap;
}

.jo-section-title .title-subtitle::after {
    content: "";
    position: static;
    display: block;
    flex: 0 0 70px;
    width: 70px;
    height: 2px;
    margin: 0;

    background: linear-gradient(
        to right,
        #b58a43,
        transparent
    );
}





/* Section sản phẩm lưới */
.wd .product-label{
    text-transform: inherit;
}

.wd-loop-builder-off .wd-product-wrapper > :not(.wd-product-thumb){
    margin-left: 10px;
    margin-right: 10px;
}

.jo-promo-banner .promo-banner .banner-image :is(img,picture,video){
    min-height: 220px;
}

.jo-promo-banner .promo-banner :is(.banner-subtitle,.banner-title,.banner-inner):not(:first-child){
    margin-top: 0;
}

.jo-promo-banner .promo-banner .banner-inner p{
    margin: 0;
}

.jo-promo-banner .promo-banner .banner-inner .combo-text{
    font-family: "UTMAmericanaEB", Sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

.jo-promo-banner .promo-banner .banner-btn-wrapper {
    margin-top: 5px;
}

.jo-promo-banner-hop-qua .promo-banner .banner-title{
    margin-top: 5px !important;
    margin-bottom: 20px;
}

/* Thêm icon dấu cộng qua font của WoodMart */
.wd-product.wd-hover-icons .wd-buttons{
    background: none;
    box-shadow: none;
    gap: 10px;
}

.wd-product-wrapper .wd-buttons .wd-action-btn a{
    background-color: #fff;
    border-radius: 100%;
    border: none;
}

.wd-product-wrapper .wd-buttons .wd-action-btn a:hover{
    background-color: rgba(110, 31, 42, 1);
}

.wd-product-wrapper .wd-buttons .wd-action-btn a:hover .wd-action-icon:before{
    color: #fff;
}

.wd-buttons .custom-detail-btn a .wd-action-icon:before {
    content: "\f143"; /* Mã Unicode của icon font plus trong WoodMart */
    font-family: "woodmart-font"; 
    font-size: 12px;
}

.wd-buttons a .wd-action-icon:before{
    font-size: 14px;
    color: #000;
    font-weight: 700;
}

/* Section - Hồ sơ nguồn gốc */
.jo-ho-so-nguon-goc{
    background: radial-gradient(ellipse at 0 100%, #21555a, transparent 63%), #0d363e;
}

.jo-title-section .title-subtitle{
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
    letter-spacing: .10em !important;
}

.jo-title-section .title-subtitle::before {
    content: "";
    width: 24px;
    height: 1px;
    background: #B08D57;
}

.jo-ho-so-nguon-goc .title-subtitle::before{
    background: #F2D79B;
}

.jo-box-link-gbw .box-with-text.text-size-small {
    font-size: 16px;
    font-family: Georgia, serif;
}

.jo-box-link-gbw [class*=box-icon-with-].box-with-text .info-box-icon{
    padding: 0 10px;
    min-width: 38px;
    height: 38px;
    border-radius: 100px;
    line-height: 38px;
    border: 1px solid #deca9a;
    border-radius: 9px;
    font-size: 16px;
    font-weight: 700;
}

.jo-box-link-gbw .wd-info-box .info-box-content .wd-button-wrapper .btn-style-link{
    text-align: left;
    color: #0b5b65;
    text-transform: inherit; 
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.jo-box-link-gbw .wd-info-box .info-box-content .wd-button-wrapper .btn-style-link:hover{
    color: #765421;
}

.jo-box-link-gbw .wd-info-box .info-box-content .wd-button-wrapper .btn-style-link .wd-btn-text{ 
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Blog */
.wd-posts .wd-post .wd-post-title{
    font-size: 18px;
    font-family: 'SVN-GilroyBold';
}


.post-single-page .wd-single-post-header{
    align-items: flex-start;
    gap: 10px;
    text-align: left;
}

.post-single-page .wd-single-post-header .wd-post-meta{
    display: none;
}

.post-single-page .wd-single-post-header .wd-post-image{
    display: none;
}

/* Kiến thức sâm - trang chủ */
.jo-blog-mask-on-image .blog-design-mask.has-post-thumbnail .wd-post-content{
    background: linear-gradient(180deg, transparent 5%, #0b2824b3 50%, #0b2824 100%);
}

.blog-design-small-images.has-post-thumbnail .wd-post-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.jo-blog-mask-on-image .blog-design-mask .wd-post-inner{
    border-radius: 18px;
    background: #173b32;
    isolation: isolate;
}

.jo-blog-mask-on-image .wd-post-thumb::after {
    z-index: -1;
    content: "";
    background: linear-gradient(180deg, transparent 25%, #0b282477 54%, #0b2824 100%);
}

.jo-blog-mask-on-image .blog-design-mask .wd-post-content{
    padding: 50px 25px 20px 25px !important;
}

.jo-blog-mask-on-image .wd-post-inner .wd-post-cat.wd-style-with-bg{
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 7px;
    background: #f3dfae;
    color: #4a361b;
    font-size: 16px;
    font-weight: 750;
    text-transform: uppercase;
}

.jo-blog-mask-on-image .wd-post .wd-post-title{
    color: #fff9ec;
    font-size: clamp(22px, 3.25vw, 45px);
    text-align: left;
    line-height: normal;
}

.wd-post-content{
    text-align: left !important;
    align-items: start !important;
}

.jo-blog-small .wd-post .wd-post-title{
    font-size: 16px;
    font-weight: 700;
}

.wd-post .wd-post-title:hover{
    text-decoration: underline;
    text-underline-offset: 4px;
}

.jo-blog-small .wd-grid-g{
    gap: 25px;
}

/* Giới hạn chiều rộng tối đa của khung chứa ảnh thumbnail xuống 88px */
.jo-blog-small .blog-design-small-images.has-post-thumbnail :is(.wd-post-thumb) {
    flex: 0 0 150px;
    max-width: 150px;
    width: 150px;
}

/* Ép phần nội dung chữ bên cạnh giãn nở tự động chiếm hết phần còn lại */
.jo-blog-small .blog-design-small-images.has-post-thumbnail :is(.wd-post-content) {
    flex: 1 0 calc(100% - 150px);
    max-width: calc(100% - 150px);
}

/* Đảm bảo thẻ img bên trong co giãn đúng chuẩn bên trong khung 88px */
.jo-blog-small .blog-design-small-images .wd-post-thumb img {
    width: 100%;
    height: auto;
    max-width: 150px;
    border-radius: 8px;
}

.blog-design-small-images.blog-style-flat .wd-post-content{
    padding: 0px 0px 0px 15px !important;
}

.wd-post-inner .wd-post-cat.wd-style-with-bg{
    background: none;
    padding: 0;
    height: auto;
    line-height: normal;
}

.wd-post-inner .wd-post-cat.wd-style-with-bg a{
    color: #B58A43;

}


/* Đối tác - trang chủ */
.jo-carousel-doitac .wd-carousel-wrap{
    align-items: center;
}

.jo-carousel-doitac .wd-carousel-wrap .box-icon-wrapper{
    display: grid;
    place-items: center;
    flex: 1 1 0;
    min-width: 0;
    min-height: 104px;
    padding: 11px;
    border: 1px solid #e7dfcf;
    border-radius: 12px;
    background: #fff;
}

.jo-carousel-doitac .wd-carousel-wrap .info-box-icon img{
    width: auto;
    height: auto;
    max-width: min(100%, 142px);
    max-height: 111px;
    padding: 15px 10px;
}

/* Form đăng ký nhận tin */
.jo-newsletter-form .jo-newsletter-label {
  display: block;
  margin-bottom: 6px;
  color: #0c515b;
  font-weight: 700;
}

.jo-newsletter-form .jo-newsletter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}

.jo-newsletter-form .wpcf7-form-control-wrap {
  display: block;
}

.jo-newsletter-form .jo-newsletter-field p,
.jo-newsletter-form .jo-newsletter-action p {
  margin: 0;
}

.jo-newsletter-form input[type="email"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #8baba1;
  border-radius: 8px;
  background: #fffdf7;
  color: #163a36;
  font-size: 16px;
}

.jo-newsletter-form .jo-newsletter-action {
  position: relative;
}

.jo-newsletter-form input.wpcf7-submit {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: #0c515b;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
}

.jo-newsletter-form input.wpcf7-submit:hover {
  background: #073c44;
}

.jo-newsletter-form :is(input[type="email"], input.wpcf7-submit):focus-visible {
  outline: 2px solid #0c515b;
  outline-offset: 2px;
}

.jo-newsletter-form .wpcf7-spinner {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  margin: 0;
}

.jo-newsletter-form .jo-newsletter-note {
  margin: 8px 0 0;
  padding-right: 30px;
  color: #435e53;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .jo-newsletter-form .jo-newsletter-row {
    grid-template-columns: minmax(0, 1fr);
  }
}



/** VỀ CHÚNG TÔI **/
.about-hero-content::before{
    background: linear-gradient(90deg, #102b28f5, #112c29df 29%, #122e2866 65%, #10272115);
}

.about-hero-content .title-wrapper .title{
    margin-block: 12px 18px;
    font-size: clamp(46px, 8vw, 64px);
    letter-spacing: -.065em;
    line-height: 1;
}

.about-hero-content .title-wrapper .title-after_title{
    max-width: 48ch;
    font-size: clamp(16px, 1.6vw, 20px);
}

.jo-dieu-hepius-tin{
    background: radial-gradient(ellipse at 80% 0%, #17615a 0, transparent 62%), #083d39;
    border-block: 1px solid #bb9653;
}

.about-bluecore-thread{
    margin: clamp(15px, 2vw, 20px) 0;
    padding: 14px clamp(14px, 2vw, 22px);
    border-inline-start: 2px solid #bd9857;
    background: #f3edde;
    color: #294b43;
}

/* Sơ đồ 4 mắt xích */
.jo-bluecore-map {
    --bc-gap: 14px;
    --bc-line: #c2a76f;
    box-sizing: border-box;
    margin: 0;
    padding: clamp(36px, calc(2.3vw + 20px), 48px) clamp(16px, 2.3vw, 28px);
    border-radius: 14px;
    background: radial-gradient(ellipse at top right, #17635a, transparent 80%), #083d39;
    color: #f6f4e9;
  }

  .jo-bluecore-map > figcaption {
    margin: 0 0 20px;
    color: #f3d494;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
    line-height: 1.45;
    letter-spacing: .09em;
    text-align: center;
    text-transform: uppercase;
  }

  .jo-bluecore-map > .jo-bluecore-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, 1fr);
    grid-template-areas:
      "ingredients science creative"
      ". hepius .";
    gap: var(--bc-gap);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .jo-bluecore-map .jo-bluecore-node {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 20px 10px;
    border: 1px solid #aec4ab73;
    border-radius: 8px;
    background-color: #effaf012;
    text-align: center;
  }

  .jo-bluecore-map .jo-bluecore-node strong {
    color: inherit;
    font-size: 14px;
    line-height: 1.28;
    overflow-wrap: anywhere;
  }

  .jo-bluecore-map .jo-bluecore-node span {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.45;
  }

  .jo-bluecore-map .jo-bluecore-science {
    grid-area: science;
    border-color: #dec186;
    background-color: #f3e8cb;
    color: #163d37;
  }

  .jo-bluecore-map .jo-bluecore-ingredients { grid-area: ingredients; }
  .jo-bluecore-map .jo-bluecore-hepius { grid-area: hepius; }
  .jo-bluecore-map .jo-bluecore-creative { grid-area: creative; }

  /* Đường nối từ ô trung tâm tới ba ô còn lại */
  .jo-bluecore-map .jo-bluecore-node:not(.jo-bluecore-science)::before {
    position: absolute;
    background-color: var(--bc-line);
    content: "";
    pointer-events: none;
  }

  .jo-bluecore-map .jo-bluecore-ingredients::before,
  .jo-bluecore-map .jo-bluecore-creative::before {
    top: 50%;
    width: calc(var(--bc-gap) + 2px);
    height: 1px;
  }

  .jo-bluecore-map .jo-bluecore-ingredients::before { left: 100%; }
  .jo-bluecore-map .jo-bluecore-creative::before { right: 100%; }

  .jo-bluecore-map .jo-bluecore-hepius::before {
    bottom: 100%;
    left: 50%;
    width: 1px;
    height: calc(var(--bc-gap) + 2px);
  }

  @media (hover: hover) {
    .jo-bluecore-map .jo-bluecore-node:hover { background-color: #effaf024; }
    .jo-bluecore-map .jo-bluecore-science:hover { background-color: #f8eed5; }
  }

  @media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .jo-bluecore-map .jo-bluecore-node {
      transition: background-color 180ms ease;
    }
  }

  @media (max-width: 520px) {
    .jo-bluecore-map > .jo-bluecore-grid {
      grid-template-columns: minmax(0, 1fr);
      grid-template-areas:
        "science"
        "ingredients"
        "hepius"
        "creative";
    }

    .jo-bluecore-map .jo-bluecore-node {
      padding-inline: 12px;
      text-align: left;
    }

    .jo-bluecore-map .jo-bluecore-node:not(.jo-bluecore-science) {
      margin-inline-start: 16px;
    }

    .jo-bluecore-map .jo-bluecore-node:not(.jo-bluecore-science)::before {
      inset: calc(-1 * var(--bc-gap) - 2px) auto -1px -10px;
      width: 1px;
      height: auto;
    }

    .jo-bluecore-map .jo-bluecore-node.jo-bluecore-creative::before {
      bottom: 50%;
    }

    .jo-bluecore-map .jo-bluecore-node:not(.jo-bluecore-science)::after {
      position: absolute;
      top: 50%;
      left: -10px;
      width: 10px;
      height: 1px;
      background-color: var(--bc-line);
      content: "";
      pointer-events: none;
    }
  }


/** Nguồn gốc sâm **/
.jo-promo-gia-tri-sam-my .promo-banner{
    border: 3px solid #e2d5bf;
    border-radius: 12px;
    isolation: isolate;
}

.jo-promo-gia-tri-sam-my .promo-banner .wrapper-content-banner{
    padding: clamp(26px, 6vw, 46px) clamp(26px, 3vw, 45px);  
}

.jo-promo-gia-tri-sam-my .promo-banner::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, #fbf5eade 0%, #fbf5eab5 28%, #fbf5ea3d 44%, transparent 58%);
    content: "";
}

.jo-img-giatrisam-mobile .wd-image img{
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.jo-section-chung-nhan-gbw{
    border-block: 1px solid #e2d3b3;
    background: linear-gradient(#fff8e2ce, #fff8e2c9), url(./assets/img/bg-section-hosonguongoc.webp) center / cover no-repeat, #f7efd8;
}

.jo-section-chung-nhan-gbw .e-con-inner{
    padding-block: clamp(48px, 7.4vw, 104px);
}


/** Chứng nhận sâm **/
.jo-form-tra-cuu{
    border-top: 3px solid #aa8444 !important;
}


#cert-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 720;
}

.cert-form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
}

.cert-form-row input {
    min-width: 0;
    padding: 10px 13px;
    border: 1px solid #a5b4ac;
    background: #fff;
    color: #0d363e;
    font-size: 16px;
}
.cert-form-row input, .cert-form-row button {
    min-height: 47px;
    border-radius: 6px;
}

.cert-form-row button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-inline: 23px;
    border: 1px solid #0d363e;
    background: #0d363e;
    color: #fffae9;
    font-weight: 740;
}

.cert-form-row button:hover {
    background: #0d545e;
    color: #fffae9;
}


.cert-table {
    width: 100%;
    margin-block: 10px;
    border-collapse: collapse;
    text-align: left;
}
.cert-table thead {
    background: #eeeadd;
    color: var(--dark);
}
.cert-table th, .cert-table td {
    padding: 9px 11px;
    border-bottom: 1px solid #e0d9c8;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.cert-table th[scope="row"] {
    font-weight: 700;
}
.cert-note {
    margin-top: 10px;
    color: #475956;
    font-size: 13px;
}

/* Liên hệ */
.contact-information > div {
    padding-block: 13px;
    border-top: 1px solid #dfd7c5;
}

.contact-information dt {
    margin-bottom: 5px;
    color: #7d602e;
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.contact-information dd {
    margin: 0;
}
.contact-information address {
    max-width: 42ch;
    font-style: normal;
}

.contact-information-pair {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 12px;
}

.contact-phone dd {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 24px;
}

.contact-phone a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.contact-phone a {
    padding-block: 2px;
    font-size: clamp(19px, 2vw, 24px);
    font-weight: 700;
    color: #0d545e;
    text-decoration: none;
    white-space: nowrap;
}


/** PRODUCT CATEGORY **/
.jo-title-category .wd-page-title .title{
    opacity: 0;
}

.jo-title-category .wd-back-btn{
    display: none;
}


.wd-product .wd-product-wrapper{
    background-color: #fff;
    padding-bottom: 25px !important;
    border-radius: 20px;
    overflow: hidden;
}

.wd-product .wd-product-wrapper .wd-product-thumb{
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.wd-product .wd-entities-title{
    font-weight: 700;
}

.wd-product .wd-product-wrapper .price .amount{
    font-size: 18px;
    margin-bottom: 10px;
}


/** SHOP **/
.products .product-grid-item .wd-entities-title {
    font-family: var(--wd-title-font);
    font-size: 18px;
    background-image: linear-gradient(90deg, #d69b29 0%, #d18f2b 60%, rgb(180, 124, 39) 100%);
    color: #bd7b12;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin-left: 25px;
    margin-right: 25px;
    margin-top: 10px;
}  

.star-rating, .star-rating:before{
    color: #B08D57;
}

.products .product-grid-item .wd-price-unit{
    color: #000;
    font-weight: 500;
    font-size: 14px;
}

/* Shop - Sidebar */


/** Single Product **/
@media (min-width: 768px){
    .jo-sticky-scroll{
        position: sticky;
        top: 30px;
        height: fit-content;
    }
}

.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image{
    border-radius: 20px;
}

.jo-category-before-title-product .meta-label{
    display: none;
}

.jo-category-before-title-product .posted_in a{
    font-family: 'SVN-Gotham Regular';
    color: #B08D57;
}

.jo-product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jo-product-rating .star-rating {
    float: none;
    margin: 0;
    color: #d5d5d5;
}

.jo-product-rating .star-rating span::before {
    color: #d4a54c;
}

.jo-rating-count {
    font-size: 13px;
    color: #777;
    text-decoration: none;
}

.jo-rating-count:hover {
    color: #30a7b7;
}

.woocommerce-tabs .wd-nav-tabs{
    --nav-gap: 15px;    
}

.woocommerce-tabs .wd-nav-tabs>li>a{
    font-family: "SVN-Gotham Regular", Sans-serif;
    text-transform: inherit;
}

.woocommerce-tabs .wd-accordion-title-text{
    font-weight: 700;
    font-family: 'SVN-Gotham Regular';
    font-size: 20px;
}

.woocommerce-tabs .wd-accordion-title:is(.wd-active,:hover)>.wd-accordion-title-text{
    text-decoration: underline;
    text-underline-offset: 4px;
}

.woocommerce-tabs .wd-accordion-opener{
    font-size: 16px;
    color: #555555;
}

/** Cart - Mini cart **/
.product_list_widget>li .wd-entities-title{
    font-family: 'SVN-GilroyBold';
    font-size: 15px;
}

.product_list_widget>li .amount{
    color: #333;
}

td.product-name a:not(:where(.button)){
    font-family: 'SVN-GilroyBold';
}

.widget_shopping_cart_content .woocommerce-mini-cart__total{
    font-size: 110%;
}

/** CHECKOUT PAGE **/



/******* Footer *******/
/* Prefooter */
.wd-prefooter{
    padding-bottom: 0px !important;
}

.jo-box-icon .info-box-content .info-box-inner{
    margin-top: 0px !important;
}

/* Footer main */
.wd-footer{
    --footer-gold: #f2d88d;
    --footer-text: #f5f4e7;
    position: relative;
    isolation: isolate;
    padding: clamp(88px, 9vw, 176px) 0 clamp(30px, 4vw, 58px);
    color: var(--footer-text);
}

footer.wd-footer.footer-container {
    background-color: #033d39;
    background-image:
        url("https://demo.samhepius.com/wp-content/uploads/2026/11/Hepius-footer-song-vang-2048x682-1.webp"),
        linear-gradient(to bottom, #faf9f3 0 6vw, #033d39 6vw);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% auto, 100% 100%;
}

/* Full Width: grid nằm trên container cha.
   Boxed: grid nằm trên lớp .e-con-inner của Elementor. */
.wd-footer .jo-footer-grid.e-con-full,
.wd-footer .jo-footer-grid > .e-con-inner {
    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(0, .9fr)
        minmax(0, 1fr)
        minmax(0, 1.15fr);
    gap: clamp(25px, 3vw, 52px);
    align-items: start;
}

/* Tablet: 2 cột */
@media (max-width: 1024px) {
    .wd-footer .jo-footer-grid.e-con-full,
    .wd-footer .jo-footer-grid > .e-con-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile: 1 cột */
@media (max-width: 767px) {
    .wd-footer .jo-footer-grid.e-con-full,
    .wd-footer .jo-footer-grid > .e-con-inner {
        grid-template-columns: minmax(0, 1fr);
    }
}

.jo-footer-link li a:hover{
    text-decoration: underline;
    text-underline-offset: 4px;
}


/***********************
      RESPONSIVE
***********************/

/* Mobile */
@media screen and (max-width: 480px){
    .jo-thong-bao-header > ul > li{
        font-size: 13px;
        padding: 0;
    }

    .wd-slide-inner .jo-heading-gradient{
        padding: 10px;
        font-size: 6vw;
        width: 100%;
    }

    .jo-slider-hero .jo-logo-slider{
        margin-top: 10px;
        width: 200px;
    }

    .jo-benefit-card .box-with-icon .info-box-icon{
        width: 70px;
    }

    .products .product-grid-item .wd-entities-title{
        font-size: 14px !important;
        margin-left: 5px !important;
        margin-right: 5px !important;
    }

    

    /* Giới hạn chiều rộng tối đa của khung chứa ảnh thumbnail xuống 88px */
    .jo-blog-small .blog-design-small-images.has-post-thumbnail :is(.wd-post-thumb) {
        flex: 0 0 110px;
        max-width: 110px;
        width: 110px;
    }

    /* Ép phần nội dung chữ bên cạnh giãn nở tự động chiếm hết phần còn lại */
    .jo-blog-small .blog-design-small-images.has-post-thumbnail :is(.wd-post-content) {
        flex: 1 0 calc(100% - 110px);
        max-width: calc(100% - 110px);
    }

    /* Đảm bảo thẻ img bên trong co giãn đúng chuẩn bên trong khung 88px */
    .jo-blog-small .blog-design-small-images .wd-post-thumb img {
        max-width: 110px;
    }

    .jo-blog-small .wd-post .wd-post-title{
        font-size: 14px;
    }

    .jo-box-icon .info-box-icon img{
        width: 40px;
    }

    .jo-box-icon .info-box-content .info-box-title, .jo-box-icon .info-box-content .info-box-inner{
        font-size: 12px;
        line-height: normal;
    }

    .woocommerce-tabs .wd-accordion-title-text{
        font-size: 18px;
    }
}

/* Mobile Extra */
@media (max-width: 768px){
    .jo-slider-hero .wd-slide-inner{
        text-align: center;
    }

    .jo-heading-gradient{
        width: calc(100% - 24px);
        margin-inline: auto;
        padding: 18px 14px;

        font-size: clamp(26px, 7vw, 34px);
        line-height: 1.15;
        letter-spacing: -0.025em;
        text-align: center;
    }

    .jo-benefits-grid,
    .jo-benefits-grid > .e-con-inner {
        grid-auto-rows: auto;
    }
    

}


/* Tablet */
@media screen and (max-width: 960px){
    .jo-title-category .wd-page-title .title{
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .products .product-grid-item .wd-entities-title{
        font-size: 16px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .wd-post-inner .wd-post-cat.wd-style-with-bg{
        font-size: 12px;
    }
}

/* Tablet Extra */
@media screen and (max-width: 1024px){   
    .jo-benefit-card .wd-info-box {
        padding: 22px 15px;
        border-radius: 22px;
    }

    .jo-benefit-card .wd-info-box .info-box-content .info-box-inner{
        text-align: justify;
    }

    .jo-logo-slider{
        width: 250px;
    }

    .custom-detail-btn{
        display: none;
    }
    
    .wd-product.wd-hover-icons .wd-buttons{
        position: absolute;
        bottom: 0;
        left: 10px;
    }

    .wd-product.wd-hover-icons .wd-buttons .wd-action-btn{
        max-width: 45px;
    }

    .wd-product-wrapper .wd-buttons .wd-action-btn a{
        padding: 22px;
    }

    .wd-buttons a .wd-action-icon:before{
        font-size: 20px;
        font-weight: 400;
    }
}


/* Laptop */
@media screen and (max-width: 1200px){
    
}

/* Desktop */
@media screen and (min-width: 1400px){
    
}