/* pages.css — per-page-local styles extracted verbatim from each vn-drive page <style> block */


/* ===== category.html page-local ===== */
/* page-local layout for THIS page only — category listing */
.listing { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }

/* filter rail */
.rail { position: sticky; top: 80px; background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); overflow: hidden; }
.rail .fg { border-bottom: 1px solid var(--color-line); padding: 14px 16px; }
.rail .fg:last-child { border-bottom: 0; }
.rail .fg h2, .rail .fg h4 { font-family: var(--font-head); font-weight: 700; font-size: 14px; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.rail .fg h2 .ic-svg, .rail .fg h4 .ic-svg { width: 16px; height: 16px; color: var(--color-text-muted); }
.fopt { display: flex; gap: 8px; align-items: center; padding: 4px 0; font-size: 13px; cursor: pointer; transition: color var(--motion) var(--ease); }
.fopt:hover { color: var(--color-brand); }
.fopt input { accent-color: var(--color-brand); width: 15px; height: 15px; flex: none; cursor: pointer; }
.fopt input:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.fopt .count { color: var(--color-text-muted); font-size: 12px; margin-left: auto; }
.fopt:hover .count { color: inherit; }
.price-row { display: flex; gap: 6px; align-items: center; margin-top: 10px; }
.price-row input { width: 100%; border: 1px solid var(--color-line); border-radius: 8px; padding: 8px 9px; font: inherit; font-size: 12px; color: var(--color-text); transition: border-color var(--motion) var(--ease); }
.price-row input:focus { outline: none; border-color: var(--color-brand); }
.price-row input:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 1px; }
.price-row .dash { color: var(--color-text-muted); }
.btn-apply { margin-top: 10px; width: 100%; font: inherit; font-weight: 700; font-size: 13px; padding: 9px 12px; border-radius: var(--radius-pill); border: 0; cursor: pointer; background: var(--color-brand); color: #fff; transition: box-shadow var(--motion) var(--ease), translate var(--motion) var(--ease); }
.btn-apply:hover { box-shadow: var(--shadow-hover); translate: 0 var(--lift); }
.btn-apply:active { scale: var(--press); }
.btn-apply:focus-visible { outline: 3px solid var(--color-brand); outline-offset: 2px; }
.swatches-row { display: flex; flex-wrap: wrap; gap: 8px; }
.swbtn { width: 26px; height: 26px; border-radius: var(--radius-pill); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--color-line); cursor: pointer; padding: 0; transition: transform var(--motion) var(--ease), box-shadow var(--motion) var(--ease); }
.swbtn:hover { transform: scale(1.12); }
.swbtn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--color-brand); }

/* sort bar */
.sortbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips .lbl { font-size: 13px; color: var(--color-text-muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-pill); padding: 5px 11px; font-size: 12px; font-weight: 600; color: var(--color-text); cursor: pointer; transition: border-color var(--motion) var(--ease), color var(--motion) var(--ease); }
.chip:hover { border-color: var(--color-promo); color: var(--color-promo); }
.chip .ic-svg { width: 12px; height: 12px; }
.sortright { display: flex; align-items: center; gap: 10px; }
.sortright .select { width: auto; min-width: 170px; }
.viewtoggle { display: flex; gap: 4px; }
.viewtoggle .vb { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--color-line); background: #fff; color: var(--color-text-muted); cursor: pointer; transition: color var(--motion) var(--ease), border-color var(--motion) var(--ease); }
.viewtoggle .vb.on, .viewtoggle .vb:hover { color: var(--color-brand); border-color: var(--color-brand); }
.viewtoggle .vb:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }

