/* ========== ADMIN LAYOUT ========== */
.admin-layout {
  display: flex;
  min-height: calc(100vh - 120px);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.sidebar {
  width: 220px;
  background: #ffffff;
  padding: 18px 14px;
  margin-right: 30px;
  border-radius: 20px;
  border: 1px solid #ece8f4;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.sidebar a {
  display: block;
  color: #1f1f1f;
  padding: 14px 18px;
  margin-bottom: 8px;
  text-decoration: none;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 12px;
  border-left: none;
  transition: all 0.25s ease;
}

.sidebar a:hover {
  background: #f5f1ff;
  color: #5e17eb;
}

.sidebar a.active {
  background: linear-gradient(135deg, #6a3df0, #8f6df8);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(94, 23, 235, 0.22);
}

.admin-main {
  flex: 1;
  padding-top: 20px;
}

/* ========== ADMIN HEADER ========== */
.admin-header {
  margin-bottom: 40px;
}

.admin-header h1 {
  color: #5e17eb;
  font-family: "Belleza", Arial, sans-serif;
  font-size: 28px;
  margin: 0 0 10px 0;
}

.welcome-text {
  color: #666;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

/* ========== STATS CARDS ========== */
/* ========== STATS CARDS ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  border: 1px solid var(--nova-card-border);
  box-shadow: 0 4px 15px rgba(94, 23, 235, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(94, 23, 235, 0.15);
}

.stat-card .number {
  font-size: 36px;
  font-weight: bold;
  color: #5e17eb;
  margin: 10px 0;
  font-family: Arial, Helvetica, sans-serif;
}

.stat-card h3 {
  color: #666;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* ========== DASHBOARD PANELS ========== */
.dashboard-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.dashboard-panel {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--nova-card-border);
  box-shadow: 0 4px 15px rgba(94, 23, 235, 0.08);
  padding: 25px;
  margin-bottom: 30px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.panel-header h2 {
  margin: 0;
  color: #5e17eb;
  font-family: "Belleza", Arial, sans-serif;
  font-size: 20px;
}

.panel-link {
  color: #5e17eb;
  text-decoration: none;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
}

.panel-link:hover {
  text-decoration: underline;
  color: #3a0e9b;
}

/* ========== TABLES ========== */
.products-table-container,
.orders-table-container,
.users-table-container,
.reviews-table-container {
  max-height: 500px;
  overflow-y: auto;
  border-radius: 10px;
}

.admin-table,
.orders-table,
.products-table,
.reviews-table,
.users-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.orders-table th,
.products-table th,
.reviews-table th,
.users-table th {
  background: #f8f9fa;
  padding: 15px;
  text-align: left;
  font-weight: 600;
  color: #666;
  font-family: Arial, Helvetica, sans-serif;
  border-bottom: 2px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 1;
}

.admin-table td,
.orders-table td,
.products-table td,
.reviews-table td,
.users-table td {
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
  font-family: Arial, Helvetica, sans-serif;
}

.admin-table tr:hover,
.orders-table tr:hover,
.products-table tr:hover,
.reviews-table tr:hover,
.users-table tr:hover {
  background: #f9f5ff;
}

/* ORDER MODAL */
.orders-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(22, 22, 26, 0.28);
  padding: 20px 16px;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  backdrop-filter: blur(3px);
}

.orders-modal-content {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  animation: ordersModalFade 0.18s ease;
}

@keyframes ordersModalFade {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.orders-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #f3f2f7;
  color: #4a4a4a;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.orders-modal-close:hover {
  background: #ece6ff;
  color: #5f1fff;
}

.orders-modal-header {
  background: #ffffff;
  border-radius: 22px 22px 0 0;
  padding: 22px 24px 14px;
  border-bottom: 1px solid #ececf2;
  box-shadow: 0 10px 24px rgba(22, 22, 26, 0.05);
}

.orders-modal-header h2 {
  margin: 0;
  color: #5f1fff;
  font-size: 24px;
  line-height: 1.1;
}

.orders-modal-header p {
  margin: 6px 0 0;
  color: #6f6f76;
  font-size: 14px;
}

.orders-modal-body {
  background: #f5f6fa;
  padding: 16px;
  max-height: 76vh;
  overflow-y: auto;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 16px 36px rgba(22, 22, 26, 0.08);
}

.orders-modal-loading {
  text-align: center;
  color: #666;
  font-size: 14px;
  padding: 24px 0;
}

.orders-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.orders-modal-card {
  background: #ffffff;
  border: 1px solid #ececf2;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 6px 16px rgba(22, 22, 26, 0.04);
}

.orders-modal-card + .orders-modal-card {
  margin-top: 14px;
}

.orders-modal-card h3 {
  margin: 0 0 12px;
  color: #5f1fff;
  font-size: 18px;
  line-height: 1.2;
}

.orders-modal-line {
  margin-bottom: 10px;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}

.orders-modal-line strong {
  color: #111;
}

.orders-modal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}

.orders-modal-table th,
.orders-modal-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid #ececec;
  font-size: 14px;
  vertical-align: middle;
}

.orders-modal-table th {
  color: #606068;
  font-weight: 700;
  background: #fafafa;
}

.orders-modal-total {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #ececec;
  text-align: right;
  font-size: 20px;
  font-weight: 700;
  color: #5f1fff;
}

.orders-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  margin-left: 8px;
}

.orders-status-processing {
  background: #efe3ff;
  color: #6a1bff;
}

.orders-status-packed {
  background: #fff1d8;
  color: #b26a00;
}

.orders-status-shipped {
  background: #efe3ff;
  color: #6a1bff;
}

.orders-status-delivered {
  background: #e6f7ec;
  color: #157347;
}

.orders-status-cancelled {
  background: #fdeaea;
  color: #c62828;
}

.orders-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.orders-action-btn {
  border: none;
  border-radius: 12px;
  padding: 11px 16px;
  background: #efe3ff;
  color: #5f1fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: 0 4px 10px rgba(95, 31, 255, 0.06);
}

.orders-action-btn:hover {
  background: #e4d4ff;
  transform: translateY(-1px);
}

.orders-action-btn-danger {
  background: #fdeaea;
  color: #c62828;
  box-shadow: 0 4px 10px rgba(198, 40, 40, 0.06);
}

.orders-action-btn-danger:hover {
  background: #f8dada;
}

@media (max-width: 820px) {
  .orders-modal {
    padding: 12px 8px;
  }

  .orders-modal-content {
    max-width: 100%;
  }

  .orders-modal-header {
    padding: 18px 16px 12px;
    border-radius: 18px 18px 0 0;
  }

  .orders-modal-header h2 {
    font-size: 22px;
  }

  .orders-modal-body {
    padding: 12px;
    border-radius: 0 0 18px 18px;
  }

  .orders-modal-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .orders-modal-card {
    padding: 16px;
    border-radius: 16px;
  }

  .orders-modal-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
}

/* ========== ORDER STATUS BADGES ========== */
.status-badge {
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: Arial, Helvetica, sans-serif;
}

.status-processing {
  background: #fff3cd;
  color: #856404;
}
.status-pending {
  background: #fff3cd;
  color: #856404;
}
.status-shipped {
  background: #d1ecf1;
  color: #0c5460;
}
.status-delivered {
  background: #d4edda;
  color: #155724;
}
.status-paid {
  background: #d4edda;
  color: #155724;
}
.status-cancelled {
  background: #f8d7da;
  color: #721c24;
}

/* ========== PRODUCT STYLES ========== */
.product-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.product-desc {
  color: #666;
  font-size: 13px;
  line-height: 1.4;
}

.category-tag {
  display: inline-block;
  padding: 6px 15px;
  background: #f0e7ff;
  color: #5e17eb;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-amount {
  font-weight: 600;
  color: #5e17eb;
  font-size: 16px;
}

.price-range {
  color: #666;
  font-size: 12px;
  margin-top: 3px;
}

.variants-badge {
  display: inline-block;
  padding: 6px 12px;
  background: #f8f9fa;
  color: #666;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid #eaeaea;
}

/* ========== REVIEW STYLES ========== */
.review-rating {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 1px;
}

.star-rating {
  color: #f59e0b;
  font-size: 20px;
  letter-spacing: 2px;
  margin: 10px 0;
}

.review-product {
  font-weight: 600;
  color: #333;
  margin-bottom: 3px;
}

.review-user {
  color: #666;
  font-size: 13px;
}

.review-comment {
  color: #333;
  line-height: 1.5;
  max-width: 300px;
}

.review-date {
  color: #666;
  font-size: 13px;
  white-space: nowrap;
}

/* ========== FORM STYLES ========== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #333;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #5e17eb;
  box-shadow: 0 0 0 3px rgba(94, 23, 235, 0.1);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.submit-btn,
.add-btn,
.update-btn,
.primary-btn {
  padding: 14px 30px;
  background: #5e17eb;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: Arial, Helvetica, sans-serif;
  width: 100%;
}

.submit-btn:hover,
.add-btn:hover,
.update-btn:hover,
.primary-btn:hover {
  background: #4a12c9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(94, 23, 235, 0.25);
}

.delete-btn {
  padding: 8px 16px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: Arial, Helvetica, sans-serif;
}

.delete-btn:hover {
  background: #c82333;
  transform: translateY(-2px);
}

/* ========== MESSAGE STYLES ========== */
.message {
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.error-message {
  color: #dc3545;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

/* ========== QUICK ACTIONS ========== */
.quick-actions {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-actions li {
  margin-bottom: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.quick-actions li:hover {
  background: #f0e7ff;
  transform: translateX(5px);
}

.quick-actions a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
}

.quick-actions a:hover {
  color: #5e17eb;
}

.action-icon {
  width: 40px;
  height: 40px;
  background: #5e17eb;
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 18px;
}

.action-text {
  flex: 1;
}

.action-text small {
  display: block;
  color: #666;
  font-weight: normal;
  font-size: 13px;
  margin-top: 3px;
}

/* ========== PROFILE STYLES ========== */
.profile-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.profile-info-card {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 25px;
}

.profile-info-item {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eaeaea;
}

.profile-info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.info-label {
  display: block;
  color: #666;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
  font-family: Arial, Helvetica, sans-serif;
}

.info-value {
  display: block;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
}

/* ========== EMPTY STATE ========== */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-family: Arial, Helvetica, sans-serif;
}

/* ========== FORM NOTES ========== */
.form-note {
  margin-top: 15px;
  color: #666;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
}

/* ========== BUTTON VARIANTS ========== */
.btn-outline-purple {
  padding: 8px 16px;
  background: transparent;
  color: #5e17eb;
  border: 2px solid #5e17eb;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-purple:hover {
  background: #5e17eb;
  color: white;
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 1024px) {
  .dashboard-content {
    grid-template-columns: 1fr;
  }

  .profile-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .admin-layout {
    flex-direction: column;
    padding: 0 20px;
  }

  .sidebar {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
    padding: 15px 0;
  }

  .sidebar a {
    display: inline-block;
    margin: 0 10px;
    border-left: none;
    border-bottom: 3px solid transparent;
  }

  .sidebar a.active {
    border-bottom-color: #8a5cf6;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .admin-table,
  .orders-table,
  .products-table,
  .reviews-table,
  .users-table {
    display: block;
    overflow-x: auto;
  }
}

/* ================================
   CUSTOMER PROFILE PAGE (NOVA)
   ================================ */

.profile-container {
  max-width: 1200px;
  margin: 50px auto 70px;
  padding: 0 40px;
  box-sizing: border-box;
}

.profile-header {
  text-align: center;
  margin-bottom: 40px;
}

.profile-header h1 {
  color: #111111;
  font-family: "Belleza", Arial, sans-serif;
  font-size: 34px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.profile-header p {
  color: #555555;
  font-size: 16px;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* Profile Grid */
.profile-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr;
  gap: 28px;
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}

/* Profile Card */
.profile-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #ece8fa;
  padding: 22px 24px;
}

/* Card header */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0eef8;
}

.card-header h2 {
  color: #111111;
  font-family: "Belleza", Arial, sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

/* User Info */
.user-info {
  display: flex;
  align-items: center;
  margin-bottom: 22px;
}

.user-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5e17eb, #8a5cf6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin-right: 20px;
  box-shadow: none; /* glow removed */
}

.user-details h3 {
  color: #111111;
  font-size: 20px;
  margin: 0 0 4px 0;
  font-family: Arial, Helvetica, sans-serif;
}

.user-details p {
  color: #666666;
  margin: 0;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
}

/* Info Grid */
.info-grid {
  display: grid;
  gap: 10px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f3f0ff;
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  color: #777777;
  font-weight: 500;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
}

.info-value {
  color: #111111;
  font-weight: 600;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
}

/* Forms inside profile cards */
.profile-card .form-group {
  margin-bottom: 18px;
}

.profile-card .form-group label {
  display: block;
  color: #222222;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
}

.profile-card .form-group input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #ded9f5;
  border-radius: 10px;
  font-size: 14px;
  box-sizing: border-box;
  transition: all 0.25s ease;
  font-family: Arial, Helvetica, sans-serif;
  background: #faf9ff;
}

.profile-card .form-group input:focus {
  outline: none;
  border-color: #5e17eb;
  box-shadow: 0 0 0 2px rgba(94, 23, 235, 0.18);
  background: #ffffff;
}

/* Primary button (match hero button) */
.btn-primary {
  padding: 12px 28px;
  background: #5e17eb;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
}

.btn-primary:hover {
  background: #4a12c9;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(94, 23, 235, 0.35);
}

/* Messages */
.message {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
}

.message.success {
  background: #dff6e6;
  color: #17653a;
  border: 1px solid #b8e4c5;
}

.message.error {
  background: #fde2e4;
  color: #8a1f2a;
  border: 1px solid #f3b4bd;
}

/* Orders / Reviews Table */
.user-table {
  width: 100%;
  border-collapse: collapse;
}

.user-table th {
  background: #faf8ff;
  padding: 10px 8px;
  text-align: left;
  font-weight: 600;
  color: #6e6a86;
  border-bottom: 1px solid #e6e1ff;
  font-size: 12px;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
}

.user-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #f1eefb;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  color: #333333;
}

.user-table tr:hover {
  background: #f8f5ff;
}

/* Status Badges */
.status-badge {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: Arial, Helvetica, sans-serif;
}

.status-pending {
  background: #fff5d6;
  color: #8b6a17;
}

.status-processing {
  background: #e2f5fb;
  color: #11556a;
}

.status-shipped {
  background: #dde7ff;
  color: #193f9c;
}

.status-delivered,
.status-paid {
  background: #ddf3e6;
  color: #17613e;
}

.status-cancelled {
  background: #fbe0e2;
  color: #8a2630;
}

/* Star rating for reviews */
.star-rating {
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 1px;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 32px 18px;
  color: #666666;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

/* Quick links */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.quick-link {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background: #faf9ff;
  border-radius: 12px;
  text-decoration: none;
  color: #333333;
  transition: all 0.25s ease;
  border: 1px solid #eee9ff;
}

.quick-link:hover {
  background: #f2ecff;
  transform: translateY(-1px);
  color: #5e17eb;
}

.quick-link-text h4 {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-family: "Belleza", Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quick-link-text p {
  margin: 0;
  color: #777777;
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
}

/* Make the Logout quick-link look like a main purple CTA */
.quick-link-logout {
  background: #5e17eb;
  border-color: #5e17eb;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 26px rgba(94, 23, 235, 0.35);
}

.quick-link-logout .quick-link-text h4,
.quick-link-logout .quick-link-text p {
  color: #ffffff;
}

.quick-link-logout:hover {
  background: #4a12c9;
  border-color: #4a12c9;
  box-shadow: 0 12px 30px rgba(74, 18, 201, 0.45);
}

/* ADMIN PROFILE PAGE OVERRIDE */
.profile-summary-row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
  margin-bottom: 22px !important;
}

.profile-mini-card {
  background: #ffffff !important;
  border: 1px solid #ececec !important;
  border-radius: 18px !important;
  padding: 18px 20px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04) !important;
}

.mini-number {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #333 !important;
  margin-bottom: 6px !important;
  word-break: break-word !important;
  line-height: 1.35 !important;
}

.mini-label {
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  color: #7a7a7a !important;
  line-height: 1.35 !important;
}

.profile-two-column {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 22px !important;
  margin-bottom: 22px !important;
}

.compact-panel {
  margin-bottom: 0 !important;
}

.profile-info-list {
  margin-top: 4px !important;
}

.profile-info-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 20px !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid #ececec !important;
  background: transparent !important;
}

