/* List Page - scoped */
.list-page { --black:#2D2D2D; --gray:#64748b; --muted:#94a3b8; --border:#eaeaea; --bg:#ffffff; --orange:#FDB913; --primary-yellow:#FDB913; --primary-yellow-hover:#E6A800; font-family:"Mulish",system-ui,sans-serif; color:var(--black) }
.list-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.list-page .container{max-width:1280px;margin:0 auto;padding:24px 16px}

/* Breadcrumb */
.list-page .list-breadcrumb{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;padding:16px 0}
.list-page .list-breadcrumb__list{display:flex;align-items:center;gap:10px;list-style:none;margin:0;padding:0;color:var(--gray);font-size:14px}
.list-page .list-breadcrumb__item a{color:var(--gray);text-decoration:none;transition:all 0.3s ease;padding:4px 8px;border-radius:8px}
.list-page .list-breadcrumb__item a:hover{color:var(--primary-yellow);background:rgba(253,185,19,0.08);transform:translateX(2px)}
.list-page .list-breadcrumb__sep{color:var(--muted);display:inline-flex;align-items:center;font-size:12px}

/* Header */
.list-page .list-header{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end;margin:8px 0 20px}
.list-page .list-title{font-size:32px;line-height:1.2;font-weight:700;margin:0}
.list-page .list-sub{color:var(--gray);margin:0}
.list-page .sort{display:flex;align-items:center;gap:8px;justify-self:end}
.list-page .sort__label{font-size:14px;color:var(--gray)}
.list-page .sort__select{appearance:none;-webkit-appearance:none;border:1px solid var(--border);border-radius:12px;padding:10px 36px 10px 12px;background:var(--bg) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="%2364748b"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center;color:var(--black)}
.list-page .sort__select:focus{outline:2px solid var(--primary-yellow);outline-offset:2px;border-color:var(--primary-yellow)}

/* Mobile Filter Toggle */
.list-page .mobile-filter-toggle{display:none;align-items:center;gap:8px;background:linear-gradient(135deg, var(--primary-yellow) 0%, #FFC843 100%);color:#2D2D2D;border:0;padding:12px 20px;border-radius:12px;cursor:pointer;margin-bottom:16px;font-size:14px;font-weight:600;transition:all 0.3s ease;box-shadow:0 4px 16px rgba(253,185,19,0.3)}
.list-page .mobile-filter-toggle:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(253,185,19,0.4);filter:brightness(1.05)}
.list-page .mobile-filter-toggle[aria-expanded="true"]{background:var(--gray);color:#fff;box-shadow:0 4px 16px rgba(0,0,0,0.2)}

/* Layout */
.list-page .list-layout{display:grid;grid-template-columns:280px 1fr;gap:24px}
@media (max-width:1024px){.list-page .list-layout{grid-template-columns:260px 1fr}}
@media (max-width:768px){
    .list-page .list-layout{grid-template-columns:1fr}
    .list-page .mobile-filter-toggle{display:flex}
    .list-page .filters{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:var(--bg);z-index:1000;padding:20px;overflow-y:auto}
    .list-page .filters.is-open{display:block}
}

/* Filters */
.list-page .filters{position:sticky;top:24px;align-self:start;background:var(--bg);border:1px solid var(--border);border-radius:20px;box-shadow:0 4px 20px rgba(0,0,0,.06);padding:24px 20px;transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1)}
.list-page .filters:hover{box-shadow:0 8px 30px rgba(0,0,0,.08);border-color:rgba(0,0,0,.1)}
.list-page .filters__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid var(--border)}
.list-page .filters__clear{background:transparent;border:0;color:var(--gray);cursor:pointer;font-size:13px;transition:all 0.3s ease;padding:4px 8px;border-radius:6px}
.list-page .filters__clear:hover{color:var(--black);background:rgba(0,0,0,.04)}
.list-page .filters__toggles{display:grid;grid-template-columns:1fr;gap:8px;margin:10px 0 6px}
.list-page .filters__toggle{display:flex;align-items:center;gap:10px}
.list-page .filters__toggle input{width:22px;height:22px}
.list-page .filters__group{border-top:1px solid var(--border);position:relative;margin-top:8px;padding-top:8px}
.list-page .filters__group:first-of-type{border-top:0;margin-top:0;padding-top:0}
.list-page .filters__group__btn:hover{color:var(--black);background:rgba(0,0,0,.04);border-radius:10px}
.list-page .filters__group__btn{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;background:transparent;border:0;padding:12px 10px;font-weight:600;color:var(--black);font-size:14px;transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);letter-spacing:-0.01em;position:relative}
.list-page .filters__group__btn i{transition:transform 0.3s ease;font-size:12px;color:var(--gray)}
.list-page .filters__group__btn:hover i{transform:rotate(180deg);color:var(--black)}
.list-page .filters__group__panel{padding:0 6px 12px;display:block;background:rgba(0,0,0,.02);border-radius:10px;margin-top:6px}
.list-page .filters__group__panel:not(.is-open){display:none}
.list-page .filters__brand__list{list-style:none;margin:0;padding:4px 0}
.list-page .filters__brand__list li{padding:2px 0}
.list-page .filters__brand__list a{display:flex;align-items:center;gap:8px;color:var(--gray);text-decoration:none;padding:8px 10px;border-radius:8px;font-size:13px;transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);position:relative;font-weight:400}
.list-page .filters__brand__list a:before{content:"\f105";font-family:"Font Awesome 5 Free";font-weight:900;color:var(--muted);transition:transform 0.3s ease;font-size:11px}
.list-page .filters__brand__list a:hover{background:rgba(0,0,0,.05);color:var(--black);transform:translateX(3px);font-weight:500}
.list-page .filters__brand__list a:hover:before{transform:translateX(2px);color:var(--black)}
.list-page .filters__brand__list .active-menu a{background:rgba(45,45,45,0.08);color:var(--black);font-weight:600;border:1px solid rgba(0,0,0,.1)}
.list-page .filters__brand__list .active-menu a:hover{background:rgba(45,45,45,0.12);color:var(--black)}
.list-page .filters__options{display:flex;flex-direction:column;gap:6px;padding:6px 0}
.list-page .filters__option{display:flex;align-items:center;gap:10px;cursor:pointer;padding:8px 10px;border:1px solid transparent;transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);position:relative;border-radius:8px}
.list-page .filters__option:hover{background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.08);transform:translateX(2px)}
.list-page .filters__option input{position:absolute;opacity:0;pointer-events:none}
.list-page .filters__option__check{width:18px;height:18px;border:2px solid var(--border);background:var(--bg);position:relative;transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);flex-shrink:0;border-radius:4px}
.list-page .filters__option__check:before{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(0) rotate(45deg);width:4px;height:8px;border:solid var(--bg);border-width:0 2px 2px 0;transition:transform 0.3s cubic-bezier(0.4, 0, 0.2, 1)}
.list-page .filters__option input:checked + .filters__option__check{border-color:var(--black);background:var(--black);box-shadow:0 2px 8px rgba(0,0,0,.15)}
.list-page .filters__option input:checked + .filters__option__check:before{transform:translate(-50%,-50%) scale(1) rotate(45deg)}
.list-page .filters__option__text{font-size:13px;color:var(--black);font-weight:400;letter-spacing:-0.01em;transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1)}
.list-page .filters__option input:checked ~ .filters__option__text{color:var(--black);font-weight:600}
.list-page .filters__apply{padding-top:16px;border-top:1px solid var(--border);margin-top:8px}
.list-page .btn{
    display: block;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    min-height: 50px;
    width: 100%;
    border-radius: 12px;
    border: 0;
    margin-top: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 14px;
}
.list-page .btn:focus{outline:2px solid var(--black);outline-offset:2px}
.list-page .btn--primary{background:var(--black);color:#fff;box-shadow:0 4px 16px rgba(0,0,0,.15);transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);position:relative;overflow:hidden}
.list-page .btn--primary::before{content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,0.15),transparent);transition:left 0.5s ease}
.list-page .btn--primary:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.25);background:#1a1a1a}
.list-page .btn--primary:hover::before{left:100%}

