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

/* =============================================
   1. FONTS — BlinkMacSystemFont
   ============================================= */
@font-face { font-family: BlinkMacSystemFont; src: url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-Thin.woff2") format("woff2"), url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-Thin.woff") format("woff"); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: BlinkMacSystemFont; src: url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-ThinItalic.woff2") format("woff2"), url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-ThinItalic.woff") format("woff"); font-weight: 100; font-style: italic; font-display: swap; }
@font-face { font-family: BlinkMacSystemFont; src: url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-Ultralight.woff2") format("woff2"), url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-Ultralight.woff") format("woff"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: BlinkMacSystemFont; src: url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-UltralightItalic.woff2") format("woff2"), url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-UltralightItalic.woff") format("woff"); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: BlinkMacSystemFont; src: url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-Light.woff2") format("woff2"), url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-Light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: BlinkMacSystemFont; src: url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-LightItalic.woff2") format("woff2"), url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-LightItalic.woff") format("woff"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: BlinkMacSystemFont; src: url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-Regular.woff2") format("woff2"), url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: BlinkMacSystemFont; src: url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-RegularItalic.woff2") format("woff2"), url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-RegularItalic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: BlinkMacSystemFont; src: url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-Medium.woff2") format("woff2"), url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: BlinkMacSystemFont; src: url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-MediumItalic.woff2") format("woff2"), url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-MediumItalic.woff") format("woff"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: BlinkMacSystemFont; src: url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-Semibold.woff2") format("woff2"), url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-Semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: BlinkMacSystemFont; src: url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-SemiboldItalic.woff2") format("woff2"), url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-SemiboldItalic.woff") format("woff"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: BlinkMacSystemFont; src: url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-Bold.woff2") format("woff2"), url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: BlinkMacSystemFont; src: url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-BoldItalic.woff2") format("woff2"), url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-BoldItalic.woff") format("woff"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: BlinkMacSystemFont; src: url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-Heavy.woff2") format("woff2"), url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-Heavy.woff") format("woff"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: BlinkMacSystemFont; src: url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-HeavyItalic.woff2") format("woff2"), url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-HeavyItalic.woff") format("woff"); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: BlinkMacSystemFont; src: url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-Black.woff2") format("woff2"), url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-Black.woff") format("woff"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: BlinkMacSystemFont; src: url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-BlackItalic.woff2") format("woff2"), url("../../assets/fonts/BlinkMacSystemFont/BlinkMacSystemFont-BlackItalic.woff") format("woff"); font-weight: 900; font-style: italic; font-display: swap; }

/* =============================================
   2. FONTS — SVN-Airbnb
   ============================================= */
@font-face {
    font-family: 'SVN-Airbnb';
    src: url('../fonts/SVN-Airbnb Cereal Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SVN-Airbnb';
    src: url('../fonts/SVN-Airbnb Cereal Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SVN-Airbnb';
    src: url('../fonts/SVN-Airbnb Cereal Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* =============================================
   3. GLOBAL / RESET
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: Arial, 'SVN-Airbnb', Helvetica, sans-serif;
    font-size: 15px;
    color: #212121;
}

body {
    font-weight: 400;
    font-style: normal;
}

.alt-font,
.heading-font,
.off-canvas-center .nav-sidebar.nav-vertical > li > a,
body, h1, h2, h3, h4, h5, h6 {
    font-family: "BlinkMacSystemFont", sans-serif !important;
}

.banner h1,
.banner h2,
.heading-font,
h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    font-style: normal;
}

.alt-font {
    font-weight: 400 !important;
    font-style: normal !important;
}

.wp-block-code code {
    font-family: "BlinkMacSystemFont", sans-serif !important;
}

/* =============================================
   4. LAYOUT / CONTAINER
   ============================================= */
.container,
.container-width,
.full-width .ubermenu-nav,
.row,
.row.row-small {
    max-width: 100% !important;
}

.banner_arrival {
    max-width: 90% !important;
}

body .page-wrapper {
    padding: 0;
}

/* =============================================
   5. NAVIGATION / HEADER
   ============================================= */
ul.header-nav.header-nav-main.nav.nav-left.nav-uppercase {
    justify-content: center;
}

.header .nav > li {
    margin: 0 20px;
}

.mobile-sidebar-levels-2 .nav > li > ul > li > a,
.nav > li > a {
    font-family: "BlinkMacSystemFont", sans-serif !important;
    font-weight: 900;
    font-style: normal;
}

/* Header search */
.header .search-form .live-search-results {
    left: revert;
    width: 600px;
}
div#search-lightbox div.live-search-results {
    background-color: #fff;
    color: #000;
}

/* Top bar */
#top-bar {
    border-bottom: 1px solid #dee2e6;
}
#top-bar .nav > li.html.html_topbar_left span {
    color: #212121;
    font-size: 13px;
    font-weight: 700;
    padding: .5rem;
}
#top-bar .nav > li.html.html_topbar_left span a {
    color: var(--fs-color-primary);
}
#wide-nav .header-bottom-nav > li > a {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

/* =============================================
   6. DROPDOWN THƯỜNG (Phụ Kiện, v.v.)
   ============================================= */
.nav-dropdown-has-border .nav-dropdown {
    border-radius: 10px;
}

/* NOTE: block dưới (padding-left: 20px, margin) là phiên bản cũ hơn,
   đã bị ghi đè bởi block kế tiếp — giữ lại block mới nhất */
.nav-dropdown.nav-dropdown-default > li > a,
ul.sub-menu.nav-dropdown.nav-dropdown-default a {
    color: #333 !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    white-space: nowrap;
    padding: 9px 18px !important;
    display: block;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown.nav-dropdown-default > li > a:hover,
ul.sub-menu.nav-dropdown.nav-dropdown-default a:hover {
    background: #e8f5e9 !important;
    color: var(--primary-color) !important;
}

.nav-dropdown.nav-dropdown-default > li {
    border-bottom: 1px solid #f2f2f2 !important;
}

.nav-dropdown.nav-dropdown-default > li:last-child {
    border-bottom: none !important;
}

/* =============================================
   7. MEGA MENU SẢN PHẨM
   ============================================= */
.nav-dropdown .ux-block-wrap,
.nav-dropdown .block-content {
    width: auto !important;
    overflow: visible !important;
}

.mega-san-pham {
    width: 560px !important;
    min-width: 560px !important;
    box-sizing: border-box !important;
}

.mega-san-pham .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    width: 100% !important;
}

