/* ============================
   🎨 THEME VARIABLES
============================ */
:root {
    --price-primary: #004b9a;
    --price-accent: #4ecdc4;
    --price-highlight: #e8f8e8;
    --price-bg: #000000;
}

/* ============================
   📌 가격표 전체 래퍼
============================ */
.price-board-wrapper {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding: 0 12px;
    background: var(--price-bg);
    box-sizing: border-box;
}

/* ============================
   📌 가격표 본체
============================ */
.price-board {
    background: #ffffff;
    border: 6px solid #000;
    border-radius: 0;
    padding: 20px 14px;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* 찢어진 종이 효과 */
.price-board::before,
.price-board::after {
    content: "";
    position: absolute;
    left: -20px;
    right: -20px;
    height: 12px;
    background-image: repeating-linear-gradient(
        -45deg,
        rgba(0,0,0,0.05) 0,
        rgba(0,0,0,0.05) 6px,
        transparent 6px,
        transparent 10px
    );
}
.price-board::before { top: -6px; }
.price-board::after { bottom: -6px; }

/* 큰 제목 */
.price-board-title {
    text-align: center;
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 20px;
}

/* 섹션 제목 */
.price-section-title {
    margin-top: 25px;
    margin-bottom: 12px;
    font-size: 17px;
    font-weight: 900;
    color: var(--price-primary);
    border-bottom: 2px solid var(--price-primary);
    padding-bottom: 4px;
}

/* ============================
   📌 단품/패키지 row
============================ */
.price-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed #ccc;
    align-items: center;
}

.price-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-name {
    font-size: 16px;
    font-weight: 800;
}

.price-desc {
    font-size: 13px;
    color: #555;
    margin-top: 0;
    line-height: 1.2;
}

.price-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.price-value {
    font-size: 16px;
    font-weight: 900;
    margin: 0;
    text-align: right;
}

/* 신청 버튼 */
.price-apply-btn {
    display: inline-block;
    width: 90px;
    padding: 7px 0;
    text-align: center;
    font-size: 14px;
    border-radius: 16px;
    background: var(--price-accent);
    color: #fff;
    font-weight: 700;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s;
}

.price-apply-btn:hover { opacity: .9; }
.price-apply-btn:active { transform: scale(.96); }

/* 큰 CTA */
.price-big-cta {
    margin-top: 12px;
    background: #ff2b2b;
    color: #fff;
    padding: 14px 10px;
    text-align: center;
    font-size: 20px;
    font-weight: 900;
    border-radius: 5px;
}

/* ============================
   📱 MOBILE (<=480px)
============================ */
@media (max-width: 480px) {

    /* 래퍼는 화면에 딱 맞게 */
    .price-board-wrapper {
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 실제 내용은 좌우 여백 12px 확보 */
    .price-board {
        margin: 0 12px !important;
        width: auto;
    }
}
/* 🔥 가격표 간격 최소화 — 덮어쓰기용 */
.price-row {
    padding: 5px 0 !important;
    align-items: center !important;
}

.price-side {
    display: flex !important;
    flex-direction: column;
    align-items: flex-end !important;
    justify-content: center !important;
    gap: 1px !important;
}

.price-value {
    margin-bottom: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

.price-apply-btn {
    margin-top: 0 !important;
}
