/* ==========================================================================
   Điện Hoa VIP (dienhoavip.vn) — InfoPub Design System
   Exact visual replica of https://ws-25.ws.semalt.dev/?preview=infopub
   Palette: Navy #0E2140, Cyan #16A6D9, Emerald #16A36A, Amber #FFCC4D, Slate #F5F7FA
   Font: Manrope + Be Vietnam Pro + Anton
   ========================================================================== */

:root {
  --navy: #0E2140;
  --navy-2: #16305A;
  --brand: #16A6D9;
  --brand-d: #0B86B3;
  --green: #16A36A;
  --green-d: #118556;
  --bg: #F5F7FA;
  --card: #FFFFFF;
  --ink: #0F1B2D;
  --text-body: #243247;
  --muted: #5F6B7B;
  --line: #E4E8EE;
  --amber: #FFCC4D;
  --amber-ink: #3A2A00;
  --f: 'Manrope', 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0 !important;
  font: 400 16px/1.55 var(--f) !important;
  color: var(--ink) !important;
  background: var(--bg) !important;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, p {
  margin: 0;
  font-family: var(--f) !important;
}

h1, h2, h3, h4 {
  text-transform: none !important;
}

button, input, select {
  font: inherit;
  color: inherit;
}

.wrap {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 10px;
  top: 10px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 12px 20px;
  font: 700 15px var(--f);
  cursor: pointer;
  transition: background .2s, transform .2s var(--ease), box-shadow .2s;
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-green {
  background: var(--green) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 20px -10px rgba(22, 163, 106, .7);
}

.btn-green:hover {
  background: var(--green-d) !important;
  color: #FFFFFF !important;
}

.btn-brand {
  background: var(--brand) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 20px -10px rgba(22, 166, 217, .7);
}

.btn-brand:hover {
  background: var(--brand-d) !important;
  color: #FFFFFF !important;
}

.btn-navy {
  background: var(--navy) !important;
  color: #FFFFFF !important;
}

.btn-navy:hover {
  background: var(--navy-2) !important;
  color: #FFFFFF !important;
}

.btn-outline {
  background: #FFFFFF !important;
  color: var(--ink) !important;
  border: 1.5px solid var(--line) !important;
}

.btn-outline:hover {
  border-color: var(--brand) !important;
  color: var(--brand-d) !important;
}

/* WORDMARK / LOGO */
.logo {
  font: 400 24px/1 'Anton', 'Manrope', Impact, sans-serif;
  letter-spacing: .01em;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.logo-wordmark {
  display: inline-flex;
  align-items: baseline;
  font: 400 24px/1 'Anton', Impact, sans-serif;
  color: var(--navy);
}

.logo-wordmark span {
  color: var(--brand);
}

.logo-wordmark small {
  font-size: .56em;
  color: var(--muted);
  margin-left: 1px;
}

.logo--w .logo-wordmark {
  color: #FFFFFF;
}

.logo--w .logo-wordmark small {
  color: #9FB0C8;
}

/* HEADER (EXACT INFOPUB STICKY WHITE BAR — NO WRAPPING / NO OVERLAP) */
.hd {
  background: #FFFFFF !important;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 4px 16px -12px rgba(14, 33, 64, .18);
}

.hd-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.hd nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
  min-width: 0;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--muted);
}

.hd nav a {
  color: #334155 !important;
  transition: color .2s;
  white-space: nowrap !important;
  flex-shrink: 0;
  padding: 6px 2px;
}

.hd nav a:hover, .hd nav a.active {
  color: var(--brand-d) !important;
}

.acts {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.login {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink) !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.login:hover {
  color: var(--brand-d) !important;
}

.hd-cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}

.hd-cart-btn:hover {
  border-color: var(--brand);
  background: #E8F7FD;
  color: var(--brand-d);
}

.hd-cart-btn b {
  position: absolute;
  right: -5px;
  top: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
  flex-shrink: 0;
}

/* HERO WITH FULL-BLEED FLORAL IMAGE SLIDESHOW */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy) !important;
  color: #FFFFFF !important;
  padding: 66px 0 124px;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease-in-out, transform 6.5s ease-out;
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, rgba(14, 33, 64, 0.80) 0%, rgba(14, 33, 64, 0.56) 55%, rgba(14, 33, 64, 0.42) 100%);
}

.hero > .wrap {
  position: relative;
  z-index: 2;
}

.hero-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.hero-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: width .3s var(--ease), background .3s;
}

.hero-dot.active {
  width: 30px;
  background: var(--amber);
}

.hero-arrows {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(14, 33, 64, 0.48);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: background .2s, border-color .2s;
}

