/* Giao diện trang khách xem
   Bố cục: thanh liên hệ trên cùng, header trắng, menu xanh có danh mục thả xuống,
   lưới sản phẩm 4 cột (2 cột trên điện thoại), nút liên hệ nổi góc phải. */
:root {
  --brand: #0B7A6E;
  --brand-dark: #075A51;
  --brand-soft: #E6F2F0;
  --price: #D2402B;
  --amber: #E89A2C;
  --ink: #1B2B29;
  --muted: #5B6E6B;
  --line: #DCE5E3;
  --surface: #F4F7F6;
  --bg: #FFFFFF;
  --font-display: 'Lexend', 'Be Vietnam Pro', system-ui, sans-serif;
  --font-body: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 6px;
  --wrap: 1240px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 var(--font-body); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.3; text-wrap: balance; margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 16px; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* ---------- Thanh trên cùng ---------- */
.topbar { background: var(--brand-dark); color: #DDEFEC; font-size: 13px; }
.topbar .wrap { display: flex; gap: 20px; align-items: center; justify-content: space-between; min-height: 36px; flex-wrap: wrap; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 760px) { .topbar .tb-left span:not(:first-child), .topbar .tb-right { display: none; } }

/* ---------- Header ---------- */
.header { background: var(--bg); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 42px; height: 42px; border-radius: 8px; background: var(--brand); display: grid; place-items: center; }
.logo-mark svg { width: 26px; height: 26px; }
.logo-text b { display: block; font-family: var(--font-display); font-size: 20px; letter-spacing: .04em; color: var(--brand-dark); line-height: 1.1; }
.logo-text small { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.search { flex: 1; display: flex; max-width: 520px; border: 1.5px solid var(--brand); border-radius: var(--radius); overflow: hidden; }
.search input { flex: 1; min-width: 0; border: 0; padding: 10px 14px; outline: none; background: transparent; }
.search button { border: 0; background: var(--brand); color: #fff; padding: 0 18px; cursor: pointer; display: grid; place-items: center; }
.search button:hover { background: var(--brand-dark); }
.hd-hotline { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hd-hotline .ic { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--brand); display: grid; place-items: center; color: var(--brand); }
.hd-hotline small { display: block; font-size: 12px; color: var(--muted); }
.hd-hotline b { font-family: var(--font-display); color: var(--price); font-size: 18px; letter-spacing: .02em; }
.menu-btn { display: none; border: 0; background: none; padding: 6px; cursor: pointer; color: var(--brand-dark); }
@media (max-width: 960px) {
  .header .wrap { flex-wrap: wrap; gap: 12px; }
  .hd-hotline { display: none; }
  .menu-btn { display: block; margin-left: auto; }
  .search { order: 3; max-width: none; flex-basis: 100%; }
}

/* ---------- Menu ---------- */
.nav { background: var(--brand); color: #fff; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; box-shadow: 0 2px 8px rgba(7, 90, 81, .18); }
.nav .wrap { display: flex; align-items: stretch; }
.nav a, .nav .nav-cat-btn { display: flex; align-items: center; gap: 8px; padding: 0 18px; min-height: 48px; font-weight: 600; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.nav a:hover, .nav a.active { background: var(--brand-dark); color: #fff; }
.nav-cat { position: relative; }
.nav-cat-btn { background: var(--brand-dark); border: 0; cursor: pointer; min-width: 250px; }
.mega { position: absolute; left: 0; top: 100%; background: #fff; color: var(--ink); width: 250px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.12); display: none; }
.nav-cat:hover .mega, .nav-cat.open .mega { display: block; }
.mega > li { list-style: none; position: relative; border-bottom: 1px solid var(--line); }
.mega > li > a { color: var(--ink); text-transform: none; font-weight: 500; letter-spacing: 0; min-height: 42px; justify-content: space-between; }
.mega > li > a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.mega ul { position: absolute; left: 100%; top: -1px; width: 240px; background: #fff; border: 1px solid var(--line); padding: 6px 0; display: none; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.mega > li:hover ul { display: block; }
.mega ul a { color: var(--ink); text-transform: none; font-weight: 400; letter-spacing: 0; min-height: 36px; }
.mega ul a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.mega, .mega ul { margin: 0; padding-left: 0; }
@media (max-width: 960px) { .nav { display: none; } }

/* Menu điện thoại */
.drawer { position: fixed; inset: 0; z-index: 90; display: none; }
.drawer.open { display: block; }
.drawer-bg { position: absolute; inset: 0; background: rgba(10, 30, 28, .45); }
.drawer-panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(320px, 86vw); background: #fff; overflow-y: auto; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 600; }
.drawer-head button { background: none; border: 0; color: #fff; cursor: pointer; padding: 4px; }
.drawer a { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 500; }
.drawer details summary { list-style: none; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; }
.drawer details summary::-webkit-details-marker { display: none; }
.drawer details a { padding-left: 32px; font-weight: 400; background: var(--surface); }

/* ---------- Banner ---------- */
.hero { background: linear-gradient(105deg, var(--brand-dark) 0%, var(--brand) 55%, #2E9A8B 100%); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center; padding-block: 44px; }
.hero-kicker { display: inline-block; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; background: rgba(255,255,255,.14); padding: 5px 12px; border-radius: 99px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(26px, 4vw, 42px); font-weight: 700; margin-bottom: 14px; }
.hero p { margin: 0 0 22px; color: #D6ECE8; max-width: 52ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { position: relative; aspect-ratio: 4 / 3; max-width: 100%; }
.hero-art img { position: absolute; border-radius: 10px; box-shadow: 0 18px 40px rgba(0,0,0,.25); background: #fff; }
.hero-art img:nth-child(1) { width: 72%; left: 0; top: 4%; }
.hero-art img:nth-child(2) { width: 52%; right: 0; bottom: 0; border: 4px solid #fff; }
.hero-dots { display: flex; gap: 6px; margin-top: 26px; }
.hero-dots button { width: 26px; height: 4px; border-radius: 2px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; }
.hero-dots button.on { background: var(--amber); }
@media (max-width: 760px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 28px; } .hero-art { display: none; } }

.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 18px; }
.trust div { display: flex; gap: 12px; align-items: center; font-size: 13.5px; }
.trust svg { flex-shrink: 0; color: var(--brand); }
.trust b { display: block; font-size: 14px; }
@media (max-width: 860px) { .trust .wrap { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: var(--radius); border: 1.5px solid transparent; font-weight: 600; cursor: pointer; font-size: 14.5px; line-height: 1.2; text-align: center; }
.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { background: #D4871A; color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-dark); color: #fff; }
.btn-red { background: var(--price); color: #fff; }
.btn-red:hover { background: #B4321F; color: #fff; }
.btn-line { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn-line:hover { background: var(--brand-soft); }
.btn small { display: block; font-weight: 400; font-size: 12px; opacity: .9; }

/* ---------- Khối nội dung ---------- */
.section { padding-block: 40px; }
.section.alt { background: var(--surface); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; border-bottom: 2px solid var(--line); flex-wrap: wrap; }
.sec-head h2 { font-size: 22px; text-transform: uppercase; letter-spacing: .02em; color: var(--brand-dark); padding-bottom: 10px; border-bottom: 3px solid var(--brand); margin-bottom: -2px; }
.sec-head .tabs { display: flex; gap: 4px; flex-wrap: wrap; padding-bottom: 8px; }
.sec-head .tabs a { font-size: 13.5px; padding: 4px 10px; border-radius: 99px; color: var(--muted); }
.sec-head .tabs a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.sec-head .more { font-size: 14px; color: var(--brand); font-weight: 600; padding-bottom: 10px; }

.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cat-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 10px 12px; text-align: center; transition: border-color .15s, transform .15s; }
.cat-tile:hover { border-color: var(--brand); transform: translateY(-2px); }
.cat-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; margin-bottom: 10px; background: var(--surface); }
.cat-tile b { display: block; font-weight: 600; font-size: 14px; line-height: 1.35; }
.cat-tile small { color: var(--muted); font-size: 12.5px; }

/* ---------- Thẻ sản phẩm ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1020px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s; position: relative; }
.card:hover { box-shadow: 0 8px 24px rgba(11, 122, 110, .12); border-color: #B9D4CF; }
.card-img { aspect-ratio: 4 / 3; background: var(--surface); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-sku { font-size: 12px; color: var(--muted); letter-spacing: .03em; }
.card-name { font-weight: 600; font-size: 14.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; font-variant-numeric: tabular-nums; }
.price b { color: var(--price); font-size: 16px; font-family: var(--font-display); font-weight: 600; }
.price s { color: var(--muted); font-size: 13px; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--price); color: #fff; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 3px; z-index: 1; }
@media (max-width: 700px) { .card-body { padding: 10px; } .card-name { font-size: 13.5px; } .price b { font-size: 15px; } }

/* ---------- Lý do chọn ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.why .num { font-family: var(--font-display); font-size: 30px; color: var(--brand); font-weight: 700; line-height: 1; }
.why b { display: block; margin: 8px 0 4px; }
.why p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .why { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Đường dẫn & danh mục ---------- */
.crumbs { font-size: 13.5px; color: var(--muted); padding-block: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs span::before { content: '›'; margin-right: 6px; }
.layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; padding-bottom: 48px; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .side { display: none; } }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; }
.side-box h3 { background: var(--brand); color: #fff; font-size: 14.5px; text-transform: uppercase; letter-spacing: .03em; padding: 11px 14px; }
.side-box ul { list-style: none; margin: 0; padding: 4px 0; }
.side-box li a { display: flex; justify-content: space-between; padding: 8px 14px; font-size: 14px; }
.side-box li a.on { color: var(--brand); font-weight: 600; background: var(--brand-soft); }
.side-box li li a { padding-left: 28px; font-size: 13.5px; color: var(--muted); }
.side-box li li a.on { color: var(--brand); }
.side-box small { color: var(--muted); }
.side-contact { padding: 14px; font-size: 14px; display: grid; gap: 8px; }
.page-title { font-size: 24px; color: var(--brand-dark); margin-bottom: 6px; }
.subcats { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 16px; }
.subcats a { border: 1px solid var(--line); border-radius: 99px; padding: 5px 14px; font-size: 13.5px; background: #fff; }
.subcats a:hover, .subcats a.on { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); margin-bottom: 16px; flex-wrap: wrap; font-size: 14px; }
.toolbar select { border: 1px solid var(--line); border-radius: var(--radius); padding: 7px 10px; background: #fff; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 38px; height: 38px; padding: 0 10px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; background: #fff; font-variant-numeric: tabular-nums; }
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.pager .gap { border: 0; background: none; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- Chi tiết sản phẩm ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; padding-bottom: 36px; }
@media (max-width: 860px) { .pd { grid-template-columns: 1fr; gap: 20px; } }
.gallery-main { aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: 0 0 76px; aspect-ratio: 4 / 3; border: 2px solid var(--line); border-radius: 4px; padding: 0; overflow: hidden; cursor: pointer; background: var(--surface); }
.thumbs button.on { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 8px; }
.pd-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.pd-meta b { color: var(--ink); font-weight: 600; }
.pd-price { background: var(--surface); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 16px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.pd-price b { color: var(--price); font-size: 28px; font-family: var(--font-display); }
.pd-price s { color: var(--muted); }
.pd-price .off { background: var(--price); color: #fff; font-size: 12.5px; font-weight: 600; padding: 2px 8px; border-radius: 3px; }
.pd-short { margin: 0 0 18px; }
.pd-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.pd-cta .btn { padding: 12px 14px; }
.pd-cta .wide { grid-column: 1 / -1; }
.pd-perks { display: grid; gap: 8px; font-size: 14px; border: 1px dashed var(--line); border-radius: var(--radius); padding: 14px; }
.pd-perks div { display: flex; gap: 10px; align-items: center; }
.pd-perks svg { color: var(--brand); flex-shrink: 0; }
.pd-tabs { border-top: 2px solid var(--line); padding-top: 22px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 36px; }
@media (max-width: 860px) { .pd-tabs { grid-template-columns: 1fr; } }
.pd-tabs h2 { font-size: 18px; margin-bottom: 12px; color: var(--brand-dark); text-transform: uppercase; letter-spacing: .02em; }
.desc p { margin: 0 0 12px; max-width: 70ch; }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs th, .specs td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.specs th { background: var(--surface); font-weight: 600; width: 40%; }

/* ---------- Biểu mẫu ---------- */
.form { display: grid; gap: 12px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 4px; font-size: 13.5px; font-weight: 500; }
.form input, .form textarea { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; background: #fff; width: 100%; }
.form input:focus, .form textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-soft); }
.form textarea { min-height: 96px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form-msg { font-size: 14px; padding: 10px 12px; border-radius: var(--radius); }
.form-msg.ok { background: var(--brand-soft); color: var(--brand-dark); }
.form-msg.err { background: #FCEBE8; color: #A12F1E; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal-bg { position: absolute; inset: 0; background: rgba(10, 30, 28, .5); }
.modal-box { position: relative; background: #fff; border-radius: 8px; width: min(520px, 100%); max-height: 90vh; overflow-y: auto; padding: 22px; }
.modal-box h3 { font-size: 19px; margin-bottom: 4px; color: var(--brand-dark); }
.modal-close { position: absolute; top: 10px; right: 10px; border: 0; background: none; cursor: pointer; padding: 6px; color: var(--muted); }

/* ---------- Liên hệ ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; padding-bottom: 48px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 14px; }
.info-list div { display: flex; gap: 12px; }
.info-list svg { color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }

/* ---------- Chân trang ---------- */
.footer { background: #102725; color: #B9CCC8; font-size: 14px; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; padding-block: 40px; }
.footer h4 { color: #fff; font-family: var(--font-display); font-size: 15px; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: #fff; }
.footer .f-line { display: flex; gap: 10px; margin-bottom: 8px; }
.footer .f-line svg { flex-shrink: 0; margin-top: 3px; color: #6FC1B5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); text-align: center; padding: 14px 16px; font-size: 13px; color: #7F9894; }
@media (max-width: 860px) { .footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer .wrap { grid-template-columns: 1fr; } }

/* ---------- Nút liên hệ nổi ---------- */
.float { position: fixed; right: 14px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: grid; gap: 10px; }
.float a { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.2); font-weight: 700; font-size: 13px; }
.float .f-call { background: var(--price); animation: ring 2.4s infinite; }
.float .f-zalo { background: #0068FF; }
.float .f-mess { background: #A033FF; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(210, 64, 43, .45); } 50% { box-shadow: 0 0 0 10px rgba(210, 64, 43, 0); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

.skeleton { background: linear-gradient(90deg, var(--surface), #EAF0EE, var(--surface)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- Giai đoạn 1: biến thể, bộ, giá liên hệ ---------- */
.badge-kit { background: var(--brand); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.price-contact { color: var(--price); font-weight: 600; font-family: var(--font-display); font-size: 14.5px; }
.swatches { display: inline-flex; align-items: center; gap: 3px; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); display: inline-block; }
.swatches small { font-size: 11.5px; color: var(--muted); margin-left: 2px; }
.kit-label { display: inline-block; background: var(--brand-soft); color: var(--brand-dark); font-size: 12.5px; font-weight: 600; padding: 2px 10px; border-radius: 99px; margin-bottom: 8px; }
.opt { margin-bottom: 14px; }
.opt-label { font-size: 14px; margin-bottom: 8px; color: var(--muted); }
.opt-label b { color: var(--ink); }
.opt-vals { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-btn { border: 1.5px solid var(--line); background: #fff; border-radius: var(--radius); padding: 7px 14px; cursor: pointer; font-weight: 500; min-width: 54px; }
.opt-btn:hover { border-color: var(--brand); }
.opt-btn.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.opt-color { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 4px 12px 4px 5px; cursor: pointer; font-size: 13.5px; }
.opt-color i { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.opt-color:hover { border-color: var(--brand); }
.opt-color.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); font-weight: 600; }
.opt-btn.na, .opt-color.na { opacity: .45; border-style: dashed; }
.kit-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin-bottom: 16px; display: grid; gap: 8px; }
.kit-box .opt-label { margin: 0; }
.kit-item { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 4px; }
a.kit-item:hover { background: var(--brand-soft); }
.kit-item img, .kit-item .ph { width: 56px; height: 42px; object-fit: cover; border-radius: 4px; background: var(--surface); flex-shrink: 0; }
.kit-item span { flex: 1; min-width: 0; font-size: 14px; }
.kit-item small { display: block; color: var(--muted); }
.kit-item em { font-style: normal; font-weight: 600; color: var(--brand-dark); }
.promo-end { flex-basis: 100%; font-size: 13.5px; }
.card .price s { font-size: 12.5px; }
