/* =====================================================================
   Boarder's - pagina de listare / categorii (redesign)
   Folosit de resources/views/frontend/categories/index-redesign.blade.php.
   Aceleasi tokenuri ca homepage-ul (home-redesign.css) si pagina de produs (pdp-redesign.css).
   frontend.css se incarca la finalul body-ului si stilizeaza filtrele/cardurile vechi, de aceea
   partile vechi (filtre, card-product, paginare) sunt suprascrise sub #plp (specificitate de id).
   Drawer-ul de filtre de pe mobil (.rh-fm-*, din home-redesign.css) NU e atins aici.
   ===================================================================== */

.plp {
  --plp-ink: #0F0F0F;
  --plp-orange: #FF4D00;
  --plp-green: #1F8A5B;
  --plp-text: #3A3A3A;
  --plp-muted: #5C5C56;
  --plp-grey: #9A9A92;
  --plp-grey2: #B5B5AE;
  --plp-grey3: #C4C4BD;
  --plp-line: #ECECE8;
  --plp-line2: #F0F0EC;
  --plp-soft: #F7F7F4;
  --plp-soft2: #F4F4F2;
  --plp-head: 'Oswald', 'Arial Narrow', sans-serif;
  --plp-body: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --plp-pad: 56px;

  font-family: var(--plp-body);
  color: var(--plp-ink);
  overflow-x: clip; /* plasa de siguranta: nimic din listare nu lateste pagina pe mobil */
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.plp *, .plp *::before, .plp *::after { box-sizing: border-box; }

/* reset peste frontend.css */
.plp :where(h1, h2, h3, h4) {
  margin: 0; padding: 0;
  font-family: var(--plp-head);
  font-weight: 600;
  color: var(--plp-ink);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0;
}
.plp :where(p) { margin: 0; font-family: var(--plp-body); font-size: inherit; color: inherit; line-height: inherit; }
.plp :where(a) { color: inherit; text-decoration: none; font-family: inherit; }
.plp a:hover, .plp a:focus { text-decoration: none; }
.plp :where(button) { font-family: var(--plp-body); cursor: pointer; }
.plp :where(ul) { list-style: none; margin: 0; padding: 0; }

.plp-wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--plp-pad); padding-right: var(--plp-pad); }

.plp-kicker {
  font-family: var(--plp-head) !important; font-weight: 600; font-size: 14px !important;
  letter-spacing: .2em; text-transform: uppercase; color: var(--plp-orange) !important; margin-bottom: 10px !important;
}
.plp-h2 { font-family: var(--plp-head); font-weight: 600; text-transform: uppercase; font-size: 28px; line-height: 1.1; margin-bottom: 22px !important; }

/* ---------- breadcrumb ---------- */
.plp-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 20px; font-size: 14px; color: var(--plp-grey); }
.plp-crumbs a:hover { color: var(--plp-orange); }
.plp-crumbs .sep { color: var(--plp-grey3); }
.plp-crumbs .cur { color: var(--plp-ink); }

/* ---------- hero ---------- */
.plp-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 40px;
  padding-top: 28px; padding-bottom: 26px;
}
.plp .plp-h1 { font-size: 52px; line-height: 1; letter-spacing: -.005em; }
.plp-intro { margin-top: 14px !important; font-size: 16px; line-height: 1.6; color: var(--plp-muted); max-width: 680px; }
.plp-hero-count { font-size: 14px; color: var(--plp-muted); white-space: nowrap; padding-bottom: 6px; }
.plp-hero-count b { font-family: var(--plp-head); font-weight: 600; font-size: 22px; color: var(--plp-ink); margin-right: 4px; }
.plp-note { grid-column: 1 / -1; font-size: 14px; color: var(--plp-orange); font-weight: 600; letter-spacing: .02em; }

