.nsg-as24 {
    margin: 0;
    background: var(--nsg-bg);
    color: var(--nsg-text);
    font-family: Roboto, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.nsg-as24 * {
    box-sizing: border-box;
}

.nsg-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 20px 40px;
}

.nsg-eyebrow {
    margin: 0;
    color: var(--nsg-accent);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nsg-header h1 {
    margin: 6px 0 8px;
    font-family: Lora, Georgia, serif;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.15;
}

.nsg-lead,
.nsg-phones,
.nsg-count,
.nsg-footer,
.nsg-version {
    color: var(--nsg-muted);
}

.nsg-lead,
.nsg-phones {
    margin: 0;
}

.nsg-phones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 10px;
}

.nsg-phones a,
.nsg-footer a,
.nsg-reset {
    color: var(--nsg-accent);
    text-decoration: none;
}

.nsg-phones a:hover,
.nsg-footer a:hover,
.nsg-reset:hover {
    text-decoration: underline;
}

.nsg-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px 14px;
    margin-top: 22px;
    padding: 18px;
    background: var(--nsg-card);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(17, 21, 24, 0.05);
}

.nsg-filters label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--nsg-muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nsg-filters select {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #e1e8ed;
    border-radius: 6px;
    background: #fff;
    color: var(--nsg-text);
    font: 400 15px/1.2 Roboto, sans-serif;
    text-transform: none;
    letter-spacing: 0;
}

.nsg-filters select:focus {
    outline: 2px solid var(--nsg-accent);
    border-color: transparent;
}

.nsg-filters__actions {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.nsg-filters button,
.nsg-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 42px;
    padding: 0 16px;
    white-space: nowrap;
    border: 0;
    border-radius: 4px;
    background: var(--nsg-accent);
    color: #fff;
    font: 500 15px/1 Roboto, sans-serif;
    text-decoration: none;
    cursor: pointer;
}

.nsg-filters button:hover,
.nsg-button:hover {
    filter: brightness(0.93);
}

.nsg-count {
    margin: 18px 0 14px;
    font-size: 15px;
}

.nsg-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.nsg-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--nsg-card);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(17, 21, 24, 0.06);
}

.nsg-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #e1e8ed;
}

.nsg-card__media img {
    position: absolute;
    inset: 0;
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nsg-card__media img.is-active {
    display: block;
}

.nsg-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nsg-muted);
    font-size: 14px;
}

.nsg-badge,
.nsg-counter {
    position: absolute;
    z-index: 1;
    border-radius: 999px;
    background: rgba(17, 21, 24, 0.78);
    color: #fff;
    font-size: 12px;
}

.nsg-badge {
    top: 12px;
    left: 12px;
    padding: 4px 10px;
}

.nsg-counter {
    right: 12px;
    bottom: 12px;
    padding: 3px 8px;
}

.nsg-nav {
    position: absolute;
    top: 50%;
    z-index: 1;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--nsg-text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(17, 21, 24, 0.18);
}

.nsg-nav--prev { left: 10px; }
.nsg-nav--next { right: 10px; }

.nsg-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px 16px 18px;
}

.nsg-card h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.nsg-card h2 a {
    color: inherit;
    text-decoration: none;
}

.nsg-card h2 a:hover {
    color: var(--nsg-accent);
}

.nsg-version {
    margin: 4px 0 0;
    font-size: 14px;
}

.nsg-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.nsg-specs li {
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--nsg-bg);
    color: var(--nsg-text);
    font-size: 13px;
}

.nsg-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
}

.nsg-price {
    margin: 0;
    color: var(--nsg-accent);
    font-size: 22px;
    font-weight: 700;
}

.nsg-empty {
    margin: 24px 0;
    padding: 28px;
    background: var(--nsg-card);
    border-radius: 12px;
}

.nsg-footer {
    margin-top: 28px;
    font-size: 13px;
}

@media (max-width: 980px) {
    .nsg-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .nsg-header h1 {
        font-size: 32px;
    }
    .nsg-grid {
        grid-template-columns: 1fr;
    }
    .nsg-card__foot {
        align-items: stretch;
        flex-direction: column;
    }
    .nsg-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nsg-card,
    .nsg-button,
    .nsg-filters button {
        transition: none;
    }
}
