.price-light-page {
    --price-accent: #2563eb;
    --price-accent-dark: #1d4ed8;
    --price-accent-soft: #eef4ff;
    --price-bg: #f6f8fc;
    --price-card: #ffffff;
    --price-ink: #0f172a;
    --price-copy: #64748b;
    --price-muted: #94a3b8;
    --price-line: #e6eaf2;
    background: var(--price-bg);
    color: var(--price-ink);
}

.price-light-page .v6-main-nav a:first-child {
    background: transparent;
    color: #465363;
    padding-inline: 10px;
}

body.traffic-service-v6.price-light-page .v6-main-nav a:nth-child(2) {
    background: transparent;
    color: #465363;
    padding-inline: 10px;
}

.price-light-page .v6-main-nav a[href="price.php"] {
    background: var(--traffic-brand);
    color: #fff;
    padding-inline: 14px;
}

.price-light-page .v6-main-nav a[href="price.php"]:hover {
    background: #204fb9;
    color: #fff;
}

.price-light-page .price-page-main {
    overflow: visible;
}

.price-light-page .price-page-main > .price-stage {
    background:
        radial-gradient(800px 360px at 22% -160px, #e3ecff 0%, rgba(227, 236, 255, 0) 72%),
        var(--price-bg);
    min-height: 720px;
    padding: 48px 24px 72px;
}

.price-layout {
    margin: 0 auto;
    max-width: 1220px;
}

.price-workspace {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 360px;
}

.price-list-card,
.price-cart-card {
    background: var(--price-card);
    border: 1px solid var(--price-line);
    border-radius: 18px;
    overflow: hidden;
}

.price-list-card {
    box-shadow: 0 18px 44px -36px rgba(35, 50, 79, .32);
    padding: 0;
}

.price-list-head {
    align-items: flex-end;
    border-bottom: 1px solid #eef1f7;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    padding: 24px 26px;
}

.price-eyebrow {
    color: var(--price-accent);
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 6px;
}

.price-list-copy h1 {
    color: var(--price-ink);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.25;
    margin: 0;
}

.price-list-copy p {
    color: var(--price-copy);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
    margin: 6px 0 0;
    word-break: keep-all;
}

.price-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.price-filter-field {
    display: block;
    position: relative;
}

.price-filter-field select,
.price-filter-field input {
    background: #f8fafc;
    border: 1px solid #d9e0ec;
    border-radius: 11px;
    color: var(--price-ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    height: 44px;
    outline: none;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.price-filter-field select {
    appearance: none;
    cursor: pointer;
    min-width: 160px;
    padding: 0 38px 0 14px;
}

.price-filter-field > .fa-chevron-down {
    color: var(--price-copy);
    font-size: 11px;
    pointer-events: none;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}

.price-search-field > .fa-magnifying-glass {
    color: var(--price-muted);
    font-size: 13px;
    left: 14px;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.price-search-field input {
    padding: 0 14px 0 38px;
    width: 190px;
}

.price-filter-field select:focus,
.price-filter-field input:focus {
    background: #fff;
    border-color: var(--price-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.price-filter-field input::placeholder {
    color: var(--price-muted);
}

.price-table-wrap {
    overflow-x: auto;
}

.price-table {
    border-collapse: collapse;
    color: var(--price-ink);
    font-variant-numeric: tabular-nums;
    min-width: 760px;
    width: 100%;
}

.price-table th {
    background: #f8fafc;
    color: var(--price-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 14px 12px;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.price-table th:first-child,
.price-table td:first-child {
    padding-left: 26px;
}

.price-table th:last-child,
.price-table td:last-child {
    padding-right: 26px;
    width: 150px;
}

.price-table td {
    background: #fff;
    border-top: 1px solid #eef1f7;
    font-size: 14px;
    padding: 14px 12px;
    transition: background .18s ease;
    vertical-align: middle;
}

.price-table tr:hover td,
.price-table tr.is-selected td {
    background: #f8faff;
}

.price-table .align-center { text-align: center; }
.price-table .align-right { text-align: right; }

.price-category-pill {
    align-items: center;
    background: var(--price-accent-soft);
    border-radius: 999px;
    color: var(--price-accent-dark);
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    gap: 7px;
    min-height: 30px;
    padding: 5px 10px 5px 7px;
    white-space: nowrap;
}

.price-platform-icon,
.price-cart-platform {
    align-items: center;
    background: #fff;
    border-radius: 8px;
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: center;
}

.price-platform-icon {
    height: 22px;
    width: 22px;
}

.price-platform-icon img {
    height: 15px;
    object-fit: contain;
    width: 15px;
}

.price-platform-icon--fallback {
    color: var(--price-accent);
    font-size: 13px;
}

.price-service-identity {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: 42px minmax(0, 1fr);
}

.price-service-icon,
.price-cart-service-icon {
    align-items: center;
    background: #f3f6fd;
    border: 1px solid #dce5fb;
    border-radius: 12px;
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: center;
}

.price-service-icon {
    height: 42px;
    width: 42px;
}

.price-service-icon img {
    display: block;
    height: 22px;
    width: 22px;
}

.price-service-identity strong {
    color: var(--price-ink);
    display: block;
    font-size: 15px;
    font-weight: 700;
    word-break: keep-all;
}

.price-service-identity > div > span {
    color: var(--price-muted);
    display: block;
    font-size: 11px;
    font-weight: 600;
    margin-top: 3px;
}

.price-price-cell,
.price-total-cell {
    font-weight: 700;
    white-space: nowrap;
}

.price-total-cell {
    color: var(--price-muted);
}

.price-total-cell.has-total {
    color: var(--price-accent);
    font-weight: 800;
}

.price-stepper {
    align-items: center;
    display: inline-flex;
    gap: 6px;
    justify-content: center;
}

.price-stepper button,
.price-stepper input {
    border: 1px solid #d9e0ec;
    border-radius: 8px;
    height: 36px;
}

.price-stepper button {
    align-items: center;
    background: #fff;
    color: var(--price-accent);
    cursor: pointer;
    display: inline-flex;
    font-size: 17px;
    font-weight: 700;
    justify-content: center;
    transition: background .18s ease, border-color .18s ease;
    width: 36px;
}

.price-stepper button:hover {
    background: var(--price-accent-soft);
    border-color: #b9cdfb;
}

.price-stepper button:focus-visible,
.price-reset-button:focus-visible,
.price-order-button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .22);
    outline-offset: 2px;
}

.price-stepper input {
    background: #f8fafc;
    color: var(--price-ink);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    outline: none;
    text-align: center;
    width: 72px;
}

.price-stepper input:focus {
    background: #fff;
    border-color: var(--price-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.price-stepper input::-webkit-inner-spin-button,
.price-stepper input::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}

.price-cart-card {
    box-shadow: 0 18px 44px -34px rgba(35, 50, 79, .42);
    position: sticky;
    top: 98px;
}

.price-cart-head {
    align-items: center;
    border-bottom: 1px solid #eef1f7;
    display: flex;
    justify-content: space-between;
    min-height: 70px;
    padding: 16px 20px;
}

.price-cart-head > div {
    align-items: center;
    display: flex;
    gap: 10px;
}

.price-cart-icon {
    align-items: center;
    background: var(--price-accent-soft);
    border-radius: 10px;
    color: var(--price-accent);
    display: inline-flex;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.price-cart-head h2 {
    color: var(--price-ink);
    font-size: 17px;
    font-weight: 800;
    margin: 0;
}

.price-reset-button {
    background: transparent;
    border: 0;
    color: var(--price-muted);
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    min-height: 44px;
    padding: 8px;
}

.price-reset-button:hover {
    color: #dc2626;
}

.price-cart-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 410px;
    min-height: 164px;
    overflow-y: auto;
    padding: 18px 20px;
}

.price-cart-empty {
    align-items: center;
    color: var(--price-muted);
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    min-height: 126px;
    text-align: center;
}

.price-cart-empty i {
    background: #f4f7fb;
    border-radius: 50%;
    color: #b8c3d4;
    font-size: 18px;
    height: 46px;
    line-height: 46px;
    width: 46px;
}

.price-cart-empty p {
    color: var(--price-copy);
    font-size: 14px;
    font-weight: 700;
    margin: 12px 0 3px;
}

.price-cart-empty span {
    font-size: 12px;
}

.price-cart-item {
    align-items: flex-start;
    display: grid;
    gap: 10px;
    grid-template-columns: 38px minmax(0, 1fr) auto;
}

.price-cart-platform,
.price-cart-service-icon {
    background: var(--price-accent-soft);
    border-radius: 10px;
    height: 38px;
    width: 38px;
}

.price-cart-platform img,
.price-cart-service-icon img {
    height: 21px;
    object-fit: contain;
    width: 21px;
}

.price-cart-item > div:nth-child(2) {
    min-width: 0;
    padding-top: 1px;
}

.price-cart-item > div:nth-child(2) strong,
.price-cart-item > div:nth-child(2) span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.price-cart-item > div:nth-child(2) strong {
    color: var(--price-ink);
    font-size: 14px;
    font-weight: 700;
}

.price-cart-item > div:nth-child(2) span {
    color: var(--price-muted);
    font-size: 12px;
    font-weight: 600;
    margin-top: 3px;
}

.price-cart-item > div:last-child {
    text-align: right;
}

.price-cart-item > div:last-child strong {
    color: var(--price-accent);
    display: block;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.price-cart-item > div:last-child button {
    background: none;
    border: 0;
    color: var(--price-muted);
    cursor: pointer;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    min-height: 44px;
    padding: 4px 0 4px 12px;
}

.price-cart-item > div:last-child button:hover {
    color: #dc2626;
}

.price-cart-summary {
    background: #f8fafc;
    border-top: 1px solid #eef1f7;
    padding: 18px 20px 20px;
}

.price-cart-summary > div {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.price-cart-summary > div > span {
    color: var(--price-copy);
    font-size: 13px;
    font-weight: 600;
}

.price-cart-summary > div > strong {
    color: var(--price-ink);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.03em;
    white-space: nowrap;
}

.price-order-button {
    align-items: center;
    background: var(--price-accent);
    border-radius: 12px;
    box-shadow: 0 10px 22px -14px rgba(37, 99, 235, .68);
    color: #fff;
    display: flex;
    font-size: 15px;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    min-height: 48px;
    transition: background .18s ease, transform .18s ease;
}

.price-order-button:hover {
    background: var(--price-accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

.price-cart-summary > p {
    color: var(--price-muted);
    font-size: 11px;
    line-height: 1.5;
    margin: 10px 0 0;
    text-align: center;
}

.price-alert {
    align-items: center;
    border-radius: 12px;
    display: flex;
    font-size: 14px;
    font-weight: 650;
    gap: 10px;
    margin-bottom: 16px;
    padding: 14px 16px;
}

.price-alert--success {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #047857;
}

.price-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.price-empty-row td {
    padding: 64px 24px !important;
    text-align: center;
}

.price-empty-row i,
.price-empty-row strong,
.price-empty-row span {
    display: block;
}

.price-empty-row i {
    color: #b8c3d4;
    font-size: 22px;
    margin-bottom: 12px;
}

.price-empty-row strong {
    color: var(--price-copy);
    font-size: 15px;
}

.price-empty-row span {
    color: var(--price-muted);
    font-size: 12px;
    margin-top: 5px;
}

@media (max-width: 1050px) {
    .price-workspace { grid-template-columns: minmax(0, 1fr) 320px; }
    .price-list-head { align-items: flex-start; flex-direction: column; }
    .price-filters { width: 100%; }
    .price-search-field { flex: 1; }
    .price-search-field input { width: 100%; }
}

@media (max-width: 820px) {
    .price-light-page .price-page-main > .price-stage { padding: 32px 16px 56px; }
    .price-workspace { grid-template-columns: 1fr; }
    .price-cart-card { position: static; }
}

@media (max-width: 680px) {
    .price-light-page .price-page-main > .price-stage { padding: 20px 12px 40px; }
    .price-list-card,
    .price-cart-card { border-radius: 16px; }
    .price-list-head { gap: 18px; padding: 22px 18px; }
    .price-list-copy h1 { font-size: 22px; }
    .price-filters { display: grid; grid-template-columns: 1fr; }
    .price-filter-field select,
    .price-search-field input { width: 100%; }
    .price-table-wrap { overflow: visible; }
    .price-table { display: block; min-width: 0; }
    .price-table thead { display: none; }
    .price-table tbody { display: block; }
    .price-table tr:not(.price-empty-row) {
        display: grid;
        gap: 12px 14px;
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 18px;
    }
    .price-table td,
    .price-table th:first-child,
    .price-table td:first-child,
    .price-table th:last-child,
    .price-table td:last-child {
        border: 0;
        padding: 0;
        width: auto;
    }
    .price-table tr + tr { border-top: 1px solid #eef1f7; }
    .price-category-cell { grid-column: 1 / -1; }
    .price-service-cell { grid-column: 1; }
    .price-price-cell { align-self: start; grid-column: 2; padding-top: 2px !important; }
    .price-quantity-cell { grid-column: 1; text-align: left !important; }
    .price-total-cell { align-self: center; grid-column: 2; }
    .price-stepper { justify-content: flex-start; }
    .price-stepper button { height: 44px; width: 44px; }
    .price-stepper input { height: 44px; width: 78px; }
    .price-cart-items { max-height: none; }
    .price-light-page .v6-footer-brand-row p br { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .price-light-page *,
    .price-light-page *::before,
    .price-light-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* 카테고리 잠금 안내 토스트 */
.price-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translate(-50%, 12px);
    z-index: 1200;
    max-width: min(92vw, 420px);
    padding: 0.85rem 1.15rem;
    background: #1d2740;
    color: #fff;
    font-size: 0.88rem;
    line-height: 1.5;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(17, 27, 53, 0.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.price-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}
