/* =========================================
   게시글 전체 박스
========================================= */

.board-view-box{
    width:100%;
    max-width:100%;
    overflow:hidden;
    background:var(--ppabam-card);
    border:1px solid var(--ppabam-border);
    border-radius:14px;
    box-shadow:var(--ppabam-shadow);
}

/* =========================================
   게시글 상단
========================================= */

.board-header{
    position:relative;
    padding:22px 24px 20px;
    background:#fff;

}

.board-header::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:var(--ppabam-gradient);
}

.board-title{
    margin:0 0 16px;
    color:var(--ppabam-text);
    font-size:21px;
    font-weight:800;
    line-height:1.45;
    word-break:break-word;
}

.board-meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px 16px;
    color:var(--ppabam-muted);
    font-size:13px;
}

.board-meta .author{
    display:flex;
    align-items:center;
    gap:8px;
    color:#495057;
    font-weight:700;
}

.board-meta .author img{
    width:28px !important;
    height:28px !important;
    object-fit:cover;
    border:2px solid #eee9ff;
    border-radius:50%;
}

.board-meta .author > i{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:28px;
    height:28px;
    color:var(--ppabam-primary) !important;
    font-size:15px !important;
    background:#f3f0ff;
    border-radius:50%;
}

.board-meta > span{
    display:inline-flex;
    align-items:center;
    gap:5px;
}

.board-meta i{
    color:#adb5bd;
}

/* =========================================
   마케팅 링크
========================================= */

.board-divider{
    height:1px;
    margin:18px 0 14px;
    background:var(--ppabam-border);
}

.board-link{
    display:flex;
    align-items:flex-start;
    gap:7px;
    padding:13px 15px;
    color:#5f5b70;
    font-size:13px;
    line-height:1.6;
    background:#faf9ff;
    border:1px solid #eee9ff;
    border-radius:9px;
}

.board-link i{
    margin-top:3px;
    color:var(--ppabam-primary);
}

.board-link b{
    flex:0 0 auto;
    color:#4c445f;
}

.board-link a{
    color:var(--ppabam-blue);
    font-weight:600;
    text-decoration:none;
    word-break:break-all;
}

.board-link a:hover{
    color:var(--ppabam-primary);
    text-decoration:underline;
}


/* =========================================
   빠밤 상품 카드
   PC: 이미지 왼쪽 / 정보 오른쪽
   모바일: 이미지 위 / 정보 아래
========================================= */

.np-product-card{
    display:grid;
    grid-template-columns:280px minmax(0, 1fr);
    width:100%;
    margin:20px 0;
    padding:0;
    overflow:hidden;
    box-sizing:border-box;

    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:14px;
    box-shadow:0 4px 14px rgba(0,0,0,.05);
}

/* =========================================
   왼쪽 상품 이미지
========================================= */

.np-product-card .np-image{
    display:flex;
    align-items:flex-start;
    justify-content:center;
    width:100%;
    min-width:0;
    padding:20px;
    box-sizing:border-box;

    background:#fafafa;
    border-right:1px solid #e5e7eb;
}

.np-product-card .np-image img{
    display:block;
    width:100%;
    max-width:240px;
    height:auto;
    margin:0;
    box-sizing:border-box;

    object-fit:contain;
    background:#fff;
    border:1px solid #ececec;
    border-radius:10px;
}

/* =========================================
   오른쪽 상품 정보
========================================= */

.np-product-card .np-info{
    width:100%;
    min-width:0;
    box-sizing:border-box;
}

/* 상품 정보 한 줄 */
.np-product-card .np-item{
    display:grid;
    grid-template-columns:120px minmax(0, 1fr);
    width:100%;
    min-width:0;
    margin:0;
    padding:0;
    box-sizing:border-box;

    border-bottom:1px solid #e5e7eb;
}

/* 왼쪽 항목명 */
.np-product-card .np-item .label{
    display:flex;
    align-items:center;
    width:auto;
    min-width:0;
    padding:14px 16px;
    box-sizing:border-box;

    color:#555;
    font-size:13px;
    font-weight:700;
    line-height:1.5;

    background:#f8f9fb;
    border-right:1px solid #e5e7eb;
}

/* 오른쪽 내용 */
.np-product-card .np-item .value{
    display:block;
    min-width:0;
    padding:14px 16px;
    box-sizing:border-box;

    color:#222;
    font-size:14px;
    line-height:1.7;

    overflow-wrap:anywhere;
    word-break:break-word;
}

/* 상품명 */
.np-product-card .np-title .value{
    color:#222;
    font-size:19px;
    font-weight:700;
}

/* 판매가 */
.np-product-card .np-price{
    color:#7950f2 !important;
    font-size:25px !important;
    font-weight:800;
    line-height:1.4 !important;
}

/* =========================================
   상품보기 버튼
========================================= */

.np-product-card .np-link{
    width:100%;
    padding:18px;
    box-sizing:border-box;
    background:#fafafa;
}

.np-product-card .np-link a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:48px;
    padding:12px 16px;
    box-sizing:border-box;

    color:#fff;
    font-size:15px;
    font-weight:700;
    line-height:1.4;
    text-align:center;
    text-decoration:none;

    background:linear-gradient(135deg,#7950f2,#9c6bff);
    border-radius:10px;
    transition:
        background .2s ease,
        transform .2s ease;
}

