:root {
  --lux-bg: #f6f2ec;
  --lux-panel: #fffdf8;
  --lux-ink: #2b241a;
  --lux-ink-muted: #6c6153;
  --lux-gold: #c8a86b;
  --lux-gold-dark: #a07f45;
  --lux-line: rgba(70, 60, 45, 0.14);
  --lux-shadow: 0 20px 40px rgba(40, 32, 20, 0.12);
  --lux-night: #15120d;
  --lux-night-2: #1c1711;
  --lux-night-3: #231c14;
}

body.luxury-theme {
  background: var(--lux-bg);
  color: var(--lux-ink);
  font-family: "Garamond", "Times New Roman", serif;
}

.luxury-theme .content-wrapper {
  background: var(--lux-bg);
}

.luxury-theme .main-header .logo,
.luxury-theme .main-header .navbar {
  background: #fffdf8;
  color: var(--lux-ink);
  box-shadow: 0 6px 18px rgba(40, 32, 20, 0.08);
  position: relative;
}

.skin-blue.luxury-theme .main-header .logo,
.skin-blue.luxury-theme .main-header .navbar {
  background: #fffdf8 !important;
  color: var(--lux-ink) !important;
}

.luxury-theme .main-header .logo {
  border-bottom: 1px solid var(--lux-line);
}

.luxury-theme .main-header .navbar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(200, 168, 107, 0.12), rgba(255, 255, 255, 0) 35%),
              linear-gradient(180deg, rgba(0, 0, 0, 0.02), transparent 60%);
  pointer-events: none;
}

.luxury-theme .main-header .navbar .sidebar-toggle {
  color: var(--lux-ink);
}

.luxury-theme .main-header .navbar .sidebar-toggle:hover {
  background: rgba(200, 168, 107, 0.12);
}

.luxury-theme .main-header .navbar .navbar-custom-menu > .nav > li > a {
  position: relative;
}

.luxury-theme .main-header .navbar .navbar-custom-menu > .nav > li > a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 168, 107, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.luxury-theme .main-header .navbar .navbar-custom-menu > .nav > li > a:hover::after {
  opacity: 1;
}

.luxury-theme .main-sidebar {
  background: #f6f1e7;
}

.skin-blue.luxury-theme .main-sidebar,
.skin-blue.luxury-theme .left-side {
  background: #f6f1e7 !important;
  min-height: 100vh;
}

.luxury-theme .sidebar,
.skin-blue.luxury-theme .sidebar {
  background: #f6f1e7 !important;
  min-height: 100vh;
}

.skin-blue.luxury-theme .wrapper,
.skin-blue.luxury-theme .main-sidebar,
.skin-blue.luxury-theme .left-side,
.skin-blue.luxury-theme .main-sidebar .sidebar,
.skin-blue.luxury-theme .main-sidebar .sidebar-menu,
.skin-blue.luxury-theme .main-sidebar .sidebar-menu > li {
  background-color: #f6f1e7 !important;
}

.skin-blue.luxury-theme .sidebar-menu > li > a,
.skin-blue.luxury-theme .sidebar-menu > li.active > a,
.skin-blue.luxury-theme .sidebar-menu > li > a:hover,
.skin-blue.luxury-theme .sidebar-menu > li > a:focus {
  background: #fffdf8 !important;
  color: #1f1a12 !important;
}

.skin-blue.luxury-theme .treeview-menu > li > a,
.skin-blue.luxury-theme .treeview-menu > li.active > a,
.skin-blue.luxury-theme .treeview-menu > li > a:hover,
.skin-blue.luxury-theme .treeview-menu > li > a:focus {
  background: #fffdf8 !important;
  color: #1f1a12 !important;
}

.skin-blue.luxury-theme .main-sidebar::after,
.skin-blue.luxury-theme .left-side::after,
.skin-blue.luxury-theme .sidebar::after,
.skin-blue.luxury-theme .control-sidebar-bg {
  background: #f6f1e7 !important;
}

.luxury-theme .sidebar {
  border-right: 1px solid var(--lux-line);
  box-shadow: inset -1px 0 0 rgba(200, 168, 107, 0.06);
}

.luxury-theme .main-sidebar::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--lux-gold), transparent);
}