/* Cards Grid */
.list-page .cards .cards__grid{display:grid;gap:24px;grid-template-columns:repeat(3,1fr)}
@media (max-width:1280px){.list-page .cards .cards__grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:1024px){.list-page .cards .cards__grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:768px){.list-page .cards .cards__grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:480px){.list-page .cards .cards__grid{grid-template-columns:1fr}}

.list-page .car-card{background:var(--bg);border:1px solid rgba(0,0,0,.06);border-radius:24px;box-shadow:0 4px 20px rgba(0,0,0,.06);overflow:hidden;transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);position:relative}
.list-page .car-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg, var(--primary-yellow) 0%, rgba(253,185,19,0.5) 50%, var(--primary-yellow) 100%);opacity:0;transition:opacity 0.3s ease}
.list-page .car-card:hover{transform:translateY(-6px);box-shadow:0 20px 50px rgba(253,185,19,0.15);border-color:rgba(253,185,19,0.3)}
.list-page .car-card:hover::before{opacity:1}
.list-page .car-card__media{position:relative;aspect-ratio:640/500;background:linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);overflow:hidden}
.list-page .car-card__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 0.5s ease}
.list-page .car-card:hover .car-card__media img{transform:scale(1.08)}
.list-page .car-card__media .media-dots{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);display:flex;gap:6px;background:rgba(0,0,0,0.3);padding:6px 12px;border-radius:20px;backdrop-filter:blur(8px)}
.list-page .car-card__media .media-dots span{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.5);transition:all 0.3s ease}
.list-page .car-card__media .media-dots span:first-child{background:rgba(255,255,255,.9);width:8px;height:8px}
.list-page .icon-btn{position:absolute;top:10px;right:10px;width:42px;height:42px;border-radius:50%;border:0;background:rgba(255,255,255,.9);cursor:pointer}
.list-page .icon-btn:hover{background:rgba(17,17,17,.05)}
.list-page .car-card__body{padding:20px}
.list-page .car-card__title{font-size:16px;line-height:1.5;margin:0 0 16px;font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;letter-spacing:0}
.list-page .car-card__title a{color:var(--black);text-decoration:none;transition:all 0.3s ease}
.list-page .car-card__title a:hover{color:var(--primary-yellow)}
.list-page .car-card__features{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:16px}
.list-page .feature-item{display:flex;align-items:center;gap:8px;color:var(--gray);font-size:13px;font-weight:400}
.list-page .feature-item i{font-size:14px;color:var(--gray);opacity:0.7;flex-shrink:0;width:16px;text-align:center}
.list-page .feature-item span{color:var(--black);font-weight:500}
.list-page .car-card__price{margin-top:auto;padding-top:4px;border-top:1px solid rgba(0,0,0,.06)}
.list-page .car-card__price .price{font-size:24px;font-weight:700;color:var(--black);letter-spacing:-0.02em}

/* Empty */
.list-page .cards__empty{border:1px dashed var(--border);border-radius:16px;padding:24px;color:var(--gray);text-align:center}

/* Pagination */
.list-page .pagination{display:flex;justify-content:center;margin:20px 0}
.list-page .pagination ul{display:flex;gap:8px;list-style:none;padding:0;margin:0}
.list-page .pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 14px;border:1px solid var(--border);border-radius:12px;color:var(--black);text-decoration:none;font-weight:500;transition:all 0.3s ease}
.list-page .pagination a:hover{background:linear-gradient(135deg, rgba(253,185,19,0.1) 0%, rgba(253,185,19,0.05) 100%);border-color:rgba(253,185,19,0.3);color:var(--primary-yellow);transform:translateY(-2px);box-shadow:0 4px 12px rgba(253,185,19,0.2)}

/* Focus ring */
.list-page :focus-visible{outline:2px solid var(--primary-yellow);outline-offset:2px}

/* Body scroll prevention */
body.no-scroll{overflow:hidden}