/* ---------- chips subcategorii ---------- */
.plp-chips { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 30px; }
.plp-chip {
  font-family: var(--plp-head); font-weight: 500; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  padding: 10px 18px; border: 1px solid #DCDCD6; background: #fff; color: var(--plp-ink) !important; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.plp-chip:hover { background: var(--plp-ink); border-color: var(--plp-ink); color: #fff !important; }

/* ---------- layout listare ---------- */
.plp-listing { border-top: 1px solid var(--plp-line); }
.plp-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 44px; align-items: start; padding-top: 28px; }
#plp .plp-side { float: none; width: auto; padding: 0; margin: 0; min-height: 0; }

/* local (fara Vue) se randeaza ambele sectiuni; pe prod Vue lasa doar una. Ascundem dupa viewport, identic cu pragul din Vue (991). */
@media (min-width: 992px) { #plp .mobile-filters-section { display: none !important; } }
@media (max-width: 991px) { #plp .desktop-fillters-section { display: none !important; } }

/* ---------- filtre desktop ---------- */
#plp .desktop-fillters-section,
#plp .desktop-fillters-section .filters-block { padding: 0; margin: 0; background: none; border: 0; }
#plp .desktop-fillters-section br { display: none; }

/* pe desktop resetarea se face din "Șterge tot", langa filtrele active (#plp-active); linkul din sidebar ramane in DOM pt. href */
#plp .desktop-fillters-section .reset-filters { display: none !important; }
#plp .desktop-fillters-section .reset-filters .black-button {
  display: inline-block; background: none; border: 0; padding: 0; min-width: 0; height: auto; line-height: 1.4;
  font-family: var(--plp-head); font-weight: 500; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--plp-ink); border-bottom: 1.5px solid var(--plp-orange); padding-bottom: 2px;
}

#plp .desktop-fillters-section .filter-widget {
  border: 0; border-top: 1px solid var(--plp-line); margin: 0; padding: 16px 0 14px; background: none; box-shadow: none;
}
#plp .desktop-fillters-section .filter-widget:first-of-type { border-top: 0; padding-top: 0; }
#plp .desktop-fillters-section .filter-widget .name,
#plp .desktop-fillters-section .filter-widget .title {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer;
  font-family: var(--plp-head) !important; font-weight: 600 !important; font-size: 14px !important; letter-spacing: .06em;
  text-transform: uppercase; color: var(--plp-ink) !important; padding: 0 !important; margin: 0 !important; background: none; border: 0; line-height: 1.3;
}
#plp .desktop-fillters-section .filter-widget .title .fa { float: none; font-size: 10px; color: var(--plp-grey); }

#plp .desktop-fillters-section .filter-widget ul.content {
  position: relative; margin: 12px 0 0 !important; padding: 0 4px 0 0 !important; border: 0; background: none;
  max-height: 236px !important; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--plp-grey3) transparent;
}
#plp .desktop-fillters-section .filter-widget ul.content:not(.active) { display: none; }
#plp .desktop-fillters-section .filter-widget ul.content.active { display: block; }
#plp .desktop-fillters-section .filter-widget .show-more,
#plp .desktop-fillters-section .filter-widget .show-less,
#plp .desktop-fillters-section .filter-widget li[style*="absolute"] { display: none !important; }

