*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-bg: #eff6ff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, sans-serif; color: var(--text); background: #fff; font-size: 15px; line-height: 1.6; }
img  { max-width: 100%; display: block; }
a    { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 64px 0; }
.section-title { font-size: 1.75rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.section-sub   { color: var(--text-muted); margin-bottom: 2.5rem; font-size: 1rem; }
.section-header { text-align: center; margin-bottom: 2.5rem; }

/* ── HEADER / NAV ── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.1); }
.nav-wrap { display: flex; align-items: center; height: 64px; gap: 1.5rem; }
.nav-logo  { display: flex; align-items: center; gap: .625rem; font-weight: 700; font-size: 1.1rem; color: var(--text); flex-shrink: 0; }
.nav-logo img { height: 40px; width: auto; object-fit: contain; }
.nav-logo .logo-text { line-height: 1.2; }
.nav-logo .logo-sub  { font-size: .72rem; font-weight: 400; color: var(--text-muted); }
.nav-links { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav-links a { padding: .4rem .75rem; border-radius: 6px; color: var(--text); font-size: .9rem; font-weight: 500; transition: background .15s, color .15s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { background: var(--primary-bg); color: var(--primary); text-decoration: none; }
.nav-cta { background: var(--primary) !important; color: #fff !important; padding: .4rem 1rem !important; border-radius: 6px; }
.nav-cta:hover { background: var(--primary-dark) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .25rem; color: var(--text); margin-left: auto; }
.nav-mobile { display: none; border-top: 1px solid var(--border); background: #fff; padding: .5rem 1.25rem 1rem; }
.nav-mobile a { display: block; padding: .625rem 0; color: var(--text); font-size: .95rem; border-bottom: 1px solid #f1f5f9; }
.nav-mobile a:last-child { border-bottom: none; }

/* ── FLASH MESSAGE ── */
.flash-bar { padding: .875rem 1.25rem; text-align: center; font-size: .9rem; font-weight: 500; }
.flash-bar.success { background: #d1fae5; color: #065f46; }
.flash-bar.danger  { background: #fee2e2; color: #991b1b; }

/* ── HERO ── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; padding: 80px 0;
  min-height: 420px; display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(30,41,59,.75) 0%, rgba(37,99,235,.65) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 700px; margin: 0 auto; }
.hero-title    { font-size: clamp(1.75rem, 5vw, 3rem); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; text-shadow: 0 2px 8px rgba(0,0,0,.2); }
.hero-subtitle { font-size: clamp(.95rem, 2.5vw, 1.2rem); opacity: .9; margin-bottom: 2rem; }
.hero-btns     { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-hero-primary   { background: #fff; color: var(--primary); padding: .75rem 2rem; border-radius: 8px; font-weight: 700; font-size: 1rem; transition: transform .15s, box-shadow .15s; display: inline-block; }
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.15); text-decoration: none; }
.btn-hero-secondary { background: rgba(255,255,255,.2); color: #fff; padding: .75rem 2rem; border-radius: 8px; font-weight: 600; font-size: 1rem; border: 2px solid rgba(255,255,255,.6); transition: background .15s; display: inline-block; }
.btn-hero-secondary:hover { background: rgba(255,255,255,.3); text-decoration: none; }

/* ── FEATURES BAR ── */
.features-bar { background: var(--primary); color: #fff; padding: 0; }
.features-wrap { display: flex; }
.feature-item  { flex: 1; display: flex; align-items: center; gap: .75rem; padding: 1.25rem; border-right: 1px solid rgba(255,255,255,.2); }
.feature-item:last-child { border-right: none; }
.feature-icon  { width: 40px; height: 40px; background: rgba(255,255,255,.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-icon svg { width: 20px; height: 20px; }
.feature-text strong { display: block; font-size: .9rem; font-weight: 600; }
.feature-text span   { font-size: .78rem; opacity: .85; }

/* ── CATEGORIES ── */
.section-categories { background: var(--bg); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.cat-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: none; text-align: center; cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, background .15s;
  text-decoration: none; display: block;
}
.cat-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md); text-decoration: none;
}
.cat-card.active {
  background: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-md);
}
.cat-img  { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--bg); }
.cat-img-placeholder { width: 100%; aspect-ratio: 1; background: var(--primary-bg); display: flex; align-items: center; justify-content: center; }
.cat-img-placeholder svg { width: 40px; height: 40px; color: var(--primary); opacity: .5; }
.cat-name { padding: .625rem .5rem; font-size: .85rem; font-weight: 600; color: var(--text); }
.cat-card.active .cat-name { color: #fff; }
.cat-card.active .cat-img-placeholder { background: rgba(255,255,255,.2); }
.cat-card.active .cat-img-placeholder svg { color: #fff; opacity: .9; }
/* override filter-tag khi dùng trong danh mục */
.cat-card.filter-tag { border-radius: var(--radius); border: none; padding: 0; color: var(--text); }

/* ── PRODUCTS ── */
.section-products { background: #fff; }
.products-toolbar { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.search-box { position: relative; flex: 1; min-width: 200px; max-width: 360px; }
.search-box input { width: 100%; padding: .6rem 1rem .6rem 2.5rem; border: 1.5px solid var(--border); border-radius: 8px; font-size: .9rem; color: var(--text); outline: none; transition: border-color .2s; background: #fff; }
.search-box input:focus { border-color: var(--primary); }
.search-box svg { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-muted); pointer-events: none; }
.filter-tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.filter-tag { padding: .35rem .875rem; border-radius: 99px; border: 1.5px solid var(--border); font-size: .82rem; font-weight: 500; cursor: pointer; background: #fff; color: var(--text-muted); transition: all .15s; white-space: nowrap; }
.filter-tag:hover  { border-color: var(--primary); color: var(--primary); }
.filter-tag.active { border-color: var(--primary); background: var(--primary); color: #fff; }

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.product-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg); }
.product-img-wrap img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.product-img-placeholder svg { width: 40px; height: 40px; color: #cbd5e1; }
.product-badge { position: absolute; top: .5rem; left: .5rem; padding: .2rem .6rem; border-radius: 6px; font-size: .72rem; font-weight: 700; }
.product-badge.out-of-stock { background: #fee2e2; color: #991b1b; }
.product-info { padding: .625rem .75rem .75rem; flex: 1; display: flex; flex-direction: column; }
.product-name   { font-size: .875rem; font-weight: 600; color: var(--text); line-height: 1.3; margin-bottom: .15rem; }
.product-volume { font-size: .76rem; color: var(--text-muted); margin-bottom: .3rem; }
.product-prices { margin-bottom: .5rem; }
.price-wholesale { display: block; font-size: 1.05rem; font-weight: 700; color: var(--primary); }
.price-retail    { display: block; font-size: .8rem; color: var(--text-muted); }
.price-unit      { font-size: .75rem; font-weight: 400; color: var(--text-muted); }
.btn-detail {
  display: block; text-align: center; padding: .5rem;
  background: var(--primary-bg); color: var(--primary); border-radius: 7px;
  font-size: .82rem; font-weight: 600; margin-top: auto;
  transition: background .15s, color .15s;
}
.btn-detail:hover { background: var(--primary); color: #fff; text-decoration: none; }

.no-products { text-align: center; padding: 3rem; color: var(--text-muted); display: none; }
.btn-load-more {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 2rem; background: #fff; color: var(--primary);
  border: 2px solid var(--primary); border-radius: 8px;
  font-size: .95rem; font-weight: 600; cursor: pointer;
  transition: background .15s, color .15s; font-family: inherit;
}
.btn-load-more:hover { background: var(--primary); color: #fff; }
.no-products svg { width: 48px; height: 48px; margin: 0 auto .75rem; opacity: .3; }

/* ── CONTACT ── */
.section-contact { background: var(--bg); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info h3  { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.25rem; }
.contact-item     { display: flex; align-items: flex-start; gap: .875rem; margin-bottom: 1.25rem; }
.contact-icon     { width: 42px; height: 42px; border-radius: 10px; background: var(--primary-bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 20px; height: 20px; color: var(--primary); }
.contact-label    { font-size: .8rem; color: var(--text-muted); margin-bottom: .1rem; }
.contact-val      { font-weight: 600; color: var(--text); font-size: .95rem; }
.contact-val a    { color: var(--text); }
.contact-val a:hover { color: var(--primary); }

.contact-form-card { background: var(--card); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.contact-form-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; }
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: .35rem; color: var(--text); }
.form-control {
  width: 100%; padding: .6rem .875rem; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: .9rem; color: var(--text);
  background: #fff; outline: none; transition: border-color .2s;
  font-family: inherit;
}
.form-control:focus { border-color: var(--primary); }
textarea.form-control { resize: vertical; min-height: 90px; }
/* ── SEARCHABLE SELECT ── */
.ss-wrap { position:relative; }
.ss-display-wrap { position:relative; cursor:pointer; }
.ss-display { cursor:pointer !important; padding-right:2.25rem; }
.ss-chevron { position:absolute; right:.625rem; top:50%; transform:translateY(-50%); color:#94a3b8; pointer-events:none; transition:transform .2s; }
.ss-wrap.open .ss-chevron { transform:translateY(-50%) rotate(180deg); }
.ss-dropdown {
  display:none; position:absolute; left:0; right:0; top:calc(100% + 4px);
  background:#fff; border:1.5px solid var(--border); border-radius:10px;
  box-shadow:0 8px 24px rgba(0,0,0,.12); z-index:200; overflow:hidden;
}
.ss-wrap.open .ss-dropdown { display:block; }
.ss-search-box { display:flex; align-items:center; gap:.5rem; padding:.5rem .75rem; border-bottom:1px solid var(--border); }
.ss-search-box svg { flex-shrink:0; color:#94a3b8; }
.ss-search-box input { border:none; outline:none; font-size:.875rem; width:100%; font-family:inherit; background:transparent; }
.ss-list { max-height:220px; overflow-y:auto; }
.ss-item { padding:.55rem .875rem; font-size:.875rem; cursor:pointer; transition:background .1s; }
.ss-item:hover, .ss-item.focused { background:var(--primary-bg); color:var(--primary); }
.ss-item.selected { background:var(--primary-bg); color:var(--primary); font-weight:600; }
.ss-item.hidden { display:none; }
.ss-vol { color:#94a3b8; font-size:.8rem; }
.ss-empty { padding:.75rem; text-align:center; color:#94a3b8; font-size:.85rem; display:none; }

/* ── SPAM POPUP ── */
#spam-popup { position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:9998;display:flex;align-items:center;justify-content:center;padding:1rem; }
.spam-box { background:#fff;border-radius:16px;padding:2rem 1.75rem;max-width:380px;width:100%;text-align:center;box-shadow:0 16px 48px rgba(0,0,0,.2); }
.spam-icon { font-size:2.5rem;margin-bottom:.75rem; }
.spam-box h3 { font-size:1.15rem;font-weight:700;margin-bottom:.5rem;color:#1e293b; }
.spam-box p { font-size:.9rem;color:#64748b;line-height:1.6; }
.spam-call { display:inline-flex;align-items:center;gap:.5rem;margin-top:.5rem;background:var(--primary);color:#fff;padding:.55rem 1.25rem;border-radius:8px;font-weight:600;font-size:.9rem;text-decoration:none; }
.spam-call:hover { text-decoration:none;opacity:.9; }
.spam-close { margin-top:1.25rem;padding:.5rem 1.5rem;border:1.5px solid var(--border);background:#fff;border-radius:8px;cursor:pointer;font-size:.875rem;font-weight:500;font-family:inherit; }
.spam-close:hover { background:#f8fafc; }

.ajax-form-msg { display:none; border-radius:8px; padding:.65rem .875rem; font-size:.875rem; font-weight:500; margin-bottom:1rem; }
.ajax-form-msg.ok  { display:block; background:#dcfce7; color:#15803d; }
.ajax-form-msg.err { display:block; background:#fee2e2; color:#dc2626; }

.btn-submit {
  width: 100%; padding: .75rem; background: var(--primary); color: #fff;
  border: none; border-radius: 8px; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: background .15s, transform .15s;
  font-family: inherit;
}
.btn-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ── BREADCRUMB ── */
.breadcrumb-bar { background:#f8fafc; border-bottom:1px solid var(--border); padding:.625rem 0; }
.breadcrumb { display:flex; align-items:center; gap:.375rem; flex-wrap:wrap; font-size:.82rem; }
.breadcrumb a { color:var(--text-muted); }
.breadcrumb a:hover { color:var(--primary); }
.bc-sep { color:#cbd5e1; }
.bc-current { color:var(--text); font-weight:500; }

/* ── PRODUCT DETAIL ── */
.product-detail-section { padding:2.5rem 0; }
.pd-layout { display:grid; grid-template-columns:1fr 1fr; gap:2.5rem; align-items:start; }
.pd-main-img-wrap { position:relative; border-radius:var(--radius); overflow:hidden; background:var(--bg); aspect-ratio:4/3; }
.pd-main-img-wrap img { width:100%; height:100%; object-fit:contain; }
.pd-img-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:var(--bg); aspect-ratio:4/3; border-radius:var(--radius); }
.pd-thumbs { display:flex; gap:.5rem; flex-wrap:wrap; margin-top:.625rem; }
.pd-thumb { width:72px; height:72px; border-radius:8px; overflow:hidden; border:2px solid var(--border); background:var(--bg); cursor:pointer; padding:0; transition:border-color .15s; }
.pd-thumb.active, .pd-thumb:hover { border-color:var(--primary); }
.pd-thumb img { width:100%; height:100%; object-fit:contain; }
.pd-category { font-size:.78rem; font-weight:600; color:var(--primary); text-transform:uppercase; letter-spacing:.05em; margin-bottom:.5rem; }
.pd-name { font-size:1.6rem; font-weight:700; line-height:1.25; margin-bottom:.5rem; }
.pd-volume { font-size:.875rem; color:var(--text-muted); margin-bottom:1rem; }
.pd-prices { display:flex; flex-direction:column; gap:.375rem; margin-bottom:1.25rem; padding:1rem; background:var(--bg); border-radius:10px; }
.pd-price-row { display:flex; align-items:baseline; gap:.75rem; }
.pd-price-label { font-size:.8rem; color:var(--text-muted); width:52px; flex-shrink:0; }
.pd-price-wholesale { font-size:1.5rem; font-weight:700; color:var(--primary); }
.pd-price-retail { font-size:1rem; font-weight:500; color:#64748b; }
.pd-price-unit { font-size:.78rem; font-weight:400; color:var(--text-muted); }
.pd-status { margin-bottom:1.25rem; }
.pd-badge-stock { display:inline-flex; align-items:center; gap:.375rem; padding:.3rem .75rem; border-radius:99px; font-size:.82rem; font-weight:600; }
.pd-badge-stock.in { background:#dcfce7; color:#15803d; }
.pd-badge-stock.out { background:#fee2e2; color:#dc2626; }
.pd-actions { display:flex; gap:.625rem; flex-wrap:wrap; margin-bottom:1rem; }
.pd-btn-call { display:inline-flex; align-items:center; gap:.5rem; background:var(--primary); color:#fff; padding:.6rem 1.1rem; border-radius:8px; font-weight:600; font-size:.875rem; text-decoration:none; transition:background .15s; }
.pd-btn-call:hover { background:var(--primary-dark); text-decoration:none; }
.pd-btn-zalo { display:inline-flex; align-items:center; gap:.5rem; background:#0068ff; color:#fff; padding:.6rem 1.1rem; border-radius:8px; font-weight:600; font-size:.875rem; text-decoration:none; transition:background .15s; }
.pd-btn-zalo:hover { background:#0054cc; text-decoration:none; }
.pd-btn-inquiry { display:inline-flex; align-items:center; gap:.5rem; border:2px solid var(--primary); color:var(--primary); padding:.55rem 1.1rem; border-radius:8px; font-weight:600; font-size:.875rem; text-decoration:none; transition:background .15s,color .15s; }
.pd-btn-inquiry:hover { background:var(--primary); color:#fff; text-decoration:none; }
.pd-ship-note { display:flex; align-items:center; gap:.5rem; font-size:.8rem; color:var(--text-muted); }
.pd-description { margin-top:2.5rem; padding-top:2rem; border-top:1px solid var(--border); }
.pd-description h2 { font-size:1.15rem; font-weight:700; margin-bottom:1rem; }
.pd-desc-body { color:var(--text); line-height:1.8; font-size:.9375rem; }

/* Inquiry section */
.pd-inquiry-section { background:var(--bg); padding:3rem 0; }
.pd-inquiry-wrap { display:grid; grid-template-columns:1fr 1.6fr; gap:3rem; align-items:start; }
.pd-inquiry-info h2 { font-size:1.35rem; font-weight:700; margin-bottom:.75rem; }
.pd-inquiry-info p { color:var(--text-muted); margin-bottom:1.25rem; line-height:1.7; }
.pd-contact-row { display:flex; align-items:center; gap:.625rem; margin-bottom:.625rem; font-size:.9rem; }
.pd-contact-row a { color:var(--primary); font-weight:600; }
.pd-inquiry-form { background:#fff; padding:1.75rem; border-radius:var(--radius); box-shadow:var(--shadow); }

/* Related */
.pd-related { padding:2.5rem 0 3rem; background:#fff; }

/* ── PAGINATION ── */
.pagination { display:flex; gap:.375rem; align-items:center; justify-content:center; flex-wrap:wrap; }
.page-btn {
  display:inline-flex; align-items:center; justify-content:center;
  min-width:38px; height:38px; padding:0 .5rem;
  border-radius:8px; border:1.5px solid var(--border);
  background:#fff; color:var(--text); font-size:.875rem;
  text-decoration:none; transition:background .15s,border-color .15s,color .15s;
  font-weight:500;
}
.page-btn:hover { background:var(--primary-bg); border-color:var(--primary); color:var(--primary); text-decoration:none; }
.page-btn.active { background:var(--primary); color:#fff; border-color:var(--primary); }
.page-btn.disabled { opacity:.4; pointer-events:none; }

/* ── CATEGORY DETAIL ── */
.cat-detail-header { position:relative; background:var(--primary); padding:3rem 0; text-align:center; overflow:hidden; }
.cat-detail-bg { position:absolute; inset:0; background-size:cover; background-position:center; }
.cat-detail-overlay { position:absolute; inset:0; background:rgba(0,0,0,.5); }
.cat-detail-content { position:relative; z-index:1; color:#fff; }
.cat-detail-content h1 { font-size:2rem; font-weight:700; margin-bottom:.5rem; }
.cat-detail-content p { opacity:.85; font-size:1rem; margin-bottom:.5rem; }

/* ── RESPONSIVE ── */
@media (max-width:768px) {
  .pd-layout { grid-template-columns:1fr; gap:1.5rem; }
  .pd-name { font-size:1.3rem; }
  .pd-inquiry-wrap { grid-template-columns:1fr; gap:1.5rem; }
  .cat-detail-content h1 { font-size:1.4rem; }
}

/* ── FOOTER ── */
.site-footer { background: #1e293b; color: #cbd5e1; padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand .logo-wrap { display: flex; align-items: center; gap: .625rem; margin-bottom: .875rem; }
.footer-brand .logo-wrap img { height: 36px; width: auto; object-fit: contain; }
.footer-brand .brand-name { color: #fff; font-weight: 700; font-size: 1rem; }
.footer-brand p { font-size: .85rem; line-height: 1.7; margin-bottom: 1rem; }
.footer-social { display: flex; gap: .625rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #cbd5e1; transition: background .15s, color .15s; }
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-social a svg { width: 16px; height: 16px; }

.footer-col h4 { color: #fff; font-size: .9rem; font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { color: #94a3b8; font-size: .85rem; transition: color .15s; }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-contact-item { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .625rem; font-size: .85rem; }
.footer-contact-item svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; color: var(--primary); }
.footer-contact-item a { color: #94a3b8; }
.footer-contact-item a:hover { color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.footer-bottom p { font-size: .82rem; color: #64748b; }

/* ── FLOATING BUTTONS ── */
.float-btns { position: fixed; bottom: 1.5rem; right: 1.5rem; display: flex; flex-direction: column; align-items: flex-end; gap: .625rem; z-index: 999; }
.float-btn {
  display: flex; align-items: center; gap: .5rem;
  padding: .625rem 1rem; border-radius: 99px;
  font-size: .85rem; font-weight: 600; color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap; text-decoration: none; border: none; cursor: pointer;
}
.float-btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 24px rgba(0,0,0,.25); text-decoration: none; color: #fff; }
.float-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.float-btn.zalo   { background: #0068ff; }
.float-btn.phone  { background: #22c55e; }
.float-btn.totop  { background: rgba(30,41,59,.8); padding: .625rem; width: 42px; height: 42px; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .25s, transform .2s; }
.float-btn.totop.visible { opacity: 1; pointer-events: auto; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .footer-brand  { grid-column: 1 / -1; }
  .features-wrap { flex-wrap: wrap; }
  .feature-item  { flex: 1 1 45%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); }
}

@media (max-width: 768px) {
  section { padding: 48px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile.open { display: block; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: .875rem; }
  .contact-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .float-btn:not(.zalo):not(.phone) span { display: none; }
  .float-btn.zalo, .float-btn.phone { padding: .75rem; width: 48px; height: 48px; justify-content: center; border-radius: 50%; }
  .float-btn.zalo span, .float-btn.phone span { display: none; }
  .features-wrap { flex-direction: column; }
  .feature-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); }
  .feature-item:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.4rem; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0; }
}
