/* ====================================================================
   THAOMOCDANTOC.VN — STYLE SHEET (TỔNG HỢP)
   Prefix quy ước: wsttm_ cho toàn bộ class / id (biến JS dùng wsttm_)
   Chủ đề: Thảo dược - Thảo mộc dân tộc - Y học cổ truyền

   CẬP NHẬT LẦN NÀY: breakpoint chuyển đổi menu PC <-> menu mobile
   (header, main-nav, logo, search, topbar) chuyển từ 768px -> 1000px.
   Thêm 1 tier trung gian 1000-1200px để nav/search không bị chật khi
   vẫn còn ở chế độ desktop, và 1 tier <=480px để thu gọn thêm cho
   màn hình rất nhỏ. Xem ghi chú "CẬP NHẬT" tại từng vị trí sửa.
   ==================================================================== */

/* ==================== 1. RESET & BIẾN TOÀN CỤC ==================== */
:root {
    --wsttm_forest: #034201;
    --wsttm_forest-2: #2d4a34;
    --wsttm_forest-light: #4a7856;
    --wsttm_clay: #b5651d;
    --wsttm_clay-dark: #8f4e14;
    --wsttm_gold: #a67c3d;
    --wsttm_paper: #f7f1e3;
    --wsttm_paper-2: #efe6d0;
    --wsttm_card: #ffffff;
    --wsttm_ink: #26291f;
    --wsttm_ink-light: #6b6a5e;
    --wsttm_white: #ffffff;
    --wsttm_border: #e2d8bf;
    --wsttm_border-dark: #cabb92;
    --wsttm_star: #d9a441;
    --wsttm_header-bg: #035301;
    --wsttm_footer-bg: #034201;
    --wsttm_topbar-bg: #035301;
    --wsttm_shadow: 0 2px 10px rgba(31, 61, 43, 0.08);
    --wsttm_shadow-lg: 0 15px 35px rgba(31, 61, 43, 0.15);
    --wsttm_radius: 10px;
    --wsttm_transition: all 0.3s ease;
    --wsttm_font-heading: 'Merriweather', 'Be Vietnam Pro', serif;
    --wsttm_font-body: 'Be Vietnam Pro', Arial, sans-serif;
}

.wsttm_dark-mode {
    --wsttm_forest: #1f3d2b;
    --wsttm_paper: #14201a;
    --wsttm_paper-2: #182619;
    --wsttm_card: #1c2b20;
    --wsttm_ink: #ecebe0;
    --wsttm_ink-light: #a7ab9c;
    --wsttm_border: #2d3d2d;
    --wsttm_border-dark: #3c4f3a;
    --wsttm_topbar-bg: #1f3d2b;
    --wsttm_header-bg: #1f3d2b;
    --wsttm_footer-bg: #0b140d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

@media screen and (max-width: 768px) {
    .wsttm_onlypc { display: none; }
}

body {
    font-family: var(--wsttm_font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--wsttm_ink);
    background-color: var(--wsttm_paper);
    overflow-x: hidden;
    transition: background-color .3s ease, color .2s ease;
}

a { text-decoration: none; color: var(--wsttm_forest); transition: var(--wsttm_transition); }
a:hover { color: var(--wsttm_clay); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.wsttm_container { max-width: 1250px; margin: 0 auto; padding: 0 16px; }

/* ==================== 2. COMMON ==================== */
.wsttm_section { padding: 55px 0; }
.wsttm_section--alt { background: var(--wsttm_paper-2); }
.wsttm_section--dark { background: var(--wsttm_forest); }
.wsttm_section--dark .wsttm_section-title,
.wsttm_section--dark .wsttm_section-subtitle { color: var(--wsttm_white); }

.wsttm_section-header { text-align: center; margin-bottom: 34px; }

.wsttm_section-eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--wsttm_clay);
    font-weight: 700;
    margin-bottom: 8px;
}

.wsttm_section-title {
    font-family: var(--wsttm_font-heading);
    font-size: 30px;
    font-weight: 700;
    color: var(--wsttm_forest);
    position: relative;
    margin-bottom: 12px;
}

.wsttm_section-title:after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: var(--wsttm_clay);
    margin: 14px auto 0;
    border-radius: 3px;
}

.wsttm_section-subtitle {
    color: var(--wsttm_ink-light);
    font-size: 15px;
    max-width: 620px;
    margin: 0 auto;
}

.wsttm_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    height: 44px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--wsttm_transition);
    border: none;
}

.wsttm_btn-primary { background: var(--wsttm_clay); color: var(--wsttm_white); }
.wsttm_btn-primary:hover { background: var(--wsttm_clay-dark); color: var(--wsttm_white); transform: translateY(-2px); box-shadow: var(--wsttm_shadow); }

.wsttm_btn-forest { background: var(--wsttm_forest); color: var(--wsttm_white); }
.wsttm_btn-forest:hover { background: var(--wsttm_forest-2); color: var(--wsttm_white); transform: translateY(-2px); }

.wsttm_btn-outline { background: transparent; color: var(--wsttm_forest); border: 2px solid var(--wsttm_forest); }
.wsttm_btn-outline:hover { background: var(--wsttm_forest); color: var(--wsttm_white); }

.wsttm_card {
    background: var(--wsttm_card);
    border-radius: var(--wsttm_radius);
    overflow: hidden;
    box-shadow: var(--wsttm_shadow);
    transition: var(--wsttm_transition);
}
.wsttm_card:hover { transform: translateY(-5px); box-shadow: var(--wsttm_shadow-lg); }

/* ==================== 3. TOP BAR ==================== */
#wsttm_topbar { 
    background: var(--wsttm_topbar-bg); 
    font-size: 12px; 
    color: #d8d2bd;
    border-bottom: 1px solid #dfe1e74d;
}
.wsttm_topbar-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 36px; 
}

.wsttm_topbar-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: rgba(255,255,255,.72);
    font-size: 11.5px;
    line-height: 1;
}

.wsttm_topbar-info-item {
    align-items: center;
    white-space: nowrap;
    transition: color .2s ease;
}

.wsttm_topbar-info-item i {
    color: var(--wsttm_gold);
    font-size: 10px;
    opacity: .9;
}

.wsttm_topbar-info-item:hover {
    color: #fff;
}

.wsttm_topbar-info-divider {
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,.18);
}

.wsttm_topbar-nav .wsttm_topbar-list { display: flex; }
.wsttm_topbar-item { 
    position: relative; 
    margin-right: 22px; 
}
.wsttm_topbar-item:last-child { margin-right: 0; }

.wsttm_topbar-link { 
    color: #cfc7a8; 
    font-weight: 500; 
    display: flex; 
    align-items: center; 
    gap: 5px; 
    padding: 8px 0;
    position: relative;
    transition: color .25s ease;
}
.wsttm_topbar-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--wsttm_gold);
    transition: width .3s cubic-bezier(.4,0,.2,1);
}
.wsttm_topbar-link:hover { color: var(--wsttm_gold); }
.wsttm_topbar-item:hover > .wsttm_topbar-link::after { width: 100%; }

.wsttm_topbar-arrow {
    font-size: 9px;
    transition: transform .25s ease;
}
.wsttm_topbar-item:hover > .wsttm_topbar-link .wsttm_topbar-arrow {
    transform: rotate(180deg);
}

.wsttm_topbar-submenu {
    position: absolute; 
    top: 100%; 
    left: 0; 
    min-width: 180px;
    background: var(--wsttm_card); 
    box-shadow: var(--wsttm_shadow-lg);
    border-radius: 0 0 10px 10px;
    border-top: 3px solid var(--wsttm_clay);
    opacity: 0; 
    visibility: hidden;
    transform: translateY(12px); 
    transition: all .25s cubic-bezier(.4,0,.2,1); 
    z-index: 1001;
    padding: 0px 0;
}
.wsttm_topbar-item:hover .wsttm_topbar-submenu,
.wsttm_topbar-item:focus-within .wsttm_topbar-submenu { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
}
.wsttm_topbar-submenu.wsttm_flip-right {
    left: auto;
    right: 0;
}

.wsttm_topbar-subitem { 
    border-bottom: 1px solid var(--wsttm_border);
    position: relative;
}
.wsttm_topbar-subitem:last-child { border-bottom: none; }

.wsttm_topbar-sublink { 
    display: block; 
    padding: 10px 16px; 
    color: var(--wsttm_ink); 
    font-size: 13px;
    position: relative;
    transition: all .2s ease;
}

.wsttm_topbar-sublink:hover { 
    background: var(--wsttm_paper-2); 
    color: var(--wsttm_forest); 
}
.wsttm_topbar-sublink:hover::before { width: 4px; }

.wsttm_topbar-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--wsttm_gold);
    font-size: 16px;
    cursor: pointer;
    padding: 4px 8px;
}
.wsttm_topbar-mobile-toggle i {
    transition: all .3s ease;
}
.wsttm_topbar-mobile-open .wsttm_topbar-mobile-toggle i {
    transform: rotate(90deg);
    opacity: 0;
    position: relative;
}
.wsttm_topbar-mobile-open .wsttm_topbar-mobile-toggle::before {
    content: '\f00d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--wsttm_clay);
    position: absolute;
    animation: wsttmFadeIn .3s ease;
}
@keyframes wsttmFadeIn {
    from { opacity: 0; transform: rotate(-90deg); }
    to { opacity: 1; transform: rotate(0); }
}

/* CẬP NHẬT: topbar chuyển sang chế độ mobile (dropdown) cùng nhịp với
   main-nav, tại 1000px thay vì 768px trước đây. */
@media (max-width: 1000px) {
    .wsttm_topbar-mobile-toggle { display: block; }
    
    .wsttm_topbar-nav { position: relative; }
    
    .wsttm_topbar-list {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        min-width: 220px;
        background: var(--wsttm_card);
        border-radius: 10px;
        box-shadow: var(--wsttm_shadow-lg);
        flex-direction: column;
        padding: 6px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all .3s cubic-bezier(.4,0,.2,1);
        z-index: 9999;
    }
    
    .wsttm_topbar-mobile-open .wsttm_topbar-list {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .wsttm_topbar-item {
        margin-right: 0;
        border-bottom: 1px solid var(--wsttm_border);
    }
    .wsttm_topbar-item:last-child { border-bottom: none; }
    
    .wsttm_topbar-link {
        padding: 14px 16px;
        color: var(--wsttm_ink);
        font-weight: 500;
        justify-content: space-between;
    }
    .wsttm_topbar-link::after { display: none; }
    
    .wsttm_topbar-arrow {
        font-size: 11px;
        color: var(--wsttm_ink-light);
        transition: transform .3s ease;
    }
    .wsttm_topbar-item.wsttm_active > .wsttm_topbar-link .wsttm_topbar-arrow {
        transform: rotate(180deg);
        color: var(--wsttm_clay);
    }
    
    .wsttm_topbar-submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        border-radius: 0;
        background: var(--wsttm_paper-2);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }
    .wsttm_topbar-item.wsttm_active .wsttm_topbar-submenu {
        max-height: 500px;
    }
    
    .wsttm_topbar-sublink {
        padding: 12px 16px 12px 28px;
        font-size: 13.5px;
    }
    .wsttm_topbar-sublink:hover {
        padding-left: 32px;
    }
}

/* CẬP NHẬT (mới): thu gọn thêm phần thông tin topbar trên màn hình rất nhỏ */
@media (max-width: 480px) {
    .wsttm_topbar-info { gap: 6px; font-size: 10.5px; }
    .wsttm_topbar-info-divider:nth-of-type(n+2) { display: none; }
}

/* ==================== 4. HEADER ==================== */
#wsttm_header {
    background: var(--wsttm_header-bg);
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
    position: inherit; top: 0; z-index: 1000;
    transition: background .3s;
}
.wsttm_header-inner { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; gap: 16px; }

.wsttm_header_left{
    display: flex;
    align-items: center;
    gap: 5px;
}
.wsttm_logo { display: inline-flex; align-items: center; }

.wsttm_logo a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--wsttm_transition);
}

.wsttm_logo a::before {
    content: '';
    flex-shrink: 0;
    width: 22px;
    height: 30px;
    border-radius: 0 100% 0 100%;
    background: linear-gradient(135deg, var(--wsttm_gold), var(--wsttm_forest-light));
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
    transform: rotate(-24deg);
    transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}

.wsttm_logo-text { display: flex; flex-direction: column; line-height: 1.08; }

.wsttm_logo-line1 {
    font-family: var(--wsttm_font-heading);
    font-weight: 800;
    font-size: 24px;
    letter-spacing: .3px;
    color: var(--wsttm_white);
    text-shadow: 0 2px 6px rgba(0,0,0,.25);
    white-space: nowrap;
}

.wsttm_logo-line2 {
    position: relative;
    font-family: var(--wsttm_font-body);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--wsttm_gold);
    margin-top: 4px;
    padding-left: 2px;
    white-space: nowrap;
}

.wsttm_logo-line2::after {
    content: '';
    position: absolute;
    left: 2px;
    bottom: -5px;
    height: 1.5px;
    width: 100%;
    background: linear-gradient(90deg, var(--wsttm_gold), transparent);
    opacity: .7;
    transform: scaleX(.4);
    transform-origin: left;
    transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}

.wsttm_logo a:hover { transform: translateY(-1px); }
.wsttm_logo a:hover::before { transform: rotate(-8deg) scale(1.08); }
.wsttm_logo a:hover .wsttm_logo-line2::after { transform: scaleX(1); opacity: 1; }

/* CẬP NHẬT: logo thu nhỏ cùng nhịp với breakpoint chuyển menu PC -> mobile
   (1000px thay vì 768px). Thêm tier <=480px để nhỏ gọn hơn nữa trên
   điện thoại màn hẹp. */
