/* =============================================================================
   One Vela · Luxe Theme (มู้ดแอนด์โทนใหม่ 18 ส.ค. 2569 — ไอซ์สั่ง)
   เอสเปรสโซเข้ม + ทองแดง/ทอง + เซริฟ Cormorant · เรียบหรูแบบอสังหาฯ ระดับบน
   ใช้เป็น "กรอบ" ของทุกหน้า: nav / hero / footer โทนเข้ม · เนื้อหางานยังอ่านง่าย
   ============================================================================= */
:root {
  /* โทนเข้ม (กรอบ) */
  --lx-espresso: #17110d;
  --lx-espresso-2: #241a14;
  --lx-bark: #33251b;
  --lx-smoke: rgba(255,255,255,.08);

  /* ทองแดง / ทอง */
  --lx-copper: #c8894f;
  --lx-copper-2: #a86c39;
  --lx-gold: #d8b98a;
  --lx-sand: #e6d5bb;

  /* ตัวหนังสือบนพื้นเข้ม */
  --lx-ivory: #f7f2ea;
  --lx-ivory-2: rgba(247,242,234,.72);
  --lx-ivory-3: rgba(247,242,234,.46);

  --lx-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --lx-sans: 'Inter', 'Sarabun', -apple-system, system-ui, sans-serif;
}

/* ── Nav โทนเข้ม ── */
.lx-nav {
  position: sticky; top: 0; z-index: 900;
  display: flex; align-items: center; gap: 30px;
  padding: 16px 34px;
  background: rgba(23,17,13,.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--lx-smoke);
}
.lx-brand { text-decoration: none; color: var(--lx-ivory); line-height: 1; }
.lx-brand .n { font-family: var(--lx-serif); font-size: 27px; font-weight: 400; letter-spacing: .17em; }
.lx-brand .s { font-size: 9.5px; letter-spacing: .42em; color: var(--lx-ivory-3); margin-top: 5px; }
.lx-menu { display: flex; gap: 26px; margin-left: 18px; }
.lx-menu a {
  color: var(--lx-ivory-2); text-decoration: none; font-size: 12px; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase; padding: 6px 0; position: relative; white-space: nowrap;
}
.lx-menu a:hover { color: var(--lx-ivory); }
.lx-menu a.on { color: var(--lx-ivory); }
.lx-menu a.on::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--lx-copper);
}
.lx-nav .sp { flex: 1; }
.lx-user {
  display: flex; align-items: center; gap: 11px; text-decoration: none;
  padding: 5px 13px 5px 5px; border-radius: 100px; border: 1px solid transparent; transition: .18s;
}
.lx-user:hover { border-color: var(--lx-smoke); background: rgba(255,255,255,.04); }
.lx-user .av {
  width: 38px; height: 38px; border-radius: 100px; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(135deg, var(--lx-copper), var(--lx-copper-2));
  color: #fff; font-weight: 700; font-size: 13.5px; letter-spacing: .04em; flex-shrink: 0;
}
.lx-user .av img { width: 100%; height: 100%; object-fit: cover; }
.lx-user .nm { color: var(--lx-ivory); font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.lx-user .rl { color: var(--lx-ivory-3); font-size: 11px; }
.lx-bell {
  position: relative; width: 38px; height: 38px; border-radius: 100px; border: none; cursor: pointer;
  background: transparent; color: var(--lx-ivory-2); font-size: 17px; display: grid; place-items: center;
}
.lx-bell:hover { background: rgba(255,255,255,.05); color: var(--lx-ivory); }
.lx-bell .dot {
  position: absolute; top: 7px; right: 8px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 100px; background: var(--lx-copper); color: #fff;
  font: 700 10px/16px var(--lx-sans); text-align: center; border: 2px solid var(--lx-espresso);
}

/* ── แถบคุณค่าแบรนด์ (ท้ายหน้า) ── */
.lx-values {
  display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 0;
  background: var(--lx-espresso-2); border-top: 1px solid var(--lx-smoke);
}
.lx-values > div { padding: 26px 30px; display: flex; align-items: center; gap: 15px; border-left: 1px solid var(--lx-smoke); }
.lx-values > div:first-child { border-left: none; }
.lx-values .ico {
  width: 46px; height: 46px; border-radius: 100px; border: 1px solid rgba(200,137,79,.42);
  display: grid; place-items: center; color: var(--lx-copper); font-size: 19px; flex-shrink: 0;
}
.lx-values h4 { font-size: 15px; font-weight: 600; color: var(--lx-ivory); }
.lx-values p { font-size: 12.5px; color: var(--lx-ivory-3); margin-top: 2px; line-height: 1.5; }
.lx-values .brandmark .n { font-family: var(--lx-serif); font-size: 26px; letter-spacing: .16em; color: var(--lx-ivory); }
.lx-values .brandmark .t { font-family: var(--lx-serif); font-style: italic; font-size: 14px; color: var(--lx-ivory-3); margin-top: 3px; }

/* ── Footer ── */
.lx-foot {
  background: var(--lx-espresso); color: var(--lx-ivory-3);
  padding: 18px 34px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px; border-top: 1px solid var(--lx-smoke);
}
.lx-foot a { color: var(--lx-ivory-3); text-decoration: none; margin-left: 24px; }
.lx-foot a:hover { color: var(--lx-gold); }

@media (max-width: 1000px) {
  .lx-nav { padding: 13px 18px; gap: 14px; }
  .lx-menu { display: none; }
  .lx-values { grid-template-columns: 1fr 1fr; }
  .lx-values > div:nth-child(3) { border-left: none; }
  .lx-foot { padding: 16px 18px; }
}
@media (max-width: 620px) {
  .lx-values { grid-template-columns: 1fr; }
  .lx-values > div { border-left: none; border-top: 1px solid var(--lx-smoke); }
  .lx-user .nm, .lx-user .rl { display: none; }
}

/* =============================================================================
   Luxe overlay สำหรับหน้าทำงาน (เนื้อหายังพื้นสว่างอ่านง่าย · กรอบเป็นโทนเข้มหรู)
   วิธีใช้: <link rel="stylesheet" href="/shared/onevela-luxe.css"> ต่อจาก onevela-design.css
   ============================================================================= */
.ov-nav {
  background: rgba(23,17,13,.95) !important;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: none !important;
}
.ov-nav .brand, .ov-nav .brand * { color: var(--lx-ivory) !important; }
.ov-nav .brand .brand-mark { filter: saturate(.85); }
.ov-nav .brand small, .ov-nav .breadcrumb { color: var(--lx-ivory-3) !important; }
.ov-nav .link {
  color: var(--lx-ivory-2) !important; letter-spacing: .12em; font-size: 12px; text-transform: uppercase; font-weight: 600;
}
.ov-nav .link:hover { color: var(--lx-gold) !important; background: transparent !important; }
.ov-nav .chip {
  background: rgba(255,255,255,.07) !important; color: var(--lx-ivory) !important;
  border: 1px solid rgba(232,213,187,.22) !important;
}

/* หัวข้อใหญ่ให้หรูขึ้นทุกหน้า */
h1, h2.sec, .hero-c h1 { letter-spacing: -.02em; }
h1 em, h2.sec em, .hero-c h1 em { color: var(--lx-copper) !important; }

/* ปุ่มหลัก = ทองแดง */
.btn:not(.sec), button.pri, .btn-checkin {
  background: linear-gradient(135deg, var(--lx-copper), var(--lx-copper-2)) !important;
  border-color: transparent !important; color: #fff !important;
  box-shadow: 0 6px 18px rgba(168,108,57,.26) !important;
}