.np-product-card .np-link a:hover{
    color:#fff;
    text-decoration:none;
    background:linear-gradient(135deg,#6941d9,#8d5cf7);
    transform:translateY(-1px);
}

/* =========================================
   태블릿
========================================= */

@media (max-width:900px){

    .np-product-card{
        grid-template-columns:230px minmax(0, 1fr);
    }

    .np-product-card .np-image{
        padding:16px;
    }

    .np-product-card .np-item{
        grid-template-columns:100px minmax(0, 1fr);
    }

    .np-product-card .np-item .label,
    .np-product-card .np-item .value{
        padding:12px;
    }

    .np-product-card .np-title .value{
        font-size:17px;
    }

    .np-product-card .np-price{
        font-size:22px !important;
    }
}

/* =========================================
   모바일
========================================= */

@media (max-width:768px){

    .np-product-card{
        display:block;
        width:100%;
        margin:14px 0;
        border-radius:10px;
    }

    /* 이미지 위쪽 */
    .np-product-card .np-image{
        display:flex;
        width:100%;
        padding:15px;
        border-right:0;
        border-bottom:1px solid #e5e7eb;
    }

    .np-product-card .np-image img{
        width:auto;
        max-width:100%;
        max-height:none;
        margin:0 auto;
    }

    /* 정보 아래쪽 */
    .np-product-card .np-info{
        display:block;
        width:100%;
    }

    .np-product-card .np-item{
        display:grid;
        grid-template-columns:90px minmax(0, 1fr);
        width:100%;
    }

    .np-product-card .np-item .label{
        width:auto;
        padding:11px 10px;
        font-size:12px;
        border-right:1px solid #e5e7eb;
        border-bottom:0;
    }

    .np-product-card .np-item .value{
        min-width:0;
        padding:11px 12px;
        font-size:13px;
        line-height:1.6;
    }

    .np-product-card .np-title .value{
        font-size:15px;
    }

    .np-product-card .np-price{
        font-size:20px !important;
    }

    .np-product-card .np-link{
        padding:14px;
    }

    .np-product-card .np-link a{
        min-height:44px;
        padding:11px 12px;
        font-size:14px;
        border-radius:8px;
    }
}

/* =========================================
   작은 모바일
========================================= */

@media (max-width:420px){

    .np-product-card .np-item{
        grid-template-columns:78px minmax(0, 1fr);
    }

    .np-product-card .np-item .label{
        padding:10px 8px;
        font-size:11px;
    }

    .np-product-card .np-item .value{
        padding:10px;
        font-size:12px;
    }

    .np-product-card .np-title .value{
        font-size:14px;
    }

    .np-product-card .np-price{
        font-size:19px !important;
    }
}


/* =========================================
   게시글 본문
========================================= */

.board-content{
    min-height:180px;
    padding:26px 0px;
    color:#343a40;
    font-size:15px;
    line-height:1.85;
    background:#fff;
    word-break:break-word;
}

.board-content img{
    max-width:100%;
    height:auto;
    border-radius:8px;
}

.board-content iframe,
.board-content video{
    max-width:100%;
}

/* =========================================
   상품 상세 테이블
========================================= */

.np-product-table{
    width:100%;
    max-width:100%;
    margin:18px 0;
    overflow:hidden;
    border:1px solid var(--ppabam-border);
    border-collapse:separate;
    border-spacing:0;
    background:#fff;
    border-radius:12px;
    box-shadow:0 6px 22px rgba(67, 50, 111, .06);
    font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.np-product-table th,
.np-product-table td{
    padding:14px 16px;
    border-bottom:1px solid #f1eff6;
    font-size:14px;
    vertical-align:middle;
}

.np-product-table tr:last-child th,
.np-product-table tr:last-child td{
    border-bottom:0;
}

.np-product-table th{
    width:100px;
    color:#5f5b70;
    font-weight:700;
    text-align:left;
    background:#faf9ff;
}

.np-image{
    width:300px;
    padding:20px !important;
    text-align:center;
    background:#fcfcfe;
}

.np-image img{
    max-width:260px;
    max-height:260px;
    object-fit:contain;
    border-radius:10px;
}

.np-title{
    color:var(--ppabam-text);
    font-size:17px;
    font-weight:800;
    line-height:1.45;
}

.np-price{
    color:var(--ppabam-secondary);
    font-size:20px;
    font-weight:900;
}

.np-category{
    color:var(--ppabam-muted);
    font-size:13px;
}

.np-link{
    padding:16px !important;
    text-align:right;
    background:#faf9ff;
 
}

.np-link a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:150px;
    padding:11px 24px;
    color:#fff;
    font-size:14px;
    font-weight:800;
    text-decoration:none;
    background:var(--ppabam-gradient);
    border-radius:8px;
    box-shadow:0 6px 16px rgba(121, 80, 242, .22);
    transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.np-link a:hover{
    color:#fff;
    opacity:.94;
    transform:translateY(-2px);
    box-shadow:0 9px 22px rgba(121, 80, 242, .28);
}

/* =========================================
   관리 버튼
========================================= */

.board-action-bar{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:7px;
    margin:18px 0 10px;
}

.board-action-bar a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    min-height:36px;
    padding:8px 13px;
    margin:0;
    color:#5f5b70;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
    background:#fff;
    border:1px solid var(--ppabam-border);
    border-radius:7px;
    box-shadow:0 3px 10px rgba(69, 51, 123, .04);
    transition:all .2s ease;
}

.board-action-bar a:hover{
    color:var(--ppabam-primary);
    background:#f8f7ff;
    border-color:#dcd3ff;
    transform:translateY(-1px);
}

.board-action-bar .btn-edit{
    color:var(--ppabam-blue);
    background:#f3f6ff;
    border-color:#dce4ff;
}

.board-action-bar .btn-edit:hover{
    color:#364fc7;
    background:#e9edff;
    border-color:#bac8ff;
}

.board-action-bar .btn-delete{
    color:var(--ppabam-red);
    background:#fff5f5;
    border-color:#ffe3e3;
}

.board-action-bar .btn-delete:hover{
    color:#c92a2a;
    background:#ffecec;
    border-color:#ffc9c9;
}

.board-action-bar i{
    font-size:12px;
}

/* =========================================
   모바일
========================================= */

@media (max-width:768px){

    .board-view-box{
        border-radius:10px;
    }

    .board-header{
        padding:18px 15px 16px;
    }

    .board-title{
        margin-bottom:13px;
        font-size:18px;
    }

    .board-meta{
        gap:8px 12px;
        font-size:12px;
    }

    .board-content{
        min-height:140px;
        padding:20px 15px;
        font-size:14px;
        line-height:1.75;
    }

    .board-link{
        display:block;
        padding:11px 12px;
    }

    .board-link i{
        margin-right:4px;
    }

    .board-link b{
        display:inline;
    }

    .board-link a{
        display:block;
        margin-top:5px;
    }

    .np-product-table,
    .np-product-table tbody,
    .np-product-table tr,
    .np-product-table th,
    .np-product-table td{
        display:block;
        width:100%;
        box-sizing:border-box;
    }

    .np-product-table{
        border-radius:10px;
    }

    .np-product-table tr{
        margin:0;
        padding:0;
        border-bottom:1px solid var(--ppabam-border);
    }

    .np-product-table tr:last-child{
        border-bottom:0;
    }

    .np-product-table th{
        width:100%;
        padding:9px 14px 4px;
        color:var(--ppabam-muted);
        font-size:12px;
        background:#fff;
        border-bottom:0;
    }

    .np-product-table td{
        padding:5px 14px 12px;
        text-align:left;
        border-bottom:0;
    }

    .np-product-table td.np-image{
        width:100%;
        padding:14px !important;
        background:#faf9ff;
    }

    .np-product-table td.np-image img{
        display:block;
        width:auto;
        max-width:100%;
        height:auto;
        max-height:320px;
        margin:0 auto;
    }

    .np-title{
        font-size:16px;
    }

    .np-price{
        font-size:19px;
    }

    .np-link{
        padding:14px !important;
        background:#faf9ff;
    }

    .np-link a{
        width:100%;
        min-width:0;
        padding:12px 10px;
        box-sizing:border-box;
    }

    .board-action-bar{
        justify-content:flex-end;
        margin-top:14px;
    }

    .board-action-bar a{
        min-height:34px;
        padding:7px 11px;
        font-size:12px;
    }
}

@media (max-width:420px){

    .board-action-bar{
        display:grid;
        grid-template-columns:repeat(3, 1fr);
    }

    .board-action-bar a{
        width:100%;
        margin:0;
        box-sizing:border-box;
    }
}

/* =========================================
   빠밤 게시글 관리 버튼
========================================= */

.board-action-bar{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:8px;
    margin:20px 0 10px;
}

/* 공통 버튼 */
.board-action-bar a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    min-width:72px;
    height:38px;
    padding:0 15px;
    margin:0;
    box-sizing:border-box;

    font-size:13px;
    font-weight:700;
    line-height:1;
    text-decoration:none;

    border:1px solid transparent;
    border-radius:8px;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease,
        border-color .18s ease;
}

