:root {
  --primary: #6d28d9;
  --primary-dark: #4c1d95;
  --secondary: #f59e0b;
  --dark: #111827;
  --muted: #6b7280;
  --light-bg: #f4f6fb;
  --white: #ffffff;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--light-bg);
  color: var(--dark);
}

/* Public Website */

.public-home {
  background: linear-gradient(135deg, #fff7ed, #f5f3ff);
}

.hero-section {
  min-height: calc(100vh - 70px);
}

.hero-card {
  background: var(--white);
  padding: 40px;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(17, 24, 39, 0.12);
}

.mini-card {
  background: #f5f3ff;
  color: var(--primary-dark);
  padding: 22px;
  border-radius: 18px;
  font-weight: 700;
  text-align: center;
}

/* Login */

.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #4c1d95, #7c3aed, #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  width: 100%;
  max-width: 430px;
  padding: 20px;
}

.login-card {
  background: var(--white);
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.login-logo {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  background: var(--primary);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 800;
}

.demo-login {
  background: #f9fafb;
  border: 1px dashed var(--border);
  border-radius: 16px;
  padding: 14px;
  font-size: 14px;
}

/* Admin Layout */

.admin-wrapper {
  min-height: 100vh;
  display: flex;
}

.admin-sidebar {
  width: 280px;
  background: #111827;
  color: var(--white);
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  overflow-y: auto;
}

.sidebar-brand {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-icon {
  width: 48px;
  height: 48px;
  background: var(--secondary);
  color: var(--dark);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 24px;
}

.sidebar-brand h4 {
  margin: 0;
  font-weight: 800;
}

.sidebar-brand small {
  color: #9ca3af;
}

.sidebar-menu {
  padding: 18px;
  flex: 1;
}

.sidebar-menu a {
  display: block;
  padding: 13px 16px;
  color: #d1d5db;
  text-decoration: none;
  border-radius: 14px;
  margin-bottom: 7px;
  font-weight: 600;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
  background: var(--primary);
  color: var(--white);
}

.sidebar-footer {
  padding: 18px;
}

.logout-btn {
  display: block;
  text-align: center;
  background: #dc2626;
  color: var(--white);
  text-decoration: none;
  padding: 12px;
  border-radius: 14px;
  font-weight: 700;
}

.logout-btn:hover {
  background: #b91c1c;
  color: var(--white);
}

.admin-main {
  margin-left: 280px;
  padding: 28px;
  width: calc(100% - 280px);
}

.topbar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-user {
  background: #f9fafb;
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 600;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(17, 24, 39, 0.05);
}

.stat-card span {
  color: var(--muted);
  font-weight: 700;
}

.stat-card h3 {
  margin: 12px 0 8px;
  font-size: 34px;
  font-weight: 800;
  color: var(--primary-dark);
}

.stat-card p {
  margin: 0;
  color: var(--muted);
}

.content-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(17, 24, 39, 0.05);
}

@media (max-width: 900px) {
  .admin-sidebar {
    position: static;
    width: 100%;
  }

  .admin-wrapper {
    flex-direction: column;
  }

  .admin-main {
    margin-left: 0;
    width: 100%;
  }
}
.professional-table thead th {
  background: #f9fafb;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
}

.professional-table td,
.professional-table th {
  padding: 16px;
  vertical-align: middle;
}

.empty-state {
  text-align: center;
  padding: 50px 20px;
}

.empty-state h5 {
  font-weight: 800;
  color: var(--dark);
}

.empty-state p {
  color: var(--muted);
}
.invoice-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 8px 30px rgba(17, 24, 39, 0.05);
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 22px;
}