#plp .desktop-fillters-section .filter-widget ul.content li { position: relative; display: block; margin: 0; padding: 0; float: none; width: auto; border: 0; background: none; }
#plp .desktop-fillters-section .filter-widget ul.content li > label:not([for]) {
  display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--plp-grey); font-weight: 600; margin: 10px 0 4px; padding: 0;
}
#plp .desktop-fillters-section .filter-widget ul.content input[type=checkbox] {
  position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none;
}
#plp .desktop-fillters-section .filter-widget ul.content input[type=checkbox] + label {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 32px; margin: 0; padding: 4px 0 4px 28px;
  font-family: var(--plp-body) !important; font-size: 14px !important; font-weight: 400 !important; text-transform: none !important; letter-spacing: 0;
  color: var(--plp-text) !important; cursor: pointer; line-height: 1.3; background: none; border: 0; width: auto;
}
#plp .desktop-fillters-section .filter-widget ul.content input[type=checkbox] + label:hover { color: var(--plp-ink) !important; }
#plp .desktop-fillters-section .filter-widget ul.content input[type=checkbox] + label::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 17px; height: 17px; margin: -8.5px 0 0; transform: none;
  border: 1.5px solid var(--plp-grey3); background: #fff; border-radius: 0; box-shadow: none; opacity: 1;
}
#plp .desktop-fillters-section .filter-widget ul.content input[type=checkbox] + label::after {
  content: ''; position: absolute; left: 6px; top: 50%; width: 5px; height: 9px; margin: -6px 0 0; background: none;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0;
}
#plp .desktop-fillters-section .filter-widget ul.content input[type=checkbox]:checked + label { color: var(--plp-ink) !important; font-weight: 600 !important; }
#plp .desktop-fillters-section .filter-widget ul.content input[type=checkbox]:checked + label::before { background: var(--plp-ink); border-color: var(--plp-ink); }
#plp .desktop-fillters-section .filter-widget ul.content input[type=checkbox]:checked + label::after { opacity: 1; }
#plp .desktop-fillters-section .filter-widget ul.content input[type=checkbox]:disabled + label { opacity: .4; cursor: default; }
#plp .desktop-fillters-section .filter-widget ul.content input[type=checkbox]:focus-visible + label::before { outline: 2px solid var(--plp-orange); outline-offset: 2px; }
#plp .desktop-fillters-section .filter-widget ul.content .labellink { display: none; }
#plp .desktop-fillters-section .filter-widget ul.content .badge { display: none; }

/* pret */
#plp .desktop-fillters-section .price-range-widget ul.content { overflow: visible; max-height: none !important; }
#plp .desktop-fillters-section .price-range-widget .set-min-max-inputs { display: flex !important; align-items: center; gap: 8px; width: 100%; float: none; padding: 0; }
#plp .desktop-fillters-section .price-range-widget .set-min-max-inputs > span { float: none; padding: 0 !important; color: var(--plp-grey); }
#plp .desktop-fillters-section .price-range-widget .min-block,
#plp .desktop-fillters-section .price-range-widget .max-block { float: none; flex: 1 1 0; position: relative; }
#plp .desktop-fillters-section .price-range-widget .min-block::after,
#plp .desktop-fillters-section .price-range-widget .max-block::after {
  content: 'lei'; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--plp-grey); pointer-events: none;
}
#plp .desktop-fillters-section .price-range-widget input[type=text] {
  width: 100%; height: 40px !important; padding: 0 30px 0 12px; border: 1px solid #DCDCD6; background: #fff;
  font-family: var(--plp-body); font-size: 14px; color: var(--plp-ink); box-shadow: none; outline: 0;
}
#plp .desktop-fillters-section .price-range-widget input[type=text]:focus { border-color: var(--plp-ink); }
#plp .desktop-fillters-section .price-range-widget .min-block::before { content: none; }
#plp .desktop-fillters-section .price-range-widget .range-input { padding: 0; }

/* alte categorii / subcategorii */
#plp .desktop-fillters-section .category-links { padding-top: 16px !important; }
#plp .desktop-fillters-section .category-links .name { margin-bottom: 10px !important; cursor: default; }
#plp .desktop-fillters-section .category-links p { margin: 0; }
#plp .desktop-fillters-section .category-links a {
  display: block; padding: 5px 0; font-family: var(--plp-body); font-size: 14px; text-transform: none !important; letter-spacing: 0; color: var(--plp-text);
}
#plp .desktop-fillters-section .category-links a:hover { color: var(--plp-orange); }

