.avs-category-hub {
  --avs-red: #ff3f5f;
  --avs-red-dark: #dc2947;
  --avs-ink: #111827;
  --avs-muted: #667085;
  --avs-line: #e8ebf0;
  --avs-soft: #f6f7f9;
  direction: rtl;
  margin: 0 0 28px;
  color: var(--avs-ink);
}

body.avs-catalog-enabled {
  --avs-red: #ff3f5f;
  --avs-red-dark: #dc2947;
  --avs-ink: #111827;
  --avs-muted: #667085;
  --avs-line: #e8ebf0;
  --avs-soft: #f6f7f9;
}

.avs-ch-container {
  width: min(100% - 32px, 1480px);
  margin-inline: auto;
}

.avs-ch-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 42px; padding: 7px 4px 11px; color: var(--avs-muted); font-size: 12px; }
.avs-ch-breadcrumb a { color: var(--avs-muted); text-decoration: none; }
.avs-ch-breadcrumb a:hover { color: var(--avs-red); }
.avs-ch-breadcrumb strong { color: var(--avs-ink); font-weight: 700; }

.avs-ch-hero {
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,255,255,.18), transparent 32%),
    linear-gradient(135deg, #111827 0%, #202b3d 48%, #b51f3b 100%);
  box-shadow: 0 24px 60px rgba(17,24,39,.16);
}

