.tcs-request-card {
  width: 100%;
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: 8px;
  background: #ffffff;
  color: #121417;
  overflow: hidden;
}

.tcs-request-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

.tcs-request-card-head strong {
  font-size: 1rem;
}

.tcs-request-card-head span {
  color: #626873;
  font-size: 0.82rem;
  font-weight: 800;
}

.tcs-request-form {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.tcs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tcs-request-form label,
.tcs-order-tracker label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: #121417;
  font-size: 0.9rem;
  font-weight: 850;
}

.tcs-request-form input,
.tcs-request-form textarea,
.tcs-request-form select,
.tcs-order-tracker input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid #d6dbe3;
  border-radius: 8px;
  padding: 9px 10px;
  background: #ffffff;
  color: #121417;
  font: inherit;
}

.tcs-request-form textarea {
  min-height: 86px;
  resize: vertical;
}

.tcs-request-form .tcs-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 8px;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
  font-size: 0.84rem;
  line-height: 1.35;
}

.tcs-request-form .tcs-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.tcs-submit,
.tcs-order-tracker button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  color: #ffffff;
  background: #e03232;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.tcs-submit[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.tcs-turnstile {
  min-height: 65px;
}

.tcs-hp {
  position: absolute;
  left: -9999px;
}

.tcs-message {
  min-height: 20px;
  color: #21865c;
  font-size: 0.9rem;
  font-weight: 800;
}

.tcs-message.is-error {
  color: #b91f2b;
}

.elatico-search.tcs-smart-search {
  position: relative;
  overflow: visible;
}

.tcs-search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 80;
  display: grid;
  gap: 4px;
  max-height: min(70vh, 520px);
  overflow: auto;
  padding: 8px;
  border: 1px solid #d6dbe3;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 48px rgba(18, 20, 23, 0.18);
}

.tcs-search-suggestions[hidden] {
  display: none;
}

.tcs-search-suggestion {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 8px;
  border-radius: 8px;
  color: #121417;
  text-decoration: none;
}

.tcs-search-suggestion:hover,
.tcs-search-suggestion:focus {
  background: #f1f5f9;
  outline: 0;
}

.tcs-search-suggestion img,
.tcs-search-suggestion-fallback {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  background: #eef2f7;
  object-fit: cover;
}

.tcs-search-suggestion-fallback {
  display: grid;
  place-items: center;
  color: #626873;
  font-weight: 950;
}

.tcs-search-suggestion-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.tcs-search-suggestion-text strong,
.tcs-search-suggestion-text small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tcs-search-suggestion-text strong {
  font-size: 0.94rem;
}

.tcs-search-suggestion-text small,
.tcs-search-empty {
  color: #626873;
  font-size: 0.82rem;
  font-weight: 750;
}

.tcs-search-empty {
  padding: 12px;
}

.tcs-search-request {
  width: 100%;
  min-height: 40px;
  margin-top: 4px;
  color: #ffffff;
  background: #e03232;
}

.tcs-modal[hidden] {
  display: none;
}

.tcs-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
}

.tcs-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.72);
}

.tcs-modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.tcs-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  font-weight: 900;
  cursor: pointer;
}

.tcs-loop-request {
  width: calc(100% - 24px);
  margin: 8px 12px 0;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #121417;
}

.tcs-single-request,
.tcs-no-results,
.tcs-trending {
  margin-top: 24px;
}

.tcs-single-request {
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
}

.tcs-single-request h2,
.tcs-no-results h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.tcs-single-request p,
.tcs-no-results p {
  margin: 0 0 14px;
  color: #626873;
}

.tcs-product-meta-line {
  margin: 0 0 8px;
  color: #626873;
  font-size: 0.92rem;
  font-weight: 850;
}

.tcs-trending {
  padding: 24px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.tcs-section-head {
  margin-bottom: 14px;
}

.tcs-section-head span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #f4b43f;
  color: #111827;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tcs-section-head h2 {
  margin: 8px 0 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.tcs-trending-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tcs-trending-grid article {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
}

.tcs-trending-grid strong,
.tcs-trending-grid span,
.tcs-trending-grid b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tcs-trending-grid strong {
  white-space: nowrap;
}

.tcs-trending-grid span {
  color: #626873;
  font-size: 0.88rem;
}

.tcs-trending-grid b {
  color: #b91f2b;
}

.tcs-order-tracker {
  display: grid;
  gap: 12px;
  max-width: 560px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
}

.tcs-track-result,
.tcs-track-error {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #14532d;
  font-weight: 850;
}

.tcs-track-error {
  background: #fef2f2;
  color: #991b1b;
}

.tcs-admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.tcs-security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0;
}

