/*
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.   ***************/

/* Làm đường line dưới menu mỏng còn 1px */
.header-nav-main.nav-line-bottom > li > a::before {
    height: 1px !important;
    transform: translateX(-50%) translateY(-4px) !important;
}
/* Trạng thái bình thường */
.header-search-form .search-field {
    border: 1px solid #CFE8DF !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: none !important;
    outline: none !important;
    transition: border-color 0.2s ease;
}

/* Khi trỏ chuột vào */
.header-search-form .search-field:hover {
    border-color: #4FAF91 !important;
}

/* Khi click vào để nhập */
.header-search-form .search-field:focus {
    border-color: #2F8F72 !important;
    box-shadow: none !important;
}

/* ==========================
   Search Box Style
========================== */

.header-search-form .searchform {
    position: relative;
}

/* Input */

.header-search-form .search-field{
    height:48px !important;
    border:1px solid #D8ECE5 !important;
    border-radius:999px !important;
    background:#FAFAF8 !important;

    padding:0 52px 0 18px !important;
}

/* Nút search */

.header-search-form button,
.header-search-form .ux-search-submit{

    position:absolute;
    right:14px;
    top:50%;

    transform:translateY(-50%);

    width:24px;
    height:24px;

    background:transparent !important;
    border:none !important;
    padding:0 !important;

    box-shadow:none !important;
}

/* Icon */

.header-search-form button i,
.header-search-form .ux-search-submit i{

    font-size:22px;
    color:#7C7C7C;

    transition:.25s;
}

/* Hover */

.header-search-form:hover .search-field{
    border-color:#76BDA8 !important;
}

.header-search-form:hover button i{
    color:#2F8F72;
}
/* ===========================
   Header Icons - Mint
=========================== */

/* Icon tài khoản */
.account-item i,
.account-item .icon-user {
    color: #4FAF91 !important;
}

/* =========================
   ICON GIỎ HÀNG MÀU XANH MINT
========================= */

/* Khung túi */
.header-cart-link .cart-icon strong {
    color: #4FAF91 !important;
    border-color: #4FAF91 !important;
    background-color: transparent !important;
}

/* Quai túi */
.header-cart-link .cart-icon strong::after {
    border-color: #4FAF91 !important;
}

/* Một số phiên bản Flatsome dùng before */
.header-cart-link .cart-icon strong::before {
    border-color: #4FAF91 !important;
}

/* Hover */
.header-cart-link:hover .cart-icon strong {
    color: #2F8F72 !important;
    border-color: #2F8F72 !important;
}

.header-cart-link:hover .cart-icon strong::after,
.header-cart-link:hover .cart-icon strong::before {
    border-color: #2F8F72 !important;
}
/* Hình bo góc và hiệu ứng hình */
.custom-image1 {
    border-radius: 32px !important;
    box-shadow: 0 22px 45px rgba(45, 75, 65, 0.18) !important;
    overflow: hidden;
}

/* Khung newsletter */
.newsletter-box {
    background: #26745f;
    border-radius: 38px;
    padding: 45px 60px;
}

/* Căn khối nội dung vào giữa */
.newsletter-content {
    width: fit-content;
    max-width: 1200px;
    margin: 0 auto;
}

.newsletter-form {
    width: 100%;
    max-width: 900px;
}

/* Tiêu đề */
.newsletter-title {
    color: #fff !important;
    margin: 0 0 10px !important;
}

/* Mô tả */
.newsletter-description {
    color: #fff !important;
    margin: 0 0 25px !important;
    white-space: nowrap;
}

/* Form */
.newsletter-form {
    max-width: 800px;
}

/* Ghi chú */
.newsletter-note {
    color: #fff !important;
    margin: 12px 0 0 !important;
    font-size: 12px;
}

/* Mobile */
@media (max-width: 768px) {
    .newsletter-box {
        padding: 30px 25px;
        border-radius: 25px;
    }

    .newsletter-description {
        white-space: normal;
    }
}

.newsletter-form input[type="email"] {
    color: #ffffff !important;
}

.newsletter-form input[type="email"]::placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
}
/* SHOPEE - nền trắng, viền cam */
.marketplace-shopee,
.marketplace-links .shopee {
    background: #fff !important;
    border: 1px solid #ff572f !important;
    color: #ff572f !important;
}

/* Icon Shopee */
.marketplace-shopee img,
.marketplace-links .shopee img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain;
}

/* Chữ */
.marketplace-shopee span,
.marketplace-links .shopee span {
    color: #ff572f !important;
    font-weight: 700;
}
/* =================================
   BẢNG THÔNG SỐ KỸ THUẬT
================================= */

