/*
Theme Name: Dien Lanh Duong Hieu
Theme URI: https://example.com/
Author: OpenAI
Description: Giao diện WooCommerce tiếng Việt cho cửa hàng điện lạnh công nghiệp Điện Lạnh Dương Hiếu.
Version: 1.4.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: dien-lanh-duong-hieu
*/
:root{--dh-blue:#07529a;--dh-navy:#082b52;--dh-orange:#f04b16;--dh-ice:#eef7ff;--dh-line:#dce8f3;--dh-muted:#60758d;--dh-shadow:0 8px 28px #12365f12}*{box-sizing:border-box}body{margin:0;color:var(--dh-navy);background:#f7faff;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.6}a{color:var(--dh-blue);text-decoration:none}a:hover{color:var(--dh-orange)}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}.dh-wrap{width:min(1240px,calc(100% - 40px));margin-inline:auto}.dh-topbar{background:#edf6ff;color:#23496f;font-size:12px}.dh-topbar-inner{min-height:34px;display:flex;justify-content:space-between;align-items:center;gap:12px}.dh-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--dh-line)}.dh-header-inner{min-height:78px;display:flex;align-items:center;gap:26px}.dh-brand{display:flex;align-items:center;gap:9px;flex-shrink:0;color:var(--dh-blue);font-size:23px;font-weight:900;letter-spacing:-.8px;line-height:1}.dh-brand:hover{color:var(--dh-blue)}.dh-brand-mark{font-size:37px;line-height:1}.dh-brand small{display:block;margin-top:5px;color:#56718d;font-size:8px;letter-spacing:1.2px;font-weight:700}.dh-main-nav{margin:auto}.dh-main-nav ul{display:flex;align-items:center;gap:23px;margin:0;padding:0;list-style:none}.dh-main-nav a{color:#183b63;font-size:13px;font-weight:750}.dh-main-nav a:hover,.current-menu-item>a{color:var(--dh-orange)}.dh-header-actions{display:flex;align-items:center;gap:10px}.dh-cart-link,.dh-menu-toggle{border:1px solid var(--dh-line);border-radius:22px;background:white;padding:9px 13px;color:var(--dh-blue);font-size:13px;font-weight:750}.dh-cart-count{display:inline-grid;place-items:center;min-width:19px;height:19px;margin-left:3px;border-radius:50%;background:var(--dh-orange);color:#fff;font-size:11px}.dh-button{display:inline-flex;justify-content:center;align-items:center;gap:7px;border:0;border-radius:7px;background:var(--dh-orange);color:#fff!important;padding:11px 17px;font-weight:800;line-height:1.3;box-shadow:0 5px 13px #f04b1622}.dh-button:hover{background:#d83b0c;color:#fff!important}.dh-menu-toggle{display:none}.dh-hero{position:relative;overflow:hidden;background:linear-gradient(104deg,#e7f5ff 0%,#f6fbff 52%,#cfe7f8 100%)}.dh-hero:after{content:"❄";position:absolute;right:6%;top:-90px;font-size:440px;line-height:1;color:#fff;opacity:.24;pointer-events:none}.dh-hero-inner{position:relative;z-index:1;padding:44px 0 40px}.dh-eyebrow{color:#174c85;font-size:11px;font-weight:800;letter-spacing:2px}.dh-hero h1{max-width:770px;margin:11px 0 14px;color:#082850;font-size:clamp(34px,4vw,53px);line-height:1.04;letter-spacing:-1.5px}.dh-hero h1 em{color:var(--dh-orange);font-style:normal}.dh-hero p{max-width:560px;color:#526b85}.dh-benefits{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0}.dh-benefits span{border:1px solid #d3e3f1;border-radius:24px;background:#ffffffb8;padding:7px 11px;color:#174978;font-size:12px}.dh-search{display:flex;max-width:600px;padding:5px;border:1px solid #a6bfd7;border-radius:9px;background:white;box-shadow:0 8px 22px #194a7512}.dh-search input{min-width:0;flex:1;border:0;outline:0;padding:8px 12px}.dh-search button{border:0;border-radius:7px;background:var(--dh-orange);padding:0 20px;color:white;font-weight:800}.dh-section{padding:34px 0}.dh-section-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:17px}.dh-section-heading h2{margin:0;color:var(--dh-navy);font-size:25px;line-height:1.2}.dh-section-heading p{margin:6px 0 0;color:var(--dh-muted);font-size:13px}.dh-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.dh-category{overflow:hidden;border:1px solid var(--dh-line);border-radius:8px;background:#fff;box-shadow:var(--dh-shadow)}.dh-category-image{height:112px;display:grid;place-items:center;background:linear-gradient(145deg,#e5f3fd,#f9fcff);color:#12619e;font-size:51px}.dh-category-body{padding:12px 14px}.dh-category-body strong{display:block;color:var(--dh-navy);font-size:16px}.dh-category-body span{color:var(--dh-muted);font-size:12px}.dh-featured{padding:29px 0 38px;background:#fff}.dh-project-band{position:relative;overflow:hidden;background:linear-gradient(105deg,#062d5d,#0a5796);color:white}.dh-project-band .dh-wrap{padding-block:26px}.dh-project-band h2{font-size:27px;margin:0 0 5px}.dh-project-band p{max-width:700px;margin:0;color:#d8e8f8}.dh-trust-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:22px}.dh-trust-item{border-right:1px solid #ffffff45;padding:7px 14px;color:#e7f2ff;font-size:12px}.dh-trust-item b{display:block;color:white;font-size:17px}.dh-footer{background:#062a53;color:white;padding:29px 0}.dh-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.dh-footer p{margin:0;color:#d2e1ef;font-size:12px}.dh-crumbs,.woocommerce .woocommerce-breadcrumb{padding:19px 0;color:#7a90a8;font-size:12px}.dh-page-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:3px 0 22px}.dh-page-heading h1{margin:0;color:var(--dh-navy);font-size:32px;line-height:1.2}.dh-page-heading p{margin:6px 0 0;color:var(--dh-muted);font-size:14px}.dh-shop-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:19px;padding-bottom:42px}.dh-shop-sidebar,.dh-panel{border:1px solid var(--dh-line);border-radius:9px;background:#fff;box-shadow:var(--dh-shadow)}.dh-shop-sidebar{padding:17px;height:max-content}.dh-shop-sidebar h2{margin:0 0 10px;font-size:14px}.dh-shop-sidebar ul{margin:0;padding:0;list-style:none}.dh-shop-sidebar li a{display:block;border-bottom:1px solid #edf2f7;padding:9px 10px;color:#355879;font-size:13px}.dh-shop-sidebar li a:hover{border-radius:5px;background:#eaf5ff;color:var(--dh-blue)}.dh-shop-sidebar .count{float:right;color:#91a2b4}.dh-shop-main{min-width:0}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{margin:0 0 15px;color:var(--dh-muted);font-size:13px}.woocommerce .woocommerce-ordering select,.woocommerce select,.woocommerce input[type=text],.woocommerce input[type=email],.woocommerce input[type=tel],.woocommerce input[type=number],.woocommerce textarea{border:1px solid var(--dh-line);border-radius:6px;background:white;padding:9px;color:#294967}.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0!important;padding:0!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;overflow:hidden;border:1px solid var(--dh-line);border-radius:9px;background:#fff;box-shadow:0 3px 12px #12365f08;padding:0 0 13px!important;transition:transform .2s,box-shadow .2s}.woocommerce ul.products li.product:hover{transform:translateY(-3px);box-shadow:var(--dh-shadow)}.woocommerce ul.products li.product a img{width:100%;height:190px;object-fit:contain;margin:0 0 12px;background:linear-gradient(145deg,#f1f8fd,#e7f2fa);padding:12px}.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0 13px;color:var(--dh-navy);font-size:15px;line-height:1.35}.woocommerce ul.products li.product .price{padding:0 13px;color:var(--dh-orange);font-weight:800}.woocommerce ul.products li.product .button{display:flex;margin:10px 13px 0;padding:9px 8px;font-size:11px}.woocommerce ul.products li.product .star-rating{margin:5px 13px;color:#ed9700}.woocommerce span.onsale{top:10px;left:10px;min-height:0;min-width:0;border-radius:4px;background:var(--dh-orange);padding:6px 8px;line-height:1;color:#fff}.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;gap:6px}.woocommerce nav.woocommerce-pagination ul li{border:0}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{border-radius:5px;background:#fff;color:var(--dh-blue);padding:9px 13px}.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--dh-blue);color:#fff}.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;margin:0 0 25px}.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:auto;margin:0}.woocommerce div.product div.images{padding:14px;border:1px solid var(--dh-line);border-radius:9px;background:#fff;box-shadow:var(--dh-shadow)}.woocommerce div.product div.images img{border-radius:6px;background:linear-gradient(145deg,#f3f9fd,#e6f1f8)}.woocommerce div.product .product_title{margin:4px 0 10px;color:var(--dh-navy);font-size:32px;line-height:1.18}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--dh-orange);font-size:22px;font-weight:800}.woocommerce div.product .woocommerce-product-details__short-description{color:#566f88;font-size:14px;line-height:1.75}.woocommerce div.product form.cart{display:flex;gap:9px;align-items:center;margin:18px 0}.woocommerce .quantity .qty{width:62px;min-height:42px;border:1px solid var(--dh-line);border-radius:6px}.woocommerce div.product form.cart .button{min-height:42px}.woocommerce div.product .product_meta{border-top:1px solid var(--dh-line);padding-top:12px;color:var(--dh-muted);font-size:12px}.woocommerce div.product .woocommerce-tabs{grid-column:1/-1;border:1px solid var(--dh-line);border-radius:9px;background:white;padding:8px 20px;box-shadow:var(--dh-shadow)}.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:0 0 15px}.woocommerce div.product .woocommerce-tabs ul.tabs:before{border-color:var(--dh-line)}.woocommerce div.product .woocommerce-tabs ul.tabs li{border:0;background:transparent;padding:0 13px;margin:0}.woocommerce div.product .woocommerce-tabs ul.tabs li:before,.woocommerce div.product .woocommerce-tabs ul.tabs li:after{display:none}.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:14px 3px;color:#526b85;font-weight:800}.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--dh-orange);border-bottom:2px solid var(--dh-orange)}.woocommerce table.shop_attributes,.woocommerce table.shop_table{border-color:var(--dh-line);border-radius:6px}.woocommerce table.shop_attributes th,.woocommerce table.shop_attributes td,.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-color:#eaf0f5}.woocommerce-message,.woocommerce-info{border-top-color:var(--dh-blue);background:#eff7ff}.woocommerce-message:before,.woocommerce-info:before{color:var(--dh-blue)}.woocommerce-error{border-top-color:var(--dh-orange)}.woocommerce .related h2,.woocommerce .upsells h2{font-size:23px;color:var(--dh-navy)}.woocommerce .related ul.products,.woocommerce .upsells ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}.dh-content-page{padding:22px 0 45px}.dh-content-page .entry-content{padding:24px;border:1px solid var(--dh-line);border-radius:9px;background:#fff}.screen-reader-text{clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;overflow:hidden;position:absolute!important;white-space:nowrap}
@media(max-width:900px){.dh-main-nav ul{gap:12px}.dh-main-nav a{font-size:12px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.dh-category-grid{grid-template-columns:repeat(2,1fr)}.woocommerce .related ul.products,.woocommerce .upsells ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.dh-wrap{width:calc(100% - 28px)}.dh-topbar-inner{justify-content:center}.dh-topbar-inner span:last-child{display:none}.dh-header-inner{min-height:65px;gap:10px}.dh-brand{font-size:19px}.dh-brand-mark{font-size:31px}.dh-brand small{font-size:7px}.dh-main-nav{display:none;position:absolute;top:100%;left:0;right:0;margin:0;padding:10px 14px 15px;border-bottom:1px solid var(--dh-line);background:#fff}.dh-main-nav.is-open{display:block}.dh-main-nav ul{display:block}.dh-main-nav li a{display:block;padding:10px 4px;font-size:14px}.dh-menu-toggle{display:inline-block}.dh-header-actions .dh-button{display:none}.dh-cart-link{padding:8px 10px;font-size:12px}.dh-hero-inner{padding:32px 0}.dh-hero:after{right:-80px;top:30px;font-size:300px;opacity:.18}.dh-hero h1{font-size:35px}.dh-hero p{font-size:14px}.dh-search button{padding:0 12px;font-size:12px}.dh-section{padding:27px 0}.dh-section-heading h2{font-size:22px}.dh-category-grid{gap:9px}.dh-category-image{height:82px;font-size:39px}.dh-category-body{padding:10px}.dh-category-body strong{font-size:14px}.dh-trust-row{grid-template-columns:repeat(2,1fr)}.dh-trust-item:nth-child(2){border-right:0}.dh-footer-inner{align-items:flex-start;flex-direction:column}.dh-page-heading{display:block}.dh-page-heading h1{font-size:27px}.dh-page-heading .dh-button{margin-top:12px}.dh-shop-layout{grid-template-columns:1fr;gap:12px}.dh-shop-sidebar{padding:12px}.woocommerce ul.products{gap:9px}.woocommerce ul.products li.product a img{height:140px;padding:8px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px;padding-inline:10px}.woocommerce ul.products li.product .price{padding-inline:10px;font-size:13px}.woocommerce ul.products li.product .button{margin-inline:10px;font-size:10px}.woocommerce .woocommerce-result-count{float:none!important;margin-bottom:7px}.woocommerce .woocommerce-ordering{float:none!important}.woocommerce div.product{grid-template-columns:1fr;gap:17px}.woocommerce div.product .product_title{font-size:27px}.woocommerce div.product .woocommerce-tabs{grid-column:auto;padding:5px 13px}.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;overflow:auto;white-space:nowrap}.woocommerce div.product .woocommerce-tabs ul.tabs li{padding-inline:8px}.woocommerce div.product .woocommerce-tabs ul.tabs li a{font-size:12px}.woocommerce table.shop_table{font-size:12px}.woocommerce .related ul.products,.woocommerce .upsells ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:390px){.dh-brand{font-size:17px}.dh-brand small{letter-spacing:.6px}.dh-header-inner{gap:6px}.woocommerce ul.products{grid-template-columns:1fr}.woocommerce ul.products li.product a img{height:200px}.dh-category-grid{grid-template-columns:1fr 1fr}.dh-category-image{height:68px}}

/* ====== Bổ sung: SKU/thông số trong thẻ sản phẩm + trang chi tiết (đồng bộ mẫu) ====== */
.dh-sku-row{font-size:10px;color:#8195aa;letter-spacing:.4px;text-transform:uppercase;padding:0 13px;margin-top:10px}
.dh-specs{list-style:none;margin:6px 0 0;padding:8px 13px 0;border-top:1px solid #edf2f7;font-size:11px;color:#4d6784;display:flex;flex-direction:column;gap:4px}
.dh-specs li:before{content:"✓ ";color:#1a9c5e;font-weight:800}
.dh-cardfoot{display:flex;gap:8px;margin:10px 13px 0;flex-wrap:wrap}
.dh-cardfoot .button{flex:1 1 auto;margin:0!important;min-width:110px}
.dh-cardfoot .added_to_cart{flex-basis:100%;text-align:center;font-size:11px}

.dh-product-page{padding-bottom:10px}
.woocommerce div.product .dh-sku-row{font-size:12px;color:#7890a8;text-transform:none;letter-spacing:0;padding:0;margin:0 0 8px}
.dh-checklist{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}
.dh-check{font-size:12px;color:#355879}
.dh-check:before{content:"✓";color:#1a9c5e;font-weight:900;margin-right:7px}

@media(max-width:680px){.dh-checklist{grid-template-columns:1fr;gap:8px}.dh-cardfoot .button{min-width:0;font-size:10px}}

/* ====== Bổ sung đợt 2: sidebar 1 dòng, nút sản phẩm mờ/đậm khi hover, slideshow banner, danh mục có ảnh ====== */

/* Sidebar danh mục: tên + số lượng luôn nằm 1 dòng */
.dh-cat-list{list-style:none;margin:0;padding:0}
.dh-cat-list li{border-bottom:1px solid #edf2f7}
.dh-cat-list li:last-child{border-bottom:0}
.dh-cat-link{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;color:#355879;font-size:13px}
.dh-cat-link:hover{border-radius:5px;background:#eaf5ff;color:var(--dh-blue)}
.dh-cat-link span:first-child{min-width:0}
.dh-cat-link .count{flex-shrink:0;color:#91a2b4;font-size:12px}
.dh-cat-link.is-active{background:#eaf5ff;color:var(--dh-blue);font-weight:700;border-radius:5px}
.dh-cat-group details>summary{cursor:pointer;list-style:none}
.dh-cat-group details>summary::-webkit-details-marker{display:none}
.dh-cat-group details>summary::marker{content:""}
.dh-cat-link .dh-chev{flex-shrink:0;color:#91a2b4;font-size:10px;transition:transform .2s}
.dh-cat-group details[open]>summary .dh-chev{transform:rotate(180deg)}
.dh-cat-sublist{list-style:none;margin:0;padding:2px 0 6px 12px}
.dh-cat-sublist li{border-bottom:0}
.dh-cat-sublink{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 10px;color:#5c7891;font-size:12.5px;border-radius:5px}
.dh-cat-sublink:before{content:"–";margin-right:2px;color:#b9c8d6}
.dh-cat-sublink:hover{background:#eaf5ff;color:var(--dh-blue)}
.dh-cat-sublink.is-active{background:#eaf5ff;color:var(--dh-blue);font-weight:700}
.dh-cat-sublink .count{flex-shrink:0;color:#91a2b4;font-size:11px}

/* Nút Thêm vào giỏ hàng/Mua ngay — đồng bộ 1 kiểu cho cả thẻ danh mục, sản phẩm liên quan và trang chi tiết:
   mặc định màu ghi sáng/chữ đen, rê chuột vào thì chuyển cam/chữ trắng. !important để thắng CSS mặc định
   của WooCommerce (nền tím của plugin giỏ hàng). */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce div.product form.cart .button,
.wp-element-button{
	background:#e7ebf0!important;
	color:#16222f!important;
	box-shadow:none!important;
	transition:background .2s ease,color .2s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce div.product form.cart .button:hover,
.wp-element-button:hover{
	background:var(--dh-orange)!important;
	color:#fff!important;
}

/* Danh mục nổi bật trang chủ: hỗ trợ ảnh banner thay cho icon */
.dh-category-image{background-size:cover;background-position:center}

/* Slideshow banner lớn trang chủ */
.dh-hero{position:relative;overflow:hidden}
.dh-hero-slides{position:relative;aspect-ratio:2.6/1;min-height:300px;max-height:540px;overflow:hidden}
.dh-hero-slide{position:absolute;inset:0;width:100%;height:100%;display:flex;align-items:flex-start;opacity:0;visibility:hidden;transition:opacity .8s ease;background:linear-gradient(104deg,#e7f5ff 0%,#f6fbff 52%,#cfe7f8 100%);background-size:cover;background-position:center;background-repeat:no-repeat}
.dh-hero-slide.is-active{opacity:1;visibility:visible;z-index:1}
.dh-hero-slide .dh-hero-inner{position:relative;z-index:1;width:100%;padding:38px 0 0 18px}
.dh-hero-static{position:absolute;left:0;right:0;bottom:20px;z-index:2;padding:0}
.dh-hero-static .dh-benefits{margin:0 0 10px}
.dh-hero-static .dh-benefits span{font-size:11px;padding:6px 10px;background:#ffffffe0}
.dh-hero-dots{position:relative;z-index:2;display:flex;justify-content:center;gap:8px;padding-bottom:16px}
.dh-hero-dot{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:#ffffffb0;cursor:pointer;transition:.2s}
.dh-hero-dot.is-active{background:var(--dh-orange);width:22px;border-radius:5px}

@media(max-width:680px){
	.dh-hero-slides{aspect-ratio:auto;min-height:440px;max-height:none}
	.dh-hero-slide .dh-hero-inner{padding:26px 0 0 12px}
	.dh-hero-static{bottom:14px}
	.dh-hero-static .dh-benefits{gap:6px;margin:0 0 8px}
	.dh-hero-static .dh-benefits span{font-size:10px;padding:4px 8px}
	.dh-hero-static .dh-search{max-width:100%}
}

/* ====== Bổ sung đợt 3: chặn tràn ngang trên điện thoại, logo nền trắng, banner sidebar, 6 sản phẩm liên quan ====== */

:root{color-scheme:light only}
html{background:#fff}
body{background:#f7faff!important;color:var(--dh-navy)!important}
html,body{overflow-x:hidden;max-width:100%}
input,select,textarea,button{color-scheme:light only}
.dh-topbar-inner span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}

/* Banner quảng cáo trong sidebar trang Sản phẩm */
.dh-sidebar-banner{display:block;margin:16px 0 0;border-radius:8px;overflow:hidden}
.dh-sidebar-banner img{display:block;width:100%;height:auto;border-radius:8px}

/* Sản phẩm liên quan: 6 sản phẩm dàn đều hết chiều ngang trang */
/* Khối "related"/"upsells" đang nằm trong lưới 2 cột của div.product nên bị bó hẹp còn nửa trang - cho nó chiếm trọn cả 2 cột như khối tab mô tả */
.woocommerce div.product .related,.woocommerce div.product .upsells{grid-column:1/-1}
.woocommerce .related ul.products,.woocommerce .upsells ul.products{grid-template-columns:repeat(6,minmax(0,1fr))}

@media(max-width:1000px){
	.woocommerce .related ul.products,.woocommerce .upsells ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:680px){
	/* Logo: thêm nền trắng phía sau để không bị mờ/chìm khi điện thoại bật chế độ tối */
	.dh-brand{background:#fff;padding:6px 10px;border-radius:8px}
	.dh-topbar-inner span:first-child{max-width:62%}
	.woocommerce .related ul.products,.woocommerce .upsells ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ====== Bổ sung đợt 4: 12 sản phẩm nổi bật, icon mạng xã hội chân trang ====== */
.dh-featured .woocommerce ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:900px){.dh-featured .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:390px){.dh-featured .woocommerce ul.products{grid-template-columns:1fr}}

.dh-footer-inner{flex-wrap:wrap}
.dh-footer-social{display:flex;gap:10px;margin:10px 0 0}
.dh-footer-social a{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#ffffff1f;color:#fff;transition:background .2s}
.dh-footer-social a:hover{background:var(--dh-orange);color:#fff}
.dh-footer-social svg{width:16px;height:16px;fill:currentColor}
@media(max-width:680px){.dh-footer-social{margin-top:14px}}