.tcs-security-grid label {
  display: grid;
  gap: 5px;
  min-width: 0;
  font-weight: 750;
}

.tcs-security-grid input {
  width: 100%;
  min-height: 36px;
}

.tcs-admin-stats div,
.tcs-admin-panel {
  padding: 16px;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  background: #ffffff;
}

.tcs-admin-stats strong,
.tcs-admin-stats span {
  display: block;
}

.tcs-admin-stats strong {
  font-size: 2rem;
}

.tcs-admin-stats span {
  color: #626873;
  font-weight: 800;
}

.tcs-admin-panel {
  margin-top: 16px;
}

.tcs-admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.tcs-admin-panel h2 {
  margin-top: 0;
}

.tcs-checklist {
  display: grid;
  gap: 8px;
  margin: 0;
}

.tcs-production-score {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid #d6dbe3;
  border-radius: 8px;
  padding: 0 10px;
  background: #f8fafc;
  color: #121417;
  font-weight: 850;
}

.tcs-production-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.tcs-production-check {
  display: grid;
  gap: 7px;
  min-width: 0;
  border: 1px solid #d6dbe3;
  border-left-width: 5px;
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.tcs-production-check strong,
.tcs-production-check span,
.tcs-production-check p {
  min-width: 0;
}

.tcs-production-check span {
  width: fit-content;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
}

.tcs-production-check p {
  margin: 0;
  color: #4b5563;
  font-size: 0.88rem;
  line-height: 1.45;
}

.tcs-production-check.is-ok {
  border-left-color: #16a34a;
}

.tcs-production-check.is-ok span {
  background: #dcfce7;
  color: #166534;
}

.tcs-production-check.is-warn {
  border-left-color: #f59e0b;
}

.tcs-production-check.is-warn span {
  background: #fef3c7;
  color: #92400e;
}

.tcs-production-check.is-critical {
  border-left-color: #dc2626;
}

.tcs-production-check.is-critical span {
  background: #fee2e2;
  color: #991b1b;
}

.tcs-inline-admin-form {
  display: grid;
  gap: 8px;
}

.tcs-inline-admin-form select,
.tcs-inline-admin-form textarea {
  width: 100%;
}

body.post-type-product table.wp-list-table.fixed {
  table-layout: auto;
}

body.post-type-product table.wp-list-table th.column-name,
body.post-type-product table.wp-list-table td.column-name {
  min-width: 220px;
}

body.post-type-product table.wp-list-table th.column-price,
body.post-type-product table.wp-list-table td.column-price,
body.post-type-product table.wp-list-table th.column-is_in_stock,
body.post-type-product table.wp-list-table td.column-is_in_stock {
  min-width: 92px;
}

body.post-type-product table.wp-list-table th.column-taxonomy-location,
body.post-type-product table.wp-list-table td.column-taxonomy-location,
body.post-type-product table.wp-list-table th.column-titan_stock_locations,
body.post-type-product table.wp-list-table td.column-titan_stock_locations {
  width: 140px;
  min-width: 140px;
  max-width: 180px;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  line-height: 1.45;
}

body.post-type-product table.wp-list-table td.column-titan_stock_locations br {
  display: block;
  margin: 2px 0;
  content: "";
}

body.post-type-product table.wp-list-table th.column-taxonomy-location a,
body.post-type-product table.wp-list-table th.column-titan_stock_locations,
body.post-type-product table.wp-list-table td.column-taxonomy-location,
body.post-type-product table.wp-list-table td.column-titan_stock_locations {
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}

@media (max-width: 720px) {
  .tcs-grid,
  .tcs-trending-grid,
  .tcs-security-grid,
  .tcs-admin-stats,
  .tcs-production-grid {
    grid-template-columns: 1fr;
  }

  .tcs-admin-panel-head {
    align-items: stretch;
    flex-direction: column;
  }
}
