/* Hazır yazılımlar katalog — Servercim koyu tema */
.sw-hazir-page { padding-bottom: 2rem; }

.sw-hazir-catalog { padding-top: 0.5rem; }

.sw-hazir-layout {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}
@media (min-width: 900px) {
    .sw-hazir-layout { grid-template-columns: 220px 1fr; }
}

.sw-hazir-sidebar__box {
    position: sticky;
    top: 5.5rem;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(28, 34, 48, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.07);
}
.sw-hazir-sidebar__title {
    margin: 0;
    padding: 0.9rem 1.1rem;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a5b4fc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sw-hazir-cats { list-style: none; margin: 0; padding: 0; }
.sw-hazir-cats__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    width: 100%;
    padding: 0.75rem 1.1rem;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: transparent;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: rgba(203, 213, 225, 0.88);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.sw-hazir-cats__btn:last-child { border-bottom: none; }
.sw-hazir-cats__btn:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #fff;
}
.sw-hazir-cats__btn.is-active {
    background: rgba(99, 102, 241, 0.15);
    color: #c7d2fe;
    font-weight: 700;
}
.sw-hazir-cats__count {
    flex-shrink: 0;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: 10px;
    font-weight: 800;
    color: rgba(148, 163, 184, 0.9);
    background: rgba(0, 0, 0, 0.3);
}
.sw-hazir-cats__btn.is-active .sw-hazir-cats__count {
    background: rgba(99, 102, 241, 0.35);
    color: #e0e7ff;
}

.sw-hazir-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
@media (min-width: 1100px) {
    .sw-hazir-grid { grid-template-columns: repeat(3, 1fr); }
}

.sw-hazir-card {
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(19, 23, 34, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.sw-hazir-card:hover {
    border-color: rgba(129, 140, 248, 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}
.sw-hazir-card[hidden] { display: none !important; }

.sw-hazir-card__media {
    position: relative;
    aspect-ratio: 400 / 260;
    background: rgba(0, 0, 0, 0.35);
    overflow: hidden;
}
.sw-hazir-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sw-hazir-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(19, 23, 34, 0.9) 100%);
}

.sw-hazir-card__fav {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(19, 23, 34, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(148, 163, 184, 0.9);
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
}
.sw-hazir-card__fav:hover,
.sw-hazir-card__fav.is-active { color: #f87171; border-color: rgba(248, 113, 113, 0.4); }
.sw-hazir-card__fav .icon { width: 0.95rem; height: 0.95rem; }

.sw-hazir-card__badges {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.6rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}
.sw-hazir-card__stat {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #e2e8f0;
    background: rgba(30, 41, 59, 0.85);
}
.sw-hazir-card__price {
    margin-left: auto;
    padding: 0.22rem 0.5rem;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #e11d48, #f43f5e);
    white-space: nowrap;
}

.sw-hazir-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.45rem;
    padding: 1rem 1.05rem 1.1rem;
}
.sw-hazir-card__name {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    color: #fff;
}
.sw-hazir-card__excerpt {
    margin: 0;
    font-size: 11px;
    line-height: 1.5;
    color: rgba(148, 163, 184, 0.9);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sw-hazir-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: auto;
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    transition: filter 0.15s;
}
.sw-hazir-card__cta:hover { filter: brightness(1.08); }

.sw-hazir-empty {
    grid-column: 1 / -1;
    margin: 2rem 0;
    padding: 2rem;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.9);
    border-radius: 1rem;
    background: rgba(28, 34, 48, 0.6);
    border: 1px dashed rgba(255, 255, 255, 0.1);
}