.nc-detail-page {
    --bg: #f1f5fd;
    --surface: #fff;
    --ink: #0f2c4a;
    --muted: #41546c;
    --soft: #7a8a9e;
    --line: #d8e0ee;
    --line2: #e4ebf5;
    --wash: #e8eef8;
    --accent: #bb2d3b;
    --accent-dark: #9a2430;
    --accent-wash: #fae3e6;
    --ok: #2e9367;
    --ok-wash: #e9f5ef;
    background: var(--bg);
    color: var(--ink);
    padding: 26px 0 90px;
}

.nc-detail-page a {
    color: inherit;
    text-decoration: none;
}

.nc-detail-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nc-crumbs {
    margin-bottom: 18px;
    color: var(--soft);
    font-size: 13px;
}

.nc-crumbs a:hover {
    color: var(--accent);
}

.nc-crumbs span {
    margin: 0 7px;
}

.nc-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 28px;
}

.nc-main {
    display: grid;
    gap: 16px;
}

.nc-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.nc-card-body {
    padding: 22px;
}

.nc-title-row,
.nc-meta,
.nc-pill,
.nc-gal-btn,
.nc-price-row,
.nc-btn,
.nc-seller,
.nc-contact-row,
.nc-safety,
.nc-mobile-cta {
    display: flex;
}

.nc-title-row {
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.nc-title {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
}

.nc-meta {
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 13.5px;
}

.nc-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--soft);
}

.nc-pill {
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--wash);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.nc-pill-ok {
    border-color: #c7e5d5;
    background: var(--ok-wash);
    color: var(--ok);
}

.nc-gallery {
    display: grid;
    gap: 10px;
}

.nc-gallery-main {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--wash);
}

.nc-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nc-slide.active {
    opacity: 1;
}

.nc-slide img,
.nc-thumb img,
.nc-sim-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nc-gal-btn {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 10px rgba(15, 44, 74, 0.12);
    color: var(--ink);
}

.nc-gal-btn:hover {
    color: var(--accent);
}

.nc-prev {
    left: 14px;
}

.nc-next {
    right: 14px;
}

.nc-counter {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 44, 74, 0.84);
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.04em;
}

.nc-fav {
    top: 14px;
    left: 14px;
}

.nc-fav[aria-pressed="true"] svg {
    fill: var(--accent);
    stroke: var(--accent);
}

.nc-thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.nc-thumb {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    background: var(--wash);
}

.nc-thumb.active {
    border-color: var(--accent);
}

.nc-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    gap: 1px;
    border: 1px solid var(--line2);
    border-radius: 10px;
    background: var(--line2);
}

.nc-spec {
    padding: 15px 17px;
    background: #fff;
}

.nc-spec-label {
    color: var(--soft);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nc-spec-val {
    margin-top: 4px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
}

.nc-desc {
    margin: 0;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.7;
    white-space: pre-line;
}

.nc-desc.clamped {
    overflow: hidden;
    max-height: 175px;
    mask-image: linear-gradient(180deg, #000 68%, transparent);
}

.nc-read-more {
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--accent);
    font-weight: 800;
}

.nc-location-box {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 7;
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: repeating-linear-gradient(135deg, var(--wash) 0 8px, #fff 8px 16px);
}

.nc-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    transform: translate(-50%, -100%);
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.nc-pin-label {
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
}

.nc-pin-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(187, 45, 59, 0.22), 0 0 0 14px rgba(187, 45, 59, 0.08);
}

.nc-aside {
    position: sticky;
    top: 92px;
    align-self: start;
    display: grid;
    gap: 16px;
}

.nc-price-card {
    padding: 22px;
}

.nc-price-row {
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.nc-price {
    color: var(--ink);
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
}

.nc-currency {
    margin-left: 4px;
    color: var(--muted);
    font-size: 15px;
}

.nc-note {
    margin-top: 7px;
    color: var(--soft);
    font-size: 13px;
}

.nc-share {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
}

.nc-share:hover {
    background: var(--wash);
}

.nc-cta {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.nc-btn {
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font-weight: 800;
}

.nc-btn:hover {
    background: var(--wash);
}

.nc-btn-primary {
    height: 52px;
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 4px 14px rgba(187, 45, 59, 0.28);
    color: #fff;
}

.nc-btn-primary:hover {
    background: var(--accent-dark);
    color: #fff;
}

.nc-btn-wa {
    border-color: #bce0cc;
    background: #e8f6ee;
    color: #128c4a;
}

.nc-seller {
    align-items: center;
    gap: 12px;
}

.nc-avatar {
    display: grid;
    flex: none;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #bb2d3b, #d85565);
    color: #fff;
    font-weight: 900;
}

.nc-seller-name {
    color: var(--ink);
    font-weight: 900;
}

.nc-seller-sub {
    margin-top: 2px;
    color: var(--soft);
    font-size: 12.5px;
}

.nc-contact-row {
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line2);
}

.nc-safety {
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid #f1bfc5;
    border-radius: 10px;
    background: var(--accent-wash);
    color: var(--muted);
    font-size: 13px;
}

.nc-safety b {
    color: var(--ink);
}

.nc-similar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.nc-sim-card {
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    transition: 0.15s;
}

.nc-sim-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 6px 18px rgba(187, 45, 59, 0.1);
}

.nc-sim-img {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--wash);
}

.nc-sim-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.nc-sim-body {
    padding: 12px 14px;
}

.nc-sim-title {
    display: -webkit-box;
    overflow: hidden;
    min-height: 38px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.nc-sim-price {
    margin-top: 6px;
    color: var(--accent);
    font-weight: 900;
}

.nc-sim-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
    color: var(--soft);
    font-size: 12px;
}

.nc-mobile-cta {
    position: fixed;
    z-index: 50;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
}

.nc-mobile-cta .nc-price {
    font-size: 20px;
}

.nc-mobile-cta .nc-btn {
    flex: 1;
}

@media (max-width: 960px) {
    .nc-detail-grid {
        grid-template-columns: 1fr;
    }

    .nc-aside {
        position: static;
    }

    .nc-mobile-cta {
        display: flex;
    }

    .nc-detail-page {
        padding-bottom: 110px;
    }
}

@media (max-width: 720px) {
    .nc-title {
        font-size: 24px;
    }

    .nc-specs {
        grid-template-columns: repeat(2, 1fr);
    }

    .nc-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }

    .nc-similar-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nc-card-body {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .nc-similar-grid {
        grid-template-columns: 1fr;
    }

    .nc-detail-wrap {
        padding: 0 14px;
    }
}