/* 아이콘 */
.board-action-bar a i{
    position:relative;
    top:0;
    font-size:12px;
}

/* =========================================
   목록 버튼
========================================= */

.board-action-bar a:not(.btn-edit):not(.btn-delete){
    color:#655c7a;
    background:#fff;
    border-color:#e8e3f2;
    box-shadow:0 3px 10px rgba(69, 51, 123, .06);
}

.board-action-bar a:not(.btn-edit):not(.btn-delete):hover{
    color:#7950f2;
    background:#f5f2ff;
    border-color:#d8ccff;
    box-shadow:0 6px 15px rgba(121, 80, 242, .13);
    transform:translateY(-2px);
}

/* =========================================
   수정 버튼
========================================= */

.board-action-bar .btn-edit{
    color:#fff;
    background:linear-gradient(
        135deg,
        #4c6ef5 0%,
        #7950f2 100%
    );
    border-color:#6741d9;
    box-shadow:0 5px 14px rgba(76, 110, 245, .22);
}

.board-action-bar .btn-edit:hover{
    color:#fff;
    background:linear-gradient(
        135deg,
        #4263eb 0%,
        #7048e8 100%
    );
    border-color:#5f3dc4;
    box-shadow:0 8px 20px rgba(76, 110, 245, .3);
    transform:translateY(-2px);
}

/* =========================================
   삭제 버튼
========================================= */

.board-action-bar .btn-delete{
    color:#e03131;
    background:#fff5f5;
    border-color:#ffc9c9;
    box-shadow:0 3px 10px rgba(250, 82, 82, .08);
}

.board-action-bar .btn-delete:hover{
    color:#fff;
    background:linear-gradient(
        135deg,
        #fa5252 0%,
        #e64980 100%
    );
    border-color:#e03131;
    box-shadow:0 8px 20px rgba(230, 73, 128, .24);
    transform:translateY(-2px);
}

/* 클릭 효과 */
.board-action-bar a:active{
    transform:translateY(0);
    box-shadow:none;
}

/* =========================================
   모바일
========================================= */

@media (max-width:768px){

    .board-action-bar{
        gap:6px;
        margin:15px 0 8px;
    }

    .board-action-bar a{
        min-width:64px;
        height:36px;
        padding:0 12px;
        font-size:12px;
        border-radius:7px;
    }
}

@media (max-width:420px){

    .board-action-bar{
        display:grid;
        grid-template-columns:repeat(3, 1fr);
        width:100%;
    }

    .board-action-bar a{
        width:100%;
        min-width:0;
        padding:0 8px;
    }
}


.label {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0;
}

.form-control, .well, .btn, .alert, .input-group-addon, .label {
    border-radius: 0px !important;
}


/* 상단 배경 + 그림자 효과 */
.content{
    background:#f5f5f5;
	min-height:1200px;
}

/* 전체 레이아웃 */
.np-wrapper { display:flex; gap:20px; padding:0px; }
.np-left, .np-right { flex:1; }