.profile-info-row:last-child {
  border-bottom: none !important;
}

.profile-info-label {
  font-weight: 700 !important;
  color: #666 !important;
  background: transparent !important;
  padding: 0 !important;
  min-width: 160px !important;
}

.profile-info-value {
  color: #222 !important;
  text-align: right !important;
  background: transparent !important;
  padding: 0 !important;
}

.profile-form-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 18px !important;
}

.profile-form-grid .full-width {
  grid-column: 1 / -1 !important;
}

@media (max-width: 1000px) {
  .profile-summary-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .profile-two-column,
  .profile-form-grid {
    grid-template-columns: 1fr !important;
  }

  .profile-form-grid .full-width {
    grid-column: auto !important;
  }
}

@media (max-width: 600px) {
  .profile-summary-row {
    grid-template-columns: 1fr !important;
  }

  .profile-info-row {
    flex-direction: column !important;
    gap: 6px !important;
  }

  .profile-info-value {
    text-align: left !important;
  }
}
/* -- GLOBAL WEBSITE STYLING -- */

/* styling so that content fits viewport */
html,
body {
  height: 100%; /* full height of the viewport */
  width: 100%; /* full width of the viewport */
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden; /* prevents horizontal scroll bar */
}

/* base background colour for NOVA website */
body {
  background-color: rgb(242, 242, 242);
}

/* NAVBAR (GUEST / CUSTOMER / ADMIN) */

/* header background */
#main-header {
  width: 100%;
  margin-bottom: 50px;
}

/* full navbar container */
#navbar {
  max-width: 1400px; /* wide layout, matching the design */
  margin: 0 auto;
  padding: 18px 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  box-sizing: border-box;
}

/* LEFT side group (Home, About, Perfumes) */
.nav-left {
  display: flex;
  align-items: center;
  gap: 40px; /* spacing between links */
  flex: 1; /* takes equal space left side */
}

/* RIGHT side group (guest/admin/customer variants) */
.nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  top: 2px; /* tiny optical tweak so right side aligns with left */
  flex: 1;
  justify-content: flex-end;
}

/* centered logo container */
.logo-link {
  flex: 0;
  display: flex;
  justify-content: center;
}

#logo {
  height: 52px; /* adjust if needed for perfect match */
  width: auto;
  display: block;
}

/* NAV LINKS (text buttons) */
.nav-link {
  text-decoration: none;
  color: #000000;
  font-weight: 600;
  font-size: 17px;
  font-family: Arial, Helvetica, sans-serif;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

/* ACTIVE page (e.g. Home) – purple, NO underline */
.nav-link.active {
  color: #5e17eb;
  text-decoration: none;
}

/* HOVER – purple + underline */
.nav-link:hover {
  color: #5e17eb;
  text-decoration: underline;
}

/* BASKET ICON (PNG SWAP) */

.basket-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000000;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

/* ACTIVE basket link – purple, NO underline */
.basket-link.active {
  color: #5e17eb;
  text-decoration: none;
}

/* HOVER – purple + underline */
.basket-link:hover {
  color: #5e17eb;
  text-decoration: underline;
}

/* both basket icons share these base dimensions */
.basket-icon {
  height: 25px;
  width: auto;
  display: block;
}

/* default black icon visible by default */
.basket-icon-default {
  display: block;
  position: relative;
  top: -2px; /* lift icon slightly to align with text */
}

/* purple active icon hidden by default */
.basket-icon-active {
  display: none;
  position: relative;
  top: -2px; /* same shift so swap is seamless */
}

/* swap icons on hover */
.basket-link:hover .basket-icon-default {
  display: none;
}
.basket-link:hover .basket-icon-active {
  display: block;
}

/* swap icons on active (permanent purple) */
.basket-link.active .basket-icon-default {
  display: none;
}
.basket-link.active .basket-icon-active {
  display: block;
}

/* ACCOUNT ICON (PNG SWAP) */

.account-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000000;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

/* ACTIVE account link – purple, NO underline */
.account-link.active {
  color: #5e17eb;
  text-decoration: none;
}

/* HOVER – purple + underline */
.account-link:hover {
  color: #5e17eb;
  text-decoration: underline;
}

/* account icon base size */
.account-icon {
  height: 24px;
  width: auto;
  display: block;
}

/* default black icon visible normally */
.account-icon-default {
  display: block;
  position: relative;
  top: -2px; /* lift icon for visual alignment */
}

/* purple icon hidden normally */
.account-icon-active {
  display: none;
  position: relative;
  top: -2px; /* same shift so swap is seamless */
}

/* swap icons on hover */
.account-link:hover .account-icon-default {
  display: none;
}
.account-link:hover .account-icon-active {
  display: block;
}

/* swap icons on active (permanent purple) */
.account-link.active .account-icon-default {
  display: none;
}
.account-link.active .account-icon-active {
  display: block;
}

/* NAV ICON SIZE */
/* NAV ICONS */
.account-icon,
.basket-icon {
  width: 22px;
  height: 22px;
}

/* default state */
.account-icon-default,
.basket-icon-default {
  display: block;
}

.account-icon-active,
.basket-icon-active {
  display: none;
}

/* hover or active page = purple */
.account-link:hover .account-icon-default,
.basket-link:hover .basket-icon-default,
.account-link.active .account-icon-default,
.basket-link.active .basket-icon-default {
  display: none;
}

.account-link:hover .account-icon-active,
.basket-link:hover .basket-icon-active,
.account-link.active .account-icon-active,
.basket-link.active .basket-icon-active {
  display: block;
}

/* --- FULLSCREEN INTRO OVERLAY --- */

#intro-overlay {
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  background: #000;
  display: none; /* hidden by default – JS shows it if needed */
  justify-content: center;
  align-items: center;
  z-index: 9999; /* above everything */
}

/* Video fills the screen, keeps aspect ratio */
#intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- PAGE CONTENT --- */

#page-content {
  opacity: 1; /* visible by default – JS sets to 0 only on first visit */
  transition: opacity 0.8s ease-in-out;
}

/* HERO WRAPPER — adds spacing left + right */
.hero-wrapper {
  padding: 0 40px; /* adjust to your taste: 30px, 50px, 60px */
  box-sizing: border-box;
}

/* HERO SECTION (STATIC BANNER) */
.hero {
  width: 100%;
  height: 70vh;
  background-image: url("nova_home_hero_banner.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;

  padding-left: 35px; /* controls text horizontal position */
  box-sizing: border-box;

  color: white;
  border-radius: 10px; /* NEW — gives the banner a premium rounded shape */
  overflow: hidden; /* ensures rounded corners work correctly */
  filter: brightness(0.95);
}

/* Text container */
.hero-inner {
  max-width: 700px; /* increased so title fits on one line */
}

/* Heading */
.hero-title {
  font-family: "Belleza", sans-serif;
  font-size: 50px;
  margin: 0 0 20px 0;
  white-space: nowrap; /* forces one single line */
}

/* Subtitle */
.hero-subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.85;
  font-family: Arial, Helvetica, sans-serif;
}

/* Button */
.hero-btn {
  background: #5e17eb;
  color: white;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  text-decoration: none;

  padding: 12px 28px;
  border-radius: 8px;

  display: inline-block;
  transition: 0.3s ease-in-out;
}

.hero-btn:hover {
  background: #4a12c9;
}

/* ================================
   HOME: WHY NOVA SECTION
   ================================ */

.why-nova {
  padding: 80px 40px 60px;
  background: transparent; /* removed coloured background */
  box-sizing: border-box;
}

.why-nova-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: center;
}

/* when there's no image, keep things neat */
.why-nova-inner.no-image {
  justify-content: flex-start;
}

.why-nova-text {
  flex: 1.2;
  font-family: Arial, Helvetica, sans-serif;
}

.why-nova-text h2 {
  font-family: "Belleza", sans-serif;
  font-size: 32px;
  margin: 0 0 18px;
}

.why-nova-text p {
  margin: 0 0 14px;
  line-height: 1.6;
  color: #333;
}

.why-nova-list {
  margin: 10px 0 0;
  padding-left: 18px;
  list-style: disc;
  color: #333;
}

.why-nova-list li {
  margin-bottom: 6px;
}

/* Contact button under text – reuse hero-btn, just space it nicely */
.why-nova-contact-btn {
  margin-top: 20px;
  display: inline-block;
}

/* (old image styles kept in case you ever bring it back, but unused now) */
.why-nova-image {
  flex: 1;
  position: relative;
}

.why-nova-image img {
  width: 100%;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.why-nova-cta {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background: #ffffff;
  color: #5e17eb;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.why-nova-cta:hover {
  background: #5e17eb;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ================================
   HOME: FEATURED PERFUMES
   ================================ */

.home-featured {
  padding: 60px 40px 70px;
  box-sizing: border-box;
  background: transparent; /* removed background colour */
}

.home-section-header {
  max-width: 1200px;
  margin: 0 auto 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.home-section-header h2 {
  font-family: "Belleza", sans-serif;
  font-size: 30px;
  margin: 0;
}

.view-all-link {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #5e17eb;
  text-decoration: none;
  white-space: nowrap;
}

.view-all-link:hover {
  text-decoration: underline;
}

/* Re-use existing .products-grid & .product-card styles.
   This just constrains and centres them on the home page. */

.home-products-grid {
  max-width: 1200px;
  margin: 0 auto;
}

/* ================================
   HOME: CUSTOMER REVIEWS
   ================================ */

.home-reviews {
  padding: 60px 40px 90px;
  box-sizing: border-box;
  background: transparent; /* removed background colour */
}

.home-reviews .home-section-header h2 {
  text-align: center;
  margin-bottom: 10px;
}

.reviews-subtitle {
  text-align: center;
  color: #666;
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 17px;
  line-height: 1.8;
}

.reviews-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.review-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 30px 26px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.12);
}

.review-text {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  margin-bottom: 18px;
}

.review-author {
  margin: 0;
  font-weight: bold;
  color: #5e17eb;
  font-size: 15px;
}

/* ================================
   RESPONSIVE TWEAKS
   ================================ */

@media (max-width: 980px) {
  .why-nova-inner {
    flex-direction: column;
  }

  .why-nova-image {
    width: 100%;
  }

  .home-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .hero-wrapper {
    padding: 0 16px;
  }

  .why-nova {
    padding: 50px 16px 40px;
  }

  .home-featured,
  .home-reviews {
    padding: 40px 16px 50px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .why-nova-cta {
    right: 14px;
    bottom: 14px;
    padding: 8px 18px;
  }
}

/* -- STYLING FOR REGISTER PAGE -- */

.register-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 540px;
  margin: 60px auto 40px auto;
  background: white;
  padding: 14px 30px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.register-form {
  width: 100%;
}

/* Title + subtitle (same style as login) */
.register-header {
  text-align: center;
  margin-bottom: 25px;
}

.register-title-inside {
  font-family: "Belleza", Arial, Helvetica, sans-serif;
  font-size: 36px;
  font-weight: medium;
  color: black;
  margin-bottom: 15px;
}

.register-subtitle {
  font-size: 14px;
  color: #666;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* Labels */
.register-form label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
  font-family: "Belleza", Arial, Helvetica, sans-serif;
  text-align: left;
  color: #222;
}

/* Inputs match login exactly */
.register-input {
  width: 100%;
  padding: 8px;
  margin: 5px 0 15px;
  border: 1px solid #d8d8d8;
  background-color: #f2f2f2;
  border-radius: 5px;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.register-input:focus {
  background-color: #e6e6e6;
  outline: none;
  border-color: #999;
}

/* Error message */
.register-error {
  color: red;
  font-size: 14px;
  margin-bottom: 10px;
}

/* Button (identical to login) */
.register-btn {
  background-color: #5e17eb;
  color: white;
  border: none;
  padding: 9px 15px;
  font-size: 15px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  margin-top: 18px;
  margin-bottom: 6px;
  transition: background 0.3s;
  font-weight: bold;
}

.register-btn:hover {
  background-color: #4a12c9;
}

/* Already have account */
.register-already-user {
  margin-top: 15px;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  color: #555;
  text-align: left;
}

.register-already-user a {
  color: black;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s, text-decoration 0.3s;
  margin-left: 5px;
}

.register-already-user a:hover {
  color: #5e17eb;
  text-decoration: underline;
}

.admin-back-link {
  margin-top: 15px; /* increase spacing */
  margin-bottom: 0;
}

/* -- STYLING FOR LOGIN PAGE -- */

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 540px;
  margin: 60px auto 40px auto; /* space under navbar + above footer */
  background: white;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.login-form {
  width: 100%;
}

/* header area inside the card */
.login-header {
  text-align: center;
  margin-bottom: 25px;
}

.login-title {
  font-family: "Belleza", Arial, Helvetica, sans-serif;
  font-size: 36px;
  font-weight: medium;
  color: black;
  margin: 0 0 6px 0;
  margin-bottom: 15px;
}

.login-subtitle {
  font-size: 14px;
  color: #666;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* labels match register page */
.login-form label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
  font-family: "Belleza", Arial, Helvetica, sans-serif;
  text-align: left;
  color: #222;
}

/* inputs identical to register page */
.login-form input[type="email"],
.login-form input[type="text"],
.login-form input[type="password"] {
  width: 100%;
  padding: 8px;
  margin: 5px 0 15px;
  border: 1px solid #d8d8d8;
  background-color: #f2f2f2;
  border-radius: 5px;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.login-form input[type="email"]:focus,
.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
  background-color: #e6e6e6;
  outline: none;
  border-color: #999;
}

/* button – same style as register */
.login-btn {
  background-color: #5e17eb;
  color: white;
  border: none;
  padding: 9px 15px;
  font-size: 15px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  margin-top: 18px;
  margin-bottom: 6px;
  transition: background 0.3s;
  font-weight: bold;
}

.login-btn:hover {
  background-color: #4a12c9;
}

/* error message */
.login-error,
.error {
  color: red;
  font-size: 14px;
  margin-bottom: 10px;
}

/* “Not registered?” text */
.login-already-user,
.already-user {
  margin-top: 15px;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  color: #555;
  margin-left: 3px;
}

.login-already-user a,
.already-user a {
  color: black;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s, text-decoration 0.3s;
  margin-left: 5px;
}

.login-already-user a:hover,
.already-user a:hover {
  color: #5e17eb;
  text-decoration: underline;
}

/* --- LOGOUT PAGE STYLING --- */

/* Container identical to login/register */
.logout-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  max-width: 480px;
  margin: 60px auto 40px auto;

  background: white;
  padding: 25px 25px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  text-align: center;
}

/* Title + subtitle */
.logout-header {
  margin-bottom: 20px;
}

.logout-title {
  font-family: "Belleza", Arial, Helvetica, sans-serif;
  font-size: 36px;
  font-weight: medium;
  margin-bottom: 15px;
  color: black;
}

.logout-subtitle {
  font-size: 14px;
  color: #666;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* Purple button (same style as login/register but narrower) */
.logout-btn {
  display: block;
  background-color: #5e17eb;
  color: white;

  text-decoration: none;
  font-weight: bold;

  padding: 10px 15px;

  max-width: 180px; /* Narrower button width */
  width: 100%;
  margin: 25px auto 10px auto; /* center + spacing */

  font-size: 15px;
  border-radius: 8px;
  transition: background 0.3s;
  font-family: Arial, Helvetica, sans-serif !important;
}

.logout-btn:hover {
  background-color: #4a12c9;
}

/* Small text under the button */
.logout-redirect-info {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
  font-family: Arial, Helvetica, sans-serif;
}

/* ABOUT PAGE STYLING */

/* Banner */
/* ABOUT PAGE — HERO WRAPPER (matches home hero wrapper) */
.about-hero-wrapper {
  padding: 0 40px;
  box-sizing: border-box;
  margin: 40px 0 40px;
}

/* ABOUT PAGE — HERO BANNER (same style as home hero) */
.about-hero {
  width: 100%;
  height: 70vh;

  background-image: url("about_banner.png"); /* your about image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 10px;
  overflow: hidden;

  filter: brightness(0.95); /* SAME brightness effect as home */
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08); /* matches overall NOVA shadow style */
}

/* Headings */
.about-heading {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  text-align: center;
}

/* Generic section spacing – NO background colour */
.about-story-section,
.about-values-section,
.about-unique-section,
.about-craft-section {
  padding: 40px 20px 50px;
}

/* Inner width */
.about-story-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-values-inner,
.about-unique-inner,
.about-craft-inner {
  max-width: 1150px;
  margin: 0 auto;
}

/* STORY SECTION */
.about-story-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 36px;
}

.about-lead {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  line-height: 1.9;
  color: #555;
}

.about-story-main p {
  max-width: 680px;
  font-size: 17px;
  line-height: 1.95;
  color: #555;
  margin-bottom: 18px;
}

.about-story-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-story-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  display: block;
  object-fit: cover;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

/* VALUES */
.about-values-lead,
.about-values-intro {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
  font-size: 18px;
  line-height: 1.9;
  color: #555;
}

.about-unique-lead {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
  font-size: 18px;
  line-height: 1.9;
  color: #555;
}

.about-craft-lead {
  max-width: 760px;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
  color: #333;
  margin-bottom: 26px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 18px;
}

.value-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.12);
}

