/****** 이미지 업로드 창 section02 ******/
.section02 {
    width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0;
    margin-bottom: 50px;
    background-color: transparent;
    min-height: initial;
    position: relative;
    z-index: 2;
}
.uploader {
    background-color: var(--background-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 40vh;
    border-radius: 20px;
    gap: 20px;
    padding: 40px;
}
.uploader_tit {
    color: var(--background-unable-text);
    text-align: center;
    line-height: 160%;
    font-size: 1.8rem;
}
.uploader_ext {
    font-size: 1.4rem;
    color: var(--label-alternative);
}
/* 입력창 */
.input_group {
    display: flex;
    flex-direction: column;
    padding: 40px 0;
}
.input_box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.input_tit {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-left: 10px;
}
.input_tit h3 {
    font-weight: 600;
}
.input_tit span {
    background-color: rgba(255, 81, 23, 0.1);
    padding: 4px 10px;
    border-radius: 24px;
    color: var(--primary-orange);
    font-size: 14px;
    font-weight: 600;
}
.input_tit p {
    font-size: 1.4rem;
    color: var(--label-alternative);
}
.input_tit p>span {
    color: var(--primary-orange);
    font-size: 1.4rem;
    border-radius: 0;
    font-weight: 300;
    padding: 0;
    background-color: rgba(255, 81, 23, 0);
}
/* 입력창-플레이스홀더 */
.input_form {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 10px;
}
.input_con {
    width: 100%;
    background-color: var(--background-light);
    border-radius: 4px;
    padding: 10px 16px;
    font-size: 1.8rem;
}
.address_btn a {
    padding: 14px;
    border: 1px solid var(--line-normal);
    box-sizing: border-box;
    border-radius: 4px;
}
.input_form label {
    display: flex;
    gap: 8px;
    margin-left: 10px;
}

/****** 이미지 업로드 창 section02 end ******/
/****** 경고 팝업창 css ******/
#alertOverlay {
    position: fixed; inset: 0;
    background: rgba(17, 24, 39, .45);
    display: none;
    align-items: center; justify-content: center;
    z-index: 9999;
}
.alert-modal {
    display: block;
    width: min(420px, 92vw);
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,.18);
    overflow: hidden;
    animation: alert-pop .16s ease-out;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}
@keyframes alert-pop { from { transform: translateY(6px) scale(.98); opacity: .6; } to { transform: none; opacity: 1; } }

.alert-head {
    display: flex; 
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 30px 16px 7px 16px; 
}
.alert-head .icon { 
    width: 50px;
    line-height: 1; }
.alert-head .icon img { 
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.alert-body {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0px 16px 0px 16px; 
    color: #333; 
    font-size: 18px;
    font-weight: 500;
}
.alert-body span {
    font-weight: 700;
    color: var(--primary-orange);
}
.alert-body ul {margin: 0;}
.alert-body li {margin: 6px 0;}

.alert-actions {
    display: flex; 
    gap: 8px; 
    justify-content: center;
    padding: 30px 16px; 
}
.alert-btn {
    appearance: none; 
    background: #fff;
    padding: 10px 40px; 
    border-radius: 100px; 
    font-size: 14px; 
    cursor: pointer;
    font-weight: 500;
}
.alert-btn.primary { 
    background: var(--primary-orange); 
    color: #fff; 
}
.alert-btn.primary:hover { filter: brightness(1.05); }
/****** 경고 팝업창 css end ******/
/****** 주문내역창 ******/
.info_order {
    padding: 16px;
}
.info_card_title p {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
    text-align: center;
}
/* 수정 (저장/닫기) */
.change_actions {
    margin-top: 14px; 
    display: flex; 
    justify-content: center;
    gap: 8px; 
    align-items: center;
}
.submit {
    width: 100%;
    font-size: 1.8rem;
    color: var(--primary-orange);
    border: 1px solid var(--primary-orange);
    padding: 10px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0 0 40px 0;
}
.submit:hover {
    background-color:var(--primary-orange);
    color: white;
}
/****** 주문내역창 end ******/
/* ****************** 알림창 Overlay / Modal ****************** */
#alertOverlay[hidden]{ display:none; }
#alertOverlay{
  position: fixed; inset: 0;
  display: flex; align-items: center; 
  justify-content: center;
  background: rgba(17, 24, 39, .45);
  z-index: 9999;
  opacity: 0; pointer-events: none;
  transition: opacity .16s ease;
}
#alertOverlay.open{ opacity: 1; pointer-events: auto; }