/* pagination */
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 26px; }
.pager .pg { min-width: 38px; height: 38px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--color-line); background: #fff; color: var(--color-text); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; display: grid; place-items: center; transition: color var(--motion) var(--ease), border-color var(--motion) var(--ease), background var(--motion) var(--ease); }
.pager .pg:hover { border-color: var(--color-brand); color: var(--color-brand); }
.pager .pg.on { background: var(--color-brand); border-color: var(--color-brand); color: #fff; }
.pager .pg:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.pager .pg .ic-svg { width: 16px; height: 16px; }
.pager .gap { color: var(--color-text-muted); padding: 0 4px; }
.loadmore { text-align: center; margin-top: 18px; }

@media (max-width: 1100px) {
  .listing { grid-template-columns: 220px 1fr; }
}
@media (max-width: 860px) {
  .listing { grid-template-columns: 1fr; }
  .rail { position: static; }
}


/* ===== product.html page-local ===== */
/* page-local layout for THIS page only — product detail */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.gallery .main { aspect-ratio: 1/1; border: 1px solid var(--color-line); border-radius: var(--radius); overflow: hidden; background: var(--color-surface-2); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; margin-top: 12px; }
.thumb { aspect-ratio: 1/1; border: 2px solid var(--color-line); border-radius: 8px; overflow: hidden; background: var(--color-surface-2); cursor: pointer; padding: 0; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.on { border-color: var(--color-brand); }
.thumb:focus-visible { outline: 3px solid var(--color-brand); outline-offset: 2px; }

.info h1 { font-family: var(--font-head); font-size: var(--t-h2); font-weight: 800; letter-spacing: -.3px; line-height: 1.2; }
.info .rrow { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; }
.info .rrow .stars { display: inline-flex; gap: 2px; }
.info .rrow .stars .ic-svg { width: 16px; height: 16px; fill: #F08C00; stroke: #F08C00; }
.info .rrow .score { font-weight: 700; color: var(--color-text); }
.info .rrow .muted { color: var(--color-text-muted); }
.priceblock { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.priceblock .now { color: var(--color-promo); font-family: var(--font-head); font-weight: 800; font-size: var(--t-h2); }
.priceblock .was { color: var(--color-text-muted); text-decoration: line-through; font-size: 16px; }
.priceblock .off { background: var(--color-promo); color: #fff; font-weight: 800; font-size: 13px; padding: 4px 9px; border-radius: 6px; }
.blurb { color: var(--color-text-muted); font-size: var(--t-body-s); line-height: 1.6; margin-top: 14px; max-width: 52ch; }

.variant { margin-top: 22px; }
.variant .vlabel { font-weight: 700; font-size: 13px; margin-bottom: 10px; display: flex; gap: 8px; }
.variant .vlabel .picked { color: var(--color-text-muted); font-weight: 500; }
.swatches-row { display: flex; gap: 12px; }
.swatch { width: 34px; height: 34px; border-radius: var(--radius-pill); border: 2px solid var(--color-line); cursor: pointer; padding: 0; position: relative; }
.swatch.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-brand); border-color: #fff; }
.swatch:focus-visible { outline: 3px solid var(--color-brand); outline-offset: 3px; }
.sizes-row { display: flex; gap: 10px; flex-wrap: wrap; }
.size-pill { border: 1px solid var(--color-line); background: #fff; border-radius: var(--radius-pill); padding: 9px 18px; font: inherit; font-weight: 600; font-size: 13px; cursor: pointer; color: var(--color-text); transition: border-color var(--motion) var(--ease), color var(--motion) var(--ease); }
.size-pill:hover { border-color: var(--color-brand); color: var(--color-brand); }
.size-pill.on { border-color: var(--color-brand); background: rgba(10,124,90,.08); color: var(--color-brand); }
.size-pill:focus-visible { outline: 3px solid var(--color-brand); outline-offset: 2px; }

.buyrow { display: flex; align-items: center; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--color-line); border-radius: var(--radius-pill); overflow: hidden; }
.stepper button { width: 40px; height: 44px; background: #fff; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--color-text); }
.stepper button:hover { background: var(--color-surface); }
.stepper button:focus-visible { outline: 3px solid var(--color-brand); outline-offset: -3px; }
.stepper .qty { width: 46px; text-align: center; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.buyrow .btn { flex: 1 1 200px; padding-block: 15px; font-size: var(--t-body); }

.trustrow { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--color-line); }
.trustrow .ti { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.trustrow .ti .ic-svg { color: var(--color-brand); width: 22px; height: 22px; }

/* tabs */
.tabbar { display: flex; gap: 6px; border-bottom: 1px solid var(--color-line); }
.tab { background: none; border: 0; border-bottom: 3px solid transparent; padding: 13px 18px; font: inherit; font-weight: 700; font-size: var(--t-body-s); color: var(--color-text-muted); cursor: pointer; margin-bottom: -1px; transition: color var(--motion) var(--ease), border-color var(--motion) var(--ease); }
.tab:hover { color: var(--color-brand); }
.tab.on { color: var(--color-brand); border-color: var(--color-brand); }
.tab:focus-visible { outline: 3px solid var(--color-brand); outline-offset: 2px; }
.panel { display: none; padding-top: 24px; }
.panel.on { display: block; }
.panel p { font-size: var(--t-body-s); line-height: 1.7; color: var(--color-text); margin-bottom: 14px; max-width: 70ch; }
.panel .lifeimg { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-line); margin-top: 6px; max-width: 640px; }
.spectable { width: 100%; max-width: 560px; border-collapse: collapse; }
.spectable td { padding: 12px 14px; font-size: var(--t-body-s); border-bottom: 1px solid var(--color-line); }
.spectable tr td:first-child { color: var(--color-text-muted); font-weight: 600; width: 38%; background: var(--color-surface); }
.spectable tr td:last-child { font-weight: 600; }

.revsum { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; margin-bottom: 28px; max-width: 640px; }
.revsum .big { font-family: var(--font-head); font-size: 52px; font-weight: 800; color: var(--color-text); line-height: 1; }
.revsum .stars { display: flex; gap: 2px; margin: 8px 0; }
.revsum .stars .ic-svg { width: 18px; height: 18px; fill: #F08C00; stroke: #F08C00; }
.revsum .cap { font-size: 13px; color: var(--color-text-muted); }
.bars { display: flex; flex-direction: column; gap: 6px; }
.bar { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--color-text-muted); }
.bar .lbl { width: 28px; display: inline-flex; align-items: center; gap: 2px; }
.bar .lbl .ic-svg { width: 11px; height: 11px; fill: #F08C00; stroke: #F08C00; }
.bar .track { flex: 1; height: 8px; background: var(--color-surface-2); border-radius: var(--radius-pill); overflow: hidden; }
.bar .fill { height: 100%; background: #F08C00; border-radius: var(--radius-pill); }
.bar .pct { width: 36px; text-align: right; }
.review { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--color-line); max-width: 720px; }
.review .av { width: 44px; height: 44px; border-radius: var(--radius-pill); object-fit: cover; flex: none; }
.review .rstars { display: flex; gap: 2px; margin: 4px 0 8px; }
.review .rstars .ic-svg { width: 14px; height: 14px; fill: #F08C00; stroke: #F08C00; }
.review .rname { font-weight: 700; font-size: var(--t-body-s); }
.review .rtext { font-size: var(--t-body-s); line-height: 1.6; color: var(--color-text); }
.review .rdate { font-size: 12px; color: var(--color-text-muted); margin-top: 6px; }

@media (max-width: 1100px) {
  .pdp { grid-template-columns: 1fr; }
  .revsum { grid-template-columns: 1fr; }
}


/* ===== cart.html page-local ===== */
/* page-local layout for THIS page only — cart grid + line items + summary card */
.cart-grid { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }

/* LEFT — line items */
.cart-items { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); overflow: hidden; }
.cart-hrow { display: grid; grid-template-columns: 1fr 150px 150px; gap: 16px; padding: 14px 18px; background: var(--color-surface); border-bottom: 1px solid var(--color-line); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--color-text-muted); }
.cart-hrow .c-qty, .cart-hrow .c-tot { text-align: center; }
.citem { display: grid; grid-template-columns: 1fr 150px 150px; gap: 16px; padding: 18px; border-bottom: 1px solid var(--color-line); align-items: center; }
.citem:last-child { border-bottom: 0; }
.citem .prod { display: flex; gap: 14px; align-items: flex-start; }
.citem .thumb { width: 90px; height: 90px; border-radius: 10px; overflow: hidden; flex: none; background: var(--color-surface-2); border: 1px solid var(--color-line); }
.citem .thumb img { width: 100%; height: 100%; object-fit: cover; }
.citem .nm { font-weight: 600; font-size: var(--t-body-s); line-height: 1.35; color: var(--color-text); display: block; }
.citem .nm:hover { color: var(--color-brand); }
.citem .variant { font-size: 12px; color: var(--color-text-muted); margin-top: 5px; }
.citem .unit-m { font-size: 12px; color: var(--color-text-muted); margin-top: 6px; }
.citem .rm { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; background: none; border: 0; padding: 0; font: inherit; font-size: 12px; font-weight: 600; color: var(--color-text-muted); cursor: pointer; transition: color var(--motion) var(--ease); }
.citem .rm:hover { color: var(--color-promo); }
.citem .rm .ic-svg { width: 14px; height: 14px; }

/* qty stepper */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--color-line); border-radius: var(--radius-pill); overflow: hidden; margin: 0 auto; }
.stepper button { width: 34px; height: 34px; display: grid; place-items: center; background: #fff; border: 0; cursor: pointer; color: var(--color-text); transition: background var(--motion) var(--ease), color var(--motion) var(--ease); }
.stepper button:hover { background: var(--color-surface); color: var(--color-brand); }
.stepper button:focus-visible { outline: 3px solid var(--color-brand); outline-offset: -3px; }
.stepper button .ic-svg { width: 15px; height: 15px; }
.stepper .qn { min-width: 38px; text-align: center; font-weight: 700; font-size: var(--t-body-s); font-variant-numeric: tabular-nums; border-inline: 1px solid var(--color-line); height: 34px; line-height: 34px; }

.citem .c-tot { text-align: center; }
.citem .line { color: var(--color-promo); font-weight: 800; font-size: 16px; }

/* below items toolbar */
.cart-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.cart-foot .cont { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: var(--t-body-s); color: var(--color-brand); }
.cart-foot .cont .ic-svg { width: 16px; height: 16px; }
.cart-foot .cont:hover .ic-svg { translate: -3px 0; transition: translate var(--motion) var(--ease); }

/* RIGHT — summary card */
.summary { position: sticky; top: 80px; background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); padding: 22px; }
.summary h2 { font-family: var(--font-head); font-size: var(--t-h3); font-weight: 800; margin-bottom: 16px; }
.voucher { display: flex; gap: 8px; margin-bottom: 18px; }
.voucher .input { flex: 1; }
.voucher .btn { white-space: nowrap; padding-inline: 18px; }
.sum-rows { display: flex; flex-direction: column; gap: 11px; font-size: var(--t-body-s); }
.sum-rows .r { display: flex; justify-content: space-between; align-items: center; }
.sum-rows .r span:first-child { color: var(--color-text-muted); }
.sum-rows .r .free { color: var(--color-brand); font-weight: 700; }
.sum-rows .r .disc { color: var(--color-promo); font-weight: 700; }
.sum-div { height: 1px; background: var(--color-line); margin: 16px 0; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.sum-total span { font-weight: 700; }
.sum-total b { font-family: var(--font-head); font-size: var(--t-h2); font-weight: 800; color: var(--color-promo); }
.summary .btn-promo .ic-svg { transition: translate var(--motion) var(--ease); }
.summary .btn-promo:hover .ic-svg { translate: 3px 0; }
.trustline { display: flex; align-items: center; gap: 7px; justify-content: center; font-size: 12px; color: var(--color-text-muted); margin-top: 14px; }
.trustline .ic-svg { width: 15px; height: 15px; color: var(--color-brand); }
.paychips { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 14px; }
.paychips .logo-chip { padding: 6px 11px; font-size: 12px; }

@media (max-width: 1100px) {
  .cart-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 640px) {
  .cart-hrow { display: none; }
  .citem { grid-template-columns: 1fr; gap: 12px; }
  .citem .c-qty, .citem .c-tot { text-align: left; }
  .stepper { margin: 0; }
}


/* ===== checkout.html page-local ===== */
/* page-local layout for THIS page only — checkout */
.co-grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }

/* bordered card blocks (left form groups) */
.co-block { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 20px; }
.co-block > .bhead { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.co-block .bnum { width: 26px; height: 26px; border-radius: var(--radius-pill); background: var(--color-brand); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; flex: none; }
.co-block .btitle { font-family: var(--font-head); font-weight: 700; font-size: var(--t-body); }

/* selectable radio rows (shipping) */
.opt-row { display: flex; align-items: center; gap: 12px; border: 1px solid var(--color-line); border-radius: var(--radius); padding: 13px 15px; cursor: pointer; margin-bottom: 10px; transition: border-color var(--motion) var(--ease), background var(--motion) var(--ease); }
.opt-row:last-child { margin-bottom: 0; }
.opt-row input { accent-color: var(--color-brand); width: 18px; height: 18px; flex: none; }
.opt-row:has(input:checked) { border-color: var(--color-brand); background: rgba(10,124,90,.05); }
.opt-row .otext { flex: 1; }
.opt-row .otext b { font-weight: 700; font-size: var(--t-body-s); display: block; }
.opt-row .otext span { font-size: 12px; color: var(--color-text-muted); }
.opt-row .oprice { font-weight: 800; font-size: var(--t-body-s); color: var(--color-brand); white-space: nowrap; }
.opt-row .oprice.free { color: var(--color-text-muted); }

/* selectable payment cards */
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-card { display: flex; align-items: center; gap: 12px; border: 1px solid var(--color-line); border-radius: var(--radius); padding: 14px 15px; cursor: pointer; transition: border-color var(--motion) var(--ease), box-shadow var(--motion) var(--ease); }
.pay-card .pic { width: 40px; height: 40px; border-radius: 8px; background: var(--color-surface-2); display: grid; place-items: center; color: var(--color-brand); flex: none; }
.pay-card.active { border-color: var(--color-brand); box-shadow: 0 0 0 1px var(--color-brand) inset; }
.pay-card .ptext b { font-weight: 700; font-size: var(--t-body-s); display: block; }
.pay-card .ptext span { font-size: 12px; color: var(--color-text-muted); }

/* order summary card (sticky) */
.co-summary { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); padding: 20px 22px; position: sticky; top: 80px; }
.co-summary h2 { font-family: var(--font-head); font-weight: 700; font-size: var(--t-body); margin-bottom: 16px; }
.mini-row { display: flex; gap: 11px; align-items: center; padding: 9px 0; }
.mini-row .mimg { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; flex: none; background: var(--color-surface-2); }
.mini-row .mimg img { width: 100%; height: 100%; object-fit: cover; }
.mini-row .minfo { flex: 1; min-width: 0; }
.mini-row .minfo b { font-weight: 600; font-size: 13px; line-height: 1.35; display: block; }
.mini-row .minfo span { font-size: 12px; color: var(--color-text-muted); }
.mini-row .mprice { font-weight: 700; font-size: 13px; white-space: nowrap; }
.co-divider { border: 0; border-top: 1px solid var(--color-line); margin: 14px 0; }
.sum-line { display: flex; justify-content: space-between; align-items: center; font-size: var(--t-body-s); padding: 5px 0; }
.sum-line .lbl { color: var(--color-text-muted); }
.sum-line .val { font-weight: 600; }
.sum-line .val.free { color: var(--color-brand); }
.sum-line .val.disc { color: var(--color-promo); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; }
.sum-total .lbl { font-weight: 700; font-size: var(--t-body); }
.sum-total .big { color: var(--color-promo); font-family: var(--font-head); font-weight: 800; font-size: var(--t-h2); }
.voucher-note { font-size: 12px; color: var(--color-text-muted); background: var(--color-surface); border: 1px dashed var(--color-line); border-radius: 8px; padding: 9px 11px; margin: 14px 0; display: flex; align-items: center; gap: 7px; }
.voucher-note .ic-svg { color: var(--color-brand); }
.trust-line { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--color-text-muted); margin-top: 14px; justify-content: center; }
.trust-line .ic-svg { color: var(--color-brand); }
.pay-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 12px; }
.pay-chips .logo-chip { padding: 5px 10px; font-size: 11px; }

@media (max-width: 1100px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; }
  .pay-grid { grid-template-columns: 1fr; }
}


