/*
  TrueAccs index2 mobile prototype overrides.
  Scope: only /index2.php. Keep shared mobile.css untouched.
  Connected after index2-redesign.css so these rules win on phones.
*/

@media (max-width: 767px) {
  .ta-catalog {
    width: 100%;
    box-sizing: border-box;
    padding: 0 8px;
  }

  .ta-page-shell,
  .ta-main-layout,
  .ta-quick-buy-shell {
    clear: both;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box;
    overflow: visible !important;
  }

  .ta-page-shell > tbody,
  .ta-page-shell > tbody > tr,
  .ta-page-shell > tbody > tr > td,
  .ta-main-layout > tbody,
  .ta-main-layout > tbody > tr,
  .ta-main-layout > tbody > tr > td,
  .ta-quick-buy-shell > tbody,
  .ta-quick-buy-shell > tbody > tr,
  .ta-quick-buy-shell > tbody > tr > td {
    clear: both;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box;
    overflow: visible !important;
  }

  .ta-quick-buy-shell {
    margin: 0 auto 18px !important;
  }

  .ta-search-shell {
    clear: both;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
  }

  .ta-main-layout {
    clear: both;
    margin-top: 0 !important;
  }

  .legacy-forms-table,
  .legacy-forms-table > tbody,
  .legacy-forms-table > tbody > tr,
  .legacy-forms-table > tbody > tr > td,
  .legacy-forms-table table,
  .legacy-forms-table table > tbody,
  .legacy-forms-table table > tbody > tr,
  .legacy-forms-table table > tbody > tr > td {
    clear: both;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box;
    overflow: visible !important;
  }

  .forms-section,
  .forms-section > td,
  tr.forms-section,
  tr.forms-section > td {
    clear: both;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .legacy-forms-table .ta-quick-buy-panel,
  .legacy-forms-table .ta-quick-buy-panel form,
  .legacy-forms-table .buy-row,
  .legacy-forms-table .pay-row,
  .ta-quick-buy-panel #form1,
  .ta-quick-buy-panel #form2,
  .ta-quick-buy-panel .buy-row,
  .ta-quick-buy-panel .pay-row {
    display: grid !important;
    grid-template-columns: 1fr;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    justify-items: stretch;
  }

  .ta-quick-buy-panel,
  .legacy-forms-table .ta-quick-buy-panel {
    clear: both;
    display: block !important;
    position: static !important;
    float: none !important;
    width: calc(100% - 24px) !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto 18px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  #form1,
  #form2,
  #form1 .buy-row,
  #form1 .pay-row,
  #form2 .buy-row,
  #form2 .pay-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    justify-items: stretch;
    gap: 12px;
    overflow: visible !important;
  }

  .legacy-forms-table .ta-quantity-meta,
  .legacy-forms-table select,
  .legacy-forms-table input[name="count"],
  .legacy-forms-table input[type="submit"],
  .ta-quick-buy-panel .ta-quantity-meta,
  .ta-quick-buy-panel select,
  .ta-quick-buy-panel input[name="count"],
  .ta-quick-buy-panel input[type="submit"],
  #form1 .ta-quantity-meta,
  #form1 select,
  #form1 input[name="count"],
  #form1 input[type="submit"],
  #form2 .ta-quantity-meta,
  #form2 select,
  #form2 input[name="count"],
  #form2 input[type="submit"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  .ta-category-section {
    padding: 16px 12px 18px;
    border-radius: 20px;
  }

  .ta-category-title {
    width: 100%;
    margin: 0 0 14px !important;
    padding: 10px 12px 10px 16px !important;
    border-left: 4px solid #f28c28 !important;
    border-bottom: 0 !important;
    border-radius: 14px;
    background: #fff4e8;
    color: #1f3440 !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    text-decoration: none;
    box-sizing: border-box;
  }

  .ta-category-header {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 12px;
  }

  .ta-sort-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .ta-sort-chip {
    position: relative;
    width: auto;
    min-width: 92px;
  }

  .ta-sort-chip::before {
    content: "";
    position: absolute;
    inset: -6px -4px;
  }

  .ta-category-section .category-table {
    border-spacing: 0 10px;
  }

  .ta-category-section .category-table,
  .ta-category-section .category-table tbody,
  .ta-product-row {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .ta-category-section .ta-product-row.is-extra-row[style*="table-row"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .ta-filter-in-stock
    .ta-category-section
    .ta-product-row.is-extra-row[data-stock="0"][style*="table-row"] {
    display: none !important;
  }

  .ta-category-section .ta-accordion {
    display: none !important;
  }

  .ta-category-section .ta-product-row.accordion-open + .ta-accordion,
  .ta-category-section .ta-product-row.accordion-open + .ta-accordion.is-extra-row {
    display: block !important;
  }

  .ta-accordion,
  .ta-accordion > td,
  .ta-accordion .ta-accordion-content,
  .ta-accordion .accordion-details,
  .ta-accordion .accordion-info,
  .ta-accordion .accordion-purchase,
  .ta-accordion .accordion-form,
  .ta-accordion .accordion-form form,
  .ta-accordion .accordion-form .form-row,
  .ta-accordion .accordion-buy-btn {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .ta-accordion .ta-accordion-content,
  .ta-accordion .accordion-details,
  .ta-accordion .accordion-info,
  .ta-accordion .accordion-purchase,
  .ta-accordion .accordion-form,
  .ta-accordion .accordion-format {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .ta-product-row {
    margin-bottom: 10px;
    border-radius: 18px;
    background: #ffffff !important;
    overflow: hidden;
  }

  .ta-product-row.accordion-open {
    margin-bottom: 0;
    border: 0 !important;
    border-radius: 18px 18px 0 0;
    background: #fffaf4 !important;
    background-color: #fffaf4 !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
  }

  .ta-category-section .product-table .ta-product-row.accordion-open,
  .ta-category-section .product-table .ta-product-row.accordion-open:hover,
  .product-table tbody > .ta-product-row.accordion-open:first-child,
  .product-table tbody > .ta-product-row.accordion-open:first-child:hover {
    background: #fffaf4 !important;
    background-color: #fffaf4 !important;
    border-radius: 18px 18px 0 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  .ta-product-row td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-sizing: border-box !important;
  }

  .ta-product-row td,
  .ta-product-row td:first-child,
  .ta-product-row td:last-child {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    text-align: left;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

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

  .ta-product-row.accordion-open td:first-child,
  .ta-product-row.accordion-open td:last-child {
    border-radius: 0;
  }

  .ta-product-row.accordion-open td {
    border: 0 !important;
    background: #fffaf4 !important;
    background-color: #fffaf4 !important;
    box-shadow: none !important;
  }

  .ta-category-section .product-table .ta-product-row.accordion-open td,
  .ta-category-section .product-table .ta-product-row.accordion-open:hover td,
  .product-table tbody > .ta-product-row.accordion-open:first-child td,
  .product-table tbody > .ta-product-row.accordion-open:first-child:hover td {
    background: #fffaf4 !important;
    background-color: #fffaf4 !important;
    border-color: transparent !important;
    box-shadow: none !important;
  }

  .ta-category-section .product-table .ta-product-row.accordion-open td:last-child,
  .ta-category-section .product-table .ta-product-row.accordion-open:hover td:last-child {
    padding-bottom: 0 !important;
  }

  .ta-category-section .product-table .ta-product-row.accordion-open td:first-child,
  .ta-category-section .product-table .ta-product-row.accordion-open:hover td:first-child {
    border-radius: 18px 18px 0 0;
    background: #fffaf4 !important;
    background-color: #fffaf4 !important;
    overflow: hidden;
  }

  .ta-product-main {
    display: block !important;
    padding-bottom: 4px !important;
  }

  .ta-product-title {
    display: block;
    position: relative;
    width: 100%;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
  }

  .ta-product-title::before {
    content: "";
    position: absolute;
    inset: -10px 0 -10px 0;
  }

  .ta-product-title:hover,
  .ta-product-title:focus,
  .ta-product-title:active,
  .ta-product-title:visited,
  .ta-product-row.accordion-open .ta-product-title {
    color: #17222a !important;
    background: transparent !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transform: none !important;
    box-shadow: none !important;
  }

  .ta-info-cell,
  .ta-price-cell,
  .ta-stock-cell,
  .ta-actions {
    width: 100% !important;
    min-width: 0 !important;
  }

  .ta-info-cell {
    display: none !important;
  }

  .ta-info-cell::before {
    content: none;
  }

  .ta-price-cell::before {
    content: "Цена";
    color: #697487;
    font-size: 12px;
    font-weight: 700;
  }

  .ta-stock-cell {
    margin-top: 0;
  }

  .ta-stock-cell::before {
    content: "Наличие";
    color: #697487;
    font-size: 12px;
    font-weight: 700;
  }

  .ta-data-badge {
    width: auto;
    min-width: 86px;
  }

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

  .ta-actions {
    justify-content: flex-start;
    text-align: left;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    padding-right: 8px !important;
  }

  .ta-actions .ta-btn {
    position: relative;
    width: auto;
    min-width: 112px;
    min-height: 36px;
    padding: 7px 12px;
  }

  .ta-actions .ta-btn::before {
    content: "";
    position: absolute;
    inset: -4px 0;
  }

  .ta-category-section .show-more-btn {
    position: relative;
  }

  .ta-category-section .show-more-btn::before {
    content: "";
    position: absolute;
    inset: -9px 0;
  }

  .ta-btn {
    min-height: 44px;
  }

  .ta-btn-info {
    width: 44px;
    min-width: 44px;
  }

  .ta-accordion .ta-accordion-content {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  .ta-product-row.accordion-open + .ta-accordion {
    margin-top: 0;
    margin-bottom: 10px;
    border: 0 !important;
    border-left: 0 !important;
    background: #fffaf4 !important;
    box-shadow: 0 12px 24px rgba(31, 52, 64, 0.08) !important;
    overflow: hidden !important;
    border-radius: 0 0 18px 18px !important;
  }

  .ta-product-row.accordion-open + .ta-accordion > td {
    padding: 0 0 14px !important;
    border: 0 !important;
    border-left: 0 !important;
    border-radius: 0 0 18px 18px !important;
    background: #fffaf4 !important;
    box-shadow: none !important;
    overflow: hidden;
  }

  .ta-product-row.accordion-open + .ta-accordion .ta-accordion-content {
    padding: 12px 12px 14px !important;
    border: 0 !important;
    border-radius: 0 0 18px 18px !important;
    background: #fffaf4 !important;
  }

  .ta-quick-buy-panel {
    width: calc(100% - 16px);
    padding: 10px 12px;
  }

  .ta-quick-buy-panel .buy-row,
  .ta-quick-buy-panel .pay-row {
    flex-wrap: wrap;
  }

  .ta-quick-buy-panel .buy-row,
  .ta-quick-buy-panel .pay-row,
  #form1 .buy-row,
  #form1 .pay-row,
  #form2 .buy-row,
  #form2 .pay-row,
  .legacy-forms-table .ta-quick-buy-panel .buy-row,
  .legacy-forms-table .ta-quick-buy-panel .pay-row {
    grid-template-columns: 1fr !important;
    justify-items: stretch !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

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

  .ta-quick-buy-panel form,
  #form1,
  #form2,
  .legacy-forms-table .ta-quick-buy-panel form {
    gap: 10px !important;
    row-gap: 10px !important;
  }

  .ta-quick-buy-panel .buy-row,
  .ta-quick-buy-panel .pay-row,
  #form1 .buy-row,
  #form1 .pay-row,
  #form2 .buy-row,
  #form2 .pay-row,
  .legacy-forms-table .ta-quick-buy-panel .buy-row,
  .legacy-forms-table .ta-quick-buy-panel .pay-row {
    gap: 8px !important;
    row-gap: 8px !important;
  }

  .ta-quick-buy-panel select[name="accounts"],
  .ta-quick-buy-panel select[name="currency"] {
    width: min(100%, 260px);
  }

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

  .ta-quick-buy-panel input[name="count"],
  .ta-quick-buy-panel select[name="accounts"],
  .ta-quick-buy-panel select[name="currency"],
  #form1 input[name="count"],
  #form1 select[name="accounts"],
  #form1 select[name="currency"],
  #form2 input[name="count"],
  #form2 select[name="accounts"],
  #form2 select[name="currency"],
  .legacy-forms-table .ta-quick-buy-panel input[name="count"],
  .legacy-forms-table .ta-quick-buy-panel select[name="accounts"],
  .legacy-forms-table .ta-quick-buy-panel select[name="currency"] {
    width: 100% !important;
    flex: 1 1 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .ta-quick-buy-panel input[type="text"],
  .ta-quick-buy-panel input[type="number"],
  .ta-quick-buy-panel select,
  .ta-quick-buy-panel input[type="submit"],
  #form1 input[type="text"],
  #form1 input[type="number"],
  #form1 select,
  #form1 input[type="submit"],
  #form2 input[type="text"],
  #form2 input[type="number"],
  #form2 select,
  #form2 input[type="submit"],
  .legacy-forms-table .ta-quick-buy-panel input[type="text"],
  .legacy-forms-table .ta-quick-buy-panel input[type="number"],
  .legacy-forms-table .ta-quick-buy-panel select,
  .legacy-forms-table .ta-quick-buy-panel input[type="submit"] {
    min-height: 44px !important;
    border-radius: 999px !important;
    box-sizing: border-box !important;
  }

  .ta-quick-buy-panel input[name="count"],
  #form1 input[name="count"],
  #form2 input[name="count"],
  .legacy-forms-table .ta-quick-buy-panel input[name="count"] {
    text-align: center;
    padding: 0 12px !important;
  }

  .ta-quick-buy-panel .ta-quantity-meta,
  #form1 .ta-quantity-meta,
  #form2 .ta-quantity-meta,
  .legacy-forms-table .ta-quick-buy-panel .ta-quantity-meta {
    min-height: 0 !important;
    height: auto !important;
    margin-top: -4px !important;
    padding: 0 !important;
  }

  .ta-quick-buy-panel .ta-quantity-meta-line,
  #form1 .ta-quantity-meta-line,
  #form2 .ta-quantity-meta-line,
  .legacy-forms-table .ta-quick-buy-panel .ta-quantity-meta-line {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    min-height: 24px !important;
    height: auto !important;
    line-height: 18px !important;
  }

  .ta-quick-buy-panel .ta-max-order,
  #form1 .ta-max-order,
  #form2 .ta-max-order,
  .legacy-forms-table .ta-quick-buy-panel .ta-max-order {
    font-size: 12px !important;
    line-height: 18px !important;
    white-space: nowrap !important;
  }

  .ta-quick-buy-panel .ta-more-link,
  #form1 .ta-more-link,
  #form2 .ta-more-link,
  .legacy-forms-table .ta-quick-buy-panel .ta-more-link {
    width: auto !important;
    min-height: 24px !important;
    height: 24px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    line-height: 24px !important;
    white-space: nowrap !important;
  }

  .ta-quick-buy-panel select,
  #form1 select,
  #form2 select,
  .legacy-forms-table .ta-quick-buy-panel select {
    padding-left: 14px !important;
    padding-right: 34px !important;
  }

  .ta-quick-buy-panel select[name="accounts"],
  .ta-quick-buy-panel select[name="currency"],
  #form1 select[name="accounts"],
  #form1 select[name="currency"],
  #form2 select[name="accounts"],
  #form2 select[name="currency"],
  .legacy-forms-table .ta-quick-buy-panel select[name="accounts"],
  .legacy-forms-table .ta-quick-buy-panel select[name="currency"] {
    min-height: 44px !important;
    height: 44px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    font-size: 15px !important;
  }

  .ta-legacy-notify-row,
  tr.ta-legacy-notify-row,
  .legacy-forms-table tr.ta-legacy-notify-row,
  .legacy-forms-table .ta-legacy-notify-row,
  .legacy-forms-table .notification-form-container,
  .notification-form-container {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .ta-search-shell {
    margin-bottom: 10px !important;
    padding: 0 10px !important;
  }

  .ta-catalog-search {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid rgba(242, 140, 40, 0.14);
    border-radius: 18px;
    background: #fffaf4;
    box-shadow: 0 8px 18px rgba(31, 52, 64, 0.05);
  }

  .ta-search-label,
  .ta-search-select-label,
  .ta-search-summary {
    white-space: normal;
  }

  .ta-search-label,
  .ta-search-select-label {
    color: #24313a;
    font-size: 12px;
    font-weight: 800;
    line-height: 16px;
  }

  .ta-search-summary {
    color: #697487;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
  }

  .ta-search-summary:empty {
    display: none;
  }

  .ta-search-clear {
    right: 4px;
    width: 36px;
    height: 36px;
    line-height: 36px;
  }

  .ta-search-input {
    padding-right: 48px;
  }

  .ta-search-select {
    width: 100%;
    max-width: 100%;
    min-height: 40px;
    font-size: 13px;
  }

  .ta-stock-filter {
    width: max-content;
    max-width: 100%;
    min-height: 36px;
    justify-self: start;
    padding: 0 12px;
    font-size: 12px;
  }

  .ta-search-results-list {
    gap: 10px;
  }

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

  .ta-search-result-card {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(216, 222, 232, 0.85);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(31, 52, 64, 0.06);
    box-sizing: border-box;
  }

  .ta-search-result-main,
  .ta-search-result-data,
  .ta-search-result-action {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .ta-search-result-title {
    width: 100%;
    max-width: 100%;
    min-height: 28px;
    color: #17222a;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .ta-search-result-category {
    margin-top: 4px;
    color: #697487;
    font-size: 12px;
    font-weight: 700;
  }

  .ta-search-result-data {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    white-space: normal;
  }

  .ta-search-result-action {
    text-align: left;
  }

  .ta-search-action {
    width: 100% !important;
    min-height: 44px !important;
    justify-content: center !important;
    border-radius: 999px !important;
    box-sizing: border-box !important;
  }

  .ta-more-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 12px;
    width: auto;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
  }

  .ta-more-panel .ta-inline-notify-form,
  .ta-more-panel .ta-inline-notify-label,
  .ta-more-panel .ta-inline-notify-form input[type="email"],
  .ta-more-panel .ta-btn-notify {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ta-more-panel .ta-inline-notify-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ta-more-panel .ta-inline-notify-form input[type="email"] {
    min-height: 44px;
    font-size: 16px;
    border: 1px solid #aebfcb !important;
    background: #fffdf9 !important;
  }

  .ta-more-panel .ta-btn-notify {
    min-height: 44px;
    justify-content: center;
    border-color: #1f6f9d;
    background: #dceef8;
    color: #174f73;
  }

  .ta-more-link {
    min-height: 44px;
    align-items: center;
    padding: 0 4px;
  }

  .ta-more-close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .ta-more-panel p {
    padding-right: 44px;
  }

  .ta-accordion .accordion-details {
    flex-direction: column;
  }

  .ta-accordion .accordion-purchase {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .ta-category-menu-shell {
    margin: 0 auto 6px !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .ta-category-menu-shell > tbody,
  .ta-category-menu-shell > tbody > tr,
  .ta-category-menu-shell > tbody > tr > td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .ta-category-menu-shell > tbody > tr > td {
    position: relative;
    padding: 0 !important;
  }

  .ta-category-menu-shell > tbody > tr > td::after {
    content: "";
    position: absolute;
    top: 5px;
    right: 0;
    bottom: 5px;
    width: 30px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #ffffff 72%);
  }

  .ta-category-menu-shell .category-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 6px 12px 7px !important;
    margin: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    box-sizing: border-box !important;
  }

  .ta-category-menu-shell .category-menu::-webkit-scrollbar {
    display: none;
  }

  .ta-category-menu-shell .category-menu a {
    position: relative;
    flex: 0 0 auto !important;
    min-height: 40px !important;
    max-width: 170px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 13px !important;
    margin: 0 !important;
    border: 1px solid rgba(242, 140, 40, 0.2) !important;
    border-radius: 999px !important;
    background: #fffaf4 !important;
    color: #24313a !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    scroll-snap-align: start;
  }

  .ta-category-menu-shell .category-menu a::before {
    content: "";
    position: absolute;
    inset: -2px 0;
  }

  .ta-category-menu-shell .category-menu a:hover,
  .ta-category-menu-shell .category-menu a:focus {
    background: #f28c28 !important;
    border-color: #f28c28 !important;
    color: #ffffff !important;
  }
}
