/* Mystery Gift — main stylesheet
   Theme: luxury / gift / mystery — deep plum + gold accents */

:root {
  --mg-plum: #2e1a3e;
  --mg-plum-dark: #1d1029;
  --mg-gold: #d4a94a;
  --mg-gold-light: #f2d98a;
  --mg-cream: #fdf9f3;
}

body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: var(--mg-cream);
  color: #2b2b2b;
}

a { text-decoration: none; }

/* ---------- Navbar ---------- */
.mg-navbar {
  background: linear-gradient(90deg, var(--mg-plum-dark), var(--mg-plum));
}
.mg-navbar .nav-link {
  color: #f1e6d8 !important;
}
.mg-navbar .nav-link:hover {
  color: var(--mg-gold) !important;
}
.cart-badge {
  position: absolute;
  top: -2px;
  right: -8px;
  font-size: 0.65rem;
}

/* ---------- Buttons ---------- */
.btn-mg-gold {
  background-color: var(--mg-gold);
  border-color: var(--mg-gold);
  color: #2b1c0e;
  font-weight: 600;
}
.btn-mg-gold:hover {
  background-color: var(--mg-gold-light);
  border-color: var(--mg-gold-light);
  color: #2b1c0e;
}
.btn-mg-outline {
  border: 2px solid var(--mg-plum);
  color: var(--mg-plum);
  font-weight: 600;
  background: transparent;
}
.btn-mg-outline:hover {
  background: var(--mg-plum);
  color: #fff;
}

/* ---------- Hero ---------- */
.mg-hero {
  background: radial-gradient(circle at top right, var(--mg-plum) 0%, var(--mg-plum-dark) 70%);
  color: #fff;
  padding: 80px 0;
}
.mg-hero h1 {
  font-weight: 800;
  font-size: 2.6rem;
}
.mg-hero .subheading {
  color: var(--mg-gold-light);
  font-size: 1.2rem;
}

/* ---------- Product cards ---------- */
.product-card {
  border: none;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform .15s ease, box-shadow .15s ease;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}
.product-card img {
  height: 220px;
  object-fit: cover;
  width: 100%;
  background: #eee;
}
.price-strike {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9rem;
}
.price-main {
  color: var(--mg-plum);
  font-weight: 700;
  font-size: 1.15rem;
}

/* ---------- How it works ---------- */
.how-it-works .step-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--mg-plum);
  color: var(--mg-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 12px;
}

/* ---------- Footer ---------- */
.mg-footer {
  background: var(--mg-plum-dark);
  color: #e6dcca;
}
.mg-footer a {
  color: #e6dcca;
}
.mg-footer a:hover {
  color: var(--mg-gold);
}

/* ---------- WhatsApp float button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: #25D366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1050;
}
.whatsapp-float:hover { color: #fff; opacity: 0.9; }

/* ---------- Order tracking timeline ---------- */
.timeline-step {
  text-align: center;
  flex: 1;
  position: relative;
}
.timeline-step .dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ccc;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
}
.timeline-step.active .dot { background: var(--mg-plum); }
.timeline-step.done .dot { background: #2ea043; }

/* ---------- Admin ---------- */
.admin-sidebar {
  background: var(--mg-plum-dark);
  min-height: 100vh;
}
.admin-sidebar a {
  color: #e6dcca;
  display: block;
  padding: 10px 16px;
  border-radius: 6px;
}
.admin-sidebar a:hover, .admin-sidebar a.active {
  background: var(--mg-plum);
  color: var(--mg-gold-light);
}
.stat-card {
  border-radius: 12px;
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* Sensitive: hide the assigned jewellery from customer views entirely (defense-in-depth;
   the real control is simply never querying/echoing it on customer-facing pages). */
.admin-only-jewellery-info { display: none; }
