/* 차나두 상세 스킨 */
.cnd-detail-page {
    --cnd-orange: #fc4b03;
    width: min(1360px, calc(100% - 40px));
    margin: 0 auto;
    padding: 10px 0 64px;
    color: #111318;
    background: #fff;
    overflow-x: clip;
}
.cnd-detail-page a { color: inherit; }
.cnd-detail-crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 10px;
    font-size: 13px;
    color: #9ca3af;
}
.cnd-detail-crumb span::before,
.cnd-detail-crumb a + span::before {
    content: ">";
    margin-right: 6px;
    color: #d1d5db;
}
.cnd-detail-page > .cnd-wrap {
    width: 100%;
}
.cnd-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 560px) minmax(0, 1fr) 300px;
    gap: 18px 24px;
    align-items: start;
}
.cnd-detail-gallery__main {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #111;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
}
.cnd-detail-gallery__stage {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}
.cnd-detail-gallery__stage img,
.cnd-detail-gallery__empty {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.cnd-detail-gallery__empty {
    display: grid;
    place-items: center;
    color: #9ca3af;
    background: #1f2937;
}
.cnd-detail-gallery__pager {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 6px;
    background: rgba(17,19,24,.72);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    pointer-events: none;
}
.cnd-detail-gallery__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #111318;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}
.cnd-detail-gallery__arrow:hover {
    background: var(--cnd-orange, #fc4b03);
    color: #fff;
}
.cnd-detail-gallery__arrow.is-prev { left: 14px; }
.cnd-detail-gallery__arrow.is-next { right: 14px; }
.cnd-detail-gallery__arrow.is-prev svg { transform: rotate(180deg); }
.cnd-detail-gallery__arrow svg,
.cnd-detail-gallery__arrow .cnd-ico {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.4;
}
.cnd-detail-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}
.cnd-detail-gallery__thumb {
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    background: #111;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}
.cnd-detail-gallery__thumb.is-on { border-color: var(--cnd-orange); }
.cnd-detail-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.cnd-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.cnd-detail-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 4px;
    background: var(--cnd-orange);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.cnd-detail-badge--cert {
    background: #f3f4f6;
    color: #4b5563;
}
.cnd-detail-title {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.05em;
}
.cnd-detail-sub {
    margin: 6px 0 0;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.03em;
}
.cnd-detail-tools {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 10px 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f1f1;
}
.cnd-detail-tool {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.03em;
    cursor: pointer;
}
.cnd-detail-tool .cnd-ico { width: 15px; height: 15px; stroke: currentColor; }
.cnd-detail-tool.is-on,
.cnd-car-heart.is-on {
    color: var(--cnd-orange);
}
.cnd-detail-tool[data-cnd-wish].is-on .cnd-ico { fill: currentColor; }
.cnd-detail-specs {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 0;
    margin: 0;
}
.cnd-detail-specs > div {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    min-height: 32px;
    padding: 7px 0;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
}
.cnd-detail-specs > div:last-child { border-bottom: 0; }
.cnd-detail-specs dt {
    margin: 0;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 600;
}
.cnd-detail-specs dd {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.cnd-detail-buy {
    border: 1px solid #ffd8c6;
    border-radius: 18px;
    padding: 22px 18px 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(17, 19, 24, .06);
}
.cnd-detail-buy__kicker {
    margin: 0 0 4px;
    color: var(--cnd-orange);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.04em;
}
.cnd-detail-buy__price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin: 0 0 12px;
    color: var(--cnd-orange);
    letter-spacing: -0.06em;
}
.cnd-detail-buy__price strong {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
}
.cnd-detail-buy__price span { font-size: 22px; font-weight: 800; }
.cnd-detail-buy__month {
    margin: 0 0 14px;
    padding: 12px 14px 10px;
    border: 0;
    border-radius: 10px;
    background: #f3f4f6;
    box-shadow: none;
}
.cnd-detail-buy__month-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}
.cnd-detail-buy__month-row strong {
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
    color: var(--cnd-orange);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.04em;
}
.cnd-detail-buy__month-row em { font-style: normal; font-size: 13px; font-weight: 800; }
.cnd-detail-buy__month-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 4px 0 0;
    color: #9ca3af;
    font-size: 12px;
}
.cnd-detail-buy__month-note select {
    height: 22px;
    padding: 0 16px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%239ca3af' stroke-width='1.6' stroke-linecap='round' d='M1.5 1.5 6 6 10.5 1.5'/%3E%3C/svg%3E") no-repeat right 0 center;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 700;
    appearance: none;
    cursor: pointer;
}
.cnd-detail-buy__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 12px;
    background: var(--cnd-orange);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.04em;
    cursor: pointer;
}
.cnd-detail-buy__cta .cnd-ico {
    width: 1.35em;
    height: 1.35em;
    stroke: #fff;
    stroke-width: 2;
}
.cnd-detail-buy__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 10px 0 16px;
}
.cnd-detail-buy__split a,
.cnd-detail-buy__split button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    border: 1.5px solid #fc4b03;
    border-radius: 12px;
    background: #fff;
    color: #111;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}
