/* mmsp-styles */


.mmsp-contact-price {
    display: inline-block; color: var(--nhatdx-primary, #C67930); font-weight: 700; font-size: 1em; line-height: 1.3; white-space: nowrap;
}

.woocommerce div.product .product_meta,
.product-info .product_meta,
.product-summary .product_meta {
    display: inline-flex !important; align-items: center !important; flex-wrap: wrap !important;
    gap: 12px !important; width: 100% !important; margin: 10px 0 !important; padding: 0 !important;
    border: 0 !important; font-family: var(--nx-font, Tahoma, Verdana, sans-serif);
    font-size: 14px !important; font-weight: 700 !important; color: var(--nhatdx-ink, #111) !important;
    line-height: 1.2 !important;
}
.product_meta .sku_wrapper { display: inline-flex !important; align-items: center; gap: 5px; }
.product_meta .sku {
    display: inline-flex !important; align-items: center !important;
    padding: 3px 8px !important; margin: 0 !important;
    background-color: #f5f5f5 !important; border: 1px solid #cccccc !important; border-radius: 4px !important;
    font-size: 13px !important; font-weight: 600 !important; color: var(--nhatdx-ink, #111) !important; line-height: 1.2 !important;
}

.product-info .trang-thai, .trang-thai { display: none !important; }

.product-info .woocommerce-product-rating, .product-summary .woocommerce-product-rating { display: none !important; }

.custom-trang-thai-moi {
    display: inline-flex !important; align-items: center !important;
    font-size: 14px !important; font-weight: 700 !important; color: var(--nhatdx-ink, #111) !important;
}
/* Chấm đầu dòng: báo cho khách biết đây là một trường riêng, không phải phần nối tiếp của
   trường đứng trước nó. Dùng chung cho Mã sản phẩm, Tình trạng và Thương hiệu. */
.nhatdx-product-meta .sku_wrapper::before,
.custom-trang-thai-moi::before,
.mmsp-brand-meta-part::before {
    content: '' !important; display: inline-block !important; flex: 0 0 auto !important;
    width: 10.5px !important; height: 10.5px !important; margin-right: 7px !important;
    border-radius: 50% !important; background: #9F6127 !important; opacity: 1;
}
.nhatdx-product-meta .sku_wrapper { display: inline-flex !important; align-items: center !important; }


.custom-trang-thai-moi .value,
.custom-trang-thai-moi .value.con-hang {
    display: inline-block !important; margin-left: 6px !important;
    padding: 3px 8px 3px 26px !important; border-radius: 4px !important;
    background-color: var(--nhatdx-primary, #C67930) !important; color: #ffffff !important;
    font-size: 13px !important; font-weight: 600 !important; line-height: 1.2 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important; background-size: 13px !important; background-position: 7px center !important;
}
.custom-trang-thai-moi .value.het-hang {
    background-color: #A3552E !important; background-image: none !important; padding: 3px 10px !important; color: #ffffff !important;
}

.custom-trang-thai-moi .value.cho-hang {
    background-color: var(--nhatdx-warning, #F59E0B) !important; background-image: none !important; padding: 3px 10px !important; color: #ffffff !important;
}
.custom-trang-thai-moi .value.tam-ngung {
    background-color: var(--nhatdx-muted, #81766A) !important; background-image: none !important; padding: 3px 10px !important; color: #ffffff !important;
}

.custom-star-rating.mmsp-rating {
    display: inline-flex !important; align-items: center !important; gap: 7px !important;
    vertical-align: middle; line-height: 1 !important;
}
.mmsp-stars { display: inline-flex !important; align-items: center; gap: 0 !important; line-height: 0 !important; }
.mmsp-star { display: block !important; width: 13px !important; height: 13px !important; flex: 0 0 auto; }
.custom-star-rating.mmsp-rating .rating-count {
    white-space: nowrap; font-size: 13px !important; font-weight: 400 !important;
    color: var(--nhatdx-muted, #827669) !important;
}
.mmsp-rate-avg { font-weight: 700; color: var(--nhatdx-ink, #342A22); }

.badge-container, .product-small .callout {
    position: absolute !important; top: 10px !important; left: 10px !important;
    right: auto !important; bottom: auto !important; margin: 0 !important;
    width: auto !important; height: auto !important; min-height: 0 !important; z-index: 3 !important;
}
html body .badge-container .badge,
html body .product-small .badge,
html body .badge-container {
    width: auto !important; height: auto !important; min-width: 0 !important; min-height: 0 !important;
    line-height: normal !important; font-size: 12px !important;
    margin: 0 !important; padding: 0 !important; background: none !important; box-shadow: none !important;
    border-radius: 0 !important;
}

html body .badge-container .badge .badge-inner { line-height: 1.5 !important; }

html body .badge-container .badge .badge-inner,
html body .badge-container .badge-inner,
html body .badge-inner,
.woocommerce span.onsale, span.onsale, li.product span.onsale,
.nhatdx-hs-badge,
.mmsp-sale-badge {
    display: inline-block !important; position: static !important; float: none !important;
    margin: 0 !important; padding: 3px 11px !important; border-radius: 999px !important;
    background: linear-gradient(135deg,#B06D33 0%,#DDA26E 50%,#C67C3C 100%) !important; color: #302319 !important;
    font-family: var(--nx-font, Tahoma, Verdana, sans-serif) !important;
    font-size: 12px !important; font-weight: 800 !important; line-height: 1.5 !important;
    min-width: 0 !important; min-height: 0 !important; width: auto !important; height: auto !important;
    box-shadow: 0 3px 10px rgba(176,109,51,.35) !important;
    text-transform: none !important; letter-spacing: normal !important; text-align: center !important;
}

.badge-inner *, span.onsale *, .mmsp-sale-badge * {
    font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important;
    color: inherit !important; margin: 0 !important; padding: 0 !important;
}

.nhatdx-hs-badge { position: absolute !important; top: 8px !important; left: 8px !important; padding: 3px 11px !important; }

.single-product .mmsp-sale-badge,
.single-product div.product > span.onsale,
.single-product .product-images span.onsale,
.single-product .woocommerce-product-gallery span.onsale,
.single-product .product-gallery span.onsale,
.single-product .product-gallery .badge-container,
.single-product .woocommerce-product-gallery .badge-container { display: none !important; }

.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .product-images,
.woocommerce div.product .product-gallery { position: relative !important; }

.product-small .box-text .name,
.product-small .box-text .name a,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .name a {
    display: -webkit-box !important; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden !important;
    min-height: calc(3 * 1.45em) !important; margin: 0 0 4px !important;
    font-size: 13.5px !important; font-weight: 600 !important; line-height: 1.45 !important;
    color: var(--nhatdx-ink, #342A22) !important; text-transform: none !important;
}
.product-small .box-text .name a:hover,
.woocommerce ul.products li.product .name a:hover { color: var(--nhatdx-primary, #C67930) !important; }

.custom-star-rating.mmsp-rating.mmsp-loop-rating,
.mmsp-loop-rating {
    display: flex !important; align-items: center !important; justify-content: center !important; gap: 7px !important;
    height: 20px !important; min-height: 20px !important; max-height: 20px !important;
    margin: 5px 0 4px !important; padding: 0 !important; line-height: 0 !important; overflow: hidden;
}
.mmsp-loop-rating .rating-count { display: none !important; }
.mmsp-loop-count {
    font-size: 12px !important; font-weight: 400 !important; line-height: 20px !important;
    color: var(--nhatdx-muted, #ADA49B) !important; white-space: nowrap;
}

@media (max-width: 600px) {
    .custom-star-rating.mmsp-rating:not(.mmsp-loop-rating) .mmsp-star:not(:first-child) { display: none !important; }
    .custom-star-rating.mmsp-rating .mmsp-rate-num { display: none; }
}

.mmsp-cart-btn {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
    width: 100%; max-width: 100%; box-sizing: border-box; margin: 10px 0 2px !important;
    min-height: 40px; padding: 9px 16px !important; border-radius: 20px !important; border: 1px solid transparent !important;
    background: var(--nhatdx-primary, #C67930) !important; color: #ffffff !important;
    font-family: var(--nx-font, Tahoma, Verdana, sans-serif) !important; font-size: 13.5px !important; font-weight: 700 !important;
    line-height: 1.2 !important; text-align: center; text-decoration: none !important; text-transform: none !important;
    letter-spacing: normal !important; box-shadow: 0 3px 10px rgba(198,121,48,.22) !important;
    cursor: pointer; transition: background .18s, box-shadow .18s, transform .18s, opacity .18s;
}
.mmsp-cart-btn:hover { background: var(--nhatdx-primary-dark, #A36327) !important; color: #fff !important; box-shadow: 0 5px 14px rgba(198,121,48,.3) !important; transform: translateY(-1px); }
.mmsp-cart-btn:focus-visible { outline: 2px solid var(--nhatdx-primary, #C67930); outline-offset: 2px; }
.mmsp-cart-btn svg { flex: 0 0 auto; }
.mmsp-cart-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.mmsp-cart-btn--link {
    background: #ffffff !important; color: var(--nhatdx-primary, #C67930) !important; border-color: #EFD9C2 !important; box-shadow: none !important;
}
.mmsp-cart-btn--link:hover { background: #FBF8F4 !important; color: var(--nhatdx-primary-dark, #A36327) !important; border-color: var(--nhatdx-primary, #C67930) !important; }

.mmsp-cart-btn.is-disabled {
    background: #F5F4F2 !important; color: #B0A69B !important; border-color: #EDE9E4 !important;
    box-shadow: none !important; pointer-events: none;
}

.mmsp-cart-btn.loading { opacity: .75; pointer-events: none; }
.mmsp-cart-btn.loading::after {
    content: ""; width: 15px; height: 15px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; animation: mmspSpin .7s linear infinite;
}
.mmsp-cart-btn.mmsp-added { background: #1d8a52 !important; box-shadow: 0 3px 10px rgba(29,138,82,.25) !important; }
@keyframes mmspSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .mmsp-cart-btn { transition: none; }
    .mmsp-cart-btn.loading::after { animation: none; }
}

.mmsp-cart-btn + .added_to_cart { display: none !important; }

.widget_shopping_cart .buttons .button.wc-forward:not(.mmsp-mini-checkout),
.widget_shopping_cart_content .buttons .button.wc-forward:not(.mmsp-mini-checkout),
.cart-sidebar .buttons .button.wc-forward:not(.mmsp-mini-checkout),
.widget_shopping_cart_content .buttons a[href*="gio-hang"]:not(.mmsp-mini-checkout) { display: none !important; }

.mmsp-mini-head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 0 0 12px; margin: 0 0 12px; border-bottom: 1px solid #F2EFEA;
}
.mmsp-mini-title { font-size: 16px; font-weight: 800; color: var(--nhatdx-ink, #342A22); line-height: 1.3; }
.mmsp-mini-clear {
    display: inline-flex !important; align-items: center; gap: 6px; flex: 0 0 auto;
    height: 30px; min-height: 0 !important; margin: 0 !important; padding: 0 11px !important; cursor: pointer;
    background: #fff !important; border: 1px solid #EBE7E2 !important; border-radius: 8px !important;
    color: var(--nhatdx-muted, #827669) !important; font-size: 12.5px !important; font-weight: 700 !important; line-height: 1 !important;
    text-transform: none !important; letter-spacing: normal !important; box-shadow: none !important;
    transition: background .15s, color .15s, border-color .15s;
}
.mmsp-mini-clear:hover { background: #FBF7F2 !important; color: #884726 !important; border-color: #F8F1E7 !important; }
.mmsp-mini-clear.is-busy { opacity: .6; pointer-events: none; }

.widget_shopping_cart_content ul.cart_list li.mini_cart_item,
.cart-sidebar ul.cart_list li.mini_cart_item {
    position: relative; display: block !important; min-height: 62px;
    padding: 12px 34px 12px 74px !important; margin: 0 !important;
    border-bottom: 1px solid #F4F3F1 !important; list-style: none !important;
}
.widget_shopping_cart_content ul.cart_list li.mini_cart_item:last-child { border-bottom: 0 !important; }
.widget_shopping_cart_content ul.cart_list li.mini_cart_item img,
.cart-sidebar ul.cart_list li.mini_cart_item img {
    position: absolute !important; left: 0; top: 12px;
    width: 62px !important; height: 62px !important; object-fit: cover;
    margin: 0 !important; border: 1px solid #F2EFEA !important; border-radius: 8px !important; float: none !important;
}
.widget_shopping_cart_content ul.cart_list li.mini_cart_item > a:not(.remove) {
    display: block; font-size: 13.5px !important; font-weight: 500 !important; color: var(--nhatdx-ink, #342A22) !important;
    line-height: 1.45 !important; text-decoration: none !important; padding: 0 !important;
}
.widget_shopping_cart_content ul.cart_list li.mini_cart_item .quantity {
    display: block; margin-top: 4px; font-size: 13px !important; color: var(--nhatdx-muted, #827669) !important; font-weight: 600;
}
.widget_shopping_cart_content ul.cart_list li.mini_cart_item .quantity .woocommerce-Price-amount { color: var(--nhatdx-ink, #342A22); }

.widget_shopping_cart_content ul.cart_list li.mini_cart_item a.remove,
.cart-sidebar ul.cart_list li.mini_cart_item a.remove {
    position: absolute !important; top: 12px; right: 0; left: auto !important;
    width: 28px !important; height: 28px !important; line-height: 0 !important; font-size: 0 !important;
    color: transparent !important; background-color: transparent !important; border: 1px solid transparent !important;
    border-radius: 8px !important; text-indent: 0 !important; overflow: hidden;
    background-repeat: no-repeat; background-position: center; background-size: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ADA49B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M19 6l-1 14H6L5 6'/%3E%3Cpath d='M10 11v6M14 11v6'/%3E%3C/svg%3E");
    transition: background-color .15s, border-color .15s;
}
.widget_shopping_cart_content ul.cart_list li.mini_cart_item a.remove::before,
.widget_shopping_cart_content ul.cart_list li.mini_cart_item a.remove::after { content: none !important; }
.widget_shopping_cart_content ul.cart_list li.mini_cart_item a.remove:hover {
    background-color: #FBF7F2 !important; border-color: #F8F1E7 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23884726' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M19 6l-1 14H6L5 6'/%3E%3Cpath d='M10 11v6M14 11v6'/%3E%3C/svg%3E");
}

.widget_shopping_cart_content .total,
.cart-sidebar .total {
    display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
    margin: 14px 0 0 !important; padding: 14px 0 0 !important;
    border-top: 1px solid #F2EFEA !important; border-bottom: 0 !important;
    font-size: 15px !important; font-weight: 700 !important; color: var(--nhatdx-ink, #342A22) !important;
}
.widget_shopping_cart_content .total .woocommerce-Price-amount { font-size: 18px; font-weight: 800; color: var(--nhatdx-primary, #C67930); }
.widget_shopping_cart_content .total strong { font-weight: 700; }

.mmsp-mini-checkout {
    display: flex !important; align-items: center; justify-content: center; gap: 9px;
    width: 100% !important; min-height: 48px; margin: 14px 0 0 !important; padding: 12px 18px !important;
    border: 0 !important; border-radius: 10px !important;
    background: var(--nhatdx-primary, #C67930) !important; color: #ffffff !important;
    font-family: var(--nx-font, Tahoma, Verdana, sans-serif) !important; font-size: 15px !important; font-weight: 800 !important;
    line-height: 1.2 !important; text-transform: none !important; letter-spacing: normal !important;
    white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis;
    text-decoration: none !important; box-shadow: 0 6px 16px rgba(198,121,48,.25) !important;
    transition: background .18s, box-shadow .18s;
}
.mmsp-mini-checkout:hover { background: var(--nhatdx-primary-dark, #A36327) !important; color: #fff !important; box-shadow: 0 8px 20px rgba(198,121,48,.32) !important; }
.mmsp-mini-checkout svg { flex: 0 0 auto; }

@media (max-width: 1024px) {
    .widget_shopping_cart_content ul.cart_list li.mini_cart_item { padding-left: 68px !important; }
    .widget_shopping_cart_content ul.cart_list li.mini_cart_item img,
    .cart-sidebar ul.cart_list li.mini_cart_item img { width: 56px !important; height: 56px !important; }
}
@media (max-width: 600px) {
    .mmsp-mini-title { font-size: 15px; }
    .mmsp-mini-clear span { display: none; }
    .mmsp-mini-clear { padding: 0 9px !important; }
    .widget_shopping_cart_content ul.cart_list li.mini_cart_item { padding: 10px 32px 10px 64px !important; min-height: 52px; }
    .widget_shopping_cart_content ul.cart_list li.mini_cart_item img,
    .cart-sidebar ul.cart_list li.mini_cart_item img { width: 52px !important; height: 52px !important; top: 10px; }
    .widget_shopping_cart_content ul.cart_list li.mini_cart_item > a:not(.remove) { font-size: 13px !important; }
    .mmsp-mini-checkout { min-height: 46px; font-size: 14.5px !important; padding: 12px 10px !important; }
    .mmsp-mini-checkout::before, .mmsp-mini-checkout::after { display: none !important; content: none !important; }
}

.widget ul.product_list_widget { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.widget ul.product_list_widget > li {
    position: relative; display: block !important; list-style: none !important;
    min-height: 64px; margin: 0 !important; padding: 12px 0 12px 76px !important;
    border-bottom: 1px solid #F4F3F1 !important; border-top: 0 !important;
}
.widget ul.product_list_widget > li:last-child { border-bottom: 0 !important; }
.widget ul.product_list_widget > li img {
    position: absolute !important; left: 0; top: 12px;
    width: 64px !important; height: 64px !important; object-fit: contain;
    margin: 0 !important; padding: 4px; box-sizing: border-box;
    background: #fff; border: 1px solid var(--nhatdx-line, #F2EFEA) !important; border-radius: 10px !important; float: none !important;
}
.widget ul.product_list_widget > li > a {
    display: block; font-size: 13.5px !important; font-weight: 500 !important;
    color: var(--nhatdx-ink, #342A22) !important; line-height: 1.45 !important; text-decoration: none !important;
    transition: color .15s;
}
.widget ul.product_list_widget > li > a:hover { color: var(--nhatdx-primary, #C67930) !important; }
.widget ul.product_list_widget > li .woocommerce-Price-amount,
.widget ul.product_list_widget > li ins .woocommerce-Price-amount {
    display: inline-block; margin-top: 5px;
    font-size: 14px !important; font-weight: 800 !important; color: var(--nhatdx-primary, #C67930) !important;
}
.widget ul.product_list_widget > li del .woocommerce-Price-amount {
    font-size: 12.5px !important; font-weight: 400 !important; color: #ADA49B !important; margin-left: 6px;
}
.widget ul.product_list_widget > li .mmsp-contact-price { margin-top: 5px; }
.widget ul.product_list_widget > li .star-rating { margin: 4px 0 0 !important; font-size: 11px !important; }
.widget ul.product_list_widget > li ins { text-decoration: none !important; background: none !important; }

.widget_recent_entries ul, .widget_recent_comments ul, .widget ul.recent-blog-posts {
    margin: 0 !important; padding: 0 !important; list-style: none !important;
}
.widget_recent_entries ul > li, .widget ul.recent-blog-posts > li {
    position: relative; display: block !important; list-style: none !important;
    margin: 0 !important; padding: 11px 0 11px 20px !important;
    border-bottom: 1px dashed #F2EFEA !important;
    font-size: 13.5px !important; line-height: 1.55 !important;
}
.widget_recent_entries ul > li:last-child, .widget ul.recent-blog-posts > li:last-child { border-bottom: 0 !important; }
.widget_recent_entries ul > li::before, .widget ul.recent-blog-posts > li::before {
    content: ""; position: absolute; left: 2px; top: 18px;
    width: 6px; height: 6px; border-radius: 50%; background: var(--nhatdx-primary, #C67930); opacity: .55;
}
.widget_recent_entries ul > li > a, .widget ul.recent-blog-posts > li > a {
    color: var(--nhatdx-ink, #342A22) !important; font-weight: 500 !important; text-decoration: none !important;
    transition: color .15s;
}
.widget_recent_entries ul > li > a:hover, .widget ul.recent-blog-posts > li > a:hover { color: var(--nhatdx-primary, #C67930) !important; }
.widget_recent_entries ul > li .post-date, .widget ul.recent-blog-posts > li .post-date {
    display: block; margin-top: 3px; font-size: 12px !important; color: var(--nhatdx-muted, #ADA49B) !important;
}

.widget_product_categories ul.product-categories > li > a,
.widget_product_categories ul.product-categories ul.children > li > a {
    display: flex !important; max-width: 100% !important; min-width: 0 !important; box-sizing: border-box !important;
    white-space: normal !important; overflow-wrap: anywhere !important; word-break: normal !important;
    text-transform: none !important; letter-spacing: normal !important; line-height: 1.4 !important;
}
.widget_product_categories ul.product-categories > li > a { font-size: 13.5px !important; font-weight: 600 !important; }
.widget_product_categories ul.product-categories ul.children { margin-left: 14px !important; }

.widget_product_categories ul.product-categories > li > .toggle,
.widget_product_categories ul.product-categories ul.children > li > .toggle {
    position: absolute !important; right: 4px; top: 6px; margin: 0 !important; padding: 0 !important;
    width: 30px; height: 30px; line-height: 30px !important; text-align: center; color: #ADA49B !important;
    background: none !important; border: 0 !important; box-shadow: none !important;
}
.widget_product_categories ul.product-categories > li:has(> .toggle) > a { padding-right: 84px !important; }
.widget_product_categories ul.product-categories > li:has(> .toggle) > .count { right: 40px; }

.mmsp-modal {
    position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center;
    padding: 20px; background: rgba(35,27,21,.55);
}
.mmsp-modal[hidden] { display: none; }
.mmsp-modal-box {
    width: 100%; max-width: 360px; box-sizing: border-box; background: #fff; border-radius: 14px;
    padding: 24px 24px 20px; text-align: center; box-shadow: 0 18px 50px rgba(0,0,0,.25);
    font-family: var(--nx-font, Tahoma, Verdana, sans-serif);
}
.mmsp-modal-text { margin: 0 0 20px !important; font-size: 15px; line-height: 1.6; color: var(--nhatdx-ink, #342A22); }
.mmsp-modal-actions { display: flex; gap: 10px; }
.mmsp-modal-actions button {
    flex: 1 1 0; height: 44px; min-height: 0 !important; margin: 0 !important; padding: 0 14px !important; cursor: pointer;
    border: 0 !important; border-radius: 9px !important; font-size: 14px !important; font-weight: 800 !important;
    line-height: 1 !important; text-transform: none !important; box-shadow: none !important;
}
.mmsp-modal-no { background: #F4F2EF !important; color: var(--nhatdx-ink, #342A22) !important; }
.mmsp-modal-no:hover { background: #EEEAE5 !important; }
.mmsp-modal-yes { background: #884726 !important; color: #fff !important; }
.mmsp-modal-yes:hover { background: #a5332a !important; }

.widget_shopping_cart_content .woocommerce-mini-cart__empty-message,
.cart-sidebar .woocommerce-mini-cart__empty-message { display: none !important; }
.mmsp-mini-empty { padding: 26px 10px 10px; text-align: center; font-family: var(--nx-font, Tahoma, Verdana, sans-serif); }
.mmsp-mini-empty-art { display: inline-flex; color: var(--nhatdx-primary, #C67930); margin-bottom: 8px; }
.mmsp-mini-empty-art svg { display: block; max-width: 100%; height: auto; }
.mmsp-mini-empty-title {
    display: block; font-size: 16px; font-weight: 800; color: var(--nhatdx-ink, #342A22); margin-bottom: 5px;
}
.mmsp-mini-empty-text {
    display: block; font-size: 13.5px; color: var(--nhatdx-muted, #827669); line-height: 1.6; margin-bottom: 16px;
}
.mmsp-mini-empty-btn {
    display: inline-flex !important; align-items: center; justify-content: center;
    min-width: 190px; min-height: 44px; padding: 11px 22px; border-radius: 999px;
    background: var(--nhatdx-primary, #C67930) !important; color: #fff !important;
    font-size: 14.5px; font-weight: 800; text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(198,121,48,.25); transition: background .15s;
}
.mmsp-mini-empty-btn:hover { background: var(--nhatdx-primary-dark, #A36327) !important; color: #fff !important; }

.widget ul.product_list_widget > li {
    border-bottom: 0 !important; margin: 0 0 8px !important; padding: 10px 12px 10px 84px !important;
    border: 1px solid transparent !important; border-radius: 12px !important;
    transition: background .15s, border-color .15s, transform .15s;
}
.widget ul.product_list_widget > li:hover {
    background: #FDFBF9 !important; border-color: #F3EBE0 !important; transform: translateX(2px);
}
.widget ul.product_list_widget > li img { left: 10px; top: 10px; }
.widget ul.product_list_widget > li > a {
    display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.widget ul.product_list_widget > li .woocommerce-Price-amount,
.widget ul.product_list_widget > li ins .woocommerce-Price-amount,
.widget ul.product_list_widget > li .mmsp-contact-price {
    padding: 2px 10px; border-radius: 999px; background: #F9F5F0;
}
.widget ul.product_list_widget > li del .woocommerce-Price-amount { background: none; padding: 0; }

.mmsp-loop-rating { margin: 4px 0 2px !important; }
.mmsp-loop-rating .rating-count { font-size: 12px !important; }

.woocommerce ul.products li.product .price,
.products .product-small .price,
.product-small .box-text .price,
.product-small .price-wrapper .price,
li.product .price {
    display: flex !important; align-items: baseline !important; justify-content: center !important;
    flex-wrap: nowrap !important; gap: 5px !important; margin: 4px 0 4px !important;
    height: 26px !important; min-height: 26px !important; line-height: 1.3 !important;
    white-space: nowrap !important; max-width: 100% !important; overflow: hidden !important;
    padding: 0 2px !important; box-sizing: border-box !important;
}
.woocommerce ul.products li.product .price del,
.products .product-small .price del,
.product-small .box-text .price del,
.product-small .price-wrapper .price del,
li.product .price del {
    order: 1; display: inline !important; margin: 0 !important; padding: 0 !important;

    flex: 0 1 auto !important; min-width: 0 !important; overflow: hidden !important; text-overflow: ellipsis !important;
    opacity: 1 !important; font-size: 11px !important; font-weight: 400 !important;
    color: #ADA49B !important; text-decoration: line-through !important; white-space: nowrap !important;
}
.woocommerce ul.products li.product .price ins,
.products .product-small .price ins,
.product-small .box-text .price ins,
.product-small .price-wrapper .price ins,
li.product .price ins {
    order: 2; display: inline !important; margin: 0 !important; padding: 0 !important;
    flex: 0 0 auto !important;
    background: none !important; text-decoration: none !important; white-space: nowrap !important;
}
.woocommerce ul.products li.product .price ins .woocommerce-Price-amount,
.products .product-small .price ins .woocommerce-Price-amount,
.product-small .box-text .price ins .woocommerce-Price-amount,
.product-small .price-wrapper .price ins .woocommerce-Price-amount,
li.product .price ins .woocommerce-Price-amount {
    color: var(--nhatdx-primary, #C67930) !important; font-weight: 700 !important; font-size: 13.5px !important;
}
.woocommerce ul.products li.product .price del .woocommerce-Price-amount,
.products .product-small .price del .woocommerce-Price-amount,
.product-small .box-text .price del .woocommerce-Price-amount,
.product-small .price-wrapper .price del .woocommerce-Price-amount,
li.product .price del .woocommerce-Price-amount {
    color: inherit !important; font-weight: 400 !important; font-size: inherit !important;
}

@media (max-width: 1024px) {

    .col:has(.menu-custom-mocmien),
    .col-inner:has(.menu-custom-mocmien),
    .row:has(.menu-custom-mocmien) > .col,
    .row:has(.menu-custom-mocmien) > div[class*="large-"] {
        flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important;
    }


    .menu-custom-mocmien ul:not(.sub-menu):not(.nav-dropdown):not(.children) {
        display: flex !important; flex-wrap: nowrap !important; align-items: stretch !important;
        overflow-x: auto !important; overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
        border-radius: 10px !important; padding: 4px !important; gap: 4px !important;
    }
    .menu-custom-mocmien ul:not(.sub-menu):not(.nav-dropdown)::-webkit-scrollbar { height: 4px; }
    .menu-custom-mocmien ul:not(.sub-menu):not(.nav-dropdown)::-webkit-scrollbar-thumb { background: #E1DAD2; border-radius: 4px; }

    .menu-custom-mocmien ul:not(.sub-menu):not(.nav-dropdown) > li {
        flex: 0 0 auto !important; width: auto !important; max-width: none !important; scroll-snap-align: start;
    }
    .menu-custom-mocmien ul:not(.sub-menu):not(.nav-dropdown) > li > a {
        display: flex !important; align-items: center !important;
        height: 100% !important; padding: 10px 16px 10px 38px !important;
        white-space: nowrap !important;
        border-bottom: 0 !important; border: 1px solid #EFECE7 !important; border-radius: 8px !important;
        background: #fff !important; font-size: 13.5px !important;
    }
    .menu-custom-mocmien ul:not(.sub-menu):not(.nav-dropdown) > li > a:hover { background: #FBF8F4 !important; border-color: #EFD9C2 !important; }


    .menu-custom-mocmien ul li ul,
    .menu-custom-mocmien ul li .sub-menu,
    .menu-custom-mocmien ul li .nav-dropdown { display: none !important; }
    .menu-custom-mocmien ul li > .toggle { display: none !important; }
}

@media (max-width: 849px) {

    .header-main .header-inner,
    .header-main .flex-row { position: relative !important; }
    .header-main .logo {
        position: absolute !important; left: 50% !important; top: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important; padding: 0 !important; max-width: 52% !important;
        text-align: center !important; z-index: 1;
    }
    .header-main .logo a { display: inline-block !important; margin: 0 auto !important; }

    .header-main .logo img { margin-left: auto !important; margin-right: auto !important; }
}

.woocommerce .mmsp-empty-cat {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    max-width: 560px; margin: 18px auto 30px; padding: 40px 28px 34px; box-sizing: border-box;
    background: #fff; border: 1px solid var(--nhatdx-line, #EFECE7); border-radius: 16px;
    box-shadow: 0 10px 30px rgba(52,42,34,.05); font-family: var(--nx-font, Tahoma, Verdana, sans-serif);
}
.mmsp-empty-cat-art { display: inline-flex; color: var(--nhatdx-primary, #C67930); margin-bottom: 10px; }
.mmsp-empty-cat-art svg { display: block; max-width: 100%; height: auto; }
.mmsp-empty-cat-title { font-size: 20px; font-weight: 800; color: var(--nhatdx-ink, #342A22); margin-bottom: 8px; }
.mmsp-empty-cat-text {
    font-size: 14px; color: var(--nhatdx-muted, #827669); line-height: 1.7; margin-bottom: 22px; max-width: 420px;
}
.mmsp-empty-cat-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.woocommerce a.mmsp-empty-cat-btn {
    display: inline-flex; align-items: center; justify-content: center; min-width: 210px; min-height: 46px;
    padding: 12px 26px; border-radius: 999px; background: var(--nhatdx-primary, #C67930) !important;
    color: #fff !important; font-size: 15px; font-weight: 800; text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(198,121,48,.24); transition: background .15s;
}
.woocommerce a.mmsp-empty-cat-btn:hover { background: var(--nhatdx-primary-dark, #A36327) !important; color: #fff !important; }
.woocommerce a.mmsp-empty-cat-link {
    color: var(--nhatdx-muted, #827669) !important; font-size: 13.5px; font-weight: 600;
    text-decoration: none !important; border-bottom: 1px dashed #D8D0C8;
}
.woocommerce a.mmsp-empty-cat-link:hover { color: var(--nhatdx-primary, #C67930) !important; }
.woocommerce .woocommerce-info:has(+ .mmsp-empty-cat),
.woocommerce .woocommerce-no-products-found > .woocommerce-info { display: none !important; }
@media (max-width: 600px) {
    .woocommerce .mmsp-empty-cat { padding: 30px 18px 26px; border-radius: 14px; }
    .mmsp-empty-cat-title { font-size: 18px; }
    .woocommerce a.mmsp-empty-cat-btn { width: 100%; min-width: 0; }
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    margin: 0 !important; padding: 0 !important; float: none !important;
    font-family: var(--nx-font, Tahoma, Verdana, sans-serif);
}
.woocommerce .shop-page-title + .row .woocommerce-result-count,
.woocommerce .woocommerce-result-count {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 14px !important; border-radius: 999px;
    background: #FAF8F5; border: 1px solid var(--nhatdx-line, #EFECE7);
    font-size: 13px !important; color: var(--nhatdx-muted, #827669) !important; line-height: 1.4 !important;
}
.woocommerce .woocommerce-result-count::before {
    content: ""; flex: 0 0 15px; width: 15px; height: 15px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23827669' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E") center/15px no-repeat;
}
.woocommerce .woocommerce-ordering { display: inline-flex !important; align-items: center; gap: 9px; }
.woocommerce .woocommerce-ordering::before {
    content: "Sắp xếp theo"; flex: 0 0 auto;
    font-size: 13px; font-weight: 700; color: var(--nhatdx-ink, #342A22); white-space: nowrap;
}
.woocommerce .woocommerce-ordering select.orderby {
    appearance: none; -webkit-appearance: none;
    height: 40px !important; min-width: 200px; max-width: 100%;
    margin: 0 !important; padding: 0 38px 0 14px !important;
    background-color: #fff !important; border: 1px solid var(--nhatdx-line, #EFECE7) !important; border-radius: 10px !important;
    font-size: 13.5px !important; font-weight: 700 !important; color: var(--nhatdx-primary, #C67930) !important;
    line-height: 38px !important; cursor: pointer; box-shadow: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C67930' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important; background-position: right 12px center !important; background-size: 15px !important;
}
.woocommerce .woocommerce-ordering select.orderby:hover { border-color: #EFD9C2 !important; }
.woocommerce .woocommerce-ordering select.orderby:focus {
    outline: none !important; border-color: var(--nhatdx-primary, #C67930) !important;
    box-shadow: 0 0 0 3px rgba(198,121,48,.15) !important;
}
@media (max-width: 600px) {
    .woocommerce .woocommerce-result-count { width: 100%; justify-content: center; margin-bottom: 10px !important; }
    .woocommerce .woocommerce-ordering { width: 100%; }
    .woocommerce .woocommerce-ordering select.orderby { flex: 1 1 auto; min-width: 0; }
}

.woocommerce-breadcrumb, nav.woocommerce-breadcrumb {
    display: flex !important; align-items: center; flex-wrap: wrap; gap: 6px;
    font-size: 13.5px !important; color: var(--nhatdx-muted, #827669) !important;
}
.woocommerce-breadcrumb > a:first-of-type::before {
    content: ""; display: inline-block; width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23827669' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpath d='M9 22V12h6v10'/%3E%3C/svg%3E") center/15px no-repeat;
}
.woocommerce-breadcrumb a { color: var(--nhatdx-muted, #827669) !important; text-decoration: none !important; }
.woocommerce-breadcrumb a:hover { color: var(--nhatdx-primary, #C67930) !important; }
.woocommerce-breadcrumb a:hover::before { filter: none; }

.woocommerce-breadcrumb {
    --nx-current: var(--nhatdx-primary, #C67930);
}
.woocommerce-breadcrumb > *:last-child,
nav.woocommerce-breadcrumb > *:last-child {
    color: var(--nx-current) !important; font-weight: 700 !important;
}

.mmsp-from-price { display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.mmsp-from-label {
    font-size: 11.5px !important; font-weight: 600 !important; color: var(--nhatdx-muted, #ADA49B) !important;
    text-transform: none !important;
}
.mmsp-from-price .woocommerce-Price-amount { color: var(--nhatdx-primary, #C67930) !important; font-weight: 700 !important; }

.section-title-container { margin-bottom: 18px !important; }
.section-title {
    display: flex !important; align-items: center !important; justify-content: space-between !important;
    gap: 14px !important; margin: 0 !important; padding: 0 0 12px !important;
    border-bottom: 1px solid var(--nhatdx-line, #EFECE7) !important;
}
.section-title b { display: none !important; }
.section-title .section-title-main,
.section-title > span:first-child {
    margin: 0 !important; padding: 0 !important; border: 0 !important;
    font-size: 20px !important; font-weight: 800 !important; line-height: 1.3 !important;
    color: var(--nhatdx-ink, #342A22) !important; text-transform: none !important; letter-spacing: normal !important;
    text-align: left !important; background: none !important;
}

.section-title a,
.section-title-container a,
a.section-title-link {
    display: inline-flex !important; align-items: center; gap: 7px; flex: 0 0 auto;
    margin: 0 !important; padding: 8px 16px !important; border-radius: 999px !important;
    background: #fff !important; border: 1px solid #EFD9C2 !important;
    color: var(--nhatdx-primary, #C67930) !important;
    font-size: 13px !important; font-weight: 700 !important; line-height: 1.3 !important;
    text-decoration: none !important; text-transform: none !important; letter-spacing: normal !important;
    white-space: nowrap; transition: background .15s, border-color .15s, color .15s;
}

.section-title a i, .section-title-container a i,
.section-title a::before, .section-title-container a::before { display: none !important; content: none !important; }

.section-title a::after,
.section-title-container a::after,
a.section-title-link::after {
    content: ""; width: 14px; height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C67930' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E") center/14px no-repeat;
    transition: transform .15s;
}
.section-title a:hover,
.section-title-container a:hover,
a.section-title-link:hover {
    background: var(--nhatdx-primary, #C67930) !important; border-color: var(--nhatdx-primary, #C67930) !important;
    color: #fff !important;
}
.section-title a:hover::after,
.section-title-container a:hover::after,
a.section-title-link:hover::after {
    transform: translateX(3px);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E");
}
@media (max-width: 600px) {
    .section-title { flex-wrap: wrap !important; gap: 8px !important; }
    .section-title .section-title-main { font-size: 17px !important; }
    .section-title a, .section-title-container a, a.section-title-link { padding: 7px 13px !important; font-size: 12.5px !important; }
}

.header-cart-link.mmsp-cart-btn-wrap,
a.cart-link.mmsp-cart-btn-wrap {
    display: inline-flex !important; align-items: center !important; gap: 6px !important;
    height: auto !important; min-height: 0 !important; padding: 7px 14px 7px 10px !important;
    border-radius: 999px !important; background: var(--nhatdx-primary, #C67930) !important;
    color: #fff !important; text-decoration: none !important; line-height: 1 !important;
    box-shadow: 0 4px 12px rgba(198,121,48,.25) !important; transition: background .15s, box-shadow .15s;
}
.header-cart-link.mmsp-cart-btn-wrap:hover { background: var(--nhatdx-primary-dark, #A36327) !important; color: #fff !important; }
.header-cart-link.mmsp-cart-btn-wrap::before,
.header-cart-link.mmsp-cart-btn-wrap::after { display: none !important; content: none !important; }

.mmsp-cart-ico { position: relative; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.mmsp-cart-ico svg { display: block; }

.mmsp-cart-num {
    position: absolute; top: -6px; right: -8px;
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
    background: #fff; color: var(--nhatdx-primary, #C67930);
    font-family: var(--nx-font, Tahoma, Verdana, sans-serif); font-size: 11.5px; font-weight: 800; line-height: 1;
    box-shadow: 0 1px 4px rgba(0,0,0,.18);
}
.mmsp-cart-ico { margin-right: 4px; }
.mmsp-cart-total {
    font-family: var(--nx-font, Tahoma, Verdana, sans-serif); font-size: 14px; font-weight: 800; color: #fff; white-space: nowrap;
}

@media (max-width: 849px) {
    .header-cart-link.mmsp-cart-btn-wrap { padding: 6px 12px 6px 10px !important; gap: 8px !important; }
    .mmsp-cart-total { font-size: 13px; }
    .mmsp-cart-ico svg { width: 24px; height: 24px; }
}

@media (max-width: 549px) {
    .header-cart-link.mmsp-cart-btn-wrap { padding: 7px 10px !important; }
    .mmsp-cart-total { display: none !important; }
}

.mmsp-sold-box {
    position: relative; display: flex; align-items: center; gap: 14px; box-sizing: border-box; overflow: hidden;
    margin: 16px 0 0; padding: 16px 20px; border-radius: 14px;
    background: linear-gradient(135deg, #A1542D, #8D4928 60%, #814324);
    box-shadow: 0 10px 26px rgba(141,73,40,.28); font-family: var(--nx-font, Tahoma, Verdana, sans-serif);
}

.mmsp-sold-box::after {
    content: ""; position: absolute; top: -60%; right: -10%; width: 45%; height: 220%;
    background: rgba(255,255,255,.12); transform: rotate(18deg); pointer-events: none;
}
.mmsp-sold-ic {
    position: relative; z-index: 1; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.92); color: #8D4928; box-shadow: 0 3px 10px rgba(0,0,0,.15);
}
.mmsp-sold-ic svg { width: 24px; height: 24px; }
.mmsp-sold-text { position: relative; z-index: 1; display: block; min-width: 0; }
.mmsp-sold-text strong {
    display: block; font-size: 17px; font-weight: 800; color: #fff; line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0,0,0,.12);
}
.mmsp-sold-num { font-size: 26px; font-weight: 900; color: #CF873F; letter-spacing: .5px; }
.mmsp-sold-text small { display: block; margin-top: 3px; font-size: 12.5px; color: rgba(255,255,255,.9); }

@media (max-width: 600px) {
    .mmsp-sold-box { padding: 13px 15px; gap: 11px; border-radius: 12px; }
    .mmsp-sold-ic { flex: 0 0 40px; width: 40px; height: 40px; }
    .mmsp-sold-text strong { font-size: 15px; }
    .mmsp-sold-num { font-size: 22px; }
}

.mmsp-sold-line {
    display: block !important; height: 18px; min-height: 18px; margin: 2px 0 2px !important;
    font-size: 12px !important; font-weight: 600 !important; line-height: 18px !important;
    color: #8D4928 !important; text-align: center; white-space: nowrap; overflow: hidden;
}

.post-item .box-image img,
.post-item .box-blog-post .box-image img {
    width: 100% !important;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: 50% 50%;
}

@supports not (aspect-ratio: 3 / 2) {
    .post-item .box-image img { height: auto !important; }
}
.post-item .post-title, .post-item .box-text h5, .post-item .box-text .is-larger {
    display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin: 0 0 6px !important; min-height: calc(2 * 1.45em);
    font-size: 15px !important; font-weight: 700 !important; line-height: 1.45 !important;
    color: var(--nhatdx-ink, #342A22) !important; text-transform: none !important;
}
.post-item a:hover .post-title { color: var(--nhatdx-primary, #C67930) !important; }
.post-item .post-meta {
    margin: 0 0 8px !important; font-size: 12px !important; color: var(--nhatdx-muted, #ADA49B) !important;
    text-transform: none !important; letter-spacing: normal !important;
}

.post-item .from_the_blog_excerpt {
    display: -webkit-box !important; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    margin: 0 0 14px !important; height: calc(3 * 1.65em); min-height: calc(3 * 1.65em);
    font-size: 13.5px !important; line-height: 1.65 !important; color: var(--nhatdx-muted, #827669) !important;
}
.post-item .box-text .button, .post-item .box-text a.button {
    display: flex !important; align-items: center !important; justify-content: center !important;
    width: 100% !important; min-height: 0 !important; box-sizing: border-box;
    margin: 0 !important; padding: 12px 18px !important; border-radius: 999px !important;
    line-height: 1.2 !important;
    background: var(--nhatdx-primary, #C67930) !important; color: #fff !important; border: 0 !important;
    font-size: 13px !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: normal !important;
    box-shadow: 0 4px 12px rgba(198,121,48,.22) !important;
}
.post-item .box-text .button:hover { background: var(--nhatdx-primary-dark, #A36327) !important; }

.header-cart-link .header-cart-title,
.header-cart-link .cart-icon,
.header-cart-link > i,
.header-cart-link > .image-icon,
a.cart-link .header-cart-title,
a.cart-link .cart-icon,
a.cart-link > i { display: none !important; }

.header-cart-link, a.cart-link {
    display: inline-flex !important; align-items: center !important; gap: 6px !important;
    min-width: 44px; min-height: 40px; justify-content: center;
    padding: 7px 14px 7px 10px !important; border-radius: 999px !important;
    background: var(--nhatdx-primary, #C67930) !important; color: #fff !important;
}

.widget_recent_entries ul,
.widget_nhatdx_posts ul { margin: 0 !important; padding: 0 !important; }

.widget_recent_entries > ul > li,
.widget_nhatdx_posts > ul > li {
    display: block !important; position: relative;
    margin: 0 !important; padding: 11px 0 11px 24px !important;
    border-top: 0 !important; border-bottom: 1px solid var(--nhatdx-line, #F4F2EF) !important;
    list-style: none !important;
}
.widget_recent_entries > ul > li:last-child,
.widget_nhatdx_posts > ul > li:last-child { border-bottom: 0 !important; }

.widget_recent_entries > ul > li::before,
.widget_nhatdx_posts > ul > li::before {
    content: "" !important; position: absolute; left: 2px; top: 16px;
    width: 13px; height: 13px; margin: 0 !important; opacity: 1 !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C67930' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center/13px no-repeat;
    transition: transform .15s;
}
.widget_recent_entries > ul > li:hover::before,
.widget_nhatdx_posts > ul > li:hover::before { transform: translateX(3px); }

.widget_recent_entries > ul > li > a,
.widget_nhatdx_posts > ul > li > a {
    display: block !important; padding: 0 !important;
    font-size: 13.5px !important; font-weight: 600 !important; line-height: 1.55 !important;
    color: var(--nhatdx-ink, #342A22) !important;
}
.widget_recent_entries > ul > li:hover > a,
.widget_nhatdx_posts > ul > li:hover > a { color: var(--nhatdx-primary, #C67930) !important; }

.widget_recent_entries .post-date,
.widget_nhatdx_posts .post-date {
    display: block; margin-top: 3px; font-size: 12px; color: var(--nhatdx-muted, #ADA49B);
}

.widget_nhatdx_posts .nx-post-row { display: flex; align-items: flex-start; gap: 11px; }
.widget_nhatdx_posts .nx-post-thumb {
    flex: 0 0 62px; width: 62px; height: 62px; border-radius: 9px; overflow: hidden; background: #F6F3EF;
}
.widget_nhatdx_posts .nx-post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.widget_nhatdx_posts .nx-post-body { flex: 1 1 auto; min-width: 0; }
.widget_nhatdx_posts .nx-post-title {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    font-size: 13.5px; font-weight: 600; line-height: 1.5; color: var(--nhatdx-ink, #342A22);
}
.widget_nhatdx_posts > ul > li.has-thumb { padding-left: 0 !important; }
.widget_nhatdx_posts > ul > li.has-thumb::before { display: none !important; }

.post-item .box-text .button span,
.post-item .box-text a.button span { line-height: 1.2 !important; display: inline-block; }

@media (min-width: 700px) and (max-width: 849px) {
    .row-slider > .flickity-viewport > .flickity-slider > .col.post-item,
    .row-slider > .col.post-item,
    .row .post-item.col {
        flex-basis: 50% !important; max-width: 50% !important; width: 50% !important;
    }
}

@media (max-width: 699px) {
    .row-slider > .flickity-viewport > .flickity-slider > .col.post-item,
    .row-slider > .col.post-item,
    .row .post-item.col {
        flex-basis: 100% !important; max-width: 100% !important; width: 100% !important;
    }
}

.woocommerce-breadcrumb .nx-crumb-current,
.breadcrumbs .nx-crumb-current,
.rank-math-breadcrumb .nx-crumb-current,
.woocommerce-breadcrumb > span:last-child:not(:first-child) {
    color: var(--nhatdx-primary, #C67930) !important;
    font-weight: 700 !important;
}

.widget_product_categories ul.product-categories,
.widget.woocommerce.widget_product_categories ul {
    margin: 0 !important; padding: 0 !important; list-style: none !important;
    border: 1px solid var(--nhatdx-line, #EFECE7) !important; border-radius: 8px !important; overflow: hidden;
}
.widget_product_categories ul.product-categories li {
    position: relative;
    margin: 0 !important; padding: 0 !important; list-style: none !important;
    border-bottom: 1px solid #F4F2EF !important;
}
.widget_product_categories ul.product-categories > li:last-child { border-bottom: 0 !important; }

.widget_product_categories .toggle,
.widget_product_categories li > .toggle,
.widget_product_categories ul.product-categories .toggle { display: none !important; }

.widget_product_categories ul.product-categories li > a {
    display: block !important; position: relative;
    padding: 11px 44px 11px 14px !important; background-image: none !important;
    font-size: 13.5px !important; font-weight: 500 !important; line-height: 1.5 !important;
    color: var(--nhatdx-ink, #342A22) !important; text-transform: none !important;
    transition: none !important; transform: none !important;
}
.widget_product_categories ul.product-categories li > a:hover {
    background: #FAF9F7 !important; color: var(--nhatdx-ink, #342A22) !important; padding-left: 14px !important;
}

.widget_product_categories ul.product-categories > li > a { font-weight: 700 !important; }

.widget_product_categories ul.product-categories ul.children {
    display: none; margin: 0 !important; padding: 0 !important; border: 0 !important;
}
.widget_product_categories ul.product-categories li.nx-open > ul.children { display: block; }
.widget_product_categories ul.product-categories ul.children li { border-bottom: 1px solid #F6F5F3 !important; }
.widget_product_categories ul.product-categories ul.children li:last-child { border-bottom: 0 !important; }

.widget_product_categories ul.product-categories > li > ul.children { background: #FCFBFA; }
.widget_product_categories ul.product-categories > li > ul.children > li > a {
    padding: 10px 44px 10px 30px !important;
    font-size: 13px !important; font-weight: 500 !important; color: #524236 !important;
}
.widget_product_categories ul.product-categories > li > ul.children > li > a::before {
    content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    width: 6px; height: 6px; border-radius: 50%; background: #DED4C9;
}

.widget_product_categories ul.product-categories > li > ul.children > li > ul.children { background: #F8F7F5; }
.widget_product_categories ul.product-categories > li > ul.children > li > ul.children > li > a {
    padding: 9px 44px 9px 48px !important;
    font-size: 12.5px !important; font-weight: 400 !important; color: #81766A !important;
}
.widget_product_categories ul.product-categories > li > ul.children > li > ul.children > li > a::before {
    content: ""; position: absolute; left: 34px; top: 50%; transform: translateY(-50%);
    width: 5px; height: 5px; border-radius: 50%; background: #DED4C9;
}

.widget_product_categories ul.product-categories > li > ul.children { box-shadow: inset 2px 0 0 #EEEAE4; }
.widget_product_categories ul.product-categories > li > ul.children > li > ul.children { box-shadow: inset 2px 0 0 #E5E0D9; }

.widget_product_categories ul.product-categories li.current-cat > a {
    background: #F5EEE4 !important;
    box-shadow: inset 4px 0 0 var(--nhatdx-primary, #C67930) !important;
    color: var(--nhatdx-ink, #342A22) !important;
}
.widget_product_categories ul.product-categories li.current-cat > a::before { background: var(--nhatdx-primary, #C67930) !important; }
.widget_product_categories ul.product-categories li.current-cat > a:hover { background: #F2E9DD !important; }
.widget_product_categories ul.product-categories li.current-cat-parent > a,
.widget_product_categories ul.product-categories li.current-cat-ancestor > a {
    background: transparent !important; box-shadow: none !important;
}

.widget_product_categories ul.product-categories > li > ul.children > li.nx-cat-branch > a::before,
.widget_product_categories ul.product-categories > li > ul.children > li.current-cat-parent > a::before {
    background: var(--nhatdx-primary, #C67930) !important;
}
.widget_product_categories ul.product-categories li.nx-cat-branch > a {
    background: transparent !important; box-shadow: none !important;
}

.nx-cat-toggle {
    position: absolute; top: 0; right: 0; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23827669' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/14px no-repeat;
}
.nx-cat-toggle:hover { background-color: #F4F2EF; }

.widget_product_categories li.nx-cat-branch > .nx-cat-toggle { display: none !important; }
.widget_product_categories li.nx-cat-branch > a { padding-right: 34px !important; }

li.nx-open > .nx-cat-toggle {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C67930' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E");
}

.widget_product_categories ul.product-categories li > a .count,
.widget_product_categories ul.product-categories li .count {
    float: none !important; position: absolute; right: 46px; top: 50%; transform: translateY(-50%);
    padding: 0 !important; background: none !important; border: 0 !important;
    color: #B0A69B !important; font-size: 12px !important; font-weight: 400 !important;
}
.widget_product_categories ul.product-categories li:not(.cat-parent) > a .count { right: 14px; }

.nx-cat-mobile-btn { display: none; }
@media (max-width: 1024px) {
    .widget_product_categories.nx-cat-mobile .widget-title { display: none !important; }
    .nx-cat-mobile-btn {
        display: flex !important; align-items: center; justify-content: space-between;
        width: 100%; box-sizing: border-box; margin: 0 0 10px; padding: 12px 16px;
        border: 0; border-radius: 8px; cursor: pointer;
        background: var(--nhatdx-primary, #C67930); color: #fff;
        font-family: var(--nx-font, Tahoma, Verdana, sans-serif); font-size: 14px; font-weight: 700; text-align: left;
    }
    .nx-cat-mobile-btn::after {
        content: ""; width: 15px; height: 15px; flex: 0 0 15px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/15px no-repeat;
    }
    .widget_product_categories.nx-cat-collapsed .nx-cat-mobile-btn { margin-bottom: 0; }
    .widget_product_categories.nx-cat-collapsed .nx-cat-mobile-btn::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E");
        transform: rotate(180deg);
    }
    .widget_product_categories.nx-cat-collapsed ul.product-categories { display: none !important; }
}

.mmsp-catstrip {
    position: relative; margin: 0 0 18px;
    display: flex; align-items: center; gap: 8px;
}
.mmsp-catstrip-track { padding: 2px 0 !important; }
.mmsp-catstrip-track { scroll-behavior: smooth; }
.mmsp-catstrip-track {
    display: flex; flex-flow: row nowrap; gap: 8px;
    padding: 2px 30px 2px 0; overflow-x: auto; overflow-y: hidden;
    scrollbar-width: none; -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    will-change: scroll-position;
}
.mmsp-catstrip-track::-webkit-scrollbar { height: 0; width: 0; display: none; }

.mmsp-catstrip-item {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 15px; border-radius: 999px;
    background: #F6F3EF; border: 1px solid #EEEAE4;
    font-size: 13px; font-weight: 600; line-height: 1.35; white-space: nowrap;
    color: var(--nhatdx-ink, #342A22) !important; text-decoration: none !important;
}
.mmsp-catstrip-item:hover {
    background: #F4EDE5; border-color: #E4DCD2;
}
.mmsp-catstrip-item.is-current {
    background: var(--nhatdx-primary, #C67930); border-color: var(--nhatdx-primary, #C67930);
    color: #fff !important;
}
.mmsp-catstrip-count {
    padding: 0 6px; border-radius: 999px; background: rgba(52, 42, 34, .08);
    font-size: 11.5px; font-weight: 700; color: #827669;
}
.mmsp-catstrip-item.is-current .mmsp-catstrip-count { background: rgba(255,255,255,.24); color: #fff; }

.mmsp-catstrip-track { cursor: grab; }
.mmsp-catstrip-track.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.mmsp-catstrip-track.is-dragging a { pointer-events: none; }

.mmsp-catstrip-nav {
    position: static; flex: 0 0 34px; order: 0;
    width: 34px; height: 34px; padding: 0; margin: 0; border: 0; cursor: pointer;
    border-radius: 8px;
    background-color: #F9F4EE; background-repeat: no-repeat; background-position: center; background-size: 16px;
    transition: background-color .15s ease, opacity .15s ease;
}
.mmsp-catstrip-nav.is-prev { order: 0; }
.mmsp-catstrip-track      { order: 1; flex: 1 1 auto; min-width: 0; }
.mmsp-catstrip-nav.is-next { order: 2; }
.mmsp-catstrip-nav:disabled { opacity: .35; cursor: default; }
.mmsp-catstrip-nav:hover { background-color: #F3EADE; }
.mmsp-catstrip-nav.is-prev {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C67930' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E");
}
.mmsp-catstrip-nav.is-next {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C67930' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E");
}
.mmsp-catstrip-nav[hidden] { display: none; }
@media (max-width: 849px) { .mmsp-catstrip-nav { display: none !important; } }

@media (max-width: 600px) {
    .mmsp-catstrip-item { padding: 7px 13px; font-size: 12.5px; }
    .mmsp-catstrip-track { gap: 6px; }
}

.flickity-button.flickity-prev-next-button {
    background: transparent !important;
    color: var(--nhatdx-primary, #C67930) !important;
    border-color: var(--nhatdx-primary, #C67930) !important;
    opacity: 0; transition: opacity .18s ease, color .15s ease;
}
.flickity-button.flickity-prev-next-button:hover {
    background: transparent !important;
    color: var(--nhatdx-primary-dark, #A36327) !important;
    border-color: var(--nhatdx-primary-dark, #A36327) !important;
}
.flickity-button.flickity-prev-next-button:hover .flickity-button-icon {
    fill: var(--nhatdx-primary-dark, #A36327) !important;
}
.wcgp-arrow {
    width: 38px !important; height: 38px !important; padding: 0 !important;
    border: 0 !important; border-radius: 8px !important;
    background: #F9F4EE !important; color: var(--nhatdx-primary, #C67930) !important;
    box-shadow: 0 2px 10px rgba(35, 27, 21, .12) !important;
    opacity: 0; transition: opacity .18s ease, background-color .15s ease;
}

.row:hover > .flickity-button.flickity-prev-next-button,
.row-slider:hover .flickity-button.flickity-prev-next-button,
.slider-wrapper:hover .flickity-button.flickity-prev-next-button,
.product-gallery:hover .wcgp-arrow,
.wcgp-gallery:hover .wcgp-arrow,
.woocommerce-product-gallery:hover .wcgp-arrow { opacity: 1; }

.wcgp-arrow:hover { background: #EFE3D4 !important; }
.flickity-button.flickity-prev-next-button:disabled { opacity: .3 !important; }

.flickity-button.flickity-prev-next-button .flickity-button-icon { fill: var(--nhatdx-primary, #C67930) !important; }

/* ---------- Nút trượt các dải sản phẩm ở trang chi tiết ----------
   Đặt ở ĐÂY, ngay sau khối dùng chung phía trên, và dùng hai lớp '.flickity-button' +
   '.flickity-prev-next-button' để thắng cả về độ ưu tiên lẫn thứ tự. Đặt ở khối CSS khác thì khối
   dùng chung nằm sau sẽ ghi đè — đó là lý do nền trắng và màu chữ cứ quay lại.

   Lưu ý về mũi tên: hướng của nó do thuộc tính transform ghi thẳng trong thẻ <path class="arrow">
   của Flickity quyết định. CSS transform ghi đè được thuộc tính đó, nên TUYỆT ĐỐI không đặt
   transform cho '.arrow' — bản trước tôi làm vậy nên mũi tên phải bị quay ngược về trái. */
.single-product .flickity-button.flickity-prev-next-button {
    width: 40px !important; height: 40px !important;
    /* 34% thay vì 50%: nửa chiều cao thẻ sản phẩm rơi đúng vào dòng tên, còn 34% thì nằm gọn
       trong vùng ảnh phía trên. */
    top: 34% !important; bottom: auto !important; transform: translateY(-50%) !important;
    padding: 0 !important; opacity: 1 !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    background: none !important; background-color: transparent !important;
    border: 1.5px solid #DDD7D1 !important; border-radius: 50% !important;
    box-shadow: none !important; color: #6B6157 !important;
}
.single-product .flickity-button.flickity-prev-next-button .flickity-button-icon,
.single-product .flickity-button.flickity-prev-next-button svg {
    position: static !important;
    left: auto !important; right: auto !important; top: auto !important; bottom: auto !important;
    width: 14px !important; height: 14px !important; max-width: none !important;
    margin: 0 !important; padding: 0 !important;
    border: 0 !important; border-radius: 0 !important;
    background: none !important; background-color: transparent !important;
}
/* Chỉ đổi màu cho hình mũi tên, không đụng tới transform của nó */
.single-product .flickity-button.flickity-prev-next-button .arrow,
.single-product .flickity-button.flickity-prev-next-button .flickity-button-icon {
    fill: currentColor !important;
}

/* Căn giữa mũi tên.
   Hình vẽ của Flickity nằm lệch trong khung viewBox: nó chạy từ x=10 đến x=70 trên khung rộng 100,
   tức tâm hình ở x=40 chứ không phải 50. Vì vậy dù thẻ svg đã được căn giữa, mũi tên vẫn trông
   lệch sang một bên. Bù lại bằng cách dịch chính thẻ SVG — không đụng tới thẻ path, vì transform
   của path đang giữ hướng cho mũi tên phải. */
.single-product .flickity-button.flickity-prev-next-button.previous svg { transform: translateX(1.4px) !important; }
.single-product .flickity-button.flickity-prev-next-button.next svg     { transform: translateX(-1.4px) !important; }

/* Thu hai nút vào trong để không đè lên viền khung sản phẩm hai bên */
.single-product .flickity-button.flickity-prev-next-button.previous { left: 14px !important; right: auto !important; }
.single-product .flickity-button.flickity-prev-next-button.next     { right: 14px !important; left: auto !important; }
.single-product .flickity-button.flickity-prev-next-button:hover {
    background: none !important; background-color: transparent !important;
    border-color: var(--nhatdx-primary, #C67930) !important;
    color: var(--nhatdx-primary, #C67930) !important;
}
.single-product .flickity-button.flickity-prev-next-button:hover .arrow,
.single-product .flickity-button.flickity-prev-next-button:hover .flickity-button-icon {
    fill: var(--nhatdx-primary, #C67930) !important;
}
.wcgp-arrow { font-size: 16px !important; line-height: 38px !important; text-align: center; }

.wcgp-arrow.wcgp-prev { left: 10px !important; right: auto !important; transform: translateY(-50%) !important; }
.wcgp-arrow.wcgp-next { right: 10px !important; left: auto !important; transform: translateY(-50%) !important; }
.wcgp-arrow.wcgp-prev, .wcgp-arrow.wcgp-next { top: 50% !important; margin: 0 !important; }

@media (hover: none) {
    .flickity-button.flickity-prev-next-button, .wcgp-arrow { opacity: 1; }
}

@media (max-width: 600px) {
    .mmsp-start-order, .mmsp-checkout-btn,
    .woocommerce .wc-proceed-to-checkout a.checkout-button,
    .woocommerce-cart .wc-proceed-to-checkout a.button {
        display: flex !important; align-items: center; justify-content: center;
        white-space: nowrap !important;
        padding-left: 14px !important; padding-right: 14px !important;
        font-size: 14px !important; line-height: 1.25 !important;
    }
}
@media (max-width: 380px) {
    .mmsp-start-order, .mmsp-checkout-btn,
    .woocommerce .wc-proceed-to-checkout a.checkout-button {
        font-size: 13px !important; letter-spacing: 0 !important;
    }
}

a.added_to_cart, a.added_to_cart.wc-forward,
.single-product a.added_to_cart, .product a.added_to_cart { display: none !important; }

.off-canvas .mfp-close,
.off-canvas-right .mfp-close,
#cart-popup .mfp-close,
.cart-popup .mfp-close,
.off-canvas .mfp-close:active {
    color: #342A22 !important; opacity: 1 !important;
    font-size: 30px !important; line-height: 40px !important;
    width: 44px !important; height: 44px !important;
    top: 6px !important; right: 6px !important;
    background: transparent !important; border: 0 !important;
    z-index: 100000000 !important; pointer-events: auto !important; cursor: pointer !important;
}
.off-canvas .mfp-close:hover, #cart-popup .mfp-close:hover { color: var(--nhatdx-primary, #C67930) !important; }

#cart-popup .widget_shopping_cart_content,
.off-canvas-right .widget_shopping_cart_content { position: relative; z-index: 1; }
#cart-popup .cart-popup-title, .off-canvas-right .cart-popup-title { padding-right: 46px; }