.mint-spec-wrapper {
    width: 100%;
    margin: 35px 0;
}


/* ===== TITLE ===== */

.mint-spec-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 35px;
}

.mint-spec-line {
    width: 4px;
    height: 38px;
    background: #287a62;
    display: block;
    flex-shrink: 0;
}

.mint-spec-heading h2 {
    margin: 0;
    padding: 0;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 600;
    color: #111;
}


/* ===== TABLE ===== */

.mint-spec-table {
    width: 100%;
    border: 1px solid #d6ddd9;
    border-radius: 15px;
    overflow: hidden;
    background: #fafbf9;
}


/* ===== ROW ===== */

.mint-spec-row {
    display: grid;
    grid-template-columns: 33% 67%;
    align-items: center;
    min-height: 64px;
    border-bottom: 1px solid #d6ddd9;
}

.mint-spec-row:last-child {
    border-bottom: none;
}


/* ===== LEFT COLUMN ===== */

.mint-spec-label {
    padding: 18px;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 600;
    color: #111;
}


/* ===== RIGHT COLUMN ===== */

.mint-spec-value {
    padding: 18px 22px;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 400;
    color: #333;
}


/* ===== MOBILE ===== */

@media (max-width: 600px) {

    .mint-spec-heading {
        gap: 12px;
        margin-bottom: 22px;
    }

    .mint-spec-heading h2 {
        font-size: 22px;
    }

    .mint-spec-line {
        height: 32px;
    }

    .mint-spec-row {
        grid-template-columns: 40% 60%;
        min-height: 55px;
    }

    .mint-spec-label,
    .mint-spec-value {
        padding: 13px 12px;
        font-size: 14px;
    }
}
/* VIDEO TRẢI NGHIỆM */

.mint-video-wrapper {
    width: 100%;
    margin: 35px 0;
}

.mint-video-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
}

.mint-video-line {
    width: 4px;
    height: 30px;
    background: #287a62;
    display: block;
}

.mint-video-heading h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #111;
}


/* VIDEO BOX */

.mint-video-box {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
    border-radius: 14px;
    background: #eee;
}

.mint-video-box iframe {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    border: 0;
    border-radius: 14px;
}
/* ===== DANH MỤC SẢN PHẨM ===== */

.product-categories {
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-categories > li {
    margin: 0 0 6px;
    padding: 0;
    border: 0 !important;
}

/* Link */
.product-categories > li > a {
    position: relative;
    display: block;

    padding: 9px 14px 9px 28px;

    border-radius: 10px;

    color: #4b5563 !important;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;

    transition: all .2s ease;
}

/* Chấm tròn */
.product-categories > li > a::before {
    content: "";

    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);

    width: 6px;
    height: 6px;

    border: 1.5px solid #79cfb3;
    border-radius: 50%;

    background: transparent;
}

/* Hover */
.product-categories > li > a:hover {
    background: #f1faf6;
    color: #16705b !important;
}

/* Hover chấm */
.product-categories > li > a:hover::before {
    background: #79cfb3;
}

/* Danh mục đang chọn */
.product-categories > li.current-cat > a {
    background: #e5f7ef;
    color: #08745f !important;
    font-weight: 700;
}

/* Chấm active */
.product-categories > li.current-cat > a::before {
    background: #79cfb3;
    border-color: #79cfb3;
}
/* Dời dấu chấm tròn ra ngoài bên trái */
.product-categories > li > a::before {
    left: -14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* Không cần chừa khoảng trống cho dấu chấm nữa */
.product-categories > li > a {
    padding-left: 0 !important;
}
/* =========================================================
   PRODUCT VARIATION STYLE - MINT
   Style dạng button giống mẫu
========================================================= */

:root {
    --mint-main: #63D6B5;
    --mint-dark: #35B991;
    --mint-light: #E9FAF5;
    --mint-border: #D5E3DF;
    --mint-text: #18352D;
}


/* =========================================================
   1. KHU VỰC THUỘC TÍNH
========================================================= */

.single-product .variations {
    margin-bottom: 12px !important;
    border: none !important;
}

.single-product .variations tbody,
.single-product .variations tr,
.single-product .variations td,
.single-product .variations th {
    border: none !important;
}


/* Tên thuộc tính */
.single-product .variations .label {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 5px !important;
}

.single-product .variations .label label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #333 !important;
}


/* =========================================================
   2. BUTTON THUỘC TÍNH
   Hỗ trợ các plugin variation swatches phổ biến
========================================================= */

.single-product .variable-items-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin: 0 0 10px !important;
}