/* ---------- toolbar ---------- */
.plp-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; min-height: 40px; }
/* fara sortare (ex. cautarea) si fara filtre active: bara nu ocupa loc */
.plp-toolbar:not(:has(.plp-sort)):has(.plp-active.is-empty) { display: none; }
.plp-active { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#plp .plp-af {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px 7px 12px; border: 1px solid var(--plp-ink); background: var(--plp-ink);
  color: #fff; font-size: 14px; font-weight: 500; line-height: 1.2; border-radius: 0;
}
#plp .plp-af span { font-size: 15px; line-height: 1; opacity: .7; }
#plp .plp-af:hover span { opacity: 1; }
#plp .plp-af-reset { font-size: 14px; color: var(--plp-muted); border-bottom: 1px solid var(--plp-grey3); margin-left: 4px; }
#plp .plp-af-reset:hover { color: var(--plp-ink); }

#plp .plp-sort { display: flex; align-items: center; gap: 12px; margin-left: auto; padding: 0; float: none; }
.plp-sort-lbl { font-family: var(--plp-head); font-weight: 500; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--plp-grey); white-space: nowrap; }
/* select nativ (local) + dropdown semantic-ui (prod, initializat de frontend.js) */
#plp .plp-sort select,
#plp .plp-sort .ui.dropdown {
  min-width: 210px; height: 42px; min-height: 42px; padding: 0 38px 0 14px; border: 1px solid #DCDCD6 !important; border-radius: 0 !important;
  background: #fff; font-family: var(--plp-body); font-size: 14px; color: var(--plp-ink); box-shadow: none !important;
  display: inline-flex; align-items: center; line-height: 40px;
}
#plp .plp-sort select { -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230F0F0F' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; }
#plp .plp-sort .ui.dropdown > .dropdown.icon { top: 50%; transform: translateY(-50%); margin: 0; right: 12px; position: absolute; }
#plp .plp-sort .ui.dropdown .menu { border-radius: 0 !important; border-color: #DCDCD6 !important; margin-top: -1px; }
#plp .plp-sort .ui.dropdown .menu > .item { font-size: 14px; padding: 11px 14px !important; }

/* ---------- grila produse + card (card-product restilizat) ---------- */
#plp #product_results.plp-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 16px; margin: 0; padding: 0; float: none;
  width: 100% !important; max-width: none !important;
}
/* quick-buy: local ramane tag-ul gol <quick-buy-item>, pe prod Vue il face div.quick-buy-item; inchis nu ocupa celula din grila */
#plp #product_results > quick-buy-item,
#plp #product_results > .quick-buy-item { grid-column: 1 / -1; width: auto !important; }
#plp #product_results > quick-buy-item:empty,
#plp #product_results > .quick-buy-item.closed { display: none; }
#plp .quick-buy-product-selector-js { float: none; width: auto; max-width: none; min-width: 0; padding: 0; margin: 0; flex: none; }
/* frontend.css / critical css dau latimi fixe cardului vechi; in grila noua cardul umple celula */
#plp .product-card,
#plp .product-card .product,
#plp .product-card .product-image,
#plp .product-card .photo { width: 100% !important; max-width: none !important; min-width: 0 !important; }
#plp .quick-buy-fake-product { display: none; }
/* X-ul quick-buy e absolut, invizibil, sub card (top:100%) si sub ultimul rand acoperea blocul de jos (FAQ); doar cand cardul e deschis */
#plp .quick-buy-product-selector-js:not(.open) .close-quick-buy { display: none; }

#plp .product-card { position: relative; margin: 0; padding: 0; width: auto; height: auto; border: 0; box-shadow: none; background: none; }
/* frontend.css da '#product_results .product-card { padding: 0 40px }' (>=767px) si se incarca dupa noi: cardul ramanea ingust, cu titlul taiat */
#plp #product_results .product-card { padding: 0 !important; }
#plp .product-card .product { position: relative; margin: 0; padding: 0; border: 0; box-shadow: none; background: none; height: auto; }
#plp .product-card .product-image { display: block; margin: 0 0 14px; height: auto !important; min-height: 0 !important; max-height: none !important; overflow: visible; }
#plp .product-card .photo {
  position: relative; aspect-ratio: 1 / 1; height: auto; width: 100%; background: #fff; overflow: hidden; margin: 0; padding: 0;
  display: flex; align-items: center; justify-content: center;
}
#plp .product-card .photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 8%;
  object-fit: contain; transition: opacity .25s ease, transform .35s ease; transform: none;
}
#plp .product-card .photo img.product-over { opacity: 0; }
#plp .product-card:hover .photo img { transform: scale(1.035); }
#plp .product-card:hover .photo img.product-over { opacity: 1; }
#plp .product-card:hover .photo img:not(.product-over):not(:only-child) { opacity: 0; }