/* 상단 타이틀 */
.np-header {
    margin-bottom:20px;
    padding:15px;
    background:#fff;
    border:0;
    border-radius:0;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.np-header h1 { margin:0 0 5px 0; font-size:20px; font-weight:700; color:#000; }
.np-header p { margin:0; font-size:12.5px; color:#555; line-height:1.5; }

/* 테이블 스타일 */
.np-table { width:100%; border-collapse: collapse; margin-bottom:20px; }
.np-table th { background:#00c73c; color:#fff; padding:10px; font-size:14px; text-align:left; }
.np-table td { padding:0 0 10px 0; border:px solid #ddd; vertical-align:top; border-radius:0; }

/* 검색 */

.np-search button{line-height: 30px;padding:8px 20px;color:#fff;border:0px solid #4680ff;background:#7950f2;cursor:pointer;border-radius:8px;transition: background 0.3s ease, color 0.3s ease; /* <- 서서히 변화 */}

.np-search button:hover{background:#6c3ce9;color:#fff}

.np-search{
    display:flex;
    gap:8px;
    align-items:center;
    margin-bottom:10px;
}
.np-search input[type=text]{
    flex:1;
    line-height: 28px;
    padding:8px 14px;
    font-size:14px;
    border:1px solid #d2d2d2;
    border-radius:8px;
    outline:none;
	background: #fff9db;
    transition:border-color .15s, box-shadow .15s;
}
.np-search input[type=text]:focus{
    border-color:#7950f2;
    box-shadow:0 0 0 .2rem rgba(13,110,253,.25);
}



/* ===========================
   빠밤 상품등록 안내
=========================== */

.np-search-guide{
    margin:35px 0;
    padding:30px;
    border-radius:20px;
    border:1px solid rgba(147,112,255,.18);
    background:linear-gradient(180deg,#1b1830 0%,#131224 100%);
    box-shadow:
        0 10px 35px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.04);
}

.np-search-guide h1{
    margin:0;
    color:#fff;
    font-size:30px;
    font-weight:800;
    letter-spacing:-1px;
}

.np-search-guide .subtitle{
    margin-top:10px;
    color:#aeb5d3;
    font-size:15px;
    line-height:1.7;
}

.np-guide-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
    margin-top:30px;
}

.np-guide-item{
    display:flex;
    align-items:flex-start;
    gap:18px;
    padding:22px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.06);
    background:rgba(255,255,255,.03);
    transition:.25s;
}

.np-guide-item:hover{
    transform:translateY(-4px);
    border-color:#8b5cf6;
    box-shadow:0 12px 30px rgba(139,92,246,.25);
}

.np-guide-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    width:58px;
    height:58px;
    border-radius:16px;
    background:linear-gradient(135deg,#8b5cf6,#6d28d9);
    color:#fff;
    font-size:26px;
    box-shadow:0 8px 20px rgba(139,92,246,.35);
}

.np-guide-text strong{
    display:block;
    margin-bottom:8px;
    color:#fff;
    font-size:18px;
    font-weight:700;
}

.np-guide-text p{
    margin:0;
    color:#b9c1df;
    line-height:1.7;
    font-size:14px;
}

/* 모바일 */

@media (max-width:768px){

    .np-search-guide{
        padding:20px;
        border-radius:16px;
    }

    .np-search-guide h1{
        font-size:24px;
    }

    .np-guide-grid{
        grid-template-columns:1fr;
        gap:15px;
    }

    .np-guide-item{
        padding:18px;
    }

    .np-guide-icon{
        width:50px;
        height:50px;
        font-size:22px;
    }

    .np-guide-text strong{
        font-size:16px;
    }
}



/* 리스트 항목 */
.naver-product-item, .np-registered li {
    display: flex; 
    gap: 12px; 
    padding: 10px;
    border-bottom: 1px solid #d2d2d2; 
    align-items: flex-start; /* 버튼 위쪽 정렬 */
    background: #fff; 
    transition: background 0.2s;
    position: relative; /* 버튼 절대 위치를 위해 */
}


.naver-product-item:hover, .np-registered li:hover { background: #f9f9f9; }

/* 상품 이미지 */
.naver-product-item img, .np-registered img {
    width: 120px; height: 120px; object-fit: cover;
    border-radius: 8px; border: 1px solid #eee; padding:2px; background:#fff;
}

/* 정보 영역 */
.naver-product-item .info, .np-registered .info {
    flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px; font-size:14px;
}

/* 상품 ID 글자 크기 */
.naver-product-item .info .meta,
.np-registered .info div:nth-child(5) { /* 등록상품의 ID div */
    font-size: 12px;
    color: #777; /* 원하면 색상 조정 가능 */
}

.naver-product-item .info .title, .np-registered .info strong { font-weight:600; color:#333; }
.naver-product-item .info .price, .np-registered .info div:nth-child(4) { font-weight:700; color:#000000; font-size:15px; }
.naver-product-item .info .product-mall, .naver-product-item .info .product-category,
.np-registered .info div:nth-child(2), .np-registered .info div:nth-child(3) { color:#555; font-size:12px; }


/* 버튼 영역 */
.naver-product-item .action {
    display: flex;
    gap: 8px;         /* 버튼 간격 */
    margin-left: auto; /* 오른쪽 끝으로 밀기 */
}

.naver-product-item .action button, .np-registered .actions a, .np-registered .actions button {border-color: #00ae34; line-height: 25px;padding: 8px 10px; font-size:13px; border-radius:8px; cursor:pointer; }
.naver-product-item .action button { background:#0061f2; color:#fff; border:none; }
.naver-product-item .action button:disabled { background: #727b90; cursor: not-allowed; color: #fff; }


/* 등록 상품 버튼 스타일 (오른쪽 끝 정렬) */
.np-registered .actions {
    display: flex;
    gap: 8px;          /* 버튼 간격 */
    flex-wrap: wrap;    /* 화면 작아지면 줄 바꿈 */
    margin-left: auto;  /* 오른쪽 끝으로 정렬 */
    margin-top: 5px;    /* 위쪽 여백 */
}

.np-registered .actions a {
    background-color:#0061f2;
    color: #fff;
    text-decoration: none;
    padding: 8px 10px;
    display: inline-block;

}

.np-registered .actions button {
    background-color: #727b90;
    color: #fff;
    border: none;
    padding: 8px 10px;
    cursor: pointer;
	
}


/* ===============================
   자동 페이징 처리 개선
   기존 np-pagination + JS 교체용
=============================== */

/* 페이징 박스 */
.np-pagination-wrap{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:20px 0;
    flex-wrap:wrap;
}

/* 페이징 */
.np-pagination{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    flex-wrap:wrap;
}

/* 버튼 */
.np-pagination button{
    min-width:38px;
    height:38px;
    padding:0 12px;
    border:1px solid #d2d2d2;
    background:#fff;
    border-radius:6px !important;
    font-size:13px;
    cursor:pointer;
    transition:all 0.2s ease;
	margin:2px; /* 추가 여백 */
}

/* hover */
.np-pagination button:hover{
    background:#f8f9fc;
    border-color:#7950f2;
}

/* active */
.np-pagination button.active{
    background:#7950f2;
    color:#fff;
    border-color:#7950f2;
    font-weight:700;
}

/* prev next */
.np-pagination button.prev,
.np-pagination button.next{
    padding:0 16px;
    font-weight:600;
}

/* 모바일 */
@media (max-width:768px){
    .np-pagination{
        gap:4px;
    }

    .np-pagination button{
        min-width:34px;
        height:34px;
        font-size:12px;
        padding:0 8px;
    }

    .np-pagination button.prev,
    .np-pagination button.next{
        padding:0 10px;
    }
}


/* 모바일 반응형 */
@media (max-width: 768px) {
    .np-wrapper { flex-direction: column; gap: 10px; }

    /* 검색 결과 및 등록 상품 리스트 세로형 */
    .naver-product-item, .np-registered li {
        flex-direction: row;          /* 가로 배치 유지 */
        align-items: flex-start;
        gap: 10px;
        padding: 12px;
    }

    /* 이미지 크기 줄이기 */
    .naver-product-item img, .np-registered img {
        width: 120px;                  /* 작은 이미지 */
        height: 120px;                 /* 비율 유지 */
        object-fit: cover;
    }


    /* 정보 영역 */
    .naver-product-item .info, .np-registered .info {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 1px;
        font-size: 13px;
    }

 /* 버튼 영역을 하단 고정 바처럼 */
    .naver-product-item .action,
    .np-registered .actions {
        display: flex;
        justify-content: flex-end;
        gap: 6px;
        margin-top: 0px;
        padding-top: 5px;
   
    }

/* 버튼 크기 통일 */
    .naver-product-item .action button,
    .np-registered .actions a,
    .np-registered .actions button {
        min-width: 60px;
        height: 32px;
        font-size: 12px;
        padding: 0 8px;
        line-height: 32px;
        text-align: center;
    }


}

/* 내 등록 상품 - 제목 */
.np-registered .info strong { 
    font-weight: 700; 
    color: #333; 
}

/* 내 등록 상품 - 가격 글자 키우기 */
.np-registered .info div:nth-child(4) { 
    font-weight: 400; 
    color: #555; 
    font-size: 12px; /* 기존 15px → 16px */
}


/* 내 등록 상품 - 몰/카테고리 글자 줄이기 */
.np-registered .info div:nth-child(2) /* 가격 */
{ 
    font-weight:700; color:#000000; font-size:15px;
}

.np-registered .info div:nth-child(3) {  /* 카테고리 */
    color: #555; 
    font-size: 12px; /* 기존 12px → 11px */
}

/* 내 등록 상품 - ID 글자 크기 유지 */
.np-registered .info div:nth-child(5) { 
    font-size: 12px; 
    color: #777; 
}


/* Bootstrap Icons 필수 */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css");

/* 카드 */
.dashboard-card{
    background:#fff;
    border:1px solid #dee2e6;
    box-shadow:0 4px 12px rgba(0,0,0,.05);
}

/* 헤더 */
.dashboard-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 18px;
    border-bottom:1px solid #e9ecef;
    background:#f8f9fa;
}

.dashboard-header h4{
    margin:0;
    font-size:17px;
    font-weight:700;
}

.dashboard-header i{
    margin-right:6px;
    color:#0d6efd;
}

.dashboard-header .badge{
    background:#0d6efd;
    color:#fff;
    font-size:12px;
    padding:4px 8px;
}

/* 바디 */
.dashboard-body{
    display:flex;
    gap:20px;
    padding:20px;
}

/* 좌측 대시보드 미리보기 */
.dashboard-mock{
    border:1px solid #dee2e6;
    background:#f8f9fa;
    width:220px;
}

.mock-header{
    padding:10px;
    background:#0d6efd;
    color:#fff;
    font-size:13px;
}

.mock-header i{
    margin-right:6px;
}

.mock-list{
    list-style:none;
    padding:10px;
    margin:0;
}

.mock-list li{
    display:flex;
    justify-content:space-between;
    font-size:12px;
    padding:6px 0;
    border-bottom:1px dashed #ddd;
}

.mock-list i{
    color:#198754;
    margin-right:6px;
}

/* 우측 설명 */
.dashboard-right{
    flex:1;
}

.desc{
    font-size:14px;
    color:#495057;
    margin-bottom:15px;
}

/* 기능 아이콘 카드 */
.feature-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
    margin-bottom:20px;
}

.feature-item{
    display:flex;
    gap:10px;
    background:#f8f9fa;
    border:1px solid #dee2e6;
    padding:10px;
}

.feature-item i{
    font-size:20px;
    color:#0d6efd;
}

.feature-item strong{
    font-size:13px;
}

.feature-item span{
    font-size:12px;
    color:#6c757d;
}

/* 버튼 */
.dashboard-btn{
    display:inline-block;
    padding:10px 16px;
    background:#0d6efd;
    color:#fff;
    text-decoration:none;
    font-size:14px;
}

.dashboard-btn:hover{
    background:#0b5ed7;
}

/* 모바일 */
@media (max-width:768px){
    .dashboard-body{
        flex-direction:column;
    }
    .dashboard-mock{
        width:100%;
    }
    .feature-grid{
        grid-template-columns:1fr;
    }
}


.card-body {
 width: 100%;
    box-sizing: border-box;
    padding:18px 20px;
    background-color: #fff;
    border-radius: 8px;
    border:1px solid #d2d2d2;
    margin-bottom: 20px;
    box-shadow:0 2px 8px rgba(0,0,0,0.03);
  font-size:14px;
   line-height:1.7;
	  /* flex로 배치 */
    display: flex;
    align-items: center; /* 세로 가운데 정렬 */
    justify-content: space-between; /* 왼쪽 텍스트, 오른쪽 버튼 */
}

.card-content {
    flex: 1; /* 텍스트 영역이 남은 공간 차지 */
    padding-right: 10px; /* 버튼과 약간 간격 */
	font-size: 14px; /* 기본 PC 글자 크기 */
	color: #333;
}

/* 상단 제목 */
.np-title {
    padding: 10px 0px 20px;
	border-bottom: none;     /* 하단 제거 */
    border-radius: 0px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 24px;

    color: #000;
	box-shadow: 0 1px 3px 0 rgba(69, 90, 100, .03)
}

/* 버튼 스타일 */
.edu-button {
    display: inline-block;
    background-color: #03C75A;
    color: #fff !important; /* 항상 흰색 */
    font-size: 16px;
    padding: 12px 25px;
    border-radius:8px;
    text-decoration: none;
    transition: 0.3s;
}

.edu-button:hover {
      background-color: #02994d; /* 호버 시 배경만 진하게 */
	color: #fff; /* 원하시면 색상 조정 */
}

/* 모바일용 조정 (화면 768px 이하) */
@media (max-width: 768px) {
	.card-body {
        flex-direction: column; /* 세로 배치 */
        align-items: flex-start; /* 버튼 왼쪽으로 이동 */
    }
	.card-content {
        padding-right: 0;
        margin-bottom: 10px; /* 모바일에서 버튼과 간격 */
    }
    .keyword-text {
        font-size: 20px; /* 모바일에서 줄인 크기 */
    }
	.edu-button {
        font-size: 16px;
        padding: 10px 20px;
    }
}

/* =========================================
   상품 카드형 레이아웃
   검색 상품 + 내 등록 상품 공통 적용
========================================= */

/* 기존 리스트 컨테이너를 카드 그리드로 변경 */
#naverSearchResult,
#registeredList {
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:16px;
    width:100%;
    margin:0;
    padding:0;
    box-sizing:border-box;
    list-style:none;
    align-items:stretch;
}

/* 공통 카드 */
.naver-product-item,
#registeredList > li {
    min-width:0;
    height:100%;
    padding:0 !important;
    border:1px solid #e5e7eb !important;
    border-radius:14px;
    background:#fff;
    overflow:hidden;
    display:flex !important;
    flex-direction:column;
    align-items:stretch !important;
    gap:0 !important;
    box-shadow:0 3px 12px rgba(0,0,0,.05);
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

#registeredList > li.np-page-hidden {
    display:none !important;
}

.naver-product-item:hover,
#registeredList > li:hover {
    background:#fff;
    border-color:#c9b8ff !important;
    box-shadow:0 10px 24px rgba(80,55,160,.13);
    transform:translateY(-3px);
}

/* 카드의 상품 링크 영역 */
.naver-product-item > a,
#registeredList > li > a {
    width:100%;
    min-width:0;
    flex:1;
    display:flex !important;
    flex-direction:column;
    gap:0 !important;
    text-decoration:none !important;
    color:inherit !important;
}

/* 상품 이미지 */
.naver-product-item > a > img,
#registeredList > li > a > img {
    display:block;
    width:100% !important;
    height:auto !important;
    aspect-ratio:1 / 1;
    object-fit:cover;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:#f8f9fa;
    transition:transform .25s ease;
}

.naver-product-item:hover > a > img,
#registeredList > li:hover > a > img {
    transform:scale(1.025);
}

/* 상품 정보 */
.naver-product-item .info,
#registeredList .info {
    width:100%;
    min-width:0;
    flex:1;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    gap:6px;
    padding:14px 14px 10px;
    box-sizing:border-box;
    font-size:13px;
}

.naver-product-item .info .title,
#registeredList .info strong {
    min-height:42px;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    color:#222;
    font-size:14px;
    font-weight:700;
    line-height:1.5;
    word-break:keep-all;
}

/* 가격 강조 */
.naver-product-item .info .price,
#registeredList .info div:nth-child(2) {
    color:#111 !important;
    font-size:17px !important;
    font-weight:800 !important;
    line-height:1.35;
}

/* 몰 / 카테고리 / 상품 ID */
.naver-product-item .info .product-mall,
.naver-product-item .info .product-category,
.naver-product-item .info .meta,
#registeredList .info div:nth-child(3),
#registeredList .info div:nth-child(4),
#registeredList .info div:nth-child(5) {
    color:#777 !important;
    font-size:12px !important;
    line-height:1.45;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.naver-product-item .info .product-mall,
#registeredList .info div:nth-child(3) {
    color:#7950f2 !important;
    font-weight:700;
}

