/* Mẫu A: Chợ nổi tươi. Xanh lá của logo + vàng nghệ cho nút mua. */
:root{--dsa-g:#4fa52a;--dsa-gd:#2b6b17;--dsa-gl:#e9f5df;--dsa-y:#f6b820;--dsa-ink:#1d2b19;--dsa-sub:#566652;--dsa-ln:#e2e8dc;--dsa-r:#e0452f}
body{font-family:'Be Vietnam Pro',system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--dsa-ink)}
h1,h2,h3,.dsa-sech h2{font-family:'Be Vietnam Pro',sans-serif}

/* ---- Header ---- */
#top-bar{background:var(--dsa-gd)!important;color:#fff}
#top-bar a,#top-bar .nav>li>a,#top-bar .html{color:#fff!important;font-size:13px}
#masthead .header-main{background:#fff!important;border-bottom:1px solid var(--dsa-ln)}
#masthead .header-bottom{background:var(--dsa-gl)!important}
#masthead .header-bottom .nav>li>a,#masthead .header-bottom-nav>li>a{font-weight:600;color:var(--dsa-ink)!important;text-transform:none;font-size:14px}
#masthead .header-bottom .nav>li.current-menu-item>a,#masthead .header-bottom .nav>li.active>a,#masthead .header-bottom .nav>li:first-child>a{background:var(--dsa-g);color:#fff!important}
#masthead .searchform .ux-search-submit,#masthead .searchform .button{background:var(--dsa-g)!important;border-color:var(--dsa-g)!important;color:#fff!important}
#masthead .searchform input[type=search]{border:2px solid var(--dsa-g);border-radius:999px 0 0 999px}
#masthead .searchform .button{border-radius:0 999px 999px 0}
.header-button .button.primary,#masthead .cart-item .button{background:var(--dsa-g)!important}

