/* ==========================================================================
   TIỆM ƠI — DESIGN SYSTEM "I LOVE PINK" (2026-10-22)
   Màu chủ đạo [ĐÃ CHỐT]:
     - Hồng cherry #C2456A · Kem hồng #FFF4F2 · Kem sữa #FBF5EE
     - Hồng thạch #F4C9CF · Nâu cacao #2E1B17
   Màu phụ trang trí (thêm 2026-10-22): xanh trời, xanh lá, vàng nắng
   Chữ:
     - Baloo 2: tiêu đề, chữ tròn đậm
     - Playfair Display nghiêng: chữ nhấn trong tiêu đề (thẻ <em>)
     - Be Vietnam Pro: nội dung
   Quy tắc: chữ nhỏ không đặt trên nền hồng cherry; đặt trên nền kem.
   ========================================================================== */

/* --- 1. Tokens --- */
:root {
  --cherry: #C2456A;
  --cherry-dark: #A42F50;
  --cream-pink: #FFF4F2;
  --milk: #FBF5EE;
  --quartz: #F4C9CF;
  --cacao: #2E1B17;
  --muted: #6E5652;
  --light: #9B827E;
  --white: #FFFFFF;
  --line: #EADBDA;

  /* Màu phụ trang trí */
  --sky: #3E97D1;
  --sky-soft: #DCEEFA;
  --leaf: #72BE4B;
  --leaf-dark: #3F8A2B;
  --leaf-soft: #E4F3DA;
  --sun: #F5C443;
  --sun-soft: #FDF1CC;

  --font-display: 'Baloo 2', 'Be Vietnam Pro', system-ui, sans-serif;
  --font-script: 'Playfair Display', Georgia, serif;
  --font-body: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 9999px;

  --shadow-soft: 0 10px 30px rgba(46, 27, 23, 0.07);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--milk);
  color: var(--cacao);
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: 74px; /* chỗ cho thanh đáy trên điện thoại */
}

@media (min-width: 992px) {
  body { padding-bottom: 0; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }

.sr-svg { position: absolute; width: 0; height: 0; overflow: hidden; }

/* --- 3. Chữ --- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.display em,
.script {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
}

.h-xl { font-size: clamp(2.75rem, 8vw, 5.5rem); }
.h-lg { font-size: clamp(2rem, 4.6vw, 3.25rem); }
.h-md { font-size: clamp(1.625rem, 3.2vw, 2.25rem); }

.kicker {
  display: inline-block;
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--cherry);
  margin-bottom: 4px;
}

.lede {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 620px;
  margin: 14px auto 0;
}

.section { padding: 64px 0; position: relative; }

@media (min-width: 992px) {
  .section { padding: 88px 0; }
}

.section-head { text-align: center; margin-bottom: 40px; }

/* --- 4. Nút --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 28px 13px;
  border-radius: var(--radius-pill);
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn-cherry { background: var(--cherry); color: var(--white); box-shadow: 0 8px 20px rgba(194, 69, 106, .28); }
.btn-cherry:hover { background: var(--cherry-dark); }

.btn-leaf { background: var(--leaf); color: var(--cacao); }
.btn-leaf:hover { background: #82CC5A; }

.btn-cream { background: var(--cream-pink); color: var(--cherry); }
.btn-cream:hover { background: var(--white); }

.btn-ghost-cream { border: 2px solid var(--cream-pink); color: var(--cream-pink); }
.btn-ghost-cream:hover { background: rgba(255, 244, 242, .14); }

.btn-ghost { border: 2px solid var(--cacao); color: var(--cacao); }
.btn-ghost:hover { background: var(--cacao); color: var(--milk); }

.w-full { width: 100%; }

/* --- 5. Khung ảnh có hình dạng --- */
/* Hoa 4 cánh và mây: dùng clipPath SVG khai báo trong từng trang (#clip-flower, #clip-cloud) */
.shape {
  position: relative;
  display: block;
  padding: 5px;
  background: var(--ring, var(--quartz));
}

.shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--cream-pink);
}