/* ===== account.html page-local ===== */
/* page-local layout for THIS page only — account dashboard */
.acc-head { display: flex; align-items: center; gap: 14px; }
.acc-head .av { width: 52px; height: 52px; border-radius: var(--radius-pill); object-fit: cover; flex: none; border: 2px solid var(--color-line); }
.acc-head .who { flex: 1; }
.acc-head .who small { display: block; font-size: 12px; color: var(--color-text-muted); margin-bottom: 2px; }
.acc-head .who h1 { font-family: var(--font-head); font-size: var(--t-h2); font-weight: 800; letter-spacing: -.3px; }
.acc-head .logout { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: var(--t-body-s); color: var(--color-text-muted); transition: color var(--motion) var(--ease); }
.acc-head .logout:hover { color: var(--color-promo); }
.acc-head .logout .ic-svg { width: 16px; height: 16px; }

.acc-grid { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }

/* LEFT sidebar */
.acc-side { position: sticky; top: 80px; background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); padding: 8px; }
.acc-side a { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: var(--radius); font-weight: 600; font-size: var(--t-body-s); color: var(--color-text); transition: background var(--motion) var(--ease), color var(--motion) var(--ease); }
.acc-side a .ic-svg { width: 18px; height: 18px; color: var(--color-text-muted); transition: color var(--motion) var(--ease); }
.acc-side a:hover { background: var(--color-surface); }
.acc-side a:hover .ic-svg { color: var(--color-brand); }
.acc-side a:focus-visible { outline: 3px solid var(--color-brand); outline-offset: -3px; }
.acc-side a.on { background: rgba(10,124,90,.1); color: var(--color-brand); }
.acc-side a.on .ic-svg { color: var(--color-brand); }

