/* ==========================================================================
   KIDDO — Website giới thiệu đồ chơi trẻ em
   ========================================================================== */

:root {
  --pink: #ff4d8d;
  --pink-dark: #e6337a;
  --purple: #8b5cf6;
  --yellow: #ffc93c;
  --yellow-dark: #f5a623;
  --green: #3fc97a;
  --blue: #45c2f0;
  --orange: #ff9f45;
  --red: #ff5c72;

  --bg-pink: #fff0f6;
  --bg-yellow: #fff9e6;
  --bg-green: #eefcf3;
  --bg-blue: #eef9ff;
  --bg-orange: #fff4ea;
  --bg-purple: #f4f0ff;

  --gray-900: #3a3350;
  --gray-700: #5f5878;
  --gray-500: #948da8;
  --gray-200: #ece7f5;
  --gray-100: #faf9ff;
  --white: #ffffff;

  --font-heading: "Baloo 2", "Nunito", sans-serif;
  --font-body: "Nunito", sans-serif;

  --container-w: 1240px;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow-sm: 0 4px 16px rgba(58, 51, 80, 0.07);
  --shadow-md: 0 16px 40px rgba(58, 51, 80, 0.14);
  --transition: 0.3s ease;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--gray-900);
  font-weight: 700;
  line-height: 1.25;
}
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Utility ---------- */
.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--pink-dark);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section-title .spark { font-size: 20px; }
.section-sub { color: var(--gray-500); margin-top: 8px; font-size: 15px; }
.section-head-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; flex-wrap: wrap; gap: 14px; }
.section-head-row .section-title { margin: 0; }
.link-all {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--pink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.link-all:hover { color: var(--pink-dark); gap: 9px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%); color: var(--white); box-shadow: 0 10px 24px rgba(255, 77, 141, 0.35); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(255, 77, 141, 0.42); }
.btn-yellow { background: var(--yellow); color: var(--gray-900); box-shadow: 0 10px 24px rgba(255, 201, 60, 0.4); }
.btn-yellow:hover { background: var(--yellow-dark); }
.btn-outline { background: var(--white); color: var(--gray-900); border: 2px solid var(--gray-200); }
.btn-outline:hover { border-color: var(--pink); color: var(--pink); }
.btn-block { width: 100%; justify-content: center; }
.btn .play-ic { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.28); display: inline-flex; align-items: center; justify-content: center; }
.btn .play-ic svg { width: 12px; height: 12px; }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="left"].in-view { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="right"].in-view { transform: translateX(0); }