.value-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  color: #111;
}

.value-card p {
  font-size: 16px;
  line-height: 1.85;
  color: #555;
}

/* UNIQUE */
.unique-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 18px;
}

.unique-point {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.unique-point:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.12);
}

.unique-point h3 {
  margin-bottom: 12px;
  font-size: 22px;
  color: #111;
}

.unique-point p {
  font-size: 16px;
  line-height: 1.85;
  color: #555;
}

/* CRAFT */
.craft-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 18px;
}

.craft-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.craft-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.12);
}

.craft-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  color: #111;
}

.craft-card p {
  font-size: 16px;
  line-height: 1.85;
  color: #555;
}

/* MEET OUR TEAM */

.about-team-section {
  width: 100%;
  padding: 90px 20px 70px !important;
}

.about-team-inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 420px 1fr !important;
  gap: 90px !important;
  align-items: center !important;
  justify-content: center !important;
}

.team-slideshow {
  width: 420px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin: 0 !important;
}

.team-slide {
  position: relative !important;
  width: 100% !important;
  display: none !important;
  opacity: 1 !important;
  transform: none !important;
  text-align: center !important;
}

.team-slide.active {
  display: block !important;
}

.team-slide img {
  width: 280px !important;
  height: 280px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
  margin: 0 auto 18px !important;
}

.team-slide h4 {
  margin: 0 0 6px !important;
  font-size: 24px !important;
  text-align: center !important;
  color: #000 !important;
}

.team-slide span {
  display: block !important;
  text-align: center !important;
  color: #666 !important;
}

.about-team-text {
  max-width: 680px !important;
  margin: 0 !important;
  align-self: center !important;
}

.about-team-text .about-heading {
  margin: 0 0 24px !important;
  font-size: 44px !important;
  line-height: 1.15 !important;
}

.about-team-text p {
  font-size: 17px !important;
  line-height: 1.9 !important;
  margin: 0 0 18px !important;
}

/* Mobile */
@media (max-width: 980px) {
  .about-team-inner {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    text-align: center !important;
  }

  .team-slideshow {
    width: 100% !important;
  }

  .about-team-text {
    max-width: 100% !important;
    text-align: center !important;
  }
}
/* PERFUMES PAGE STYLING */

/* =========================================
   NOVA GLOBAL VARIABLES FOR SHOP/BASKET/CHECKOUT
   ========================================= */

:root {
  --nova-bg: #f2f2f2;
  --nova-text: #000000;
  --nova-muted: #777777;
  --nova-border: #dddddd;
  --nova-card-border: #e0e0e0;
  --nova-card-bg: #ffffff;
  --nova-purple: #5e17eb;
  --nova-purple-soft: #f3e8ff;
  --nova-shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
  --btn-radius: 10px;
}

/* Utility layout containers used by Shreya's pages */

.shop-container,
.product-page-container,
.product-info-section,
.basket-page,
.checkout-page {
  max-width: 1200px;
  margin: 40px auto 60px;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Generic card look used across those pages */

.card,
.product-card,
.product-detail-panel,
.product-info-section,
.basket-products-box,
.basket-summary-box,
.checkout-box,
.review-item {
  background: var(--nova-card-bg);
  border-radius: 20px;
  border: 1px solid var(--nova-card-border);
  box-shadow: var(--nova-shadow-soft);
}

/* =========================================
   GLOBAL BUTTON SYSTEM (used on shop/basket/checkout)
   ========================================= */

.btn,
.btn-primary,
.btn-secondary,
.view-btn,
.apply-btn,
.clear-btn,
.add-review-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--btn-radius);
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}

/* Primary purple buttons */

.btn-primary,
.view-btn,
.apply-btn,
.add-review-btn {
  background: var(--nova-purple);
  border-color: var(--nova-purple);
  color: #ffffff;
}

.btn-primary:hover,
.view-btn:hover,
.apply-btn:hover,
.add-review-btn:hover {
  background: #4a12c0;
  border-color: #4a12c0;
}

/* Secondary / outline buttons */

.btn-secondary,
.clear-btn {
  background: #ffffff;
  border-color: var(--nova-border);
  color: var(--nova-text);
}

.btn-secondary:hover,
.clear-btn:hover {
  border-color: var(--nova-purple);
  color: var(--nova-purple);
}

/* Disabled state */

.btn-primary:disabled,
.btn-primary[disabled],
.btn.btn-disabled {
  background: #cccccc;
  border-color: #cccccc;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Local overrides */

.update-row button {
  background: #ffffff;
  border-radius: var(--btn-radius);
  border: 1px solid var(--nova-text);
  padding: 8px 16px;
  cursor: pointer;
}

/* =========================================
   SHOP / PERFUMES LIST (perfumes.php)
   ========================================= */

.shop-title {
  text-align: center;
  font-size: 28px;
  font-family: "Belleza", Arial, sans-serif;
  font-weight: 700;
  margin: 20px 0 30px;
}

/* Filter bar */

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 16px 20px;
  margin-bottom: 20px;
  border-radius: 20px;
  border: 1px solid var(--nova-border);
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  gap: 14px;
}

.filter-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-group label {
  font-weight: 600;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
}

.filter-group select,
.filter-group input[type="text"] {
  padding: 6px 12px;
  border-radius: var(--btn-radius);
  border: 1px solid #cccccc;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
}

.filter-group input[type="text"] {
  width: 180px;
}

.filter-group input[type="text"]:focus {
  outline: none;
  border-color: var(--nova-purple);
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Product grid */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
}

/* Product image area */

.product-img-wrapper {
  position: relative;
  border-radius: 18px;
  border: 1px solid #e4e4e4;
  background: radial-gradient(
    circle at top,
    #ffffff 0%,
    #f8f8f8 45%,
    #f2f2f2 100%
  );
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 10px;
}

.product-img-wrapper img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.product-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.card-icon {
  border-radius: 999px;
  border: 1px solid #dddddd;
  background: rgba(255, 255, 255, 0.95);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.card-icon:hover {
  background: var(--nova-purple-soft);
  border-color: var(--nova-purple);
}

.fav-toggle.is-active .heart {
  color: #e53935;
}

.cart-form {
  margin: 0;
  padding: 0;
}

.cart-btn {
  all: unset;
  width: 100%;
  height: 100%;
  text-align: center;
  cursor: pointer;
}

/* Product card text */

.product-info {
  padding: 4px 2px 0;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-size: 15px;
  margin: 0 0 4px;
  font-weight: 600;
  font-family: "Belleza", Arial, sans-serif;
}

.product-category {
  font-size: 13px;
  color: var(--nova-muted);
  margin: 0 0 4px;
  font-family: Arial, Helvetica, sans-serif;
}

.product-desc {
  font-size: 13px;
  color: #444444;
  margin: 0 0 8px;
  min-height: 44px;
  font-family: Arial, Helvetica, sans-serif;
}

.product-price {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
}

.card-footer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-rating {
  font-size: 13px;
  color: #333333;
  font-family: Arial, Helvetica, sans-serif;
}

/* Pagination */

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 26px;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
}

.pagination a,
.pagination span {
  min-width: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #dddddd;
  text-align: center;
  text-decoration: none;
  color: #333333;
}

.pagination a:hover {
  border-color: var(--nova-purple);
  color: var(--nova-purple);
}

.pagination .current {
  background: var(--nova-purple);
  color: #ffffff;
  border-color: var(--nova-purple);
}

/* =========================================
   PRODUCT PAGE (product_page.php)
   ========================================= */

.product-main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 40px;
}

/* Gallery */

.product-gallery .product-main-image {
  border-radius: 20px;
  border: 1px solid var(--nova-card-border);
  background: radial-gradient(
    circle at top,
    #ffffff 0%,
    #f7f7f7 45%,
    #f1f1f1 100%
  );
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-main-image img {
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.product-thumbs {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.thumb-btn {
  border: 1px solid #dddddd;
  border-radius: 12px;
  padding: 4px;
  background: #ffffff;
  cursor: pointer;
}

.thumb-btn img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 10px;
}

/* Details panel */

.product-detail-panel {
  padding: 20px 22px 24px;
}

.product-title {
  font-size: 26px;
  font-family: "Belleza", Arial, sans-serif;
  font-weight: 700;
  margin: 0 0 4px;
}

.product-breadcrumb {
  margin: 0 0 6px;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--nova-muted);
}

.product-fragrance-family {
  margin: 0 0 10px;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
}

.product-rating-summary {
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 8px;
}

.product-price-large {
  font-size: 22px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin: 8px 0 14px;
}

/* Purchase area */

.product-purchase-form label {
  display: inline-block;
  margin: 6px 6px 4px 0;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
}

.product-purchase-form select,
.product-purchase-form input[type="number"] {
  padding: 7px 12px;
  border-radius: var(--btn-radius);
  border: 1px solid #cccccc;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  margin-right: 8px;
}

.product-purchase-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

/* Section headings (scent/design story etc.) */

.product-detail-panel h2 {
  margin-top: 18px;
  margin-bottom: 4px;
  font-size: 16px;
  font-family: "Belleza", Arial, sans-serif;
}

/* Product info full-width section */

.product-info-section {
  padding: 22px 26px;
}

.info-title {
  font-size: 22px;
  font-family: "Belleza", Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 14px;
}

.info-subtitle {
  margin-top: 18px;
  font-size: 18px;
  font-family: "Belleza", Arial, sans-serif;
  font-weight: 600;
}

.info-paragraph {
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #444444;
  margin-bottom: 10px;
}

.info-block p {
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
  margin: 4px 0;
}

.related-title {
  font-family: "Belleza", Arial, sans-serif;
  font-weight: medium;
  margin-bottom: 20px;
}

.product-reviews p {
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 12px;
}

/* Reviews */

.product-reviews {
  margin-top: 40px;
}

.product-reviews h2 {
  font-size: 20px;
  font-family: "Belleza", Arial, sans-serif;
  margin-bottom: 12px;
}

.review-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.review-item {
  padding: 10px 14px;
  margin-bottom: 10px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 14px;
  font-family: "Belleza", Arial, sans-serif;
}

.review-rating {
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
}

.review-comment {
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  margin: 4px 0;
}

.review-date {
  font-size: 12px;
  color: var(--nova-muted);
  font-family: Arial, Helvetica, sans-serif;
}

.review-form-wrapper {
  margin-top: 10px;
  font-family: "Belleza", Arial, sans-serif;
}

.review-form label {
  display: block;
  margin: 6px 0 3px;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
}

.review-form select,
.review-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #cccccc;
  padding: 8px 10px;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
}

/* =========================================
   BASKET / SHOPPING CART (shopping_cart.php)
   ========================================= */

.basket-page {
  max-width: 1100px;
}

.basket-title {
  font-size: 28px;
  font-family: "Belleza", Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 20px;
}

.basket-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.basket-products-box,
.basket-summary-box {
  padding: 20px 24px;
}

.basket-empty {
  text-align: center;
  padding: 30px 10px;
  color: var(--nova-muted);
}

/* Basket items */

.basket-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eeeeee;
  font-family: Arial, Helvetica, sans-serif;
}

.basket-item:last-child {
  border-bottom: none;
}

.basket-item img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 16px;
  background: #fafafa;
}

.basket-item-title {
  font-weight: 600;
  font-family: "Belleza", Arial, sans-serif;
  margin-bottom: 4px;
}

.basket-item-size {
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--nova-muted);
  margin-bottom: 4px;
}

.basket-item-price {
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 10px;
}

.basket-item-price strong {
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
}

.basket-item-qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
}

.basket-item-qty-row input[type="number"] {
  width: 60px;
  padding: 4px 6px;
  border-radius: 999px;
  border: 1px solid #cccccc;
  text-align: center;
}

.remove-btn {
  border: none;
  background: none;
  color: #b30000;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
  text-decoration: underline;
}

.basket-item-total {
  font-weight: 600;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
}

/* Basket summary */

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
}

.basket-summary-box h2 {
  font-family: "Belleza", Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
}

.summary-row strong {
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
}

/* Basket buttons */

.btn-primary {
  width: 100%;
  margin-top: 10px;
}

.btn-secondary {
  width: 30%;
  margin-top: 8px;
}

.update-row {
  margin-top: 10px;
  text-align: right;
}

/* =========================================
   CONTACT PAGE - TWO COLUMN LAYOUT
   ========================================= */

.contact-two-column {
  max-width: 1200px;
  margin: 50px auto 80px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  box-sizing: border-box;
}

.contact-left-card,
.contact-right-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 32px;
  box-sizing: border-box;
}

.contact-left-card h1,
.contact-right-card h2 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 34px;
  font-family: "Belleza", Arial, sans-serif;
  color: var(--text);
}

.contact-intro {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.contact-response-time {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.contact-response-time strong {
  color: var(--purple);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-detail-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

.contact-detail-item p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 15px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--input-text);
  box-sizing: border-box;
  font-size: 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 2px rgba(94, 23, 235, 0.15);
}

.contact-submit-btn {
  margin-top: 8px;
  align-self: flex-start;
  padding: 12px 28px;
  border: none;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

.contact-submit-btn:hover {
  background: var(--purple-hover);
}

.required {
  color: #ff5a5a;
}

.contact-map-section {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 20px;
  box-sizing: border-box;
}

.contact-map-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 28px 32px 32px;
  box-sizing: border-box;
}

.contact-map-card h2 {
  margin: 0 0 10px;
  font-size: 30px;
  font-family: "Belleza", Arial, sans-serif;
  color: var(--text);
}

.contact-map-text {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.contact-map-embed {
  width: 100%;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.contact-map-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.checkout-page {
  max-width: 1100px;
}

.checkout-title {
  font-size: 28px;
  font-family: "Belleza", Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 20px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.checkout-box {
  padding: 20px 24px;
}

/* Make basket action buttons wider and centered */
.basket-btn {
  width: 80%;
  max-width: 400px;
  margin: 10px auto;
  display: block;
  text-align: center;
}

/* Make Browse Perfumes button match */
.browse-btn {
  width: 80%;
  max-width: 400px;
  margin: 20px auto;
  display: block;
  text-align: center;
}

/* Sections and form controls */

.checkout-section {
  margin-bottom: 26px;
}

.checkout-section-title,
.checkout-subtitle,
.section-heading {
  font-size: 18px;
  font-family: "Belleza", Arial, sans-serif;
  font-weight: 700;
  margin: 0 0 14px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
}

.checkout-box input,
.checkout-box select,
.checkout-box textarea {
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--btn-radius);
  border: 1px solid #cccccc;
  font-size: 14px;
  box-sizing: border-box;
}

/* Payment cards */

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.payment-option {
  border-radius: 16px;
  border: 1px solid #dddddd;
  padding: 12px 16px;
  cursor: pointer;
  background: #ffffff;
  display: flex;
  align-items: center;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.payment-option input[type="radio"] {
  display: none;
}

.payment-option-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.payment-icon {
  width: 40px;
  height: auto;
  object-fit: contain;
}

.payment-text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
}

.payment-name {
  font-weight: 600;
  margin-bottom: 2px;
}

.payment-desc {
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--nova-muted);
}

.payment-option input[type="radio"]:checked + .payment-option-inner {
  background: var(--nova-purple-soft);
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(94, 23, 235, 0.35);
}

/* Order summary in checkout */

.summary-list {
  margin-bottom: 10px;
}

.summary-item-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid #eeeeee;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
}

.summary-item-row:last-child {
  border-bottom: none;
}

.summary-item-name small {
  display: block;
  color: var(--nova-muted);
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
}

.summary-footer-row {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
}

.summary-footer-row.summary-footer-total {
  font-weight: 600;
}

/* Make checkout button full-width in summary */

.checkout-box .btn-primary {
  width: 100%;
  margin-top: 20px;
}

/* Messages */

.success-message {
  background: #e8f9e8;
  border-radius: 12px;
  padding: 8px 10px;
  color: #246b24;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 10px;
}

.error-message {
  background: #ffe8e8;
  border-radius: 12px;
  padding: 8px 10px;
  color: #b30000;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 10px;
}

/* FOOTER STYLING */

.nova-footer {
  background: #000000;
  color: #ffffff;
  margin-top: 80px;
}

/* Increased padding */
.nova-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 40px;
  box-sizing: border-box;
  font-size: 15px; /* larger base text */
}