/* RIGHT content */
.acc-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 26px; }
.acc-stats .w { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); padding: 20px 18px; text-align: center; transition: transform var(--motion) var(--ease), box-shadow var(--motion) var(--ease); }
.acc-stats .w:hover { translate: 0 var(--lift); box-shadow: var(--shadow-hover); }
.acc-stats .w .ic { width: 46px; height: 46px; border-radius: var(--radius-pill); background: rgba(10,124,90,.1); display: grid; place-items: center; margin: 0 auto 10px; color: var(--color-brand); }
.acc-stats .w .ic .ic-svg { width: 22px; height: 22px; }
.acc-stats .w .big { font-family: var(--font-head); font-size: var(--t-h2); font-weight: 800; color: var(--color-text); line-height: 1.1; }
.acc-stats .w .lbl { font-size: 13px; color: var(--color-text-muted); margin-top: 4px; }

.acc-block-head { font-family: var(--font-head); font-size: var(--t-h3); font-weight: 800; letter-spacing: -.2px; margin-bottom: 14px; }

/* ORDER TABLE */
.acc-card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); overflow: hidden; }
.tbl-scroll { overflow-x: auto; }
.otbl { width: 100%; border-collapse: collapse; min-width: 720px; font-size: var(--t-body-s); }
.otbl thead th { text-align: left; padding: 13px 16px; background: var(--color-surface); border-bottom: 1px solid var(--color-line); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--color-text-muted); white-space: nowrap; }
.otbl tbody td { padding: 14px 16px; border-bottom: 1px solid var(--color-line); vertical-align: middle; }
.otbl tbody tr:last-child td { border-bottom: 0; }
.otbl tbody tr { transition: background var(--motion) var(--ease); }
.otbl tbody tr:hover { background: var(--color-surface); }
.otbl .code { font-weight: 700; color: var(--color-text); white-space: nowrap; }
.otbl .tot { font-weight: 800; color: var(--color-promo); white-space: nowrap; }
.otbl .prod-c { min-width: 200px; color: var(--color-text); }
.otbl .nowrap { white-space: nowrap; color: var(--color-text-muted); }
.otbl .detail { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--color-brand); white-space: nowrap; }
.otbl .detail .ic-svg { width: 14px; height: 14px; }
.otbl .detail:hover .ic-svg { translate: 3px 0; transition: translate var(--motion) var(--ease); }

