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

/*************** ADD CUSTOM CSS HERE.   ***************/

body {
    font-family: 'Poppins', sans-serif !important;
}
h1, h2, h3 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
}

.nad-section {
    max-width: 720px;
    padding: 20px 0;
    background: transparent;
}

.nad-line {
    display: block;
    width: 40px;
    height: 2px;
    background-color: #026835;
    margin-bottom: 27px;
}

.nad-title {
    color: #026835;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 36px;
}

.nad-section p {
    color: #4f5651;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}



.btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background-color: #8bc34a; 
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.25s ease;
}


.btn-custom:hover {
    background-color: #7cb342; 
    transform: translateY(-1px);
}


.btn-custom:focus {
    outline: none;
    box-shadow: none;
}

.center-line .nad-line {
    margin-left: auto;
    margin-right: auto;
} 

.center-line h2 {
    text-align: center;
    font-size: 36px;
    color: #026835;
    margin-bottom: 14px;
}

.center-line .nad-text {
    text-align: center;
    font-size: 20px;
}


.home-featured-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hfp-image img {
    border-radius: 12px;
}

.hfp-category {
    font-size: 12px;
    text-transform: uppercase;
    color: #888;
    display: block;
    margin-bottom: 10px;
}

.hfp-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hfp-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.hfp-rating .count {
    font-size: 14px;
    color: #666;
}

.hfp-desc {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}


.hfp-actions .single_add_to_cart_button {
    border-radius: 99px;
    padding: 10px 28px;
}



/* === GRID CARD === */
.product-hompage .product-small .col-inner {
    background: #fff;
    border-radius: 20px;
    padding: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.product-hompage .product-small .col-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

/* === IMAGE BOX === */

.product-hompage .box-image img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* === TEXT AREA === */
.product-hompage .box-text {
    padding-top: 14px;
    text-align: left;
}

/* TITLE */
.product-hompage .product-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
}

.product-hompage .product-title a {
    color: #222;
}

/* PRICE */
.product-hompage .price {
    font-size: 15px;
    font-weight: 700;
}



.brand-block {
    line-height: 1.1;
}

.brand-title {
    font-size: 47px !important;
    letter-spacing: 1.5px;
    color: #026835 !important;
}

.brand-tagline {
    font-size: 25px !important;
    color: #333 !important;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 0 !important;
}


.brand-desc p {
    font-size: 18px;
    line-height: 25px;
    color: #000000;
    margin-top: 39px !important;
}


.brand-desc {
    width: 75%;
}

.nad-custom {
    font-size: 25px;
    color: #026835;
    font-weight: 600;
    margin-top: 16px;
}