.luxury-theme .sidebar-menu > li.header {
  color: #9f8450;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 11px;
  background: transparent;
}

.skin-blue.luxury-theme .sidebar-menu > li.header,
.luxury-theme .sidebar-menu > li.header {
  background: transparent !important;
  color: #9f8450 !important;
}

.skin-blue.luxury-theme .sidebar,
.skin-blue.luxury-theme .sidebar-menu > li > a,
.skin-blue.luxury-theme .sidebar-menu > li > a:hover,
.skin-blue.luxury-theme .sidebar-menu > li.active > a,
.skin-blue.luxury-theme .treeview-menu {
  background: transparent;
}

.skin-blue.luxury-theme .sidebar-menu,
.skin-blue.luxury-theme .sidebar-menu > li,
.skin-blue.luxury-theme .sidebar-menu > li.header {
  background: transparent !important;
}

.skin-blue.luxury-theme .sidebar-menu > li.header {
  color: #9f8450 !important;
  border-bottom: 1px solid rgba(200, 168, 107, 0.18);
}

.skin-blue.luxury-theme .sidebar a {
  color: #3d3326 !important;
}

.luxury-theme .sidebar-menu > li > a {
  color: #3d3326;
  padding: 12px 15px;
  font-weight: 600;
}

.luxury-theme .sidebar-menu > li > a:hover,
.luxury-theme .sidebar-menu > li.active > a {
  background: #fffdf8;
  color: #1f1a12;
  border-left: 3px solid var(--lux-gold);
  padding-left: 12px;
  border-radius: 12px;
  margin: 2px 10px 2px 8px;
}

.luxury-theme .sidebar-menu > li > a {
  border-radius: 12px;
  margin: 2px 10px 2px 8px;
}

.luxury-theme .sidebar-menu > li > a .fa {
  color: var(--lux-gold-dark);
  text-shadow: none;
}

.luxury-theme .sidebar-menu > li > a:hover .fa,
.luxury-theme .sidebar-menu > li.active > a .fa {
  color: var(--lux-gold-dark);
}

.luxury-theme .treeview-menu {
  background: rgba(200, 168, 107, 0.08);
}

.luxury-theme .treeview-menu > li > a {
  color: #4a3f30;
  font-weight: 500;
}

.luxury-theme .treeview-menu > li > a:hover {
  color: #1f1a12;
  background: #fffdf8;
}

.luxury-theme .sidebar-menu > li {
  border-bottom: 1px solid rgba(200, 168, 107, 0.12);
}

.luxury-theme .sidebar-menu > li.header {
  border-bottom: 1px solid rgba(200, 168, 107, 0.18);
  margin-top: 6px;
  padding-bottom: 6px;
}

.luxury-theme .box {
  border-radius: 12px;
  border: 1px solid var(--lux-line);
  box-shadow: var(--lux-shadow);
  background: var(--lux-panel);
}

.luxury-theme .box-header {
  border-bottom: 1px solid var(--lux-line);
}