.pill { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: var(--radius-pill); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: var(--radius-pill); background: currentColor; }
.pill.done { background: rgba(10,124,90,.12); color: #0a7c5a; }
.pill.ship { background: rgba(13,110,253,.12); color: #0d6efd; }
.pill.wait { background: rgba(240,140,0,.14); color: #C26A00; }
.pill.cancel { background: var(--color-surface-2); color: var(--color-text-muted); }

/* ADDRESS card */
.acc-addr { margin-top: 26px; }
.addr-card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); padding: 20px 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.addr-card .ai { display: flex; gap: 13px; }
.addr-card .pin { width: 40px; height: 40px; border-radius: var(--radius-pill); background: rgba(10,124,90,.1); display: grid; place-items: center; color: var(--color-brand); flex: none; }
.addr-card .pin .ic-svg { width: 20px; height: 20px; }
.addr-card .nm { font-weight: 700; font-size: var(--t-body-s); margin-bottom: 4px; }
.addr-card .ln { font-size: 13px; color: var(--color-text-muted); line-height: 1.55; max-width: 46ch; }
.addr-card .tag-def { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 700; color: var(--color-brand); background: rgba(10,124,90,.1); padding: 3px 9px; border-radius: var(--radius-pill); }

@media (max-width: 1100px) {
  .acc-grid { grid-template-columns: 1fr; }
  .acc-side { position: static; }
}
@media (max-width: 720px) {
  /* C-111 ACCOUNT STATS COMPACT — keep the three cards in a single 3-up row (was 1-col = huge
     full-width stacks eating the viewport). Tighter padding/icon/number so all three fit at 375. */
  .acc-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
  .acc-stats .w { padding: 12px 6px; }
  .acc-stats .w .ic { width: 32px; height: 32px; margin-bottom: 6px; }
  .acc-stats .w .ic .ic-svg { width: 16px; height: 16px; }
  .acc-stats .w .big { font-size: 20px; }
  .acc-stats .w .lbl { font-size: 11px; margin-top: 2px; line-height: 1.25; }

  /* C-111 ACCOUNT HEADER COMPACT — tight 2-row layout: row 1 = avatar + greeting, row 2 = logout.
     The greeting block flexes and clamps so "Xin chào, {name}" never wraps to a 3rd line. */
  .acc-head { flex-wrap: wrap; align-items: center; gap: 12px; row-gap: 8px; }
  .acc-head .av { width: 44px; height: 44px; }
  .acc-head .who { flex: 1 1 auto; min-width: 0; }
  .acc-head .who small { font-size: 11px; margin-bottom: 1px; }
  .acc-head .who h1 {
    font-size: 19px; line-height: 1.2;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .acc-head .logout { flex: 0 0 100%; margin-top: 0; }
}


/* ===== about.html page-local ===== */
/* page-local layout for THIS page only */
.about-hero { position: relative; overflow: hidden; min-height: 380px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background-color: #0a181f; /* dark fallback under image+overlay so the white hero text is provably >=4.5:1 */ }
.about-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.about-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(10,79,60,.55),rgba(10,24,31,.78)); z-index: 1; }
.about-hero .inner { position: relative; z-index: 2; padding: 56px var(--gutter); max-width: 760px; }
.about-hero h1 { font-family: var(--font-head); font-size: 42px; font-weight: 800; letter-spacing: -.5px; line-height: 1.15; }
.about-hero p { margin-top: 14px; font-size: var(--t-h3); opacity: .95; font-weight: 500; }

.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.story .txt p { color: var(--color-text-muted); line-height: 1.7; margin-top: 14px; font-size: var(--t-body); }
.story .txt p:first-of-type { margin-top: 18px; }
.story .pic { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-rest); }
.story .pic img { width: 100%; height: 100%; object-fit: cover; }

.gal { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.gal .cell { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow-rest); }
.gal .cell img { width: 100%; height: 100%; object-fit: cover; transition: scale var(--motion-slow) var(--ease); }
.gal .cell:hover img { scale: 1.06; }

.tline { position: relative; display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; margin-top: 8px; }
.tline::before { content: ""; position: absolute; top: 7px; left: 6%; right: 6%; height: 2px; background: var(--color-line); z-index: 0; }
.tline .ms { position: relative; z-index: 1; padding-top: 28px; }
.tline .ms::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: var(--radius-pill); background: var(--color-brand); border: 3px solid var(--color-bg); box-shadow: 0 0 0 2px var(--color-brand); }
.tline .yr { font-family: var(--font-head); font-weight: 800; font-size: var(--t-h3); color: var(--color-promo); }
.tline .ms h4 { font-family: var(--font-head); font-weight: 700; font-size: var(--t-body); margin: 6px 0 5px; }
.tline .ms p { font-size: 13px; color: var(--color-text-muted); line-height: 1.5; }

.team { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.team .tm { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); padding: 26px 18px; text-align: center; transition: transform var(--motion) var(--ease), box-shadow var(--motion) var(--ease); }
.team .tm:hover { translate: 0 var(--lift); box-shadow: var(--shadow-hover); }
.team .tm img { width: 84px; height: 84px; border-radius: var(--radius-pill); object-fit: cover; margin: 0 auto 14px; border: 3px solid var(--color-surface); }
.team .tm b { font-family: var(--font-head); font-weight: 700; font-size: var(--t-body); display: block; }
.team .tm span { font-size: 13px; color: var(--color-text-muted); margin-top: 3px; display: block; }

