﻿/* ═══════════════════════════════════════════════════════
   Products Listing Page  —  products-list.css
   Theme: #ff5e14 orange  |  #010e2a navy
═══════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────── */
.pl-hero {
    background: linear-gradient(135deg, #010e2a 0%, #0d2252 55%, #010e2a 100%);
    padding: 64px 0 52px;
    position: relative; overflow: hidden;
}
.pl-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 65% 50%, rgba(255,94,20,.12) 0%, transparent 65%);
    pointer-events: none;
}
.pl-hero-inner { text-align: center; position: relative; z-index: 1; }

.pl-hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,94,20,.14); color: #ff7b3d;
    border: 1px solid rgba(255,94,20,.3);
    font-size: 12px; font-weight: 700; letter-spacing: .5px;
    padding: 5px 16px; border-radius: 20px; margin-bottom: 16px;
}
.pl-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900; color: #fff;
    margin-bottom: 10px; line-height: 1.15;
}
.pl-hero-sub {
    color: rgba(255,255,255,.6); font-size: 15px;
    max-width: 540px; margin: 0 auto 24px;
}
.pl-hero-stats {
    display: flex; align-items: center; justify-content: center;
    gap: 32px; flex-wrap: wrap; margin-top: 28px;
}
.pl-hero-stat {
    text-align: center;
}
.pl-hero-stat-num {
    font-size: 1.8rem; font-weight: 900; color: #ff7b3d;
    line-height: 1;
}
.pl-hero-stat-label {
    font-size: 11.5px; color: rgba(255,255,255,.5);
    font-weight: 600; margin-top: 3px;
}
.pl-hero-divider {
    width: 1px; height: 36px;
    background: rgba(255,255,255,.15);
}

/* ── Section wrap ─────────────────────────────────── */
.pl-section {
    padding: 56px 0 80px;
    background: #f8fafc;
}

/* ── Section heading ──────────────────────────────── */
.pl-section-head {
    text-align: center; margin-bottom: 40px;
}
.pl-section-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,94,20,.08); color: #ff5e14;
    border: 1px solid rgba(255,94,20,.2);
    font-size: 11.5px; font-weight: 800; letter-spacing: .5px;
    padding: 4px 14px; border-radius: 20px; margin-bottom: 10px;
}
.pl-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900; color: #0f172a; margin-bottom: 6px;
}
.pl-section-sub {
    font-size: 14.5px; color: #64748b; max-width: 560px; margin: 0 auto;
}

/* ── Category card ────────────────────────────────── */
.pl-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: 0 2px 14px rgba(0,0,0,.07);
    transition: transform .28s, box-shadow .28s;
    height: 100%;
}
.pl-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0,0,0,.12);
}

/* Thumb */
.pl-card-thumb {
    position: relative;
    width: 100%; aspect-ratio: 16 / 9;
    overflow: hidden; background: #1e293b;
    flex-shrink: 0;
}
.pl-card-thumb img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .4s ease;
}
.pl-card:hover .pl-card-thumb img { transform: scale(1.07); }

/* Placeholder when no image */
.pl-card-thumb-ph {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 10px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: rgba(255,255,255,.18);
}
.pl-card-thumb-ph i   { font-size: 3.5rem; }
.pl-card-thumb-ph span { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: rgba(255,255,255,.3); }

/* Product count badge on image */
.pl-card-count {
    position: absolute; top: 12px; right: 12px;
    background: rgba(0,0,0,.6);
    color: #fff; font-size: 11.5px; font-weight: 700;
    padding: 4px 11px; border-radius: 20px;
    backdrop-filter: blur(6px);
    display: flex; align-items: center; gap: 5px;
    border: 1px solid rgba(255,255,255,.15);
}
.pl-card-count i { color: #ff7b3d; font-size: 10px; }

/* Gradient overlay on image bottom */
.pl-card-thumb-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(1,14,42,.55) 0%, transparent 100%);
    pointer-events: none;
}

/* Body */
.pl-card-body {
    padding: 18px 20px 14px;
    flex: 1; display: flex; flex-direction: column;
}
.pl-card-name {
    font-size: 15.5px; font-weight: 800; color: #0f172a;
    margin-bottom: 7px; line-height: 1.3;
}
.pl-card-desc {
    font-size: 13px; color: #64748b;
    line-height: 1.6; flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}
.pl-card-desc:empty { margin-bottom: 0; }

/* Footer / CTA */
.pl-card-footer {
    padding: 0 20px 20px;
}
.pl-card-btn {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    width: 100%; padding: 11px 0;
    background: linear-gradient(135deg, #ff5e14, #ff7b3d);
    color: #fff; border: none; border-radius: 10px;
    font-size: 13.5px; font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(255,94,20,.28);
    transition: all .22s;
}
.pl-card-btn:hover {
    background: linear-gradient(135deg, #e04e0f, #ff5e14);
    box-shadow: 0 6px 20px rgba(255,94,20,.38);
    transform: translateY(-1px);
    color: #fff;
}
.pl-card-btn i { font-size: 15px; transition: transform .2s; }
.pl-card:hover .pl-card-btn i { transform: translateX(3px); }

/* ── Empty state ──────────────────────────────────── */
.pl-empty {
    text-align: center; padding: 72px 24px;
    background: #fff; border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.pl-empty-icon { font-size: 4rem; color: #e2e8f0; display: block; margin-bottom: 16px; }
.pl-empty h4   { color: #64748b; font-weight: 700; }
.pl-empty p    { color: #94a3b8; font-size: 14px; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 575.98px) {
    .pl-hero { padding: 44px 0 36px; }
    .pl-hero-stats { gap: 20px; }
    .pl-hero-stat-num { font-size: 1.5rem; }
    .pl-section { padding: 36px 0 56px; }
}