.invoice-summary {
  width: 320px;
  margin-left: auto;
  margin-top: 25px;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row.total {
  background: #f5f3ff;
  font-size: 18px;
}

@page {
  size: A4;
  margin: 10mm;
}

@media print {
  .admin-sidebar,
  .no-print,
  .expense-hero,
  .expense-filter-card,
  .expense-chart-grid {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    font-size: 11px !important;
  }

  .admin-main {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    background: #ffffff !important;
  }

  .expense-pro-page {
    background: #ffffff !important;
    padding: 0 !important;
  }

  .expense-summary-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
    margin-top: 0 !important;
  }

  .expense-main-card,
  .expense-insight-card,
  .expense-panel {
    box-shadow: none !important;
    border: 1px solid #d1d5db !important;
    border-radius: 10px !important;
    padding: 10px !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .expense-main-card h1,
  .summary-top h1 {
    font-size: 24px !important;
    margin: 4px 0 !important;
  }

  .expense-insight-card h3 {
    font-size: 15px !important;
    margin: 4px 0 !important;
  }

  .summary-metrics {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    margin-top: 8px !important;
  }

  .summary-metrics div {
    padding: 6px !important;
    border-radius: 8px !important;
  }

  .summary-metrics strong {
    font-size: 13px !important;
  }

  .expense-two-col {
    display: block !important;
    margin-top: 10px !important;
  }

  .expense-panel {
    margin-top: 10px !important;
  }

  .panel-title {
    margin-bottom: 6px !important;
  }

  .panel-title h5 {
    font-size: 15px !important;
  }

  .panel-title p {
    font-size: 10px !important;
  }

  .suggestion-list {
    gap: 6px !important;
  }

  .suggestion-item {
    padding: 8px !important;
    border-radius: 8px !important;
  }

  .suggestion-item p {
    font-size: 10px !important;
  }

  .table {
    margin-bottom: 0 !important;
  }

  .table th,
  .table td {
    padding: 6px 8px !important;
    font-size: 10px !important;
  }

  .expense-progress {
    height: 4px !important;
  }

  a {
    text-decoration: none !important;
    color: #111827 !important;
  }
}
.expense-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 18px;
  padding: 16px 18px;
}

.expense-highlight span {
  color: var(--muted);
  font-weight: 700;
}

.expense-highlight strong {
  font-size: 24px;
  color: #c2410c;
}

@media print {
  .admin-sidebar,
  .no-print,
  .topbar button {
    display: none !important;
  }

  .admin-main {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 10px !important;
  }

  .content-card,
  .stat-card {
    box-shadow: none !important;
  }
}
.backup-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  height: 100%;
  box-shadow: 0 8px 25px rgba(17, 24, 39, 0.04);
}

.backup-card h5 {
  font-weight: 800;
  margin-bottom: 8px;
}

.backup-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.backup-tips {
  margin-bottom: 0;
  color: var(--muted);
}

.backup-tips li {
  margin-bottom: 8px;
}
/* Public Customer Website */

.public-site {
  background: #fffaf3;
}

.public-navbar {
  background: #ffffff;
  padding: 14px 0;
}

.public-brand {
  font-size: 26px;
  font-weight: 900;
  color: var(--primary) !important;
}

.public-navbar .nav-link {
  font-weight: 700;
  color: #374151;
}

.public-navbar .nav-link:hover {
  color: var(--primary);
}