.cnd-detail-buy__split .cnd-ico {
    width: 18px;
    height: 18px;
    color: #111;
    stroke: currentColor;
}
.cnd-detail-buy__checks {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}
.cnd-detail-buy__checks li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 26px;
    color: #374151;
    font-size: 13px;
    font-weight: 700;
}
.cnd-detail-buy__checks .cnd-ico {
    width: 16px;
    height: 16px;
    color: var(--cnd-orange);
    stroke: currentColor;
    stroke-width: 2.2;
}
.cnd-detail-buy__gift {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 12px 12px 12px 14px;
    border: 0;
    border-radius: 10px;
    background: #fff3ea;
    color: var(--cnd-orange);
    text-align: left;
    line-height: 1.35;
    cursor: pointer;
}
.cnd-detail-buy__gift .cnd-ico {
    width: 26px;
    height: 26px;
    color: var(--cnd-orange);
    stroke: currentColor;
}
.cnd-detail-buy__gift span { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.cnd-detail-buy__gift em {
    font-style: normal;
    color: var(--cnd-orange);
    font-size: 12px;
    font-weight: 700;
}
.cnd-detail-buy__gift strong {
    font-size: 14px;
    font-weight: 800;
}
.cnd-detail-buy__gift > .cnd-ico:last-child {
    width: 16px;
    height: 16px;
    margin-left: auto;
    opacity: 0.85;
}

.cnd-detail-trust-wrap {
    margin-top: 22px;
    padding: 16px;
    background: #f6f5f3;
    border-radius: 16px;
}
.cnd-detail-trust {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.cnd-detail-trust li {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-height: 76px;
    padding: 12px 12px 12px 14px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(17,19,24,.04);
    text-align: left;
}
.cnd-detail-trust__ico {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    color: var(--cnd-orange);
}
.cnd-detail-trust__ico.is-fill {
    border-radius: 50%;
    background: var(--cnd-orange);
    color: #fff;
}
.cnd-detail-trust__ico.is-fill .cnd-ico { stroke: #fff; }
.cnd-detail-trust .cnd-ico {
    width: 26px;
    height: 26px;
    margin: 0;
    color: inherit;
    stroke: currentColor;
    stroke-width: 1.7;
}
.cnd-detail-trust div { min-width: 0; }
.cnd-detail-trust strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.25;
}
.cnd-detail-trust li div span { color: #9ca3af; font-size: 12px; font-weight: 600; }

.cnd-detail-tabs-slot {
    z-index: 200;
    margin-top: 8px;
}
.cnd-detail-tabs {
    border-bottom: 1px solid #ececec;
    background: #fff;
}
.cnd-detail-tabs.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    box-shadow: 0 8px 18px rgba(17, 19, 24, 0.06);
}
.cnd-detail-tabs.is-fixed .cnd-wrap {
    width: min(1360px, calc(100% - 40px));
    margin: 0 auto;
}
.cnd-detail-tabs .cnd-wrap {
    display: flex;
    align-items: stretch;
    width: 100%;
    gap: 0;
}
.cnd-detail-tabs a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-height: 56px;
    padding: 0 8px;
    color: #9ca3af;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.04em;
    text-align: center;
    white-space: nowrap;
}
.cnd-detail-tabs a em {
    margin-left: 2px;
    font-style: normal;
    font-weight: 600;
    color: inherit;
}
.cnd-detail-tabs a.is-on {
    color: var(--cnd-orange);
    font-weight: 700;
}
.cnd-detail-tabs a.is-on::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -1px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--cnd-orange);
}

