.probedetail-wrapper {
    max-width: 1200px;
    padding: 40px 0;
    font-family: Pretendard, sans-serif;
    color: #111;
}

.probedetail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid #222;
}

.product-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: #111;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    word-break: break-word;
}

.probedetail-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.btn-back-prev {
    display: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    cursor: pointer;
    flex: 0 0 auto;
}

.btn-back-prev svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.probedetail-actions {
    display: flex;
    flex-shrink: 0;
    justify-content: flex-end;
}

.btn-my-cart {
    min-width: 144px;
    min-height: 42px;
    padding: 10px 22px;
    border: 1px solid #333;
    border-radius: 2px;
    background: #fff;
    color: #111;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: border-color 0.2s, color 0.2s;
}

.btn-my-cart:hover {
    color: var(--global-color-white);
    border: 1px solid var(--global-color-black);
    background-color: var(--global-color-black);
    transition: all .2s ease;
}

.probedetail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 40px;
    align-items: start;
    margin-top: 36px;
}

.probedetail-main {
    min-width: 0;
}

.probestore-element-image {
    grid-column: 2;
    grid-row: 1;
    width: 200px;
    height: 200px;
    overflow: hidden;
}

.probestore-element-image img {
    width: 100%;
    height: 100%;
}

.detail-section {
    margin-top: 58px;
}

.detail-section:first-child {
    margin-top: 0;
}

.detail-section-title {
    margin: 0 0 18px;
    color: #111;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.spec-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 9px;
    max-width: 430px;
    padding: 18px 22px;
    background: #f7f7f7;
}

.spec-row {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) minmax(90px, 1fr);
    gap: 18px;
    align-items: baseline;
    color: #111;
    font-size: 14px;
    line-height: 1.4;
}

.spec-label {
    color: #111;
    font-weight: 600;
}

.spec-value {
    color: #111;
    font-weight: 500;
}

.spec-desc {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0;
    padding-left: 0;
    color: #222;
    font-size: 14px;
    line-height: 1.55;
    list-style: none;
}

.spec-desc:empty {
    display: none;
}

.spec-desc li {
    position: relative;
    padding-left: 12px;
}

.spec-desc li::before {
    content: '';
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 3px;
    height: 3px;
    background: #111;
    transform: translateY(-50%);
}

.compatible-table-wrapper {
    width: 100%;
    max-width: 430px;
    overflow-x: auto;
    border: 1px solid #cfcfcf;
}

.compatible-table {
    width: 100%;
    border-collapse: collapse;
    color: #111;
    font-size: 14px;
    line-height: 1.45;
}

.compatible-table th,
.compatible-table td {
    padding: 12px 14px;
    border-right: 1px solid #cfcfcf;
    border-bottom: 1px solid #cfcfcf;
    text-align: center;
    vertical-align: middle;
}

.compatible-table th:last-child,
.compatible-table td:last-child {
    border-right: 0;
}

.compatible-table tbody tr:last-child td {
    border-bottom: 0;
}

.compatible-table th {
    background: #f2f2f2;
    font-weight: 700;
}

.compatible-table td:last-child {
    text-align: left;
}

.order-panel {
    min-width: 0;
    padding: 32px;
    background: #eef8ff;
}

.order-title {
    margin: 0 0 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #cbd7df;
    color: #111;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.selection-group {
    margin-bottom: 50px;
}

.selection-group.is-disabled {
    opacity: 0.52;
}

.selection-title {
    display: block;
    margin: 0 8px 12px;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.btn-group-row {
    display: flex;
    min-height: 36px;
    flex-wrap: wrap;
    gap: 10px;
}

.system-btn {
    min-width: 74px;
    min-height: 36px;
    padding: 8px 18px;
    border: 1px solid #fff;
    border-radius: 2px;
    background: #fff;
    color: #111;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.system-btn:hover {
    border-color: #00a0e9;
    color: #00a0e9;
}

.system-btn.active {
    border-color: #00a0e9;
    background: #00a0e9;
    color: #fff;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.form-select {
    width: 100%;
    min-height: 38px;
    padding: 9px 42px 9px 14px;
    border: 1px solid #fff;
    border-radius: 2px;
    appearance: none;
    background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2214%22%20height%3D%228%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1%201l6%206%206-6%22%20stroke%3D%22%23222%22%20stroke-width%3D%221.8%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E') no-repeat right 14px center;
    color: #111;
    cursor: pointer;
    font-size: 13px;
}

.form-select:disabled {
    background-color: #f7f7f7;
    color: #9b9b9b;
    cursor: default;
}

.selected-options {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 96px;
    margin-top: 2px;
    padding: 20px 18px;
    background: #fff;
}

.selected-options-empty {
    margin: 0;
    color: #777;
    font-size: 13px;
    line-height: 1.45;
}

.selected-option-item {
    padding-bottom: 18px;
    border-bottom: 1px solid #b8b8b8;
}

.selected-option-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.selected-option-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
}