.shape-flower, .shape-flower img { clip-path: url(#clip-flower); }
.shape-cloud, .shape-cloud img { clip-path: url(#clip-cloud); }
.shape-arch, .shape-arch img { border-radius: 999px 999px 24px 24px; }
.shape-arch img { border-radius: 999px 999px 20px 20px; }
.shape-blob { border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%; }
.shape-blob img { border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%; }

.ring-pink { --ring: var(--quartz); }
.ring-sky { --ring: var(--sky); }
.ring-sun { --ring: var(--sun); }
.ring-leaf { --ring: var(--leaf); }
.ring-cherry { --ring: var(--cherry); }
.ring-cream { --ring: var(--cream-pink); }

/* Hoa trang trí (SVG sprite) */
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.deco svg { width: 100%; height: 100%; display: block; }

.c-pink { color: #F28BA8; }
.c-cherry { color: var(--cherry); }
.c-sun { color: var(--sun); }
.c-sky { color: var(--sky); }
.c-white { color: var(--white); }

@keyframes sway {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}

.sway { animation: sway 6s ease-in-out infinite; transform-origin: 50% 100%; }

@media (prefers-reduced-motion: reduce) {
  .sway { animation: none; }
  html { scroll-behavior: auto; }
}

/* Viền lượn sóng */
.scallop-bottom { position: relative; }
.scallop-bottom::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -23px;
  height: 24px;
  background: radial-gradient(circle at 24px 0, var(--scallop, var(--cherry)) 23.5px, transparent 24px) 0 0 / 48px 24px repeat-x;
}

.scallop-top { position: relative; }
.scallop-top::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -23px;
  height: 24px;
  background: radial-gradient(circle at 24px 24px, var(--scallop, var(--cherry)) 23.5px, transparent 24px) 0 0 / 48px 24px repeat-x;
}

/* --- 6. Thanh thông báo --- */
.announcement-bar {
  background: var(--quartz);
  color: var(--cacao);
  font-size: .8125rem;
  padding: 8px 0;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  text-align: center;
}

.announcement-badge {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .75rem;
  background: var(--cherry);
  color: var(--white);
  padding: 3px 10px 1px;
  border-radius: var(--radius-pill);
}

.announcement-cta {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8125rem;
  line-height: 1;
  padding: 7px 14px 5px;
  border-radius: var(--radius-pill);
  background: var(--cacao);
  color: var(--milk);
  transition: background-color .2s var(--ease);
}

.announcement-cta:hover { background: var(--cherry); }

/* --- 7. Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* Không dùng backdrop-filter: nó biến header thành khung chứa của menu trượt (position: fixed) và gây tràn ngang */
  background: var(--milk);
  box-shadow: 0 1px 0 var(--line);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.brand-logo-wrap { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo-img { height: 46px; width: auto; border-radius: 12px; }

.desktop-nav { display: none; }

@media (min-width: 992px) {
  .desktop-nav { display: block; }
}

.nav-list { display: flex; align-items: center; gap: 30px; }

.nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active { color: var(--cherry); }

.nav-btn { cursor: pointer; }

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--cherry);
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.btn-zalo-nav { display: none; padding: 12px 22px 10px; font-size: .9375rem; }

@media (min-width: 600px) {
  .btn-zalo-nav { display: inline-flex; }
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  background: var(--cream-pink);
}

@media (min-width: 992px) {
  .mobile-menu-toggle { display: none; }
}

.hamburger-bar { display: block; height: 2px; border-radius: 2px; background: var(--cacao); }

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100vh;
  height: 100dvh;
  background: var(--milk);
  box-shadow: -16px 0 40px rgba(46, 27, 23, .12);
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.mobile-drawer.is-open { transform: translateX(0); }

.drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.drawer-title { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; color: var(--cherry); }
.close-drawer { font-size: 2rem; line-height: 1; width: 40px; height: 40px; }

.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }

.mobile-nav-link {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.mobile-nav-link:hover, .mobile-nav-link[aria-current="page"] { background: var(--cream-pink); color: var(--cherry); }

button.mobile-nav-link { width: 100%; text-align: left; }

.drawer-footer { margin-top: auto; }

/* --- 8. Hero (khối hồng, viền lượn sóng) --- */
.hero { padding: 12px 0 64px; }

.hero-card {
  background: var(--cherry);
  color: var(--cream-pink);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 56px 24px 64px;
  text-align: center;
  overflow: visible;
}

.hero-card > :not(.deco):not(.hero-pic) { position: relative; z-index: 2; }

.hero-script {
  display: block;
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-title { color: var(--cream-pink); }

.hero-sub {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  max-width: 640px;
  margin: 20px auto 0;
  line-height: 1.6;
  color: var(--cream-pink);
}

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

.hero-pic { position: absolute; z-index: 1; }

.hero-pic-left { width: 110px; height: 110px; left: 4%; top: 18%; transform: rotate(-8deg); }
.hero-pic-right { width: 130px; height: 130px; right: 5%; bottom: 14%; transform: rotate(7deg); }

.hero-deco-1 { width: 54px; height: 54px; right: 10%; top: 12%; }
.hero-deco-2 { width: 44px; height: 44px; left: 12%; bottom: 14%; }
.hero-deco-3 { width: 90px; height: 150px; left: -8px; bottom: -40px; }

@media (max-width: 899px) {
  .hero-pic { display: none; }
  .hero-deco-3 { display: none; }
  .hero-deco-1 { right: 6%; top: 6%; width: 40px; height: 40px; }
  .hero-deco-2 { left: 6%; bottom: 8%; width: 34px; height: 34px; }
}

@media (min-width: 900px) {
  .hero-card { padding: 84px 200px 92px; }
}

/* --- 9. Câu tuyên ngôn + vòng hoa --- */
.manifesto { text-align: center; padding-top: 40px; }

.manifesto-icon { width: 120px; height: 96px; margin: 0 auto 24px; }

.manifesto-title { max-width: 760px; margin: 0 auto; }

.manifesto-note {
  font-family: var(--font-script);
  font-style: italic;
  color: var(--muted);
  font-size: 1.0625rem;
  margin-top: 14px;
}

.garland {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(4px, 1.4vw, 18px);
  margin: 40px auto 0;
  max-width: 820px;
  flex-wrap: nowrap;
}

.garland svg { flex-shrink: 1; min-width: 0; }
.garland .g-sm { width: 30px; height: 30px; }
.garland .g-md { width: 44px; height: 44px; }
.garland .g-lg { width: 60px; height: 60px; }
.garland .g-sprig { width: 120px; height: 60px; }

@media (max-width: 599px) {
  .garland .g-sprig { width: 70px; height: 40px; }
  .garland .g-lg { width: 40px; height: 40px; }
}

/* --- 10. Thẻ sản phẩm trong khung hoa --- */
.pick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 18px;
}

@media (min-width: 900px) {
  .pick-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; }
}

.pick-card { text-align: center; position: relative; }

.soon-pill {
  position: absolute;
  top: 4px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%) rotate(-4deg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .75rem;
  line-height: 1;
  white-space: nowrap;
  padding: 6px 12px 4px;
  border-radius: var(--radius-pill);
  background: var(--cacao);
  color: var(--milk);
}

.pick-card .shape { aspect-ratio: 1 / 1; margin-bottom: 16px; transition: transform .4s var(--ease); }
.pick-card:hover .shape { transform: rotate(-3deg) scale(1.03); }

.pick-tag {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.pick-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3125rem;
  line-height: 1.15;
}

.pick-name.t-cherry { color: var(--cherry); }
.pick-name.t-sky { color: var(--sky); }
.pick-name.t-sun { color: #C99412; }
.pick-name.t-leaf { color: var(--leaf-dark); }

.pick-sub {
  font-family: var(--font-script);
  font-style: italic;
  font-size: .9375rem;
  color: var(--muted);
  margin-top: 4px;
}

.pick-link {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9375rem;
  color: var(--cherry);
  border-bottom: 2px solid var(--quartz);
}

.pick-link:hover { border-color: var(--cherry); }

.pick-more { text-align: center; margin-top: 40px; }
.soon-line { font-family: var(--font-script); font-style: italic; font-weight: 600; font-size: 1.5rem; color: var(--cherry); margin-bottom: 16px; }
.pick-note { text-align: center; margin-top: 14px; color: var(--muted); font-size: .875rem; }

.soon-tag {
  display: inline-block;
  vertical-align: 2px;
  margin-left: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .6875rem;
  line-height: 1;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: var(--sky-soft);
  color: #22618E;
}

/* --- 11. Ba điều Tiệm Ơi mang tới (USP) --- */
.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 900px) {
  .usp-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }
}

.usp-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  background: var(--white);
  border: 2px solid var(--usp-line, var(--quartz));
  overflow: hidden;
}

