/* Member portal home dashboard */
.lux-home {
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  padding: 0 !important;
}

.content-wrapper.lux-home-wrapper .content.lux-home {
  padding: 0 !important;
}

.lux-home-hero {
  position: relative;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(118deg, #5b0d19 0%, #6b1428 48%, #7a1834 100%);
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 24px rgba(74, 21, 40, 0.15);
  min-height: 260px;
}

.lux-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../image/home/hero-jewellery.png") right 8% center / cover no-repeat;
  opacity: 1;
  pointer-events: none;
}

.lux-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(45, 8, 20, 0.93) 0%,
    rgba(60, 14, 30, 0.78) 42%,
    rgba(75, 18, 38, 0.28) 68%,
    rgba(30, 8, 18, 0.08) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.lux-home-hero-container {
  position: relative;
  z-index: 2;
  padding: 1.5rem 1rem 1rem;
}

.lux-home-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

.lux-home-hero-inner {
  padding: 0.25rem 0 0.5rem;
}

.lux-home-welcome {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.35rem;
  max-width: 100%;
  line-height: 1.28;
}

.lux-home-welcome-accent {
  color: #e4c17a;
}

.lux-home-tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.35;
  max-width: 100%;
}

.lux-home-brand-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  margin: auto 0 0;
  width: 100%;
  background: #fff;
  border-radius: 18px;
  padding: 0.75rem 0.9rem;
  box-shadow: 0 8px 24px rgba(28, 8, 16, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.lux-home-brand-card--empty {
  margin: 1rem 0 1.5rem;
  display: block;
}

.lux-home-brand-card-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
  padding-right: 0.75rem;
}

.lux-home-brand-logo-frame {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  flex-shrink: 0;
  background: linear-gradient(155deg, #6b1428 0%, #8b1e3a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.lux-home-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none;
  background: transparent;
  border-radius: 0;
}

.lux-home-brand-logo-fallback {
  color: #e4c17a;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
}

.lux-home-brand-meta {
  flex: 1;
  min-width: 140px;
}

.lux-home-brand-name {
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #3d2040;
  margin: 0 0 0.3rem;
  letter-spacing: -0.01em;
}

.lux-home-brand-detail {
  margin: 0 0 0.15rem;
  font-size: 0.78rem;
  color: #5c5258;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lux-home-icon-loc {
  color: #d64555;
  font-size: 0.9rem;
  width: 1rem;
  text-align: center;
}

.lux-home-icon-phone {
  color: #2fa878;
  font-size: 0.85rem;
  width: 1rem;
  text-align: center;
}

.lux-home-brand-divider {
  width: 1px;
  align-self: stretch;
  background: #e5ddd8;
  margin: 0.25rem 0.85rem;
  flex-shrink: 0;
}

.lux-home-brand-card-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 0 0 38%;
  max-width: 46%;
  padding-left: 0.1rem;
}

.lux-home-colors-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
  gap: 0.35rem;
}

.lux-home-colors-head span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #8a7872;
}

.lux-home-colors-head button {
  border: none;
  background: none;
  color: #9a8578;
  padding: 0;
  font-size: 0.8rem;
  cursor: default;
  line-height: 1;
}

.lux-home-color-dots {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
}

.lux-home-color-dot {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .lux-home-brand-card {
    flex-direction: column;
    gap: 0;
  }

  .lux-home-brand-card-left {
    padding-right: 0;
  }

  .lux-home-brand-divider {
    width: auto;
    height: 1px;
    margin: 0.85rem 0;
  }

  .lux-home-brand-card-right {
    min-width: 0;
    padding-left: 0;
  }

  .lux-home-color-dots {
    flex-wrap: wrap;
  }
}

.lux-home-section-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #3d2a32;
  margin: 0 0 0.85rem 0.25rem;
}

.lux-home-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 991.98px) {
  .lux-home-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .lux-home-quick-grid {
    grid-template-columns: 1fr;
  }
}

.lux-home-quick-card {
  border: none;
  text-align: left;
  border-radius: 16px;
  padding: 1rem 1rem 0.9rem;
  min-height: 120px;
  position: relative;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  background: #fff;
  box-shadow: 0 2px 12px rgba(60, 20, 40, 0.06);
}

.lux-home-quick-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(60, 20, 40, 0.1);
}