.luxury-theme .box-title {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.luxury-theme .btn {
  border-radius: 6px;
  font-weight: 600;
}

.luxury-theme .btn-primary {
  background: linear-gradient(180deg, var(--lux-gold) 0%, var(--lux-gold-dark) 100%);
  border-color: var(--lux-gold-dark);
  color: #1f1a12;
}

.luxury-theme .btn-primary:hover,
.luxury-theme .btn-primary:focus {
  background: linear-gradient(180deg, #d1b377 0%, #b39255 100%);
  border-color: var(--lux-gold-dark);
  color: #1f1a12;
}

.luxury-theme .btn-default {
  border-color: #d8d0c2;
  color: #5a4f3d;
}

.luxury-theme .btn-success {
  background: #2f6f5e;
  border-color: #2a5f51;
}

.luxury-theme .btn-info {
  background: #3f5f7a;
  border-color: #36546a;
}

.luxury-theme .btn-danger {
  background: #7a3f3f;
  border-color: #6a3636;
}

.luxury-theme .table {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.luxury-theme .table > thead > tr > th {
  background: #f4efe7;
  color: #3b3226;
  border-bottom: 1px solid var(--lux-line);
}

.luxury-theme table.dataTable thead th {
  background: #f4efe7;
  color: #3b3226;
}

.luxury-theme table.dataTable tbody tr {
  background: #fffdf9;
}

.luxury-theme .table > tbody > tr > td {
  border-top: 1px solid #eee6d8;
}

.luxury-theme .small-box {
  border-radius: 14px;
  box-shadow: var(--lux-shadow);
  background: #fffdf9;
  border: 1px solid var(--lux-line);
  color: var(--lux-ink);
}

.luxury-theme .small-box.bg-aqua,
.luxury-theme .small-box.bg-green,
.luxury-theme .small-box.bg-yellow,
.luxury-theme .small-box.bg-red {
  background: #fffdf9 !important;
  color: var(--lux-ink) !important;
}

.luxury-theme .small-box h3 {
  font-family: "Garamond", "Times New Roman", serif;
  letter-spacing: 0.02em;
}

.luxury-theme .small-box .icon {
  color: rgba(196, 164, 106, 0.25);
}

.luxury-theme .info-box {
  border-radius: 12px;
  box-shadow: var(--lux-shadow);
  border: 1px solid var(--lux-line);
}

.luxury-theme .nav-tabs-custom > .nav-tabs {
  border-bottom-color: var(--lux-line);
}

.luxury-theme .nav-tabs-custom > .nav-tabs > li.active > a {
  border-top-color: var(--lux-gold);
  color: var(--lux-ink);
}

.luxury-theme .menu-selector .menu-category-list {
  max-height: 420px;
  overflow-y: auto;
  border-radius: 10px;
  border: 1px solid var(--lux-line);
  background: #fffdf9;
}

.luxury-theme .menu-selector .menu-category-item,
.luxury-theme .menu-selector .menu-section-item {
  border: 0;
  border-bottom: 1px solid #eee6d8;
  color: #3b3226;
  font-weight: 600;
}

.luxury-theme .menu-selector .menu-category-item.active,
.luxury-theme .menu-selector .menu-category-item:hover,
.luxury-theme .menu-selector .menu-section-item.active,
.luxury-theme .menu-selector .menu-section-item:hover {
  background: rgba(196, 164, 106, 0.18);
  color: #1f1a12;
}

.luxury-theme .menu-selector .menu-options {
  max-height: 420px;
  overflow-y: auto;
  padding: 10px 14px;
  border: 1px solid var(--lux-line);
  border-radius: 10px;
  background: #fffdf9;
}

.luxury-theme .menu-selector .menu-summary {
  max-height: 420px;
  overflow-y: auto;
  padding: 12px 14px;
  border: 1px solid var(--lux-line);
  border-radius: 10px;
  background: #fffdf9;
}

.luxury-theme .menu-summary-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.luxury-theme .menu-templates .btn {
  margin-top: 6px;
  width: 100%;
}

.luxury-theme .menu-selector .menu-summary-group {
  margin-bottom: 12px;
}

.luxury-theme .menu-selector .menu-summary-group strong {
  display: block;
  margin-bottom: 6px;
  color: #3b3226;
}

.luxury-theme .menu-item-row {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.luxury-theme .menu-item-photos img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 8px;
  margin-left: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.luxury-theme .callout.callout-info {
  background: #f5efe6;
  border-color: #e5dccd;
  color: #4b3f2f;
}

.luxury-theme .pagination > .active > a,
.luxury-theme .pagination > .active > span {
  background-color: var(--lux-gold);
  border-color: var(--lux-gold-dark);
  color: #1f1a12;
}

.luxury-theme .form-control {
  border-radius: 6px;
  border-color: #d8d0c2;
}

.luxury-theme .box-footer {
  border-top: 1px solid var(--lux-line);
}

.luxury-theme .content-header > h1 {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.luxury-theme .user-panel > .info,
.luxury-theme .user-panel > .info > a {
  color: #3d3326;
}

.luxury-theme .navbar-custom-menu > .nav > li > a {
  color: var(--lux-ink);
}

.luxury-theme .navbar-custom-menu > .nav > li > a:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 767px) {
  .luxury-theme .main-header .navbar {
    box-shadow: none;
  }
}