.usp-card.u-pink { --usp-line: var(--quartz); background: #FFF7F8; }
.usp-card.u-sky { --usp-line: #B9DCF2; background: #F4FAFE; }
.usp-card.u-leaf { --usp-line: #C5E6B2; background: #F6FBF2; }

.usp-icon { width: 64px; height: 64px; margin-bottom: 18px; }

.usp-num {
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: var(--usp-line);
}

.usp-title { font-family: var(--font-display); font-weight: 800; font-size: 1.625rem; line-height: 1.15; margin-bottom: 10px; }
.usp-title em { font-family: var(--font-script); font-style: italic; font-weight: 500; }

.usp-card p { color: var(--muted); font-size: .9875rem; }

.checklist { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }

.checklist li {
  position: relative;
  padding-left: 30px;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--cacao);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- 12. Khối xanh "Bộ sưu tập của mùa" --- */
.collection-card {
  background: var(--sky);
  border-radius: var(--radius-lg);
  padding: 44px 24px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .collection-card { grid-template-columns: 1fr 1.05fr; padding: 60px 56px; }
}

.collection-title { color: var(--white); }
.collection-title em { color: var(--sun-soft); }

.collection-intro { color: var(--white); font-size: 1.125rem; margin-top: 14px; max-width: 460px; }

.collection-list { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }

.collection-item {
  background: var(--milk);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.swatch-dots { display: flex; flex-shrink: 0; margin-top: 4px; }
.swatch-dots span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--milk); margin-left: -7px; }
.swatch-dots span:first-child { margin-left: 0; }

.collection-item h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.1875rem; line-height: 1.2; }
.collection-item p { font-size: .875rem; color: var(--muted); }

.collection-visual { position: relative; }
.collection-visual .shape-cloud { aspect-ratio: 5 / 4; }

.collection-mini { position: absolute; width: 96px; height: 96px; left: -14px; bottom: -18px; transform: rotate(-8deg); }

.collection-deco-1 { width: 56px; height: 56px; right: 18px; top: 14px; }
.collection-deco-2 { width: 40px; height: 40px; left: 46%; bottom: 18px; }

@media (max-width: 899px) {
  .collection-deco-1, .collection-deco-2 { display: none; }
}

/* --- 13. Thử trước khi nhập --- */
.try-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .try-card { grid-template-columns: .85fr 1.15fr; gap: 64px; }
}