/* Image zoom hover */
.zoom { overflow: hidden; display: block; }
.zoom img { transition: transform 0.6s ease; width: 100%; height: 100%; object-fit: cover; }
.zoom:hover img { transform: scale(1.08) rotate(-1deg); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 999; background: var(--white); box-shadow: 0 2px 14px rgba(58,51,80,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 90px; gap: 24px; }
.logo { display: flex; flex-direction: column; flex-shrink: 0; }
.logo .word { font-family: var(--font-heading); font-weight: 800; font-size: 28px; letter-spacing: 0.5px; line-height: 1; }
.logo .word span:nth-child(1) { color: var(--pink); }
.logo .word span:nth-child(2) { color: var(--orange); }
.logo .word span:nth-child(3) { color: var(--green); }
.logo .word span:nth-child(4) { color: var(--blue); }
.logo .word span:nth-child(5) { color: var(--purple); }
.logo .tag { font-size: 11.5px; color: var(--gray-500); font-weight: 600; margin-top: 2px; }

.main-nav > ul { display: flex; gap: 30px; }
.main-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--gray-900);
  padding: 8px 0;
  position: relative;
  transition: color var(--transition);
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 3px;
  background: var(--pink);
  border-radius: 2px;
  transition: width var(--transition);
}
.main-nav a:hover { color: var(--pink); }
.main-nav a:hover::after { width: 100%; }
.main-nav li.active > a { color: var(--pink); }
.main-nav li.active > a::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-900);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.icon-btn:hover { background: var(--bg-pink); color: var(--pink); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn .badge {
  position: absolute; top: -4px; right: -4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 28px; padding: 4px; }
.nav-toggle span { height: 3px; background: var(--gray-900); border-radius: 2px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(180deg, #cdeeff 0%, #e8f6ff 35%, #fef9e9 100%);
  overflow: hidden;
  padding-bottom: 60px;
}
.hero::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(180deg, #b7e8a0 0%, #9adf82 100%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: scaleX(1.3);
}
.hero-deco { position: absolute; font-size: 32px; opacity: 0.9; animation: float 5s ease-in-out infinite; z-index: 1; }
.hero-deco.d1 { top: 8%; left: 6%; font-size: 26px; animation-delay: 0s; }
.hero-deco.d2 { top: 14%; right: 9%; font-size: 40px; animation-delay: 0.6s; }
.hero-deco.d3 { top: 55%; left: 3%; font-size: 24px; animation-delay: 1.2s; }
.hero-deco.d4 { top: 60%; right: 4%; font-size: 22px; animation-delay: 1.8s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 0.9fr 1.3fr 0.9fr; align-items: center; gap: 10px; padding-top: 40px; }
.hero-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/3.6; box-shadow: var(--shadow-md); border: 6px solid var(--white); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-center { text-align: center; }
.hero-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.2;
}
.hero-title .l1 { background: linear-gradient(90deg, var(--pink) 0%, var(--pink-dark) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.hero-title .l2 { background: linear-gradient(90deg, var(--purple) 0%, #5b8def 100%); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.hero-ribbon {
  display: inline-block;
  margin: 20px 0;
  padding: 10px 26px;
  background: var(--yellow);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--gray-900);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.hero-actions { display: flex; justify-content: center; }

/* Feature strip */
.feature-strip { background: var(--white); padding: 34px 0; margin-top: -30px; position: relative; z-index: 3; }
.feature-strip .container { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 30px 20px; }
.feature-strip ul { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.feature-strip li { display: flex; align-items: flex-start; gap: 12px; }
.feature-strip .ic {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.feature-strip .ic svg { width: 24px; height: 24px; }
.feature-strip li:nth-child(1) .ic { background: var(--bg-blue); color: var(--blue); }
.feature-strip li:nth-child(2) .ic { background: var(--bg-green); color: var(--green); }
.feature-strip li:nth-child(3) .ic { background: var(--bg-orange); color: var(--orange); }
.feature-strip li:nth-child(4) .ic { background: var(--bg-blue); color: #2b9fd6; }
.feature-strip li:nth-child(5) .ic { background: var(--bg-pink); color: var(--pink); }
.feature-strip h4 { font-size: 14px; font-weight: 800; margin-bottom: 3px; }
.feature-strip p { font-size: 12.5px; color: var(--gray-500); line-height: 1.4; }

/* ==========================================================================
   CATEGORY GRID
   ========================================================================== */
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.category-card { text-align: center; transition: transform var(--transition); }
.category-card:hover { transform: translateY(-6px); }
.category-card .thumb {
  border-radius: var(--radius);
  aspect-ratio: 1/0.9;
  overflow: hidden;
  margin-bottom: 12px;
}
.category-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.category-card:nth-child(1) .thumb { background: var(--bg-yellow); }
.category-card:nth-child(2) .thumb { background: var(--bg-green); }
.category-card:nth-child(3) .thumb { background: var(--bg-blue); }
.category-card:nth-child(4) .thumb { background: #ffe4e4; }
.category-card:nth-child(5) .thumb { background: var(--bg-pink); }
.category-card:nth-child(6) .thumb { background: var(--bg-orange); }
.category-card .thumb img { padding: 14px; object-fit: contain; }
.category-card span { font-family: var(--font-heading); font-weight: 700; font-size: 14.5px; }
.category-card:nth-child(1) span { color: var(--yellow-dark); }
.category-card:nth-child(2) span { color: var(--green); }
.category-card:nth-child(3) span { color: var(--blue); }
.category-card:nth-child(4) span { color: var(--red); }
.category-card:nth-child(5) span { color: var(--pink); }
.category-card:nth-child(6) span { color: var(--orange); }

/* ==========================================================================
   PRODUCTS
   ========================================================================== */
.products-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); border-color: transparent; }
.product-media { position: relative; aspect-ratio: 1/0.95; min-height: 0; overflow: hidden; background: var(--gray-100); flex-shrink: 0; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-media img { transform: scale(1.08); }
.product-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-name { font-family: var(--font-heading); font-size: 14.5px; font-weight: 700; color: var(--gray-900); line-height: 1.35; min-height: 38px; }
.product-price { font-family: var(--font-heading); font-weight: 800; font-size: 16.5px; color: var(--pink); }
.product-rating { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--gray-500); }
.product-rating .stars { display: inline-flex; gap: 1px; color: var(--yellow-dark); }
.product-rating svg { width: 12px; height: 12px; }
.products-more { text-align: center; margin-top: 40px; }

/* ==========================================================================
   PROMO BANNER
   ========================================================================== */
.promo-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; }
.promo-card {
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffd6e6 0%, #ffb8d4 100%);
  display: flex;
  align-items: center;
  gap: 20px;
}
.promo-text { position: relative; z-index: 2; }
.promo-label { font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: var(--pink-dark); background: var(--white); display: inline-block; padding: 6px 16px; border-radius: 999px; margin-bottom: 14px; }
.promo-title { font-size: 22px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.promo-percent { font-family: var(--font-heading); font-size: 52px; font-weight: 800; color: var(--pink-dark); line-height: 1; margin-bottom: 18px; }
.promo-media { flex-shrink: 0; width: 42%; align-self: flex-end; }
.promo-media img { width: 100%; border-radius: 16px; }

.info-card {
  border-radius: var(--radius);
  padding: 40px;
  background: var(--bg-blue);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.info-card h3 { font-size: 21px; margin-bottom: 12px; }
.info-card p { font-size: 14.5px; margin-bottom: 24px; }
.info-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.info-list li { text-align: center; }
.info-list .ic {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.info-list .ic svg { width: 20px; height: 20px; }
.info-list span { font-size: 12px; font-weight: 700; color: var(--gray-900); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--bg-pink);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.testimonial-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-card:nth-child(1) .avatar { background: linear-gradient(135deg, var(--pink), var(--purple)); }
.testimonial-card:nth-child(2) .avatar { background: linear-gradient(135deg, var(--blue), var(--green)); }
.testimonial-card:nth-child(3) .avatar { background: linear-gradient(135deg, var(--orange), var(--pink)); }
.testimonial-name { font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: var(--gray-900); }
.testimonial-stars { display: inline-flex; gap: 2px; color: var(--yellow-dark); margin-top: 2px; }
.testimonial-stars svg { width: 13px; height: 13px; }
.testimonial-card p { font-size: 14.5px; color: var(--gray-700); font-style: italic; }
.testimonial-heart { position: absolute; bottom: 20px; right: 24px; color: var(--pink); opacity: 0.5; }
.testimonial-heart svg { width: 18px; height: 18px; }

/* ==========================================================================
   NEWS
   ========================================================================== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.news-card .zoom { aspect-ratio: 16/10; }
.news-card .body { padding: 20px; }
.news-card .date { font-size: 12.5px; color: var(--gray-500); font-weight: 700; margin-bottom: 8px; }
.news-card h3 { font-size: 16px; margin-bottom: 10px; line-height: 1.4; }
.news-card p { font-size: 13.5px; color: var(--gray-500); }

/* ==========================================================================
   PAGE HERO / BREADCRUMB
   ========================================================================== */
.page-hero { background: linear-gradient(135deg, var(--bg-pink) 0%, var(--bg-blue) 100%); padding: 50px 0; text-align: center; }
.page-hero h1 { font-size: 34px; margin-bottom: 10px; color: var(--pink-dark); }
.breadcrumb { display: inline-flex; gap: 8px; align-items: center; color: var(--gray-500); font-size: 14px; font-weight: 700; }
.breadcrumb a { color: var(--gray-500); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--pink); }
.breadcrumb .current { color: var(--pink); }

/* ==========================================================================
   FILTER BAR
   ========================================================================== */
.filter-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-bar button {
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid var(--gray-200);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--gray-700);
  transition: var(--transition);
}
.filter-bar button:hover { border-color: var(--pink); color: var(--pink); }
.filter-bar button.active { background: var(--pink); border-color: var(--pink); color: var(--white); }

/* ==========================================================================
   PRODUCT DETAIL
   ========================================================================== */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.pd-gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--gray-100); aspect-ratio: 1/0.9; margin-bottom: 16px; }
.pd-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 12px; }
.pd-thumbs button { width: 76px; height: 76px; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid var(--gray-200); background: var(--gray-100); padding: 0; transition: var(--transition); }
.pd-thumbs button.active, .pd-thumbs button:hover { border-color: var(--pink); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-cat { font-family: var(--font-heading); font-size: 13px; font-weight: 700; color: var(--pink); margin-bottom: 8px; }
.pd-title { font-size: 27px; margin-bottom: 12px; }
.pd-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 13.5px; color: var(--gray-500); }
.pd-rating .stars { display: inline-flex; gap: 2px; color: var(--yellow-dark); }
.pd-rating svg { width: 14px; height: 14px; }
.pd-price { font-family: var(--font-heading); font-weight: 800; font-size: 26px; color: var(--pink); margin-bottom: 18px; }
.pd-desc { margin-bottom: 24px; }
.pd-option { margin-bottom: 20px; }
.pd-option .label { font-family: var(--font-heading); font-size: 13px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; display: block; }
.qty-options, .age-options { display: flex; gap: 10px; flex-wrap: wrap; }
.qty-options button, .age-options button { min-width: 52px; padding: 10px 16px; border-radius: var(--radius-sm); border: 2px solid var(--gray-200); font-family: var(--font-heading); font-weight: 600; font-size: 13.5px; transition: var(--transition); }
.qty-options button.active, .age-options button.active, .qty-options button:hover, .age-options button:hover { border-color: var(--pink); background: var(--bg-pink); color: var(--pink-dark); }
.pd-actions { display: flex; gap: 14px; margin-top: 26px; }
.pd-actions .btn-primary { flex: 1; justify-content: center; }
.pd-meta-list { margin-top: 28px; padding-top: 24px; border-top: 1px dashed var(--gray-200); display: flex; flex-direction: column; gap: 10px; }
.pd-meta-list li { font-size: 14px; display: flex; gap: 8px; }
.pd-meta-list li strong { color: var(--gray-900); font-weight: 700; min-width: 120px; }

.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--gray-200); }
.specs-table td { padding: 14px 10px; font-size: 14.5px; }
.specs-table td:first-child { color: var(--gray-500); width: 200px; }
.specs-table td:last-child { color: var(--gray-900); font-weight: 600; }

/* ==========================================================================
   ABOUT / VALUES (gioi-thieu, be-hoc-be-choi)
   ========================================================================== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.about-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/0.85; box-shadow: var(--shadow-md); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-text { margin-bottom: 20px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.stat-box { text-align: center; background: var(--bg-pink); border-radius: var(--radius-sm); padding: 18px 10px; }
.stat-box .num { font-family: var(--font-heading); font-weight: 800; font-size: 28px; color: var(--pink); }
.stat-box .lbl { font-size: 12.5px; color: var(--gray-500); margin-top: 4px; font-weight: 600; }

.value-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px 22px; text-align: center; transition: var(--transition); }
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); border-color: transparent; }
.value-card .ic { width: 56px; height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.value-card:nth-child(4n+1) .ic { background: var(--bg-pink); color: var(--pink); }
.value-card:nth-child(4n+2) .ic { background: var(--bg-green); color: var(--green); }
.value-card:nth-child(4n+3) .ic { background: var(--bg-blue); color: var(--blue); }
.value-card:nth-child(4n+4) .ic { background: var(--bg-orange); color: var(--orange); }
.value-card .ic svg { width: 24px; height: 24px; }
.value-card h3 { font-size: 16px; margin-bottom: 8px; }
.value-card p { font-size: 13.5px; color: var(--gray-500); }

/* Article content (be-hoc-be-choi detail-ish list) */
.tip-list { display: flex; flex-direction: column; gap: 18px; }
.tip-item { display: flex; gap: 18px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px; align-items: flex-start; transition: var(--transition); }
.tip-item:hover { box-shadow: var(--shadow-sm); }
.tip-item .num { font-family: var(--font-heading); font-weight: 800; font-size: 22px; color: var(--white); background: var(--pink); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tip-item h3 { font-size: 16.5px; margin-bottom: 6px; }
.tip-item p { font-size: 14px; color: var(--gray-500); }

/* CTA banner reused */
.cta-banner {
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  border-radius: var(--radius);
  padding: 46px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-banner h3 { color: var(--white); font-size: 24px; margin-bottom: 6px; }
.cta-banner p { color: rgba(255,255,255,0.85); }
.cta-banner .btn-yellow:hover { transform: translateY(-2px) scale(1.03); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin-top: 26px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .ic { width: 46px; height: 46px; border-radius: 16px; background: var(--bg-pink); color: var(--pink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item .ic svg { width: 20px; height: 20px; }
.contact-info-item h4 { font-size: 14.5px; margin-bottom: 3px; }
.contact-info-item p { font-size: 14px; color: var(--gray-500); }
.contact-form { background: var(--bg-pink); border-radius: var(--radius); padding: 38px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-family: var(--font-heading); font-size: 13px; font-weight: 700; color: var(--gray-900); }
.form-group input, .form-group textarea {
  padding: 13px 16px; border: 2px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: 14.5px; background: var(--white); transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--pink); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.map-frame { border-radius: var(--radius); overflow: hidden; margin-top: 56px; height: 360px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--bg-yellow); padding-top: 60px; position: relative; overflow: hidden; }
.footer-hill { position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(180deg, #b7e8a0 0%, #9adf82 100%); border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: scaleX(1.3); z-index: 0; }
.footer-deco { position: absolute; font-size: 42px; z-index: 1; opacity: 0.95; }
.footer-deco.fd1 { left: 4%; bottom: 8px; font-size: 56px; }
.footer-deco.fd2 { right: 5%; bottom: 40px; font-size: 40px; }
.site-footer .container { position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { margin: 14px 0 20px; font-size: 14px; max-width: 280px; color: var(--gray-700); }
.social-row { display: flex; gap: 10px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); color: var(--white); }
.social-row a:nth-child(1) { background: #3b5998; }
.social-row a:nth-child(2) { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); }
.social-row a:nth-child(3) { background: #ff0000; }
.social-row a:nth-child(4) { background: #000000; }
.social-row a svg { width: 16px; height: 16px; }
.social-row a:hover { transform: translateY(-3px); }
.footer-col h4 { font-size: 15px; margin-bottom: 20px; color: var(--pink-dark); }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--gray-700); transition: color var(--transition), padding-left var(--transition); }
.footer-col a:hover { color: var(--pink); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 15px; font-size: 14px; color: var(--gray-700); }
.footer-contact li:last-child { margin-bottom: 0; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--pink); }
.footer-bottom { text-align: center; padding: 20px 0; font-size: 13px; color: var(--gray-500); border-top: 1px solid rgba(58,51,80,0.08); }
.back-to-top {
  position: fixed; right: 24px; bottom: 24px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--pink); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--transition);
  z-index: 400;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--pink-dark); }
.back-to-top svg { width: 19px; height: 19px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-photo { display: none; }
  .hero-title { font-size: 40px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .promo-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-strip ul { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
}

@media (max-width: 960px) {
  .main-nav { position: fixed; top: 90px; left: 0; right: 0; bottom: 0; background: var(--white); flex-direction: column; padding: 20px 24px; transform: translateX(-100%); transition: transform var(--transition); overflow-y: auto; z-index: 50; }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--gray-200); }
  .nav-toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; gap: 30px; }
  .pd-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .info-list { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
}

@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .header-inner { height: 72px; }
  .logo .word { font-size: 22px; }
  .logo .tag { display: none; }
  .hero-title { font-size: 30px; }
  .hero-ribbon { font-size: 12.5px; padding: 8px 18px; }
  .section-title { font-size: 24px; }
  .feature-strip ul { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-body { padding: 12px; }
  .promo-card { flex-direction: column; padding: 28px 22px; text-align: center; }
  .promo-media { width: 70%; align-self: center; }
  .info-card { padding: 28px 22px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .cta-banner { padding: 32px 24px; flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; gap: 14px; }
  .hero-deco { display: none; }
}
