/* ═══════════════════════════════════════════════════════════
   T1 AUTO PARTS — Vehicle search (YMM) + Shop / Category pages
   Loaded after style.css; uses its design tokens.
═══════════════════════════════════════════════════════════ */

/* ═════════════ VEHICLE SEARCH (YMM) ═════════════ */
.t1-ymm {
  background: var(--white);
  border-radius: 14px;
  text-align: left;
  color: var(--navy);
}
.t1-ymm-hidden { display: none !important; }

/* Head */
.t1-ymm-head { display: flex; align-items: center; gap: 12px; }
.t1-ymm-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #FEF2F2; color: var(--red); border-radius: 12px;
}
.t1-ymm-head-text { min-width: 0; }
.t1-ymm-title { font-family: var(--fd); font-size: 21px; font-weight: 700; line-height: 1.1; color: var(--navy); }
.t1-ymm-sub   { font-size: 13px; color: var(--g500); margin-top: 2px; }
.t1-ymm-current {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-lt); color: #15803D;
  border: 1px solid #BBF7D0; border-radius: var(--rfull);
  padding: 6px 12px; font-size: 13px; font-weight: 600; white-space: nowrap;
  max-width: 50%; overflow: hidden; text-overflow: ellipsis;
}
.t1-ymm-current[hidden] { display: none; }

/* Body — base styles that apply before the enhancer runs, too */
.t1-ymm-body { margin-top: 16px; }
.t1-ymm-body form { margin: 0 !important; padding: 0 !important; }
.t1-ymm:not(.is-ready) .t1-ymm-body form,
.t1-ymm-fallback { display: flex; flex-wrap: wrap; gap: 10px; }
.t1-ymm:not(.is-ready) .t1-ymm-body select { flex: 1 1 160px; }

.t1-ymm .t1-ymm-body select {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  height: 58px !important;
  margin: 0 !important;
  border: 1.5px solid var(--g200);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--fb);
  font-size: 15px;
  font-weight: 600;
  padding: 0 14px;
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  cursor: pointer;
  box-shadow: none;
  transition: border-color var(--tr), box-shadow var(--tr), background var(--tr);
}
.t1-ymm .t1-ymm-body select:hover { border-color: var(--g300); }
.t1-ymm .t1-ymm-body select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(230,59,46,.12); }

/* Enhanced grid: steps + button */
.t1-ymm-grid { display: flex; gap: 10px; align-items: stretch; }
.t1-ymm-field { position: relative; flex: 1 1 0; min-width: 0; }
/* Field also carries the plugin's ".level" class (its JS needs it) — undo any plugin layout on it */
.t1-ymm .t1-ymm-grid .t1-ymm-field.level {
  float: none !important; width: auto !important; max-width: none !important;
  margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important;
  display: block !important; clear: none !important;
}
.t1-ymm-select-wrap { position: relative; }
.t1-ymm.is-ready .t1-ymm-body select { padding: 18px 36px 0 48px; }