.try-card .shape-arch { aspect-ratio: 4 / 5; max-width: 380px; margin: 0 auto; }

.try-list { margin: 20px 0 28px; display: flex; flex-direction: column; gap: 12px; }

.try-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 1rem;
}

.try-list svg { width: 26px; height: 26px; flex-shrink: 0; margin-top: 1px; }

/* --- 14. Danh mục (khung vòm) --- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 16px;
}

@media (min-width: 900px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 26px; }
}

.cat-card { text-align: center; display: block; }
.cat-card .shape-arch { aspect-ratio: 3 / 4; margin-bottom: 14px; transition: transform .4s var(--ease); }
.cat-card:hover .shape-arch { transform: translateY(-6px); }
.cat-name { font-family: var(--font-display); font-weight: 800; font-size: 1.1875rem; line-height: 1.2; }
.cat-sub { font-family: var(--font-script); font-style: italic; color: var(--muted); font-size: .9375rem; }

/* --- 15. "Tiệm Ơi là nơi…" --- */
.place { overflow: hidden; }

.place-inner { position: relative; max-width: 760px; margin: 0 auto; text-align: center; }

.place-text {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 30px;
  text-align: left;
  font-family: var(--font-script);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--muted);
}

@media (min-width: 768px) {
  .place-text { grid-template-columns: 1fr 1fr; gap: 28px; }
}

.place-pic { position: absolute; width: 96px; height: 96px; }
.place-pic-1 { left: -150px; top: 30px; transform: rotate(-10deg); }
.place-pic-2 { right: -150px; top: 140px; transform: rotate(8deg); }
.place-deco-1 { width: 70px; height: 120px; right: -110px; top: -10px; }
.place-deco-2 { width: 60px; height: 100px; left: -100px; bottom: -20px; }

@media (max-width: 1099px) {
  .place-pic, .place-inner .deco { display: none; }
}

.place-cta { margin-top: 30px; }

