@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&family=Nunito:wght@400;500;600;700;800&display=swap');:root{--gold:#f7b645;--dark:#222;--muted:#777;--line:#e9e9e9;--bg:#f7f8f9}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:#262626;font:14px/1.6 'Be Vietnam Pro',Arial,sans-serif;background:#fff}a{text-decoration:none;color:inherit}button,input{font:inherit}button{cursor:pointer}.wrap{width:min(1200px,calc(100% - 36px));margin:auto}.topbar{background:#262626;color:#ddd;font-size:11px}.topbar-inner{display:flex;justify-content:space-between;padding:7px 0;gap:10px}.header{background:#fff}.header-main{display:flex;align-items:center;gap:45px;padding:24px 0}.logo{display:flex;align-items:center;gap:10px;font-size:27px;font-weight:800;letter-spacing:-1.6px;line-height:1}.logo-mark{display:grid;place-items:center;background:var(--gold);color:#222;font-size:27px;border-radius:8px;width:48px;height:48px;letter-spacing:0}.logo-shop{color:#e8a52d}.logo small{display:block;font-size:8px;letter-spacing:3px;margin-top:7px;color:#999}.search{height:46px;display:flex;flex:1;max-width:610px;border:2px solid var(--gold);border-radius:4px;overflow:hidden}.search input{flex:1;border:0;outline:none;padding:0 16px;min-width:0}.search button{background:var(--gold);border:0;padding:0 20px;font-weight:700;color:#222}.header-contact{text-align:right;margin-left:auto}.header-contact span{display:block;font-size:12px;color:#999}.header-contact a{font-size:18px;font-weight:800}.navbar{background:var(--gold);border-bottom:1px solid #e8a62e}.nav-inner{display:flex;gap:0;overflow-x:auto;white-space:nowrap}.nav-inner a{padding:13px 17px;font-size:13px;font-weight:700}.nav-inner a:hover,.nav-inner .home-link{background:#e7a833}.breadcrumb{font-size:12px;color:#777;padding:24px 0 16px}.breadcrumb a:hover{color:#c88b12}.hero{display:grid;grid-template-columns:1.5fr .75fr;gap:18px;margin:24px 0 30px}.hero-main{background:linear-gradient(105deg,#fff1cc,#ffdf8b);padding:48px 47px;min-height:280px;display:flex;align-items:center;position:relative;overflow:hidden;border-radius:6px}.hero-main:after{content:none}.hero h1{font-size:36px;line-height:1.17;letter-spacing:-1.4px;margin:10px 0}.hero p{font-size:15px;color:#666;max-width:500px}.hero-note{display:block;letter-spacing:2px;font-weight:800;font-size:11px;color:#a97922}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:3px;padding:12px 20px;font-weight:700;background:#222;color:white;border:1px solid #222}.btn.gold{background:var(--gold);color:#222;border-color:var(--gold)}.btn.outline{background:white;color:#222;border:1px solid #ddd}.btn:hover{filter:brightness(.94)}.hero-side{display:grid;grid-template-rows:1fr 1fr;gap:18px}.side-tile{background:#f2f5ef;padding:23px;border-radius:5px;display:flex;flex-direction:column;justify-content:center}.side-tile:nth-child(2){background:#f5f0e9}.side-tile b{font-size:20px}.side-tile small{color:#777;letter-spacing:1px}.side-tile a{font-weight:700;color:#a47318;margin-top:10px}.services{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;border:1px solid var(--line);padding:17px 20px;margin-bottom:35px}.service{display:flex;align-items:center;gap:13px}.service i{font-size:27px;font-style:normal;color:#d39a2a}.service b{display:block;font-family:'Nunito','Be Vietnam Pro',Arial,sans-serif}.service small{display:block;color:#888}.section{margin:32px 0 40px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:2px solid var(--line);padding-bottom:12px;margin-bottom:20px}.section h2{margin:0;font-size:22px;font-family:'Nunito','Be Vietnam Pro',Arial,sans-serif;font-weight:800}.section-head a{color:#ad7f24;font-weight:700}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.category-card{padding:22px 19px;border:1px solid #efd49a;background:linear-gradient(130deg,#fff7e3,#f4d27c);border-radius:4px}.category-card strong{font-size:17px;display:block;color:#222}.category-card span{color:#222;font-size:12px;opacity:.78}.category-card:hover,.product-card:hover{box-shadow:0 5px 18px #0000000e;border-color:#d9a53a}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.product-card{min-width:0;border:1px solid #eee;transition:.15s;background:white;display:flex;flex-direction:column}.product-image{aspect-ratio:1/1;position:relative;overflow:hidden;background:#f6f6f6;display:grid;place-items:center}.product-image img{width:100%;height:100%;object-fit:contain;transition:transform .25s}.product-card:hover .product-image img{transform:scale(1.04)}.no-image{display:grid;place-items:center;min-height:100%;background:#f5f5f5;color:#bbb;width:100%;font-weight:800;font-size:26px}.product-content{padding:13px 15px 17px;display:flex;flex:1;flex-direction:column;gap:6px}.category-mini{font-size:11px;color:#999;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-name{font-weight:600;line-height:1.5;min-height:44px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.price{font-weight:800;color:#d71920;font-size:17px}.old-price{font-size:12px;color:#d71920;text-decoration:line-through;margin-left:8px}.quickview{margin-top:auto;padding-top:10px;color:#996c0d;font-weight:700;font-size:12px}.layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:25px;margin:10px 0 55px}.sidebar{border:1px solid var(--line);padding:18px;height:max-content}.sidebar h3{font-size:17px;margin:0 0 10px}.sidebar a{display:flex;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid #f2f2f2;font-size:13px}.sidebar a:hover,.sidebar a.active{color:#bf8719}.toolbar{background:#f8f8f8;border:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:12px 16px;margin-bottom:18px;gap:10px}.toolbar select{border:1px solid #ddd;background:#fff;padding:8px}.pagination{display:flex;justify-content:center;gap:6px;margin:30px 0}.pagination button{min-width:37px;height:37px;background:#fff;border:1px solid #ddd}.pagination button.active{background:var(--gold);border-color:var(--gold)}.detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:38px;margin:15px 0 35px}.detail-main-image{aspect-ratio:1;display:grid;place-items:center;border:1px solid var(--line);background:#fafafa}.detail-main-image img{max-width:100%;max-height:100%;object-fit:contain}.thumbs{display:flex;gap:10px;overflow-x:auto;margin-top:12px}.thumbs button{border:1px solid #ddd;padding:2px;background:#fff;width:80px;height:80px;flex:0 0 80px}.thumbs button.active{border:2px solid var(--gold)}.thumbs img{width:100%;height:100%;object-fit:cover}.detail-title{font-size:28px;line-height:1.35;margin:0 0 18px}.detail-price{font-size:27px;margin:0 0 15px}.detail-summary{line-height:1.9;color:#555;border-top:1px solid #eee;padding-top:17px}.detail-info{margin:22px 0;padding:16px;background:#fafafa;color:#666}.detail-actions{display:flex;gap:10px;flex-wrap:wrap}.description{padding:24px;border:1px solid var(--line);margin:20px 0 45px}.description h2{margin:0 0 10px;font-size:21px}.description p{white-space:pre-line;line-height:1.95;color:#555}.empty{padding:45px 15px;text-align:center;background:#fafafa}.footer{background:#252525;color:#ccc;margin-top:45px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1.4fr;gap:55px;padding:50px 0 35px}.footer h3{color:var(--gold);font-size:22px;margin:0}.footer h4{color:#fff;margin:0 0 17px;font-family:'Nunito','Be Vietnam Pro',Arial,sans-serif;font-weight:800}.footer a{display:block;margin:8px 0}.footer p{color:#aaa;line-height:1.9}.copyright{padding:17px 0;border-top:1px solid #444;color:#888;font-size:12px}.floating-phone{position:fixed;bottom:20px;right:20px;background:var(--gold);border-radius:50%;width:52px;height:52px;display:grid;place-items:center;font-size:24px;box-shadow:0 4px 14px #0003;z-index:3}.intro{max-width:800px;padding:35px 0 80px}.intro h1{font-size:30px}.muted{color:#888}.text-body{line-height:1.9}.tag{display:inline-block;background:#fff4d9;color:#9e6e13;font-size:11px;font-weight:700;padding:4px 9px;border-radius:3px}.notice{background:#fff9ec;border-left:3px solid var(--gold);padding:12px 16px;margin:12px 0 25px;font-size:13px;color:#866725}@media(max-width:900px){.header-main{gap:20px}.header-contact{display:none}.hero{grid-template-columns:1fr}.hero-side{grid-template-columns:1fr 1fr;grid-template-rows:auto}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.category-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.wrap{width:min(100% - 24px,1200px)}.topbar-inner span:nth-child(2){display:none}.header-main{flex-wrap:wrap;padding:16px 0;gap:14px}.logo{font-size:22px}.logo-mark{width:39px;height:39px}.search{order:2;flex-basis:100%;max-width:none;height:42px}.search button{padding:0 12px}.nav-inner a{padding:11px 13px}.hero-main{padding:27px 25px;min-height:245px}.hero h1{font-size:28px}.hero-side{gap:10px}.side-tile{padding:16px}.side-tile b{font-size:16px}.services{grid-template-columns:1fr;padding:14px;gap:9px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-content{padding:10px}.product-name{font-size:12px;min-height:38px}.price{font-size:14px}.category-grid{gap:9px}.category-card{padding:14px}.category-card strong{font-size:14px}.layout{display:block}.sidebar{display:none}.toolbar{flex-wrap:wrap}.detail{grid-template-columns:1fr;gap:20px}.detail-title{font-size:23px}.footer-grid{grid-template-columns:1fr 1fr;gap:20px;padding:35px 0}.footer-grid section:first-child{grid-column:span 2}}
/* Original CNC Pakuti logo */
.logo{display:inline-flex;align-items:center;flex:0 0 auto;letter-spacing:normal;line-height:normal}
.logo img{display:block;width:204px;height:auto;max-width:100%;object-fit:contain}
@media(max-width:620px){.logo img{width:180px}}