@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .gal { grid-template-columns: repeat(2,1fr); }
  .tline { grid-template-columns: 1fr; gap: 22px; }
  .tline::before { display: none; }
  .team { grid-template-columns: repeat(2,1fr); }
  .about-hero h1 { font-size: 32px; }
}


/* ===== contact.html page-local ===== */
/* page-local layout for THIS page only */
.contact-grid { display: grid; grid-template-columns: 1fr 420px; gap: 32px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); padding: 26px; }
.contact-card h2, .contact-card h3 { font-family: var(--font-head); font-size: var(--t-h3); font-weight: 800; margin-bottom: 18px; }
.contact-card .form-actions { margin-top: 6px; }
.info-row { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--color-line); }
.info-row:last-of-type { border-bottom: 0; }
.info-row .ico { width: 38px; height: 38px; border-radius: 8px; background: rgba(10,124,90,.1); display: grid; place-items: center; color: var(--color-brand); flex: none; }
.info-row .tx b { font-weight: 700; font-size: var(--t-body-s); display: block; }
.info-row .tx span { font-size: 13px; color: var(--color-text-muted); }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-btn { width: 44px; height: 44px; border-radius: var(--radius-pill); display: grid; place-items: center; color: #fff; transition: transform var(--motion) var(--ease); }
.social-btn:hover { translate: 0 -3px; }
.social-btn.zalo { background: #0068FF; }
.social-btn.fb { background: #1877F2; }
.social-btn.chat { background: var(--color-brand); }
.social-btn .ic-svg { width: 22px; height: 22px; }
.map-card { margin-top: 20px; border: 1px solid var(--color-line); border-radius: var(--radius); overflow: hidden; background: var(--color-surface-2); }
.map-card iframe { width: 100%; height: 280px; border: 0; display: block; }
.showroom-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.sr-card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); overflow: hidden; transition: transform var(--motion) var(--ease), box-shadow var(--motion) var(--ease); }
.sr-card:hover { translate: 0 var(--lift); box-shadow: var(--shadow-hover); }
.sr-card .sr-img { aspect-ratio: 16/9; overflow: hidden; background: var(--color-surface-2); }
.sr-card .sr-img img { width: 100%; height: 100%; object-fit: cover; transition: scale var(--motion-slow) var(--ease); }
.sr-card:hover .sr-img img { scale: var(--zoom); }
.sr-card .sr-body { padding: 16px; }
.sr-card .sr-body h4 { font-family: var(--font-head); font-weight: 700; font-size: var(--t-body); margin-bottom: 10px; }
.sr-card .sr-line { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--color-text-muted); padding: 3px 0; }
.sr-card .sr-line .ic-svg { width: 15px; height: 15px; color: var(--color-brand); flex: none; margin-top: 2px; }
.sr-card .sr-dir { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; color: var(--color-brand); font-weight: 700; font-size: var(--t-body-s); }
.sr-card .sr-dir:hover .ic-svg { translate: 2px 0; transition: translate var(--motion) var(--ease); }
.hotcta { background-color: #0d4f3c; background-image: linear-gradient(110deg,#0a7c5a,#0d4f3c); color: #fff; }
.hotcta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 36px; flex-wrap: wrap; }
.hotcta h2, .hotcta h3 { font-family: var(--font-head); font-size: var(--t-h2); font-weight: 800; display: flex; align-items: center; gap: 10px; }
@media (max-width: 1100px) {
  .contact-grid { grid-template-columns: 1fr; }
  .showroom-grid { grid-template-columns: 1fr; }
}


/* ===== blog.html page-local ===== */
/* page-local layout for THIS page only — blog list (Cẩm nang nội thất) */

/* featured post */
.feat { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; transition: transform var(--motion) var(--ease), box-shadow var(--motion) var(--ease), border-color var(--motion) var(--ease); }
.feat:hover { translate: 0 var(--lift); box-shadow: var(--shadow-hover); border-color: transparent; }
.feat .fimg { overflow: hidden; min-height: 320px; }
.feat .fimg img { width: 100%; height: 100%; object-fit: cover; transition: scale var(--motion-slow) var(--ease); }
.feat:hover .fimg img { scale: var(--zoom); }
.feat .fbody { padding: 32px 34px; display: flex; flex-direction: column; justify-content: center; }
.feat .ftag { display: inline-block; align-self: flex-start; background: rgba(10,124,90,.1); color: var(--color-brand); font-weight: 700; font-size: var(--t-label); letter-spacing: .3px; padding: 5px 11px; border-radius: var(--radius-pill); margin-bottom: 14px; }
.feat h2 { font-family: var(--font-head); font-size: var(--t-h1); font-weight: 800; line-height: 1.2; letter-spacing: -.3px; margin-bottom: 12px; }
.feat .fexc { color: var(--color-text-muted); font-size: var(--t-body-s); line-height: 1.6; margin-bottom: 18px; max-width: 50ch; }
.feat .fmeta { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; }
.feat .fmeta .av { width: 40px; height: 40px; border-radius: var(--radius-pill); object-fit: cover; flex: none; }
.feat .fmeta b { font-size: var(--t-body-s); font-weight: 700; display: block; }
.feat .fmeta span { font-size: 12px; color: var(--color-text-muted); }
.feat .flink { align-self: flex-start; color: var(--color-brand); font-weight: 700; font-size: var(--t-body-s); display: inline-flex; align-items: center; gap: 6px; }
.feat:hover .flink .ic-svg { translate: 3px 0; transition: translate var(--motion) var(--ease); }

/* 2-col list + sidebar */
.bloglayout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }

