/* Delingoo: one header, footer and button style on every page, matching the home page (Toàn, 22/10).
   Added by tools/polish/polish.py. Only dlg-* classes, so the home page's own rules are untouched. */
.dlg-wrap { max-width: 1320px; margin: 0 auto; padding: 0 40px; box-sizing: border-box; }
.dlg-eyebrow { font: 600 12px/1.2 'Manrope', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #7A6E66; margin: 0 0 18px; }

/* top bar */
.dlg-util { background: #1E1915; color: #D9D2CB; font: 400 12.5px/1 'Manrope', sans-serif; }
.dlg-util .dlg-wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 16px; }
.dlg-util nav { display: flex; gap: 24px; }
.dlg-util a { color: #D9D2CB; text-decoration: none; }
.dlg-util a:hover { color: #FFFFFF; }

/* header */
header.dlg-head { position: sticky; top: 0; z-index: 100; background: #FFFFFF; border-bottom: 1px solid #E7E1DA; font-family: 'Manrope', sans-serif; }
.dlg-head .dlg-wrap { display: grid; grid-template-columns: 200px 1fr 200px; gap: 20px; align-items: center; height: 84px; }
.dlg-logo img { height: 40px; width: auto; display: block; }
.dlg-head nav { display: flex; justify-content: center; gap: 34px; font: 500 14px 'Manrope', sans-serif; white-space: nowrap; }
.dlg-head nav a { color: #2B211B; text-decoration: none; }
.dlg-head nav a:hover { color: #F15A24; }
.dlg-head .dlg-cta { justify-self: end; height: 42px; padding: 0 20px; }

/* buttons: same as the home page */
.dlg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; box-sizing: border-box;
  font: 600 12.5px/1.2 'Manrope', sans-serif; letter-spacing: .16em; text-transform: uppercase; text-align: center;
  border: 1px solid #2B211B; border-radius: 0; text-decoration: none; transition: .2s; cursor: pointer; }
.dlg-btn-dark { background: #2B211B; color: #FFFFFF !important; }
.dlg-btn-dark:hover { background: #000000; }
.dlg-btn-line { background: transparent; color: #2B211B !important; }
.dlg-btn-line:hover { background: #2B211B; color: #FFFFFF !important; }
.dlg-link { font: 600 12.5px 'Manrope', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #2B211B;
  border-bottom: 1px solid currentColor; padding-bottom: 4px; text-decoration: none; }

/* footer */
footer.dlg-foot { background: #1E1915; color: #CFC6BE; font: 400 14px/1.65 'Manrope', sans-serif; margin-top: 110px; }
.dlg-fcols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.5fr; gap: 40px; padding: 70px 0 50px; }
.dlg-fcols p { margin: 0; max-width: 260px; }
.dlg-flogo { height: 40px; width: auto; margin-bottom: 18px; display: block; }
.dlg-fcols h4 { color: #FFFFFF; font: 600 12px 'Manrope', sans-serif; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 18px; }
.dlg-fcols a { display: block; margin-bottom: 10px; color: #CFC6BE; text-decoration: none; }
.dlg-fcols a:hover { color: #FFFFFF; }
.dlg-fcols b { color: #FFFFFF; font-weight: 600; display: block; margin-top: 14px; }
.dlg-fcols b.dlg-first { margin-top: 0; }
.dlg-legal { border-top: 1px solid #3A322C; padding: 22px 0; font-size: 12.5px; display: flex; justify-content: space-between; }

/* projects page (du-an-va-khach-hang.html) */
.dlg-cases { padding: 110px 0 40px; border-top: 1px solid #E7E1DA; }
.dlg-case { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 28px; }
.dlg-case + .dlg-case { margin-top: 88px; }
.dlg-case-flip .dlg-case-pic { order: 2; }
.dlg-case-pic { aspect-ratio: 4 / 3; background: #EFEBE6; overflow: hidden; }
.dlg-case-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dlg-case-pack img { object-fit: contain; padding: 8% 0; box-sizing: border-box; }
.dlg-case-txt h3 { font: 500 clamp(26px, 2.4vw, 34px)/1.15 'DlgHead', 'Manrope', sans-serif; color: #2B211B; margin: 0 0 16px; text-wrap: balance; }
.dlg-case-txt p { color: #5E534B; margin: 0 0 18px; font-size: 16px; line-height: 1.65; }
.dlg-case-txt ul { list-style: none; padding: 0; margin: 0 0 30px; }
.dlg-case-txt li { padding: 11px 0; border-top: 1px solid #E7E1DA; font-size: 15px; color: #2B211B; }
.dlg-steps { padding: 100px 0 110px; }
.dlg-steps h2 { font: 500 clamp(28px, 3vw, 42px)/1.15 'DlgHead', 'Manrope', sans-serif; color: #2B211B; margin: 0 0 40px; }
.dlg-steps ol { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 0; margin: 0; }
.dlg-steps li { counter-increment: s; border-top: 2px solid #2B211B; padding-top: 18px; color: #5E534B; font-size: 15px; line-height: 1.6; }
.dlg-steps li::before { content: '0' counter(s); display: block; font: 600 12px 'Manrope', sans-serif; letter-spacing: .16em; color: #7A6E66; margin-bottom: 10px; }
.dlg-steps li b { display: block; color: #2B211B; font: 500 20px/1.3 'DlgHead', 'Manrope', sans-serif; margin-bottom: 8px; }

/* things waiting for a photo or for content */
.dlg-nophoto, .dlg-hide { display: none !important; }

/* Zalo + call, always within reach */
.dlg-fab { position: fixed; right: 20px; bottom: 20px; z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.dlg-fab a { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.18); text-decoration: none; font: 700 12px 'Manrope', sans-serif; }
.dlg-fab .dlg-fab-zalo { background: #0068FF; color: #FFFFFF; }
.dlg-fab .dlg-fab-call { background: #2B211B; color: #FFFFFF; }
.dlg-fab svg { width: 22px; height: 22px; fill: currentColor; }
.dlg-fab .dlg-fab-quote { display: none; }

@media (max-width: 1200px) {
  .dlg-head .dlg-wrap { grid-template-columns: auto 1fr auto; }
  .dlg-head nav { gap: 20px; font-size: 13.5px; }
}
@media (max-width: 1023px) {
  .dlg-wrap { padding: 0 20px; }
  .dlg-util .dlg-hide-m { display: none; }
  .dlg-util .dlg-wrap { justify-content: center; }
  .dlg-head .dlg-wrap { grid-template-columns: minmax(0, 1fr) auto; height: auto; padding-top: 12px; padding-bottom: 0; }
  .dlg-head nav { grid-column: 1 / -1; order: 3; min-width: 0; max-width: 100%; justify-content: flex-start; overflow-x: auto;
    padding: 12px 0; gap: 22px; scrollbar-width: none; }
  .dlg-head nav::-webkit-scrollbar { display: none; }
  .dlg-logo img { height: 34px; }
  .dlg-fcols { grid-template-columns: 1fr 1fr; }
  .dlg-fcols > :first-child, .dlg-fcols > :last-child { grid-column: 1 / -1; }
  .dlg-legal { flex-direction: column; gap: 8px; }
  .dlg-cases { padding: 64px 0 20px; }
  .dlg-case { grid-template-columns: 1fr; gap: 26px; }
  .dlg-case-flip .dlg-case-pic { order: 0; }
  .dlg-case + .dlg-case { margin-top: 56px; }
  .dlg-steps { padding: 64px 0 72px; }
  .dlg-steps ol { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  footer.dlg-foot { margin-top: 72px; }
}
@media (max-width: 767px) {
  /* phones: a bar at the bottom instead of round buttons */
  .dlg-fab { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; background: #FFFFFF; border-top: 1px solid #E7E1DA;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
  .dlg-fab a { flex: 1; width: auto; height: 44px; border-radius: 0; box-shadow: none; gap: 8px; font-size: 12px;
    letter-spacing: .08em; text-transform: uppercase; margin: 0 4px; }
  .dlg-fab .dlg-fab-quote { display: flex; background: #F15A24; color: #FFFFFF; }
  .dlg-fab svg { width: 18px; height: 18px; }
  body { padding-bottom: 64px; }
  .dlg-steps ol { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .dlg-fcols { grid-template-columns: 1fr; }
  .dlg-util nav { gap: 18px; }
}
.dlg-fab a span { display: none; }
.dlg-fab .dlg-fab-zalo b { font: 800 13px 'Manrope', sans-serif; letter-spacing: 0; text-transform: none; }
@media (max-width: 767px) { .dlg-fab a span { display: inline; } }

/* 11/11 (Toàn): toolkit posters shown whole, not shrunk inside a grey box */
div:has(> img[src*="toolkit-0"]) { height: auto !important; background: none !important; display: block !important; }
img[src*="toolkit-0"] { width: 100% !important; height: auto !important; max-width: 560px; margin: 0 auto; display: block; }

/* 11/11 (Toàn): no floating Zalo / call / quote bar, it covered the page */
.dlg-fab { display: none !important; }
@media (max-width: 767px) { body { padding-bottom: 0 !important; } }

/* 11/11 (Toàn): phone menu = logo left, burger right, vertical list when opened (like samplecoffee.com.au) */
.dlg-burger { display: none; }
.dlg-nav-cta { display: none; }
@media (max-width: 1023px) {
  header.dlg-head .dlg-wrap, header.main .wrap { display: flex !important; flex-wrap: wrap !important; align-items: center !important;
    justify-content: space-between !important; height: auto !important; padding-top: 14px !important; padding-bottom: 14px !important; }
  header.dlg-head .dlg-cta, header.main .cta { display: none !important; }
  .dlg-burger { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; margin-right: -8px;
    padding: 0 8px; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .dlg-burger span { display: block; height: 2px; width: 28px; background: #2B211B; border-radius: 2px; transition: transform .2s, opacity .2s; }
  header.dlg-open .dlg-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  header.dlg-open .dlg-burger span:nth-child(2) { opacity: 0; }
  header.dlg-open .dlg-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  header.dlg-head nav, header.main nav { display: none !important; order: 3; flex-basis: 100% !important; width: 100% !important; }
  header.dlg-open nav { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 0 !important;
    overflow: visible !important; white-space: normal !important; padding: 8px 0 6px !important; font-size: 18px !important; }
  header.dlg-open nav a { padding: 13px 0 !important; border-top: 1px solid #EFE8E1; text-decoration: none !important; }
  header.dlg-open nav a.m-here { color: #F15A24 !important; font-weight: 600 !important; }
  header.dlg-open .dlg-nav-cta { display: flex !important; justify-content: center; margin-top: 12px; padding: 15px 0 !important; border: 0 !important;
    background: #2B211B; color: #FFFFFF !important; font: 600 13px 'Manrope', sans-serif !important; letter-spacing: .16em; text-transform: uppercase; }
}
