:root {
    --k5-brand-red: #b82025;
    --k5-price-red: #c01f41;
    --k5-gold: #c99752;
    --k5-page-gutter: clamp(15px, 3vw, 30px);
    --k5-section-space: clamp(36px, 6vw, 80px);
}

html {
    overflow-x: clip;
}

img {
    max-width: 100%;
    height: auto;
}

.badge {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    background: var(--color-red);
    background-size: contain;
    width: auto;
    height: auto;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 1px;
    font-weight: 500;
    color: #FFF;
    padding: 0.25rem 0.35rem;
    border-radius: 0.25rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, .075);
}

.product-main .large-5 {
    align-self: center;
}

.woocommerce-notices-wrapper,
.woocommerce-order-details {
    scroll-margin-top: 100px;
}

.product-main {
    padding: var(--k5-section-space) 0;
}

span.amount {
    white-space: nowrap;
    color: var(--k5-price-red);
    font-size: initial;
    font-weight: 400;
}
#wrapper>.message-wrapper {
    padding-top: 0.75em;
    padding-bottom: 0.75em;
    margin-bottom: 10px;
    font-size: 1.1em;
    text-align: center;
}
.grid-style-3 .star-rating {

    font-size: 12px;
}

.has-hover .bg, .has-hover [class*=image-] img {
    border-radius: 8px 8px 0 0;
}



.grid-style-3 .price-wrapper {
    margin-top: -13px;
}

.grid-style-3 .title-wrapper {
    min-width: 75%;
}
.grid-style-3 .price-wrapper {
    text-align: left;
    min-width: 75%;
}

.op-7 {
    opacity: .7;
    font-size: 12px;
}
.grid-style-3 .title-wrapper {
    font-size: 20px;
		padding-right: 0px;
}

#logo img {
    max-height: 170px !important;
    padding: 15px;
    border: 4px solid white;
    border-radius: 100px;
    margin-top: 30px;
    background: #b82025;
}
#logo {
    width: 170px !important;
}
.banner-bg {
    border-radius: 8px;
}
.banner, .badge-inner {
    background-color: #fef6eb;
}

.badge-frame .badge-inner, .badge-outline .badge-inner {
    color: #ff232c;
}

.box-image .out-of-stock-label {
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
    position: absolute;
    top: 90%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 0px 0;
    background: rgb(249 206 206);
    text-align: center;
    opacity: .9;
}

/** Start button support right**/
.vka-wrapper {
    position: fixed;
    bottom: 5px;
    right: 0;
    z-index: 9999;
}
  
.vka-checkbox {
    display: none !important;
}
  
.vka {
    width: 60px;
    max-width: unset;
    height: 60px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: 0;
    border-radius: 50%;
    background: #c01f41;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 1000;
    overflow: hidden;
    transform: rotate( 0deg );
    -webkit-transition: all .15s cubic-bezier(.15,.87,.45,1.23);
    transition: all .15s cubic-bezier(.15,.87,.45,1.23);
}
  
.vka-checkbox:checked~.vka {
    -webkit-transition: all .15s cubic-bezier(.15,.87,.45,1.23);
    transition: all .15s cubic-bezier(.15,.87,.45,1.23);
    width: 30px;
    height: 30px;
    right: 26px;
    bottom: 35px;
}
  
