/* Trang chủ — cùng hệ thiết kế với product redesign: nền sáng, accent đỏ, card bo góc. */
:root{--bt-home-red:#e51f3b;--bt-home-ink:#171a21;--bt-home-muted:#667085;--bt-home-line:#e7e9ee;--bt-home-page:#f5f6f8;--bt-home-blue:#1677ff}
body.home{background:var(--bt-home-page);color:var(--bt-home-ink)}
body.home #wrapper,body.home #main,body.home #content{background:var(--bt-home-page)!important}

/* Header legacy được chuẩn hoá về cùng nhịp với trang sản phẩm. */
body.home #header{background:#fff!important;box-shadow:0 1px 0 rgba(16,24,40,.08)}
body.home #masthead,body.home .header-main{min-height:76px;background:#fff!important}
body.home #masthead .header-inner{width:min(1220px,calc(100% - 32px));min-height:76px;margin:0 auto;padding:0;align-items:center}
body.home #logo{width:210px;margin-right:12px}
/* Dùng đúng nhận diện "BT / Bếp Thái" của header trang sản phẩm. */
body.home #logo>a{display:flex!important;align-items:center;min-height:52px;text-decoration:none}
body.home #logo img{display:none!important}
body.home #logo>a:before{width:58px;height:42px;flex:0 0 58px;content:"";background:url("/wp-content/themes/ghe-van-phong/assets/bt-logo-mark.png") center/contain no-repeat}
body.home #logo>a:after{margin-left:8px;content:"Bếp Thái";white-space:nowrap;line-height:1.12;color:#e5233f;font-size:22px;font-weight:800;letter-spacing:-.4px}
body.home .header-nav-main{align-items:center;gap:10px}
body.home .header-main .header-nav-main>li>a{color:#333d4b!important;font-size:13px;font-weight:650;text-transform:none;letter-spacing:0}
body.home .header-main .account-link i,body.home .header-main .header-cart-link i{color:var(--bt-home-red)}
body.home .header-main .header-account-title{margin:3px 0 0;font-size:12px!important}
body.home .header-search-form{flex:1;max-width:520px;margin:0 8px!important}
body.home .header-search-form .searchform-wrapper{border:2px solid var(--bt-home-red);border-radius:9px;overflow:hidden;background:#fff}
body.home .header-search-form input{height:40px!important;border:0!important;box-shadow:none!important;font-size:14px}
body.home .header-search-form .submit-button{height:40px!important;min-width:58px;margin:0!important;border:0!important;background:var(--bt-home-red)!important;color:#fff!important}
body.home .header-button-1 .button{padding:9px 13px!important;border:1px solid #ffd0d8!important;background:#fff5f7!important;color:var(--bt-home-red)!important;font-size:11px!important;font-weight:700!important}
body.home .switchboard,body.home .kinhnghiemhay{display:inline-flex!important;flex-direction:column;gap:2px;min-width:100px;color:#2d3440!important;font-size:12px!important;font-weight:750;line-height:1.15;text-decoration:none}
body.home .switchboard span,body.home .kinhnghiemhay span{color:#98a2b3!important;font-size:10px!important;font-weight:500}
body.home #wide-nav,body.home .wide-nav{min-height:46px;background:#fff!important;border-top:1px solid #f0f1f3;border-bottom:1px solid #e8ebef}
body.home #wide-nav .flex-row,body.home .wide-nav .flex-row{width:min(1220px,calc(100% - 32px));margin:0 auto}
body.home #wide-nav .nav>li>a,body.home .wide-nav .nav>li>a{min-height:46px;padding:0 16px;color:#444d5a!important;font-size:13px;font-weight:650;text-transform:none}
body.home #wide-nav .nav>li>a:hover,body.home .wide-nav .nav>li>a:hover{color:var(--bt-home-red)!important}

/* Nội dung: bỏ các mảng vàng/khung vuông cũ, giữ nguyên dữ liệu UX Builder. */
body.home #content{padding:18px 16px 42px}
body.home #content>.section{width:min(1220px,100%);margin:0 auto 20px!important;padding:20px!important;border:1px solid var(--bt-home-line);border-radius:16px;background:#fff!important;box-shadow:0 2px 8px rgba(16,24,40,.025)}
body.home #content>.section>.section-content{max-width:100%!important}
body.home #content .section:first-child{padding:0!important;overflow:hidden}
body.home #content .section:first-child .section-content{padding:16px!important}
body.home #content h1,body.home #content h2,body.home #content h3{color:var(--bt-home-ink);font-weight:800;letter-spacing:-.02em}
body.home #content .section-title,body.home #content .section-title span{color:var(--bt-home-ink)!important}
body.home #content .section-title{margin-bottom:16px;border-bottom:1px solid var(--bt-home-line)!important}
body.home #content .section-title b{height:3px;background:var(--bt-home-red)!important}
body.home #content .section-title span{font-size:20px!important;text-transform:none!important}
body.home #content .is-divider{background:var(--bt-home-red)!important}

/* Bỏ tiêu đề Sale tháng 10 và bộ đếm hết hạn; vẫn giữ danh sách sản phẩm ngay dưới. */
body.home .section-content:has(> .ux-timer) > .page-header-wrapper,
body.home .section-content:has(> .ux-timer) > .ux-timer,
body.home .section-content:has(> .ux-timer) > style{display:none!important}

/* Hero đầu trang theo hệ visual mới: thay khu slide công trình cũ. */
body.home #content>.section:first-of-type{display:none!important}
body.home .bt-home-hero+.section{display:none!important}
body.home .bt-home-hero~h1+.section{display:none!important}
body.home #content>.entry-content>.page-header-wrapper,
body.home #content>.entry-content>.section.slider-section{display:none!important}
body.home .bt-home-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,.95fr);gap:24px;max-width:1180px;margin:22px auto 18px;padding:0 14px}
body.home .bt-hero-main{position:relative;min-height:360px;padding:40px;border-radius:22px;overflow:hidden;background:linear-gradient(122deg,#101d31 0%,#1c2738 46%,#d8414b 125%);color:#fff}
body.home .bt-hero-main:after{content:"";position:absolute;inset:auto -70px -100px auto;width:310px;height:310px;border:1px solid rgba(255,255,255,.16);border-radius:50%;box-shadow:0 0 0 42px rgba(255,255,255,.045),0 0 0 84px rgba(255,255,255,.03)}
body.home .bt-hero-kicker{position:relative;z-index:1;display:inline-block;padding:6px 12px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(18,28,46,.42);font-size:12px;font-weight:800}
body.home .bt-hero-main h2{position:relative;z-index:1;max-width:620px;margin:24px 0 14px;color:#fff!important;font-size:39px!important;line-height:1.12!important;font-weight:800!important}
body.home .bt-hero-main p{position:relative;z-index:1;max-width:590px;margin:0;color:#e7ebf3;font-size:15px;line-height:1.6}
body.home .bt-hero-actions{position:absolute;z-index:1;bottom:36px;left:40px;display:flex;gap:12px;align-items:center}
body.home .bt-hero-actions a{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 20px;border-radius:10px;background:#e71933;color:#fff!important;font-weight:800;text-decoration:none}
body.home .bt-hero-actions .bt-hero-phone{border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.10)}
body.home .bt-hero-proof{position:absolute;z-index:1;right:38px;bottom:50px;color:#fff;font-size:13px;font-weight:700}
body.home .bt-hero-feature{display:flex;align-items:stretch;gap:17px;padding:16px;border:1px solid #e5e8ed;border-radius:22px;background:#fff;box-shadow:0 6px 20px rgba(16,24,40,.05)}
body.home .bt-feature-image{flex:0 0 47%;min-height:290px;border-radius:14px;overflow:hidden;background:#f2f4f7}
body.home .bt-feature-image img{width:100%;height:100%;object-fit:cover}
body.home .bt-feature-info{display:flex;flex:1;flex-direction:column;padding:8px 0}
body.home .bt-feature-info>span{color:#e71933;font-size:11px;font-weight:800;letter-spacing:.07em}
body.home .bt-feature-info h3{margin:8px 0;color:#172033;font-size:16px;line-height:1.35;font-weight:800}
body.home .bt-feature-info strong{margin-top:auto;color:#e71933;font-size:23px}
body.home .bt-feature-info del{display:block;margin-top:3px;color:#98a2b3;font-size:12px;font-weight:400}
body.home .bt-feature-info>a{display:inline-flex;align-self:flex-start;margin-top:12px;padding:10px 15px;border-radius:8px;background:#101c31;color:#fff!important;font-size:13px;font-weight:800;text-decoration:none}
/* Cam kết mua sắm và lối tắt danh mục nằm ngay dưới hero. */
body.home .bt-home-discovery{max-width:1180px;margin:0 auto 22px;padding:0 14px}
body.home .bt-home-promises{display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden;border:1px solid var(--bt-home-line);border-radius:15px;background:#fff}
body.home .bt-home-promises>div{display:flex;gap:12px;min-width:0;padding:16px 18px;border-right:1px solid var(--bt-home-line)}
body.home .bt-home-promises>div:last-child{border-right:0}
body.home .bt-home-promises i,body.home .bt-category-grid i{display:grid;place-items:center;flex:0 0 auto;width:40px;height:40px;border-radius:12px;background:#fff0f2;color:var(--bt-home-red);font-size:22px;font-style:normal;font-weight:800}
body.home .bt-home-promises p{margin:0;line-height:1.32}
body.home .bt-home-promises b{display:block;color:var(--bt-home-ink);font-size:14px}
body.home .bt-home-promises span{display:block;margin-top:3px;color:#717b8e;font-size:12px}
body.home .bt-home-categories{margin-top:22px;padding:26px;border-radius:16px;background:#f7f8fa;border:1px solid #edf0f4}
body.home .bt-category-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:20px}
body.home .bt-category-heading h2{margin:0!important;color:var(--bt-home-ink)!important;font-size:22px!important}
body.home .bt-category-heading p{margin:4px 0 0;color:#6d788c;font-size:14px}
body.home .bt-category-heading>a{color:var(--bt-home-red)!important;font-size:14px;font-weight:800;text-decoration:none;white-space:nowrap}
body.home .bt-category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
body.home .bt-category-grid>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:126px;border:1px solid var(--bt-home-line);border-radius:15px;background:#fff;color:var(--bt-home-ink)!important;font-size:14px;font-weight:800;text-decoration:none;transition:transform .18s,box-shadow .18s,border-color .18s}
body.home .bt-category-grid i{width:56px;height:56px;background:#f8f9fb;font-size:28px}
body.home .bt-category-grid i svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.home .bt-category-grid>a:hover{transform:translateY(-3px);border-color:#ffc5ce;box-shadow:0 8px 18px rgba(20,33,58,.08)}
body.home .bt-category-grid>a:hover i{background:#fff0f2}
@media(max-width:849px){body.home .bt-home-hero{grid-template-columns:1fr;margin-top:12px;padding:0 10px}body.home .bt-hero-main{min-height:300px;padding:26px 22px;border-radius:16px}body.home .bt-hero-main h2{font-size:29px!important}.home .bt-hero-proof{display:none!important}body.home .bt-hero-actions{bottom:24px;left:22px}.home .bt-hero-actions .bt-hero-phone{display:none!important}body.home .bt-hero-feature{min-height:220px;border-radius:16px}.home .bt-feature-image{min-height:180px}.home .bt-feature-info h3{font-size:14px}.home .bt-feature-info strong{font-size:18px}}
@media(max-width:849px){body.home .bt-home-discovery{padding:0 10px;margin-bottom:14px}body.home .bt-home-promises{grid-template-columns:1fr 1fr}body.home .bt-home-promises>div{padding:13px 11px;border-bottom:1px solid var(--bt-home-line)}body.home .bt-home-promises>div:nth-child(2){border-right:0}body.home .bt-home-promises i{width:34px;height:34px;font-size:18px}body.home .bt-home-promises b{font-size:12px}body.home .bt-home-promises span{font-size:10px}.home .bt-home-categories{margin-top:12px;padding:17px 12px}.home .bt-category-heading{align-items:flex-start;margin-bottom:14px}.home .bt-category-heading h2{font-size:18px!important}.home .bt-category-heading p{font-size:12px}.home .bt-category-heading>a{font-size:12px}.home .bt-category-grid{grid-template-columns:repeat(2,1fr);gap:10px}.home .bt-category-grid>a{min-height:108px;font-size:13px}.home .bt-category-grid i{width:46px;height:46px;font-size:23px}.home .bt-category-grid>a:last-child{grid-column:1/-1}}

/* Flash sale / tabs / bộ đếm giữ thông tin cũ nhưng dùng màu và card mới. */
body.home #content .nav-tabs>li>a{border:0!important;border-radius:20px!important;background:#f3f4f6!important;color:#596273!important;font-weight:700}
body.home #content .nav-tabs>li.active>a{background:var(--bt-home-red)!important;color:#fff!important}
body.home #content .ux-timer{display:inline-flex;border:1px solid #ffd2da;border-radius:9px;background:#fff7f8;color:var(--bt-home-red)}
body.home #content .ux-timer span{color:var(--bt-home-red)!important}

/* Card sản phẩm thống nhất với card giá/voucher của trang chi tiết. */
body.home #content .product-small.box{height:100%;overflow:hidden;border:1px solid var(--bt-home-line);border-radius:12px;background:#fff;box-shadow:none;transition:transform .18s ease,box-shadow .18s ease}
body.home #content .product-small.box:hover{transform:translateY(-3px);box-shadow:0 9px 22px rgba(16,24,40,.09)}
body.home #content .product-small.box>.box-image{flex:0 0 auto;align-self:stretch;width:100%!important;background:#fafafa}
body.home #content .product-small.box>.box-image .image-cover{width:100%!important;padding-top:75%!important}
body.home #content .product-small .box-image img{aspect-ratio:1/1;object-fit:contain}
body.home #content .product-small .box-text{padding:11px 12px 13px}
body.home #content .product-small .name{min-height:38px;margin-bottom:7px;line-height:1.35}
body.home #content .product-small .name,.home #content .product-small .name a{color:#29303a!important;font-size:13px!important;font-weight:700}
body.home #content .product-small .price-wrapper{min-height:30px}
body.home #content .product-small .price{color:var(--bt-home-red)!important;font-size:16px!important;font-weight:800}
body.home #content .product-small del{color:#98a2b3!important;font-size:11px}
body.home #content .product-small .badge-inner{border-radius:5px!important;background:var(--bt-home-red)!important;color:#fff!important;font-size:11px!important}
/* Cùng chiều cao thẻ và cùng đường đáy cho toàn bộ nút mua. */
body.home #content .row.list-sp>.col{display:flex}
body.home #content .row.list-sp>.col>.col-inner{display:flex;width:100%;height:100%}
body.home #content .row.list-sp .product-small.box{display:flex;flex:1 1 auto;flex-direction:column}
body.home #content .product-small.box .box-text{height:auto;display:flex;flex:1 1 auto;flex-direction:column}
body.home #content .product-small .add-to-cart-button{display:flex;align-items:flex-end;min-height:48px;margin-top:auto}
body.home #content .product-small .add-to-cart-button a,body.home #content .product-small .add-to-cart-button .button{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:42px;width:100%;margin:0!important;padding:9px 10px!important;border:1px solid #f04458!important;border-radius:7px!important;background:#fff!important;color:#d71935!important;box-shadow:0 2px 5px rgba(215,25,53,.08)!important;font-size:12px!important;font-weight:750!important;line-height:1.1!important;white-space:nowrap}
body.home #content .product-small .add-to-cart-button a:hover,body.home #content .product-small .add-to-cart-button .button:hover{background:#fff4f6!important;color:#b9162e!important;box-shadow:0 3px 8px rgba(215,25,53,.14)!important}

/* Bài viết/công trình và banner không bị chồng lấn, cùng nhịp bo góc. */
body.home #content .box-blog-post,body.home #content .blog-post-inner,body.home #content .banner{overflow:hidden;border-radius:11px}
body.home #content .box-blog-post{border:1px solid var(--bt-home-line);background:#fff}
body.home #content .box-text{padding:12px}
body.home #content .box-text .post-title{font-size:14px;font-weight:750;line-height:1.35}
body.home #content .button{border-radius:8px}
body.home #content .button.primary{background:var(--bt-home-red)!important}

@media(max-width:849px){
	body.home #masthead,body.home .header-main{min-height:54px}
	body.home #masthead .header-inner{width:100%;min-height:54px;padding:0 10px}
	body.home #logo{width:auto;margin-right:auto}
	body.home #logo>a{min-height:38px}
	body.home #logo>a:before{width:40px;height:31px;flex-basis:40px}
	body.home #logo>a:after{margin-left:5px;font-size:16px;letter-spacing:-.3px}
	body.home .header-main .mobile-nav .header-cart-link i{color:var(--bt-home-red)}
	body.home #wide-nav,body.home .wide-nav{display:none!important}
	body.home #content{padding:10px 10px 30px}
	body.home #content>.section{margin-bottom:12px!important;padding:14px 12px!important;border-radius:12px}
	body.home #content .section:first-child .section-content{padding:0!important}
	body.home #content .section-title span{font-size:17px!important}
	body.home #content .products .product-small .box-text{padding:9px}
	body.home #content .products .product-small .name,.home #content .products .product-small .name a{font-size:12px!important}
	body.home #content .products .product-small .price{font-size:14px!important}
}