.t1-ymm-step {
  position: absolute; z-index: 2; left: 14px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--g100); color: var(--g500);
  font-family: var(--fd); font-size: 14px; font-weight: 700;
  pointer-events: none; transition: background var(--tr), color var(--tr);
}
.t1-ymm-flabel {
  position: absolute; z-index: 2; left: 49px; top: 9px;
  font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  color: var(--g400); pointer-events: none;
}
.t1-ymm-chev {
  position: absolute; right: 16px; top: 50%; margin-top: -3px;
  width: 8px; height: 8px;
  border-right: 2px solid var(--g400); border-bottom: 2px solid var(--g400);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

/* Field states */
.t1-ymm-field.is-next select { border-color: var(--red); box-shadow: 0 0 0 3px rgba(230,59,46,.10); }
.t1-ymm-field.is-next .t1-ymm-step { background: var(--red); color: var(--white); }
.t1-ymm-field.is-next .t1-ymm-flabel { color: var(--red); }
.t1-ymm-field.has-value .t1-ymm-step { background: var(--green); color: var(--white); }
.t1-ymm-field.has-value .t1-ymm-flabel { color: var(--green); }
.t1-ymm-field.is-disabled select { background: var(--g50); color: var(--g400); cursor: not-allowed; border-color: var(--g200); }
.t1-ymm-field.is-disabled .t1-ymm-step { opacity: .55; }

/* Search button (plugin's own button, restyled) */
.t1-ymm .t1-ymm-btn,
.t1-ymm-fallback button {
  flex: 0 0 auto;
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
  height: 58px !important; margin: 0 !important; padding: 0 30px !important;
  background: var(--red) !important; color: var(--white) !important;
  border: none !important; border-radius: 10px !important;
  font-family: var(--fd) !important; font-size: 19px !important; font-weight: 700 !important;
  letter-spacing: .3px; line-height: 1 !important; text-transform: none !important;
  cursor: pointer; white-space: nowrap; box-shadow: 0 6px 16px rgba(230,59,46,.28);
  transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
}
.t1-ymm .t1-ymm-btn:hover { background: var(--red-dk) !important; transform: translateY(-1px); }
.t1-ymm .t1-ymm-btn.is-ready { box-shadow: 0 0 0 4px rgba(230,59,46,.18), 0 8px 18px rgba(230,59,46,.32); }

/* ── Hero variant (homepage) ── */
.t1-ymm--hero {
  max-width: 920px; margin: 0 auto;
  padding: 22px 24px 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.t1-ymm-foot {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--g100);
  font-size: 12px; color: var(--g500);
}
.t1-ymm-foot span { display: inline-flex; align-items: center; gap: 6px; }
.t1-ymm-foot svg { color: var(--green); }

/* ── Bar variant (category pages): one heading line, full-width steps below ── */
.t1-ymm--bar {
  padding: 16px 18px 18px;
  border: 1px solid var(--g200);
  box-shadow: 0 10px 30px rgba(17,24,39,.10);
}
.t1-ymm--bar .t1-ymm-head { flex-wrap: nowrap; gap: 10px; margin-bottom: 14px; }
.t1-ymm--bar .t1-ymm-icon { width: 34px; height: 34px; border-radius: 9px; }
.t1-ymm--bar .t1-ymm-head-text { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; }
.t1-ymm--bar .t1-ymm-title { font-size: 19px; }
.t1-ymm--bar .t1-ymm-sub { margin: 0; font-size: 13px; display: inline-flex; align-items: center; gap: 10px; }
.t1-ymm--bar .t1-ymm-sub::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--g300); }
.t1-ymm--bar .t1-ymm-current { margin-left: auto; max-width: 45%; font-size: 12px; padding: 5px 11px; }
.t1-ymm--bar .t1-ymm-body { margin-top: 0; }
.t1-ymm--bar .t1-ymm-body select { height: 52px !important; }
.t1-ymm--bar .t1-ymm-btn { height: 52px !important; font-size: 18px !important; padding: 0 26px !important; box-shadow: none; }

/* Extra plugin links (e.g. "Search All") — tidy small link row */
.t1-ymm-extras { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; }
.t1-ymm-extras .t1-ymm-extra,
.t1-ymm-extras a:visited {
  background: none !important; box-shadow: none !important; height: auto !important; margin: 0 !important; padding: 0 0 1px !important; border-radius: 0 !important;
  font-family: var(--fb) !important; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; font-weight: 600; color: var(--g500) !important; text-decoration: none !important;
  border: 0; border-bottom: 1px dashed var(--g300); padding-bottom: 1px; transition: color var(--tr), border-color var(--tr);
}
.t1-ymm-extras .t1-ymm-extra:hover { color: var(--red) !important; border-color: var(--red); }

/* ═════════════ CATEGORY HEADER ═════════════ */
.t1-cat-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #23233d 100%);
  padding: 22px 0 70px;
  color: var(--g400);
}
.t1-cat-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 40px 40px;
}
.t1-cat-hero::after {
  content: ''; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(230,59,46,.22), transparent 65%);
  pointer-events: none;
}
.t1-cat-hero .t1-wrap { position: relative; z-index: 1; }