.avs-ch-hero__content { padding: 54px clamp(28px,5vw,78px); }
.avs-ch-eyebrow { margin-bottom: 12px; color: #ffd5dc; font-size: 14px; font-weight: 800; }
.avs-ch-hero h1 { margin: 0 0 18px; color: #fff; font-size: clamp(30px,4vw,58px); line-height: 1.35; font-weight: 900; }
.avs-ch-hero p { max-width: 700px; margin: 0 0 28px; color: rgba(255,255,255,.84); font-size: 16px; line-height: 2; }
.avs-ch-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 14px; color: #fff !important; background: var(--avs-red); font-weight: 800; text-decoration: none !important; box-shadow: 0 12px 26px rgba(255,63,95,.28); transition: transform .2s ease, background .2s ease; }
.avs-ch-button:hover { color: #fff; background: var(--avs-red-dark); transform: translateY(-2px); }
.avs-ch-hero__media { align-self: stretch; min-height: 390px; }
.avs-ch-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avs-ch-hero__visual { min-height: 390px; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; opacity: .96; font-family: Arial,sans-serif; letter-spacing: 10px; }
.avs-ch-hero__visual::before,.avs-ch-hero__visual::after { content:""; position:absolute; border:1px solid rgba(255,255,255,.18); border-radius:50%; }
.avs-ch-hero__visual::before { width:280px; height:280px; }
.avs-ch-hero__visual::after { width:190px; height:190px; }
.avs-ch-hero__visual span { font-size: 24px; font-weight: 300; z-index: 1; }
.avs-ch-hero__visual strong { color: #fff; font-size: clamp(38px,5vw,74px); line-height: 1; z-index: 1; }

.avs-ch-benefits { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 18px 0 42px; }
.avs-ch-benefit { display: flex; align-items: center; gap: 12px; min-height: 84px; padding: 16px; border: 1px solid var(--avs-line); border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(17,24,39,.05); }
.avs-ch-benefit__icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px; border-radius: 13px; color: #fff; background: var(--avs-red); font-weight: 900; }
.avs-ch-benefit__icon svg { width: 23px; height: 23px; }
.avs-ch-benefit strong,.avs-ch-benefit small { display: block; }
.avs-ch-benefit strong { margin-bottom: 5px; font-size: 14px; }
.avs-ch-benefit small { color: var(--avs-muted); font-size: 12px; line-height: 1.7; }

.avs-ch-section { margin: 0 0 48px; }
.avs-ch-section__header { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 0 0 18px; padding: 0 4px; }
.avs-ch-section__header h2 { margin: 0 0 7px; color: var(--avs-ink); font-size: clamp(20px,2.2vw,30px); font-weight: 900; }
.avs-ch-section__header p { margin: 0; color: var(--avs-muted); line-height: 1.8; }
.avs-ch-section__header > a { flex: 0 0 auto; color: var(--avs-red); font-weight: 800; text-decoration: none; }

.avs-ch-term-grid { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 14px; }
.avs-ch-term-card { min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 16px 10px; border: 1px solid var(--avs-line); border-radius: 22px; color: var(--avs-ink) !important; background: #fff; text-align: center; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.avs-ch-term-card:hover { transform: translateY(-4px); border-color: rgba(255,63,95,.36); box-shadow: 0 14px 34px rgba(17,24,39,.09); }
.avs-ch-term-card__media { width: 82px; height: 82px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; border-radius: 50%; background: var(--avs-soft); overflow: hidden; }
.avs-ch-term-card__media img { width: 72px; height: 72px; object-fit: contain; }
.avs-ch-term-card__fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--avs-red); font-family: Arial,sans-serif; font-size: 18px; font-weight: 900; }
.avs-ch-term-card__name { min-height: 44px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; line-height: 1.7; }
.avs-ch-term-card__copy { min-width: 0; display: flex; flex-direction: column; align-items: inherit; }
.avs-ch-term-card__subtitle { margin-top: 3px; color: var(--avs-muted); font-size: 11px; line-height: 1.7; }
.avs-ch-term-card__count { margin-top: 6px; color: var(--avs-muted); font-size: 11px; }

.avs-ch-section--professional .avs-ch-term-card { align-items: flex-start; min-height: 190px; padding: 22px; color: #fff !important; background: linear-gradient(145deg,#172033,#263853); text-align: right; }
.avs-ch-section--professional .avs-ch-term-card__media { width: 64px; height: 64px; background: rgba(255,255,255,.1); }
.avs-ch-section--professional .avs-ch-term-card__name { justify-content: flex-start; color: #fff; font-size: 15px; }
.avs-ch-section--professional .avs-ch-term-card__subtitle { color: rgba(255,255,255,.7); }
.avs-ch-section--professional .avs-ch-term-card__count { color: rgba(255,255,255,.68); }
.avs-ch-section--professional .avs-ch-term-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }

.avs-ch-section--usage .avs-ch-term-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.avs-ch-section--usage .avs-ch-term-card { flex-direction: row; justify-content: flex-start; gap: 14px; min-height: 112px; padding: 16px 18px; text-align: right; }
.avs-ch-section--usage .avs-ch-term-card__media { flex: 0 0 64px; width: 64px; height: 64px; margin: 0; }
.avs-ch-section--usage .avs-ch-term-card__name { min-height: 0; justify-content: flex-start; }
.avs-ch-section--usage .avs-ch-term-card__count { display: none; }

.avs-ch-products-anchor { position: relative; top: -140px; scroll-margin-top: 140px; }

/* Bakala prints its legacy subcategory rail before WooCommerce hooks. Hide it only on enabled hub pages. */
body.avs-category-hub-enabled .bakala-main-category { display: none !important; }

/* Unified catalog: Bakala keeps the query, filters and wrappers; AvvalStock owns the UI. */
body.avs-catalog-enabled .archive-list-view-main-label,
body.avs-catalog-enabled .archive-list-view .main_custom_order_by_sort,
body.avs-catalog-enabled .main_custom_order_by_sort,
body.avs-catalog-enabled #sorting-config,
body.avs-catalog-enabled .archive-product-sticky,
body.avs-catalog-enabled .category-panel,
body.avs-catalog-enabled .woocommerce-result-count,
body.avs-catalog-enabled .archive-list-products > #bakala_breadcrumbs,
body.avs-catalog-enabled .archive-list-products > .woocommerce-breadcrumb { display: none !important; }

.avs-catalog-head { margin: 22px 0 18px; padding: 22px; border: 1px solid var(--avs-line); border-radius: 24px; background: #fff; box-shadow: 0 12px 34px rgba(17,24,39,.055); scroll-margin-top: 150px; }
.avs-catalog-head__intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.avs-catalog-kicker { display: block; margin-bottom: 5px; color: var(--avs-red); font-size: 11px; font-weight: 800; }
.avs-catalog-head h1,.avs-catalog-head h2 { margin: 0 0 6px; color: var(--avs-ink); font-size: clamp(22px,2.2vw,32px); line-height: 1.5; font-weight: 900; }
.avs-catalog-head h1 small,.avs-catalog-head h2 small { color: var(--avs-muted); font-size: .42em; font-weight: 700; }
.avs-catalog-head p { margin: 0; color: var(--avs-muted); font-size: 13px; }
.avs-catalog-total { min-width: 90px; padding: 13px 16px; border-radius: 16px; color: #fff; background: linear-gradient(135deg,#172033,#344564); text-align: center; font-size: 21px; }
.avs-catalog-total small { font-size: 11px; font-weight: 500; }
.avs-catalog-tools { display: grid; grid-template-columns: minmax(240px,1.5fr) minmax(180px,.7fr) auto auto auto; align-items: center; gap: 10px; }
.avs-catalog-search { min-height: 48px; display: flex; align-items: center; gap: 9px; padding: 0 14px; border: 1px solid var(--avs-line); border-radius: 14px; background: var(--avs-soft); }
.avs-catalog-search:focus-within { border-color: rgba(255,63,95,.5); box-shadow: 0 0 0 3px rgba(255,63,95,.08); }
.avs-catalog-search svg,.avs-catalog-filter svg,.avs-catalog-view svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.avs-catalog-search input { width: 100%; height: 44px; padding: 0; border: 0 !important; outline: 0; background: transparent; box-shadow: none !important; font-size: 13px; }
.avs-catalog-order { min-height: 48px; display: flex; align-items: center; gap: 7px; padding: 0 12px; border: 1px solid var(--avs-line); border-radius: 14px; background: #fff; }
.avs-catalog-order span { flex: 0 0 auto; color: var(--avs-muted); font-size: 11px; }
.avs-catalog-order select { width: 100%; height: 44px; padding: 0 4px; border: 0 !important; outline: 0; background: transparent; box-shadow: none !important; font-size: 12px; font-weight: 700; }
.avs-catalog-stock { min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--avs-line); border-radius: 14px; white-space: nowrap; cursor: pointer; font-size: 12px; font-weight: 700; }
.avs-catalog-stock input { position: absolute; opacity: 0; pointer-events: none; }
.avs-catalog-stock span { width: 34px; height: 20px; position: relative; border-radius: 20px; background: #d0d5dd; transition: background .2s; }
.avs-catalog-stock span::after { content:""; width: 14px; height: 14px; position: absolute; top: 3px; right: 3px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.avs-catalog-stock input:checked + span { background: var(--avs-red); }
.avs-catalog-stock input:checked + span::after { transform: translateX(-14px); }
.avs-catalog-filter { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 14px; border: 1px solid var(--avs-line); border-radius: 14px; color: var(--avs-ink); background: #fff; cursor: pointer; font-size: 12px; font-weight: 800; }
.avs-catalog-view { display: flex; gap: 5px; }
.avs-catalog-view button { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 10px; border: 1px solid var(--avs-line); border-radius: 12px; color: var(--avs-muted); background: #fff; cursor: pointer; }
.avs-catalog-view button span { display: none; font-size: 10px; font-weight: 800; }
.avs-catalog-view button.is-active { border-color: var(--avs-red); color: #fff; background: var(--avs-red); }
.avs-catalog-filter { position: relative; }
.avs-catalog-filter b { width: 7px; height: 7px; position: absolute; top: 7px; left: 7px; border: 2px solid #fff; border-radius: 50%; background: var(--avs-red); box-shadow: 0 0 0 1px var(--avs-red); }
.avs-catalog-submit { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.avs-catalog-active { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 10px 13px; border-radius: 11px; color: #7a2e0e; background: #fff5eb; font-size: 11px; }
.avs-catalog-active a { color: var(--avs-red); font-weight: 800; text-decoration: none; }

.avs-catalog-quick { margin: -2px 0 18px; padding: 13px; border: 1px solid var(--avs-line); border-radius: 16px; background: var(--avs-soft); }
.avs-catalog-quick__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.avs-catalog-quick__head strong { font-size: 12px; }
.avs-catalog-quick__head a { color: var(--avs-red); font-size: 10px; font-weight: 800; text-decoration: none; }
.avs-catalog-quick__rail { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; scroll-snap-type: x proximity; }
.avs-catalog-quick__rail > a { min-width: max-content; min-height: 42px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; scroll-snap-align: start; border: 1px solid #e4e7ec; border-radius: 12px; color: var(--avs-ink); background: #fff; text-decoration: none; }
.avs-catalog-quick__rail > a:hover { border-color: rgba(255,63,95,.36); color: var(--avs-red); }
.avs-catalog-quick__rail span { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 8px; background: #fff; }
.avs-catalog-quick__rail img { width: 28px !important; height: 28px !important; object-fit: contain; }
.avs-catalog-quick__rail b { font-size: 10px; font-weight: 800; }

.avs-filter-backdrop { position: fixed; z-index: 999998; inset: 0; background: rgba(17,24,39,.42); backdrop-filter: blur(2px); }
.avs-filter-panel { width: min(430px,calc(100% - 32px)); max-height: calc(100vh - 36px); position: fixed; z-index: 999999; top: 18px; left: 18px; overflow: auto; padding: 20px; box-sizing: border-box; border: 1px solid var(--avs-line); border-radius: 22px; background: #fff; box-shadow: 0 28px 80px rgba(17,24,39,.22); visibility: hidden; opacity: 0; transform: translateX(-24px); transition: opacity .2s ease,transform .2s ease,visibility .2s; }
.avs-filter-panel.is-open { visibility: visible; opacity: 1; transform: translateX(0); }
body.avs-filter-is-open { overflow: hidden; }
.avs-filter-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.avs-filter-panel__head span { color: var(--avs-red); font-size: 10px; font-weight: 800; }
.avs-filter-panel__head h3 { margin: 4px 0 0; color: var(--avs-ink); font-size: 20px; }
.avs-filter-panel__head button { width: 38px; height: 38px; flex: 0 0 38px; padding: 0; border: 1px solid var(--avs-line); border-radius: 11px; color: var(--avs-ink); background: var(--avs-soft); cursor: pointer; font-size: 25px; line-height: 1; }
.avs-filter-price,.avs-filter-attributes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.avs-filter-price { margin-bottom: 14px; }
.avs-filter-price label > span,.avs-filter-attributes label > span { display: block; margin-bottom: 6px; color: var(--avs-muted); font-size: 10px; font-weight: 700; }
.avs-filter-price input,.avs-filter-attributes select { width: 100%; height: 46px; padding: 0 11px; box-sizing: border-box; border: 1px solid var(--avs-line) !important; border-radius: 12px; outline: 0; background: #fff; box-shadow: none !important; font-size: 11px; }
.avs-filter-price input:focus,.avs-filter-attributes select:focus { border-color: rgba(255,63,95,.5) !important; box-shadow: 0 0 0 3px rgba(255,63,95,.08) !important; }
.avs-filter-switches { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-bottom: 17px; }
.avs-filter-switches label { min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--avs-line); border-radius: 12px; cursor: pointer; }
.avs-filter-switches input { position: absolute; opacity: 0; }
.avs-filter-switches label > span { width: 30px; height: 18px; position: relative; flex: 0 0 30px; border-radius: 20px; background: #d0d5dd; }
.avs-filter-switches label > span::after { content:""; width: 12px; height: 12px; position: absolute; top: 3px; right: 3px; border-radius: 50%; background: #fff; transition: transform .2s; }
.avs-filter-switches input:checked + span { background: var(--avs-red); }
.avs-filter-switches input:checked + span::after { transform: translateX(-12px); }
.avs-filter-switches b { font-size: 10px; }
.avs-filter-attributes { margin-bottom: 20px; }
.avs-filter-panel__actions { display: grid; grid-template-columns: .7fr 1.3fr; gap: 9px; position: sticky; bottom: -20px; margin: 4px -20px -20px; padding: 14px 20px 20px; background: linear-gradient(to top,#fff 78%,rgba(255,255,255,.7)); }
.avs-filter-panel__actions a,.avs-filter-panel__actions button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 12px; text-decoration: none; font-size: 11px; font-weight: 900; }
.avs-filter-panel__actions a { border: 1px solid var(--avs-line); color: var(--avs-ink); background: #fff; }
.avs-filter-panel__actions button { border: 0; color: #fff; background: var(--avs-red); cursor: pointer; box-shadow: 0 9px 20px rgba(255,63,95,.2); }

body.avs-catalog-enabled .products-box { overflow: visible !important; background: transparent !important; box-shadow: none !important; }
body.woocommerce.avs-catalog-enabled .products-box > ul.products,
body.avs-catalog-enabled ul.products,
body.avs-catalog-enabled .products-box.listing ul.products { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-flow: row; justify-content: stretch !important; justify-items: stretch !important; align-items: stretch !important; gap: 18px; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
body.avs-catalog-columns-3 ul.products,
body.avs-catalog-columns-3 .products-box.listing ul.products,
body.woocommerce.avs-catalog-columns-3 .products-box > ul.products { grid-template-columns: repeat(3,minmax(0,1fr)); }
body.avs-catalog-enabled ul.products::before,
body.avs-catalog-enabled ul.products::after { display: none !important; }
body.woocommerce.avs-catalog-enabled .products-box > ul.products > li.product.avs-catalog-card,
body.avs-catalog-enabled ul.products li.product.avs-catalog-card,
body.avs-catalog-enabled .products-box.listing ul.products li.product.avs-catalog-card { width: 100% !important; max-width: 100% !important; min-width: 0 !important; height: auto !important; min-height: 0 !important; display: flex !important; flex: none !important; flex-direction: column !important; align-self: stretch !important; justify-self: stretch !important; float: none !important; clear: none !important; position: relative; margin: 0 !important; padding: 0 !important; overflow: hidden; box-sizing: border-box !important; border: 1px solid var(--avs-line) !important; border-radius: 22px !important; color: var(--avs-ink); background: #fff !important; text-align: right !important; box-shadow: 0 10px 30px rgba(17,24,39,.055) !important; transition: transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
body.avs-catalog-enabled ul.products li.product.avs-catalog-card:hover { z-index: 2; transform: translateY(-4px); border-color: rgba(255,63,95,.32) !important; box-shadow: 0 18px 42px rgba(17,24,39,.11) !important; }
.avs-catalog-card__badges { min-height: 28px; display: flex; flex-wrap: wrap; gap: 5px; position: absolute; z-index: 3; top: 12px; right: 12px; left: 12px; pointer-events: none; }
.avs-badge { display: inline-flex; align-items: center; min-height: 27px; padding: 0 9px; border-radius: 8px; color: #fff; font-size: 10px; font-weight: 900; box-shadow: 0 5px 13px rgba(17,24,39,.11); }
.avs-badge--choice { background: linear-gradient(135deg,#172033,#344564); }
.avs-badge--sale { margin-right: auto; background: var(--avs-red); }
.avs-catalog-card__image { width: 100%; height: clamp(210px,16vw,270px); display: flex !important; flex: 0 0 auto; align-items: center; justify-content: center; padding: 10px; box-sizing: border-box; overflow: hidden; border-bottom: 1px solid #f0f1f3; background: #fff; }
.avs-catalog-card__image img { width: 100% !important; height: 100% !important; max-width: 100% !important; margin: 0 !important; object-fit: contain; object-position: center; transition: transform .3s ease; }
body.avs-catalog-enabled ul.products li.product.avs-catalog-card:hover .avs-catalog-card__image img { transform: scale(1.015); }
.avs-catalog-card__body { width: 100%; min-width: 0; flex: 1; display: flex; flex-direction: column; padding: 16px; box-sizing: border-box; }
.avs-catalog-card__stock { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 10px; }
.avs-catalog-card__stock i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px currentColor; opacity: .85; }
.avs-catalog-card__stock.is-instock { color: #087a55; }
.avs-catalog-card__stock.is-out { color: #b42318; }
.avs-catalog-card h3 { min-height: 55px; margin: 0 0 13px !important; padding: 0 !important; font-size: 13px !important; font-weight: 800 !important; line-height: 1.9 !important; }
.avs-catalog-card h3 a { display: -webkit-box; overflow: hidden; color: var(--avs-ink) !important; text-decoration: none !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.avs-catalog-card__specs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin: 0 0 13px; }
.avs-catalog-card__specs div { min-width: 0; padding: 7px 8px; border-radius: 9px; background: var(--avs-soft); }
.avs-catalog-card__specs dt { margin: 0 0 2px; color: var(--avs-muted); font-size: 9px; font-weight: 500; }
.avs-catalog-card__specs dd { margin: 0; overflow: hidden; color: var(--avs-ink); font-size: 10px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.avs-catalog-card__trust { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; color: var(--avs-muted); font-size: 9px; }
.avs-catalog-card__trust span { display: inline-flex; align-items: center; gap: 3px; }
.avs-catalog-card__trust svg { width: 14px; height: 14px; fill: none; stroke: var(--avs-red); stroke-width: 1.8; }
.avs-sale-timer { margin: 0 0 13px; padding: 9px 10px; border: 1px solid #ffd4dc; border-radius: 11px; background: linear-gradient(135deg,#fff7f8,#fff); }
.avs-sale-timer > span { display: block; margin-bottom: 7px; color: var(--avs-red-dark); font-size: 9px; font-weight: 900; }
.avs-sale-timer > div { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; direction: ltr; text-align: center; }
.avs-sale-timer > div > span { min-width: 0; }
.avs-sale-timer b,.avs-sale-timer i { display: block; font-style: normal; }
.avs-sale-timer b { padding: 5px 2px; border-radius: 7px; color: #fff; background: var(--avs-ink); font-family: Arial,sans-serif; font-size: 11px; letter-spacing: .5px; }
.avs-sale-timer i { margin-top: 3px; color: var(--avs-muted); font-size: 7px; }
.avs-sale-timer.is-ended { display: none; }
.avs-catalog-card__footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 13px; border-top: 1px solid #f0f1f3; }
.avs-catalog-card__price { min-width: 0; color: var(--avs-ink); font-size: 14px; font-weight: 900; line-height: 1.8; }
.avs-catalog-card__price > small { display: block; margin-bottom: 1px; color: var(--avs-muted); font-size: 8px; font-weight: 600; }
.avs-catalog-card__price > strong { display: block; color: var(--avs-ink); font-size: 14px; font-weight: 900; }
.avs-catalog-card__price > strong em { color: var(--avs-muted); font-style: normal; font-size: 8px; font-weight: 600; }
.avs-catalog-card__price del { display: block; margin-bottom: -2px; color: #98a2b3; font-size: 9px; font-weight: 500; }
.avs-catalog-card__price ins { color: var(--avs-ink); text-decoration: none; }
.avs-catalog-card__price mark { display: inline-flex; margin-top: 4px; padding: 2px 6px; border-radius: 6px; color: #087a55; background: #ecfdf3; font-size: 8px; font-weight: 800; }
.avs-catalog-card__cta { min-width: 46px; min-height: 42px; display: inline-flex !important; align-items: center; justify-content: center; gap: 5px; flex: 0 0 auto; padding: 0 12px !important; border: 0 !important; border-radius: 12px !important; color: #fff !important; background: var(--avs-red) !important; text-decoration: none !important; font-size: 11px !important; font-weight: 800 !important; box-shadow: 0 8px 19px rgba(255,63,95,.22); }
.avs-catalog-card__cta:hover { color: #fff !important; background: var(--avs-red-dark) !important; }
.avs-catalog-card__cta svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.avs-catalog-card__cta.added::after { margin-right: 5px; }

.avs-catalog-pagination { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; margin: 38px 0 18px !important; direction: rtl; }
.avs-pagination-status { color: var(--avs-muted); font-size: 11px; }
.avs-pagination-status strong { color: var(--avs-ink); font-size: 12px; }
.avs-pagination-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; }
.avs-catalog-pagination .avs-page-number { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 11px; box-sizing: border-box; border: 1px solid var(--avs-line); border-radius: 12px; color: var(--avs-ink); background: #fff; text-decoration: none; font-size: 12px; font-weight: 800; box-shadow: 0 5px 15px rgba(17,24,39,.035); transition: border-color .2s, color .2s, background .2s, transform .2s; }
.avs-catalog-pagination a.avs-page-number:hover { transform: translateY(-2px); border-color: rgba(255,63,95,.4); color: var(--avs-red); }
.avs-catalog-pagination .avs-page-number.avs-is-current { border-color: var(--avs-red); color: #fff; background: var(--avs-red); box-shadow: 0 8px 18px rgba(255,63,95,.22); }
.avs-catalog-pagination .avs-prev,.avs-catalog-pagination .avs-next { min-width: 86px; }
.avs-catalog-pagination .is-loading { pointer-events: none; opacity: .6; }

body.woocommerce.avs-catalog-enabled.avs-catalog-view-list .products-box > ul.products,
body.avs-catalog-enabled.avs-catalog-view-list ul.products { grid-template-columns: 1fr !important; }
body.woocommerce.avs-catalog-enabled.avs-catalog-view-list .products-box > ul.products > li.product.avs-catalog-card,
body.avs-catalog-enabled.avs-catalog-view-list ul.products li.product.avs-catalog-card { display: grid !important; grid-template-columns: minmax(240px,300px) minmax(0,1fr) !important; }
body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card__image { width: 100%; height: 100%; min-height: 270px; max-height: 330px; aspect-ratio: auto; padding: 12px; border-bottom: 0; border-left: 1px solid #f0f1f3; }
body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card__body { display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,.55fr); column-gap: 22px; align-content: center; }
body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card__stock,
body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card h3,
body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card__specs,
body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card__trust { grid-column: 1; }
body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card h3 { min-height: 0; font-size: 15px !important; }
body.avs-catalog-enabled.avs-catalog-view-list .avs-sale-timer,
body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card__footer { grid-column: 2; }
body.avs-catalog-enabled.avs-catalog-view-list .avs-sale-timer { grid-row: 1/4; align-self: start; }
body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card__footer { align-self: end; }

@media (max-width: 1199px) {
  .avs-ch-term-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .avs-catalog-tools { grid-template-columns: minmax(220px,1fr) minmax(170px,.7fr) auto auto; }
  .avs-catalog-view { display: flex; }
  .avs-catalog-view button span { display: inline; }
  body.avs-catalog-enabled ul.products,
  body.avs-catalog-columns-3 ul.products,
  body.avs-catalog-enabled .products-box.listing ul.products,
  body.woocommerce.avs-catalog-enabled .products-box > ul.products { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 767px) {
  .avs-ch-container { width: min(100% - 20px, 1480px); }
  .avs-ch-hero { min-height: auto; grid-template-columns: 1fr; border-radius: 22px; }
  .avs-ch-hero__content { padding: 30px 22px 26px; }
  .avs-ch-hero h1 { font-size: 30px; }
  .avs-ch-hero p { font-size: 14px; line-height: 1.9; }
  .avs-ch-hero__media { min-height: 220px; order: -1; }
  .avs-ch-hero__visual { display: none; }
  .avs-ch-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 34px; }
  .avs-ch-benefit { min-height: 96px; padding: 12px; align-items: flex-start; }
  .avs-ch-benefit__icon { width: 30px; height: 30px; flex-basis: 30px; border-radius: 9px; }
  .avs-ch-section { margin-bottom: 36px; }
  .avs-ch-section__header { align-items: flex-start; }
  .avs-ch-section__header p { font-size: 12px; }
  .avs-ch-term-grid,.avs-ch-section--professional .avs-ch-term-grid,.avs-ch-section--usage .avs-ch-term-grid { display: flex; gap: 10px; margin-left: -10px; padding: 4px 0 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .avs-ch-term-grid::-webkit-scrollbar { display:none; }
  .avs-ch-term-card { flex: 0 0 142px; scroll-snap-align: start; }
  .avs-ch-section--professional .avs-ch-term-card { flex-basis: 210px; min-height: 170px; }
  .avs-ch-section--usage .avs-ch-term-card { flex-basis: 230px; }
  body.avs-catalog-enabled .archive-list-products { width: 100% !important; padding-inline: 10px; box-sizing: border-box; }
  .avs-catalog-head { position: relative; z-index: 2; margin: 10px 0 14px; padding: 14px; overflow: hidden; border-radius: 20px; box-shadow: 0 9px 28px rgba(17,24,39,.07); scroll-margin-top: 112px; }
  .avs-catalog-head__intro { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 10px; margin-bottom: 14px; }
  .avs-catalog-kicker { margin-bottom: 3px; font-size: 9px; }
  .avs-catalog-head h1,.avs-catalog-head h2 { margin-bottom: 3px; font-size: 19px; line-height: 1.55; }
  .avs-catalog-head p { display: -webkit-box; overflow: hidden; font-size: 10px; line-height: 1.8; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .avs-catalog-head h1 small,.avs-catalog-head h2 small { display: block; color: var(--avs-muted); font-size: 10px; font-weight: 700; }
  .avs-catalog-total { min-width: 60px; padding: 9px 8px; border-radius: 13px; font-size: 15px; }
  .avs-catalog-total small { font-size: 8px; }
  .avs-catalog-quick { margin-bottom: 13px; padding: 10px; border-radius: 14px; }
  .avs-catalog-quick__head { margin-bottom: 8px; }
  .avs-catalog-quick__rail { margin-left: -10px; padding-left: 10px; scrollbar-width: none; }
  .avs-catalog-quick__rail::-webkit-scrollbar { display: none; }
  .avs-catalog-tools { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .avs-catalog-search { grid-column: 1/-1; min-height: 46px; padding-inline: 12px; border-radius: 13px; }
  .avs-catalog-search input { height: 42px; font-size: 11px; }
  .avs-catalog-stock,.avs-catalog-filter { min-width: 0; min-height: 43px; justify-content: center; padding-inline: 8px; border-radius: 12px; font-size: 10px; }
  .avs-catalog-order { grid-column: 1/-1; min-height: 43px; padding-inline: 10px; border-radius: 12px; }
  .avs-catalog-order select { height: 40px; font-size: 10px; }
  .avs-catalog-order span { font-size: 9px; }
  .avs-catalog-view { grid-column: 1/-1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .avs-catalog-view button { width: 100%; min-height: 41px; }
  .avs-catalog-view button span { display: inline; }
  .avs-catalog-active { align-items: flex-start; padding: 9px 10px; font-size: 9px; }
  body.avs-catalog-enabled ul.products,
  body.avs-catalog-columns-3 ul.products,
  body.avs-catalog-enabled .products-box.listing ul.products,
  body.woocommerce.avs-catalog-enabled .products-box > ul.products,
  body.avs-catalog-view-list ul.products { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 10px !important; }
  body.avs-catalog-enabled ul.products li.product.avs-catalog-card { display: flex !important; grid-template-columns: none; border-radius: 17px !important; box-shadow: 0 7px 22px rgba(17,24,39,.06) !important; }
  .avs-catalog-card__badges { top: 8px; right: 8px; left: 8px; }
  .avs-catalog-card__image { width: 100%; height: auto !important; min-height: 0 !important; aspect-ratio: 4/3; flex-basis: auto; padding: 5px; border-left: 0; }
  .avs-catalog-card__body { padding: 10px; }
  .avs-catalog-card__stock { gap: 4px; margin-bottom: 6px; font-size: 8px; line-height: 1.7; }
  .avs-catalog-card__stock i { width: 5px; height: 5px; box-shadow: 0 0 0 2px currentColor; }
  .avs-catalog-card h3 { min-height: 47px; margin-bottom: 8px !important; font-size: 10.5px !important; line-height: 1.85 !important; }
  .avs-catalog-card__specs { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; margin-bottom: 9px; }
  .avs-catalog-card__specs div { padding: 6px 5px; border-radius: 8px; }
  .avs-catalog-card__specs dt { font-size: 7px; }
  .avs-catalog-card__specs dd { font-size: 8px; }
  .avs-catalog-card__trust { min-height: 17px; margin-bottom: 8px; font-size: 7px; }
  .avs-catalog-card__trust span:nth-child(2) { display: none; }
  .avs-catalog-card__trust svg { width: 11px; height: 11px; }
  .avs-sale-timer { margin-bottom: 8px; padding: 7px; }
  .avs-sale-timer > span { margin-bottom: 5px; font-size: 7px; }
  .avs-sale-timer > div { gap: 3px; }
  .avs-sale-timer b { padding: 4px 1px; font-size: 8px; }
  .avs-sale-timer i { font-size: 5.5px; }
  .avs-catalog-card__footer { flex-direction: column; align-items: stretch; gap: 7px; padding-top: 9px; }
  .avs-catalog-card__price { min-height: 35px; font-size: 10.5px; line-height: 1.7; }
  .avs-catalog-card__price > strong { font-size: 10.5px; }
  .avs-catalog-card__price mark { font-size: 6.5px; }
  .avs-catalog-card__price del { font-size: 8px; }
  .avs-catalog-card__cta { width: 100%; min-width: 0; min-height: 38px; padding: 0 8px !important; border-radius: 10px !important; font-size: 9px !important; }
  .avs-catalog-card__cta span { display: inline; }
  .avs-catalog-card__cta svg { width: 16px; height: 16px; }
  .avs-badge { min-height: 22px; padding: 0 6px; border-radius: 7px; font-size: 7px; }
  .avs-catalog-pagination { gap: 9px; margin: 28px 0 14px !important; }
  .avs-pagination-links { gap: 4px; }
  .avs-catalog-pagination .avs-page-number { min-width: 36px; height: 36px; padding: 0 8px; border-radius: 10px; font-size: 10px; }
  .avs-catalog-pagination .avs-prev,.avs-catalog-pagination .avs-next { min-width: 38px; }
  .avs-catalog-pagination .avs-prev b,.avs-catalog-pagination .avs-next b { display: none; }
  .avs-filter-panel { width: 100%; max-height: min(82vh,720px); top: auto; right: 0; bottom: 0; left: 0; padding: 18px 16px; border-width: 1px 0 0; border-radius: 22px 22px 0 0; transform: translateY(28px); }
  .avs-filter-panel.is-open { transform: translateY(0); }
  .avs-filter-panel__head { margin-bottom: 15px; }
  .avs-filter-panel__head h3 { font-size: 17px; }
  .avs-filter-price,.avs-filter-attributes { gap: 8px; }
  .avs-filter-panel__actions { bottom: -18px; margin: 4px -16px -18px; padding: 12px 16px calc(18px + env(safe-area-inset-bottom)); }
  body.woocommerce.avs-catalog-enabled.avs-catalog-view-list .products-box > ul.products,
  body.avs-catalog-enabled.avs-catalog-view-list ul.products { grid-template-columns: 1fr !important; gap: 10px !important; }
  body.woocommerce.avs-catalog-enabled.avs-catalog-view-list .products-box > ul.products > li.product.avs-catalog-card,
  body.avs-catalog-enabled.avs-catalog-view-list ul.products li.product.avs-catalog-card { display: grid !important; grid-template-columns: 118px minmax(0,1fr) !important; }
  body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card__image { height: 150px !important; min-height: 150px !important; max-height: 150px; aspect-ratio: auto; padding: 4px; border-left: 1px solid #f0f1f3; border-bottom: 0; }
  body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card__body { display: flex; padding: 10px; }
  body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card__stock { margin-left: 0; }
  body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card h3 { min-height: 42px; font-size: 10.5px !important; }
  body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card__specs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.avs-catalog-enabled.avs-catalog-view-list .avs-sale-timer { grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .avs-ch-button,.avs-ch-term-card,.avs-catalog-card { transition: none; }
}

/* =========================================================
   AvvalStock Category Hub v4.0.0 — Catalog Card / Quick Nav
   Readability-first overrides. Intentionally appended after
   v3 rules to win against both legacy plugin and Bakala CSS.
   ========================================================= */
.avs-catalog-quick--v4 { margin: 0 0 20px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(17,24,39,.045); }
.avs-catalog-quick--v4 .avs-catalog-quick__head { align-items: center; margin-bottom: 14px; }
.avs-catalog-quick--v4 .avs-catalog-quick__head > div { min-width: 0; }
.avs-catalog-quick--v4 .avs-catalog-quick__head strong { display: block; font-size: 14px; line-height: 1.6; }
.avs-catalog-quick--v4 .avs-catalog-quick__head small { display: block; margin-top: 2px; color: var(--avs-muted); font-size: 11px; line-height: 1.7; }
.avs-catalog-quick--v4 .avs-catalog-quick__head > a { flex: 0 0 auto; font-size: 11px; }
.avs-catalog-quick__groups { display: grid; gap: 11px; }
.avs-catalog-quick__group { display: grid; grid-template-columns: 155px minmax(0,1fr); align-items: center; gap: 10px; }
.avs-catalog-quick__group > b { color: var(--avs-muted); font-size: 11px; font-weight: 800; }
.avs-catalog-quick--v4 .avs-catalog-quick__rail { padding: 1px; }
.avs-catalog-quick--v4 .avs-catalog-quick__rail > a { min-height: 44px; padding: 5px 11px; }
.avs-catalog-quick--v4 .avs-catalog-quick__rail > a > strong { font-size: 11px; font-weight: 850; white-space: nowrap; }

body.avs-catalog-enabled ul.products li.product.avs-catalog-card { border-radius: 18px !important; box-shadow: 0 8px 24px rgba(17,24,39,.055) !important; }
.avs-catalog-card__body { padding: 17px; }
.avs-catalog-card__stock { margin-bottom: 9px; font-size: 11px; font-weight: 700; }
.avs-catalog-card h3 { min-height: 58px; margin-bottom: 12px !important; font-size: 14px !important; line-height: 1.8 !important; }
.avs-catalog-card__specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.avs-catalog-card__specs div { max-width: 100%; display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 4px 8px; border: 1px solid #edf0f3; border-radius: 999px; background: #f8f9fb; }
.avs-catalog-card__specs dt { margin: 0; color: var(--avs-muted); font-size: 10px; font-weight: 650; }
.avs-catalog-card__specs dt::after { content: ':'; }
.avs-catalog-card__specs dd { max-width: 128px; margin: 0; overflow: hidden; color: var(--avs-ink); font-size: 10.5px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.avs-catalog-card__trust { gap: 10px; margin-bottom: 12px; font-size: 10px; font-weight: 650; }
.avs-catalog-card__trust svg { width: 15px; height: 15px; }
.avs-badge { min-height: 28px; padding: 0 9px; font-size: 10.5px; }

.avs-sale-timer { margin-bottom: 12px; padding: 10px 11px; border-radius: 12px; }
.avs-sale-timer > span { margin-bottom: 7px; font-size: 10px; }
.avs-sale-timer b { padding: 5px 2px; font-family: inherit; font-size: 12px; font-variant-numeric: tabular-nums; }
.avs-sale-timer i { margin-top: 3px; font-size: 8.5px; }

.avs-catalog-card__footer { align-items: center; gap: 12px; padding-top: 12px; }
.avs-catalog-card__price { flex: 1; min-width: 0; font-size: 13px; line-height: 1.65; }
.avs-price-current > span,.avs-price-sale > span { display: block; color: var(--avs-muted); font-size: 10px; font-weight: 650; }
.avs-price-current strong { display: block; color: var(--avs-ink); font-size: 16px; font-weight: 950; line-height: 1.75; white-space: normal; }
.avs-price-current.is-sale strong { color: var(--avs-red-dark); }
.avs-price-current strong em { color: var(--avs-muted); font-style: normal; font-size: 10px; font-weight: 700; }
.avs-price-sale { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-bottom: 2px; }
.avs-price-sale > span { display: inline; }
.avs-price-sale del { color: #98a2b3; font-size: 11px; font-weight: 600; }
.avs-catalog-card__price mark { margin-top: 4px; padding: 3px 7px; font-size: 9px; }
.avs-price-contact strong { font-size: 13px; }
.avs-catalog-card__cta { min-width: 94px; min-height: 44px; padding: 0 13px !important; font-size: 11.5px !important; }

body.avs-catalog-enabled.avs-catalog-view-list ul.products li.product.avs-catalog-card,
body.woocommerce.avs-catalog-enabled.avs-catalog-view-list .products-box > ul.products > li.product.avs-catalog-card { grid-template-columns: minmax(220px,270px) minmax(0,1fr) !important; }
body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card__body { padding: 18px 20px; }
body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card h3 { min-height: 0; font-size: 15px !important; }
body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card__specs { margin-bottom: 10px; }
body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card__footer { margin-top: auto; }

@media (max-width: 767px) {
  .avs-catalog-quick--v4 { padding: 12px; border-radius: 16px; }
  .avs-catalog-quick--v4 .avs-catalog-quick__head { align-items: flex-start; }
  .avs-catalog-quick--v4 .avs-catalog-quick__head strong { font-size: 13px; }
  .avs-catalog-quick--v4 .avs-catalog-quick__head small { font-size: 10px; }
  .avs-catalog-quick__group { display: block; }
  .avs-catalog-quick__group > b { display: block; margin-bottom: 6px; font-size: 10px; }
  .avs-catalog-quick__groups { gap: 12px; }
  .avs-catalog-quick--v4 .avs-catalog-quick__rail { margin-left: -12px; padding-left: 12px; }
  .avs-catalog-quick--v4 .avs-catalog-quick__rail > a > strong { font-size: 10.5px; }

  .avs-catalog-card__body { padding: 11px; }
  .avs-catalog-card__stock { margin-bottom: 7px; font-size: 9.5px; line-height: 1.65; }
  .avs-catalog-card h3 { min-height: 50px; margin-bottom: 9px !important; font-size: 12px !important; line-height: 1.75 !important; }
  .avs-catalog-card__specs { gap: 5px; margin-bottom: 9px; }
  .avs-catalog-card__specs div { min-height: 27px; padding: 3px 6px; }
  .avs-catalog-card__specs dt { font-size: 8.5px; }
  .avs-catalog-card__specs dd { max-width: 78px; font-size: 9px; }
  .avs-catalog-card__trust { min-height: 0; margin-bottom: 9px; font-size: 8.5px; }
  .avs-catalog-card__trust span:nth-child(2) { display: inline-flex; }
  .avs-catalog-card__trust svg { width: 12px; height: 12px; }
  .avs-badge { min-height: 24px; padding: 0 7px; font-size: 8.5px; }

  .avs-sale-timer { margin-bottom: 9px; padding: 8px; }
  .avs-sale-timer > span { margin-bottom: 6px; font-size: 9px; }
  .avs-sale-timer > div { gap: 4px; }
  .avs-sale-timer b { padding: 4px 1px; font-size: 10px; }
  .avs-sale-timer i { font-size: 7px; }

  .avs-catalog-card__footer { gap: 8px; padding-top: 10px; }
  .avs-price-current > span,.avs-price-sale > span { font-size: 8.5px; }
  .avs-price-current strong { font-size: 13px; line-height: 1.7; }
  .avs-price-current strong em { font-size: 8.5px; }
  .avs-price-sale del { font-size: 9.5px; }
  .avs-catalog-card__price mark { font-size: 7.5px; }
  .avs-catalog-card__cta { min-width: 0; min-height: 40px; font-size: 10px !important; }

  body.woocommerce.avs-catalog-enabled.avs-catalog-view-list .products-box > ul.products > li.product.avs-catalog-card,
  body.avs-catalog-enabled.avs-catalog-view-list ul.products li.product.avs-catalog-card { grid-template-columns: 126px minmax(0,1fr) !important; }
  body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card__image { height: 178px !important; min-height: 178px !important; max-height: 178px; }
  body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card__body { padding: 11px; }
  body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card h3 { min-height: 0; font-size: 11.5px !important; }
  body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card__specs { display: none; }
  body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card__trust { display: none; }
  body.avs-catalog-enabled.avs-catalog-view-list .avs-sale-timer { display: none; }
  body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card__footer { flex-direction: row; align-items: center; }
}

/* =========================================================
   AvvalStock Category Hub v4.2.0 — Final catalog card UI
   One WooCommerce price source, two-price sale hierarchy,
   fixed promo slot for equal cards, compact premium layout.
   ========================================================= */
body.avs-catalog-enabled {
  --avs-card-font: "IRANSansX", "IRANSans", "Vazirmatn", Tahoma, Arial, sans-serif;
  --avs-card-promo-height: 92px;
  --avs-card-promo-height-mobile: 78px;
}

body.avs-catalog-enabled ul.products li.product.avs-catalog-card,
body.avs-catalog-enabled ul.products li.product.avs-catalog-card button,
body.avs-catalog-enabled ul.products li.product.avs-catalog-card input {
  font-family: var(--avs-card-font);
}

/* Never allow a second theme/native loop-price node into our custom card. */
body.avs-catalog-enabled li.product.avs-catalog-card > .price,
body.avs-catalog-enabled li.product.avs-catalog-card > span.price,
body.avs-catalog-enabled li.product.avs-catalog-card .woocommerce-loop-product__price {
  display: none !important;
}

body.avs-catalog-enabled ul.products li.product.avs-catalog-card {
  border-radius: 18px !important;
  box-shadow: 0 8px 24px rgba(17,24,39,.055) !important;
}

.avs-catalog-card__body {
  padding: 14px 15px 15px;
}

.avs-catalog-card__stock {
  width: fit-content;
  min-height: 26px;
  margin: 0 0 7px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.4;
}
.avs-catalog-card__stock.is-instock { color: #087a55; background: #eefaf5; }
.avs-catalog-card__stock.is-out { color: #b42318; background: #fff1f0; }
.avs-catalog-card__stock i {
  width: 6px;
  height: 6px;
  box-shadow: 0 0 0 3px rgba(8,122,85,.11);
}
.avs-catalog-card__stock.is-out i { box-shadow: 0 0 0 3px rgba(180,35,24,.10); }

.avs-catalog-card h3 {
  min-height: 54px;
  margin: 0 0 9px !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  line-height: 1.78 !important;
  letter-spacing: -.06px;
}
.avs-catalog-card h3 a { color: #151b27 !important; }
.avs-product-title-text {
  display: inline;
  unicode-bidi: plaintext;
  text-align: right;
  text-wrap: pretty;
}

.avs-catalog-card__specs {
  gap: 5px;
  margin-bottom: 9px;
}
.avs-catalog-card__specs div {
  min-height: 27px;
  padding: 3px 7px;
}

.avs-catalog-card__trust {
  min-height: 29px;
  gap: 6px;
  margin: 0 0 9px;
  color: #5f6978;
  font-size: 9.5px;
  font-weight: 750;
}
.avs-catalog-card__trust span {
  min-height: 27px;
  padding: 3px 6px;
  border: 1px solid #edf0f3;
  border-radius: 8px;
  background: #fafbfc;
}
.avs-catalog-card__trust svg { width: 13px; height: 13px; }

/* Fixed promo slot: every grid card reserves the same compact vertical zone.
   Standard products keep this zone visually empty, so price/CTA alignment
   stays identical without showing a fake promotion. */
.avs-promo-slot {
  width: 100%;
  height: var(--avs-card-promo-height);
  min-height: var(--avs-card-promo-height);
  display: flex;
  align-items: stretch;
  margin: 0 0 9px;
}
.avs-promo-slot__spacer {
  width: 100%;
  height: 100%;
  visibility: hidden;
  pointer-events: none;
}

/* Sale countdown */
.avs-sale-timer {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 9px 10px 8px;
  border: 1px solid #ffd1da;
  border-radius: 13px;
  background: linear-gradient(135deg,#fff 0%,#fff8f9 56%,#fff3f5 100%);
  box-shadow: 0 6px 16px rgba(255,63,95,.055);
}
.avs-sale-timer::after {
  content: "";
  position: absolute;
  width: 68px;
  height: 68px;
  top: -46px;
  left: -25px;
  border-radius: 50%;
  background: rgba(255,63,95,.065);
  pointer-events: none;
}
.avs-sale-timer__head {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin: 0 0 7px !important;
  direction: rtl !important;
  text-align: right;
}
.avs-sale-timer__title {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  margin: 0 !important;
  color: var(--avs-red-dark);
  font-size: 10.5px !important;
  font-weight: 900;
  line-height: 1.35;
}
.avs-sale-timer__head small {
  color: #8b95a4;
  font-size: 8px;
  font-weight: 650;
  line-height: 1.35;
}
.avs-sale-timer__pulse {
  width: 6px;
  height: 6px;
  display: inline-block !important;
  margin: 0 !important;
  border-radius: 50%;
  background: var(--avs-red);
  box-shadow: 0 0 0 0 rgba(255,63,95,.28);
  animation: avs-sale-pulse 1.8s ease-out infinite;
}
.avs-sale-timer__countdown {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr) !important;
  align-items: start;
  gap: 3px !important;
  direction: ltr !important;
  text-align: center;
}
.avs-time-unit { min-width: 0; display: block; }
.avs-sale-timer .avs-time-unit b {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
  border-radius: 8px;
  color: #fff;
  background: #111827;
  font-family: var(--avs-card-font);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .25px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 10px rgba(17,24,39,.09);
}
.avs-sale-timer .avs-time-unit--seconds b {
  background: linear-gradient(135deg,var(--avs-red),var(--avs-red-dark));
  box-shadow: 0 5px 12px rgba(255,63,95,.20);
}
.avs-sale-timer .avs-time-unit i {
  display: block;
  margin-top: 3px;
  color: #7b8492;
  font-size: 7.5px;
  font-weight: 700;
  line-height: 1.15;
}
.avs-time-separator {
  display: block;
  padding-top: 7px;
  color: #d6a0aa;
  font-style: normal;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}
.avs-sale-timer.is-urgent {
  border-color: #ffb9c5;
  box-shadow: 0 7px 18px rgba(255,63,95,.09);
}
.avs-sale-timer.is-urgent .avs-sale-timer__title::after {
  content: "رو به پایان";
  padding: 2px 5px;
  border-radius: 999px;
  color: #fff;
  background: var(--avs-red);
  font-size: 7px;
  font-weight: 850;
}
.avs-sale-timer--no-date {
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: solid;
}
.avs-sale-timer--no-date .avs-sale-timer__head { margin: 0 !important; }
.avs-sale-timer--no-date .avs-sale-timer__title { font-size: 12px !important; }
.avs-sale-timer.is-ended { visibility: hidden; }

@keyframes avs-sale-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,63,95,.28); }
  70% { box-shadow: 0 0 0 7px rgba(255,63,95,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,63,95,0); }
}

/* Price area: exactly one current WooCommerce price, plus regular price only on sale. */
.avs-catalog-card__footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f0f1f3;
}
.avs-catalog-card__price {
  width: 100%;
  min-width: 0;
  min-height: 67px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.35;
}
.avs-catalog-card__price.has-sale {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.avs-price-sale {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 7px;
  margin: 0 0 4px;
}
.avs-price-sale > span {
  color: #8a94a3;
  font-size: 9px;
  font-weight: 650;
}
.avs-price-sale del {
  display: inline-flex;
  align-items: baseline;
  color: #9aa3b1;
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration-color: #b8c0cc;
  text-decoration-thickness: 1.4px;
}
.avs-price-current > span {
  display: block;
  margin-bottom: 1px;
  color: #6e7887;
  font-size: 10px;
  font-weight: 800;
}
.avs-price-current.is-sale > span { color: var(--avs-red-dark); }
.avs-price-current strong {
  display: block;
  color: #101828;
  font-size: clamp(20px,1.45vw,24px);
  font-weight: 950;
  line-height: 1.48;
  white-space: normal;
  letter-spacing: -.25px;
}
.avs-price-current.is-sale strong { color: #111827; }
.avs-price-current strong em {
  color: #7b8492;
  font-style: normal;
  font-size: .52em;
  font-weight: 750;
}
.avs-price-current strong .woocommerce-Price-currencySymbol,
.avs-price-sale del .woocommerce-Price-currencySymbol {
  font-size: .58em;
  font-weight: 750;
}
.avs-price-contact strong { font-size: 16px; }

/* The badge already lives on the image; never duplicate discount or savings near price. */
.avs-price-discount,
.avs-catalog-card__price mark {
  display: none !important;
}

.avs-catalog-card__cta {
  width: 100%;
  min-width: 0;
  min-height: 45px;
  padding: 0 14px !important;
  border-radius: 12px !important;
  font-size: 11.5px !important;
  font-weight: 850 !important;
  box-shadow: 0 7px 17px rgba(255,63,95,.19);
}
.avs-catalog-card__cta svg { width: 18px; height: 18px; }

/* List view: compact commerce column; no artificial blank spacer. */
body.avs-catalog-enabled.avs-catalog-view-list .avs-promo-slot {
  height: auto;
  min-height: 0;
}
body.avs-catalog-enabled.avs-catalog-view-list .avs-promo-slot.is-standard { display: none; }
body.avs-catalog-enabled.avs-catalog-view-list .avs-sale-timer { min-height: 92px; }
body.avs-catalog-enabled.avs-catalog-view-list .avs-catalog-card__footer {
  margin-top: 0;
}

@media (max-width: 1199px) and (min-width: 768px) {
  body.avs-catalog-enabled { --avs-card-promo-height: 88px; }
  .avs-catalog-card h3 { min-height: 52px; font-size: 13px !important; }
  .avs-price-current strong { font-size: 19px; }
}

@media (max-width: 767px) {
  body.avs-catalog-enabled { --avs-card-promo-height: var(--avs-card-promo-height-mobile); }
  .avs-catalog-card__body { padding: 10px; }
  .avs-catalog-card__stock { min-height: 23px; margin-bottom: 6px; padding: 3px 6px; font-size: 8.7px; }
  .avs-catalog-card h3 { min-height: 46px; margin-bottom: 7px !important; font-size: 11px !important; line-height: 1.72 !important; }
  .avs-catalog-card__specs { margin-bottom: 7px; }
  .avs-catalog-card__trust { min-height: 24px; margin-bottom: 7px; font-size: 7.7px; }
  .avs-catalog-card__trust span { min-height: 23px; padding: 2px 4px; }
  .avs-catalog-card__trust svg { width: 11px; height: 11px; }

  .avs-promo-slot { margin-bottom: 7px; }
  .avs-sale-timer { padding: 7px; border-radius: 10px; }
  .avs-sale-timer__head { margin-bottom: 5px !important; }
  .avs-sale-timer__title { font-size: 8.5px !important; }
  .avs-sale-timer__head small { font-size: 6.5px; }
  .avs-sale-timer__countdown { gap: 2px !important; }
  .avs-sale-timer .avs-time-unit b { height: 27px; padding: 0 1px; border-radius: 6px; font-size: 9.5px; }
  .avs-sale-timer .avs-time-unit i { margin-top: 2px; font-size: 5.8px; }
  .avs-time-separator { padding-top: 5px; font-size: 11px; }
  .avs-sale-timer.is-urgent .avs-sale-timer__title::after { display: none; }

  .avs-catalog-card__footer { gap: 7px; padding-top: 8px; }
  .avs-catalog-card__price { min-height: 55px; }
  .avs-price-sale { gap: 3px 5px; margin-bottom: 2px; }
  .avs-price-sale > span { font-size: 7.2px; }
  .avs-price-sale del { font-size: 8.4px; }
  .avs-price-current > span { font-size: 7.7px; }
  .avs-price-current strong { font-size: 13.5px; line-height: 1.45; }
  .avs-catalog-card__cta { min-height: 39px; padding-inline: 8px !important; font-size: 9.3px !important; }

  body.avs-catalog-enabled.avs-catalog-view-list .avs-promo-slot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .avs-sale-timer__pulse { animation: none; }
}

/* ==========================================================
   AvvalStock Category Hub v8.0 modular additions
   ========================================================== */
.avs-category-hub--after-catalog{margin-top:28px}
.avs-category-hub--after-catalog .avs-ch-container{padding-top:4px;padding-bottom:18px}
.avs-ch-hero--compact{min-height:270px}
.avs-ch-hero--compact .avs-ch-hero__content{padding-top:34px;padding-bottom:34px}
.avs-ch-hero--compact .avs-ch-hero__media,.avs-ch-hero--compact .avs-ch-hero__visual{min-height:270px}
.avs-ch-hero--compact h1{font-size:clamp(28px,3.2vw,46px)}
.avs-ch-hero--showcase{min-height:460px}
.avs-ch-hero--showcase .avs-ch-hero__media,.avs-ch-hero--showcase .avs-ch-hero__visual{min-height:460px}
.avs-ch-section--standard .avs-ch-term-grid,.avs-ch-section--brands .avs-ch-term-grid{grid-template-columns:repeat(8,minmax(0,1fr))}
.avs-ch-section--dark .avs-ch-term-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.avs-ch-section--dark .avs-ch-term-card{align-items:flex-start;min-height:170px;padding:20px;color:#fff!important;background:linear-gradient(145deg,#172033,#263853);text-align:right}
.avs-ch-section--dark .avs-ch-term-card__media{width:64px;height:64px;background:rgba(255,255,255,.1)}
.avs-ch-section--dark .avs-ch-term-card__name{justify-content:flex-start;color:#fff}
.avs-ch-section--dark .avs-ch-term-card__subtitle,.avs-ch-section--dark .avs-ch-term-card__count{color:rgba(255,255,255,.72)}
.avs-ch-section--compact .avs-ch-term-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.avs-ch-section--compact .avs-ch-term-card{flex-direction:row;justify-content:flex-start;gap:12px;min-height:92px;padding:12px 14px;text-align:right}
.avs-ch-section--compact .avs-ch-term-card__media{flex:0 0 54px;width:54px;height:54px;margin:0}
.avs-ch-section--compact .avs-ch-term-card__name{min-height:0;justify-content:flex-start}
.avs-ch-section--compact .avs-ch-term-card__count{font-size:11px}
@media(max-width:767px){
  .avs-ch-hero--compact .avs-ch-hero__media{min-height:170px}
  .avs-ch-hero--showcase .avs-ch-hero__media{min-height:260px}
  .avs-ch-section--standard .avs-ch-term-grid,.avs-ch-section--brands .avs-ch-term-grid,.avs-ch-section--dark .avs-ch-term-grid,.avs-ch-section--compact .avs-ch-term-grid{display:flex;gap:10px;margin-left:-10px;padding:4px 0 14px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none}
  .avs-ch-section--dark .avs-ch-term-card{flex-basis:210px}
  .avs-ch-section--compact .avs-ch-term-card{flex-basis:230px}
}

/* =========================================================
   AvvalStock Category Hub v8.1 — Frontend UX + Smart Navigation
   ========================================================= */
.avs-category-hub--before-catalog{margin-bottom:10px}.avs-category-hub--after-catalog{margin-top:34px}.avs-category-hub--simple .avs-ch-hero{min-height:240px}.avs-category-hub--simple .avs-ch-hero__content{padding-top:30px;padding-bottom:30px}.avs-category-hub--simple .avs-ch-hero__media,.avs-category-hub--simple .avs-ch-hero__visual{min-height:240px}

.avs-ch-quicknav{margin:18px 0 22px;padding:14px;border:1px solid var(--avs-line);border-radius:20px;background:#fff;box-shadow:0 9px 28px rgba(17,24,39,.055)}
.avs-ch-quicknav__bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px}.avs-ch-quicknav__title{display:flex;align-items:center;gap:9px;min-width:0}.avs-ch-quicknav__title span{flex:0 0 auto;padding:5px 9px;border-radius:8px;color:var(--avs-red);background:#fff1f4;font-size:10px;font-weight:900}.avs-ch-quicknav__title strong{overflow:hidden;color:var(--avs-ink);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.avs-ch-quicknav__jumps{display:flex;align-items:center;gap:5px;overflow-x:auto;scrollbar-width:none}.avs-ch-quicknav__jumps::-webkit-scrollbar{display:none}.avs-ch-quicknav__jumps a{flex:0 0 auto;padding:7px 10px;border:1px solid var(--avs-line);border-radius:9px;color:var(--avs-muted);background:#fff;text-decoration:none;font-size:10px;font-weight:800}.avs-ch-quicknav__jumps a:hover{color:var(--avs-red);border-color:rgba(255,63,95,.35)}
.avs-ch-quicknav__rail{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.avs-ch-quicknav__item{min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:9px;min-height:62px;padding:8px 9px;border:1px solid var(--avs-line);border-radius:13px;color:var(--avs-ink)!important;background:var(--avs-soft);text-decoration:none!important;transition:border-color .18s ease,transform .18s ease,background .18s ease}.avs-ch-quicknav__item:hover{transform:translateY(-2px);border-color:rgba(255,63,95,.3);background:#fff}.avs-ch-quicknav__media,.avs-ch-quicknav__fallback{width:42px;height:42px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:11px;background:#fff}.avs-ch-quicknav__media img{width:100%;height:100%;object-fit:contain}.avs-ch-quicknav__fallback{color:var(--avs-red);font:900 11px/1 Arial,sans-serif}.avs-ch-quicknav__copy{min-width:0}.avs-ch-quicknav__copy strong,.avs-ch-quicknav__copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avs-ch-quicknav__copy strong{font-size:10px}.avs-ch-quicknav__copy small{margin-top:2px;color:var(--avs-muted);font-size:9px}.avs-ch-quicknav__item>i{color:#98a2b3;font-style:normal;font-size:15px}

.avs-ch-section--quick{margin-bottom:28px}.avs-ch-section--quick .avs-ch-term-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.avs-ch-section--quick .avs-ch-term-card{min-height:76px;display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:10px;padding:10px 12px;border-radius:15px;text-align:right}.avs-ch-section--quick .avs-ch-term-card__media{width:46px;height:46px;margin:0;border-radius:11px}.avs-ch-section--quick .avs-ch-term-card__media img{width:42px;height:42px}.avs-ch-section--quick .avs-ch-term-card__name{min-height:0;justify-content:flex-start;font-size:11px}.avs-ch-section--quick .avs-ch-term-card__subtitle{display:none}.avs-ch-section--quick .avs-ch-term-card__count{margin-top:2px;font-size:9px}
.avs-ch-section--featured .avs-ch-term-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.avs-ch-section--featured .avs-ch-term-card{min-height:168px;display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:16px;padding:20px;border-radius:22px;text-align:right;background:linear-gradient(145deg,#fff,#f7f8fa)}.avs-ch-section--featured .avs-ch-term-card__media{width:76px;height:76px;margin:0;border-radius:18px}.avs-ch-section--featured .avs-ch-term-card__name{min-height:0;justify-content:flex-start;font-size:15px}.avs-ch-section--featured .avs-ch-term-card__subtitle{font-size:11px;line-height:1.9}.avs-ch-section--featured .avs-ch-term-card__count{display:inline-flex;align-self:flex-start;width:max-content;padding:4px 8px;border-radius:7px;color:var(--avs-red);background:#fff1f4;font-weight:800}

.avs-ch-guide{margin:42px 0 26px;padding:clamp(20px,3vw,34px);border:1px solid var(--avs-line);border-radius:24px;background:#fff;box-shadow:0 12px 34px rgba(17,24,39,.045);scroll-margin-top:130px}.avs-ch-guide header{margin-bottom:18px}.avs-ch-guide header span,.avs-ch-related header span{display:block;margin-bottom:5px;color:var(--avs-red);font-size:10px;font-weight:900}.avs-ch-guide h2,.avs-ch-related h2{margin:0;color:var(--avs-ink);font-size:clamp(20px,2vw,28px);font-weight:900}.avs-ch-guide__content{max-width:1050px;color:#344054;font-size:14px;line-height:2.1}.avs-ch-guide__content h2,.avs-ch-guide__content h3{margin:24px 0 8px;color:var(--avs-ink);font-size:18px}.avs-ch-guide__content p{margin:0 0 12px}.avs-ch-guide__content ul{margin:10px 18px 16px 0}.avs-ch-guide__content a{color:var(--avs-red);font-weight:800}
.avs-ch-related{margin:32px 0 12px;scroll-margin-top:130px}.avs-ch-related header{margin-bottom:15px}.avs-ch-related__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.avs-ch-related__card{min-width:0;display:grid;grid-template-columns:54px minmax(0,1fr) 20px;align-items:center;gap:11px;min-height:78px;padding:11px 13px;border:1px solid var(--avs-line);border-radius:17px;color:var(--avs-ink)!important;background:#fff;text-decoration:none!important}.avs-ch-related__card:hover{border-color:rgba(255,63,95,.32);box-shadow:0 10px 24px rgba(17,24,39,.06)}.avs-ch-related__media{width:54px;height:54px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:14px;background:var(--avs-soft)}.avs-ch-related__media img{width:100%;height:100%;object-fit:contain}.avs-ch-related__media b{color:var(--avs-red);font:900 12px/1 Arial,sans-serif}.avs-ch-related__card strong,.avs-ch-related__card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avs-ch-related__card strong{font-size:12px}.avs-ch-related__card small{margin-top:4px;color:var(--avs-muted);font-size:9px}.avs-ch-related__card>i{color:#98a2b3;font-style:normal}

.avs-catalog-active--chips{justify-content:flex-start;flex-wrap:wrap;color:var(--avs-ink);background:#f8fafc}.avs-catalog-active__label{flex:0 0 auto;color:var(--avs-muted);font-size:10px;font-weight:800}.avs-catalog-chips{display:flex;flex:1 1 auto;flex-wrap:wrap;gap:6px}.avs-catalog-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid #ffd1d9;border-radius:9px;color:#9f1239!important;background:#fff1f4;text-decoration:none!important;font-size:10px;font-weight:800}.avs-catalog-chip b{font-size:14px;line-height:1}.avs-catalog-clear{margin-right:auto;color:var(--avs-red)!important;white-space:nowrap}.avs-catalog-empty{display:flex;align-items:flex-start;gap:14px;margin:18px 0;padding:18px;border:1px solid #fed7aa;border-radius:18px;background:#fff7ed}.avs-catalog-empty__icon{width:46px;height:46px;display:flex;align-items:center;justify-content:center;flex:0 0 46px;border-radius:14px;color:#c2410c;background:#ffedd5;font-size:26px}.avs-catalog-empty strong{display:block;margin-bottom:5px;color:var(--avs-ink);font-size:14px}.avs-catalog-empty p{margin:0 0 9px;color:var(--avs-muted);font-size:12px}.avs-catalog-empty a{color:var(--avs-red);font-size:11px;font-weight:900;text-decoration:none}

@media(max-width:1199px){.avs-ch-quicknav__rail{grid-template-columns:repeat(4,minmax(0,1fr))}.avs-ch-section--quick .avs-ch-term-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.avs-ch-section--featured .avs-ch-term-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.avs-ch-quicknav{margin:12px 0 14px;padding:10px;border-radius:17px}.avs-ch-quicknav__bar{display:block;margin-bottom:9px}.avs-ch-quicknav__title{margin-bottom:8px}.avs-ch-quicknav__jumps{margin-left:-10px;padding-bottom:2px}.avs-ch-quicknav__rail{display:flex;gap:8px;margin-left:-10px;padding:1px 0 4px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none}.avs-ch-quicknav__rail::-webkit-scrollbar{display:none}.avs-ch-quicknav__item{flex:0 0 175px;scroll-snap-align:start}.avs-ch-section--quick .avs-ch-term-grid,.avs-ch-section--featured .avs-ch-term-grid{display:flex;gap:9px;margin-left:-10px;padding-bottom:12px;overflow-x:auto;scroll-snap-type:x proximity}.avs-ch-section--quick .avs-ch-term-card{flex:0 0 190px}.avs-ch-section--featured .avs-ch-term-card{flex:0 0 260px;min-height:140px;grid-template-columns:64px minmax(0,1fr);padding:15px}.avs-ch-section--featured .avs-ch-term-card__media{width:64px;height:64px}.avs-ch-guide{margin-top:26px;padding:18px 15px;border-radius:19px}.avs-ch-guide__content{font-size:12px;line-height:2}.avs-ch-related__grid{display:flex;gap:8px;margin-left:-10px;padding-bottom:10px;overflow-x:auto;scroll-snap-type:x proximity}.avs-ch-related__card{flex:0 0 245px;scroll-snap-align:start}.avs-catalog-active--chips{display:block}.avs-catalog-active__label{display:block;margin-bottom:7px}.avs-catalog-chips{margin-bottom:7px}.avs-catalog-clear{display:inline-flex}.avs-category-hub--simple .avs-ch-hero__visual{display:none}}

/* =========================================================
   AvvalStock Category Hub v8.2 — Premium Discovery System
   ========================================================= */
.avs-ch-section__eyebrow{display:inline-flex;align-items:center;min-height:27px;margin:0 0 8px;padding:0 10px;border:1px solid #ffd5dd;border-radius:999px;color:#c81e42;background:#fff4f6;font-size:10px;font-weight:900;letter-spacing:.01em}
.avs-ch-section--iconic{margin-top:18px;margin-bottom:34px;padding:26px;border:1px solid #e6eaf0;border-radius:26px;background:linear-gradient(145deg,#fff,#f8fafc);box-shadow:0 12px 36px rgba(15,23,42,.045)}
.avs-ch-section--iconic .avs-ch-section__header{margin-bottom:20px}.avs-ch-section--iconic .avs-ch-term-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.avs-ch-section--iconic .avs-ch-term-card{min-height:142px;justify-content:center;padding:18px 12px;border-color:#e7ebf0;border-radius:20px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.035)}
.avs-ch-section--iconic .avs-ch-term-card:hover{transform:translateY(-4px);border-color:#ffbdc9;box-shadow:0 16px 34px rgba(255,63,95,.09)}
.avs-ch-section--iconic .avs-ch-term-card__media--icon{width:66px;height:66px;margin-bottom:12px;border-radius:20px;color:#ff3f5f;background:linear-gradient(145deg,#fff0f3,#fff8fa);box-shadow:inset 0 0 0 1px #ffdbe2}
.avs-ch-section--iconic .avs-ch-term-card__media--icon svg{width:34px;height:34px;stroke-width:1.7}.avs-ch-section--iconic .avs-ch-term-card__name{min-height:0;font-size:14px;line-height:1.65}.avs-ch-section--iconic .avs-ch-term-card__count{margin-top:5px;font-size:10px}

.avs-ch-section--brands{margin-bottom:34px}.avs-ch-section--brands .avs-ch-term-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}.avs-ch-section--brands .avs-ch-term-card{min-height:156px;padding:18px 10px;border-radius:20px;background:linear-gradient(180deg,#fff,#fcfcfd)}
.avs-ch-section--brands .avs-ch-term-card__media{width:76px;height:76px;margin-bottom:12px;background:#f7f8fa;box-shadow:inset 0 0 0 1px #edf0f4}.avs-ch-section--brands .avs-ch-term-card__media img{width:68px;height:68px}.avs-ch-section--brands .avs-ch-term-card__name{min-height:38px;font-size:13px}.avs-ch-section--brands .avs-ch-term-card__count{font-size:10px}

.avs-ch-section--rescue{margin:50px 0 12px;padding:28px;border-radius:28px;background:linear-gradient(135deg,#111827,#22314a);color:#fff;box-shadow:0 22px 54px rgba(17,24,39,.16)}
.avs-ch-section--rescue .avs-ch-section__eyebrow{border-color:rgba(255,255,255,.14);color:#ffd3db;background:rgba(255,255,255,.08)}.avs-ch-section--rescue .avs-ch-section__header h2{color:#fff}.avs-ch-section--rescue .avs-ch-section__header p{color:rgba(255,255,255,.68)}
.avs-ch-section--rescue .avs-ch-term-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.avs-ch-section--rescue .avs-ch-term-card{min-height:112px;display:grid;grid-template-columns:56px minmax(0,1fr) 24px;align-items:center;gap:13px;padding:14px 16px;border-color:rgba(255,255,255,.11);border-radius:18px;color:#fff!important;background:rgba(255,255,255,.07);text-align:right;box-shadow:none}.avs-ch-section--rescue .avs-ch-term-card:hover{border-color:rgba(255,255,255,.24);background:rgba(255,255,255,.1)}.avs-ch-section--rescue .avs-ch-term-card__media{width:56px;height:56px;margin:0;background:#fff}.avs-ch-section--rescue .avs-ch-term-card__name{min-height:0;justify-content:flex-start;color:#fff;font-size:13px}.avs-ch-section--rescue .avs-ch-term-card__subtitle,.avs-ch-section--rescue .avs-ch-term-card__count{color:rgba(255,255,255,.64)}.avs-ch-term-card__arrow{color:#fff;font-size:18px}

@media(max-width:1199px){.avs-ch-section--iconic .avs-ch-term-grid,.avs-ch-section--brands .avs-ch-term-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.avs-ch-section--rescue .avs-ch-term-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