/* YouTube videos inside product details */
.video-section{margin:0 0 45px;padding:24px;border:1px solid var(--line);background:#fff}
.video-section h2{font-size:21px;margin:0 0 18px}
.video-grid{display:flex;flex-wrap:wrap;align-items:start;gap:20px}
.video-item{width:min(100%,460px)}
.video-item.video-shorts{width:min(100%,260px)}
.video-frame{aspect-ratio:16/9;background:#171717;border-radius:9px;overflow:hidden}
.video-shorts .video-frame{aspect-ratio:9/16}
.video-frame iframe{width:100%;height:100%;border:0;display:block}
.video-item>a{display:inline-block;margin-top:8px;color:#99680e;text-decoration:underline;font-size:13px}
@media(max-width:620px){.video-section{padding:16px}.video-item{width:100%}.video-item.video-shorts{width:min(100%,300px)}}

/* WooCommerce variation prices reconstructed from backup */
.variation-picker{margin:18px 0 20px;padding:16px;border:1px solid #ead9b5;border-radius:7px;background:#fffbf2}
.variation-picker label{display:block;font-weight:700;margin-bottom:9px}
.variation-picker select{width:100%;max-width:520px;min-height:46px;padding:9px 12px;color:#262626;border:1px solid #d6c8a8;border-radius:5px;background:#fff;font:inherit}
.variation-picker select:focus{outline:2px solid #f7b645;outline-offset:1px}
.variant-status{font-size:13px;color:#74684c;margin-top:9px}
.product-card .price{line-height:1.6}

/* Giữ bố cục mô tả sản phẩm như nội dung gốc trong backup. */
.description p{white-space:pre-line;overflow-wrap:anywhere;line-height:1.9;}

/* Article archive and detail pages reconstructed from published backup posts. */
.article-index{padding:24px 0 60px}.article-heading{margin:10px 0 24px}.article-heading h1{font-size:34px;margin:8px 0}.article-heading p{color:#777;margin:0}
.article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.article-card{background:#fff;border:1px solid #e7e7e7;border-radius:7px;padding:24px;display:flex;flex-direction:column;min-height:235px;color:#292929;text-decoration:none;transition:box-shadow .2s,border-color .2s}
.article-card:hover{border-color:#f7b645;box-shadow:0 6px 25px #0000000d}.article-card small{color:#ad751c;letter-spacing:.08em;font-size:11px;font-weight:700}.article-card h2{font-size:19px;line-height:1.4;margin:14px 0 10px}.article-card p{font-size:14px;color:#777;line-height:1.7;flex:1}.article-card span{font-weight:700;color:#956309;margin-top:16px}
.article-detail{max-width:910px;background:#fff;border:1px solid #e7e7e7;padding:38px 44px;margin:20px auto 55px}.article-detail h1{font-size:32px;line-height:1.4;margin:10px 0 26px}.article-detail .article-back{display:block;color:#96660e;margin-bottom:25px}.article-body{white-space:pre-line;overflow-wrap:anywhere;line-height:1.9;font-size:16px;color:#404040}
@media(max-width:900px){.article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.article-grid{grid-template-columns:1fr}.article-detail{padding:22px 18px}.article-detail h1{font-size:24px}.article-card{min-height:185px}.article-index{padding-top:12px}}

/* Mobile layout: prevent horizontal page scrolling and show full product photos. */
html,body{max-width:100%;overflow-x:clip}
#app,.detail,.detail>div,.description,.video-section,.article-detail{min-width:0;max-width:100%}
.detail-main-image{width:100%;min-width:0;overflow:hidden}
.detail-main-image img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
.detail-summary,.detail-info,.description,.article-body{overflow-wrap:anywhere}
@media(max-width:900px){
 .nav-inner{white-space:normal;flex-wrap:wrap;overflow:visible}
 .nav-inner a{flex:0 0 auto}
}
@media(max-width:620px){
 .wrap{width:calc(100% - 24px);max-width:100%}
 .topbar-inner{min-width:0}
 .topbar-inner span{overflow-wrap:anywhere}
 .navbar .nav-inner{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:0}
 .nav-inner a{min-width:0;white-space:normal;overflow-wrap:break-word;line-height:1.35;padding:10px 12px;border-bottom:1px solid #e9a52b;font-size:12px}
 .detail{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
 .detail-main-image{aspect-ratio:1 / 1;height:auto}
 .thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;overflow:visible}
 .thumbs button{width:100%;height:auto;aspect-ratio:1 / 1;min-width:0;flex:none}
 .thumbs img{object-fit:contain}
 .detail-actions .btn{max-width:100%;white-space:normal;text-align:center}
 .hero-main,.hero-side,.side-tile{min-width:0}
 .hero h1{overflow-wrap:anywhere}
 .variation-picker select{min-width:0;max-width:100%}
 .footer-grid{min-width:0}
}

/* Center only the CNC logo on phone screens; desktop layout stays unchanged. */
@media (max-width:620px) {
  .header-main > .logo {
    margin-left:auto;
    margin-right:auto;
    justify-content:center;
  }
}

/* Numbered headings in article content, without affecting desktop body typography. */
.article-body .article-section-title{font-size:1.12em;font-weight:800;line-height:1.5;color:#262626;margin:24px 0 10px}
.article-body .article-line{white-space:pre-wrap;overflow-wrap:anywhere}
.article-body .article-spacer{height:0.8em}
@media(max-width:620px){
 .article-detail{padding:18px 15px}
 .article-detail h1{font-size:20px;line-height:1.4;margin-bottom:18px}
 .article-body{font-size:13px;line-height:1.7}
 .article-body .article-section-title{font-size:15px;line-height:1.45;margin:19px 0 8px;font-weight:800}
 .article-body .article-spacer{height:.65em}
 .article-card h2{font-size:17px}
 .article-card p{font-size:13px}
 .article-heading h1{font-size:25px}
}

/* Giữ nguyên xuống dòng mô tả nhanh trong dữ liệu backup trên cả desktop và mobile. */
.detail-summary{white-space:pre-line;overflow-wrap:anywhere}

/* Chỉ thu nhỏ chữ mô tả sản phẩm trên điện thoại; desktop không đổi cỡ chữ. */
@media(max-width:620px){
  .detail-summary{font-size:13px;line-height:1.75}
  .description p{font-size:13px;line-height:1.75}
}

/* Trang chủ: ô thông tin phí vận chuyển, tông xanh dương dịu */
.hero-side .side-tile{background:linear-gradient(125deg,#f0f9ff 0%,#d5ecff 100%);border:1px solid #d4e8f9;transition:background .2s ease,border-color .2s ease,box-shadow .2s ease;}
.hero-side .side-tile:nth-child(2){background:linear-gradient(125deg,#edf7ff 0%,#cce6fc 100%);}
.hero-side .side-tile:hover,.hero-side .side-tile:nth-child(2):hover{background:linear-gradient(125deg,#dcedff 0%,#a9d6f9 100%);border-color:#9ac9ec;box-shadow:0 4px 14px rgba(43,111,162,.12);}
.hero-side .side-tile b{color:#15283b;}
.hero-side .side-tile small{color:#54718b;}
.hero-side .side-tile .side-tile-caption{display:block;margin-top:10px;color:#326a97;font-weight:600;}
.hero-side .side-tile a{color:#176baf;}
.hero-side .side-tile a:hover{color:#0c4674;text-decoration:underline;}

/* Banner typography: rounded, readable Vietnamese; no changes to other sections. */
.hero-note{font-family:'Nunito','Be Vietnam Pro',Arial,sans-serif;font-weight:800;font-size:12px;letter-spacing:.5px;color:#9a6716;text-transform:none}
.hero h1{font-family:'Nunito','Be Vietnam Pro',Arial,sans-serif;font-size:32px;line-height:1.3;letter-spacing:-.55px;font-weight:800}
.hero p{font-family:'Nunito','Be Vietnam Pro',Arial,sans-serif;font-size:15px;line-height:1.7;font-weight:600;color:#4f483d}
@media(max-width:620px){.hero-note{font-size:11px;letter-spacing:.3px}.hero h1{font-size:25px;line-height:1.32;letter-spacing:-.4px}.hero p{font-size:14px;line-height:1.7}}

/* Banner: fit the closing words on the same line on desktop, and soften CTA. */
.hero-main{padding-left:32px;padding-right:32px}
.hero-main .hero-copy,.hero-main>div{min-width:0;width:100%}
.hero-main p{max-width:none;font-size:14px;letter-spacing:-.2px;line-height:1.65}
.hero-main .btn{background:#505050;border-color:#505050;color:#fff;transition:background .18s ease,border-color .18s ease}
.hero-main .btn:hover{background:#636363;border-color:#636363}
@media(max-width:620px){
  .hero-main{padding:27px 20px}
  .hero-main p{font-size:13px;letter-spacing:-.25px;line-height:1.65}
}

/* Nunito for featured category heading and names only. */
.featured-categories .section-head h2, .featured-categories .category-card strong{font-family:'Nunito','Be Vietnam Pro',Arial,sans-serif;font-weight:800;}

/* Article image restoration: featured images and original inline illustrations */
.article-card{overflow:hidden;padding:0!important;display:flex;flex-direction:column}
.article-card-image{width:100%;aspect-ratio:16/10;overflow:hidden;background:#f7f7f7}
.article-card-image img{display:block;width:100%;height:100%;object-fit:cover}
.article-card-content{padding:18px;display:flex;flex-direction:column;flex:1}
.article-card-content span{margin-top:auto;padding-top:12px}
.article-featured-image{margin:22px auto 28px;max-width:900px;text-align:center}
.article-featured-image img{display:block;width:100%;max-height:530px;object-fit:contain;border-radius:5px;background:#f7f7f7}
.article-body img{max-width:100%;height:auto;display:block;margin:12px auto;border-radius:4px}
.article-body figure{margin:24px auto;text-align:center;max-width:100%}
.article-body figcaption{font-size:12px;color:#777;margin-top:7px}
.article-body p{margin:10px 0;line-height:1.85}
.article-body h2,.article-body h3,.article-body h4{font-family:'Nunito','Be Vietnam Pro',Arial,sans-serif;font-weight:800;line-height:1.45;margin:22px 0 12px}
.article-body h3{font-size:18px}
.article-body li{margin-bottom:5px}
.article-body ul,.article-body ol{padding-left:23px}
@media(max-width:620px){
 .article-card-content{padding:13px}
 .article-featured-image{margin:14px 0 19px}
 .article-body p,.article-body li{font-size:13px;line-height:1.75}
 .article-body h2,.article-body h3,.article-body h4{font-size:15px}
 .article-body figure{margin:18px auto}
}

/* Footer: thông tin cửa hàng và liên hệ bên trái, danh mục bên phải (desktop & mobile). */
.footer-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(190px,1fr);gap:clamp(22px,5vw,80px);align-items:start;}
.footer-left{min-width:0;display:flex;flex-direction:column;gap:22px;}
.footer-left section{min-width:0;}
.footer-contact p{overflow-wrap:break-word;margin:9px 0;}
.footer-left>section:first-child p{max-width:650px;}
.footer-categories{min-width:0;}
@media(max-width:620px){
  .footer-grid{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:14px;padding:30px 0;}
  .footer-left{gap:20px;}
  .footer-grid .footer-left section:first-child{grid-column:auto;}
  .footer h3{font-size:18px;}
  .footer h4{font-size:13px;margin-bottom:12px;}
  .footer p,.footer a{font-size:12px;line-height:1.65;}
  .footer-categories a{overflow-wrap:anywhere;}
}

/* Footer brand typography */
.footer h3{font-family:'Nunito','Be Vietnam Pro',Arial,sans-serif;font-weight:800;}

/* Footer mobile: one full-width column; desktop retains two-column layout. */
@media (max-width:620px) {
  .footer-grid {
    grid-template-columns:minmax(0,1fr);
    gap:26px;
  }
  .footer-left, .footer-categories {width:100%;min-width:0;}
  .footer-grid .footer-categories {grid-column:1;}
  .footer-categories a {overflow-wrap:normal;word-break:normal;}
}

/* Related articles below article detail */
.related-articles{margin:12px 0 55px}
.related-articles .section-head h2{font-family:'Nunito','Be Vietnam Pro',Arial,sans-serif;font-weight:800}
@media(max-width:620px){.related-articles{margin:14px 0 36px}}

/* Back-to-top: positioned above the existing phone button */
.back-to-top{position:fixed;right:20px;bottom:84px;width:46px;height:46px;border-radius:50%;background:#f7b645;border:1px solid #e8a62e;color:#222;font-size:26px;line-height:1;display:grid;place-items:center;box-shadow:0 4px 14px #0002;z-index:4;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px);transition:opacity .2s ease,visibility .2s ease,transform .2s ease,background .2s ease;cursor:pointer}
.back-to-top.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
.back-to-top:hover{background:#e7a833}
.back-to-top:focus-visible{outline:3px solid #2776b8;outline-offset:2px}
@media(max-width:620px){.back-to-top{right:22px;bottom:83px;width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){.back-to-top{transition:none}}


/* Khoảng cách đoạn văn bài viết: gọn hơn, giữ tiêu đề và hình ảnh */
.article-body { white-space: normal; }
.article-body p { margin: 0 0 10px; line-height: 1.75; }
.article-body p:empty { display: none; }
.article-body p + p { margin-top: 0; }
.article-body .article-line { white-space: pre-wrap; }
.article-body .article-spacer { height: 0; }
@media (max-width: 620px) {
  .article-body p { margin-bottom: 8px; line-height: 1.7; }
}

/* Menu đầu trang: Nunito hỗ trợ tiếng Việt, nét chữ mềm và đồng đều */
.navbar .nav-inner a{font-family:'Nunito','Be Vietnam Pro',Arial,sans-serif;font-weight:700;letter-spacing:0;font-synthesis:none;}

/* Menu vàng: Nunito to hơn và đậm hơn trên cả máy tính và điện thoại */
.navbar .nav-inner a{font-family:'Nunito','Be Vietnam Pro',Arial,sans-serif!important;font-weight:800!important;font-size:15px!important;letter-spacing:0!important;}
@media(max-width:620px){.navbar .nav-inner a{font-size:14px!important;font-weight:800!important;}}

/* Video sản phẩm: xem ảnh trước, không tải iframe lỗi 153 khi mở file HTML. */
.video-preview{position:relative;display:grid;place-items:center;background:#141414;overflow:hidden}
.video-preview>img{width:100%;height:100%;object-fit:cover;filter:brightness(.76)}
.video-preview .video-watch{position:absolute;z-index:1;padding:12px 17px;border-radius:6px;background:#df1821;color:#fff;text-decoration:none;font-family:'Nunito','Be Vietnam Pro',sans-serif;font-size:15px;font-weight:800;box-shadow:0 4px 16px #0005;text-align:center}
.video-preview .video-watch:hover{background:#ba111b}
.video-options{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px}
.video-options a{color:#8d640e;text-decoration:underline;font-size:13px}
.video-inline-btn{border:1px solid #d7b46a;border-radius:5px;background:#fff7e8;color:#594014;padding:7px 11px;font-size:12px;font-weight:700}
.video-inline-btn[hidden]{display:none!important}
.video-hint{font-size:12px;color:#777;margin:12px 0 0}

/* Footer: tăng nhẹ chữ tiêu đề Liên hệ và Danh mục sản phẩm. */
.footer h4 {font-family:'Nunito','Be Vietnam Pro',Arial,sans-serif;font-size:17px;font-weight:800;line-height:1.4;}
@media(max-width:620px){.footer h4{font-size:16px;}}

/* Home product carousel before banner */
.home-product-carousel-section{margin:4px 0 22px}
.home-product-carousel{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;background:#fff;border:1px solid #ece8df;border-radius:16px;padding:14px 10px;box-shadow:0 10px 24px rgba(0,0,0,.04)}
.home-product-carousel-window{min-width:0;overflow:hidden}
.home-product-carousel-track{display:grid;grid-template-columns:repeat(var(--visible-count,7),minmax(0,1fr));gap:10px;align-items:stretch}
.home-carousel-card{display:flex;align-items:center;justify-content:center;min-height:150px;padding:10px 8px;border-radius:14px;background:#fff;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.home-carousel-card:hover{transform:translateY(-2px);box-shadow:0 10px 20px rgba(0,0,0,.08);background:#fffdfa}
.home-carousel-card:focus-visible{outline:3px solid #2776b8;outline-offset:2px}
.home-carousel-image{width:100%;height:130px;object-fit:contain;display:block}
.home-carousel-arrow{width:42px;height:42px;border-radius:50%;border:1px solid #e2d7bd;background:#fff7e8;color:#9b6a08;font-size:30px;line-height:1;display:grid;place-items:center;cursor:pointer;transition:background .2s ease,transform .2s ease,border-color .2s ease, color .2s ease}
.home-carousel-arrow:hover{background:#f6ebd1;border-color:#d7ba7b;color:#7b5205;transform:translateY(-1px)}
.home-carousel-arrow:focus-visible{outline:3px solid #2776b8;outline-offset:2px}
@media(max-width:1100px){.home-carousel-card{min-height:138px}.home-carousel-image{height:118px}}
@media(max-width:720px){.home-product-carousel-section{margin:2px 0 18px}.home-product-carousel{gap:8px;padding:12px 8px;border-radius:14px}.home-carousel-card{min-height:120px;padding:8px 6px}.home-carousel-image{height:100px}.home-carousel-arrow{width:36px;height:36px;font-size:26px}}
@media(max-width:520px){.home-product-carousel{grid-template-columns:38px 1fr 38px}.home-product-carousel-track{gap:8px}.home-carousel-card{min-height:112px;padding:7px 4px}.home-carousel-image{height:90px}}


/* Mobile carousel: four images visible, compact navigation, swipe-friendly */
@media(max-width:720px){
  .home-product-carousel{grid-template-columns:22px minmax(0,1fr) 22px;gap:3px;padding:7px 4px;border-radius:12px}
  .home-product-carousel-track{gap:3px}
  .home-carousel-card{min-width:0;min-height:77px;padding:2px 1px;border-radius:5px}
  .home-carousel-image{width:100%;height:72px;max-width:100%;object-fit:contain}
  .home-carousel-arrow{width:22px;height:22px;font-size:18px;line-height:1;border-radius:50%}
  .home-product-carousel-window{touch-action:pan-y;user-select:none;-webkit-user-select:none}
  .home-product-carousel-window img{-webkit-user-drag:none;user-select:none}
}
@media(max-width:380px){
  .home-carousel-image{height:61px}
  .home-carousel-card{min-height:66px}
}

/* Header contact styling: more prominent label and red phone number */
.header-contact span {font-weight:800;color:#555;}
.header-contact a {color:#d71920;}

/* Header: tư vấn dễ đọc và mềm mại hơn, không ảnh hưởng số điện thoại */
.header-contact span {
  font-family: 'Nunito', 'Be Vietnam Pro', Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0;
}

/* Video: tap once anywhere on the video thumbnail to play inline. */
.video-preview .video-start{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:1;padding:0}
.video-preview .video-start:hover,.video-preview .video-start:focus-visible{background:rgba(0,0,0,.12)}
.video-preview .video-start:focus-visible{outline:3px solid #ffc44c;outline-offset:-4px}
.video-preview .video-play-symbol{width:68px;height:48px;border-radius:14px;display:grid;place-items:center;background:#e62117;box-shadow:0 3px 14px #0007;color:#fff;font-size:22px;line-height:1;padding-left:4px;transition:transform .18s ease,background .18s ease}
.video-preview .video-start:hover .video-play-symbol{background:#c9150d;transform:scale(1.07)}
@media(max-width:620px){.video-preview .video-play-symbol{width:58px;height:42px;font-size:19px}}

/* SEO: static, crawlable pages and product detail thumbnails */
.seo-intro{color:#666;line-height:1.75;margin:0 0 22px}.seo-home-intro{padding:12px 0 8px}.seo-home-intro h1{font-size:24px;line-height:1.4}.seo-home-intro p{font-size:15px;color:#666}.seo-category-list{display:flex;gap:12px;flex-wrap:wrap}.seo-category-list a{background:#fff8e9;padding:10px 14px;border:1px solid #eedcbb;border-radius:6px;color:#66440a;text-decoration:none}.product-grid{margin-bottom:28px}.video-start{border:0;background:none;color:inherit;display:block;position:relative;width:100%;height:100%;cursor:pointer;padding:0}.video-start img{width:100%;height:100%;object-fit:cover;display:block}.video-start .video-play-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:14px;background:#f21a2b;color:#fff;padding:12px 18px;font-size:28px;box-shadow:0 3px 12px #0005}.video-options a{display:inline-block;margin-top:10px;color:#9b671b}.video-hint{font-size:13px;color:#6d6d6d;margin:14px 0 0}@media(max-width:620px){.seo-home-intro h1{font-size:20px}}

/* Pakuti gallery: single scrollable row with navigation, desktop + mobile. */
.detail > div:first-child{min-width:0}
.gallery-strip{display:grid;grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;gap:6px;width:100%;max-width:100%;margin-top:12px;min-width:0}
.gallery-strip .thumbs{display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;min-width:0;width:100%;max-width:100%;margin:0!important;scrollbar-width:none;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.gallery-strip .thumbs::-webkit-scrollbar{display:none}
.gallery-strip .thumbs button{display:block;flex:0 0 76px!important;width:76px!important;height:76px!important;min-width:0;padding:2px;aspect-ratio:1/1;scroll-snap-align:start}
.gallery-strip .thumbs button img{width:100%;height:100%;object-fit:contain}
.gallery-strip .gallery-nav{width:34px;height:42px;padding:0;display:grid;place-items:center;border:1px solid #e6d7ad;border-radius:8px;background:#fff8e9;color:#8b630b;font-size:30px;line-height:1;cursor:pointer;touch-action:manipulation}
.gallery-strip .gallery-nav:hover{background:#f9e9c3}
.gallery-strip .gallery-nav:focus-visible{outline:2px solid #b77b0a;outline-offset:2px}
.gallery-strip .gallery-nav[hidden]{display:none}
.gallery-strip:has(.gallery-nav[hidden]){grid-template-columns:minmax(0,1fr)}
@media(max-width:620px){
 .gallery-strip{grid-template-columns:26px minmax(0,1fr) 26px;gap:4px}
 .gallery-strip .gallery-nav{width:26px;height:38px;font-size:26px;border-radius:6px}
 .gallery-strip .thumbs button{flex:0 0 calc((100% - 24px)/4)!important;width:calc((100% - 24px)/4)!important;height:auto!important;aspect-ratio:1/1}
}
