/* index2.php isolated visual test layer for trueaccs.com catalog redesign */

.ta-page-shell,
.ta-main-layout {
  width: min(100%, 1240px) !important;
  box-sizing: border-box;
}

.ta-page-shell td {
  box-sizing: border-box;
}

.ta-top-shell {
  margin-top: 6px;
  margin-bottom: 8px;
}

.ta-top-shell .intro-block {
  max-width: 760px;
  margin-left: auto;
}

.ta-top-shell .intro-text {
  max-width: 720px;
  line-height: 1.55;
}

.ta-category-menu-shell,
.ta-quick-buy-shell {
  margin-top: 8px;
  margin-bottom: 10px;
}

.ta-separator-shell {
  margin-top: 6px;
  margin-bottom: 6px;
}

.ta-catalog-cell {
  width: 100%;
  border-right: 0 !important;
}

.ta-catalog {
  width: 100%;
  margin: 0 auto 18px;
  padding: 0 10px;
  box-sizing: border-box;
  color: #17222a;
}

.ta-category-section {
  margin: 24px auto 36px;
  padding: 12px 14px 14px;
  border: 0;
  border-radius: 22px;
  background: #f9fafb;
  box-shadow: none;
}

.ta-category-section + .ta-category-section {
  margin-top: 30px;
}

.ta-category-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px 128px 128px 178px;
  align-items: center;
  column-gap: 0;
  margin: 0 0 4px;
}

.ta-category-title {
  margin: 0 0 0 10px;
  color: #2b3d48;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
  padding: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.ta-sort-controls {
  display: contents;
  font-size: 12px;
}

.ta-sort-chip {
  appearance: none;
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 30px;
  width: 92px;
  min-width: 92px;
  justify-self: center;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #5f6f7a;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .ta-sort-price[data-price-hint]::after {
    content: attr(data-price-hint);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 6px);
    z-index: 8;
    width: max-content;
    max-width: 180px;
    padding: 5px 7px;
    border-radius: 7px;
    background: #1f2937;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0;
    text-align: center;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 2px);
    transition:
      opacity 120ms ease,
      transform 120ms ease;
  }

  .ta-sort-price[data-price-hint]:hover::after,
  .ta-sort-price[data-price-hint]:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, -2px);
  }
}

.ta-sort-chip .sort-arrow {
  width: 6px;
  height: 6px;
  margin-left: 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  font-size: 0;
  line-height: 0;
  opacity: 0.72;
}

.ta-sort-chip[data-sort-direction="asc"] .sort-arrow {
  transform: translateY(2px) rotate(225deg);
}

.ta-sort-stock {
  grid-column: 4;
}

.ta-sort-price {
  grid-column: 3;
}

.ta-sort-chip:hover,
.ta-sort-chip-active {
  background: #f5f7fa;
  color: #344554;
}

.ta-sort-chip:active {
  transform: translateY(1px);
}

.ta-sort-chip:focus-visible,
.ta-btn:focus-visible,
.ta-product-title:focus-visible,
.show-more-btn:focus-visible,
.ta-search-input:focus-visible,
.ta-search-select:focus-visible,
.ta-inline-notify-form input:focus-visible,
.ta-more-link:focus-visible,
.ta-search-clear:focus-visible,
.ta-more-close:focus-visible,
.accordion-buy-btn:focus-visible {
  outline: 3px solid rgba(31, 95, 191, 0.22);
  outline-offset: 2px;
}