.product-small .add-to-cart-button a {
    font-size: 0;
    width: 45px;
    height: 45px;
    border-radius: 99px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    right: 10px;
    background: linear-gradient(135deg, #a5cc46 0%, rgb(0, 102, 34) 100%) !important;
    /* background-color: #c05530; */
    bottom: 10px;
    border: none;
}

.add_to_cart_button:before {
    background: transparent !important;
}

.product-small .add-to-cart-button a:before {
    content: "";
    width: 30px;
    height: 30px;
    background-image: url(/wp-content/uploads/2025/12/shopping-bag.png) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    position: relative !important;
    display: block;
    left: 0;
}






/* ==============================================
   CUSTOM PRODUCT BLOCK STYLES (V9 - MERGED)
   ============================================== */
.custom-product-wrapper {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}
/* ẢNH & GALLERY (Giữ nguyên như bạn đang thích) */
.product-image-container {
    width: 100%; height: 450px;
    background-color: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.product-image-container img {
    width: 100% !important; height: 100% !important;
    object-fit: contain; display: block;
}
.custom-gallery-row { display: flex; gap: 10px; padding: 0 5px; }
.custom-gallery-row .gallery-item {
    width: calc(25% - 8px); padding-top: calc(25% - 8px);
    position: relative; border: 1px solid #eee; border-radius: 4px;
    cursor: pointer; overflow: hidden; background: #fff;
}
.custom-gallery-row .gallery-item:hover { border-color: #5d9e35; }
.custom-gallery-row .gallery-item img {
    position: absolute; top:0; left:0; width:100%; height:100%; object-fit: contain; padding: 2px;
}
/* CỘT PHẢI - GIỐNG MẪU */
.product-info-col { padding-left: 20px; }
.meta-category {
    text-transform: uppercase; font-size: 18px;
    color: #444; font-weight: 600;
    margin-bottom: 15px; display: block;
}
.product-rating-review{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.product-title-inline {
    font-size: 30px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.rating-inline{
  display:flex;
  align-items:center;
  gap:6px;
}

.star-rating{
  font-size:14px;
  color:#f5a623;
  margin:0;
}

.review-count{
  font-size:13px;
  color:#777;
}


.custom-breadcrumb{
  font-size:13px;
  color:#777;
  margin-bottom:8px;
}


.custom-breadcrumb a {
    color: #000;
    text-transform: uppercase;
    font-size: 18px;
}


/* LINE KẺ NGANG */
.custom-divider {
    height: 1px; background-color: #eee;
    margin: 15px 0 20px 0; width: 100%;
}
.product-short-desc {
    font-size: 0.95rem; line-height: 1.6; color: #555;
    text-align: justify;
}
/* FORM & BUTTONS */
.quantity-wrapper { margin-bottom: 25px; }
.quantity-wrapper label {
    display: block; font-weight: 500; margin-bottom: 10px; color: #333;
}
.quantity-input-styled { position: relative; width: 100px; }
.quantity-input-styled input.qty {
    width: 100%; height: 40px;
    border: 1px solid #ddd; border-radius: 5px;
    padding-left: 15px; text-align: left;
    font-weight: normal; color: #333; background: #fff;
    -moz-appearance: textfield;
}

.custom-actions { display: flex; gap: 10px; align-items: center; }
.button.custom-buy-now-btn {
    background: linear-gradient(135deg, #a5cc46 0%, rgb(0, 102, 34) 100%) !important;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0 40px;
    height: 45px;
    line-height: 45px;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(92, 157, 54, 0.2);
}
.button.custom-buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(92, 157, 54, 0.3);
}
.button.custom-add-cart-btn {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    color: #555 !important;
    border-radius: 4px;
    font-weight: 500; font-size: 0.9rem;
    padding: 0 25px; height: 45px; line-height: 43px;
    text-transform: uppercase;
}
.button.custom-add-cart-btn:hover {
    border-color: #5c9d36 !important; color: #5c9d36 !important;
}
@media (max-width: 849px) {
    .product-image-container { height: 350px; }
    .custom-actions { flex-direction: column; }
    .button.custom-buy-now-btn, .button.custom-add-cart-btn { width: 100%; }
}

/* ==============================
   CARD TỔNG
================================ */
.hoi-dong {
    background: rgba(30, 28, 18, 0.95);
    border-radius: 18px;
    padding: 28px 32px;

    box-shadow:
        0 0 0 1px rgba(120, 200, 120, 0.35),
        0 0 26px rgba(120, 200, 120, 0.45);

    color: #fff;
}


.hoi-dong .expert-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}


.hoi-dong .expert-list {
    margin-top: 12px;
    padding-left: 18px;
}

.hoi-dong .expert-list li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 6px;
    color: #eaeaea;
}



.hoi-dong h4 {
    color: white;
    font-size: 25px;
}


.flickity-page-dots {
    bottom: -16px;
    left: 16%;
    line-height: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 20%;
    text-align: center;
}



/* CONTAINER GRID */
.custom-health-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    padding-left: 15px;
}
@media (max-width: 849px) { .custom-health-grid { grid-template-columns: 1fr; } }
/* STYLE CARD */
.custom-news-card .col-inner {
    background-color: #f4f4f2;
    border-radius: 12px;
    padding: 30px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* ẢNH */
.custom-news-card .img-box img {
    border-radius: 8px;
    width: 100%; height: 200px; object-fit: cover;
    margin-bottom: 15px;
}
/* CHỮ */
.custom-news-card h3 a {
    color: #1c6b38; /* Xanh lá đậm */
    text-decoration: none;
    font-size: 1.1rem; 
    line-height: 1.3; 
    font-weight: bold;
    padding-bottom: 10px;
}
.custom-news-card p {
    font-size: 0.9rem; color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}
/* NÚT BẤM (BUTTON) */
.custom-news-btn {
    width: 100%;
    border-radius: 99px !important;
    text-transform: none; font-weight: 600;
    margin-bottom: 0;
    
    /* Mặc định: Outline Xanh */
    background-color: transparent !important;
    border: 1px solid #1c6b38 !important;
    color: #1c6b38 !important;
    
    display: flex; align-items: center; justify-content: center; /* Căn giữa nội dung */
}
/* Mũi tên mặc định hiện */
.custom-news-btn::after {
    content: "→";
    margin-left: 8px;
    display: inline-block;
    transition: all 0.2s;
}
/* HOVER: Đậm khung, Chữ trắng, Tắt mũi tên */
.custom-news-btn:hover {
    background-color: #1c6b38 !important; /* Lên màu nền xanh */
    color: #fff !important;                /* Chữ trắng */
    border-color: #1c6b38 !important;
}
.custom-news-btn:hover::after {
    display: none; /* Tắt hiển thị mũi tên khi hover */
    content: "";   /* Đảm bảo xóa nội dung */
}


.sec-sk .nad-title {
    color: #026835;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 36px;
}

.custom-health-grid .box-text h3 {
    margin-bottom: 15px;
}



.banner-custom {
    border-radius: 30px;
    overflow: hidden;
}



/* Grid chia 3 cột */
.green-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
}
@media (max-width: 849px) { .green-blog-grid { grid-template-columns: 1fr; } }
/* Style thẻ Card */
.green-blog-card { height: 100%; }
.green-card-inner {
    border: 1px solid #2e7d32; /* Viền xanh chủ đạo */
    border-radius: 16px;       /* Bo góc lớn */
    padding: 24px;             /* Khoảng cách lề trong */
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
/* Hover effect */
/* .green-blog-card:hover .green-card-inner {
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.15);
    border-color: #1b5e20;
    transform: translateY(-5px);
} */
/* Ảnh */
.green-card-img img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}
/* Ngày tháng */
.green-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 10px;
    text-transform: uppercase;
}
/* Tiêu đề */
.green-title {
    margin: 0 0 12px 0;
    line-height: 1.35;
}
.green-title a {
    color: #1b5e20; /* Màu xanh đậm */
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
}
.green-title a:hover { color: #2e7d32; }
/* Mô tả */
.green-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Đẩy link xuống đáy */
}
/* Nút Xem chi tiết */
.green-read-more {
    color: #2e7d32;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex; align-items: center;
}
.green-read-more:hover {
    color: #1b5e20;
    text-decoration: underline;
}




.btn-cus::after {
    content: "→";
    margin-left: 2px;
    display: inline-block;
    transition: all 0.2s;
}



/* CSS Nằm ngay tại chỗ để hiện luôn */
.demo-consult-bar {
    background-color: #eef5f2;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 54px;
}
/* Style cho các ô Input */
.demo-consult-bar input {
    flex: 1; /* Tự co giãn đều nhau */
    min-width: 200px;
    height: 50px;
    border: none;
    border-radius: 8px; /* Bo góc */
    padding: 0 20px;
    background-color: #fff;
    margin-bottom: 0 !important; /* Gỡ bỏ margin mặc định của theme */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    font-size: 0.95rem;
    color: #333;
}
/* Style cho nút Đăng Ký */
.demo-consult-bar button {
    flex: 0 0 auto; /* Không co giãn */
    height: 50px;
    padding: 0 40px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #8dc63f 0%, #1e7d32 100%); /* Gradient xanh y hình */
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(30, 125, 50, 0.2);
    width: auto;
}
.demo-consult-bar button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(30, 125, 50, 0.3);
}
/* Mobile: Xếp dọc */
@media (max-width: 768px) {
    .demo-consult-bar { flex-direction: column; }
    .demo-consult-bar input, .demo-consult-bar button { width: 100%; }
}