.selected-option-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.option-row {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr); 
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.option-label {
    color: #666; 
    font-weight: 400;
}

.option-value {
    color: #111;
    font-weight: 700;
}

.selected-option-qty {
    color: #111;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.selected-option-controls {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 10px;
}

.qty-control {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0;
    border: 1px solid #cfcfcf;
    background: #fff;
    color: #111;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.qty-count {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-top: 1px solid #cfcfcf;
    border-bottom: 1px solid #cfcfcf;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 700;
}

.remove-control {
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    color: #111;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.probedetail-cta {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    margin-top: 22px;
    margin-right: 24px;
}

.btn-primary,
.btn-secondary {
    min-width: 190px;
    min-height: 52px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}

.btn-primary {
    border: 1px solid #00a0e9;
    background: #00aeef;
    color: #fff;
}

.btn-primary:hover {
    background: #008ccb;
    border-color: #008ccb;
}

.btn-secondary {
    border: 1px solid #00a0e9;
    background: #00aeef;
    color: #fff;
}

.btn-secondary:hover {
    background: #008ccb;
    border-color: #008ccb;
}

.btn-primary:disabled,
.btn-secondary:disabled {
    border-color: #c7c7c7;
    background: #c7c7c7;
    color: #fff;
    cursor: default;
    opacity: 1;
}

.cart-modal-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    padding: 14px 4px;
    border-bottom: 1px solid #eee;
    color: #111;
    font-size: 14px;
}

.cart-modal-row strong {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
    line-height: 1.35;
    word-break: break-word;
}

.cart-modal-row span {
    display: block;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.cart-modal-delete {
    border: 0;
    background: transparent;
    color: #111;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.no-data {
    color: #777;
    font-size: 13px;
    line-height: 1.45;
}

.probedetail-wrapper .download-section {
    margin-top: 40px; 
}

.probedetail-wrapper .download-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #e0e0e0;
}

.probedetail-wrapper .download-list li {
    border-bottom: 1px solid #e0e0e0;
}

.probedetail-wrapper .download-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 8px;
    text-decoration: none;
    color: #111;
    transition: background-color 0.2s ease;
}

.probedetail-wrapper .download-list a:hover {
    background-color: #f9f9f9;
}

.probedetail-wrapper .download-list .download-title {
    font-size: 15px;
    font-weight: 500;
    margin-right: 16px;
    min-width: 0;
    word-break: keep-all; 
    overflow-wrap: break-word;
}

.probedetail-wrapper .download-list .download-icon {
    width: 20px;
    height: 20px;
    color: #333;
    flex-shrink: 0
}

@media screen and (max-width: 992px) {
    .probedetail-header {
        flex-direction: column;
        align-items: stretch;
    }

    .probedetail-actions {
        width: 100%;
    }

    .btn-my-cart {
        width: 100%;
    }

    .probedetail-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .order-panel {
        padding: 26px 20px;
    }

    .probedetail-cta {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

@media screen and (max-width: 640px) {
    .probedetail-wrapper {
        padding: 28px 0;
    }

    .product-title {
        font-size: 24px;
    }

    .btn-back-prev {
        display: inline-flex;
    }
    .option-row {
        gap: 0px;
    }

    .spec-row {
        gap: 2px;
        grid-template-columns: 3fr 1fr;
        font-size: 12px;
    }

    .compatible-table {
        table-layout: fixed;
        min-width: 0;
        font-size: 12px;
    }

    .compatible-table th,
    .compatible-table td {
        padding: 9px 8px;
        word-break: break-word;
    }

    .selected-option-item {
        grid-template-columns: 1fr;
    }
}