/* wider columns + bigger spacing */
.footer-top-row {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.2fr 1.5fr;
  gap: 60px;
  border-bottom: 1px solid #333333;
  padding-bottom: 40px;
}

/* Bigger section headings */
.footer-col h4 {
  font-size: 17px;
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Bigger link text */
.footer-col a {
  display: block;
  color: #cccccc;
  font-size: 15px;
  margin-bottom: 8px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--nova-purple);
}

.footer-link-highlight {
  color: #ff4d4d;
  font-weight: 600;
}

/* right column with payments + rating */
.footer-col-right {
  display: flex;
  flex-direction: column;
  gap: 20px; /* more spacing */
}

/* Larger payment logos */
.footer-payments img {
  height: 34px; /* was 26px */
  background: #ffffff;
  padding: 5px 8px;
  border-radius: 10px;
}

/* Larger rating box */
.footer-rating-card {
  background: #111111;
  border-radius: 12px;
  padding: 14px 18px;
  display: inline-block;
  text-align: center;
}

.footer-rating-card .rating-logo {
  font-size: 13px;
  margin-bottom: 4px;
}

.footer-rating-card .rating-stars {
  font-size: 20px;
  color: #22c55e;
}

.footer-rating-card .rating-text {
  font-size: 13px;
  margin-top: 3px;
}

/* membership text */
.footer-membership-logo span {
  font-size: 13px;
  color: #dcdcdc;
}

/* larger app badges */
.footer-app-badges img {
  height: 44px; /* was 34px */
  border-radius: 10px;
}

/* bigger social icons */
.footer-middle-row {
  border-bottom: 1px solid #333333;
  padding: 20px 0;
  display: flex;
  justify-content: center;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.social-circle {
  width: 42px; /* bigger */
  height: 42px;
  border-radius: 50%;
  border: 1px solid #555555;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.social-circle:hover {
  background: var(--nova-purple);
  border-color: var(--nova-purple);
  transform: translateY(-1px);
}

/* bottom text larger + more spacing */
.footer-bottom-row {
  padding-top: 20px;
  text-align: center;
  color: #b5b5b5;
  font-size: 14px;
}

.footer-bottom-row p {
  margin: 5px 0;
}

/* admin_style.css */
/* =============================================
   NOVA Admin Panel Styles
   Common styles for all admin pages

/* ========== ADMIN LAYOUT ========== */
.admin-layout {
  display: flex;
  min-height: calc(100vh - 120px);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.sidebar {
  width: 220px;
  background: linear-gradient(180deg, #5e17eb 0%, #3a0e9b 100%);
  padding: 30px 0;
  margin-right: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(94, 23, 235, 0.2);
}

.sidebar a {
  display: block;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.sidebar a:hover,
.sidebar a.active {
  background: rgba(255, 255, 255, 0.15);
  border-left-color: #8a5cf6;
}

.admin-main {
  flex: 1;
  padding-top: 20px;
}

/* ========== ADMIN HEADER ========== */
.admin-header {
  margin-bottom: 40px;
}

.admin-header h1 {
  color: #5e17eb;
  font-family: "Belleza", Arial, sans-serif;
  font-size: 28px;
  margin: 0 0 10px 0;
}

.welcome-text {
  color: #666;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

/* ========== STATS CARDS ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  border: 1px solid var(--nova-card-border);
  box-shadow: 0 4px 15px rgba(94, 23, 235, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(94, 23, 235, 0.15);
}

.stat-card .number {
  font-size: 36px;
  font-weight: bold;
  color: #5e17eb;
  margin: 10px 0;
  font-family: Arial, Helvetica, sans-serif;
}

.stat-card h3 {
  color: #666;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* ========== DASHBOARD PANELS ========== */
.dashboard-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.dashboard-panel {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--nova-card-border);
  box-shadow: 0 4px 15px rgba(94, 23, 235, 0.08);
  padding: 25px;
  margin-bottom: 30px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.panel-header h2 {
  margin: 0;
  color: #5e17eb;
  font-family: "Belleza", Arial, sans-serif;
  font-size: 20px;
}

.panel-link {
  color: #5e17eb;
  text-decoration: none;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
}

.panel-link:hover {
  text-decoration: underline;
  color: #3a0e9b;
}

/* ========== TABLES ========== */
.admin-table,
.orders-table,
.products-table,
.reviews-table,
.users-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.orders-table th,
.products-table th,
.reviews-table th,
.users-table th {
  background: #f8f9fa;
  padding: 15px;
  text-align: left;
  font-weight: 600;
  color: #666;
  font-family: Arial, Helvetica, sans-serif;
  border-bottom: 2px solid #eaeaea;
}

.admin-table td,
.orders-table td,
.products-table td,
.reviews-table td,
.users-table td {
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
  font-family: Arial, Helvetica, sans-serif;
}

.admin-table tr:hover,
.orders-table tr:hover,
.products-table tr:hover,
.reviews-table tr:hover,
.users-table tr:hover {
  background: #f9f5ff;
}

/* ========== ORDER STATUS BADGES ========== */
.status-badge {
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: Arial, Helvetica, sans-serif;
}

.status-processing {
  background: #fff3cd;
  color: #856404;
}
.status-pending {
  background: #fff3cd;
  color: #856404;
}
.status-shipped {
  background: #d1ecf1;
  color: #0c5460;
}
.status-delivered {
  background: #d4edda;
  color: #155724;
}
.status-paid {
  background: #d4edda;
  color: #155724;
}
.status-cancelled {
  background: #f8d7da;
  color: #721c24;
}

/* ========== PRODUCT STYLES ========== */
.product-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.product-desc {
  color: #666;
  font-size: 13px;
  line-height: 1.4;
}

.category-tag {
  display: inline-block;
  padding: 6px 15px;
  background: #f0e7ff;
  color: #5e17eb;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-amount {
  font-weight: 600;
  color: #5e17eb;
  font-size: 16px;
}

.price-range {
  color: #666;
  font-size: 12px;
  margin-top: 3px;
}

.variants-badge {
  display: inline-block;
  padding: 6px 12px;
  background: #f8f9fa;
  color: #666;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid #eaeaea;
}

/* ========== REVIEW STYLES ========== */
.review-rating {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 1px;
}

.star-rating {
  color: #f59e0b;
  font-size: 20px;
  letter-spacing: 2px;
  margin: 10px 0;
}

.review-product {
  font-weight: 600;
  color: #333;
  margin-bottom: 3px;
}

.review-user {
  color: #666;
  font-size: 13px;
}

.review-comment {
  color: #333;
  line-height: 1.5;
  max-width: 300px;
}

.review-date {
  color: #666;
  font-size: 13px;
  white-space: nowrap;
}

/* ========== FORM STYLES ========== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #333;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #5e17eb;
  box-shadow: 0 0 0 3px rgba(94, 23, 235, 0.1);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.submit-btn,
.add-btn,
.update-btn,
.primary-btn {
  padding: 14px 30px;
  background: #5e17eb;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: Arial, Helvetica, sans-serif;
  width: 100%;
}

.submit-btn:hover,
.add-btn:hover,
.update-btn:hover,
.primary-btn:hover {
  background: #4a12c9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(94, 23, 235, 0.25);
}

.delete-btn {
  padding: 8px 16px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: Arial, Helvetica, sans-serif;
}

.delete-btn:hover {
  background: #c82333;
  transform: translateY(-2px);
}

/* ========== MESSAGE STYLES ========== */
.message {
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.error-message {
  color: #dc3545;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

/* ========== QUICK ACTIONS ========== */
.quick-actions {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-actions li {
  margin-bottom: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.quick-actions li:hover {
  background: #f0e7ff;
  transform: translateX(5px);
}

.quick-actions a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
}

.quick-actions a:hover {
  color: #5e17eb;
}

.action-icon {
  width: 40px;
  height: 40px;
  background: #5e17eb;
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 18px;
}

.action-text {
  flex: 1;
}

.action-text small {
  display: block;
  color: #666;
  font-weight: normal;
  font-size: 13px;
  margin-top: 3px;
}

/* ========== PROFILE STYLES ========== */
.profile-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.profile-info-card {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 25px;
}

.profile-info-item {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eaeaea;
}

.profile-info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.info-label {
  display: block;
  color: #666;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
  font-family: Arial, Helvetica, sans-serif;
}

.info-value {
  display: block;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
}

/* ========== EMPTY STATE ========== */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-family: Arial, Helvetica, sans-serif;
}

/* ========== FORM NOTES ========== */
.form-note {
  margin-top: 15px;
  color: #666;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
}

/* ========== BUTTON VARIANTS ========== */
.btn-outline-purple {
  padding: 8px 16px;
  background: transparent;
  color: #5e17eb;
  border: 2px solid #5e17eb;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-purple:hover {
  background: #5e17eb;
  color: white;
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 1024px) {
  .dashboard-content {
    grid-template-columns: 1fr;
  }

  .profile-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .admin-layout {
    flex-direction: column;
    padding: 0 20px;
  }

  .sidebar {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
    padding: 15px 0;
  }

  .sidebar a {
    display: inline-block;
    margin: 0 10px;
    border-left: none;
    border-bottom: 3px solid transparent;
  }

  .sidebar a.active {
    border-bottom-color: #8a5cf6;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .admin-table,
  .orders-table,
  .products-table,
  .reviews-table,
  .users-table {
    display: block;
    overflow-x: auto;
  }
}

/* ============================================================
   customer_profile.css  –  NOVA Customer Profile Page
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&display=swap");

:root {
  --cp-purple: #5e17eb;
  --cp-purple-dark: #4a12c9;
  --cp-purple-grad: #3a0e9b;
  --cp-purple-pale: #f4f1fa;
  --cp-purple-border: #e0d4f7;
  --cp-danger: #c0392b;
  --cp-danger-pale: #fdf3f2;
  --cp-success: #1a7f4b;
  --cp-success-pale: #edfaf3;
  --cp-radius: 14px;
  --cp-radius-sm: 8px;
  --cp-shadow: 0 4px 20px rgba(94, 23, 235, 0.08);
}

.cp-body #main-header {
  margin-bottom: 0 !important;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(242, 242, 242);
  border-bottom: 0px solid #e8e8e8;
}

/* ============================================================
      FULL-PAGE WRAPPER — fills everything below the navbar
      ============================================================ */
.cp-page-wrap {
  display: flex;
  min-height: calc(
    100vh - 88px
  ); /* 88px = navbar height, adjust if yours differs */
  background: #f2f2f2;
}

/* ============================================================
      SIDEBAR — starts right at the top of cp-page-wrap
      ============================================================ */
.cp-sidebar {
  width: 240px;
  min-width: 240px;
  background: linear-gradient(
    180deg,
    rgb(242, 242, 242) 0%,
    #3a0e9b 10%,
    #1a0533 30%,
    #000000 100%
  );
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 88px;
  height: calc(100vh - 88px);
  overflow-y: auto;
  flex-shrink: 0;
}

/* Avatar / welcome block */
.cp-sidebar-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px 0;
  text-align: center;
}

.cp-avatar-ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  padding: 4px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cp-avatar-inner {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #5e17eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Belleza", Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 2px 12px rgba(94, 23, 235, 0.35);
}

.cp-greet {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 2px;
  font-family: "DM Sans", Arial, sans-serif;
}

.cp-name {
  color: #fff;
  font-family: "Belleza", Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 3px;
  word-break: break-word;
}

.cp-role {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  margin: 0 0 16px;
  font-family: "DM Sans", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Stats row inside sidebar */
.cp-sb-stats {
  display: flex;
  width: 100%;
  border-top: none;
  border-bottom: none;
}

.cp-sb-stat {
  flex: 1;
  padding: 10px 0;
  text-align: center;
}

.cp-sb-stat:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.cp-sb-stat-value {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

.cp-sb-stat-value.active {
  color: #6ee7b7;
}

.cp-sb-stat-label {
  display: block;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 2px;
  font-family: "DM Sans", Arial, sans-serif;
}

/* Nav links */
.cp-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  flex: 1;
}

.cp-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: "DM Sans", Arial, sans-serif;
  border-left: 3px solid transparent;
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

.cp-nav-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.cp-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding-left: 26px;
}

.cp-nav-active {
  background: rgba(94, 23, 235, 0.35) !important;
  color: #fff !important;
  border-left-color: #9b6dff !important;
  font-weight: 600 !important;
}

.cp-nav-logout {
  color: rgba(255, 255, 255, 0.3) !important;
  border-top: none !important;
  margin-top: 0;
}

.cp-nav-logout:hover {
  background: rgba(255, 60, 60, 0.08) !important;
  color: #ffb3b3 !important;
  padding-left: 26px;
}

/* Divider line between nav groups */
.cp-nav-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 4px 20px;
}

/* Brand footer strip at bottom of sidebar */
.cp-sb-bottom {
  padding: 14px 20px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cp-sb-bottom-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5e17eb;
  flex-shrink: 0;
}

.cp-sb-bottom-text {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 0.07em;
  font-family: "DM Sans", Arial, sans-serif;
}

/* ============================================================
      MAIN CONTENT
      ============================================================ */
.cp-main {
  flex: 1;
  padding: 32px 36px 60px;
  min-width: 0; /* prevents overflow */
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Page header */
.cp-page-header h1 {
  font-family: "Belleza", Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #111;
  margin: 0 0 5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cp-page-header p {
  font-size: 14px;
  color: #666;
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
}

.cp-snapshot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cp-snap-item {
  background: #fff;
  border: 1px solid var(--cp-purple-border);
  border-radius: var(--cp-radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--cp-shadow);
}

.cp-snap-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--cp-purple);
  font-family: "Belleza", Arial, sans-serif;
  line-height: 1;
}
.cp-snap-active {
  color: #28a745;
}
.cp-snap-date {
  font-size: 14px !important;
}

.cp-snap-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #888;
  font-family: "DM Sans", Arial, sans-serif;
}

.cp-card {
  background: #fff;
  border: 1px solid var(--cp-purple-border);
  border-radius: var(--cp-radius);
  padding: 24px 26px;
  box-shadow: var(--cp-shadow);
  scroll-margin-top: 24px;
}

.cp-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0ebfb;
  margin-bottom: 18px;
}

.cp-card-header h2 {
  font-family: "Belleza", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cp-card-link {
  margin-left: auto;
  color: var(--cp-purple);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  font-family: "DM Sans", Arial, sans-serif;
}
.cp-card-link:hover {
  text-decoration: underline;
}

.cp-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 20px;
  background: var(--cp-purple-pale);
  color: var(--cp-purple);
  border: 1px solid var(--cp-purple-border);
  white-space: nowrap;
  font-family: "DM Sans", Arial, sans-serif;
}

.cp-badge-amber {
  background: #fef3e2;
  color: #92400e;
  border-color: #fcd98a;
}

.cp-alert {
  padding: 11px 15px;
  border-radius: var(--cp-radius-sm);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
  font-family: "DM Sans", Arial, sans-serif;
}
.cp-alert-success {
  background: var(--cp-success-pale);
  color: var(--cp-success);
  border: 1px solid #a7e8c6;
}
.cp-alert-error {
  background: var(--cp-danger-pale);
  color: var(--cp-danger);
  border: 1px solid #f5c0bb;
}

.cp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}

.cp-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cp-field-full {
  grid-column: 1 / -1;
}

.cp-field label {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  font-family: "DM Sans", Arial, sans-serif;
}

.cp-field input {
  padding: 10px 12px;
  border: 1.5px solid #ddd;
  border-radius: var(--cp-radius-sm);
  font-size: 14px;
  font-family: "DM Sans", Arial, sans-serif;
  color: #222;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.cp-field input:focus {
  border-color: var(--cp-purple);
  box-shadow: 0 0 0 3px rgba(94, 23, 235, 0.1);
  outline: none;
  background: #fff;
}

.cp-strength-text {
  font-size: 11px;
  margin-top: 3px;
  font-family: "DM Sans", Arial, sans-serif;
  min-height: 15px;
}

.cp-form-actions {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f0ebfb;
  display: flex;
  gap: 10px;
}

.cp-btn-primary {
  padding: 11px 24px;
  background: var(--cp-purple);
  color: #fff;
  border: none;
  border-radius: var(--cp-radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: "DM Sans", Arial, sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.cp-btn-primary:hover {
  background: var(--cp-purple-dark);
  transform: translateY(-1px);
}

.cp-table-wrap {
  overflow-x: auto;
}

.cp-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "DM Sans", Arial, sans-serif;
}

.cp-table th {
  background: #faf8ff;
  padding: 9px 12px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #7a6e9b;
  border-bottom: 1px solid #e6e1ff;
}

.cp-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f2eefb;
  font-size: 13px;
  color: #333;
}

.cp-table tbody tr:hover {
  background: #f8f5ff;
}
.cp-table tbody tr:last-child td {
  border-bottom: none;
}

.cp-empty {
  text-align: center;
  padding: 32px 20px;
  color: #888;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
}
.cp-empty-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--cp-purple);
  text-decoration: none;
  font-weight: 600;
}
.cp-empty-link:hover {
  text-decoration: underline;
}

/* Status badges (reuse the ones already in style.css) */
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: "DM Sans", Arial, sans-serif;
}
.status-pending {
  background: #fff5d6;
  color: #8b6a17;
}
.status-processing {
  background: #e2f5fb;
  color: #11556a;
}
.status-shipped {
  background: #dde7ff;
  color: #193f9c;
}
.status-delivered,
.status-paid {
  background: #ddf3e6;
  color: #17613e;
}
.status-cancelled {
  background: #fbe0e2;
  color: #8a2630;
}