/* 카드 하단 버튼 영역 */
.naver-product-item .action,
#registeredList .actions {
    width:100%;
    margin:0 !important;
    padding:0 14px 14px;
    box-sizing:border-box;
    display:flex;
    gap:8px;
    align-items:stretch;
}

.naver-product-item .action button,
#registeredList .actions a,
#registeredList .actions button {
    width:100%;
    min-width:0 !important;
    height:40px !important;
    padding:0 12px !important;
    border-radius:9px !important;
    border:0 !important;
    font-size:13px !important;
    font-weight:700;
    line-height:40px !important;
    text-align:center;
    box-sizing:border-box;
    cursor:pointer;
}

.naver-product-item .action button {
    background:#7950f2;
    color:#fff;
}

.naver-product-item .action button:hover {
    background:#6741d9;
}

.naver-product-item .action button:disabled {
    background:#eef0f4 !important;
    color:#8a9099 !important;
    cursor:default;
}

#registeredList .actions a {
    flex:1;
    background:#7950f2;
    color:#fff !important;
}

#registeredList .actions a:hover {
    background:#6741d9;
}

#registeredList .actions form {
    flex:1;
    margin:0;
}

#registeredList .actions button {
    background:#f1f3f5;
    color:#555;
}

#registeredList .actions button:hover {
    background:#e5e7eb;
    color:#222;
}