/* pagination (transcribed from category.html) */
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 26px; }
.pager .pg { min-width: 38px; height: 38px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--color-line); background: #fff; color: var(--color-text); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; display: grid; place-items: center; transition: color var(--motion) var(--ease), border-color var(--motion) var(--ease), background var(--motion) var(--ease); }
.pager .pg:hover { border-color: var(--color-brand); color: var(--color-brand); }
.pager .pg.on { background: var(--color-brand); border-color: var(--color-brand); color: #fff; }
.pager .pg:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.pager .pg .ic-svg { width: 16px; height: 16px; }

/* sidebar */
.sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 18px; }
.swid { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); padding: 18px; }
.swid h4 { font-family: var(--font-head); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.searchbox { display: flex; gap: 8px; }
.searchbox .input { flex: 1; }
.searchbox .sbtn { flex: none; width: 42px; border: 0; border-radius: var(--radius); background: var(--color-brand); color: #fff; display: grid; place-items: center; cursor: pointer; transition: box-shadow var(--motion) var(--ease), translate var(--motion) var(--ease); }
.searchbox .sbtn:hover { box-shadow: var(--shadow-hover); translate: 0 var(--lift); }
.searchbox .sbtn:active { scale: var(--press); }
.searchbox .sbtn:focus-visible { outline: 3px solid var(--color-brand); outline-offset: 2px; }

.catlist { display: flex; flex-direction: column; }
.catlist a { display: flex; align-items: center; justify-content: space-between; padding: 9px 10px; margin: 0 -10px; border-radius: 8px; font-size: 13px; font-weight: 600; transition: background var(--motion) var(--ease), color var(--motion) var(--ease); }
.catlist a:hover { background: var(--color-surface); color: var(--color-brand); }
.catlist a .count { background: var(--color-surface-2); color: var(--color-text-muted); font-size: 11px; font-weight: 700; border-radius: var(--radius-pill); padding: 2px 9px; transition: background var(--motion) var(--ease), color var(--motion) var(--ease); }
.catlist a:hover .count { background: rgba(10,124,90,.12); color: var(--color-brand); }

.mini { display: flex; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--color-line); }
.mini:last-child { border-bottom: 0; padding-bottom: 0; }
.mini:first-of-type { padding-top: 0; }
.mini .mimg { width: 72px; height: 56px; border-radius: 8px; overflow: hidden; flex: none; }
.mini .mimg img { width: 100%; height: 100%; object-fit: cover; transition: scale var(--motion-slow) var(--ease); }
.mini:hover .mimg img { scale: var(--zoom); }
.mini .mtt { font-weight: 600; font-size: 13px; line-height: 1.4; transition: color var(--motion) var(--ease); }
.mini:hover .mtt { color: var(--color-brand); }
.mini .mdate { font-size: 11px; color: var(--color-text-muted); margin-top: 4px; }

.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tagcloud a { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-pill); padding: 6px 13px; font-size: 12px; font-weight: 600; color: var(--color-text); transition: border-color var(--motion) var(--ease), color var(--motion) var(--ease); }
.tagcloud a:hover { border-color: var(--color-brand); color: var(--color-brand); }

@media (max-width: 980px) {
  .feat { grid-template-columns: 1fr; }
  .feat .fimg { min-height: 220px; }
  .bloglayout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}


/* ===== blog-post.html page-local ===== */
/* page-local layout for THIS page only */
.art-hero { background: var(--color-surface); border-bottom: 1px solid var(--color-line); }
.art-hero .wrap { max-width: 860px; padding-block: 34px 0; text-align: center; }
.art-cat { display: inline-block; background: rgba(10,124,90,.1); color: var(--color-brand); font-weight: 700; font-size: var(--t-label-s); letter-spacing: .5px; padding: 5px 13px; border-radius: var(--radius-pill); margin-bottom: 14px; }
.art-hero h1 { font-family: var(--font-head); font-size: var(--t-display); font-weight: 800; line-height: 1.14; letter-spacing: -.5px; margin-bottom: 18px; }
.art-meta { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; font-size: var(--t-body-s); color: var(--color-text-muted); }
.art-meta .au { display: flex; align-items: center; gap: 9px; }
.art-meta .au img { width: 38px; height: 38px; border-radius: var(--radius-pill); object-fit: cover; }
.art-meta .au b { color: var(--color-text); font-weight: 700; }
.art-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--color-line); }
.art-share { display: inline-flex; gap: 8px; margin-left: 4px; }
.art-share a { width: 34px; height: 34px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--color-line); display: grid; place-items: center; color: var(--color-text-muted); transition: color var(--motion) var(--ease), border-color var(--motion) var(--ease); }
.art-share a:hover { color: var(--color-brand); border-color: var(--color-brand); }
.art-share .ic-svg { width: 17px; height: 17px; }
.art-hero .heroimg { margin-top: 28px; border-radius: 14px 14px 0 0; overflow: hidden; aspect-ratio: 21/9; }
.art-hero .heroimg img { width: 100%; height: 100%; object-fit: cover; }