/* Button chưa chọn */
.single-product .variable-item {
    min-height: 36px !important;
    padding: 7px 14px !important;

    background: #fff !important;
    border: 1px solid var(--mint-border) !important;
    border-radius: 7px !important;

    box-shadow: 0 2px 5px rgba(0,0,0,.05) !important;

    color: #333 !important;
    font-size: 13px !important;
    font-weight: 500 !important;

    transition: all .2s ease !important;
}


/* Hover */
.single-product .variable-item:hover {
    border-color: var(--mint-main) !important;
    background: var(--mint-light) !important;
    color: var(--mint-dark) !important;
}


/* Button đang chọn */
.single-product .variable-item.selected {
    background: var(--mint-main) !important;
    border-color: var(--mint-main) !important;
    color: #fff !important;

    box-shadow: 0 4px 10px rgba(53,185,145,.22) !important;
}


/* Text bên trong */
.single-product .variable-item .variable-item-span {
    color: inherit !important;
    font-weight: inherit !important;
}


/* =========================================================
   3. NẾU ATTRIBUTE CỦA BẠN LÀ BUTTON CUSTOM
========================================================= */

.single-product .ux-swatches {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
}

.single-product .ux-swatch {
    border: 1px solid var(--mint-border) !important;
    border-radius: 7px !important;
    padding: 7px 14px !important;
    background: #fff !important;
    box-shadow: 0 2px 5px rgba(0,0,0,.05) !important;
}

.single-product .ux-swatch:hover {
    border-color: var(--mint-main) !important;
    background: var(--mint-light) !important;
}

.single-product .ux-swatch.selected {
    background: var(--mint-main) !important;
    border-color: var(--mint-main) !important;
    color: #fff !important;
}


/* =========================================================
   4. DROPDOWN SELECT - NẾU VẪN CÒN SELECT
========================================================= */

.single-product .variations select {
    min-height: 38px !important;
    border: 1px solid var(--mint-border) !important;
    border-radius: 7px !important;
    background-color: #fff !important;

    font-size: 13px !important;

    box-shadow: 0 2px 5px rgba(0,0,0,.04) !important;
}


/* =========================================================
   5. LINK XÓA / RESET
========================================================= */