/* 검색/등록 결과 박스는 카드 배경과 어울리도록 */
.np-search-results,
.np-registered {
    overflow:visible;

}

/* 태블릿 */
@media (max-width:1200px) {
    #naverSearchResult,
    #registeredList {
        grid-template-columns:repeat(3, minmax(0, 1fr));
    }
}

/* 좌우 2단 레이아웃에서는 카드 2열 */
@media (min-width:769px) and (max-width:1000px) {
    #naverSearchResult,
    #registeredList {
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:12px;
        padding:0;
    }
}

/* 모바일: 한 화면에 상품 2개 */
@media (max-width:768px) {
    #naverSearchResult,
    #registeredList {
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:10px;
        padding:10px;
    }
}

    .naver-product-item,
    #registeredList > li {
        border-radius:11px;
    }

    .naver-product-item .info,
    #registeredList .info {
        padding:10px 10px 8px;
        gap:4px;
    }

    .naver-product-item .info .title,
    #registeredList .info strong {
        min-height:39px;
        font-size:13px;
        line-height:1.45;
    }

    .naver-product-item .info .price,
    #registeredList .info div:nth-child(2) {
        font-size:15px !important;
    }

    .naver-product-item .info .product-category {
        display:none;
    }

    .naver-product-item .action,
    #registeredList .actions {
        padding:0 10px 10px;
        gap:5px;
    }

    .naver-product-item .action button,
    #registeredList .actions a,
    #registeredList .actions button {
        height:36px !important;
        padding:0 5px !important;
        font-size:12px !important;
        line-height:36px !important;
    }
}

/* 매우 작은 화면에서도 2열 유지 */
@media (max-width:360px) {
    #naverSearchResult,
    #registeredList {
        gap:7px;
        padding:7px;
    }
}


/* ────────────────────────────── */
/* info-section 독립 영역 스타일 */
/* ────────────────────────────── */
.info-section-wrapper {
    clear: both;            /* 좌우 float 영향을 완전히 제거 */
    width: 100%;            /* 부모 영역 전체 너비 사용 */
    margin: 0px 0 0px 0;         /* 상하 간격 */
    display: table;         /* 독립 블록처럼 작동 */
    text-align: center;     /* 가운데 정렬 */
}

.info-section {
    display: inline-block;  /* content 너비만큼만 차지 */
    max-width: 1200px;      
    padding: 20px;
}

.info-section h1 {
    font-size: 50px;
    margin: 25px;
    color: #212529;
}

.info-section p.subtitle {
    font-size: 20px;
    color: #6c757d;
    margin-bottom: 25px; 
}
/* 모바일 대응 */
@media (max-width: 768px) {

    /* 상단 N 상품등록 타이틀 */
    .keyword-title {
        line-height: 1.2;
    }

    .keyword-number-box {
        font-size: 22px;
        padding: 2px 6px;
    }

    .keyword-text {
        font-size: 20px;
    }

    /* 설명 카드 */
    .card-body {
        font-size: 14px;
        line-height: 1.6;
    }

    /* 순위 경쟁도 분석 안내 영역 */
    .info-section h1 {
        font-size: 28px;
    }

    .info-section p.subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* 검색 안내 카드 텍스트 */
    .np-guide-text strong {
        font-size: 15px;
    }

    .np-guide-text p {
        font-size: 13px;
    }
}


.custom-alert-wrap{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:99999;
    padding:20px;
    backdrop-filter:blur(3px);
}

.custom-alert-box{
    width:100%;
    max-width:360px;
    background:#fff;
    border-radius:18px;
    padding:28px 22px;
    text-align:center;
    animation:popupShow .18s ease;
    box-shadow:0 20px 50px rgba(0,0,0,.18);
}

.custom-alert-icon{
    font-size:42px;
    margin-bottom:14px;
}

.custom-alert-text{
    font-size:15px;
    color:#333;
    line-height:1.6;
    margin-bottom:20px;
    word-break:keep-all;
}

.custom-alert-btn{
    width:100%;
    height:46px;
    border:0;
    border-radius:12px;
    background:#7950f2;
    color:#fff;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.15s;
}

.custom-alert-btn:hover{
    background:#6741d9;
}

@keyframes popupShow{
    from{
        transform:translateY(10px) scale(.96);
        opacity:0;
    }
    to{
        transform:translateY(0) scale(1);
        opacity:1;
    }
}


.search-message{
    width:90%;
    margin:30px auto;           /* 가운데 정렬 */
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    padding:40px 20px;
    border-radius:14px;
    font-size:15px;
    text-align:center;
    animation:fadeIn .25s ease;
}

.search-message .icon{
    font-size:32px;
    margin-bottom:12px;
}

.search-message .text{
    font-weight:500;
    line-height:1.4;
}

/* 검색중 */
.msg-loading{
    background:#f8f9fa;
    color:#555;
}

