/* 250903 : CSS 변수 설정  */
:root {
  --color-black: #2f3440;
  --color-black80: #585c66;
  --color-black60: #82858c;
  --color-primary: #8095ec;
  --color-secondary: #566fd3;

  --wrapper-default: 1.6rem;
  --border-radius-default: 0.6rem;
  --btn-height-default-min-width-720px: 7rem;

  --confirm-info-box-outline: #c4c9e0;
  --confirm-info-label-virtical: 1.2rem;
  --confirm-info-label-backgroundColor: #c4c9e026;
  /* height reserved for the fixed footer/button bar used on order pages */
  --footer-height: 8rem;
}

/** Display & visibility */
.displaynone {
  display: none !important;
}
.displayhidden {
  visibility: hidden !important;
}

/* Text */
.text-center {
  text-align: center !important;
}

/* Margin & Padding */
.m-0 {
  margin: 0;
}
.m-1 {
  margin: 0.4rem;
}
.m-2 {
  margin: 0.8rem;
}
.m-3 {
  margin: 1.6rem;
}
.m-4 {
  margin: 2.4rem;
}
mb-4 {
  margin-bottom: 2.4rem;
}

.p-0 {
  padding: 0 !important;
}
.p-1 {
  padding: 0.4rem;
}
.p-2 {
  padding: 0.8rem;
}
.p-3 {
  padding: 1.6rem;
}
.p-4 {
  padding: 2.4rem;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  font-family: 'Pretendard';
  color: var(--color-black);
}

*,
*::before,
*::after {
  /* box-sizing: inherit; */
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.body,
p,
ul,
h1 {
  margin: 0rem;
  padding: 0rem;
}

html,
body {
  height: 100%;
  padding: 0rem;
  margin: 0rem;
  box-sizing: border-box;
}

.header {
  /* padding-top: env(safe-area-inset-top, 0rem); */
}

.clear:after {
  content: '';
  display: block;
  clear: both;
}

input {
  -webkit-appearance: none; /* 사파리와 크롬의 기본 스타일링 제거 */
  -moz-appearance: none; /* 파이어폭스의 기본 스타일링 제거 */
  appearance: none; /* 다른 브라우저 기본 스타일링 제거 */
  border-radius: 0; /* 둥근 모서리 제거 */
}

/* Placeholder와 선택한 날짜를 왼쪽 정렬 */
input[type='date'] {
  text-align: left;
  background-color: white;
  -webkit-appearance: none; /* 사파리 기본 스타일링 제거 */
  -moz-appearance: none; /* 파이어폭스 기본 스타일링 제거 */
  appearance: none; /* 다른 브라우저 기본 스타일링 제거 */
}

input[type='date']::placeholder {
  text-align: left;
}

/*250901:fieldset 초기화*/
fieldset {
  margin-inline: unset;
  border-width: unset;
  border-style: unset;
  border-color: unset;
  border-image: unset;
  padding-block: unset;
  padding-inline: unset;
}

/* 모바일/태블릿 일 때 터치 피드백 효과 제거 */
@media screen and (max-width: 1024px) {
  button,
  button:focus,
  button:active {
    /* outline: none; 
    box-shadow: none; 
    background-color: inherit;  */
    -webkit-tap-highlight-color: transparent; /* 터치 하이라이트 색상 제거 */
  }

  div,
  div:focus,
  div:active {
    -webkit-tap-highlight-color: transparent;
  }

  input:focus,
  textarea:focus,
  select:focus {
    outline: none;
    box-shadow: none;
  }
}

textarea:focus {
  outline: none; /* 포커스 되었을 때 테두리 제거 */
}

input:focus {
  outline: none; /* 포커스 되었을 때 테두리 제거 */
}

/* 크롬, 사파리, 엣지 */
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* 파이어폭스 */
input[type='number'] {
  -moz-appearance: textfield;
}

li {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  outline: none;
}
 a:hover,
a:active {
  text-decoration: none;
  color: #fff;
}

/* 기본 (모바일용) */

html {
  font-size: 62.5%;
}

.container {
  /* max-width: 900px; */
  width: 100%;
  /* height: 100vh; */
}

.body {
  /* height: 90%; */
  background-color: #fff;
  overflow-y: auto;
  height: calc(100% - 14%);
  padding-bottom: 12rem;
}

.body > .header,
.body > form {
  /* margin: 0 15.5rem; */
  /* height: 100%; */
}

.body > form {
  position: relative;
}

.logo_box {
  /*padding-top: 4.5rem;  */
  /*padding-left: 4.2rem;*/
  display: flex;
  align-items: center;
  height: 5rem;
  /* margin-left: 3.5rem; */
  justify-content: center;
  margin-top: 3rem;
}

.logo_box > a > img {
  /* width: 100%; */
  height: 1.5rem;
}

.logo_box_color {
  /*padding-top: 3.9rem;*/
  /*padding-left: 5.5rem;*/
  z-index: 10;
  background-color: white;
  /*width: 100%;*/
  /* max-width: 1000px; */
  /* max-width: 40rem; */
  /*max-width: 40rem;*/
  /*padding-bottom: 0.8rem;*/
  box-sizing: border-box;
}
.logo_box_color > a {
  height: 1.5rem;
}

.logo_box_color > a > img {
  height: 1.6rem;
}

/* 메인화면 */

.body-wrap {
  /* height: calc(100vh); */
  height: 100%;
  background-image: url('/img/goyoo_main_bg_2.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  /* position: relative; */
}

.main-section {
  /* padding-top: calc(4.7rem + 8rem );     */
  /* position: relative; */
  height: 100%;
  display: flex;
  flex-direction: column;
  align-content: center;
  /* padding-top: 5rem; */
  justify-content: space-between;
}

.main-section .inner {
  margin-top: 10.8rem;
}

.main-section .inner h1 {
  color: #fff;
  text-align: center;
  font-size: 4.2rem;
  /*height: 4.9rem;*/
  display: flex;
  justify-content: center;
  align-items: center;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.main-section .cake-img-section {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28rem;
  min-width: 20rem;
}

.main-section .cake-img-section .cake-img {
  background-image: url('/assets/img/goyoo_main_cake_fit.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 50rem;
  height: 100%;
}

header.main-header {
  background-image: url('/img/goyoo_main_bg_2.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: -45.6rem;
  padding-top: 3rem;
  display: flex;
  justify-content: center;
}

header.main-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 5rem;
}

header.main-header .logo {
  display: flex;
  height: 5rem;
  align-items: center;
}
header.main-header .logo img {
  width: 100%;
  height: 1.5rem;
}

header.main-header .home-btn {
  display: flex;
  width: 2.8rem;
  height: 2.8rem;
  justify-content: center;
  align-items: center;
}
header.main-header .home-btn > img {
  /* width: 2.2rem; */
  height: 2.2rem;
}

.header {
  display: flex;
  align-items: flex-end;
  height: 5.5rem;
  box-sizing: border-box;
}

.header .transparent {
  background-color: transparent;
}

.header .menu_box {
  padding-top: 2rem;
  padding-right: 2rem;
}

.header .menu_box img {
  height: 2.5rem;
}

/*사이드바*/
#sidebar_menu {
  transition-property: all;
  transition-duration: 0.3s;
}

.sidebar {
  width: 20rem; /* 계산된 너비 값 */
  height: 100%;
  background-color: #f7f7f7;
  z-index: 1000;
  position: fixed;
  right: -20rem;
}

.sidebar .menu_box {
  width: 2.5rem;
  height: 2.5rem;
  float: right;
  text-align: center;
  margin-top: 2rem;
  padding-right: 2rem;
  margin-right: 2rem;
}

.sidebar .menu {
  padding-left: 2rem;
  margin-top: 10rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: #707070;
}

.sidebar .menu li {
  height: 5rem;
}

.sidebar .menu2 {
  color: #65869c;
}

.sidebar .menu_box {
  width: 2rem;
  height: 2rem;
  float: right;
  text-align: center;
  margin-top: 3rem;
  padding-right: 3rem;
}

.sidebar .menu_box #cancel_btn {
  width: 3rem;
  height: 3rem;
  cursor: pointer;
}

.sidebar ul li {
  font-size: 2rem;
}

.main-section h1 {
  font-size: 4rem;
}

.button {
  line-height: 3em;
  border: 0;
  width: 60%;
  /* font-family: "Roboto"; */
  background-color: white;
  text-align: center;
  font-size: 2rem;
  /* color: #B2C1FF; */
  cursor: pointer;
  letter-spacing: 3px;
  background-color: var(--color-primary);
  color: #fff;
}

.main-section .inner div {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.main-section .inner div button {
  /* margin-top: 1.5rem;  */
  margin-top: 3rem;
  width: 15.9rem;
  height: 5.5rem;
  border-radius: 1rem;
  border: 2px solid #fff;
  color: #fff;
  text-align: center;
  font-size: 2.2rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.button.btn-trans {
  border: 1px solid white;
  background-color: #ffffff26;
  width: 100%;
  height: 6rem;
  backdrop-filter: blur(8px);
}

.main-section .middle {
  /* position: absolute; */
  /* top: 71vh; */
  /* left: 50%; */
  /* transform: translateX(-50%); */
  color: #fff;
  text-align: center;
  font-size: 2rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
  /* width: 100%; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.main-section .middle span {
  color: #fff;
}

.main-section #order-my-btn {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  /* margin-top: 4rem; */
  margin-bottom: 2.8rem;
  width: 100%;
  cursor: pointer;
  gap: 1rem;
  width: 100%;
  padding: 2rem 0;
}

.main-section #order-my-btn span {
  display: block;
  width: 80vw;
}

.main-section .order-my-btn {
  color: #566fd3;
  text-align: center;
  /* font-size: 1.8rem; */
  font-size: 2rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

#order-my-btn .material-symbols-outlined.order-my-btn {
  color: var(--color-secondary);
  font-size: 3.5rem;
  font-weight: normal;
}

.main-section .middle button {
  cursor: pointer;
  width: 12rem;
  height: 3.6rem;
  flex-shrink: 0;
  color: #323d77;
  border-radius: 2.9rem;
  text-align: center;
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  background: rgba(255, 255, 255, 0.35);
  margin-top: 0.7rem;
  border: 0;
}

/* 주문 프로세스 */

/* 공통 */
.content-body {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.content-body-not-fixed {
  height: 56vh;
}

.content .order-my-title {
  height: 100%;
  display: flex;
  flex-direction: row;
}

.content .order-my-title span:first-child {
  color: var(--color-primary);
  /* margin-bottom: 1rem; */
}

.order-process-inner {
  /* height: 100%; */
  /* overflow-y: auto;*/
  /*margin: auto;*/
  /*width: 100%;*/
  /* max-width: 55rem; */
  /*max-width: 40rem;*/
  /* margin-top: 4rem; */
}

/* For success/confirm pages: keep the confirm block visible above the fixed footer.
   Use position: sticky so the bottom of the block stops above the footer when
   scrolled to the end. Ensure parent does not have overflow set that would
   prevent sticky positioning from working. */
.confirm-wrap.order-done-content {
  position: sticky;
  bottom: var(--footer-height);
  /* keep original stacking order; don't rely on z-index to "solve" overlap */
  z-index: 5;
}

.content-foot:before {
  /*버튼 그룹 페이드*/
  content: '';
  display: block;
  width: 100%;
  pointer-events: none;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 75%);
}

.content-foot {
  position: fixed;
  z-index: 9;
  /* bottom: 4rem; */
  width: calc(1080px - 31rem);
  /* height: 8rem;  */
  box-sizing: border-box;
  width: 100%;
  left: 0;
  bottom: 0;
  padding: 0 3.2rem;
  background-color: #fff;
  /* padding: 1.8rem 1.8rem 1.8rem 1.8rem; */
}

.button_group {
  /*width: 100%;*/
  display: flex;
  justify-content: space-between;
  /*margin: 0 auto;*/
  /*padding-left: 5.4rem;*/
  /*padding-right: 5.4rem;  */
  /*max-width: 40rem;*/
  gap: 1rem;
  padding: 0 1.8rem 1.8rem 1.8rem;
  background: #fff;
}

.button_group > button {
  height: 5rem;
  border-radius: var(--border-radius-default);
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  border: 1px solid var(--color-primary);
}

#button_next {
  width: 62%;
}

@keyframes blink_next {
  0% {
    background-color: #667bd3; /* focus된 색상 */
  }

  100% {
    background-color: #b2c1ff; /* 원래 배경색 */
  }
}

.blink_next {
  animation: blink_next 0.5s ease;
}

#payNow {
  width: 64%;
  /* height: 4.4rem; */
  /* border-radius: 10px; */
  /* font-size: 1.6rem; */
  /* font-style: normal; */
  /* font-weight: 700; */
  /* line-height: normal; */
}

#button_back {
  width: 36%;
  color: var(--Color-3, rgba(0, 0, 0, 0.3));
}