.public-hero {
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 35%),
    linear-gradient(135deg, #fff7ed, #f5f3ff);
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

.public-badge {
  display: inline-block;
  background: #f5f3ff;
  color: var(--primary);
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 18px;
}

.public-hero h1 {
  font-size: clamp(38px, 6vw, 66px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 22px;
  color: #111827;
}

.public-hero p {
  font-size: 19px;
  color: var(--muted);
  margin-bottom: 30px;
  max-width: 620px;
}

.public-hero-card,
.about-card,
.contact-info-card,
.contact-form-card {
  background: #ffffff;
  border-radius: 30px;
  padding: 38px;
  box-shadow: 0 25px 70px rgba(17, 24, 39, 0.12);
  border: 1px solid var(--border);
}

.hero-icon,
.product-icon {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  background: #fff7ed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin-bottom: 20px;
}

.public-mini-card {
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  color: var(--primary-dark);
  padding: 20px;
  border-radius: 18px;
  font-weight: 800;
  text-align: center;
}

.public-section {
  padding: 90px 0;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 45px;
}

.section-heading span {
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-heading h2 {
  font-size: 42px;
  font-weight: 900;
  margin-top: 8px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.public-product-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 28px;
  height: 100%;
  box-shadow: 0 12px 35px rgba(17, 24, 39, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.public-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 55px rgba(17, 24, 39, 0.12);
}

.public-product-card span {
  color: var(--primary);
  font-weight: 800;
}

.public-product-card h4 {
  font-weight: 900;
  margin: 10px 0;
}

.public-product-card p {
  color: var(--muted);
  font-weight: 700;
}

.public-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
}

.public-cta h2 {
  font-size: 42px;
  font-weight: 900;
}

.public-cta p {
  font-size: 18px;
  opacity: 0.9;
}

.public-page-header {
  background: linear-gradient(135deg, #4c1d95, #7c3aed);
  color: #ffffff;
  padding: 90px 0;
  text-align: center;
}

.public-page-header h1 {
  font-size: 48px;
  font-weight: 900;
}

.public-page-header p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 0;
}

.public-feature-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  height: 100%;
}

.public-feature-box h5 {
  font-weight: 900;
}

.public-feature-box p {
  color: var(--muted);
  margin-bottom: 0;
}

.public-order-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.public-order-list div {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 800;
}

.contact-info-card {
  height: 100%;
}

.contact-info-card h3 {
  font-weight: 900;
}

.contact-info-card p {
  color: var(--muted);
}

.contact-line {
  border-top: 1px solid var(--border);
  padding: 16px 0;
}

.contact-line strong {
  display: block;
  color: #111827;
}

.contact-line span {
  color: var(--muted);
}

.public-empty {
  background: #ffffff;
  border: 1px dashed var(--border);
  border-radius: 22px;
  padding: 40px;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}

.public-footer {
  background: #111827;
  color: #ffffff;
  padding: 60px 0 25px;
}

.public-footer h4,
.public-footer h6 {
  font-weight: 900;
}

.public-footer p,
.public-footer a {
  color: #d1d5db;
}

.public-footer a {
  display: block;
  text-decoration: none;
  margin-bottom: 8px;
}

.public-footer a:hover {
  color: #ffffff;
}

.public-footer hr {
  border-color: rgba(255, 255, 255, 0.15);
  margin-top: 35px;
}

.copyright {
  text-align: center;
  color: #9ca3af !important;
}
.message-view-box {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  min-height: 160px;
  white-space: pre-wrap;
  color: var(--dark);
  font-size: 16px;
}
.alert-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(17, 24, 39, 0.05);
}

.alert-card span {
  display: block;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 8px;
}

.alert-card strong {
  display: block;
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 6px;
}

.alert-card p {
  margin: 0;
  color: var(--muted);
}

.alert-card.warning {
  background: #fffbeb;
  border-color: #fde68a;
}

.alert-card.warning strong {
  color: #b45309;
}

.alert-card.danger {
  background: #fef2f2;
  border-color: #fecaca;
}

.alert-card.danger strong {
  color: #b91c1c;
}

.alert-card.info {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.alert-card.info strong {
  color: #1d4ed8;
}

.dashboard-panel {
  height: 100%;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-header h5 {
  margin: 0;
  font-weight: 900;
}

.panel-header a {
  font-weight: 800;
  text-decoration: none;
  color: var(--primary);
}

.dashboard-list {
  display: grid;
  gap: 12px;
}

.dashboard-list-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.dashboard-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dashboard-list-item strong {
  font-weight: 900;
}

.dashboard-list-item p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.admin-sidebar {
  overflow-y: auto;
}

.admin-sidebar::-webkit-scrollbar {
  width: 6px;
}

.admin-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}
.customer-auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #fff7ed, #f5f3ff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.customer-auth-container {
  width: 100%;
  max-width: 440px;
  padding: 20px;
}

.customer-auth-container.wide {
  max-width: 760px;
}

.customer-auth-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 25px 70px rgba(17, 24, 39, 0.15);
  border: 1px solid var(--border);
}

.customer-auth-logo {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: var(--primary);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 900;
}

.customer-dashboard-page {
  background: #f4f6fb;
}

.customer-dashboard {
  padding: 36px 0 70px;
}

.customer-welcome-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  border-radius: 30px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  box-shadow: 0 20px 60px rgba(76, 29, 149, 0.22);
}

.customer-welcome-card h1 {
  font-weight: 900;
  margin-bottom: 8px;
}

.customer-welcome-card p {
  opacity: 0.9;
}

.customer-contact {
  text-align: right;
}

.customer-contact strong,
.customer-contact span {
  display: block;
}

