/* products.php — product lists (featured, best sellers, brand) 2026-11-15 */
.pl-page { max-width: 1200px; margin: 0 auto; padding: 96px 16px 48px; color: #fff; font-family: Poppins, Arial, sans-serif; }
.pl-back a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #ff9a3d; font-weight: 600; font-size: 14px; text-decoration: none; }
.pl-title { margin: 4px 0 4px; font-size: clamp(24px, 4vw, 36px); font-weight: 800; line-height: 1.15; }
.pl-count { margin: 0 0 18px; color: #c4c4c4; font-size: 14px; }
.pl-empty { color: #c4c4c4; } .pl-empty a { color: #ff9a3d; }
.pl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.pl-card a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 12px; border: 1px solid #2e2e2e;
  background: linear-gradient(180deg, #1d1d1d 0%, #131313 60%, #0b0b0b 100%); color: #fff; text-decoration: none; }
.pl-card a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.pl-img { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-bottom: 1px solid #262626;
  background: radial-gradient(120% 85% at 50% 28%, #2b2b2b 0%, #171717 55%, #0a0a0a 100%); }
.pl-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; box-sizing: border-box; }
.pl-badge { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 3px 7px; border-radius: 6px; background: #d62828; color: #fff; font-size: 12px; font-weight: 700; }
.pl-body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 10px 12px 12px; }
.pl-cat { font-size: 12px; color: #c4c4c4; text-transform: uppercase; letter-spacing: .03em; }
.pl-name { font-size: 15px; line-height: 1.3; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.pl-price { margin-top: auto; font-size: 17px; font-weight: 800; color: #ff9a3d; }
.pl-price s { display: block; font-size: 13px; font-weight: 500; color: #c4c4c4; }
.pl-btn { display: flex; align-items: center; justify-content: center; min-height: 40px; margin-top: 8px; border-radius: 8px; background: #f58220; color: #111; font-size: 14px; font-weight: 700; }
@media (max-width: 768px) {
  .pl-page { padding-top: 84px; }
  .pl-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pl-name { font-size: 14px; }
  .pl-price { font-size: 16px; }
}

.pl-stock { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; }
.pl-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.pl-stock.is-in { color: #7ddc8f; } .pl-stock.is-in::before { background: #3fbf5a; }
.pl-stock.is-out { color: #c4c4c4; } .pl-stock.is-out::before { background: #8a8a8a; }

/* Outlined View product button (2026-11-17) */
.pl-btn { background: #0b0b0b; border: 1.5px solid #f58220; color: #ff9a3d; box-sizing: border-box; }
.pl-card a:hover .pl-btn, .pl-card a:focus-visible .pl-btn { background: #1a1208; }
.pl-card { position: relative; }
.pl-card:has(.pl-badge) .bs-lic-tag { top: 34px; }

/* All products page: search + category chips (2026-11-19) */
.pl-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pl-search { position: relative; display: flex; gap: 8px; max-width: 640px; margin: 14px 0 12px; }
.pl-search .bi-search { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #9a9a9a; pointer-events: none; }
.pl-search input[type="search"] { flex: 1; min-width: 0; height: 46px; padding: 0 12px 0 40px; border: 1px solid #3a3a3a; border-radius: 12px; background: #161616; color: #fff; font: 400 15px Poppins, Arial, sans-serif; }
.pl-search input[type="search"]:focus { outline: none; border-color: #f58220; box-shadow: 0 0 0 3px rgba(245,130,32,.25); }
.pl-search button { flex: none; height: 46px; padding: 0 20px; border: 1px solid #f58220; border-radius: 12px; background: #1a120b; color: #ff9a3d; font: 700 14px Poppins, Arial, sans-serif; cursor: pointer; }
.pl-search button:hover { background: #24170c; }
.pl-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.pl-cats a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1px solid #3a3a3a; border-radius: 999px; background: #141414; color: #e8e8e8; font: 600 13px Poppins, Arial, sans-serif; text-decoration: none; white-space: nowrap; }
.pl-cats a:hover { border-color: #f58220; color: #ff9a3d; }
.pl-cats a.is-on { border-color: #f58220; background: #f58220; color: #111; }
.pl-clear { margin: 0 0 12px; font: 500 13px Poppins, Arial, sans-serif; }
.pl-clear a { color: #ff9a3d; }
.pl-search input:focus-visible, .pl-search button:focus-visible, .pl-cats a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 768px) {
  .pl-search { margin-top: 10px; }
  .pl-search button { padding: 0 14px; }
  .pl-cats { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .pl-cats::-webkit-scrollbar { display: none; }
}