@keyframes blink_back {
  0% {
    /*background-color: #D9D9D9;*/ /* focus된 색상 */
    background-color: rgb(86 111 211 / 25%);
  }

  100% {
    background-color: #f6f6f6; /* 원래 배경색 */
  }
}

.blink_back {
  animation: blink_back 0.5s ease;
}

#button_back,
.button.disabled {
  /* color: var(--Color-3, rgba(0, 0, 0, 0.30)); */
  color: var(--color-primary);
  background-color: #fff;
}

.button.disabled {
  /* background-color: #ADADAD; */
  /* color: white; */
  opacity: 0.3;
}

.veri-button.disabled {
  color: #d0d0d0;
  border: 0.5px solid #d0d0d0;
  background-color: #fff;
}

.order-process-inner .title_block {
  padding-top: 5.5rem;
  /*margin-left: 5.5rem;  */
}

.title_block.success {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.order-process-inner .content_block {
  display: flex;
  flex-direction: column;
  /* margin-bottom: 8rem; */
  /*justify-content: center;*/
  /*margin-left: 5.5rem;*/
  /*margin-right: 5.5rem;   */
  gap: 2.4rem;
  /* ensure there's enough space at the bottom for fixed footer (buttons)
     so the last block (total-price) can be scrolled fully into view */
  /* padding-bottom: 8rem; */
}

#time-select-container[status='disabled'] {
  opacity: 0.3;
  pointer-events: none;
}

.order-process-inner .content_block.page-date > section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.preview {
  /* margin-top: 2.4rem; */
  width: 15rem;
  height: 15rem;
  text-align: center;
  box-sizing: border-box;
  margin-bottom: 0.1rem;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  position: relative;
  /* width: 16rem; */
  /* height: 16rem; */
  /* width: 25vh; */
  /* height: 25vh; */
  /* border: 1px solid #cecdcd; */
  border-radius: 50%;
  border: 0.1rem solid var(--confirm-info-box-outline);
  /* transform: scale(1.5); */
  margin: calc(16rem * (1.5 - 1) / 2);
}

.preview-img {
  display: flex;
  justify-content: center;
}

.preview .sampleColor {
  display: flex;
  position: absolute;
  /* font-family: 'KoPub Dotum'; */

  border-radius: 1rem;
  font-size: 3.6rem;

  justify-content: center;
  align-items: center;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 0;

  width: 113%;
  height: 113%;
}

.preview .preview-inner {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.order-process-content {
  /* margin-top: 2.4rem; */
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-default);
  box-sizing: border-box;
  /* margin-bottom: 10px; */
  gap: 2.4rem;
}

.order-process-content-inner {
  display: flex;
  /* grid-template-rows: 1fr 1fr; */
  /* grid-template-columns: 1fr 1fr; */
  width: 100%;
  flex-direction: column;
  gap: 1rem;
}

.order-process-content > section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.content-body .select-title {
  align-self: flex-start;
  /* padding-left: 0.16rem; */
  font-size: 1.6rem;
  height: 1.8rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  display: flex;
  align-items: center;
  margin-bottom: 0.2rem;
  color: var(--color-black80);
}

