:root {
  --bg: #FAF7F0;
  --card: #ffffff;
  --text: #1E293B;
  --muted: #64748B;
  --accent: #0F5C4D;
  --accent-dark: #083C32;
  --gold: #D4A24C;
  --line: #EAE4D8;
  --shadow: 0 24px 70px rgba(30, 41, 59, 0.10);
}

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

body {
  font-family: "Be Vietnam Pro", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }

.hero {
  padding: 28px clamp(18px, 5vw, 72px) 72px;
  background:
    radial-gradient(circle at top right, rgba(212,162,76,.25), transparent 28%),
    linear-gradient(135deg, #fdf8ed 0%, #eef5ef 100%);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 52px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  border-radius: 999px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 11px;
  cursor: pointer;
  font-weight: 900;
}

.lang-btn.active {
  background: var(--accent);
  color: white;
}

.brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  width: clamp(150px, 14vw, 200px);
  height: clamp(150px, 14vw, 200px);
  border-radius: 0;
  background: transparent;
  border: 0;
  display: grid;
  place-items: center;
  box-shadow: none;
  overflow: visible;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand strong {
  display: block;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.04em;
}

.brand small {
  display: block;
  color: var(--muted);
  margin-top: 8px;
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.15;
}


.nav-cta {
  padding: 12px 18px;
  border: 1px solid var(--accent);
  color: var(--accent-dark);
  border-radius: 999px;
  font-weight: 700;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: .96;
  letter-spacing: -0.06em;
  max-width: 880px;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

h3 { font-size: 19px; margin-bottom: 8px; }

.subtext, .section-head p, .split p, .positioning p, .order-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 720px;
  margin-top: 22px;
}

.subtext {
  white-space: pre-line;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.btn { border-radius: 999px; padding: 14px 22px; font-weight: 800; }
.btn.primary { background: var(--accent); color: white; }
.btn.ghost { border: 1px solid var(--line); background: white; }

.drop-card {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.badge {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(212,162,76,.18);
  color: #8A651E;
  font-weight: 800;
  margin-bottom: 22px;
}

.drop-card p {
  color: var(--muted);
  line-height: 1.65;
  white-space: pre-line;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.mini-stats div { background: #f8f6f0; border-radius: 18px; padding: 14px; }
.mini-stats strong { display: block; color: var(--accent-dark); }
.mini-stats span { font-size: 12px; color: var(--muted); }

main { padding: 0 clamp(18px, 5vw, 72px) 70px; }

.promo-banner-section {
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.promo-banner {
  width: 100%;
  display: block;
  border-radius: 26px;
  box-shadow: 0 16px 45px rgba(31, 41, 51, 0.12);
  border: 1px solid var(--line);
  background: white;
}

@media (max-width: 820px) {
  .promo-banner-section {
    margin-top: -18px;
  }

  .promo-banner {
    border-radius: 18px;
  }
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.trust-strip div, .product-card, .step, .position-grid div, .delivery-grid div, .order-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 16px 45px rgba(31, 41, 51, 0.06);
}

.trust-strip div { padding: 22px; }
.trust-strip span { display: block; color: var(--muted); margin-top: 6px; line-height: 1.5; }

.section { padding: 72px 0 0; }
.section-head { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 28px; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }

.filter {
  border: 1px solid var(--line);
  background: white;
  color: var(--muted);
  border-radius: 999px;
  padding: 11px 16px;
  cursor: pointer;
  font-weight: 700;
}

.filter.active { background: var(--accent); color: white; border-color: var(--accent); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.product-card { padding: 22px; display: flex; flex-direction: column; gap: 14px; min-height: 470px; }

.product-image {
  height: 230px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15,92,77,.16), rgba(212,162,76,.18)), #f7f4ed;
  display: grid;
  place-items: center;
  font-size: 44px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 10px;
}

.product-card p { color: var(--muted); line-height: 1.55; }
.product-meta { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: auto; }
.price { font-size: 22px; font-weight: 900; color: var(--accent-dark); }
.tag { font-size: 12px; padding: 7px 10px; border-radius: 999px; background: #f5efe1; color: #8A651E; font-weight: 800; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }

.steps { display: grid; gap: 14px; }
.step { padding: 18px; display: flex; gap: 16px; }

.step span {
  flex: 0 0 36px; width: 36px; height: 36px;
  border-radius: 13px; background: var(--accent); color: white;
  display: grid; place-items: center; font-weight: 900;
}

.step p { margin-top: 4px; color: var(--muted); }

.positioning {
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 40px;
  margin-top: 72px;
}

.position-grid, .delivery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.position-grid div, .delivery-grid div { padding: 22px; }
.delivery-grid span { display: block; color: var(--muted); margin-top: 8px; }

.order-card {
  padding: 42px;
  background: radial-gradient(circle at top right, rgba(212,162,76,.25), transparent 25%), white;
}

@media (max-width: 820px) {
  .hero-grid, .split, .trust-strip, .position-grid, .delivery-grid { grid-template-columns: 1fr; }
  nav { align-items: flex-start; }
  .brand { gap: 16px; }
  .logo { width: 118px; height: 118px; }
  .brand strong { font-size: 28px; }
  .brand small { font-size: 18px; }
  .nav-actions { flex-direction: column; align-items: flex-end; }
  .mini-stats { grid-template-columns: 1fr; }
}


/* Option 1 banner layout */
.promo-banner-section{
  margin-top:24px !important;
  margin-bottom:24px !important;
  padding:0 !important;
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
}

.promo-banner{
  width:100%;
  height:auto;
  display:block;
  border-radius:24px;
  box-shadow:none !important;
  border:none !important;
  background:transparent !important;
}


/* Product grid visibility fix: keep cards consistent and images visible */
.product-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

.product-card {
  min-width: 0 !important;
  height: 100% !important;
}

.product-image {
  height: 220px !important;
  min-height: 220px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px !important;
}

.product-image img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* Keep filtered categories from stretching single-item rows too wide */
.product-grid.single-category,
.product-grid {
  justify-items: stretch !important;
}

/* Responsive fallback: 2 columns on tablet, 1 on small phone */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: 1fr !important;
  }

  .product-image {
    height: 200px !important;
    min-height: 200px !important;
  }
}


/* Category tag colors */
.product-tag,
.category-tag {
  color: #fff !important;
}

.product-tag[data-category*="Skin"],
.category-tag[data-category*="Skin"] { background:#d97706 !important; }

.product-tag[data-category*="serum"],
.category-tag[data-category*="serum"] { background:#7c3aed !important; }

.product-tag[data-category*="Sun"],
.category-tag[data-category*="Sun"] { background:#ea580c !important; }

.product-tag[data-category*="Fish"],
.category-tag[data-category*="Fish"] { background:#0284c7 !important; }

.product-tag[data-category*="Omega"],
.category-tag[data-category*="Omega"] { background:#0ea5e9 !important; }

.product-tag[data-category*="Vitamin"],
.category-tag[data-category*="Vitamin"] { background:#16a34a !important; }

.product-tag[data-category*="Baby"],
.category-tag[data-category*="Baby"] { background:#ec4899 !important; }

.product-tag[data-category*="Fragrance"],
.category-tag[data-category*="Fragrance"] { background:#9333ea !important; }

.product-tag[data-category*="Honey"],
.category-tag[data-category*="Honey"] { background:#eab308 !important; color:#222 !important; }


.product-image{position:relative;}
.deposit-badge{
position:absolute;top:10px;left:10px;z-index:5;
background:#0F5C4D;color:#fff;font-weight:800;
padding:8px 12px;border-radius:999px;font-size:11px;
letter-spacing:.2px;white-space:nowrap;
box-shadow:0 4px 10px rgba(0,0,0,.15);
}


/* Readability upgrade: optimized for Vietnamese ecommerce text */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.brand strong {
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.05 !important;
}

.brand small {
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.35 !important;
}

h1 {
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.045em !important;
  max-width: 960px !important;
}

h2 {
  font-weight: 750 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.035em !important;
}

h3 {
  font-size: 18px !important;
  line-height: 1.28 !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 4px !important;
}

.subtext,
.section-head p,
.split p,
.positioning p,
.order-card p,
.product-card p,
.drop-card p,
.step p,
.trust-strip span,
.delivery-grid span {
  font-weight: 400 !important;
  line-height: 1.65 !important;
  letter-spacing: -0.005em !important;
}

.product-card p {
  font-size: 15.5px !important;
  line-height: 1.58 !important;
}

.price {
  font-size: 21px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

.btn,
.filter,
.nav-cta,
.lang-btn,
.badge,
.tag,
.deposit-badge,
.eyebrow {
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.eyebrow {
  letter-spacing: .08em !important;
}

.product-card {
  gap: 12px !important;
}

@media (max-width: 820px) {
  h1 {
    font-size: clamp(38px, 11vw, 56px) !important;
    line-height: 1.1 !important;
  }

  .brand small {
    line-height: 1.3 !important;
  }

  .product-card p {
    font-size: 15px !important;
  }
}


/* Product category pill polish: premium ecommerce label style */
.tag {
  text-transform: uppercase !important;
  letter-spacing: 0.045em !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  padding: 9px 13px !important;
}

.filter {
  text-transform: uppercase !important;
  letter-spacing: 0.035em !important;
  font-size: 12px !important;
}

@media (max-width: 560px) {
  .tag {
    font-size: 11px !important;
    letter-spacing: 0.035em !important;
  }
}

.eyebrow:empty { display: none !important; }


/* Floating Zalo contact button */
.zalo-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0068ff;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 14px 30px rgba(0, 104, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zalo-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 104, 255, 0.45);
}

.zalo-float span {
  line-height: 1;
}

@media (max-width: 560px) {
  .zalo-float {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
    font-size: 14px;
  }
}
