body {
    padding-bottom: 200px;
}

/* ===== Smallbiz Page ===== */
.smallbiz-page {
    padding: 50px 0 100px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* 타이틀 */
.smallbiz-title-wrap {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.smallbiz-title {
    font-size: 36px;
    font-weight: 600;
    color: #000;
    letter-spacing: -0.72px;
    line-height: 1;
    margin: 0;
}

.smallbiz-title-wrap .dot-accent {
    margin-left: 0;
    margin-bottom: 8px;
}

/* 패키지 그리드 */
.pack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* 패키지 카드 */
.pack-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: border-color 0.15s, background 0.15s;
    overflow: hidden;
}

.pack-card:hover {
    border-color: #b8e9e8;
}

.pack-card.is-active {
    border-color: transparent;
    background: linear-gradient(116.95deg, #1488E8 -85.14%, #00B2B0 101.66%);
}

.pack-bg {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px;
    font-family: inherit;
    background: #fff;
    transition: background 0.15s;
}

.pack-card.is-active .pack-bg {
    background: #f8ffff;
}

.pack-card-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pack-name {
    font-size: 32px;
    font-weight: 600;
    color: #00b2b0;
    letter-spacing: -0.64px;
    line-height: 1.5;
    margin: 0;
}

.pack-list {
    width: 100%;
    height: 156px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pack-list img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 가격 영역 */
.pack-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    margin-top: auto;
}

.pack-price-label {
    font-size: 16px;
    font-weight: 500;
    color: #6c6c6c;
    letter-spacing: -0.32px;
    line-height: 1.5;
    padding: 7px 0;
}

.pack-price {
    display: inline-flex;
    align-items: flex-end;
    gap: 6px;
}

.pack-price-unit {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    letter-spacing: -0.4px;
    line-height: 1.5;
    padding-bottom: 6px;
}

.pack-price-num {
    font-size: 32px;
    font-weight: 600;
    color: #00b2b0;
    letter-spacing: -0.64px;
    line-height: 1.5;
}

/* ===== Sticky Price Tab ===== */
.price-tab {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 50;
}

.price-tab-inner {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 80px;
    padding: 30px 0;
}

.mo-price-btn {
    display: none;
}

.price-tab-summary {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-tab-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.price-tab-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-tab-label,
.price-tab-value {
    font-size: 16px;
    font-weight: 700;
    color: #555;
    letter-spacing: -0.32px;
    line-height: 1.5;
}

.price-tab-total {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.price-tab-total-label {
    display: inline-flex;
    align-items: flex-end;
    gap: 4px;
    font-size: 20px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.4px;
    line-height: 1.5;
    padding: 5px 0;
}

.price-tab-vat {
    font-size: 12px;
    font-weight: 500;
    color: #888;
    letter-spacing: -0.24px;
    display: block;
    padding: 3px 0;
}

.price-tab-total-value {
    font-size: 36px;
    font-weight: 600;
    color: #00b2b0;
    letter-spacing: -0.72px;
    line-height: 1.5;
}

/* 액션 영역 */
.price-tab-actions {
    width: 100%;
    max-width: 660px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 5px 0;
}

.price-tab-gift {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.36px;
    line-height: 1.5;
}

.gift-icon {
    width: 20px;
    height: 19px;
    object-fit: contain;
}

.price-tab-buttons {
    display: flex;
    gap: 10px;
}

.price-btn {
    width: calc((100% - 10px)/2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.36px;
    line-height: 1.5;
    text-decoration: none;
    box-sizing: border-box;
    border: 1px solid #00b2b0;
}

.price-btn-outline {
    background: #fff;
    color: #00b2b0;
}

.price-btn-primary {
    background: #00b2b0;
    color: #fff;
}

.price-btn:hover {
    background: #0A5874;
    border-color: #0A5874;
    color: #fff;
}

.price-btn .icon-box {
    display: flex;
}

.price-btn .icon-box .default,
.price-btn:hover .icon-box .active {
    display: block;
}

.price-btn:hover .icon-box .default,
.price-btn .icon-box .active {
    display: none;
}

.price-btn.price-btn-outline .icon-box {
    width: 17px;
    aspect-ratio: 18/19;
}

.price-btn.price-btn-primary .icon-box {
    width: 19px;
    aspect-ratio: 19/18;
}

.price-tog-btn {
    display: none;
}

.wai-text {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    z-index: -1;
}

/* ===== Tablet ===== */
@media (max-width: 1280px) {
    .pack-grid {
        gap: 24px;
    }

    .pack-card {
        /* border-width: 1px; */
    }

    .pack-bg {
        padding: 28px;
    }

    .pack-name {
        font-size: 26px;
    }

    .pack-price-num {
        font-size: 28px;
    }

    /* ===== Sticky Price Tab ===== */
    .price-tab-inner {
        gap: 40px;
    }

    .price-tab-actions {
        width: 480px;
    }
}

@media (max-width:1023px) {
    body {
        padding-bottom: 140px;
    }

    /* ===== Sticky Price Tab ===== */
    .price-tab-inner {
        flex-direction: column;
        align-items: stretch;
        /* gap: 3px; */
        gap: 0px;
        padding-top: 6px;
    }

    .mo-price-btn {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .price-tab-summary,
    .price-tab-actions {
        display: contents;
    }

    .price-tab-gift {
        order: 1;
    }

    .price-tab-list {
        order: 2;
        padding-top: 24px;
        margin: 0 20px 6px;
        gap: 0;
    }

    .price-tab-list.hide {
        display: none !important;
    }

    .price-tab-row:not(:last-child) {
        margin-bottom: 4px;
    }

    .price-tab-total {
        order: 3;
        margin-bottom: 10px;
    }

    .price-tab-buttons {
        order: 4;
    }

    .price-tog-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 22px;
        opacity: 0.3;
        overflow: hidden;
        margin-bottom: 3px;
    }

    .price-tog-btn::after {
        content: '';
        display: block;
        width: 38px;
        height: 38px;
        background: url(/common/img/icon-swiper-arrow-808cdba18c084150700940f7f18c0b5d.png) no-repeat center/contain;
        transform: rotate(-90deg);
        margin-top: 2px;
    }

    .price-tog-btn.active::after {
        transform: rotate(90deg);
        margin-top: -2px;
    }

    .price-tog-btn.active~.price-tab-total {
        padding: 0 16px;
        margin-bottom: 22px;
    }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
    body {
        padding-bottom: 84px;
    }

    .smallbiz-page {
        padding: 45px 0 60px;
        gap: 30px;
    }

    .smallbiz-title {
        font-size: 24px;
        color: #1E1E1E;
    }

    .smallbiz-title-wrap .dot-accent {
        width: 6px;
        height: 6px;
        margin-bottom: 4px;
    }

    .pack-grid {
        grid-template-columns: 1fr;
    }

    .pack-card {
        gap: 20px;
        border-width: 1px;
    }

    .pack-bg {
        padding: 20px;
        gap: 20px;
    }

    .pack-card-info {
        gap: 12px;
    }

    .pack-name {
        font-size: 20px;
    }

    .pack-list {
        height: auto;
    }

    .pack-price-row {
        padding-top: 12px;
        flex-wrap: wrap;
        gap: 4px;
    }

    .pack-price-label {
        font-size: 13px;
        padding: 3px 0;
    }

    .pack-price {
        gap: 3px;
    }

    .pack-price-unit {
        font-size: 13px;
        padding-bottom: 3px;
    }

    .pack-price-num {
        font-size: 20px;
    }

    /* sticky tab — 모바일은 컴팩트 세로 배치 */
    .price-tab-inner {
        padding: 6px 0 16px;
    }

    .price-tab-list {
        padding-bottom: 10px;
        gap: 4px;
        margin-bottom: 3px;
    }

    .price-tab-label,
    .price-tab-value {
        font-size: 14px;
        font-weight: 500;
    }

    .price-tab-total {
        margin-bottom: 7px;
    }

    .price-tab-total-label {
        font-size: 16px;
        font-weight: 500;
        padding: 0;
    }

    .price-tab-vat {
        font-size: 10px;
    }

    .price-tab-total-value {
        font-size: 20px;
    }

    .price-tab-actions {
        width: 100%;
    }

    .price-tab-gift {
        font-size: 14px;
        gap: 6px;
        font-weight: 500;
    }

    .gift-icon {
        width: 16px;
        height: 15px;
    }

    .price-btn {
        font-size: 16px;
        padding: 10px 16px;
    }
}