#plp .product-card .tags { position: absolute; top: 12px; left: 12px; z-index: 2; margin: 0; padding: 0; width: auto; height: auto; pointer-events: none; }
#plp .product-card .tags img { display: none; }
#plp .product-card .tags[data-pct]::before {
  content: attr(data-pct); display: inline-block; background: var(--plp-orange); color: #fff;
  font-family: var(--plp-head); font-weight: 600; font-size: 12.5px; letter-spacing: .04em; padding: 4px 8px; line-height: 1.2;
}

#plp .product-card .details { position: relative; text-align: left !important; padding: 0 34px 0 0; margin: 0; background: none; border: 0; height: auto; min-height: 0; }
#plp .product-card .product-brand {
  font-family: var(--plp-body) !important; font-size: 12px !important; letter-spacing: .12em; text-transform: uppercase;
  color: var(--plp-grey) !important; font-weight: 600 !important; margin: 0 0 6px !important; padding: 0; line-height: 1.3; text-align: left;
}
/* titlul intreg (fara line-clamp), mai usor decat pretul ca sa nu concureze cu el */
#plp .product-card .product-name {
  display: block; overflow: visible; white-space: normal;
  font-family: var(--plp-body) !important; font-size: 15px !important; font-weight: 400 !important; line-height: 1.35 !important;
  text-transform: none !important; letter-spacing: 0 !important; color: var(--plp-ink) !important; margin: 0 0 10px !important; padding: 0; height: auto; min-height: 0; max-height: none; text-align: left;
}
#plp .product-card:hover .product-name { color: var(--plp-orange) !important; }
#plp .product-card .product-price { margin: 0; padding: 0; text-align: left; }
#plp .product-card .product-price .price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 0; float: none;
  font-family: var(--plp-head) !important; font-weight: 700 !important; font-size: 20px !important; color: var(--plp-ink) !important; line-height: 1.2;
}
#plp .product-card .product-price .price.discounted { color: var(--plp-orange) !important; }
#plp .product-card .product-price .old-price {
  font-family: var(--plp-body) !important; font-weight: 400 !important; font-size: 14px !important; color: var(--plp-grey2) !important;
  text-decoration: line-through; margin: 0; padding: 0; float: none;
}
#plp .product-card .wishlist { position: absolute; top: 0; right: 0; margin: 0; padding: 0; width: auto; height: auto; }
#plp .product-card .wishlist .btn-whishlist {
  display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 0; background: none; padding: 0; margin: 0; color: var(--plp-ink);
}
#plp .product-card .wishlist .ico { display: block; position: relative; width: 18px; height: 18px; font-size: 17px; line-height: 18px; }
#plp .product-card .wishlist .ico i { position: absolute; inset: 0; margin: 0; }
#plp .product-card .wishlist .fa-heart { opacity: 0; color: var(--plp-orange); }
#plp .product-card .wishlist .btn-whishlist.active .fa-heart { opacity: 1; }
#plp .product-card .wishlist .btn-whishlist.active .icon-heart-empty { opacity: 0; }
#plp .product-card .wishlist .btn-whishlist:hover { color: var(--plp-orange); }