.lux-home-quick-card--pink {
  background: linear-gradient(160deg, #fff5f7 0%, #ffe8ee 100%);
}

.lux-home-quick-card--blue {
  background: linear-gradient(160deg, #f3f8ff 0%, #e6f0ff 100%);
}

.lux-home-quick-card--gold {
  background: linear-gradient(160deg, #fffbf3 0%, #fff0d9 100%);
}

.lux-home-quick-card--mint {
  background: linear-gradient(160deg, #f2fbf7 0%, #e3f5ed 100%);
}

.lux-home-quick-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 0.65rem;
  background: rgba(255, 255, 255, 0.85);
}

.lux-home-quick-card--pink .lux-home-quick-icon {
  color: #c45c7a;
}

.lux-home-quick-card--blue .lux-home-quick-icon {
  color: #4a7fd4;
}

.lux-home-quick-card--gold .lux-home-quick-icon {
  color: #c4923a;
}

.lux-home-quick-card--mint .lux-home-quick-icon {
  color: #3d9a72;
}

.lux-home-quick-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: #32252c;
}

.lux-home-quick-card p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #6f6168;
  padding-right: 1.75rem;
}

.lux-home-quick-arrow {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #6b5c62;
}

.lux-home-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.75fr;
  gap: 1rem;
  align-items: start;
}

@media (max-width: 1199.98px) {
  .lux-home-main-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lux-home-aside {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (max-width: 767.98px) {
  .lux-home-main-grid,
  .lux-home-aside {
    grid-template-columns: 1fr;
  }
}

.lux-home-plan-card {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  min-height: 260px;
  background: #2d1520 url("../image/home/plan-ring-bg.png") center / cover no-repeat;
  color: #fff;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 10px 30px rgba(40, 10, 25, 0.2);
}

.lux-home-plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(35, 12, 22, 0.92) 0%,
    rgba(35, 12, 22, 0.45) 45%,
    rgba(35, 12, 22, 0.15) 100%
  );
}

.lux-home-plan-card > * {
  position: relative;
  z-index: 1;
}

.lux-home-plan-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}

.lux-home-plan-card .lux-home-plan-status {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.lux-home-plan-card .lux-home-plan-note {
  font-size: 0.82rem;
  opacity: 0.82;
  margin-bottom: 1rem;
}

.lux-home-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #3d2010;
  background: linear-gradient(180deg, #f5e6c8 0%, #d4af6a 100%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.lux-home-btn-gold:hover {
  opacity: 0.95;
  color: #2d1510;
}

.lux-home-usage-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.15rem 1.2rem;
  border: 1px solid #f0e6ea;
  box-shadow: 0 4px 20px rgba(40, 10, 25, 0.05);
  min-height: 260px;
}

.lux-home-usage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.lux-home-usage-head h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: #32252c;
}

.lux-home-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #fff6e8;
  color: #b8862b;
  border: 1px solid #f0dfa8;
}

.lux-home-usage-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.lux-home-stat {
  border-radius: 14px;
  padding: 0.85rem 0.65rem;
  text-align: center;
  background: #faf7f8;
  border: 1px solid #f3ecef;
}

.lux-home-stat i {
  font-size: 1rem;
  color: #9a4d63;
  margin-bottom: 0.35rem;
}

.lux-home-stat .value {
  font-weight: 700;
  font-size: 1.05rem;
  color: #32252c;
  display: block;
}

.lux-home-stat .label {
  font-size: 0.72rem;
  color: #7a6d73;
}

.lux-home-side-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.15rem 1.2rem;
  border: 1px solid #f0e6ea;
  box-shadow: 0 4px 20px rgba(40, 10, 25, 0.05);
  margin-bottom: 1rem;
}

.lux-home-side-card:last-child {
  margin-bottom: 0;
}

.lux-home-sub-status {
  text-align: center;
}

.lux-home-sub-status .crown {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin: 0 auto 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f8efe3, #e8d5b8);
  color: #8b6914;
  font-size: 1.1rem;
}

.lux-home-sub-status h4 {
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
}

.lux-home-badge-muted {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #f3f0f1;
  color: #6b5c62;
  margin-bottom: 0.5rem;
}

.lux-home-sub-status p {
  font-size: 0.8rem;
  color: #7a6d73;
  margin-bottom: 0.85rem;
}

.lux-home-btn-primary {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(145deg, #8b2344 0%, #5c1530 100%);
}

.lux-home-btn-primary:hover {
  color: #fff;
  opacity: 0.95;
}

.lux-home-highlights h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lux-home-highlights ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lux-home-highlights li {
  font-size: 0.82rem;
  color: #4a3d42;
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
  line-height: 1.4;
}

.lux-home-highlights li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.45rem;
  font-size: 0.65rem;
  color: #3d9a72;
}

.lux-home-callout {
  background: linear-gradient(145deg, #fff8f3 0%, #fff 100%);
  border: 1px dashed #e8c4d0;
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.lux-home-plans-mount {
  margin-top: 1.5rem;
}

.content-wrapper.lux-home-wrapper {
  background: #f8f4f5;
}

.lux-home > .container-fluid {
  padding-bottom: 1.5rem;
}