@media (max-width: 1000px) {
    .wsttm_logo a::before { width: 16px; height: 22px; }
    .wsttm_logo-line1 { font-size: 19px; }
    .wsttm_logo-line2 { font-size: 10px; letter-spacing: 3px; }
}
@media (max-width: 480px) {
    .wsttm_logo a { gap: 8px; }
    .wsttm_logo a::before { width: 13px; height: 18px; }
    .wsttm_logo-line1 { font-size: 16px; }
    .wsttm_logo-line2 { font-size: 8.5px; letter-spacing: 2px; margin-top: 2px; }
}


.wsttm_header_right {
    display: flex;
    gap: 20px;
    align-items: center;
}
.wsttm_header-search { flex: 1; max-width: 460px; position: relative; }
.wsttm_search-form { display: flex; width: 460px; max-width: 100%; position: relative; }
.wsttm_search-input {
    flex: 1; padding: 9px 16px; border: none; border-radius: 30px 0 0 30px;
    background: var(--wsttm_white); color: var(--wsttm_ink); font-size: 14px; outline: none;
}
.wsttm_search-btn {
    background: var(--wsttm_clay); border: none; border-radius: 0 30px 30px 0;
    width: 48px; color: var(--wsttm_white); cursor: pointer; transition: var(--wsttm_transition);
}
.wsttm_search-btn:hover { background: var(--wsttm_clay-dark); }

/* CẬP NHẬT (mới): ô tìm kiếm thu hẹp dần ở dải màn hình vừa (1000-1200px)
   trước khi bị ẩn hẳn (thay bằng icon tìm kiếm mobile) dưới 1000px, để
   tránh chật chội với logo + nav trong khoảng chuyển tiếp. */
@media (max-width: 1200px) {
    .wsttm_header-search { max-width: 320px; }
    .wsttm_search-form { width: 320px; }
}

.wsttm_search-results {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0;
    background: var(--wsttm_card); border-radius: 12px; box-shadow: var(--wsttm_shadow-lg);
    z-index: 1001; max-height: 400px; overflow-y: auto; display: none; border: 1px solid var(--wsttm_border);
}
.wsttm_search-results.wsttm_show { display: block; }
.wsttm_search-result-item { display: flex; align-items: center; gap: 10px; padding: 8px; cursor: pointer; border-bottom: 1px solid var(--wsttm_border); }
.wsttm_search-result-item:last-child { border-bottom: none; }
.wsttm_search-result-item:hover { background: var(--wsttm_paper-2); }
.wsttm_result-img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.wsttm_result-name { font-weight: 600; color: var(--wsttm_ink); font-size: 14px; margin-bottom: 2px; }
.wsttm_result-price { font-size: 13px; color: var(--wsttm_clay); font-weight: 700; }
.wsttm_search-no-result { padding: 18px; text-align: center; color: var(--wsttm_ink-light); }

.wsttm_theme-toggle {
    width: 68px;
    height: 30px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f5d280 0%, var(--wsttm_gold) 100%);
    border: 2px solid var(--wsttm_clay);
    box-shadow: 
        0 3px 8px rgba(166, 124, 61, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
}

.wsttm_theme-toggle i {
    position: absolute;
    top: 50%;
    left: 3px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fffdf5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--wsttm_gold);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    transition: all .4s cubic-bezier(.34,1.56,.64,1);
    z-index: 2;
}

.wsttm_theme-toggle::after {
    content: '🌿';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    opacity: 0.5;
    transition: all .3s ease;
    z-index: 1;
}

.wsttm_theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 5px 12px rgba(166, 124, 61, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.wsttm_theme-toggle:hover i {
    transform: translateY(-50%) scale(1.08);
}
.wsttm_theme-toggle:active {
    transform: translateY(0);
}

body.wsttm_dark-mode .wsttm_theme-toggle {
    background: linear-gradient(135deg, var(--wsttm_forest-light) 0%, var(--wsttm_forest) 100%);
    border-color: var(--wsttm_gold);
    box-shadow: 
        0 3px 8px rgba(31, 61, 43, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body.wsttm_dark-mode .wsttm_theme-toggle i {
    left: calc(100% - 29px);
    background: #fff8e1;
    color: var(--wsttm_forest);
}

body.wsttm_dark-mode .wsttm_theme-toggle::after {
    right: auto;
    left: 8px;
    opacity: 0.4;
}

.wsttm_mobile-menu-toggle { display: none; font-size: 22px; color: var(--wsttm_white); cursor: pointer; }

/* ==================== 5. MAIN NAV ==================== */
#wsttm_main-nav { 
    background: var(--wsttm_forest); 
    position: sticky; 
    top: 0px; 
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.wsttm_main-menu { 
    display: flex; 
    justify-content: flex-start; 
    gap: 4px;
}
.wsttm_main-menu > li { position: relative; }

.wsttm_main-menu > li > a {
    display: flex;
    align-items: center;
    color: var(--wsttm_white); 
    padding: 14px 10px; 
    font-size: 13.5px;
    text-transform: uppercase; 
    letter-spacing: .5px; 
    font-weight: 500;
    position: relative;
    transition: all .25s ease;
}
.wsttm_main-menu > li:hover > a { 
    background: rgba(166, 124, 61, 0.15); 
    color: var(--wsttm_gold); 
}
.wsttm_main-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--wsttm_gold);
    transition: width .3s cubic-bezier(.4,0,.2,1);
    border-radius: 3px 3px 0 0;
}
.wsttm_main-menu > li:hover > a::after { width: 70%; }

.wsttm_main-menu > li.wsttm_has-sub > a:after {
    content: '\f078'; 
    font-family: 'Font Awesome 5 Free'; 
    font-weight: 900; 
    margin-left: 8px; 
    font-size: 11px;
    position: static;
    transform: none;
    width: auto;
    height: auto;
    background: transparent;
    transition: transform .25s ease;
}
.wsttm_main-menu > li.wsttm_has-sub:hover > a:after {
    transform: rotate(180deg);
}

.wsttm_has-sub:not(.wsttm_mega) .wsttm_submenu {
    position: absolute; 
    top: 100%; 
    left: 0; 
    background: var(--wsttm_card); 
    min-width: 220px;
    box-shadow: var(--wsttm_shadow-lg); 
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(12px) scale(0.97);
    transition: all .25s cubic-bezier(.4,0,.2,1); 
    z-index: 100; 
    border-radius: 0 0 12px 12px;
    border-top: 3px solid var(--wsttm_clay);
    padding: 6px 0;
}
.wsttm_has-sub:not(.wsttm_mega):hover .wsttm_submenu { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0) scale(1);
}
.wsttm_submenu.wsttm_flip-right {
    left: auto;
    right: 0;
}

.wsttm_submenu li { 
    border-bottom: 1px solid var(--wsttm_border);
    position: relative;
}
.wsttm_submenu li:last-child { border-bottom: none; }

.wsttm_submenu li a { 
    display: block; 
    padding: 10px 16px; 
    color: var(--wsttm_ink); 
    font-size: 13.5px;
    transition: all .2s ease;
    position: relative;
}

.wsttm_submenu li a:hover { 
    background: var(--wsttm_paper-2); 
    color: var(--wsttm_forest); 
    padding-left: 22px;
}
.wsttm_submenu li a:hover::before { width: 4px; }

.wsttm_submenu .wsttm_has-sub-l3 { position: relative; }
.wsttm_submenu .wsttm_has-sub-l3 > a:after { 
    content: '\f054'; 
    font-family: 'Font Awesome 5 Free'; 
    font-weight: 900; 
    float: right; 
    font-size: 11px;
    color: var(--wsttm_ink-light);
    transition: all .25s ease;
}
.wsttm_submenu .wsttm_has-sub-l3:hover > a:after {
    color: var(--wsttm_clay);
    transform: translateX(3px);
}

.wsttm_submenu .wsttm_submenu-l3 {
    position: absolute; 
    top: -3px; 
    left: 100%; 
    background: var(--wsttm_card); 
    min-width: 210px;
    box-shadow: var(--wsttm_shadow-lg); 
    opacity: 0; 
    visibility: hidden; 
    transform: translateX(12px) scale(0.97);
    transition: all .25s cubic-bezier(.4,0,.2,1); 
    z-index: 101; 
    border-radius: 0 12px 12px 0;
    border-left: 3px solid var(--wsttm_forest);
    padding: 6px 0;
    min-height: auto;
}
.wsttm_submenu .wsttm_has-sub-l3:hover .wsttm_submenu-l3 { 
    opacity: 1; 
    visibility: visible; 
    transform: translateX(0) scale(1);
}
.wsttm_submenu-l3.wsttm_flip-left {
    left: auto;
    right: 100%;
    border-left: none;
    border-right: 3px solid var(--wsttm_forest);
    border-radius: 12px 0 0 12px;
}

.wsttm_submenu-l3 li { border-bottom: 1px solid var(--wsttm_border); }
.wsttm_submenu-l3 li a { padding: 10px 16px; white-space: nowrap; }

.wsttm_mega { position: static; }
.wsttm_mega-panel {
    position: fixed;
    top: 46px;
    left: 50%;
    width: 850px;
    max-width: 92vw;
    background: var(--wsttm_card);
    box-shadow: var(--wsttm_shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
    z-index: 1200;
    padding: 32px 0;
    border-radius: 16px;
    border-top: 0px solid var(--wsttm_clay);
    border: solid 2px #32452d;
}
.wsttm_mega:hover .wsttm_mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.wsttm_mega-panel .wsttm_mega-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
}

.wsttm_mega-col { 
    flex: 1;
    opacity: 0;
    transform: translateY(10px);
    transition: all .3s ease;
}
.wsttm_mega:hover .wsttm_mega-col:nth-child(1) { transition-delay: .05s; opacity: 1; transform: translateY(0); }
.wsttm_mega:hover .wsttm_mega-col:nth-child(2) { transition-delay: .1s; opacity: 1; transform: translateY(0); }
.wsttm_mega:hover .wsttm_mega-col:nth-child(3) { transition-delay: .15s; opacity: 1; transform: translateY(0); }
.wsttm_mega:hover .wsttm_mega-col:nth-child(4) { transition-delay: .2s; opacity: 1; transform: translateY(0); }
.wsttm_mega:hover .wsttm_mega-col:nth-child(5) { transition-delay: .25s; opacity: 1; transform: translateY(0); }
.wsttm_mega:hover .wsttm_mega-col:nth-child(6) { transition-delay: .3s; opacity: 1; transform: translateY(0); }

.wsttm_mega-col-title { 
    font-size: 15px; 
    font-weight: 700; 
    color: var(--wsttm_forest); 
    border-bottom: 2px solid var(--wsttm_clay); 
    display: inline-block; 
    padding-bottom: 6px;
    margin-bottom: 12px;
    position: relative;
}
.wsttm_mega-col-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30%;
    height: 2px;
    background: var(--wsttm_gold);
    transition: width .3s ease;
}
.wsttm_mega-col:hover .wsttm_mega-col-title::after {
    width: 100%;
}

.wsttm_mega-col ul { margin-top: 0; }
.wsttm_mega-col ul li {
    margin-bottom: 4px;
}
.wsttm_mega-col ul li a { 
    padding: 6px 0; 
    display: inline-block; 
    color: var(--wsttm_ink-light); 
    font-size: 14px;
    position: relative;
    transition: all .2s ease;
}
.wsttm_mega-col ul li a::before {
    content: '🌿';
    font-size: 10px;
    margin-right: 6px;
    opacity: 0;
    transform: translateX(-5px);
    transition: all .2s ease;
}
.wsttm_mega-col ul li a:hover { 
    color: var(--wsttm_clay); 
    transform: translateX(8px);
}
.wsttm_mega-col ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* CẬP NHẬT: nav rút gọn dần (padding/font nhỏ hơn, mega-panel hẹp hơn)
   trong dải 1000-1200px — đây là vùng nav VẪN hiển thị (chỉ ẩn hẳn dưới
   1000px) nhưng không gian đã chật, nên cần thu gọn trước khi chuyển
   hẳn sang mobile. Trước đây breakpoint này là 1024px. */
@media (max-width: 1200px) {
    .wsttm_main-menu > li > a {
        padding: 14px 8px;
        font-size: 12.5px;
    }
    .wsttm_mega-panel {
        width: 92vw;
    }
    .wsttm_mega-panel .wsttm_mega-container {
        gap: 18px;
    }
}

/* CẬP NHẬT (thay đổi chính): chuyển đổi phong cách hiển thị menu PC <->
   menu mobile tại 1000px (trước đây là 768px). Đồng bộ với topbar (mục 3),
   logo (mục 4) và search-icon mobile (mục 22). */
@media (max-width: 1000px) {
    #wsttm_main-nav { display: none; }
    .wsttm_mobile-menu-toggle { 
        display: block; 
    }
    .wsttm_header-search { display: none !important; }
}

