/* ==========================================================
   Bản Mây – giao diện chính (không cần build, sửa trực tiếp)
   Bảng màu: xanh rừng thông, đá xám cao nguyên, đất nung, hồng tam giác mạch
   ========================================================== */
:root {
    --pine: #123c2f;
    --pine-2: #1d5743;
    --pine-soft: #e3eee8;
    --stone: #f4f2ee;
    --stone-2: #e7e3dc;
    --ink: #1c1f1d;
    --muted: #5f6661;
    --clay: #b4532a;
    --clay-soft: #f7e6dc;
    --blossom: #c23b7a;
    --gold: #d79a2b;
    --line: #dcd7cf;
    --white: #ffffff;
    --danger: #b42318;
    --ok: #1f7a4d;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(20, 30, 25, .06), 0 8px 24px rgba(20, 30, 25, .07);
    --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --serif: "Lora", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--stone); }
img { max-width: 100%; display: block; }
a { color: var(--pine-2); text-decoration: none; }
a:hover { color: var(--clay); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.25; margin: 0 0 .5em; color: var(--pine); }
h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
small, .muted { color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 0; }
.section-sm { padding: 32px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); max-width: 640px; }
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); font-weight: 700; margin-bottom: 6px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 242, 238, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { max-width: 1400px; }
.nav { display: flex; align-items: center; gap: 10px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--pine); }
.brand svg { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 2px; margin-left: auto; align-items: center; flex-wrap: nowrap; }
.nav-links a { padding: 7px 9px; border-radius: 999px; color: var(--ink); font-weight: 500; font-size: .88rem; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { background: var(--pine-soft); color: var(--pine); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; cursor: pointer; }
.nav-user { display: flex; gap: 8px; align-items: center; }
@media (max-width: 960px) {
    .nav-toggle { display: block; }
    .nav-links { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--stone); flex-direction: column; align-items: stretch; padding: 10px 16px 18px; border-bottom: 1px solid var(--line); gap: 2px; }
    .nav-links.open { display: flex; }
    .nav-links a { border-radius: 10px; }
    .nav-user { flex-wrap: wrap; padding-top: 8px; }
}

