.tbts-notice {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #f5f5f7;
  color: #1a1a2e;
}

.tbts-notice.is-success {
  border-color: #cfe9d4;
  background: #eef8f0;
  color: #137333;
}

.tbts-notice.is-error {
  border-color: #f3c7c7;
  background: #fff3f3;
  color: #d62828;
}

.tbts-form-message,
.tb-inquiry-modal__message {
  margin: 12px 0 0;
  font-weight: 700;
  color: #137333;
}

.tbts-form-message.is-error,
.tb-inquiry-modal__message.is-error {
  color: #d62828;
}

.tbts-form-message.is-success,
.tb-inquiry-modal__message.is-success {
  color: #137333;
}

.chip-grid.tbts-active-category-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
}

.tbts-category-chip {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 24px;
  overflow: hidden;
  border-color: rgba(26, 26, 46, .12);
  background: #1a1a2e;
}

.tbts-category-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--tbts-category-image);
  background-position: center;
  background-size: cover;
  filter: saturate(.9) contrast(1.05);
  transform: scale(1.01);
  transition: transform .28s ease;
}

.tbts-category-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(26, 26, 46, .58), rgba(26, 26, 46, .2));
}

.tbts-category-chip:hover::before {
  transform: scale(1.08);
}

.chip-grid.tbts-active-category-grid .tbts-category-chip > strong {
  color: #FFFFFF !important;
  font-size: clamp(1rem, 1.55vw, 1.45rem);
  font-weight: 950;
  letter-spacing: .08em;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.55);
}

.tbts-category-chip .chip__icon,
.tbts-category-chip .helper {
  display: none;
}

.tbts-category-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  overflow: hidden;
  background: #1a1a2e;
}

.tbts-category-card .category-card__image {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  padding: 0;
  background: #f5f5f7;
  filter: saturate(.9) contrast(1.05);
  transition: transform .28s ease;
}

.tbts-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 12, 24, .7), rgba(12, 12, 24, .34));
  z-index: 0;
}

.tbts-category-card:hover .category-card__image {
  transform: scale(1.07);
}

.tbts-category-card .category-card__body {
  z-index: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: 26px;
  background: transparent;
}

.tbts-category-card .category-card__body h3 {
  margin: 0;
  color: #FFFFFF !important;
  font-size: clamp(1.05rem, 1.7vw, 1.65rem);
  font-weight: 950;
  letter-spacing: .08em;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .56);
}

.tbts-category-card .category-card__body p,
.tbts-category-card .category-card__meta {
  display: none;
}

@media (max-width: 767px) {
  .chip-grid.tbts-active-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .tbts-category-chip {
    min-height: 118px;
    padding: 16px;
  }

  .tbts-category-card {
    min-height: 150px;
  }
}

@media (max-width: 420px) {
  .chip-grid.tbts-active-category-grid {
    grid-template-columns: 1fr;
  }
}

.main-header-menu .tbts-account-menu-link > .menu-link,
.ast-header-break-point .main-header-menu .tbts-account-menu-link > .menu-link,
.footer-widget-area .tbts-account-menu-link > a {
  color: #1a1a2e;
  font-weight: 800;
}

.main-header-menu .tbts-account-menu-link > .menu-link:hover,
.main-header-menu .tbts-account-menu-link.current-menu-item > .menu-link,
.ast-header-break-point .main-header-menu .tbts-account-menu-link > .menu-link:hover,
.footer-widget-area .tbts-account-menu-link > a:hover {
  color: #e63946;
}

.tbts-account-link {
  color: #1a1a2e;
  font-weight: 800;
  text-decoration: none;
}

.tbts-account-link:hover {
  color: #e63946;
}

.tbts-header-account-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 4px;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .tb-header-actions .tbts-header-account-link,
  .header__actions .tbts-header-account-link {
    display: none;
  }
}

.tbts-trade-form .tbts-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tbts-trade-form .span-2 {
  grid-column: 1 / -1;
}

@media (max-width: 767px) {
  .tbts-trade-form .tbts-grid {
    grid-template-columns: 1fr;
  }

  .tbts-trade-form .span-2 {
    grid-column: auto;
  }
}

.tbts-inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tbts-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
  color: #1a1a2e;
}

.tbts-check input {
  margin: 0;
}

.tbts-remember {
  margin: 4px 0 0;
}

.tbts-hidden-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tbts-trade-price-lock {
  display: block;
  margin: 0 0 8px;
  font-weight: 700;
  color: #1a1a2e;
}

.tbts-locked-price {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.tbts-hide-trade-prices .product-card .price:not([data-tbts-price-patched="1"]),
.tbts-hide-trade-prices .tb-product-card .tb-product-price:not([data-tbts-price-patched="1"]) {
  min-height: 62px;
  visibility: hidden;
}

.tbts-hide-trade-prices .product-card__actions,
.tbts-hide-trade-prices .tb-product-actions {
  display: none !important;
}

.tbts-inquiry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #e63946;
  border-radius: 14px;
  background: #e63946;
  color: #ffffff;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.tbts-inquiry-button:hover {
  background: #1a1a2e;
  border-color: #1a1a2e;
  color: #ffffff;
}

.tbts-inquiry-button--dark {
  background: #1a1a2e;
  border-color: #1a1a2e;
}

.tbts-inquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(26, 26, 46, .62);
}

.tbts-inquiry-modal.is-open {
  display: flex;
}

.tbts-inquiry-modal__panel {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(26, 26, 46, .24);
  padding: 24px;
}

.tbts-inquiry-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(91, 100, 114, .25);
  border-radius: 999px;
  background: #ffffff;
  color: #1a1a2e;
  font-weight: 900;
}

.tbts-inquiry-modal__summary {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.tbts-inquiry-modal__image {
  width: 130px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 16px;
  background: #f5f5f7;
  padding: 8px;
}

.tbts-inquiry-modal__eyebrow {
  margin: 0 0 6px;
  color: #e63946;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tbts-inquiry-modal__summary h3 {
  margin: 0 0 8px;
  color: #1a1a2e;
}

.tbts-inquiry-modal__summary p {
  margin: 0 0 6px;
  color: #5b6472;
}

.tbts-inquiry-modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.tbts-inquiry-modal__actions .tbts-inquiry-button {
  flex: 1;
}

@media (max-width: 560px) {
  .tbts-inquiry-modal__summary {
    grid-template-columns: 1fr;
  }

  .tbts-inquiry-modal__image {
    width: 100%;
    max-height: 180px;
  }

  .tbts-inquiry-modal__actions {
    flex-direction: column;
  }
}

.tbts-trade-success {
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(230, 57, 70, 0.25);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  color: #1a1a2e;
  box-shadow: 0 10px 30px rgba(26, 26, 46, 0.08);
}

.tbts-trade-success strong {
  display: block;
  margin-bottom: 6px;
  color: #e63946;
}

.tbts-trade-success p {
  margin: 0;
  color: #5b6472;
}

.tbts-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tbts-status-pill.is-pending {
  background: #fff4e5;
  color: #b45309;
}

.tbts-status-pill.is-approved {
  background: #eaf6ee;
  color: #137333;
}

.tbts-status-pill.is-rejected {
  background: #fdecec;
  color: #d62828;
}

.tbts-admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.tbts-admin-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #1a1a2e;
  color: #ffffff;
  text-decoration: none;
}

.tbts-admin-actions a:last-child {
  background: #5b6472;
}