.hero-arrow:hover {
  background: var(--brand);
  border-color: var(--brand);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--amber) !important;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.03em;
  max-width: 18em;
  color: #FFFFFF !important;
}

.hero h1 span {
  color: var(--amber) !important;
}

.hero p {
  color: #D1DDF0 !important;
  font-size: 17.5px;
  margin: 14px 0 28px;
  max-width: 42em;
  line-height: 1.6;
}

.search {
  background: #FFFFFF !important;
  border-radius: 18px;
  padding: 10px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 10px;
  box-shadow: 0 28px 60px -30px rgba(0, 0, 0, .65);
}

.f {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--bg);
  cursor: text;
  margin: 0;
}

.f span {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--muted) !important;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.f input, .f select {
  border: 0;
  background: transparent;
  font: 700 15px var(--f);
  color: var(--ink) !important;
  outline: none;
  padding: 3px 0;
  width: 100%;
}

.f:focus-within {
  box-shadow: inset 0 0 0 2px var(--brand);
  background: #FFFFFF;
}

.search .btn {
  padding: 0 28px;
  font-size: 15.5px;
  min-height: 54px;
}

.trust {
  display: flex;
  gap: 24px;
  margin-top: 22px;
  color: #D1DDF0 !important;
  font-size: 14.5px;
  flex-wrap: wrap;
}

.trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust b {
  color: #FFFFFF !important;
}

/* OVERLAPPING 8-COLUMN CATEGORIES STRIP */
.cats {
  margin-top: -64px;
  position: relative;
  z-index: 10;
}

.cats-in {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.cat {
  background: #FFFFFF !important;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 10px 16px;
  text-align: center;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
  box-shadow: 0 14px 30px -24px rgba(14, 33, 64, .55);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.cat:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 18px 34px -20px rgba(22, 166, 217, .45);
}

.ic {
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.ic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ic svg {
  width: 26px;
  height: 26px;
}

.cat b {
  display: block;
  font-size: 13.8px;
  font-weight: 800;
  color: var(--ink) !important;
  line-height: 1.25;
}

.cat small {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 600;
}

/* SECTIONS */
.sec {
  padding: 64px 0 0;
}

.sh {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.sh h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--ink) !important;
}

.sh p {
  color: var(--muted) !important;
  margin-top: 4px;
  font-size: 15px;
}

.more {
  font-weight: 800;
  color: var(--brand-d) !important;
  white-space: nowrap;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.more:hover {
  color: var(--navy) !important;
}

/* PRODUCT CARDS GRID (.ads -> 4 columns exact Infopub style) */
.ads {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ad {
  background: #FFFFFF !important;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .22s, transform .22s var(--ease), border-color .22s;
  text-decoration: none;
}

.ad:hover {
  box-shadow: 0 20px 38px -22px rgba(14, 33, 64, .45);
  transform: translateY(-3px);
  border-color: #C7D8EB;
}

.ph {
  position: relative;
  aspect-ratio: 4/4;
  background: #E9EEF4;
  overflow: hidden;
  display: block;
}

.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.ad:hover .ph img {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: var(--amber) !important;
  color: var(--amber-ink) !important;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .14);
}

.badge--green {
  background: var(--green) !important;
  color: #FFFFFF !important;
}

.cnt {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(14, 33, 64, .82);
  color: #FFFFFF !important;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}

.b {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.price {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--navy) !important;
}

.price-old {
  font-size: 13px;
  color: #8895A7;
  text-decoration: line-through;
  font-weight: 600;
  margin-left: 6px;
}

.ad-add-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 0;
  background: #E8F7FD;
  color: var(--brand-d) !important;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, color .2s, transform .2s;
}

.ad-add-btn:hover {
  background: var(--green);
  color: #FFFFFF !important;
  transform: scale(1.06);
}

.ad h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.38;
  color: var(--ink) !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.76em;
}

.ad h3 a {
  color: var(--ink) !important;
  text-decoration: none;
}

.ad h3 a:hover {
  color: var(--brand-d) !important;
}

.meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.8px;
  color: var(--muted) !important;
  font-weight: 600;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: auto;
}

.meta span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meta span:last-child {
  white-space: nowrap;
  color: var(--green-d) !important;
  font-weight: 700;
}