.ta-table-head {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ta-category-section .category-table {
  width: 100% !important;
  max-width: none;
  margin: 0 auto;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0 6px;
}

.ta-col-info {
  width: 38px;
}

.ta-col-stock,
.ta-col-price {
  width: 128px;
}

.ta-col-actions {
  width: 178px;
}

.ta-category-section .product-row,
.ta-category-section .ta-product-row {
  cursor: default;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.ta-category-section .product-table tr.ta-product-row:hover,
.ta-category-section .product-table tr.ta-product-row:hover.odd-row,
.ta-category-section .product-table tr.ta-product-row:hover.even-row,
.ta-category-section .product-table tr.ta-product-row.accordion-open,
.ta-category-section .product-table tr.ta-product-row.accordion-open.odd-row,
.ta-category-section .product-table tr.ta-product-row.accordion-open.even-row {
  border-left: 0 !important;
  border-left-width: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.ta-product-row td {
  height: auto !important;
  padding: 8px 10px !important;
  border-top: 0;
  border-bottom: 0;
  background: #ffffff;
  vertical-align: middle;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.ta-product-row td:first-child {
  border-left: 0 !important;
  border-radius: 18px 0 0 18px;
  box-shadow: none !important;
}

.ta-product-row:hover td:first-child,
.ta-product-row.accordion-open td:first-child {
  border-left: 0 !important;
  border-left-width: 0 !important;
  border-left-color: transparent !important;
  box-shadow: none !important;
}

.ta-product-row td:last-child {
  border-right: 0;
  border-radius: 0 18px 18px 0;
}

.ta-product-row td:first-child::after {
  content: none !important;
  display: none !important;
}

.ta-product-row td:first-child::before {
  content: none !important;
  display: none !important;
}

.ta-product-row:hover td {
  border-color: #e1e5ea !important;
  background: #f6f8fb !important;
  box-shadow: none;
}

.ta-product-row:hover td:first-child {
  border-left: 0 !important;
  border-left-width: 0 !important;
  border-left-color: transparent !important;
}

.product-table .ta-product-row.even-row,
.product-table .ta-product-row.odd-row,
.product-table .ta-product-row:first-child,
.product-table .ta-product-row:first-of-type,
.product-table tbody > .ta-product-row:first-child {
  background: transparent !important;
  background-color: transparent !important;
}

.product-table .ta-product-row.even-row td,
.product-table .ta-product-row.odd-row td,
.product-table .ta-product-row:first-child td,
.product-table .ta-product-row:first-of-type td,
.product-table tbody > .ta-product-row:first-child td,
.ta-product-row.accordion-open td,
.ta-product-row td {
  background-color: #ffffff !important;
}

.product-table .ta-product-row:hover.even-row td,
.product-table .ta-product-row:hover.odd-row td,
.product-table .ta-product-row:first-child:hover td,
.product-table .ta-product-row:first-of-type:hover td,
.product-table tbody > .ta-product-row:first-child:hover td,
.ta-product-row:hover td {
  background-color: #f6f8fb !important;
}

.ta-product-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  min-height: 32px;
  width: auto;
}

.ta-product-title {
  appearance: none;
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #17222a;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  text-wrap: pretty;
  transition: color 180ms ease;
}

.ta-product-title:hover {
  color: #2f7edb;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  font-weight: 400;
  letter-spacing: 0;
  transform: none;
  text-shadow: none;
  text-decoration: none;
}

.ta-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ta-product-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 0;
}

.ta-product-badge {
  display: inline-flex;
  position: relative;
  align-items: center;
  min-height: 16px;
  padding: 1px 5px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.ta-product-badge--geo {
  border-color: #b7c9e8;
  background: #eef4ff;
  color: #2f5f9f;
}

.ta-product-badge--trust {
  border-color: #a8dec0;
  background: #eefaf4;
  color: #23784f;
}

.ta-product-badge--quality {
  border-color: #c7d2fe;
  background: #eef2ff;
  color: #4338ca;
}

.ta-product-badge--aged {
  border-color: #d8b4fe;
  background: #faf5ff;
  color: #7e22ce;
}

.ta-product-badge--accent {
  border-color: #e8c56a;
  background: #fff6df;
  color: #8a5a00;
}

.ta-product-badge--popular {
  border-color: #f1c7c7;
  background: #fff7f7;
  color: #991b1b;
}

.ta-product-badge--promo {
  border-color: #efb19f;
  background: #fff0eb;
  color: #a33a22;
}

@media (hover: hover) and (pointer: fine) {
  .ta-product-badge[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 6px);
    z-index: 8;
    width: max-content;
    max-width: 220px;
    padding: 5px 7px;
    border-radius: 7px;
    background: #1f2937;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0;
    text-align: center;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 2px);
    transition:
      opacity 120ms ease,
      transform 120ms ease;
  }

  .ta-product-badge[data-tooltip]:hover::after {
    opacity: 1;
    transform: translate(-50%, -2px);
  }
}

.ta-info-cell {
  width: 38px;
  min-width: 38px;
  text-align: center;
  white-space: nowrap;
}

.ta-stock-cell,
.ta-price-cell {
  width: 128px;
  min-width: 128px;
  text-align: center;
  white-space: nowrap;
}

.ta-data-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  min-width: 92px;
  min-height: 30px;
  box-sizing: border-box;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ta-stock-badge {
  border: 0;
  background: #f6f7f9;
  color: #374151;
  font-weight: 700;
}

.ta-price-badge {
  border: 0;
  background: #f6f7f9;
  color: #374151;
  font-weight: 700;
}

.ta-actions {
  width: 178px;
  min-width: 178px;
  text-align: right;
  white-space: nowrap;
}

.ta-actions .ta-btn + .ta-btn {
  margin-left: 8px;
}

.ta-btn {
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  border-radius: 999px;
  border: 0;
  font-size: 13px;
  line-height: 1;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.ta-btn:active {
  transform: translateY(1px);
}

.ta-btn-buy {
  padding: 8px 14px;
  background: #1f5fbf;
  color: #ffffff;
  box-shadow: 0 7px 15px rgba(31, 95, 191, 0.17);
}

.ta-btn-buy:hover {
  background: #184f9f;
  color: #ffffff;
}

.ta-btn-info {
  width: 32px;
  min-height: 32px;
  padding: 0;
  border: 1px solid #2f7edb;
  background: #ffffff;
  color: #2f7edb;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.ta-btn-info:hover {
  background: #f4f9ff;
  color: #1f5fbf;
}

.ta-btn-notify {
  padding: 8px 14px;
  background: #eef5fb;
  color: #2f6d9f;
  box-shadow: none;
}

.ta-btn-notify:hover {
  background: #e2eff9;
  color: #1f5f8f;
}

.ta-btn-disabled,
.ta-btn:disabled {
  background: #f1f4f8;
  color: #7a8492;
  opacity: 1;
  cursor: not-allowed;
  box-shadow: none;
}

.ta-btn-disabled .ta-btn-icon,
.ta-btn:disabled .ta-btn-icon {
  display: none;
}

.ta-btn-icon {
  flex: 0 0 auto;
}

.ta-accordion .ta-accordion-content {
  padding: 0 10px 12px !important;
  border: 0;
  border-radius: 0 0 18px 18px;
  background: #ffffff;
  overflow: visible !important;
}

.ta-accordion-loading {
  color: #697487;
  font-weight: 600;
}

.ta-category-section .show-more-wrap {
  margin: 8px 10px 0;
}

.ta-category-section .show-more-btn {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #2b3d48;
  font-size: 13px;
  font-weight: 600;
  box-shadow: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.ta-category-section .show-more-btn::after {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: 0.72;
  transform: translateY(-1px) rotate(45deg);
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.ta-category-section .show-more-arrow {
  display: none;
}

.ta-category-section .show-more-btn:hover {
  background: #f6f8fb;
  color: #2b3d48;
  box-shadow: none;
  transform: translateY(-1px);
}

.ta-category-section .show-more-btn:hover::after {
  opacity: 0.95;
}

.ta-category-section .show-more-btn[data-expanded="true"]::after {
  transform: translateY(2px) rotate(225deg);
}

.intro-block .primary-btn,
.legacy-forms-table button {
  border: 0 !important;
  border-radius: 14px !important;
}

.intro-block .primary-btn {
  border-radius: 999px !important;
}

.legacy-forms-table {
  border-collapse: separate !important;
  border-spacing: 0 26px !important;
}

.legacy-forms-table .forms-section > td {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

.legacy-forms-table .forms-section > td > div,
.legacy-forms-table .notification-form-container {
  border: 0 !important;
  border-radius: 22px !important;
  background: #f7f9fb !important;
  box-shadow: none !important;
}

.legacy-forms-table .forms-section > td > div {
  padding: 16px !important;
}

.legacy-forms-table .notification-form-container {
  padding: 18px !important;
}

.ta-quick-buy-panel {
  width: calc(100% - 20px);
  max-width: none;
  margin: 0 auto;
  padding: 12px 14px;
  border: 0;
  border-radius: 24px;
  background: #f7f9fb;
  box-shadow: none;
  box-sizing: border-box;
}

.ta-quick-buy-panel form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ta-quick-buy-panel .buy-row,
.ta-quick-buy-panel .pay-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ta-quick-buy-panel .buy-row {
  flex: 1 1 650px;
}

.ta-quick-buy-panel .pay-row {
  flex: 0 0 auto;
}

.ta-quick-buy-panel .ta-form-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  color: #2b3d48;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ta-form-label-icon {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: #1f5fbf;
}

.ta-quick-buy-panel input[type="text"],
.ta-quick-buy-panel input[type="number"],
.ta-quick-buy-panel input[type="email"],
.ta-quick-buy-panel select {
  min-height: 32px;
  border: 1px solid #d8dee8 !important;
  border-radius: 14px !important;
  background: #ffffff;
  color: #17222a;
  box-shadow: inset 0 1px 2px rgba(18, 32, 45, 0.045);
}

.ta-quick-buy-panel input[type="text"],
.ta-quick-buy-panel input[type="number"] {
  width: 92px;
  flex: 0 0 92px;
}

.ta-quick-buy-panel select[name="accounts"] {
  width: min(100%, 280px);
  flex: 0 0 280px;
  margin-left: 4px;
}

.ta-quick-buy-panel select[name="currency"] {
  width: 176px;
  flex: 0 0 176px;
}

.ta-quick-buy-panel input[type="submit"] {
  min-height: 32px;
  width: 58px;
  padding: 0 12px;
  border: 0 !important;
  border-radius: 999px !important;
  background: #1f5fbf;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  flex: 0 0 58px;
}

.ta-quick-buy-panel input[type="submit"]:hover {
  background: #184f9f;
}

.ta-content-panel {
  width: calc(100% - 20px);
  max-width: none;
  margin: 14px auto 0;
  padding: 22px 24px;
  border: 0;
  border-radius: 22px;
  background: #f7f9fb;
  box-sizing: border-box;
  color: #2b3d48;
  line-height: 1.62;
}

.ta-content-panel h1,
.ta-content-panel h2 {
  color: #2b3d48;
  letter-spacing: -0.02em;
}

.ta-content-panel h1 {
  margin-top: 0;
  font-size: 24px;
  line-height: 1.22;
}

.ta-content-panel h2 {
  margin-top: 22px;
  font-size: 18px;
}

.ta-content-panel p,
.ta-content-panel li {
  font-size: 14px;
}

.ta-content-panel ul {
  padding-left: 20px;
}

#form2 input,
#form2 select,
.legacy-forms-table input,
.legacy-forms-table select,
.legacy-forms-table textarea {
  border: 1px solid #d8dee8 !important;
  border-radius: 12px !important;
  background-color: #ffffff;
  box-shadow: inset 0 1px 2px rgba(18, 32, 45, 0.045);
}

.category-menu {
  gap: 10px !important;
  padding: 10px 0 16px !important;
}

.category-menu a {
  padding: 9px 15px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #f5f7fa !important;
  color: #2b3d48 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.015em !important;
  box-shadow: inset 0 0 0 1px rgba(43, 61, 72, 0.06) !important;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease !important;
}

.category-menu a:hover {
  background: #edf4fb !important;
  color: #2f7edb !important;
  box-shadow: inset 0 0 0 1px rgba(47, 126, 219, 0.16) !important;
  transform: translateY(-1px);
}

.ta-search-shell {
  margin-top: 4px;
  margin-bottom: 2px;
}

.ta-catalog-tools {
  width: calc(100% - 20px);
  max-width: none;
  margin: 0 auto;
}

.ta-catalog-search {
  display: grid;
  grid-template-columns:
    auto minmax(320px, 1fr) auto minmax(150px, auto) auto minmax(130px, auto)
    auto auto;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 20px;
  background: #f7f9fb;
  color: #2b3d48;
}

.ta-search-label {
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
}

.ta-search-select-label {
  color: #5f6f7a;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}

.ta-search-control {
  position: relative;
}

.ta-search-input {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 126px 10px 14px;
  border: 1px solid #d8dee8;
  border-radius: 999px;
  background: #ffffff;
  color: #17222a;
  font-size: 14px;
  box-shadow: inset 0 1px 2px rgba(18, 32, 45, 0.045);
}

.ta-search-select {
  min-height: 36px;
  max-width: 190px;
  box-sizing: border-box;
  padding: 0 32px 0 12px;
  border: 1px solid #d8dee8;
  border-radius: 999px;
  background-color: #ffffff;
  color: #2b3d48;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
}

.ta-search-clear {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: #eef2f6;
  color: #5f6f7a;
  line-height: 26px;
  text-align: center;
  transform: translateY(-50%);
  cursor: pointer;
}

.ta-search-clear:hover {
  background: #e1e8f0;
  color: #2b3d48;
}

.ta-search-clear:active {
  transform: translateY(-50%) scale(0.96);
}

.ta-search-badges-toggle {
  position: absolute;
  top: 50%;
  right: 40px;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid #d8dee8;
  border-radius: 999px;
  background: #ffffff;
  color: #4f5d6a;
  font-size: 12px;
  font-weight: 600;
  line-height: 26px;
  white-space: nowrap;
  transform: translateY(-50%);
  cursor: pointer;
}

.ta-search-badges-toggle:hover,
.ta-search-badges-toggle[aria-expanded="true"],
.ta-search-badges-toggle.is-active {
  background: #eef2f6;
  border-color: #cfd7e3;
  color: #374151;
}

.ta-search-badges-toggle.is-active {
  padding-right: 12px;
  padding-left: 12px;
  border-color: #b7c9e8;
  background: #eef4ff;
  color: #2f5f9f;
}

.ta-search-badges-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 8px;
  z-index: 40;
  width: min(300px, calc(100vw - 32px));
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #d8dee8;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(18, 32, 45, 0.16);
}

.ta-search-badges-title {
  margin-bottom: 8px;
  color: #5f6f7a;
  font-size: 12px;
  font-weight: 600;
}

.ta-search-badges-selected {
  margin-bottom: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid #edf1f6;
}

.ta-search-badges-selected-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ta-search-badges-list {
  display: grid;
  gap: 6px;
}

.ta-search-badge-option {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 34px;
  padding: 5px 7px;
  border: 1px solid #d8dee8;
  border-radius: 12px;
  background: #f7f9fb;
  color: #2b3d48;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.ta-search-badge-option[hidden] {
  display: none;
}

.ta-search-badge-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.ta-search-badge-hint {
  color: #52606d;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
}

.ta-badge-search-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.ta-search-badge-option.is-selected {
  box-shadow: inset 0 0 0 1px currentColor;
}

.ta-badge-search-chip--geo {
  border-color: #b7c9e8;
  background: #eef4ff;
  color: #2f5f9f;
}

.ta-badge-search-chip--trust {
  border-color: #a8dec0;
  background: #eefaf4;
  color: #23784f;
}

.ta-badge-search-chip--quality {
  border-color: #c7d2fe;
  background: #eef2ff;
  color: #4338ca;
}

.ta-badge-search-chip--aged {
  border-color: #d8b4fe;
  background: #faf5ff;
  color: #7e22ce;
}

.ta-badge-search-chip--popular {
  border-color: #e8c56a;
  background: #fff6df;
  color: #8a5a00;
}

.ta-badge-search-chip--promo {
  border-color: #efb19f;
  background: #fff0eb;
  color: #a33a22;
}

.ta-search-badge-option:hover,
.ta-search-badge-option:focus-visible,
.ta-badge-search-chip:hover,
.ta-badge-search-chip:focus-visible {
  background: #eef2f6;
  border-color: #c7d2df;
}

.ta-badge-search-chip--geo:hover,
.ta-badge-search-chip--geo:focus-visible {
  border-color: #b7c9e8;
  background: #e5efff;
}

.ta-badge-search-chip--trust:hover,
.ta-badge-search-chip--trust:focus-visible {
  border-color: #a8dec0;
  background: #e3f7ee;
}

.ta-badge-search-chip--quality:hover,
.ta-badge-search-chip--quality:focus-visible {
  border-color: #c7d2fe;
  background: #e5eaff;
}

.ta-badge-search-chip--aged:hover,
.ta-badge-search-chip--aged:focus-visible {
  border-color: #d8b4fe;
  background: #f3e8ff;
}

.ta-badge-search-chip--popular:hover,
.ta-badge-search-chip--popular:focus-visible {
  border-color: #e8c56a;
  background: #ffefc2;
}

.ta-badge-search-chip--promo:hover,
.ta-badge-search-chip--promo:focus-visible {
  border-color: #efb19f;
  background: #ffe4dc;
}

.ta-stock-filter {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(242, 140, 40, 0.26);
  border-radius: 999px;
  background: #ffffff;
  color: #2b3d48;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.ta-stock-filter[aria-pressed="true"] {
  background: #f28c28;
  border-color: #f28c28;
  color: #ffffff;
}

.ta-search-reset-all {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #d8dee8;
  border-radius: 999px;
  background: #ffffff;
  color: #5f6f7a;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.ta-search-reset-all:hover,
.ta-search-reset-all:focus-visible {
  background: #eef2f6;
  border-color: #cfd7e3;
  color: #374151;
}

.ta-search-reset-all[hidden] {
  display: none;
}

.ta-filter-in-stock .ta-product-row[data-stock="0"] {
  display: none !important;
}

.ta-search-summary {
  color: #697487;
  font-size: 13px;
  font-weight: 600;
}

.ta-search-results {
  margin-top: 4px;
}

.ta-search-result-title {
  appearance: none;
  border: 0;
  background: transparent;
  color: #17222a;
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.ta-search-result-title:hover {
  color: #2f7edb;
}

.ta-search-result-category {
  display: block;
  margin-top: 3px;
  color: #7a8492;
  font-size: 12px;
  font-weight: 600;
}

.ta-search-result-action {
  text-align: right;
  white-space: nowrap;
}

.ta-search-empty {
  padding: 14px 16px;
  border-radius: 18px;
  background: #ffffff;
  color: #697487;
  font-size: 14px;
  font-weight: 600;
}

.ta-search-empty-reset {
  margin-top: 8px;
  min-height: 28px;
  padding: 6px 11px;
  font-size: 12px;
}

.ta-legacy-notify-row {
  display: none !important;
}

.ta-quantity-meta {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  width: 178px;
  max-width: 178px;
  min-height: 32px;
  margin: 0;
  min-width: 178px;
  text-align: left;
}

.ta-quick-buy-panel .buy-row .ta-quantity-meta {
  flex: 1 1 100%;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-left: 0;
  align-items: center;
}

.ta-quantity-meta-line {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  justify-items: start;
  row-gap: 2px;
  text-align: left;
}

.ta-quick-buy-panel .buy-row .ta-quantity-meta-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ta-quick-buy-panel .buy-row .ta-price-preview {
  flex: 1 1 100%;
  margin: 4px 0 0;
  padding-left: 0;
  padding-right: 0;
  background: transparent;
}

.ta-max-order {
  color: #697487;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.ta-max-order-value {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2f7edb;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ta-max-order-value:hover {
  color: #1f5fbf;
}

.ta-max-order-value:focus-visible {
  outline: 2px solid rgba(31, 95, 191, 0.24);
  outline-offset: 2px;
  border-radius: 4px;
}

.ta-more-link {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8b98a6;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  text-underline-offset: 2px;
}

.ta-more-link:hover {
  color: #657487;
  text-decoration: underline;
}

#form2 .ta-more-link {
  display: inline-flex;
  align-items: center;
}

.ta-accordion .ta-more-link {
  display: inline-flex;
  align-items: center;
  color: #8b98a6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ta-accordion .ta-more-link:hover {
  color: #657487;
  text-decoration: underline;
}

.ta-quantity-error {
  color: #a94747;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.ta-price-preview {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef5ff;
  color: #2b5f9f;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  white-space: nowrap;
}

.ta-accordion .ta-quantity-meta-line {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  justify-items: start;
  row-gap: 2px;
}

.ta-price-preview:empty {
  display: none;
}

.ta-price-preview[data-state="error"] {
  background: #fff5e8;
  color: #8a5a1f;
}

.ta-more-panel {
  position: absolute;
  z-index: 3;
  top: calc(100% + 8px);
  left: auto;
  right: 0;
  width: min(280px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(18, 32, 45, 0.14);
  box-sizing: border-box;
}

.ta-more-panel p {
  margin: 0 0 10px;
  color: #2b3d48;
  font-size: 13px;
  line-height: 1.45;
}

.ta-inline-notify-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.ta-inline-notify-label {
  display: grid;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  color: #4f5f6c;
  font-size: 12px;
  font-weight: 700;
}

.ta-inline-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 360px;
  color: #4f5f6c;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}

.ta-inline-consent-label {
  flex-basis: 100%;
}

.ta-inline-consent-label input {
  flex: 0 0 auto;
  margin-top: 2px;
}

.ta-inline-notify-form input[type="email"] {
  min-height: 32px;
  width: 210px;
  box-sizing: border-box;
  padding: 6px 10px;
  border: 1px solid #b7c5d1;
  border-radius: 12px;
  background: #fffdf9;
  color: #17222a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.ta-more-panel .ta-inline-notify-form input[type="email"] {
  width: min(240px, 100%);
  max-width: 100%;
  border: 1px solid #b7c5d1 !important;
  background: #fffdf9 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 1px 2px rgba(18, 32, 45, 0.05) !important;
}

.ta-more-panel .ta-inline-notify-label {
  width: 100%;
}

.ta-quick-buy-panel .ta-more-panel .ta-inline-notify-form input[type="email"] {
  border: 1px solid #b7c5d1 !important;
}

#form1 .ta-more-panel .ta-inline-notify-form input[type="email"],
#form2 .ta-more-panel .ta-inline-notify-form input[type="email"],
.legacy-forms-table .ta-more-panel .ta-inline-notify-form input[type="email"] {
  border: 1px solid #b7c5d1 !important;
  background: #fffdf9 !important;
}

.ta-more-panel .ta-btn-notify {
  border: 1px solid #1f6f9d;
  background: #dceef8;
  color: #174f73;
  box-shadow: 0 4px 10px rgba(31, 111, 157, 0.12);
}

.ta-more-panel .ta-btn-notify:hover {
  background: #cfe6f4;
  color: #123f5f;
}

.ta-notify-details .accordion-description {
  color: #2b3d48;
  line-height: 1.5;
}

.ta-notify-panel {
  display: flex;
  align-items: center;
}

.ta-notify-panel .ta-inline-notify-form {
  padding: 10px 0;
}

.legacy-forms-table {
  width: 100% !important;
  max-width: none !important;
}

.legacy-forms-table .ta-quick-buy-panel {
  max-width: 100%;
}

.ta-quick-buy-panel form {
  flex-wrap: wrap;
}

.ta-accordion .ta-quick-buy-panel,
.ta-accordion .accordion-form {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ta-accordion .accordion-form {
  position: relative;
}

.ta-accordion .accordion-details {
  display: flex;
  gap: 10px;
  align-items: start;
  max-width: 100%;
  overflow: visible;
}

.ta-accordion .accordion-info {
  flex: 1 1 auto;
  min-width: 0;
  order: 1;
}

.ta-accordion .accordion-logo {
  flex: 0 0 auto;
  order: 0;
}

.ta-accordion .accordion-purchase {
  flex: 0 0 360px;
  width: auto;
  min-width: 320px;
  max-width: 360px;
  margin-left: 0;
  padding-right: 0;
  box-sizing: border-box;
  order: 2;
}

.ta-accordion .ta-quick-buy-panel .buy-row {
  flex: 1 1 100%;
}

.ta-accordion .ta-quantity-meta {
  position: static;
  width: 178px;
  max-width: 178px;
  min-width: 178px;
  flex: 0 0 178px;
}

.ta-accordion .ta-quantity-meta-line {
  max-width: 100%;
}

.ta-accordion .ta-price-preview {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin: 7px auto 0;
  white-space: normal;
  text-align: center;
}

.ta-accordion .ta-price-preview:empty {
  display: none;
}

.ta-search-results-list {
  display: grid;
  gap: 8px;
}

.ta-search-result-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 18px;
  background: #ffffff;
}

.ta-search-result-data {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.ta-more-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: #eef2f6;
  color: #5f6f7a;
  line-height: 1;
  cursor: pointer;
}

.ta-more-close:hover {
  background: #e1e8f0;
  color: #2b3d48;
}

.ta-more-close:active {
  transform: scale(0.96);
}

.ta-quick-buy-panel input[type="submit"] {
  border-radius: 999px !important;
  background: #f28c28 !important;
  color: #ffffff !important;
  box-shadow: 0 7px 15px rgba(242, 140, 40, 0.2);
  transition:
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.ta-quick-buy-panel input[type="submit"]:hover {
  background: #d97616 !important;
  box-shadow: 0 9px 18px rgba(242, 140, 40, 0.27);
}

.ta-quick-buy-panel input[type="submit"]:active {
  transform: translateY(1px);
}

#form1 input[type="submit"][name="buy"],
#form2 input[type="submit"][name="buy"],
.legacy-forms-table .ta-quick-buy-panel input[type="submit"][name="buy"] {
  min-height: 32px !important;
  width: 58px !important;
  min-width: 58px !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #f28c28 !important;
  color: #ffffff !important;
  box-shadow: 0 7px 15px rgba(242, 140, 40, 0.2) !important;
  font-weight: 700 !important;
}

#form1 input[type="submit"][name="buy"]:hover,
#form2 input[type="submit"][name="buy"]:hover,
.legacy-forms-table .ta-quick-buy-panel input[type="submit"][name="buy"]:hover {
  background: #d97616 !important;
  box-shadow: 0 9px 18px rgba(242, 140, 40, 0.27) !important;
}

.accordion-buy-btn {
  border-radius: 999px !important;
  background: #f28c28 !important;
  color: #ffffff !important;
  box-shadow: 0 7px 15px rgba(242, 140, 40, 0.2);
  transition:
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.accordion-buy-btn:hover {
  background: #d97616 !important;
  box-shadow: 0 9px 18px rgba(242, 140, 40, 0.27);
}

.accordion-buy-btn:active {
  transform: translateY(1px);
}

.ta-search-shell,
.ta-quick-buy-shell,
.ta-main-layout,
.ta-page-shell {
  width: min(100%, 1240px) !important;
}

.ta-quick-buy-panel input[name="count"] {
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
  font-variant-numeric: tabular-nums;
}

.ta-search-input-wrap {
  position: relative;
  width: 100%;
}

.ta-search-control {
  width: 100%;
}

.ta-search-autocomplete {
  position: absolute;
  top: 50%;
  left: 14px;
  right: 126px;
  padding-left: var(--ta-autocomplete-offset, 0px);
  transform: translateY(-50%);
  color: #a6b0bb;
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
}

.ta-search-input:placeholder-shown + .ta-search-autocomplete {
  display: none;
}

.ta-quick-buy-shell,
.ta-search-shell {
  margin-left: auto;
  margin-right: auto;
}

.ta-search-hit {
  padding: 0 2px;
  border-radius: 4px;
  background: #fff0b8;
  color: inherit;
}

@media (max-width: 980px) {
  .ta-quick-buy-panel form {
    grid-template-columns: 1fr;
  }

  .ta-quick-buy-panel .buy-row,
  .ta-quick-buy-panel .pay-row {
    grid-template-columns: 1fr;
  }

  .ta-quick-buy-panel input[name="count"],
  .ta-quick-buy-panel select[name="accounts"],
  .ta-quick-buy-panel select[name="currency"],
  .ta-quick-buy-panel input[type="submit"] {
    grid-column: 1;
    grid-row: auto;
  }

  .ta-quantity-meta {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    max-width: 100%;
  }

  .ta-price-preview {
    width: fit-content;
    white-space: normal;
  }

  .ta-quick-buy-panel select[name="accounts"],
  .ta-quick-buy-panel select[name="currency"],
  .ta-quick-buy-panel input[name="count"] {
    width: 100%;
  }
}

@media (min-width: 981px) {
  .ta-search-shell {
    margin-top: 6px;
    margin-bottom: 8px;
  }

  .ta-search-shell .ta-catalog-search {
    display: grid;
    grid-template-columns: auto minmax(300px, 1fr) 148px 148px auto auto 96px;
    grid-template-rows: 14px 40px;
    align-items: center;
    gap: 2px 8px;
    padding: 9px 16px;
    border: 1px solid rgba(43, 61, 72, 0.08);
    background: #f8fafc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }

  .ta-search-shell .ta-search-label {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin-right: 2px;
  }

  .ta-search-shell .ta-search-select-label {
    color: #8a94a3;
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    align-self: end;
    box-sizing: border-box;
    padding-left: 14px;
  }

  .ta-search-shell .ta-search-select-label[for="ta-search-category"] {
    grid-column: 3;
    grid-row: 1;
  }

  .ta-search-shell .ta-search-select-label[for="ta-search-sort"] {
    grid-column: 4;
    grid-row: 1;
  }

  .ta-search-shell .ta-search-control {
    grid-column: 2;
    grid-row: 1 / span 2;
    flex: 1 1 520px;
    min-width: 360px;
  }

  .ta-search-shell .ta-search-category-filter {
    grid-column: 3;
    grid-row: 2;
  }

  .ta-search-shell .ta-search-sort-select {
    grid-column: 4;
    grid-row: 2;
  }

  .ta-search-shell .ta-search-select {
    width: 148px;
    max-width: 148px;
    height: 30px;
    align-self: start;
    margin-top: 2px;
    padding-left: 10px;
    padding-right: 28px;
    color: #4f5d6a;
    font-size: 12px;
    font-weight: 400;
  }

  .ta-search-shell .ta-search-input {
    min-height: 40px;
  }

  .ta-search-shell .ta-search-select,
  .ta-search-shell .ta-stock-filter {
    min-height: 30px;
  }

  .ta-search-shell .ta-stock-filter {
    grid-column: 5;
    grid-row: 2;
    height: 30px;
    align-self: start;
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 11px;
    padding-right: 11px;
    border-color: #d8dee8;
    color: #4f5d6a;
    font-size: 12px;
    font-weight: 400;
  }

  .ta-search-shell .ta-stock-filter[aria-pressed="true"] {
    background: #eef2f6 !important;
    border-color: #cfd7e3 !important;
    color: #374151 !important;
  }

  .ta-search-shell .ta-search-reset-all {
    grid-column: 6;
    grid-row: 2;
    height: 30px;
    min-height: 30px;
    align-self: start;
    margin-top: 2px;
    padding-left: 11px;
    padding-right: 11px;
    font-size: 12px;
    font-weight: 400;
  }

  .ta-search-shell .ta-search-summary {
    grid-column: 7;
    grid-row: 2;
    min-width: 96px;
    color: #8a94a3;
    font-size: 12px;
    font-weight: 600;
  }

  .ta-search-shell .ta-search-summary:empty {
    visibility: hidden;
  }

  .ta-product-row .ta-price-cell,
  .ta-product-row .ta-stock-cell {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .product-table .ta-product-row.accordion-open td:first-child {
    border-radius: 18px 0 0 0;
  }

  .product-table .ta-product-row.accordion-open td:last-child {
    border-radius: 0 18px 0 0;
  }

  .ta-product-row.accordion-open + .ta-accordion .ta-accordion-content {
    padding-top: 4px !important;
    background: #fffaf4 !important;
    box-shadow: inset 0 1px 0 rgba(211, 146, 76, 0.16);
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .ta-search-shell {
    width: calc(100% - 16px) !important;
    max-width: calc(100% - 16px) !important;
  }

  .ta-search-shell .ta-catalog-tools {
    width: 100%;
  }

  .ta-search-shell .ta-catalog-search {
    grid-template-columns: auto minmax(220px, 1fr) 128px 128px auto auto;
    grid-template-rows: 14px 38px auto;
    gap: 2px 8px;
    padding: 8px 12px;
  }

  .ta-search-shell .ta-search-label {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .ta-search-shell .ta-search-control {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-width: 0;
  }

  .ta-search-shell .ta-search-input {
    min-height: 38px;
  }

  .ta-search-shell .ta-search-select-label {
    padding-left: 14px;
  }

  .ta-search-shell .ta-search-select-label[for="ta-search-category"],
  .ta-search-shell .ta-search-category-filter {
    grid-column: 3;
  }

  .ta-search-shell .ta-search-select-label[for="ta-search-category"] {
    grid-row: 1;
  }

  .ta-search-shell .ta-search-category-filter {
    grid-row: 2;
  }

  .ta-search-shell .ta-search-select-label[for="ta-search-sort"],
  .ta-search-shell .ta-search-sort-select {
    grid-column: 4;
  }

  .ta-search-shell .ta-search-select-label[for="ta-search-sort"] {
    grid-row: 1;
  }

  .ta-search-shell .ta-search-sort-select {
    grid-row: 2;
  }

  .ta-search-shell .ta-search-select {
    width: 128px;
    max-width: 128px;
    height: 30px;
    min-height: 30px;
    margin-top: 0;
  }

  .ta-search-shell .ta-stock-filter {
    grid-column: 5;
    grid-row: 2;
    height: 30px;
    min-height: 30px;
    margin-top: 0;
    white-space: nowrap;
  }

  .ta-search-shell .ta-search-reset-all {
    grid-column: 6;
    grid-row: 2;
    height: 30px;
    min-height: 30px;
    margin-top: 0;
    white-space: nowrap;
  }

  .ta-search-shell .ta-search-summary {
    grid-column: 3 / span 4;
    grid-row: 3;
    min-width: 0;
    justify-self: end;
    line-height: 16px;
  }
}
