:root{
  --red:#d71920; --dred:#a50f15; --yel:#ffd200;
  --ink:#1a1a1a; --muted:#444; --bg:#fff8e6; --line:#e8e0d0;
  --zalo:#0068ff; --ok:#0a7a32;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Be Vietnam Pro",system-ui,sans-serif;
  color:var(--ink);
  line-height:1.55;
  background:#fff;
  font-size:18px; /* senior-friendly baseline */
  padding-bottom:78px;
}
a{color:inherit}
.wrap{max-width:1100px;margin:0 auto;padding:0 16px}
.skip{
  position:absolute;left:-9999px;top:0;background:var(--yel);color:var(--red);
  padding:12px 18px;font-weight:800;z-index:99
}
.skip:focus{left:8px;top:8px}

/* Top bar */
.topbar{position:sticky;top:0;z-index:40;background:var(--red);color:#fff;box-shadow:0 2px 10px #0004}
.nav{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px}
.logo{font-weight:800;font-size:1.25rem;text-decoration:none}
.logo span{background:var(--yel);color:var(--red);padding:3px 10px;border-radius:8px;margin-right:4px}
.phone-top{white-space:nowrap}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:0;cursor:pointer;font:inherit;font-weight:800;text-decoration:none;
  padding:14px 20px;border-radius:14px;transition:.15s;text-align:center;min-height:52px
}
.btn:hover{transform:translateY(-1px);filter:brightness(1.03)}
.btn:active{transform:none}
.btn-sm{padding:10px 14px;min-height:44px;font-size:1rem;border-radius:999px}
.btn-huge{padding:18px 22px;font-size:1.2rem;min-height:64px;width:100%;border-radius:16px;box-shadow:0 4px 0 #0002}
.btn-yellow{background:var(--yel);color:var(--red)}
.btn-white{background:#fff;color:var(--red);border:3px solid #fff}
.btn-call{background:var(--red);color:#fff}
.btn-zalo{background:var(--zalo);color:#fff}
.hero-actions{display:grid;gap:12px;margin-top:18px}
.btns{display:flex;flex-wrap:wrap;gap:12px}

/* Hero */
.hero{background:linear-gradient(145deg,var(--red),var(--dred));color:#fff;padding:28px 0 36px}
.tag{display:inline-block;background:#fff3;padding:6px 14px;border-radius:999px;margin:0;font-weight:600;font-size:1rem}
h1{font-size:1.85rem;line-height:1.2;margin:14px 0 10px;font-weight:800}
h1 em{color:var(--yel);font-style:normal}
.lead{font-size:1.1rem;opacity:.98;margin:0;max-width:38em}
.lead strong{color:var(--yel)}

/* Sections */
.sec{padding:36px 16px}
h2{font-size:1.55rem;margin:0 0 10px;text-align:center;font-weight:800;color:var(--red)}
h2:after{content:"";display:block;width:56px;height:5px;background:var(--yel);margin:10px auto 0;border-radius:3px}
.sub{text-align:center;margin:0 0 22px;color:var(--muted);font-size:1.05rem}
.band{background:var(--bg)}

/* Category tiles — big tap targets */
.cat-grid{
  display:grid;gap:14px;
  grid-template-columns:1fr;
}
.cat-tile{
  position:relative;display:grid;grid-template-columns:88px 1fr;grid-template-rows:auto auto auto;
  gap:2px 14px;align-items:center;text-align:left;
  background:#fff;border:3px solid var(--line);border-radius:18px;
  padding:14px;cursor:pointer;font:inherit;color:var(--ink);
  min-height:110px;box-shadow:0 3px 12px #0001;
  transition:.15s;
}
.cat-tile:hover,.cat-tile:focus-visible{border-color:var(--red);outline:none;box-shadow:0 6px 18px #d7192030}
.cat-tile.active{border-color:var(--red);background:#fff5f5}
.cat-photo{grid-row:1/4;width:88px;height:88px;border-radius:14px;overflow:hidden;background:#eee}
.cat-photo img{width:100%;height:100%;object-fit:cover;display:block}
.cat-icon{position:absolute;left:70px;top:70px;font-size:1.4rem;background:#fff;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;box-shadow:0 2px 6px #0002}
.cat-name{font-weight:800;font-size:1.15rem;line-height:1.25;grid-column:2}
.cat-hint{grid-column:2;color:var(--muted);font-size:.95rem;line-height:1.35}
.cat-count{grid-column:2;font-weight:800;color:var(--red);font-size:1rem}

/* Search */
.search-wrap{display:block;max-width:640px;margin:0 auto 18px}
.search-label{display:block;font-weight:800;margin-bottom:8px;font-size:1.05rem}
#search{
  width:100%;font:inherit;font-size:1.1rem;padding:16px 18px;
  border:3px solid var(--ink);border-radius:14px;background:#fff;min-height:58px
}
#search:focus{outline:3px solid var(--yel);border-color:var(--red)}

/* Filter chips */
.filters{
  display:flex;flex-wrap:nowrap;gap:10px;justify-content:flex-start;
  margin:0 0 16px;overflow-x:auto;-webkit-overflow-scrolling:touch;
  padding:4px 2px 12px;scrollbar-width:thin
}
.chip{
  border:3px solid var(--red);background:#fff;color:var(--red);
  font:inherit;font-weight:800;font-size:1rem;padding:12px 16px;border-radius:999px;
  cursor:pointer;min-height:48px;white-space:nowrap;flex:0 0 auto
}
@media(min-width:980px){
  .filters{flex-wrap:wrap;justify-content:center;overflow:visible;padding-bottom:4px}
}
.chip.active,.chip:hover{background:var(--red);color:#fff}
.active-cat-bar{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;
  background:#fff;border:3px solid var(--red);border-radius:14px;padding:12px 16px;margin:0 0 16px
}
.active-cat-bar p{margin:0;font-size:1.05rem}
.count{text-align:center;margin:0 0 14px;font-weight:700;color:var(--muted)}
.empty{text-align:center;font-size:1.1rem;padding:24px;background:#fff;border-radius:14px}
.empty a{color:var(--red);font-weight:800}

/* Product cards */
.grid{display:grid;gap:16px}
.products{grid-template-columns:1fr}
.card{background:#fff;border-radius:16px;box-shadow:0 3px 14px #0001}
.card.product{
  padding:0;overflow:hidden;cursor:pointer;border:2px solid transparent;
  display:flex;flex-direction:column;transition:.15s
}
.card.product:hover,.card.product:focus-visible{border-color:var(--red);outline:none;transform:translateY(-2px)}
.card.product.hidden{display:none}
.product .ph{height:210px;background:#f0f0f0}
.product .ph img{width:100%;height:100%;object-fit:cover;display:block}
.pinfo{padding:14px 16px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.badge-cond{
  display:inline-block;align-self:flex-start;
  background:var(--ok);color:#fff;font-size:.95rem;font-weight:800;
  padding:4px 12px;border-radius:999px
}
.badge-cat{
  display:inline-block;align-self:flex-start;
  background:var(--yel);color:var(--red);font-size:.9rem;font-weight:800;
  padding:3px 12px;border-radius:999px
}
.product h3{margin:4px 0;font-size:1.2rem;line-height:1.3}
.product .meta,.product .loc,.product .note{margin:0;font-size:1rem;color:var(--muted)}
.price{color:var(--red);font-weight:800;font-size:1.35rem;margin:4px 0}
.pbtns{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}
.pbtns .btn{min-height:52px;font-size:1.05rem;border-radius:12px;padding:12px 8px}

/* Sell section */
.steps-3{list-style:none;padding:0;margin:0 0 22px;display:grid;gap:14px}
.steps-3 li{background:var(--bg);border-radius:16px;padding:20px;border:2px solid var(--line)}
.steps-3 b{
  display:inline-grid;place-items:center;width:48px;height:48px;border-radius:50%;
  background:var(--red);color:var(--yel);font-size:1.35rem
}
.steps-3 h3{margin:10px 0 6px;font-size:1.25rem}
.steps-3 p{margin:0;font-size:1.05rem;color:var(--muted)}
.buy-what{background:#fff;border:3px solid var(--line);border-radius:16px;padding:18px 20px;margin:0 0 22px}
.buy-what h3{margin:0 0 10px;color:var(--red);font-size:1.2rem}
.buy-what ul{margin:0;padding-left:0;list-style:none}
.buy-what li{padding:8px 0;border-bottom:1px solid var(--line);font-size:1.05rem}
.buy-what li:last-child{border-bottom:0}

.areas{grid-template-columns:1fr}
.area{padding:20px;border-top:5px solid var(--red)}
.area h3{margin:0 0 8px;font-size:1.2rem}
.area p{margin:6px 0;font-size:1.05rem}
.area a{color:var(--red);font-weight:800}

.faq details{background:var(--bg);border-radius:14px;padding:16px 18px;margin:0 auto 12px;max-width:820px;border:2px solid var(--line)}
.faq summary{font-weight:800;font-size:1.1rem;cursor:pointer}
.faq details p{margin:10px 0 0;font-size:1.05rem;color:var(--muted)}

.footer{background:#1a1a1a;color:#eee;text-align:center;padding:32px 0 24px}
.footer p{margin:8px 0;font-size:1.05rem}
.footer a{color:var(--yel);font-weight:800}
.small{font-size:.95rem;opacity:.75}

/* Sticky bottom bar — always big */
.sticky-bar{position:fixed;bottom:0;left:0;right:0;display:flex;z-index:50;box-shadow:0 -4px 16px #0003}
.sticky-bar a{
  flex:1;text-align:center;padding:18px 8px;font-weight:800;font-size:1.15rem;
  text-decoration:none;color:#fff;min-height:64px;display:flex;align-items:center;justify-content:center
}
.f-call{background:var(--red)}.f-zalo{background:var(--zalo)}

/* Lightbox */
.lightbox{position:fixed;inset:0;z-index:100;background:#000b;display:flex;align-items:flex-start;justify-content:center;padding:16px;overflow:auto}
.lightbox[hidden]{display:none!important}
.lb-inner{background:#fff;border-radius:18px;padding:22px;max-width:920px;width:100%;margin:24px auto;position:relative}
.lb-close{
  position:absolute;top:10px;right:12px;border:0;background:var(--red);color:#fff;
  width:48px;height:48px;border-radius:50%;font-size:1.8rem;cursor:pointer;line-height:1;font-weight:800
}
.lb-gallery{display:grid;grid-template-columns:1fr;gap:12px;margin:14px 0 18px}
.lb-gallery img{width:100%;border-radius:12px;display:block}
#lb-title{font-size:1.4rem;margin:0 40px 8px 0}

@media(min-width:640px){
  .cat-grid{grid-template-columns:1fr 1fr}
  .products{grid-template-columns:1fr 1fr}
  .hero-actions{grid-template-columns:1fr 1fr}
  .steps-3{grid-template-columns:repeat(3,1fr)}
  .lb-gallery{grid-template-columns:1fr 1fr}
  .areas{grid-template-columns:1fr 1fr}
}
@media(min-width:980px){
  body{font-size:18px;padding-bottom:0}
  h1{font-size:2.6rem}
  .hero{padding:48px 0 56px}
  .cat-grid{grid-template-columns:repeat(3,1fr)}
  .products{grid-template-columns:repeat(3,1fr)}
  .sticky-bar{
    left:auto;right:20px;bottom:20px;flex-direction:column;gap:10px;width:auto;
    box-shadow:none;background:transparent
  }
  .sticky-bar a{border-radius:999px;box-shadow:0 4px 16px #0004;padding:14px 22px;min-height:56px}
}


/* Orphan / wrap hygiene */
h1, h2, h3, .btn, .cat-name, .chip, .faq summary, .badge-cat, .badge-cond {
  text-wrap: balance;
}
p, .lead, .sub, .cat-hint, .steps-3 p, .faq details p, .meta, .loc, .buy-what li, .area p, footer p {
  text-wrap: pretty;
}
#ban-do .btn-huge.btn-zalo {
  display: block;
  line-height: 1.35;
  white-space: normal;
  text-align: center;
  padding-top: 16px;
  padding-bottom: 16px;
}
.product h3 { text-wrap: balance; hyphens: none; }
.pbtns .btn { white-space: nowrap; }
.price { white-space: nowrap; }
.price.price-multi {
  white-space: normal;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
#lb-price.price-multi, .lb-price.price-multi { white-space: pre-line; line-height: 1.3; }

/* SEO additions 2026-11-19 */

.seo-lead{
  max-width:40em;margin:0 auto 22px;text-align:center;
  font-size:1.08rem;color:var(--muted);
}
.footer-links{
  display:flex;flex-wrap:wrap;justify-content:center;gap:8px 20px;
  margin:16px 0 8px;
}
.footer-links a{color:var(--yel);font-weight:800;text-decoration:underline;text-underline-offset:3px}
.page-hero{padding:24px 0 20px}
.page-hero h1{margin-bottom:0}
.page-article{max-width:760px;margin:0 auto;padding-top:28px}
.page-article h2{text-align:left;font-size:1.3rem;margin:22px 0 10px}
.page-article h2:after{margin-left:0;margin-right:0}
.page-article h3{font-size:1.15rem;margin:18px 0 8px;color:var(--red)}
.page-article p{margin:0 0 14px;color:var(--muted)}
.page-article a{color:var(--red);font-weight:800}
.page-article ul{margin:0 0 16px;padding-left:1.2em;color:var(--muted)}
.page-article li{margin:6px 0}
.page-article .stock-list{columns:1;padding-left:1.1em}
.page-article .hero-actions{margin-top:22px}
.page-article .btn-white{background:#fff}
@media(min-width:640px){
  .page-article .stock-list{columns:2;column-gap:28px}
}

.page-article .hero-actions{grid-template-columns:1fr}
@media(min-width:640px){
  .page-article .hero-actions{grid-template-columns:1fr 1fr}
  .page-article .hero-actions .btn-white{grid-column:1/-1}
}