/* WARM AMBER 3-STEP BANNER (.sell — EXACT INFOPUB SIGNATURE BANNER) */
.sell {
  background: linear-gradient(110deg, #FFF7D6, #FFE9A3) !important;
  border: 1px solid #F5DC87;
  border-radius: 22px;
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  align-items: center;
}

.sell h2 {
  font-size: clamp(25px, 3vw, 35px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
  color: #1F1804 !important;
}

.sell p {
  color: #4D3D0F !important;
  margin: 12px 0 22px;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.6;
}

.sell-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.steps li {
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 14px;
  padding: 14px 16px;
}

.steps i {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--navy);
  color: #FFFFFF !important;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 800;
  font-size: 15px;
}

.steps b {
  display: block;
  color: var(--ink) !important;
  font-size: 15px;
}

.steps span {
  font-size: 13.8px;
  color: #4D3D0F !important;
  font-weight: 500;
}

/* FILTER CHIPS BAR */
.ip-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.ip-chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--text-body) !important;
  font-size: 13.8px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ip-chip:hover, .ip-chip.active {
  background: var(--navy) !important;
  color: #FFFFFF !important;
  border-color: var(--navy) !important;
}

/* LOCATIONS GRID (6 COLUMNS — EXACT INFOPUB .locs) */
.locs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.loc {
  background: #FFFFFF !important;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 14.2px;
  color: var(--ink) !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color .2s, transform .2s, color .2s;
  text-decoration: none;
}

.loc:hover {
  border-color: var(--brand);
  color: var(--brand-d) !important;
  transform: translateY(-2px);
}

.loc small {
  color: var(--brand-d);
  font-weight: 800;
}

/* COMMITMENTS / TRUST CARDS (.safe — EXACT INFOPUB 3-COLUMN CARDS WITH REAL PHOTOS) */
.safe {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.sf {
  background: #FFFFFF !important;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s var(--ease), border-color .22s, box-shadow .22s;
}

.sf:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: 0 18px 34px -22px rgba(14, 33, 64, .35);
}

.sf-photo {
  height: 155px;
  overflow: hidden;
  position: relative;
  background: #E9EEF4;
}

.sf-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-body {
  padding: 20px 22px 22px;
}

.sf .ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #E6F6FB;
  color: var(--brand-d) !important;
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
}

.sf b {
  display: block;
  font-size: 16.5px;
  color: var(--ink) !important;
  margin-bottom: 6px;
}

.sf p {
  font-size: 14.5px;
  color: var(--text-body) !important;
  line-height: 1.55;
}

.sf a {
  color: var(--brand-d) !important;
  font-weight: 700;
}

/* FOOTER (EXACT INFOPUB DEEP NAVY #0E2140 MATCHING HERO) */
.ft {
  background: var(--navy) !important;
  color: #CBD7E8 !important;
  margin-top: 76px;
  padding: 58px 0 28px;
  font-size: 14.5px;
}

.fg {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 36px;
}

.fg p {
  margin-top: 14px;
  color: #CBD7E8 !important;
  line-height: 1.65;
}

.fg p a {
  color: var(--amber) !important;
  font-weight: 800;
}

.ft-logo-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 14px;
  border-radius: 14px;
}

.ft-logo-box img {
  height: 40px;
  width: auto;
  background: #FFFFFF;
  padding: 4px 8px;
  border-radius: 8px;
}

.ft-hotline-card {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 12px 16px;
  color: #FFFFFF !important;
  font-size: 13.8px;
  display: grid;
  gap: 5px;
}

.ft-hotline-card a {
  color: var(--amber) !important;
  font-weight: 800;
}

.ft h4 {
  color: #FFFFFF !important;
  font-size: 15.5px;
  font-weight: 800;
  margin-bottom: 14px;
}

.ft ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.ft ul a {
  color: #CBD7E8 !important;
  transition: color .2s;
}

.ft ul a:hover {
  color: #FFFFFF !important;
}

.legal {
  border-top: 1px solid rgba(255, 255, 255, .14);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
  color: #B4C5DC !important;
}

/* ==========================================================================
   SUBPAGES: BREADCRUMB, CATEGORY, PRODUCT DETAIL (PDP), BLOG LIST & POST
   ========================================================================== */
.ip-bc-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 13.8px;
}

.ip-bc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-weight: 600;
}

.ip-bc a {
  color: var(--brand-d) !important;
  font-weight: 700;
}

.ip-bc a:hover {
  color: var(--navy) !important;
}

.ip-bc .cur {
  color: var(--ink) !important;
  font-weight: 700;
}

/* SUBPAGE NAVY MINI HERO */
.sub-hero {
  background: radial-gradient(800px 320px at 85% -15%, rgba(22, 166, 217, .35), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2)) !important;
  color: #FFFFFF !important;
  padding: 36px 0 42px;
}

