/* JPARTS member area, limited to pages that explicitly load this stylesheet. */
.jp-member-wide .sidebar, .jp-member-wide .jp-category-nav {
    display: none !important
}

.jp-member-wide .layout-wrapper {
    padding: 24px 0 76px
}

.jp-member-wide .layout {
    display: block !important;
    width: min(1180px, calc(100% - 32px)) !important;
    max-width: 1180px;
    margin: 12px auto !important
}

.jp-member-wide .content {
    min-height: 400px
}

.jp-member-page {
    color: #173447;
    font-size: 15px
}

.jp-member-page *, .jp-auth-shell * {
    box-sizing: border-box
}

.jp-page-head {
    margin: 0 0 24px
}

.jp-page-head h1, .jp-auth-card h1 {
    font-size: 30px;
    margin: 3px 0 10px;
    color: #15364b
}

.jp-page-head p {
    margin: 5px 0;
    color: #526a7a
}

.jp-eyebrow {
    font-size: 12px !important;
    color: #2e728d !important;
    font-weight: 800;
    letter-spacing: 1px
}

.jp-panel, .jp-auth-card {
    background: #fff;
    border: 1px solid #dbe5ed;
    border-radius: 13px;
    box-shadow: 0 5px 20px rgba(19, 62, 85, .05);
    padding: 24px;
    margin-bottom: 18px
}

.jp-auth-shell {
    max-width: 490px;
    margin: 24px auto 75px
}

.jp-auth-card {
    padding: 34px
}

.jp-auth-brand {
    font-size: 22px;
    font-weight: 900;
    color: #2e627a;
    margin-bottom: 22px
}

.jp-auth-brand span {
    font-size: 13px;
    font-weight: 600;
    color: #8194a2;
    padding-left: 8px
}

.jp-muted {
    color: #667d8d;
    font-size: 13px;
    font-weight: 400
}

.jp-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 15px 0
}

.jp-field label {
    font-weight: 700;
    font-size: 13px;
    color: #2c4657
}

.jp-field input, .jp-field select, .jp-field textarea, .jp-auth-card input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccd9e4;
    border-radius: 7px;
    background: #fff;
    color: #142d3e;
    font: inherit;
    max-width: 100%
}

.jp-field input:focus, .jp-field textarea:focus {
    outline: 2px solid #90c1d9;
    outline-offset: 1px
}

.jp-field-error, .jp-alert {
    color: #a32828;
    font-size: 13px
}

.jp-alert {
    border-radius: 8px;
    background: #fff2f2;
    padding: 10px
}

.jp-help {
    color: #6b7d89;
    font-size: 12px
}

.jp-help ul {
    padding-left: 18px
}

.jp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    font: inherit
}

.jp-btn--primary {
    color: white;
    background: #2e627a;
    border-color: #2e627a
}

.jp-btn--primary:hover {
    background: #234e64;
    color: white
}

.jp-btn--ghost {
    color: #2e627a;
    border-color: #b4cad7;
    background: white
}

.jp-btn--full {
    width: 100%
}

.jp-auth-links, .jp-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 17px
}

.jp-auth-links a, .jp-text-link {
    color: #176186;
    text-decoration: none;
    font-weight: 700
}

.jp-auth-links a:hover, .jp-text-link:hover {
    text-decoration: underline
}

.jp-notice {
    padding: 15px 17px;
    border: 1px solid #dce9ee;
    border-radius: 8px;
    background: #f1f8fa;
    color: #476273;
    font-size: 13px;
    line-height: 1.7;
    margin-top: 17px
}

.jp-notice p {
    margin: 5px 0
}

.jp-dashboard-grid {
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap: 16px
}

.jp-action-tile {
    display: flex;
    flex-direction: column;
    gap: 9px;
    color: #173447;
    text-decoration: none
}

.jp-action-tile strong {
    font-size: 19px
}

.jp-action-tile span {
    color: #647e8e;
    font-size: 14px
}

.jp-action-tile:hover {
    border-color: #3c8ca7
}

.jp-panel h2 {
    font-size: 19px;
    margin: 0 0 18px
}

.jp-table-wrap {
    overflow-x: auto
}

.jp-table {
    border-collapse: collapse;
    width: 100%;
    min-width: 620px
}

.jp-table th {
    background: #f0f5f9;
    color: #3d5566;
    text-align: left;
    font-size: 13px;
    padding: 15px 12px
}

.jp-table td {
    border-top: 1px solid #e5edf3;
    padding: 16px 12px;
    vertical-align: middle
}

.jp-status {
    border-radius: 18px;
    background: #e7f3f7;
    color: #28627a;
    padding: 5px 10px;
    font-size: 12px
}

.jp-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 18px
}

.jp-pagination a {
    color: #2e627a
}

.jp-empty {
    text-align: center;
    padding: 44px 12px;
    color: #476273
}

.jp-empty strong {
    font-size: 18px
}

.jp-empty .jp-actions {
    justify-content: center
}

.jp-cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 22px 4px 4px;
    border-top: 2px solid #d8e6ed
}

.jp-cart-footer strong {
    font-size: 22px;
    margin-left: 20px;
    color: #164f6a
}

.jp-cart-footer .jp-actions {
    margin: 0
}

.jp-qty {
    display: flex;
    gap: 8px;
    align-items: center
}

.jp-qty button {
    border: 1px solid #cbdbe5;
    border-radius: 5px;
    background: white;
    padding: 6px 10px;
    cursor: pointer
}

.jp-qty form {
    margin: 0
}

.jp-link-btn {
    border: 0;
    background: none;
    color: #b43838;
    cursor: pointer;
    text-decoration: underline
}

.jp-support-layout {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 17px
}

.jp-support-layout .jp-panel {
    min-width: 0
}

.jp-panel details {
    border-top: 1px solid #edf1f4;
    padding: 14px 0
}

.jp-panel summary {
    cursor: pointer;
    list-style: revert;
    font-weight: 700
}

.jp-panel details p {
    line-height: 1.7;
    color: #526a7a
}

.jp-ticket-list summary {
    display: flex;
    justify-content: space-between;
    gap: 15px
}

.jp-ticket-list summary span {
    color: #647e8e;
    font-weight: 400;
    font-size: 13px
}

@media (max-width: 760px) {
    .jp-member-wide .layout {
        width: calc(100% - 20px) !important
    }

    .jp-auth-card {
        padding: 24px
    }

    .jp-dashboard-grid, .jp-support-layout {
        grid-template-columns:1fr
    }

    .jp-panel {
        padding: 16px
    }

    .jp-cart-footer {
        display: block
    }

    .jp-page-head h1 {
        font-size: 24px
    }
}

/* 장바구니 - 상품 둘러보기 버튼 */
.jp-empty a.jp-btn.jp-btn--primary,
.jp-empty a.jp-btn.jp-btn--primary:link,
.jp-empty a.jp-btn.jp-btn--primary:visited {
    background-color: #2e627a;
    color: #ffffff !important;
    text-decoration: none;
}

.jp-empty a.jp-btn.jp-btn--primary:hover,
.jp-empty a.jp-btn.jp-btn--primary:focus-visible {
    background-color: #214e63;
    color: #ffffff !important;
}

}