.customer-contact span {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .customer-welcome-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .customer-contact {
    text-align: left;
  }
}
.shop-toolbar {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 35px rgba(17, 24, 39, 0.06);
}

.wholesale-product-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 26px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 12px 35px rgba(17, 24, 39, 0.06);
  transition: 0.2s ease;
}

.wholesale-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 55px rgba(17, 24, 39, 0.12);
}

.wholesale-product-image {
  height: 170px;
  background: linear-gradient(135deg, #fff7ed, #f5f3ff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wholesale-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wholesale-product-image span {
  font-size: 58px;
}

.wholesale-product-body {
  padding: 22px;
}

.product-category {
  display: inline-block;
  color: var(--primary);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.wholesale-product-body h4 {
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 8px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: #f9fafb;
  border-radius: 16px;
  padding: 14px;
}

.price-row small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.price-row strong {
  font-size: 18px;
  font-weight: 900;
}

.pos-summary-card {
  position: sticky;
  top: 24px;
}

.pos-search-box {
  background: #f9fafb;
  border-radius: 18px;
}

.pos-table select,
.pos-table input {
  min-width: 120px;
}

.pos-table .product-select {
  min-width: 320px;
}

@media (max-width: 991px) {
  .pos-summary-card {
    position: static;
  }
}

.admin-product-thumb {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #fff7ed;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 28px;
}

.admin-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-edit-preview {
  width: 140px;
  height: 110px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--border);
}
.wholesale-hero {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.25), transparent 32%),
    linear-gradient(135deg, #4c1d95, #7c3aed 48%, #f97316);
  color: #ffffff;
  padding: 90px 0;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 22px;
}

.wholesale-hero h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -1.8px;
  margin-bottom: 22px;
}

.wholesale-hero p {
  font-size: 18px;
  line-height: 1.8;
  opacity: 0.92;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.hero-trust div {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 18px;
}

.hero-trust strong,
.hero-trust span {
  display: block;
}

.hero-trust strong {
  font-size: 18px;
  font-weight: 900;
}

.hero-trust span {
  opacity: 0.85;
  font-size: 14px;
  margin-top: 4px;
}

.hero-showcase {
  position: relative;
  min-height: 420px;
}

.hero-card-main {
  background: #ffffff;
  color: #111827;
  border-radius: 34px;
  padding: 42px;
  box-shadow: 0 35px 90px rgba(17, 24, 39, 0.28);
  max-width: 420px;
  margin-left: auto;
}

.hero-card-main span {
  font-size: 82px;
  display: block;
  margin-bottom: 16px;
}

.hero-card-main h3 {
  font-weight: 950;
  font-size: 34px;
  margin-bottom: 10px;
}

.hero-card-main p {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.7;
}

.hero-card-main a {
  font-weight: 900;
  color: var(--primary);
  text-decoration: none;
}

.hero-mini-card {
  position: absolute;
  background: #ffffff;
  color: #111827;
  border-radius: 24px;
  padding: 20px 24px;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.22);
}

.hero-mini-card strong,
.hero-mini-card span {
  display: block;
}

.hero-mini-card strong {
  font-weight: 950;
}

.hero-mini-card span {
  color: #6b7280;
  margin-top: 3px;
}

.hero-mini-card.top {
  top: 38px;
  left: 0;
}

.hero-mini-card.bottom {
  right: 20px;
  bottom: 32px;
}

.wholesale-section {
  padding: 76px 0;
}

.wholesale-section.soft-bg {
  background: #f8fafc;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-kicker {
  display: inline-block;
  color: var(--primary);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-size: 13px;
}

.section-title-row h2,
.cta-box-pro h2 {
  font-weight: 950;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.section-title-row p,
.cta-box-pro p {
  color: var(--muted);
  margin: 0;
  font-size: 17px;
}

.category-card-pro {
  display: block;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  text-decoration: none;
  color: #111827;
  height: 100%;
  box-shadow: 0 12px 35px rgba(17, 24, 39, 0.06);
  transition: 0.2s ease;
}

.category-card-pro:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 55px rgba(17, 24, 39, 0.12);
}

.category-icon {
  width: 66px;
  height: 66px;
  background: #fff7ed;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 18px;
}

.category-card-pro h4 {
  font-weight: 950;
  margin-bottom: 6px;
}

