/* =========================================================================
   CAE Product Page – Astra + WooCommerce
   Naloži se samo na single product. Mobile-first, prelom 921px (Astra).
   ====================================================================== */

:root {
  --cae-ink: #141413;
  --cae-muted: #5c5c60;
  --cae-line: #e4e4e7;
  --cae-line-2: #d4d4d8;
  --cae-bg: #f4f4f5;
  --cae-red: #c8261a;        /* brand rdeča (značke, akcijska cena) */
  --cae-red-dark: #a81e14;
  /* CTA gumb: privzeto Astrina globalna barva teme (na .it modra); za brand rdečo zamenjaj z var(--cae-red) */
  --cae-cta: var(--ast-global-color-0, #c8261a);
  --cae-cta-hover: var(--ast-global-color-1, #a81e14);
  --cae-green: #1b7f3b;
  --cae-radius: 10px;
  --cae-cta-h: 52px;
}

/* ---------- Ozadje: stran izdelka na belem (kategorije ostanejo sive) --- */
body.single-product,
body.single-product .site-content,
body.single-product #content,
body.single-product #primary,
body.single-product #content .ast-container { background: #ffffff !important; }
.single-product div.product .woocommerce-product-gallery { background: transparent; box-shadow: none; }
.single-product .woocommerce-product-gallery__wrapper { border: 0; border-radius: 12px; overflow: hidden; background: #fff; }
.single-product .woocommerce-product-gallery__image img { border-radius: 0; }

/* ---------- Drobtinice ------------------------------------------------ */
.single-product div.product .summary > .woocommerce-breadcrumb { display: none; }
.single-product .woocommerce-breadcrumb {
  text-align: left; justify-content: flex-start;
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  margin: 0 0 10px; font-size: 13px; color: var(--cae-muted);
}
.single-product .woocommerce-breadcrumb a { color: var(--cae-muted); text-decoration: none; }
.single-product .woocommerce-breadcrumb .cae-bc-sep { color: var(--cae-line-2); }

/* ---------- Galerija -------------------------------------------------- */
.single-product div.product .woocommerce-product-gallery { position: relative; }
.single-product .woocommerce-product-gallery__image { position: relative; }
.single-product .woocommerce-product-gallery__image img { border-radius: 12px; }
.cae-img-badges { position: absolute; top: 12px; left: 12px; z-index: 5; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; pointer-events: none; }
.cae-img-badge {
  display: inline-block; padding: 5px 10px; border-radius: 999px; line-height: 1.2;
  background: var(--cae-green); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase;
}
.cae-img-badge--sale { background: var(--cae-red); }
.single-product div.product span.onsale { display: none !important; }
.single-product .flex-control-thumbs li img { border-radius: 8px; border: 0 !important; outline: 0 !important; box-shadow: none !important; opacity: .5; transition: opacity .15s ease; }
.single-product .flex-control-thumbs li img.flex-active, .single-product .flex-control-thumbs li img:hover { opacity: 1; }
/* brez robov na glavni sliki in sličicah (tudi Astrini drsniki) */
.single-product .ast-single-product-thumbnails img, .single-product .ast-single-product-thumbnails li, .single-product .ast-single-product-thumbnails .woocommerce-product-gallery-thumbnails__wrapper > div, .single-product .woocommerce-product-gallery__image, .single-product .woocommerce-product-gallery .flex-viewport { border: 0 !important; outline: 0 !important; box-shadow: none !important; }
/* Astra: modra obroba aktivne sličice (::after) – brez */
.single-product .ast-woocommerce-product-gallery__image.flex-active-slide::after { display: none !important; }
.single-product .ast-single-product-thumbnails img { opacity: .5; border-radius: 8px; transition: opacity .15s ease; }
.single-product .ast-single-product-thumbnails img.flex-active, .single-product .ast-single-product-thumbnails .flex-active-slide img, .single-product .ast-single-product-thumbnails img:hover { opacity: 1; }

/* Sličice: če drsnik (flexslider) ni zagnan, jih vseeno držimo v vrsti */
.single-product .ast-single-product-thumbnails:not(:has(.flex-viewport)) .woocommerce-product-gallery-thumbnails__wrapper { display: flex; gap: 12px; flex-wrap: wrap; }
.single-product .ast-single-product-thumbnails:not(:has(.flex-viewport)) .woocommerce-product-gallery-thumbnails__wrapper > div { width: 80px; flex: 0 0 80px; }
.single-product .ast-single-product-thumbnails:not(:has(.flex-viewport)) .woocommerce-product-gallery-thumbnails__wrapper img { width: 80px; height: 80px; object-fit: cover; }

/* ---------- Povzetek (summary): vrstni red brez PHP ------------------ */
.single-product div.product .summary {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 16px; row-gap: 12px;
  align-items: end;
  margin-top: 8px;
}
.single-product div.product .summary > * { grid-column: 1 / -1; margin: 0; }

.single-product div.product .summary > .cae-brandline   { order: 1; }
.single-product div.product .summary > .product_title   { order: 2; }
.single-product div.product .summary > .woocommerce-product-rating { order: 3; }
.single-product div.product .summary > .cae-keyspecs    { order: 4; }
.single-product div.product .summary > .woocommerce-product-details__short-description { order: 5; }
.single-product div.product .summary > .price           { order: 6; grid-column: 1 / 2; }
.single-product div.product .summary > .stock           { order: 6; grid-column: 2 / 3; justify-self: end; text-align: right; }
.single-product div.product .summary > .cae-price-note,
.single-product div.product .summary > .pph-lowest-price { order: 7; font-size: 13px; color: var(--cae-muted); line-height: 1.35; }
.single-product div.product .summary > .cae-price-note  { margin-top: -4px !important; }
.single-product div.product .summary > form.cart        { order: 8; }
.single-product div.product .summary > .cae-install     { order: 9; }
.single-product div.product .summary > .cae-trust       { order: 10; }
.single-product div.product .summary > .product_meta,
.single-product div.product .summary > p:empty          { display: none; }
/* stare lastne škatle, če še ostanejo v kodi */
.summary .cae-specs, .summary .cae-warranty-box { display: none !important; }

/* Znamka + tip + šifra */
.cae-brandline { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cae-brandline-l { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.cae-type { padding: 4px 10px; border-radius: 6px; background: var(--cae-bg); border: 0; font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--cae-ink); white-space: nowrap; }
.cae-brand { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--cae-red); text-decoration: none; }
.cae-sku { font-size: 12px; color: var(--cae-muted); white-space: nowrap; flex-shrink: 0; align-self: flex-start; padding-top: 3px; }

/* Naslov */
.single-product div.product .summary .product_title {
  font-size: 26px; line-height: 1.15; font-weight: 700; color: var(--cae-ink);
}

/* Ocena – vedno vidna vrstica, tudi brez ocen (klik pelje na zavihek) */
.summary > .woocommerce-product-rating { font-size: 13px; color: var(--cae-muted); }

/* Ključne specifikacije: kratke oznake v eni vrstici (»2-kanalni«, »2×132 W RMS @ 4 Ω«) */
.cae-keyspecs { display: flex; flex-wrap: wrap; gap: 6px; }
.cae-key { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 10px; border-radius: 8px; background: var(--cae-bg); color: var(--cae-ink); font-size: 14px; font-weight: 600; line-height: 1.25; letter-spacing: -0.1px; }
.cae-key::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #c8261a; flex: 0 0 6px; }

/* Kratki opis */
.summary > .woocommerce-product-details__short-description p { margin: 0; font-size: 15px; line-height: 1.5; color: #2a2a2e; }

/* Cena + zaloga */
.single-product div.product .summary .price {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 34px; line-height: 1; font-weight: 700; color: var(--cae-ink);
}
.single-product div.product .summary .price del { font-size: 15px; color: var(--cae-muted); font-weight: 500; }
.single-product div.product .summary .price ins { text-decoration: none; color: var(--cae-red); }
.cae-vat { font-size: 12px; font-weight: 400; color: var(--cae-muted); }
.single-product div.product .summary .price .cae-vat { margin-top: 6px; line-height: 1.2; }
/* rezerva: če oznaka vseeno pristane izven cene, naj bo takoj pod njo */
.single-product div.product .summary > .cae-vat { order: 6; grid-column: 1 / 2; margin-top: -8px !important; }

.single-product div.product .summary .stock {
  background: transparent !important; border: 0 !important; padding: 0 !important; margin: 0 !important;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 6px; align-self: center;
  font-size: 13px; font-weight: 600; color: var(--cae-green);
}
.single-product div.product .summary .stock::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: 0 0 7px;
  background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent);
}
/* zaloga kot oznaka ob ceni (brez dodatne vrstice o dobavi) */
.single-product div.product .summary .stock:not(:has(.cae-delivery)) {
  padding: 6px 12px 6px 10px !important; border-radius: 999px; background: color-mix(in srgb, currentColor 10%, #fff) !important;
}
.single-product div.product .summary .stock .cae-delivery { flex-basis: 100%; text-align: right; }
.single-product div.product .summary .stock.out-of-stock { color: var(--cae-red); }
.cae-delivery { font-weight: 400; color: var(--cae-muted); }

/* ---------- CTA: količina + gumb v eni vrstici ------------------------ */
.single-product div.product form.cart {
  display: flex; gap: 10px; align-items: stretch; flex-wrap: nowrap;
  width: 100%; max-width: 100%; box-sizing: border-box; padding: 0 !important; margin: 0 !important;
}
.single-product div.product form.cart .quantity {
  display: flex; align-items: center; justify-content: space-between;
  width: 116px; height: var(--cae-cta-h); flex: 0 0 116px; margin: 0 !important;
  border: 1px solid var(--cae-line-2); border-radius: var(--cae-radius); padding: 0 4px; box-sizing: border-box;
}
.single-product div.product form.cart .quantity .minus,
.single-product div.product form.cart .quantity .plus {
  width: 36px; height: 44px; line-height: 44px; text-align: center;
  border: 0; background: transparent; color: var(--cae-ink); font-size: 20px; text-decoration: none;
}
.single-product div.product form.cart .quantity input.qty {
  width: 36px; height: 44px; border: 0; background: transparent; text-align: center;
  font-weight: 600; font-size: 16px; padding: 0; -moz-appearance: textfield;
}
.single-product div.product form.cart .quantity input.qty::-webkit-inner-spin-button,
.single-product div.product form.cart .quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none; }

.single-product div.product form.cart .single_add_to_cart_button {
  flex: 1 1 0; min-width: 0 !important; width: auto !important; height: var(--cae-cta-h) !important; margin: 0 !important;
  border: 0 !important; border-radius: var(--cae-radius) !important;
  background: var(--cae-cta) !important; color: #fff !important;
  font-size: 17px; font-weight: 700; line-height: var(--cae-cta-h) !important; padding: 0 12px !important;
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
}
.single-product div.product form.cart .single_add_to_cart_button:hover { background: var(--cae-cta-hover) !important; color: #fff !important; }

/* "Trebate ugradnju?" */
.cae-install {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; border: 1px solid var(--cae-line-2); border-radius: var(--cae-radius);
  font-size: 15px; font-weight: 600; color: var(--cae-ink); text-decoration: none;
}
.cae-install:hover { border-color: var(--cae-ink); color: var(--cae-ink); }

/* Zaupanje – 3 celice */
.cae-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cae-trust a {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 6px; border: 1px solid var(--cae-line); border-radius: var(--cae-radius);
  text-align: center; font-size: 12px; line-height: 1.25; color: var(--cae-ink); text-decoration: none;
}
.cae-trust a span { display: flex; flex-direction: column; }
.cae-trust b { font-weight: 700; }
.cae-i { flex-shrink: 0; }

/* ---------- Upsells "Uz ovo trebate" (nad zavihki) -------------------- */
.single-product .upsells.products { margin: 24px 0 0; }
.single-product .upsells.products > h2 { font-size: 20px; margin: 0 0 12px; }
.single-product .related.products > h2 { font-size: 20px; margin: 0 0 12px; }
.single-product .upsells.products ul.products,
.single-product .related.products ul.products {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0;
}
.single-product .upsells.products ul.products li.product,
.single-product .related.products ul.products li.product {
  width: auto !important; margin: 0 !important;
  border: 1px solid var(--cae-line); border-radius: var(--cae-radius); padding: 10px; box-sizing: border-box;
}

/* ---------- Zavihki (Astra harmonike) --------------------------------- */
.single-product .ast-woocommerce-accordion { margin-top: 24px; border-top: 1px solid var(--cae-line); }
.single-product .ast-accordion-header {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 56px; padding: 0; border: 0; border-bottom: 1px solid var(--cae-line);
  font-size: 20px; font-weight: 700; color: var(--cae-ink); background: transparent;
}
.single-product .ast-accordion-content { padding: 4px 0 20px; border: 0; }
.single-product .ast-accordion-content h2 { font-size: 17px; margin: 0 0 8px; }
.single-product .ast-accordion-content ul { padding-left: 18px; }

/* Tabela "Tehnički podaci" – zebra */
.single-product table.woocommerce-product-attributes { border: 0; margin: 0; font-size: 14px; }
.single-product table.woocommerce-product-attributes th,
.single-product table.woocommerce-product-attributes td {
  border: 0; padding: 10px 12px; line-height: 1.35; vertical-align: top; background: transparent;
}
.single-product table.woocommerce-product-attributes th { font-weight: 400; color: var(--cae-muted); width: 55%; }
.single-product table.woocommerce-product-attributes td { font-weight: 600; text-align: right; color: var(--cae-ink); }
.single-product table.woocommerce-product-attributes td p { margin: 0; }
.single-product table.woocommerce-product-attributes tr:nth-child(odd) th,
.single-product table.woocommerce-product-attributes tr:nth-child(odd) td { background: var(--cae-bg); }
.single-product table.woocommerce-product-attributes tr:first-child th { border-radius: 8px 0 0 0; }
.single-product table.woocommerce-product-attributes tr:first-child td { border-radius: 0 8px 0 0; }

/* ---------- Sticky vrstica (samo mobile) ------------------------------ */
.cae-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--cae-line);
  box-shadow: 0 -4px 16px rgba(20, 20, 19, .08);
  transform: translateY(110%); transition: transform .25s ease;
}
.cae-sticky.is-visible { transform: translateY(0); }
.cae-sticky img { width: 52px; height: 52px; border-radius: 8px; border: 1px solid var(--cae-line); object-fit: cover; flex-shrink: 0; }
.cae-sticky-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.cae-sticky-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cae-sticky-price { font-size: 20px; font-weight: 700; line-height: 1; }
.cae-sticky-btn {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  height: var(--cae-cta-h); padding: 0 18px; border: 0; border-radius: var(--cae-radius);
  background: var(--cae-cta); color: #fff; font-size: 15px; font-weight: 700;
}
body.cae-sticky-on { padding-bottom: 84px; }

/* ---------- Desktop (≥ 922px) ---------------------------------------- */
@media (min-width: 922px) {
  .single-product div.product .summary { row-gap: 14px; }
  .single-product div.product .summary .product_title { font-size: 32px; }
  .single-product div.product .summary .price { font-size: 38px; }
  .cae-trust a { flex-direction: row; text-align: left; gap: 10px; padding: 12px; font-size: 13px; }
  .cae-install { height: 48px; }

  /* galerija: brez zamika navzdol (prej top:90px je galerijo potisnil čez opis/tabe) */
  .single-product div.product .woocommerce-product-gallery { top: auto; }

  .single-product .upsells.products ul.products,
  .single-product .related.products ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .single-product .upsells.products > h2,
  .single-product .related.products > h2 { font-size: 24px; }

  /* Opis in tabela ena ob drugi: harmonika ostane, a širša vsebina */
  .single-product .ast-accordion-header { font-size: 22px; }

  .cae-sticky { display: none !important; }
  body.cae-sticky-on { padding-bottom: 0; }
}

/* Zelo ozki zasloni */
@media (max-width: 360px) {
  .single-product div.product form.cart .quantity { width: 104px; flex-basis: 104px; }
}

/* ---------- Obrazec "Hai domande?" (okno) ----------------------------- */
html.cae-ask-open { overflow: hidden; }
.cae-ask[hidden] { display: none; }
.cae-ask { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.cae-ask-backdrop { position: absolute; inset: 0; background: rgba(20, 20, 19, .55); }
.cae-ask-panel {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: #fff; border-radius: 14px; padding: 28px 24px 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}
.cae-ask-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--cae-ink); cursor: pointer; }
.cae-ask-title { margin: 0 40px 4px 0; font-size: 22px; line-height: 1.2; color: var(--cae-ink); }
.cae-ask-sub { margin: 0 0 14px; font-size: 14px; color: var(--cae-muted); }
.cae-ask-product { display: flex; align-items: center; gap: 12px; padding: 10px; margin-bottom: 16px; border-radius: var(--cae-radius); background: var(--cae-bg); font-size: 14px; font-weight: 600; color: var(--cae-ink); }
.cae-ask-product img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; background: #fff; flex-shrink: 0; }
.cae-ask-form { display: flex; flex-direction: column; gap: 12px; }
.cae-ask-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cae-ask-field { display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: 13px; font-weight: 600; color: var(--cae-ink); }
.cae-ask-field input, .cae-ask-field textarea {
  width: 100%; box-sizing: border-box; min-height: 46px; padding: 10px 12px; border: 1px solid var(--cae-line-2); border-radius: var(--cae-radius);
  background: #fff; font: inherit; font-weight: 400; font-size: 15px; color: var(--cae-ink);
}
.cae-ask-field textarea { min-height: 110px; resize: vertical; }
.cae-ask-field input:focus, .cae-ask-field textarea:focus { outline: 2px solid var(--cae-cta); outline-offset: 0; border-color: transparent; }
.cae-ask-consent { display: flex; gap: 10px; align-items: flex-start; margin: 2px 0 0; font-size: 13px; line-height: 1.4; color: var(--cae-muted); font-weight: 400; }
.cae-ask-consent input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; }
.cae-ask-consent a { color: var(--cae-ink); text-decoration: underline; }
.cae-ask-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cae-ask-msg { margin: 0; font-size: 14px; min-height: 0; }
.cae-ask-msg.is-err { color: var(--cae-red); }
.cae-ask-msg.is-ok { padding: 12px; border-radius: var(--cae-radius); background: #e8f5ec; color: var(--cae-green); font-weight: 600; }
.cae-ask-form.is-done .cae-ask-field, .cae-ask-form.is-done .cae-ask-row, .cae-ask-form.is-done .cae-ask-consent, .cae-ask-form.is-done .cae-ask-send { display: none; }
.cae-ask-send {
  height: var(--cae-cta-h); border: 0; border-radius: var(--cae-radius); background: var(--cae-cta); color: #fff;
  font-size: 16px; font-weight: 700; cursor: pointer;
}
.cae-ask-send:hover { background: var(--cae-cta-hover); }
.cae-ask-send:disabled { opacity: .6; cursor: default; }
@media (max-width: 600px) {
  .cae-ask { align-items: flex-end; padding: 0; }
  .cae-ask-panel { max-width: none; max-height: 92vh; border-radius: 16px 16px 0 0; padding: 24px 16px calc(16px + env(safe-area-inset-bottom)); }
  .cae-ask-row { grid-template-columns: 1fr; }
}
/* okno: prepreči, da tema prepiše gumb in polja */
.cae-ask .cae-ask-x { padding: 0 !important; min-width: 0 !important; background: var(--cae-bg) !important; border-radius: 50% !important; color: var(--cae-ink) !important; }
.cae-ask .cae-ask-x svg { width: 20px !important; height: 20px !important; display: block; }
.cae-ask .cae-ask-field input, .cae-ask .cae-ask-field textarea { border-radius: var(--cae-radius) !important; border: 1px solid var(--cae-line-2) !important; box-shadow: none !important; }

/* ---------- Opis izdelka: nevtralne barve (povozi rdeč h2 iz Additional CSS in modro glavo Astre) ---------- */
body.single-product .woocommerce-tabs .ast-accordion-header,
body.single-product .woocommerce-tabs .ast-accordion-header.active,
body.single-product .woocommerce-tabs .ast-accordion-header:hover,
body.single-product .woocommerce-tabs .ast-accordion-header .ahfb-svg-iconset { color: var(--cae-ink) !important; }
body.single-product .woocommerce-tabs .ast-accordion-header svg { fill: currentColor; }
/* ---------- opis izdelka: enak slog na vseh trgovinah (prej v Dodatnem CSS na .com) ---------- */
body.single-product .woocommerce-Tabs-panel--description h2,
body.single-product .woocommerce-Tabs-panel--description h3{font-family:'Barlow Condensed','Barlow',sans-serif;font-weight:700;text-transform:uppercase;letter-spacing:.03em;line-height:1.1;color:#16191d;margin:28px 0 12px;display:flex;align-items:center;gap:11px}
body.single-product .woocommerce-Tabs-panel--description h2{font-size:25px}
body.single-product .woocommerce-Tabs-panel--description h3{font-size:21px}
body.single-product .woocommerce-Tabs-panel--description h2::before,
body.single-product .woocommerce-Tabs-panel--description h3::before{content:"";width:24px;height:3px;flex:none;background:#e8322a;border-radius:2px}
body.single-product .woocommerce-Tabs-panel--description p{font-size:15.5px;line-height:1.7;color:#454c55;margin:0 0 14px}
body.single-product .woocommerce-Tabs-panel--description ul{list-style:none;margin:0 0 20px;padding:0;display:flex;flex-direction:column}
body.single-product .woocommerce-Tabs-panel--description li{background:transparent;border:0;border-radius:0;box-shadow:none;margin:0;padding:9px 0 9px 18px;position:relative;font-size:15.5px;line-height:1.6;color:#454c55;border-bottom:1px solid #eef1f4}
body.single-product .woocommerce-Tabs-panel--description li:last-child{border-bottom:0}
body.single-product .woocommerce-Tabs-panel--description li::before{content:"";position:absolute;left:3px;top:calc(9px + .8em - 2px);width:4px;height:4px;border-radius:999px;background:#e8322a}
body.single-product .woocommerce-Tabs-panel--description li strong{color:#16191d;font-weight:700}
body.single-product .woocommerce-Tabs-panel--description ul+h2,
body.single-product .woocommerce-Tabs-panel--description ul+h3{margin-top:18px}
@media (max-width:600px){
body.single-product .woocommerce-Tabs-panel--description h2{font-size:22px}
body.single-product .woocommerce-Tabs-panel--description h3{font-size:19px}
body.single-product .woocommerce-Tabs-panel--description h2::before,
body.single-product .woocommerce-Tabs-panel--description h3::before{width:18px}
body.single-product .woocommerce-Tabs-panel--description p,
body.single-product .woocommerce-Tabs-panel--description li{font-size:15px}
}
body.single-product .woocommerce-Tabs-panel--description h2 {
  display: flex; align-items: center; gap: 12px; color: var(--cae-ink) !important;
  font-size: 22px !important; line-height: 1.25 !important; font-weight: 700 !important; letter-spacing: -0.01em; margin: 6px 0 12px !important;
}
body.single-product .woocommerce-Tabs-panel--description h2::before { content: ""; width: 26px; height: 3px; flex: none; background: var(--cae-red); border-radius: 2px; }
body.single-product .woocommerce-Tabs-panel--description h3 { color: var(--cae-ink) !important; }
@media (max-width: 921px) {
  body.single-product .woocommerce-Tabs-panel--description h2 { font-size: 19px !important; align-items: flex-start; }
  body.single-product .woocommerce-Tabs-panel--description h2::before { margin-top: .6em; width: 20px; }
}

/* ---------- Zavihka Spedizione / Garanzia – pregleden blok (slog kot opisi kategorij) ---------- */
.cae-tb { color: #454c55; font-size: 15px; line-height: 1.6; }
body.single-product .cae-tb h2, body.single-product .cae-tb h3 {
  display: flex; align-items: center; gap: 12px; color: var(--cae-ink) !important; font-weight: 700 !important; line-height: 1.25 !important;
}
body.single-product .cae-tb h2 { font-size: 22px !important; margin: 6px 0 16px !important; }
body.single-product .cae-tb h3 { font-size: 13px !important; text-transform: uppercase; letter-spacing: .04em; margin: 24px 0 12px !important; }
body.single-product .cae-tb h2::before { content: ""; width: 26px; height: 3px; flex: none; background: var(--cae-red); border-radius: 2px; }
.cae-tb b { display: block; color: var(--cae-ink); font-weight: 700; }
.cae-tb-facts, .cae-tb-pay { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cae-tb-fact, .cae-tb-payi { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid var(--cae-line); border-radius: var(--cae-radius); background: #fff; font-size: 13.5px; line-height: 1.4; }
.cae-tb-fact b { font-size: 16px; margin-bottom: 2px; }
.cae-tb-payi b { font-size: 14px; margin-bottom: 2px; }
.cae-tb-fact .cae-i, .cae-tb-payi .cae-i { width: 36px; height: 36px; padding: 8px; box-sizing: border-box; border-radius: 10px; background: var(--cae-bg); color: var(--cae-ink); }
.cae-tb-pay { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cae-tb-lead { font-size: 16px; color: var(--cae-ink); margin: 0 0 16px !important; }
.cae-tb-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 8px; }
.cae-tb-stats > div { padding: 16px 14px; border-radius: var(--cae-radius); background: var(--cae-bg); text-align: center; font-size: 13px; line-height: 1.35; }
.cae-tb-stats b { font-size: 26px; line-height: 1.1; margin-bottom: 4px; }
.cae-tb-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
body.single-product .cae-tb ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
body.single-product .cae-tb ul li { position: relative; margin: 0 !important; padding: 8px 0 8px 28px !important; border-bottom: 1px solid var(--cae-line); font-size: 14px; line-height: 1.45; list-style: none; }
body.single-product .cae-tb ul li:last-child { border-bottom: 0; }
body.single-product .cae-tb ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 18px; border-radius: 9px; background: #e8f3ec center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b7f3b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }
body.single-product .cae-tb .cae-tb-no ul li::before { background-color: #f4f4f5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E"); }
body.single-product .cae-tb ul li::marker { content: none; }
.cae-tb-more { margin: 18px 0 0 !important; }
.cae-tb-more a { font-weight: 600; color: var(--cae-ink) !important; text-decoration: underline; text-decoration-color: rgba(200, 38, 26, .4); text-underline-offset: 3px; }
.cae-tb-more a:hover { text-decoration-color: var(--cae-red); }
/* rezerva (npr. .hr): vsebina strani v istem slogu */
body.single-product .cae-tb-page h2::before, body.single-product .cae-tb-page h3::before { content: ""; width: 26px; height: 3px; flex: none; background: var(--cae-red); border-radius: 2px; }
body.single-product .cae-tb-page ul li::before { width: 6px; height: 6px; top: 1em; left: 6px; border-radius: 3px; background: var(--cae-red); }
@media (max-width: 921px) {
  .cae-tb-facts, .cae-tb-pay, .cae-tb-cols { grid-template-columns: 1fr; }
  .cae-tb-stats { gap: 8px; }
  .cae-tb-stats > div { padding: 12px 6px; font-size: 12px; }
  .cae-tb-stats b { font-size: 20px; }
  body.single-product .cae-tb h2 { font-size: 19px !important; }
}

/* drobni tisk pod »3 leta garancije« */
.cae-trust .cae-trust-note { display: block; margin-top: 3px; font-size: 10.5px; line-height: 1.25; color: var(--cae-muted); font-weight: 400; }
@media (min-width: 922px) { .cae-trust .cae-trust-note { font-size: 11px; } }

/* več prostora pred »Prodotti visti di recente« (sorodni izdelki) */
.single-product .related.products { margin-top: 36px !important; }
@media (min-width: 922px) { .single-product .related.products { margin-top: 56px !important; } }
