/* ================================================
   LUMI — Components (components.css)
   Navbar, Footer, Buttons, Cards, Forms, Modals
   Theme: #0e1416 (Dark Onyx), #001b48 (Royal Navy), #ffffff (Crisp White)
   ================================================ */

/* NAVBAR */
.lumi-navbar {
  background: rgba(14, 20, 22, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--beige);
  padding: 0.9rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: var(--transition);
}
.lumi-navbar.scrolled { box-shadow: var(--shadow-sm); padding: 0.6rem 0; }
.navbar-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  text-decoration: none;
}
.navbar-brand img, .brand-logo {
  height: 46px !important;
  max-height: 46px !important;
  width: auto !important;
  object-fit: contain;
}
.navbar-brand .logo-subtext {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  letter-spacing: 3.5px;
  color: var(--gold-dark);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2px;
}
.navbar-brand .logo-text {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 1px;
  line-height: 0.9;
}
.navbar-brand .logo-text span.logo-flame {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-dark);
  font-weight: 400;
  display: inline-block;
  margin-left: -1px;
}
.navbar-brand .logo-tagline {
  font-size: 0.58rem;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  margin-top: 3px;
}
.lumi-nav-link {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-body) !important;
  padding: 0.4rem 1rem !important;
  transition: var(--transition);
  position: relative;
}
.lumi-nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 1.5px;
  background: var(--gold-dark);
  transition: var(--transition);
  border-radius: 2px;
}
.lumi-nav-link:hover,
.lumi-nav-link.active { color: var(--text-dark) !important; }
.lumi-nav-link:hover::after,
.lumi-nav-link.active::after { width: 60%; }

.nav-icon-btn {
  background: none; border: none; cursor: pointer;
  padding: 0.4rem; color: var(--text-dark); font-size: 1.1rem;
  position: relative; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
}
.nav-icon-btn:hover { background: var(--beige); color: var(--gold-dark); }
#cart-badge {
  position: absolute; top: -2px; right: -2px;
  width: 18px; height: 18px;
  background: var(--navy-accent); color: var(--white);
  border: 1px solid var(--gold-dark);
  font-size: 0.62rem; font-weight: 600;
  border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  font-family: var(--font-sans);
}
#nav-user-dropdown { display: none; align-items: center; gap: 0.25rem; cursor: pointer; }
.navbar-toggler { border: none !important; box-shadow: none !important; }

/* FOOTER */
.lumi-footer {
  background: #080d0f;
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--beige);
}
.footer-logo .logo-text {
  font-family: var(--font-serif); font-size: 2rem; font-weight: 600;
  color: var(--white); letter-spacing: 3px; text-transform: uppercase;
}
.footer-logo .logo-tagline {
  font-size: 0.62rem; letter-spacing: 4px; color: var(--gold-dark);
  text-transform: uppercase; font-family: var(--font-sans); font-weight: 500;
}
.footer-tagline { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.75rem; max-width: 220px; }
.footer-heading {
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 1.25rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--beige);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-body); font-size: 0.9rem; transition: var(--transition);
}
.social-icon:hover { background: var(--navy-accent); color: var(--white); border-color: var(--gold-dark); transform: translateY(-2px); }
.footer-divider { border-color: var(--beige); margin: 2.5rem 0 1.5rem; }
.footer-bottom { font-size: 0.82rem; color: var(--text-muted); }