.cnd-detail-panel { padding: 36px 0 8px; }
.cnd-detail-panel h2 {
    margin: 0 0 16px;
    font-size: 22px;
    letter-spacing: -0.04em;
}
.cnd-detail-panel h2 em {
    font-style: normal;
    color: #9ca3af;
    font-size: 16px;
}
.cnd-detail-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}
.cnd-detail-table {
    margin: 0;
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: 12px;
}
.cnd-detail-table > div {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr) 128px minmax(0, 1fr);
    min-height: 48px;
    border-bottom: 1px solid #eee;
    align-items: stretch;
}
.cnd-detail-table > div:last-child { border-bottom: 0; }
.cnd-detail-table dt {
    margin: 0;
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: #f7f7f7;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}
.cnd-detail-table dd {
    margin: 0;
    display: flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
    background: #fff;
}

.cnd-detail-expert__card {
    position: relative;
    border: 1px solid #f0e4dc;
    border-radius: 16px;
    padding: 22px 20px 16px;
    background: #fffaf7;
    box-shadow: 0 8px 22px rgba(252, 75, 3, .06);
}
.cnd-detail-expert__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
}
.cnd-detail-expert__who img,
.cnd-detail-expert__ph {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px #ffd4bf;
}
.cnd-detail-expert__ph {
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #fff;
}
.cnd-detail-expert__ph img {
    width: 44px;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}
.cnd-detail-expert__quote {
    color: #ffc4a8;
    font-size: 72px;
    line-height: 0.6;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}
.cnd-detail-expert blockquote {
    position: relative;
    margin: 0 0 16px;
    padding: 0;
    color: #374151;
    font-size: 14px;
    line-height: 1.75;
}
.cnd-detail-expert blockquote::before { content: none; }
.cnd-detail-expert__sign {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin: 0;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}
.cnd-detail-expert__hand {
    width: 108px;
    height: 24px;
    color: #c4c4c4;
}

.cnd-detail-band {
    width: auto;
    max-width: none;
    margin: 12px 0 0;
    padding: 28px 0 8px;
    background: transparent;
}
.cnd-detail-band::before { content: none; }
.cnd-detail-checks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.cnd-detail-checks article {
    position: relative;
    overflow: hidden;
    border: 1px solid #f0e4dc;
    border-radius: 16px;
    padding: 20px 18px 18px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(17,19,24,.04);
}
.cnd-detail-check__art {
    position: absolute;
    right: 12px;
    bottom: 10px;
    width: 64px;
    height: 64px;
    max-width: 64px;
    max-height: 64px;
    object-fit: contain;
    object-position: center;
    aspect-ratio: 1 / 1;
    pointer-events: none;
    opacity: 0.88;
}
.cnd-detail-check__head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.cnd-detail-check__ico {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff1ea;
    color: var(--cnd-orange);
}
.cnd-detail-check__ico .cnd-ico { width: 24px; height: 24px; stroke: currentColor; }
.cnd-detail-check__head strong { font-size: 16px; letter-spacing: -0.03em; }
.cnd-detail-check__head em {
    margin-left: auto;
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
}
.cnd-detail-check__head em.is-ok {
    background: #eaf8ee;
    color: #16a34a;
}
.cnd-detail-check__head em.is-bad {
    background: #fff1ea;
    color: var(--cnd-orange);
}
.cnd-detail-check__head em.is-cert {
    background: #fff1ea;
    color: var(--cnd-orange);
}
.cnd-detail-checks ul {
    position: relative;
    z-index: 1;
    margin: 0 0 14px;
    padding: 0 72px 0 16px;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.8;
}
.cnd-detail-checks a,
.cnd-detail-check__muted {
    position: relative;
    z-index: 1;
}
.cnd-detail-checks a {
    color: var(--cnd-orange);
    font-size: 13px;
    font-weight: 800;
}
.cnd-detail-check__muted {
    color: #9ca3af;
    font-size: 13px;
    font-weight: 700;
}