.order-process-content [class^='select-type-'] {
  gap: 0.5rem;
}
.select-type-block {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.order-process-content [class^='select-type-'] > [class^='select_'] {
  display: flex;
  height: 5rem;
  border-radius: var(--border-radius-default);
  color: var(--color-black);
  flex: 0 0 calc(25% - 0.5rem);
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-align: center;
  font-size: 1.3rem;
  font-style: normal;
  font-weight: 700;
  gap: 0.5rem;
  outline: 1px solid #e5e7f2;
  flex: 1;
}

.select_color {
  /* line-height: normal; */
}

.select_color > span {
  height: 2.2rem;
}
.select_color > span svg {
  width: 99%;
  height: 99%;
}

.select_color > .text {
  line-height: 2.2rem;
}

.select_category {
  /* border: 1px solid; */
  /* border-color: #8f9ad6; */
  flex: 1;
  height: 3.4rem;
  font-size: 1.3rem;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: var(--border-radius-default);
  color: #fffafa;
  text-align: center;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  display: flex;
  justify-content: center;
  align-items: center;
}

.select-type-font {
  /* padding-left: 2.2rem;
  padding-right: 2.2rem; */
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.select_font {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  /* border: 1px solid; */
  cursor: pointer;
  /* margin-right: 0.5rem; */
  flex: 1;
  height: 3.4rem;
  outline: 1px solid #e5e7f2;
  color: #8f9ad6;
  font-size: 1.3rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  flex-shrink: 0;
}

/* 주문 페이지 공통 사용 스타일링*/
.page-title-box {
  margin-bottom: 4rem;
}
section.page-title-box .title_block {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
section.page-title-box .title_block h2 {
}
section.page-title-box .order-step-box {
  display: flex;
  justify-content: space-between;
  padding: 2.4rem 0;
}

section.page-title-box .order-step-box .step-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
}

section.page-title-box .order-step-box ul.step-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
section.page-title-box .order-step-box ul.step-indicator > li {
  display: flex;
  width: 0.8rem;
  height: 0.8rem;
  justify-content: center;
  align-items: center;
  background-color: #e5e7f2;
  border-radius: 100%;
}
section.page-title-box .order-step-box ul.step-indicator > li:not(.active) {
  overflow: hidden;
  text-indent: -99999px;
  white-space: nowrap;
}
section.page-title-box .order-step-box ul.step-indicator > li.active {
  width: 2rem;
  height: 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--color-primary);
  line-height: 2rem;
}

/* 날짜, 시간 선택 */
.date-container {
  position: relative;
  display: flex;
  /* margin-top: 1.5rem; */
}

.date-container:nth-child(1) {
  margin-top: 4.4rem;
}

.order-my-body .date-input {
  width: 100%;
  /* color: var(--color-primary); */
  /* background-color: #F6F6F6; */
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  border-radius: 1rem;
  border: none;
  -webkit-appearance: none; /* 사파리/크롬 */
  -moz-appearance: none; /* 파이어폭스 */
  appearance: none; /* 기타 브라우저 */
}

.order-date .date-input {
  width: 100%;
  height: 5rem;
  /* color: var(--color-primary); */
  /* background-color: #F6F6F6; */
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  border-radius: 1rem;
  border: none;
  padding: 0 1.2rem 0 4.6rem;
  -webkit-appearance: none; /* 사파리/크롬 */
  -moz-appearance: none; /* 파이어폭스 */
  appearance: none; /* 기타 브라우저 */
  outline: 1px solid #e5e7f2;
  color: #585c66;
}

.page-date #time-select:disabled {
  opacity: unset;
}

.date-input:focus {
  outline: 1px solid var(--color-primary);
}

#pickupDate::-webkit-calendar-picker-indicator {
  opacity: 0; /* 기본 아이콘 숨기기 */
}

#pickupDate::placeholder {
  /* color: var(--color-primary); */
}

[class^='page-date-icon'] {
  width: 2.4rem;
  height: 2.4rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none; /* 아이콘 클릭 방지 */
  cursor: pointer; /* 포인터 모양 변경 */
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.page-date-icon-date,
.page-date-icon-time {
  left: 1.2rem;
}

.page-date-icon-date {
  background-image: url('/assets/img/page-date-icon-date.svg');
}
.page-date-icon-time {
  background-image: url('assets/img/page-date-icon-time.svg');
}

.date-arrow-icon,
.time-arrow-icon {
  right: 1.5rem;
  background-image: url('/assets/img/arrow_right_v2.svg');
}

/* 템플릿 선택 */
.template-select-block {
  /* padding-top: 1.7rem; */
  width: 100%;
  /* height: 18rem; */
  display: flex;
  overflow-x: auto;
  flex-wrap: wrap;
  scroll-snap-type: x mandatory; /* 스크롤 스냅 타입 설정 */
  padding-bottom: 3rem;
  gap: 1rem;
}

.template-select-block .template-select:not(.active) svg {
  filter: grayscale(100);
}

.template-deco {
  margin-top: 0.5rem;
}

.template-select {
  flex-shrink: 0;
  /* margin: 0 0.5rem; */
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--base-border-radius);
  border: 1px solid;
  border-color: rgba(206, 205, 205, 1);
  /* width: 12rem; 
  height: 12rem; */
  /* width: 13rem; */
  /* height: 13rem; */
  /* width: 19vh; */
  /* height: 19vh; */
  overflow: hidden;
  aspect-ratio: 1 / 1;
  position: relative;
  width: calc((100% - 1rem * 2) / 3);
}

.template-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  /* width: calc(100% / 3.3); */
}

.template-inner > svg {
  /* width: 169px; */
}

/* 디자인 선택 */

.content h2 {
  font-size: 2.6rem;
  display: flex;
  align-items: center;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin: 0;
  padding: 0;
}

.content h3 {
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
  height: 1.8rem;
  display: flex;
  align-items: center;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.info-description {
  color: #acacac;
  font-size: 1.8rem;
  word-break: break-word;
  line-height: 1.6;
  margin-top: 2rem;
}

.select-design-block {
  /*margin-left: 5.5rem;  */
  /*margin-right: 5.5rem;*/
}

.order-process-content .design-title {
  font-size: 1.4rem;
  display: flex;
  justify-content: left;
  height: 2.2rem;
  margin-bottom: 0.2rem;

  align-self: flex-start;
}

.design_type {
  /*width: 100%;*/
  /* height: 23rem; */
  outline: 1px solid #e5e7f2;
  border-radius: 1rem;
  /* display: flex; */
  /* justify-content: left;*/
  /*align-items: center;*/
  /*cursor: pointer;*/
  position: relative;
}

/* 250901 추가 */

.wrapper {
  padding: 0 3.2rem;
}

#policyVeri {
  display: block;
}
#policyVeri.visible {
  opacity: 1;
}

.success-icon {
  padding: 0.2rem;
  /* width: 100%; */
  margin-bottom: 1.6rem;
}
.success-icon > section {
  width: 6rem;
  height: 6rem;
  display: flex;
  background-color: var(--color-primary);
  justify-content: center;
  align-items: center;
  border-radius: 100%;
}

@media screen and (max-width: 1024px) {
  .design_type {
    height: 14rem;
  }
}

