/*
Theme Name: VanThaiBuy
Description: Giao diện VanThaiBuy dành cho cửa hàng WooCommerce.
Version: 1.2.0
Requires PHP: 7.4
Text Domain: vanthaibuy
*/
:root{font-family:system-ui,sans-serif;color:#142820;background:#fcfcfa;--green:#123d2c;--lime:#d9edb5;--line:#e2e8dd}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}a{color:inherit}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #77a360;outline-offset:3px}.shell{max-width:1230px;margin-inline:auto;width:calc(100% - 72px)}.notice{text-align:center;background:var(--green);color:white;padding:8px 12px;font-size:14px}.bar{display:flex;align-items:center;justify-content:space-between;min-height:76px;gap:22px}.brand{text-decoration:none;font-size:1.55rem;letter-spacing:-.065em;font-weight:850;white-space:nowrap}.brand span{color:#4d7653}.bar nav{display:flex;gap:30px}.bar nav a,.footlinks a{text-decoration:none}.bar nav a:hover,.footlinks a:hover{text-decoration:underline}.cart-button,.filter{background:transparent;border:1px solid #b9c9bc;border-radius:99px;padding:9px 15px;color:inherit}.cart-button span{margin-left:5px;background:var(--lime);border-radius:99px;padding:3px 8px}.hero{display:grid;grid-template-columns:1fr 1.13fr;background:#e7eee2;border-radius:24px;overflow:hidden;min-height:450px}.intro{padding:55px clamp(25px,5vw,78px);align-self:center}.eyebrow{font-weight:750;font-size:.84rem;letter-spacing:.14em}.hero h1{font-size:clamp(2.5rem,5.7vw,5.1rem);line-height:1.02;letter-spacing:-.08em;margin:16px 0}.intro>p:not(.eyebrow){max-width:29ch;color:#42584a;line-height:1.55}.hero img{width:100%;height:100%;min-height:280px;object-fit:cover}.button{display:inline-block;background:var(--green);color:white;text-decoration:none;border:0;border-radius:10px;padding:12px 18px;font-weight:700}.intro .button{margin-top:10px}.benefits{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line);padding:23px 0;gap:20px}.benefits div{display:grid;gap:5px}.benefits span,.benefits a,.muted{color:#4a6353}.catalog,.policies{padding-block:45px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.section-head input,input{border:1px solid #b9c9bc;border-radius:10px;background:white;padding:10px 12px;min-width:0}h2{font-size:clamp(1.45rem,3vw,2.2rem);letter-spacing:-.035em;margin:0 0 16px}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 22px}.filter[aria-pressed=true]{background:var(--green);color:white}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.product{border:1px solid var(--line);border-radius:17px;overflow:hidden;background:white}.product img{width:100%;aspect-ratio:1.4;object-fit:cover;background:#e7eee2;display:block}.product-content{padding:17px}.product h3{margin:5px 0 10px}.product p{margin:3px 0;color:#4a6353}.product-action{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:13px}.product button{background:var(--lime);border:0;border-radius:9px;padding:8px 11px;font-weight:650}.policies{padding-top:12px;max-width:1230px}.policies details{padding:13px 16px;border-bottom:1px solid var(--line);scroll-margin:14px}.policies summary{cursor:pointer;font-weight:700}.policies p{max-width:85ch;line-height:1.55}.foot{display:grid;grid-template-columns:2fr 1fr;gap:30px;padding-block:35px}.footlinks{display:grid;gap:9px}footer{background:#e7eee2}dialog{border:0;margin:0 0 0 auto;max-height:100%;height:100%;width:min(100%,490px);padding:0;color:inherit}dialog::backdrop{background:#13261dc0}.drawer{padding:24px}.drawer-head,.line,.total-row{display:flex;justify-content:space-between;gap:12px;align-items:center}.drawer-head button,.line button{border:1px solid var(--line);background:white;border-radius:8px;padding:4px 9px}.drawer-head button{font-size:1.4rem}.line{padding:13px 0;border-bottom:1px solid var(--line)}.line-controls{display:flex;gap:8px;align-items:center}.total-row{margin:8px 0}.total-row:last-child{font-weight:800}.total-row dd{margin:0}form label{display:grid;gap:5px;margin:11px 0}.toast{position:fixed;bottom:18px;right:18px;background:var(--green);color:white;border-radius:10px;padding:12px 16px;z-index:1}@media(max-width:720px){.shell{width:calc(100% - 30px)}.bar nav{display:none}.hero{grid-template-columns:1fr}.intro{padding:32px 24px}.hero img{height:230px;min-height:0}.benefits{gap:9px;font-size:.9rem}.grid{grid-template-columns:repeat(2,1fr);gap:10px}.product-action{align-items:flex-start;flex-direction:column}.section-head{align-items:flex-start;flex-direction:column}.foot{grid-template-columns:1fr}.catalog{padding-top:30px}}@media(max-width:365px){.grid{grid-template-columns:1fr}}
[hidden]{display:none!important} #review{margin-top:20px} button:disabled{cursor:not-allowed;opacity:.55}
.page-content{padding-block:36px;min-height:55vh}
.page-content article{max-width:85ch;line-height:1.65}
.page-content h1{font-size:clamp(1.8rem,4vw,2.8rem);line-height:1.15}
.catalog-search{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-block:18px}
.catalog-search button{background:var(--green);color:white;border:0;border-radius:8px;padding:10px 14px}
.woocommerce div.product .woocommerce-tabs .panel{line-height:1.65}
@media(max-width:450px){.bar{gap:10px}.foot a{overflow-wrap:anywhere}}