.t1-cat-bc { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; margin-bottom: 14px; }
.t1-cat-bc a { color: var(--g400); transition: color var(--tr); }
.t1-cat-bc a:hover { color: var(--white); }
.t1-cat-bc span { color: #4B5563; }
.t1-cat-bc .is-current { color: var(--g300); }

.t1-cat-hero h1 {
  font-family: var(--fd); font-weight: 700; color: var(--white);
  font-size: clamp(30px, 4vw, 44px); line-height: 1.05;
}
.t1-cat-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 10px; font-size: 13px; }
.t1-cat-meta span { display: inline-flex; align-items: center; gap: 5px; }
.t1-cat-meta svg { color: #4ADE80; }
.t1-cat-count {
  background: rgba(230,59,46,.16); color: #FCA5A5 !important;
  border: 1px solid rgba(230,59,46,.32);
  padding: 3px 10px; border-radius: var(--rfull); font-weight: 600;
}

.t1-cat-desc { max-width: 760px; margin-top: 12px; font-size: 14px; line-height: 1.7; }
.t1-cat-desc-text { max-height: 3.4em; overflow: hidden; }
.t1-cat-desc-text p { margin: 0 0 8px; }
.t1-cat-desc.is-open .t1-cat-desc-text { max-height: none; }
.t1-cat-desc-more { color: #FCA5A5; font-size: 13px; font-weight: 600; text-decoration: underline; padding: 0; margin-top: 2px; }

.t1-cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.t1-cat-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: #E5E7EB; font-size: 13px; font-weight: 500;
  padding: 6px 12px; border-radius: var(--rfull);
  transition: border-color var(--tr), background var(--tr);
}
.t1-cat-chip span { font-size: 11px; color: var(--g400); }
.t1-cat-chip:hover { border-color: var(--red); background: rgba(230,59,46,.12); color: var(--white); }

/* Vehicle bar overlapping the header */
.t1-cat-ymm { position: relative; z-index: 3; margin-top: -44px; }

/* ═════════════ SHOP LAYOUT ═════════════ */
.t1-shop {
  display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 28px;
  align-items: start; padding: 26px 0 64px;
}

/* ── Filter sidebar ── */
.t1-filters {
  position: sticky; top: calc(var(--hh) + 16px);
  max-height: calc(100vh - var(--hh) - 32px); overflow-y: auto;
  scrollbar-width: thin; padding-right: 2px;
}
.t1-filters-head { display: none; }
.t1-filters-overlay { display: none; }

.t1-fbox, .t1-filters .t1-widget {
  background: var(--white); border: 1px solid var(--g200); border-radius: 12px;
  padding: 16px; margin-bottom: 14px;
}
.t1-fbox-title {
  font-family: var(--fd); font-size: 17px; font-weight: 700; color: var(--navy);
  margin-bottom: 12px;
}
.t1-fbox-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--g50); border: 1px solid var(--g200); border-radius: 8px;
  padding: 0 10px; margin-bottom: 10px; color: var(--g400);
}
.t1-fbox-search:focus-within { border-color: var(--red); background: var(--white); }
.t1-fbox-search input { flex: 1; min-width: 0; height: 36px; border: none; background: none; outline: none; font-size: 13px; color: var(--navy); }

/* Category list */
.t1-catlist { max-height: 340px; overflow-y: auto; scrollbar-width: thin; margin: 0 -6px; padding: 0 6px; }
.t1-catlist a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 7px 8px; border-radius: 7px;
  font-size: 13px; color: var(--g700); line-height: 1.3;
  transition: background var(--tr), color var(--tr);
}
.t1-catlist a span {
  flex-shrink: 0; font-size: 11px; color: var(--g500);
  background: var(--g100); border-radius: var(--rfull); padding: 1px 7px;
}
.t1-catlist a:hover { background: var(--g50); color: var(--navy); }
.t1-catlist a.is-active { background: #FEF2F2; color: var(--red); font-weight: 600; }
.t1-catlist a.is-active span { background: var(--red); color: var(--white); }
.t1-catlist ul { margin: 2px 0 4px 12px; padding-left: 8px; border-left: 2px solid var(--g200); }
.t1-catlist ul a { font-size: 12.5px; }

/* Price */
.t1-price-inputs { display: flex; align-items: center; gap: 6px; }
.t1-price-inputs label {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 2px;
  height: 38px; padding: 0 8px;
  border: 1.5px solid var(--g200); border-radius: 8px; background: var(--white);
}
.t1-price-inputs label:focus-within { border-color: var(--red); }
.t1-price-inputs label span { color: var(--g400); font-size: 13px; }
.t1-price-inputs input { width: 100%; min-width: 0; border: none; outline: none; font-size: 13px; font-weight: 600; color: var(--navy); background: none; -moz-appearance: textfield; }
.t1-price-inputs input::-webkit-outer-spin-button,
.t1-price-inputs input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.t1-price-inputs em { font-style: normal; font-size: 12px; color: var(--g400); }
.t1-price-inputs button {
  width: 38px; height: 38px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--white); border-radius: 8px; transition: background var(--tr);
}
.t1-price-inputs button:hover { background: var(--red); }
.t1-price-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.t1-price-quick a {
  font-size: 12px; color: var(--g700);
  border: 1px solid var(--g200); border-radius: var(--rfull); padding: 4px 10px;
  transition: border-color var(--tr), color var(--tr);
}
.t1-price-quick a:hover { border-color: var(--red); color: var(--red); }
.t1-price-quick a.is-active { background: var(--red); border-color: var(--red); color: var(--white); }