.mega-san-pham .col {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.mega-san-pham .col-tre-em .col-inner {
    border-right: 1px solid #ebebeb !important;
    padding: 8px 12px !important;
}

.mega-san-pham .col-nguoi-lon .col-inner {
    padding: 8px 12px 8px 16px !important;
}

/* Tiêu đề cột */
.mega-san-pham h5 {
    color: var(--primary-color) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin: 0 0 8px 4px !important;
    padding: 0 !important;
    border: none !important;
    display: block;
}

.mega-san-pham ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mega-san-pham ul li {
    border: none !important;
    padding: 0 !important;
}

.mega-san-pham ul li a {
    color: #333 !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    padding: 7px 10px !important;
    border-radius: 6px !important;
    display: block;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: unset !important;
    transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.mega-san-pham ul li a:hover {
    background: #e8f5e9 !important;
    color: var(--primary-color) !important;
    padding-left: 14px !important;
}

/* Mega menu — white-space cho link cấp 1 */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
    white-space: nowrap;
}

/* Sub menu custom */
.custom_sub_menu {
    padding-top: 20px !important;
}

.custom_sub_menu .section-content {
    display: flex;
    justify-content: center;
}

.custom_sub_menu .section-content .row {
    min-width: 90rem;
}

.custom_menu_item .menu-item a {
    color: #000;
    font-weight: 400 !important;
}

.custom_menu_item .menu-item:first-child a {
    font-weight: 600 !important;
}

/* Sidebar menu */
.sidebar-menu .menu-item-object-custom {
    display: none !important;
}

.sidebar-menu .menu-item a {
    background-color: white !important;
    color: black;
}

.sidebar-menu .menu-item .toggle {
    color: black;
    background-color: white !important;
    opacity: 1;
}

.sidebar-menu {
    background-color: white !important;
}

.nav-sidebar.nav-vertical > li.menu-item.active,
.nav-sidebar.nav-vertical > li.menu-item:hover {
    background-color: white !important;
}

/* =============================================
   8. HOME PAGE SECTIONS
   ============================================= */
.home_ss2 {
    padding-bottom: 0 !important;
}

/* Home banner */
.home_banner {
    background: url(../img/vietnam-visa-airport.png) no-repeat center top;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.home_banner .row .col {
    padding-bottom: 0;
}

.home_banner .col-left h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.home_banner .col-left p {
    color: #212121;
    font-size: 22px;
    font-weight: 700;
    line-height: 25px;
    margin-bottom: 1rem;
}

.home_banner .col-right .home-apply-form {
    width: 440px;
    height: 350px;
    background: rgba(0, 56, 117, .8);
    float: right;
    padding: 1rem;
}

.home_banner .col-right .home-apply-form h2 {
    text-align: center;
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.home_banner .form-group {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    margin-bottom: 1rem;
}

.home_banner .form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 15px;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    margin-bottom: 0;
}

.home_banner .col-form-label {
    flex-basis: 33.333333%;
    max-width: 33.333333%;
    display: flex;
    align-items: center;
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.home_banner .col-form-content {
    flex-basis: 66.666667%;
    max-width: 66.666667%;
}

.home_banner .btn {
    width: 100%;
    color: #fff;
    background-color: var(--fs-color-secondary);
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    margin-bottom: .5rem;
}

.home-visa-list {
    height: 49px;
    background: url(../img/passport-line.jpg) repeat-x top left;
}

/* Home info */
.home_info {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.home_info .large-12 { padding-bottom: 1.5rem; }
.home_info .large-6  { padding-bottom: 0; }

.home_info .main-text p { color: #6c6c6c; }

.home_info .box-text {
    padding-top: 0;
    padding-bottom: 0;
}

.home_info .box-text h3 {
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
    font-size: 1.75rem;
}

.home_info .box-text h3 a { color: var(--fs-color-primary); }

.home_info .box-text p {
    font-size: 15px;
    margin-top: 0;
    margin-bottom: 1rem;
}

.home_info .box-text p a {
    color: red;
    font-weight: 700;
}

/* Home how-to */
.home_how_to {
    background: #003875;
    color: #fff;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.home_how_to .large-12  { padding-bottom: 15px; }

.home_how_to .main-text h2 {
    color: #fff;
    font-size: 38px;
    margin-bottom: 14px;
}

.home_how_to .icon-box h3 {
    color: #fff;
    font-size: 18px;
    margin-top: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

.home_how_to .icon-box p  { color: #eee; }

.home_how_to h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 1.5rem;
}

.home_how_to a.button {
    padding: 12px 40px;
    font-size: 20px;
    border: 1px solid #fff;
    color: #fff;
    font-weight: 400;
    text-transform: none;
    line-height: 1;
    border-radius: 3px;
}

/* Home service */
.home_service {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.home_service .main-text h2  { font-size: 2rem; }
.home_service .main-text p   { color: #6c6c6c; }

.home_service .box {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
}

.home_service .box-text { padding: 1.25rem; }
.home_service .box-text h4 { margin-bottom: .75rem; }

.home_service .box-text h4 a {
    color: #212121;
    font-weight: 700;
    font-size: 18px;
}

.home_service .box-text p {
    font-size: 15px;
    margin: 0;
}

/* Home ss4 */
.home_ss4 .banner_arrival {
    max-width: 100% !important;
    flex-basis: 100% !important;
}

.home_ss4 .banner_arrival .col { padding: 0; }

.home_ss4 .box_right { background-color: #000; }

.home_ss4 .box_right .col-inner {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 84px;
}

.home_ss4 .box_right a {
    font-size: 92px;
    line-height: 1.3;
    text-align: left;
    display: block;
    color: #fff;
}

/* Home ss8 */
.home_ss8 .title h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 0;
}

.home_ss8 .title p {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 0;
}

/* =============================================
   9. POLICY INFO
   ============================================= */
.policy-info h3 {
    font-size: 16px;
    margin-bottom: 2px;
    line-height: 1.5;
    color: #000;
    font-weight: 600;
}

.policy-info p {
    font-size: 12px;
    font-weight: 300;
    color: #212529;
}

/* =============================================
   10. BUTTONS & CTA
   ============================================= */
@keyframes arrow {
    0%   { right: calc(100% + 15px); }
    100% { right: -15px; }
}

.btn_category a {
    display: flex;
    height: 51px;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    border: 1px solid #000;
    position: relative;
    overflow: hidden;
    color: #000;
}

.btn_category a:before {
    content: '';
    position: absolute;
    top: -2px;
    right: -15px;
    width: 5px;
    background: rgba(255, 255, 255, .8);
    height: calc(100% + 4px);
    box-shadow: 0 0 8px 6px rgba(255, 255, 255, .8);
}

.btn_category a:hover {
    background: #000;
    color: #fff;
}

.btn_category a:hover:before {
    animation: 1s arrow;
}

.btn_see_all {
    background-color: #fff;
    color: #000;
    border-color: #000;
    border-radius: 5px;
    padding: 1px 30px;
    font-weight: 400;
    font-size: 20px;
}

/* banner-cap */
.banner-cap a,
.custom_title a {
    text-transform: uppercase;
}

.banner-cap a {
    display: flex;
    align-items: center;
    height: 72px;
    padding: 0 24px;
    background: #fff;
    font-size: 32px;
    line-height: 22px;
    white-space: nowrap;
    font-weight: 400;
    width: fit-content;
    margin: auto;
    color: #000;
    justify-content: center;
}

.custom_title a {
    font-weight: 400;
    font-size: 20px;
}

/* button_style — animated */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 var(--fs-color-alert); }
}
@-webkit-keyframes pulse {
    0% { box-shadow: 0 0 0 0 var(--fs-color-alert); }
}

.button_style {
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: button;
    cursor: pointer;
    margin: 0;
    border: 1px solid;
    border-radius: 999px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    overflow: hidden;
    box-shadow: 0 0 0 2em transparent;
    animation: 2s infinite pulse;
    -webkit-animation: 2s infinite pulse;
}

.button_style:disabled { cursor: default; }

/* Add to cart button */
.single_add_to_cart_button {
    background: #E95221 !important;
    border-radius: 8px;
    opacity: 1 !important;
    padding-left: 10px;
}

button.btn_mua_ngay {
    background: #ffb916 !important;
}

.single_add_to_cart_button:hover {
    background: #fff !important;
    color: #E95221 !important;
    opacity: 1 !important;
}

button.single_add_to_cart_button.button.alt {
    width: 48%;
    padding: 5px 0;
    border: none;
    font-size: 16px;
}

@keyframes glow {
    0%   { box-shadow: 0 0 5px 2px rgba(255, 0, 0, 0.5); }
    50%  { box-shadow: 0 0 15px 5px rgba(255, 0, 0, 0.8); }
    100% { box-shadow: 0 0 5px 2px rgba(255, 0, 0, 0.5); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25%       { transform: translateX(-3px); }
    75%       { transform: translateX(3px); }
}

.woocommerce .single_add_to_cart_button {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.woocommerce .single_add_to_cart_button:hover {
    transform: translateY(-5px);
    animation: shake 0.5s ease-in-out infinite, glow 1.5s ease-in-out infinite alternate;
}

/* Quick view */
.quick-view {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    cursor: pointer;
    box-sizing: border-box;
    height: 40px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    line-height: 40px;
    padding: 0 40px;
    border-radius: 0;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.3s;
    width: 100%;
    border: 1px solid #000;
    color: #000 !important;
    background-color: #fff !important;
}

.quick-view:hover { bottom: 20px !important; }

.product-small:hover .image-tools { bottom: 20px; }

/* =============================================
   11. CUSTOM TITLE / SECTION TITLE
   ============================================= */
.custom_title span.section-title-main {
    font-size: 32px;
    line-height: 1.45;
    margin: 0 0 2px;
    font-weight: 600;
    border-bottom: none;
    color: #000;
}

.custom_title .section-title-normal {
    border-bottom: none;
}

.section-title-normal span,
.section-title-normal {
    border: none;
    margin-bottom: -8px;
}

.main-text h2 {
    font-size: 2.5rem;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}

.main-text p {
    font-size: 24px;
    margin-bottom: 0;
}

/* =============================================
   12. PRODUCT CARDS — LOOP
   ============================================= */
.product-small.box {
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .1), 0 2px 6px 2px rgba(60, 64, 67, .15);
    border-radius: 15px;
    padding: 10px !important;
}

.product-small.box.has-hover.box-normal.box-text-bottom {
    border: 1px solid #f1f1f1;
    border-radius: 10px;
    overflow: hidden;
}

.product-small.box.has-hover.box-normal.box-text-bottom:hover {
    border: 1px solid #da282d;
}

.row1 .product-small.box.has-hover.box-normal.box-text-bottom {
    overflow: visible;
}

/* Tiêu đề sản phẩm trong loop */
.home_product .product-title a {
    font-size: 20px;
    max-height: 54px;
    min-height: 54px;
    line-height: 25px;
    color: #000;
    font-weight: 300;
}

.woocommerce-loop-product__title a {
    color: var(--primary-color) !important;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    font-size: 16px;
    font-weight: 500;
}

.woocommerce-loop-product__title a:hover {
    color: var(--fs-color-alert) !important;
}

.shop-container .woocommerce-loop-product__title {
    font-weight: 600 !important;
}

/* Giá trong loop — phiên bản hiện tại */
.product-small .box-text .ux-swatches          { margin-bottom: 8px; justify-content: flex-start; }
.product-small .box-text .title-wrapper        { margin-bottom: 5px; }
.product-small .box-text .price-wrapper        { margin-top: 5px; }

.product-small .box-text .product-title a {
    color: #333;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-small .box-text .price {
    display: flex;
    flex-direction: row !important;
    align-items: baseline;
    flex-wrap: nowrap !important;
    gap: 6px;
    line-height: 1.4;
}

.product-small .box-text .price ins {
    order: 0;
    display: inline-block;
    margin: 0 !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.product-small .box-text .price del {
    order: 1;
    display: inline-block;
    margin: 0 !important;
    opacity: 1;
    color: #888 !important;
    text-decoration: line-through !important;
    white-space: nowrap;
}

.product-small .box-text .price ins .amount,
.product-small .box-text .price > .amount {
    color: #e60012 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.product-small .box-text .price del .amount {
    color: #888 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.product-small .box-text .price .woocommerce-Price-currencySymbol {
    font-size: .85em;
    margin-left: 2px;
    font-weight: inherit;
}

.product-small .box-text .price del::after,
.product-small .box-text .price ins::after {
    content: none !important;
}

/* Column home */
.colum-home {
    position: relative;
    z-index: 1;
}

.colum-home1 p.name.product-title.woocommerce-loop-product__title {
    height: 40px !important;
}

.colum-home1 .dark .price,
.colum-home1 .dark .price del,
.colum-home1 .dark span.amount {
    color: #000;
    font-size: 14px;
}

.colum-home1 .badge-container {
    font-size: 17px;
    left: 0;
}

.colum-home1 .box-text.text-left.is-large {
    height: 150px !important;
}

/* DEAL GIỚI HẠN badge */
.row1 .col-inner .box::after {
    content: "DEAL GIỚI HẠN";
    background: #dc2626;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 5px 1.75rem;
    border-radius: 99px;
    position: absolute;
    bottom: -4%;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    white-space: nowrap;
}

/* =============================================
   13. BADGE / ON-SALE
   ============================================= */
.badge-container { margin: 0; }

.badge {
    height: 1em;
    margin-left: 0 !important;
}

.badge-inner.secondary.on-sale {
    background-image: linear-gradient(-90deg, #2e77ba 0%, #567aff 100%);
    font-size: 12px;
    padding-right: 6px;
}

.badge-inner.secondary.on-sale:before {
    content: "";
    display: inline-block;
    background: url(https://xedaptreem.com.vn/wp-content/uploads/2026/10/flash-icon.webp) no-repeat center center;
    background-size: 50% 50%;
    background-color: #f7cc0c;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 2px;
}

.onsale,
.badge-inner {
    border: unset !important;
    border-radius: 18px;
    font-style: italic;
    font-weight: 900;
    font-size: 16px;
}

/* =============================================
   14. PRODUCT CATEGORY PAGE
   ============================================= */
.archive-page-header { display: none; }

.product-category p.header-title { font-weight: 700; }

.product-category h2.header-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.product-category .box-image {
    position: relative;
    overflow: visible;
}

.product-category .box-image img {
    transition: transform .3s, z-index;
    position: relative;
    z-index: 1;
    display: block;
}

.product-category .box-image img:hover {
    transform: scale(1.2);
    z-index: 10;
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, .9));
    transition: transform .3s, z-index 0s .3s, filter .3s;
}

div.h1-none h1,
div.shop-container .product-info .product-stacked-next-prev-nav {
    display: none;
}

/* Product category custom buttons */
.product-category-custum .box-text {
    padding: 0;
    margin-top: 10px;
}

.product-category-custum .header-title {
    text-transform: initial !important;
    display: flex;
    height: 51px;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    border: 1px solid #000;
    position: relative;
    overflow: hidden;
    color: #000;
}

.product-category-custum .header-title:hover {
    background: #000;
    color: #fff;
}

.product-category-custum .header-title:before {
    content: "";
    position: absolute;
    top: -2px;
    right: -15px;
    width: 5px;
    background: rgba(255, 255, 255, 0.8);
    height: calc(100% + 4px);
    box-shadow: 0 0 8px 6px rgba(255, 255, 255, 0.8);
}

.product-category-custum .header-title:hover:before {
    animation: 1s arrow;
}

/* Tab sản phẩm */
.tab-sanpham .nav-outline > li > a {
    border: 1px solid #e5e5e5;
    color: #3a3a3a;
    padding: 0 40px;
    margin: 0 15px 0 0;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
}

.tab-sanpham .nav-outline > li.active > a {
    border: 1px solid #bbddfd;
    background-color: #f1f8fe;
    color: #2a83e9;
}

.tab-sanpham .accordion-header {
    display: block;
    overflow: hidden;
    background: #f2f4f7;
    padding: 15px 10px;
    color: #000;
    line-height: 20px;
    font-weight: 600;
    position: relative;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 15px;
}

.accordion-item:last-child,
.accordion-item {
    border: none;
}

.tab-sanpham .accordion-content {
    padding: 0 10px;
    font-size: 16px;
    text-transform: capitalize;
    line-height: 1;
}

.tab-sanpham .nav-left { display: none; }

/* =============================================
   15. SINGLE PRODUCT PAGE
   ============================================= */
.product-info.summary.col-fit.col.entry-summary.product-summary {
    position: sticky;
    top: 100px;
    height: fit-content;
}

h1.product-title.product_title.entry-title {
    font-size: 1.625rem;
    letter-spacing: 0.024em;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 1.1875rem;
    text-align: left;
    font-weight: 600;
    color: #212529;
}

p.price.product-page-price {
    display: block !important;
    font-family: "BlinkMacSystemFont", sans-serif !important;
    font-size: 2rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.02em !important;
    line-height: 1.3 !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    color: #e60012 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: none !important;
}

p.price.product-page-price ins {
    text-decoration: none !important;
    color: #e60012 !important;
    font-size: 2rem !important;
    font-weight: 900 !important;
    font-family: "BlinkMacSystemFont", sans-serif !important;
}

p.price.product-page-price ins .woocommerce-Price-amount,
p.price.product-page-price > .woocommerce-Price-amount {
    color: #e60012 !important;
    font-size: 2rem !important;
    font-weight: 900 !important;
    font-family: "BlinkMacSystemFont", sans-serif !important;
}

p.price.product-page-price del {
    display: block !important;
    color: #aaa !important;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
    margin-bottom: 2px !important;
}

p.price.product-page-price del .woocommerce-Price-amount {
    color: #aaa !important;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
}

@media (max-width: 767px) {
    p.price.product-page-price {
        font-size: 1.6rem !important;
        padding: 0 !important;
        border: none !important;
    }
}

.product-short-description {
    color: black;
    font-size: 16px;
    text-transform: capitalize;
}

.single-product .woocommerce-breadcrumb  { display: none; }

.single-product .social-icons,
.single-product .sku_wrapper,
.single-product .posted_in {
    display: none;
}

.single-product .toggle i,
.single-product .toggle {
    color: black;
    opacity: 1;
    fill: black;
    right: 0;
    left: auto;
}

.single-product .accordion-title {
    border-top: 1px solid black;
    display: block;
    font-size: 110%;
    padding: 0.6em 2.3em;
    position: relative;
    transition: border 0.2s ease-out, background-color 0.3s;
}

.single-product .variable-items-wrapper { margin-bottom: 30px; }

.single-product ul[data-attribute_name="attribute_pa_kich-thuoc"] {
    margin-left: 0;
    margin-bottom: 0;
}

.single-product ul[data-attribute_name="attribute_pa_kich-thuoc"] li {
    margin-left: 0 !important;
    transform: scale(1) !important;
}

.single-product .product-info .wvs-style-rounded.variable-items-wrapper .variable-item:not(.radio-variable-item) {
    border-radius: 100%;
    transform: scale(1.5);
    margin-right: 20px;
    margin-top: 20px;
    padding: 4px;
    box-shadow: var(--wvs-item-box-shadow, 0 0 0 1px #000);
}

li.variable-item.button-variable-item {
    border-radius: 0 !important;
    padding: 2px 33px !important;
}

.variations .label * {
    font-size: 15px !important;
    color: black;
    text-transform: uppercase;
}

.sizechart-btn {
    width: max-content;
    float: right;
    text-align: right;
    position: absolute;
    cursor: pointer;
    z-index: 9;
    bottom: auto;
    top: -51px;
    right: 0;
}

.custom_size .sizechart-btn {
    position: relative;
    top: 0;
    text-transform: none !important;
    font-weight: 400;
    padding-left: 20px !important;
}

.custom_size h3 { margin: 0 !important; }

.woocommerce-variation-add-to-cart { position: relative; }

.buttons_added {
    width: 100%;
    margin-bottom: 20px;
}

.buttons_added::before {
    content: "Số lượng: ";
    margin-right: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

/* Gallery */
.woo-variation-product-gallery {
    width: 100% !important;
    min-width: 100% !important;
    margin: 0 !important;
}

.custom-product-gallery-images .gallery-image { padding: 10px; }
.custom-product-gallery-images .gallery-image img { width: 100%; }

/* Star rating */
.star-rating.star-rating--inline { margin-top: 0; }

/* =============================================
   16. RELATED PRODUCTS
   ============================================= */
.related-products-wrapper .woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-disabled {
    display: none;
}

/* =============================================
   17. FILTERS / WOOF
   ============================================= */
.woof_redraw_zone {
    border: 1px solid #000;
    padding: 16px;
}

.woof_redraw_zone .chosen-container-single .chosen-single {
    border: none;
}

.woof_redraw_zone .chosen-container-single .chosen-single span {
    color: #000;
    font-weight: 600;
}

.woof_container {
    border-bottom: 1px solid #000;
}

.woof_container_form_dang { border-bottom: 0; }
.woof_container:last-child { border-bottom: none !important; }

.chosen-with-drop.chosen-container-active .chosen-drop {
    position: relative;
    top: 0;
    border: 0 solid #aaa;
    border-top: 0;
    background: #fff;
    clip: rect(0, 0, 0, 0);
    clip-path: none;
}

/* =============================================
   18. FORM CONTROLS
   ============================================= */
.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
}

.form-requirements {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#main .form-requirements { justify-content: center; }

select.requirements-select {
    width: 300px;
    height: 38px;
    box-shadow: none;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

button.go-to-requirement {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
    height: 38px;
    border-radius: .25rem;
}

/* Form footer */
.form_ft {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #fff;
    margin-bottom: 30px;
}

.form_ft .wpcf7-spinner { display: none; }

.form_ft input {
    background-color: transparent;
    border: 0;
    margin: 0;
}

.form_ft p {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #fff;
}

.form_title p {
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Form trang contact */
.contact-page { margin-top: 10px; }

.contact-page h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-family: roboto condensed, sans-serif;
    font-weight: 600;
    line-height: 1.1;
}

.contact-page p a { color: #0288d1; }

.contact-page div.wpforms-container-full { margin-top: 0; }

.contact-page .wpforms-container .wpforms-field { padding: 10px 0; }

.contact-page .wpforms-container-full input[type=text],
.contact-page .wpforms-container-full input[type=tel],
.contact-page .wpforms-container-full input[type=email],
.contact-page .wpforms-container select:read-only,
.contact-page .wpforms-container textarea {
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 2px;
    color: #333;
    display: block;
    float: none;
    font-size: 15px;
    border: 1px solid #ccc;
    padding: 6px 10px;
    height: 38px;
    line-height: 1.3;
    min-height: 38px;
}

.contact-page .wpforms-captcha-math {
    display: flex;
    align-items: center;
}

.contact-page .wpforms-submit {
    border: 1px solid #ccc !important;
    padding: 7px 20px !important;
    background: #cd2525 !important;
    border-radius: .3rem !important;
    color: #fff !important;
    font-size: 15px !important;
    height: 38px !important;
}

/* Form box (custom) */
.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.form-item input {
    width: 100%;
    min-height: 2em;
    margin: 5px 0;
    border: 1px solid #ddd;
    padding: 5px;
    box-shadow: none;
    outline: none;
}

.form-item label,
.form-text p {
    display: block;
    width: 100%;
    margin: 20px 0 5px;
    font-size: 1.2rem;
    font-weight: 400;
}

.form-title {
    font-weight: 700;
    font-size: 35px;
    line-height: 1.48;
    margin: 51px 0 30px;
    text-transform: uppercase;
    color: black;
}

.col_form {
    padding: 0 28px !important;
    max-width: 712px;
    margin: 0 auto;
}

.form_box input,
.form_text textarea {
    width: 100%;
    border: 1px solid #666;
    border-radius: 4px;
    color: #6b6b6b;
    height: 48px;
    font-weight: 300;
    font-size: 20px;
    padding: 0 25px;
    background: #ffda4e;
    outline: none;
}

.form_submit input {
    background: #000;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    display: inline-block;
    cursor: pointer;
    height: 46px;
    line-height: 30px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 0.05em;
    padding: 6px 34px;
}

.form_submit input:hover {
    background: #fff;
    color: #000;
    box-shadow: none;
}

/* =============================================
   19. WIDGET SIDEBAR
   ============================================= */
.widget {
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
}

.widget .is-divider { display: none; }

.widget .widget-title {
    padding: 5px 20px;
    display: block;
    position: relative;
}

.widget .widget-title span {
    display: block;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    padding: 15px 0 15px 18px;
    margin-bottom: 0;
}

.widget .widget-title::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #05406a;
    position: absolute;
    top: 1.4rem;
}

.widget ul { padding: 0 20px; }

.widget .list-group-flush li {
    margin: 0;
    padding: .75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, .03);
    background: url(../img/w-bullet.png) no-repeat top right;
    background-position-y: 18px;
}

.widget .list-group-flush li:last-child { border: none; }

.widget .list-thumb li {
    padding: 0;
    margin: 15px 0;
}

.widget .list-thumb li .thumb {
    float: left;
    margin-right: 10px;
}

.widget .list-thumb li .thumb img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-block;
}

.widget .list-thumb li h4 a {
    color: #212121;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
}

.widget .list-thumb li .meta-date {
    font-size: 12px;
    color: #666;
}

/* =============================================
   20. BLOG / POSTS
   ============================================= */
.col.post-item { padding-bottom: 1rem; }

.post-item .box {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
}

.post-item .box-text { padding: 1.25rem; }

.post-item .box-text h5 {
    font-size: 1.5rem;
    margin: 0 0 .75rem;
    line-height: 1.2;
}

.post-item .box-text h5 a {
    color: #212121;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.6;
}

.post-item .post-date {
    font-size: 12px;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.post-item .is-divider { display: none; }

.blog-single .entry-header { display: none; }

.blog-single .list-title {
    font-size: 14px;
    color: #003875;
    font-weight: 700;
    border-bottom: 1px solid #dce0e0;
    padding: 10px 0;
    margin-bottom: 20px;
}

.blog-single #comments { display: none; }

/* Box dọc */
.box-vertical h3.post-title { font-size: 15px; }
.has-equal-box-heights .box-image { padding-top: 100% !important; }

/* =============================================
   21. PAGE HEADERS
   ============================================= */
.custom-page-header {
    background: url(../img/bai-tu-long-vietnam.png) repeat-x top left;
    text-align: center;
    color: #fff;
    padding-bottom: 10px;
}

.custom-page-header h1 {
    font-size: 40px;
    font-weight: 700;
    margin-top: 160px;
    display: inline-block;
    background-color: #fff;
    color: #003875;
    border-radius: 0.3rem;
    padding: 0 0.5rem;
    width: auto;
}

.custom-page-header p {
    font-size: 18px;
    margin-top: 1rem;
}

.custom-post-header {
    background-color: #f9f9f9;
    border-bottom: 1px solid #dce0e0;
    padding: 70px 0;
    text-align: center;
}

.custom-post-header h2 {
    font-size: 36px;
    font-weight: 700;
}

.custom-post-header span {
    font-size: 12px;
    font-weight: 700;
}

/* Alphabet */
.alphabet-title {
    color: #11548d;
    font-size: 2.025em;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: .6087em;
    position: relative;
    border-bottom: 1px solid #dce0e0;
    padding-bottom: 8px;
}

.alphabet-title:before {
    content: "";
    width: 2.21739em;
    height: 5px;
    position: absolute;
    bottom: -.2em;
    left: 0;
    background-color: #11548d;
}

/* =============================================
   22. FOOTER
   ============================================= */
#footer {
    background-color: #003875;
    color: #fff;
    padding-top: 1.5rem !important;
}

#footer .ux-menu-title {
    color: #fff;
    font-size: 18px;
    min-height: 3rem;
    font-weight: 700;
    text-transform: none;
}

#footer .ux-menu-link__link {
    font-size: 16px;
    padding: 0;
    line-height: 1.6;
    min-height: 22px;
    color: #fff;
}

#footer .ux-logo-link  { padding: 0 !important; }
#footer .ft-text p     { font-size: 16px; }

#footer .absolute-footer {
    background-color: #05426a;
    padding: .5rem 0;
}

.copyright-footer {
    font-size: 16px;
    color: #fff;
}

/* Footer menu */
.footer_mst p,
.footer_top {
    border-bottom: 1px solid #fff;
}

.footer_menu_item .menu_title h3 {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.footer_menu_item .menu_lh a {
    border-bottom: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 300;
    min-height: 22px;
}

.footer_menu_item .menu_lh a:hover,
a:hover span,
a span:hover {
    color: #81d742 !important;
}

.footer_mst .col   { padding-bottom: 0; }

.footer_mst p {
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 300;
}

.footer_top { margin-bottom: 50px; }
.footer_top p { margin-bottom: 0; }

.footer_top .icon-box-img img,
.footer_top .icon-box-img svg {
    padding-top: .2em;
    filter: invert(1);
    margin-right: 12px;
    width: 2.4375rem;
    height: 2.0625rem;
    transition: transform .5s ease-in-out;
}

.footer_top .icon-box {
    justify-content: center;
    align-items: center;
}

.footer_top .icon-box-text,
.footer_top .icon-box-text .text,
.footer_top .icon-box-text .text p {
    display: inline;
    flex: none;
}

/* Social icons */
.ft_network {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.ft_network img {
    width: 30px;
    height: 30px;
}

.ft_network i {
    font-size: 30px;
    color: #fff;
}

/* Footer bottom — 5 icon */
.fivefooter {
    box-shadow: 0 4px 10px 0 #000;
    bottom: 0 !important;
    top: auto !important;
    z-index: 99;
    padding: 10px 0 !important;
}

.footer-wrapper { position: relative; }
.footer-wrapper .single-product .social-icons { display: block !important; }

/* =============================================
   23. MISC / UTILITIES
   ============================================= */
.absolute-footer,
.category-page-row ul.variable-items-wrapper.button-variable-items-wrapper,
.related.related-products-wrapper ul.variable-items-wrapper.button-variable-items-wrapper,
.woocommerce-variation-add-to-cart .sizechart-btn,
.woof_container .chosen-search,
div.shop-container div.product-info span.ux-swatch-selected-value {
    display: none;
}

.category-page-row .variations th.label,
.related.related-products-wrapper .variations th.label {
    display: none !important;
}

.archive .woocommerce-variation-add-to-cart { display: none; }

.prd .woocommerce-variation-add-to-cart { display: none; }

.is-divider { display: none; }

#comments .comment-respond .comment-reply-title {
    font-size: 1.2em;
    font-weight: 900;
}

.breadcrumb a { color: #05406a; }

.entry-content.single-page { padding-top: 1rem; }

/* Slot wrapper */
.content__slot--wrapper {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.slot__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid black;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slot__item:hover { background-color: #e0e0e0; }

.slot__item h6 {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: black;
    margin: 0;
}

/* Box image hover */
.box-image img { transition: transform 0.5s ease; }
.box-image:hover img { transform: scale(1.5); }

/* Auto-scroll */
.auto-scroll-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.auto-scroll-list {
    display: flex;
    white-space: nowrap;
    animation: scroll-left 25s linear infinite;
}

.auto-scroll-list li {
    flex-shrink: 0;
    padding-right: 60px;
}

@keyframes scroll-left {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Flickity */
.flickity-prev-next-button {
    opacity: 1;
    width: 40px;
}

.flickity-prev-next-button .arrow,
.flickity-prev-next-button svg {
    border: none !important;
    background: #fff;
    padding: 10px;
    box-shadow: 0 0 5px #b1b1b1;
}

.flickity-prev-next-button.previous { left: -1%; }
.flickity-prev-next-button.next     { right: -1%; }

/* Embassy list */
.list-embassy .counlist {
    overflow: hidden;
    margin-bottom: 1.5rem !important;
}

.list-embassy .counlist a {
    margin: 10px 0;
    float: left;
    width: 277px;
    height: 18px;
    color: #11548d;
    padding-left: 30px;
}

.list-embassy .counlist img {
    float: left;
    padding-right: 10px;
    padding-top: 3px;
}

/* Lợi nhuận */
.loinhuan-stt p {
    font-weight: bold;
    font-size: 90px;
    line-height: 1.189;
    color: #ffcb05;
}

.loinhuan-title {
    margin-top: -10px;
    display: flex;
    align-items: center;
    min-height: 114px;
    white-space: nowrap;
    font-size: 25px;
    font-weight: 500;
}

.box_icon { position: relative; }

.box_icon .icon-box-text {
    position: absolute;
    top: 37%;
    left: 23%;
}

.box_box {
    align-items: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
    background: #fff;
    border-radius: 15px;
    padding: 15px 42px;
    margin-bottom: 20px;
}

.box_box h3 {
    padding-left: 24px;
    font-size: 21px;
    line-height: 1.43;
    font-weight: 500;
}

.box_box .icon-box-img {
    width: 115px !important;
    height: 115px !important;
    padding: 18px;
    background: #ffcb05;
    border-radius: 50%;
}

.cacloaisp h2 {
    font-weight: 700;
    font-size: 35px;
    line-height: 1.48;
    text-transform: uppercase;
    margin: 0 0 38px;
}

.section_ft .row_full { max-width: 100% !important; }

.row_full .col {
    padding-left: 0;
    padding-bottom: 0;
}

/* Review */
.review-product {
    padding: 20px 60px;
    background: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.6);
}

.review-product input,
.review-product button,
.review-product textarea {
    border-radius: 8px;
}

.review-product h2 {
    text-transform: uppercase;
    display: block;
    margin: 0 0 15px;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2.88px;
    text-align: center;
}

.review-product .custom-tabs-wrapper h2 { font-size: 1em; }

.review-product .review-form-inner { border-radius: 8px; }

.group-tab {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.star {
    text-align: center;
    color: #dfe519;
    font-size: 14px;
}

.star-2 {
    color: #dfe519;
    font-size: 18px;
}

.raty-cancel { display: none !important; }

.duatren {
    margin-top: 10px;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    color: #000 !important;
}

ul.custom-tabs-nav {
    display: flex;
    gap: 10px;
    list-style: none;
}

li.custom-tab {
    border: 1px solid #000;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: bold;
    position: relative;
    border-radius: 5px;
    cursor: pointer;
}

.danhgia:before {
    content: "";
    position: relative;
    top: inherit;
    left: inherit;
    background: url(https://xedaptreem.com.vn/wp-content/uploads/2025/05/danhgia.png) no-repeat left center;
    padding: 5px 0 5px 18px;
    background-size: contain;
}

.dathoi:before {
    content: "";
    position: relative;
    top: inherit;
    left: inherit;
    background: url(https://xedaptreem.com.vn/wp-content/uploads/2025/05/hoi.png) no-repeat left center;
    padding: 5px 0 5px 18px;
    background-size: contain;
}

/* =============================================
   24. FIVE-FOOTER / BOX-TEXT-BOTTOM-FIVE
   ============================================= */
.box-text-bottom-five .box-image > div {
    background: #4bae4f;
    border-radius: 100%;
}

/* =============================================
   25. PRODUCT GRID — FIX CARD ALIGNMENT
   ============================================= */

/* Mỗi hàng sản phẩm là một flex/grid row riêng biệt
   → dùng align-items: stretch để tất cả card trong cùng hàng cao bằng nhau */
.products.columns-4,
.products.columns-3,
.products.columns-2 {
    display: grid !important;
    align-items: stretch !important;
}

/* Card chiếm toàn bộ chiều cao ô grid */
.products.columns-4 > li,
.products.columns-3 > li,
.products.columns-2 > li {
    display: flex !important;
    flex-direction: column !important;
}

.products > li .product-small.box {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* Phần hình ảnh giữ tỉ lệ cố định */
.products > li .box-image {
    flex-shrink: 0;
}

/* Phần text chiếm phần còn lại → đẩy giá xuống đáy */
.products > li .box-text {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

/* Tên sản phẩm: clamp 2 dòng, chiều cao cố định */
.products > li .box-text .product-title a,
.products > li .woocommerce-loop-product__title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 2.8em;
    max-height: 2.8em;
}

/* Giá luôn nằm sát đáy card */
.products > li .box-text .price-wrapper {
    margin-top: auto !important;
}

/* Đảm bảo price hiển thị ở mọi section product */
.related.related-products-wrapper .price,
.related.related-products-wrapper .price-wrapper,
.upsells.products-wrapper .price,
.upsells.products-wrapper .price-wrapper,
.recently-viewed-products .price,
.recently-viewed-products .price-wrapper,
[class*="recently"] .price,
[class*="recently"] .price-wrapper,
[class*="viewed"] .price,
[class*="viewed"] .price-wrapper,
.products li .price,
.products li .price-wrapper,
.product-small .price,
.product-small .price-wrapper {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

/* Giá sale và giá thường */
.products li .price,
.product-small .price {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 2px 6px !important;
}

.products li .price ins,
.products li .price > .woocommerce-Price-amount,
.product-small .price ins,
.product-small .price > .woocommerce-Price-amount {
    display: inline-flex !important;
    visibility: visible !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.products li .price del,
.product-small .price del {
    display: inline-block !important;
    visibility: visible !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* Mobile ≤ 767px — 2 cột */
@media (max-width: 767px) {
    /* Category label nhỏ */
    .product-small .box-text .product-cat,
    .product-small .box-text .woocommerce-loop-category__title,
    .product-small .box-text .name.product-cat {
        font-size: 9px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Box text không tràn */
    .product-small .box-text {
        padding: 4px 6px 8px !important;
        overflow: hidden !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Tên sản phẩm — 2 dòng cố định */
    .product-small .box-text .product-title a,
    .product-small .box-text .woocommerce-loop-product__title a,
    .products li .product-title a {
        font-size: 11px !important;
        font-weight: 600 !important;
        line-height: 1.35 !important;
        min-height: 2.7em !important;
        max-height: 2.7em !important;
        -webkit-line-clamp: 2 !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* Wrapper giá */
    .price-wrapper .price,
    .product-small .price-wrapper .price,
    span.price {
        display: flex !important;
        flex-direction: row !important;
        align-items: baseline !important;
        flex-wrap: nowrap !important;
        gap: 4px !important;
        overflow: hidden !important;
        width: 100% !important;
        margin-top: 4px !important;
    }

    /* Giá sale (ins) — ưu tiên hiện trước */
    span.price ins,
    .price-wrapper .price ins {
        order: 1 !important;
        flex-shrink: 0 !important;
        text-decoration: none !important;
    }

    span.price ins .woocommerce-Price-amount.amount,
    .price-wrapper .price ins .woocommerce-Price-amount.amount,
    span.price > .woocommerce-Price-amount.amount {
        font-size: 13px !important;
        font-weight: 800 !important;
        color: #e60012 !important;
        white-space: nowrap !important;
    }

    /* Giá gốc (del) — sau, nhỏ hơn */
    span.price del,
    .price-wrapper .price del {
        order: 2 !important;
        flex-shrink: 1 !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    span.price del .woocommerce-Price-amount.amount,
    .price-wrapper .price del .woocommerce-Price-amount.amount {
        font-size: 10px !important;
        color: #aaa !important;
        font-weight: 400 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Star rating nhỏ lại */
    .product-small .star-rating {
        font-size: 10px !important;
    }

    /* Swatches màu nhỏ lại */
    .product-small .ux-swatches .swatch {
        width: 16px !important;
        height: 16px !important;
    }
}

/* Mobile nhỏ ≤ 400px */
@media (max-width: 400px) {
    .product-small .box-text .product-title a,
    .product-small .box-text .woocommerce-loop-product__title a {
        font-size: 10px !important;
    }

    .products li .price ins .amount,
    .products li .price > .amount,
    .product-small .price ins .amount,
    .product-small .price > .amount {
        font-size: 12px !important;
    }

    .products li .price del .amount,
    .product-small .price del .amount {
        font-size: 9px !important;
    }
}

/* ── Sản phẩm tương tự (related) & upsell ── */
.related.related-products-wrapper ul.products,
.upsells.products-wrapper ul.products {
    display: grid !important;
    align-items: stretch !important;
}

.related.related-products-wrapper ul.products > li,
.upsells.products-wrapper ul.products > li {
    display: flex !important;
    flex-direction: column !important;
}

.related.related-products-wrapper ul.products > li .product-small.box,
.upsells.products-wrapper ul.products > li .product-small.box {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.related.related-products-wrapper ul.products > li .box-image,
.upsells.products-wrapper ul.products > li .box-image {
    flex-shrink: 0;
}

.related.related-products-wrapper ul.products > li .box-text,
.upsells.products-wrapper ul.products > li .box-text {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.related.related-products-wrapper ul.products > li .box-text .product-title a,
.upsells.products-wrapper ul.products > li .box-text .product-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 2.8em;
    max-height: 2.8em;
}

.related.related-products-wrapper ul.products > li .box-text .price-wrapper,
.upsells.products-wrapper ul.products > li .box-text .price-wrapper {
    margin-top: auto !important;
}

/* ── Mobile: đảm bảo grid 2 cột cân nhau ── */
@media (max-width: 767px) {
    .related.related-products-wrapper ul.products,
    .upsells.products-wrapper ul.products,
    ul.products.columns-2 {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .related.related-products-wrapper ul.products > li,
    .upsells.products-wrapper ul.products > li,
    ul.products.columns-2 > li {
        display: flex !important;
        flex-direction: column !important;
        margin: 0 !important;
        width: 100% !important;
    }

    /* Card full height */
    .related.related-products-wrapper ul.products > li .product-small.box,
    .upsells.products-wrapper ul.products > li .product-small.box,
    ul.products.columns-2 > li .product-small.box {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
    }

    /* Box text flex column */
    .related.related-products-wrapper ul.products > li .box-text,
    .upsells.products-wrapper ul.products > li .box-text,
    ul.products.columns-2 > li .box-text {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 !important;
    }

    /* Tên sản phẩm clamp 2 dòng cố định */
    .related.related-products-wrapper ul.products > li .product-title a,
    .upsells.products-wrapper ul.products > li .product-title a,
    ul.products.columns-2 > li .product-title a,
    .related.related-products-wrapper ul.products > li .woocommerce-loop-product__title a,
    ul.products.columns-2 > li .woocommerce-loop-product__title a {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        min-height: 2.8em !important;
        max-height: 2.8em !important;
    }

    /* Giá đẩy xuống đáy */
    .related.related-products-wrapper ul.products > li .price-wrapper,
    .upsells.products-wrapper ul.products > li .price-wrapper,
    ul.products.columns-2 > li .price-wrapper {
        margin-top: auto !important;
    }
}

/* =============================================
   26. PRODUCT META — CUSTOM ACCORDION
   ============================================= */
.product_meta .custom-accordion .accordion-item {
    background: #fff;
    border: 1px solid #e9ecf0;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(16, 24, 40, .07);
    overflow: hidden;
    margin-bottom: 18px;
}

.product_meta .custom-accordion .accordion-header {
    padding: 16px 22px;
    background: #f8f9fb;
    border-bottom: 1px solid #e9ecf0;
    border-top: 3px solid #e8590c;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #111827;
    cursor: pointer;
}

.product_meta .custom-accordion .accordion-content {
    padding: 8px 22px 20px;
    font-size: 15px;
    line-height: 1.55;
    color: #1f2937;
}

.product_meta .custom-accordion .accordion-content p {
    position: relative;
    margin: 0;
    padding: 11px 12px 11px 30px;
    border-bottom: 1px solid #f0f2f5;
    transition: background .2s;
}

.product_meta .custom-accordion .accordion-content p:hover {
    background: #fff7f0;
}

.product_meta .custom-accordion .accordion-content p::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: #e8590c;
}

.product_meta .custom-accordion .accordion-content p:last-child {
    border-bottom: 0;
}

.product_meta .posted_in,
.product_meta .sku_wrapper {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #6b7280;
}

.product_meta .posted_in a {
    color: #e8590c;
    text-decoration: none;
}

.product_meta .posted_in a:hover {
    text-decoration: underline;
}

/* =============================================
   27. RESPONSIVE
   ============================================= */

/* Mobile — WooCommerce filters */
@media screen and (max-width: 768px) {
    .woof_container,
    .woof_redraw_zone {
        border-bottom: 1px solid #000;
    }

    .woof_container .woof_block_html_items,
    .woof_container input[type=checkbox],
    .woof_container input[type=radio],
    .woof_container select {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 14px;
    }

    .woof_container label {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 5px;
        display: block;
    }

    .woof_container .chosen-container,
    .woof_container .chosen-container-single {
        width: 100% !important;
    }

    .woof_container .chosen-single span {
        font-size: 14px;
        padding: 8px 10px;
    }

    .woof_container .chosen-drop {
        position: absolute !important;
        width: 100% !important;
        clip: auto !important;
    }

    .woof_reset_search_form,
    .woof_submit_search_form_container input[type=submit] {
        width: 100%;
        display: block;
        text-align: center;
        padding: 10px;
        margin-top: 10px;
        font-size: 16px;
        font-weight: 700;
        background-color: #000;
        color: #fff;
        border: none;
    }

    .woof_container .woof_title {
        font-size: 16px;
        font-weight: 700;
        margin-top: 20px;
    }
}

/* Mobile — shop page title / filters balance */
@media (max-width: 849px) {
    .shop-page-title .page-title-inner {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        align-items: center !important;
        row-gap: 15px !important;
    }

    .shop-page-title .flex-col:first-child { display: contents !important; }

    .shop-page-title .flex-col:first-child div.is-large,
    .shop-page-title .flex-col:first-child h1.shop-page-title {
        grid-column: 1 / 3 !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
    }

    .shop-page-title .category-filtering {
        grid-column: 1 / 2 !important;
        justify-self: end !important;
        margin: 0 5px 0 0 !important;
    }

    .shop-page-title .flex-col:nth-child(2) {
        grid-column: 2 / 3 !important;
        display: flex !important;
        justify-content: flex-start !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .shop-page-title .woocommerce-result-count { display: none !important; }
    .shop-page-title .woocommerce-ordering     { margin: 0 !important; }

    .shop-page-title .woocommerce-ordering select {
        margin: 0 !important;
        height: 38px !important;
        width: auto !important;
    }
}

/* Mobile — product card */
@media all and (max-width: 768px) {
    .row1 .col-inner .box::after { font-size: 10px; }

    .colum-home1 p.name.product-title.woocommerce-loop-product__title {
        height: 38px !important;
    }
}

/* Mobile — add to cart button */
@media all and (max-width: 600px) {
    button.single_add_to_cart_button.button.alt {
        width: 100%;
    }
}

/* Tablet/mid — gallery */
@media (max-width: 1024px) {
    .single-product .custom-product-gallery-images { display: none; }

    .woo-variation-gallery-thumbnail-wrapper { margin-top: 15px !important; }
}

@media (min-width: 1024px) {
    .single-product .woo-variation-gallery-wrapper {
        display: none;
        margin: 0 !important;
    }

    .woo-variation-gallery-thumbnail-wrapper { display: none; }
}

/* Desktop — add to cart button */
@media (min-width: 1024px) and (max-width: 1700px) {
    button.single_add_to_cart_button.button.alt {
        width: 46%;
        font-size: 12px;
    }
}

/* Desktop — product info */
@media (min-width: 1200px) {
    .product-info {
        padding-right: 1.25rem;
        padding-left: 0 !important;
        margin: 0 20px 5.25rem;
    }

    .product-main .content-row {
        max-width: 1550px !important;
    }
}

/* Five-footer icons — responsive */
@media (min-width: 567px) {
    .box-text-bottom-five .box-image > div { padding: 10px !important; }
}

@media (max-width: 567px) {
    .box-text-bottom-five .box-image > div img { transform: scale(0.5); }
}

@media (max-width: 560px) {
    .product_meta .custom-accordion .accordion-content {
        padding: 6px 12px 16px;
    }

    .product_meta .custom-accordion .accordion-content p {
        font-size: 14.5px;
    }
}

@media (max-width: 500px) {
    /* Mobile-only CSS — thêm vào đây */
}

/* =============================================
   27. FIX — CARD BẰNG NHAU + GIÁ 2 DÒNG (đặt cuối file)
   Giá gốc (gạch ngang) dòng trên, giá khuyến mãi / giá thường dòng dưới.
   CHỈ áp dụng ở trang chi tiết sản phẩm (body.single-product) → khối Sản phẩm tương tự; không ảnh hưởng trang chủ/danh mục.
   ============================================= */

/* 1) Card bằng nhau: .row > .col > .col-inner > .product-small.box */
html body.single-product .row:has(> .col > .col-inner > .product-small.box) {
    align-items: stretch !important;
}
html body.single-product .col:has(> .col-inner > .product-small.box) {
    display: flex !important;
    flex-direction: column !important;
}
html body.single-product .col > .col-inner:has(> .product-small.box) {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
}
html body.single-product .col-inner > .product-small.box,
html body.single-product .product-small.box {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    box-sizing: border-box !important;
}
html body.single-product .product-small.box .box-image { flex: 0 0 auto !important; }
html body.single-product .product-small.box .box-text {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}

/* 2) Swatches luôn 1 hàng cố định */
html body.single-product .product-small.box .box-text .ux-swatches {
    flex: 0 0 auto !important;
    height: 24px !important;
    max-height: 24px !important;
    overflow: hidden !important;
    flex-wrap: nowrap !important;
}

/* 3) Giá: 2 dòng cố định, dính đáy card */
html body.single-product .product-small.box .box-text .price-wrapper {
    margin-top: auto !important;
    padding-top: 6px !important;
    width: 100% !important;
}
html body.single-product .product-small.box .box-text .price-wrapper .price,
html body.single-product .product-small.box .box-text span.price {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
    min-height: 3em !important;
    width: 100% !important;
    margin-top: 0 !important;
    overflow: visible !important;
}

/* dòng trên: giá gốc */
html body.single-product .product-small.box .box-text .price del {
    order: 1 !important;
    display: block !important;
    flex-shrink: 0 !important;
    line-height: 1.3 !important;
    overflow: visible !important;
    min-width: 0 !important;
}
html body.single-product .product-small.box .box-text .price del .woocommerce-Price-amount,
html body.single-product .product-small.box .box-text .price del .amount {
    font-size: 12px !important;
    line-height: 1.3 !important;
    color: #999 !important;
    font-weight: 400 !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

/* dòng dưới: giá khuyến mãi hoặc giá thường — CÙNG cỡ chữ */
html body.single-product .product-small.box .box-text .price ins,
html body.single-product .product-small.box .box-text .price > .woocommerce-Price-amount,
html body.single-product .product-small.box .box-text .price > .amount {
    order: 2 !important;
    display: block !important;
    flex-shrink: 0 !important;
    line-height: 1.3 !important;
}
html body.single-product .product-small.box .box-text .price ins .woocommerce-Price-amount,
html body.single-product .product-small.box .box-text .price ins .amount,
html body.single-product .product-small.box .box-text .price > .woocommerce-Price-amount,
html body.single-product .product-small.box .box-text .price > .amount {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #e60012 !important;
    white-space: nowrap !important;
}

@media (max-width: 767px) {
    html body.single-product .product-small.box .box-text .price del .amount { font-size: 11px !important; }
    html body.single-product .product-small.box .box-text .price ins .amount,
    html body.single-product .product-small.box .box-text .price > .amount,
    html body.single-product .product-small.box .box-text .price > .woocommerce-Price-amount { font-size: 16px !important; }
}

/* =============================================
   28. FIX — TÊN SẢN PHẨM & DANH MỤC CĂN TRÁI, KHÔNG TRÀN KHUNG
   ============================================= */
html body.single-product .product-small.box .box-text,
html body.single-product .product-small.box .box-text.text-center {
    text-align: left !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

html body.single-product .product-small.box .box-text .title-wrapper,
html body.single-product .product-small.box .box-text .product-cat,
html body.single-product .product-small.box .box-text .name.product-cat,
html body.single-product .product-small.box .box-text .woocommerce-loop-category__title,
html body.single-product .product-small.box .box-text .product-title,
html body.single-product .product-small.box .box-text .name.product-title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    text-align: left !important;
    overflow: hidden !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Danh mục: 1 dòng, dư thì "…" */
html body.single-product .product-small.box .box-text .product-cat,
html body.single-product .product-small.box .box-text .name.product-cat,
html body.single-product .product-small.box .box-text .woocommerce-loop-category__title {
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

/* Tên: tối đa 2 dòng, dư thì "…" */
html body.single-product .product-small.box .box-text .product-title a,
html body.single-product .product-small.box .box-text .woocommerce-loop-product__title a {
    display: -webkit-box !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: break-word !important;
}

/* Swatches cũng sát lề trái cho thẳng với tên */
html body.single-product .product-small.box .box-text .ux-swatches {
    justify-content: flex-start !important;
}

/* 29) Dọn thẻ rỗng do <h3> nằm trong <p> (HTML sai) làm lệch khoảng cách */
html body.single-product .product-small.box .box-text .title-wrapper p:empty {
    display: none !important;
}
html body.single-product .product-small.box .box-text .title-wrapper p.product-title,
html body.single-product .product-small.box .box-text .title-wrapper h3.woocommerce-loop-product__title {
    margin: 0 !important;
}
html body.single-product .product-small.box .box-text .title-wrapper .product-cat {
    margin: 0 0 3px !important;
}