.category-card-pro p {
  color: var(--muted);
  margin: 0;
}

.home-product-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 12px 35px rgba(17, 24, 39, 0.06);
}

.home-product-image {
  height: 180px;
  background: linear-gradient(135deg, #fff7ed, #f5f3ff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-product-image span {
  font-size: 62px;
}

.home-product-body {
  padding: 22px;
}

.home-product-body small {
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
}

.home-product-body h4 {
  font-weight: 950;
  font-size: 20px;
  margin: 8px 0 16px;
}

.home-price-box {
  background: #f9fafb;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.home-price-box span,
.home-price-box strong {
  display: block;
}

.home-price-box span {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.home-price-box strong {
  font-weight: 950;
  font-size: 18px;
}

.service-card-pro {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 34px;
  height: 100%;
  box-shadow: 0 12px 35px rgba(17, 24, 39, 0.06);
}

.service-icon {
  width: 74px;
  height: 74px;
  background: #f5f3ff;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  margin-bottom: 20px;
}

.service-card-pro h3 {
  font-weight: 950;
  margin-bottom: 12px;
}

.service-card-pro p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.wholesale-cta {
  padding: 40px 0 80px;
}

.cta-box-pro {
  background: linear-gradient(135deg, #4c1d95, #7c3aed);
  color: #ffffff;
  border-radius: 34px;
  padding: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 28px 80px rgba(76, 29, 149, 0.25);
}

.cta-box-pro .section-kicker,
.cta-box-pro p {
  color: #ffffff;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 991px) {
  .hero-trust {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: auto;
  }

  .hero-card-main {
    max-width: 100%;
    margin: 0;
  }

  .hero-mini-card {
    position: static;
    margin-top: 16px;
  }

  .section-title-row,
  .cta-box-pro {
    flex-direction: column;
    align-items: flex-start;
  }
}
.product-card-image-link,
.product-title-link {
  color: inherit;
  text-decoration: none;
}

.product-title-link:hover {
  color: var(--primary);
}

.product-detail-image {
  background: linear-gradient(135deg, #fff7ed, #f5f3ff);
  border: 1px solid var(--border);
  border-radius: 34px;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.product-detail-image span {
  font-size: 110px;
}

.product-detail-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 36px;
  box-shadow: 0 16px 45px rgba(17, 24, 39, 0.08);
}

.product-detail-card h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 950;
  letter-spacing: -1px;
  margin-bottom: 22px;
}

.product-detail-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.product-detail-meta div,
.product-price-detail div {
  background: #f9fafb;
  border-radius: 18px;
  padding: 16px;
}

.product-detail-meta small,
.product-detail-meta strong,
.product-price-detail small,
.product-price-detail strong {
  display: block;
}

.product-detail-meta small,
.product-price-detail small {
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 4px;
}

.product-detail-meta strong {
  font-weight: 900;
}

.product-price-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.product-price-detail strong {
  font-size: 28px;
  font-weight: 950;
  color: var(--primary);
}

.product-detail-qty {
  max-width: 180px;
}

@media (max-width: 768px) {
  .product-detail-meta,
  .product-price-detail {
    grid-template-columns: 1fr;
  }

  .product-detail-image,
  .product-detail-image img {
    min-height: 320px;
  }
}
.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}
/* Product Profit Report / pages using main-content */
.main-content {
  margin-left: 280px;
  padding: 28px;
  width: calc(100% - 280px);
  min-height: 100vh;
}

.main-content .page-header,
.main-content .filter-box,
.main-content .report-card {
  max-width: 100%;
}

.main-content .filter-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 16px;
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.main-content .filter-box input,
.main-content .filter-box button {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.main-content .filter-box button {
  background: #7f1d1d;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.main-content .report-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 16px;
  overflow-x: auto;
  box-shadow: 0 8px 30px rgba(17, 24, 39, 0.05);
}

.main-content .table {
  width: 100%;
  border-collapse: collapse;
}

.main-content .table th,
.main-content .table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.main-content .table th {
  background: #f9fafb;
  font-weight: 800;
}

.main-content .table tfoot th {
  background: #fff7ed;
}

@media (max-width: 900px) {
  .main-content {
    margin-left: 0;
    width: 100%;
    padding: 20px;
  }
}