/* Checkbox-style list (brand) */
.t1-checklist a { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-size: 13px; color: var(--g700); }
.t1-checklist a:hover { color: var(--navy); }
.t1-check {
  width: 18px; height: 18px; flex-shrink: 0; border-radius: 5px;
  border: 1.5px solid var(--g300); background: var(--white);
  display: flex; align-items: center; justify-content: center; color: transparent;
  transition: all var(--tr);
}
.t1-checklist a:hover .t1-check { border-color: var(--red); }
.t1-checklist a.is-checked .t1-check { background: var(--red); border-color: var(--red); color: var(--white); }
.t1-checklist em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--g400); }

/* Help card */
.t1-fhelp {
  display: flex; gap: 12px; padding: 16px; border-radius: 12px;
  background: var(--navy); color: var(--g400); font-size: 12.5px; line-height: 1.5;
}
.t1-fhelp-icon {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--red); color: var(--white);
}
.t1-fhelp strong { display: block; color: var(--white); font-size: 14px; margin-bottom: 2px; }
.t1-fhelp p { margin: 0 0 6px; }
.t1-fhelp a { color: #FCA5A5; font-weight: 600; }
.t1-fhelp a:hover { color: var(--white); }

/* ── Results ── */
.t1-results { min-width: 0; }
.t1-results-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--g200); border-radius: 12px;
  padding: 10px 12px 10px 16px; margin-bottom: 14px;
}
.t1-results-count { font-size: 13px; color: var(--g500); }
.t1-results-count strong { color: var(--navy); }
.t1-filters-open {
  display: none; align-items: center; gap: 7px; position: relative;
  height: 38px; padding: 0 14px;
  border: 1.5px solid var(--g200); border-radius: 8px;
  font-size: 13px; font-weight: 600; color: var(--navy);
}
.t1-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

.t1-sort { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.t1-sort-label { font-size: 12px; color: var(--g500); white-space: nowrap; }
.t1-sort .woocommerce-ordering { margin: 0 !important; float: none !important; }
.t1-sort select.orderby {
  height: 38px; min-width: 190px;
  border: 1.5px solid var(--g200); border-radius: 8px;
  padding: 0 34px 0 12px;
  font-size: 13px; font-weight: 600; color: var(--navy); font-family: var(--fb);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none; -webkit-appearance: none; cursor: pointer;
}
.t1-sort select.orderby:focus { outline: none; border-color: var(--red); }

/* Active filter chips */
.t1-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.t1-afilter {
  display: inline-flex; align-items: center; gap: 6px;
  background: #FEF2F2; color: var(--red-dk); border: 1px solid #FECACA;
  font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: var(--rfull);
  transition: background var(--tr);
}
.t1-afilter:hover { background: #FEE2E2; }
.t1-afilter-clear { font-size: 12px; color: var(--g500); text-decoration: underline; }
.t1-afilter-clear:hover { color: var(--red); }

/* Product grid inside results: 4 across beside the sidebar */
.t1-results .t1-products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

/* Pagination */
.t1-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 32px; }
.t1-pager .page-numbers {
  min-width: 40px; height: 40px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--g200); border-radius: 8px; background: var(--white);
  font-size: 14px; font-weight: 600; color: var(--g700);
  transition: border-color var(--tr), color var(--tr);
}
.t1-pager a.page-numbers:hover { border-color: var(--red); color: var(--red); }
.t1-pager .page-numbers.current { background: var(--red); border-color: var(--red); color: var(--white); }
.t1-pager .page-numbers.dots { border: none; background: none; min-width: 20px; padding: 0; }

/* Empty state */
.t1-empty {
  text-align: center; padding: 56px 20px;
  background: var(--white); border: 1.5px dashed var(--g200); border-radius: 14px;
}
.t1-empty-icon {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--g50); color: var(--g400);
}
.t1-empty h2 { font-family: var(--fd); font-size: 26px; font-weight: 700; color: var(--navy); }
.t1-empty p { color: var(--g500); margin: 6px 0 20px; font-size: 14px; }
.t1-empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* SEO text */
.t1-cat-seo {
  margin-top: 48px; padding: 24px 26px;
  background: var(--g50); border-radius: 12px;
  font-size: 14px; line-height: 1.8; color: var(--g500);
}
.t1-cat-seo h2, .t1-cat-seo h3 { font-family: var(--fd); color: var(--navy); margin: 10px 0 6px; }
.t1-cat-seo p { margin-bottom: 10px; }