.single-product .reset_variations {
    font-size: 10px !important;
    color: #aaa !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}


/* =========================================================
   6. GIÁ SẢN PHẨM
========================================================= */

.single-product .summary .price,
.single-product .woocommerce-variation-price .price {
    color: var(--mint-dark) !important;
    font-size: 25px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}


/* Giá cũ */
.single-product .summary .price del {
    color: #999 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}


/* Giá mới */
.single-product .summary .price ins {
    color: var(--mint-dark) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}


/* =========================================================
   7. KHU VỰC ADD TO CART
========================================================= */

.single-product form.cart {
    margin-top: 14px !important;
}

.single-product .woocommerce-variation-add-to-cart {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
}


/* =========================================================
   8. KHUNG SỐ LƯỢNG
========================================================= */

.single-product .quantity {
    display: flex !important;
    align-items: center !important;

    height: 44px !important;

    border: 1px solid var(--mint-border) !important;
    border-radius: 7px !important;

    background: #fff !important;

    overflow: hidden !important;

    box-shadow: 0 2px 6px rgba(0,0,0,.04) !important;
}


/* Ô số */
.single-product .quantity input[type="number"],
.single-product .quantity .qty {
    height: 42px !important;
    width: 45px !important;

    border: none !important;
    box-shadow: none !important;

    background: transparent !important;

    text-align: center !important;

    font-size: 14px !important;
    font-weight: 600 !important;
    color: #222 !important;
}


/* Nút + - của Flatsome */
.single-product .quantity .button {
    width: 34px !important;
    height: 42px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: none !important;
    background: #fff !important;

    color: #333 !important;

    box-shadow: none !important;
    text-shadow: none !important;

    font-size: 15px !important;
}


/* Hover + - */
.single-product .quantity .button:hover {
    background: var(--mint-light) !important;
    color: var(--mint-dark) !important;
}


/* =========================================================
   9. NÚT THÊM VÀO GIỎ HÀNG
========================================================= */

.single-product .single_add_to_cart_button {
    height: 44px !important;
    min-height: 44px !important;

    padding: 0 28px !important;
    margin: 0 !important;

    border: none !important;
    border-radius: 7px !important;

    background: var(--mint-main) !important;

    color: #fff !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    text-transform: none !important;
    letter-spacing: 0 !important;

    box-shadow: 0 5px 13px rgba(53,185,145,.22) !important;

    transition: all .2s ease !important;
}


/* Hover */
.single-product .single_add_to_cart_button:hover {
    background: var(--mint-dark) !important;
    box-shadow: 0 6px 15px rgba(53,185,145,.30) !important;
    transform: translateY(-1px);
}


/* Disable */
.single-product .single_add_to_cart_button.disabled,
.single-product .single_add_to_cart_button:disabled {
    opacity: .5 !important;
    cursor: not-allowed !important;
}


/* =========================================================
   10. ĐƯỜNG PHÂN CÁCH GIỐNG STYLE MẪU
========================================================= */

.single-product .variations_form {
    border-bottom: 1px dashed #ddd;
    padding-bottom: 12px;
}


/* =========================================================
   11. MOBILE
========================================================= */

@media (max-width: 549px) {

    .single-product .variable-items-wrapper {
        gap: 6px !important;
    }

    .single-product .variable-item {
        padding: 6px 10px !important;
        min-height: 34px !important;
        font-size: 12px !important;
    }

    .single-product .woocommerce-variation-add-to-cart {
        gap: 8px !important;
    }

    .single-product .single_add_to_cart_button {
        flex: 1 !important;
        padding: 0 15px !important;
    }

}
/* Ẩn tooltip màu đen */
.variable-item-span::before,
.variable-item-span::after,
.variable-item::before,
.variable-item::after {
    display: none !important;
    content: none !important;
}
.product-images .badge-container {
    display: none !important;
}
/* Giá sản phẩm */
.product-price-container .price {
    font-size: 18px !important;
}

/* Giá hiện tại */
.product-price-container .price ins,
.product-price-container .price ins .amount {
    color: #e53935 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* Giá gốc bị gạch */
.product-price-container .price del,
.product-price-container .price del .amount {
    color: #999 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}
/* ===== COOLMOM CONTACT FORM 7 ===== */

.coolmom-contact-form {
    background: #fff;
    border: 1px solid #e6ece9;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 14px rgba(0,0,0,.04);
}

/* Tiêu đề */
.coolmom-contact-form h3 {
    margin: 0 0 24px;
    font-size: 19px;
    font-weight: 600;
    color: #111;
}

/* 2 ô đầu nằm ngang */
.coolmom-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* Khoảng cách mỗi field */
.coolmom-contact-form .form-col,
.coolmom-contact-form .form-group {
    margin-bottom: 18px;
}

/* Label */
.coolmom-contact-form label {
    display: block;
    margin-bottom: 7px;
    font-size: 11px;
    color: #333;
    font-weight: 400;
}

/* Xóa margin mặc định của CF7 */
.coolmom-contact-form p {
    margin: 0;
}

/* Input + textarea */
.coolmom-contact-form input[type="text"],
.coolmom-contact-form input[type="tel"],
.coolmom-contact-form input[type="email"],
.coolmom-contact-form textarea {
    width: 100%;
    box-sizing: border-box;

    border: none !important;
    outline: none;

    background: #f8f8f8 !important;
    border-radius: 6px !important;

    padding: 12px 14px !important;

    font-size: 12px;
    color: #555;

    box-shadow: none !important;
}

/* Chiều cao input */
.coolmom-contact-form input[type="text"],
.coolmom-contact-form input[type="tel"],
.coolmom-contact-form input[type="email"] {
    height: 42px;
}

/* Textarea */
.coolmom-contact-form textarea {
    min-height: 110px;
    resize: vertical;
}

/* Placeholder */
.coolmom-contact-form input::placeholder,
.coolmom-contact-form textarea::placeholder {
    color: #87929a;
    opacity: 1;
}

/* Focus */
.coolmom-contact-form input:focus,
.coolmom-contact-form textarea:focus {
    box-shadow: 0 0 0 1px #63cdb3 !important;
}

/* Nút submit */
.coolmom-contact-form input[type="submit"] {
    width: 100% !important;
    height: 42px;

    margin: 0 !important;
    padding: 0 20px !important;

    border: none !important;
    border-radius: 7px !important;

    background: #23765f !important;
    color: #fff !important;

    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: none !important;

    cursor: pointer;

    box-shadow: 0 5px 10px rgba(35,118,95,.18);
}

/* Hover nút */
.coolmom-contact-form input[type="submit"]:hover {
    background: #1d6855 !important;
}

/* Xóa spinner CF7 nếu làm lệch */
.coolmom-contact-form .wpcf7-spinner {
    display: none;
}

/* Mobile */
@media (max-width: 549px) {
    .coolmom-contact-form {
        padding: 22px;
    }

    .coolmom-contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
/* Ẩn toàn bộ badge Giảm giá */
.badge-container {
    display: none !important;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}