/* =====================================================
   ZANDO WEB — components.css
   Reusable UI components
   ===================================================== */

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.5rem;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
  font-family: var(--font-primary);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
}
.btn-primary:active { transform: translateY(0); }

.btn-accent {
  background: var(--color-accent);
  color: #000;
  border-color: var(--color-accent);
}
.btn-accent:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-1px);
}
.btn-accent:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-body);
  border-color: transparent;
}
.btn-ghost:hover {
  background: var(--color-surface-2);
}

.btn-danger {
  background: var(--color-error);
  color: white;
  border-color: var(--color-error);
}
.btn-danger:hover { opacity: 0.85; }

.btn-sm {
  padding: 0.4rem 0.875rem;
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
}
.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}
.btn-full { width: 100%; }
.btn-icon {
  padding: 0.625rem;
  border-radius: var(--radius-full);
  aspect-ratio: 1;
}

/* ====== FORM INPUTS ====== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-head);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-text-body);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(46,6,43,0.1);
}

.form-control.has-icon {
  padding-left: 2.75rem;
}

.form-control-wrapper {
  position: relative;
}

.form-control-wrapper .input-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  font-size: 1.25rem;
  pointer-events: none;
}

.form-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: var(--space-1);
}

.form-control.error {
  border-color: var(--color-error);
}

/* Dark form variant (login/register) */
.form-control-dark {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: white;
}
.form-control-dark::placeholder { color: rgba(255,255,255,0.45); }
.form-control-dark:focus {
  border-color: rgba(255,255,255,0.7);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}

/* ====== CARDS ====== */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Product Card */
.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  cursor: pointer;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card-image-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-product-card);
}

.product-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image-wrap img {
  transform: scale(1.07);
}

.product-card-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-product-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
}

.product-card.mockup-product-card {
  background: var(--color-product-card);
  aspect-ratio: 1 / 1.15;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.product-card.mockup-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card.mockup-product-card .product-card-placeholder {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  font-weight: 500;
  color: white;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-accent);
  color: #000;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.product-card-wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  background: white;
  border-radius: var(--radius-full);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.product-card-wishlist:hover { transform: scale(1.15); }

.product-card-wishlist .material-icons-round {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.product-card-wishlist.active .material-icons-round {
  color: var(--color-error);
}

.product-card-body {
  padding: 0.875rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.product-card-shop {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.product-card-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-head);
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.product-card-rating .stars {
  color: #FFB800;
  font-size: 0.85rem;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.product-card-price {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-primary);
  font-family: var(--font-display);
}

.product-card-add-btn {
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.product-card-add-btn:hover {
  background: var(--color-primary-light);
  transform: scale(1.1);
}

.product-card-add-btn .material-icons-round { font-size: 1.1rem; }

/* ====== CAROUSEL ====== */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 2rem 2.5rem;
}

.carousel-caption {
  color: white;
}

.carousel-caption h3 {
  font-size: var(--text-2xl);
  font-family: var(--font-display);
  font-weight: 800;
  color: white;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.carousel-caption p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.8);
  margin-top: var(--space-1);
}

.carousel-dots {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  display: flex;
  gap: 6px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.45);
  transition: all var(--transition-base);
  cursor: pointer;
}

.carousel-dot.active {
  width: 24px;
  background: white;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: var(--radius-full);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.carousel-arrow:hover {
  background: white;
  transform: translateY(-50%) scale(1.08);
}

.carousel-arrow.prev { left: 1rem; }
.carousel-arrow.next { right: 1rem; }

.carousel-arrow .material-icons-round { font-size: 1.25rem; color: var(--color-primary); }

/* ====== BADGE ====== */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--radius-full);
  line-height: 1;
}

.badge-primary { background: var(--color-accent); color: #000; }
.badge-error { background: var(--color-error); color: white; }
.badge-success { background: var(--color-success); color: white; }

/* ====== STATUS PILL ====== */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.status-pill.pending    { background: rgba(255,149,0,0.12);  color: var(--color-status-pending); }
.status-pill.processing { background: rgba(0,122,255,0.12);  color: var(--color-status-processing); }
.status-pill.shipped    { background: rgba(88,86,214,0.12);  color: var(--color-status-shipped); }
.status-pill.delivered  { background: rgba(40,167,69,0.12);  color: var(--color-status-delivered); }
.status-pill.cancelled  { background: rgba(220,53,69,0.12);  color: var(--color-status-cancelled); }

/* ====== MODAL ====== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  animation: fadeIn 0.2s ease;
}

.modal-overlay.bottom-sheet {
  align-items: flex-end;
  padding: 0;
}

.modal-box {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-8);
  animation: scaleIn 0.2s ease;
}

.modal-overlay.bottom-sheet .modal-box {
  max-width: 100%;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: var(--space-6) var(--space-6) 2rem;
  animation: slideUp 0.3s ease;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.modal-title {
  font-size: var(--text-lg);
  font-weight: 900;
  color: var(--color-text-head);
  letter-spacing: 0.05em;
  font-family: var(--font-display);
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.modal-close:hover { background: var(--color-border); }
.modal-close .material-icons-round { font-size: 1.1rem; }

/* ====== DRAWER / SIDEBAR ====== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: var(--z-modal);
  animation: fadeIn 0.2s ease;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: var(--color-surface);
  z-index: calc(var(--z-modal) + 1);
  overflow-y: auto;
  animation: slideDown 0.25s ease;
  box-shadow: var(--shadow-lg);
}

.drawer-header {
  background: var(--color-primary);
  color: white;
  padding: var(--space-6) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: white;
  font-family: var(--font-display);
}

.drawer-close {
  color: white;
  opacity: 0.8;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}
.drawer-close:hover { opacity: 1; }

/* ====== TOAST ====== */
.toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.toast {
  background: #1a1a2e;
  color: white;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 260px;
  max-width: 380px;
  animation: slideUp 0.25s ease;
}

.toast.success { border-left: 4px solid var(--color-success); }
.toast.error   { border-left: 4px solid var(--color-error); }
.toast.info    { border-left: 4px solid #007AFF; }
.toast .material-icons-round { font-size: 1.2rem; }
.toast.success .material-icons-round { color: var(--color-success); }
.toast.error   .material-icons-round { color: var(--color-error); }
.toast.info    .material-icons-round { color: #007AFF; }

/* ====== ICON BUTTON ====== */
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.icon-btn:hover { background: rgba(255,255,255,0.12); }

.icon-btn .material-icons-round {
  font-size: 1.5rem;
  color: white;
}

.icon-btn .btn-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  background: var(--color-accent);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ====== DIVIDER ====== */
.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-4) 0;
}

.divider-text {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin: var(--space-5) 0;
}

.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* ====== TABS ====== */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--color-border);
}