/* ==================== 6. HERO SLIDER ==================== */
.wsttm_slider-wrapper {
    position: relative; overflow: hidden; background: var(--wsttm_forest);
    background-image:
        radial-gradient(circle at 15% 30%, rgba(166,124,61,.20) 0%, transparent 55%),
        radial-gradient(circle at 85% 70%, rgba(181,101,29,.16) 0%, transparent 55%);
    background-size: 200% 200%; animation: wsttmBgGlow 18s infinite alternate ease-in-out;
    max-height: 780px;
}
@keyframes wsttmBgGlow { 0%{background-position:0 0;} 50%{background-position:100% 100%;} 100%{background-position:0 100%;} }
.wsttm_slide-image { width: 100%; height: auto; opacity: 0; transition: transform 1.2s cubic-bezier(.2,.9,.4,1), clip-path 1.2s cubic-bezier(.2,.9,.4,1), opacity .8s ease; }
.swiper-slide-active .wsttm_slide-image { clip-path: inset(0); transform: none; opacity: 1; }
.wsttm_slide-overlay {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(15,28,19,0) 0%, rgba(15,28,19,.25) 50%, rgba(15,28,19,.78) 100%);
}
.wsttm_slide-content {
    position: absolute; bottom: 14%; left: 6%; max-width: 58%; z-index: 2; color: #fff;
    display: flex; flex-direction: column; gap: 12px; padding: 20px; text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.wsttm_slide-content .wsttm_type,
.wsttm_slide-content .wsttm_title,
.wsttm_slide-content .wsttm_desc,
.wsttm_slide-content .wsttm_btn { opacity: 0; transform: translateX(-40px); transition: all .6s cubic-bezier(.2,.9,.4,1.1); }
.swiper-slide-active .wsttm_slide-content .wsttm_type { opacity: 1; transform: translateX(0); transition-delay: .1s; }
.swiper-slide-active .wsttm_slide-content .wsttm_title { opacity: 1; transform: translateX(0); transition-delay: .3s; }
.swiper-slide-active .wsttm_slide-content .wsttm_desc { opacity: 1; transform: translateX(0); transition-delay: .5s; }
.swiper-slide-active .wsttm_slide-content .wsttm_btn { opacity: 1; transform: translateX(0); transition-delay: .7s; }

.wsttm_type {
    font-size: clamp(.85rem,1.4vw,1.1rem); font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
    background: rgba(166,124,61,.92); padding: 4px 16px; border-radius: 40px; width: fit-content; color: #1f2916;
}
.wsttm_title {
    font-family: var(--wsttm_font-heading); font-size: clamp(1.8rem,4.5vw,3.4rem); font-weight: 800; line-height: 1.2;
    background: linear-gradient(135deg, #f3e2b8, #d9a441, #f3e2b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.wsttm_desc { font-size: clamp(.9rem,1.2vw,1.1rem); max-width: 85%; opacity: .92; color: #f0ede0; }

.wsttm_slider-wrapper .swiper-button-prev,
.wsttm_slider-wrapper .swiper-button-next {
    background: rgba(15,28,19,.55); width: 38px; height: 38px; border-radius: 50%; color: var(--wsttm_gold);
    border: 1px solid rgba(217,164,65,.35);
}
.wsttm_slider-wrapper .swiper-button-prev:hover,
.wsttm_slider-wrapper .swiper-button-next:hover { background: var(--wsttm_gold); color: #1f2916; }
.wsttm_slider-wrapper .swiper-button-prev::after,
.wsttm_slider-wrapper .swiper-button-next::after { font-size: 18px; font-weight: bold; }
.wsttm_slider-wrapper .swiper-pagination-bullet { background: rgba(255,255,255,.4); width: 12px; height: 12px; opacity: 1; border: 1px solid rgba(217,164,65,.4); }
.wsttm_slider-wrapper .swiper-pagination-bullet-active { background: var(--wsttm_gold); transform: scale(1.25); }

.wsttm_slider-progress { position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: rgba(255,255,255,.15); z-index: 3; }
.wsttm_slider-progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--wsttm_gold), #f3e2b8); transition: width .4s ease; }

@media (max-width: 768px) {
    .wsttm_slide-content { bottom: 8%; left: 5%; max-width: 88%; padding: 10px; }
    .wsttm_desc { max-width: 100%; }
}

/* ==================== 7. TRÍCH DẪN THẢO DƯỢC (home content) ==================== */
.wsttm_intro-section { background: var(--wsttm_paper); padding: 55px 0; }
.wsttm_intro-heading { text-align: center; margin-bottom: 24px; }
.wsttm_intro-icon { text-align: center; margin-bottom: 18px; }
.wsttm_intro-icon img { max-width: 420px; width: 100%; margin: 0 auto; filter: drop-shadow(0 4px 10px rgba(31,61,43,.12)); }

.wsttm_intro-short { color: var(--wsttm_ink); line-height: 1.85; margin-bottom: 14px; }
.wsttm_intro-full { display: none; color: var(--wsttm_ink-light); line-height: 1.85; margin-top: 14px; border-top: 1px dashed var(--wsttm_border-dark); padding-top: 14px; }
.wsttm_intro-check:checked ~ .wsttm_intro-full { display: block; }
.wsttm_intro-check { display: none; }

.wsttm_intro-toggle { text-align: center; margin-top: 18px; }
.wsttm_intro-toggle-label {
    display: inline-block; cursor: pointer; color: var(--wsttm_forest); font-weight: 600; font-size: 14px;
    padding: 8px 20px; border: 2px solid var(--wsttm_forest); border-radius: 30px; background: var(--wsttm_white);
    transition: all .25s ease; user-select: none;
}
.wsttm_intro-toggle-label:hover { background: var(--wsttm_forest); color: var(--wsttm_white); }
.wsttm_intro-toggle-label--top { display: none; }
.wsttm_intro-check:checked ~ .wsttm_intro-toggle .wsttm_intro-toggle-label--down { display: none; }
.wsttm_intro-check:checked ~ .wsttm_intro-toggle .wsttm_intro-toggle-label--top { display: inline-block; }

.wsttm_intro-short img, .wsttm_intro-full img { border-radius: 8px; margin: 12px 0; box-shadow: var(--wsttm_shadow); }
.wsttm_intro-short table, .wsttm_intro-full table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.wsttm_intro-short table td, .wsttm_intro-full table td { padding: 6px; border: 1px solid var(--wsttm_border); }

.wsttm_related-slider-wrap { margin: 32px 0 8px; }
.wsttm_related-slider-title { text-align: center; font-family: var(--wsttm_font-heading); font-size: 1.4rem; color: var(--wsttm_forest); margin-bottom: 22px; }
.wsttm_product-swiper { overflow: hidden; padding: 10px 0 34px; }
.wsttm_product-swiper .swiper-wrapper { display: flex !important; align-items: stretch; }
.wsttm_product-swiper .swiper-slide { height: auto; }
.wsttm_product-swiper .swiper-button-next, .wsttm_product-swiper .swiper-button-prev {
    color: var(--wsttm_forest); background: var(--wsttm_white); width: 40px; height: 40px; border-radius: 50%; box-shadow: var(--wsttm_shadow);
}
.wsttm_product-swiper .swiper-button-next:after, .wsttm_product-swiper .swiper-button-prev:after { font-size: 16px; font-weight: bold; }
.wsttm_product-swiper .swiper-pagination-bullet-active { background: var(--wsttm_clay); }
@media (max-width: 768px) {
    .wsttm_product-swiper .swiper-button-next, .wsttm_product-swiper .swiper-button-prev { display: none; }
}

/* ==================== 8. DANH MỤC THẢO DƯỢC ==================== */
.wsttm_category-section { background: var(--wsttm_paper-2); border-top: 1px solid var(--wsttm_border); }
.wsttm_category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.wsttm_category-card {
    text-align: center; background: var(--wsttm_card); border-radius: var(--wsttm_radius);
    padding: 26px 16px; border: 1px solid var(--wsttm_border); transition: var(--wsttm_transition); cursor: pointer;
    position: relative; overflow: hidden;
}
.wsttm_category-card:hover { transform: translateY(-8px); box-shadow: var(--wsttm_shadow-lg); border-color: var(--wsttm_gold); }
.wsttm_category-card-img { margin-bottom: 14px; }
.wsttm_category-card-img img { width: 72px; height: 72px; object-fit: contain; margin: 0 auto; }
.wsttm_category-card i { font-size: 44px; color: var(--wsttm_clay); }
.wsttm_category-card h3 { font-size: 15px; color: var(--wsttm_forest); font-weight: 700; margin-bottom: 6px; }
.wsttm_category-card-button { display: inline-block; font-size: 12px; color: var(--wsttm_clay); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.wsttm_category-card-button:hover { text-decoration: underline; }

@media (max-width: 1024px) { .wsttm_category-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==================== 9. THẺ SẢN PHẨM / THẢO DƯỢC ==================== */
.wsttm_products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.wsttm_product-card {
    background: var(--wsttm_card); border-radius: var(--wsttm_radius); overflow: hidden;
    box-shadow: var(--wsttm_shadow); transition: var(--wsttm_transition); border: 1px solid var(--wsttm_border);
}
.wsttm_product-card:hover { transform: translateY(-5px); box-shadow: var(--wsttm_shadow-lg); }
.wsttm_product-image { position: relative; overflow: hidden; aspect-ratio: 1/1; }
.wsttm_product-image img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.wsttm_product-card:hover .wsttm_product-image img { transform: scale(1.06); }
.wsttm_product-badge {
    position: absolute; top: 10px; left: 10px; background: var(--wsttm_clay); color: #fff;
    padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; z-index: 2;
}
.wsttm_wishlist-btn {
    position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,.92); border: none; border-radius: 50%;
    width: 34px; height: 34px; font-size: 16px; color: #b8b8a8; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.wsttm_wishlist-btn.wsttm_active { color: var(--wsttm_clay); }
.wsttm_wishlist-btn:hover { transform: scale(1.1); }

.wsttm_product-info { padding: 14px; }
.wsttm_product-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wsttm_product-title a { color: var(--wsttm_ink); }
.wsttm_product-title a:hover { color: var(--wsttm_clay); }
.wsttm_product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.wsttm_stars { color: var(--wsttm_star); font-size: 12px; }
.wsttm_rating-count { font-size: 11px; color: var(--wsttm_ink-light); }
.wsttm_product-price { font-size: 16px; font-weight: 700; color: var(--wsttm_clay); margin-bottom: 10px; }
.wsttm_product-price old { font-size: 13px; font-weight: 400; color: var(--wsttm_ink-light); text-decoration: line-through; margin-left: 8px; }
.wsttm_product-actions { display: flex; gap: 8px; }
.wsttm_product-actions button { flex: 1; padding: 9px 0; border: none; border-radius: 8px; font-weight: 600; font-size: 12.5px; cursor: pointer; transition: .3s; }
.wsttm_add-to-cart-btn { background: var(--wsttm_forest); color: #fff; }
.wsttm_add-to-cart-btn:hover { background: var(--wsttm_forest-2); }
.wsttm_buynow-btn { background: var(--wsttm_clay); color: #fff; }
.wsttm_buynow-btn:hover { background: var(--wsttm_clay-dark); }

@media (max-width: 1024px) { .wsttm_products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .wsttm_products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ==================== 10. SẢN PHẨM NỔI BẬT / MỚI ==================== */
.wsttm_selected-section { background: var(--wsttm_paper); border-top: 1px solid var(--wsttm_border); }
.wsttm_newproducts-section { background: var(--wsttm_forest); }
.wsttm_newproducts-section .wsttm_section-title,
.wsttm_newproducts-section .wsttm_section-subtitle { color: #fff; }
.wsttm_newproducts-section .wsttm_product-title a { color: var(--wsttm_ink); }

.wsttm_collections-section { background: var(--wsttm_paper-2); border-top: 1px solid var(--wsttm_border); }
.wsttm_collection-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; justify-content: center; }
.wsttm_collection-tabs .wsttm_tab-btn {
    padding: 8px 18px; border: 2px solid var(--wsttm_border-dark); border-radius: 30px; background: var(--wsttm_card);
    color: var(--wsttm_ink-light); font-size: 14px; font-weight: 600; cursor: pointer; transition: .3s;
}
.wsttm_collection-tabs .wsttm_tab-btn:hover { border-color: var(--wsttm_clay); color: var(--wsttm_clay); }
.wsttm_collection-tabs .wsttm_tab-btn.wsttm_active { background: var(--wsttm_forest); border-color: var(--wsttm_forest); color: #fff; }

/* ==================== 11. BANNER ==================== */
.wsttm_banner-section { padding: 0; }
.wsttm_banner {
    position: relative; min-height: 300px; background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;
}
.wsttm_banner-content {
    position: relative; z-index: 2; background: rgba(15,28,19,.68); padding: 40px 20px; border-radius: var(--wsttm_radius);
    max-width: 700px; margin: 20px;
}
.wsttm_banner-content h3 { font-family: var(--wsttm_font-heading); font-size: 30px; margin-bottom: 12px; }
.wsttm_banner-content p { font-size: 16px; margin-bottom: 20px; color: #ece6d4; }

/* ==================== 12. GIỚI THIỆU / VỀ CHÚNG TÔI ==================== */
.wsttm_about-section { background: var(--wsttm_forest); padding: 65px 0; border-top: 1px solid var(--wsttm_border-dark); }
.wsttm_about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.wsttm_about-text h3 { font-family: var(--wsttm_font-heading); font-size: 28px; color: #fff; margin-bottom: 18px; }
.wsttm_about-text p { margin-bottom: 16px; color: #d8d2bd; line-height: 1.8; }
.wsttm_about-image img { border-radius: var(--wsttm_radius); width: 100%; box-shadow: var(--wsttm_shadow-lg); }

@media (max-width: 1024px) { .wsttm_about-content { grid-template-columns: 1fr; } }

/* ==================== 13. CẢM NHẬN KHÁCH HÀNG ==================== */
.wsttm_testimonial-section { background: var(--wsttm_paper); position: relative; }
.wsttm_testimonial-swiper { position: relative; background: var(--wsttm_paper-2); border-radius: 22px; padding: 12px; border: 2px solid var(--wsttm_border); margin-top: 26px; max-width: 780px; }
.wsttm_testimonial-row { display: flex; align-items: center; gap: 16px; background: var(--wsttm_card); border-radius: 16px; padding: 18px; min-height: 210px; }
.wsttm_testimonial-avatar-wrap { flex: 0 0 auto; width: 120px; height: 140px; border-radius: 50%; overflow: hidden; border: 4px solid var(--wsttm_gold); box-shadow: var(--wsttm_shadow); }
.wsttm_testimonial-avatar { width: 100%; height: 100%; object-fit: cover; }
.wsttm_testimonial-body { flex: 1; }
.wsttm_testimonial-stars { color: var(--wsttm_star); font-size: 12px; margin-bottom: 6px; }
.wsttm_testimonial-text { font-size: 1.1rem; line-height: 1.7; font-style: italic; color: var(--wsttm_ink); margin-bottom: 8px; }
.wsttm_testimonial-text i { color: var(--wsttm_clay); font-size: 22px; padding: 0 8px; }
.wsttm_testimonial-author { font-weight: 700; color: var(--wsttm_forest); }
.wsttm_testimonial-role { font-size: .9rem; color: var(--wsttm_clay); opacity: .85; }

.wsttm_testimonial-swiper .swiper-button-next, .wsttm_testimonial-swiper .swiper-button-prev {
    background: var(--wsttm_forest); color: #fff; width: 32px; height: 32px; border-radius: 50%;
}
.wsttm_testimonial-swiper .swiper-button-next::after, .wsttm_testimonial-swiper .swiper-button-prev::after { display: none; }
.wsttm_testimonial-swiper .swiper-button-next i, .wsttm_testimonial-swiper .swiper-button-prev i { font-size: 13px; }
.wsttm_testimonial-swiper .swiper-pagination-bullet-active { background: var(--wsttm_clay); }

@media (max-width: 768px) {
    .wsttm_testimonial-row { flex-wrap: wrap; justify-content: center; text-align: center; }
    .wsttm_testimonial-avatar-wrap { width: 90px; height: 90px; }
}

/* ==================== 14. BÀI THUỐC / CÔNG THỨC TIÊU BIỂU ==================== */
.wsttm_remedy-section { background: var(--wsttm_paper-2); border-top: 1px solid var(--wsttm_border); }
.wsttm_remedy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.wsttm_remedy-card { position: relative; border-radius: var(--wsttm_radius); overflow: hidden; background: var(--wsttm_card); border: 1px solid var(--wsttm_border); }
.wsttm_remedy-card:hover { transform: translateY(-5px); box-shadow: var(--wsttm_shadow-lg); }
.wsttm_remedy-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: .4s; }
.wsttm_remedy-card:hover .wsttm_remedy-img { transform: scale(1.05); }
.wsttm_remedy-overlay { padding: 16px; }
.wsttm_remedy-overlay h4 { font-size: 16px; color: var(--wsttm_forest); margin-bottom: 6px; }
.wsttm_remedy-overlay p { font-size: 13px; color: var(--wsttm_ink-light); margin-bottom: 12px; }
.wsttm_remedy-card-button { display: inline-block; font-size: 12px; font-weight: 700; color: var(--wsttm_clay); border: 1px solid var(--wsttm_clay); padding: 6px 14px; border-radius: 20px; }
.wsttm_remedy-card-button:hover { background: var(--wsttm_clay); color: #fff; }

@media (max-width: 768px) { .wsttm_remedy-grid { grid-template-columns: 1fr; } }

/* ==================== 15. CAM KẾT / LỢI ÍCH ==================== */
.wsttm_benefits-section { background: var(--wsttm_paper); border-top: 2px solid var(--wsttm_border); }
.wsttm_benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.wsttm_benefit-item { background: var(--wsttm_card); border-radius: var(--wsttm_radius); padding: 30px 18px; box-shadow: var(--wsttm_shadow); transition: var(--wsttm_transition); border: 1px solid var(--wsttm_border); }
.wsttm_benefit-item:hover { transform: translateY(-8px); }
.wsttm_benefit-icon { font-size: 44px; color: var(--wsttm_clay); margin-bottom: 14px; }
.wsttm_benefit-title { font-size: 15px; font-weight: 700; color: var(--wsttm_forest); margin-bottom: 8px; }
.wsttm_benefit-desc { font-size: 13.5px; color: var(--wsttm_ink-light); line-height: 1.6; }

@media (max-width: 1024px) { .wsttm_benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .wsttm_benefits-grid { grid-template-columns: 1fr; } }

/* ==================== 16. KIẾN THỨC / BLOG DÂN GIAN ==================== */
.wsttm_blog-section { background: var(--wsttm_forest); border-top: 1px solid var(--wsttm_border-dark); }
.wsttm_blog-section .wsttm_section-title,
.wsttm_blog-section .wsttm_section-subtitle { color: #fff; }
.wsttm_blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.wsttm_blog-card { background: var(--wsttm_card); border-radius: var(--wsttm_radius); overflow: hidden; box-shadow: var(--wsttm_shadow); transition: var(--wsttm_transition); }
.wsttm_blog-card:hover { transform: translateY(-5px); box-shadow: var(--wsttm_shadow-lg); }
.wsttm_blog-img { height: 170px; overflow: hidden; }
.wsttm_blog-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.wsttm_blog-card:hover .wsttm_blog-img img { transform: scale(1.06); }
.wsttm_blog-content { padding: 14px; }
.wsttm_blog-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--wsttm_ink-light); margin-bottom: 8px; }
.wsttm_blog-meta i { color: var(--wsttm_clay); margin-right: 4px; }
.wsttm_blog-title { font-size: 14px; font-weight: 700; color: var(--wsttm_forest); margin-bottom: 6px; line-height: 1.4; }
.wsttm_blog-excerpt { font-size: 12.5px; color: var(--wsttm_ink-light); margin-bottom: 10px; }
.wsttm_btn-readmore { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--wsttm_forest); border: 1px solid var(--wsttm_forest); padding: 4px 12px; border-radius: 20px; }
.wsttm_btn-readmore:hover { background: var(--wsttm_forest); color: #fff; }

@media (max-width: 768px) { .wsttm_blog-grid { grid-template-columns: 1fr; } }
@media (max-width: 1024px) { .wsttm_blog-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==================== 17. SIDEBAR (danh mục sản phẩm / blog) ==================== */
.wsttm_category-layout { display: flex; gap: 34px; margin: 30px 0 60px; }
.wsttm_sidebar { flex: 0 0 260px; min-width: 260px; }
.wsttm_sidebar-widget { background: var(--wsttm_card); border-radius: var(--wsttm_radius); margin-bottom: 20px; border: 1px solid var(--wsttm_border); overflow: hidden; }
.wsttm_widget-title { font-size: 15px; font-weight: 700; color: #fff; background: var(--wsttm_forest); padding: 12px 16px; display: flex; align-items: center; gap: 8px; }
.wsttm_cat-list { padding: 8px 12px 16px; }
.wsttm_cat-item { display: flex; align-items: center; gap: 8px; padding: 7px 4px; border-radius: 6px; cursor: pointer; color: var(--wsttm_ink); }
.wsttm_cat-item:hover, .wsttm_cat-item.wsttm_active { background: var(--wsttm_paper-2); padding-left: 10px; }
.wsttm_cat-item .wsttm_cat-name { flex: 1; font-size: 14px; }
.wsttm_cat-item .wsttm_cat-count { font-size: 11px; color: var(--wsttm_ink-light); background: var(--wsttm_paper-2); padding: 2px 8px; border-radius: 12px; }

.wsttm_price-filter { padding: 12px 16px; }
.wsttm_price-inputs { display: flex; gap: 12px; align-items: center; margin-top: 10px; }
.wsttm_price-inputs input[type="number"] { width: 100%; padding: 8px 10px; border: 1px solid var(--wsttm_border); border-radius: 6px; font-size: 13px; }
.wsttm_btn-apply-filter { width: 100%; padding: 10px; margin-top: 12px; background: var(--wsttm_clay); color: #fff; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; }
.wsttm_btn-apply-filter:hover { background: var(--wsttm_clay-dark); }
.wsttm_btn-reset-filter { width: 100%; padding: 10px; margin-top: 8px; background: var(--wsttm_paper-2); color: var(--wsttm_ink-light); border: 1px solid var(--wsttm_border); border-radius: 6px; cursor: pointer; }

.wsttm_recent-item { display: flex; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--wsttm_border); }
.wsttm_recent-item img { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; }
.wsttm_recent-item h4 { font-size: 13px; color: var(--wsttm_ink); margin-bottom: 4px; }
.wsttm_recent-item .wsttm_price { font-size: 12px; color: var(--wsttm_clay); font-weight: 700; }

.wsttm_sidebar-toggle-btn {
    display: none; background: var(--wsttm_forest); color: #fff; border: none; padding: 10px 20px;
    border-radius: 8px; font-weight: 600; cursor: pointer; margin-bottom: 15px; align-items: center; gap: 8px;
}
.wsttm_sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 998; }
.wsttm_sidebar-overlay.wsttm_active { display: block; }

@media (max-width: 991px) {
    .wsttm_category-layout { flex-direction: column; }
    .wsttm_sidebar { width: 100%; position: fixed; top: 0; left: -320px; height: 100%; overflow-y: auto; z-index: 1003; background: var(--wsttm_card); padding: 20px; transition: left .3s; max-width: 320px; }
    .wsttm_sidebar.wsttm_active { left: 0; }
    .wsttm_sidebar-toggle-btn { display: inline-flex; }
}

/* ==================== 18. FOOTER ==================== */
#wsttm_footer { background: var(--wsttm_footer-bg); color: #d8d2bd; padding: 55px 0 0; border-top: 3px solid var(--wsttm_gold); }
.wsttm_footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr; 
    gap: 30px; 
    margin-bottom: 40px; 
    
}
.wsttm_footer-widget h3 { font-family: var(--wsttm_font-heading); font-size: 17px; margin-bottom: 18px; color: #fff; position: relative; padding-bottom: 10px; }
.wsttm_footer-widget h3:after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--wsttm_gold); }
.wsttm_footer-widget p { 
    margin-bottom: 18px; 
    line-height: 1.7; 
    text-align: justify;
}
.wsttm_footer-links li { 
    margin-bottom: 10px; 
    gap: 5px;
    display: flex;
    align-items: center;
}
.wsttm_footer-links a { color: #c7c0a5; }
.wsttm_footer-links a:hover { color: var(--wsttm_gold); padding-left: 4px; }
.wsttm_footer-contact { list-style: none; margin: 0; padding: 0; }
.wsttm_footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.wsttm_footer-contact li:last-child { margin-bottom: 0; }
.wsttm_footer-contact i {
    flex-shrink: 0;
    width: 16px;
    margin-top: 3px;
    font-size: 13px;
    color: var(--wsttm_gold);
    text-align: center;
}
.wsttm_footer-contact span {
    font-size: 13.5px;
    line-height: 1.6;
    color: #d8d2bd;
}
.wsttm_footer-social ul { display: flex; gap: 10px; }
.wsttm_footer-social a { background: rgba(255,255,255,.08); width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; }
.wsttm_footer-social a:hover { background: var(--wsttm_gold); color: var(--wsttm_forest); }
.wsttm_footer-bottom { background: rgba(0,0,0,.25); padding: 18px 0; text-align: center; font-size: 13px; }

@media (max-width: 1024px) { .wsttm_footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .wsttm_footer-grid { grid-template-columns: 1fr; } }

/* ==================== 19. BACK TO TOP / FLOATING CONTACT ==================== */
.wsttm_back-to-top {
    position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px; background: var(--wsttm_clay);
    color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer;
    opacity: 0; visibility: hidden; transition: var(--wsttm_transition); z-index: 999;
}
.wsttm_back-to-top.wsttm_active { opacity: 1; visibility: visible; }
.wsttm_back-to-top:hover { transform: translateY(-3px); background: var(--wsttm_clay-dark); }


/* ==================== 20. MOBILE MENU ==================== */
.wsttm_mobile-menu {
    position: fixed; 
    top: 0; 
    left: -360px; 
    width: 340px; 
    max-width: 85vw;
    height: 100%; 
    background: var(--wsttm_card);
    z-index: 1001; 
    transition: left .35s cubic-bezier(.4,0,.2,1); 
    overflow-y: auto; 
    box-shadow: 2px 0 20px rgba(0,0,0,.2);
}
.wsttm_mobile-menu.wsttm_active { left: 0; }

.wsttm_mobile-menu-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 18px 20px; 
    background: var(--wsttm_forest); 
    color: #fff; 
    position: sticky; 
    top: 0; 
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.wsttm_mobile-menu-header h3 {
    font-family: var(--wsttm_font-heading);
    font-size: 18px;
    color: var(--wsttm_gold);
}
.wsttm_close-menu { 
    font-size: 22px; 
    cursor: pointer; 
    transition: transform .3s ease;
}
.wsttm_close-menu:hover {
    transform: rotate(90deg);
    color: var(--wsttm_clay);
}

.wsttm_mobile-nav > ul > li { 
    border-bottom: 1px solid var(--wsttm_border); 
}

.wsttm_mobile-nav ul li a { 
    display: flex; 
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px; 
    color: var(--wsttm_ink); 
    font-weight: 500;
    min-height: 48px;
    transition: all .2s ease;
}
.wsttm_mobile-nav ul li a:hover { 
    background: var(--wsttm_paper-2); 
    color: var(--wsttm_clay); 
}

.wsttm_mobile-nav ul li.wsttm_has-sub > a i {
    transition: transform .3s ease;
    font-size: 12px;
    color: var(--wsttm_ink-light);
}
.wsttm_mobile-nav ul li.wsttm_has-sub.wsttm_active > a i {
    transform: rotate(180deg);
    color: var(--wsttm_clay);
}

.wsttm_mobile-submenu { 
    display: none; 
    background: var(--wsttm_paper-2); 
    padding-left: 0;
}
.wsttm_mobile-submenu.wsttm_active { display: block; }

.wsttm_mobile-submenu li {
    border-bottom: 1px solid rgba(226, 216, 191, 0.6);
}
.wsttm_mobile-submenu li:last-child { border-bottom: none; }

.wsttm_mobile-submenu li a {
    padding-left: 36px !important;
    font-size: 14px;
    font-weight: 400;
}

.wsttm_mobile-submenu .wsttm_submenu-l3 { 
    display: none; 
    padding-left: 0; 
    background: var(--wsttm_card);
}
.wsttm_mobile-submenu .wsttm_submenu-l3.wsttm_active { display: block; }


.wsttm_mobile-mega-cols {
    background: var(--wsttm_paper-2);
}
.wsttm_mobile-mega-col {
    border-bottom: 1px solid var(--wsttm_border);
}
.wsttm_mobile-mega-col:last-child { border-bottom: none; }

.wsttm_mobile-mega-col-title { 
    font-size: 14.5px; 
    font-weight: 700; 
    padding: 14px 20px; 
    background: var(--wsttm_paper-2); 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
    color: var(--wsttm_forest);
    transition: all .2s ease;
}
.wsttm_mobile-mega-col-title:hover {
    color: var(--wsttm_clay);
}
.wsttm_mobile-mega-col-title i {
    font-size: 12px;
    color: var(--wsttm_ink-light);
    transition: transform .3s ease;
}
.wsttm_mobile-mega-col.wsttm_active .wsttm_mobile-mega-col-title i {
    transform: rotate(180deg);
    color: var(--wsttm_clay);
}

.wsttm_mobile-mega-col-content { 
    display: none; 
    padding: 8px 0;
    background: var(--wsttm_card);
}
.wsttm_mobile-mega-col-content.wsttm_active { display: block; }

.wsttm_mobile-mega-col-content li {
    border-bottom: 1px solid var(--wsttm_border);
}
.wsttm_mobile-mega-col-content li:last-child { border-bottom: none; }

.wsttm_mobile-mega-col-content li a {
    padding: 12px 20px 12px 40px !important;
    font-size: 14px;
    font-weight: 400;
}

.wsttm_overlay { 
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,.5); 
    z-index: 1000; 
    opacity: 0; 
    visibility: hidden; 
    transition: .3s ease; 
}
.wsttm_overlay.wsttm_active { opacity: 1; visibility: visible; }

/* ==================== 21. MODAL THÊM GIỎ HÀNG & GIỎ HÀNG ==================== */
.wsttm_addcart-modal { position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 1005; display: flex; align-items: center; justify-content: center; visibility: hidden; opacity: 0; transition: .3s ease; }
.wsttm_addcart-modal.wsttm_show { visibility: visible; opacity: 1; }
.wsttm_modal-container { background: var(--wsttm_card); width: 90%; max-width: 440px; border-radius: 16px; box-shadow: var(--wsttm_shadow-lg); transform: scale(.92); transition: .3s ease; overflow: hidden; }
.wsttm_addcart-modal.wsttm_show .wsttm_modal-container { transform: scale(1); }
.wsttm_modal-header { padding: 18px 20px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--wsttm_border); }
.wsttm_modal-header h3 { color: var(--wsttm_forest); display: flex; align-items: center; gap: 10px; font-size: 18px; }
.wsttm_modal-close { font-size: 22px; cursor: pointer; color: var(--wsttm_ink-light); }
.wsttm_modal-body { padding: 22px 20px; text-align: center; }
.wsttm_modal-body i { font-size: 44px; color: var(--wsttm_clay); margin-bottom: 12px; }
.wsttm_modal-body .wsttm_product-name { font-weight: 700; color: var(--wsttm_clay); }
.wsttm_modal-footer { padding: 0 20px 22px; display: flex; gap: 12px; }
.wsttm_modal-footer .wsttm_btn { flex: 1; }

.wsttm_cart-sidebar { position: fixed; top: 0; right: -450px; width: 450px; max-width: 100%; height: 100%; background: var(--wsttm_card); z-index: 1002; transition: right .4s cubic-bezier(.4,0,.2,1); box-shadow: -5px 0 25px rgba(0,0,0,.15); display: flex; flex-direction: column; }
.wsttm_cart-sidebar.wsttm_active { right: 0; }
.wsttm_cart-header { background: var(--wsttm_forest); color: #fff; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; }
.wsttm_cart-items { flex: 1; overflow-y: auto; padding: 18px; }
.wsttm_cart-item { display: flex; gap: 14px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--wsttm_border); }
.wsttm_cart-item-img { width: 76px; height: 76px; border-radius: 8px; overflow: hidden; }
.wsttm_cart-item-title { font-weight: 600; color: var(--wsttm_ink); margin-bottom: 4px; }
.wsttm_cart-item-price { color: var(--wsttm_clay); font-weight: 700; margin-bottom: 8px; }
.wsttm_cart-footer { padding: 18px; border-top: 2px solid var(--wsttm_border); background: var(--wsttm_paper-2); }
.wsttm_cart-total { display: flex; justify-content: space-between; font-size: 17px; font-weight: 700; margin-bottom: 18px; }
.wsttm_empty-cart { text-align: center; padding: 50px 20px; color: var(--wsttm_ink-light); }
.wsttm_empty-cart i { font-size: 44px; margin-bottom: 14px; display: block; opacity: .5; }

@media (max-width: 768px) { .wsttm_cart-sidebar { width: 100%; right: -100%; } }

/* ==================== 22. TÌM KIẾM MOBILE OVERLAY ==================== */
#wsttm_mobile-search-overlay {
    position: fixed; inset: 0; background: var(--wsttm_card); z-index: 1100; visibility: hidden; opacity: 0;
    transition: visibility .3s, opacity .3s; display: flex; flex-direction: column; padding: 20px;
}
#wsttm_mobile-search-overlay.wsttm_active { visibility: visible; opacity: 1; }
.wsttm_mobile-search-header { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.wsttm_close-search { font-size: 26px; cursor: pointer; color: var(--wsttm_ink); }
.wsttm_mobile-search-form { display: flex; align-items: center; background: var(--wsttm_paper-2); border-radius: 40px; border: 1px solid var(--wsttm_border); margin-bottom: 26px; }
.wsttm_mobile-search-input { flex: 1; padding: 10px 20px; font-size: 16px; background: transparent; border: none; color: var(--wsttm_ink); outline: none; }
.wsttm_mobile-search-btn { background: var(--wsttm_clay); border: none; width: 52px; color: #fff; cursor: pointer; font-size: 18px; height: 100%; border-radius: 0 40px 40px 0; }
.wsttm_popular-title { font-size: 15px; font-weight: 700; color: var(--wsttm_ink); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.wsttm_popular-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.wsttm_popular-tag { background: var(--wsttm_paper-2); padding: 7px 15px; border-radius: 40px; font-size: 13px; color: var(--wsttm_forest); cursor: pointer; border: 1px solid var(--wsttm_border); }
.wsttm_popular-tag:hover { background: var(--wsttm_forest); color: #fff; }
.wsttm_mobile-search-results { margin-top: 18px; max-height: 300px; overflow-y: auto; background: var(--wsttm_card); border-radius: 12px; box-shadow: var(--wsttm_shadow); display: none; }

.wsttm_mobile-search-icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--wsttm_gold);
    cursor: pointer;
    font-size: 18px;
}
/* CẬP NHẬT: icon tìm kiếm mobile hiện/ẩn đồng bộ với breakpoint chuyển
   menu PC <-> mobile (1000px thay vì 768px trước đây). */
@media (max-width: 1000px) { .wsttm_mobile-search-icon { display: flex !important; } }
@media (min-width: 1001px) { .wsttm_mobile-search-icon { display: none !important; } }

/* ==================== 23. TOAST ==================== */
.wsttm_toast {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--wsttm_forest);
    color: #fff; padding: 12px 24px; border-radius: 30px; box-shadow: var(--wsttm_shadow-lg); display: flex;
    align-items: center; gap: 12px; font-size: 14px; transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .4s;
    opacity: 0; z-index: 9999; pointer-events: none;
}
.wsttm_toast.wsttm_show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ==================== 24. TRANG SẢN PHẨM CHI TIẾT ==================== */
.wsttm_product-detail { padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.wsttm_main-image { width: 100%; border-radius: var(--wsttm_radius); overflow: hidden; margin-bottom: 14px; cursor: zoom-in; }
.wsttm_main-image img { width: 100%; transition: .3s; }
.wsttm_main-image:hover img { transform: scale(1.05); }
.wsttm_thumb-list { display: flex; gap: 10px; flex-wrap: wrap; }
.wsttm_thumb-item { width: 78px; height: 78px; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; }
.wsttm_thumb-item.wsttm_active { border-color: var(--wsttm_clay); }
.wsttm_thumb-item img { width: 100%; height: 100%; object-fit: cover; }

.wsttm_pd-title { font-family: var(--wsttm_font-heading); font-size: 30px; color: var(--wsttm_forest); margin-bottom: 6px; }
.wsttm_pd-category-link { display: inline-block; margin-bottom: 8px; font-size: 13px; color: var(--wsttm_forest); background: var(--wsttm_paper-2); border-radius: 25px; padding: 5px 15px; }
.wsttm_pd-price { font-size: 26px; font-weight: 700; color: var(--wsttm_clay); margin-bottom: 6px; }
.wsttm_pd-rrp { font-size: 16px; color: var(--wsttm_ink-light); text-decoration: line-through; margin-bottom: 14px; }
.wsttm_pd-stock { margin-bottom: 18px; font-weight: 600; }
.wsttm_pd-stock.wsttm_in-stock { color: var(--wsttm_forest-light); }
.wsttm_pd-stock.wsttm_out-of-stock { color: #c0392b; }
.wsttm_pd-desc { margin-bottom: 26px; color: var(--wsttm_ink-light); line-height: 1.8; }
.wsttm_pd-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.wsttm_qty-selector { display: flex; align-items: center; background: var(--wsttm_paper-2); width: 100px; }
.wsttm_qty-selector button { width: 40px; height: 40px; background: var(--wsttm_paper-2); border: 1px solid var(--wsttm_border); cursor: pointer; font-size: 18px; }
.wsttm_qty-selector button:hover { background: var(--wsttm_forest); color: #fff; }
.wsttm_qty-selector span { min-width: 40px; text-align: center; font-weight: 700; }

@media (max-width: 1024px) { .wsttm_product-detail { grid-template-columns: 1fr; } }

/* ==================== 25. GENERAL RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .wsttm_category-grid, .wsttm_products-grid, .wsttm_remedy-grid, .wsttm_blog-grid, .wsttm_benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wsttm_footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .wsttm_category-grid, .wsttm_products-grid, .wsttm_remedy-grid, .wsttm_blog-grid, .wsttm_benefits-grid {
        grid-template-columns: repeat(2, 1fr); gap: 12px;
    }
    .wsttm_footer-grid { grid-template-columns: 1fr; }
    .wsttm_pd-actions { flex-direction: column; }
    .wsttm_toast { bottom: 80px; right: 20px; left: 20px; justify-content: center; }
}

/* CẬP NHẬT: bỏ rule cũ ép header-search wrap/order tại 768px (đã ẩn hẳn
   dưới 1000px nên không còn ý nghĩa). Chỉ giữ 1 lớp phòng hờ chống vỡ
   layout header ở màn cực nhỏ. */
@media (max-width: 480px) {
    .wsttm_header-inner { flex-wrap: wrap; row-gap: 8px; }
}

/* ==================== 26. POPUP LIÊN HỆ / ĐĂNG KÝ TƯ VẤN ==================== */
.wsttm_contact-overlay {
    position: fixed; inset: 0; background: rgba(15,28,19,.78); backdrop-filter: blur(4px);
    z-index: 9998; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s ease;
}
.wsttm_contact-overlay.wsttm_active { opacity: 1; visibility: visible; }

.wsttm_contact-popup {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(.95);
    width: 95%; max-width: 540px; z-index: 9999; opacity: 0; visibility: hidden;
    transition: opacity .4s cubic-bezier(.2,.9,.4,1.1), transform .4s cubic-bezier(.2,.9,.4,1.1), visibility .4s;
}
.wsttm_contact-popup.wsttm_active { opacity: 1; visibility: visible; transform: translate(-50%,-50%) scale(1); }

.wsttm_contact-popup-inner {
    padding: 5px; background: linear-gradient(135deg, var(--wsttm_forest), var(--wsttm_forest-light));
    border-radius: 20px; box-shadow: 0 25px 50px -12px rgba(0,0,0,.5);
}
.wsttm_contact-popup-box { background: var(--wsttm_card); border-radius: 16px; padding: 32px 26px; position: relative; }
.wsttm_contact-popup-close {
    position: absolute; top: -12px; right: -12px; width: 36px; height: 36px; background: var(--wsttm_white);
    border: none; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--wsttm_ink); cursor: pointer;
    box-shadow: var(--wsttm_shadow-lg); transition: .2s;
}
.wsttm_contact-popup-close:hover { background: var(--wsttm_clay); color: #fff; transform: rotate(90deg); }
.wsttm_contact-popup-eyebrow { text-align: center; font-size: 13px; letter-spacing: 2px; color: var(--wsttm_clay); font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.wsttm_contact-popup-title { text-align: center; font-family: var(--wsttm_font-heading); font-size: 24px; color: var(--wsttm_forest); font-weight: 800; }
.wsttm_contact-popup-line { width: 60px; height: 4px; background: linear-gradient(90deg, var(--wsttm_clay), var(--wsttm_gold)); border-radius: 4px; margin: 14px auto 24px; }

.wsttm_contact-popup-box ul { margin-top: 22px; padding-left: 0; }
.wsttm_contact-popup-box ul li { list-style: none; margin-bottom: 8px; font-size: 13.5px; position: relative; padding-left: 22px; color: var(--wsttm_ink-light); }
.wsttm_contact-popup-box ul li:before { content: '\2713'; position: absolute; left: 0; color: var(--wsttm_forest); font-weight: 700; }

/* ==================== 27. FORM LIÊN HỆ / ĐĂNG KÝ (dùng chung) ==================== */
.wsttm_form input, .wsttm_form textarea, .wsttm_form select {
    width: 100%; padding: 11px 0; margin-bottom: 16px; border: none; border-bottom: 1px solid var(--wsttm_border-dark);
    background: transparent; font-family: var(--wsttm_font-body); font-size: 14px; color: var(--wsttm_ink); transition: border .2s;
}
.wsttm_form input:focus, .wsttm_form textarea:focus, .wsttm_form select:focus { border-bottom-color: var(--wsttm_clay); outline: none; }
.wsttm_form textarea { resize: vertical; min-height: 90px; }
.wsttm_form button[type="submit"], .wsttm_form .wsttm_btn-submit {
    width: 100%; padding: 13px; background: linear-gradient(120deg, var(--wsttm_clay), var(--wsttm_clay-dark));
    border: none; border-radius: 40px; color: #fff; font-weight: 700; font-size: 15px; cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.wsttm_form button[type="submit"]:hover, .wsttm_form .wsttm_btn-submit:hover { transform: translateY(-2px); box-shadow: var(--wsttm_shadow-lg); }
.wsttm_form-note { font-size: 12px; color: var(--wsttm_ink-light); text-align: center; margin-top: 10px; }

/* ==================== 28. RIPPLE EFFECT (dùng cho nút nổi / contact item) ==================== */
.wsttm_ripple-effect {
    position: absolute; background: rgba(255,255,255,.5); border-radius: 50%; transform: scale(0);
    animation: wsttmRippleAnim .6s linear; pointer-events: none; z-index: 2;
}
@keyframes wsttmRippleAnim { to { transform: scale(4); opacity: 0; } }

/* ==================== 29. TRANG DANH SÁCH SẢN PHẨM (category page) ==================== */
.wsttm_category-header { margin-bottom: 26px; }
.wsttm_category-header h2 {
    font-family: var(--wsttm_font-heading); font-size: 26px; color: var(--wsttm_forest);
    border-left: 4px solid var(--wsttm_clay); padding-left: 16px;
}
.wsttm_category-header p { color: var(--wsttm_ink-light); padding-left: 20px; margin-top: 4px; font-size: 13.5px; }

.wsttm_selected-categories { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.wsttm_selected-badge {
    display: inline-flex; align-items: center; gap: 6px; background: var(--wsttm_paper-2); color: var(--wsttm_forest);
    padding: 5px 12px; border-radius: 20px; font-size: 12.5px; font-weight: 600; border: 1px solid var(--wsttm_border-dark);
}
.wsttm_selected-badge .wsttm_remove { cursor: pointer; font-weight: 700; color: var(--wsttm_ink-light); transition: color .2s; }
.wsttm_selected-badge .wsttm_remove:hover { color: var(--wsttm_clay-dark); }

.wsttm_herb-count { color: var(--wsttm_ink-light); font-size: 13.5px; margin-bottom: 16px; }

.wsttm_pagination { display: flex; justify-content: center; gap: 8px; margin-top: 34px; flex-wrap: wrap; }
.wsttm_pagination button, .wsttm_pagination .wsttm_page-btn {
    min-width: 38px; height: 38px; border: 1px solid var(--wsttm_border-dark); background: var(--wsttm_card);
    border-radius: 8px; cursor: pointer; font-weight: 600; color: var(--wsttm_ink); transition: .2s;
}
.wsttm_pagination button:hover:not(.wsttm_active), .wsttm_pagination .wsttm_page-btn:hover:not(.wsttm_active) { background: var(--wsttm_paper-2); }
.wsttm_pagination button.wsttm_active, .wsttm_pagination .wsttm_page-btn.wsttm_active {
    background: var(--wsttm_forest); border-color: var(--wsttm_forest); color: #fff;
}

/* ==================== 30. TRẠNG THÁI RỖNG / LOADING (dùng chung) ==================== */
.wsttm_loading-spinner { text-align: center; padding: 60px 20px; color: var(--wsttm_ink-light); font-size: 16px; }
.wsttm_loading-spinner i { font-size: 30px; display: block; margin-bottom: 14px; color: var(--wsttm_clay); }

.wsttm_empty-state { text-align: center; padding: 60px 20px; color: var(--wsttm_ink-light); }
.wsttm_empty-state i { font-size: 46px; color: var(--wsttm_border-dark); display: block; margin-bottom: 16px; }
.wsttm_empty-state h3 { font-size: 16px; color: var(--wsttm_ink); margin-bottom: 8px; }
.wsttm_empty-state p { font-size: 13.5px; }

.wsttm_no-results { text-align: center; padding: 40px 20px; }
.wsttm_no-results h3 { font-size: 17px; color: var(--wsttm_forest); margin-bottom: 8px; }
.wsttm_no-results p { color: var(--wsttm_ink-light); }

/* ==================== 31. TRANG CHI TIẾT BÀI VIẾT (blog detail) ==================== */
.wsttm_post-layout { display: flex; gap: 40px; margin: 40px 0; align-items: flex-start; }
.wsttm_post-detail { flex: 1; min-width: 0; background: var(--wsttm_card); border-radius: var(--wsttm_radius); padding: 10px; box-shadow: var(--wsttm_shadow); }
.wsttm_post-detail h1 { font-family: var(--wsttm_font-heading); font-size: 30px; color: var(--wsttm_forest); margin-bottom: 16px; }
.wsttm_post-meta { display: flex; gap: 20px; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--wsttm_border); color: var(--wsttm_ink-light); font-size: 13.5px; }
.wsttm_post-meta i { margin-right: 5px; color: var(--wsttm_clay); }
.wsttm_post-featured-img { margin-bottom: 24px; border-radius: var(--wsttm_radius); overflow: hidden; }
.wsttm_post-content { color: var(--wsttm_ink-light); line-height: 1.85; }
.wsttm_post-content p { margin-bottom: 18px; }
.wsttm_post-content h2, .wsttm_post-content h3 { font-family: var(--wsttm_font-heading); color: var(--wsttm_forest); margin: 22px 0 12px; }
.wsttm_post-content ul, .wsttm_post-content ol { margin: 14px 0 14px 24px; }
.wsttm_post-content li { margin-bottom: 8px; }
.wsttm_post-content blockquote {
    border-left: 4px solid var(--wsttm_clay); background: var(--wsttm_paper-2); padding: 14px 18px;
    border-radius: 0 8px 8px 0; margin: 18px 0; font-style: italic; color: var(--wsttm_ink);
}

.wsttm_related-posts { margin-top: 46px; }
.wsttm_related-posts-title { font-family: var(--wsttm_font-heading); font-size: 22px; color: var(--wsttm_forest); margin-bottom: 22px; padding-bottom: 10px; border-bottom: 2px solid var(--wsttm_clay); }
.wsttm_related-posts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.wsttm_related-post-card { background: var(--wsttm_card); border-radius: var(--wsttm_radius); overflow: hidden; box-shadow: var(--wsttm_shadow); transition: .3s; }
.wsttm_related-post-card:hover { transform: translateY(-4px); }
.wsttm_related-post-img { height: 140px; overflow: hidden; }
.wsttm_related-post-img img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.wsttm_related-post-card:hover .wsttm_related-post-img img { transform: scale(1.06); }
.wsttm_related-post-info { padding: 12px; }
.wsttm_related-post-info h4 { font-size: 13.5px; font-weight: 700; color: var(--wsttm_ink); line-height: 1.4; margin-bottom: 6px; }
.wsttm_related-post-info .wsttm_date { font-size: 11px; color: var(--wsttm_ink-light); }

@media (max-width: 1024px) { .wsttm_related-posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .wsttm_post-layout { flex-direction: column; }
    .wsttm_post-detail { padding: 20px; }
    .wsttm_post-detail h1 { font-size: 24px; }
    .wsttm_related-posts-grid { grid-template-columns: 1fr; }
}

/* ==================== 32. ĐÁNH GIÁ SẢN PHẨM (reviews) ==================== */
.wsttm_reviews-section { margin: 40px 0 60px; background: var(--wsttm_card); padding: 28px; border-radius: var(--wsttm_radius); box-shadow: var(--wsttm_shadow); }
.wsttm_reviews-title { font-family: var(--wsttm_font-heading); font-size: 22px; color: var(--wsttm_forest); margin-bottom: 20px; display: flex; align-items: center; gap: 14px; }
.wsttm_reviews-title .wsttm_stars { font-size: 20px; }
.wsttm_review-item { border-bottom: 1px solid var(--wsttm_border); padding: 18px 0; }
.wsttm_review-item:last-child { border-bottom: none; }
.wsttm_review-header { display: flex; justify-content: space-between; margin-bottom: 6px; flex-wrap: wrap; gap: 6px; }
.wsttm_review-author { font-weight: 700; color: var(--wsttm_ink); }
.wsttm_review-date { color: var(--wsttm_ink-light); font-size: 13px; }
.wsttm_review-rating { color: var(--wsttm_star); }
.wsttm_review-content { color: var(--wsttm_ink-light); line-height: 1.7; }
.wsttm_no-reviews { color: var(--wsttm_ink-light); text-align: center; padding: 20px; }

.wsttm_review-form { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--wsttm_border); }
.wsttm_review-form-title { font-size: 16px; font-weight: 700; color: var(--wsttm_forest); margin-bottom: 14px; }
.wsttm_star-input { display: flex; gap: 6px; margin-bottom: 16px; font-size: 22px; color: var(--wsttm_border-dark); }
.wsttm_star-input i { cursor: pointer; transition: color .15s; }
.wsttm_star-input i.wsttm_active { color: var(--wsttm_star); }

/* ==================== 33. FAQ / ACCORDION (câu hỏi thường gặp bài thuốc) ==================== */
.wsttm_faq-list { max-width: 820px; margin: 0 auto; }
.wsttm_faq-item { background: var(--wsttm_card); border: 1px solid var(--wsttm_border); border-radius: var(--wsttm_radius); margin-bottom: 12px; overflow: hidden; }
.wsttm_faq-question {
    display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; cursor: pointer;
    font-weight: 600; color: var(--wsttm_forest); font-size: 14.5px;
}
.wsttm_faq-question i { transition: transform .3s; color: var(--wsttm_clay); }
.wsttm_faq-item.wsttm_active .wsttm_faq-question i { transform: rotate(180deg); }
.wsttm_faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 20px; color: var(--wsttm_ink-light); font-size: 13.5px; line-height: 1.7; }
.wsttm_faq-item.wsttm_active .wsttm_faq-answer { max-height: 400px; padding: 0 20px 18px; }

/* ==================== 34. TIỆN ÍCH DÙNG CHUNG (utility) ==================== */
.wsttm_text-center { text-align: center; }
.wsttm_mt-0 { margin-top: 0 !important; }
.wsttm_mb-0 { margin-bottom: 0 !important; }
.wsttm_mt-20 { margin-top: 20px; }
.wsttm_mb-20 { margin-bottom: 20px; }
.wsttm_visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@media (max-width: 768px) {
    .wsttm_post-content h2, .wsttm_post-content h3 { font-size: 18px; }
    .wsttm_reviews-section { padding: 18px; }
}

/* Page products -- product category -----------*/

/* ==================== 35. LAYOUT TRANG DANH SÁCH THẢO MỘC ==================== */
.wsttm_herbs-page {
    background: var(--wsttm_paper);
    padding: 30px 0 60px;
    position: relative;
    font-family: var(--wsttm_font-body);
    color: var(--wsttm_ink);
}

.wsttm_back-nav { margin-bottom: 18px; }
.wsttm_back-link {
    display: inline-flex; align-items: center; gap: 8px; color: var(--wsttm_forest);
    font-weight: 600; font-size: 13.5px; padding: 8px 16px; border: 1px solid var(--wsttm_border-dark);
    border-radius: 30px; background: var(--wsttm_card); text-decoration: none; transition: var(--wsttm_transition);
}
.wsttm_back-link svg { stroke: currentColor; }
.wsttm_back-link:hover { background: var(--wsttm_forest); color: #fff; border-color: var(--wsttm_forest); }

.wsttm_main-content { flex: 1; min-width: 0; }

.wsttm_cat-children { padding-left: 16px; margin-top: 4px; border-left: 2px solid var(--wsttm_border); list-style: none; }

/* Ghi chú: bộ lọc khoảng giá (price-range-slider) của bản gốc đã bị loại bỏ
   hoàn toàn — trang thảo mộc không có giá, không lọc theo giá. */

.wsttm_empty-recent { text-align: center; padding: 24px 10px; color: var(--wsttm_ink-light); font-size: 13px; }

.wsttm_herbs-container { min-height: 200px; }

.wsttm_page-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ==================== 36. TRANG CHI TIẾT THẢO MỘC — BỔ SUNG ==================== */
.wsttm_herb-page {
    background: var(--wsttm_paper);
    padding: 30px 0 60px;
}

.wsttm_herb-info-detail {
    display: flex;
    flex-direction: column;
    padding-top: 4px;
}

.wsttm_herb-info-detail h1 {
    font-family: var(--wsttm_font-heading);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--wsttm_forest);
    margin: 10px 0 12px;
}

.wsttm_herb-category-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--wsttm_forest);
    background: var(--wsttm_paper-2);
    border: 1px solid var(--wsttm_border-dark);
    border-radius: 25px;
    padding: 5px 14px;
}
.wsttm_herb-category-link:hover {
    background: var(--wsttm_forest);
    border-color: var(--wsttm_forest);
    color: #fff;
}
.wsttm_herb-category-link i { color: var(--wsttm_clay); font-size: 11px; }
.wsttm_herb-category-link:hover i { color: var(--wsttm_gold); }

.wsttm_herb-description {
    color: var(--wsttm_ink-light);
    line-height: 1.85;
    font-size: 14.5px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px dashed var(--wsttm_border-dark);
}

.wsttm_herb-actions-detail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

/* Ghi chú: bộ chọn số lượng, giá, giá gốc, nút "Mua ngay" và trạng thái
   tồn kho của bản gốc đã bị loại bỏ hoàn toàn — trang thảo mộc không
   bán hàng, chỉ còn nút "Lưu vào yêu thích". */

.wsttm_wishlist-btn-detail {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 18px; border-radius: 30px; border: 2px solid var(--wsttm_border-dark);
    background: var(--wsttm_card); color: var(--wsttm_ink-light); font-weight: 600; font-size: 13.5px;
    cursor: pointer; transition: var(--wsttm_transition);
}
.wsttm_wishlist-btn-detail i { font-size: 15px; }
.wsttm_wishlist-btn-detail:hover { border-color: var(--wsttm_clay); color: var(--wsttm_clay); }
.wsttm_wishlist-btn-detail.wsttm_active { border-color: var(--wsttm_clay); background: var(--wsttm_paper-2); color: var(--wsttm_clay); }
.wsttm_wishlist-btn-detail.wsttm_active i { color: var(--wsttm_clay); }

.wsttm_herb-full-desc {
    color: var(--wsttm_ink-light);
    line-height: 1.85;
    margin: 34px 0;
}
.wsttm_herb-full-desc img {
    border-radius: var(--wsttm_radius);
    margin: 14px 0;
    box-shadow: var(--wsttm_shadow);
}

/* Widget bình luận (comments.js) — thay cho widget đánh giá sao (reviews.js)
   vốn gắn với sản phẩm, không còn dùng trên trang thảo mộc. */
.cs-comments { margin: 40px 0 60px; display: block; }

.wsttm_related-section {
    margin: 50px 0 20px;
    padding-top: 40px;
    border-top: 1px solid var(--wsttm_border);
}
.wsttm_related-title {
    font-family: var(--wsttm_font-heading); font-size: 22px; font-weight: 700; color: var(--wsttm_forest);
    margin-bottom: 22px; padding-bottom: 12px; border-bottom: 2px solid var(--wsttm_clay); width: fit-content;
}
.wsttm_related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.wsttm_wishlist-btn-img {
    position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,.92); border: none; border-radius: 50%;
    width: 34px; height: 34px; font-size: 16px; color: #b8b8a8; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: var(--wsttm_transition);
}
.wsttm_wishlist-btn-img:hover { transform: scale(1.1); color: var(--wsttm_clay); }
.wsttm_wishlist-btn-img.wsttm_active { color: var(--wsttm_clay); }

@media (max-width: 1200px) { .wsttm_related-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1024px) {
    .wsttm_related-grid { grid-template-columns: repeat(2, 1fr); }
    .wsttm_herb-info-detail h1 { font-size: 24px; }
}
@media (max-width: 768px) {
    .wsttm_herb-page { padding: 18px 0 40px; }
    .wsttm_herb-actions-detail { flex-direction: column; align-items: stretch; }
    .wsttm_related-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) { .wsttm_related-grid { grid-template-columns: 1fr 1fr; } }

/* ==================== 37. TRANG DANH SÁCH BÀI VIẾT — BỔ SUNG ==================== */
.wsttm_blogs-page {
    background: var(--wsttm_paper);
    padding: 30px 0 60px;
    position: relative;
    font-family: var(--wsttm_font-body);
    color: var(--wsttm_ink);
}

.wsttm_category-link {
    display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px;
    color: var(--wsttm_ink); text-decoration: none; font-size: 14px; font-weight: 500;
    transition: var(--wsttm_transition); margin-bottom: 2px;
}
.wsttm_category-link:hover { background: var(--wsttm_paper-2); color: var(--wsttm_forest); padding-left: 16px; }
.wsttm_category-link.wsttm_active { background: var(--wsttm_forest); color: #fff; }

.wsttm_blogs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

@media (max-width: 1200px) { .wsttm_blogs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .wsttm_blogs-grid { grid-template-columns: 1fr; } }

/* ==================== 38. TRANG CHI TIẾT BÀI VIẾT — KHUNG BỌC (blog.php) ==================== */
.wsttm_blog-page {
    background: var(--wsttm_paper);
    padding: 30px 0 60px;
    position: relative;
    font-family: var(--wsttm_font-body);
    color: var(--wsttm_ink);
}

/* Ảnh đại diện bài viết bên trong .wsttm_post-featured-img */
.wsttm_post-featured-img img { width: 100%; display: block; }

/* Bài viết liên quan (blog.php) dùng lại đúng 4 class đã có ở mục 31:
   .wsttm_related-posts, .wsttm_related-posts-title, .wsttm_related-posts-grid,
   .wsttm_related-post-card, .wsttm_related-post-img, .wsttm_related-post-info,
   .wsttm_related-post-info .wsttm_date — không cần định nghĩa lại. */

@media (max-width: 768px) {
    .wsttm_blog-page { padding: 18px 0 40px; }
}

/* ==================== 39. SIDEBAR DANH MỤC PHÂN CẤP (blog) ==================== */
.wsttm_cat-tree { padding: 10px 12px 16px; }

.wsttm_cat-root {
    display: block;
    padding: 10px 8px;
    border-radius: 8px;
    font-weight: 700;
    color: var(--wsttm_forest);
    margin-bottom: 6px;
    border-bottom: 1px dashed var(--wsttm_border-dark);
}
.wsttm_cat-root:hover { background: var(--wsttm_paper-2); }
.wsttm_cat-root.wsttm_active { background: var(--wsttm_forest); color: #fff; border-bottom-color: transparent; }

.wsttm_cat-group-list { list-style: none; margin: 0; padding: 0; }
.wsttm_cat-group-list.wsttm_cat-level-1 { max-height: none !important; overflow: visible; }
.wsttm_cat-group-list:not(.wsttm_cat-level-1) {
    max-height: 0;
    overflow: hidden;
    padding-left: 14px;
    margin-left: 10px;
    border-left: 1px dashed var(--wsttm_border-dark);
    transition: max-height .35s ease;
}
.wsttm_cat-node.wsttm_active > .wsttm_cat-group-list { max-height: 2000px; }

.wsttm_cat-node { margin-bottom: 2px; }
.wsttm_cat-row { display: flex; align-items: center; gap: 4px; }

.wsttm_cat-row .wsttm_category-link {
    flex: 1; display: block; padding: 8px 8px; border-radius: 8px;
    color: var(--wsttm_ink); font-size: 13.5px; font-weight: 500;
    transition: var(--wsttm_transition);
}

.wsttm_cat-row .wsttm_category-link:hover { background: var(--wsttm_paper-2); color: var(--wsttm_forest); padding-left: 14px; }
.wsttm_cat-row .wsttm_category-link.wsttm_active { background: var(--wsttm_forest); color: #fff; }

.wsttm_cat-toggle {
    flex: 0 0 auto; width: 28px; height: 28px; border: none; background: transparent;
    color: var(--wsttm_ink-light); border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: var(--wsttm_transition);
}
.wsttm_cat-toggle:hover { background: var(--wsttm_paper-2); color: var(--wsttm_clay); }
.wsttm_cat-toggle i { font-size: 11px; transition: transform .3s ease; }
.wsttm_cat-node.wsttm_active > .wsttm_cat-row .wsttm_cat-toggle i { transform: rotate(180deg); color: var(--wsttm_clay); }

/* ==================== 40. NÚT TOGGLE SIDEBAR MOBILE — GẮN GÓC PHẢI-TRÊN ==================== */
.wsttm_sidebar-toggle-btn {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0px;
    left: 0;
    z-index: 1004;
    width: 46px;
    height: 46px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0px 10px 0px 0px;
    background: var(--wsttm_forest);
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    box-shadow: var(--wsttm_shadow-lg);
    transition: left .35s cubic-bezier(.4, 0, .2, 1), top .35s ease, border-radius .35s ease, background .3s ease, transform .35s cubic-bezier(.4, 0, .2, 1);
}
.wsttm_sidebar-toggle-btn span { display: none; }
.wsttm_sidebar-toggle-btn:hover { background: var(--wsttm_forest-2); }

.wsttm_sidebar-toggle-btn i { position: relative; transition: transform .3s ease, opacity .3s ease; }

.wsttm_sidebar-toggle-btn.wsttm_active {
    left: min(332px, 100vw);
    top: 0px;
    transform: translateX(-100%);
    border-radius: 50%;
    background: var(--wsttm_clay);
    width: 26px;
    height: 26px;
}
.wsttm_sidebar-toggle-btn.wsttm_active:hover { background: var(--wsttm_clay-dark); }
.wsttm_sidebar-toggle-btn.wsttm_active i {
    transform: rotate(90deg);
    opacity: 0;
}
.wsttm_sidebar-toggle-btn.wsttm_active::before {
    content: '\f00d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    animation: wsttmFadeIn .3s ease;
}

@media (max-width: 991px) {
    .wsttm_sidebar-toggle-btn { display: flex; }
}

/* ==================== 41. TRANG THẢO MỘC — BỔ SUNG (herbs.php / herb.php) ==================== */
.wsttm_herb-sci-name {
    font-size: 12px;
    font-style: italic;
    color: var(--wsttm_ink-light);
    margin-top: 2px;
}
.wsttm_herb-sci-name--lg {
    font-size: 16px;
    margin-bottom: 10px;
}
.wsttm_herb-common-names {
    font-size: 13px;
    color: var(--wsttm_ink-light);
    margin-bottom: 14px;
}

.wsttm_herb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.wsttm_herb-tags .wsttm_tag i { margin-right: 4px; color: var(--wsttm_clay); }

.wsttm_herb-block { margin-bottom: 28px; }
.wsttm_herb-block h4 {
    font-family: var(--wsttm_font-heading);
    font-size: 17px;
    color: var(--wsttm_forest);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.wsttm_herb-block h4 i { color: var(--wsttm_clay); }
.wsttm_herb-block div,
.wsttm_herb-block p {
    color: var(--wsttm_ink-light);
    line-height: 1.85;
}
.wsttm_herb-block p + p { margin-top: 6px; }

/* ==================== 42. THẺ THẢO MỘC & LƯỚI (herbs.php / herb.php liên quan) ==================== */
.wsttm_herbs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.wsttm_herb-card {
    background: var(--wsttm_card); border-radius: var(--wsttm_radius); overflow: hidden;
    box-shadow: var(--wsttm_shadow); transition: var(--wsttm_transition); border: 1px solid var(--wsttm_border);
}
.wsttm_herb-card:hover { transform: translateY(-5px); box-shadow: var(--wsttm_shadow-lg); }

.wsttm_herb-image { position: relative; overflow: hidden; aspect-ratio: 1/1; }
.wsttm_herb-image img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.wsttm_herb-card:hover .wsttm_herb-image img { transform: scale(1.06); }

.wsttm_herb-info { padding: 14px; }
.wsttm_herb-title {
    font-size: 14px; font-weight: 600; margin-bottom: 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.wsttm_herb-title a { color: var(--wsttm_ink); }
.wsttm_herb-title a:hover { color: var(--wsttm_clay); }

.wsttm_herb-actions { display: flex; gap: 8px; }
.wsttm_herb-view-btn {
    flex: 1; text-align: center; padding: 9px 0; border: none; border-radius: 8px;
    font-weight: 600; font-size: 12.5px; cursor: pointer; transition: .3s;
    background: var(--wsttm_forest); color: #fff; text-decoration: none; display: inline-block;
}
.wsttm_herb-view-btn:hover { background: var(--wsttm_forest-2); color: #fff; }

@media (max-width: 1024px) { .wsttm_herbs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .wsttm_herbs-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ==================== 43. GALLERY & DISCLAIMER (herb-detail.php) ==================== */
/* Bổ sung CSS còn thiếu từ trước (chưa từng được định nghĩa dù đã dùng nhiều lần) */

.wsttm_herb-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-bottom: 20px; }
@media (max-width: 1024px) { .wsttm_herb-detail { grid-template-columns: 1fr; } }

.wsttm_herb-page-gallery { }
.wsttm_herb-page-main-swiper {
    border-radius: var(--wsttm_radius); overflow: hidden; margin-bottom: 14px; background: var(--wsttm_paper-2);
}
.wsttm_herb-page-main-swiper .swiper-slide img { width: 100%; height: 420px; object-fit: cover; display: block; }
.wsttm_herb-page-main-swiper .swiper-button-next,
.wsttm_herb-page-main-swiper .swiper-button-prev {
    background: rgba(0,0,0,.4); width: 38px; height: 38px; border-radius: 50%; color: #fff;
}
.wsttm_herb-page-main-swiper .swiper-button-next:after,
.wsttm_herb-page-main-swiper .swiper-button-prev:after { font-size: 16px; }
.wsttm_herb-page-main-swiper .swiper-pagination-bullet-active { background: var(--wsttm_gold); }

.wsttm_herb-page-thumb-swiper .swiper-slide {
    width: 74px !important; height: 74px; border-radius: 8px; overflow: hidden; cursor: pointer;
    opacity: .6; border: 2px solid transparent; transition: var(--wsttm_transition);
}
.wsttm_herb-page-thumb-swiper .swiper-slide-thumb-active,
.wsttm_herb-page-thumb-swiper .swiper-slide:hover { opacity: 1; border-color: var(--wsttm_clay); }
.wsttm_herb-page-thumb-swiper img { width: 100%; height: 100%; object-fit: cover; }

.wsttm_disclaimer {
    background: var(--wsttm_paper-2); border-left: 4px solid var(--wsttm_gold);
    padding: 12px 16px; border-radius: 0 8px 8px 0; font-size: 13px; color: var(--wsttm_ink-light);
    display: flex; gap: 10px; align-items: flex-start; margin-top: 16px;
}
.wsttm_disclaimer i { color: var(--wsttm_clay); margin-top: 2px; }

@media (max-width: 768px) {
    .wsttm_herb-page-main-swiper .swiper-slide img { height: 260px; }
}

/* ==================== 44. POPUP ĐIỀU KHOẢN & MIỄN TRỪ TRÁCH NHIỆM ==================== */
.wsttm_terms-overlay {
    position: fixed; inset: 0; z-index: 99999;
    background: rgba(15, 28, 19, .82);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center; padding: 20px;
    opacity: 0; visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}
.wsttm_terms-overlay.wsttm_active { opacity: 1; visibility: visible; }

.wsttm_terms-popup { width: 100%; max-width: 620px; max-height: 90vh; }

.wsttm_terms-inner {
    padding: 4px;
    background: linear-gradient(135deg, var(--wsttm_forest), var(--wsttm_forest-light));
    border-radius: 20px;
    box-shadow: 0 25px 60px -12px rgba(0,0,0,.5);
}

.wsttm_terms-box {
    background: var(--wsttm_card);
    border-radius: 16px;
    padding: 28px 26px 24px;
    max-height: calc(90vh - 8px);
    display: flex;
    flex-direction: column;
}

.wsttm_terms-header { text-align: center; margin-bottom: 14px; flex-shrink: 0; }
.wsttm_terms-eyebrow {
    display: inline-block; font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--wsttm_clay); font-weight: 700; margin-bottom: 6px;
}
.wsttm_terms-header h3 { font-family: var(--wsttm_font-heading); font-size: 20px; color: var(--wsttm_forest); }
.wsttm_terms-line {
    width: 50px; height: 3px; background: linear-gradient(90deg, var(--wsttm_clay), var(--wsttm_gold));
    border-radius: 3px; margin: 10px auto 0;
}

.wsttm_terms-body { overflow-y: auto; flex: 1; padding-right: 6px; margin-bottom: 16px; }
.wsttm_terms-body::-webkit-scrollbar { width: 6px; }
.wsttm_terms-body::-webkit-scrollbar-thumb { background: var(--wsttm_border-dark); border-radius: 6px; }

.wsttm_terms-item { display: flex; gap: 12px; margin-bottom: 16px; }
.wsttm_terms-item:last-child { margin-bottom: 0; }
.wsttm_terms-item i {
    flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
    background: var(--wsttm_paper-2); color: var(--wsttm_clay);
    display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.wsttm_terms-item h4 { font-size: 14px; color: var(--wsttm_forest); margin-bottom: 4px; }
.wsttm_terms-item p { font-size: 13px; color: var(--wsttm_ink-light); line-height: 1.7; }

.wsttm_terms-checkbox {
    display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px;
    background: var(--wsttm_paper-2); border-radius: 10px; cursor: pointer;
    margin-bottom: 14px; flex-shrink: 0;
}
.wsttm_terms-checkbox input {
    margin-top: 3px; width: 16px; height: 16px; accent-color: var(--wsttm_forest);
    cursor: pointer; flex-shrink: 0;
}
.wsttm_terms-checkbox span { font-size: 13px; color: var(--wsttm_ink); font-weight: 600; }

.wsttm_terms-actions { display: flex; gap: 10px; flex-shrink: 0; }
.wsttm_terms-actions .wsttm_btn { flex: 1; }
.wsttm_terms-actions .wsttm_btn:disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }

@media (max-width: 600px) {
    .wsttm_terms-box { padding: 22px 18px 18px; }
    .wsttm_terms-actions { flex-direction: column; }
}

/* ==================== 45. FORM ĐĂNG KÝ BẢN TIN (footer newsletter) ==================== */
/* Ghi chú: các class trong khối form này (contact-form-order, footer-title,
   form-element, btn-submit, errors, py-1, mt-1, required, wf-pulse) không
   dùng tiền tố wsttm_ — giữ nguyên đúng theo markup được cung cấp. */

.contact-form-order { color: #fff; }

/* ---- Tiêu đề, chấm nhấp nháy ---- */
.footer-title {
    font-family: var(--wsttm_font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 9px;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 18px;
}
.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 2px;
    background: var(--wsttm_gold);
}

.wf-pulse {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--wsttm_gold);
    flex-shrink: 0;
    position: relative;
}
.wf-pulse:before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--wsttm_gold);
    opacity: .55;
    animation: wfPulseRing 1.8s ease-out infinite;
}
@keyframes wfPulseRing {
    0%   { transform: scale(.6); opacity: .6; }
    70%  { transform: scale(1.9); opacity: 0; }
    100% { transform: scale(1.9); opacity: 0; }
}

/* ---- Tiện ích khoảng cách dùng trong form ---- */
.contact-form-order .py-1 { padding-top: .45rem; padding-bottom: .45rem; }
.contact-form-order .mt-1 { margin-top: .65rem; }

/* ---- Label ---- */
.contact-form-order label {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(255,255,255,.82);
    margin-bottom: 6px;
}
.contact-form-order label .required {
    color: var(--wsttm_gold);
    margin-right: 3px;
    font-weight: 700;
}

/* ---- Ô nhập liệu (icon + input) ---- */
.contact-form-order .form-element {
    position: relative;
    display: flex;
    align-items: center;
}
.contact-form-order .form-element > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12.5px;
    color: var(--wsttm_clay-dark);
    pointer-events: none;
}
.contact-form-order .form-element input[type="text"],
.contact-form-order .form-element input[type="email"] {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--wsttm_white);
    color: var(--wsttm_ink);
    font-family: var(--wsttm_font-body);
    font-size: 13.5px;
    outline: none;
    transition: var(--wsttm_transition);
}
.contact-form-order .form-element textarea {
    width: 100%;
    min-height: 92px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--wsttm_white);
    color: var(--wsttm_ink);
    font-family: var(--wsttm_font-body);
    font-size: 13.5px;
    line-height: 1.6;
    resize: vertical;
    outline: none;
    transition: var(--wsttm_transition);
}
.contact-form-order .form-element input::placeholder,
.contact-form-order .form-element textarea::placeholder {
    color: var(--wsttm_ink-light);
    opacity: .8;
}
.contact-form-order .form-element input:focus,
.contact-form-order .form-element textarea:focus {
    border-color: var(--wsttm_gold);
    box-shadow: 0 0 0 3px rgba(166, 124, 61, .28);
}
.contact-form-order .form-element input:invalid:not(:placeholder-shown) {
    border-color: #d9534f;
}

/* ---- Nút gửi ---- */
.contact-form-order .btn-submit {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(120deg, var(--wsttm_clay), var(--wsttm_clay-dark));
    color: #fff;
    font-family: var(--wsttm_font-body);
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: .6px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-form-order .btn-submit:hover {
    background: linear-gradient(120deg, var(--wsttm_clay-dark), var(--wsttm_clay));
    transform: translateY(-2px);
    box-shadow: var(--wsttm_shadow-lg);
}
.contact-form-order .btn-submit:active { transform: translateY(0); }
.contact-form-order .btn-submit:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---- Thông báo lỗi ---- */
.contact-form-order .errors {
    font-size: 12.5px;
    color: #f2a29d;
    margin-top: 10px;
    line-height: 1.5;
}
.contact-form-order .errors:empty { display: none; }

@media (max-width: 480px) {
    .contact-form-order .form-element input,
    .contact-form-order .form-element textarea { font-size: 13px; }
}

/* ==================== 46. TRANG DANH SÁCH SITES (wsttm_sites.php) ==================== */
.wsttm_sites-page {
    background: var(--wsttm_paper);
    padding: 30px 0 60px;
    font-family: var(--wsttm_font-body);
    color: var(--wsttm_ink);
}

.wsttm_sites-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 40px; }

.wsttm_site-card {
    background: var(--wsttm_card); border-radius: var(--wsttm_radius); overflow: hidden;
    box-shadow: var(--wsttm_shadow); border: 1px solid var(--wsttm_border); transition: var(--wsttm_transition);
}
.wsttm_site-card:hover { transform: translateY(-5px); box-shadow: var(--wsttm_shadow-lg); border-color: var(--wsttm_gold); }

.wsttm_site-image { position: relative; height: 200px; overflow: hidden; }
.wsttm_site-image img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.wsttm_site-card:hover .wsttm_site-image img { transform: scale(1.06); }

.wsttm_site-content { padding: 18px; }
.wsttm_site-meta { margin-bottom: 10px; }
.wsttm_meta-date { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--wsttm_ink-light); }
.wsttm_meta-date i { color: var(--wsttm_clay); }

.wsttm_site-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.wsttm_site-title a { color: var(--wsttm_ink); }
.wsttm_site-title a:hover { color: var(--wsttm_clay); }

.wsttm_site-description {
    font-size: 13.5px; color: var(--wsttm_ink-light); line-height: 1.6; margin-bottom: 16px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* Nút prev/next dạng icon cho .wsttm_pagination (bổ sung, dùng chung với .wsttm_page-btn đã có) */
.wsttm_page-prev, .wsttm_page-next { font-size: 13px; }

@media (max-width: 1200px) { .wsttm_sites-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .wsttm_sites-grid { grid-template-columns: 1fr; } }

/* ==================== 47. TRANG TÀI KHOẢN (wsttm_myaccount.php) ==================== */
.wsttm_account-page {
    background: var(--wsttm_paper);
    padding: 40px 0 60px;
    font-family: var(--wsttm_font-body);
    color: var(--wsttm_ink);
}

/* ---- Đăng nhập / Đăng ký (dạng tab chuyển đổi, không hiện cùng lúc) ---- */
.wsttm_auth-wrapper {
    max-width: 440px; margin: 0 auto;
}
.wsttm_auth-card {
    background: var(--wsttm_card); border-radius: var(--wsttm_radius); border: 1px solid var(--wsttm_border);
    box-shadow: var(--wsttm_shadow); padding: 10px 28px 32px; overflow: hidden;
}

.wsttm_auth-tabs {
    display: flex; gap: 6px; margin: 0 -28px 26px; padding: 14px 28px 0;
    border-bottom: 1px solid var(--wsttm_border);
}
.wsttm_auth-tab {
    flex: 1; background: transparent; border: none; cursor: pointer;
    padding: 12px 8px; font-family: var(--wsttm_font-heading); font-size: 16px; font-weight: 700;
    color: var(--wsttm_ink-light); position: relative; transition: var(--wsttm_transition);
}
.wsttm_auth-tab::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
    background: var(--wsttm_clay); border-radius: 3px 3px 0 0;
    transform: scaleX(0); transition: transform .25s ease;
}
.wsttm_auth-tab:hover { color: var(--wsttm_forest); }
.wsttm_auth-tab.wsttm_active { color: var(--wsttm_forest); }
.wsttm_auth-tab.wsttm_active::after { transform: scaleX(1); }

.wsttm_auth-panel { display: none; animation: wsttmAuthFadeIn .3s ease; }
.wsttm_auth-panel.wsttm_active { display: block; }
@keyframes wsttmAuthFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.wsttm_auth-form .wsttm_form-group:last-of-type { margin-bottom: 18px; }
.wsttm_forgot-link { text-align: right; margin-top: 6px; }
.wsttm_forgot-link a { font-size: 12.5px; color: var(--wsttm_clay); }
.wsttm_forgot-link a:hover { text-decoration: underline; }

.wsttm_btn-block { width: 100%; }

/* ---- Form dùng chung (đăng nhập/đăng ký/cài đặt) ---- */
.wsttm_form-group { margin-bottom: 16px; }
.wsttm_form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--wsttm_ink); margin-bottom: 6px; }
.wsttm_form-group input[type="text"],
.wsttm_form-group input[type="email"],
.wsttm_form-group input[type="password"] {
    width: 100%; padding: 10px 14px; border: 1px solid var(--wsttm_border); border-radius: 8px;
    background: var(--wsttm_paper); color: var(--wsttm_ink); font-family: var(--wsttm_font-body);
    font-size: 13.5px; outline: none; transition: var(--wsttm_transition);
}
.wsttm_form-group input:focus { border-color: var(--wsttm_clay); box-shadow: 0 0 0 3px rgba(166,124,61,.18); }
.wsttm_form-group small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--wsttm_ink-light); }

.wsttm_error-message { color: #c0392b; font-size: 13px; margin-top: 12px; text-align: center; }
.wsttm_success-message {
    background: rgba(74,120,86,.12); color: var(--wsttm_forest-light); border: 1px solid rgba(74,120,86,.3);
    padding: 10px 16px; border-radius: 8px; font-size: 13.5px; margin-bottom: 18px;
}

/* ---- Header tài khoản ---- */
.wsttm_account-header {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
    margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--wsttm_border);
}
.wsttm_welcome-message { display: flex; align-items: center; gap: 16px; font-size: 13.5px; color: var(--wsttm_ink-light); }
.wsttm_logout-link {
    display: inline-flex; align-items: center; gap: 6px; color: var(--wsttm_clay);
    font-weight: 600; font-size: 13px;
}
.wsttm_logout-link:hover { color: var(--wsttm_clay-dark); }

/* ---- Bố cục sidebar + nội dung ---- */
.wsttm_account-grid { display: flex; gap: 34px; align-items: flex-start; }
.wsttm_account-menu { flex: 0 0 250px; min-width: 250px; }
.wsttm_account-menu-list { padding: 8px 0; }
.wsttm_account-menu-list li a {
    display: flex; align-items: center; gap: 10px; padding: 11px 16px;
    color: var(--wsttm_ink); font-size: 14px; font-weight: 500; transition: var(--wsttm_transition);
}
.wsttm_account-menu-list li a i { width: 16px; color: var(--wsttm_clay); }
.wsttm_account-menu-list li a:hover { background: var(--wsttm_paper-2); color: var(--wsttm_forest); }
.wsttm_account-menu-list li a.wsttm_active { background: var(--wsttm_forest); color: #fff; }
.wsttm_account-menu-list li a.wsttm_active i { color: var(--wsttm_gold); }

.wsttm_count-badge {
    margin-left: auto; background: var(--wsttm_paper-2); color: var(--wsttm_ink-light);
    font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 12px;
}
.wsttm_account-menu-list li a.wsttm_active .wsttm_count-badge { background: rgba(255,255,255,.2); color: #fff; }

.wsttm_account-content { flex: 1; min-width: 0; }
.wsttm_account-content-card {
    background: var(--wsttm_card); border-radius: var(--wsttm_radius); border: 1px solid var(--wsttm_border);
    box-shadow: var(--wsttm_shadow); padding: 28px;
}
.wsttm_account-content-card h2 {
    font-family: var(--wsttm_font-heading); font-size: 20px; color: var(--wsttm_forest); margin-bottom: 20px;
}

/* ---- Nút xóa yêu thích trên thẻ thảo mộc (dùng lại .wsttm_herb-actions đã có) ---- */
.wsttm_remove-wishlist-btn {
    flex: 0 0 auto; width: 38px; display: flex; align-items: center; justify-content: center;
    border-radius: 8px; background: var(--wsttm_paper-2); color: #c0392b; transition: var(--wsttm_transition);
}
.wsttm_remove-wishlist-btn:hover { background: #c0392b; color: #fff; }

@media (max-width: 991px) {
    .wsttm_account-grid { flex-direction: column; }
    .wsttm_account-menu { width: 100%; flex: 1 1 auto; min-width: 0; }
}