/* Car accessories listing page */
.acc-index-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #fff8ef 0%, #ffffff 42%, #f8fafc 100%);
}

.acc-index-wrap {
    max-width: 72rem;
    margin: 0 auto;
    padding: 36px 16px 56px;
}

.acc-index-hero {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 32px 28px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #1f2937 0%, #92400e 45%, #f59e0b 100%);
    box-shadow: 0 16px 48px rgba(146, 64, 14, 0.18);
}

.acc-index-hero::after {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.acc-index-hero__inner { position: relative; z-index: 1; }
.acc-index-hero, .acc-index-hero h1, .acc-index-hero p { color: #fff !important; }

.acc-index-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
    margin: 0 0 10px;
}

.acc-index-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 10px;
}

.acc-index-hero__subtitle {
    font-size: 0.95rem;
    opacity: 0.92;
    margin: 0;
    max-width: 640px;
    line-height: 1.55;
}

.acc-index-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.acc-index-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.85rem;
    font-weight: 700;
}

.acc-index-cta {
    border-radius: 16px;
    border: 1px solid #fde6c8;
    background: #fff;
    padding: 22px 24px;
    margin-bottom: 28px;
    box-shadow: 0 8px 28px rgba(146, 64, 14, 0.06);
}

.acc-index-cta__head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.acc-index-cta__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.acc-index-cta__title {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 6px;
    color: #111827;
}

.acc-index-cta__text {
    margin: 0;
    color: #6b7280;
    line-height: 1.55;
    font-size: 0.92rem;
}

.acc-index-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.acc-index-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
}

.acc-index-btn:hover { transform: translateY(-1px); text-decoration: none; }
.acc-index-btn--primary { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff !important; box-shadow: 0 8px 22px rgba(217, 119, 6, 0.25); }
.acc-index-btn--outline { border: 1px solid #f59e0b; color: #b45309 !important; background: #fff; }
.acc-index-btn--ghost { background: #fff7ed; color: #92400e !important; border: 1px solid #fed7aa; }

.acc-index-section { margin-bottom: 34px; }

.acc-index-section__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.acc-index-section__bar {
    width: 4px;
    height: 28px;
    border-radius: 999px;
}

.acc-index-section__bar--local { background: #f59e0b; }
.acc-index-section__bar--other { background: #6b7280; }

.acc-index-section__title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: #111827;
}

.acc-index-section__count {
    margin-left: auto;
    font-size: 0.8rem;
    font-weight: 700;
    color: #6b7280;
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 999px;
}

.acc-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.acc-index-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform .18s, box-shadow .18s;
}

.acc-index-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.1);
    text-decoration: none;
    color: inherit;
}

.acc-index-card__img {
    aspect-ratio: 4/3;
    background: #f3f4f6;
    overflow: hidden;
}

.acc-index-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.acc-index-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
    font-size: 2.5rem;
}

.acc-index-card__body { padding: 16px; flex: 1; display: flex; flex-direction: column; }

.acc-index-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.acc-index-card__tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fff7ed;
    color: #b45309;
}

.acc-index-card__title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 8px;
    color: #111827;
    line-height: 1.35;
}

.acc-index-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 12px;
}

.acc-index-card__meta span { display: inline-flex; align-items: center; gap: 5px; }

.acc-index-card__price {
    margin-top: auto;
    font-size: 1.15rem;
    font-weight: 900;
    color: #d97706;
}

.acc-index-card__footer {
    padding: 12px 16px;
    border-top: 1px solid #f3f4f6;
    background: #fafafa;
}

.acc-index-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #b45309;
}

.acc-index-empty {
    text-align: center;
    padding: 56px 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px dashed #fcd34d;
}

.acc-index-empty i {
    font-size: 2.5rem;
    color: #f59e0b;
    margin-bottom: 12px;
}

.acc-index-empty p {
    color: #6b7280;
    margin-bottom: 18px;
}

@media (max-width: 640px) {
    .acc-index-cta__head { flex-direction: column; }
}
