/* Каталог товаров: геометрия и состояния Tefal.ru, проверены 08.10.2026.
 * Листинги, их фильтры и общие мини-карточки главной страницы.
 * Сервер владеет товарами, ценами, опциями и счётчиками. UI меняет лишь представление.
 */
.tf-site :is(.tf-catalog-listing, .tf-home-products) {
  --tf-card-columns: 4;
  --tf-card-gap: 20px;
  --tf-card-sidebar-width: calc(25% - 24px);
  --tf-card-layout-gap: 32px;
}
.tf-site .tf-container.tf-catalog-page.tf-catalog-listing {
  --tf-catalog-surface: #f5f5f6;
  /* Same edges as the header, footer and information pages: the shared container, not tefal.ru's 1440px. */
  width: calc(100% - var(--tf-page-gutter) - var(--tf-page-gutter));
  max-width: var(--tf-max);
  padding: 20px 0 64px;
  color: #101010;
}
.tf-site .tf-catalog-listing .tf-breadcrumb { padding: 0; margin: 0 0 24px; font-size: 14px; line-height: 20px; }
.tf-site .tf-catalog-listing .tf-page-heading { margin: 0 0 28px; }
.tf-site .tf-catalog-listing .tf-page-heading h1 { margin: 0; font: 700 36px/40px var(--tf-font); letter-spacing: normal; }
.tf-site .tf-catalog-listing .tf-catalog-layout { display: grid; grid-template-columns: var(--tf-card-sidebar-width) minmax(0, 1fr); gap: var(--tf-card-layout-gap); align-items: start; }
.tf-site .tf-catalog-listing .tf-catalog-sidebar { display: block; min-width: 0; }
.tf-site .tf-catalog-listing .tf-filter-form { background: var(--tf-catalog-surface); border-radius: 6px; padding: 20px; }
.tf-site .tf-catalog-listing .tf-filter-heading,
.tf-site .tf-dialog.tf-dialog--filters .tf-filter-heading { min-height: 32px; margin: 0 0 20px; gap: 12px; }
.tf-site .tf-catalog-listing .tf-filter-heading h2 { margin: 0; font-size: 24px; line-height: 32px; font-weight: 700; }
.tf-site .tf-catalog-listing .tf-filter-heading .tf-text-button,
.tf-site .tf-dialog.tf-dialog--filters .tf-filter-heading .tf-text-button { color: #e30613; padding: 4px 0; font-size: 14px; font-weight: 500; text-decoration: none; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-filter-group,
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-filter-group:not([open]) { margin: 0 0 16px; padding: 0; border: 0; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-filter-group summary { min-height: 28px; padding-left: 32px; font-size: 16px; line-height: 24px; font-weight: 700; gap: 16px; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-filter-group summary > .tf-icon { width: 18px; height: 18px; flex: none; transform: rotate(0); transition: transform .2s ease; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-filter-group[open] summary > .tf-icon { transform: rotate(180deg); }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-filter-options { margin: 12px 0 4px 32px; gap: 8px; max-height: 280px; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-filter-option { min-height: 28px; font-size: 14px; line-height: 20px; gap: 8px; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-filter-option input { width: 20px; height: 20px; accent-color: #e30613; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-filter-option small { color: #646568; font-size: 13px; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-filter-option:has(input:disabled) { color: #707070; cursor: not-allowed; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-filter-availability { padding: 0 0 16px 32px; border: 0; margin: 0; font-weight: 700; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-filter-availability input { order: 2; margin-left: auto; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-filter-search { width: calc(100% - 32px); margin: 12px 0 0 32px; border-color: #d4d4d4; background: #fff; min-height: 36px; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-price-range { margin: 12px 0 0 32px; gap: 16px; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-price-range > label { padding: 0 8px; height: 34px; background: #fff; border-color: #d4d4d4; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-price-range > label > span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-price-range > span { display: none; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-price-range input { text-align: center; font-size: 14px; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-price-range input::placeholder { color: #646568; opacity: 1; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-filter-error { margin-left: 32px; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-price-slider { position: relative; height: 36px; margin: 10px 8px 0 40px; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-price-slider::before { content: ''; position: absolute; top: 17px; right: 0; left: 0; height: 2px; background: #d4d4d4; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-price-slider::after { content: ''; position: absolute; top: 17px; left: var(--tf-range-start, 0%); right: calc(100% - var(--tf-range-end, 100%)); height: 2px; background: #e30613; pointer-events: none; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-price-slider input[type=range] { appearance: none; position: absolute; inset: 0; width: 100%; height: 36px; margin: 0; padding: 0; border: 0; background: transparent; pointer-events: none; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-price-slider input::-webkit-slider-thumb { appearance: none; width: 16px; height: 16px; border-radius: 50%; border: 0; background: #e30613; pointer-events: auto; cursor: ew-resize; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-price-slider input::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #e30613; pointer-events: auto; cursor: ew-resize; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) .tf-price-slider input:focus-visible { outline: 2px solid var(--tf-focus); outline-offset: 3px; }
.tf-site .tf-catalog-listing .tf-catalog-sidebar .tf-filter-submit { display: block; margin: 20px 0 0; }
.tf-site .tf-catalog-listing.tf-catalog-enhanced .tf-catalog-sidebar .tf-filter-submit { display: none; }
.tf-site .tf-catalog-listing:not(.tf-catalog-enhanced) .tf-price-slider { display: none; }
.tf-site .tf-catalog-listing .tf-catalog-toolbar { min-height: 52px; padding: 6px 28px; border-radius: 6px; background: var(--tf-catalog-surface); margin: 0 0 28px; gap: 20px; }
.tf-site .tf-catalog-listing .tf-catalog-total { margin: 0 auto 0 0; color: #232120; font-size: 16px; line-height: 24px; }
.tf-site .tf-catalog-listing .tf-sort { font-size: 16px; gap: 10px; min-width: 0; }
.tf-site .tf-catalog-listing .tf-catalog-toolbar > .tf-sort { order: 1; }
.tf-site .tf-catalog-listing .tf-catalog-view-switch { order: 2; }
.tf-site .tf-catalog-listing .tf-sort > span { color: #646568; }
.tf-site .tf-catalog-listing .tf-sort select { width: 222px; min-height: 40px; padding: 8px 32px 8px 12px; border: 1px solid #d4d4d4; border-radius: 5px; font-size: 16px; line-height: 22px; }
.tf-site .tf-catalog-listing .tf-catalog-view-switch { display: flex; flex: none; padding: 2px; border: 1px solid #d4d4d4; border-radius: 6px; }
.tf-site .tf-catalog-listing [data-catalog-view] { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 5px; border: 0; border-radius: 4px; background: transparent; color: #74767b; }
.tf-site .tf-catalog-listing [data-catalog-view][aria-pressed=true] { color: #232120; background: #fff; }
.tf-site .tf-catalog-listing [data-catalog-view] svg { width: 24px; height: 24px; }
.tf-site .tf-catalog-listing .tf-product-grid { display: grid; grid-template-columns: repeat(var(--tf-card-columns), minmax(0, 1fr)); gap: 24px var(--tf-card-gap); }
.tf-site .tf-catalog-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 10px; border: 2px solid #f9fafb; border-radius: 6px; background: #fff; box-shadow: none; transition: border-color .2s ease; }
.tf-site .tf-catalog-card .tf-product-top { position: relative; inset: auto; display: flex; min-height: 24px; gap: 8px; align-items: flex-start; justify-content: space-between; margin: -6px 0 4px; }
.tf-site .tf-catalog-card .tf-badge { align-self: center; background: #e30613; color: #fff; border-radius: 4px; padding: 4px 6px; min-height: 0; font-size: 11px; line-height: 12px; font-weight: 500; }
.tf-site .tf-catalog-card .tf-card-tools { display: flex; margin-left: auto; gap: 4px; }
.tf-site .tf-catalog-card .tf-card-tools .tf-icon-button { width: 24px; height: 24px; min-height: 24px; padding: 3px; border: 0; background: transparent; }
.tf-site .tf-catalog-card .tf-card-tools svg { width: 18px; height: 18px; }
.tf-site .tf-catalog-card .tf-catalog-card-gallery { position: relative; min-width: 0; }
.tf-site .tf-catalog-card .tf-product-image { display: flex; align-items: center; justify-content: center; height: 200px; aspect-ratio: auto; padding: 0; margin: 0; background: #fff; border-radius: 0; touch-action: pan-y; }
.tf-site .tf-catalog-card .tf-product-image img { position: static; inset: auto; display: block; height: 100%; width: 100%; object-fit: contain; mix-blend-mode: normal; transform: none; }
.tf-site .tf-catalog-card .tf-card-gallery-dots { display: flex; justify-content: center; min-height: 24px; gap: 0; }
.tf-site .tf-catalog-card .tf-card-gallery-dots button { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.tf-site .tf-catalog-card .tf-card-gallery-dots button::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #e3e3e8; }
.tf-site .tf-catalog-card .tf-card-gallery-dots button[aria-pressed=true]::after { background: #7f8187; }
.tf-site .tf-catalog-card .tf-product-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 24px 0 0; gap: 8px; }
.tf-site .tf-catalog-card .tf-product-price { display: flex; align-items: baseline; flex-wrap: wrap; min-height: 28px; margin: 0; padding: 0; gap: 2px 8px; }
.tf-site .tf-catalog-card .tf-product-price strong { color: #101010; font-size: 20px; line-height: 28px; font-weight: 700; }
.tf-site .tf-catalog-card .tf-product-price del { color: #646568; font-size: 14px; line-height: 20px; font-weight: 700; }
.tf-site .tf-catalog-card .tf-catalog-price-note { font-size: 16px; line-height: 24px; color: #646568; }
.tf-site .tf-catalog-card .tf-product-title { display: block; min-height: 39px; margin: 0; color: #232120; font-size: 16px; line-height: 1.2; font-weight: 400; overflow-wrap: anywhere; }
.tf-site .tf-catalog-card .tf-product-buy { width: 100%; margin-top: auto; min-height: 40px; padding: 6px 8px; border: 2px solid #e30613; border-radius: 4px; background: #e30613; color: #fff; font-size: 18px; line-height: 24px; font-weight: 700; transition: color .2s ease, background-color .2s ease; }
.tf-site .tf-catalog-card .tf-product-buy:disabled { border-color: #e5e5e5; background: #e5e5e5; color: #646568; }
.tf-site .tf-catalog-listing .tf-product-grid.is-list { grid-template-columns: 1fr; }
.tf-site .tf-catalog-listing .is-list .tf-catalog-card { display: grid; grid-template-columns: minmax(160px, 30%) minmax(0, 1fr); gap: 8px 24px; }
.tf-site .tf-catalog-listing .is-list .tf-product-top { grid-column: 1 / -1; }
.tf-site .tf-catalog-listing .is-list .tf-product-body { padding: 8px 0; }
.tf-site .tf-catalog-listing .is-list .tf-product-buy { max-width: 220px; }
.tf-site .tf-catalog-listing .tf-subcategories { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.tf-site .tf-catalog-listing .tf-subcategories a { min-height: 40px; padding: 8px 20px; border: 1px solid transparent; border-radius: 24px; background: var(--tf-catalog-surface); color: #101010; font-size: 14px; line-height: 22px; font-weight: 700; }
.tf-site .tf-catalog-listing .tf-subcategories a[aria-current=page] { background: #101010; color: #fff; }
.tf-site .tf-catalog-listing .tf-filter-chips { margin: 0 0 20px; }
.tf-site .tf-catalog-listing .tf-filter-chips:not(:has(*)) { display: none; }
.tf-site .tf-catalog-listing .tf-filter-chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px; background: var(--tf-catalog-surface); border: 1px solid #d4d4d4; border-radius: 4px; font-size: 13px; }
.tf-site .tf-catalog-listing .tf-pagination { margin-top: 32px; }
.tf-site .tf-catalog-listing .tf-pagination a,
.tf-site .tf-catalog-listing .tf-pagination > [aria-current] { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 4px; }
.tf-site .tf-catalog-listing .tf-pagination [aria-current=page] { background: #f5f5f6; color: #101010; font-weight: 700; }
.tf-site .tf-dialog.tf-dialog--filters[open] { display: flex; flex-direction: column; width: min(480px, 100%); height: min(720px, calc(100dvh - 48px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 0; background: #f5f5f6; overflow: hidden; }
.tf-site .tf-dialog.tf-dialog--filters > .tf-modal-heading { position: static; flex: none; margin: 0; padding: 20px 16px; background: #f5f5f6; }
.tf-site .tf-dialog.tf-dialog--filters > .tf-modal-heading::before { content: none; }
.tf-site .tf-dialog.tf-dialog--filters > .tf-modal-heading h2 { font-size: 24px; line-height: 32px; font-weight: 700; }
.tf-site .tf-dialog.tf-dialog--filters .tf-modal-heading > button { width: auto; min-width: 64px; height: 32px; margin: 0; padding: 4px 0 4px 12px; color: #e30613; background: transparent; font-size: 14px; line-height: 24px; }
.tf-site .tf-dialog.tf-dialog--filters > .tf-modal-body,
.tf-site .tf-dialog.tf-dialog--filters .tf-mobile-filters { display: flex; flex: 1; flex-direction: column; min-height: 0; padding: 0; overflow: hidden; }
.tf-site .tf-dialog.tf-dialog--filters .tf-filter-form { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; padding: 0; margin: 0; }
.tf-site .tf-dialog.tf-dialog--filters .tf-filter-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 0 16px 12px; overscroll-behavior: contain; }
.tf-site .tf-dialog.tf-dialog--filters .tf-filter-group { flex: none; }
.tf-site .tf-dialog.tf-dialog--filters .tf-filter-options { max-height: none; }
.tf-site .tf-dialog.tf-dialog--filters .tf-filter-heading { display: flex; justify-content: flex-end; margin: 0 0 8px; }
.tf-site .tf-dialog.tf-dialog--filters .tf-filter-heading h2 { display: none; }
.tf-site .tf-dialog.tf-dialog--filters .tf-filter-submit { display: none; }
.tf-site .tf-dialog.tf-dialog--filters .tf-mobile-filter-actions { position: static; display: flex; flex: none; margin: 0; padding: 16px 16px max(16px, env(safe-area-inset-bottom)); background: #f5f5f6; z-index: 2; }
.tf-site .tf-dialog.tf-dialog--filters .tf-mobile-filter-actions .tf-button { width: 100%; min-height: 44px; border-radius: 4px; font-size: 16px; font-weight: 700; }
.tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) :is(button, a, select, input, summary):focus-visible { outline: 2px solid var(--tf-focus); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .tf-site .tf-catalog-card:hover { border-color: #e5e7eb; box-shadow: none; }
  .tf-site .tf-catalog-card .tf-product-buy:hover:not(:disabled) { color: #e30613 !important; background: #fff; }
  .tf-site .tf-catalog-card .tf-product-title:hover { color: #646568; }
  .tf-site .tf-catalog-listing .tf-subcategories a:hover { border-color: #101010; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .tf-site :is(.tf-catalog-listing, .tf-home-products) { --tf-card-columns: 3; --tf-card-gap: 12px; --tf-card-sidebar-width: calc(33.333% - 21.333px); }
  .tf-site .tf-catalog-listing .tf-product-grid { row-gap: 20px; }
  .tf-site .tf-catalog-listing .tf-catalog-toolbar { padding-inline: 12px; gap: 12px; flex-wrap: wrap; }
  .tf-site .tf-catalog-listing .tf-sort > span { display: none; }
  .tf-site .tf-catalog-listing .tf-sort select { width: 180px; }
  .tf-site .tf-catalog-card .tf-product-price strong { font-size: 18px; }
}
@media (max-width: 1023px) {
  .tf-site :is(.tf-catalog-listing, .tf-home-products) { --tf-card-columns: 2; --tf-card-gap: 16px; --tf-card-sidebar-width: 0px; --tf-card-layout-gap: 0px; }
  .tf-site .tf-container.tf-catalog-page.tf-catalog-listing { padding: 16px 0 40px; }
  .tf-site .tf-catalog-listing .tf-breadcrumb { font-size: 12px; line-height: 18px; margin-bottom: 24px; }
  .tf-site .tf-catalog-listing .tf-page-heading { margin: 0 0 20px; padding-bottom: 12px; border-bottom: 6px solid #f5f5f6; }
  .tf-site .tf-catalog-listing .tf-page-heading h1 { font-size: 14px; line-height: 20px; }
  .tf-site .tf-catalog-listing .tf-catalog-layout { display: block; }
  .tf-site .tf-catalog-listing .tf-catalog-sidebar { display: none; }
  .tf-site .tf-catalog-listing:not(.tf-catalog-enhanced) .tf-catalog-sidebar { display: block; margin-bottom: 24px; }
  .tf-site .tf-catalog-listing:not(.tf-catalog-enhanced) .tf-filter-open { display: none !important; }
  .tf-site .tf-catalog-listing .tf-catalog-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0; background: transparent; gap: 20px; margin: 0 0 20px; border-radius: 0; }
  .tf-site .tf-catalog-listing .tf-sort { grid-column: 1; grid-row: 1; display: block; width: 100%; }
  .tf-site .tf-catalog-listing .tf-sort > span { display: none; }
  .tf-site .tf-catalog-listing .tf-sort select { width: 100%; max-width: none; min-height: 36px; background: #f5f5f6; border-color: #e5e7eb; font-size: 14px; line-height: 20px; font-weight: 700; padding: 7px 24px 7px 10px; border-radius: 3px; }
  .tf-site .tf-catalog-listing .tf-filter-open { display: inline-flex !important; grid-column: 2; grid-row: 1; min-height: 36px; padding: 6px 8px !important; border: 1px solid #e5e7eb; border-radius: 3px; background: #f5f5f6; color: #101010 !important; font-size: 14px; font-weight: 700; }
  @media (hover:hover){
  .tf-site .tf-catalog-listing .tf-filter-open:hover { background: #f5f5f6; color: #101010; }
  }
  .tf-site .tf-catalog-listing .tf-filter-open svg { width: 24px; height: 24px; }
  .tf-site .tf-catalog-listing .tf-catalog-total { grid-column: 1; grid-row: 2; font-size: 14px; line-height: 20px; color: #646568; align-self: center; }
  .tf-site .tf-catalog-listing .tf-catalog-view-switch { grid-column: 2; grid-row: 2; justify-self: end; }
  .tf-site .tf-catalog-listing .tf-product-grid { row-gap: 20px; }
  .tf-site .tf-catalog-listing .tf-subcategories { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; margin-bottom: 20px; }
  .tf-site .tf-catalog-listing .tf-subcategories a { flex: none; }
  .tf-site .tf-dialog.tf-dialog--filters[open] { inset: auto 0 0; margin: 0 auto; width: 100%; max-width: 100%; height: min(680px, 80dvh); max-height: calc(100dvh - 24px); }
}
@media (max-width: 575px) {
  .tf-site .tf-catalog-card { padding: 8px; }
  .tf-site .tf-catalog-card .tf-product-top { margin-top: -4px; gap: 2px; }
  .tf-site .tf-catalog-card .tf-badge { font-size: 10px; line-height: 11px; padding: 3px 4px; }
  .tf-site .tf-catalog-card .tf-card-tools { gap: 0; }
  .tf-site .tf-catalog-card .tf-product-image { height: auto; aspect-ratio: 1; }
  .tf-site .tf-catalog-card .tf-product-body { padding-top: 16px; gap: 4px; }
  .tf-site .tf-catalog-card .tf-product-price strong { font-size: 16px; line-height: 24px; }
  .tf-site .tf-catalog-card .tf-product-price del { font-size: 12px; line-height: 18px; }
  .tf-site .tf-catalog-card .tf-product-title { font-size: 14px; line-height: 1.25; min-height: 35px; margin-bottom: 0; }
  .tf-site .tf-catalog-card .tf-product-buy { min-height: 40px; padding: 6px 4px; font-size: 16px; }
  .tf-site .tf-catalog-listing .is-list .tf-catalog-card { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 8px 12px; }
}
@media (max-width: 359px) {
  .tf-site :is(.tf-catalog-listing, .tf-home-products) { --tf-card-gap: 8px; }
  .tf-site .tf-catalog-listing .tf-product-grid { row-gap: 16px; }
  .tf-site .tf-catalog-card { padding: 4px; }
  .tf-site .tf-catalog-listing .tf-catalog-toolbar { gap: 16px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .tf-site :is(.tf-catalog-listing, .tf-dialog.tf-dialog--filters) *, .tf-site .tf-catalog-card { transition: none; animation: none; }
}

.tf-catalog-campaign-banner { display: none; }

@media (min-width: 1024px) {
  .tf-catalog-campaign-banner { display: block; margin-top: 20px; }
  .tf-catalog-campaign-banner img { display: block; width: 100%; height: auto; border-radius: 6px; }
  .tf-catalog-campaign-banner:focus-visible { outline: 3px solid #263640; outline-offset: 3px; }
}

/* Preserve the campaign sidebar on desktop; never reserve space for an empty filter panel. */
.tf-site .tf-catalog-listing.tf-catalog-without-sidebar .tf-catalog-layout { grid-template-columns: minmax(0, 1fr); }
.tf-site .tf-catalog-listing.tf-catalog-without-filters .tf-sort { grid-column: 1 / -1; }
.tf-site .tf-catalog-listing.tf-catalog-without-filters .tf-catalog-campaign-banner { margin-top: 0; }
@media (max-width: 1023px) {
  .tf-site .tf-catalog-listing.tf-catalog-without-filters .tf-catalog-sidebar { display: none; }
  .tf-site .tf-catalog-listing.tf-catalog-without-filters .tf-catalog-layout { grid-template-columns: minmax(0, 1fr); }
}

/* Align category shortcuts with the product toolbar while preserving the sidebar row. */
@media (min-width: 1024px) {
  .tf-site .tf-catalog-listing:not(.tf-catalog-without-sidebar) > .tf-subcategories {
    margin-inline-start: calc(var(--tf-card-sidebar-width) + var(--tf-card-layout-gap));
  }
}
