/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  max-width: 1180px; margin: 0 auto;
  padding: 32px 20px 32px;
}
@media (min-width: 768px) {
  .hero { display: grid; grid-template-columns: 1fr 370px; gap: 40px; align-items: center; padding: 52px 24px 48px; }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--rose-bg); border: 1px solid #F7C5CE;
  padding: 5px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 600; color: var(--rose-d);
  text-transform: uppercase; letter-spacing: .6px; margin-bottom: 14px;
}
.hero h1 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(26px, 5vw, 46px); font-weight: 800;
  line-height: 1.25; color: var(--brown); margin-bottom: 14px;
}
.hero h1 em { color: var(--rose-d); font-style: normal; }
.hero-desc { font-size: 16px; line-height: 1.8; color: var(--muted); margin-bottom: 26px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-primary {
  padding: 13px 26px; border-radius: 26px; border: none;
  background: var(--rose-d); color: var(--white);
  font-family: 'Be Vietnam Pro', sans-serif; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: transform .18s, box-shadow .18s;
  box-shadow: 0 6px 18px rgba(217,99,122,.3); text-decoration: none; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(217,99,122,.4); color: var(--white); }
.btn-outline {
  padding: 12px 24px; border-radius: 26px; border: 2px solid var(--rose-d);
  background: transparent; color: var(--rose-d);
  font-family: 'Be Vietnam Pro', sans-serif; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all .18s; text-decoration: none; display: inline-block;
}
.btn-outline:hover { background: var(--rose-d); color: var(--white); }
.hero-visual { display: none; }
@media (min-width: 768px) {
  .hero-visual {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
    border-radius: 28px; overflow: hidden;
    background: linear-gradient(160deg, #FDDDE5 0%, #F7B8C4 60%, var(--rose) 100%);
    aspect-ratio: 3/4; padding: 28px;
    box-shadow: 0 20px 50px rgba(61,35,20,.12);
  }
}
.hero-visual-emoji { font-size: 100px; margin-bottom: 20px; }
.hero-floating-card {
  display: block; text-decoration: none;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-radius: 16px; padding: 15px 18px; width: 100%;
  transition: transform .18s, box-shadow .18s;
}
.hero-floating-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61,35,20,.12);
}
.hfc-label { font-size: 11px; color: var(--muted); margin-bottom: 4px; font-weight: 500; }
.hfc-title { font-family: 'Nunito', sans-serif; font-size: 15px; font-weight: 700; color: var(--brown); line-height: 1.35; }
.hfc-meta { font-size: 12px; color: var(--rose-d); margin-top: 8px; font-weight: 600; }

/* ─── STATS ───────────────────────────────────────────────── */
.stats { background: var(--brown); padding: 32px 20px; }
.stats-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; text-align: center;
}
@media (min-width: 600px) { .stats-inner { grid-template-columns: repeat(4, 1fr); } }
.stat-num { font-family: 'Nunito', sans-serif; font-size: 32px; font-weight: 800; color: var(--rose); line-height: 1; }
.stat-label { font-size: 13px; color: rgba(253,248,244,.65); margin-top: 5px; }

/* ─── SECTION WRAPPER ─────────────────────────────────────── */
.section { max-width: 1180px; margin: 0 auto; padding: 48px 20px; }
@media (min-width: 768px) { .section { padding: 60px 24px; } }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; }
.section-label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--rose-d); margin-bottom: 5px; }
.section-title { font-family: 'Nunito', sans-serif; font-size: 24px; font-weight: 800; color: var(--brown); }
@media (min-width: 768px) { .section-title { font-size: 28px; } }
.see-all {
  font-size: 13.5px; font-weight: 600; color: var(--rose-d);
  text-decoration: none; white-space: nowrap;
  border-bottom: 1.5px solid var(--rose); padding-bottom: 1px;
  flex-shrink: 0; margin-left: 12px; transition: opacity .15s;
}
.see-all:hover { opacity: .7; }

