/* ══ Tiệm Bánh Ngọt — La Douceur Patisserie — Shared Styles ══
   Màu accent: Pink #db2777 — sweet, feminine, artisan
   Để đổi màu: sửa --accent, --accent-h, --accent-light trong :root
*/
:root {
  --bg: #fdf7f9;           /* Nền tổng thể — pale pink off-white */
  --surface: #fff;          /* Card, panel, nav */
  --dark: #12090d;          /* Footer background */
  --dark2: #1e1018;         /* Dark section */
  --border: #f0d8e5;        /* Border mặc định — blush pink */
  --border-light: #f8ecf2;  /* Divider nhẹ */
  --text: #1a0d12;          /* Text chính */
  --text-2: #805060;        /* Text phụ */
  --text-3: #b08090;        /* Text mờ */
  --accent: #db2777;        /* Pink chính — CTA */
  --accent-h: #be185d;      /* Hover */
  --accent-light: #fce7f3;  /* Background nhạt */
  --accent-mid: #ec4899;    /* Trung gian */
  --warm: #fdf0f5;          /* Background ấm */
  --warm2: #f8e0ec;         /* Background ấm đậm */
  --danger: #e24b4a;
  --sans: 'DM Sans', sans-serif;
  --bs-body-font-family: var(--sans);
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text);
  --bs-border-color: var(--border);
}

/* ── Reset & Base ── */
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--warm2); border-radius: 4px; }
img { display: block; }
a { text-decoration: none; }

/* ── Layout ── */
.wd-container { max-width: 1100px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px); }
.sec-pad { padding: clamp(72px, 10vw, 128px) 0; }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .40s; }

