@charset "UTF-8";

/* 별도 글꼴 이름을 사용해 기존 본문의 글꼴에는 영향을 주지 않는다. */
@font-face {
    font-family: "Noto Sans KR Button";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("https://fonts.gstatic.com/s/notosanskr/v39/PbyxFmXiEBPT4ITbgNA5Cgms3VYcOA-vvnIzzg01eLQ.ttf") format("truetype");
}

/* packing.asp 기준 공통 하단 버튼. 클릭 동작은 각 페이지에서 유지한다. */
.common-button-page {
    padding-bottom: 76px;
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}

/* 고정 버튼 여백은 body에서 한 번만 확보한다. */
.common-button-page #footer_wrap {
    margin-bottom: 0;
}

.common-button-bar,
.common-button-bar .common-button {
    box-sizing: border-box;
}

.common-button-bar {
    position: fixed;
    z-index: 90;
    left: 50%;
    bottom: 0;
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    border-top: 1px solid rgba(0, 0, 0, .06);
    background: rgba(246, 247, 249, .96);
    box-shadow: 0 -5px 16px rgba(32, 38, 46, .06);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.common-button-bar .common-button {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 50px;
    margin: 0;
    padding: 0;
    border: 1px solid #e8c326;
    border-radius: 10px;
    background: #ffd737;
    color: #191919;
    font-family: "Noto Sans KR Button", "Noto Sans KR", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: normal;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    box-shadow: none;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.common-button-bar .common-button:hover,
.common-button-bar .common-button:focus {
    color: #191919;
    text-decoration: none;
}

.common-button-bar .common-button:focus {
    outline: 3px solid rgba(255, 125, 59, .18);
    outline-offset: 2px;
}

.common-button-bar .common-button:active {
    background: #e8c326;
}

/* packing.asp와 동일한 제휴사 색상을 적용한다. */
.theme-bbegi .common-button-bar .common-button {
    border-color: #e96b2d;
    background: #ff7d3b;
    color: #fff;
}

.theme-bbegi .common-button-bar .common-button:active {
    background: #e96b2d;
}

@media (prefers-reduced-motion: reduce) {
    .common-button-bar .common-button {
        transition: none;
    }
}