.sub-hero-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.sub-hero h1 {
  font-size: clamp(26px, 3.2vw, 38px);
  color: #FFFFFF !important;
  font-weight: 800;
  letter-spacing: -.025em;
  margin: 4px 0 10px;
}

.sub-hero p {
  color: #CBD7E8 !important;
  max-width: 44em;
  font-size: 15px;
  line-height: 1.6;
}

.sub-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.sub-hero-badges span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF !important;
  font-size: 12.8px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

.sub-hero-stat {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 16px 24px;
  text-align: center;
}

.sub-hero-stat b {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--amber) !important;
  line-height: 1.1;
}

.sub-hero-stat small {
  color: #D9E5F5 !important;
  font-size: 12.8px;
  font-weight: 600;
}

.cat-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 16px;
  margin: 24px 0;
}

.cat-toolbar select {
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  font-size: 13.8px;
  font-weight: 700;
  color: var(--ink) !important;
  cursor: pointer;
}

/* PRODUCT DETAIL PAGE (PDP) */
.pdp-sec {
  padding: 28px 0 48px;
}

.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.pdp-gallery {
  position: sticky;
  top: 94px;
}

.pdp-main-img {
  position: relative;
  aspect-ratio: 4/4.4;
  border-radius: 20px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px -20px rgba(14, 33, 64, .28);
}

.pdp-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.pdp-thumb-btn {
  width: 74px;
  height: 74px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--line);
  padding: 0;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.pdp-thumb-btn.active, .pdp-thumb-btn:hover {
  border-color: var(--brand);
}

.pdp-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-photo-note {
  margin-top: 12px;
  background: #E8F7FD;
  border: 1px solid #BCE5F5;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 13.5px;
  color: var(--navy) !important;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pdp-info {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 14px 32px -20px rgba(14, 33, 64, .2);
}

.pdp-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.pdp-cat-badge {
  background: #E6F6FB;
  color: var(--brand-d) !important;
  font-weight: 800;
  font-size: 12.5px;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}

.pdp-title {
  font-size: clamp(24px, 2.8vw, 32px);
  color: var(--ink) !important;
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 16px;
}

.pdp-price-box {
  background: linear-gradient(135deg, #F0F9FD 0%, #FFFFFF 100%);
  border: 1.5px solid #CBEAF7;
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.pdp-price-current {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--navy) !important;
  line-height: 1;
}

.pdp-price-old {
  font-size: 16px;
  color: #7D8B9D;
  text-decoration: line-through;
  font-weight: 600;
}

.pdp-price-save {
  background: var(--amber);
  color: var(--amber-ink) !important;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.pdp-price-sub {
  width: 100%;
  font-size: 13.5px;
  color: var(--green-d) !important;
  font-weight: 700;
  margin-top: 4px;
}

.pdp-perks {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 20px;
  display: grid;
  gap: 10px;
}

.pdp-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body) !important;
  font-weight: 600;
}

.pdp-order-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pdp-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pdp-qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  height: 50px;
  overflow: hidden;
}

.pdp-qty-ctrl button {
  width: 42px;
  height: 100%;
  border: 0;
  background: transparent;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  cursor: pointer;
}

.pdp-qty-ctrl input {
  width: 50px;
  height: 100%;
  border: 0;
  text-align: center;
  font-weight: 800;
  font-size: 16px;
  background: transparent;
  color: var(--ink);
}

.pdp-direct-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pdp-content-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 24px;
  margin-top: 32px;
  align-items: start;
}

.ip-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 30px);
}

/* BLOG LISTING & POST DETAIL */
.blog-sec {
  padding: 28px 0 40px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog-card {
  background: #FFFFFF !important;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s, border-color .22s;
}

.blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: 0 18px 34px -22px rgba(14, 33, 64, .4);
}

.blog-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #E9EEF4;
  display: block;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(14, 33, 64, .85);
  color: #FFFFFF !important;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.blog-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.blog-card-date {
  font-size: 12.5px;
  color: var(--muted) !important;
  font-weight: 600;
}

.blog-card-body h3 {
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.38;
  color: var(--ink) !important;
}

.blog-card-body h3 a {
  color: var(--ink) !important;
}

.blog-card-body h3 a:hover {
  color: var(--brand-d) !important;
}