/* ---- Trang chủ ---- */
#dsa-home{max-width:1180px;margin:0 auto;padding:18px 16px 30px;font-size:15px;line-height:1.55}
#dsa-home *{box-sizing:border-box}
#dsa-home a{text-decoration:none;color:inherit}
.dsa-hero{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}
.dsa-slide{border-radius:18px;padding:40px 36px;background:linear-gradient(120deg,#25560f 0%,#3f8a22 60%,#6cb63f 100%);color:#fff;display:flex;flex-direction:column;gap:14px;justify-content:center;min-height:320px;position:relative;overflow:hidden}
.dsa-slide::after{content:"";position:absolute;right:-60px;bottom:-80px;width:300px;height:300px;border-radius:50%;background:rgba(246,184,32,.35)}
.dsa-slide>*{position:relative;z-index:1}
.dsa-kick{font-weight:700;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#ffe08a}
.dsa-slide h1{font-size:42px;line-height:1.05;margin:0;font-weight:800;text-wrap:balance;max-width:14ch;color:#fff}
.dsa-slide p{margin:0;max-width:38ch;color:#e5f3da}
.dsa-btns{display:flex;gap:10px;flex-wrap:wrap}
.dsa-btn{display:inline-block;padding:13px 22px;border-radius:999px;font-weight:700;font-size:15px}
.dsa-y{background:var(--dsa-y);color:#3a2700!important}
.dsa-o{border:2px solid #ffffffaa;color:#fff!important}
.dsa-side{display:grid;gap:16px}
.dsa-promo{border-radius:18px;padding:22px;display:flex;flex-direction:column;justify-content:flex-end;min-height:152px}
.dsa-p1{background:linear-gradient(135deg,#fde7a8,#f6b820);color:#3a2700}
.dsa-p2{background:linear-gradient(135deg,#d8eecb,#9fd37e);color:#173c0a}
.dsa-promo b{font-family:'Be Vietnam Pro',sans-serif;font-size:24px;line-height:1.1}
.dsa-promo span{font-size:13px}
.dsa-sec{padding-top:30px}
.dsa-sech{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:14px}
.dsa-sech h2{font-size:26px;margin:0;font-weight:800;text-transform:none;color:var(--dsa-ink)}
.dsa-sech a{color:var(--dsa-gd)!important;font-weight:700;font-size:14px}
.dsa-cats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.dsa-cat{border:1px solid var(--dsa-ln);border-radius:14px;padding:14px 10px;text-align:center;font-weight:600;font-size:13px;display:flex;flex-direction:column;gap:8px;align-items:center;background:#fff}
.dsa-cat img,.dsa-cat i{width:54px;height:54px;border-radius:50%;background:var(--dsa-gl);display:block;border:2px solid #cfe6c0;object-fit:cover}
.dsa-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.dsa-card{border:1px solid var(--dsa-ln);border-radius:14px;overflow:hidden;background:#fff;display:flex;flex-direction:column;min-width:0}
.dsa-ph{display:block;position:relative;aspect-ratio:1/1;overflow:hidden;background:var(--dsa-gl)}
.dsa-ph img{width:100%;height:100%;object-fit:cover;display:block}
.dsa-tag{position:absolute;top:10px;left:10px;background:var(--dsa-r);color:#fff;font-weight:700;font-size:12px;padding:3px 9px;border-radius:999px}
.dsa-bd{padding:12px;display:flex;flex-direction:column;gap:6px;flex:1}
.dsa-nm{font-weight:600;font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em}
.dsa-price{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
.dsa-price .price,.dsa-price .woocommerce-Price-amount{color:var(--dsa-r);font-size:18px;font-weight:700}
.dsa-price del,.dsa-price del .woocommerce-Price-amount{color:#8b9788;font-size:13px;font-weight:400}
.dsa-price ins{text-decoration:none}
.dsa-call{color:var(--dsa-gd);font-weight:600}
a.dsa-add,.dsa-add{margin-top:auto;border:2px solid var(--dsa-g)!important;background:#fff!important;color:var(--dsa-gd)!important;font-weight:700;text-align:center;border-radius:999px!important;padding:8px;font-size:14px;line-height:1.3;text-transform:none;display:block;min-height:0;margin-bottom:0;margin-right:0}
a.dsa-add:hover{background:var(--dsa-g)!important;color:#fff!important}
.dsa-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:30px;padding:20px;border-radius:16px;background:var(--dsa-gl)}
.dsa-trust div{font-size:13px;color:var(--dsa-sub)}
.dsa-trust b{display:block;color:var(--dsa-gd);font-size:15px}
.dsa-stories{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.dsa-st{border-radius:14px;border:1px solid var(--dsa-ln);overflow:hidden;display:flex;flex-direction:column;background:#fff;min-width:0}
.dsa-st img,.dsa-noimg{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;background:var(--dsa-gl)}
.dsa-stb{padding:12px;display:flex;flex-direction:column;gap:4px}
.dsa-stb b{font-size:15px;line-height:1.35}
.dsa-stb span{font-size:13px;color:var(--dsa-sub)}

/* ---- Thẻ sản phẩm ở trang danh mục / sản phẩm (nhất quán với trang chủ) ---- */
.product-small .box-image{border-radius:14px 14px 0 0;overflow:hidden}
.product-small .box-text .name a,.product-small .title-wrapper a{font-weight:600}
.price .amount,.product-small .price ins .amount{color:var(--dsa-r)!important}
.badge-container .badge-inner.on-sale{background:var(--dsa-r)!important;border-radius:999px;padding:0 8px}
.button.alt,.single_add_to_cart_button{background:var(--dsa-g)!important;border-radius:999px!important}
.button.alt:hover,.single_add_to_cart_button:hover{background:var(--dsa-gd)!important}

/* ---- Footer ---- */
#footer .footer-1,#footer .footer-2{background:#1f3d14!important;color:#cfe3c3}
#footer .footer-1 a,#footer .footer-2 a,#footer .widget-title,#footer .footer-1 h3{color:#fff!important}
#footer .absolute-footer{background:#162d0e!important;color:#98b58a}

/* ---- Điện thoại ---- */
@media (max-width:760px){
 #dsa-home{padding:12px 12px 24px}
 .dsa-hero{grid-template-columns:1fr}
 .dsa-slide{padding:26px 22px;min-height:260px}
 .dsa-slide h1{font-size:32px}
 .dsa-side{grid-template-columns:1fr 1fr}
 .dsa-promo{min-height:120px;padding:16px}.dsa-promo b{font-size:19px}
 .dsa-cats{grid-template-columns:repeat(4,1fr);gap:8px}
 .dsa-cat{padding:10px 4px;font-size:11px}.dsa-cat img,.dsa-cat i{width:40px;height:40px}
 .dsa-grid{grid-template-columns:repeat(2,1fr);gap:10px}
 .dsa-trust{grid-template-columns:1fr 1fr}
 .dsa-stories{grid-template-columns:1fr}
 .dsa-sec{padding-top:22px}
 .dsa-sech h2{font-size:22px}
}

/* ---- Header sáng (theo cấu trúc thật: #masthead, #wide-nav, #mega-menu-wrap) ---- */
#masthead,#masthead .header-bg-color,#masthead .header-bg-container,#masthead .header-inner{background:#fff!important;background-color:#fff!important}
#masthead,#masthead .nav>li>a,#masthead .html-content,#masthead .header-block,#masthead strong,#masthead span,#masthead a:not(.button){color:var(--dsa-ink)!important}
#masthead .nav-icon span,#masthead .nav-icon span:before,#masthead .nav-icon span:after{background:var(--dsa-ink)!important}
#wide-nav,#wide-nav .header-bg-color,#wide-nav .header-bg-container{background:var(--dsa-gl)!important;background-color:var(--dsa-gl)!important}
#wide-nav .nav>li>a{color:var(--dsa-ink)!important;font-weight:600}
#wide-nav .nav>li.current-menu-item>a,#wide-nav .nav>li.active>a,#wide-nav .nav>li:first-child>a:not(#mega-menu-title a){color:inherit}
#wide-nav .header-bottom-nav>li.menu-item-home>a,#wide-nav .header-bottom-nav>li.current-menu-item>a{background:var(--dsa-g);color:#fff!important}
#mega-menu-title{background:var(--dsa-g)!important;color:#fff!important;border-radius:0}
#mega-menu-title,#mega-menu-title *{color:#fff!important}
#mega-menu-wrap #mega_menu{display:none!important}
#mega-menu-wrap:hover #mega_menu,#mega-menu-wrap:focus-within #mega_menu{display:block!important}
.dsa-sech a{white-space:nowrap}
#top-bar,#top-bar .header-bg-color{background:var(--dsa-gd)!important}
#top-bar,#top-bar a,#top-bar span,#top-bar .html{color:#fff!important}

/* ---- Tinh chỉnh sau khi xem dev ---- */
.dsa-cat i{display:flex;align-items:center;justify-content:center;font-family:'Be Vietnam Pro',sans-serif;font-weight:800;font-size:22px;color:var(--dsa-gd)}
.dsa-cat i::before{content:attr(data-l)}
#wide-nav .searchform,#wide-nav .search-form,#wide-nav .header-search-form{background:transparent}
#wide-nav input[type=search],#wide-nav .searchform input{background:#fff!important;color:var(--dsa-ink)!important;border:2px solid var(--dsa-g)!important;border-radius:999px!important}
#wide-nav select{background:#fff!important;color:var(--dsa-ink)!important}
#wide-nav .searchform button,#wide-nav .ux-search-submit{background:var(--dsa-g)!important;color:#fff!important;border-radius:999px!important}
#wide-nav .searchform button *,#wide-nav .ux-search-submit *{color:#fff!important}
@media (min-width:850px) and (max-width:1400px){#dsa-home{padding-left:84px;padding-right:84px}}
#footer,.footer-wrapper,.footer-wrapper .footer,.footer-wrapper .footer-widgets,#footer .section,#footer .footer-1,#footer .footer-2{background:#1f3d14!important;background-color:#1f3d14!important}
.footer-wrapper,.footer-wrapper p,.footer-wrapper li,.footer-wrapper a,.footer-wrapper span{color:#cfe3c3}
.footer-wrapper .widget-title,.footer-wrapper h3,.footer-wrapper strong{color:#fff!important}
.absolute-footer,.footer-wrapper .absolute-footer{background:#162d0e!important;color:#98b58a!important}

/* ---- Khối kêu gọi mua hàng cuối bài viết ---- */
.dsa-cta{margin:32px 0 8px;padding:22px 24px;background:var(--dsa-gl);border:1px solid #cfe6bd;border-left:5px solid var(--dsa-g);border-radius:12px}
.dsa-cta strong{display:block;font-family:'Be Vietnam Pro',sans-serif;font-size:20px;color:var(--dsa-gd);margin-bottom:6px}
.dsa-cta p{margin:0 0 14px;color:var(--dsa-ink)}
.dsa-cta .button{margin:0 8px 6px 0;border-radius:999px;text-transform:none;font-weight:600}
.dsa-cta .button.primary{background:var(--dsa-g)}

/* ======================================================================
   Đợt 2: banner mới + giao diện toàn site (sản phẩm, danh mục, bài viết, giỏ hàng, thanh toán)
   ====================================================================== */

/* ---- Banner: bình minh trên sông, ghe chở hàng ---- */
.dsa-slide{background:linear-gradient(180deg,#fff6dc 0%,#ffe8a8 55%,#ffd37a 100%)!important;color:#173c0a;padding-bottom:96px;min-height:360px;overflow:hidden}
.dsa-slide::after{display:none!important}
.dsa-slide>.dsa-art{position:absolute;left:0;right:0;bottom:0;width:100%;height:100%;z-index:0;pointer-events:none}
.dsa-slide .dsa-kick{color:#a85b00}
.dsa-slide h1{color:#173c0a}
.dsa-slide p{color:#3b4a30;max-width:36ch}
.dsa-slide .dsa-y{background:#2b6b17;color:#fff!important}
.dsa-slide .dsa-o{border-color:#2b6b17;color:#2b6b17!important;background:#ffffff80}
@media (max-width:760px){.dsa-slide{padding-bottom:110px;min-height:340px}.dsa-art{height:70%}}

/* ---- Nút, ô nhập, liên kết dùng chung ---- */
html body .button.primary,html body .button.alt,html body .checkout-button,html body #place_order{background:var(--dsa-g)!important;color:#fff!important;border-radius:999px!important;text-transform:none;font-weight:700;box-shadow:none}
html body .button.primary:hover,html body .button.alt:hover,html body #place_order:hover{background:var(--dsa-gd)!important}
html body input[type=text],html body input[type=email],html body input[type=tel],html body input[type=number],html body input[type=password],html body select,html body textarea{border-radius:10px;border:1px solid #cfdac6;box-shadow:none;background:#fff}
html body input:focus,html body select:focus,html body textarea:focus{border-color:var(--dsa-g);outline:0}
html body .widget-title,html body .shop-sidebar .widget-title{font-family:'Be Vietnam Pro',sans-serif;font-size:15px;letter-spacing:.04em;text-transform:uppercase;color:var(--dsa-gd)}
html body .is-divider{background:var(--dsa-g)!important}
html body .breadcrumbs,html body .woocommerce-breadcrumb{font-size:13px;text-transform:none;color:var(--dsa-sub)}
html body .breadcrumbs a.current,html body .woocommerce-breadcrumb .current{color:var(--dsa-ink);font-weight:600}

/* ---- Trang chi tiết sản phẩm ---- */
html body .product-main .product-title{font-family:'Be Vietnam Pro',sans-serif;font-weight:800;font-size:32px;line-height:1.15;text-transform:none;color:var(--dsa-ink)}
html body .product-info .price-wrapper .price,html body .product-info p.price{font-size:30px;font-weight:800}
html body .product-info .price del .amount{font-size:18px;font-weight:400;color:#8b9788!important}
html body .product-info .price ins{text-decoration:none}
html body .product-info .product-short-description{color:var(--dsa-sub)}
html body form.cart .single_add_to_cart_button.button{background:var(--dsa-g)!important;color:#fff!important;border-radius:999px!important;text-transform:none;font-weight:700;font-size:16px;padding:0 30px;min-height:46px;box-shadow:none}
html body form.cart .single_add_to_cart_button.button:hover{background:var(--dsa-gd)!important}
html body .quantity .minus,html body .quantity .plus,html body .quantity input.qty{border-color:#cfdac6;background:#fff}
html body .product-gallery .woocommerce-product-gallery__image img{border-radius:16px}
html body .product-thumbnails a,html body .product-thumbnails img{border-radius:10px}
html body .product-info .badge-container .badge-inner,html body .badge-container .badge-inner.on-sale{background:var(--dsa-r)!important;border-radius:999px}
html body .dsa-callbtn{background:var(--dsa-g)!important;color:#fff!important}
html body .woocommerce-tabs ul.tabs,html body .woocommerce-tabs .tabs.nav{background:transparent!important;border-bottom:2px solid var(--dsa-ln);margin-bottom:18px}
html body .woocommerce-tabs ul.tabs li a{background:transparent!important;color:var(--dsa-sub)!important;font-weight:600;text-transform:none;font-size:15px}
html body .woocommerce-tabs ul.tabs li.active a{color:var(--dsa-gd)!important}
html body .nav-line>li>a:before,html body .nav-line-bottom>li>a:before{background-color:var(--dsa-g)!important}
html body .woocommerce-tabs .panel{font-size:16px;line-height:1.75}
html body .woocommerce-tabs .panel h2,html body .woocommerce-tabs .panel h3{font-family:'Be Vietnam Pro',sans-serif;color:var(--dsa-gd)}
html body .woocommerce-tabs .panel img{border-radius:12px}
html body .related-products-wrapper .product-section-title,html body .product-section-title{font-family:'Be Vietnam Pro',sans-serif;font-size:24px;text-transform:none;color:var(--dsa-ink)}

/* ---- Danh mục, tìm kiếm: thẻ sản phẩm ---- */
html body .product-small.box,html body .products .product-small .col-inner{border:1px solid var(--dsa-ln);border-radius:14px;overflow:hidden;background:#fff}
html body .product-small .box-text{padding:12px}
html body .product-small .box-text .name,html body .product-small .box-text .title-wrapper a{font-size:14px;line-height:1.4;color:var(--dsa-ink)!important}
html body .product-small .box-text .price-wrapper{margin-top:4px}
html body .product-small .price .amount{font-weight:700}
html body .product-small .add-to-cart-button .button,html body .product-small .add_to_cart_button{background:#fff!important;color:var(--dsa-gd)!important;border:2px solid var(--dsa-g)!important;border-radius:999px!important;font-weight:700;text-transform:none}
html body .product-small .add-to-cart-button .button:hover{background:var(--dsa-g)!important;color:#fff!important}
html body .dsa-call{color:var(--dsa-gd);font-weight:600;font-size:14px}
html body .shop-page-title,html body .page-title-inner{font-family:'Be Vietnam Pro',sans-serif}
html body .woocommerce-result-count,html body .woocommerce-ordering select{font-size:13px}

/* ---- Bài viết ---- */
html body .blog-single .entry-title,html body h1.entry-title{font-family:'Be Vietnam Pro',sans-serif;font-weight:800;font-size:34px;line-height:1.2;text-transform:none;color:var(--dsa-ink)}
html body .entry-category a{display:inline-block;background:var(--dsa-gl);color:var(--dsa-gd)!important;border-radius:999px;padding:2px 12px;font-size:12px;letter-spacing:.04em;margin-right:4px}
html body .entry-meta{color:var(--dsa-sub);text-transform:none;font-size:13px}
html body .entry-content{font-size:16.5px;line-height:1.8;color:#27331f}
html body .entry-content h2{font-family:'Be Vietnam Pro',sans-serif;font-size:26px;line-height:1.25;margin:1.6em 0 .6em;color:var(--dsa-gd)}
html body .entry-content h3{font-family:'Be Vietnam Pro',sans-serif;font-size:21px;color:var(--dsa-ink)}
html body .entry-content img{border-radius:12px;height:auto}
html body .entry-content li{margin-bottom:.45em}
html body .entry-content a:not(.button){color:var(--dsa-gd);text-decoration:underline;text-underline-offset:3px}
html body .post-item .box,html body .blog-archive .post-item .col-inner{border:1px solid var(--dsa-ln);border-radius:14px;overflow:hidden;background:#fff}
html body .post-item .post-title{font-family:'Be Vietnam Pro',sans-serif;text-transform:none;color:var(--dsa-ink)}
html body .article-inner .entry-header-text{padding-bottom:10px}
html body div#ez-toc-container{background:var(--dsa-gl)!important;border:1px solid #cfe6bd!important;border-radius:12px!important;box-shadow:none!important}
html body #ez-toc-container a{color:var(--dsa-gd)!important}
html body p.ez-toc-title{font-size:0!important}
html body p.ez-toc-title::before{content:"Mục lục";font-size:16px;font-weight:700;color:var(--dsa-ink)}

/* ---- Giỏ hàng và thanh toán ---- */
html body table.shop_table,html body .shop_table{border:1px solid var(--dsa-ln);border-radius:12px;overflow:hidden}
html body table.shop_table th{color:var(--dsa-gd);text-transform:none;font-weight:700}
html body .cart_totals,html body .cart-collaterals .cart_totals{background:var(--dsa-gl);border-radius:14px;padding:16px}
html body .woocommerce-checkout h3,html body .woocommerce-billing-fields h3,html body #order_review_heading{font-family:'Be Vietnam Pro',sans-serif;text-transform:none;font-size:22px;color:var(--dsa-ink)}
html body .checkout-sidebar,html body #order_review{border-radius:14px}
html body .woocommerce-info,html body .woocommerce-message{border-radius:10px;border-top-color:var(--dsa-g)}
html body .woocommerce-info::before,html body .woocommerce-message::before{color:var(--dsa-g)}
html body .checkout-breadcrumbs a.current,html body .cart-breadcrumbs a.current{color:var(--dsa-gd);font-weight:700}
html body .wc-proceed-to-checkout .checkout-button{width:100%;padding:12px 0;font-size:16px}
html body .cart-sidebar,html body .checkout-sidebar{background:transparent}

/* ---- Khối kêu gọi cuối bài: chữ link không gạch chân ---- */
html body .entry-content .dsa-cta a.button{text-decoration:none}
html body .entry-content .dsa-cta a.button.secondary{background:#fff!important;color:var(--dsa-gd)!important;border:2px solid var(--dsa-g)!important}

/* ---- Đợt 3: menu gọn, khối tin cậy, blog dạng thẻ ---- */
html body #mega-menu-wrap,html body .header-bottom .mega-menu,html body #wide-nav .header-bottom-left{display:none!important}
html body #wide-nav .nav-center,html body #wide-nav .flex-col.hide-for-medium.flex-center{justify-content:center}
html body #wide-nav .nav>li>a{font-size:14px;font-weight:700;letter-spacing:.02em}
html body .nav-dropdown{border-radius:12px;border:1px solid var(--dsa-ln);box-shadow:0 12px 28px rgba(30,60,20,.12);padding:8px 0}
html body .nav-dropdown>li>a{font-size:14px;text-transform:none;font-weight:500;color:var(--dsa-ink);padding:8px 18px}
html body .nav-dropdown>li>a:hover{background:var(--dsa-gl);color:var(--dsa-gd)}
.dsa-trust-list{list-style:none;margin:18px 0 0;padding:14px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;background:var(--dsa-gl);border-radius:14px}
.dsa-trust-list li{margin:0;font-size:13px;line-height:1.35;color:var(--dsa-sub)}
.dsa-trust-list b{display:block;color:var(--dsa-gd);font-size:13.5px}
@media (max-width:640px){.dsa-trust-list{grid-template-columns:1fr}}
html body .blog-archive .page-title-inner h1,html body .blog-archive h1.entry-title{font-size:30px}
html body .blog-archive .post-item .box-text{padding:16px 18px 20px}
html body .blog-archive .post-item .post-title{font-size:19px;line-height:1.3;margin-bottom:8px}
html body .blog-archive .post-item .from_the_blog_excerpt{color:var(--dsa-sub);font-size:14.5px;line-height:1.6}
html body .blog-archive .post-item .box-image img{transition:transform .4s}
html body .blog-archive .post-item:hover .box-image img{transform:scale(1.04)}
html body .blog-archive .post-item .box-text .button,html body .blog-archive .post-item .more-link{color:var(--dsa-gd);font-weight:700}
html body .pagination .page-number.current,html body .page-numbers.current{background:var(--dsa-g)!important;border-color:var(--dsa-g)!important;color:#fff!important}
html body .page-numbers{border-radius:999px}

/* ---- Trang danh sách bài viết (category.php) ---- */
.dsa-blog{max-width:1180px;margin:0 auto;padding:28px 16px 56px}
.dsa-blog-head{text-align:center;max-width:720px;margin:0 auto 28px}
.dsa-blog-head .dsa-kick{color:var(--dsa-gd)}
.dsa-blog-head h1{font-family:'Be Vietnam Pro',sans-serif;font-weight:800;font-size:clamp(28px,4vw,40px);line-height:1.15;margin:6px 0 10px;color:var(--dsa-ink)}
.dsa-blog-head p{color:var(--dsa-sub);margin:0}
.dsa-posts{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.dsa-post{background:#fff;border:1px solid var(--dsa-ln);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}
.dsa-post:hover{box-shadow:0 12px 28px rgba(30,60,20,.12);transform:translateY(-2px)}
.dsa-post-img{display:block;aspect-ratio:16/10;background:var(--dsa-gl);overflow:hidden}
.dsa-post-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.dsa-post:hover .dsa-post-img img{transform:scale(1.04)}
.dsa-post-body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:8px;flex:1}
.dsa-chip{align-self:flex-start;background:var(--dsa-gl);color:var(--dsa-gd);font-size:12px;font-weight:700;padding:2px 10px;border-radius:999px}
.dsa-post h2{font-family:'Be Vietnam Pro',sans-serif;font-size:19px;line-height:1.3;margin:0}
.dsa-post h2 a{color:var(--dsa-ink)}
.dsa-post h2 a:hover{color:var(--dsa-gd)}
.dsa-post p{margin:0;color:var(--dsa-sub);font-size:14.5px;line-height:1.6}
.dsa-post-foot{margin-top:auto;padding-top:8px;display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--dsa-sub)}
.dsa-post-foot a{color:var(--dsa-gd);font-weight:700}
.dsa-pager{margin-top:30px;text-align:center}
.dsa-pager .page-numbers{display:inline-block;min-width:38px;padding:7px 12px;margin:0 3px;border:1px solid var(--dsa-ln);border-radius:999px;color:var(--dsa-ink);background:#fff}
.dsa-pager .page-numbers.current{background:var(--dsa-g);border-color:var(--dsa-g);color:#fff}
.dsa-empty{text-align:center;color:var(--dsa-sub)}
@media (max-width:900px){.dsa-posts{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.dsa-posts{grid-template-columns:1fr}}

/* Mục lục (plugin Table of Contents Plus) */
html body #toc_container{background:var(--dsa-gl);border:1px solid #cfe6bd;border-radius:12px;padding:14px 18px;font-size:14.5px;width:auto;max-width:100%}
html body #toc_container .toc_title{font-size:0;text-align:left}
html body #toc_container .toc_title::before{content:"Mục lục";font-size:16px;font-weight:700;color:var(--dsa-ink)}
html body #toc_container .toc_toggle{font-size:13px}
html body #toc_container a{color:var(--dsa-gd)}
html body #toc_container ul.toc_list li{margin:4px 0}

/* ===== Nav cân xứng (desktop): menu dàn đều, ô tìm kiếm bên phải ===== */
@media (min-width:850px){
html body #wide-nav .flex-row.container{display:grid!important;grid-template-columns:minmax(0,1fr) 260px!important;align-items:center;gap:24px!important}
html body #wide-nav .flex-left{display:none!important}
html body #wide-nav .flex-center{display:flex!important;width:100%!important;margin:0;flex:none}
html body #wide-nav .flex-center .nav{width:100%!important;justify-content:space-between!important}
html body #wide-nav .flex-center .nav>li{margin:0!important}
html body #wide-nav .flex-right{width:auto!important;max-width:none!important;justify-self:stretch!important;margin:0!important;padding:0!important;display:flex!important;justify-content:flex-end}
html body #wide-nav .flex-right .header-search-form{max-width:100%!important;min-width:0!important;width:100%}
html body #wide-nav .flex-right .header-search-form select,html body #wide-nav .flex-right .header-search-form .select-resize-ghost{display:none!important}
}
/* ===== Trang giới thiệu ===== */
html body .page-wrapper:has(.dsa-about){padding:0!important}
html body .page-wrapper:has(.dsa-about)>.row,html body .page-wrapper:has(.dsa-about) .large-12{max-width:100%!important;padding:0!important;margin:0!important}
.dsa-about{color:var(--dsa-ink);font-size:16px;line-height:1.7}
.dsa-ab-in{max-width:1120px;margin:0 auto;padding:0 20px}
.dsa-ab-hero{background:linear-gradient(135deg,#e9f5df,#f7fbf1 60%,#fff7dc);padding:64px 0 56px;text-align:center}
.dsa-ab-hero h1{font-size:clamp(28px,4.6vw,44px);line-height:1.2;color:var(--dsa-gd);max-width:820px;margin:10px auto 16px}
.dsa-ab-hero p{max-width:720px;margin:0 auto 24px;color:var(--dsa-sub)}
.dsa-about .dsa-kick{display:inline-block;background:#fff;border:1px solid var(--dsa-ln);color:var(--dsa-gd);font-weight:600;font-size:13px;padding:4px 14px;border-radius:99px}
.dsa-about .dsa-btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.dsa-about .dsa-btns .button{margin:0;border-radius:99px;padding:0 26px}
.dsa-about .dsa-btns .primary{background:var(--dsa-g)}
.dsa-about .dsa-btns .secondary{background:#fff;color:var(--dsa-gd);border:1px solid var(--dsa-g)}
.dsa-ab-facts{background:var(--dsa-gd);color:#fff;padding:22px 0}
.dsa-grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.dsa-ab-facts .dsa-grid4>div{text-align:center}
.dsa-ab-facts b{display:block;font-size:16px}
.dsa-ab-facts span{font-size:13px;opacity:.85}
.dsa-ab-sec{padding:56px 0}
.dsa-ab-soft{background:#f6faf1}
.dsa-ab-sec h2{text-align:center;font-size:clamp(22px,3vw,30px);color:var(--dsa-gd);margin:0 0 28px}
.dsa-grid5{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.dsa-grid5 a{display:block;background:#fff;border:1px solid var(--dsa-ln);border-radius:16px;padding:22px 16px;text-align:center;color:var(--dsa-ink);transition:.2s}
.dsa-grid5 a:hover{border-color:var(--dsa-g);transform:translateY(-3px);box-shadow:0 8px 20px rgba(43,107,23,.12)}
.dsa-grid5 b{display:block;font-size:17px;color:var(--dsa-gd);margin-bottom:4px}
.dsa-grid5 span{font-size:13px;color:var(--dsa-sub);line-height:1.4;display:block}
.dsa-why>div{background:#fff;border:1px solid var(--dsa-ln);border-radius:16px;padding:22px 18px}
.dsa-why i{display:flex;width:34px;height:34px;border-radius:50%;background:var(--dsa-g);color:#fff;font-style:normal;font-weight:700;align-items:center;justify-content:center;margin-bottom:10px}
.dsa-why b{display:block;font-size:17px;margin-bottom:6px}
.dsa-why p{margin:0;font-size:14.5px;color:var(--dsa-sub)}
.dsa-two{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:start}
.dsa-two h2{text-align:left}
.dsa-steps{background:var(--dsa-gl);border-radius:18px;padding:26px}
.dsa-steps h3{margin:0 0 14px;color:var(--dsa-gd);font-size:20px}
.dsa-steps ol{list-style:none;margin:0 0 12px;padding:0;counter-reset:s}
.dsa-steps li{counter-increment:s;position:relative;padding:0 0 14px 44px;margin:0}
.dsa-steps li::before{content:counter(s);position:absolute;left:0;top:0;width:30px;height:30px;border-radius:50%;background:var(--dsa-g);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center}
.dsa-steps li b{display:block}
.dsa-steps li span{font-size:14px;color:var(--dsa-sub)}
.dsa-ab-cta{background:linear-gradient(135deg,var(--dsa-gd),var(--dsa-g));color:#fff;text-align:center;padding:52px 0}
.dsa-ab-cta h2{color:#fff;margin:0 0 8px;font-size:clamp(22px,3vw,30px)}
.dsa-ab-cta p{margin:0 0 20px;opacity:.9}
.dsa-ab-cta .dsa-btns .primary{background:var(--dsa-y);color:var(--dsa-ink)}
@media (max-width:900px){.dsa-grid4{grid-template-columns:repeat(2,1fr)}.dsa-grid5{grid-template-columns:repeat(2,1fr)}.dsa-two{grid-template-columns:1fr}}
@media (max-width:480px){.dsa-ab-hero{padding:44px 0 36px}.dsa-ab-sec{padding:40px 0}}
.dsa-about br,.dsa-about p:empty{display:none!important}
.dsa-about .dsa-grid4>p,.dsa-about .dsa-grid5>p{display:none}
/* ===== Trang liên hệ ===== */
.dsa-grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.dsa-ct-cards{padding:40px 0 20px}
.dsa-ct-card{display:flex;flex-direction:column;align-items:center;text-align:center;background:#fff;border:1px solid var(--dsa-ln);border-radius:18px;padding:26px 18px;color:var(--dsa-ink);transition:.2s}
.dsa-ct-card:hover{border-color:var(--dsa-g);transform:translateY(-3px);box-shadow:0 8px 20px rgba(43,107,23,.12)}
.dsa-ct-card i{width:48px;height:48px;border-radius:50%;background:var(--dsa-gl);color:var(--dsa-gd);font-style:normal;font-size:22px;font-weight:700;display:flex;align-items:center;justify-content:center;margin-bottom:10px}
.dsa-ct-card b{font-size:15px;color:var(--dsa-sub);font-weight:600}
.dsa-ct-card strong{font-size:19px;color:var(--dsa-gd);margin:4px 0;word-break:break-word}
.dsa-ct-card span{font-size:13.5px;color:var(--dsa-sub)}
.dsa-ct-two{grid-template-columns:1fr 1fr;gap:32px}
.dsa-ct-form,.dsa-ct-map{background:#fff;border:1px solid var(--dsa-ln);border-radius:18px;padding:26px}
.dsa-ct-form h2,.dsa-ct-map h2{text-align:left;font-size:22px;margin:0 0 8px}
.dsa-ct-form p{margin:0 0 14px;color:var(--dsa-sub)}
.dsa-ct-form input:not([type=submit]),.dsa-ct-form textarea{border-radius:10px;margin-bottom:10px}
.dsa-ct-form input[type=submit],.dsa-ct-form .wpcf7-submit{background:var(--dsa-g);color:#fff;border-radius:99px;padding:0 30px;margin:0}
.dsa-ct-map iframe{width:100%;height:420px;border-radius:12px;display:block}
@media (max-width:900px){.dsa-grid3{grid-template-columns:1fr}.dsa-ct-two{grid-template-columns:1fr}.dsa-ct-map iframe{height:320px}}
/* ===== Trang nội dung chung ===== */
.dsa-pagehead{background:linear-gradient(135deg,#e9f5df,#f7fbf1 60%,#fff7dc);border-radius:18px;padding:36px 20px;text-align:center;margin:0 0 28px}
.dsa-pagehead h1{font-size:clamp(26px,4vw,38px);line-height:1.2;color:var(--dsa-gd);margin:10px 0 0}
.dsa-pagehead .dsa-kick{display:inline-block;background:#fff;border:1px solid var(--dsa-ln);color:var(--dsa-gd);font-weight:600;font-size:13px;padding:4px 14px;border-radius:99px}
.dsa-text{max-width:860px;margin:0 auto 30px;font-size:16px;line-height:1.8;color:var(--dsa-ink)}
.dsa-text h2,.dsa-text h3{color:var(--dsa-gd);margin:1.6em 0 .5em}
.dsa-text ul,.dsa-text ol{margin:0 0 1.2em 1.3em}
.dsa-text li{margin-bottom:.4em}
.dsa-text a{color:var(--dsa-gd);text-decoration:underline}
.dsa-wide{margin:0 auto 30px}
.dsa-narrow{max-width:820px!important}
.dsa-about .dsa-narrow h2{text-align:left;font-size:22px;margin:1.4em 0 .5em}
.dsa-about .dsa-narrow h2:first-child{margin-top:0}
.dsa-about .dsa-narrow ul{margin:0 0 1em 1.3em}
.dsa-about .dsa-narrow a{color:var(--dsa-gd);text-decoration:underline}
.dsa-faq details{background:#fff;border:1px solid var(--dsa-ln);border-radius:14px;padding:16px 20px;margin-bottom:12px}
.dsa-faq details[open]{border-color:var(--dsa-g);box-shadow:0 6px 16px rgba(43,107,23,.08)}
.dsa-faq summary{cursor:pointer;font-weight:600;color:var(--dsa-gd);font-size:17px;list-style:none;position:relative;padding-right:28px}
.dsa-faq summary::-webkit-details-marker{display:none}
.dsa-faq summary::after{content:"+";position:absolute;right:0;top:-2px;font-size:24px;line-height:1;color:var(--dsa-g)}
.dsa-faq details[open] summary::after{content:"–"}
.dsa-faq details p{margin:10px 0 0;color:var(--dsa-sub)}
.dsa-about .dsa-grid3.dsa-why>div{background:#fff;border:1px solid var(--dsa-ln);border-radius:16px;padding:22px 18px}
/* ===== Trang chi tiết sản phẩm ===== */
html body.single-product .product-main{padding-top:24px}
html body.single-product .product-gallery .woocommerce-product-gallery__wrapper,html body.single-product .product-gallery .image-tools{border-radius:18px}
html body.single-product .product-gallery img{border-radius:16px}
html body.single-product .product-thumbnails img{border-radius:10px;border:2px solid transparent}
html body.single-product .product-thumbnails .is-nav-selected img{border-color:var(--dsa-g)}
html body.single-product .product-info{background:#fff;border:1px solid var(--dsa-ln);border-radius:18px;padding:26px 26px 20px;margin-top:0}
html body.single-product .product-info .product-title{font-size:clamp(22px,2.4vw,30px);line-height:1.3;color:var(--dsa-ink);margin-bottom:10px}
html body.single-product .product-info .price-wrapper{margin:6px 0 14px}
html body.single-product .product-info .price .amount{font-size:30px;font-weight:700;color:var(--dsa-r)}
html body.single-product .product-info .product-short-description{color:var(--dsa-sub);font-size:15px;line-height:1.7;border-top:1px dashed var(--dsa-ln);padding-top:12px;margin-bottom:16px}
html body.single-product .product-info .cart{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
html body.single-product .product-info .single_add_to_cart_button{min-width:220px;margin:0;border-radius:99px;font-size:16px}
html body.single-product .product-info .product_meta{font-size:13px;color:var(--dsa-sub);border-top:1px solid var(--dsa-ln);padding-top:10px;margin-top:14px}
html body.single-product .product-footer .woocommerce-tabs{max-width:900px;margin:30px auto 0}
html body.single-product .product-footer .tabs li a{font-weight:600;color:var(--dsa-sub);border-radius:99px;padding:8px 18px}
html body.single-product .product-footer .tabs li.active a{background:var(--dsa-gl);color:var(--dsa-gd)}
html body.single-product .product-footer .woocommerce-Tabs-panel{font-size:16px;line-height:1.85}
html body.single-product .product-footer .woocommerce-Tabs-panel h2,html body.single-product .product-footer .woocommerce-Tabs-panel h3{color:var(--dsa-gd);margin:1.5em 0 .5em}
html body.single-product .related-products-wrapper .product-section-title{color:var(--dsa-gd);text-align:center;font-size:24px}
@media (max-width:549px){html body.single-product .product-info{padding:18px 16px}html body.single-product .product-info .single_add_to_cart_button{width:100%}}
/* ===== Giỏ hàng, thanh toán, tài khoản ===== */
html body.woocommerce-cart .cart_totals,html body.woocommerce-checkout #order_review,html body.woocommerce-checkout .woocommerce-checkout-review-order{background:#fff;border:1px solid var(--dsa-ln);border-radius:16px;padding:20px}
html body.woocommerce-cart .woocommerce-cart-form{background:#fff;border:1px solid var(--dsa-ln);border-radius:16px;padding:10px 16px}
html body.woocommerce-checkout .woocommerce-billing-fields h3,html body.woocommerce-checkout #order_review_heading,html body.woocommerce-cart .cart_totals h2{color:var(--dsa-gd);font-size:20px}
html body.woocommerce-checkout input.input-text,html body.woocommerce-checkout select,html body.woocommerce-checkout textarea,html body.woocommerce-account input.input-text{border-radius:10px}
html body.woocommerce-checkout #place_order,html body.woocommerce-cart .checkout-button{border-radius:99px;font-size:16px;width:100%}
html body.woocommerce-account .woocommerce form.login,html body.woocommerce-account .woocommerce form.register{background:#fff;border:1px solid var(--dsa-ln);border-radius:16px;padding:22px}
html body.woocommerce-account .woocommerce-MyAccount-navigation li a{border-radius:10px}
/* Ẩn mục footer chưa có nội dung thật (Đối tác, Đại lý, Tuyển dụng) */
html body #footer li:has(>span>a[href="#"]),html body #footer li:has(>a[href="#"]),html body #footer li:has(a[href$="/doi-tac/"]){display:none!important}