/* 검색 결과 없음 */
.msg-empty{
    background:#f8f9fa;
    color:#9a6b00;
}

/* 오류 */
.msg-error{
    background:#fff1f0;
    color:#c0342b;
}


/* =========================================================
   빠밤 상품등록 통합 테마
   라이트 모드 + 다크 모드
   기존 CSS 뒤에서 최종 적용
========================================================= */

:root{
    --pp-page:#f5f6fa;
    --pp-surface:#ffffff;
    --pp-surface-soft:#f8f7fc;
    --pp-surface-hover:#f4f1ff;
    --pp-border:#e4e1ec;
    --pp-border-strong:#cfc6e8;
    --pp-text:#23212a;
    --pp-text-sub:#676270;
    --pp-text-muted:#8b8792;
    --pp-primary:#7950f2;
    --pp-primary-hover:#6741d9;
    --pp-primary-soft:#eee9ff;
    --pp-danger:#e8595b;
    --pp-shadow:0 6px 22px rgba(45,35,75,.07);
    --pp-shadow-hover:0 12px 30px rgba(90,65,165,.15);
    --pp-input:#ffffff;
}

/*
 * 빠밤 공통 다크모드 선택자 지원
 * 실제 사이트에서 사용하는 클래스 하나만 붙어도 작동
 */
html.dark,
body.dark,
body.dark-mode,
body.theme-dark,
.content.dark{
    --pp-page:#111019;
    --pp-surface:#1a1823;
    --pp-surface-soft:#211e2d;
    --pp-surface-hover:#29243a;
    --pp-border:#353143;
    --pp-border-strong:#504768;
    --pp-text:#f3f1f7;
    --pp-text-sub:#c4bfce;
    --pp-text-muted:#918b9c;
    --pp-primary:#9672ff;
    --pp-primary-hover:#a98cff;
    --pp-primary-soft:#30264d;
    --pp-danger:#ff7779;
    --pp-shadow:0 8px 28px rgba(0,0,0,.28);
    --pp-shadow-hover:0 14px 34px rgba(0,0,0,.38);
    --pp-input:#17151f;
}

/* 전체 배경 */
.content{
    background:var(--pp-page) !important;
    color:var(--pp-text);
    transition:background .2s ease,color .2s ease;
}

/* 상단 페이지 제목 */
.np-title{
    color:var(--pp-text) !important;
    font-family:inherit !important;
}

/* 상단 설명 카드 */
.card-body{
    background:var(--pp-surface) !important;
    color:var(--pp-text-sub) !important;
    border:1px solid var(--pp-border) !important;
    border-radius:14px !important;
    box-shadow:var(--pp-shadow) !important;
}

.card-content{
    color:var(--pp-text-sub) !important;
}

.card-content strong{
    color:var(--pp-primary);
}

.edu-button{
    background:var(--pp-primary) !important;
    border-radius:10px !important;
    font-weight:700;
    box-shadow:none;
}

.edu-button:hover{
    background:var(--pp-primary-hover) !important;
}

/* 검색창 */
.np-search{

    border-radius:12px !important;

}

.np-search input[type=text]{
    height:44px;
    box-sizing:border-box;
    background:var(--pp-input) !important;
    color:var(--pp-text) !important;
    border:1px solid var(--pp-border) !important;
    border-radius:10px !important;
}

.np-search input[type=text]::placeholder{
    color:var(--pp-text-muted);
}

.np-search input[type=text]:focus{
    border-color:var(--pp-primary) !important;
    box-shadow:0 0 0 3px color-mix(in srgb,var(--pp-primary) 18%,transparent) !important;
}

.np-search button{
    min-width:76px;
    height:44px;
    padding:0 18px !important;
    line-height:44px !important;
    background:var(--pp-primary) !important;
    border-radius:10px !important;
    font-weight:700;
}

.np-search button:hover{
    background:var(--pp-primary-hover) !important;
}

/* 검색 결과 / 내 상품 외곽 */


/* 상품 카드 */
.naver-product-item,
#registeredList > li{
    background:var(--pp-surface) !important;
    border:1px solid var(--pp-border) !important;
    color:var(--pp-text);
    box-shadow:var(--pp-shadow) !important;
}

.naver-product-item:hover,
#registeredList > li:hover{
    background:var(--pp-surface) !important;
    border-color:var(--pp-border-strong) !important;
    box-shadow:var(--pp-shadow-hover) !important;
}

.naver-product-item > a > img,
#registeredList > li > a > img{
    background:var(--pp-surface-soft) !important;
}

/* 상품 정보 */
.naver-product-item .info .title,
#registeredList .info strong{
    color:var(--pp-text) !important;
}

.naver-product-item .info .price,
#registeredList .info div:nth-child(2){
    color:var(--pp-text) !important;
}

.naver-product-item .info .product-mall,
#registeredList .info div:nth-child(3){
    color:var(--pp-primary) !important;
}

.naver-product-item .info .product-category,
.naver-product-item .info .meta,
#registeredList .info div:nth-child(4),
#registeredList .info div:nth-child(5){
    color:var(--pp-text-muted) !important;
}

/* 카드 버튼 */
.naver-product-item .action button,
#registeredList .actions a{
    background:var(--pp-primary) !important;
    color:#fff !important;
}

.naver-product-item .action button:hover,
#registeredList .actions a:hover{
    background:var(--pp-primary-hover) !important;
}

.naver-product-item .action button:disabled{
    background:var(--pp-surface-soft) !important;
    color:var(--pp-text-muted) !important;
    border:1px solid var(--pp-border) !important;
}

#registeredList .actions button{
    background:var(--pp-surface-soft) !important;
    color:var(--pp-text-sub) !important;
    border:1px solid var(--pp-border) !important;
}

#registeredList .actions button:hover{
    background:var(--pp-surface-hover) !important;
    color:var(--pp-text) !important;
    border-color:var(--pp-border-strong) !important;
}

/* 상품등록 안내 영역 */
.np-search-guide{
    margin:0 !important;
    padding:32px !important;
    background:var(--pp-surface) !important;
    border:1px solid var(--pp-border) !important;
    border-radius:14px !important;
    box-shadow:none !important;
}

.info-section-wrapper{
    display:block !important;
    text-align:left !important;
}

.info-section{
    display:block !important;
    max-width:none !important;
    padding:0 0 24px !important;
}

.info-section h1,
.np-search-guide h1{
    position:relative;
    margin:0 0 8px !important;
    padding-left:14px;
    color:var(--pp-text) !important;
    font-size:24px !important;
    font-weight:800 !important;
    letter-spacing:-.6px !important;
}

.info-section h1::before,
.np-search-guide h1::before{
    content:"";
    position:absolute;
    left:0;
    top:4px;
    width:4px;
    height:26px;
    border-radius:10px;
    background:var(--pp-primary);
}