/* BUTTONS */
.btn-lumi {
  font-family: var(--font-sans); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 0.85rem 2.2rem; border-radius: var(--btn-radius);
  transition: var(--transition); cursor: pointer; border: none;
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.btn-lumi-primary { background: var(--navy-accent); color: var(--white); border: 1px solid var(--gold-dark); box-shadow: var(--shadow-gold-sm); }
.btn-lumi-primary:hover { background: var(--navy-hover); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 30px var(--shadow-gold); }
.btn-lumi-outline { background: transparent; color: var(--white); border: 1.5px solid var(--navy-accent); }
.btn-lumi-outline:hover { background: var(--navy-accent); color: var(--white); transform: translateY(-2px); }
.btn-lumi-dark { background: var(--navy-accent); color: var(--white); border: 1px solid var(--beige); }
.btn-lumi-dark:hover { background: var(--navy-hover); color: var(--white); transform: translateY(-2px); }
.btn-lumi-sm { font-size: 0.75rem; padding: 0.6rem 1.4rem; }
.btn-icon-lumi {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: var(--transition); cursor: pointer;
  border: 1.5px solid var(--beige); background: var(--bg-card); color: var(--text-muted); font-size: 1rem;
}
.btn-icon-lumi:hover { border-color: var(--gold-dark); color: var(--white); background: var(--navy-accent); }
.btn-icon-lumi.wishlisted { background: #2A151A; border-color: #e8a0a0; color: #f56565; }

/* PRODUCT CARD */
.product-card {
  background: var(--bg-surface); border-radius: var(--card-radius);
  overflow: hidden; transition: var(--transition-slow);
  border: 1px solid var(--beige); position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-dark); }
.product-card-img-wrap {
  position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: var(--bg-card); border-bottom: 1px solid var(--beige);
}
.product-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.product-card:hover .product-card-img-wrap img { transform: scale(1.07); }
.product-card-actions {
  position: absolute; top: 0.75rem; right: 0.75rem;
  display: flex; flex-direction: column; gap: 0.4rem;
  opacity: 0; transform: translateX(8px); transition: var(--transition);
}
.product-card:hover .product-card-actions { opacity: 1; transform: translateX(0); }
.product-card-badge { position: absolute; top: 0.75rem; left: 0.75rem; }
.product-card-body { padding: 1.2rem; }
.product-card-category { font-size: 0.68rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 0.3rem; }
.product-card-name { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 500; color: var(--text-dark); margin-bottom: 0.5rem; line-height: 1.3; }
.product-card-price { font-size: 1rem; font-weight: 600; color: var(--text-dark); font-family: var(--font-sans); }
.product-card-price .compare-price { font-size: 0.82rem; color: var(--text-muted); text-decoration: line-through; margin-left: 0.4rem; font-weight: 400; }
.product-card-footer { padding: 0 1.2rem 1.2rem; }
.btn-add-cart {
  width: 100%; font-size: 0.78rem; padding: 0.7rem 1rem;
  background: var(--bg-card); color: var(--white);
  border: 1.5px solid var(--beige); border-radius: 50px;
  font-family: var(--font-sans); font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.btn-add-cart:hover { background: var(--navy-accent); color: var(--white); border-color: var(--gold-dark); }

/* FORMS */
.lumi-form-group { margin-bottom: 1.25rem; }
.lumi-label { font-size: 0.78rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 0.5rem; }
.lumi-input {
  width: 100%; padding: 0.85rem 1.2rem;
  border: 1.5px solid var(--beige); border-radius: var(--input-radius);
  background: var(--bg-surface); color: var(--text-dark);
  font-family: var(--font-sans); font-size: 0.95rem; transition: var(--transition); outline: none;
}
.lumi-input:focus { border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(75,131,230,0.2); }
.lumi-input::placeholder { color: var(--text-muted); }
.lumi-select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.input-icon-wrap { position: relative; }
.input-icon-wrap .input-icon { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.95rem; }
.input-icon-wrap .lumi-input { padding-left: 2.8rem; }

/* AUTH CARD */
.auth-card { background: var(--bg-surface); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--beige); border-radius: 24px; padding: 2.5rem; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.auth-title { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 500; color: var(--text-dark); margin-bottom: 0.3rem; }
.auth-subtitle { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 2rem; }
.btn-google { width: 100%; padding: 0.8rem 1.2rem; border: 1.5px solid var(--beige); border-radius: var(--input-radius); background: var(--bg-card); color: var(--text-dark); font-family: var(--font-sans); font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.btn-google:hover { border-color: var(--gold-dark); box-shadow: var(--shadow-sm); }
.auth-divider { position: relative; text-align: center; margin: 1.5rem 0; }
.auth-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--beige); }
.auth-divider span { position: relative; background: var(--bg-surface); padding: 0 1rem; font-size: 0.8rem; color: var(--text-muted); }
.otp-inputs { display: flex; gap: 0.75rem; justify-content: center; margin: 1.5rem 0; }
.otp-box { width: 52px; height: 58px; text-align: center; font-size: 1.5rem; font-family: var(--font-serif); font-weight: 600; border: 2px solid var(--beige); border-radius: var(--input-radius); background: var(--bg-card); color: var(--text-dark); transition: var(--transition); outline: none; }
.otp-box:focus { border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(75,131,230,0.2); }

/* MODAL */
.lumi-modal .modal-content { border: 1px solid var(--beige); border-radius: 20px; box-shadow: var(--shadow-lg); background: var(--bg-surface); color: var(--text-dark); }
.lumi-modal .modal-header { border-bottom: 1px solid var(--beige); padding: 1.5rem 1.75rem 1rem; }
.lumi-modal .modal-title { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 500; color: var(--text-dark); }
.lumi-modal .modal-body { padding: 1.5rem 1.75rem; }
.lumi-modal .modal-footer { border-top: 1px solid var(--beige); padding: 1rem 1.75rem; }

/* STAR RATING */
.star-rating { color: #f59e0b; font-size: 0.9rem; }
.star-rating .star-empty { color: var(--beige-dark); }

/* QTY SELECTOR */
.qty-selector { display: flex; align-items: center; border: 1.5px solid var(--beige); border-radius: 50px; overflow: hidden; width: fit-content; background: var(--bg-card); }
.qty-btn { background: none; border: none; cursor: pointer; width: 40px; height: 42px; display: flex; align-items: center; justify-content: center; color: var(--text-dark); font-size: 1.1rem; transition: var(--transition); }
.qty-btn:hover { background: var(--beige); }
.qty-input { width: 48px; text-align: center; border: none; outline: none; font-size: 0.95rem; font-weight: 500; color: var(--text-dark); font-family: var(--font-sans); background: transparent; }

/* REVIEW CARD */
.review-card { background: var(--bg-surface); border-radius: var(--card-radius); padding: 1.75rem; border: 1px solid var(--beige); transition: var(--transition); }
.review-card:hover { box-shadow: var(--shadow-sm); border-color: var(--gold-dark); }
.reviewer-name { font-weight: 600; font-size: 0.95rem; color: var(--text-dark); }
.review-date { font-size: 0.78rem; color: var(--text-muted); }
.review-text { font-size: 0.92rem; color: var(--text-body); line-height: 1.6; margin-top: 0.75rem; }

/* ORDER STEPS */
.order-steps { display: flex; flex-direction: column; gap: 0; }
.order-step { display: flex; align-items: flex-start; gap: 1rem; padding-bottom: 1.5rem; position: relative; }
.order-step:not(:last-child)::before { content: ''; position: absolute; left: 14px; top: 32px; width: 2px; height: calc(100% - 16px); background: var(--beige); }
.order-step.completed::before { background: var(--navy-accent); }
.step-dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--beige); background: var(--bg-card); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: var(--text-muted); flex-shrink: 0; position: relative; z-index: 1; }
.order-step.completed .step-dot { background: var(--navy-accent); border-color: var(--gold-dark); color: var(--white); }
.order-step.active .step-dot { border-color: var(--gold-dark); color: var(--gold-dark); animation: pulseGold 2s infinite; }
.step-info-title { font-size: 0.9rem; font-weight: 500; color: var(--text-dark); }
.step-info-date { font-size: 0.8rem; color: var(--text-muted); }