.blog-card-body p {
  font-size: 14px;
  color: var(--text-body) !important;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-card-more {
  font-size: 13.8px;
  font-weight: 800;
  color: var(--brand-d) !important;
  margin-top: 4px;
}

.blog-layout {
  display: grid;
  grid-template-columns: 2.15fr 1fr;
  gap: 28px;
  align-items: start;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13.5px;
  color: var(--muted) !important;
  font-weight: 600;
}

.article-title {
  font-size: clamp(24px, 3vw, 34px);
  color: var(--ink) !important;
  line-height: 1.24;
  font-weight: 800;
  margin-bottom: 18px;
}

.article-cta-top {
  background: linear-gradient(110deg, #FFF7D6, #FFE9A3);
  border: 1px solid #F5DC87;
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.article-cta-top strong {
  color: #1F1804 !important;
  font-size: 15px;
  display: block;
}

.article-cta-top span {
  color: #4D3D0F !important;
  font-size: 13.5px;
  font-weight: 500;
}

.article-body {
  color: var(--text-body) !important;
  font-size: 15.8px;
  line-height: 1.78;
}

.article-body h2, .article-body h3, .article-body h4 {
  color: var(--ink) !important;
  margin-top: 1.4em;
  margin-bottom: 0.6em;
  font-weight: 800;
}

.article-body p {
  margin-bottom: 1em;
}

.article-body img {
  border-radius: 14px;
  margin: 18px auto;
}

.article-body a {
  color: var(--brand-d) !important;
  font-weight: 700;
  text-decoration: underline;
}

.blog-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 94px;
}

.sb-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink) !important;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg);
}

.sb-prod-list {
  display: grid;
  gap: 10px;
}

.sb-prod-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  transition: background .2s;
  text-decoration: none;
}

.sb-prod-item:hover {
  background: var(--bg);
}

.sb-prod-item img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--line);
}

.sb-prod-item h4 {
  font-size: 13.8px;
  font-weight: 700;
  color: var(--ink) !important;
  line-height: 1.35;
  margin-bottom: 3px;
}

.sb-prod-item b {
  color: var(--brand-d) !important;
  font-size: 14px;
  font-weight: 800;
}

/* PAGINATION */
.ip-pagination {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.ip-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ip-pagination .page-item .page-link {
  min-width: 40px;
  height: 40px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--ink) !important;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.ip-pagination .page-item.active .page-link,
.ip-pagination .page-item .page-link:hover {
  background: var(--navy) !important;
  color: #FFFFFF !important;
  border-color: var(--navy) !important;
}

/* FLOATING BUTTONS & TOAST */
.ip-fabs {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 60;
  display: grid;
  gap: 10px;
}

.ip-fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green);
  color: #FFFFFF !important;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -6px rgba(22, 163, 106, .75);
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  transition: transform .2s var(--ease);
}

.ip-fab:hover {
  transform: scale(1.08);
  color: #FFFFFF !important;
}

.ip-fab--zalo {
  background: #0068FF;
  box-shadow: 0 10px 24px -6px rgba(0, 104, 255, .65);
}

.ip-toast {
  position: fixed;
  left: 50%;
  bottom: -80px;
  transform: translateX(-50%);
  z-index: 120;
  background: var(--navy);
  color: #FFFFFF;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 12px;
  transition: transform .35s var(--ease);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
  pointer-events: none;
}

.ip-toast.on {
  transform: translate(-50%, -104px);
}

/* RESPONSIVE */
@media (max-width: 1080px) {
  .burger { display: block; }
  .hd nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--line);
    padding: 6px 20px 14px;
    display: none;
    box-shadow: 0 16px 32px -12px rgba(14, 33, 64, .2);
  }
  .hd nav.open { display: flex; }
  .hd nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .cats-in { grid-template-columns: repeat(4, 1fr); }
  .ads { grid-template-columns: repeat(2, 1fr); }
  .locs { grid-template-columns: repeat(3, 1fr); }
  .fg { grid-template-columns: 1fr 1fr; }
  .pdp-grid, .pdp-content-grid, .blog-layout { grid-template-columns: 1fr; }
  .pdp-gallery, .blog-sidebar { position: static; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .login { display: none; }
  .acts .btn span { display: none; }
  .acts .btn { padding: 11px 14px; }
  .search { grid-template-columns: 1fr; }
  .search .btn { padding: 14px; }
  .sell { grid-template-columns: 1fr; padding: 26px; }
  .safe { grid-template-columns: 1fr; }
  .sh { flex-direction: column; align-items: flex-start; }
  .cats-in { grid-template-columns: repeat(2, 1fr); }
  .locs { grid-template-columns: 1fr 1fr; }
  .ads { gap: 10px; }
  .b { padding: 10px 12px 12px; }
  .price { font-size: 16px; }
  .meta { flex-direction: column; gap: 2px; }
  .blog-grid, .pdp-direct-btns { grid-template-columns: 1fr; }
  .fg { grid-template-columns: 1fr; }
}
