* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

/* 상세 이미지 영역: 원본과 동일하게 480 폭 상한 */
.detail-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

.detail-image {
    width: 100%;
    max-width: 480px;
    margin: 0;
    padding: 0;
}

.detail-image img {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: top;
}

/* 하단 고정 CTA: 480 상한 유지하며 뷰포트 중앙 정렬 */
.sticky-button-wrapper {
    width: 100%;
    max-width: 480px;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 16px 20px;
    z-index: 1000;
    margin: 0;
    line-height: 0;
    font-size: 0;
    display: block;
}

.apply-button {
    width: 100%;
    height: 80px;
    background-color: #efff75;
    color: #000000;
    border: none;
    border-radius: 24px;
    font-family: "Pretendard Variable", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 80px;
    letter-spacing: -0.28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 0;
    vertical-align: top;
}

.apply-button:hover {
    opacity: 0.9;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.apply-button:active {
    opacity: 0.8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

@media (max-width: 480px) {
    .apply-button {
        font-size: 20px;
        height: 60px;
        border-radius: 20px;
    }
}