/* ============================================================
      REVIEWS
      ============================================================ */
.cp-reviews-list {
  display: flex;
  flex-direction: column;
}

.cp-review-item {
  padding: 12px 0;
  border-bottom: 1px solid #f2eefb;
}
.cp-review-item:last-child {
  border-bottom: none;
}

.cp-review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.cp-review-product {
  font-size: 13px;
  font-weight: 700;
  color: #222;
  font-family: "Belleza", Arial, sans-serif;
}
.cp-review-stars {
  font-size: 14px;
  letter-spacing: 1px;
}
.cp-review-comment {
  font-size: 13px;
  color: #555;
  margin: 0 0 5px;
  line-height: 1.55;
  font-family: "DM Sans", Arial, sans-serif;
}
.cp-review-date {
  font-size: 11px;
  color: #aaa;
  font-family: "DM Sans", Arial, sans-serif;
}

/* ============================================================
      DANGER ZONE
      ============================================================ */
.cp-danger-card {
  border-color: #f5c0bb;
  background: var(--cp-danger-pale);
}
.cp-danger-card .cp-card-header {
  border-bottom-color: #f9d5d2;
}
.cp-danger-card .cp-card-header h2 {
  color: var(--cp-danger);
}

.cp-danger-desc {
  font-size: 13px;
  color: #a0574f;
  margin: 0 0 14px;
  font-family: "DM Sans", Arial, sans-serif;
}
.cp-danger-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cp-btn-danger-outline {
  padding: 10px 18px;
  background: transparent;
  color: var(--cp-danger);
  border: 1.5px solid var(--cp-danger);
  border-radius: var(--cp-radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: "DM Sans", Arial, sans-serif;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.cp-btn-danger-outline:hover {
  background: var(--cp-danger);
  color: #fff;
}

.cp-btn-danger {
  padding: 10px 18px;
  background: var(--cp-danger);
  color: #fff;
  border: 1.5px solid var(--cp-danger);
  border-radius: var(--cp-radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: "DM Sans", Arial, sans-serif;
  text-decoration: none;
  transition: opacity 0.2s;
  cursor: pointer;
}
.cp-btn-danger:hover {
  opacity: 0.82;
}

/* ============================================================
      RESPONSIVE
      ============================================================ */
@media (max-width: 1024px) {
  .cp-snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .cp-sidebar {
    width: 200px;
    min-width: 200px;
  }
  .cp-main {
    padding: 24px 20px 50px;
  }
}

@media (max-width: 700px) {
  .cp-page-wrap {
    flex-direction: column;
  }
  .cp-sidebar {
    width: 100%;
    height: auto;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 10px;
  }
  .cp-sidebar-top {
    display: none;
  }
  .cp-nav {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    width: 100%;
  }
  .cp-nav-link {
    padding: 8px 12px;
    font-size: 12px;
    border-left: none;
    border-bottom: 3px solid transparent;
  }
  .cp-nav-link:hover {
    padding-left: 12px;
  }
  .cp-nav-active {
    border-bottom-color: #fff !important;
    border-left: none !important;
  }
  .cp-nav-logout {
    margin-top: 0;
    border-top: none;
  }
  .cp-main {
    padding: 18px 14px 40px;
  }
  .cp-snapshot {
    grid-template-columns: 1fr 1fr;
  }
  .cp-form-grid {
    grid-template-columns: 1fr;
  }
  .cp-page-header h1 {
    font-size: 22px;
  }
}

/* Remove gap between sidebar area and footer on profile page */
.cp-body .nova-footer {
  margin-top: 0 !important;
}

/* ===== NOVA ACCESS CODE UI ===== */

.generate-btn {
  padding: 12px 28px;
  background: #5e17eb;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  width: auto;
}

.generate-btn:hover {
  background: #4a12c9;
  transform: translateY(-2px);
}

/* CENTER BUTTON */
.dashboard-panel form {
  text-align: center;
}

/* card */
.code-card {
  background: #f8f8f8;
  border-radius: 16px;
  padding: 30px;
  margin-top: 20px;
  text-align: center;
}

/* helper text */
.code-helper {
  text-align: left;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  color: #777;
  margin-bottom: 20px;
}

/* label */
.code-label {
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 3px;
  color: #888;
  margin-bottom: 10px;
}

/* code + icon row */
.code-value-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* code text */
.code-value {
  font-size: 34px;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 10px;
  font-weight: 600;
  color: #111;
}

/* timer */
.code-timer {
  margin-top: 10px;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  color: #666;
}

/* copy icon */
.copy-icon {
  position: relative;
  cursor: pointer;
  width: 20px;
  height: 20px;
}

.copy-icon img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.2s ease;
}

.copy-active {
  opacity: 0;
}

.copy-icon:hover .copy-default {
  opacity: 0;
}

.copy-icon:hover .copy-active {
  opacity: 1;
}

/* feedback */
.copy-feedback {
  margin-top: 15px;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  color: #5e17eb;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.copy-feedback.show {
  opacity: 1;
}
/* =========================================================
   NOVA DARK MODE - APPEND TO END OF OLD style.css
   ========================================================= */

body.dark-mode {
  --bg: #0d0d12;
  --text: #f5f5f7;
  --text-muted: #b8b8c2;
  --card-bg: #17171f;
  --card-border: #2c2c38;
  --input-bg: #20202b;
  --input-text: #f5f5f7;
  --input-border: #3a3a49;
  --footer-bg: #050507;
  --footer-text: #f5f5f7;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --purple: #7c3aed;
  --purple-hover: #6d28d9;
}

/* base background colour for NOVA website */
body {
  background-color: var(--bg);
  color: var(--text);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Global dark mode text fix */

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
  color: var(--text);
}

body.dark-mode p,
body.dark-mode li,
body.dark-mode span {
  color: var(--text-muted);
}

/* ===============================
   PRODUCT PAGE DARK MODE FIX
   =============================== */

body.dark-mode .product-title {
  color: var(--text) !important;
}

body.dark-mode .product-category,
body.dark-mode .product-rating,
body.dark-mode .product-desc,
body.dark-mode .info-paragraph,
body.dark-mode .info-block p,
body.dark-mode .product-info-section p,
body.dark-mode .product-info-section li {
  color: var(--text-muted) !important;
}

/* Product headings */
body.dark-mode .info-title,
body.dark-mode .product-reviews h2 {
  color: var(--text) !important;
}

/* Price */
body.dark-mode .product-price {
  color: var(--text) !important;
  font-weight: 600;
}

/* Dropdown + inputs */
body.dark-mode select,
body.dark-mode input {
  background: var(--input-bg);
  color: var(--input-text);
  border: 1px solid var(--input-border);
}

/* Product cards */
body.dark-mode .product-detail-panel,
body.dark-mode .product-info-section,
body.dark-mode .product-img-wrapper {
  background: var(--card-bg);
  border-color: var(--card-border);
}

/* Thumbnails */
body.dark-mode .thumb-btn {
  background: var(--card-bg);
  border-color: var(--card-border);
}

/* =========================================
   SHOP / RELATED CARDS DARK MODE TEXT FIX
   ========================================= */

body.dark-mode .product-info h3,
body.dark-mode .product-card h3,
body.dark-mode .related-products .product-info h3,
body.dark-mode .related-products .product-card h3 {
  color: var(--text) !important;
}

body.dark-mode .product-category,
body.dark-mode .product-price,
body.dark-mode .product-rating,
body.dark-mode .product-desc,
body.dark-mode .related-products .product-category,
body.dark-mode .related-products .product-price,
body.dark-mode .related-products .product-rating {
  color: var(--text-muted) !important;
}

/* Shop title + filter labels */
body.dark-mode .shop-title,
body.dark-mode .filter-group label {
  color: var(--text) !important;
}

/* Filter bar inputs/selects */
body.dark-mode .filter-group select,
body.dark-mode .filter-group input[type="text"] {
  background: var(--input-bg) !important;
  color: var(--input-text) !important;
  border-color: var(--input-border) !important;
}

/* Product cards */
body.dark-mode .product-card {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  box-shadow: var(--shadow-soft) !important;
}

/* Image wrapper area */
body.dark-mode .product-img-wrapper {
  background: #141420 !important;
  border-color: var(--card-border) !important;
}

/* Product footer row */
body.dark-mode .card-footer-line,
body.dark-mode .product-info {
  color: var(--text) !important;
}

/* No reviews text */
body.dark-mode .product-rating {
  color: var(--text-muted) !important;
}

/* Related section heading */
body.dark-mode .related-title,
body.dark-mode .related-products h2 {
  color: var(--text) !important;
}

/* Reviews section text */
body.dark-mode .product-reviews h2,
body.dark-mode .product-reviews h3 {
  color: var(--text) !important;
}

body.dark-mode .product-reviews p,
body.dark-mode .review-form-wrapper p {
  color: var(--text-muted) !important;
}

/* Review form controls */
body.dark-mode .review-form select,
body.dark-mode .review-form textarea {
  background: var(--input-bg) !important;
  color: var(--input-text) !important;
  border-color: var(--input-border) !important;
}

/* Pagination */
body.dark-mode .pagination a,
body.dark-mode .pagination span {
  background: var(--card-bg) !important;
  color: var(--text) !important;
  border-color: var(--card-border) !important;
}

body.dark-mode .pagination .current {
  background: var(--purple) !important;
  color: #fff !important;
  border-color: var(--purple) !important;
}

/* Dark mode polish */
body.dark-mode .value-card,
body.dark-mode .unique-point,
body.dark-mode .craft-card {
  background: linear-gradient(
    180deg,
    rgba(23, 23, 31, 0.98) 0%,
    rgba(18, 18, 26, 0.98) 100%
  ) !important;
  border: 1px solid rgba(124, 58, 237, 0.16) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

body.dark-mode .value-card:hover,
body.dark-mode .unique-point:hover,
body.dark-mode .craft-card:hover {
  border-color: rgba(124, 58, 237, 0.34) !important;
  box-shadow: 0 22px 42px rgba(124, 58, 237, 0.18);
}

body.dark-mode .value-card::after,
body.dark-mode .unique-point::after,
body.dark-mode .craft-card::after {
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.18) 0%,
    rgba(124, 58, 237, 0) 70%
  );
}

/* =========================================
   NAVBAR + FILTER BAR DARK MODE FIX
   ========================================= */

/* Navbar container */
body.dark-mode #main-header,
body.dark-mode #navbar {
  background: transparent !important;
}

/* Navbar text links */
body.dark-mode .nav-link {
  color: var(--text) !important;
}

body.dark-mode .nav-link.active {
  color: var(--purple) !important;
}

body.dark-mode .nav-link:hover {
  color: var(--purple) !important;
}

/* DARK MODE NAV ICONS */

/* dark mode: black default icon becomes white */
body.dark-mode .account-icon-default,
body.dark-mode .basket-icon-default {
  filter: brightness(0) invert(1);
}

/* dark mode hover/active icon stays purple */
body.dark-mode .account-icon-active,
body.dark-mode .basket-icon-active {
  filter: none;
}

/* Theme toggle */
body.dark-mode .theme-toggle {
  background: var(--card-bg) !important;
  border-color: var(--card-border) !important;
  color: var(--text) !important;
}

/* Basket/account icons area */
body.dark-mode .account-link,
body.dark-mode .basket-link {
  color: var(--text) !important;
}

/* Logo */
body.dark-mode #logo {
  filter: none;
}

/* =========================================
   FILTER / SEARCH BAR
   ========================================= */

body.dark-mode .filter-bar {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  box-shadow: var(--shadow-soft) !important;
}

/* Filter labels */
body.dark-mode .filter-group label {
  color: var(--text) !important;
}

/* Select and input */
body.dark-mode .filter-group select,
body.dark-mode .filter-group input[type="text"] {
  background: var(--input-bg) !important;
  color: var(--input-text) !important;
  border: 1px solid var(--input-border) !important;
}

/* Placeholder */
body.dark-mode .filter-group input[type="text"]::placeholder {
  color: var(--text-muted) !important;
}

/* Buttons */
body.dark-mode .apply-btn {
  background: var(--purple) !important;
  border-color: var(--purple) !important;
  color: #fff !important;
}

body.dark-mode .clear-btn {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  color: var(--text) !important;
}

body.dark-mode .clear-btn:hover {
  border-color: var(--purple) !important;
  color: var(--purple) !important;
}

/* =========================================
   AUTH + CONTACT DARK MODE FINAL FIX
   ========================================= */

/* Register / Login / Logout cards */
body.dark-mode .register-container,
body.dark-mode .login-container,
body.dark-mode .logout-container,
body.dark-mode .contact-section {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  box-shadow: var(--shadow-soft) !important;
  color: var(--text) !important;
}

/* Titles */
body.dark-mode .register-title-inside,
body.dark-mode .login-title,
body.dark-mode .logout-title,
body.dark-mode .contact-section h1,
body.dark-mode .contact-info h2,
body.dark-mode .contact-info-item h3 {
  color: var(--text) !important;
}

/* Subtitles / helper text / intro */
body.dark-mode .register-subtitle,
body.dark-mode .login-subtitle,
body.dark-mode .logout-subtitle,
body.dark-mode .register-already-user,
body.dark-mode .login-already-user,
body.dark-mode .already-user,
body.dark-mode .logout-redirect-info,
body.dark-mode .contact-intro,
body.dark-mode .contact-response-time,
body.dark-mode .helper-text,
body.dark-mode .contact-info-item p {
  color: var(--text-muted) !important;
}

/* Auth labels */
body.dark-mode .register-form label,
body.dark-mode .login-form label,
body.dark-mode .contact-form label,
body.dark-mode .form-group label {
  color: var(--text) !important;
}

/* Auth inputs */
body.dark-mode .register-input,
body.dark-mode .login-form input[type="email"],
body.dark-mode .login-form input[type="text"],
body.dark-mode .login-form input[type="password"],
body.dark-mode .contact-form input[type="text"],
body.dark-mode .contact-form input[type="email"],
body.dark-mode .contact-form select,
body.dark-mode .contact-form textarea {
  background: var(--input-bg) !important;
  color: var(--input-text) !important;
  border: 1px solid var(--input-border) !important;
}

/* Placeholders */
body.dark-mode .register-input::placeholder,
body.dark-mode .login-form input::placeholder,
body.dark-mode .contact-form input::placeholder,
body.dark-mode .contact-form textarea::placeholder {
  color: var(--text-muted) !important;
  opacity: 1;
}

/* Focus states */
body.dark-mode .register-input:focus,
body.dark-mode .login-form input[type="email"]:focus,
body.dark-mode .login-form input[type="text"]:focus,
body.dark-mode .login-form input[type="password"]:focus,
body.dark-mode .contact-form input[type="text"]:focus,
body.dark-mode .contact-form input[type="email"]:focus,
body.dark-mode .contact-form select:focus,
body.dark-mode .contact-form textarea:focus {
  background: #242432 !important;
  border-color: var(--purple) !important;
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.18) !important;
  color: var(--input-text) !important;
}

