/* CAE Category – opis kategorije (po vzoru caraudioempire.com) + kartica za svetovanje. */
.term-description {
  --k-ink: #16191d; --k-txt: #454c55; --k-muted: #8b9199; --k-line: #eef1f4; --k-bg: #f7f8fa; --k-red: #e8322a; --k-red2: #c9261f;
  max-width: 920px; margin: 48px auto 8px !important; padding: 0 !important; color: var(--k-txt); font-size: 15.5px; line-height: 1.7;
}
.term-description p { margin: 0 0 14px; }
.term-description strong, .term-description b { color: var(--k-ink); }

/* naslovi: rdeča črtica + velike črke */
.term-description h2, .term-description h3 {
  display: flex; align-items: center; gap: 12px; color: var(--k-ink); font-weight: 700; text-transform: uppercase;
  letter-spacing: .02em; line-height: 1.2; margin: 38px 0 14px;
}
.term-description h2 { font-size: clamp(20px, 2.2vw, 24px); }
.term-description h3 { font-size: clamp(17px, 1.8vw, 19px); }
.term-description h2::before, .term-description h3::before { content: ""; width: 26px; height: 3px; flex: none; background: var(--k-red); border-radius: 2px; }

/* uvod: prvi odstavek za glavnim naslovom */
.term-description .cae-kat-body > h2:first-child { margin-top: 0; }
.term-description .cae-kat-body > h2:first-child + p { font-size: 17.5px; line-height: 1.65; color: var(--k-ink); }

/* povezave */
.term-description a { color: var(--k-red2); text-decoration: underline; text-decoration-color: rgba(232, 50, 42, .35); text-underline-offset: 3px; }
.term-description a:hover { color: var(--k-ink); text-decoration-color: var(--k-red); }

/* seznami: rdeče pike, ločilne črte */
.term-description ul { list-style: none !important; margin: 0 0 18px !important; padding: 0 !important; }
.term-description ul li { position: relative; padding: 8px 0 8px 20px; margin: 0 !important; border-bottom: 1px solid var(--k-line); list-style: none; }
.term-description ul li:last-child { border-bottom: 0; }
.term-description ul li::before { content: ""; position: absolute; left: 4px; top: 1.1em; width: 6px; height: 6px; border-radius: 999px; background: var(--k-red); }

/* znamke v kategoriji */
.term-description .cae-kat-brands { margin: 0 0 40px; padding-bottom: 32px; border-bottom: 1px solid var(--k-line); }
.term-description .cae-kat-brands h2 { margin-top: 0; }
.term-description .cae-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.term-description .cae-links a { border: 1px solid #e3e6ea; border-radius: 999px; padding: 6px 14px; font-size: 14px; line-height: 1.4; color: var(--k-ink); text-decoration: none; background: #fff; }
.term-description .cae-links a:hover { border-color: var(--k-red); color: var(--k-red2); }

/* ključni podatki */
.term-description .cae-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 22px 0 24px; }
.term-description .cae-fact { background: var(--k-bg); border: 1px solid var(--k-line); border-left: 3px solid var(--k-red); border-radius: 6px; padding: 12px 14px; line-height: 1.45; }
.term-description .cae-fact b { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: 12px; color: var(--k-muted); margin-bottom: 3px; }
.term-description .cae-fact span { font-size: 15px; font-weight: 600; color: var(--k-ink); }