/* ═════════════ RESPONSIVE ═════════════ */
@media (max-width: 1200px) {
  .t1-results .t1-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .t1-ymm--bar .t1-ymm-head { flex-wrap: wrap; }
  .t1-ymm--bar .t1-ymm-current { margin-left: 44px; max-width: 100%; }
}

/* Sidebar → slide-out drawer */
@media (max-width: 960px) {
  .t1-shop { grid-template-columns: 1fr; padding-top: 18px; }
  .t1-filters {
    position: fixed; z-index: 1001; top: 0; left: 0; bottom: 0;
    width: min(340px, 88vw); max-height: none;
    background: var(--g50); padding: 0 14px 24px;
    transform: translateX(-102%); transition: transform .28s ease;
    box-shadow: 8px 0 30px rgba(0,0,0,.2);
  }
  .t1-filters.is-open { transform: translateX(0); }
  .t1-filters-head {
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 2;
    margin: 0 -14px 14px; padding: 14px;
    background: var(--white); border-bottom: 1px solid var(--g200);
    font-family: var(--fd); font-size: 20px; font-weight: 700; color: var(--navy);
  }
  .t1-filters-head span { display: inline-flex; align-items: center; gap: 8px; }
  .t1-filters-close { color: var(--g500); padding: 4px; }
  .t1-filters-overlay {
    display: block; position: fixed; inset: 0; z-index: 1000;
    background: rgba(17,24,39,.55); opacity: 0; pointer-events: none; transition: opacity .25s;
  }
  .t1-filters.is-open + .t1-filters-overlay { opacity: 1; pointer-events: auto; }
  body.t1-filters-lock { overflow: hidden; }
  .t1-catlist { max-height: none; }
  .t1-filters-open { display: inline-flex; }
}

@media (max-width: 768px) {
  .t1-ymm--hero { padding: 16px; }
  .t1-ymm-head { flex-wrap: wrap; }
  .t1-ymm-current { margin-left: 0; max-width: 100%; }
  .t1-ymm-grid { flex-direction: column; }
  .t1-ymm .t1-ymm-body select { font-size: 16px; } /* prevents iOS zoom */
  .t1-ymm .t1-ymm-btn { width: 100%; }
  .t1-ymm-foot { gap: 6px 14px; }

  .t1-cat-hero { padding: 16px 0 60px; }
  .t1-cat-ymm { margin-top: -40px; }
  .t1-results-bar { padding: 10px; }
  .t1-results-count { order: 3; width: 100%; }
  .t1-sort-label { display: none; }
  .t1-sort select.orderby { min-width: 0; width: 100%; }
}
@media (max-width: 600px) {
  .t1-results .t1-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .t1-cat-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -14px; padding-right: 14px; }
  .t1-cat-chips::-webkit-scrollbar { display: none; }
  .t1-cat-chip { flex-shrink: 0; }
}

/* ═════════════ WOOCOMMERCE NOTICES (site-wide) ═════════════ */
.woocommerce-error, .woocommerce-message, .woocommerce-info {
  list-style: none; margin: 0 0 16px !important; padding: 14px 16px 14px 48px !important;
  border: 1px solid; border-top-width: 1px !important; border-radius: 10px;
  font-size: 14px; line-height: 1.5;
}
.woocommerce-error   { background: #FEF2F2 !important; border-color: #FECACA !important; color: #991B1B !important; }
.woocommerce-message { background: #F0FDF4 !important; border-color: #BBF7D0 !important; color: #166534 !important; }
.woocommerce-info    { background: #EFF6FF !important; border-color: #BFDBFE !important; color: #1E40AF !important; }
.woocommerce-error::before   { color: #DC2626 !important; top: 14px !important; left: 16px !important; }
.woocommerce-message::before { color: #16A34A !important; top: 14px !important; left: 16px !important; }
.woocommerce-info::before    { color: #2563EB !important; top: 14px !important; left: 16px !important; }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button {
  float: right; margin: -4px 0 0 12px; padding: 7px 14px !important;
  background: var(--navy) !important; color: var(--white) !important; border-radius: 8px !important;
  font-size: 13px !important; font-weight: 600 !important;
}