.article { max-width: 760px; margin: 0 auto; }
.article > p { font-size: var(--t-body); line-height: 1.75; color: var(--color-text); margin-bottom: 20px; }
.article .lead { font-size: 19px; line-height: 1.7; color: var(--color-text); }
.article h2 { font-family: var(--font-head); font-size: var(--t-h2); font-weight: 800; letter-spacing: -.3px; margin: 38px 0 14px; }
.article ul.principles { list-style: none; margin: 0 0 24px; padding: 0; }
.article ul.principles li { display: flex; gap: 11px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--color-line); font-size: var(--t-body); line-height: 1.6; }
.article ul.principles li .ic-svg { width: 20px; height: 20px; color: var(--color-brand); flex: none; margin-top: 3px; }
.article ul.principles li b { font-weight: 700; }
.article figure { margin: 30px 0; }
.article figure img { width: 100%; border-radius: 12px; aspect-ratio: 16/9; object-fit: cover; }
.article figure figcaption { font-style: italic; font-size: 13px; color: var(--color-text-muted); text-align: center; margin-top: 10px; }
.article blockquote { border-left: 4px solid var(--color-brand); background: var(--color-surface); padding: 18px 24px; margin: 30px 0; border-radius: 0 10px 10px 0; }
.article blockquote p { font-family: var(--font-head); font-size: 20px; line-height: 1.5; font-weight: 600; color: var(--color-text); margin: 0 0 6px; }
.article blockquote cite { font-style: normal; font-size: 13px; color: var(--color-text-muted); font-weight: 600; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: 14px; padding: 22px 26px; margin: 30px 0; }
.inline-cta b { font-family: var(--font-head); font-size: var(--t-h3); font-weight: 800; display: block; margin-bottom: 4px; }
.inline-cta span { font-size: var(--t-body-s); color: var(--color-text-muted); }
.author-card { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--color-line); border-radius: 14px; padding: 22px; margin: 40px 0 24px; }
.author-card img { width: 64px; height: 64px; border-radius: var(--radius-pill); object-fit: cover; flex: none; }
.author-card b { font-family: var(--font-head); font-size: var(--t-body); font-weight: 700; display: block; }
.author-card .role { font-size: 12px; color: var(--color-brand); font-weight: 600; margin-bottom: 5px; }
.author-card p { font-size: 13px; color: var(--color-text-muted); line-height: 1.5; margin-bottom: 8px; }
.author-card .flw { display: flex; gap: 8px; }
.author-card .flw a { width: 30px; height: 30px; border-radius: var(--radius-pill); background: var(--color-surface); display: grid; place-items: center; color: var(--color-text-muted); transition: color var(--motion) var(--ease); }
.author-card .flw a:hover { color: var(--color-brand); }
.author-card .flw .ic-svg { width: 15px; height: 15px; }
.tags-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tags-row .lbl { font-size: 13px; font-weight: 600; color: var(--color-text-muted); margin-right: 4px; }
.chip { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-pill); padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--color-text); transition: color var(--motion) var(--ease), border-color var(--motion) var(--ease); }
.chip:hover { color: var(--color-brand); border-color: var(--color-brand); }
.related { background: var(--color-surface); }


/* ===== A11Y: mobile tap targets for pages.css-owned controls (WCAG 2.5.8 — C-110)
   These selectors are defined above with mouse-sized boxes (26–40px). This file
   loads LAST, so these mobile overrides win over base/app source order. Each
   control gets a >=44x44 hit area at the phone width; small visual chips (color
   swatches) keep their look via transparent padding + background-clip:content-box
   so only the centre paints while the clickable/measured box grows. ===== */
@media (max-width: 480px) {
  /* product detail — variant pickers + qty */
  .swatch { width: 44px; height: 44px; padding: 5px; background-clip: content-box; box-sizing: border-box; }
  .size-pill { min-height: 44px; }
  .stepper .qty { min-height: 44px; box-sizing: border-box; }
  .stepper button { width: 44px; height: 44px; }
  .stepper .qn { height: 44px; line-height: 44px; }

  /* shop / category filter rail + sort bar + pagination */
  .fopt { min-height: 44px; }                     /* the whole label row is the target */
  /* checkbox/radio inputs ship at 15px. Native form controls IGNORE padding for
     their hit box (appearance:auto), so a padded 20px tick still measures 20x20.
     Size the INPUT box itself to 44x44 — the native control scales to fill it,
     giving a real >=44px tap target (WCAG 2.5.8). flex:none keeps the row tidy. */
  .fopt input, .f-cat, .f-price, .f-material {
    width: 44px; height: 44px;
    box-sizing: border-box;
    flex: none;
    margin: 0;
  }
  .price-row input, .f-min, .f-max { min-height: 44px; box-sizing: border-box; }
  .btn-apply { min-height: 44px; }
  .swbtn { width: 44px; height: 44px; padding: 9px; background-clip: content-box; box-sizing: border-box; }
  .sortright .select, .select.f-sort { min-height: 44px; box-sizing: border-box; }
  .viewtoggle .vb { width: 44px; height: 44px; }
  .pager .pg { min-width: 44px; height: 44px; }

  /* WooCommerce add-to-cart link rendered in shop grids (a.button.product_type_*) */
  .pgrid a.button, a.add_to_cart_button, .woocommerce a.button { min-height: 44px; display: inline-flex; align-items: center; }

  /* blog sidebar (page-blog): search button, category rows, tag chips. All ship
     below 44px — give each a >=44x44 mobile hit area (WCAG 2.5.8). */
  .searchbox .sbtn { width: 44px; min-height: 44px; }
  .searchbox .input { min-height: 44px; box-sizing: border-box; }
  .catlist a { min-height: 44px; }                       /* row already flex-centered */
  .tagcloud a { min-height: 44px; display: inline-flex; align-items: center; }

  /* checkout shipping + payment radios ship at 18px. Native radios ignore padding
     for their hit box, so size the INPUT itself to >=44x44 (WCAG 2.5.8 @375). */
  .opt-row input,
  #kitvn_payment_wrap li.wc_payment_method input[type="radio"] {
    width: 44px; height: 44px; box-sizing: border-box; flex: none;
  }

  /* WooCommerce native notice links (e.g. "View cart" after add-to-cart) render
     as a small inline pill — give them a >=44px tap target at mobile. */
  .woocommerce-message a.button, a.wc-forward, .woocommerce-info a.button {
    min-height: 44px; display: inline-flex; align-items: center;
  }

  /* cart block (kitvn/cart): product-name link, remove button, continue-shopping
     link all ship <44px tall — give each a >=44px mobile hit area (WCAG 2.5.8). */
  .citem .nm { min-height: 44px; display: flex; align-items: center; }
  .citem .rm { min-height: 44px; min-width: 44px; }
  .cart-foot .cont { min-height: 44px; }

  /* My-Account LOGIN form (Woo native, shown logged-out). Three controls ship
     below 44px @375 (WCAG 2.5.8): the show-password eye toggle, the "remember me"
     checkbox, and the "Quên mật khẩu?" link. Grow each hit box without touching
     the credential flow itself. */
  .woocommerce form .show-password-input {
    width: 44px; height: 44px; display: grid; place-items: center;
    top: 0; transform: none; right: 0;            /* fill the field's right edge */
  }
  .woocommerce-form__input-checkbox,
  input#rememberme {
    width: 44px; height: 44px; box-sizing: border-box; flex: none;
  }
  .woocommerce-LostPassword a,
  .lost_password a {
    min-height: 44px; display: inline-flex; align-items: center;
  }
}
