/* Khung mặc định cho trang chưa có thiết kế riêng: giỏ hàng, thanh toán, trang sách, 404, trang WordPress thường */
#nxh-def{--navy:#0a1930;--ink:#0f1b33;--muted:#5a6478;--gold:#b08a2e;--gold2:#e3c27a;--cream:#faf3ee;--line:#e6e0d8;--red:#c0202b;
 font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;color:var(--ink);line-height:1.65;overflow-x:clip}
#nxh-def *{box-sizing:border-box}
#nxh-def .wrap{max-width:1152px;margin:0 auto;padding:0 24px}
#nxh-def h1,#nxh-def h2,#nxh-def h3,#nxh-def h4{font-family:'Lora',Georgia,serif;color:var(--ink);line-height:1.3}
#nxh-def .hd{background:linear-gradient(160deg,#0a1930,#13275a);color:#fff;padding:44px 0 52px}
#nxh-def .hd h1{color:#fff;font-size:clamp(28px,3.6vw,42px);margin:10px 0 0;font-weight:600}
#nxh-def .crumb{font-size:13.5px;color:#aeb8cc}
#nxh-def .crumb a{color:inherit;text-decoration:none}
#nxh-def .crumb a:hover{color:#fff}
#nxh-def .crumb b{color:var(--gold2)}
#nxh-def .bd{padding:56px 0 80px;background:#fff}
#nxh-def .bd .crumb{color:var(--muted);margin-bottom:24px}
#nxh-def .bd .crumb a:hover{color:var(--red)}
#nxh-def .bd .crumb b{color:var(--ink)}
#nxh-def .content{max-width:820px;margin:0 auto;font-size:16.5px;color:#26304a}
#nxh-def .content.wide,#nxh-def .woocommerce-cart .content,#nxh-def .woocommerce-checkout .content{max-width:none}
body.woocommerce-cart #nxh-def .content,body.woocommerce-checkout #nxh-def .content,body.woocommerce-account #nxh-def .content{max-width:none}
#nxh-def .content > *:first-child{margin-top:0}
#nxh-def .content h2{font-size:26px;margin:36px 0 14px}
#nxh-def .content h3{font-size:21px;margin:28px 0 12px}
#nxh-def .content p{margin:0 0 18px}
#nxh-def .content a{color:var(--red)}
#nxh-def .content img{max-width:100%;height:auto;border-radius:10px}
#nxh-def .content blockquote{margin:24px 0;padding:16px 20px;border-left:4px solid var(--gold);background:var(--cream);border-radius:0 12px 12px 0;font-family:'Lora',serif;font-style:italic;font-size:19px}
#nxh-def .content table{width:100%;border-collapse:collapse}
#nxh-def .content th,#nxh-def .content td{border-bottom:1px solid var(--line);padding:10px 8px;text-align:left}
#nxh-def .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:700;font-size:13.5px;letter-spacing:.05em;text-transform:uppercase;padding:16px 24px;border-radius:6px;border:1.5px solid transparent;text-decoration:none;line-height:1.2}
#nxh-def .btn-red{background:var(--red);color:#fff;box-shadow:0 12px 26px rgba(192,32,43,.26)}
#nxh-def .btn-outw{border-color:rgba(255,255,255,.55);color:#fff}