.anh-bac-si {
    position: absolute;
    bottom: -172px;
    left: 89px;
}

.col-btn-custom {
    position: relative;
    top: 50px;
}

.col-btn-custom .button {
    background-color: #006a31 !important;
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 10px 50px;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    margin: 0;
}


/* Style Nút Gradient V2 (Hỗ trợ 2 dòng) */
.custom-gradient-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #026835;
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    padding: 10px 40px;
    min-height: 50px;
    width: auto;
    cursor: pointer;
    border: none;
    line-height: 1.2;
    height: 80px;
}

/* Dòng 1: Tiêu đề lớn */
.btn-main-text {
    font-size: 1.2rem; /* Chữ to */
    font-weight: 800;
    text-transform: uppercase;
    display: block;
}
/* Dòng 2: Chú thích nhỏ */
.btn-sub-text {
    font-size: 0.85rem; /* Chữ nhỏ */
    font-weight: 400;
    opacity: 0.9;
    margin-top: 2px;
    display: block;
}


.cuscomt {
    position: absolute;
}


.sec-dia-chi .brand-title {
    font-size: 36px !important;
}
.section-title-normal {
    border-bottom: 0px solid #ececec;
}

.tt_msan span:after {
    content: "";
    width: 100px;
    height: 2px;
    background-color: rgb(2, 104, 53);
    display: block;
    position: relative;
    left: 1px;
}
.pill-subscribe-box {
    display: flex;
}
.section-title-normal span {
    border-bottom: 0;
    margin-bottom: 0;
    margin-right: 0;
    padding-bottom: 0;
}