/* ---------- Buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; transition: background .15s, transform .05s; text-align: center; line-height: 1.2; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--pine); color: #fff; }
.btn-primary:hover { background: var(--pine-2); color: #fff; }
.btn-clay { background: var(--clay); color: #fff; }
.btn-clay:hover { background: #9c4522; color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--white); color: var(--pine); }
.btn-light { background: #fff; color: var(--pine); }
.btn-danger { background: transparent; color: var(--danger); border-color: #f1c4bf; }
.btn-danger:hover { background: #fdecea; color: var(--danger); }
.btn-sm { padding: 7px 12px; font-size: .85rem; }
.btn-block { width: 100%; }

label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=tel], input[type=search], select, textarea {
    width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--pine-2); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 110px; resize: vertical; }
.checkbox { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.error { color: var(--danger); font-size: .85rem; margin-top: 4px; }
.help { color: var(--muted); font-size: .85rem; margin-top: 4px; }

/* ---------- Flash ---------- */
.flash { padding: 12px 16px; border-radius: 12px; margin: 16px 0; font-weight: 500; }
.flash-success { background: #e2f3e9; color: #135c37; border: 1px solid #b8dfc8; }
.flash-error { background: #fdecea; color: #8a1c13; border: 1px solid #f4c3bd; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--pine); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: url("/images/contours.svg"); background-size: 900px; opacity: .16; }
.hero .container { position: relative; padding-top: 72px; padding-bottom: 84px; }
.hero h1 { color: #fff; max-width: 760px; }
.hero p.lead { font-size: 1.12rem; max-width: 620px; color: #d6e6dd; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: var(--serif); font-size: 1.8rem; color: #fff; }
.hero-stats span { color: #b9d1c4; font-size: .9rem; }
.hero-ridge { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; }

.page-hero { background: var(--pine); color: #fff; padding: 44px 0 40px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: url("/images/contours.svg"); background-size: 700px; opacity: .12; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: #cfe1d6; margin: 0; max-width: 680px; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(0, 0, 0, .03); }
.card-body { padding: 18px; }
.card h3 { margin-bottom: 4px; }
.card-link { display: block; color: inherit; height: 100%; }
.card-link:hover { color: inherit; }
.card-link:hover .card { transform: translateY(-2px); }
.card { transition: transform .15s; }

.thumb { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--pine-2), var(--pine)); position: relative; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-placeholder { position: absolute; inset: 0; display: flex; align-items: end; padding: 14px; color: rgba(255, 255, 255, .9); font-family: var(--serif); font-size: 1.05rem; background-image: url("/images/contours.svg"); background-size: 420px; }
.thumb .badge { position: absolute; top: 10px; left: 10px; }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--pine-soft); color: var(--pine); }
.badge-clay { background: var(--clay-soft); color: var(--clay); }
.badge-gold { background: #fbefd5; color: #8a5a0b; }
.badge-gray { background: var(--stone-2); color: var(--muted); }
.badge-blossom { background: #fbe4ef; color: var(--blossom); }
.badge-verified { background: #fff; color: var(--ok); box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }

.price { font-weight: 700; color: var(--clay); }
.price small { font-weight: 500; color: var(--muted); }
.meta-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.stars { color: var(--gold); letter-spacing: 1px; }

/* ---------- Loop / timeline ---------- */
.day-block { margin-bottom: 28px; }
.day-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.day-title h3 { margin: 0; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; border-left: 2px dashed var(--line); }
.timeline li { position: relative; padding: 0 0 16px 46px; }
.timeline .dot { position: absolute; left: 4px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--pine); color: #fff; font-size: .72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.timeline .km { font-size: .8rem; color: var(--muted); }
.stop-pick { display: flex; gap: 10px; align-items: flex-start; }
.stop-pick input { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--pine); }

.map { height: 460px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--stone-2); z-index: 1; }
.map-sm { height: 280px; }
.sticky { position: sticky; top: 84px; }
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .layout-side { grid-template-columns: 1fr; } .sticky { position: static; } }

/* ---------- Passport ---------- */
.passport { background: #fffdf8; border: 2px solid var(--stone-2); border-radius: 18px; padding: 22px; }
.stamps { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.stamp { border: 2px dashed var(--line); border-radius: 14px; padding: 14px 12px; text-align: center; min-height: 150px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; background: #fff; }
.stamp.done { border: 2px solid var(--clay); background: var(--clay-soft); }
.stamp .seal { width: 54px; height: 54px; border-radius: 50%; border: 3px double var(--clay); color: var(--clay); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; transform: rotate(-12deg); }
.stamp.todo .seal { border-color: var(--line); color: var(--line); transform: none; }
.stamp strong { font-size: .9rem; line-height: 1.3; }
.progress { height: 10px; background: var(--stone-2); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--clay), var(--gold)); }
.voucher { border: 2px dashed var(--clay); border-radius: 14px; padding: 14px 18px; background: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.voucher code { font-size: 1.25rem; font-weight: 700; color: var(--clay); letter-spacing: .08em; }

/* ---------- Tables / admin ---------- */
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: 11px 13px; text-align: left; border-bottom: 1px solid var(--stone-2); vertical-align: top; }
th { background: #faf9f6; font-weight: 600; color: var(--muted); white-space: nowrap; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
tr:last-child td { border-bottom: 0; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.inline { display: inline; }

.admin-shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: calc(100vh - 64px); }
.admin-nav { background: var(--pine); padding: 20px 12px; }
.admin-nav a { display: block; padding: 9px 12px; color: #cfe1d6; border-radius: 10px; font-weight: 500; font-size: .93rem; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255, 255, 255, .1); color: #fff; }
.admin-nav .group { color: #8fb3a2; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; margin: 16px 12px 6px; }
.admin-main { padding: 26px 24px 60px; min-width: 0; }
.admin-main h1 { font-size: 1.6rem; }
@media (max-width: 860px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-nav { display: flex; overflow-x: auto; gap: 4px; padding: 10px; }
    .admin-nav a { white-space: nowrap; }
    .admin-nav .group { display: none; }
    .admin-main { padding: 20px 16px 50px; }
}
.stat { background: #fff; border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.stat span { color: var(--muted); font-size: .85rem; }
.stat strong { display: block; font-size: 1.5rem; font-family: var(--serif); color: var(--pine); }

/* ---------- Misc ---------- */
.pill-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-filter a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-size: .9rem; background: #fff; }
.pill-filter a.active { background: var(--pine); color: #fff; border-color: var(--pine); }
.filters { background: #fff; padding: 16px; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: 2fr repeat(4, 1fr) auto; gap: 10px; align-items: end; margin-bottom: 24px; }
.filters .field { margin: 0; }
@media (max-width: 960px) { .filters { grid-template-columns: 1fr 1fr; } }
.amenities { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.amenities li { background: var(--stone); border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; font-size: .88rem; }
.room-row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--stone-2); align-items: center; flex-wrap: wrap; }
.room-row:last-child { border-bottom: 0; }
.summary-line { display: flex; justify-content: space-between; padding: 4px 0; }
.summary-line.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 700; font-size: 1.1rem; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--pine-soft); color: var(--pine); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; flex-shrink: 0; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.person { display: flex; gap: 14px; align-items: center; }
.cta-band { background: var(--clay); color: #fff; border-radius: 22px; padding: 36px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #fbe3d6; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); background: #fff; border-radius: var(--radius); border: 1px dashed var(--line); }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 24px; list-style: none; padding: 0; }
.pagination a, .pagination span { padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: .9rem; }
.pagination .active span { background: var(--pine); color: #fff; border-color: var(--pine); }
.pagination .disabled span { color: var(--line); }
.review { padding: 14px 0; border-bottom: 1px solid var(--stone-2); }
.review:last-child { border-bottom: 0; }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-input input { display: none; }
.rating-input label { font-size: 1.6rem; color: var(--line); cursor: pointer; margin: 0; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--gold); }
.prose p { white-space: pre-line; }
.breadcrumbs { font-size: .88rem; margin-bottom: 10px; color: #b9d1c4; }
.breadcrumbs a { color: #e3eee8; }

.site-footer { background: #0c2a21; color: #b9cdc2; padding: 44px 0 26px; margin-top: 40px; }
.site-footer h4 { color: #fff; font-family: var(--font); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: #dbe8e0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 26px; padding-top: 18px; font-size: .85rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Rescue Directory ---------- */
.rd { background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 4px 32px rgba(0,0,0,.08); border: 1px solid var(--line); }
.rd__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.rd__badge { display: inline-flex; align-items: center; gap: 6px; background: #fde8e8; color: #c0392b; font-size: .78rem; font-weight: 700; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; border: 1px solid #f5b8b8; margin-bottom: 10px; }
.rd__title { font-size: 1.5rem; margin: 0 0 6px; }
.rd__sub { color: var(--muted); margin: 0; font-size: .92rem; }
.rd__gps-btn { border: 1.5px solid #1a7a4a; color: #1a7a4a; background: #fff; white-space: nowrap; flex-shrink: 0; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; cursor: pointer; transition: background .15s; }
.rd__gps-btn:hover { background: #e8f5ee; }
.rd__gps-btn:disabled { opacity: .6; cursor: not-allowed; }
.rd__gps-result { display: flex; align-items: center; gap: 10px; background: #e8f5ee; border: 1px solid #a8d8ba; border-radius: 10px; padding: 10px 16px; margin-bottom: 16px; font-size: .9rem; font-weight: 600; color: #0d4f2e; flex-wrap: wrap; }
.rd__gps-copy { background: #1a7a4a; color: #fff; border: none; border-radius: 999px; padding: 5px 14px; font-size: .82rem; font-weight: 600; cursor: pointer; }
.rd__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 768px) { .rd__grid { grid-template-columns: 1fr; } }
.rd__card { border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.rd__card-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.rd__type { font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.rd__type--rescue   { background: #fde8e8; color: #c0392b; border: 1px solid #f5b8b8; }
.rd__type--gas      { background: #fff3e0; color: #e67e22; border: 1px solid #f5d49a; }
.rd__type--ev       { background: #e8f5ee; color: #1a7a4a; border: 1px solid #a8d8ba; }
.rd__phone { font-size: .88rem; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.rd__phone:hover { color: var(--pine); }
.rd__card-title { font-size: 1.05rem; font-weight: 700; margin: 0; color: var(--ink); }
.rd__card-addr { font-size: .84rem; color: var(--muted); margin: 0; }
.rd__card-desc { font-size: .88rem; color: var(--ink); margin: 0; line-height: 1.55; }
.rd__warn { background: #fff8e1; border: 1px solid #ffe082; border-radius: 8px; padding: 10px 14px; font-size: .84rem; color: #795548; line-height: 1.5; }
.rd__card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--stone-2); }
.rd__avail { font-size: .82rem; color: var(--muted); }
.rd__call-btn { padding: 8px 18px; border-radius: 999px; font-size: .88rem; font-weight: 700; text-decoration: none; white-space: nowrap; border: none; cursor: pointer; }
.rd__call-btn--rescue, .rd__call-btn--gas { background: #1e1e1e; color: #fff; }
.rd__call-btn--rescue:hover, .rd__call-btn--gas:hover { background: #333; color: #fff; }
.rd__call-btn--ev { background: #1a7a4a; color: #fff; }
.rd__call-btn--ev:hover { background: #145f39; color: #fff; }

/* ---------- Cost Calculator ---------- */
.cc { background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 4px 32px rgba(0,0,0,.08); border: 1px solid var(--line); }
.cc__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.cc__badge { display: inline-flex; align-items: center; gap: 6px; background: #e8f5ee; color: #1a7a4a; font-size: .78rem; font-weight: 700; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; border: 1px solid #b8dfc8; margin-bottom: 10px; }
.cc__title { font-size: 1.5rem; margin: 0 0 6px; }
.cc__sub { color: var(--muted); margin: 0; font-size: .92rem; }
.cc__copy-btn { white-space: nowrap; flex-shrink: 0; }
.cc__inputs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
@media (max-width: 1024px) { .cc__inputs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .cc__inputs { grid-template-columns: 1fr; } }
.cc__card { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.cc__card-header { display: flex; justify-content: space-between; align-items: center; font-size: .88rem; font-weight: 600; color: var(--ink); }
.cc__card-val { color: #1a7a4a; font-weight: 700; }
.cc__stepper { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cc__step-btn { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--stone); font-size: 1.2rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.cc__step-btn:hover { background: #c8e6d4; border-color: #1a7a4a; }
.cc__step-val { font-size: 1rem; font-weight: 600; text-align: center; white-space: nowrap; }
.cc__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.cc__chip { padding: 5px 11px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .82rem; font-weight: 600; cursor: pointer; transition: all .15s; }
.cc__chip--active { background: #1a7a4a; color: #fff; border-color: #1a7a4a; }
.cc__chip:hover:not(.cc__chip--active) { border-color: #1a7a4a; color: #1a7a4a; }
.cc__toggle-group { display: flex; gap: 6px; flex-wrap: wrap; }
.cc__toggle { padding: 7px 13px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .85rem; font-weight: 600; cursor: pointer; transition: all .15s; white-space: nowrap; }
.cc__toggle--sm { padding: 5px 10px; font-size: .8rem; }
.cc__toggle--active { background: #1a7a4a; color: #fff; border-color: #1a7a4a; }
.cc__toggle:hover:not(.cc__toggle--active) { border-color: #1a7a4a; color: #1a7a4a; }
.cc__sub-opts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cc__sub-label { font-size: .82rem; color: var(--muted); }
.cc__room-note { font-size: .82rem; color: var(--muted); margin: 0; }
/* Result */
.cc__result { background: linear-gradient(135deg, #e8f5ee 0%, #d4eddf 100%); border: 1.5px solid #a8d8ba; border-radius: 14px; padding: 24px 28px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.cc__result-label { font-size: .78rem; font-weight: 800; letter-spacing: .08em; color: #1a7a4a; margin-bottom: 4px; }
.cc__result-total { font-size: 2.4rem; font-weight: 800; font-family: var(--serif); color: #0d4f2e; line-height: 1.1; }
.cc__result-group { font-size: .82rem; color: #2a7a50; margin-top: 4px; }
.cc__result-breakdown { display: flex; flex-wrap: wrap; gap: 10px 24px; flex: 1; }
.cc__item { display: flex; gap: 6px; align-items: center; font-size: .88rem; white-space: nowrap; }
.cc__item strong { font-weight: 700; color: #0d4f2e; }
@media (max-width: 700px) { .cc__result { flex-direction: column; align-items: flex-start; } .cc__result-total { font-size: 1.9rem; } }

/* ---------- Language switcher ---------- */
.lang-switcher { position: relative; }
.lang-switcher__toggle { display: flex; align-items: center; gap: 5px; background: #fff; border: 1.5px solid #fff; color: #1a3a2a; padding: 5px 10px; border-radius: 999px; font-size: .82rem; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .15s; }
.lang-switcher__toggle:hover { background: #e8f0eb; }
.lang-switcher__code { letter-spacing: .04em; }
.lang-switcher__chevron { width: 10px; height: 6px; transition: transform .2s; }
.lang-switcher__toggle[aria-expanded="true"] .lang-switcher__chevron { transform: rotate(180deg); }
.lang-switcher__menu { display: none; position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 24px rgba(0,0,0,.14); min-width: 150px; list-style: none; padding: 6px 0; margin: 0; z-index: 200; }
.lang-switcher__menu.open { display: block; }
.lang-switcher__menu form { margin: 0; }
.lang-switcher__option { width: 100%; display: flex; align-items: center; gap: 8px; padding: 9px 16px; background: none; border: none; font-size: .9rem; color: var(--ink); cursor: pointer; white-space: nowrap; text-align: left; }
.lang-switcher__option:hover { background: var(--stone); }
.lang-switcher__option.active { font-weight: 700; color: var(--pine); }
@media (max-width: 900px) { .lang-switcher__menu { right: auto; left: 0; } }

/* ---------- Social auth buttons ---------- */
.social-auth { display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; }
.btn-social { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 16px; border-radius: var(--radius); font-size: .95rem; font-weight: 600; text-decoration: none; border: 1px solid var(--line); transition: opacity .15s, box-shadow .15s; }
.btn-social:hover { opacity: .88; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.btn-social svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-social--google { background: #fff; color: #3c4043; }
.btn-social--facebook { background: #1877f2; color: #fff; border-color: #1877f2; }
.social-auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 10px; color: var(--muted); font-size: .88rem; }
.social-auth-divider::before, .social-auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---------- Contact widget (floating) ---------- */
.cw { position: fixed; bottom: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
/* items stack */
.cw__items { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; transition: opacity .25s, transform .25s; }
.cw__items.cw--collapsed { opacity: 0; pointer-events: none; transform: translateY(10px); }
/* pill (weather) */
.cw__pill { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap; box-shadow: 0 3px 12px rgba(0,0,0,.18); transition: transform .2s, box-shadow .2s; }
.cw__pill:hover { transform: scale(1.05); box-shadow: 0 5px 18px rgba(0,0,0,.24); }
.cw__pill--weather { background: #1a7a4a; color: #fff; }
.cw__pill-icon { font-size: 1.1rem; line-height: 1; }
/* circles */
.cw__circle { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 3px 12px rgba(0,0,0,.22); transition: transform .2s, box-shadow .2s; position: relative; }
.cw__circle:hover { transform: scale(1.1); box-shadow: 0 5px 18px rgba(0,0,0,.3); }
.cw__circle svg { width: 26px; height: 26px; fill: #fff; }
.cw__circle--zalo { background: #0068ff; }
.cw__circle--fb   { background: #1877f2; }
.cw__circle--phone { background: #1a7a4a; }
/* circle label (tooltip) */
.cw__circle-label { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.7); color: #fff; font-size: .78rem; padding: 4px 10px; border-radius: 999px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.cw__circle:hover .cw__circle-label { opacity: 1; }
/* toggle button */
.cw__toggle { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #1a7a4a; color: #fff; font-size: .9rem; font-weight: 600; border: none; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.22); transition: background .2s, transform .15s; }
.cw__toggle:hover { background: #145f39; transform: scale(1.04); }
.cw__toggle-icon { font-size: 1rem; line-height: 1; }
.cw__toggle[aria-expanded="true"] .cw__toggle-icon { display: none; }
.cw__toggle[aria-expanded="false"] .cw__toggle-close { display: none; }
@media (max-width: 600px) { .cw { display: none; } }

/* ---------- Loop Route Export (lre) ---------- */
.lre { margin: 0 auto; }
.lre__tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.lre__tab { padding: 9px 22px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--text); font-size: .9rem; font-weight: 600; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.lre__tab--active { background: var(--pine); color: #fff; border-color: var(--pine); }
.lre__tab:hover:not(.lre__tab--active) { background: #f1f7f4; border-color: var(--pine); }
.lre__panel--hidden { display: none; }
.lre__head { margin-bottom: 18px; }
.lre__badge { display: inline-flex; align-items: center; gap: 6px; background: #e8f4ee; color: var(--pine); font-size: .78rem; font-weight: 700; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; border: 1px solid #b8ddc8; margin-bottom: 10px; }
.lre__title { font-size: 1.7rem; margin: 0 0 6px; }
.lre__sub { color: var(--muted); margin: 0; font-size: .95rem; }
.lre__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 16px; padding: 20px; background: #f8f9fa; border-radius: var(--radius); margin-bottom: 22px; }
.lre__stat { display: flex; flex-direction: column; gap: 4px; }
.lre__stat-label { font-size: .78rem; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.lre__stat-val { font-size: .95rem; font-weight: 700; color: var(--text); }
.lre__stat-val--warn { color: #c97d1a; }
.lre__stat-val--green { color: var(--pine); }
.lre__export-card { background: linear-gradient(135deg, #0e2a1e 0%, #1a4a30 60%, #1e5c3a 100%); color: #fff; border-radius: 14px; padding: 28px 32px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.lre__export-left { flex: 1; min-width: 260px; }
.lre__live-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.15); color: #a8e6c0; font-size: .75rem; font-weight: 700; letter-spacing: .08em; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); margin-bottom: 8px; }
.lre__export-meta { font-size: .82rem; color: rgba(255,255,255,.65); margin: 0 0 8px; }
.lre__export-title { font-size: 1.25rem; font-weight: 800; color: #fff; margin: 0 0 10px; line-height: 1.35; }
.lre__export-desc { font-size: .88rem; color: rgba(255,255,255,.75); margin: 0; line-height: 1.6; }
.lre__export-actions { display: flex; flex-direction: column; gap: 12px; min-width: 220px; }
.lre__qr-btn { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.35); font-size: .9rem; font-weight: 600; padding: 12px 20px; border-radius: var(--radius); cursor: pointer; transition: background .15s; text-align: center; white-space: nowrap; }
.lre__qr-btn:hover { background: rgba(255,255,255,.22); }
.lre__maps-btn { background: #2ecc71; color: #0e2a1e !important; border: none; font-size: .9rem; font-weight: 700; padding: 12px 20px; border-radius: var(--radius); text-align: center; text-decoration: none; white-space: nowrap; transition: background .15s; }
.lre__maps-btn:hover { background: #27ae60; }
/* QR modal */
.lre__qr-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; }
.lre__qr-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.lre__qr-box { position: relative; background: #fff; border-radius: 16px; padding: 32px 36px; text-align: center; z-index: 1; max-width: 340px; width: 90%; }
.lre__qr-close { position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 1.1rem; cursor: pointer; color: var(--muted); line-height: 1; padding: 4px 6px; }
.lre__qr-close:hover { color: var(--text); }
.lre__qr-label { font-weight: 700; font-size: 1rem; margin: 0 0 18px; color: var(--text); }
#lreQrCanvas img, #lreQrCanvas canvas { margin: 0 auto; display: block; }
.lre__qr-hint { font-size: .82rem; color: var(--muted); margin: 16px 0 0; }
@media (max-width: 700px) { .lre__export-card { padding: 20px; gap: 20px; } .lre__export-actions { min-width: 0; width: 100%; } .lre__export-title { font-size: 1.05rem; } }

/* ---------- AI Chat Widget (aicw) ---------- */
.aicw { position: fixed; bottom: 20px; left: 20px; z-index: 9998; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.aicw__toggle { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #1a3a2a; color: #fff; font-size: .9rem; font-weight: 600; border: none; cursor: pointer; box-shadow: 0 4px 18px rgba(0,0,0,.28); transition: background .2s, transform .15s; position: relative; }
.aicw__toggle:hover { background: #0e2a1e; transform: scale(1.04); }
.aicw__toggle-icon { font-size: 1.1rem; line-height: 1; }
.aicw__badge { position: absolute; top: -5px; right: -5px; background: #e74c3c; color: #fff; font-size: .68rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 999px; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.aicw__panel { position: fixed; bottom: 80px; left: 20px; width: 380px; max-width: calc(100vw - 40px); background: #fff; border-radius: 18px; box-shadow: 0 8px 40px rgba(0,0,0,.18); display: flex; flex-direction: column; overflow: hidden; max-height: 560px; border: 1px solid var(--line); }
/* Header */
.aicw__header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: linear-gradient(135deg, #0e2a1e 0%, #1a4a30 100%); color: #fff; }
.aicw__header-info { display: flex; align-items: center; gap: 10px; }
.aicw__avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.aicw__name { font-size: .9rem; font-weight: 700; }
.aicw__status { font-size: .72rem; color: #7cdfaa; }
.aicw__close { background: none; border: none; color: rgba(255,255,255,.7); font-size: 1rem; cursor: pointer; padding: 4px 6px; line-height: 1; border-radius: 6px; }
.aicw__close:hover { color: #fff; background: rgba(255,255,255,.12); }
/* Messages */
.aicw__messages { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.aicw__msg { display: flex; }
.aicw__msg--user { justify-content: flex-end; }
.aicw__msg--bot { justify-content: flex-start; }
.aicw__bubble { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: .88rem; line-height: 1.55; }
.aicw__msg--user .aicw__bubble { background: var(--pine); color: #fff; border-bottom-right-radius: 4px; }
.aicw__msg--bot .aicw__bubble { background: #f1f5f2; color: var(--text); border-bottom-left-radius: 4px; }
.aicw__bubble ul { margin: 6px 0 0 0; padding-left: 18px; }
.aicw__bubble li { margin-bottom: 3px; }
.aicw__bubble p { margin: 0 0 6px; }
.aicw__bubble p:last-child { margin-bottom: 0; }
/* Typing indicator */
.aicw__typing { display: flex; align-items: center; gap: 5px; padding: 12px 14px !important; }
.aicw__typing span { width: 7px; height: 7px; border-radius: 50%; background: #aab5ae; animation: aicwDot .9s ease-in-out infinite; }
.aicw__typing span:nth-child(2) { animation-delay: .18s; }
.aicw__typing span:nth-child(3) { animation-delay: .36s; }
@keyframes aicwDot { 0%,80%,100% { transform: scale(.7); opacity: .5; } 40% { transform: scale(1); opacity: 1; } }
/* Suggestion panel */
.aicw__sugg-panel { border-top: 1px solid var(--line); padding: 10px 12px 12px; background: #fafafa; max-height: 220px; overflow-y: auto; }
.aicw__sugg-label { font-size: .72rem; color: var(--muted); margin-bottom: 8px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.aicw__sugg-list { display: flex; flex-direction: column; gap: 6px; }
.aicw__chip { background: #fff; border: 1.5px solid #c8ddd0; color: #1a3a2a; font-size: .82rem; font-weight: 500; padding: 8px 12px; border-radius: 10px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; text-align: left; line-height: 1.4; }
.aicw__chip:hover { background: #e8f4ee; border-color: var(--pine); }
.aicw__chip--active { background: var(--pine); border-color: var(--pine); color: #fff; }
/* Answer bubble extras */
.aicw__heading { display: block; margin-bottom: 4px; font-size: .95rem; }
.aicw__bubble--empty { color: var(--muted); font-style: italic; }
@media (max-width: 600px) { .aicw { bottom: 14px; left: 14px; } .aicw__toggle-label { display: none; } .aicw__toggle { padding: 11px 13px; } .aicw__panel { left: 10px; bottom: 76px; width: calc(100vw - 20px); max-height: 70vh; } }

/* ---------- Sửa lỗi nhỏ ---------- */
[hidden] { display: none !important; }
.form-grid > * { min-width: 0; }
input[type=date] { min-width: 0; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; background: var(--pine); }

/* ═══════════════════════════════════════════════════════════
   Itinerary Builder  /xay-lich-trinh
   ═══════════════════════════════════════════════════════════ */
.itb-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; max-width: 1200px; margin: 0 auto; padding: 32px 20px 60px; }
.itb-left  { min-width: 0; }
.itb-right { position: sticky; top: 72px; }
.itb-tabs { display: flex; gap: 0; margin-bottom: 24px; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--border,#e5e7eb); background: var(--surface,#fff); }
.itb-tab  { flex: 1; padding: 10px 4px; text-align: center; font-size: .78rem; font-weight: 600; cursor: pointer; border: none; background: none; color: var(--muted,#6b7280); border-right: 1.5px solid var(--border,#e5e7eb); transition: .15s; line-height: 1.3; }
.itb-tab:last-child { border-right: none; }
.itb-tab .tab-num  { display: block; font-size: 1rem; margin-bottom: 2px; }
.itb-tab.active    { background: var(--clay,#c0392b); color: #fff; }
.itb-tab.done      { color: var(--clay,#c0392b); background: rgba(192,57,43,.06); }
.itb-panel         { display: none; }
.itb-panel.active  { display: block; }
.itb-panel-title   { font-size: 1.15rem; font-weight: 700; margin: 0 0 4px; }
.itb-panel-desc    { font-size: .85rem; color: var(--muted,#6b7280); margin: 0 0 16px; }
.itb-grid          { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 10px; }
.itb-grid-wide     { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.itb-item          { border: 2px solid var(--border,#e5e7eb); border-radius: 10px; padding: 11px 13px; cursor: pointer; transition: border-color .12s, background .12s; user-select: none; background: var(--surface,#fff); position: relative; }
.itb-item:hover    { border-color: rgba(192,57,43,.5); }
.itb-item.sel      { border-color: var(--clay,#c0392b); background: rgba(192,57,43,.05); }
.itb-item-name     { font-weight: 600; font-size: .88rem; padding-right: 20px; }
.itb-item-sub      { font-size: .75rem; color: var(--muted,#6b7280); margin-top: 3px; }
.itb-item-tick     { position: absolute; top: 10px; right: 10px; color: var(--clay,#c0392b); font-size: .95rem; opacity: 0; transition: opacity .12s; }
.itb-item.sel .itb-item-tick { opacity: 1; }
.itb-route-card    { border: 2px solid var(--border,#e5e7eb); border-radius: 12px; padding: 16px 18px; cursor: pointer; transition: .15s; }
.itb-route-card:hover { border-color: rgba(192,57,43,.5); }
.itb-route-card.sel { border-color: var(--clay,#c0392b); background: rgba(192,57,43,.05); }
.itb-route-card h3 { margin: 0 0 5px; font-size: 1rem; display: flex; justify-content: space-between; align-items: start; }
.itb-route-tick    { color: var(--clay,#c0392b); font-size: 1.1rem; opacity: 0; flex-shrink: 0; }
.itb-route-card.sel .itb-route-tick { opacity: 1; }
.itb-tag           { display: inline-block; padding: 2px 8px; border-radius: 4px; background: var(--surface-2,#f3f4f6); font-size: .73rem; margin-top: 5px; margin-right: 4px; }
.itb-group-head    { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 6px; }
.itb-group-title   { font-size: .93rem; font-weight: 700; }
.itb-select-all    { font-size: .78rem; color: var(--clay,#c0392b); background: none; border: none; padding: 0; cursor: pointer; text-decoration: underline; }
.itb-nav           { display: flex; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border,#e5e7eb); }
.itb-sidebar       { background: var(--surface,#fff); border: 1.5px solid var(--border,#e5e7eb); border-radius: 14px; overflow: hidden; }
.itb-sidebar-head  { background: #1a1a2e; color: #e8e0d8; padding: 16px 18px; }
.itb-sidebar-head h3 { margin: 0 0 2px; font-size: 1rem; }
.itb-sidebar-head p  { margin: 0; font-size: .78rem; color: #b8b0a8; }
.itb-sidebar-body  { padding: 14px 16px; max-height: calc(100vh - 160px); overflow-y: auto; }
.itb-sb-section    { margin-bottom: 14px; }
.itb-sb-title      { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted,#6b7280); margin-bottom: 6px; display: flex; justify-content: space-between; align-items: center; }
.itb-sb-count      { background: var(--clay,#c0392b); color: #fff; font-size: .68rem; padding: 1px 7px; border-radius: 999px; font-weight: 700; }
.itb-sb-empty      { font-size: .8rem; color: var(--muted,#6b7280); font-style: italic; }
.itb-sb-chip       { display: inline-flex; align-items: center; gap: 5px; background: var(--surface-2,#f3f4f6); border-radius: 6px; padding: 3px 8px; font-size: .78rem; margin: 2px 2px 2px 0; cursor: pointer; transition: .12s; }
.itb-sb-chip:hover { background: rgba(192,57,43,.12); color: var(--clay,#c0392b); }
.itb-sb-chip .rm   { color: var(--muted,#9ca3af); font-size: .7rem; }
.itb-sidebar-foot  { border-top: 1.5px solid var(--border,#e5e7eb); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.itb-export-btn    { display: flex; align-items: center; justify-content: center; gap: 6px; background: #1a1a2e; color: #e8e0d8; border: none; border-radius: 9px; padding: 11px 16px; font-size: .88rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: .15s; width: 100%; }
.itb-export-btn:hover { background: #2a2a4e; color: #fff; }
.itb-export-btn:disabled { opacity: .45; cursor: not-allowed; }
.itb-leg-link      { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: rgba(192,57,43,.08); border-radius: 8px; color: var(--clay,#c0392b); font-size: .82rem; font-weight: 600; text-decoration: none; transition: .12s; }
.itb-leg-link:hover { background: rgba(192,57,43,.16); }
@media (max-width: 820px) {
  .itb-wrap  { grid-template-columns: 1fr; }
  .itb-right { position: static; }
  .itb-sidebar-body { max-height: 320px; }
  .itb-tabs .itb-tab span:not(.tab-num) { display: none; }
}
@media (max-width: 500px) {
  .itb-grid { grid-template-columns: 1fr 1fr; }
}