/* Links inside auth cards */
body.dark-mode .register-already-user a,
body.dark-mode .login-already-user a,
body.dark-mode .already-user a,
body.dark-mode .contact-info a {
  color: var(--text) !important;
}

body.dark-mode .register-already-user a:hover,
body.dark-mode .login-already-user a:hover,
body.dark-mode .already-user a:hover,
body.dark-mode .contact-info a:hover {
  color: var(--purple) !important;
}

/* Contact section borders */
body.dark-mode .contact-info {
  border-top: 1px solid var(--card-border) !important;
}

/* Required asterisk can stay visible */
body.dark-mode .required {
  color: #ff6b6b !important;
}

/* Error messages inside contact/auth */
body.dark-mode .register-error,
body.dark-mode .login-error,
body.dark-mode .error,
body.dark-mode .error-message,
body.dark-mode .form-status-error {
  color: #ffb3b3 !important;
}

/* Success messages */
body.dark-mode .form-status-success {
  color: #b9f5c8 !important;
}

/* =========================================
   FINAL DARK MODE FIX - BASKET + CHECKOUT
   ========================================= */

/* Basket + checkout page titles */
body.dark-mode .basket-title,
body.dark-mode .checkout-title,
body.dark-mode .section-heading,
body.dark-mode .checkout-subtitle {
  color: var(--text) !important;
}

/* Main boxes */
body.dark-mode .basket-products-box,
body.dark-mode .basket-summary-box,
body.dark-mode .checkout-box {
  background: linear-gradient(
    180deg,
    rgba(23, 23, 31, 0.98) 0%,
    rgba(18, 18, 26, 0.98) 100%
  ) !important;
  border: 1px solid rgba(124, 58, 237, 0.16) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32) !important;
  color: var(--text) !important;
}

/* Basket rows */
body.dark-mode .basket-item {
  border-bottom: 1px solid var(--card-border) !important;
  color: var(--text) !important;
}

/* Basket product text */
body.dark-mode .basket-item-title,
body.dark-mode .basket-item-title a,
body.dark-mode .basket-item-total {
  color: var(--text) !important;
}

body.dark-mode .basket-item-size,
body.dark-mode .basket-item-price-row,
body.dark-mode .basket-item-price-row span,
body.dark-mode .basket-item-price-row strong,
body.dark-mode .basket-item-qty-row,
body.dark-mode .basket-item-qty-row label {
  color: var(--text-muted) !important;
}

/* Basket quantity input */
body.dark-mode .basket-item-qty-row input[type="number"] {
  background: var(--input-bg) !important;
  color: var(--input-text) !important;
  border: 1px solid var(--input-border) !important;
}

/* Basket remove link */
body.dark-mode .basket-item-qty-row a,
body.dark-mode .basket-item a[href*="remove"],
body.dark-mode .remove-link {
  color: #ff8a8a !important;
}

body.dark-mode .basket-item-qty-row a:hover,
body.dark-mode .basket-item a[href*="remove"]:hover,
body.dark-mode .remove-link:hover {
  color: #ffb3b3 !important;
}

/* Basket summary */
body.dark-mode .summary-row,
body.dark-mode .summary-row span,
body.dark-mode .summary-row strong {
  color: var(--text) !important;
}

body.dark-mode .summary-row:not(.summary-row-total) span:first-child {
  color: var(--text-muted) !important;
}

body.dark-mode .summary-row-total,
body.dark-mode .summary-row-total span,
body.dark-mode .summary-row-total strong {
  color: var(--text) !important;
  font-weight: 700 !important;
}

/* Update basket button */
body.dark-mode .update-row button,
body.dark-mode .btn-secondary,
body.dark-mode .basket-products-box .btn-secondary {
  background: transparent !important;
  color: var(--text) !important;
  border: 1px solid var(--input-border) !important;
}

body.dark-mode .update-row button:hover,
body.dark-mode .btn-secondary:hover,
body.dark-mode .basket-products-box .btn-secondary:hover {
  border-color: var(--purple) !important;
  color: var(--purple) !important;
}

/* Checkout form labels */
body.dark-mode .checkout-box label,
body.dark-mode .form-group label {
  color: var(--text) !important;
}

/* Checkout inputs */
body.dark-mode .checkout-box input,
body.dark-mode .checkout-box select,
body.dark-mode .checkout-box textarea {
  background: var(--input-bg) !important;
  color: var(--input-text) !important;
  border: 1px solid var(--input-border) !important;
}

body.dark-mode .checkout-box input::placeholder,
body.dark-mode .checkout-box textarea::placeholder {
  color: var(--text-muted) !important;
}

/* Payment cards */
body.dark-mode .payment-option {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid var(--card-border) !important;
  color: var(--text) !important;
}

body.dark-mode .payment-option-inner {
  background: transparent !important;
}

body.dark-mode .payment-name {
  color: var(--text) !important;
}

body.dark-mode .payment-desc {
  color: var(--text-muted) !important;
}

body.dark-mode
  .payment-option
  input[type="radio"]:checked
  + .payment-option-inner {
  background: rgba(124, 58, 237, 0.14) !important;
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.35) !important;
}

/* Checkout summary */
body.dark-mode .summary-list,
body.dark-mode .summary-item-row,
body.dark-mode .summary-item-name,
body.dark-mode .summary-footer-row,
body.dark-mode .summary-footer-total {
  color: var(--text) !important;
}

body.dark-mode .summary-item-row {
  border-bottom: 1px solid var(--card-border) !important;
}

body.dark-mode .summary-item-name small {
  color: var(--text-muted) !important;
}

body.dark-mode .summary-footer-row span:first-child {
  color: var(--text-muted) !important;
}

body.dark-mode .summary-footer-total span,
body.dark-mode .summary-footer-row.summary-footer-total span {
  color: var(--text) !important;
  font-weight: 700 !important;
}

/* Buttons */
body.dark-mode .checkout-box .btn-primary,
body.dark-mode .basket-summary-box .btn-primary,
body.dark-mode .browse-btn,
body.dark-mode .basket-btn {
  background: var(--purple) !important;
  color: #ffffff !important;
  border: none !important;
}

body.dark-mode .checkout-box .btn-primary:hover,
body.dark-mode .basket-summary-box .btn-primary:hover,
body.dark-mode .browse-btn:hover,
body.dark-mode .basket-btn:hover {
  background: var(--purple-hover) !important;
}

/* Empty basket state */
body.dark-mode .basket-empty-message,
body.dark-mode .basket-empty,
body.dark-mode .basket-empty-actions {
  color: var(--text-muted) !important;
}

/* If old styles are forcing white cards, kill them */
/* Dark mode only */
body.dark-mode .home-reviews .home-section-header h2 {
  color: var(--text) !important;
}

body.dark-mode .reviews-subtitle {
  color: var(--text-muted) !important;
}

body.dark-mode .review-card {
  background: linear-gradient(
    180deg,
    rgba(23, 23, 31, 0.98) 0%,
    rgba(18, 18, 26, 0.98) 100%
  ) !important;
  border: 1px solid rgba(124, 58, 237, 0.16) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32) !important;
  position: relative;
  overflow: hidden;
}

body.dark-mode .review-card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.18) 0%,
    rgba(124, 58, 237, 0) 70%
  );
  pointer-events: none;
  opacity: 0.8;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

body.dark-mode .review-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.34) !important;
  box-shadow: 0 24px 44px rgba(124, 58, 237, 0.18) !important;
}

body.dark-mode .review-card:hover::after {
  transform: scale(1.12);
  opacity: 1;
}

body.dark-mode .review-text {
  color: #f5f5f7 !important;
}

body.dark-mode .review-author {
  color: #c4b5fd !important;
}

/* =========================================================
   ADMIN PANEL - REVISED DARK MODE FIX
   Put this at the END of style.css
   ========================================================= */

body.dark-mode .admin-layout {
  background: transparent;
}

body.dark-mode .admin-main {
  color: var(--text);
}