/* Nút & ô nhập của WordPress / WooCommerce theo màu thiết kế */
#nxh-def .content input[type=text],#nxh-def .content input[type=email],#nxh-def .content input[type=tel],#nxh-def .content input[type=password],#nxh-def .content input[type=number],#nxh-def .content input[type=search],#nxh-def .content select,#nxh-def .content textarea{border:1.5px solid var(--line);border-radius:8px;padding:11px 13px;font:inherit;font-size:15px;max-width:100%}
#nxh-def .content .button,#nxh-def .content button[type=submit],#nxh-def .content .wp-element-button,#nxh-def .content .wp-block-button__link{background:var(--red);color:#fff;border:0;border-radius:6px;padding:14px 22px;font-weight:700;font-size:13.5px;letter-spacing:.04em;text-transform:uppercase;cursor:pointer;text-decoration:none}
#nxh-def .content .button:hover,#nxh-def .content button[type=submit]:hover{filter:brightness(1.08);color:#fff}
#nxh-def .woocommerce-message,#nxh-def .woocommerce-info{border-top-color:var(--gold)}
#nxh-def .woocommerce div.product .product_title,#nxh-def .product_title{font-size:clamp(26px,3vw,36px)}
#nxh-def .woocommerce div.product p.price,#nxh-def .woocommerce div.product span.price{color:var(--red);font-weight:700}
#nxh-def a:focus-visible,#nxh-def button:focus-visible,#nxh-def input:focus-visible{outline:3px solid var(--gold2);outline-offset:2px}

/* 404 */
#nxh-def .e404{padding:80px 0 96px;text-align:center}
#nxh-def .e404 .pill{display:inline-block;border:1px solid rgba(227,194,122,.5);color:var(--gold2);border-radius:999px;padding:7px 14px;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
#nxh-def .e404 h1{margin-top:18px}
#nxh-def .e404 .lead{color:#c9d0de;max-width:620px;margin:16px auto 0;font-size:17px}
#nxh-def .srch{display:flex;max-width:520px;margin:28px auto 0;background:#fff;border-radius:10px;overflow:hidden}
#nxh-def .srch input{flex:1;border:0;padding:0 16px;height:54px;font:inherit;font-size:15.5px;min-width:0}
#nxh-def .srch button{border:0;background:var(--red);color:#fff;font-weight:700;padding:0 24px;cursor:pointer;font:inherit;font-weight:700}
#nxh-def .btns{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:28px}

/* Danh sách mặc định */
#nxh-def .list{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
#nxh-def .list .item{display:flex;flex-direction:column;gap:8px;border:1px solid var(--line);border-radius:14px;overflow:hidden;text-decoration:none;color:inherit;padding-bottom:18px}
#nxh-def .list .item img{width:100%;aspect-ratio:16/9;object-fit:cover}
#nxh-def .list .item b,#nxh-def .list .item span{padding:0 18px}
#nxh-def .list .item b{font-family:'Lora',serif;font-size:18px;margin-top:10px}
#nxh-def .list .item span{color:var(--muted);font-size:14.5px}
@media (max-width:900px){#nxh-def .list{grid-template-columns:1fr 1fr}}
@media (max-width:600px){#nxh-def .list{grid-template-columns:1fr}#nxh-def .wrap{padding:0 18px}#nxh-def .bd{padding:40px 0 60px}}

/* Phân trang (Tin tức & danh sách) */
.nxh-pager{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:28px;font-size:14.5px;font-weight:700}
.nxh-pager .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 12px;border:1.5px solid #e6e0d8;border-radius:8px;color:#0f1b33;text-decoration:none;background:#fff}
.nxh-pager .page-numbers.current{background:#0a1930;border-color:#0a1930;color:#e3c27a}
.nxh-pager a.page-numbers:hover{border-color:#b08a2e}

/* Nội dung bài viết soạn trong WordPress */
#nxh-bv .body img{max-width:100%;height:auto;border-radius:12px}
#nxh-bv .body figure{margin:24px 0}
#nxh-bv .body figcaption{font-size:14px;color:#5a6478;text-align:center;margin-top:8px}
#nxh-bv .body h3{font-size:20px;margin:28px 0 10px}
#nxh-bv .body ol{margin:0 0 18px;padding-left:22px}
#nxh-bv .body a{color:#c0202b;text-decoration:underline}
#nxh-bv .body iframe,#nxh-bv .body video{max-width:100%}
#nxh-bv .body .alignleft{float:left;margin:6px 20px 12px 0}
#nxh-bv .body .alignright{float:right;margin:6px 0 12px 20px}
#nxh-bv .body .aligncenter{margin-left:auto;margin-right:auto}
