/*
Theme Name: LIKIVI
Theme URI: https://www.likivi.com/
Author: LIKIVI
Description: Minimal green digital library theme for the Vietnamese garment industry.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: likivi
*/

:root{
 --green:#176b4d; --green-2:#0f4f39; --green-soft:#eef7f2;
 --ink:#101828; --muted:#667085; --line:#e7ece9; --white:#fff;
 --radius:18px; --shadow:0 8px 28px rgba(16,24,40,.07);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff;line-height:1.65}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.container{width:min(1180px,calc(100% - 40px));margin:auto}
.topbar{background:#f7f8f8;border-bottom:1px solid var(--line);font-size:12px;color:#475467}
.topbar .inner{height:36px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.toplinks{display:flex;gap:22px;align-items:center}
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.nav{min-height:78px;display:flex;align-items:center;gap:28px}
.logo{display:flex;flex-direction:column;line-height:1}
.logo strong{font-size:31px;letter-spacing:.24em;font-weight:700}
.logo small{font-size:9px;letter-spacing:.08em;color:#667085;margin-top:8px}
.menu{display:flex;align-items:center;gap:24px;margin-left:auto;font-size:14px}
.menu a{padding:28px 0;border-bottom:2px solid transparent}
.menu a:hover,.menu .current{color:var(--green);border-color:var(--green)}
.nav-actions{display:flex;align-items:center;gap:14px}
.icon-btn{width:40px;height:40px;border:0;background:#fff;cursor:pointer;font-size:20px}
.cart{position:relative}
.cart-badge{position:absolute;right:-2px;top:0;background:var(--green);color:#fff;border-radius:20px;font-size:10px;padding:2px 6px}
.login{background:var(--green);color:#fff;padding:11px 18px;border-radius:10px;font-weight:700;font-size:14px}
.hero{background:linear-gradient(90deg,#f4f8f6 0%,#fff 58%);overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;min-height:430px}
.hero-copy{padding:66px 20px 50px 0;display:flex;flex-direction:column;justify-content:center}
.eyebrow{font-size:14px;letter-spacing:.02em;margin-bottom:12px}
.hero h1{font-size:48px;line-height:1.08;margin:0 0 18px;letter-spacing:-.035em}
.hero h1 span{color:var(--green)}
.hero-sub{font-size:18px;margin:0 0 14px}
.hero-desc{color:#475467;max-width:600px;margin:0 0 25px}
.btns{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;border-radius:10px;border:1px solid var(--green);font-weight:700;font-size:14px}
.btn-primary{background:var(--green);color:#fff}
.btn-secondary{background:#fff;color:var(--green)}
.hero-image{min-height:430px;background:#e8efeb url('assets/hero.svg') center/cover no-repeat}
.hero-points{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}
.point{font-size:12px;display:flex;gap:10px;color:#475467}
.point b{color:var(--green);font-size:20px}
.search-wrap{margin-top:-1px;padding:22px 0}
.search-box{display:flex;gap:12px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);padding:8px;border-radius:12px}
.search-box input{flex:1;border:0;outline:0;padding:10px 14px;font-size:14px}
.search-box button{border:0;background:var(--green);color:#fff;padding:0 28px;border-radius:8px;font-weight:700;cursor:pointer}
.tags{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:12px;font-size:12px;color:#667085}
.tag{background:#f4f6f5;padding:6px 10px;border-radius:999px}
.section{padding:32px 0}
.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:18px}
.section-title{font-size:28px;margin:0;font-weight:800;letter-spacing:-.02em}
.section-title:before{content:"";display:inline-block;width:3px;height:26px;background:var(--green);vertical-align:-3px;margin-right:10px}
.view-all{font-size:13px;color:var(--green);font-weight:700}
.category-grid{display:grid;grid-template-columns:repeat(8,1fr);background:#f8faf9;border:1px solid var(--line);border-radius:16px;padding:16px}
.category{padding:14px 8px;text-align:center;border-right:1px solid var(--line);font-size:12px;font-weight:600}
.category:last-child{border-right:0}
.category .emoji{font-size:27px;display:block;margin-bottom:7px}
.posts{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.card{min-width:0}
.thumb{aspect-ratio:1.35;background:#eef2f0;border-radius:10px;overflow:hidden}
.thumb img{width:100%;height:100%;object-fit:cover}
.meta{font-size:10px;color:#667085;margin-top:9px}
.badge{display:inline-block;color:#185abd;background:#edf3ff;border-radius:999px;padding:3px 7px;font-size:9px;font-weight:800}
.card h3{font-size:15px;line-height:1.35;margin:7px 0}
.card p{font-size:12px;color:#667085;margin:0}
.feature-grid{display:grid;grid-template-columns:1.45fr .8fr;gap:18px}
.feature{background:var(--green-soft);border-radius:14px;padding:28px;min-height:180px;display:flex;justify-content:space-between;gap:20px;align-items:center}
.feature h2{margin:0 0 8px;font-size:25px}
.feature p{margin:0 0 15px;color:#475467;font-size:13px}
.feature-image{width:45%;height:150px;object-fit:contain}
.tool{background:#f5f8fb;border-radius:14px;padding:25px;display:flex;flex-direction:column;justify-content:center}
.tool h2{font-size:23px;margin:0 0 6px}
.tool p{font-size:13px;color:#667085;margin:0 0 15px}
.products{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.product-thumb{aspect-ratio:1.4;background:#f1f2f2;border-radius:10px;overflow:hidden}
.product-thumb img{width:100%;height:100%;object-fit:cover}
.price{font-weight:800;margin-top:8px}
.add{float:right;width:32px;height:32px;border-radius:50%;border:0;background:var(--green-soft);color:var(--green);font-size:18px}
.site-footer{margin-top:35px;background:var(--green-2);color:#fff}
.footer-main{padding:38px 0;display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:40px;align-items:center}
.footer-logo strong{font-size:32px;letter-spacing:.25em}
.footer-logo small{display:block;font-size:9px;letter-spacing:.08em;margin-top:7px}
.footer-main p{margin:5px 0;color:#d6e4de;font-size:13px}
.newsletter{display:flex;background:#fff;border-radius:9px;overflow:hidden}
.newsletter input{flex:1;border:0;padding:12px;outline:0}
.newsletter button{border:0;background:#fff;color:var(--green);padding:0 16px;font-weight:800}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:16px 0;color:#c9d8d2;font-size:12px}
.footer-bottom .inner{display:flex;justify-content:space-between;gap:15px}
.mobile-toggle{display:none}
.content-page{padding:55px 0}
.content-page h1{font-size:42px;line-height:1.15}
.content-page .content{max-width:820px}
.content-page .content img{border-radius:14px}
.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.shop-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.notice{background:var(--green-soft);border-left:4px solid var(--green);padding:16px 18px;border-radius:8px;margin:20px 0}
@media(max-width:1000px){
 .menu{display:none}.mobile-toggle{display:block}.hero-grid{grid-template-columns:1fr}.hero-image{min-height:300px;order:-1}.hero-copy{padding:42px 0}.posts{grid-template-columns:repeat(3,1fr)}.category-grid{grid-template-columns:repeat(4,1fr)}.category:nth-child(4){border-right:0}.feature-grid{grid-template-columns:1fr}.products{grid-template-columns:repeat(3,1fr)}.footer-main{grid-template-columns:1fr 1fr}
}
@media(max-width:650px){
 .container{width:min(100% - 24px,1180px)}.toplinks{display:none}.topbar .inner{justify-content:center}.nav{min-height:64px}.logo strong{font-size:24px}.nav-actions .login{display:none}.hero h1{font-size:37px}.hero-points{grid-template-columns:1fr}.category-grid{grid-template-columns:repeat(2,1fr)}.category{border-bottom:1px solid var(--line)}.posts,.archive-grid,.shop-grid{grid-template-columns:1fr}.products{grid-template-columns:repeat(2,1fr)}.footer-main{grid-template-columns:1fr}.footer-bottom .inner{flex-direction:column}
}