/* Sidebar */
body.dark-mode .sidebar {
  background: linear-gradient(180deg, #5e17eb 0%, #3a0e9b 100%);
  border: 1px solid rgba(138, 92, 246, 0.22);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

body.dark-mode .sidebar a {
  color: #ffffff;
}

body.dark-mode .sidebar a:hover,
body.dark-mode .sidebar a.active {
  background: rgba(255, 255, 255, 0.14);
  border-left-color: #b89cff;
  color: #ffffff;
}

/* Header */
body.dark-mode .admin-header h1 {
  color: #ffffff;
}

body.dark-mode .welcome-text {
  color: #d0d0db !important;
}

/* Stats cards */
body.dark-mode .stats-grid,
body.dark-mode .stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

body.dark-mode .stat-card {
  background: #17171f;
  border: 1px solid #2c2c38;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

body.dark-mode .stat-card:hover {
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.18);
}

body.dark-mode .stat-card .number {
  color: #8b5cf6 !important;
}

body.dark-mode .stat-card h3 {
  color: #d6d6e0 !important;
}

/* Main panels */
body.dark-mode .dashboard-panel,
body.dark-mode .orders-table-container,
body.dark-mode .profile-info-card {
  background: #17171f !important;
  border: 1px solid #2c2c38 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
}

body.dark-mode .panel-header {
  border-bottom: 1px solid #2d2d3a;
}

body.dark-mode .panel-header h2 {
  color: #ffffff !important;
}

body.dark-mode .panel-link {
  color: #a78bfa !important;
}

body.dark-mode .panel-link:hover {
  color: #c4b5fd !important;
}

/* Generic admin text */
body.dark-mode .product-name,
body.dark-mode .review-product,
body.dark-mode .review-comment,
body.dark-mode .info-value,
body.dark-mode .action-text,
body.dark-mode .dashboard-panel strong,
body.dark-mode .orders-table strong,
body.dark-mode .products-table strong,
body.dark-mode .reviews-table strong {
  color: #f5f5f7 !important;
}

body.dark-mode .product-desc,
body.dark-mode .review-user,
body.dark-mode .review-date,
body.dark-mode .price-range,
body.dark-mode .info-label,
body.dark-mode .form-note,
body.dark-mode .empty-state,
body.dark-mode .action-text small,
body.dark-mode .admin-muted,
body.dark-mode .empty-row {
  color: #b8b8c2 !important;
}

/* Tables */
body.dark-mode .admin-table,
body.dark-mode .orders-table,
body.dark-mode .products-table,
body.dark-mode .reviews-table,
body.dark-mode .users-table {
  background: transparent;
  color: #f5f5f7;
}

body.dark-mode .admin-table th,
body.dark-mode .orders-table th,
body.dark-mode .products-table th,
body.dark-mode .reviews-table th,
body.dark-mode .users-table th {
  background: #1e1e29;
  color: #d8d8e2 !important;
  border-bottom: 1px solid #303040;
}

body.dark-mode .admin-table td,
body.dark-mode .orders-table td,
body.dark-mode .products-table td,
body.dark-mode .reviews-table td,
body.dark-mode .users-table td {
  color: #f5f5f7 !important;
  border-bottom: 1px solid #2a2a37;
}

body.dark-mode .admin-table tr:hover,
body.dark-mode .orders-table tr:hover,
body.dark-mode .products-table tr:hover,
body.dark-mode .reviews-table tr:hover,
body.dark-mode .users-table tr:hover {
  background: rgba(124, 58, 237, 0.08);
}

/* Badges */
body.dark-mode .category-tag {
  background: rgba(124, 58, 237, 0.16);
  color: #d7c8ff !important;
}

body.dark-mode .variants-badge {
  background: #21212b;
  color: #d7d7e2 !important;
  border: 1px solid #343444;
}

body.dark-mode .price-amount {
  color: #a78bfa !important;
}

/* Status badges */
body.dark-mode .status-processing,
body.dark-mode .status-pending {
  background: rgba(245, 158, 11, 0.16);
  color: #fcd34d !important;
}

body.dark-mode .status-shipped {
  background: rgba(59, 130, 246, 0.16);
  color: #93c5fd !important;
}

body.dark-mode .status-delivered,
body.dark-mode .status-paid {
  background: rgba(34, 197, 94, 0.16);
  color: #86efac !important;
}

body.dark-mode .status-cancelled {
  background: rgba(239, 68, 68, 0.16);
  color: #fca5a5 !important;
}

/* Forms */
body.dark-mode .form-group label {
  color: #f5f5f7 !important;
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
  background: #20202b !important;
  color: #f5f5f7 !important;
  border: 1px solid #3a3a49 !important;
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder {
  color: #9f9fad !important;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group select:focus,
body.dark-mode .form-group textarea:focus {
  border-color: #8b5cf6 !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.16) !important;
}

/* Buttons */
body.dark-mode .submit-btn,
body.dark-mode .add-btn,
body.dark-mode .update-btn,
body.dark-mode .primary-btn {
  background: #6d28d9;
  color: #ffffff !important;
}

body.dark-mode .submit-btn:hover,
body.dark-mode .add-btn:hover,
body.dark-mode .update-btn:hover,
body.dark-mode .primary-btn:hover {
  background: #5b21b6;
}

body.dark-mode .delete-btn {
  background: #dc3545;
  color: #ffffff !important;
}

body.dark-mode .delete-btn:hover {
  background: #b91c1c;
}

/* Orders action buttons */
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-view,
.btn-ship,
.btn-cancel {
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-view {
  background: #f1f1f1;
  color: #222;
}

.btn-view:hover {
  background: #e3e3e3;
}

.btn-ship {
  background: #5e17eb;
  color: #fff;
}

.btn-ship:hover {
  background: #4a12c9;
}

.btn-cancel {
  background: #dc3545;
  color: #fff;
}

.btn-cancel:hover {
  background: #c82333;
}

body.dark-mode .btn-view {
  background: #2b2b38;
  color: #f5f5f7;
}

body.dark-mode .btn-view:hover {
  background: #3a3a49;
}

body.dark-mode .btn-ship {
  background: #2563eb;
  color: #ffffff;
}

body.dark-mode .btn-ship:hover {
  background: #1d4ed8;
}

body.dark-mode .btn-cancel {
  background: #dc2626;
  color: #ffffff;
}

body.dark-mode .btn-cancel:hover {
  background: #b91c1c;
}

/* Quick actions */
body.dark-mode .quick-actions li {
  background: #1f1f2a;
  border: 1px solid #2f2f3d;
}

body.dark-mode .quick-actions li:hover {
  background: rgba(124, 58, 237, 0.12);
}

body.dark-mode .quick-actions a {
  color: #f5f5f7 !important;
}

body.dark-mode .quick-actions a:hover {
  color: #c4b5fd !important;
}

body.dark-mode .action-icon {
  background: #6d28d9;
  color: #ffffff;
}

/* Profile */
body.dark-mode .profile-info-card h3,
body.dark-mode .profile-card-title {
  color: #ffffff !important;
}

body.dark-mode .profile-info-item {
  border-bottom: 1px solid #2a2a37;
}

/* Messages */
.success-message,
.message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

body.dark-mode .success-message,
body.dark-mode .message.success {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac !important;
  border: 1px solid rgba(34, 197, 94, 0.22);
}

body.dark-mode .error-message,
body.dark-mode .message.error {
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5 !important;
  border: 1px solid rgba(239, 68, 68, 0.22);
}
/* =========================================
   CUSTOMER PROFILE DARK MODE FIX
   ========================================= */

body.dark-mode .cp-body,
body.dark-mode .cp-page-wrap,
body.dark-mode .cp-main {
  background: #0d0d12 !important;
  color: #f5f5f7 !important;
}

body.dark-mode .cp-page-header h1,
body.dark-mode .cp-card h2,
body.dark-mode .cp-name,
body.dark-mode .cp-review-product,
body.dark-mode .cp-table td strong {
  color: #f5f5f7 !important;
}

body.dark-mode .cp-page-header p,
body.dark-mode .cp-role,
body.dark-mode .cp-sb-stat-label,
body.dark-mode .cp-card p,
body.dark-mode .cp-review-comment,
body.dark-mode .cp-review-date,
body.dark-mode .cp-empty p,
body.dark-mode .cp-danger-desc,
body.dark-mode .cp-table td,
body.dark-mode .cp-table th {
  color: #b8b8c2 !important;
}

body.dark-mode .cp-card,
body.dark-mode .cp-sidebar {
  background: #17171f !important;
  border: 1px solid #2c2c38 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
}

body.dark-mode .cp-sidebar {
  background: linear-gradient(180deg, #1a1a24 0%, #101018 100%) !important;
}

body.dark-mode .cp-avatar-inner {
  background: linear-gradient(135deg, #7c3aed, #5b21b6) !important;
  color: #ffffff !important;
}

body.dark-mode .cp-nav-link {
  color: #f5f5f7 !important;
}

body.dark-mode .cp-nav-link:hover,
body.dark-mode .cp-nav-active {
  background: rgba(124, 58, 237, 0.16) !important;
  color: #c4b5fd !important;
}

body.dark-mode .cp-nav-divider {
  background: #2c2c38 !important;
}

body.dark-mode .cp-sb-bottom-text {
  color: #8f8fa3 !important;
}

body.dark-mode .cp-card-header {
  border-bottom: 1px solid #2c2c38 !important;
}

body.dark-mode .cp-badge {
  background: rgba(124, 58, 237, 0.14) !important;
  color: #d8c7ff !important;
  border: 1px solid rgba(124, 58, 237, 0.28) !important;
}

body.dark-mode .cp-badge-amber {
  background: rgba(245, 158, 11, 0.14) !important;
  color: #fcd34d !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
}

body.dark-mode .cp-alert-success {
  background: rgba(34, 197, 94, 0.14) !important;
  color: #86efac !important;
  border: 1px solid rgba(34, 197, 94, 0.22) !important;
}

body.dark-mode .cp-alert-error {
  background: rgba(239, 68, 68, 0.14) !important;
  color: #fca5a5 !important;
  border: 1px solid rgba(239, 68, 68, 0.22) !important;
}

body.dark-mode .cp-field label {
  color: #f5f5f7 !important;
}

body.dark-mode .cp-field input,
body.dark-mode .cp-field textarea,
body.dark-mode .cp-field select {
  background: #20202b !important;
  color: #f5f5f7 !important;
  border: 1px solid #3a3a49 !important;
}

body.dark-mode .cp-field input::placeholder,
body.dark-mode .cp-field textarea::placeholder {
  color: #9c9cab !important;
}

body.dark-mode .cp-field input:focus,
body.dark-mode .cp-field textarea:focus,
body.dark-mode .cp-field select:focus {
  border-color: #7c3aed !important;
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.16) !important;
  outline: none !important;
}

body.dark-mode .cp-btn-primary {
  background: #6d28d9 !important;
  color: #ffffff !important;
  border: none !important;
}

body.dark-mode .cp-btn-primary:hover {
  background: #5b21b6 !important;
}

body.dark-mode .cp-btn-danger-outline {
  background: transparent !important;
  color: #f5f5f7 !important;
  border: 1px solid #3a3a49 !important;
}

body.dark-mode .cp-btn-danger-outline:hover {
  border-color: #ef4444 !important;
  color: #fca5a5 !important;
}

body.dark-mode .cp-btn-danger {
  background: #dc2626 !important;
  color: #ffffff !important;
}

body.dark-mode .cp-btn-danger:hover {
  background: #b91c1c !important;
}

body.dark-mode .cp-table-wrap {
  background: transparent !important;
}

body.dark-mode .cp-table {
  color: #f5f5f7 !important;
}

body.dark-mode .cp-table thead th {
  color: #d7d7e2 !important;
  border-bottom: 1px solid #2c2c38 !important;
}

body.dark-mode .cp-table tbody td {
  border-bottom: 1px solid #242430 !important;
}

body.dark-mode .cp-table tbody tr:hover {
  background: rgba(124, 58, 237, 0.06) !important;
}

body.dark-mode .cp-empty {
  color: #b8b8c2 !important;
}

body.dark-mode .cp-empty-link,
body.dark-mode .cp-card-link {
  color: #c4b5fd !important;
}

body.dark-mode .cp-empty-link:hover,
body.dark-mode .cp-card-link:hover {
  color: #e9ddff !important;
}

body.dark-mode .cp-review-item {
  border-bottom: 1px solid #2c2c38 !important;
}

body.dark-mode .cp-strength-text {
  color: #b8b8c2 !important;
}

body.dark-mode .status-badge,
body.dark-mode .cp-table .status-badge {
  border: none !important;
}

body.dark-mode .status-pending,
body.dark-mode .status-processing {
  background: rgba(245, 158, 11, 0.16) !important;
  color: #fcd34d !important;
}

body.dark-mode .status-shipped {
  background: rgba(59, 130, 246, 0.16) !important;
  color: #93c5fd !important;
}

body.dark-mode .status-delivered,
body.dark-mode .status-paid {
  background: rgba(34, 197, 94, 0.16) !important;
  color: #86efac !important;
}

body.dark-mode .status-cancelled {
  background: rgba(239, 68, 68, 0.16) !important;
  color: #fca5a5 !important;
}
/* CUSTOMER DASHBOARD - RECENT ORDERS TABLE HEADER FIX */
body.dark-mode .cp-table thead,
body.dark-mode .cp-table thead tr,
body.dark-mode .cp-table thead th {
  background: #1a1a24 !important;
  color: #d7d7e2 !important;
}

body.dark-mode .cp-table thead th {
  border-bottom: 1px solid #2c2c38 !important;
}

/* Home intro video: hide NOA until the intro finishes (see intro.js + body.nova-intro-pending) */
body.nova-intro-pending #nova-chatbot {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* =========================================
   NOA widget (launcher + panel)
   ========================================= */

.nova-chatbot {
  --cb-purple: var(--nova-purple, #5e17eb);
  --cb-purple-hover: #4a12c0;
  --cb-bg: var(--nova-card-bg, #ffffff);
  --cb-border: var(--nova-card-border, #e0e0e0);
  --cb-text: var(--nova-text, #000000);
  --cb-muted: var(--nova-muted, #777777);
  --cb-radius: var(--btn-radius, 10px);
  --cb-shadow: var(--nova-shadow-soft, 0 4px 20px rgba(0, 0, 0, 0.05));
  /* Set by chatbot.js from documentElement.clientWidth (scrollbar-safe); fallback avoids vw-only sizing. */
  --nova-chatbot-safe-w: min(400px, calc(100vw - 48px));
  --nova-chatbot-panel-max-h: min(620px, calc(100dvh - 220px));
  --nova-chatbot-panel-w-frac: 0.8;
  --nova-chatbot-panel-max-w: 320px;
  --nova-chatbot-font-scale: 1;
  --cb-fs: max(11px, calc(12px * var(--nova-chatbot-font-scale)));
  --cb-fs-md: max(10px, calc(11px * var(--nova-chatbot-font-scale)));
  --cb-fs-sm: max(10px, calc(10px * var(--nova-chatbot-font-scale)));
  --cb-fs-xs: max(9px, calc(9px * var(--nova-chatbot-font-scale)));
  --cb-fs-title: max(13px, calc(14px * var(--nova-chatbot-font-scale)));
  font-family: Arial, Helvetica, sans-serif;
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  top: auto;
  left: auto;
  z-index: 2147483000;
  box-sizing: border-box;
  pointer-events: none;
}

.nova-chatbot-panel,
.nova-chatbot-launcher {
  pointer-events: auto;
}

/* Launcher: callout above circular NOA button */

.nova-chatbot-launcher {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  max-width: 100%;
  box-sizing: border-box;
  transform-origin: 50% 100%;
  animation: nova-chatbot-bob 3.2s ease-in-out infinite;
}

/* Idle motion: soft float + breathing glow (inspired by live-chat FABs) */

@keyframes nova-chatbot-bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes nova-chatbot-glow {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.82);
    opacity: 0.4;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.18);
    opacity: 0.95;
  }
}

@keyframes nova-chatbot-icon-idle {
  0%,
  100% {
    transform: scale(1) rotate(-1.5deg);
  }

  50% {
    transform: scale(1.05) rotate(1.5deg);
  }
}

.nova-chatbot-callout {
  position: relative;
  background: var(--cb-bg);
  border: 1px solid var(--cb-border);
  border-radius: 18px;
  padding: 9px 11px 8px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(94, 23, 235, 0.06);
  max-width: min(300px, 100%);
  text-align: left;
  animation: nova-chatbot-callout-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes nova-chatbot-callout-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.nova-chatbot-callout::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 28px;
  width: 11px;
  height: 11px;
  background: var(--cb-bg);
  border-right: 1px solid var(--cb-border);
  border-bottom: 1px solid var(--cb-border);
  transform: rotate(45deg);
}

.nova-chatbot-callout-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nova-chatbot-callout-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--cb-purple);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.nova-chatbot-callout-line {
  display: block;
  font-size: var(--cb-fs-md);
  line-height: 1.28;
  color: #111111;
  font-weight: 700;
  padding-right: 2px;
  flex: 1 1 auto;
  min-width: 0;
}

.nova-chatbot-callout-line strong {
  color: var(--cb-purple);
  font-weight: 700;
}

.nova-chatbot-callout-cta {
  flex: 0 0 auto;
  appearance: none;
  border: 0;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: var(--cb-fs-xs);
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6f35f2 0%, #b286ff 100%);
  box-shadow: 0 10px 24px rgba(94, 23, 235, 0.26);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  white-space: nowrap;
}

.nova-chatbot-callout-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 14px 30px rgba(94, 23, 235, 0.34);
}

.nova-chatbot-callout-cta:focus-visible {
  outline: 3px solid var(--cb-purple);
  outline-offset: 3px;
}

.nova-chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 100%;
  margin-bottom: 14px;
  width: min(
    var(--nova-chatbot-panel-max-w, 320px),
    calc(var(--nova-chatbot-safe-w) * var(--nova-chatbot-panel-w-frac, 0.8))
  );
  max-height: min(620px, var(--nova-chatbot-panel-max-h, calc(100dvh - 220px)));
  background: #e8e8ed;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), var(--cb-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  isolation: isolate;
}

.nova-chatbot-panel-inner {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: inherit;
  box-sizing: border-box;
}

.nova-chatbot-panel[hidden] {
  display: none !important;
}

#nova-chatbot-panel,
#nova-chatbot-panel * {
  box-sizing: border-box;
}

.nova-chatbot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
  padding: 10px 12px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(232, 232, 237, 0) 100%
  );
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  min-width: 0;
}

.nova-chatbot-title {
  min-width: 0;
  flex: 1 1 auto;
}

.nova-chatbot-title-main {
  display: block;
  font-weight: 700;
  font-size: var(--cb-fs-title);
  color: var(--cb-text);
  letter-spacing: 0.02em;
}

.nova-chatbot-title-sub {
  display: block;
  font-size: var(--cb-fs-sm);
  color: var(--cb-muted);
  margin-top: 2px;
}

.nova-chatbot-close {
  border: none;
  background: transparent;
  font-size: calc(20px * var(--nova-chatbot-font-scale));
  line-height: 1;
  cursor: pointer;
  color: var(--cb-muted);
  padding: 0 4px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.nova-chatbot-close:hover {
  color: var(--cb-purple);
  background: rgba(94, 23, 235, 0.08);
}

.nova-chatbot-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #e8e8ed;
  min-height: 96px;
  -webkit-overflow-scrolling: touch;
}

/* Text-message style thread */

.nova-chatbot-msg {
  width: 100%;
  display: flex;
  flex-shrink: 0;
}

.nova-chatbot-msg--user {
  justify-content: flex-end;
}

.nova-chatbot-msg--bot {
  justify-content: flex-start;
}

.nova-chatbot-imessage-row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  width: 100%;
  max-width: 100%;
}

.nova-chatbot-imessage-row--user {
  flex-direction: row;
  justify-content: flex-end;
  margin-left: auto;
  max-width: min(92%, 280px);
}

.nova-chatbot-msg-avatar {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: contain;
  background: linear-gradient(165deg, #ffffff 0%, #f3e8ff 100%);
  border: 2px solid var(--cb-purple);
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(94, 23, 235, 0.2);
}

.nova-chatbot-imessage-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
  max-width: 100%;
}

.nova-chatbot-imessage-row--user .nova-chatbot-imessage-stack {
  align-items: flex-end;
}

.nova-chatbot-bubble {
  font-size: var(--cb-fs);
  line-height: 1.35;
  color: var(--cb-text);
}

.nova-chatbot-bubble--user {
  background: var(--cb-purple);
  color: #ffffff;
  padding: 7px 10px;
  border-radius: 14px;
  border-bottom-right-radius: 5px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  max-width: 100%;
  word-wrap: break-word;
}

.nova-chatbot-bubble--bot {
  background: var(--cb-bg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 7px 10px;
  border-radius: 14px;
  border-bottom-left-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  white-space: pre-wrap;
  max-width: 100%;
  word-wrap: break-word;
}

.nova-chatbot-msg-time {
  font-size: var(--cb-fs-xs);
  color: rgba(0, 0, 0, 0.38);
  padding: 0 4px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.nova-chatbot-imessage-row--user .nova-chatbot-msg-time {
  text-align: right;
  color: rgba(0, 0, 0, 0.38);
}

.nova-chatbot-products {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 100%;
}

.nova-chatbot-product {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: var(--cb-bg);
  border: 1px solid var(--cb-border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--cb-shadow);
}

.nova-chatbot-product:hover {
  border-color: var(--cb-purple);
  box-shadow: 0 8px 24px rgba(94, 23, 235, 0.15);
}

.nova-chatbot-product-img {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: #eee;
}

.nova-chatbot-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nova-chatbot-product-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.nova-chatbot-product-name {
  font-weight: 700;
  font-size: var(--cb-fs-md);
  color: var(--cb-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nova-chatbot-product-cat {
  font-size: var(--cb-fs-xs);
  color: var(--cb-muted);
}

.nova-chatbot-product-price {
  font-size: var(--cb-fs-md);
  font-weight: 600;
  color: var(--cb-purple);
}

.nova-chatbot-suggestions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 8px;
  padding: 8px 10px 10px;
  background: #e8e8ed;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  align-items: stretch;
  min-width: 0;
}

.nova-chatbot-chip {
  width: 100%;
  min-width: 0;
  font-size: var(--cb-fs-sm);
  line-height: 1.3;
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  color: var(--cb-text);
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease,
    box-shadow 0.2s ease;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow-wrap: break-word;
}

.nova-chatbot-chip:hover {
  border-color: var(--cb-purple);
  color: var(--cb-purple);
  background: rgba(94, 23, 235, 0.06);
}

.nova-chatbot-chip:active {
  transform: scale(0.985);
}

.nova-chatbot-form {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 8px 10px 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
  box-sizing: border-box;
}

.nova-chatbot-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 7px 9px;
  min-height: 34px;
  border: 1px solid var(--cb-purple);
  border-radius: 8px;
  font-size: var(--cb-fs);
  font-family: inherit;
  box-sizing: border-box;
  background: #ffffff;
  box-shadow: none;
}

.nova-chatbot-input:focus {
  outline: none;
  border-color: var(--cb-purple);
  box-shadow: 0 0 0 2px rgba(94, 23, 235, 0.2);
}

.nova-chatbot-send {
  flex: 0 0 auto;
  flex-shrink: 0;
  padding: 0 11px;
  min-height: 34px;
  border-radius: 8px;
  border: 1px solid var(--cb-purple);
  background: var(--cb-purple);
  color: #fff;
  font-weight: 700;
  font-size: var(--cb-fs);
  line-height: 1.2;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.nova-chatbot-send:hover {
  background: var(--cb-purple-hover);
  border-color: var(--cb-purple-hover);
}

.nova-chatbot-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
}

.nova-chatbot-loading-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.nova-chatbot-loading-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  animation: nova-chatbot-dot-bounce 1.1s ease-in-out infinite;
  background: var(--cb-purple);
}

.nova-chatbot-loading-dot:nth-child(2) {
  animation-delay: 0.15s;
}

.nova-chatbot-loading-dot:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes nova-chatbot-dot-bounce {
  0%,
  100% {
    transform: translateY(0) scale(0.95);
    opacity: 0.45;
  }
  50% {
    transform: translateY(-3px) scale(1.1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nova-chatbot-loading-dot {
    animation: none;
  }
}

.nova-chatbot-toggle {
  display: block;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  border-radius: 50%;
  position: relative;
  isolation: isolate;
  filter: drop-shadow(0 6px 20px rgba(98, 17, 231, 0.45));
  transition: transform 0.2s ease, filter 0.2s ease;
}

/* Diffuse purple halo that “breathes” like a lamp glow */
.nova-chatbot-toggle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 92px;
  margin: 0;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    circle closest-side,
    rgba(94, 23, 235, 0.55) 0%,
    rgba(147, 92, 255, 0.22) 42%,
    transparent 72%
  );
  animation: nova-chatbot-glow 2.6s ease-in-out infinite;
}

.nova-chatbot-toggle:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 10px 28px rgba(98, 17, 231, 0.55));
}