.tab-item {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}

.tab-item:hover { color: var(--color-primary); }
.tab-item.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* ====== PAYMENT METHOD SELECTOR ====== */
.payment-methods {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  padding-bottom: var(--space-2);
}

.payment-method-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.25rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  background: white;
}

.payment-method-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.payment-method-btn.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(46,6,43,0.05);
  font-weight: 700;
}

.payment-method-btn .material-icons-round { font-size: 1.2rem; }

.payment-form-section {
  animation: fadeIn 0.25s ease;
}

/* ====== EMPTY STATE ====== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-16) var(--space-8);
  text-align: center;
  gap: var(--space-4);
}

.empty-state .material-icons-round {
  font-size: 4rem;
  color: var(--color-border);
}

.empty-state h4 {
  color: var(--color-text-head);
  font-size: var(--text-xl);
}

.empty-state p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  max-width: 280px;
}

/* ====== SPINNER ====== */
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.spinner.sm { width: 18px; height: 18px; border-width: 2px; }
.spinner.white {
  border-color: rgba(255,255,255,0.3);
  border-top-color: white;
}

/* Loading overlay */
.loading-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-12);
}

/* ====== QUANTITY CONTROL ====== */
.qty-control {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text-body);
}

.qty-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(46,6,43,0.05);
}

.qty-value {
  font-size: var(--text-base);
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

/* ====== SEARCH OVERLAY ====== */
.search-overlay {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  max-height: 300px;
  overflow-y: auto;
  z-index: var(--z-dropdown);
  animation: slideDown 0.15s ease;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.search-result-item:hover { background: var(--color-surface-2); }

.search-result-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--color-surface-2);
}

.search-result-info { flex: 1; overflow: hidden; }
.search-result-name {
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-shop {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.search-result-price {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
}

/* ====== CHECKOUT TOTAL SUMMARY ====== */
.checkout-summary {
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-6);
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  padding: var(--space-2) 0;
  color: var(--color-text-muted);
}

.checkout-summary-row.total {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-text-head);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-2);
  padding-top: var(--space-3);
}

.checkout-summary-row.total span:last-child {
  color: var(--color-primary);
}

/* ====== CART ITEM ====== */
.cart-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-fast);
}

.cart-item:hover { background: var(--color-surface-2); }

.cart-item-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--color-surface-2);
  flex-shrink: 0;
}

.cart-item-info { flex: 1; overflow: hidden; }

.cart-item-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-head);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-2);
}

.cart-item-subtotal {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
}

/* ====== ORDER CARD ====== */
.order-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface-2);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.order-card-header:hover { background: var(--color-border); }

.order-card-id {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-head);
}

.order-card-date {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

.order-card-body {
  padding: var(--space-5);
  display: none;
}

.order-card-body.open { display: block; }

/* ====== NOTIFICATION ITEM ====== */
.notification-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.notification-item:hover { background: var(--color-surface-2); }
.notification-item.unread { background: rgba(46,6,43,0.04); }

.notification-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notification-icon .material-icons-round { font-size: 1.1rem; color: white; }

.notification-body { flex: 1; }

.notification-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-head);
}

.notification-message {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
  line-height: 1.4;
}

.notification-time {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

.notification-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  margin-top: var(--space-2);
}

/* ====== ADMIN TABLE ====== */
.admin-product-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-fast);
}
.admin-product-row:hover { background: var(--color-surface-2); }

.admin-product-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--color-surface-2);
  flex-shrink: 0;
}

.admin-product-info { flex: 1; overflow: hidden; }

.admin-product-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-head);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-product-meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ====== STAR RATING ====== */
.star-rating {
  display: flex;
  gap: 2px;
}

.star {
  font-size: 1rem;
  color: #e0e0e0;
  transition: color var(--transition-fast);
}

.star.filled { color: #FFB800; }