/* ---------- load more + paginare ---------- */
.plp-more { padding: 44px 0 10px; clear: both; }
#plp .plp-more .listing-type { text-align: center; }
#plp .load_more { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0; padding: 0; }
#plp .load_more br { display: none; }
#plp .load_more p { font-size: 14px; color: var(--plp-muted); margin: 0; }
#plp .load_more p strong { font-weight: 400 !important; }
#plp .load_more-limit { color: var(--plp-ink); font-weight: 600; }
#plp .load_more_btn {
  min-width: 260px; height: 52px; padding: 0 28px; border: 1.5px solid var(--plp-ink); background: #fff; color: var(--plp-ink); border-radius: 0;
  font-family: var(--plp-head); font-weight: 500; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; transition: background .15s, color .15s; box-shadow: none;
}
#plp .load_more_btn:hover { background: var(--plp-ink); color: #fff; }

#plp .pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; box-shadow: none; }
#plp .pagination > li { display: block; margin: 0; padding: 0; border: 0; float: none; }
#plp .pagination > li > a {
  display: flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 10px; margin: 0; float: none;
  border: 1px solid #DCDCD6; background: #fff; color: var(--plp-ink); font-family: var(--plp-head); font-weight: 500; font-size: 14px; border-radius: 0 !important;
}
#plp .pagination > li.active > a { background: var(--plp-ink); border-color: var(--plp-ink); color: #fff; }
#plp .pagination > li.disabled > a { opacity: .35; pointer-events: none; }
#plp .pagination a.previous::before { content: '‹'; font-size: 20px; }
#plp .pagination a.next::before { content: '›'; font-size: 20px; }

/* ---------- text SEO + FAQ ---------- */
.plp-seo { background: var(--plp-soft); border-top: 1px solid var(--plp-line2); margin-top: 64px; padding: 64px 0; }
.plp-seo-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.plp-seo-grid--single { grid-template-columns: minmax(0, 860px); }
.plp-rich { font-size: 16px; line-height: 1.7; color: var(--plp-text); }
#plp .plp-rich :where(p, ul, ol) { margin: 0 0 14px; font-size: 16px; line-height: 1.7; color: var(--plp-text); }
#plp .plp-rich :where(h2, h3, h4) { font-size: 18px; margin: 22px 0 10px; }
#plp .plp-rich ul { list-style: disc; padding-left: 20px; }
#plp .plp-rich ol { list-style: decimal; padding-left: 20px; }
#plp .plp-rich a { color: var(--plp-ink); border-bottom: 1.5px solid var(--plp-orange); }
#plp .plp-rich a:hover { color: var(--plp-orange); }
#plp .plp-rich img { max-width: 100%; height: auto; }
.plp-more-txt > summary {
  display: inline-block; cursor: pointer; list-style: none; margin-top: 4px;
  font-family: var(--plp-head); font-weight: 500; font-size: 14px; letter-spacing: .05em; text-transform: uppercase;
  border-bottom: 1.5px solid var(--plp-orange); padding-bottom: 3px;
}
.plp-more-txt > summary::-webkit-details-marker { display: none; }
.plp-more-txt[open] > summary { display: none; }

.plp-faq details { border-bottom: 1px solid var(--plp-line); background: none; }
.plp-faq details:first-of-type { border-top: 1px solid var(--plp-line); }
.plp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; }
.plp-faq summary::-webkit-details-marker { display: none; }
#plp .plp-faq summary h3 { font-family: var(--plp-body); text-transform: none; font-size: 17px; font-weight: 600; line-height: 1.4; }
.plp-faq .chev { font-family: var(--plp-head); font-size: 22px; line-height: 1; color: var(--plp-orange); transition: transform .2s; flex: 0 0 auto; }
.plp-faq details[open] .chev { transform: rotate(45deg); }
.plp-faq details p { padding: 0 0 18px; font-size: 16px; line-height: 1.65; color: var(--plp-muted); max-width: 640px; }

/* ---------- gol ---------- */
.plp-empty { padding: 40px var(--plp-pad) 80px; }
.plp-empty p { color: var(--plp-muted); font-size: 16px; }
.plp-empty a { border-bottom: 1.5px solid var(--plp-orange); color: var(--plp-ink); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1279px) {
  #plp #product_results.plp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1199px) {
  .plp { --plp-pad: 32px; }
  .plp-layout { grid-template-columns: 228px minmax(0, 1fr); gap: 32px; }
  .plp .plp-h1 { font-size: 44px; }
}

