/* ==========================================================
   NHYNHY THINGS — main.css
   Trang trắng ngà, khung xanh rừng, nút pill sage có vòng mũi tên,
   ô xám xanh cho số liệu/mô tả, ảnh bo 18px.
   Màu có thể đổi trong Customizer → Giao diện Nhynhy → Màu sắc.
   ========================================================== */
:root{
  --bg:#F8F9F7; --tile:#ECEFEB; --forest:#2C3A31; --forest-2:#3A4A3F;
  --sage:#7E9C86; --sage-d:#678A71; --sage-soft:#DCE5DD;
  --ink:#1F2621; --muted:#6C756E; --body:#3E4740;
  --line:rgba(31,38,33,.12); --white:#fff;
  --f-display:"Playfair Display", Georgia, "Times New Roman", serif;
  --f-body:"Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-script:"Great Vibes", "Brush Script MT", cursive;
  --r:18px; --wrap:1200px; --gap:16px; --sec:96px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:110px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--f-body);font-size:15px;line-height:1.65;-webkit-font-smoothing:antialiased}
img,svg,video{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
h1,h2,h3,h4{font-family:var(--f-display);font-weight:500;line-height:1.15;margin:0;letter-spacing:-.005em;text-wrap:balance}
p{margin:0}
:focus-visible{outline:2px solid var(--sage-d);outline-offset:3px;border-radius:8px}
.sr-only,.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link:focus{position:fixed!important;top:8px;left:8px;width:auto;height:auto;clip:auto;z-index:999;background:var(--forest);color:#fff;padding:10px 16px;border-radius:999px}
[hidden]{display:none!important}
.wrap{max-width:var(--wrap);margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
@media(min-width:760px){.wrap{padding-left:max(40px,env(safe-area-inset-left,0px));padding-right:max(40px,env(safe-area-inset-right,0px))}}
.muted{color:var(--muted)}
.mt12{margin-top:12px}
.ic{width:20px;height:20px}

/* ---------- Chữ cái viết tay ---------- */
.cap{font-family:var(--f-script);font-weight:400;font-size:1.75em;line-height:0;vertical-align:-.12em;margin-right:.06em;letter-spacing:0}
h1:has(.cap),h2:has(.cap){line-height:1.22}
.eyebrow{display:inline-block;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}

/* ---------- Nút ---------- */
.btn{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;height:46px;padding:0 6px 0 28px;border-radius:999px;border:1.5px solid var(--sage);font-weight:500;font-size:14px;min-width:200px;line-height:1;transition:background .2s,color .2s,border-color .2s;cursor:pointer;text-decoration:none}
.btn .t{flex:1;text-align:center}
.btn .arr{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex:none;transition:transform .25s}
.btn .arr .ic{width:16px;height:16px}
.btn:hover .arr{transform:translateX(3px)}
.btn-fill{background:var(--sage);color:#fff}
.btn-fill .arr{background:#fff;color:var(--sage-d)}
.btn-fill:hover{background:var(--sage-d);border-color:var(--sage-d);color:#fff}
.btn-line{background:transparent;color:var(--sage-d)}
.btn-line .arr{background:var(--sage);color:#fff}
.btn-line:hover{background:var(--sage-soft)}
.link-arrow{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:16px;white-space:nowrap}
.link-arrow .long{width:26px;height:14px;transition:transform .25s}
.link-arrow:hover .long{transform:translateX(4px)}
/* nút mặc định của WP/Woo */
.button,button.button,input[type=submit],.wp-element-button,.wp-block-button__link,.btn-submit{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 26px;border-radius:999px;border:1.5px solid var(--sage);background:var(--sage);color:#fff;font-weight:500;font-size:14px;cursor:pointer;line-height:1;transition:background .2s}
.button:hover,input[type=submit]:hover,.wp-element-button:hover,.wp-block-button__link:hover{background:var(--sage-d);border-color:var(--sage-d);color:#fff}
.is-style-outline .wp-block-button__link{background:transparent;color:var(--sage-d)}

/* ---------- Header ---------- */
.site-header{background:var(--bg);z-index:60;position:relative}
.site-header.is-sticky{position:sticky;top:0}
.admin-bar .site-header.is-sticky{top:32px}
@media(max-width:782px){.admin-bar .site-header.is-sticky{top:0}}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:78px}
.logo{display:block;flex:none}
.logo svg,.logo img{height:44px;width:auto}
.nav .menu{display:flex;gap:26px;list-style:none;margin:0;padding:0;font-size:13.5px}
.nav .menu>li{position:relative}
.nav .menu a{display:block;padding:8px 0}
.nav .menu a:hover,.nav .current-menu-item>a,.nav .current_page_item>a,.nav .current-menu-ancestor>a{color:var(--sage-d)}
.nav .current-menu-item>a,.nav .current_page_item>a{font-weight:500}
.nav .sub-menu{position:absolute;top:100%;left:-16px;min-width:220px;list-style:none;margin:0;padding:10px;background:#fff;border-radius:14px;box-shadow:0 12px 32px rgba(31,38,33,.12);opacity:0;visibility:hidden;transform:translateY(6px);transition:.2s}
.nav li:hover>.sub-menu,.nav li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}
.nav .sub-menu a{padding:8px 12px;border-radius:8px}
.nav .sub-menu a:hover{background:var(--tile)}
.tools{display:flex;gap:4px;align-items:center}
.ib{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;border:0;background:none;position:relative;color:inherit}
.ib:hover{background:var(--tile)}
.badge{position:absolute;top:3px;right:1px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--sage-d);color:#fff;font-size:10.5px;font-weight:600;display:grid;place-items:center;line-height:1}
.burger{display:none}
@media(max-width:960px){.nav,.tools .hide-sm{display:none}.burger{display:grid}.site-header .wrap{min-height:64px}.logo svg,.logo img{height:38px}}

/* Search overlay */
.search-ov{position:fixed;inset:0 0 auto;z-index:90;background:var(--bg);box-shadow:0 10px 30px rgba(31,38,33,.12);padding-top:env(safe-area-inset-top,0px)}
.search-ov .wrap{display:flex;gap:12px;align-items:center;min-height:78px}
.search-ov .search-form{flex:1}
.search-form{display:flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:999px;padding:4px 4px 4px 20px;max-width:640px}
.search-form input[type=search]{flex:1;min-width:0;border:0;background:none;height:40px;outline:none}
.search-form button{width:40px;height:40px;border-radius:50%;border:0;background:var(--sage);color:#fff;display:grid;place-items:center}
.search-form button .ic{width:18px;height:18px}

/* Mobile menu */
.mmenu{position:fixed;inset:0;z-index:95;pointer-events:none}
.mmenu .scrim{position:absolute;inset:0;background:rgba(31,38,33,.35);opacity:0;transition:opacity .25s}
.mmenu .panel{position:absolute;top:0;right:0;width:min(360px,88vw);height:100%;overflow:auto;background:var(--forest);color:#E6ECE7;padding:calc(env(safe-area-inset-top,0px) + 18px) max(26px,calc(env(safe-area-inset-right,0px) + 26px)) calc(env(safe-area-inset-bottom,0px) + 28px) 30px;transform:translateX(100%);transition:transform .3s;border-radius:24px 0 0 24px;display:flex;flex-direction:column;gap:18px}
.mmenu.open{pointer-events:auto}.mmenu.open .scrim{opacity:1}.mmenu.open .panel{transform:none}
.mm-top{display:flex;justify-content:space-between;align-items:center}
.mm-logo svg,.mm-logo img{height:34px;width:auto}
.mmenu .close{color:#E6ECE7}.mmenu .close:hover{background:var(--forest-2)}
.mmenu .search-form{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.12)}
.mmenu .search-form input{color:#fff}.mmenu .search-form input::placeholder{color:#B8C4BB}
.mm-menu{list-style:none;margin:0;padding:0}
.mm-menu a{display:block;font-size:17px;padding:10px 0;border-bottom:1px solid rgba(230,236,231,.1)}
.mm-menu .current-menu-item>a{color:#A9C3AF}
.mm-menu .sub-menu{list-style:none;padding-left:14px;margin:0}
.mm-menu .sub-menu a{font-size:15px;opacity:.85}
.mm-extra a{font-size:14px;opacity:.85}
body.menu-open{overflow:hidden}

/* ---------- Trang chủ ---------- */
.home-sec.sec{padding-top:var(--sec)}
.home-wrap{padding-bottom:8px}
.anchor{display:block;position:relative;top:-120px}
.hero{display:grid;grid-template-columns:1fr 1.05fr;gap:28px 40px;padding-top:28px;align-items:stretch}
.hero-copy{display:flex;flex-direction:column;justify-content:center;gap:18px;padding-block:24px}
.hero h1{font-size:clamp(40px,4.6vw,60px)}
.hero h1 .cap{font-size:1.65em}
.hero .sub{font-size:16px;max-width:32ch;color:var(--body)}
.hero .ctas{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}
.hero-img{position:relative;border-radius:var(--r);overflow:hidden;min-height:340px;background:var(--tile)}
.hero-img>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.chip{position:absolute;display:flex;align-items:center;gap:10px;background:rgba(248,249,247,.85);backdrop-filter:blur(6px);border-radius:999px;padding:6px 14px 6px 6px;font-size:11px;color:var(--muted);line-height:1.25}
.chip b{display:block;font-size:14px;color:var(--ink);font-weight:600}
.chip.tl{top:16px;left:16px}
.chip.br{bottom:16px;right:16px;padding:8px 14px;font-size:12px;color:var(--ink)}
.avs{display:flex}
.avs span{width:26px;height:26px;border-radius:50%;border:2px solid #F8F9F7;margin-left:-8px;background:#C98B7B}
.avs span:first-child{margin-left:0}
.avs span:nth-child(2){background:var(--sage)}.avs span:nth-child(3){background:#8C6A54}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--gap);margin-top:16px}
.stat{background:var(--tile);border-radius:var(--r);padding:24px 16px;text-align:center}
.stat b{display:block;font-size:26px;font-weight:500;font-variant-numeric:tabular-nums}
.stat span{font-size:12.5px;color:var(--muted)}
@media(max-width:860px){
  .hero{grid-template-columns:1fr}.hero-copy{padding-block:8px 0}
  .hero .ctas{flex-direction:column;margin-top:12px}.hero .btn{width:100%}
  .hero-img{min-height:260px}
  .stats{grid-template-columns:1fr 1fr;gap:10px}
}
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin:12px 0 20px}
.sec-head h2{font-size:clamp(32px,3.6vw,44px)}
@media(max-width:860px){:root{--sec:64px}}

/* ---------- Thẻ sản phẩm (trang chủ + Woo) ---------- */
.prow,.woocommerce ul.products,ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 16px;list-style:none;margin:0;padding:0}
ul.products.columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}
ul.products::before,ul.products::after{display:none!important}
@media(max-width:960px){.prow,ul.products,ul.products.columns-3,.woocommerce ul.products,.woocommerce ul.products.columns-3,.woocommerce ul.products.columns-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.prow{grid-template-columns:1fr}ul.products,ul.products.columns-3{gap:20px 12px}}
.pc{display:flex;flex-direction:column;gap:10px;min-width:0;margin:0!important;width:auto!important;float:none!important;position:relative}
.pc .img{position:relative;border-radius:var(--r);overflow:hidden;aspect-ratio:1.28;background:var(--tile)}
.pc .img-link{display:block;height:100%}
.pc .img img{width:100%;height:100%;object-fit:cover;transition:transform .5s;margin:0!important}
.pc:hover .img img{transform:scale(1.04)}
.fav{position:absolute;top:10px;right:10px;width:34px;height:34px;border:0;background:none;color:#fff;display:grid;place-items:center;z-index:2}
.fav .ic{width:20px;height:20px;filter:drop-shadow(0 1px 2px rgba(0,0,0,.3))}
.fav[aria-pressed="true"] .ic{fill:#fff}
.pc .name{display:flex;align-items:center;gap:8px;font-family:var(--f-display);font-size:17px;line-height:1.3}
.pc .name .ne{width:12px;height:12px;flex:none}
.pc .price{font-weight:600;font-size:17px;font-variant-numeric:tabular-nums;margin-top:-4px;color:var(--ink)}
.pc .price del{font-weight:400;font-size:13px;color:var(--muted);margin-right:6px}
.pc .price ins{text-decoration:none}
.pc .add{position:absolute;left:10px;bottom:10px;height:34px;padding:0 14px;border-radius:999px;border:0;background:rgba(248,249,247,.92);font-size:12.5px;font-weight:500;display:inline-flex;align-items:center;opacity:0;transform:translateY(6px);transition:.25s;z-index:2}
.pc:hover .add,.pc:focus-within .add{opacity:1;transform:none}
.pc .add.loading{opacity:.6}
.pc .add.added{background:var(--sage);color:#fff}
.pc .added_to_cart{display:none}
@media(hover:none){.pc .add{opacity:1;transform:none}}
.onsale{position:absolute;top:12px;left:12px;z-index:2;background:var(--forest);color:#fff;font-size:11.5px;font-weight:500;border-radius:999px;padding:4px 12px;line-height:1.4;min-height:0;min-width:0;margin:0}
.desc{background:var(--tile);border-radius:var(--r);padding:20px;aspect-ratio:1.28;display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted);overflow:hidden}
.desc h4{margin:0;font-family:var(--f-body);font-size:13.5px;font-weight:500;color:var(--ink)}
.desc h4+p+h4,.desc p+h4{margin-top:8px}
.desc ul{margin:0;padding-left:16px}
@media(max-width:560px){.desc{aspect-ratio:auto}}

/* ---------- Câu chuyện / giá trị / workshop / quà ---------- */
.story{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center}
.story .img,.offer .img,.giftband .img{border-radius:var(--r);overflow:hidden;background:var(--tile)}
.story .img{aspect-ratio:1.9}
.story img,.offer .img img,.giftband .img img{width:100%;height:100%;object-fit:cover}
.story h3{font-size:20px;line-height:1.35;max-width:30ch}
.story p{font-size:13.5px;color:var(--body);margin-top:14px;max-width:56ch}
.values{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--gap);margin-top:16px}
.val{background:var(--tile);border-radius:var(--r);padding:26px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}
.val-ic{width:40px;height:40px;object-fit:contain}
.val h4{font-size:18px}
.val p{font-size:12.5px;color:var(--muted);max-width:22ch}
@media(max-width:860px){.story{grid-template-columns:1fr}.values{grid-template-columns:1fr 1fr;gap:10px}.val{padding:20px 12px}}
.offer{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.offer h2{font-size:clamp(32px,3.6vw,44px)}
.offer h3{font-size:19px;margin-top:22px;line-height:1.35}
.offer p{font-size:13.5px;color:var(--body);margin-top:14px;max-width:52ch}
.offer .meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.offer .meta span{background:var(--tile);border-radius:999px;padding:6px 14px;font-size:12.5px}
.offer .btn{margin-top:28px}
.offer .img{aspect-ratio:1.3}
@media(max-width:860px){.offer{grid-template-columns:1fr;gap:24px}.offer .img{order:-1}}
.giftband{background:var(--sage-soft);border-radius:24px;display:grid;grid-template-columns:1.2fr 1fr;overflow:hidden;align-items:stretch}
.giftband .t{padding:40px 44px;align-self:center}
.giftband h2{font-size:clamp(30px,3.4vw,40px)}
.giftband p{margin-top:12px;color:var(--body);max-width:48ch;font-size:14px}
.giftband .btn{margin-top:24px}
.giftband .img{border-radius:0;min-height:280px}
@media(max-width:860px){.giftband{grid-template-columns:1fr}.giftband .t{padding:28px 22px}}
.home-content{padding-top:var(--sec)}

/* ---------- Page head, breadcrumb, chips ---------- */
.page-head{padding-block:16px 28px}
.page-head .eyebrow{display:block;margin-top:10px;margin-bottom:14px}
.page-head .page-title{margin-top:6px}
.page-head .page-desc{margin-top:22px}
.page-title{font-size:clamp(34px,4vw,52px);margin-top:6px}
.page-desc{color:var(--body);max-width:60ch;margin-top:12px}
.page-desc p+p{margin-top:8px}
.crumbs,.woocommerce-breadcrumb{font-size:12.5px;color:var(--muted);display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding-top:16px;margin:0}
.crumbs a:hover{color:var(--sage-d)}
.crumbs b{color:var(--ink);font-weight:500}
.crumbs .sep{opacity:.6}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.chip-row,.chips .chip{position:static;display:inline-flex;background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 16px;font-size:13px;color:var(--ink);backdrop-filter:none}
.chips .chip:hover{border-color:var(--sage)}
.chips .chip.on{background:var(--forest);color:#fff;border-color:var(--forest)}

/* ---------- Blog ---------- */
.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 20px}
@media(max-width:960px){.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.post-grid{grid-template-columns:1fr}}
.post-card{display:flex;flex-direction:column;gap:10px;min-width:0}
.post-card .pimg{display:block;border-radius:var(--r);overflow:hidden;aspect-ratio:1.5;background:var(--tile)}
.post-card .pimg img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.post-card:hover .pimg img{transform:scale(1.04)}
.pmeta{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted);margin-top:4px}
.pill{display:inline-flex;background:var(--sage-soft);color:var(--forest);border-radius:999px;padding:3px 12px;font-size:12px;font-weight:500}
.ptitle{font-size:21px;line-height:1.3}
.ptitle a:hover{color:var(--sage-d)}
.pexc{font-size:13.5px;color:var(--body)}
.sticky .ptitle::before{content:"★ ";color:var(--sage)}
.pagination,.woocommerce-pagination{margin-top:48px}
.pagination .nav-links,.woocommerce-pagination ul{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;list-style:none;padding:0;margin:0;border:0!important}
.pagination .page-numbers,.woocommerce-pagination .page-numbers{min-width:42px;height:42px;padding:0 12px;border-radius:999px;display:grid;place-items:center;border:1px solid var(--line)!important;font-size:14px;background:#fff}
.woocommerce-pagination ul li{border:0!important;margin:0!important}
.pagination .current,.woocommerce-pagination .current{background:var(--forest)!important;color:#fff!important;border-color:var(--forest)!important}
.empty-state{background:var(--tile);border-radius:var(--r);padding:40px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}
.empty-state h2{font-size:28px}
.search-again{margin-bottom:28px}

/* Single post */
.post-head{max-width:820px;margin:0 auto;text-align:center;padding-bottom:28px}
.post-head .crumbs{justify-content:center}
.pills{display:flex;gap:8px;justify-content:center;margin-top:18px}
.post-title{font-size:clamp(34px,4.2vw,54px);margin-top:14px}
.post-meta{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;align-items:center;font-size:13px;color:var(--muted);margin-top:16px}
.post-meta span{display:inline-flex;align-items:center;gap:8px}
.post-meta img{border-radius:50%}
.post-hero,.page-hero{margin:0 0 40px;border-radius:24px;overflow:hidden;aspect-ratio:1.9;background:var(--tile)}
.post-hero img,.page-hero img{width:100%;height:100%;object-fit:cover}
.post-layout{display:grid;grid-template-columns:minmax(0,760px);justify-content:center;gap:48px}
.post-layout.has-side{grid-template-columns:minmax(0,1fr) 300px;justify-content:stretch}
@media(max-width:960px){.post-layout.has-side{grid-template-columns:1fr}}
.post-tags{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:36px;font-size:13px;color:var(--muted)}
.post-tags .tag{background:var(--tile);border-radius:999px;padding:5px 12px;color:var(--ink)}
.post-tags .tag:hover{background:var(--sage-soft)}
.author-box{display:flex;gap:16px;align-items:flex-start;background:var(--tile);border-radius:var(--r);padding:22px;margin-top:28px}
.author-box img{border-radius:50%;flex:none}
.author-box b{font-family:var(--f-display);font-size:18px;font-weight:500}
.author-box p{font-size:13.5px;color:var(--body);margin-top:4px}
.post-nav{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:28px}
.post-nav a{display:flex;flex-direction:column;gap:4px;border:1px solid var(--line);border-radius:var(--r);padding:16px 18px;height:100%}
.post-nav a:hover{border-color:var(--sage)}
.post-nav div:last-child a{text-align:right}
.post-nav small{font-size:12px;color:var(--muted)}
.post-nav span{font-family:var(--f-display);font-size:16px}
.post-side .widget{background:var(--tile);border-radius:var(--r);padding:20px;margin-bottom:16px}
.widget-title{font-size:18px;margin-bottom:10px}
.widget ul{list-style:none;margin:0;padding:0;display:grid;gap:6px;font-size:14px}
.related-posts{padding-top:72px}

/* Nội dung soạn thảo */
.entry{font-size:16px;line-height:1.8;color:var(--body)}
.entry>*+*{margin-top:1.1em}
.entry h2{font-size:30px;color:var(--ink);margin-top:1.6em}
.entry h3{font-size:23px;color:var(--ink);margin-top:1.4em}
.entry h4{font-size:19px;color:var(--ink)}
.entry a{color:var(--sage-d);text-decoration:underline;text-underline-offset:3px}
.entry ul,.entry ol{padding-left:1.3em}
.entry li+li{margin-top:.4em}
.entry blockquote,.entry .wp-block-quote{margin-left:0;margin-right:0;border-left:3px solid var(--sage);background:var(--tile);border-radius:0 var(--r) var(--r) 0;padding:18px 22px;font-family:var(--f-display);font-size:20px;color:var(--ink)}
.entry blockquote p{margin:0}
.entry img,.entry .wp-block-image img{border-radius:var(--r)}
.entry figcaption{font-size:13px;color:var(--muted);text-align:center;margin-top:8px}
.entry table{width:100%;border-collapse:collapse;font-size:14px}
.entry th,.entry td{border-bottom:1px solid var(--line);padding:10px;text-align:left}
.entry hr{border:0;border-top:1px solid var(--line);margin:2em 0}
.entry .alignwide{margin-left:-80px;margin-right:-80px;max-width:none}
@media(max-width:960px){.entry .alignwide{margin-left:0;margin-right:0}}
.entry-wide{max-width:none}
.page-article .entry{max-width:760px}
.page-article.is-woo-page .entry{max-width:none}
.page-links{margin-top:24px;font-size:14px}

/* Bình luận & form */
.comments{max-width:760px;margin:56px auto 0}
.comments-title,.comment-reply-title{font-size:26px;margin-bottom:18px}
.comment-list{list-style:none;padding:0;margin:0 0 32px;display:grid;gap:16px}
.comment-list .children{list-style:none;padding-left:28px;margin-top:16px;display:grid;gap:16px}
.comment-body{background:var(--tile);border-radius:var(--r);padding:18px 20px;font-size:14px}
.comment-meta{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}
.comment-author img{border-radius:50%;float:left;margin-right:10px}
.comment-content{margin-top:10px;color:var(--body)}
.reply a{font-size:12.5px;color:var(--sage-d);font-weight:500}
input[type=text],input[type=email],input[type=url],input[type=tel],input[type=number],input[type=password],input[type=search]:not(.search-form input),textarea,select{width:100%;border:1px solid var(--line);background:#fff;border-radius:14px;padding:12px 16px;font-size:14px;outline:none;transition:border-color .2s}
input:focus,textarea:focus,select:focus{border-color:var(--sage)}
textarea{min-height:120px;resize:vertical}
label{font-size:13.5px;font-weight:500}
.comment-form p{margin-bottom:14px}

/* ---------- Footer ---------- */
.site-footer{background:var(--forest);color:#C9D3CB;font-size:13px;margin-top:96px}
.site-footer .wrap{padding-block:48px calc(env(safe-area-inset-bottom,0px) + 24px)}
.fgrid{display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr;gap:28px}
.flogo{display:inline-block}
.flogo svg,.flogo img{height:42px;width:auto}
.fbrand p{margin-top:12px;max-width:34ch}
.site-footer h4{margin:0 0 12px;color:#fff;font-weight:500;font-size:13px;font-family:var(--f-body)}
.fmenu{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.site-footer a:hover{color:#fff}
.soc{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.soc a{min-width:30px;height:30px;padding:0 8px;border:1px solid rgba(201,211,203,.35);border-radius:999px;display:grid;place-items:center;font-size:10.5px}
.soc a:hover{border-color:#fff}
.fbot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid rgba(201,211,203,.15);margin-top:40px;padding-top:18px;font-size:11.5px}
.legal{display:flex;gap:20px;list-style:none;margin:0;padding:0}
@media(max-width:760px){.fgrid{grid-template-columns:1fr 1fr}.fbrand{grid-column:1/-1}}

/* ---------- 404 ---------- */
.nf{background:var(--forest);border-radius:28px;color:#fff;position:relative;overflow:hidden;margin-top:24px;display:flex;flex-direction:column;align-items:center;padding:28px 20px 0;text-align:center}
.nf-logo svg,.nf-logo img{height:40px;width:auto}
.nf h1{font-family:var(--f-body);font-weight:400;font-size:clamp(24px,3vw,32px);margin-top:28px}
.nf p{color:#D5DED7;margin-top:6px}
.nf .ctas{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;margin-top:28px;position:relative;z-index:2}
.nf .btn-line{color:#C9D9CD}
.nf .btn-line:hover{background:var(--forest-2)}
.nf .big{display:flex;align-items:flex-end;justify-content:center;gap:clamp(4px,2vw,24px);margin-top:20px;line-height:.78;font-family:var(--f-display);font-size:clamp(150px,30vw,400px);color:#fff;user-select:none}
.nf .big span{display:block;margin-bottom:-.02em}
.nf .big img{width:clamp(130px,26vw,320px);margin-bottom:0;flex:none}
@media(max-width:700px){.nf .ctas{flex-direction:column;width:100%}.nf .btn{width:100%}}

/* ---------- WooCommerce: cửa hàng ---------- */
.shop-head{padding-bottom:24px}
.shop-layout{display:grid;grid-template-columns:1fr;gap:32px}
.shop-layout.has-filters{grid-template-columns:240px minmax(0,1fr)}
.shop-filters .widget{border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:16px}
@media(max-width:900px){.shop-layout.has-filters{grid-template-columns:1fr}}
.shop-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:24px}
.shop-toolbar .woocommerce-result-count{margin:0;font-size:13.5px;color:var(--muted)}
.shop-toolbar .woocommerce-ordering{margin:0}
.woocommerce-ordering select{width:auto;border-radius:999px;padding:9px 38px 9px 16px}
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner{list-style:none;background:var(--sage-soft);border:0;border-radius:14px;padding:14px 18px;margin:0 0 20px;font-size:14px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.woocommerce-error{background:#F6E0DC}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{display:none}
.woocommerce-message .button,.woocommerce-info .button{height:38px;padding:0 18px;order:2}

/* Trang sản phẩm */
.single-product div.product{display:grid;grid-template-columns:1fr 1fr;gap:28px 32px;position:relative;margin-top:20px}
.single-product div.product>.onsale{top:12px;left:12px}
.single-product div.product .woocommerce-product-gallery{width:auto!important;float:none!important;margin:0!important;position:relative;min-width:0}
.woocommerce-product-gallery__wrapper{margin:0}
.woocommerce-product-gallery .flex-viewport,.woocommerce-product-gallery__image:only-child,.woocommerce-product-gallery>.woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:first-child{border-radius:var(--r);overflow:hidden}
.woocommerce-product-gallery img{width:100%;border-radius:var(--r)}
.woocommerce-product-gallery .flex-control-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;list-style:none;margin:12px 0 0;padding:0}
.woocommerce-product-gallery .flex-control-thumbs li{margin:0!important;width:auto!important;float:none!important}
.woocommerce-product-gallery .flex-control-thumbs img{border-radius:14px;border:2px solid transparent;cursor:pointer;opacity:.85;aspect-ratio:1.3;object-fit:cover}
.woocommerce-product-gallery .flex-control-thumbs img.flex-active,.woocommerce-product-gallery .flex-control-thumbs img:hover{border-color:var(--sage);opacity:1}
.woocommerce-product-gallery__trigger{position:absolute;top:12px;right:12px;z-index:5;width:36px;height:36px;border-radius:50%;background:rgba(248,249,247,.9);display:grid;place-items:center;font-size:0}
.woocommerce-product-gallery__trigger::before{content:"";width:14px;height:14px;border:2px solid var(--ink);border-radius:50%}
.single-product div.product .summary{width:auto!important;float:none!important;margin:0!important;min-width:0}
.single-product .product_title{font-size:clamp(30px,3vw,40px);font-family:var(--f-display)}
.single-product .woocommerce-product-rating{display:flex;gap:10px;align-items:center;font-size:13px;color:var(--muted);margin-top:8px}
.star-rating{position:relative;display:inline-block;width:5.4em;height:1.1em;line-height:1;font-size:13px;overflow:hidden;font-family:inherit}
.star-rating::before{content:"★★★★★";color:#D9DED9;letter-spacing:.1em;position:absolute;inset:0}
.star-rating span{position:absolute;top:0;left:0;overflow:hidden;padding-top:1.5em;height:0}
.star-rating span::before{content:"★★★★★";color:#E3A33C;letter-spacing:.1em;position:absolute;top:0;left:0}
.single-product .summary .price{display:block;font-size:26px;font-weight:600;color:var(--ink);margin-top:12px;font-variant-numeric:tabular-nums}
.single-product .summary .price del{font-size:17px;font-weight:400;color:var(--muted);margin-right:8px}
.single-product .summary .price ins{text-decoration:none}
.woocommerce-product-details__short-description{color:var(--body);margin-top:12px;font-size:14.5px}
form.cart{display:grid;grid-template-columns:auto 1fr 1fr;gap:12px;align-items:center;margin-top:20px}
form.cart.variations_form{display:block}
form.cart .variations{margin-bottom:12px;width:100%}
form.cart .variations td,form.cart .variations th{padding:6px 0;text-align:left}
.woocommerce-variation-add-to-cart{display:grid;grid-template-columns:auto 1fr 1fr;gap:12px;align-items:center}
form.cart .quantity{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px;height:46px;padding:0 6px;background:#fff}
form.cart .quantity .qty{width:56px;border:0;background:none;text-align:center;padding:0;height:100%;border-radius:999px}
form.cart .single_add_to_cart_button{order:3;width:100%;height:46px;background:transparent;color:var(--sage-d);border:1.5px solid var(--sage);border-radius:999px;font-weight:500}
form.cart .single_add_to_cart_button:hover{background:var(--sage-soft);color:var(--sage-d)}
form.cart .nhy-buy-now{order:2;min-width:0;width:100%}
.single-product .product_meta{font-size:12.5px;color:var(--muted);margin-top:18px;display:grid;gap:4px}
.single-product .product_meta a{color:var(--ink)}
.acc{margin-top:22px;border-top:1px solid var(--line)}
.acc details{border-bottom:1px solid var(--line);padding-block:14px}
.acc summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-family:var(--f-display);font-size:17px;font-weight:500}
.acc summary::-webkit-details-marker{display:none}
.acc summary::after{content:"+";font-family:var(--f-body);font-weight:300;font-size:22px;line-height:1}
.acc details[open] summary::after{content:"−"}
.acc-body{font-size:14px;color:#4A534C;padding-top:10px}
.acc-body>*+*{margin-top:10px}
.acc-body ul{padding-left:18px}
.acc-body table{width:100%;border-collapse:collapse}
.acc-body th,.acc-body td{text-align:left;padding:8px 0;border-bottom:1px solid var(--line);font-size:13.5px}
.acc-body th{width:40%;font-weight:500;color:var(--ink)}
#reviews .commentlist{list-style:none;padding:0;display:grid;gap:12px}
#reviews .comment_container{background:var(--tile);border-radius:14px;padding:14px;display:flex;gap:12px}
#reviews .comment_container img{border-radius:50%;width:40px;height:40px}
#reviews .comment-reply-title{font-size:18px}
.single-product .related,.single-product .upsells{grid-column:1/-1;padding-top:72px}
.single-product .related>h2,.single-product .upsells>h2{font-family:var(--f-body);font-weight:500;font-size:clamp(24px,2.6vw,30px);margin-bottom:20px}
@media(max-width:860px){.single-product div.product{grid-template-columns:1fr}form.cart,.woocommerce-variation-add-to-cart{grid-template-columns:auto 1fr}form.cart .single_add_to_cart_button{grid-column:1/-1}}

/* Giỏ hàng & thanh toán (block + shortcode) */
.wc-block-cart,.wc-block-checkout{font-size:14px}
.wc-block-components-button:not(.is-link),.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{border-radius:999px!important;background:var(--sage)!important;color:#fff!important;min-height:48px}
.wc-block-components-button:not(.is-link):hover{background:var(--sage-d)!important}
.wc-block-components-totals-wrapper,.wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block{border-color:var(--line)!important}
.wc-block-components-sidebar{background:var(--tile);border-radius:var(--r);padding:20px!important}
.wc-block-components-text-input input,.wc-block-components-combobox .wc-block-components-combobox-control input,.wc-blocks-components-select__select{border-radius:12px!important}
.woocommerce table.shop_table{width:100%;border-collapse:collapse;border:0}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:14px 10px;border-bottom:1px solid var(--line);text-align:left}
.woocommerce table.shop_table img{width:72px;border-radius:12px}
.cart-collaterals .cart_totals,.woocommerce-checkout-review-order{background:var(--tile);border-radius:var(--r);padding:22px}
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0;display:grid;gap:4px}
.woocommerce-MyAccount-navigation a{display:block;padding:10px 14px;border-radius:12px}
.woocommerce-MyAccount-navigation .is-active a,.woocommerce-MyAccount-navigation a:hover{background:var(--tile)}
.woocommerce-account .woocommerce{display:grid;grid-template-columns:220px 1fr;gap:32px}
@media(max-width:760px){.woocommerce-account .woocommerce{grid-template-columns:1fr}}

/* Toast */
.toast{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 24px);transform:translate(-50%,20px);background:var(--forest);color:#fff;border-radius:999px;padding:12px 20px;font-size:13.5px;opacity:0;transition:.3s;z-index:99;pointer-events:none;white-space:nowrap}
.toast.show{opacity:1;transform:translate(-50%,0)}

@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* ===== Ghi đè style mặc định của WooCommerce cho đồng bộ ===== */
.woocommerce div.product form.cart::before,.woocommerce div.product form.cart::after{display:none}
.woocommerce div.product form.cart{margin-bottom:24px}
.woocommerce div.product form.cart div.quantity{float:none;margin:0}
.woocommerce .quantity .qty{width:56px}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink);font-size:26px;font-weight:600}
.woocommerce ul.products li.product .price,.pc .price{color:var(--ink)}
.woocommerce ul.products li.product .price del,.woocommerce div.product p.price del{color:var(--muted);opacity:1}
.woocommerce ul.products li.product .price ins,.woocommerce div.product p.price ins{font-weight:600;text-decoration:none}
.woocommerce span.onsale,.woocommerce ul.products li.product .onsale{position:absolute;top:12px;left:12px;right:auto;margin:0;min-height:0;min-width:0;padding:4px 12px;border-radius:999px;background:var(--forest);color:#fff;font-size:11.5px;font-weight:500;line-height:1.4}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{border-radius:999px;background:var(--sage);color:#fff;font-weight:500;padding:0 24px;height:46px;line-height:1;display:inline-flex;align-items:center;justify-content:center}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce #respond input#submit:hover{background:var(--sage-d);color:#fff}
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--forest);color:#fff}
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce input.button.alt:hover{background:var(--ink);color:#fff}
.woocommerce div.product form.cart .button.single_add_to_cart_button{background:transparent;color:var(--sage-d);border:1.5px solid var(--sage);width:100%;height:46px;float:none;vertical-align:middle}
.woocommerce div.product form.cart .button.single_add_to_cart_button:hover{background:var(--sage-soft);color:var(--sage-d)}
.woocommerce-message,.woocommerce-info{border-top-color:var(--sage)}
.woocommerce-message::before,.woocommerce-info::before{color:var(--sage)}
.woocommerce .star-rating span::before,.woocommerce p.stars a{color:var(--sage-d)}
.woocommerce .woocommerce-breadcrumb{color:var(--muted)}
.single-product .related>h2,.single-product .upsells>h2{font-family:var(--f-display);font-weight:400}
.pmeta .pprice{font-weight:600;color:var(--ink)}.pmeta .pprice del{color:var(--muted);font-weight:400;margin-right:4px}.pmeta .pprice ins{text-decoration:none}
.woocommerce ul.products li.product,.woocommerce ul.products[class*=columns-] li.product,.woocommerce-page ul.products[class*=columns-] li.product{width:auto;float:none;margin:0;clear:none}
.page-head .page-title:has(.cap){padding-bottom:.2em}