.order-status .checkbox,
.design_type span.checkbox {
  display: block;
  /* position: absolute; */
  /* right: 0; */
  /* top: 0; */
  width: 2.4rem;
  height: 2.4rem;
  background-image: url('/assets/img/circle-uncheck.svg');
  background-size: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.order-status .checkbox {
  width: 4rem;

  height: 4rem;
}

.design_type:nth-child(-n + 2) {
  /* margin-bottom: 1rem; */
}

.design_type:nth-child(n + 3):nth-child(-n + 4) {
  /* margin-top: 1rem; */
}

.design_type:nth-child(odd) {
  /* margin-right: .8rem; */
}

.design_type:nth-child(even) {
  /* margin-left: .8rem; */
}

.design_type > div {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: row;
  /* justify-content: space-between; */
  align-items: center;
  padding: 1.4rem;
  gap: 1.6rem;
  box-sizing: border-box;
}

.design_type_img {
  /*display: flex; */
  /* width: 6rem;
  height: 6rem;    */
  /*padding-left: 1.4rem;*/
  /*padding-right: 1.1rem;*/
  /*border-right: 0.75px solid #D8DFFF;*/
  /* margin-bottom: 1.5rem; */
  display: flex;
  width: 11rem;
  height: 11rem;
  align-content: center;
  justify-content: center;
  align-items: center;
  background-color: #eceffc;
  border-radius: var(--border-radius-default);
}

.design_type_img > img {
  width: 10rem;
  /*height: 5.4rem;*/
}

/* .order-process-content-inner .design_type#emoji {
  display: none;
} */

.design_type.valid[status='active'] {
  outline: 2px solid var(--color-primary);
}

.order-status.active .checkbox,
.design_type.valid[status='active'] span.checkbox {
  background-image: url('/assets/img/circle-check.svg');
}
.design_type.valid[status='active'] .design_type_img {
  background-color: #dde3ff;
}

.design_type_text {
  text-align: left;
  /* width: 22rem; */
  /*margin-left: 1rem;*/
  /*display: flex;*/
  /*justify-content: center;*/
  flex: 1;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.design_type_text > p:nth-of-type(1) {
  /* color: #8F9AD6; */
  font-size: 1.8rem;
  height: 2.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}
.design_type_text > p:nth-of-type(1) > .title {
  width: 100%;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.design_type_text > p:nth-of-type(2) {
  color: var(--Color-2, #acacac);
  font-size: 1.4rem;
  /* height: 1.7rem; */
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  padding-top: 0.6rem;
}

.design_type_text > p:nth-of-type(3) {
  color: var(--Color-2, #6d6d6d);
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-align: right;
  color: var(--color-secondary);
  margin-top: auto;
}

/* 메세지 입력 */
.textarea-wrap {
  position: relative;
  flex-direction: column;
  width: 100%;
  /* margin-top: 1rem; */
}

.textarea-wrap > textarea {
  border: 1px solid;
  border-color: #b2c1ff;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.textarea-wrap #textCount {
  position: absolute;
  left: 1.3rem;
  bottom: 1rem;
  color: var(--color-black60);
  font-size: 1.2rem;
}
textarea::placeholder {
  color: #adadad80;
}
textarea:focus::placeholder {
  color: transparent;
}

#textarea {
  padding: 0.8rem 1.2rem;
  box-sizing: border-box;
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid;
  border-color: #e5e7f2;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
  /* color: #9BA4AA; */
  resize: none;
}
#textarea:focus {
  border-color: var(--color-primary);
}

.warn-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  font-size: 1.2rem;
  font-weight: 500;
}

.comment {
  justify-content: center;
  text-align: left;
  display: flex;
  font-size: 1.2rem;
  flex-direction: column;
  gap: 0.2rem;
  font-weight: 600;
}

.line-dotted {
  border: none;
  border-top: 0.15rem dotted var(--confirm-info-box-outline);
  margin: 0;
}
.line-dashed {
  border: none;
  border-top: 0.1rem dashed #aaa;
  margin: 0;
}

.confirm-info.reservation-notice strong {
  animation: blink 1s infinite;
  color: var(--color-secondary);
  font-weight: 700;
}

.reservation-notice .inner {
  background-color: var(--confirm-info-label-backgroundColor);
}
.reservation-notice .icon-alert-circle {
  display: block;
  width: 2rem;
  height: 2rem;
}
.reservation-notice .content {
  gap: 1rem;
  display: flex;
  flex-direction: column;
}

/*
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
*/

.order-shop-type-payment {
}

.order-shop-type-payment ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-shop-type-payment ul li.payment-btn {
  display: flex;
  height: 10rem;
  font-size: 1.8rem;
  font-weight: 700;
  outline: 1px solid var(--confirm-info-box-outline);
  padding: 1.6rem;
  border-radius: var(--border-radius-default);
  align-items: center;
  gap: 1rem;
}
li[class*='-btn'][status='active'] {
  background-color: #eceffc;
  outline-width: 2px !important;
  outline-color: var(--color-primary) !important;
}

.content-body .icon-checkbox {
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  background-image: url('/assets/img/circle-uncheck.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}
.content-body [status='active'] > .icon-checkbox {
  background-image: url('/assets/img/circle-check.svg');
}

.order-shop-type-payment ul li.payment-btn > .icon {
  display: block;
  width: 4rem;
  height: 4rem;
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
}

.order-shop-type-payment ul li.payment-btn.mobile-payment > .icon {
  background-image: url('/assets/img/icon-order-type-mobile-payment.svg');
}
.order-shop-type-payment ul li.payment-btn.staff-payment > .icon {
  background-image: url('/assets/img/icon-order-type-staff-payment.svg');
}
.icon-alert-circle {
  background-image: url('/assets/img/icon-alert-circle.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.order-shop-type-payment ul li.payment-btn > .text {
}

.custom-case-sheet-option {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.custom-case-sheet-option section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.custom-case-sheet-option section > ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.custom-case-sheet-option li[class*='-btn'] {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1.4rem;
  outline: 1px solid var(--confirm-info-box-outline);
  border-radius: var(--border-radius-default);
  font-size: 1.6rem;
  font-weight: 600;
}

.custom-case-sheet-option .cake-case-btn .price,
.custom-case-sheet-option .cake-sheet-btn .content > .price {
  flex: 1;
  text-align: right;
  color: var(--color-secondary);
}
.custom-case-sheet-option .cake-sheet-btn .content > .price {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.custom-case-sheet-option li[class*='-btn'] .subtitle {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-black60);
}
.custom-case-sheet-option .cake-sheet-btn {
  /* gap: 1rem !important; */
}
.custom-case-sheet-option .cake-sheet-btn[disabled='true'] {
  opacity: 0.25;
}
.custom-case-sheet-option .cake-sheet-btn .thumbnail {
  display: block;
  width: 8rem;
  height: 8rem;
  border-radius: var(--border-radius-default);
  margin-right: 0.6rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}
.custom-case-sheet-option .cake-sheet-btn.default .thumbnail {
  background-image: url('/assets/img/thumbnail-cake-sheet-default.png');
}
.custom-case-sheet-option .cake-sheet-btn.fruit .thumbnail {
  background-image: url('/assets/img/thumbnail-cake-sheet-fruit.png');
}
.custom-case-sheet-option .cake-sheet-btn .content {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 8rem;
  justify-content: space-between;
  height: 8rem;
}

.order-process-bar {
  position: absolute;
  width: calc(100% - 5.5rem);
  height: 0.4rem;
  /* margin: 1.5rem 0 1.5rem 0; */
  border-radius: 4px;
  overflow: hidden;
  left: 50%;
  transform: translateX(-50%);
}
.order-process-bar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #e5e7f2;
  border-radius: 4px;
  z-index: 0;
}
.order-process-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0%; /* JS/EJS에서 width 동적으로 변경 */
  height: 100%;
  background: var(--color-primary);
  border-radius: 4px;
  z-index: 1;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.order-process-bar[data-active='1']::after {
  width: 0%;
}
.order-process-bar[data-active='2']::after {
  width: 33.333%;
}
.order-process-bar[data-active='3']::after {
  width: 66.666%;
}
.order-process-bar[data-active='4']::after {
  width: 100%;
}

@media screen and (min-width: 1024px) {
  .comment {
    gap: 0.6rem;
  }
}

.comment > span::before {
  content: '※';
  margin-right: 0.3em; /* 기호와 텍스트 사이 간격 */
}

/* 주문 확인  */
.order-wrap:first-child,
.confirm-wrap:first-child {
  margin-top: unset;
}

.order-wrap,
.confirm-wrap {
  margin-top: 2.8rem;
  margin-bottom: 2.8rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.split-line {
  margin: 2.5rem 0;
  width: 100%;
  height: 1rem;
  background-color: var(--confirm-info-box-outline);
}
.item-split-line {
  height: 1px;
  background-color: var(--confirm-info-box-outline);
  margin: 3rem 0;
}
.item-split-line:last-child {
  display: none !important;
}

.order-info > .inner,
.confirm-info > .inner {
  border: 1px solid var(--confirm-info-box-outline);
  border-radius: var(--border-radius-default);
  overflow: hidden;
}
.order-info > .inner > *,
.confirm-info > .inner > * {
  padding-left: var(--wrapper-default);
  padding-right: var(--wrapper-default);
}

.confirm-info.reservation-notice strong {
  color: var(--color-secondary);
}

.confirm-info.lettering-process-guide .inner > .item-picture {
  padding-left: unset;
  padding-right: unset;
  /* padding-top: var(--wrapper-default); */
}
.confirm-info.lettering-process-guide .inner > .item-picture > img {
  width: 100%;
  /* border-radius: var(--border-radius-default); */
}
.confirm-info.lettering-process-guide .inner h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.confirm-info.lettering-process-guide li {
  font-size: 1.4rem;
  font-weight: 500;
  flex: 1;
}
.lettering-process-guide .button_group {
  padding: unset;
  /* Ensure the lettering/process guide block on the success page
     has enough bottom spacing so it isn't visually covered by the fixed
     footer button bar. This keeps content scrollable into view. */
  padding-bottom: 1rem;
}

.order-info > .inner > .list-item,
.confirm-info > .inner > .list-item {
  display: flex;
  padding-top: var(--wrapper-default);
  padding-bottom: var(--wrapper-default);
  flex-direction: column;
  gap: 1.4rem;
}

.order-info > .inner > .list-item-btn,
.confirm-info > .inner > .list-item-btn {
  padding-bottom: var(--wrapper-default);
}

.order-info .label,
.confirm-info .label {
  color: var(--color-secondary);
  /* color: var(--color-black); */
  font-size: 1.7rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  /* margin-bottom: 1.2rem; */
  border-bottom: 1px solid var(--confirm-info-box-outline);
  /* padding: 1.4rem 1.6rem; */
  height: unset;
  background-color: var(--confirm-info-label-backgroundColor);
  padding-top: var(--confirm-info-label-virtical);
  padding-bottom: var(--confirm-info-label-virtical);
}
.order-info.reservation-notice > section,
.confirm-info.reservation-notice > section {
  background-color: rgb(229 231 242 / 34%);
}
.order-info.reservation-notice .label,
.confirm-info.reservation-notice .label {
  padding-bottom: unset;
  border: unset;
  background: unset;
  /* color: var(--color-black); */
  padding-right: var(--wrapper-default);
  padding-left: 1rem;
  display: flex;
  flex-direction: row;
  gap: 0.4rem;
}
.confirm-info.reservation-notice .label span {
  color: var(--color-secondary);
}

.order-info ul,
.confirm-info ul {
  /* margin-bottom: 0.7rem; */
  /* height: 2rem; */
  display: flex;
  line-height: 2.4rem;
}

.order-info li,
.confirm-info li {
  /* font-family: "KoPub Dotum"; */
  /* color: #707070; */
  /* color: var(--Color-2, #6D6D6D); */
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 500;
  /*height: 1.7rem;*/
  /*display: flex;*/
  /*align-items: center;*/
  line-height: 1.6rem;
  font-weight: 600;
  /* flex: 1; */
}

.order-info li:nth-child(1),
.confirm-info li:nth-child(1) {
  width: 25%;
  /* color: var(--Color-2, #ACACAC); */
  /* font-weight: 500; */
  /* line-height: normal; */
  /*height: 1.7rem;*/
  /*display: flex;*/
  /*align-items: center;*/
  color: var(--color-black60);
}

.order-info li:nth-child(2),
.confirm-info li:nth-child(2) {
  width: 80%;
  /* color: var(--Color-2, #898989); */
  /* font-weight: 700; */
  /* line-height: 1.4; */
  /*height: 1.7rem;*/
  /*display: flex;*/
  /*align-items: center;*/
  text-align: right;
}

.total-price {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: calc(3rem - 1.6rem);
}
.total-price ul {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0 0.4rem;
}
.total-price ul li {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-secondary);
}
.total-price ul li:nth-child(1) {
  width: 40%;
}

/* Ensure the total-price box is visible above the sticky footer/buttons.
   We keep the footer fixed (sticky) but raise the stacking context of
   the total-price wrapper so it isn't visually covered by the button bar. */
.total-price.wrapper {
  /* default block behavior; footer-specific variant .footer-total-price will
     handle alignment inside the fixed footer area */
  position: relative;
  z-index: 5;
}

.footer-total-price {
  /* This block sits above the footer content but inside the footer area so
     it never gets visually covered by the button bar. Adjust spacing to
     match the footer layout. */
  margin-bottom: 0.6rem;
  padding-bottom: 0;
}

.confirm-info.reservation-notice li:nth-child(1) {
  width: 60%;
}
.confirm-info.reservation-notice li:nth-child(2) {
  width: 40%;
}

/* 주문자 정보 확인 */
.orderInfo-wrap {
  /* margin-top: 4rem; */
  /*padding-left: 5.5rem;*/
  /*padding-right: 5.5rem;*/
  /*padding-top: 4.4rem;*/
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.orderInfo-wrap > fieldset > legend {
  width: 100%;
}

.orderInfo-wrap .description-text {
  color: #000;
  font-size: 1.1rem;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  margin-bottom: 4.3rem;

  word-break: normal; /* 단어 단위로 줄바꿈 */
  white-space: normal; /* 기본 줄바꿈 동작 */
}

.orderInfo-wrap .label {
  /* color: #3E3E3E; */
  font-size: 1.7rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  height: 1.8rem;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.orderInfo-wrap > .label:nth-of-type(4) {
  color: var(--Color-2, #6d6d6d);
  margin-bottom: 0.6rem;
}

.form-wrap {
  height: 7rem;
  /*margin-top: 0.6rem; */
  /*margin-bottom: 1.57rem;*/
}

.info-input {
  width: 100%;
  height: 5rem;
  padding: 0 1.2rem;
  border: none;
  border-radius: var(--border-radius-default);
  /* background-color: #F6F6F6; */
  color: var(--color-black);
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  outline: 1px solid var(--confirm-info-box-outline);
  flex: 1;
}
.info-input:focus {
  outline: 1px solid var(--color-primary);
}

.info-input::placeholder {
  color: #d0d0d0;
}

/*.form-block {*/
/*  height: 2.6rem;*/
/*  border: none;*/
/*  font-size: 1.6rem;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  border-bottom: 1px solid #8F9AD6;*/
/*  width: 100%;*/

/*  color: var(--Color-2, #6D6D6D);*/
/*  font-style: normal;*/
/*  font-weight: 700;*/
/*  line-height: normal;*/
/*}*/

.underline-wrap {
  display: flex;
  /* width: 100%; */
  /* height: 5rem; */
  gap: 1rem;
}

.underline-wrap:nth-of-type(3) {
  display: flex;
  /* margin-top: 1.4rem; */
}

#phoneVeri {
  visibility: hidden;
}

.veri-button {
  width: 14rem;
  height: 5rem;
  border: 0.5px solid var(--color-primary);
  border-radius: var(--border-radius-default);
  background-color: #fff;
  color: var(--color-primary);
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  /* margin-left: 1.2rem; */
}

@keyframes blink_veri {
  0% {
    background-color: #d8dfff; /* focus된 색상 */
  }

  100% {
    background-color: #fff; /* 원래 배경색 */
  }
}

.blink_veri {
  animation: blink_veri 0.5s ease;
}

/*.form-underline {  */
/*  height: 2.6rem;*/
/*  border: none;*/
/*  font-size: 1.6rem;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  border-bottom: 1px solid #8F9AD6;*/
/*  width: 100%;*/
/*  color: var(--Color-2, #6D6D6D);*/
/*  font-style: normal;*/
/*  font-weight: 700;*/
/*  line-height: normal;*/
/*  !* margin-right: 1.2rem; *!*/
/*}*/

.veri-wrap {
  position: relative;
  width: 100%;
  display: flex;
  /*display: -webkit-box;*/
  /*-webkit-box-flex: 1;*/
}

.veri-time {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0.8em;
  color: var(--color-secondary);
  font-size: 1.8rem;
  font-weight: 600;
}

.veri-message {
  color: #ff4545;
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 500;
  /* line-height: 2; */
  /*display: flex;*/
  /*align-items: center;*/
  /* margin-left: 1.2rem; */
  visibility: hidden;
  /* margin-bottom: 10.2rem; */
  /* margin-bottom: 30vh; */
  padding-top: 1rem;
  display: block;
}

.form-block::placeholder {
  color: var(--Color-2, #6d6d6d);
  font-size: 1rem;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.form-underline::placeholder {
  color: var(--Color-2, #6d6d6d);
  font-size: 1rem;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.page-policy-box {
}

.policy-block {
  border: 1px solid #e6e6e6;
  border-radius: var(--border-radius-default);
  /* padding: 17px 23px; */
  /*margin-bottom: 3rem;*/
}

.policy-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.policy-block .label {
  color: var(--Color-2, #6d6d6d);
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.policy-list {
  /* margin-top: .8rem; */
}

.policy-list > li {
  color: var(--color-black80);
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 500;
  line-height: 2.4rem;
  display: flex;
  width: 100%;
  position: relative;
  padding: 0.5rem 1rem;
  gap: 0.8rem;
}

.policy-list > li:nth-child(2) {
  padding-top: 1rem;
}
.policy-list > li:last-child {
  padding-bottom: 1rem;
}

.policy-list > li.policy-list-checkAll {
  border-bottom: 1px solid #e5e7f2;
  padding: 1rem;
  font-weight: 700;
}

.policy-list > li > label {
  color: var(--color-black80);
}

.policy-list .policy-detail-show {
  font-weight: 400;
  color: var(--color-black80);
  cursor: pointer;
  margin-left: auto;
  text-decoration: underline;
}

.policy-list input[type='checkbox'] {
  /* margin-left: auto; */
}

.policy-list > li > input[type='checkbox'] {
  /*
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 1.6rem;
  height: 1.6rem;
  border: 0.5px solid #8F9AD6;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  */
  display: block;
  /* position: absolute; */
  /* right: 0; */
  /* top: 0; */
  width: 2.4rem;
  height: 2.4rem;
  background-image: url(/assets/img/circle-uncheck.svg);
  background-position: center center;
  background-repeat: no-repeat;
  margin: 0;
}

.policy-list > li > input[type='checkbox']:checked::before {
  content: '';
  /* position: absolute; */
  /* top: 50%; */
  /* left: 50%; */
  /* width: 1rem; */
  /* height: 1rem; */
  /* background-color: #8F9AD6; */
  /* transform: translate(-50%, -50%); */
  /* clip-path: polygon(14% 44%, 0% 65%, 50% 100%, 100% 20%, 80% 0%, 40% 60%); */
  display: block;
  /* position: absolute; */
  /* width: 10px; */
  /* height: 10px; */
  /* right: 0; */
  /* top: 0; */
  width: 2.4rem;
  height: 2.4rem;
  background-image: url(/assets/img/circle-check.svg);
  background-position: center center;
  background-repeat: no-repeat;
}

/* 체크박스 클릭 시 기본 배경색 없애기 */
.policy-list > li > input[type='checkbox']:focus {
  outline: none;
  box-shadow: none;
}

/* 모달 스타일 */
.modal {
  display: none; /* 처음에는 보이지 않게 설정 */
  position: fixed; /* 페이지에 고정 */
  z-index: 20; /* 다른 내용 위에 표시 */
  left: 0;
  top: 0;
  width: 100%; /* 전체 너비 */
  /* min-height: 100vh;  */
  /* height: 100vh; */
  height: calc(var(--vh, 1vh) * 100);
  align-items: center; /* 세로 방향 중앙 정렬 */
  justify-content: center; /* 가로 방향 중앙 정렬 */
  background-color: rgb(0, 0, 0); /* 검은색 배경 */
  background-color: rgba(0, 0, 0, 0.4); /* 어두운 반투명 배경 */
}

.modal_below_title {
  height: 2rem;
}

/* 닫기 버튼 스타일 */
.close {
  /* color: #aaa; */
  color: white;
  float: right;
  font-size: 2.8rem;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* 모달 내용 스타일 */
.modal-content {
  background-color: #fff;
  /* padding: 0 4rem; */
  border: 1px solid #888;
  max-width: 38rem;
  border-radius: 2.5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* height: 540px; */
  height: 55rem;
  border-radius: 1rem;
}

.modal-content .block #title {
  /* margin: 4rem 0 2rem; */
  color: var(--color-black80);
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-align: center;
  border-bottom: 1px solid #e5e7f2;
  margin: 0;
  padding: 1.6rem 0;
}

.modal-content .block {
  position: relative;
  height: 100%;
}

.modal-content .block .bottom {
  position: absolute;
  /* margin-top: 0.5rem; */
  height: 7.2rem;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  padding: 1.6rem;
}

.modal-content .block .bottom > button {
  width: 100%;
  height: 4rem;
  border-radius: var(--border-radius-default);
  /* border: .5px solid #D9D9D9; */
  color: #fff;
  background-color: var(--color-primary);
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.modal-content .block .content {
  /* font-size : 16px; 
  color: #707070; 
  background-color: white;
  height: 38.4rem;
  overflow: auto; */

  font-size: 1.2rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.6rem;
  /* height: 30rem; */
  overflow: auto;
  height: calc(100% - 13.3rem);
  padding: 1.6rem;
}
.modal-content .block .content * {
  color: var(--color-black60);
  font-weight: 500;
}

.modal-content .block .content .title-block {
  display: flex;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  align-items: flex-end;
}

.modal-content .block .content .title-block > .title {
  font-size: 1.4rem;
  font-weight: 700;
}

.modal-content .block .content .title-block > .date {
  /* color: var(--Color-2, #D0D0D0); */
  font-size: 1.2rem;
  font-weight: 700;
}

.modal-content .block .content > .sub-title {
  line-height: 2rem;
  padding-top: 1.1rem;
}

.modal-content .block .content .sub-content {
  margin-top: 2rem;
}

.modal-content .block .content .sub-content .sub-content-list {
  display: flex;
  margin-bottom: 0.5rem;
}

.modal-content .block .content .sub-content .sub-content-list:last-child {
  margin-bottom: 0;
}

.modal-content .block .content .sub-content .sub-content-list > .text-bold {
  width: 32%;
  font-weight: 700;
}

.modal-content .block .content .sub-content .sub-content-list > .text-right {
  width: 68%;
}

/* 주문 내역 */
.my-order-body {
  /* height: 100%; */
}

.order_list_pc_and_tablet {
  display: none;
}

.order_block {
  margin-top: 2.5rem;
  /*height: calc(100% - 10.2rem);*/
}

.order_status_block {
  display: flex;
  flex-wrap: wrap;
  border-radius: 3px;
  border: 0.5px solid #8f9ad6;
  justify-content: center;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.order_status_item {
  flex: 1 1 50%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.order_status_item > div {
  width: 6.8rem;
  display: flex;
  align-items: center;
}

.order_status_item > div > span {
  color: #8f9ad6;
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  height: 1.8rem;
  display: flex;
  align-items: center;
}

.order_status_item > div > div {
  width: 2rem;
  display: flex;
  align-items: center;
}

.order_status_item svg {
  width: 1.6rem;
  height: 1.6rem;
  /* margin-right: 0.3rem; */
}

.date_filter {
  /* height: 20rem; */
  /* padding: 1.4rem; */
  /* margin-bottom: 2.5rem; */
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  /* border-radius: 1rem; */
  /* border: 0.5px solid #ebebeb; */
  gap: 1.4rem;
}

/* 버튼 기본 속성 없애기 */
.filter_button_default {
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}

.select_filter {
  width: 100%;
  margin: 0 auto 1rem;
  display: flex;
  justify-content: space-between;
  /* background-color: red; */
  gap: 0.3rem;
}

.range_filter {
  display: flex;
}

.range_filter .date-block {
  width: 100%;
  height: 4rem;
  /* margin: 0 auto; */
  position: relative;
  display: flex;
  border: 1px solid var(--confirm-info-box-outline);
  border-radius: var(--border-radius-default);
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0 var(--wrapper-default);
}

.range_filter .date-block .calendar-icon {
  pointer-events: none;
  cursor: pointer;
}

.range_filter .date-block #searchDate {
  text-align: center;
  word-spacing: 0.8rem;
}

/*.range_filter > .date-block > #startDate {*/
/*  width: 100%;*/
/*  height: 2.4rem; */
/*  padding: 0px 0.5rem; */
/*  color: #707070; */
/*  font-size: 1rem; */
/*  border-radius: 3px; */
/*  border: 1px solid #D0D0D0;*/
/*}*/

/*.range_filter > .date-block > #endDate {*/
/*  width: 100%;*/
/*  height: 2.4rem;  */
/*  padding: 0px 0.5rem; */
/*  color: #707070; */
/*  font-size: 1rem; */
/*  border-radius: 3px;*/
/*  border: 1px solid #D0D0D0;*/
/*}*/

.my_order_filter {
  text-align: center;
}

#order_filter_btn {
  width: 100%;
  height: 4rem;
  margin: 0 auto;
  border-radius: var(--border-radius-default);
  background-color: var(--color-primary);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
}

.order-list-inner {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 2.4rem;
}
.order-list-inner .info {
  display: flex;
  gap: 2.4rem;
  justify-content: space-between;
  font-size: 1.4rem;
  font-weight: 600;
}

.order-list-inner .info .order-item-detail {
  text-decoration: underline;

  text-underline-offset: 0.4rem;
}

.order-list-inner .content {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.order-list-inner .order-list-sample-img {
  /* margin-right: 5rem; */
  display: flex;
  width: 10rem;
  height: 10rem;
  justify-content: center;
  align-items: center;
  border-radius: var(--border-radius-default);
  background-color: var(--confirm-info-label-backgroundColor);
}

.order-list-inner .order-list-detail {
  /* margin: auto 0; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
}

.order-list-inner .order-list-detail p {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-black);
}

.order-list-inner .order-list-detail .order-list-detail-time {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-black60);
}

.order-list-inner .order-list-detail .order-list-detail-btn-container {
  display: flex;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.order-list-inner .order-list-detail .order-list-detail-btn-container .order-list-detail-btn {
  margin-right: 0.4rem;
}

.order-list-inner .order-list-detail .order-list-detail-btn-container .order-list-detail-btn-icon {
  margin: auto 0;
  line-height: 0;
}

.order-list-container .no-result {
  height: 18rem;
  justify-content: center;
  color: var(--color-primary);
  text-align: center;
  line-height: 1.5;
}

.list-show-btn-container {
  /* position: absolute; */
  width: 100%;
  /* height: 7.5rem; */
  /* bottom: 0; */
  /* background-color: #f6f6f6; */
}

.list-show-btn-container .list-show-btn {
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  color: #898989;
  cursor: pointer;
  width: 100%;
  flex-direction: column;
  gap: 1rem;
}

.list-show-btn-container .list-show-btn .list-show-btn-text {
  font-size: 1.6rem;
  font-weight: 600;
  margin-right: 0.4rem;
  color: var(--color-secondary);
}

.list-show-btn-container .list-show-btn .list-show-btn-icon {
  font-size: 3rem;
  line-height: 0;
}

/* 주문 내역 상세 */
.order-show-body {
  height: 90%;
}

.order-info .preview-img {
  /* margin-top: 2rem; */
  display: flex;
  justify-content: center;
}

.order-info .preview-img img {
  /* margin: 2rem 0 5rem; */
}

.order-info .mobile {
  display: none;
}

.order-info .tablet {
  display: flex;
}

#confirmButton {
  /* width: 18rem; */
  /* height: 4.4rem; */
  /* margin: 0 auto; */
  /* border: 1px solid #d9d9d9; */
  /* border-radius: 10px; */
  /* font-size: 1.5rem; */
  /* font-style: normal; */
  /* font-weight: 700; */
  /* line-height: normal; */
  /* background-color: #fff; */
  /* color: #898989; */
  width: 100%;
}

.order-show {
  margin-top: 5rem;
}

.order-show .title {
  margin-bottom: 1.4rem;
  color: #3e3e3e;
  font-size: 1.7rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.order-process {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 3rem;
}
.order-nav {
  /* margin: 2rem 0; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.order-nav .order-separator {
  color: #d0d0d0;
  font-size: 3.2rem;
}

.order-nav .order-label,
.order-nav .order-status {
  color: var(--Color-2, #898989);
  /* background-color: #f2f4f9; */
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #f2f4f9;
  z-index: 2;
}
.order-nav .order-label {
  height: unset;
  background-color: unset !important;
  border-radius: unset;
  font-size: 1.4rem;
  font-weight: 600;
  color: #e5e7f2;
}

.order-nav .active {
  /* background-color: var(--color-primary); */
  color: #fff;
}
.order-nav .order-label.active {
  color: var(--color-primary);
}

.content .order-location {
  /* height: 26rem; */
  display: flex;
  gap: 1.4rem;
  flex-direction: column;
}

.content .order-location #map {
  /* height: 80%; */
  height: 15rem;
}

.order-location .order-location-info {
  font-size: 1.4rem;
  font-weight: 600;
}

.order-location .order-location-info .pickup-date {
  /* margin-top: 1.3rem; */
  color: var(--color-secondary);
  /* font-style: normal; */
  /* font-weight: 700; */
}

.order-location .order-location-info .pickup-location {
  margin-top: 0.9rem;
  color: var(--color-black80);
}

.order-show .order-info ul {
  /* margin-bottom: 1rem; */
  /* display: flex; */
  /* color: var(--Color-2, #6d6d6d); */
  /* font-size: 1.1rem; */
}

.order-show .order-info ul li {
  /* font-family: 'KoPub Dotum'; */
  /* font-size: 1.4rem; */
}

.order-show .order-info ul li:nth-child(1) {
  /* width: 20%; */
  /* color: var(--Color-2, #acacac); */
  /* font-weight: 500; */
}

.order-show .order-info ul li:nth-child(2) {
  /* width: 80%; */
  /* color: var(--Color-2, #898989); */
  /* font-weight: 700; */
}

.page-container {
  height: 5rem;
}

.page-inner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  font-size: 1.8rem;
  font-weight: 500;
  color: #898989;
}

.pagination {
  display: flex;
}

.pagination .active {
  font-weight: 700;
}

.pagination > li {
  margin: 0 1.1rem;
}

/* 주문 완료 */
.content .order-done-title {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: unset;
}

.content .order-done-title span:first-child {
  margin-bottom: 1rem;
}

.content .order-done-description {
  margin-top: 0.6rem;
  color: #acacac;
  font-style: normal;
  font-weight: 500;
  /* line-height: 1.6; */
  font-size: 1.4rem;
  margin-top: 1rem;
}

.content .order-done-content {
  display: flex;
  flex-direction: column;
  /* margin-top: 4rem; */
}

.content .order-done-content .inner-title {
  color: #3e3e3e;
  font-size: 1.7rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 1.2rem;
}

.content .order-done-content .inner-content {
  color: var(--Color-2, #6d6d6d);
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.content .order-done-content .order-done-time {
  display: flex;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.content .order-done-content .time-inner {
  flex: 1;
}

button {
  border-radius: var(--border-radius-default);
  border: unset;
}
.page-sub-btn {
  display: flex;
  height: 4rem;
  justify-content: center;
  background-color: rgb(128 149 236 / 13%);
  /* background-color: unset; */
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  width: 100%;
  border: 1px solid var(--color-secondary);
  border-radius: var(--border-radius-default);
}
.page-sub-btn [class^='icon'] {
  display: block;
  width: 2rem;
  height: 2rem;
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
}

.page-sub-btn .icon-location {
  background-image: url('/assets/img/map-pin.svg');
}
.page-sub-btn .icon-tel {
  background-image: url('/assets/img/icon-tel.svg');
}

.page-sub-btn .text {
  color: var(--color-secondary);
  font-size: 1.2rem;
}

.content .map-container {
  height: 30rem;
}

/* Ensure the bottom-most confirm-info (lettering guide) has safe spacing
   so content isn't visually obscured by the fixed footer. The z-index
   on the wrapping confirm element is increased above the footer's
   pseudo-element; margin-bottom provides a non-overlapping fallback. */
.confirm-info.order-done-content.wrapper {
  padding-bottom: 1rem;
  /* keep it in the normal stacking context of the sticky parent */
  position: relative;
}

.content #map {
  height: 100%;
  border-radius: 1rem;
}

/* 에러 페이지 */
.error-body {
  margin-top: 15rem;
  text-align: center;
}

.error-body .error-content {
  margin-top: 10rem;
}

.error-body .material-symbols-outlined.error-icon {
  font-size: 20rem;
}

.error-body h2 {
  /* font-family: 'KoPub Dotum'; */
  font-size: 2.6rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.error-body .error-description {
  margin-top: 2rem;
  color: #acacac;
  font-size: 1.8rem;
  word-break: break-word;
  line-height: 1.6;
}

/* ========================================================================
/
/
/   MEDIA QUERIES / 미디어 쿼리
/
/
======================================================================== */

@media (max-width: 640px) {
  .body {
    /* height: 84%; */
    height: calc(100% - 14%);
    padding-bottom: 12rem;
  }

  .body > .header,
  .body > form {
    /* margin: 0 1.8rem; */
  }

  .logo_box {
    /* height: 5.5rem; */
    /* margin-left: 3.5rem; */
  }

  .logo_box img {
    /* height: 1.3rem; */
  }

  .logo_box_color {
    margin-left: 0;
  }

  .logo_box_color > a > img {
    height: 1.3rem;
  }

  .main-section .inner {
    margin-top: 0;
  }

  .main-section .inner h1 {
    font-size: 3.2rem;
    line-height: 1.2;
  }

  .main-section .inner div button {
    width: 14.9rem;
    height: 5rem;
    font-size: 1.8rem;
    width: 24rem;
  }

  .main-section .cake-img-section {
    height: 25rem;
  }

  .main-section .middle {
    font-size: 1.8rem;
  }

  .main-section .middle #order-my-btn {
    margin-top: 3rem;
    margin-bottom: 1rem;
  }

  .order-process-inner .title_block {
    padding-top: 2.4rem;
  }

  .content h2 {
    font-size: 2.4rem;
  }

  .date-input {
    /* font-size: 1.6rem; */
  }

  .content-foot {
    /* width: calc(100% - 3.2rem); */
  }

  .design_type {
    height: 13rem;
  }

  .design_type_img > img {
    width: 8.8rem;
  }

  .preview .sampleColor {
    width: calc(100% + 2.4rem);
    height: calc(100% + 2.4rem);
  }

  .info-description {
    font-size: 1.4rem;
    margin-top: 1.6rem;
  }

  .split-line {
    margin: 3rem 0;
    /* width: 100%; */
    /* display: block; */
  }

  .confirm-info .label {
    font-size: 1.6rem;
  }

  .confirm-info li {
    font-size: 1.4rem;
  }

  .confirm-info li:nth-child(1) {
    width: 26%;
  }

  .confirm-info li:nth-child(2) {
    width: 74%;
  }

  .orderInfo-wrap {
    /* margin-top: 4.4rem; */
  }

  .orderInfo-wrap > .label {
    font-size: 1.6rem;
  }

  .form-wrap {
    height: 5.5rem;
  }

  .info-input {
    height: 5rem;
    font-size: 1.6rem;
  }

  .underline-wrap {
    /* height: 4rem; */
  }

  .veri-button {
    font-size: 1.4rem;
  }

  .veri-time {
    font-size: 1.6rem;
  }

  .modal-content {
    height: 45rem;
    /* padding: 0 2rem; */
    margin: 0 1rem;
  }

  .page-policy-box {
    margin-top: 2.5rem;
  }

  .policy-block {
    /*margin-bottom: 1.5rem;*/
    /* padding: 1rem 1rem; */
  }

  .policy-block .label {
    font-size: 1.4rem;
  }

  .policy-list > li {
    font-size: 1.4rem;
  }

  .policy-list > li > input[type='checkbox'] {
    /* width: 1.4rem; */
    /* height: 1.4rem; */
  }

  .content .order-done-description {
    font-size: 1.4rem;
    /* margin-top: 0.6rem; */
  }

  .content .order-done-content {
    /* margin-top: 3rem; */
  }

  .content .order-done-content .inner-title {
    font-size: 1.5rem;
  }

  .content .order-done-content .inner-content {
    font-size: 1.2rem;
  }

  .content .order-done-content .map-container {
    height: 17rem;
  }

  .error-body {
    margin-top: 10rem;
  }

  .error-body .material-symbols-outlined.error-icon {
    font-size: 15rem;
  }

  .error-body h2 {
    font-size: 2rem;
  }

  .error-body .error-description {
    font-size: 1.2rem;
  }

  .order_block {
    margin-top: 2rem;
  }

  .date_filter {
    /* height: 16rem; */
    /* padding: 1.2rem; */
  }

  .select_filter {
    margin: 0 auto;
  }

  .range_filter .date-block {
    /* width: 95%; */
  }

  .range_filter .date-block .calendar-icon {
    left: 2rem;
    font-size: 2.2rem;
  }

  .range_filter .date-block #searchDate {
    word-spacing: unset;
  }

  #order_filter_btn {
    width: 100%;
    /* height: 4rem; */
    /* font-size: 1.3rem; */
  }

  .order-list-container .no-result {
    font-size: 2rem;
  }

  /* 주문 내역 */
  .my-order-body {
    /* height: 100%; */
    padding-bottom: 10rem;
  }

  .order-list-inner {
    justify-content: space-between;
  }

  .order-list-inner .order-list-detail p {
    /* font-size: 14px; */
  }

  .order-list-inner .order-list-detail .order-list-detail-btn-container {
    font-size: 14px;
  }

  .order-list-inner
    .order-list-detail
    .order-list-detail-btn-container
    .order-list-detail-btn-icon {
    font-size: 16px;
  }

  .list-show-btn-container {
    /* height: 10.1rem; */
  }

  .list-show-btn-container .list-show-btn {
    /* height: 4.5rem; */
  }

  .list-show-btn-container .list-show-btn .list-show-btn-text {
  }

  .list-show-btn-container .list-show-btn .list-show-btn-icon {
    font-size: 28px;
  }

  /* 주문 상세내역 */
  .order-show {
    margin-top: 3rem;
  }

  .order-show .title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }

  .order-nav {
    /* margin: 4rem 0; */
    position: relative;
  }

  .order-nav .order-status {
    /* width: 5.5rem; */
    /* height: 5.5rem; */
    /* font-size: 1rem; */
    z-index: 2;
  }

  .order-nav .order-separator {
    font-size: 20px;
  }

  .content .order-location {
    /* height: 22rem; */
  }

  .order-location .order-location-info {
    /* font-size: 1.1rem; */
  }

  .order-show .order-info ul li {
    /* font-size: 1.2rem; */
  }

  .order-show .order-info ul li:nth-child(1) {
    /* width: 26%; */
  }

  .order-show .order-info ul li:nth-child(2) {
    /* width: 74%; */
  }

  .order-info .preview-img img {
    margin: 1.5rem 0;
  }

  .template-select {
    width: calc((100% - 1rem * 2) / 3);
  }

  .preview {
    height: 100%;
    min-width: 150px;
    min-height: 150px;
    margin: unset;
  }

  .wrapper {
    padding: 0 2rem;
  }
}

/* 가로 길이 720px 이상 1024px 이하일 때의 스타일 */
@media screen and (min-width: 720px) /*and (max-width: 1023px) */ {
  html {
    font-size: 82.5%;
  }

  body {
    /* font-size: 0.9375rem; */
    font-size: 75%;
  }

  .body > .header,
  .body > form {
    /* margin: 0 3.5rem; */
  }

  .main-section .inner {
    margin-top: 3rem;
  }

  .main-section .inner h1 {
    line-height: 1.3;
  }

  .sidebar {
    width: 300px; /* 계산된 너비 값 */
    height: 100%;
    background-color: #f7f7f7;
    z-index: 1000;
    position: fixed;
    right: -300px;
    .success-page .content-body {
      padding-bottom: calc(var(--footer-height, 8rem) + 1.5rem);
    }
  }

  .main-section .cake-img-section {
    /* margin-top: 3vh; */
    margin-top: 1rem;
  }

  .logo_box_color {
    margin-left: 0;
    /*max-width: 50rem;*/
  }

  .content-body {
    /* height: 65vh; */
  }

  /* 픽업 날짜 캘린더 */
  .container .daterangepicker.picker-date .drp-calendar.left {
    max-width: 100%;
    width: 40rem;
    height: 40rem;
    padding: 3rem;
  }

  .container .daterangepicker.picker-date .drp-calendar.left .calendar-table {
    height: 100%;
    margin-left: calc(-4px);
  }

  .container .daterangepicker.picker-date .drp-calendar.left .calendar-table table {
    height: 100%;
  }

  .container .daterangepicker.picker-date .drp-calendar.left .calendar-table th {
    line-height: 36px;
  }

  .container .daterangepicker.picker-date .drp-calendar.left .calendar-table th,
  .container .daterangepicker.picker-date .drp-calendar.left .calendar-table td {
    font-size: 20px;
  }

  /* 주문 */
  .order-process-inner {
    /*max-width: 50rem;*/
  }

  /* Ensure pages like the order-success page have enough bottom space
     so the fixed footer's button does not visually cover content. */
  .order-process-inner {
    padding-bottom: 12rem;
  }

  .veri-message {
    margin-bottom: 0rem;
  }

  .content-foot {
    /* width: calc(100% - 7rem); */
  }

  .button_group {
    /*max-width: 50rem;*/
    padding: 0 0 1.8rem 0;
  }

  .modal-content {
    max-width: 48rem;
  }

  /* 주문 내역 */
  .order_list_pc_and_tablet {
    display: none;
  }

  .range_filter > .date-block > #startDate {
    width: 10rem;
  }

  .range_filter > .date-block > #endDate {
    width: 10rem;
  }

  .range_filter > .my_order_filter > #order_filter_btn {
    width: 8rem;
    height: 2.4rem;
    border-radius: 21px;
  }

  .split-line {
    margin: 2rem 0 2rem -3.5rem;
    width: calc(100% + 7rem);
  }

  .container .daterangepicker.order-list-picker-date .left,
  .container .daterangepicker.order-list-picker-date .right {
    width: 30rem;
    height: 20rem;
  }

  .container .daterangepicker.order-list-picker-date .left .calendar-table,
  .container .daterangepicker.order-list-picker-date .right .calendar-table {
    height: 100%;
  }

  .container .daterangepicker.order-list-picker-date .left .calendar-table table,
  .container .daterangepicker.order-list-picker-date .right .calendar-table table {
    height: 100%;
  }

  .container .daterangepicker.order-list-picker-date .left .calendar-table th,
  .container .daterangepicker.order-list-picker-date .left .calendar-table td,
  .container .daterangepicker.order-list-picker-date .right .calendar-table th,
  .container .daterangepicker.order-list-picker-date .right .calendar-table td {
    font-size: 14px;
  }
  .main-section #order-my-btn {
    margin-bottom: 3rem;
  }
  .logo_box > a > img {
    height: 2rem;
  }
  .main-section .inner div button {
    width: 20rem;
    height: 7rem;
    margin-top: 3.6rem;
    width: 40rem;
  }
  #index-page.body-wrap {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
  }
  .error-body .material-symbols-outlined.error-icon {
    font-size: 5rem;
  }
  header.main-header .logo img {
    /* width: 17rem; */
    height: 2rem;
  }
  header.main-header .home-btn > img {
    height: 2.8rem;
  }
  .button_group > button {
    height: var(--btn-height-default-min-width-720px);
    font-size: 2rem;
  }
  .order-date .date-input {
    height: var(--btn-height-default-min-width-720px);
    font-size: 1.8rem;
  }
  .order-process-content [class^='select-type-'] > [class^='select_'] {
    height: var(--btn-height-default-min-width-720px);
  }
  .design_type_text {
    height: 11rem;
  }
  header.main-header .inner {
    height: 7rem;
  }
  .custom-case-sheet-option .cake-case-size li[class*='-btn'] {
    height: var(--btn-height-default-min-width-720px);
  }
  header.logo_box {
    height: var(--btn-height-default-min-width-720px);
  }
  header.main-header {
    background-position-y: -47rem;
  }
  section.page-title-box .order-step-box .step-title {
    font-size: 2rem;
  }
  section.page-title-box .order-step-box ul.step-indicator > li.active {
    width: 2.5rem;

    height: 2.5rem;

    font-size: 1.5rem;
  }
  section.page-title-box .order-step-box ul.step-indicator > li {
    width: 1.1rem;
    height: 1.1rem;
  }
  .custom-case-sheet-option .cake-sheet-btn .thumbnail {
    width: 11rem;
    height: 11rem;
  }
  .custom-case-sheet-option li[class*='-btn'] {
    gap: 1rem;
  }
  section.page-title-box .order-step-box ul.step-indicator {
    gap: 0.65rem;
  }
  .content-body .select-title {
    /* font-size: 2rem; */
  }
  .order-process-inner .content_block.page-date > section {
    gap: 1.5rem;
  }
  .order-process-inner .content_block {
    gap: 3.5rem;
  }
  .success-icon > section {
    width: 8rem;
    height: 8rem;
  }
  .content h2 {
    font-size: 3rem;
  }
  .content .order-done-description {
    font-size: 1.8rem;
    margin-top: 1.6rem;
  }
}

@media screen and (max-height: 660px) {
  .content-body-not-fixed {
    height: 60vh;
  }
}

@media screen and (max-height: 620px) {
  .content-body-not-fixed {
    height: 65vh;
  }
}

@media screen and (max-height: 580px) {
  .content-body-not-fixed {
    height: 70vh;
  }
}

@media screen and (max-height: 530px) {
  .content-body-not-fixed {
    height: 75vh;
  }
}

@media screen and (max-height: 495px) {
  .content-body-not-fixed {
    height: 80vh;
  }
}

@media screen and (max-height: 460px) {
  .content-body-not-fixed {
    height: 100vh;
  }
}

/*성남 푸드 페스타 전용*/
/* .success > form > .content-body {
  justify-content: center;
}
section.page-title-box .order-step-box {
  visibility: hidden;
  padding: 0.8rem 0;
} */

/*성남 푸드 페스타 전용*/