@media (max-width: 991px) {
  .plp { --plp-pad: 16px; }
  .plp-crumbs { padding-top: 14px; font-size: 14px; gap: 6px; }
  .plp-hero { grid-template-columns: 1fr; gap: 8px; padding-top: 16px; padding-bottom: 18px; }
  .plp .plp-h1 { font-size: 32px; }
  .plp-intro { font-size: 16px; margin-top: 10px !important; }
  .plp-hero-count { padding-bottom: 0; }
  .plp-hero-count b { font-size: 18px; }
  .plp-chips {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 18px; gap: 8px;
  }
  .plp-chips::-webkit-scrollbar { display: none; }
  .plp-chip { font-size: 13px; padding: 9px 14px; }

  .plp-listing { border-top: 0; }
  .plp-layout { grid-template-columns: 1fr; gap: 0; padding-top: 0; }

  /* bara Sortează / Filtrează (doar butoanele; drawer-ul ramane pe stilul din home-redesign.css) */
  #plp .mobile-filters-section > .ui-filters {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; padding: 0; border: 0; background: none; box-shadow: none;
  }
  #plp .mobile-filters-section > .ui-filters > li { display: block; float: none; width: auto; margin: 0; padding: 0; border: 0; background: none; }
  #plp .mobile-filters-section > .ui-filters > li > a {
    display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; margin: 0; padding: 0 12px;
    border: 1.5px solid var(--plp-ink); background: #fff; color: var(--plp-ink);
    font-family: var(--plp-head); font-weight: 500; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; border-radius: 0; line-height: 1;
  }
  #plp .mobile-filters-section > .ui-filters > li.fillters > a { background: var(--plp-ink); color: #fff; }
  #plp .mobile-filters-section > .ui-filters > li > a .ui-fnt-ico { margin: 0; font-size: 13px; position: static; }
  #plp .mobile-filters-section > .ui-filters > li.sort > a .ui-fnt-ico { display: none; }
  #plp .mobile-filters-section { margin: 0 !important; padding: 0; width: auto; }
  #plp .mobile-filters-section .filters-summery { display: none; }
  #plp .mobile-filters-section > br { display: none; }

  .plp-toolbar { margin-bottom: 14px; min-height: 0; }
  .plp-toolbar:has(.plp-active.is-empty) { display: none; }
  #plp .plp-sort { display: none; }

  #plp #product_results.plp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  #plp .product-card .product-image { margin-bottom: 10px; }
  #plp .product-card .tags { top: 8px; left: 8px; }
  #plp .product-card .tags[data-pct]::before { font-size: 11.5px; padding: 3px 6px; }
  #plp .product-card .details { padding-right: 26px; }
  #plp .product-card .product-brand { font-size: 12px !important; margin-bottom: 4px !important; }
  #plp .product-card .product-name { font-size: 14px !important; margin-bottom: 6px !important; }
  #plp .product-card .product-price .price { font-size: 17px !important; }
  #plp .product-card .product-price .old-price { font-size: 12px !important; }
  #plp .product-card .wishlist .btn-whishlist { width: 26px; height: 26px; }

  .plp-more { padding-top: 32px; }
  #plp .load_more_btn { width: 100%; min-width: 0; }

  .plp-seo { margin-top: 44px; padding: 40px 0; }
  .plp-seo-grid { grid-template-columns: 1fr; gap: 36px; }
  .plp-h2 { font-size: 22px; margin-bottom: 16px !important; }
  #plp .plp-rich :where(p, ul, ol) { font-size: 16px; }
}

@media (max-width: 380px) {
  .plp .plp-h1 { font-size: 28px; }
  #plp #product_results.plp-grid { gap: 22px 10px; }
}