.pill-subscribe-box input::placeholder {
    color: #888;
}
/* Style nút Đăng Ký (Xanh đậm) */

/* CHỈNH RIÊNG Ô INPUT (EMAIL) */
.pill-subscribe-box input[type="email"],
.pill-subscribe-box input[type="text"] {
    flex: 1;
    height: 50px; /* Cao bằng nút */
    border: 1px solid #ddd !important; /* Viền xám mờ */
    border-right: none !important; /* Bỏ viền phải để nối với nút */
    border-radius: 99px 0 0 99px !important; /* Bo tròn đầu TRÁI */
    padding-left: 25px !important;
    margin-bottom: 0 !important;
    background-color: #fff !important;
    font-size: 1rem;
    box-shadow: none !important;
}
/* CHỈNH LẠI NÚT ĐĂNG KÝ (Cho khớp) */
.pill-subscribe-box button {
    height: 50px;
    border-radius: 99px;
    background-color: #006a31;
    color: #fff;
    border: 1px solid #006a31;
    padding: 0 35px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    margin-left: -23px;
}


/* Container Flexbox */
.custom-social-group {
    display: flex;
    justify-content: center; /* Căn giữa */
    gap: 20px; /* Khoảng cách giữa các icon */
    flex-wrap: wrap; /* Tự xuống dòng trên màn hình bé */
}
/* Style Hình tròn bao ngoài */
.social-item-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; /* Độ lớn hình tròn */
    height: 60px;
    border-radius: 50%;
    border: 1px solid #2e7d32; /* Viền mỏng màu xanh */
    background: transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Style SVG Icon bên trong */
.social-item-circle svg {
    width: 28px; /* Độ lớn Icon */
    height: 28px;
    transition: all 0.3s;
}
/* Hiệu ứng Hover */
.social-item-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
    border-color: #8dc63f; /* Đổi màu viền sáng hơn tí */
}


.absolute-footer {
    display: none;
}

.footer-copyright {
    font-size: 13px;
    color: rgb(2, 104, 53);
    text-align: center;
    padding: 12px 0;
}



/* Container */
.header-icon-group {
    display: flex;
    align-items: center;
    gap: 25px; /* Khoảng cách giữa các icon */
}
/* Style chung cho icon */
.h-icon-item {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333; /* Màu xám đen của icon */
    transition: color 0.3s;
    text-decoration: none;
    position: relative;
}
.h-icon-item:hover {
    color: #1e7d32; /* Hover đổi màu xanh */
}
/* Kích thước SVG */
.h-icon-item svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5px; /* Nét thanh mảnh */
}
/* RIÊNG GIỎ HÀNG (Badge đỏ) */
.cart-icon-box {
    position: relative;
    padding-right: 5px; /* Chừa chỗ cho số nó thò ra */
}
.cart-badge-count {
    position: absolute;
    bottom: -5px; /* Thụt xuống dưới */
    right: -5px;  /* Thụt sang phải */
    background-color: #ed1c24; /* Màu đỏ */
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid #fff; /* Viền trắng tách biệt */
}


/* ====================================================
   STYLE MENU HEADER (Giống ảnh mẫu)
   ==================================================== */

/* 1. Căn chỉnh khoảng cách các mục menu */
.header-nav {
    gap: 15px; 
}

/* 2. Style cho Link MENU thông thường */
.header-nav li.menu-item > a.nav-top-link {
    color: #555 !important;
    font-weight: 600;
    text-transform: none !important; 
    font-size: 1rem;
    padding: 8px 15px !important;
    border-radius: 8px;
    transition: all 0.3s;
}

/* 3. Style cho MỤC ĐANG CHỌN (Ví dụ: Trang chủ) */
/* Tự động bắt class .current-menu-item của WordPress */
.header-nav li.menu-item.current-menu-item > a.nav-top-link,
.header-nav li.menu-item.active > a.nav-top-link {
    background-color: #eef5f2 !important; /* Nền xanh nhạt */
    
    font-weight: 700;
}

/* 4. Hiệu ứng Hover (Rê chuột vào) */
.header-nav li.menu-item > a.nav-top-link:hover {
    color: #006a31 !important;
    background-color: transparent;
}


.rating-summary{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  line-height:1;
}

.stars{
  display:inline-flex;
  gap:4px;
  color:#f5a623; /* màu cam sao */
  font-size:14px;
}

.review-count{
  color:#777;
  text-decoration:none;
}
.review-count:hover{ text-decoration:underline; }



.row-color {
    background-color: #f4f4f2;
} 