.vka-wrapper [class*="icon-cps-"] {
    display: inline-block;
    vertical-align: middle;
    background-image: url(https://samngoclinhkontum.com/wp-content/uploads/vingin/img-nut-lien-he3.png);   
    background-repeat: no-repeat;
    
    background-size: 148px;
}
  
.icon-cps-vka-menu {
    width: 50px;
    height: 50px;
    margin: 0 !important;
    background-size: 200px;
    background-position: -155px 0;
}
.vka-checkbox:checked~.vka .icon-cps-vka-menu {
    width: 20px;
    height: 20px;
    margin: 0;
    background-size: 100px;
    background-position: -79px -29px;
}
  
.vka-wheel {
    position: absolute;
    bottom: 15px;
    right: 18px;
    transform: scale(0);
    transform-origin: bottom right;
    transition: all .3s ease;
    z-index: 12;
}
  
.vka-checkbox:checked~.vka-wheel {
    transform: scale(1);
}
  
.vka-wheel .vka-action {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    position: absolute;
    text-decoration: none;
}
  
.vka-wheel .vka-action:hover {
    transform: scale(1.1);
}
  
.vka-wheel .vka-action-1 {
    bottom: 225px;
    right: 0;
}
  
.vka-button {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
    padding: 4px;
    border-radius: 50%;
    background: #0f1941;
    box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
    font-size: 24px;
    color: White;
    transition: all 1s ease;
    overflow: hidden;
}
  
.icon-cps-local {
    width: 30px;
    height: 30px;
    background-position: -5px -43px;
}
 
.icon-cps-mail {
    width: 30px;
    height: 30px;
    background-position: -8px -5px;
}
  
.icon-cps-facebook {
    width: 30px;
    height: 30px;
    background-position: -80px -43px;
}
  
.vka-wheel .vka-button-1 {
    background: #0f9d58;
}
  
.vka-wheel .vka-action-2 {
    bottom: 170px;
    right: 0;
}
  
.vka-wheel .vka-button-2 {
    background: #fb0;
}
  
.icon-cps-phone {
    width: 30px;
    height: 30px;
    background-position: -42px -45px;
}
  
.vka-wheel .vka-action-3 {
    right: 0;
    bottom: 115px;
    cursor: pointer;
}
  
.vka-wheel .vka-button-3 {
    background: #006AFF;
}
  
.vka-wheel .vka-action-4 {
    right: 0;
    bottom: 60px;
}
  
.vka-wheel .vka-button-4 {
    background: #2f82fc;
}
  
.icon-cps-chat-zalo {
    width: 30px;
    height: 30px;
    background-position: -47px -5px;
    background-size: 155px;
}
  
.vka-wrapper .hidden {
    display: none !important;
}
  
.vka-wrapper .align-items-center {
    align-items: center !important;
    justify-content: space-around !important;
    display: flex !important;
}
  
  
.vka-checkbox:not(:checked)~.vka {
    animation-name: k5-contact-zoom;
    -webkit-animation-name: k5-contact-zoom;
    animation-delay: 0s;
    -webkit-animation-delay: 0s;
    animation-duration: 1.5s;
    -webkit-animation-duration: 1.5s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    cursor: pointer;
    box-shadow: 0 0 0 0 #a00505c2;
}
  
@-webkit-keyframes tada {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
  
    10%,20% {
        -webkit-transform: scale(.9) rotate(-3deg);
        transform: scale(.9) rotate(-3deg)
    }
  
    30%,50%,70%,90% {
        -webkit-transform: scale(1.1) rotate(3deg);
        transform: scale(1.1) rotate(3deg)
    }
  
    40%,60%,80% {
        -webkit-transform: scale(1.1) rotate(-3deg);
        transform: scale(1.1) rotate(-3deg)
    }
  
    100% {
        -webkit-transform: scale(1) rotate(0);
        transform: scale(1) rotate(0)
    }
}
  
@keyframes tada {
    0% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1)
    }
  
    10%,20% {
        -webkit-transform: scale(.9) rotate(-3deg);
        -ms-transform: scale(.9) rotate(-3deg);
        transform: scale(.9) rotate(-3deg)
    }
  
    30%,50%,70%,90% {
        -webkit-transform: scale(1.1) rotate(3deg);
        -ms-transform: scale(1.1) rotate(3deg);
        transform: scale(1.1) rotate(3deg)
    }
  
    40%,60%,80% {
        -webkit-transform: scale(1.1) rotate(-3deg);
        -ms-transform: scale(1.1) rotate(-3deg);
        transform: scale(1.1) rotate(-3deg)
    }
  
    100% {
        -webkit-transform: scale(1) rotate(0);
        -ms-transform: scale(1) rotate(0);
        transform: scale(1) rotate(0)
    }
}
  
@-webkit-keyframes k5-contact-zoom {
    0% {
        transform: scale(.9)
    }
  
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent
    }
  
    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
}
  
@keyframes k5-contact-zoom {
    0% {
        transform: scale(.9)
    }
  
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent
    }
  
    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
}

