/* ===== Chuẩn hóa theo prototype: header,menu,nút,checkbox,form,thẻ ===== */
:root{--g:#0b8a5c;--g2:#067a52;--navy:#17354c;--orange:#f2a718}
body{font-size:14px;color:var(--navy)}
/* Header mỏng,menu cỡ 13.5px như prototype */
.site-header{height:62px;padding:0 20px;gap:14px;box-shadow:0 1px 8px #12304510}
.brand{min-width:150px}
.brand img{height:44px;width:auto}
.main-nav{gap:16px;justify-content:center}
.main-nav a{font-size:13px;font-weight:500;padding:20px 0;color:var(--navy);letter-spacing:0}
.main-nav a:hover{color:var(--g)}
.main-nav a.active{color:var(--g);font-weight:700}
.main-nav a.active:after{bottom:0;height:3px;border-radius:3px;background:var(--g)}
.header-actions{gap:16px}
.header-actions>a:first-child{color:var(--navy)}
.header-actions>a:first-child .icon{width:20px;height:20px}
.language{font-size:13px;font-weight:500;display:inline-flex!important;align-items:center;gap:4px}
.button.compact{font-size:13px;font-weight:600;padding:8px 18px;border-radius:999px;min-height:34px}
/* Nút */
.button{font-size:13px;font-weight:600;padding:10px 20px;border-radius:7px;background:linear-gradient(180deg,#0a9362,#067a52);box-shadow:0 1px 2px #0a523a30}
.button:hover{filter:brightness(1.06)}
.button.outline{background:#fff;color:#067a52;border:1.5px solid #12935f;box-shadow:none}
.button.outline:hover{background:#eef8f3}
.button.full{width:100%}
/* Checkbox / radio: ô vuông bo 3px,xanh khi chọn */
input[type=checkbox],input[type=radio]{appearance:none;-webkit-appearance:none;width:16px;height:16px;margin:0;border:1.5px solid #b5c3c3;background:#fff;display:inline-grid;place-content:center;cursor:pointer;flex:0 0 auto;vertical-align:middle;padding:0}
input[type=checkbox]{border-radius:3px}
input[type=radio]{border-radius:50%}
input[type=checkbox]:checked{background:var(--g);border-color:var(--g)}
input[type=checkbox]:checked::after{content:"";width:9px;height:5px;border:2px solid #fff;border-top:0;border-right:0;transform:rotate(-45deg) translate(1px,-1px)}
input[type=radio]:checked{border-color:var(--g);background:radial-gradient(var(--g) 0 45%,#fff 50%)}
input[type=checkbox]:focus-visible,input[type=radio]:focus-visible{outline:2px solid #7fd1b0;outline-offset:2px}
.chk{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:400;margin-bottom:9px!important;cursor:pointer}
.chk small{font-size:12px;color:#6c8590}
/* Ô nhập / chọn */
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea{border:1px solid #cfdadc;border-radius:7px;background:#fff;color:var(--navy);font-size:13px}
select{appearance:none;-webkit-appearance:none;padding-right:34px!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2317354c' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center}
input:focus,select:focus,textarea:focus{border-color:var(--g);box-shadow:0 0 0 3px #0b8a5c1f;outline:0}
label{font-size:13px}
/* Panel bộ lọc: tiêu đề có vạch xanh */
.filters h3{display:flex;align-items:center;gap:8px;font-size:14px;letter-spacing:.2px;border-left:3px solid var(--g);padding-left:8px;margin:0 0 14px}
.filters h3 .icon{display:none}
.filters legend{font-size:13px;font-weight:700;color:var(--navy);margin-bottom:10px}
.filters label{font-size:13px;font-weight:600;margin-bottom:12px}
/* Banner mỏng như prototype */
.page-banner{height:158px;padding:18px 6%}
.page-banner h1{font-size:27px;margin:6px 0 4px;letter-spacing:.2px}
.page-banner p{font-size:17px}
.page-banner .eyebrow{display:none}
.breadcrumb{font-size:13px;color:#4c6a7c;margin-bottom:14px}
.breadcrumb a{color:#4c6a7c}
/* Thẻ sản phẩm: pill nhóm cam nhạt,tên đậm */
.category-pill{background:#fdebd6;color:#b9610f;font-weight:600;font-size:11.5px;padding:3px 12px;border-radius:999px}
.product-card{border-radius:8px;border-color:#e3eaec;box-shadow:0 2px 8px #163c5510}
.star-badge{font-size:11.5px;border-radius:5px;padding:3px 9px}
.card-bottom a{width:32px;height:32px;border:1px solid #d5e1e3;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;color:var(--g)}
.pagination button{width:34px;height:34px;border-radius:6px;font-size:13px;font-weight:600}
.pagination .selected{background:var(--g)}
.panel{border-radius:10px}
/* Hamburger sớm hơn vì menu lớn hơn */
@media(max-width:1480px){.main-nav{gap:12px}.main-nav a{font-size:12.5px}.header-actions{gap:10px}.language{display:none!important}}
@media(max-width:1180px){.site-header{height:62px}
.mobile-menu{display:inline-flex!important;margin-left:auto;align-items:center;justify-content:center;width:40px;height:40px;background:#fff;border:1px solid #d6e2e7;border-radius:8px;color:var(--g)}
.main-nav{display:none;position:absolute;top:62px;left:0;right:0;background:#fff;padding:12px 16px 18px;flex-wrap:wrap;gap:6px;box-shadow:0 14px 28px #0a2a3a30;border-top:1px solid #e4eceb;max-height:calc(100vh - 62px);overflow:auto}
.main-nav.open{display:flex}
.main-nav a{font-size:14px;padding:10px 16px;border-radius:8px;background:#f4f8f6;flex:0 0 auto}
.main-nav a.active{background:#d9f0e3}
.main-nav a.active:after{display:none}
.header-actions{margin-left:0}

}
@media(max-width:650px){.main-nav a{flex:1 1 calc(50% - 6px);text-align:center}
.header-actions .button.compact{font-size:0;padding:9px;min-width:34px}
.header-actions>a:first-child,.language{display:none!important}
}
.category-pill{white-space:nowrap;font-size:11px!important;padding:2px 10px!important;line-height:1.6;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 42px);display:inline-block}
.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:6px}
.card-bottom a{width:28px;height:28px;flex:0 0 28px}
.card-bottom a .icon{width:15px;height:15px}
.chk{font-size:13px!important}
[hidden]{display:none!important}