.cnd-detail-photos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.cnd-detail-photos button {
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #111;
    aspect-ratio: 4 / 3;
    cursor: zoom-in;
}
.cnd-detail-photos img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.cnd-detail-empty { color: #9ca3af; }

.cnd-detail-headrow {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.cnd-detail-headrow a {
    color: #9ca3af;
    font-size: 13px;
    font-weight: 700;
}
.cnd-detail-reviews {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.cnd-detail-reviews article {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 18px 16px;
    background: #fff;
}
.cnd-detail-reviews__stars {
    color: #f5b301;
    letter-spacing: 2px;
    font-size: 14px;
}
.cnd-detail-reviews time {
    display: block;
    margin: 4px 0 10px;
    color: #9ca3af;
    font-size: 12px;
}
.cnd-detail-reviews p {
    min-height: 72px;
    margin: 0 0 12px;
    color: #374151;
    font-size: 14px;
    line-height: 1.65;
}
.cnd-detail-reviews span {
    color: #9ca3af;
    font-size: 12px;
}

.cnd-detail-faq details {
    border-bottom: 1px solid #f1f3f5;
}
.cnd-detail-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
.cnd-detail-faq summary::-webkit-details-marker { display: none; }
.cnd-detail-faq summary::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid #c4c9d1;
    border-bottom: 2px solid #c4c9d1;
    transform: rotate(45deg);
    transition: transform .15s ease;
}
.cnd-detail-faq details[open] summary::after { transform: rotate(225deg); }
.cnd-detail-faq p {
    margin: 0 0 16px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}

.cnd-detail-page .cnd-car-grid--home {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}
.cnd-detail-page .cnd-car-card-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    min-height: 0;
}
.cnd-detail-page .cnd-car-card-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}
.cnd-detail-similar strong {
    display: block;
    overflow: hidden;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.cnd-detail-similar em {
    display: block;
    margin: 2px 0 4px;
    color: #9ca3af;
    font-size: 12px;
    font-style: normal;
}
.cnd-detail-similar b {
    color: #111;
    font-size: 16px;
    letter-spacing: -0.04em;
}
.cnd-detail-similar small { font-size: 12px; font-weight: 800; }

.cnd-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
}
.cnd-detail-modal[hidden] { display: none !important; }
.cnd-detail-modal__bg {
    position: absolute;
    inset: 0;
    background: rgba(17,19,24,.45);
}
.cnd-detail-modal__box {
    position: relative;
    z-index: 1;
    width: min(420px, calc(100% - 32px));
    padding: 28px 24px 22px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(17,19,24,.18);
}
.cnd-detail-modal__x {
    position: absolute;
    right: 12px;
    top: 10px;
    border: 0;
    background: none;
    font-size: 24px;
    color: #9ca3af;
    cursor: pointer;
}
.cnd-detail-modal__box h3 { margin: 0 0 6px; font-size: 22px; }
.cnd-detail-modal__box > p { margin: 0 0 16px; color: #6b7280; font-size: 13px; }
.cnd-detail-modal__box label {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 800;
}
.cnd-detail-modal__box input {
    display: block;
    width: 100%;
    margin-top: 6px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
}

/* 스크롤 후 하단 요약바 — 한국중고리스형 화이트 카드 */
.cnd-detail-dock,
.cnd-detail-viewers-mo {
    display: none;
}

@media (min-width: 1024px) {
    .cnd-detail-page {
        padding-bottom: 140px;
    }
    .cnd-detail-dock {
        display: block;
        position: fixed;
        left: 20px;
        right: 20px;
        bottom: 18px;
        z-index: 910;
        width: auto;
        max-width: 1360px;
        margin-left: auto;
        margin-right: auto;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(24px);
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0.3s ease;
    }
    .cnd-detail-dock.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
    .cnd-detail-dock__inner {
        display: grid;
        grid-template-columns: 140px minmax(0, 1fr) auto auto auto;
        align-items: center;
        gap: 0 20px;
        width: 100%;
        min-height: 104px;
        overflow: hidden;
        padding-right: 14px;
        border: 1px solid #ece8e4;
        border-radius: 22px;
        background: #fff;
        box-shadow: 0 16px 40px rgba(17, 19, 24, 0.14);
    }
    .cnd-detail-dock__media {
        position: relative;
        align-self: stretch;
        width: 140px;
        min-height: 104px;
        overflow: hidden;
        background: #111;
    }
    .cnd-detail-dock__media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .cnd-detail-dock__viewers {
        position: absolute;
        left: 8px;
        top: 8px;
        display: inline-flex;
        align-items: center;
        gap: 3px;
        max-width: calc(100% - 12px);
        padding: 4px 8px;
        border-radius: 999px;
        background: rgba(17, 19, 24, 0.82);
        color: #fff;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: -0.04em;
        line-height: 1.2;
        white-space: nowrap;
    }
    .cnd-detail-dock__info {
        min-width: 0;
        padding: 12px 0;
    }
    .cnd-detail-dock__title {
        display: -webkit-box;
        margin: 0 0 8px;
        overflow: hidden;
        color: #111318;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: -0.05em;
        line-height: 1.25;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }
    .cnd-detail-dock__chips {
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .cnd-detail-dock__chips li {
        padding: 4px 9px;
        border: 1px solid #e8e8e8;
        border-radius: 999px;
        background: #fff;
        color: #6b7280;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: -0.04em;
        line-height: 1.2;
        white-space: nowrap;
    }
    .cnd-detail-dock__pay {
        min-width: 0;
        padding: 8px 8px 8px 4px;
        text-align: right;
        white-space: nowrap;
    }
    .cnd-detail-dock__pay-label {
        display: flex;
        align-items: baseline;
        justify-content: flex-end;
        gap: 8px;
        margin: 0 0 2px;
        color: #9ca3af;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: -0.03em;
    }
    .cnd-detail-dock__pay-label span { color: #6b7280; }
    .cnd-detail-dock__pay-label em {
        font-style: normal;
        color: var(--cnd-orange, #fc4b03);
        font-weight: 800;
    }
    .cnd-detail-dock__pay-amount {
        margin: 0;
        color: var(--cnd-orange, #fc4b03);
        font-size: 26px;
        font-weight: 800;
        letter-spacing: -0.06em;
        line-height: 1.1;
    }
    .cnd-detail-dock__pay-amount b { font-weight: 800; }
    .cnd-detail-dock__pay-amount em {
        margin-left: 2px;
        font-style: normal;
        font-size: 14px;
        font-weight: 800;
    }
    .cnd-detail-dock__pay-term {
        margin: 2px 0 0;
        color: #9ca3af;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: -0.03em;
    }
    .cnd-detail-dock__dealer {
        min-width: 132px;
        padding: 8px 4px 8px 8px;
        border-left: 1px solid #f1f1f1;
        text-align: right;
    }
    .cnd-detail-dock__dealer p {
        margin: 0 0 4px;
        color: #111318;
        font-size: 14px;
        font-weight: 800;
        letter-spacing: -0.04em;
    }
    .cnd-detail-dock__dealer a {
        color: var(--cnd-orange, #fc4b03);
        font-size: 15px;
        font-weight: 800;
        letter-spacing: -0.04em;
        white-space: nowrap;
    }
    .cnd-detail-dock__actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 128px;
        padding: 12px 0;
    }
    .cnd-detail-dock__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 40px;
        border: 0;
        border-radius: 999px;
        font-size: 14px;
        font-weight: 800;
        letter-spacing: -0.04em;
        text-decoration: none;
        cursor: pointer;
        white-space: nowrap;
    }
    .cnd-detail-dock__btn .cnd-ico {
        width: 16px;
        height: 16px;
        stroke: currentColor;
    }
    .cnd-detail-dock__btn--call {
        background: #1c1c1c;
        color: #fff;
    }
    .cnd-detail-dock__btn--counsel {
        background: var(--cnd-orange, #fc4b03);
        color: #fff;
    }
    .cnd-detail-dock__btn:hover { filter: brightness(1.06); }

    body.cnd-detail-body:has(.site-ai-sidebar.is-open) .cnd-detail-dock {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    body.cnd-detail-body .epc-cmp-tray {
        bottom: 128px;
    }
    body.cnd-detail-body .site-ai-sidebar {
        bottom: 128px !important;
    }
}

@media (min-width: 1024px) and (max-width: 1320px) {
    .cnd-detail-dock {
        left: 12px;
        right: 16px;
    }
    .cnd-detail-dock__inner {
        grid-template-columns: 100px minmax(0, 1fr) auto auto;
        gap: 0 14px;
    }
    .cnd-detail-dock__media { width: 100px; min-height: 88px; }
    .cnd-detail-dock__dealer { display: none; }
    .cnd-detail-dock__title { font-size: 15px; }
    .cnd-detail-dock__pay-amount { font-size: 22px; }
    .cnd-detail-dock__chips li:nth-child(n + 5) { display: none; }
    .cnd-detail-dock__actions { width: 118px; }
}

@media (max-width: 1023px) {
    .cnd-detail-viewers-mo {
        display: inline-flex;
        position: fixed;
        left: 50%;
        bottom: 66px;
        z-index: 69;
        align-items: center;
        gap: 4px;
        min-height: 32px;
        padding: 0 12px;
        border-radius: 999px;
        background: rgba(17, 19, 24, 0.88);
        color: #fff;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: -0.04em;
        transform: translate(-50%, 8px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
    }
    .cnd-detail-viewers-mo.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 1180px) {
    .cnd-detail-hero {
        grid-template-columns: minmax(0, 1fr) 280px;
    }
    .cnd-detail-gallery { grid-column: 1 / -1; }
    .cnd-detail-split,
    .cnd-detail-checks,
    .cnd-detail-reviews,
    .cnd-detail-similar,
    .cnd-detail-photos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cnd-detail-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
}
@media (max-width: 760px) {
    .cnd-detail-hero,
    .cnd-detail-split,
    .cnd-detail-checks,
    .cnd-detail-reviews,
    .cnd-detail-similar,
    .cnd-detail-photos,
    .cnd-detail-trust,
    .cnd-detail-specs,
    .cnd-detail-table > div {
        grid-template-columns: 1fr;
    }
    .cnd-detail-gallery__arrow {
        width: 36px;
        height: 36px;
    }
    .cnd-detail-title { font-size: 20px; }
    .cnd-detail-tabs .cnd-wrap { overflow-x: auto; }
    .cnd-detail-tabs a { padding: 0 12px; white-space: nowrap; font-size: 14px; }
    .cnd-detail-gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .cnd-detail-table > div dt:nth-of-type(2),
    .cnd-detail-table > div dd:nth-of-type(2) {
        border-top: 1px solid #f8f8f8;
        min-height: 42px;
        display: flex;
        align-items: center;
    }
}

/* 판매자 정보 (판매자 정보 표 + 오른쪽 사원증 이미지 칸) */
.cnd-detail-seller {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
    align-items: center;
    padding: 22px 24px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
}
.cnd-detail-seller__photo {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 86 / 54;
    overflow: hidden;
    border-radius: 12px;
    background: #f8fafc;
}
.cnd-detail-seller__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.cnd-detail-seller__photo:not(.is-empty) { box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12); background: #fff; }
.cnd-detail-seller__photo.is-empty {
    flex-direction: column;
    gap: 8px;
    border: 1.5px dashed #d1d5db;
    color: #9ca3af;
}
.cnd-detail-seller__ph { line-height: 0; }
.cnd-detail-seller__ph-txt { font-size: 13px; font-weight: 600; }
.cnd-detail-seller__list { margin: 0; }
.cnd-detail-seller__list > div {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}
.cnd-detail-seller__list > div:last-child { border-bottom: 0; }
.cnd-detail-seller__list dt { margin: 0; font-size: 15px; color: #9ca3af; font-weight: 500; }
.cnd-detail-seller__list dd { margin: 0; font-size: 16px; color: #111827; font-weight: 700; word-break: keep-all; }
@media (max-width: 720px) {
    .cnd-detail-seller { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px; }
    .cnd-detail-seller__photo { order: -1; width: 100%; max-width: 280px; margin: 0 auto; }
    .cnd-detail-seller__list > div { grid-template-columns: 84px minmax(0, 1fr); padding: 10px 0; }
    .cnd-detail-seller__list dt { font-size: 13px; }
    .cnd-detail-seller__list dd { font-size: 14px; }
}
.cnd-detail-seller__list > div.cnd-detail-seller__intro dd {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.65;
    color: #374151;
    word-break: break-word;
}
.cnd-detail-seller { align-items: start; }
.cnd-detail-seller__photo { align-self: center; }

/* 모바일 차량 기본 정보 — 항목|값 2열, 행 높이·여백 통일 */
@media (max-width: 720px) {
    .cnd-detail-table > div {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 0;
        border-bottom: 0;
    }
    .cnd-detail-table > div dt,
    .cnd-detail-table > div dd,
    .cnd-detail-table > div dt:nth-of-type(2),
    .cnd-detail-table > div dd:nth-of-type(2) {
        min-height: 46px;
        padding: 10px 14px;
        border-top: 0;
        border-bottom: 1px solid #eee;
        box-sizing: border-box;
    }
    .cnd-detail-table > div dt { font-size: 13px; }
    .cnd-detail-table > div dd { font-size: 14px; line-height: 1.45; }
    .cnd-detail-table > div:last-child dt:last-of-type,
    .cnd-detail-table > div:last-child dd:last-of-type { border-bottom: 0; }
}