.info-section p.subtitle,
.np-search-guide .subtitle{
    margin:0 !important;
    padding-left:14px;
    color:var(--pp-text-sub) !important;
    font-size:14px !important;
    line-height:1.65 !important;
}

.np-guide-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
    margin-top:0 !important;
}

.np-guide-item{
    min-width:0;
    padding:18px !important;
    gap:14px !important;
    background:var(--pp-surface-soft) !important;
    border:1px solid var(--pp-border) !important;
    border-radius:12px !important;
    box-shadow:none !important;
    transform:none !important;
}

.np-guide-item:hover{
    background:var(--pp-surface-hover) !important;
    border-color:var(--pp-border-strong) !important;
    box-shadow:none !important;
    transform:translateY(-2px) !important;
}

.np-guide-icon{
    width:46px !important;
    height:46px !important;
    border-radius:12px !important;
    background:var(--pp-primary-soft) !important;
    color:var(--pp-primary) !important;
    font-size:21px !important;
    box-shadow:none !important;
}

.np-guide-text strong{
    margin-bottom:5px !important;
    color:var(--pp-text) !important;
    font-size:15px !important;
    font-weight:750 !important;
}

.np-guide-text p{
    color:var(--pp-text-sub) !important;
    font-size:13px !important;
    line-height:1.6 !important;
}

/* 페이지네이션 */
.np-pagination button{
    background:var(--pp-surface) !important;
    color:var(--pp-text-sub) !important;
    border:1px solid var(--pp-border) !important;
}

.np-pagination button:hover{
    background:var(--pp-surface-hover) !important;
    color:var(--pp-primary) !important;
    border-color:var(--pp-border-strong) !important;
}

.np-pagination button.active{
    background:var(--pp-primary) !important;
    color:#fff !important;
    border-color:var(--pp-primary) !important;
}

/* 검색 상태 */
.search-message{
    background:var(--pp-surface) !important;
    color:var(--pp-text-sub) !important;
    border:1px solid var(--pp-border);
}

/* 팝업 */
.custom-alert-box{
    background:var(--pp-surface) !important;
    color:var(--pp-text) !important;
    border:1px solid var(--pp-border);
}

.custom-alert-text{
    color:var(--pp-text) !important;
}

/* 모바일 */
@media (max-width:768px){
    .card-body{
        padding:16px !important;
    }

    .edu-button{
        width:100%;
        box-sizing:border-box;
        text-align:center;
    }

    .np-search{
        gap:7px !important;
        padding:8px !important;
    }

    .np-search input[type=text]{
        min-width:0;
        height:42px;
        padding:8px 11px !important;
    }

    .np-search button{
        min-width:64px;
        height:42px;
        padding:0 13px !important;
        line-height:42px !important;
    }

    .np-search-guide{
        padding:20px 16px !important;
    }

    .info-section{
        padding-bottom:18px !important;
    }

    .info-section h1,
    .np-search-guide h1{
        font-size:21px !important;
    }

    .info-section h1::before,
    .np-search-guide h1::before{
        top:3px;
        height:23px;
    }

    .np-guide-grid{
        grid-template-columns:1fr !important;
        gap:9px !important;
    }

    .np-guide-item{
        padding:14px !important;
    }

    .np-guide-icon{
        width:42px !important;
        height:42px !important;
        font-size:19px !important;
    }
}


/* =========================================
   태블릿 전용 반응형
   769px ~ 1200px
========================================= */
@media (min-width:769px) and (max-width:1200px){
    .content{
        min-height:1000px;
    }

    .np-title{
        padding:14px 4px 18px !important;
        font-size:22px !important;
    }

    .card-body{
        padding:17px 18px !important;
        gap:16px;
    }

    .card-content{
        font-size:13.5px !important;
        line-height:1.65 !important;
    }

    .edu-button{
        flex:0 0 auto;
        padding:10px 17px !important;
        font-size:14px !important;
        white-space:nowrap;
    }

    .np-wrapper{
        gap:14px !important;
        align-items:flex-start;
    }

    .np-left,
    .np-right{
        min-width:0;
    }

    .np-search{
        gap:7px !important;
        padding:8px !important;
    }

    .np-search input[type=text]{
        min-width:0;
        height:42px;
        padding:8px 12px !important;
        font-size:13px !important;
    }

    .np-search button{
        min-width:66px;
        height:42px;
        padding:0 14px !important;
        line-height:42px !important;
        font-size:13px !important;
    }

    #naverSearchResult,
    #registeredList{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:11px !important;
        padding:11px !important;
    }

    .naver-product-item,
    #registeredList > li{
        border-radius:12px !important;
    }

    .naver-product-item .info,
    #registeredList .info{
        padding:12px 12px 9px !important;
        gap:5px !important;
    }

    .naver-product-item .info .title,
    #registeredList .info strong{
        min-height:40px !important;
        font-size:13px !important;
        line-height:1.5 !important;
    }

    .naver-product-item .info .price,
    #registeredList .info div:nth-child(2){
        font-size:16px !important;
    }

    .naver-product-item .action,
    #registeredList .actions{
        padding:0 12px 12px !important;
        gap:6px !important;
    }

    .naver-product-item .action button,
    #registeredList .actions a,
    #registeredList .actions button{
        height:38px !important;
        padding:0 8px !important;
        line-height:38px !important;
        font-size:12px !important;
    }

    .np-search-guide{
        margin:22px 0 !important;
        padding:22px !important;
        border-radius:15px !important;
    }

    .info-section{
        padding:4px 8px 20px !important;
    }

    .info-section h1,
    .np-search-guide h1{
        font-size:24px !important;
    }

    .info-section p.subtitle,
    .np-search-guide .subtitle{
        font-size:14px !important;
        line-height:1.6 !important;
    }

    .np-guide-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:10px !important;
        margin-top:0 !important;
    }

    .np-guide-item{
        gap:12px !important;
        padding:15px !important;
        border-radius:12px !important;
    }

    .np-guide-icon{
        width:43px !important;
        height:43px !important;
        border-radius:11px !important;
        font-size:19px !important;
    }

    .np-guide-text strong{
        font-size:14px !important;
    }

    .np-guide-text p{
        font-size:12px !important;
        line-height:1.55 !important;
        word-break:keep-all;
    }

    .np-pagination-wrap{
        margin:16px 0 !important;
    }

    .np-pagination button{
        min-width:36px !important;
        height:36px !important;
        padding:0 10px !important;
        font-size:12px !important;
    }
}

/* 세로형 태블릿: 검색/등록 영역을 위아래로 배치 */
@media (min-width:769px) and (max-width:900px){
    .np-wrapper{
        flex-direction:column !important;
    }

    .np-left,
    .np-right{
        width:100% !important;
        flex:none !important;
    }

    #naverSearchResult,
    #registeredList{
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    }
}