.my-rating{
  display:flex;
  align-items:center;
  gap:10px;
  margin:6px 0 12px;
}

.my-rating__stars{
  display:flex;
  line-height:1;
  font-size:16px;
}

.my-rating__stars .star{
  margin-right:2px;
  opacity:.25;
}

.my-rating__stars .star.is-on{
  opacity:1;
  color: #ffae17;
}

.my-rating__count{
  font-size:13px;
  text-decoration:none;
}

.my-rating__count:hover{
  text-decoration:underline;
}



/* 1. Dàn hàng ngang cho toàn bộ form */
.product-info form.cart {
    display: flex !important;
    flex-wrap: nowrap; /* Bắt buộc không xuống dòng */
    align-items: center; /* Căn giữa theo chiều dọc */
    gap: 10px; /* Khoảng cách giữa các nút */
    width: 100%;
}

/* 2. Xử lý phần số lượng (Quantity) */
.product-info form.cart .ux-quantity {
    margin: 0 !important; /* Xóa khoảng trắng thừa */
    flex: 0 0 auto; /* Giữ nguyên kích thước chuẩn */
}

/* 3. Nút "Thêm vào giỏ hàng" -> Biến thành Outline (chỉ có viền) */
.product-info form.cart .single_add_to_cart_button {
    background-color: transparent !important; /* Nền trong suốt */
    border: 2px solid #d26e4b !important; /* Màu viền (đổi mã màu này theo web bạn) */
    color: #d26e4b !important; /* Màu chữ trùng màu viền */
    box-shadow: none !important;
    margin: 0 !important;
    white-space: nowrap; /* Chữ không bị ngắt dòng */
    font-weight: bold;
    flex: 0 0 auto;
}

/* Hiệu ứng khi di chuột vào nút Thêm giỏ hàng */
.product-info form.cart .single_add_to_cart_button:hover {
    background-color: #d26e4b !important; /* Đổi thành nền màu */
    color: #ffffff !important; /* Chữ trắng */
}

/* 4. Nút "MUA NGAY" */
.product-info form.cart .custom-buy-now {
    margin: 0 !important;
    flex: 1 1 auto; /* Cho phép nút này tự dãn cho cân đối nếu cần, hoặc để 0 0 auto nếu muốn gọn */
    white-space: nowrap;
    background-color: #0d8242 !important; /* Màu xanh lá như hình bạn muốn */
    color: #fff !important;
    border: none !important;
}

/* (Tuỳ chọn) Chỉnh riêng cho Mobile để không bị tràn màn hình */
@media (max-width: 480px) {
    .product-info form.cart .single_add_to_cart_button {
        font-size: 0.8em; /* Giảm cỡ chữ nút chút cho gọn */
        padding: 0 10px;
    }
    .product-info form.cart .custom-buy-now {
        font-size: 0.8em;
        padding: 0 10px;
    }
}


.single-product .custom-product-wrapper{
  background:#f4f4f2;
}

.product-description-only {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.product-description-only h2,
.product-description-only h3 {
    margin-top: 24px;
    font-weight: 600;
}

.product-description-only ul {
    padding-left: 18px;
}


.product-info-title {
    position: relative;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 20px;
}

.product-info-title span {
    display: inline-block;
    padding-bottom: 10px;
    font-weight: 600;
    color: #333;
    position: relative;
}

/* gạch xanh */
.product-info-title span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 3px;
    background-color: #1f7a4d; /* xanh giống hình */
}


.col-left {
    border: 1px solid #026835;
    border-radius: 30px;
    padding: 25px;
}


.col-left span.product-title {
    font-size: 20px;
    font-weight: 600;
    color: #026835;
}


.col-left  .product-info-title span::after {
    content: none;
}


.col-left .product-info-title {
    font-weight: 600;
    color: #333;
    position: relative;
}


.col-bg-xam {
    background: #f4f4f2;
    border-radius: 8px;
    padding: 23px 20px 20px 20px;
}

.page-title {
    position: relative;
    background-color: #edf5f1;
}



#main, #wrapper {
    background-color: #edf5f1;
}

.category-page-row .box {
    margin: 0 auto;
    position: relative;
    width: 100%;
    padding: 15px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06),
        0 12px 30px rgba(0, 0, 0, 0.08);
    border-radius: 15px;
}


.category-page-row .box-image {
    border-radius: 15px;
}

a.woocommerce-loop-product__link {
    color: #026835;
    font-size: 20px;
    font-weight: 600;
}

.wp-block-woocommerce-cart-items-block {
    background-color: white;
    border-radius: 15px;
    padding: 15px 0 15px 60px;
}