/* poziv na koncu */
.term-description .cae-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--k-ink); color: #c9ced4; border-radius: 8px; padding: 22px 24px; margin: 34px 0; }
.term-description .cae-cta p { margin: 0; flex: 1 1 320px; }
.term-description .cae-cta strong { display: block; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: 19px; margin-bottom: 4px; }
.term-description .cae-cta a.cae-btn { display: inline-block; background: var(--k-red); color: #fff; text-decoration: none; font-weight: 700; border-radius: 6px; padding: 11px 18px; white-space: nowrap; }
.term-description .cae-cta a.cae-btn:hover { background: var(--k-red2); color: #fff; }

/* kartica med izdelki */
/* ena kartica, enaka višina in razmik kot sosednji izdelki (margin ostane iz teme) */
body ul.products li.product.cae-help-card { grid-column: span 1; list-style: none; position: relative; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; transition: none !important; min-height: 0 !important; }
@media (min-width: 601px) {
  body ul.products li.product.cae-help-card .cae-help-in { position: absolute; inset: 0; overflow: hidden; } /* ne sme podaljšati vrstice */
}
ul.products li.cae-help-card .cae-help-in { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 22px 18px; border-radius: 12px; background: #111; color: #c9c9ce; text-align: left; }
.cae-help-in svg { color: #ee3333; }
.cae-help-in b { font-size: 19px; line-height: 1.2; color: #fff; }
.cae-help-in p { margin: 0; font-size: 13.5px; line-height: 1.5; }
.cae-help-in .cae-help-btn { align-self: stretch; justify-content: center; height: auto !important; min-height: 42px; line-height: 1.25 !important; margin-top: 4px; padding: 10px 12px; box-sizing: border-box; white-space: normal; border-radius: 10px; background: #ee3333; color: #fff !important; display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; text-decoration: none; text-align: center; }
.cae-help-in .cae-help-btn:hover { background: #d42a2a; }

@media (max-width: 600px) {
  .term-description { font-size: 15px; margin-top: 32px !important; }
  .term-description .cae-kat-body > h2:first-child + p { font-size: 16.5px; }
  .term-description .cae-cta { padding: 18px; }
  /* na telefonu ena kartica (kot izdelek), da 35 izdelkov + kartica napolni vse vrstice po 2; brez daljšega besedila */
  body ul.products li.product.cae-help-card { grid-column: span 1; }
  ul.products li.cae-help-card .cae-help-in { padding: 16px 12px; gap: 8px; justify-content: center; }
  .cae-help-in svg { width: 24px; height: 24px; }
  .cae-help-in b { font-size: 16px; }
  .cae-help-in p { display: none; }
  .cae-help-in .cae-help-btn { font-size: 13px; min-height: 40px; padding: 8px 10px; }
}

/* =====================================================================
 * FILTRI (BeRocket) – nova oblika. Filtriranje ostane BeRocketovo.
 * ================================================================== */
.cae-fnew:is(.tax-product_cat,.cae-parch) #secondary { --f-ink: #141413; --f-muted: #5c5c63; --f-line: #e4e4e7; }
.cae-f-top { display: flex; justify-content: space-between; align-items: baseline; padding: 0 0 12px; border-bottom: 1px solid var(--f-line); }
.cae-f-top b { font-size: 18px; color: var(--f-ink); }
.cae-f-top-r { display: flex; align-items: center; gap: 14px; }
.cae-f-reset { font-size: 14px; color: var(--f-muted) !important; text-decoration: underline; }
.cae-f-x, .cae-f-foot { display: none !important; }

/* skupina */
.cae-fnew #secondary .bapf_sfilter { margin: 0 !important; padding: 16px 0 !important; border-bottom: 1px solid var(--f-line); }
.cae-fnew #secondary .bapf_sfilter .bapf_head { display: flex; align-items: center; justify-content: space-between; cursor: pointer; user-select: none; }
.cae-fnew #secondary .bapf_sfilter .bapf_head h3 { margin: 0 !important; font-size: 15px !important; font-weight: 700 !important; color: var(--f-ink) !important; text-transform: none !important; letter-spacing: 0 !important; }
.cae-fnew #secondary .bapf_sfilter .bapf_head::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--f-muted); border-bottom: 2px solid var(--f-muted); transform: rotate(-135deg) translate(-2px, -2px); transition: transform .15s; flex: none; margin-right: 4px; }
.cae-fnew #secondary .bapf_sfilter.cae-f-closed .bapf_head::after { transform: rotate(45deg) translate(-2px, -2px); }
.cae-fnew #secondary .bapf_sfilter .bapf_body { margin-top: 12px; }
.cae-fnew #secondary .bapf_sfilter.cae-f-closed .bapf_body { display: none !important; }
.cae-fnew #secondary .bapf_sfilter ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.cae-fnew #secondary .bapf_sfilter li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
.cae-fnew #secondary .bapf_sfilter li input[type=checkbox], .cae-fnew #secondary .bapf_sfilter li input[type=radio] { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; pointer-events: none; display: block !important; }

/* seznam s kvadratki (Tipo, Marchio …) */
.cae-fnew #secondary .cae-f-list ul { display: flex !important; flex-direction: column; gap: 2px; }
.cae-fnew #secondary .cae-f-list li label {
  display: flex !important; align-items: center; gap: 10px; padding: 5px 0 !important; margin: 0 !important;
  border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
  font-size: 15px !important; line-height: 1.35 !important; color: var(--f-ink) !important; cursor: pointer; text-align: left !important;
}
.cae-fnew #secondary .cae-f-list li label::before {
  content: ""; flex: none; width: 18px; height: 18px; box-sizing: border-box; border: 1.5px solid #a1a1aa; border-radius: 5px; background: #fff center / 12px no-repeat;
}
.cae-fnew #secondary .cae-f-list li label:hover::before { border-color: var(--f-ink); }
.cae-fnew #secondary .cae-f-list li input:checked + label { font-weight: 700 !important; }
.cae-fnew #secondary .cae-f-list li input:checked + label::before {
  background-color: var(--f-ink); border-color: var(--f-ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
}
.cae-fnew #secondary .cae-f-list li input:focus-visible + label::before { outline: 2px solid var(--f-ink); outline-offset: 2px; }

/* čipi (Diametro, Impedenza …) */
.cae-fnew #secondary .cae-f-chips ul { display: flex !important; flex-wrap: wrap; gap: 6px; }
.cae-fnew #secondary .cae-f-chips li { width: auto !important; flex: 0 0 auto; }
.cae-fnew #secondary .cae-f-chips li label {
  display: inline-flex !important; align-items: center; height: 34px; padding: 0 12px !important; margin: 0 !important;
  border: 1px solid var(--f-line) !important; border-radius: 8px !important; background: #fff !important; box-shadow: none !important;
  font-size: 13px !important; font-weight: 600 !important; color: var(--f-ink) !important; cursor: pointer; white-space: nowrap;
}
.cae-fnew #secondary .cae-f-chips li label:hover { border-color: var(--f-ink) !important; }
.cae-fnew #secondary .cae-f-chips li input:checked + label { background: var(--f-ink) !important; border-color: var(--f-ink) !important; color: #fff !important; }

/* znamke: prvih 8 + iskanje + »Mostra tutti« */
.cae-fnew #secondary .cae-f-search { width: 100%; height: 38px; box-sizing: border-box; margin: 0 0 8px; padding: 0 10px 0 34px !important; border: 1px solid var(--f-line) !important; border-radius: 8px !important; font-size: 14px !important; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 10px center / 16px no-repeat !important; box-shadow: none !important; }
.cae-fnew #secondary .cae-f-collapsed:not(.cae-f-searching) ul li:nth-child(n+9):not(:has(input:checked)) { display: none !important; }
.cae-fnew #secondary .cae-f-searching .cae-f-more { display: none; }
.cae-fnew #secondary .cae-f-more { margin-top: 8px; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; font-size: 14px !important; font-weight: 700 !important; color: var(--f-ink) !important; text-decoration: underline; cursor: pointer; min-height: 0 !important; }

/* izbrani filtri nad izdelki */
.cae-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
.cae-active[hidden] { display: none; }
.cae-chip-x { display: inline-flex !important; align-items: center; gap: 6px; height: 34px; padding: 0 12px !important; border-radius: 17px !important; border: 1px solid #e4e4e7 !important; background: #fff !important; color: #141413 !important; font-size: 14px !important; font-weight: 600 !important; cursor: pointer; min-width: 0 !important; line-height: 1 !important; }
.cae-chip-x:hover { border-color: #141413 !important; }
.cae-clear { font-size: 14px; color: #5c5c63 !important; text-decoration: underline; margin-left: 4px; }
.cae-mbar { display: none; }

/* postavitev na računalniku: ožji stolpec filtrov, 4 izdelki v vrsti */
@media (min-width: 922px) {
  .cae-fnew:is(.tax-product_cat,.cae-parch) #secondary { width: 264px !important; flex: 0 0 264px !important; padding-right: 28px !important; }
  .cae-fnew:is(.tax-product_cat,.cae-parch) #primary { width: auto !important; flex: 1 1 auto !important; min-width: 0; padding-left: 32px !important; }
  .cae-fnew:is(.tax-product_cat,.cae-parch) .berocket_element_above_products { display: none !important; }
}
@media (min-width: 1200px) {
  .cae-fnew:is(.tax-product_cat,.cae-parch) ul.products.columns-3 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

/* =================== MOBILNO: spodnji list =================== */
@media (max-width: 921px) {
  .cae-fnew:is(.tax-product_cat,.cae-parch) .berocket_element_above_products { display: none !important; }
  .cae-mbar { display: flex; gap: 8px; position: sticky; top: 0; z-index: 90; margin: 0 -20px 12px; padding: 10px 20px; background: #fff; border-top: 1px solid #e4e4e7; border-bottom: 1px solid #e4e4e7; box-shadow: 0 6px 14px rgba(0,0,0,.04); }
  .admin-bar .cae-mbar { top: 46px; }
  .cae-mbar-f { flex: 1 1 0; height: 44px; border: 0 !important; border-radius: 10px !important; background: #141413 !important; color: #fff !important; display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; font-size: 15px !important; font-weight: 700 !important; padding: 0 10px !important; min-width: 0 !important; }
  .cae-mbar-f i { font-style: normal; padding: 1px 7px; border-radius: 9px; background: #fff; color: #141413; font-size: 12px; }
  .cae-mbar-f i[hidden] { display: none; }
  .cae-mbar-s { flex: 1 1 0; min-width: 0; height: 44px !important; border: 1px solid #e4e4e7 !important; border-radius: 10px !important; padding: 0 12px !important; font-size: 15px !important; font-weight: 600; background-color: #fff !important; }
  .cae-fnew:is(.tax-product_cat,.cae-parch) .ast-shop-toolbar-container .woocommerce-ordering { display: none !important; }

  .cae-fnew:is(.tax-product_cat,.cae-parch) #secondary {
    display: block !important; position: fixed !important; left: 0; right: 0; bottom: 0; top: auto; z-index: 100000;
    height: auto !important; max-height: 88vh; width: auto !important; margin: 0 !important; padding: 0 !important;
    background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -10px 30px rgba(0,0,0,.18);
    transform: translateY(105%); transition: transform .22s ease; visibility: hidden; overflow: hidden; border: 0 !important;
  }
  html.cae-f-open body.cae-fnew #secondary { transform: none; visibility: visible; }
  .cae-fnew:is(.tax-product_cat,.cae-parch) #secondary .sidebar-main { display: flex !important; flex-direction: column; max-height: 88vh; }
  .cae-fnew:is(.tax-product_cat,.cae-parch) #secondary .ast-filter-wrap { flex: 1 1 auto; overflow-y: auto; padding: 0 16px; -webkit-overflow-scrolling: touch; }
  .cae-fnew:is(.tax-product_cat,.cae-parch) #secondary .bapf_sngl_hd_mobile { display: block !important; }
  .cae-f-top { flex: none; align-items: center; padding: 16px 16px 12px; }
  .cae-f-x { display: inline-flex !important; padding: 0 !important; border: 0 !important; background: none !important; color: #141413 !important; min-width: 0 !important; }
  .cae-f-foot { display: block !important; flex: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #e4e4e7; }
  .cae-f-show { width: 100%; height: 52px; border: 0 !important; border-radius: 12px !important; background: #141413 !important; color: #fff !important; font-size: 16px !important; font-weight: 700 !important; }
  /* na mobilnem so Tipo in Marchio čipi – hitrejši dotik */
  .cae-fnew #secondary .cae-f-list ul { flex-direction: row !important; flex-wrap: wrap; gap: 6px; }
  .cae-fnew #secondary .cae-f-list li { width: auto !important; flex: 0 0 auto; }
  .cae-fnew #secondary .cae-f-list li label { display: inline-flex !important; height: 36px; padding: 0 14px !important; border: 1px solid #e4e4e7 !important; border-radius: 18px !important; font-size: 14px !important; font-weight: 600 !important; }
  .cae-fnew #secondary .cae-f-list li label::before { display: none; }
  .cae-fnew #secondary .cae-f-list li input:checked + label { background: #141413 !important; border-color: #141413 !important; color: #fff !important; }
  .cae-f-backdrop { position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,.4); opacity: 0; visibility: hidden; transition: opacity .2s; }
  html.cae-f-open .cae-f-backdrop { opacity: 1; visibility: visible; }
  html.cae-f-open, html.cae-f-open body { overflow: hidden; }
}

/* =====================================================================
 * NOVE KARTICE IZDELKOV + PODKATEGORIJE NA VRHU (body.cae-cnew)
 * ================================================================== */
body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product:not(.cae-help-card) {
  position: relative; display: flex !important; flex-direction: column; box-sizing: border-box;
  background: #fff !important; border: 1px solid #e4e4e7 !important; border-radius: 12px !important; box-shadow: none !important;
  padding: 12px 12px 14px !important; text-align: left !important; transition: border-color .15s;
}
body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product:not(.cae-help-card):hover { border-color: #a1a1aa !important; }
body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product .astra-shop-thumbnail-wrap { position: relative; margin: 0 0 8px !important; background: #fff !important; }
body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product .astra-shop-thumbnail-wrap img { width: 100% !important; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border-radius: 8px; margin: 0 0 4px !important; }
body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product .cae-loop-attributes { display: flex !important; flex-direction: row !important; align-items: baseline !important; flex-wrap: wrap !important; justify-content: flex-start !important; gap: 0 !important; margin: 6px 0 0 !important; padding: 0 !important; background: none !important; text-align: left !important; }
body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product .cae-attr-item { display: inline !important; width: auto !important; font-size: 12px !important; line-height: 1.4 !important; color: #5c5c63 !important; margin: 0 !important; padding: 0 !important; text-align: left !important; }
/* pika pred vsakim atributom; na začetku vrstice pade v odrezan pas levo, zato je ni videti */
body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product .cae-loop-attributes { margin-left: -14px !important; width: calc(100% + 14px) !important; clip-path: inset(0 0 0 14px); }
body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product .cae-attr-item { white-space: nowrap; }
body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product .cae-attr-item::before { content: "·"; display: inline-block; width: 14px; text-align: center; color: #a1a1aa; }
body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products .astra-shop-summary-wrap { display: flex; flex-direction: column; flex: 1 1 auto; padding: 0 !important; text-align: left !important; align-items: flex-start !important; }
.cae-lc-brand { display: block; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #5c5c63; margin: 0 0 2px; }
body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product .woocommerce-loop-product__title {
  font-size: 15px !important; font-weight: 700 !important; line-height: 1.3 !important; margin: 0 0 10px !important; padding: 0 !important; text-align: left !important; color: #141413 !important;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product .astra-shop-summary-wrap .price {
  display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; align-items: baseline !important; justify-content: flex-start !important; align-self: stretch !important; width: 100% !important; box-sizing: border-box; column-gap: 8px; margin: auto 0 0 !important; padding-right: 46px;
  font-size: 19px !important; font-weight: 700 !important; color: #141413 !important; text-align: left !important; justify-content: flex-start !important;
}
body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product .price del { font-size: 13px !important; font-weight: 400; color: #71717a !important; opacity: 1; }
body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product .price ins { order: -1; text-decoration: none; color: #c8261a !important; font-weight: 700; background: none; }
body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product .astra-shop-summary-wrap .price .stock {
  flex: 0 0 100% !important; display: flex !important; align-items: center; justify-content: flex-start !important; text-align: left !important; gap: 6px; width: 100% !important; margin: 6px 0 0 !important; padding: 0 !important;
  background: none !important; border: 0 !important; box-shadow: none !important; font-size: 12px !important; font-weight: 600 !important; color: #1b7f3b !important; line-height: 1.3;
}
body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product .price .stock::before { content: ""; width: 7px; height: 7px; border-radius: 4px; background: currentColor; flex: none; }
body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product .price .stock img, body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product .price .stock i, body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product .price .stock svg { display: none !important; }
.cae-lc-badge { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 4px 9px; border-radius: 6px; background: #c8261a; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.3; }
body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product .onsale { display: none !important; }
.cae-lc-add {
  position: absolute; right: 12px; bottom: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 19px; box-sizing: border-box;
  background: #fff !important; border: 1.5px solid #141413 !important; color: #141413 !important; display: inline-flex !important; align-items: center; justify-content: center;
  padding: 0 !important; margin: 0 !important; min-height: 0 !important; line-height: 1 !important; text-decoration: none !important; box-shadow: none !important; transition: background .15s, color .15s;
}
.cae-lc-add:hover, .cae-lc-add:focus-visible { background: #141413 !important; color: #fff !important; }
.cae-lc-add.added { background: #1b7f3b !important; border-color: #1b7f3b !important; color: #fff !important; }
.cae-lc-add svg { display: block !important; width: 18px !important; height: 18px !important; stroke: currentColor !important; fill: none !important; color: inherit !important; opacity: 1 !important; }
.cae-lc-add::before { display: none !important; }
.cae-lc-add.loading { opacity: .5; }
.cae-lc-add.added::after { display: none !important; }
body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product .added_to_cart { display: none !important; }

/* podkategorije in hitra izbira */
.cae-subnav { margin: 0 0 22px; }
.cae-subs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.cae-sub { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border: 1px solid #e4e4e7; border-radius: 12px; background: #fff; color: #141413 !important; text-decoration: none !important; transition: border-color .15s; }
.cae-sub:hover { border-color: #141413; }
.cae-sub-i { width: 44px; height: 44px; border-radius: 10px; background: #f4f4f5; display: flex; align-items: center; justify-content: center; flex: none; }
.cae-sub-i svg { width: 34px; height: 34px; }
.cae-sub-t { display: flex; flex-direction: column; min-width: 0; }
.cae-sub-t b { font-size: 14px; line-height: 1.25; }
.cae-sub-t small { font-size: 12px; color: #5c5c63; }
.cae-sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.cae-sizes > b { display: none; } /* oznake »Po velikosti:« ipd. skrite – naslovi so v filtrih */
.cae-size.is-on { background: #141413 !important; color: #fff !important; border-color: #141413 !important; }
.cae-size.is-on span { font-size: 11px; margin-left: 2px; }
/* telefon: brez gumba Filtri (hitra izbira je zgoraj), ostane samo razvrščanje čez celo širino; brez vrstice izbranih filtrov */
@media (max-width: 921px) {
  .cae-mbar .cae-mbar-f { display: none !important; }
  .cae-mbar .cae-mbar-s { flex: 1 1 100%; }
  #cae-active { display: none !important; }
  .cae-mbar { position: static !important; box-shadow: none !important; margin-bottom: 10px !important; }
  /* enak razmik (10 px) med razvrščanjem, številom zadetkov in izdelki kot med vrsticami filtrov */
  .ast-shop-toolbar-container { margin: 0 !important; padding: 0 !important; min-height: 0 !important; }
  .ast-shop-toolbar-container .ast-shop-toolbar-aside-wrap { padding: 0 !important; margin: 0 !important; }
  .ast-shop-toolbar-container .ast-shop-toolbar-aside-wrap:empty, .ast-shop-toolbar-container .ast-shop-toolbar-aside-wrap:not(:has(*:not(.woocommerce-ordering))) { display: none !important; }
  body.woocommerce ul.products { margin-top: 10px !important; }
  .cae-sizes > b { display: none; }
  /* naslov kategorije: na sredini, z zrakom, rdeč poudarek in število izdelkov */
  .ast-archive-description, .ast-archive-description .ast-archive-title, .cae-arch-n { text-align: center !important; }
  .ast-archive-description { padding: 14px 0 18px !important; margin-bottom: 0 !important; border-bottom: 0 !important; }
  .ast-archive-description .ast-archive-title { display: inline-block; font-size: 26px !important; font-weight: 800 !important; letter-spacing: -.02em; line-height: 1.1 !important; color: #141413 !important; margin: 0 !important; }
  .ast-archive-description .ast-archive-title::after { content: ""; display: block; width: 100%; height: 2px; border-radius: 2px; background: #c8261a; margin: 8px 0 0; }
  .woocommerce-products-header:has(.cae-arch-n) { margin: 0 !important; padding: 0 !important; }
  .cae-arch-n { margin: 8px 0 16px !important; line-height: 1.2 !important; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #71717a; }
}
@media (max-width: 921px) {
  /* podkategorije, ki jih na telefonu nadomestijo filtri (tip, velikost …), da se izbire lahko seštevajo */
  .cae-m-nosubs .cae-subs, .cae-m-nosizes .cae-sizes:not(.cae-attr-row) { display: none !important; }
}
@media (min-width: 922px) {
  .cae-attr-mob { display: none !important; }
  .cae-arch-n { display: none; }
}
.cae-size { height: 34px; padding: 0 12px; border: 1px solid #e4e4e7; border-radius: 8px; background: #fff; color: #141413 !important; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; text-decoration: none !important; white-space: nowrap; }
.cae-size small { font-weight: 500; color: #71717a; }
.cae-size:hover { border-color: #141413; }

@media (max-width: 921px) {
  body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product:not(.cae-help-card) { padding: 10px 10px 12px !important; }
  body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; }
  body.cae-cnew:is(.tax-product_cat,.cae-parch,.tax-product_brand,.single-product,.woocommerce-cart) ul.products li.product .astra-shop-summary-wrap .price { font-size: 17px !important; padding-right: 40px; }
  .cae-lc-add { width: 34px; height: 34px; right: 10px; bottom: 12px; }
  .cae-subs { display: flex; overflow-x: auto; gap: 8px; margin: 0 -20px; padding: 0 20px 2px; scrollbar-width: none; }
  .cae-subs::-webkit-scrollbar { display: none; }
  .cae-sub { flex: 0 0 auto; border-radius: 22px; padding: 6px 14px 6px 6px; }
  .cae-sub-i { width: 32px; height: 32px; border-radius: 16px; }
  .cae-sub-i svg { width: 24px; height: 24px; }
  .cae-sub-t b { font-size: 14px; white-space: nowrap; }
  .cae-sub-t small { display: none; }
  .cae-sizes { flex-wrap: nowrap; overflow-x: auto; margin: 10px -20px 0; padding: 0 20px 2px; scrollbar-width: none; }
  .cae-sizes::-webkit-scrollbar { display: none; }
  .cae-sizes > b { white-space: nowrap; }
}

/* paginacija v nevtralnih barvah */
body.cae-cnew .woocommerce-pagination { margin: 28px 0 8px !important; text-align: center; }
body.cae-cnew .woocommerce-pagination ul.page-numbers { display: inline-flex !important; flex-wrap: wrap; justify-content: center; gap: 6px; border: 0 !important; margin: 0 !important; padding: 0 !important; background: none !important; }
body.cae-cnew .woocommerce-pagination ul.page-numbers li { border: 0 !important; margin: 0 !important; padding: 0 !important; background: none !important; float: none !important; display: block; }
body.cae-cnew .woocommerce-pagination ul.page-numbers li .page-numbers {
  min-width: 40px; height: 40px; box-sizing: border-box; padding: 0 10px !important; margin: 0 !important; display: inline-flex !important; align-items: center; justify-content: center;
  border: 1px solid #e4e4e7 !important; border-radius: 10px !important; background: #fff !important; color: #141413 !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1 !important; text-decoration: none !important; box-shadow: none !important; transition: border-color .15s;
}
body.cae-cnew .woocommerce-pagination ul.page-numbers li a.page-numbers:hover, body.cae-cnew .woocommerce-pagination ul.page-numbers li a.page-numbers:focus-visible { border-color: #141413 !important; background: #fff !important; color: #141413 !important; }
body.cae-cnew .woocommerce-pagination ul.page-numbers li span.current { background: #141413 !important; border-color: #141413 !important; color: #fff !important; }
body.cae-cnew .woocommerce-pagination ul.page-numbers li span.dots { border-color: transparent !important; background: none !important; color: #71717a !important; min-width: 24px; padding: 0 !important; }
@media (max-width: 921px) { body.cae-cnew .woocommerce-pagination ul.page-numbers li .page-numbers { min-width: 36px; height: 36px; font-size: 13px !important; } }

/* opisi kategorij po znamkah: tabela serij, pogosta vprašanja, sorodne povezave */
.term-description table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 6px 0 22px; border: 1px solid var(--k-line); border-radius: 12px; overflow: hidden; font-size: 14.5px; background: #fff; }
.term-description table th { background: var(--k-bg); color: var(--k-ink); font-weight: 700; text-align: left; padding: 10px 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; border: 0; }
.term-description table td { padding: 11px 14px; border: 0; border-top: 1px solid var(--k-line); vertical-align: top; line-height: 1.5; }
.term-description table td:first-child { font-weight: 700; color: var(--k-ink); white-space: nowrap; }
.term-description details.cae-faq { border: 1px solid var(--k-line); border-radius: 12px; margin: 0 0 10px; background: #fff; }
.term-description details.cae-faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-weight: 700; color: var(--k-ink); position: relative; }
.term-description details.cae-faq summary::-webkit-details-marker { display: none; }
.term-description details.cae-faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--k-red); }
.term-description details.cae-faq[open] summary::after { content: "–"; }
.term-description details.cae-faq p { margin: 0; padding: 0 16px 14px; }
@media (max-width: 600px) {
  .term-description table { font-size: 13.5px; }
  .term-description table th, .term-description table td { padding: 9px 10px; }
  .term-description table td:first-child { white-space: normal; }
}

/* iskanje: filter po kategoriji */
.cae-sf ul { list-style: none; margin: 0; padding: 0; }
.cae-sf li { margin: 0; padding: 0; }
.cae-sf li a { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: #141413; text-decoration: none; font-size: 15px; line-height: 1.3; }
.cae-sf li a:hover { color: #c8261a; }
.cae-sf li small { margin-left: auto; color: #71717a; font-size: 13px; }
.cae-sf .cae-sf-box { width: 18px; height: 18px; flex: 0 0 18px; border: 1.5px solid #a1a1aa; border-radius: 4px; background: #fff; }
.cae-sf .cae-sf-on a { font-weight: 700; }
.cae-sf .cae-sf-on .cae-sf-box { border-color: #141413; background: #141413 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat; }
.cae-sf .cae-sf-back a { font-size: 13px; color: #52525b; padding-bottom: 10px; }

/* akcijska vrstica v kartici (config cat.sale_row) – kot na .com */
ul.products li.product .price .cae-price-row { display: inline-flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
ul.products li.product .price .cae-price-row ins { text-decoration: none; color: #c8261a !important; font-weight: 800; background: none; order: 0; }
ul.products li.product .price .cae-discount { display: inline-block; padding: 4px 8px; border-radius: 6px; background: #ffd9d6; color: #a81e14; font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; }
ul.products li.product .price .cae-regular { flex: 0 0 100%; display: block; font-size: 13px; color: #8a8f98; font-weight: 400; line-height: 1.2; white-space: nowrap; margin-top: 2px; }
ul.products li.product .price .cae-regular del { display: inline !important; width: auto !important; margin: 0 !important; color: inherit !important; font-size: inherit !important; font-weight: inherit; opacity: 1; }
/* zaloga na kartici: »Ni na zalogi« rdeče (enako kot na strani izdelka) */
body.cae-cnew ul.products li.product .astra-shop-summary-wrap .price .stock.out-of-stock.out-of-stock,
body.cae-cnew ul.products li.product .price .stock.out-of-stock.out-of-stock.out-of-stock.out-of-stock { color: #d32f2f !important; }
/* okvir »Kupnja kod CarAudioEmpire …« v opisu kategorije: navaden odstavek (bil je flex in je raztegnil besedilo) */
.cae-kat-cta { display: block !important; line-height: 1.7 !important; }
.cae-kat-cta > strong { display: inline !important; margin-right: 6px; }
.cae-kat-cta a { display: inline !important; }
/* razvrščanje na računalniku: puščica ne sme prekriti besedila */
@media (min-width: 922px) {
  .woocommerce-ordering { width: auto !important; max-width: none !important; }
  .woocommerce-ordering select.orderby { width: 300px !important; max-width: none !important; padding-right: 38px !important; background-position: right 12px center !important; }
}
/* drobtinice (Astra) nad naslovom kategorije skrite – kot na .com */
.tax-product_cat .ast-breadcrumbs-wrapper, .tax-product_brand .ast-breadcrumbs-wrapper, .post-type-archive-product .ast-breadcrumbs-wrapper, .ast-archive-description .ast-breadcrumbs-wrapper { display: none !important; }
@media (min-width: 922px) {
  .tax-product_cat .ast-archive-description .ast-archive-title, .tax-product_brand .ast-archive-description .ast-archive-title { font-size: 28px !important; }
}
