/* Оптовые продажи (BORMASH), scope #wholesale-tt */
#wholesale-tt.wh-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 12px 40px;
}

#wholesale-tt .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

@media (max-width: 900px) {
  #wholesale-tt .grid {
    grid-template-columns: 1fr;
  }
}

#wholesale-tt .card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
}

html[data-theme="light"] #wholesale-tt .card {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}

#wholesale-tt .card h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 700;
}

#wholesale-tt .card p,
#wholesale-tt .card li {
  line-height: 1.55;
  margin: 0 0 10px;
}

#wholesale-tt .card ul.list,
#wholesale-tt .card ol.list {
  margin: 0 0 12px;
  padding-left: 1.25rem;
}

#wholesale-tt .card ol.list {
  list-style: decimal;
  padding-left: 1.35rem;
}

#wholesale-tt .badge {
  display: inline-block;
  margin-left: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(214, 181, 90, 0.12);
  color: #7a6529;
  border: 1px solid rgba(214, 181, 90, 0.28);
}

html[data-theme="dark"] #wholesale-tt .badge,
html.theme-bormash-industrial:not([data-theme="light"]) #wholesale-tt .badge {
  color: #e6cc73;
}

#wholesale-tt .table {
  margin: 12px 0;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] #wholesale-tt .table {
  background: rgba(0, 0, 0, 0.02);
}

html[data-theme="dark"] #wholesale-tt .table,
html.theme-bormash-industrial:not([data-theme="light"]) #wholesale-tt .table {
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

#wholesale-tt .table table {
  width: 100%;
  min-width: 280px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

#wholesale-tt .table th,
#wholesale-tt .table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

#wholesale-tt .table thead th {
  background: rgba(214, 181, 90, 0.1);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #6b5a2a;
}

html[data-theme="dark"] #wholesale-tt .table th,
html[data-theme="dark"] #wholesale-tt .table td,
html.theme-bormash-industrial:not([data-theme="light"]) #wholesale-tt .table th,
html.theme-bormash-industrial:not([data-theme="light"]) #wholesale-tt .table td {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] #wholesale-tt .table thead th,
html.theme-bormash-industrial:not([data-theme="light"]) #wholesale-tt .table thead th {
  background: rgba(255, 255, 255, 0.04);
  color: #d6b55a;
}

html[data-theme="light"] #wholesale-tt .table thead th {
  background: rgba(214, 181, 90, 0.1);
  color: #6b5a2a;
}

#wholesale-tt .table tbody tr:hover td {
  background: rgba(0, 0, 0, 0.02);
}

html[data-theme="dark"] #wholesale-tt .table tbody tr:hover td,
html.theme-bormash-industrial:not([data-theme="light"]) #wholesale-tt .table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

#wholesale-tt .note {
  margin: 10px 0 0;
  font-size: 0.88rem;
  opacity: 0.85;
}

#wholesale-tt .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 10px;
}

#wholesale-tt .actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #b7923a;
  background: linear-gradient(180deg, #dfc875 0%, #d6b55a 45%, #b7923a 100%);
  color: #141414 !important;
  transition:
    filter 0.15s ease,
    opacity 0.15s ease;
}

#wholesale-tt .actions .btn:hover {
  filter: brightness(1.06);
  color: #141414 !important;
}

#wholesale-tt .actions .btn:focus-visible {
  outline: 2px solid #d6b55a;
  outline-offset: 2px;
}

#wholesale-tt a:not(.btn) {
  color: #d6b55a;
  font-weight: 600;
}

#wholesale-tt a:not(.btn):hover {
  color: #e6cc73;
}