/** End button support right**/
span.fa.fa-user {
    color: red;
}
.wpcf7-form input {
border-radius:6px;                  /* Makes the edges rounded */
}
.wpcf7-form textarea {
border-radius:6px;          /* Makes the edges rounded */
}
.wpcf7-form .wpcf7-submit {     
background:#00a6ca;         /* This edit the button colour */
}
.wpcf7 .wpcf7-text,
.wpcf7 .wpcf7-textarea{
  text-indent: 20px;
}
.wpcf7 p{ position: relative; }
.wpcf7 p .fa {
    position: absolute;
    color: #c99752;
    z-index: 100;
    font-size: 16px;
    top: 17%;
    left: 2.5%;
}
.wpcf7 p .fa-pencil{ top: 5%; left: 1.5%}
.icons-contact  .icon-box-text.last-reset {
    background: #fff;
    padding: 30px 15px;
    margin-top: -80px;
    box-shadow: 1px 1px 6px 3px #ebeaea;
}
.icons-contact .icon-box-text.last-reset h2{
    padding-top: 40px;
    margin-bottom: 0px;
    font-size: 30px;
}
input.wpcf7-form-control.has-spinner.wpcf7-submit {
    width: 100%;
    margin-top: 10px;
	background: #bd8015;
}
span.wpcf7-form-control-wrap.email-440 {
    margin-top: 8px;
}
span.person-name {
    color: #a30b0b;
	font-size:20px;
}
.slider-nav-outside.slider-nav-circle .next {
    background-image: url(https://samngoclinh.vn/img/next-icon.png);
width: 31px;
    height: 43px;
    opacity: inherit;
}
.slider-nav-outside.slider-nav-circle .previous {
    background-image: url(https://samngoclinh.vn/img/back-icon.png);
width: 31px;
    height: 43px;
    opacity: inherit;
}
.slider-nav-circle .flickity-prev-next-button svg, .slider-nav-circle .flickity-prev-next-button .arrow {
     border-radius: 0%; 
    border: 0px solid currentColor; 
}
.slider-nav-light .flickity-prev-next-button svg, .slider-nav-light .flickity-prev-next-button .arrow {
    fill: #1e3b8708;
}
.slider .flickity-prev-next-button:hover svg, .slider .flickity-prev-next-button:hover .arrow {
    background-color: #00800000;
}
.slider-nav-circle .flickity-prev-next-button:hover svg, .slider-nav-circle .flickity-prev-next-button:hover .arrow {
    fill: #e1e2ed05 !important;
}
/* start tieu de combo tet*/
    #HEADLINE245 {
        width: 300px;
        top: 62.5px;
        left: 23.45px;
    }
    #HEADLINE245 > .ladi-headline {
        font-family: "Dancing Script", cursive;
        color: rgb(232, 185, 48);
        font-size: 84px;
        font-weight: bold;
        line-height: 1.2;
    }
h2.alt-font-thanh {
    font-family: 'Dancing Script' !important;
}
.section-title b {
    display: block;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    height: 3px;
    opacity: 1;
    background-color: #c69a39;
}
.title-thanh-combo .section-title-bold-center span, .section-title-bold span {
    border: none;
    padding: .3em .8em;
}
.section-title-container {
    margin-bottom: 0.5em;
}
.thin-font, .is-thin {
    font-weight: 300 !important;
    font-family: 'Dancing Script' !important;
}
/* end  tieu de combo tet*/
.button, button, input, textarea, select, fieldset {
    margin-bottom: 0.7em;
}
a.woocommerce-LoopProduct-link.woocommerce-loop-product__link
 {
    color: #7c1b1b;
}
/*************** THANH ADD CUSTOM CSS 2026  HERE.   ***************/
.home_box_services {
    box-shadow: 0 1px 7px #efc16c;
}

.dark, .dark p, .dark td {
    color: #fff;
}

.home_box_services .icon-box.featured-box {
    display: flex;
    align-items: center;
}

.home_box_services .icon-box.featured-box .icon-box-text.last-reset p {
    margin-bottom: unset;
}

.home_box_services .icon-box.featured-box .icon-box-text.last-reset > :nth-child(1) {
    font-weight: 500;
    color: #ffcc48;
    font-size: 15.5px;
}

.home_box_services .icon-box.featured-box .icon-box-text.last-reset {
    line-height: 1.58;
}

.home_box_services .icon-box.featured-box .icon-box-text.last-reset {
    font-size: 14.5px;
}

.section-title-center span:after {
    content: "";
    display: table;
    clear: both;
    background: url(/img/line-1.png);
    width: 100%;
    height: 20px;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: bottom;
    padding-top: 0;
}
.w_khuyenmai {
    background-image: url(/img/bg_title_km-4520.png);
    background-repeat: no-repeat;
}
.w_khuyenmai:before{
	content: "";
	position: absolute;
	left: 50%;
	top: 0px;
	width: 100vw;
	max-width: 100%;
	height: 82px;
	background-repeat: no-repeat;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	pointer-events: none;
}
.w_tintuc{
background-image: url(/img/bg_title_blog-1767.png);
    position: relative;
     background-repeat: no-repeat;
  }