#alertOverlay .sheet{
  width: min(420px, calc(100% - 40px));
  background: #fff;
  border-radius: 40px;
  overflow: hidden;
}

#alertOverlay header{
  display:flex; 
  justify-content: center;
  align-items:center; 
  padding: 30px 16px 7px 16px;
  box-shadow: 0 5px 20px 1px rgba(0, 0, 0, 0);
}
#alertOverlay .title{ font-weight: 800; font-size: 16px; }
#alertOverlay .body{ 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 18px 16px;
    font-size: 18px;
    line-height: 1.6;
    color: #111;
}
#alertOverlay .body span{
    font-weight: 700;
    color: var(--primary-orange);
}
#alertOverlay .actions{
  display: flex; 
  gap: 8px; 
  justify-content: center;
  padding: 30px 16px;
}
#alertOverlay .icon {
    width: 50px;
    line-height: 1;
}
#alertOverlay .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* 버튼 프리셋 */
#alertOverlay .btn{ 
  color: #121212;
  border: 1px solid var(--line-normal);
  border-radius: 100px;
  padding: 10px 40px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  cursor: pointer;
}
#alertOverlay .btn.primary{ 
  background: var(--primary-orange); 
  color:#fff;
  border: 1px solid transparent
}
#alertOverlay .btn.danger{ 
  background:#111; 
  color:var(--primary-green); 
  border: 1px solid transparent;
  font-weight: 700;
}
#alertOverlay .btn.danger:hover {
    background-color: var(--primary-green);
    color: white;
}
/* ****************** 알림창 Overlay / Modal end ****************** */

@media (max-width: 1500px) {
    .section02 {
        width: auto;
        height: 100%;
        padding: 20px;
    }
    .info_left,
    .info_right {
        width: 100%;
    }
    .infomation_wrap {
        display: flex;
        flex-direction: column;
        gap: 60px;
    }
    .menu_btn {
        width: 28px;
        height: 28px;
        background-color: var(--primary-brown) !important;
        -webkit-mask-image: url("../public/images/icon/fe_bar.svg");
        mask-image: url("../public/images/icon/fe_bar.svg");
    }
    header.scrolled .menu_btn {
        width: 28px;
        height: 28px;
        background-color: white !important;
        -webkit-mask-image: url("../public/images/icon/fe_bar.svg");
        mask-image: url("../public/images/icon/fe_bar.svg");
    }
    .gnb_box .on {
        border-bottom: 5px solid var(--primary-orange);
        transition: all 0.3s ease-in;
    }
}
@media (max-width: 600px) {
    .uploader {
        height: auto;
        padding: 80px 40px;
    }
}
@media (max-width: 450px) {
    .btn {
        text-align: center;
        justify-content: center;
        appearance: none;
        border: 1px solid var(--cal-border);
        color: var(--label-alternative);
        border-radius: 40px;
        padding: 12px 20px;
        cursor: pointer;
        font-weight: 600;
        transition: .15s ease;
    }
    .btn-primary {
        background: var(--cal-accent);
        color: var(--cal-accent-contrast);
        border-color: transparent;
    }
    .uploader {
        background-color: var(--background-light);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: auto;
        border-radius: 20px;
        gap: 20px;
        padding: 80px 40px;
    }
    .uploader img {
        width: 50px;
        object-fit: contain;
    }
    .uploader_tit {
        color: var(--background-unable-text);
        text-align: center;
        line-height: 160%;
        font-size: 1.6rem;
    }
}