:root {
  --brand-red: #c8102e;
  --text-dark: #0f172a;
  --border-light: #e5e7eb;
}

.tasmac-price-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
}

.tasmac-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* Sidebar Styling */
.sidebar-card {
  width: 250px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.sidebar-header {
  margin-bottom: 16px;
}

.sidebar-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: var(--text-dark) !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
}

.sidebar-title-line {
  height: 2px;
  background-color: var(--brand-red);
  width: 100%;
}

.sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

.sidebar-link.active {
  font-weight: bold;
  background-color: #d32f2f;
  color: white;
}

.category-badge {
  background-color: #e0e0e0;
  color: #555;
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 12px;
}

.sidebar-link.active .category-badge {
      background-color: white;
}

/* Content Area & Header with Red Bottom Line */
.content-area {
  flex-grow: 1;
}

.category-block {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.category-header {
  background: #ffffff;
  padding: 20px 24px 0 24px;
}

.category-title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.category-title {
  color: var(--text-dark) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  margin: 0 !important;
  letter-spacing: 0.5px;
}

.item-count {
  background: #fef2f2;
  color: var(--brand-red);
  border: 1px solid #fecaca;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
}

/* Red Line Border */
.category-header-line {
  height: 2px;
  background-color: var(--brand-red);
  width: 100%;
}

/* Table Styling */
.table-responsive {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 14px 24px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}

.price-table th {
  background: #ffffff;
  color: #64748b;
  font-size: 12px;
  text-transform: uppercase;
  text-align: left;
  font-weight: 700;
  border-bottom: 1px solid #e2e8f0;
}

.price-table tr:hover {
  background-color: #f8fafc;
}

.product-name {
  /*font-weight: 700;*/
  color: var(--text-dark);
}

.product-size {
  color: #64748b;
}

.product-price {
  font-weight: 600;
}

.text-right {
  text-align: right !important;
}

.no-data {
  text-align: center;
  padding: 40px;
  color: #64748b;
}

@media (max-width: 768px) {
  .tasmac-layout {
    flex-direction: column;
  }
  .sidebar-card {
    width: 100%;
  }
}