/* 팝업 전체 */
.pop_main_cart_area {
    display: none; /* 오타 수정 */
    max-width: 448px;
    width: 100%;

    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    border-radius: 16px;
    background: #FFF;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 9;

    /* display: flex; */
    flex-direction: column;
}

/* 상단 */
.main_cart_area_top_area {
    height: 84px;
    background: linear-gradient(135deg, #704214 0%, #4A2C0A 100%);
}

.main_cart_area_top_con {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
}

/* 콘텐츠 영역 */
.main_cart_area_content_area {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px;
}

/* 상품 영역 */
.main_cart_area_content_product_area {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 타이틀 */
.main_cart_area_content_product_top {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_cart_area_content_product_top > span {
    font-family: "Playfair Display";
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    color: #101828;
}

/* 상품 정보 */
.main_cart_area_content_product_con {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 16px;
}

/* 상품명 */
.main_cart_area_content_product_con_tit {
    display: flex;
    justify-content: center;
}

.main_cart_area_content_product_con_tit span {
    font-family: Pretendard;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #1E2939;
    text-align: center;
}

/* 가격 */
.main_cart_area_content_product_con_money {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
}

.money {
    font-family: Pretendard;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: #704214;
}

.won {
    font-family: Pretendard;
    font-size: 16px;
    line-height: 24px;
    color: #4A5565;
}

/* 구분선 */
.main_cart_line {
    border-top: 1px solid #E5E7EB;
}

/* 버튼 영역 */
.main_cart_area_btn_area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* 버튼 공통 */
.main_cart_area_btn_left,
.main_cart_area_btn_rignt {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
    border-radius: 10px;
    cursor: pointer;
}

/* 왼쪽 버튼 */
.main_cart_area_btn_left {
    background: #F3F4F6;
}

.main_cart_area_btn_left span {
    color: #364153;
}

/* 오른쪽 버튼 */
.main_cart_area_btn_rignt {
    background: #704214;
    gap: 8px;
}

.main_cart_area_btn_rignt span {
    color: #FFF;
}

/* 버튼 텍스트 공통 */
.main_cart_area_btn_area span {
    font-family: Pretendard;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
}

.cart_last_area{
    display: flex;
    
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    align-self: stretch;
}
.cart_last_icon{
    
width: 64px;
height: 64px;
padding: 0 16px;

flex-shrink: 0;
border-radius: 33554400px;
background: #F8DDAA;
}

.main_cart_area_content_product_last_con{
    display: flex;
    flex-direction: column;
     align-items: center; /* 핵심: 전체 중앙 */
    gap: 8px;
    text-align: center;  /* 텍스트도 중앙 */
}

.main_cart_area_content_product_last_con_tit{
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
    align-self: stretch;
    justify-content: center; /* 가로 중앙 */
}

.main_cart_area_content_product_last_con_tit > span {
    color: #101828;
    text-align: center;
    font-family: "Playfair Display";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px; /* 133.333% */
    
}

.main_cart_area_content_product_last_con_bottom{
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;
}

.main_cart_area_content_product_last_con_bottom > span {
    color: #4A5565;
    text-align: center;
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
}