/* ─── CATEGORIES ──────────────────────────────────────────── */
.cats-scroll {
  display: flex; gap: 12px; overflow-x: auto;
  -webkit-overflow-scrolling: touch; padding-bottom: 8px;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.cats-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .cats-scroll { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; padding-bottom: 0; }
}
.cat-card {
  flex-shrink: 0; width: 140px; scroll-snap-align: start;
  border-radius: 20px; padding: 22px 16px; text-align: center;
  cursor: pointer; transition: transform .22s, box-shadow .22s; text-decoration: none; display: block;
}
@media (min-width: 768px) { .cat-card { width: auto; } }
.cat-card:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(0,0,0,.09); }
.cat-card:nth-child(1) { background: linear-gradient(150deg, #FEEAEE, #FFCCD6); }
.cat-card:nth-child(2) { background: linear-gradient(150deg, #EBF5EC, #C8E6CA); }
.cat-card:nth-child(3) { background: linear-gradient(150deg, #FFF4ED, #FFE4CC); }
.cat-card:nth-child(4) { background: linear-gradient(150deg, #F3EEFB, #DDD0F5); }
.cat-emoji { font-size: 40px; margin-bottom: 12px; display: block; }
.cat-name { font-family: 'Nunito', sans-serif; font-size: 14px; font-weight: 800; color: var(--brown); margin-bottom: 4px; line-height: 1.3; }
.cat-count { font-size: 12px; color: var(--muted); }

/* ─── POST CARDS ──────────────────────────────────────────── */
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 9px; }
.post-tag {
  display: inline-block; padding: 3px 10px; border-radius: 12px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
}
.tag-thai  { background: #FEEAEE; color: var(--rose-d); }
.tag-nuoi  { background: var(--sage-bg); color: var(--sage-d); }
.tag-ban   { background: var(--peach-bg); color: #C05A1A; }
.tag-shop  { background: var(--purple-bg); color: #6B3FA0; }
.discover-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: #FFF8E7; border: 1px solid #FFD54F;
  padding: 3px 10px; border-radius: 12px;
  font-size: 11px; font-weight: 700; color: #B8860B;
}

.post-card {
  border-radius: 18px; overflow: hidden; background: var(--white);
  box-shadow: 0 3px 16px rgba(61,35,20,.07); transition: transform .22s, box-shadow .22s;
  cursor: pointer; text-decoration: none; display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(61,35,20,.11); }
.post-thumb {
  width: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 56px; aspect-ratio: 16/9; flex-shrink: 0;
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb.sm { aspect-ratio: 3/2; font-size: 36px; }
.post-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
.post-body h2 { font-family: 'Nunito', sans-serif; font-size: 18px; font-weight: 800; line-height: 1.35; color: var(--brown); margin-bottom: 9px; }
.post-body h3 { font-family: 'Nunito', sans-serif; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--brown); margin-bottom: 7px; }
.post-body p { font-size: 14.5px; color: var(--muted); line-height: 1.75; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--light); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--rose), var(--rose-d)); display: grid; place-items: center; font-size: 13px; flex-shrink: 0; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.meta-text { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.meta-text strong { color: var(--brown); font-weight: 600; }
.read-time { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; flex-shrink: 0; }

.posts-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .posts-grid { grid-template-columns: 1.65fr 1fr; gap: 20px; } }

.side-posts { display: flex; flex-direction: column; gap: 14px; }
.side-posts .post-card { flex-direction: row; }
.side-posts .post-card .post-thumb { width: 100px; aspect-ratio: 1/1; flex-shrink: 0; font-size: 30px; border-radius: 0; }
.side-posts .post-card .post-body { padding: 13px 14px; }

.articles-grid { display: grid; gap: 16px; }
@media (min-width: 600px)  { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .articles-grid { grid-template-columns: repeat(3, 1fr); } }

/* ─── AUTHOR BOX (E-E-A-T) ────────────────────────────────── */
.author-box {
  background: var(--white); border-radius: 20px;
  padding: 28px 24px; display: flex; gap: 22px; align-items: flex-start;
  box-shadow: 0 3px 16px rgba(61,35,20,.06); border: 1px solid var(--border);
}
@media (max-width: 600px) { .author-box { flex-direction: column; align-items: center; text-align: center; } }
.author-avatar {
  width: 88px; height: 88px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #FDDDE5, var(--rose));
  display: flex; align-items: center; justify-content: center; font-size: 44px;
  overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-info { flex: 1; }
.author-role { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--rose-d); margin-bottom: 4px; }
.author-name { font-family: 'Nunito', sans-serif; font-size: 20px; font-weight: 800; color: var(--brown); margin-bottom: 10px; }
.author-bio-text { font-size: 14.5px; color: var(--muted); line-height: 1.75; margin-bottom: 14px; }
.author-creds { display: flex; flex-wrap: wrap; gap: 8px; }
.cred-chip {
  display: flex; align-items: center; gap: 5px;
  background: var(--light); border-radius: 12px; padding: 5px 12px;
  font-size: 12.5px; color: var(--text); font-weight: 500;
}

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border-radius: 16px; border: 1px solid var(--border); overflow: hidden; }
.faq-q {
  width: 100%; padding: 18px 20px; text-align: left; border: none;
  background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: 'Be Vietnam Pro', sans-serif; font-size: 15px; font-weight: 600;
  color: var(--brown); transition: background .15s;
}
.faq-q:hover { background: var(--light); }
.faq-q .faq-icon { font-size: 18px; transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  font-size: 14.5px; color: var(--muted); line-height: 1.8; padding: 0 20px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 20px 18px; }
.faq-a a { color: var(--rose-d); text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }

/* ─── AFFILIATE SECTION ───────────────────────────────────── */
.aff-section { background: var(--warm); }
.aff-inner { max-width: 1180px; margin: 0 auto; padding: 52px 20px; }
@media (min-width: 768px) { .aff-inner { padding: 64px 24px; } }

.aff-disclosure {
  display: flex; align-items: flex-start; gap: 8px;
  background: #FFFBEB; border: 1px solid #FDE68A;
  border-radius: 10px; padding: 10px 14px; margin-bottom: 28px;
  font-size: 12.5px; color: #92400E; line-height: 1.5;
}
.aff-disclosure strong { font-weight: 700; }

.aff-tabs {
  display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
  padding-bottom: 4px; margin-bottom: 28px;
}
.aff-tabs::-webkit-scrollbar { display: none; }
.aff-tab {
  flex-shrink: 0; padding: 7px 16px; border-radius: 20px;
  font-family: 'Be Vietnam Pro', sans-serif; font-size: 13.5px; font-weight: 600; cursor: pointer;
  background: var(--white); color: var(--muted); border: 1.5px solid var(--border); transition: all .18s;
  -webkit-tap-highlight-color: transparent;
}
.aff-tab.active, .aff-tab:hover { background: var(--rose-d); color: var(--white); border-color: var(--rose-d); }

.prod-grid {
  display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 600px)  { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .prod-grid { grid-template-columns: repeat(4, 1fr); } }

.prod-card {
  background: var(--white); border-radius: 18px; overflow: hidden;
  box-shadow: 0 3px 16px rgba(61,35,20,.07);
  display: flex; flex-direction: column;
  transition: transform .22s, box-shadow .22s; position: relative;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(61,35,20,.12); }
.prod-badges {
  position: absolute; top: 10px; left: 10px; right: 10px;
  display: flex; justify-content: space-between; align-items: flex-start; z-index: 2;
}
.badge-sale { background: var(--rose-d); color: var(--white); font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 10px; letter-spacing: .3px; }
.badge-pick { background: #FEF9C3; color: #854D0E; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 10px; }
.badge-new  { background: var(--sage-d); color: var(--white); font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 10px; }

.prod-img {
  width: 100%; aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center;
  font-size: 72px; flex-shrink: 0; position: relative;
}
.prod-img img { width: 100%; height: 100%; object-fit: cover; }

.prod-body { padding: 14px 14px 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.prod-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--rose-d); }
.prod-name { font-family: 'Nunito', sans-serif; font-size: 14px; font-weight: 800; color: var(--brown); line-height: 1.35; }
.prod-stars { display: flex; align-items: center; gap: 4px; }
.stars { color: #F59E0B; font-size: 13px; letter-spacing: 1px; }
.rating-num { font-size: 12px; font-weight: 700; color: var(--brown); }
.rating-count { font-size: 11px; color: var(--muted); }
.prod-review {
  font-size: 12.5px; color: var(--muted); line-height: 1.6;
  font-style: italic; border-left: 2px solid var(--rose); padding-left: 8px; margin: 2px 0;
}
.prod-price { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; margin-top: 2px; }
.price-current { font-family: 'Nunito', sans-serif; font-size: 17px; font-weight: 800; color: var(--rose-d); }
.price-original { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.prod-actions { display: flex; flex-direction: column; gap: 7px; margin-top: auto; padding-top: 10px; }
.btn-buy {
  width: 100%; padding: 10px; border-radius: 12px; border: none;
  background: var(--rose-d); color: var(--white);
  font-family: 'Be Vietnam Pro', sans-serif; font-size: 13.5px; font-weight: 700;
  cursor: pointer; text-align: center; text-decoration: none; display: block; transition: opacity .18s;
}
.btn-buy:hover { opacity: .85; color: var(--white); }
.btn-review {
  width: 100%; padding: 8px; border-radius: 12px;
  border: 1.5px solid var(--border); background: transparent; color: var(--muted);
  font-family: 'Be Vietnam Pro', sans-serif; font-size: 12.5px; font-weight: 600;
  text-align: center; text-decoration: none; display: block; transition: all .18s;
}
.btn-review:hover { border-color: var(--rose-d); color: var(--rose-d); }

.aff-more { text-align: center; margin-top: 32px; }
.btn-loadmore {
  padding: 12px 32px; border-radius: 24px;
  border: 2px solid var(--rose-d); background: transparent;
  color: var(--rose-d); font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px; font-weight: 700; cursor: pointer; transition: all .18s; text-decoration: none; display: inline-block;
}
.btn-loadmore:hover { background: var(--rose-d); color: var(--white); }

/* ─── NEWSLETTER ──────────────────────────────────────────── */
.newsletter { background: linear-gradient(140deg, var(--brown) 0%, #2A1509 100%); padding: 60px 20px; text-align: center; }
@media (min-width: 768px) { .newsletter { padding: 80px 24px; } }
.newsletter-inner { max-width: 520px; margin: 0 auto; }
.newsletter .section-label { color: var(--rose); }
.newsletter h2 { font-family: 'Nunito', sans-serif; font-size: clamp(22px, 4vw, 32px); font-weight: 800; color: var(--white); margin: 10px 0 14px; line-height: 1.3; }
.newsletter p { font-size: 15px; color: rgba(253,248,244,.7); margin-bottom: 28px; line-height: 1.8; }
.nl-form { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 480px) { .nl-form { flex-direction: row; } }
.nl-form input {
  flex: 1; padding: 14px 18px; border-radius: 26px;
  border: 1.5px solid rgba(255,255,255,.2); outline: none;
  background: rgba(255,255,255,.08); color: var(--white);
  font-family: 'Be Vietnam Pro', sans-serif; font-size: 15px;
}
.nl-form input::placeholder { color: rgba(255,255,255,.45); }
.nl-form button {
  padding: 14px 22px; border-radius: 26px; border: none;
  background: var(--rose-d); color: var(--white);
  font-family: 'Be Vietnam Pro', sans-serif; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.nl-form button:hover { opacity: .85; }