/* ── Section header ── */
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 500; color: var(--accent); text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 14px; }
.eyebrow::before, .eyebrow::after { content: ''; width: 16px; height: 1px; background: var(--accent); }
.sec-title { font-size: clamp(26px, 3.8vw, 44px); font-weight: 600; color: var(--text); line-height: 1.1; letter-spacing: -.8px; margin-bottom: 14px; }
.sec-title em { color: var(--accent); font-style: italic; font-weight: 300; }
.sec-sub { font-size: 15px; font-weight: 300; color: var(--text-2); line-height: 1.75; max-width: 520px; margin: 0 auto; }
.sec-dark .sec-title { color: #fff; }
.sec-dark .sec-sub { color: rgba(255,255,255,.38); }
.sec-dark .eyebrow { color: #f9a8d4; }
.sec-dark .eyebrow::before, .sec-dark .eyebrow::after { background: #f9a8d4; }

/* ── Navigation — SOLID ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(253,247,249,.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all .3s;
}
.nav-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 17px; font-weight: 600; color: var(--text); letter-spacing: -.4px; display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 13.5px; color: var(--text-2); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta { font-size: 13px; font-weight: 500; background: var(--accent); color: #fff; padding: 9px 22px; border-radius: 20px; border: none; cursor: pointer; transition: all .2s; font-family: var(--sans); }
.nav-cta:hover { background: var(--accent-h); color: #fff; transform: translateY(-1px); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border: none; background: transparent; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text-2); border-radius: 2px; transition: all .3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile { position: fixed; inset: 0; background: rgba(253,247,249,.98); backdrop-filter: blur(12px); z-index: 490; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.nav-mobile.open { opacity: 1; pointer-events: auto; }
.nav-mobile a { font-size: 22px; font-weight: 500; color: var(--text-2); transition: color .2s; }
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile .nm-cta { font-size: 15px; background: var(--accent); color: #fff; padding: 13px 36px; border-radius: 20px; margin-top: 8px; }
@media (max-width: 768px) { .nav-links, .nav-cta { display: none; } .nav-hamburger { display: flex; } }

/* ── Page hero (sub-pages) ── */
.page-hero { padding: calc(64px + clamp(48px,6vw,80px)) 0 clamp(48px,6vw,72px); background: var(--dark2); text-align: center; }
.ph-eyebrow { font-size: 11px; font-weight: 500; color: #f9a8d4; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.ph-title { font-size: clamp(32px,4.5vw,58px); font-weight: 600; color: #fff; line-height: 1.1; letter-spacing: -1px; margin-bottom: 14px; }
.ph-title em { color: #f9a8d4; font-style: italic; font-weight: 300; }
.ph-sub { font-size: clamp(14px,1.4vw,17px); font-weight: 300; color: rgba(255,255,255,.45); max-width: 500px; margin: 0 auto; }

/* ── Buttons ── */
.btn-accent { font-size: 14px; font-weight: 500; background: var(--accent); color: #fff; padding: 12px 26px; border-radius: 20px; border: none; cursor: pointer; font-family: var(--sans); transition: all .2s; display: inline-block; }
.btn-accent:hover { background: var(--accent-h); transform: translateY(-1px); color: #fff; }
.btn-ghost { font-size: 14px; font-weight: 400; background: transparent; color: var(--text-2); padding: 12px 26px; border-radius: 20px; border: 1px solid var(--border); cursor: pointer; font-family: var(--sans); transition: all .2s; display: inline-block; }
.btn-ghost:hover { background: var(--warm); color: var(--text); border-color: var(--accent-mid); }
.btn-dark { font-size: 14px; font-weight: 500; background: var(--dark); color: #fff; padding: 12px 26px; border-radius: 20px; border: none; cursor: pointer; font-family: var(--sans); transition: all .2s; display: inline-block; }
.btn-dark:hover { background: #2a1020; transform: translateY(-1px); color: #fff; }
.btn-outline-light { font-size: 14px; font-weight: 400; background: transparent; color: rgba(255,255,255,.7); padding: 12px 26px; border-radius: 20px; border: 1px solid rgba(255,255,255,.2); cursor: pointer; font-family: var(--sans); transition: all .2s; display: inline-block; }
.btn-outline-light:hover { border-color: rgba(255,255,255,.5); color: #fff; }

/* ── Hero product grid ── */
.hero-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
  height: clamp(360px,48vh,540px);
}
.hpg-img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 10px;
  transition: transform .5s ease;
}
.hpg-item { overflow: hidden; border-radius: 10px; position: relative; cursor: pointer; }
.hpg-item:hover .hpg-img { transform: scale(1.06); }
.hpg-item:first-child { grid-row: span 2; }
.hpg-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 500; padding: 3px 10px;
  border-radius: 20px; text-transform: uppercase; letter-spacing: .5px;
}

/* ── Product card (square) ── */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s, border-color .28s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 44px rgba(219,39,119,.09); border-color: var(--border-light); }
.product-card:hover .pc-img { transform: scale(1.05); }
.pc-img-wrap { overflow: hidden; aspect-ratio: 1/1; }
.pc-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.pc-body { padding: 16px 18px; }
.pc-tag { display: inline-block; font-size: 10px; font-weight: 500; padding: 3px 10px; border-radius: 20px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.pc-tag.bestseller { background: #fce7f3; color: var(--accent); }
.pc-tag.new { background: #f0fdf4; color: #16a34a; }
.pc-tag.seasonal { background: #fff7ed; color: #c2410c; }
.pc-name { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; letter-spacing: -.3px; }
.pc-desc { font-size: 12.5px; font-weight: 300; color: var(--text-2); line-height: 1.6; margin-bottom: 12px; }
.pc-price { font-size: 16px; font-weight: 600; color: var(--accent); }
.pc-price-old { font-size: 12px; text-decoration: line-through; color: var(--text-3); margin-left: 6px; }

/* ── Custom cake steps ── */
.custom-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: all .25s;
  position: relative;
}
.custom-step:hover { box-shadow: 0 12px 36px rgba(219,39,119,.08); transform: translateY(-4px); }
.cs-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 16px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.cs-icon { font-size: 24px; margin-bottom: 10px; }
.cs-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.cs-desc { font-size: 13px; font-weight: 300; color: var(--text-2); line-height: 1.7; }

/* ── Gallery (masonry-style) ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 10px;
}
.gg-item { overflow: hidden; border-radius: 10px; }
.gg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.gg-item:hover img { transform: scale(1.05); }
.gg-1 { grid-column: span 5; height: 260px; }
.gg-2 { grid-column: span 4; height: 260px; }
.gg-3 { grid-column: span 3; height: 260px; }
.gg-4 { grid-column: span 6; height: 220px; }
.gg-5 { grid-column: span 6; height: 220px; }
@media(max-width:768px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gg-1,.gg-2,.gg-3,.gg-4,.gg-5 { grid-column: span 1; height: 160px; }
}

/* ── Flavor cards ── */
.flavor-card {
  border-radius: 12px;
  padding: 24px 22px;
  transition: all .25s;
}
.flavor-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.07); }
.fc-icon { font-size: 28px; margin-bottom: 12px; }
.fc-name { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; letter-spacing: -.3px; }
.fc-ingredients { font-size: 12.5px; font-weight: 300; color: var(--text-2); line-height: 1.7; }

/* ── Cute reviews ── */
.cute-review {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  position: relative;
}
.cute-review::before {
  content: '♥';
  position: absolute; top: 16px; right: 20px;
  font-size: 18px; color: var(--accent-light);
}
.cr-stars { color: #f59e0b; font-size: 13px; letter-spacing: 2px; margin-bottom: 12px; }
.cr-text { font-size: 13.5px; font-weight: 300; color: var(--text-2); line-height: 1.75; margin-bottom: 18px; font-style: italic; }
.cr-foot { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border-light); }
.cr-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.cr-name { font-size: 13px; font-weight: 500; color: var(--text); }
.cr-info { font-size: 11.5px; color: var(--text-3); }
.cr-emoji { font-size: 16px; margin-left: auto; }

/* ── Form ── */
.form-label { font-size: 12px; font-weight: 500; color: var(--text-2); margin-bottom: 5px; display: block; }
.form-control, .form-select {
  font-family: var(--sans); font-size: 14px; font-weight: 300; color: var(--text);
  border: 1px solid var(--border); border-radius: 8px; padding: .55rem .8rem;
  transition: border-color .15s; background: var(--surface);
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(219,39,119,.08); outline: none; color: var(--text);
}

/* ── Footer ── */
footer { background: var(--dark); }
.ft-logo { font-size: 18px; font-weight: 600; color: #fff; letter-spacing: -.4px; margin-bottom: 12px; }
.ft-logo span { color: var(--accent-mid); }
.ft-desc { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.35); line-height: 1.7; max-width: 240px; margin-bottom: 20px; }
.ft-socials { display: flex; gap: 8px; }
.ft-soc { width: 33px; height: 33px; border-radius: 50%; border: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.35); display: flex; align-items: center; justify-content: center; font-size: 12px; cursor: pointer; transition: all .15s; text-decoration: none; }
.ft-soc:hover { border-color: rgba(255,255,255,.28); color: rgba(255,255,255,.8); }
.ft-col-title { font-size: 11px; font-weight: 500; color: rgba(255,255,255,.25); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.ft-links { display: flex; flex-direction: column; gap: 9px; }
.ft-links a { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.38); transition: color .15s; }
.ft-links a:hover { color: rgba(255,255,255,.75); }
.ft-bottom { border-top: 1px solid rgba(255,255,255,.05); }
.ft-copy { font-size: 12px; color: rgba(255,255,255,.18); }

/* ── Zalo float ── */
.zf { position: fixed; bottom: 24px; right: 24px; z-index: 400; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.zf-btn { width: 48px; height: 48px; border-radius: 50%; background: #0068FF; border: none; color: #fff; font-size: 20px; cursor: pointer; box-shadow: 0 4px 16px rgba(0,104,255,.35); transition: transform .2s; display: flex; align-items: center; justify-content: center; }
.zf-btn:hover { transform: scale(1.08); }
.zf-tip { font-size: 11.5px; background: var(--dark); color: rgba(255,255,255,.7); padding: 5px 10px; border-radius: 6px; opacity: 0; transform: translateX(8px); transition: all .2s; pointer-events: none; white-space: nowrap; }
.zf:hover .zf-tip { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 991px) {
  .hero-product-grid { grid-template-columns: repeat(2, 1fr); }
  .hpg-item:first-child { grid-row: span 1; }
}
@media (max-width: 576px) {
  .hero-product-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 120px); }
  .hpg-item:first-child { grid-row: span 1; }
}