/* --- 16. Form xin bảng màu --- */
.subscribe-card {
  background: var(--white);
  border: 2px dashed var(--quartz);
  border-radius: var(--radius-lg);
  padding: 44px 24px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

@media (min-width: 900px) {
  .subscribe-card { padding: 56px 56px; }
}

.subscribe-deco-1 { width: 56px; height: 56px; left: -18px; top: -22px; }
.subscribe-deco-2 { width: 46px; height: 46px; right: -12px; bottom: -16px; }

.subscribe-form { margin-top: 28px; }

.form-row-flex { display: flex; flex-direction: column; gap: 12px; }

@media (min-width: 768px) {
  .form-row-flex { flex-direction: row; }
}

.sub-input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 1rem;
  padding: 15px 20px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--line);
  background: var(--milk);
  color: var(--cacao);
}

.sub-input:focus { outline: none; border-color: var(--cherry); background: var(--white); }

.sub-privacy { font-size: .8125rem; color: var(--light); margin-top: 14px; }

.form-success-state { display: none; padding: 20px 0 0; }
.form-success-state.is-visible { display: block; }

.success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success-state h4 { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }
.form-success-state p { color: var(--muted); }

/* --- 17. Chân trang --- */
.site-footer { margin-top: 48px; }

.footer-band {
  background: var(--cherry);
  color: var(--cream-pink);
  padding: 56px 0 48px;
}

.footer-band-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .footer-band-inner { grid-template-columns: 1.2fr 1fr; }
}

.footer-big {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.05;
}

.footer-big strong { font-family: var(--font-display); font-style: normal; font-weight: 800; }

.stickers { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.sticker {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  padding: 18px 26px 16px;
  border-radius: 28px 34px 30px 26px / 30px 26px 34px 28px;
  transition: transform .3s var(--ease);
}

.sticker:nth-child(1) { background: var(--leaf); color: var(--cacao); transform: rotate(-6deg); }
.sticker:nth-child(2) { background: var(--sky); color: var(--white); transform: rotate(5deg); }
.sticker:nth-child(3) { background: var(--sun); color: var(--cacao); transform: rotate(-3deg); }
.sticker:hover { transform: rotate(0) scale(1.06); }

.footer-bottom { padding: 40px 0 28px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 992px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

.footer-logo-img { height: 44px; width: auto; border-radius: 10px; margin-bottom: 12px; }
.footer-slogan { font-family: var(--font-script); font-style: italic; font-size: 1.125rem; color: var(--cherry); }
.footer-desc { font-size: .875rem; color: var(--muted); margin-top: 6px; }

.footer-title { font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem; margin-bottom: 10px; }
.footer-links-col ul { display: flex; flex-direction: column; gap: 6px; }
.footer-links-col a, .footer-contact-col p { font-size: .9rem; color: var(--muted); }
.footer-links-col a:hover, .footer-link-btn:hover { color: var(--cherry); }
.footer-link-btn { font-size: .9rem; color: var(--muted); text-align: left; padding: 0; }
.footer-note { font-style: italic; }
.footer-contact-col p { margin-bottom: 6px; }
.footer-contact-col strong { color: var(--cacao); }

.footer-copy {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .8125rem;
  color: var(--light);
  text-align: center;
}

/* --- 18. Thanh đáy điện thoại --- */
.mobile-sticky-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  background: rgba(251, 245, 238, .97);
  border-top: 1px solid var(--line);
}

@media (min-width: 992px) {
  .mobile-sticky-bottom { display: none; }
}

.bottom-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .75rem;
  padding: 6px 2px;
  border-radius: var(--radius-sm);
  color: var(--cacao);
}

.bottom-action-btn.is-current { color: var(--cherry); background: var(--cream-pink); }
.bottom-action-btn.primary-cta { background: var(--cherry); color: var(--white); }
button.bottom-action-btn { width: 100%; }

/* --- 19. Toast --- */
.toast-notification {
  position: fixed;
  left: 50%;
  bottom: 92px;
  transform: translate(-50%, 120px);
  opacity: 0;
  visibility: hidden;
  background: var(--cacao);
  color: var(--milk);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: .875rem;
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 2000;
  transition: all .35s var(--ease);
  max-width: calc(100vw - 32px);
}

.toast-notification.is-active { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast-icon { color: var(--leaf); font-weight: 700; }

@media (min-width: 992px) {
  .toast-notification { bottom: 30px; }
}

/* ==========================================================================
   TRANG VỀ TIỆM ƠI (/ve-tiem-oi)
   ========================================================================== */
.about-hero .hero-card { padding-bottom: 72px; }

.story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .story { grid-template-columns: .9fr 1.1fr; gap: 72px; }
}

