/*
 * AD MASSAGE homepage "Vé giảm giá" (pair of admassage-tim-tickets.js).
 * Copy of the Tìm Massage guest web design (01-Web-CMS customer-web.css + the Vue scoped styles of
 * HomeView / TicketsView / ServiceCard / QuickSheet / BookingSheet / SuccessView), scoped under .cw.
 * Font: the AD booking overlay's Inter subset (admassage-inter-vn.woff2).
 */

@font-face {
  font-family: 'AD Inter';
  src: url('admassage-inter-vn.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

html.cw-modal-open, html.cw-modal-open body { overflow: hidden !important; }

.cw {
  --cw-green: #025120;
  --cw-page: #fcfefd;
  --cw-red: #df193b;
  --cw-ink: #1d1b20;
  font-family: 'AD Inter', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--cw-ink);
  font-size: 14px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.cw, .cw *, .cw *::before, .cw *::after { box-sizing: border-box; }
.cw :where(h1, h2, h3, p, dl, dd, ol, blockquote) { margin: 0; padding: 0; }
.cw :where(button, input, textarea, select) { font: inherit; color: inherit; letter-spacing: normal; text-transform: none; }
.cw :where(button) { cursor: pointer; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
.cw :where(button:disabled) { cursor: default; }
.cw :where(a) { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.cw :where(img) { display: block; max-width: 100%; }
.cw svg.cw-icon { display: block; flex: none; }
.cw :focus-visible { outline: 2px solid #0b7a3b; outline-offset: 2px; }
.cw input:focus-visible, .cw textarea:focus-visible { outline: none; }
.cw-sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cw-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--cw-green); color: #fff !important; font-weight: 800; }
.cw-skip:focus { top: 12px; }
.cw-app { min-height: 100dvh; background: var(--cw-page); overflow-x: clip; }
.cw-main:focus { outline: none; }

/* ---------------------------------------------------------------- buttons */
.cw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 13px; background: var(--cw-green) !important; color: #fff !important; font-weight: 800; font-size: 14px; }
.cw-btn:hover:not(:disabled) { filter: brightness(1.12); }
.cw-btn:disabled { background: #d7d7d7 !important; color: #888 !important; }
.cw-btn-block { display: flex; width: 100%; }
.cw-btn-ghost { background: #eaf6f1 !important; color: var(--cw-green) !important; border: 1px solid #c8e1d9 !important; }

/* ---------------------------------------------------------------- home (explore_home.dart) */
.cw-home { min-height: 100dvh; background: var(--cw-page); }
.cw-home-header { display: flex; align-items: flex-start; justify-content: space-between; max-width: 1232px; margin: 0 auto; padding: 14px 16px 0; }
.cw-home-brand { display: block; width: 190px; height: 54px; }
.cw-home-logo { display: block; width: 190px; height: 42px; overflow: hidden; }
.cw-home-logo img { width: 210px; height: 70px; max-width: none; margin: -14px 0 0 -10px; }
.cw-home-tagline { display: block; padding-left: 4px; color: #667085; font-size: 10px; line-height: 1.2; white-space: nowrap; }
.cw-lang-wrap { position: relative; }
.cw-lang { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #d7ebe5 !important; border-radius: 50%; background: #fff !important; box-shadow: 0 2px 9px rgba(2, 81, 32, .063); font-size: 22px; line-height: 1; }
.cw-lang-menu { position: absolute; right: 0; top: 50px; z-index: 5; min-width: 160px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(2, 81, 32, .16); }
.cw-lang-menu button { display: flex; gap: 8px; width: 100%; padding: 10px 12px; border-radius: 10px; font-weight: 700; }
.cw-lang-menu button:hover { background: #f1f7f4; }
.cw-home-cards { display: grid; gap: 14px; max-width: 1232px; margin: 0 auto; padding: 16px 16px 4px; }
.cw-feature { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 22px; background: #b89a78; box-shadow: 0 8px 18px rgba(59, 42, 26, .122); transition: transform .16s ease, box-shadow .16s ease; isolation: isolate; }
.cw-feature:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(59, 42, 26, .18); }
.cw-feature-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.cw-feature-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(90, 64, 41, .878) 0%, rgba(90, 64, 41, .6) 45%, rgba(90, 64, 41, 0) 80%); }
.cw-feature-ticket { background: var(--cw-green); }
.cw-feature-glyph { position: absolute; right: -18px; bottom: -26px; color: rgba(255, 255, 255, .141); }
.cw-feature-badge { position: absolute; top: 22px; right: 22px; z-index: 1; padding: 6px 12px; border-radius: 20px; background: #e8344e; color: #fff; font-size: 12px; font-weight: 800; line-height: 1.2; }
.cw-feature-content { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 20px 20px 18px; }
.cw-feature-title { color: #fff; font-size: 23px; font-weight: 800; line-height: 1.15; text-shadow: 0 0 8px rgba(0, 0, 0, .25); }
.cw-feature-sub { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; width: 58%; margin-top: 6px; color: rgba(255, 255, 255, .95); font-size: 13px; font-weight: 500; line-height: 1.35; }
.cw-feature-go { display: grid; place-items: center; width: 42px; height: 42px; margin-top: auto; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: rgba(255, 255, 255, .2); color: #fff; }
.cw-home-banners { display: flex; gap: 12px; max-width: 1232px; margin: 0 auto; padding: 18px 16px 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cw-banner { flex: 0 0 min(88%, 560px); scroll-snap-align: start; overflow: hidden; border-radius: 18px; background: #eef3f0; }
.cw-banner img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.cw-home-nearby { max-width: 1232px; margin: 0 auto; padding: 26px 16px 4px; }
.cw-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cw-section-head h2 { color: var(--cw-green); font-size: 19px; font-weight: 900; }
.cw-section-head a { color: var(--cw-green); font-size: 13px; font-weight: 700; }
.cw-foot-links { max-width: 1232px; margin: 0 auto; padding: 26px 16px 32px; text-align: center; }
.cw-foot-links nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.cw-foot-links a, .cw-foot-links p { color: #52685c; font-size: 12px; }
.cw-foot-links a:hover { color: var(--cw-green); text-decoration: underline; }
.cw-foot-links p { margin-top: 10px; color: #8a9a92; }

/* ---------------------------------------------------------------- list header (NativeSearchHeader) */
.cw-list-page { min-height: 100dvh; background: var(--cw-page); }
.cw-list-top { position: sticky; top: 0; z-index: 10; background: var(--cw-page); }
.cw-search-header { display: flex; align-items: center; gap: 7px; height: 58px; max-width: 1232px; margin: 0 auto; padding: 8px 14px 6px; }
.cw-sh-back { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 20px; color: var(--cw-green); }
.cw-sh-back:hover, .cw-sh-location:hover { background: rgba(2, 81, 32, .06); }
.cw-sh-location { display: flex; align-items: center; justify-content: center; gap: 2px; flex: 4 1 0; min-width: 0; height: 40px; padding: 0 10px; border-radius: 20px; color: #829089; }
.cw-sh-location-text { overflow: hidden; color: var(--cw-green); font-size: 14.5px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.cw-sh-location-text.is-busy { color: #6b7c74; font-weight: 700; }
.cw-sh-search { display: flex; align-items: center; flex: 5 1 0; min-width: 0; height: 40px; border: 1px solid #dce8e2; border-radius: 20px; background: #fff; color: #5d746b; }
.cw-sh-search > .cw-icon { margin: 0 8px 0 9px; }
.cw-sh-search input { flex: 1; min-width: 0; height: 38px; padding: 0; border: 0; outline: 0; background: transparent; color: #1d1b20; font-size: 14px; -webkit-appearance: none; appearance: none; }
.cw-sh-search input::placeholder { color: #8d9a94; font-size: 11.5px; font-weight: 500; }
.cw-sh-search input::-webkit-search-cancel-button { display: none; }
.cw-sh-search:focus-within { border-color: #9cc6b3; }
.cw-sh-sort { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 20px; color: var(--cw-green); }
/* Owner 05/12: on phone/tablet the whole list top (search header + category rail) stays fixed like the app;
   PC (>=1024) keeps the categories in the sticky left column. Shadow once the list has scrolled (.cw-scrolled). */
.cw-list-top { padding-top: env(safe-area-inset-top, 0px); }
@media (max-width: 1023px) {
  .cw-list-top { transition: box-shadow .18s ease; }
  .cw-list-controls { position: -webkit-sticky; position: sticky; top: calc(58px + env(safe-area-inset-top, 0px)); z-index: 9; background: var(--cw-page); transition: box-shadow .18s ease, transform .38s cubic-bezier(.65, 0, .35, 1), opacity .38s ease, visibility 0s; }
  .cw-scrolled .cw-list-controls { box-shadow: 0 1px 0 #e6eeea, 0 6px 16px rgba(2, 81, 32, .08); }
  /* rail slid away under the bar (like the app): shadow moves to the bar; transform only = no layout shift */
  .cw-rail-off .cw-list-controls { transform: translateY(calc(-100% - 20px)); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .38s cubic-bezier(.65, 0, .35, 1), opacity .3s ease, visibility 0s .38s; }
  .cw-rail-off .cw-list-top { box-shadow: 0 1px 0 #e6eeea, 0 6px 16px rgba(2, 81, 32, .08); }
}
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) { .cw-list-controls, .cw-rail-off .cw-list-controls { transition: none; } }
.adtt-page.cw:focus { outline: none; }
@media (min-width: 1024px) { .cw-scrolled .cw-list-top { box-shadow: 0 6px 16px rgba(2, 81, 32, .06); } }

/* ---------------------------------------------------------------- category circles (NativeCategoryCircle) */
.cw-cat-rail { display: flex; height: 114px; padding: 6px 14px 10px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.cw-cat-rail::-webkit-scrollbar { display: none; }
.cw-cat { display: flex; flex-direction: column; align-items: center; flex: 0 0 78px; width: 78px; border-radius: 12px; }
.cw-cat-circle { display: grid; place-items: center; width: 60px; height: 60px; overflow: hidden; border: 3px solid #dbe8e2; border-radius: 50%; background: #fff; color: var(--cw-green); transition: transform .26s cubic-bezier(.33, 1, .68, 1), border-color .2s; }
.cw-cat-circle img { width: 100%; height: 100%; object-fit: cover; }
.cw-cat.is-selected .cw-cat-circle { border-color: var(--cw-green); transform: scale(1.05); }
.cw-cat-label { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 6px; color: #46564f; font-size: 12px; font-weight: 500; line-height: 1.25; text-align: center; }
.cw-cat.is-selected .cw-cat-label { color: var(--cw-green); font-weight: 700; }

/* "Tận nơi | Tại cửa hàng" (CupertinoSlidingSegmentedControl) */
.cw-mode-bar { position: relative; display: grid; grid-template-columns: 1fr 1fr; height: 40px; margin: 0 14px 10px; padding: 3px; border-radius: 9px; background: #e8eeeb; }
.cw-mode-bar button { position: relative; z-index: 1; border-radius: 7px; color: var(--cw-green); font-size: 11px; font-weight: 700; white-space: nowrap; transition: background .2s, box-shadow .2s; }
.cw-mode-bar button.is-active { background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 3px 1px rgba(0, 0, 0, .04); }
.cw-desktop-sort { display: none; }

.cw-list-layout { max-width: 1232px; margin: 0 auto; }
.cw-list-main { padding: 0 14px 24px; }
.cw-card-grid { display: grid; gap: 10px; }
.cw-ticket-grid, .cw-service-list { display: grid; gap: 12px; }
.cw-sentinel { height: 1px; }
.cw-loading-more { padding: 16px; color: #61756f; font-size: 13px; text-align: center; }
.cw-more { display: flex; margin: 16px auto 0; }
.cw-skeleton { height: 142px; border-radius: 16px; background: linear-gradient(100deg, #e6eeea 20%, #f1f6f3 40%, #e6eeea 60%); background-size: 220% 100%; animation: cwShimmer 1.1s infinite; }
@keyframes cwShimmer { to { background-position: -220% 0; } }
.cw-message { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 28px; color: #71827b; text-align: center; }
.cw-message p { color: var(--cw-ink); font-size: 14px; line-height: 1.45; }
.cw-spinner { width: 34px; height: 34px; margin: 60px auto; border: 2px solid #d6e6df; border-top-color: var(--cw-green); border-radius: 50%; animation: cwSpin .8s linear infinite; }
@keyframes cwSpin { to { transform: rotate(360deg); } }
.cw-notice-card { display: flex; flex-direction: column; align-items: center; margin-top: 12px; padding: 28px 20px 24px; border: 1px solid #e4eeeb; border-radius: 20px; background: #fff; text-align: center; }
.cw-notice-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #e8f4f1; color: var(--cw-green); }
.cw-notice-card h2 { margin-top: 14px; color: #0b243d; font-size: 16px; font-weight: 800; }
.cw-notice-card p { margin-top: 6px; color: #66738f; font-size: 13px; line-height: 1.4; }
.cw-notice-card .cw-btn { margin-top: 14px; }

/* ---------------------------------------------------------------- provider card (_NearbyPartnerCard) */
.cw-pcard { display: flex; height: 150px; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(2, 81, 32, .2), 0 2px 6px 2px rgba(2, 81, 32, .08); transition: transform .16s ease, box-shadow .16s ease; }
.cw-pcard:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(2, 81, 32, .18), 0 8px 22px rgba(2, 81, 32, .14); }
.cw-pcard-photo { position: relative; flex: none; width: 108px; height: 150px; background: #f7edf0; }
.cw-pcard-photo img { width: 100%; height: 100%; object-fit: cover; }
.cw-photo-empty { display: grid; place-items: center; width: 100%; height: 100%; color: #1d1b20; }
.cw-pcard-badge { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 30px; padding: 6px 8px; color: #fff; font-size: 10px; font-weight: 800; line-height: 1.2; }
.cw-pcard-badge.is-ready { background: rgba(2, 81, 32, .92); }
.cw-pcard-badge.is-later { background: rgba(217, 39, 69, .92); }
.cw-pcard-badge i { width: 7px; height: 7px; border-radius: 50%; background: #b9f1dc; }
.cw-pcard-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 11px 11px 10px 12px; }
.cw-pcard-top { display: flex; align-items: flex-start; gap: 6px; }
.cw-pcard-name { flex: 1; min-width: 0; overflow: hidden; color: var(--cw-green); font-size: 15px; font-weight: 900; line-height: 1.18; text-overflow: ellipsis; white-space: nowrap; }
.cw-rating-pill { display: inline-flex; align-items: center; gap: 2px; flex: none; padding: 4px 7px; border-radius: 9px; background: #fff5dc; color: #80631b; font-size: 10px; font-weight: 900; line-height: 1.2; }
.cw-rating-pill .cw-icon { color: #ffa21a; }
.cw-pcard-distance { display: flex; align-items: center; gap: 4px; margin-top: 6px; color: var(--cw-green); }
.cw-pcard-distance span { overflow: hidden; color: #71827b; font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.cw-pcard-chip { align-self: flex-start; max-width: 100%; margin-top: 7px; padding: 5px 8px; overflow: hidden; border-radius: 9px; background: #edf8f2; color: var(--cw-green); font-size: 9.5px; font-weight: 700; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.cw-pcard-foot { display: flex; align-items: center; gap: 7px; margin-top: auto; }
.cw-pcard-foot strong { flex: 1; min-width: 0; overflow: hidden; color: var(--cw-red); font-size: 16px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.cw-pcard-cta { flex: none; padding: 9px 12px; border-radius: 12px; background: var(--cw-green); color: #fff; font-size: 11px; font-weight: 900; line-height: 1.2; }

/* ---------------------------------------------------------------- service / ticket card (ServiceProductCard) */
.cw-scard { display: flex; height: 184px; overflow: hidden; border: 1px solid #dcebe5; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(2, 81, 32, .2), 0 2px 6px 2px rgba(2, 81, 32, .08); cursor: pointer; }
.cw-scard-photo { position: relative; flex: none; width: 112px; background: #eef4f1; }
.cw-scard-photo img { width: 100%; height: 100%; object-fit: cover; }
.cw-scard-photo-empty { display: grid; place-items: center; width: 100%; height: 100%; color: #9bafa7; }
.cw-scard-badge { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 2px; max-width: calc(100% - 16px); padding: 4px 9px 4px 6px; border-radius: 99px; background: rgba(255, 255, 255, .94); box-shadow: 0 2px 6px rgba(0, 0, 0, .12); color: var(--cw-green); font-size: 11px; font-weight: 800; line-height: 1.1; }
.cw-scard-badge span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cw-scard-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 12px 11px 10px 12px; }
.cw-scard-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--cw-green); font-size: 15px; font-weight: 900; line-height: 1.18; }
.cw-scard-desc { margin-top: 5px; overflow: hidden; color: #71827b; font-size: 10.5px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.cw-scard-options { display: flex; gap: 4px; height: 30px; margin-top: 9px; overflow-x: auto; scrollbar-width: none; }
.cw-scard-options::-webkit-scrollbar { display: none; }
.cw-scard-options button { flex: none; padding: 0 9px; border: 1px solid #d8e5df; border-radius: 10px; background: #f7faf8; color: #60736b; font-size: 10.5px; font-weight: 800; white-space: nowrap; }
.cw-scard-options button.is-active { border-color: var(--cw-green); background: #e5f5ee; color: var(--cw-green); }
.cw-scard-foot { display: flex; align-items: center; gap: 7px; margin-top: auto; }
.cw-scard-foot strong { flex: 1; min-width: 0; overflow: hidden; color: var(--cw-red); font-size: 17px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.cw-scard-book { min-height: 38px; padding: 0 12px; border-radius: 12px; font-size: 11.5px; font-weight: 900; }
@media (min-width: 431px) { .cw-scard-photo { width: 138px; } }

/* ---------------------------------------------------------------- profile (partner_detail.dart) */
.cw-profile { min-height: 100dvh; background: var(--cw-page); }
.cw-profile-layout { max-width: 1232px; margin: 0 auto; }
.cw-profile-main { min-width: 0; background: #fff; }
.cw-profile-top { position: relative; }
.cw-hero { display: grid; place-items: center; width: 100%; height: 56.25vw; overflow: hidden; background: #e6f3f0; }
.cw-hero img { width: 100%; height: 100%; object-fit: cover; }
.cw-hero-wordmark { color: var(--cw-green); font-family: Georgia, 'Times New Roman', serif; font-size: 34px; font-weight: 600; }
.cw-circle-action { position: absolute; z-index: 3; top: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .92) !important; color: #1d1b20; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.cw-profile-back { left: 12px; }
.cw-profile-more { right: 12px; }
.cw-avatar { position: absolute; z-index: 2; left: 50%; top: calc(56.25vw - 79px); display: grid; place-items: center; width: 112px; height: 112px; padding: 5px; overflow: hidden; border: 2px solid #fff; border-radius: 50%; background: #fff; box-shadow: 0 7px 18px rgba(2, 81, 32, .133); transform: translateX(-50%); }
.cw-avatar img, .cw-avatar span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.cw-avatar span { display: grid; place-items: center; background: #f8faf9; color: var(--cw-green); font-size: 28px; font-weight: 800; }
.cw-head { position: relative; margin-top: -20px; padding: 64px 15px 14px; border-radius: 20px 20px 0 0; background: #fff; text-align: center; }
.cw-head h1 { overflow: hidden; color: #17211f; font-size: 21px; font-weight: 800; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.cw-head-rating { display: flex; align-items: center; justify-content: center; min-height: 20px; margin-top: 2px; color: #728078; font-size: 11px; }
.cw-head-rating .cw-icon { color: #ffb000; }
.cw-head-location { display: flex; align-items: flex-start; justify-content: center; gap: 6px; margin-top: 8px; color: var(--cw-green); }
.cw-head-location span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: #63736d; font-size: 10.5px; line-height: 1.35; }
.cw-head-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 6px; margin-top: 10px; }
.cw-head-chips span { padding: 6px 10px; border-radius: 99px; background: #f4f6f5; color: #6c7773; font-size: 10.5px; font-weight: 700; line-height: 1.2; }
.cw-share-note { margin-top: 8px; color: var(--cw-green); font-size: 12px; font-weight: 700; }
.cw-tabs { position: sticky; top: 0; z-index: 4; display: flex; height: 55px; padding: 0 14px; border-bottom: 1px solid #e3e9e6; background: #fff; }
.cw-tabs button { flex: 1; border-radius: 20px; color: var(--cw-green); font-size: 13px; font-weight: 800; }
.cw-tabs button:hover { background: rgba(2, 81, 32, .06); }
.cw-section { padding: 17px 14px 21px; border-bottom: 1px solid #edf1ef; background: #fff; scroll-margin-top: 60px; }
.cw-section > h2 { margin-bottom: 14px; color: var(--cw-ink); font-size: 20px; font-weight: 900; line-height: 1.2; }
.cw-intro { color: #66736f; font-size: 14px; line-height: 1.5; white-space: pre-line; }
.cw-gallery { display: flex; gap: 8px; height: 104px; margin-top: 15px; overflow-x: auto; scrollbar-width: none; }
.cw-gallery a { position: relative; flex: none; width: 76px; height: 104px; overflow: hidden; border-radius: 11px; background: #eef3f0; color: #fff; }
.cw-gallery img { width: 100%; height: 100%; object-fit: cover; }
.cw-gallery .cw-icon { position: absolute; right: 5px; bottom: 5px; filter: drop-shadow(0 0 3px rgba(0, 0, 0, .6)); }
.cw-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 0; color: #8aa198; text-align: center; }
.cw-empty b { margin-top: 4px; color: var(--cw-ink); font-weight: 800; }
.cw-empty span { color: #7b8984; font-size: 12px; }
.cw-review-summary { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.cw-review-score { display: flex; flex-direction: column; align-items: center; flex: none; width: 94px; }
.cw-review-score strong { font-size: 38px; font-weight: 900; line-height: 1.2; }
.cw-review-score small { font-size: 11px; }
.cw-stars { display: inline-flex; color: #ffb000; }
.cw-review-bars { flex: 1; }
.cw-review-bar { display: flex; align-items: center; margin-bottom: 4px; }
.cw-review-bar span { flex: none; width: 38px; font-size: 10px; }
.cw-review-bar i { flex: 1; height: 5px; overflow: hidden; background: #edf1ef; }
.cw-review-bar b { display: block; height: 100%; background: #ffb000; }
.cw-review-bar em { flex: none; width: 24px; font-size: 14px; font-style: normal; text-align: right; }
.cw-review { margin-bottom: 10px; padding: 14px; border-radius: 15px; background: #f8fbf9; }
.cw-review header { display: flex; align-items: center; gap: 9px; }
.cw-review header div { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.cw-review header b { font-weight: 800; }
.cw-review time { color: #8a9a92; font-size: 11px; }
.cw-review-avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #e4f2ec; font-size: 16px; }
.cw-review p { margin-top: 9px; line-height: 1.45; }
.cw-review blockquote { margin-top: 9px; padding: 10px 12px; border-left: 3px solid #b8dccb; border-radius: 8px; background: #fff; color: #52625b; font-size: 13px; }
.cw-review blockquote b { display: block; margin-bottom: 2px; color: var(--cw-green); font-size: 12px; }
.cw-pinned-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; padding: 4px 8px 6px; border-bottom: 1px solid #e3e9e6; background: #fff; box-shadow: 0 4px 12px rgba(2, 81, 32, .06); opacity: 0; pointer-events: none; transition: opacity .18s; }
.cw-pinned-bar.is-visible { opacity: 1; pointer-events: auto; }
.cw-pinned-bar button { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; }
.cw-pinned-bar strong { flex: 1; overflow: hidden; color: #17211f; font-size: 17px; font-weight: 800; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.cw-book-panel { display: none; }
.cw-profile-skeleton { position: relative; }
.cw-skel-hero { height: 56.25vw; background: #e6f3f0; }
.cw-skel-avatar { width: 112px; height: 112px; margin: -60px auto 16px; border-radius: 50%; background: #eef3f0; border: 6px solid #fff; }
.cw-skel-line, .cw-skel-block { margin: 10px auto; border-radius: 8px; background: linear-gradient(100deg, #e6eeea 20%, #f1f6f3 40%, #e6eeea 60%); background-size: 220% 100%; animation: cwShimmer 1.1s infinite; }
.cw-skel-line { height: 16px; } .cw-skel-line.w46 { width: 46%; height: 22px; } .cw-skel-line.w30 { width: 30%; }
.cw-skel-block { width: calc(100% - 28px); height: 160px; margin-top: 28px; }
.cw-profile-failed { position: relative; min-height: 70dvh; justify-content: center; }

/* ---------------------------------------------------------------- layers / sheets */
.cw-layer { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; justify-content: flex-end; background: rgba(0, 0, 0, .54); animation: cwFade .18s ease; }
.cw-panel { position: relative; width: 100%; max-height: 92dvh; overflow: auto; outline: none; background: #fff; border-radius: 26px 26px 0 0; animation: cwRise .24s cubic-bezier(.2, .8, .2, 1); }
@keyframes cwFade { from { opacity: 0; } }
@keyframes cwRise { from { transform: translateY(32px); opacity: .6; } }
.cw-drag-handle { width: 42px; height: 5px; margin: 10px auto 0; border-radius: 99px; background: #d7dfdb; }
.cw-option-sheet { padding: 6px 12px 18px; }
.cw-option-sheet h2 { padding: 10px; font-size: 20px; font-weight: 800; }
.cw-option { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 56px; padding: 0 16px; border-radius: 12px; font-size: 16px; text-align: left; }
.cw-option:hover { background: #f4f8f6; }
.cw-radio { width: 20px; height: 20px; border: 2px solid #49454f; border-radius: 50%; }
.cw-option.is-selected .cw-radio { border-color: var(--cw-green); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 10px var(--cw-green); }

/* service preview (showServiceProductPreview) */
.cw-preview { padding: 0 20px 18px; padding-bottom: max(18px, calc(env(safe-area-inset-bottom) + 10px)); }
.cw-preview .cw-drag-handle { margin: 10px auto 14px; }
.cw-preview-head { display: flex; align-items: flex-start; gap: 14px; }
.cw-preview-photo { display: grid; place-items: center; flex: none; width: 96px; height: 128px; overflow: hidden; border-radius: 16px; background: #eef4f1; color: #9bafa7; }
.cw-preview-photo img { width: 100%; height: 100%; object-fit: cover; }
.cw-preview-copy { flex: 1; min-width: 0; padding-top: 4px; }
.cw-preview-badge { color: var(--cw-green); font-size: 10.5px; font-weight: 800; letter-spacing: .35px; }
.cw-preview-copy h2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-top: 6px; color: var(--cw-green); font-size: 19px; font-weight: 900; line-height: 1.16; }
.cw-preview-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 7px; color: #71827b; font-size: 12px; font-weight: 600; line-height: 1.3; }
.cw-round-close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #f0f6f3 !important; color: var(--cw-green); }
.cw-preview-label { margin-top: 20px; color: #27352f; font-size: 14px; font-weight: 800; }
.cw-preview-tiles, .cw-book-panel-durations { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.cw-preview-tiles button, .cw-book-panel-durations button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 58px; border: 1.4px solid #cfe0d7; border-radius: 15px; background: #fff; color: var(--cw-green); }
.cw-preview-tiles button.is-active, .cw-book-panel-durations button.is-active { border: 1.8px solid var(--cw-green); background: var(--cw-green); color: #fff; }
.cw-preview-tiles strong, .cw-book-panel-durations strong { font-size: 17px; font-weight: 900; line-height: 1; }
.cw-preview-tiles span, .cw-book-panel-durations span { font-size: 10.5px; font-weight: 700; line-height: 1; opacity: .92; }
.cw-preview-notice { display: flex; align-items: center; gap: 10px; margin-top: 15px; padding: 12px 14px; border-radius: 14px; background: #f5f9f7; color: var(--cw-green); }
.cw-preview-notice span { color: #52625b; font-size: 12.5px; }
.cw-preview-summary { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 13px 15px; border-radius: 16px; background: #f1f7f4; }
.cw-preview-summary span { flex: 1; color: #60756d; font-size: 14px; font-weight: 800; }
.cw-preview-summary strong { color: var(--cw-red); font-size: 22px; font-weight: 900; }
.cw-preview-go { min-height: 54px; margin-top: 12px; border-radius: 16px; font-size: 16px; font-weight: 900; }

/* random quick sheet (_buildQuick) — system font like the app's CupertinoSystemText */
.cw-layer-quick { padding: 18px; justify-content: flex-end; align-items: flex-start; background: rgba(0, 0, 0, .5); }
.cw-panel-quick { width: min(100%, 520px); border-radius: 24px 24px 18px 18px; box-shadow: 0 11px 30px rgba(2, 81, 32, .28); font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif; }
.cw-quick-head { display: flex; align-items: flex-start; gap: 14px; height: 119px; padding: 16px; border-bottom: 1px solid #e5eee7; }
.cw-quick-copy { flex: 1; min-width: 0; }
.cw-quick-copy h2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--cw-green); font-size: 18px; font-weight: 800; line-height: 1.35; }
.cw-quick-copy p { margin-top: 4px; color: #708078; font-size: 13px; line-height: 16px; }
.cw-quick-close { display: grid; place-items: center; flex: none; width: 34px; height: 34px; margin-right: 2px; border-radius: 50%; background: #eef5f0 !important; color: var(--cw-green); }
.cw-quick-body { padding: 16px; }
.cw-quick-body h3 { color: var(--cw-green); font-size: 14px; font-weight: 800; line-height: 17px; }
.cw-quick-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.cw-quick-options button { height: 48px; padding: 1px 6px; border: 1px solid #cfe1d4; border-radius: 12px; background: #fff; color: var(--cw-green); font-size: 16px; font-weight: 800; line-height: 18px; }
.cw-quick-options button.is-active { border-color: var(--cw-green); background: var(--cw-green); color: #fff; box-shadow: 0 3px 6px rgba(2, 81, 32, .2); }
.cw-quick-summary { display: flex; align-items: center; height: 48px; margin-top: 16px; padding: 13px 14px; border-radius: 12px; background: #f0f7f2; }
.cw-quick-summary span { flex: 1; color: #61756f; font-size: 16px; line-height: 19px; }
.cw-quick-summary strong { color: #d92336; font-size: 19px; font-weight: 900; line-height: 22px; }
.cw-quick-go { min-height: 52px; margin-top: 12px; border-radius: 13px; font-size: 16px; font-weight: 900; }
.cw-quick-reserve { height: 30px; }
.cw-booking-image { display: grid; place-items: center; flex: none; overflow: hidden; border-radius: 15px; background: #e8f7f0; color: var(--cw-green); }
.cw-booking-image img { width: 100%; height: 100%; object-fit: cover; }
.cw-booking-image-84 { width: 84px; height: 84px; }
.cw-booking-image-100 { width: 100px; height: 100px; transform: rotate(-1deg); }

/* booking form (_buildBookingForm) */
.cw-panel-form { display: flex; flex-direction: column; height: min(90dvh, calc(100dvh - 20px)); max-height: none; overflow: hidden; border-radius: 22px 22px 0 0; background: #f1f7f5; box-shadow: 0 -12px 48px rgba(8, 31, 27, .23); }
.cw-form, .cw-success { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.cw-form-head { position: relative; display: flex; align-items: center; flex: none; height: 68px; padding: 10px 18px 0; }
.cw-form-handle { position: absolute; top: 6px; left: 50%; width: 38px; height: 4px; border-radius: 99px; background: #c6d5d0; transform: translateX(-50%); }
.cw-form-back { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid #d8e8e3 !important; border-radius: 50%; background: #edf7f4 !important; color: var(--cw-green); }
.cw-form-head h2 { flex: 1; font-size: 22px; font-weight: 800; line-height: 1.2; text-align: center; }
.cw-form-head-spacer { flex: none; width: 48px; }
.cw-form-scroll { flex: 1; min-height: 0; padding: 12px 14px 24px; overflow-y: auto; overscroll-behavior: contain; }
.cw-ticket { position: relative; display: flex; align-items: center; gap: 14px; height: 132px; padding: 16px 18px; border: 1px dashed #c9ddd6; border-radius: 21px; background: #fff; box-shadow: 0 9px 24px rgba(2, 81, 32, .133); }
.cw-ticket-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; height: 100px; font-family: Arial, Helvetica, sans-serif; }
.cw-ticket-brand { color: #71847e; font-size: 10px; font-weight: 600; letter-spacing: .15px; line-height: 1.2; }
.cw-ticket-title { margin-top: 2px !important; overflow: hidden; color: var(--cw-green); font-size: 16px; font-weight: 800; line-height: 1.2; white-space: nowrap; text-overflow: clip; }
.cw-ticket-variant { margin-top: 2px !important; overflow: hidden; color: #61756f; font-size: 13px; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; }
.cw-ticket-divider { display: block; height: 1px; margin-top: auto; background: repeating-linear-gradient(90deg, #d9e5e1 0 3px, transparent 3px 5px); }
.cw-ticket-total { display: flex; align-items: center; gap: 4px; margin-top: 6px !important; }
.cw-ticket-total span { flex: 1; color: #87958f; font-size: 12px; line-height: 14px; }
.cw-ticket-total strong { color: #a51c30; font-size: 19px; font-weight: 700; line-height: 1.15; }
.cw-ticket-notch { position: absolute; bottom: 31px; width: 15px; height: 15px; border-radius: 50%; background: #eff7f5; }
.cw-ticket-notch.is-left { left: -8px; } .cw-ticket-notch.is-right { right: -8px; }
.cw-form-section { margin: 20px 0 12px; color: var(--cw-green); font-size: 18px; font-weight: 800; line-height: 1.2; }
.cw-form-section-note { margin-bottom: 9px; font-size: 16px; }
.cw-field { display: flex; align-items: center; height: 56px; margin-bottom: 7px; border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(2, 81, 32, .067); color: #49454f; }
.cw-field > .cw-icon { width: 50px; padding: 0 14.5px; box-sizing: content-box; width: 21px; }
.cw-field input { flex: 1; min-width: 0; height: 100%; padding: 0 14px 0 0; border: 0; outline: 0; background: transparent; color: #202d29; font-size: 16px; font-weight: 600; line-height: 1.2; }
.cw-field input::placeholder { color: #68766f; font-weight: 600; opacity: 1; }
.cw-field:focus-within { box-shadow: 0 0 0 1.5px #7fb59b, 0 5px 18px rgba(2, 81, 32, .067); }
.cw-field-address { height: 60px; padding: 0 9px 0 13px; border: 1px solid #d8e8e3; color: var(--cw-green); }
.cw-field-address > .cw-icon { width: 20px; padding: 0; margin-right: 8px; }
.cw-field-address input { padding: 0; font-weight: 400; color: #1d1b20; }
.cw-field-address input::placeholder { font-weight: 400; color: #6c7570; }
.cw-pin-btn { flex: none; min-height: 40px; margin-left: 6px; padding: 0 10px; border: 1px solid #c8e1d9 !important; border-radius: 20px; background: #eaf6f1 !important; color: var(--cw-green); font-size: 12px; font-weight: 700; }
.cw-field-address.is-store { height: auto; min-height: 60px; padding: 10px 13px; }
.cw-store-address { display: flex; flex-direction: column; color: #202d29; font-size: 14px; line-height: 1.35; }
.cw-store-address b { color: var(--cw-green); font-size: 12px; }
.cw-suggest { margin-top: -2px; margin-bottom: 7px; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 3px 14px rgba(2, 81, 32, .14); }
.cw-suggest-note { padding: 12px; color: var(--cw-green); font-size: 12px; }
.cw-suggest-note.is-error { color: #b13a4a; }
.cw-suggest-item { display: flex; flex-direction: column; width: 100%; padding: 10px 16px; border-bottom: 1px solid #f0f4f2 !important; text-align: left; }
.cw-suggest-item:hover, .cw-suggest-item:focus-visible { background: #f4f9f6; }
.cw-suggest-item b { font-size: 15px; font-weight: 500; }
.cw-suggest-item span { color: #49454f; font-size: 13px; }
.cw-form-hint { color: #61756f; font-size: 12px; }
.cw-time-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cw-time-mode { display: flex; align-items: center; justify-content: center; gap: 7px; height: 48px; padding: 0 10px; border: 1px solid #d9e5e0 !important; border-radius: 13px; background: #fff !important; color: #698078; transition: background .15s; }
.cw-time-mode span { overflow: hidden; color: #52635d; font-size: 12.5px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.cw-time-mode.is-selected { border: 1.4px solid var(--cw-green) !important; background: #e8f6f1 !important; color: var(--cw-green); }
.cw-time-mode.is-selected span { color: var(--cw-green); }
.cw-pickers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.cw-picker-field { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 10px; border-radius: 12px; background: #fff !important; box-shadow: 0 4px 12px rgba(2, 81, 32, .067); color: var(--cw-green); }
.cw-picker-field span { flex: 1; overflow: hidden; color: #263b34; font-size: 15px; font-weight: 700; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.cw-estimate { margin-top: 13px !important; color: #87958f; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 1.3; }
/* Booking arrival (app random_booking.dart `_ArrivalEstimate`): 30' chuẩn bị + Goong travel. */
.cw-arrival { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 11px 12px; background: #f3faf6; border: 1px solid #d5eadf; border-radius: 14px; }
.cw-arrival.is-known { gap: 12px; }
.cw-arrival-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #dff0e6; color: var(--cw-green); }
.cw-arrival-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cw-arrival-time { color: #1f2d27; font-size: 14px; font-weight: 700; line-height: 1.25; }
.cw-arrival-time b { color: var(--cw-green); font-size: 18px; font-weight: 900; }
.cw-arrival-summary { color: #6b7a74; font-size: 12px; line-height: 1.3; }
.cw-arrival-lead { flex: none; display: grid; place-items: center; width: 19px; color: var(--cw-green); }
.cw-arrival-line { color: #3f524b; font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.cw-arrival-spin { width: 14px; height: 14px; border: 2px solid #cfe5d8; border-top-color: var(--cw-green); border-radius: 50%; animation: cwSpin .8s linear infinite; }
.cw-note { display: block; width: 100%; padding: 16px; border: 0; border-radius: 17px; outline: 0; background: #fff; color: #1d1b20; font-size: 16px; line-height: 1.4; resize: vertical; }
.cw-note::placeholder { color: #6c7570; }
.cw-note:focus { box-shadow: 0 0 0 1.5px #7fb59b; }
.cw-form-status { min-height: 18px; margin-top: 10px !important; color: #61756f; font-size: 12px; }
.cw-form-status.is-error { color: #b13a4a; }
.cw-form-foot { flex: none; padding: 10px 14px; padding-bottom: max(10px, env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); box-shadow: 0 -8px 24px rgba(2, 81, 32, .055); }
.cw-terms-note { margin: 8px 0 0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; line-height: 1.3; color: #6b7a74; }
.cw-terms-note a { color: #025120; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(2, 81, 32, .4); }
@media (max-width: 360px) { .cw-terms-note { font-size: 10.5px; } }
.cw-submit { min-height: 54px; border-radius: 15px; font-size: 16px; font-weight: 800; }
.cw-time-picker { padding: 8px 18px 22px; }
.cw-time-picker h2 { font-size: 18px; font-weight: 800; }
.cw-day-chips { display: flex; gap: 8px; margin: 12px -18px 4px; padding: 0 18px 4px; overflow-x: auto; scrollbar-width: none; }
.cw-day-chips button { flex: none; height: 40px; padding: 0 14px; border: 1px solid #d9e5e0 !important; border-radius: 20px; background: #fff; color: #52635d; font-weight: 700; }
.cw-day-chips button.is-active { border-color: var(--cw-green) !important; background: var(--cw-green); color: #fff; }
.cw-period { margin-top: 14px; }
.cw-period h3 { color: var(--cw-green); font-size: 14px; font-weight: 800; }
.cw-period h3 span { margin-left: 6px; color: #87958f; font-size: 12px; font-weight: 500; }
.cw-time-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.cw-time-grid button { height: 44px; border: 1px solid #d9e5e0 !important; border-radius: 12px; background: #fff; color: #263b34; font-weight: 700; }
.cw-time-grid button:hover { border-color: var(--cw-green) !important; }
.cw-time-grid button.is-active { border-color: var(--cw-green) !important; background: var(--cw-green); color: #fff; }
.cw-alert { padding: 24px 22px 20px; text-align: left; }
.cw-alert h2 { font-size: 20px; font-weight: 800; }
.cw-alert p { margin: 12px 0 20px !important; color: #49454f; font-size: 14px; line-height: 1.5; }
.cw-alert .cw-btn { float: right; }
.cw-alert::after { content: ''; display: block; clear: both; }

/* location picker (NativeLocationPicker) */
.cw-panel-map { display: flex; flex-direction: column; height: 90dvh; max-height: none; overflow: hidden; border-radius: 24px 24px 0 0; background: #e9efe9; }
.cw-map-picker { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.cw-map-head { position: relative; z-index: 2; padding: 6px 12px 12px; background: #fff; box-shadow: 0 4px 16px rgba(2, 81, 32, .078); }
.cw-map-title { display: flex; align-items: center; }
.cw-map-title h2 { flex: 1; color: #0b243d; font-size: 17px; font-weight: 800; text-align: center; }
.cw-map-title > span { width: 40px; }
.cw-map-back { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f2f6f4 !important; color: #0b243d; }
.cw-map-search { display: flex; align-items: center; gap: 10px; height: 46px; margin-top: 8px; padding: 0 12px; border-radius: 14px; background: #f2f6f4; color: #84918f; }
.cw-map-search:focus-within { box-shadow: inset 0 0 0 1.4px var(--cw-green); }
.cw-map-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #1d1b20; font-size: 14px; -webkit-appearance: none; appearance: none; }
.cw-map-search input::placeholder { color: #84918f; }
.cw-map-suggest { position: absolute; left: 12px; right: 12px; top: calc(100% - 6px); max-height: 280px; overflow-y: auto; }
.cw-map-canvas { position: relative; flex: 1; min-height: 160px; }
.cw-map-host, .cw-map-canvas > .cw-map-host.mapboxgl-map { position: absolute; inset: 0; width: auto; height: auto; }
.cw-map-host.is-failed { background: repeating-linear-gradient(45deg, #e4ece6 0 12px, #edf2ee 12px 24px); }
.cw-map-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; color: var(--cw-green); text-align: center; }
.cw-map-fallback p { color: #52625b; font-size: 13px; }
.cw-map-pin { position: absolute; left: 50%; top: 50%; color: var(--cw-green); transform: translate(-50%, -100%); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); pointer-events: none; }
.cw-map-gps { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff !important; color: var(--cw-green); box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.cw-map-card { margin: 12px; padding: 16px; border-radius: 22px; background: #fff; box-shadow: 0 10px 24px rgba(2, 81, 32, .16); margin-bottom: max(12px, env(safe-area-inset-bottom)); }
.cw-map-card-row { display: flex; align-items: flex-start; gap: 12px; }
.cw-map-card-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #e8f4f1; color: var(--cw-green); }
.cw-map-card-icon.is-failed { background: #fff4dc; color: #b77900; }
.cw-map-card-copy { flex: 1; min-width: 0; }
.cw-map-card-copy small { display: block; color: #84918f; font-size: 12px; font-weight: 600; }
.cw-map-card-copy strong { display: block; margin-top: 2px; overflow: hidden; color: #0b243d; font-size: 16px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.cw-map-card-copy p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 3px; color: #66738f; font-size: 13px; line-height: 1.35; }
.cw-map-hint { display: flex; align-items: center; gap: 6px; margin-top: 12px !important; color: #84918f; font-size: 12px; }
.cw-map-confirm { min-height: 50px; margin-top: 12px; border-radius: 16px; font-size: 16px; font-weight: 800; }

/* success */
.cw-success-scroll { flex: 1; min-height: 0; padding: 30px 18px 20px; overflow-y: auto; text-align: center; }
.cw-success-mark { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; background: var(--cw-green); color: #fff; box-shadow: 0 0 0 10px #dff0e8; }
.cw-success h2 { margin-top: 22px; color: var(--cw-green); font-size: 22px; font-weight: 800; }
.cw-success-code { margin-top: 6px !important; color: #52635d; font-size: 15px; }
.cw-success-code strong { color: var(--cw-ink); font-size: 26px; font-weight: 900; letter-spacing: -.3px; vertical-align: -2px; }
.cw-success-card { margin-top: 18px; padding: 6px 16px; border: 1px dashed #c9ddd6; border-radius: 21px; background: #fff; box-shadow: 0 9px 24px rgba(2, 81, 32, .1); text-align: left; }
.cw-success-card div { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid #edf3f0; }
.cw-success-card div:last-child { border-bottom: 0; }
.cw-success-card dt { flex: none; width: 92px; color: #87958f; font-size: 13px; }
.cw-success-card dd { flex: 1; min-width: 0; color: #202d29; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.cw-success-card .is-total dd { color: #a51c30; font-size: 18px; font-weight: 800; }
.cw-success-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 13px 14px; border-radius: 14px; background: #e8f6f1; color: var(--cw-green); text-align: left; }
.cw-success-note p { color: #263b34; font-size: 13.5px; line-height: 1.45; }
.cw-success-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.cw-success-actions .cw-btn { min-height: 54px; border-radius: 15px; font-size: 16px; }

/* app download + info pages */
.cw-app-download { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.cw-app-download.is-compact { margin-top: 10px; }
.cw-store-badge { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 6px 14px; border-radius: 12px; background: #0b1f17; color: #fff !important; }
.cw-store-badge span { display: flex; flex-direction: column; font-size: 15px; font-weight: 800; line-height: 1.1; }
.cw-store-badge small { font-size: 10px; font-weight: 500; opacity: .85; }
.cw-app-download-note { color: #61756f; font-size: 12px; }
.cw-store-smart { width: 100%; justify-content: center; min-height: 52px; background: var(--cw-green) !important; }
.cw-info { max-width: 760px; min-height: 100dvh; margin: 0 auto; padding: 8px 16px 40px; }
.cw-info-top { height: 50px; display: flex; align-items: center; }
.cw-info-hero { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 22px; background: #b89a78; box-shadow: 0 8px 18px rgba(59, 42, 26, .122); }
.cw-info-hero img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.cw-info-hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 20px; color: #fff; }
.cw-info-hero-copy strong { font-size: 23px; font-weight: 800; text-shadow: 0 0 8px rgba(0, 0, 0, .25); }
.cw-info-hero-copy span { width: 58%; margin-top: 6px; font-size: 13px; font-weight: 500; }
.cw-info-logo { display: flex; justify-content: center; padding: 30px 0 4px; }
.cw-info-logo img { width: 210px; height: 70px; }
.cw-info-body { padding: 22px 4px 0; }
.cw-info-body h1 { color: var(--cw-green); font-size: 24px; font-weight: 900; line-height: 1.2; letter-spacing: -.3px; }
.cw-info-body > p { margin-top: 10px !important; color: #52685c; font-size: 14.5px; line-height: 1.6; }
.cw-steps { display: grid; gap: 10px; margin-top: 18px !important; list-style: none; }
.cw-steps li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(2, 81, 32, .07); color: #263b34; font-size: 14px; line-height: 1.45; }
.cw-steps li span { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--cw-green); color: #fff; font-size: 13px; font-weight: 800; }
.cw-info-home { margin-top: 22px; }

/* ---------------------------------------------------------------- tablet (768–1023) */
@media (min-width: 768px) {
  .cw-home-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cw-feature-recruit { grid-column: 1 / -1; aspect-ratio: 32 / 9; }
  .cw-card-grid, .cw-ticket-grid, .cw-service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .cw-list-main { padding: 0 24px 32px; }
  .cw-search-header { padding-inline: 24px; }
  .cw-cat-rail, .cw-mode-bar { margin-inline: 10px; }
  .cw-mode-bar { max-width: 460px; }
  .cw-layer:not(.cw-layer-quick) { justify-content: center; align-items: center; padding: 24px; }
  .cw-layer-quick { justify-content: center; align-items: center; }
  .cw-panel { width: min(100%, 560px); max-height: calc(100dvh - 48px); border-radius: 24px; animation-name: cwPop; }
  .cw-panel-quick { border-radius: 24px; }
  .cw-panel-form { width: min(100%, 600px); height: min(860px, calc(100dvh - 48px)); border-radius: 24px; }
  .cw-panel-map { width: min(100%, 860px); height: min(780px, calc(100dvh - 48px)); border-radius: 24px; }
  .cw-form-head { padding-inline: 24px; }
  .cw-form-scroll { padding: 16px 32px 28px; }
  .cw-form-foot { padding: 12px 32px 15px; border-radius: 0 0 24px 24px; }
  .cw-hero, .cw-skel-hero { height: min(56.25vw, 420px); }
  .cw-avatar { top: calc(min(56.25vw, 420px) - 79px); }
  .cw-section { padding-inline: 24px; }
}
@keyframes cwPop { from { transform: scale(.97); opacity: .4; } }

/* ---------------------------------------------------------------- PC (≥1024) */
@media (min-width: 1024px) {
  .cw-home-header { padding: 26px 24px 0; }
  .cw-home-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 26px 24px 4px; }
  .cw-feature-recruit { grid-column: auto; aspect-ratio: 16 / 9; }
  .cw-feature-title { font-size: 22px; }
  .cw-home-nearby, .cw-home-banners, .cw-foot-links { padding-inline: 24px; }
  .cw-home-nearby .cw-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

  .cw-list-top { border-bottom: 1px solid #e6eeea; background: rgba(252, 254, 253, .96); backdrop-filter: blur(8px); }
  .cw-search-header { height: 68px; padding: 12px 24px; gap: 14px; }
  .cw-sh-location { flex: 0 1 300px; justify-content: flex-start; border: 1px solid #dce8e2; background: #fff; }
  .cw-sh-search { flex: 1 1 auto; max-width: 560px; margin-left: auto; height: 44px; border-radius: 22px; }
  .cw-sh-search input::placeholder { font-size: 13px; }
  .cw-list-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 24px; padding: 22px 24px 40px; }
  .cw-list-controls { position: sticky; top: 92px; align-self: start; padding: 16px 12px; border: 1px solid #e3ece8; border-radius: 20px; background: #fff; }
  .cw-cat-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 12px; height: auto; margin: 0; padding: 0 0 14px; overflow: visible; }
  .cw-cat { width: auto; flex: none; }
  .cw-mode-bar { margin: 4px 0 0; max-width: none; }
  .cw-desktop-sort { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 42px; margin-top: 12px; border: 1px solid #dce8e2 !important; border-radius: 12px; color: var(--cw-green); font-size: 13px; font-weight: 700; }
  .cw-desktop-sort:hover { background: #f4f9f6 !important; }
  .cw-list-main { padding: 0; }
  .cw-card-grid { grid-template-columns: repeat(auto-fill, minmax(296px, 1fr)); gap: 16px; }
  .cw-ticket-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

  .cw-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; padding: 24px; }
  .cw-profile-main { overflow: clip; border: 1px solid #e3ece8; border-radius: 22px; }
  .cw-hero, .cw-skel-hero { height: 400px; }
  .cw-avatar { top: 321px; }
  .cw-tabs { top: 0; }
  .cw-service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cw-book-panel { position: sticky; top: 24px; display: block; }
  .cw-book-panel-inner { padding: 22px; border: 1px solid #dcebe5; border-radius: 22px; background: #fff; box-shadow: 0 12px 32px rgba(2, 81, 32, .1); }
  .cw-book-panel-label { color: #71827b; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
  .cw-book-panel h2 { margin-top: 4px; color: var(--cw-green); font-size: 22px; font-weight: 900; line-height: 1.2; }
  .cw-book-panel-status { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px !important; padding: 6px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; }
  .cw-book-panel-status i { width: 7px; height: 7px; border-radius: 50%; }
  .cw-book-panel-status.is-ready { background: #e5f5ee; color: var(--cw-green); } .cw-book-panel-status.is-ready i { background: #1d9a5a; }
  .cw-book-panel-status.is-later { background: #fdecef; color: #b3203c; } .cw-book-panel-status.is-later i { background: #d92745; }
  .cw-book-panel-field { display: block; margin-top: 18px; }
  .cw-book-panel-field span { display: block; margin-bottom: 6px; color: #27352f; font-size: 13px; font-weight: 800; }
  .cw-book-panel-field select { width: 100%; height: 46px; padding: 0 12px; border: 1px solid #cfe0d7; border-radius: 12px; background: #fff; color: #202d29; font-weight: 700; }
  .cw-book-panel-go { min-height: 54px; margin-top: 14px; border-radius: 16px; font-size: 16px; font-weight: 900; }
  .cw-book-panel-note { margin-top: 10px !important; color: #71827b; font-size: 12px; text-align: center; }
  .cw-pinned-bar { display: none; }
  .cw-info { padding-top: 24px; }
}

@media (min-width: 1280px) {
  .cw-list-main .cw-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Narrow PC grid cells: keep the full price visible next to "Xem hồ sơ". */
  .cw-list-main .cw-pcard-photo { width: 98px; }
  .cw-list-main .cw-pcard-cta { padding-inline: 10px; }
}
@media (max-width: 359px) {
  .cw-feature-title { font-size: 20px; }
  .cw-feature-sub { width: 70%; }
  .cw-preview-tiles, .cw-quick-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cw-pcard-cta { padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .cw *, .cw *::before, .cw *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Owner 21/11: lists follow the customer's location like the app (10 km). */
.cw-locate-bar { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0 0 14px; padding: 12px 14px; border: 1px solid #d5eadf; border-radius: 14px; background: #f3faf6; color: var(--cw-green); font: inherit; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; }
.cw-locate-bar span { flex: 1; min-width: 0; }
.cw-locate-bar:disabled { cursor: default; opacity: .75; }
.cw-home-empty { margin: 4px 0 14px; color: #6b7a74; font-size: 14px; }
input[type='search']::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }

/* ================================================================ Vue scoped styles (HomeView, ServiceCard, SearchHeader, SheetFrame, BookingSheet) */
/* HomeView: ticket card title + "Đến tận nhà bạn" pill (owner 03/12 mẫu C). */
.adtt-home-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.cw-feature-ticket .adtt-home-title { padding-right: 84px; }
.adtt-home-action { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding: 4px 11px 4px 4px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 99px; background: rgba(255, 255, 255, .2); color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.adtt-home-action-dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #025120; }

/* ServiceCard (service_product_ui.dart): elevation 3, no border. */
.cw-scard { border: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, .14), 0 4px 8px 3px rgba(0, 0, 0, .06); }
.cw-scard-best { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 3px; padding: 4px 9px 4px 7px; border-radius: 99px; background: #025120; color: #fff; font-size: 11px; font-weight: 800; line-height: 1.1; white-space: nowrap; }
.cw-scard-best svg { flex: none; }
.cw-scard-options button { border: 0; background: #f1f4f2; }
.cw-scard-options button.is-active { border: 0; background: #d7eedf; color: #025120; }
.cw-scard-foot { align-items: flex-end; }
.cw-scard-price { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.cw-scard-price strong { display: block; flex: none; }
.cw-scard-compare { overflow: hidden; color: #98a39f; font-size: 12px; line-height: 1.2; text-decoration: line-through; white-space: nowrap; }
.cw-scard-book { flex: none; height: 34px; min-height: 34px; padding: 0 16px; border-radius: 999px; font-size: 12.5px; font-weight: 800; }

/* SearchHeader */
.cw-sh-location { justify-content: flex-start; }
.cw-sh-location-text { min-width: 0; }

/* SheetFrame */
.cw-panel-form { background: #fff; }

/* BookingSheet (random_booking.dart `_buildBookingForm`, owner 29/11 white form, 03/12 mode cards) */
.cw-panel-form .cw-field { background: #f2f6f4; box-shadow: none; color: #49454f; }
.cw-panel-form .cw-field:focus-within { box-shadow: 0 0 0 1.5px #7fb59b; }
.booking-mode { display: flex; flex-direction: column; padding: 8px 6px 6px; border-radius: 14px; background: #e8f3ee; color: #025120; }
.booking-mode-head { display: flex; align-items: center; gap: 7px; min-height: 22px; padding: 0 8px 7px; }
.booking-mode-head > span:first-of-type { flex: 1; min-width: 0; font-size: 14px; font-weight: 800; line-height: 1.2; }
.booking-mode-field { display: flex; align-items: center; gap: 8px; height: 60px; padding: 0 9px 0 13px; border-radius: 12px; background: #fff; }
.booking-mode-field:focus-within { box-shadow: 0 0 0 1.5px #7fb59b; }
.cw .booking-mode-field input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: #1d1b20; font-size: 16px; box-shadow: none; }
.booking-mode-field input::placeholder { color: #6c7570; opacity: 1; }
.booking-pin { display: inline-flex; align-items: center; gap: 4px; margin-left: 0; border: 0 !important; background: #e2efe8 !important; white-space: nowrap; }
.booking-pin:disabled { opacity: .7; }
.cw-panel-form .cw-suggest { margin-top: 0; }
.cw-panel-form .cw-time-mode { border: 0 !important; background: #f2f6f4 !important; }
.cw-panel-form .cw-time-mode.is-selected { border: 0 !important; background: #dcefe4 !important; }
.cw-panel-form .cw-picker-field { background: #f2f6f4 !important; box-shadow: none; }
.cw-panel-form .cw-arrival { padding: 12px 13px; border: 0; background: #eef6f1; }
.cw-panel-form .cw-note { background: #f2f6f4; }
.cw-panel-form .cw-terms-note { font-size: min(12px, 2.8vw); text-overflow: clip; }
.booking-time-hint { margin: 13px 0 0; color: #87958f; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 1.3; }

/* ================================================================ AD integration */
/* Homepage card: same 16:9 card as Tìm's "Vé giảm giá" (phone width), capped on PC. */
.cw.adtt-home-card { margin: 0; color: #fff !important; text-decoration: none !important; }
.cw.adtt-home-card:hover { color: #fff !important; }
.adtt-home-card .cw-feature-glyph svg { display: block; }
#vnHomeStandard.adtt-home { margin-top: 16px; }
@media (min-width: 621px) { .cw.adtt-home-card { max-width: 440px; } }

/* Full-screen list page ("Vé giảm giá", hash #ve-giam-gia) over the site chrome (contact rail = 2147483000). */
html.adtt-open, html.adtt-open body { overflow: hidden !important; }
.adtt-page[hidden] { display: none !important; }
.adtt-page.cw { position: fixed; inset: 0; z-index: 2147483100; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: var(--cw-page); text-align: left; }
.adtt-page .cw-list-page { min-height: 100%; }
.cw.cw-layer.adtt-layer { z-index: 2147483200; }
.adtt-page .cw-sh-search input, .adtt-layer input, .adtt-layer textarea { box-shadow: none; margin: 0; }
.adtt-page .cw-sh-search input:focus { box-shadow: none; border: 0; outline: 0; }

/* Address hint + GPS button + scheduled pickers (AD) */
.adtt-addr-hint { margin: 8px 2px 0 !important; color: #b13a4a; font-size: 12px; }
/* SchedulePickerSheet.vue + ScheduleWheel.vue: 367.25 px sheet over a 2 px blur + #0e231f at 42 %. */
.cw.cw-layer.cw-layer-schedule { background: rgba(14, 35, 31, .42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.cw-layer-schedule > .cw-panel { overflow: hidden; border-radius: 24px 24px 0 0; background: #fff; box-shadow: 0 -18px 48px rgba(2, 81, 32, .22); }
@media (min-width: 768px) {
  .cw-layer-schedule > .cw-panel { width: min(420px, 100%); border-radius: 24px; }
}
.cw .schedule-sheet { display: flex; flex-direction: column; align-items: center; height: 367.25px; padding: 9px 16px 18px; box-sizing: border-box; background: #fff; }
.cw .schedule-grip { flex: none; width: 42px; height: 4px; border-radius: 99px; background: #cdd6d2; }
.cw .schedule-title { flex: none; height: 26.25px; margin: 14px 0 0; color: #025120; font-family: Arial, Helvetica, sans-serif; font-size: 21px; font-weight: 800; line-height: 1.25; text-align: center; }
.cw .schedule-stage { flex: none; align-self: stretch; height: 220px; margin-top: 14px; }
.cw .schedule-frame { position: relative; height: 100%; overflow: hidden; border-radius: 15px; background: #fafbfc; }
.cw .schedule-band { position: absolute; top: 88px; left: 20px; right: 20px; height: 44px; border-radius: 22px; background: #edf0f2; }
.cw .schedule-wheels { position: absolute; inset: 0; display: flex; align-items: center; }
.cw .schedule-wheels > .schedule-wheel { flex: 1; min-width: 0; }
.cw .schedule-colon { flex: none; color: #1f2a27; font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: 800; line-height: 1; }
.cw .schedule-fade { position: absolute; left: 0; right: 0; height: 72px; pointer-events: none; }
.cw .schedule-fade.is-top { top: 0; background: linear-gradient(#fafbfc 18%, rgba(250, 251, 252, 0)); }
.cw .schedule-fade.is-bottom { bottom: 0; background: linear-gradient(rgba(250, 251, 252, 0), #fafbfc 82%); }
.cw .schedule-empty { display: grid; place-items: center; height: 100%; margin: 0; padding: 0 24px; color: #7a8c86; font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.35; text-align: center; }
.cw .schedule-confirm { flex: none; align-self: stretch; height: 48px; margin-top: 14px; padding: 0 6px; border: 0; border-radius: 13px; background: #025120; color: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: 800; cursor: pointer; }
.cw .is-time .schedule-confirm { margin: 2px 16px 0; }
.cw .schedule-confirm:disabled { background: #d7d7d7; color: #888; cursor: default; }
.cw .schedule-confirm:focus-visible { outline: 3px solid rgba(2, 81, 32, .35); outline-offset: 2px; }
.cw .schedule-wheel { position: relative; height: 220px; overflow: hidden; outline: 0; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; perspective: 250px; }
.cw .schedule-wheel:active { cursor: grabbing; }
.cw .schedule-wheel::after { content: ''; position: absolute; top: 88px; left: 6px; right: 6px; height: 44px; border-radius: 22px; pointer-events: none; }
.cw .schedule-wheel:focus-visible::after { box-shadow: inset 0 0 0 2px rgba(2, 81, 32, .4); }
.cw .schedule-wheel:focus-visible { outline: 0; }
.cw .schedule-wheel-drum { position: absolute; inset: 0; transform-style: preserve-3d; }
.cw .schedule-wheel-row { position: absolute; left: 0; right: 0; top: 88px; height: 44px; display: flex; align-items: center; justify-content: center; color: #4f5b57; font-family: Arial, Helvetica, sans-serif; font-size: 18px; font-weight: 700; line-height: 1; white-space: nowrap; backface-visibility: hidden; will-change: transform; }
.cw .schedule-wheel-row.is-active { color: #1f2a27; font-size: 24px; font-weight: 800; }
.cw .schedule-wheel-row.is-highlight { color: #025120; }

/* Location sheet ("Chọn vị trí") */
.adtt-loc-sheet { padding: 6px 16px 18px; padding-bottom: max(18px, calc(env(safe-area-inset-bottom) + 10px)); }
.adtt-loc-sheet h2 { padding: 10px 4px 12px; color: var(--cw-green); font-size: 20px; font-weight: 800; }

/* Success: "Theo dõi đơn" on its own row above "Đặt thêm / Về trang chủ". */
.adtt-success-track { grid-column: 1 / -1; }

/* Homepage PC/tablet (owner 05/12 "tối ưu giao diện pc"): like Tìm's customer-web home at >=768px,
 * "Massage tận nơi" + "Vé giảm giá" sit side by side, equal 16:9 cards, aligned to the nav/banner edges.
 * The two cards live in different sections (.ad-tim-choose, .ad-booking), so main becomes a 2-column
 * grid where every other child spans both columns. Homepage only (body.index); phones untouched. */
@media (min-width: 768px) {
  body.index main.ad-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; align-items: start; padding-bottom: 26px; }
  body.index main.ad-preview > * { grid-column: 1 / -1; min-width: 0; }
  body.index main.ad-preview > .ad-tim-choose.adtt-home,
  body.index main.ad-preview > .ad-booking.quick-booking-panel { margin: 20px 0 0; padding: 0; }
  body.index main.ad-preview > .ad-tim-choose.adtt-home { grid-column: 1; }
  body.index main.ad-preview > .ad-booking.quick-booking-panel { grid-column: 2; }
  body.index main.ad-preview #vnHomeStandard.adtt-home { margin-top: 0; }
  body.index main.ad-preview .cw.adtt-home-card { width: 100%; max-width: none; }
}

/* Owner 05/12: Vé giảm giá duration sheet = the specialist profile's sheet (admassage-tim-profile.js .booking-dur). */
.cw-layer-dur { position: fixed; inset: 0; z-index: 2147483000; display: flex; flex-direction: column; justify-content: flex-end; padding: 0; background: rgba(0, 0, 0, .54); overscroll-behavior: contain; }
.cw-panel-dur { position: relative; width: 100%; max-height: 92dvh; overflow: hidden; outline: none; background: #fff; border-radius: 26px 26px 0 0; animation: adttDurRise .24s cubic-bezier(.2, .8, .2, 1); }
@keyframes adttDurRise { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (min-width: 720px) { .cw-layer-dur { justify-content: center; align-items: center; padding: 24px; } .cw-panel-dur { width: min(100%, 560px); border-radius: 24px; } }
.cw-panel-dur .booking-dur { display: flex; flex-direction: column; max-height: 82dvh; background: #fff; }
.cw-panel-dur .booking-dur-scroll { flex: 1; min-height: 0; padding: 10px max(18px, calc(env(safe-area-inset-right) + 12px)) 6px max(18px, calc(env(safe-area-inset-left) + 12px)); overflow-y: auto; }
.cw-panel-dur .booking-dur-grip { width: 40px; height: 4px; margin: 0 auto 14px; border-radius: 99px; background: #d7dfdb; }
.cw-panel-dur .booking-dur-head { display: flex; align-items: flex-start; }
.cw-panel-dur .booking-dur-photo { display: grid; place-items: center; flex: none; width: 84px; height: 84px; overflow: hidden; border-radius: 16px; background: #eef4f1; color: #025120; }
.cw-panel-dur .booking-dur-photo img { width: 100%; height: 100%; object-fit: cover; }
.cw-panel-dur .booking-dur-copy { flex: 1; min-width: 0; margin-left: 13px; }
.cw-panel-dur .booking-dur-badge { margin: 0 0 4px !important; overflow: hidden; color: #6b7d75; font-size: 10.5px; font-weight: 800; letter-spacing: .35px; white-space: nowrap; text-overflow: ellipsis; }
.cw-panel-dur .booking-dur-copy h2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0; color: #17211f; font-size: 18px; font-weight: 900; line-height: 1.2; }
.cw-panel-dur .booking-dur-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 5px 0 0 !important; color: #71827b; font-size: 12px; font-weight: 600; line-height: 1.3; }
.cw-panel-dur .booking-dur-close { display: grid; place-items: center; flex: none; width: 36px; height: 36px; margin-left: 6px; border-radius: 50%; background: #f0f4f2 !important; color: #4a5a54; }
.cw-panel-dur .booking-dur-label { margin: 18px 0 0; color: #27352f; font-size: 14px; font-weight: 800; }
.cw-panel-dur .booking-dur-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.cw-panel-dur .booking-dur-tiles button { height: 52px; padding: 6px 4px; border: 0; border-radius: 14px; background: #f2f6f4; color: #27352f; font-size: 14.5px; font-weight: 900; white-space: nowrap; box-shadow: none; }
.cw-panel-dur .booking-dur-tiles button.is-active { background: rgba(2, 81, 32, .26); color: #025120; }
.cw-panel-dur .booking-dur-notice { display: flex; align-items: center; gap: 7px; margin-top: 14px; color: #025120; }
.cw-panel-dur .booking-dur-notice span { flex: 1; color: #52625b; font-size: 12.5px; line-height: 1.35; }
.cw-panel-dur .booking-dur-bar { display: flex; align-items: center; gap: 12px; flex: none; padding: 12px max(18px, calc(env(safe-area-inset-right) + 12px)) max(16px, calc(env(safe-area-inset-bottom) + 8px)) max(18px, calc(env(safe-area-inset-left) + 12px)); border-top: 1px solid #edf2ef; background: #fff; }
.cw-panel-dur .booking-dur-total { display: flex; flex-direction: column; gap: 2px; flex: 5; min-width: 0; }
.cw-panel-dur .booking-dur-total span { overflow: hidden; color: #71827b; font-size: 12px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.cw-panel-dur .booking-dur-total strong { color: #df193b; font-size: 20px; font-weight: 900; }
.cw-panel-dur .booking-dur-go { flex: 6; min-height: 52px; margin: 0; border-radius: 16px; font-size: 15.5px; font-weight: 900; }