/* Bàn xoay sản phẩm INNO — chỉnh lại mẫu La Table cho dược mỹ phẩm (không có đầu trang/chân trang riêng, nhúng vào trang chủ) */
:root { --header-height: 0px; }
body { padding-top: 0; }
html { scrollbar-gutter: auto; scroll-padding-top: 0; }
html.nhung, html.nhung body { overflow: hidden; background: transparent; }
html.nhung .experience { background: radial-gradient(ellipse at 50% 44%, #fffdf7 0, var(--paper) 76%); border-radius: 28px; overflow: hidden; padding-bottom: 28px; }

/* font có chân hiển thị đúng dấu tiếng Việt */
.details h1, .price, .dish-card strong, .detail-panel h2, .table-caption b { font-family: 'Be Vietnam Pro', Inter, sans-serif !important; }
.price { font-size: 19px; letter-spacing: 0; }
.details h1 { letter-spacing: -.5px; }

/* hộp chi tiết: mở giữa phần khung đang thấy trên màn hình */
.dish-dialog { top: var(--vt, 0px); bottom: auto; height: var(--vh, 100dvh); }
.detail-panel { max-height: calc(var(--vh, 100dvh) - 40px); }
@media (max-width: 600px) { .detail-panel { max-height: calc(var(--vh, 100dvh) - 36px); } }

/* thành phần hoạt chất: biểu tượng giọt / phân tử thay cho ảnh nguyên liệu */
.ingredient-photo { background-image: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; }
.ingredient-photo::before { content: ''; width: 18px; height: 18px; background: currentColor; border-radius: 50% 0 50% 50%; transform: rotate(-45deg); box-shadow: inset -3px 3px 0 rgba(255,255,255,.35); }
.hoat-chat-0 { background: #e7f1e9; color: #2f7a4b; }
.hoat-chat-1 { background: #f6ecdc; color: #b07a2b; }
.hoat-chat-2 { background: #e9eef5; color: #3d6a9c; }
.hoat-chat-3 { background: #f4e6e8; color: #a24a5c; }
.ingredient-name { font-size: 13px; line-height: 1.4; }
.detail-facts strong { font-size: 13.5px; line-height: 1.45; display: block; }
.detail-facts small, .detail-price-label { font-size: 11px; }

/* phần đáy: tư vấn + 2 nút */
.detail-zalo { font-size: 19px !important; letter-spacing: 0 !important; color: #1f5d3c; text-decoration: none; }
.detail-zalo:hover { text-decoration: underline; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.order-ghost { background: transparent; color: rgb(128, 98, 61); }
.order-ghost:hover { background: #f1e9da; color: rgb(98, 74, 45); }
.order-button { cursor: pointer; }
@media (max-width: 600px) {
  .detail-bottom { flex-direction: column; align-items: stretch; }
  .detail-actions { justify-content: stretch; }
  .detail-actions .order-button { flex: 1 1 0; padding: 12px 14px; }
}

/* thẻ sản phẩm: tên dòng thay cho giá */
.card-price { font-size: 11px; letter-spacing: .2px; }
.ingredient-tags span { font-size: 11px; }
/* chữ trái giống video mẫu: chữ thường */
.table-caption b { text-transform: none; font-weight: 600; letter-spacing: -.5px; font-size: 32px; line-height: 1.25; }
@media (min-width: 601px) { .detail-actions { flex-wrap: nowrap; } .detail-actions .order-button { padding: 12px 16px; } .detail-bottom { gap: 12px; } }
@media (max-width: 600px) { .price { font-size: 16px !important; white-space: nowrap; } }

/* ===== MÀU + FONT THEO WEB INNO (xanh #1f5d3c / #123a26, cam #d9731a) VÀ TRANG BÁN HÀNG (tím #8B5CF6 → hồng #FF5FA0, xanh ngọc #06D6A0) ===== */
:root { --paper: #f7f5f0; --ink: #123a26; --orange: #d9731a; --inno: #1f5d3c; --inno-dam: #123a26; --tim: #8B5CF6; --hong: #FF5FA0; --ngoc: #06D6A0; }
body, button, .details, .menu-section, .detail-panel { font-family: Inter, 'Be Vietnam Pro', sans-serif; }
.details h1 { font-weight: 600 !important; letter-spacing: -1.2px; color: var(--inno-dam); }
.detail-panel h2 { font-weight: 600 !important; letter-spacing: -.8px; color: var(--inno-dam); }
.dish-card strong { font-weight: 600 !important; color: var(--inno-dam); font-size: 15px; line-height: 1.3; }
.price { font-weight: 600 !important; color: var(--inno); }
.table-caption b { color: var(--inno-dam); }
.table-kicker, .eyebrow, .detail-kicker, .menu-counter { color: var(--orange) !important; }
.eyebrow::before, .eyebrow::after { background: #e8b585 !important; }
.description, .detail-copy, .table-caption p, .orbit-hint p { color: #3e5247 !important; }
.ingredient-tags span { color: var(--inno) !important; font-weight: 500; }
.menu-heading h2 { color: #3e5247; } .menu-heading h2 b { color: var(--inno-dam); }
/* nút khám phá + thẻ đang chọn: xanh INNO */
.explore-dish { background: #e9f3ec !important; border-color: #bcd9c6 !important; color: var(--inno-dam) !important; }
.explore-arrow { background: var(--inno) !important; }
.explore-arrow img { filter: brightness(0) invert(1); }
.explore-dish:hover { background: #dcecdf !important; }
.dish-card:hover { border-color: #9cc5ab !important; background: #fff !important; }
.dish-card[aria-pressed="true"] { border-color: var(--inno) !important; background: #e4f1e8 !important; box-shadow: 0 0 0 1px var(--inno) inset; }
.card-price { color: #5d7a69 !important; }
.pager button.active, .pager .active { background: var(--inno) !important; }
.arrow-button:hover { background: var(--inno) !important; border-color: var(--inno) !important; }
.arrow-button:hover img { filter: brightness(0) invert(1); }
/* hộp chi tiết */
.detail-panel { background: #fffdfa !important; border-color: #e6ebe4 !important; }
.detail-facts div { background: #eef5f0 !important; }
.detail-facts small, .detail-price-label { color: #5d7a69 !important; }
.ingredient-item, .detail-ingredients li { background: #fbfaf7 !important; border-color: #e8ebe3 !important; }
.ingredient-name { color: #23402f !important; word-break: break-word; hyphens: auto; }
.hoat-chat-0 { background: #e6f9f2; color: #06a57c; } .hoat-chat-1 { background: #f1ebff; color: var(--tim); }
.hoat-chat-2 { background: #ffeaf3; color: #e2468a; } .hoat-chat-3 { background: #fff1e3; color: var(--orange); }
.detail-zalo { color: #0068FF !important; }
.dialog-close { background: #f1f5f2 !important; border-color: #d8e3db !important; color: var(--inno) !important; }
.dialog-close:hover { background: var(--inno) !important; color: #fff !important; }
.order-ghost { border-color: var(--inno) !important; color: var(--inno) !important; background: transparent !important; }
.order-ghost:hover { background: #e9f3ec !important; }
/* nút đặt hàng = màu trang bán hàng */
#order-dish { background: linear-gradient(135deg, var(--tim), var(--hong)) !important; border: 0 !important; box-shadow: 0 8px 22px rgba(139, 92, 246, .28); }
#order-dish:hover { filter: brightness(1.06); box-shadow: 0 10px 26px rgba(255, 95, 160, .32); }
/* chữ hoạt chất luôn nằm trong ô: xuống dòng, ngắt từ dài có gạch nối */
.ingredient-item { min-width: 0; overflow: hidden; }
.ingredient-photo { flex: 0 0 44px; width: 44px !important; height: 44px !important; }
.ingredient-name { flex: 1 1 auto; min-width: 0; font-size: 13px !important; line-height: 1.35 !important; overflow-wrap: anywhere; hyphens: manual; }
@media (max-width: 600px) {
  .ingredient-photo { flex-basis: 40px; width: 40px !important; height: 40px !important; }
  .ingredient-name { font-size: 12px !important; width: 100%; }
}
/* nút Nhắn Zalo ở phần Tư vấn miễn phí */
.nut-zalo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 9px; background: #0068FF; color: #fff !important; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 104, 255, .25); transition: background .2s, transform .2s; }
.nut-zalo:hover { background: #0052cc; transform: translateY(-1px); }
@media (max-width: 600px) { .nut-zalo { width: 100%; justify-content: center; } }
/* chữ nhãn tối thiểu 11px cho dễ đọc */
.eyebrow, .table-kicker, .detail-kicker, .menu-counter, .ingredient-tags span, .card-price, .detail-price-label, .detail-facts small, .orbit-hint p, .preparation { font-size: max(11px, 1em) !important; }
.eyebrow, .table-kicker, .detail-kicker, .menu-counter { font-size: 11px !important; }
/* chữ bên trái/phải: hạ xuống dưới mép bàn gỗ, không để bàn che (căn theo đỉnh, không căn giữa) */
.hero-side-content { align-items: flex-start; top: 232px; }
.orbit-hint { margin-top: 26px; }
@media (min-width: 901px) and (max-width: 1100px) { .hero-side-content { top: calc(452px - 17vw); } }
@media (max-width: 900px) { .hero-side-content { top: 262px; } }
@media (min-width: 601px) and (max-width: 760px) { .hero-side-content { top: 288px; } }
@media (max-width: 1100px) { .table-caption b { font-size: 26px; } }
@media (max-width: 900px) { .table-caption b { font-size: 19px; } .table-caption p { font-size: 11px; } }
@media (min-width: 601px) and (max-width: 760px) { .table-caption b { font-size: 16px; } .table-caption p { display: none; } .table-kicker { font-size: 9px !important; } .orbit-hint p { display: none; } }
/* ===== chống chữ chồng nhau ===== */
/* chỉ định: thành từng thẻ nhỏ, xuống hàng gọn gàng (không dùng gạch đứng bị gãy khi xuống dòng) */
.ingredient-tags { gap: 6px 8px; padding: 0 12px; }
.ingredient-tags span { padding: 4px 11px !important; border: 1px solid #cfe3d6 !important; border-radius: 999px; background: #f1f8f3; line-height: 1.35 !important; }
.ingredient-tags span + span { border-left: 1px solid #cfe3d6 !important; }
/* dòng nhóm sản phẩm + xuất xứ: cho phép xuống hàng, giữ nguyên cụm chữ */
.dish-meta { flex-wrap: wrap; gap: 6px 18px; padding: 0 12px; }
.preparation { white-space: nowrap; }
.eyebrow { line-height: 1.5; text-align: center; }
@media (max-width: 600px) {
  .eyebrow { letter-spacing: 1px !important; padding: 0 18px; }
  .eyebrow::before, .eyebrow::after { display: none !important; }
  .details h1 { font-size: 34px !important; line-height: 1.15; padding: 0 12px; }
  .meta-divider { display: none; }
  .price { font-size: 15px !important; }
  .preparation { font-size: 12px; }
  .ingredient-tags span { font-size: 11.5px !important; }
  .dish-card strong { font-size: 13.5px !important; }
  .card-price { font-size: 11px !important; line-height: 1.3; }
  .menu-heading { gap: 10px; align-items: flex-end; }
  .menu-heading h2 { font-size: 13px; line-height: 1.4; }
  .menu-counter { white-space: nowrap; }
}
/* mô tả dưới tên sản phẩm: đậm màu, to hơn cho dễ đọc */
.description { color: #24382c !important; font-size: 14.5px !important; line-height: 1.7 !important; font-weight: 400; max-width: 640px; }
@media (min-width: 761px) and (max-width: 900px) { .hero-side-content { top: 286px; } }
@media (max-width: 600px) { .description { font-size: 14px !important; } }
@media (max-width: 600px) { :root { --duration: 850ms; } }
html.nhung.cho-tai .experience { opacity: 0; } html.nhung .experience { transition: opacity .3s ease; }