.story-visual { position: relative; max-width: 420px; margin: 0 auto; width: 100%; }
.story-visual .shape-flower { aspect-ratio: 1 / 1; }
.story-mini { position: absolute; width: 110px; height: 110px; right: -10px; bottom: -20px; transform: rotate(8deg); }
.story-deco { width: 60px; height: 100px; left: -10px; top: -30px; }

.story-text p { font-size: 1.0625rem; color: var(--muted); margin-top: 14px; }
.story-text p.story-lead { font-size: 1.25rem; color: var(--cacao); font-weight: 500; }

.pullquote {
  font-family: var(--font-script);
  font-style: italic;
  font-size: clamp(1.375rem, 2.6vw, 1.75rem);
  line-height: 1.4;
  color: var(--cherry);
  margin-top: 26px;
  padding-left: 22px;
  border-left: 4px solid var(--quartz);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 600px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .values-grid { grid-template-columns: repeat(4, 1fr); }
}

.value-card {
  border-radius: 40px 40px 40px 12px;
  padding: 30px 24px;
  transition: transform .35s var(--ease);
}

.value-card:hover { transform: translateY(-6px) rotate(-1deg); }
.value-card:nth-child(1) { background: #FFE7EC; }
.value-card:nth-child(2) { background: var(--sun-soft); }
.value-card:nth-child(3) { background: var(--sky-soft); }
.value-card:nth-child(4) { background: var(--leaf-soft); }

.value-card svg { width: 48px; height: 48px; margin-bottom: 14px; }
.value-title { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; line-height: 1.2; margin-bottom: 8px; }
.value-card p { font-size: .9375rem; color: var(--muted); }

.steps-band { background: var(--cream-pink); }

.steps-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  position: relative;
}

@media (min-width: 900px) {
  .steps-list { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .steps-list::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 12.5%;
    right: 12.5%;
    border-top: 3px dotted var(--quartz);
  }
}

.step { position: relative; padding-left: 76px; }

@media (min-width: 900px) {
  .step { padding-left: 0; text-align: center; }
}

.step-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--cacao);
  clip-path: url(#clip-flower);
}

.step:nth-child(1) .step-dot { background: var(--quartz); }
.step:nth-child(2) .step-dot { background: var(--sun); }
.step:nth-child(3) .step-dot { background: #9ACFF0; }
.step:nth-child(4) .step-dot { background: #A9DA8C; }

@media (min-width: 900px) {
  .step-dot { position: relative; margin: 0 auto 16px; }
}

.step-title { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; margin-bottom: 4px; }
.step p { font-size: .9375rem; color: var(--muted); }

.steps-close { text-align: center; font-family: var(--font-script); font-style: italic; font-size: 1.375rem; color: var(--cherry); margin-top: 40px; }

.name-card {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 900px) {
  .name-card { grid-template-columns: .8fr 1.2fr; }
}

.name-logo {
  background: var(--cherry);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  position: relative;
}

.name-logo img { width: min(260px, 76%); border-radius: 18px; position: relative; z-index: 2; }
.name-logo .deco { width: 46px; height: 46px; }
.name-deco-1 { left: 10%; top: 12%; }
.name-deco-2 { right: 10%; bottom: 12%; }

.name-text { padding: 36px 26px; }

@media (min-width: 900px) {
  .name-text { padding: 56px 52px; }
}

.name-text p { color: var(--muted); margin-top: 12px; }
.name-tagline { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--cherry) !important; line-height: 1.2; }

.letter-paper {
  max-width: 720px;
  margin: 0 auto;
  background-color: #FFFDFB;
  background-image: repeating-linear-gradient(180deg, transparent 0, transparent 33px, rgba(244, 201, 207, .5) 33px, rgba(244, 201, 207, .5) 34px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 44px 28px;
  transform: rotate(-.8deg);
  position: relative;
}

@media (min-width: 768px) {
  .letter-paper { padding: 60px 68px; }
}

.letter-paper p { font-size: 1.0625rem; line-height: 2; margin-bottom: 16px; }
.letter-greet, .letter-sign { font-family: var(--font-script); font-style: italic; font-size: 1.375rem !important; }
.letter-sign { text-align: right; color: var(--cherry); font-weight: 600; margin: 24px 0 0 !important; }
.letter-deco { width: 64px; height: 64px; right: -20px; top: -26px; }

@media (max-width: 767px) {
  .letter-deco { right: 8px; width: 48px; height: 48px; }
}

.cta-card {
  background: var(--sun-soft);
  border-radius: var(--radius-lg);
  padding: 52px 24px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.cta-card p { font-size: 1.0625rem; color: var(--muted); max-width: 520px; margin: 12px auto 26px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-deco-1 { width: 56px; height: 56px; left: 6%; top: -22px; }
.cta-deco-2 { width: 50px; height: 90px; right: 5%; bottom: -10px; }

.about-breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--cream-pink);
  margin-bottom: 18px;
}

.about-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   POP-UP HỢP TÁC
   ========================================================================== */
.partner-dialog {
  border: none;
  padding: 0;
  margin: auto;
  width: calc(100% - 32px);
  max-width: 520px;
  max-height: calc(100dvh - 32px);
  border-radius: var(--radius-lg);
  background: var(--milk);
  color: var(--cacao);
  box-shadow: 0 30px 80px rgba(46, 27, 23, .3);
  overflow-y: auto;
  overflow-x: hidden;
}

.partner-dialog::backdrop { background: rgba(46, 27, 23, .5); }

.partner-dialog[open] { animation: partner-in .35s var(--ease); }

@keyframes partner-in {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .partner-dialog[open] { animation: none; }
}

.partner-head {
  background: var(--cherry);
  color: var(--cream-pink);
  padding: 30px 24px 26px;
  text-align: center;
  margin-bottom: 24px;
}

.partner-kicker {
  display: block;
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1.125rem;
}

.partner-title { font-size: clamp(1.625rem, 6vw, 2.125rem); color: var(--cream-pink); margin-top: 2px; }

.partner-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.625rem;
  line-height: 1;
  color: var(--cream-pink);
  background: rgba(255, 244, 242, .16);
}

.partner-close:hover { background: rgba(255, 244, 242, .3); }

.partner-body { padding: 14px 24px 28px; }

@media (min-width: 600px) {
  .partner-body { padding: 14px 36px 32px; }
}

.partner-intro { font-size: .9375rem; color: var(--muted); margin-bottom: 18px; }

.field { margin-bottom: 14px; }

.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.field label span[aria-hidden] { color: var(--cherry); }
.field-optional { font-family: var(--font-body); font-weight: 400; font-size: .8125rem; color: var(--light); }

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--cacao);
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 12px 16px;
  transition: border-color .2s var(--ease);
}