/* ADMIN */
.admin-sidebar { width: 240px; background: var(--bg-surface); border-right: 1px solid var(--beige); min-height: 100vh; display: flex; flex-direction: column; padding: 1.5rem 0; position: fixed; left: 0; top: 0; bottom: 0; overflow-y: auto; }
.admin-main { margin-left: 240px; min-height: 100vh; background: var(--bg-dark); padding: 2rem; }
.admin-nav-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1.5rem; font-size: 0.88rem; font-weight: 500; color: var(--text-body); cursor: pointer; transition: var(--transition); border-left: 3px solid transparent; text-decoration: none; }
.admin-nav-item:hover, .admin-nav-item.active { background: var(--bg-card); color: var(--white); border-left-color: var(--navy-accent); }
.admin-nav-item i { width: 18px; text-align: center; }
.stat-card { background: var(--bg-surface); border-radius: var(--card-radius); padding: 1.5rem; border: 1px solid var(--beige); display: flex; align-items: center; gap: 1.25rem; transition: var(--transition); }
.stat-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); border-color: var(--gold-dark); }
.stat-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.stat-icon.gold  { background: var(--navy-accent);  color: var(--white); border: 1px solid var(--gold-dark); }
.stat-icon.green { background: #143823;              color: #48bb78; }
.stat-icon.blue  { background: #11284a;              color: #4b83e6; }
.stat-icon.pink  { background: #3d1428;              color: #f472b6; }
.stat-value { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 600; color: var(--text-dark); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; margin-top: 0.25rem; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--bg-surface); border-radius: var(--card-radius); overflow: hidden; border: 1px solid var(--beige); }
.admin-table th { background: var(--bg-card); font-size: 0.72rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); padding: 1rem 1.25rem; text-align: left; }
.admin-table td { padding: 1rem 1.25rem; border-top: 1px solid var(--beige); font-size: 0.9rem; color: var(--text-body); vertical-align: middle; }
.admin-table tr:hover td { background: var(--bg-card); }
.status-pill { display: inline-block; padding: 0.28em 0.9em; border-radius: 50px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.status-processing    { background: #3a2e10; color: #f6ad55; }
.status-shipped       { background: #102a45; color: #63b3ed; }
.status-out_for_delivery { background: #143823; color: #68d391; }
.status-delivered     { background: #143823; color: #68d391; }
.status-cancelled     { background: #3d1418; color: #fc8181; }

/* ANNOUNCEMENT BAR */
.announcement-bar {
  background: var(--navy-accent);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  padding: 0.45rem 1rem;
  font-family: var(--font-sans);
  border-bottom: 1px solid var(--gold-dark);
}

/* MOOD BADGE & NOTE PILL */
.badge-mood {
  display: inline-block;
  background: var(--navy-accent);
  color: var(--white);
  border: 1px solid var(--gold-dark);
  border-radius: 50px;
  padding: 0.3em 0.9em;
  font-size: 0.78rem;
  font-weight: 500;
  font-family: var(--font-sans);
}

.note-pill {
  display: inline-block;
  background: var(--bg-card);
  color: var(--gold-dark);
  border: 1px solid var(--beige);
  border-radius: 50px;
  padding: 0.35em 1em;
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--font-sans);
}

/* SPECIFICATION BLOCK */
.spec-box {
  background: var(--bg-surface);
  border: 1px solid var(--beige);
  border-radius: var(--card-radius);
  padding: 1.5rem;
}
.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--beige);
  font-size: 0.88rem;
}
.spec-item:last-child {
  border-bottom: none;
}
.spec-label {
  color: var(--text-muted);
  font-weight: 500;
}
.spec-value {
  color: var(--text-dark);
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 992px) { .admin-sidebar { display: none; } .admin-main { margin-left: 0; } }
@media (max-width: 768px) { .auth-card { padding: 1.75rem 1.25rem; } .otp-box { width: 44px; height: 50px; font-size: 1.3rem; } }