.w_tintuc {
    position: relative;
    margin-top: 40px;
padding-top: 57px;
}
.w_tintuc:before{
	content: "";
    position: absolute;
    left: 50%;
    top: -80px;
    width: 100vw;
    max-width: 100%;
    height: 84px;
    background-repeat: no-repeat;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    pointer-events: none;
}
ul.nav.nav-divided.nav-uppercase.nav-size-large.nav-center {
    -ms-flex-pack: center;
justify-content: center;
}
ul.nav.nav-divided.nav-uppercase.nav-size-large.nav-center  a{
    color: #135208;
    padding: 5px 15px;
    font-size: 20px;
}
.tin-tuc-section .tabbed-content li a {
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 4px;
    transform: skewX(-15deg);
    color: #115405;
    font-size: 15px;
    text-transform: none;
    letter-spacing: 0;
    background: #fff;
    border: 2px solid #073502;
}
.tin-tuc-section .tabbed-content li a:hover {
     color:red;
    border: 2px solid #e6e6e6;
}
.tin-tuc-section .tabbed-content li a span {
    transform: skew(15deg);
}
.tin-tuc-section .tabbed-content li.active a {
   color: #690000;
    background: #fff;
    border: 2px solid #900202;
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px;
    font-weight: bold;
}
.home_box_ingredient .slider-wrapper .section {
    max-width: 320px;
    flex-basis: 320px;
    padding-left: 10px;
    padding-right: 10px;
}
.home_box_ingredient .slider-wrapper .section .box.box-text-bottom {
    background-color: #66883f;
    border-radius: 10px;
    display: flex;
    flex-flow: column;
    height: 100%;
    padding: 25px;
    color: #fff;
    margin-top: 85px;
    margin-bottom: 85px;
}
.home_box_ingredient .slider-wrapper .box.has-hover.has-hover.box-text-bottom
{
display: flex;
    flex-flow: column;
    height: 100%;
    padding: 25px;
    color: #fff;
    margin-top: 85px;
    margin-bottom: 85px;
}
.home_box_ingredient .slider-wrapper .box.has-hover.has-hover .box-image
{
margin-top: -85px;
}
.home_box_ingredient .slider-wrapper .box.has-hover.has-hover.box-text-bottom .box-le-1
{
display: flex;
    flex-flow: column;
    height: 100%;
    padding: 25px;
    margin-top: 85px;
    margin-bottom: 85px;
}
.home_box_ingredient .slider-wrapper .box.has-hover.has-hover.box-le-1 .box-image
{
    margin-bottom: -85px;
    order: 2;
    margin-top: unset;
}
.home_box_grass .slider-wrapper.row {
    margin-inline: 0;
}
.home_box_grass .slider .section .box.box-vertical {
    background-color: #fff;
    border-radius: 7px;
    box-shadow: 0 2px 15px 0 rgba(76, 80, 61, .08);
    display: flex;
    justify-content: center;
    padding: 20px;
    position: relative;
    transition: all .3s;
    margin-bottom: 15px;
}
.sp-tab-home .price-wrapper {
    text-align: left;
}

.product-small.box.sp-tab-home.has-hover.box-normal.box-text-bottom {
    padding: 8px;
}
.product-small.box {
    padding: 8px;
}
/* Thiết lập khung chứa thông tin sản phẩm thành dạng Flexbox */
.product-small .box-text {
    display: flex !important;
    flex-wrap: wrap !important; /* Cho phép xuống dòng các phần tử con */
    align-items: center; /* Căn giữa theo chiều dọc giữa Giá và Nút */
}

/* Bắt buộc Tiêu đề (và các thành phần khác không phải giá/nút) chiếm hết dòng trên */
.product-small .box-text .title-wrapper {
    flex: 0 0 100%;
    width: 100%;
    margin-bottom: 5px; /* Tạo khoảng cách nhỏ với hàng dưới */
}

/* Cấu hình khung Giá: nằm bên trái */
.product-small .box-text .price-wrapper {
    flex-grow: 1; /* Chiếm khoảng trống còn lại để đẩy nút sang phải */
    width: auto !important;
    margin-bottom: 0 !important; /* Xóa khoảng cách dưới mặc định */
    text-align: left;
}

/* Cấu hình Nút thêm vào giỏ: nằm bên phải */
.product-small .box-text .add_to_cart_button {
    width: auto !important;
    margin-bottom: 0 !important;
    /* margin-left: 10px;  Tạo khoảng cách an toàn với giá */
    display: inline-block;
    padding: 0;
    background: transparent; /* Loại bỏ nền nếu bạn chỉ muốn hiện icon */
    box-shadow: none; /* Loại bỏ bóng nút nếu có */
}

/* Tùy chỉnh màu icon giỏ hàng (nếu cần) */
.product-small .box-text .add_to_cart_button i,
.product-small .box-text .add_to_cart_button .icon-shopping-bag {
    font-size: 1.2em; /* Điều chỉnh kích thước icon */
}
.product-small .box-text .button.primary:not(.is-outline) {
    padding: 0 !important;
}

@media (max-width: 849px) {
    .product-main {
        padding: 40px 0;
    }

    .home_box_ingredient .slider-wrapper .section {
        max-width: min(320px, calc(100vw - 30px));
        flex-basis: min(320px, calc(100vw - 30px));
    }

    .w_khuyenmai,
    .w_tintuc {
        background-position: center top;
        background-size: cover;
    }
}

@media (max-width: 549px) {
    .grid-style-3 .title-wrapper {
        font-size: 14px;
        min-width: 100%;
    }

    .grid-style-3 .price-wrapper {
        min-width: 0;
    }

    .vka-wrapper {
        right: max(0px, env(safe-area-inset-right));
        bottom: max(5px, env(safe-area-inset-bottom));
    }
}