.field textarea { resize: vertical; min-height: 88px; }

.field input:focus,
.field textarea:focus { outline: none; border-color: var(--cherry); }

.field .is-invalid { border-color: #C62828; background: #FFF6F6; }

.field-hint { font-size: .8125rem; color: var(--light); margin-top: 6px; }
.field-msg { font-size: .8125rem; color: #C62828; margin-top: 4px; }
.field-msg:empty { display: none; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .875rem;
  color: var(--muted);
  margin-top: 6px;
  cursor: pointer;
}

.consent input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--cherry);
}

.form-msg { font-size: .875rem; color: #C62828; margin: 12px 0 0; }
.form-msg:empty { display: none; }

#partnerSubmit { margin-top: 18px; }
#partnerSubmit:disabled { opacity: .6; cursor: wait; transform: none; }

.partner-success { text-align: center; padding: 8px 0 4px; }
.partner-success-title { font-size: 1.625rem; margin-bottom: 8px; }
.partner-success p { color: var(--muted); margin-bottom: 20px; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   TRANG SẮP RA MẮT (/san-pham, /bo-suu-tap)
   ========================================================================== */
.soon { padding-bottom: 24px; }

.soon-card { padding-top: 48px; }

.soon-title { color: var(--cream-pink); max-width: 760px; margin: 0 auto; }
.soon-title em { color: var(--quartz); }

.soon-dots { display: flex; justify-content: center; gap: 10px; margin: 22px 0 4px; }
.soon-dots svg { width: 26px; height: 26px; animation: soon-bounce 1.4s ease-in-out infinite; }
.soon-dots svg:nth-child(2) { animation-delay: .18s; }
.soon-dots svg:nth-child(3) { animation-delay: .36s; }

@keyframes soon-bounce {
  0%, 100% { transform: translateY(0) rotate(0); }
  40% { transform: translateY(-10px) rotate(25deg); }
}

@media (prefers-reduced-motion: reduce) {
  .soon-dots svg { animation: none; }
}

.soon-promise {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  color: var(--cream-pink);
  margin-top: 6px;
}

.soon-garland { margin-top: 64px; }