.nova-chatbot-toggle:hover::before,
.nova-chatbot-toggle:hover .nova-chatbot-toggle-img {
  animation-play-state: paused;
}

.nova-chatbot-toggle:focus-visible {
  outline: 3px solid var(--cb-purple);
  outline-offset: 4px;
}

.nova-chatbot-avatar-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(165deg, #ffffff 0%, #f3e8ff 100%);
  border: 3px solid var(--cb-purple);
  box-sizing: border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 12px rgba(94, 23, 235, 0.2);
  position: relative;
  z-index: 1;
}

.nova-chatbot-toggle-img {
  display: block;
  width: 62%;
  height: 62%;
  max-width: none;
  object-fit: contain;
  transform-origin: 50% 50%;
  animation: nova-chatbot-icon-idle 2.9s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .nova-chatbot-launcher {
    animation: none;
  }

  .nova-chatbot-toggle::before {
    animation: none;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.55;
  }

  .nova-chatbot-toggle-img {
    animation: none;
  }

  .nova-chatbot-callout {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.nova-chatbot-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* NOA chatbot — match site dark / light theme (uses body.dark-mode tokens) */
body.dark-mode .nova-chatbot {
  --cb-purple: var(--purple);
  --cb-purple-hover: var(--purple-hover);
  --cb-bg: var(--card-bg);
  --cb-border: var(--card-border);
  --cb-text: var(--text);
  --cb-muted: var(--text-muted);
  --cb-shadow: var(--shadow-soft);
}

body.dark-mode .nova-chatbot-panel {
  background: var(--card-bg);
  border-color: var(--card-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), var(--shadow-soft);
}

body.dark-mode .nova-chatbot-header {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(23, 23, 31, 0) 100%
  );
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .nova-chatbot-messages {
  background: var(--input-bg);
}

body.dark-mode .nova-chatbot-suggestions {
  background: var(--input-bg);
  border-top-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .nova-chatbot-form {
  background: var(--card-bg);
  border-top-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .nova-chatbot-input {
  background: var(--input-bg);
  color: var(--input-text);
  border-color: var(--input-border);
}

body.dark-mode .nova-chatbot-input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

body.dark-mode .nova-chatbot-input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.35);
}

body.dark-mode .nova-chatbot-chip {
  background: var(--input-bg);
  border-color: var(--input-border);
  color: var(--text);
}

body.dark-mode .nova-chatbot-chip:hover {
  background: rgba(124, 58, 237, 0.18);
}

body.dark-mode .nova-chatbot-callout-line {
  color: var(--text);
}

body.dark-mode .nova-chatbot-msg-time,
body.dark-mode .nova-chatbot-imessage-row--user .nova-chatbot-msg-time {
  color: rgba(255, 255, 255, 0.42);
}

body.dark-mode .nova-chatbot-bubble--bot {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

body.dark-mode .nova-chatbot-product-img {
  background: #2a2a33;
}

body.dark-mode .nova-chatbot-msg-avatar {
  background: linear-gradient(165deg, #2a2438 0%, #1a1525 100%);
  border-color: var(--purple);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.35);
}

body.dark-mode .nova-chatbot-avatar-ring {
  background: linear-gradient(165deg, #2a2438 0%, #1a1525 100%);
  border-color: var(--purple);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 2px 12px rgba(124, 58, 237, 0.35);
}

body.dark-mode .nova-chatbot-callout {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(124, 58, 237, 0.12);
}

body.dark-mode .nova-chatbot-close:hover {
  background: rgba(124, 58, 237, 0.18);
  color: var(--text);
}

body.dark-mode .nova-chatbot-send {
  border-color: var(--purple);
  background: var(--purple);
}

body.dark-mode .nova-chatbot-send:hover {
  background: var(--purple-hover);
  border-color: var(--purple-hover);
}

body.dark-mode .nova-chatbot-product:hover {
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.28);
}

/* admin_style.css */
/* =============================================
   NOVA Admin Panel Styles
   Common styles for all admin pages
============================================= */

/* ========== ADMIN LAYOUT ========== */
.admin-layout {
  display: flex;
  min-height: calc(100vh - 120px);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.sidebar {
  width: 220px;
  background: #ffffff;
  padding: 18px 14px;
  margin-right: 30px;
  border-radius: 20px;
  border: 1px solid #ece8f4;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.sidebar a {
  display: block;
  color: #1f1f1f;
  padding: 14px 18px;
  margin-bottom: 8px;
  text-decoration: none;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 12px;
  border-left: none;
  transition: all 0.25s ease;
}

.sidebar a:hover {
  background: #f5f1ff;
  color: #5e17eb;
}

.sidebar a.active {
  background: linear-gradient(135deg, #6a3df0, #8f6df8);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(94, 23, 235, 0.22);
}

.admin-main {
  flex: 1;
  padding-top: 20px;
}

/* ========== ADMIN HEADER ========== */
.admin-header {
  margin-bottom: 40px;
}

.admin-header h1 {
  color: #5e17eb;
  font-family: "Belleza", Arial, sans-serif;
  font-size: 28px;
  margin: 0 0 10px 0;
}

.welcome-text {
  color: #666;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

/* ========== STATS CARDS ========== */
/* ========== STATS CARDS ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  border: 1px solid var(--nova-card-border);
  box-shadow: 0 4px 15px rgba(94, 23, 235, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(94, 23, 235, 0.15);
}

.stat-card .number {
  font-size: 36px;
  font-weight: bold;
  color: #5e17eb;
  margin: 10px 0;
  font-family: Arial, Helvetica, sans-serif;
}

.stat-card h3 {
  color: #666;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* ========== DASHBOARD PANELS ========== */
.dashboard-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.dashboard-panel {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--nova-card-border);
  box-shadow: 0 4px 15px rgba(94, 23, 235, 0.08);
  padding: 25px;
  margin-bottom: 30px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.panel-header h2 {
  margin: 0;
  color: #5e17eb;
  font-family: "Belleza", Arial, sans-serif;
  font-size: 20px;
}

.panel-link {
  color: #5e17eb;
  text-decoration: none;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
}

.panel-link:hover {
  text-decoration: underline;
  color: #3a0e9b;
}

/* ========== TABLES ========== */
.products-table-container,
.orders-table-container,
.users-table-container,
.reviews-table-container {
  max-height: 500px;
  overflow-y: auto;
  border-radius: 10px;
}

.admin-table,
.orders-table,
.products-table,
.reviews-table,
.users-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.orders-table th,
.products-table th,
.reviews-table th,
.users-table th {
  background: #f8f9fa;
  padding: 15px;
  text-align: left;
  font-weight: 600;
  color: #666;
  font-family: Arial, Helvetica, sans-serif;
  border-bottom: 2px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 1;
}

.admin-table td,
.orders-table td,
.products-table td,
.reviews-table td,
.users-table td {
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
  font-family: Arial, Helvetica, sans-serif;
}

.admin-table tr:hover,
.orders-table tr:hover,
.products-table tr:hover,
.reviews-table tr:hover,
.users-table tr:hover {
  background: #f9f5ff;
}

/* ORDER MODAL */
.orders-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(22, 22, 26, 0.28);
  padding: 20px 16px;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  backdrop-filter: blur(3px);
}

.orders-modal-content {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  animation: ordersModalFade 0.18s ease;
}

@keyframes ordersModalFade {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.orders-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #f3f2f7;
  color: #4a4a4a;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.orders-modal-close:hover {
  background: #ece6ff;
  color: #5f1fff;
}

.orders-modal-header {
  background: #ffffff;
  border-radius: 22px 22px 0 0;
  padding: 22px 24px 14px;
  border-bottom: 1px solid #ececf2;
  box-shadow: 0 10px 24px rgba(22, 22, 26, 0.05);
}

.orders-modal-header h2 {
  margin: 0;
  color: #5f1fff;
  font-size: 24px;
  line-height: 1.1;
}

.orders-modal-header p {
  margin: 6px 0 0;
  color: #6f6f76;
  font-size: 14px;
}

.orders-modal-body {
  background: #f5f6fa;
  padding: 16px;
  max-height: 76vh;
  overflow-y: auto;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 16px 36px rgba(22, 22, 26, 0.08);
}

.orders-modal-loading {
  text-align: center;
  color: #666;
  font-size: 14px;
  padding: 24px 0;
}

.orders-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.orders-modal-card {
  background: #ffffff;
  border: 1px solid #ececf2;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 6px 16px rgba(22, 22, 26, 0.04);
}

.orders-modal-card + .orders-modal-card {
  margin-top: 14px;
}

.orders-modal-card h3 {
  margin: 0 0 12px;
  color: #5f1fff;
  font-size: 18px;
  line-height: 1.2;
}

.orders-modal-line {
  margin-bottom: 10px;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}

.orders-modal-line strong {
  color: #111;
}

.orders-modal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}

.orders-modal-table th,
.orders-modal-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid #ececec;
  font-size: 14px;
  vertical-align: middle;
}

.orders-modal-table th {
  color: #606068;
  font-weight: 700;
  background: #fafafa;
}

.orders-modal-total {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #ececec;
  text-align: right;
  font-size: 20px;
  font-weight: 700;
  color: #5f1fff;
}

.orders-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  margin-left: 8px;
}

.orders-status-processing {
  background: #efe3ff;
  color: #6a1bff;
}

.orders-status-packed {
  background: #fff1d8;
  color: #b26a00;
}

.orders-status-shipped {
  background: #efe3ff;
  color: #6a1bff;
}

.orders-status-delivered {
  background: #e6f7ec;
  color: #157347;
}

.orders-status-cancelled {
  background: #fdeaea;
  color: #c62828;
}

.orders-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.orders-action-btn {
  border: none;
  border-radius: 12px;
  padding: 11px 16px;
  background: #efe3ff;
  color: #5f1fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: 0 4px 10px rgba(95, 31, 255, 0.06);
}

.orders-action-btn:hover {
  background: #e4d4ff;
  transform: translateY(-1px);
}

.orders-action-btn-danger {
  background: #fdeaea;
  color: #c62828;
  box-shadow: 0 4px 10px rgba(198, 40, 40, 0.06);
}

.orders-action-btn-danger:hover {
  background: #f8dada;
}

@media (max-width: 820px) {
  .orders-modal {
    padding: 12px 8px;
  }

  .orders-modal-content {
    max-width: 100%;
  }

  .orders-modal-header {
    padding: 18px 16px 12px;
    border-radius: 18px 18px 0 0;
  }

  .orders-modal-header h2 {
    font-size: 22px;
  }

  .orders-modal-body {
    padding: 12px;
    border-radius: 0 0 18px 18px;
  }

  .orders-modal-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .orders-modal-card {
    padding: 16px;
    border-radius: 16px;
  }

  .orders-modal-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
}

/* ========== ORDER STATUS BADGES ========== */
.status-badge {
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: Arial, Helvetica, sans-serif;
}

.status-processing {
  background: #fff3cd;
  color: #856404;
}
.status-pending {
  background: #fff3cd;
  color: #856404;
}
.status-shipped {
  background: #d1ecf1;
  color: #0c5460;
}
.status-delivered {
  background: #d4edda;
  color: #155724;
}
.status-paid {
  background: #d4edda;
  color: #155724;
}
.status-cancelled {
  background: #f8d7da;
  color: #721c24;
}

/* ========== PRODUCT STYLES ========== */
.product-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.product-desc {
  color: #666;
  font-size: 13px;
  line-height: 1.4;
}

.category-tag {
  display: inline-block;
  padding: 6px 15px;
  background: #f0e7ff;
  color: #5e17eb;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-amount {
  font-weight: 600;
  color: #5e17eb;
  font-size: 16px;
}

.price-range {
  color: #666;
  font-size: 12px;
  margin-top: 3px;
}

.variants-badge {
  display: inline-block;
  padding: 6px 12px;
  background: #f8f9fa;
  color: #666;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid #eaeaea;
}

/* ========== REVIEW STYLES ========== */
.review-rating {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 1px;
}

.star-rating {
  color: #f59e0b;
  font-size: 20px;
  letter-spacing: 2px;
  margin: 10px 0;
}

.review-product {
  font-weight: 600;
  color: #333;
  margin-bottom: 3px;
}

.review-user {
  color: #666;
  font-size: 13px;
}

.review-comment {
  color: #333;
  line-height: 1.5;
  max-width: 300px;
}

.review-date {
  color: #666;
  font-size: 13px;
  white-space: nowrap;
}

/* ========== FORM STYLES ========== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #333;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #5e17eb;
  box-shadow: 0 0 0 3px rgba(94, 23, 235, 0.1);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.submit-btn,
.add-btn,
.update-btn,
.primary-btn {
  padding: 14px 30px;
  background: #5e17eb;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: Arial, Helvetica, sans-serif;
  width: 100%;
}

.submit-btn:hover,
.add-btn:hover,
.update-btn:hover,
.primary-btn:hover {
  background: #4a12c9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(94, 23, 235, 0.25);
}

.delete-btn {
  padding: 8px 16px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: Arial, Helvetica, sans-serif;
}

.delete-btn:hover {
  background: #c82333;
  transform: translateY(-2px);
}

/* ========== MESSAGE STYLES ========== */
.message {
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.error-message {
  color: #dc3545;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

/* ========== QUICK ACTIONS ========== */
.quick-actions {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-actions li {
  margin-bottom: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.quick-actions li:hover {
  background: #f0e7ff;
  transform: translateX(5px);
}

.quick-actions a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
}

.quick-actions a:hover {
  color: #5e17eb;
}

.action-icon {
  width: 40px;
  height: 40px;
  background: #5e17eb;
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 18px;
}

.action-text {
  flex: 1;
}

.action-text small {
  display: block;
  color: #666;
  font-weight: normal;
  font-size: 13px;
  margin-top: 3px;
}

/* ========== PROFILE STYLES ========== */
.profile-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.profile-info-card {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 25px;
}

.profile-info-item {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eaeaea;
}

.profile-info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.info-label {
  display: block;
  color: #666;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
  font-family: Arial, Helvetica, sans-serif;
}

.info-value {
  display: block;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
}

/* ========== EMPTY STATE ========== */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-family: Arial, Helvetica, sans-serif;
}

/* ========== FORM NOTES ========== */
.form-note {
  margin-top: 15px;
  color: #666;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
}

/* ========== BUTTON VARIANTS ========== */
.btn-outline-purple {
  padding: 8px 16px;
  background: transparent;
  color: #5e17eb;
  border: 2px solid #5e17eb;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-purple:hover {
  background: #5e17eb;
  color: white;
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 1024px) {
  .dashboard-content {
    grid-template-columns: 1fr;
  }

  .profile-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .admin-layout {
    flex-direction: column;
    padding: 0 20px;
  }

  .sidebar {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
    padding: 15px 0;
  }

  .sidebar a {
    display: inline-block;
    margin: 0 10px;
    border-left: none;
    border-bottom: 3px solid transparent;
  }

  .sidebar a.active {
    border-bottom-color: #8a5cf6;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .admin-table,
  .orders-table,
  .products-table,
  .reviews-table,
  .users-table {
    display: block;
    overflow-x: auto;
  }
}
.action-icon {
    background: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}

.action-icon-img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

/* ---------------------------------- */
/* THEME TOGGLE ICON (SIMPLIFIED) */
/* ---------------------------------- */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    width: 24px;
    height: 24px;
    margin-right: 5px;
}

.theme-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    display: none;
}

/* ---------------------------------- */
/* SHOW CORRECT ICONS */
/* ---------------------------------- */

/* Default: Moon in light mode (or no mode) */
.theme-icon-moon.theme-icon-default {
    display: block;
}

/* Dark mode: Hide moon, show sun */
body.dark-mode .theme-icon-moon.theme-icon-default {
    display: none;
}

body.dark-mode .theme-icon-sun.theme-icon-default {
    display: block;
}

/* ---------------------------------- */
/* HOVER STATES */
/* ---------------------------------- */

/* Hide default icons on hover */
.theme-toggle:hover .theme-icon-default {
    display: none;
}

/* LIGHT MODE HOVER → purple moon only */
body:not(.dark-mode) .theme-toggle:hover .theme-icon-moon.theme-icon-active {
    display: block;
}

/* DARK MODE HOVER → purple sun only */
body.dark-mode .theme-toggle:hover .theme-icon-sun.theme-icon-active {
    display: block;
}