@import url("https://fonts.googleapis.com/css2?family=Birthstone+Bounce:wght@400;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Ibarra+Real+Nova:ital,wght@0,400..700;1,400..700&display=swap");


@font-face {
  font-family: "Pre-L";
  src: url("../font/editor-font-family/Pretendard-Light.woff2") format("woff2"),
    url("../font/editor-font-family/Pretendard-Light.woff") format("woff");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: "Pre-B";
  src: url("../font/editor-font-family/Pretendard-Bold.woff2") format("woff2"),
    url("../font/editor-font-family/Pretendard-Bold.woff") format("woff");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: "Pre-M";
  src: url("../font/editor-font-family/Pretendard-Medium.woff2") format("woff2"),
    url("../font/editor-font-family/Pretendard-Medium.woff") format("woff");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: "Pre-L";
  src: url("../font/editor-font-family/Pretendard-Light.woff2") format("woff2"),
    url("../font/editor-font-family/Pretendard-Light.woff") format("woff");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: "Pre-R";
  src: url("../font/editor-font-family/Pretendard-Regular.woff2") format("woff2"),
    url("../font/editor-font-family/Pretendard-Regular.woff") format("woff");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: "Pre-B";
  src: url("../font/editor-font-family/Pretendard-Bold.woff2") format("woff2"),
    url("../font/editor-font-family/Pretendard-Bold.woff") format("woff");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: "JejuMyeongjo";
  font-weight: normal;
  font-style: normal;
  src: url("../font/editor-font-family/JejuMyeongjo.eot");
  src: url("../font/editor-font-family/JejuMyeongjo.eot?#iefix") format("embedded-opentype"),
    url("../font/editor-font-family/JejuMyeongjo.woff2") format("woff2"),
    url("../font/editor-font-family/JejuMyeongjo.woff") format("woff"),
    url("../font/editor-font-family/JejuMyeongjo.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "ChosunNm";
  font-weight: normal;
  font-style: normal;
  src: url("../font/editor-font-family/ChosunNm.woff2") format("woff2"),
    url("../font/editor-font-family/ChosunNm.woff") format("woff"),
    url("../font/editor-font-family/ChosunNm.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "WONBatang";
  src: url("../font/editor-font-family/WONBatang.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Cafe24Simplehae";
  src: url("../font/editor-font-family/Cafe24Simplehae.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "KOTRA_GOTHIC";
  src: url("../font/editor-font-family/KOTRA_GOTHIC.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "SCDream";
  font-weight: normal;
  src: url("../font/editor-font-family/SCDream.woff") format("woff");
  font-style: normal;
}
@font-face {
  font-family: "SUITE Variable";
  font-weight: 300 900;
  src: url("../font/editor-font-family/SUITE-Variable.woff2") format("woff2-variations");
  letter-spacing: 0.05rem;
}
@font-face {
  font-family: "GreatVibes";
  src: url("../font/editor-font-family/GreatVibes-Regular.woff") format("woff2");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "DancingScript";
  src: url("../font/editor-font-family/DancingScript-VariableFont_wght.TTF") format("truetype");
  font-weight: normal;
  font-style: normal;
}
/* 테마 폰트 링크 추가 24.09.01 */
/* 카페24고운밤 */
@font-face {
  font-family: "Cafe24Oneprettynight";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_twelve@1.1/Cafe24Oneprettynight.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
/* 고운바탕 */
@font-face {
  font-family: "GowunBatang-Regular";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/GowunBatang-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/* 마루부리 */
@font-face {
  font-family: "MaruBuri";
  src: url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-Regular.eot);
  src: url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-Regular.eot?#iefix)
      format("embedded-opentype"),
    url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-Regular.woff2) format("woff2"),
    url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-Regular.woff) format("woff"),
    url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-Regular.ttf) format("truetype");
}
/* 마루부리 세미볼드 */
@font-face {
  font-family: "MaruBuriSemiBold";
  src: url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-SemiBold.eot);
  src: url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-SemiBold.eot?#iefix)
      format("embedded-opentype"),
    url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-SemiBold.woff2) format("woff2"),
    url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-SemiBold.woff) format("woff"),
    url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-SemiBold.ttf) format("truetype");
}
/* 강원교육모두 */
@font-face {
  font-family: "GangwonEdu_OTFBoldA";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/GangwonEdu_OTFBoldA.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
/* Libre Baskerville */
@font-face {
  font-family: "Baskerville";
  src: url("/assets/tool/font/editor-font-family/LibreBaskerville-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Baskerville";
  src: url("/assets/tool/font/editor-font-family/LibreBaskerville-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}
/* 20241109 폰트 추가 */
@font-face {
  font-family: "KCC-Sonkeechung";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2212@1.0/KCC-Sonkeechung.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "NanumBarunpen";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_two@1.0/NanumBarunpen.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "AlibabaSansKR";
  font-weight: normal;
  font-style: normal;
  src: url("../font/editor-font-family/AlibabaSansKR-Regular.otf");
  src: url("../font/editor-font-family/AlibabaSansKR-Regular.ttf") format("truetype");
  font-display: swap;
}
:root {
  --base-font-size: 16px;
  --font-size-14: 0.875rem;
  --font-size-15: 0.9375rem;
  --font-size-16: 1rem;
  --font-size-17: 1.0625rem;
  --font-size-tit: 18px;
  --font-family-Pre-L: "Pre-L", sans-serif;
  --font-family-Pre-B: "Pre-B", sans-serif;
  --font-family-Pre-M: "Pre-M", sans-serif;
  --font-family-JejuMyeongjo: "JejuMyeongjo", sans-serif;
  --font-family-ChosunNm: "ChosunNm", sans-serif;
  --font-family-WONBatang: "WONBatang", sans-serif;
  --font-family-Cafe24Simplehae: "Cafe24Simplehae", sans-serif;
  --font-family-KOTRA_GOTHIC: "KOTRA_GOTHIC", sans-serif;
  --font-family-SCDream: "SCDream", sans-serif;
  --font-family-SUITE-Variable: "SUITE Variable", sans-serif;
  --font-family-GreatVibes: "GreatVibes", sans-serif;
  --font-family-DancingScript: "DancingScript", sans-serif;
  --primary-color: #ffc708;
  --secondary-color: #ffac8e;
  --muted-color: #909090;
  --separator-color: #d7d7d7;
  --separator-color-light: #f3f3f3;
  --background-color: #f8f8f8;
  --foreground-color: white;
  --input-background: white;
  --dark-btn-background: #131113;
  --light-btn-background: #ececec;
  --button-text-color: #fff;
  --gradient-color-1: #e0bf5c;
  --gradient-color-2: #c7a951;
  --gradient-color-3: #d3b455;
  --lp-bg-color-1: #74622d;
  --lp-bg-color-2: #9c8339;
  --lp-bg-color-3: #dab74f;
  --lp-bg-color-4: #e6c154;
  --logo-path: ../logos/black.svg;
  --logo-path-mobile: ../logos/mobile.svg;
  --lp-logo-path-pinned: ../logos/black.svg;
  --lp-logo-path: ../logos/white-full.svg;
  /* theme color */
  --theme1-coral-color1: #fff9f9;
  --theme1-coral-color2: #ff8f7c;
  --theme1-coral-color3: #721c0e;
  --theme2-green-color: #f6f9f3;
  --theme2-green-color2: #76a534;
  --theme2-green-color3: #5d7f28;
  --theme2-green-color4: #34540b;
  --theme2-green-color4: #34540b;
  --theme3-beige-color1: #d4c2a8;
  --theme3-beige-color2: #b8814b;
  --theme3-beige-color3: #a96929;
  --theme4-gray-color1: #efeeec;
  --theme4-gray-color2: #d9d9d9;
  --theme4-gray-color3: #555555;
  --theme5-purple-color1: #fef9fa;
  --theme5-purple-color2: #e087a0;
  --theme5-purple-color3: #563650;
  --theme6-pink-color1: #fff8f5;
  --theme11-gray-color1: #efeeec;
  --theme11-gray-color2: #d9d9d9;
  --theme11-gray-color3: #555555;
}

.layer_pop {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.68);
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  bottom: 0;
}

.layer_pop .layer_inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  color: #fff;
}

.layer_pop .layer_inner p:first-of-type {
  margin-bottom: 20px;
  font-size: 18px;
}

.layer_pop .layer_inner p {
  color: #fff;
  line-height: 23px;
  font-family: "Pre-L";
  text-align: center;
}

button.layer_btn {
  height: 40px;
  width: 40px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.4);
  border-top-color: #fff;
  -webkit-animation: spinner2 600ms linear infinite;
  animation: spinner2 600ms linear infinite;
  display: block;
  margin: 50px auto;
}

.modal-header {
  display: flex;
  align-items: center;
}
.modal-header button.close {
  padding: 0 0.5rem;
  margin: -0.25rem 0 -0.25rem auto;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

[class*="groom"] .xi-heart {
  color: #c3d1e9;
  margin-right: 5px;
}

[class*="bride"] .xi-heart {
  color: #ffd6ec;
  margin-right: 5px;
}

@-webkit-keyframes spinner2 {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinner2 {
  to {
    transform: rotate(360deg);
  }
}

/* ====== 혜인 1025 ====== */
@media (hover: hover) {
  .selPreview div:hover {
    cursor: pointer;
  }
  .selPreview div:hover .markcircle {
    border: 1px solid #ffc708;
  }
  .selPreview div:hover p {
    color: #3a3a3a;
  }
}
.selPreview {
  padding: 0;
  width: 23rem;
  text-align: center;
  margin: 0 auto 0.7rem;
}
.selPreview div {
  display: inline-block;
  width: 32%;
  height: 30px;
  border: 1px solid #e8e8e8;
  border-radius: 15px;
  box-sizing: border-box;
  background-color: #fff;
  margin-right: 4px;
}
.selPreview div:last-child {
  margin-right: 0;
}
.selPreview div .markcircle {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 1px solid #e8e8e8;
  box-sizing: border-box;
  margin-top: 6px;
  margin-right: 2px;
  transition: 0.5s;
}
.selPreview div p {
  display: inline-block;
  color: #777;
  font-weight: 500;
  line-height: 1;
  margin: 0;
  vertical-align: top;
  margin-top: 8px;
}
.selPreview div.on {
  border: 1px solid #ffc708;
  color: #3a3a3a;
}
.selPreview div.on .markcircle {
  background-color: #ffc708;
  border: none;
}
.selPreview div.on p {
  color: #3a3a3a;
}
@media screen and (max-width: 767px) {
  .selPreview {
    display: inline-block;
    width: 300px;
    margin-left: calc(50% - 180px);
  }
  .selPreview div {
    width: 30%;
  }
}

/* AI 작성 버튼 */
.btn-ai-write {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-ai-write:hover {
  opacity: 0.85;
  color: #fff;
}
.btn-ai-write:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
#ai_msg_result {
  background: #f8f7ff;
  border: 1px solid #d4d0f0;
  font-size: 14px;
  line-height: 1.6;
}
#aiMessageModal .modal-header {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
}
#aiMessageModal .modal-header .close {
  color: #fff;
  opacity: 0.8;
}

/* 좌측 미리보기 영역 - 브라우저 하단까지 확장 */
.invitation-preview {
  height: calc(100vh - 120px) !important;
  overflow-y: auto;
}
#invitation-preview .card-invitation-preview {
  max-height: calc(100vh - 180px);
}

/*invitation theme*/
#invite_container {
  height: 100%;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.card-invitation-preview {
  font-family: var(--font-family-Pre-medium);
  font-size: var(--font-size-15);
  line-height: 1.25;
  text-align: center;
}
.card-invitation-preview * {
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.dashboard_theme * {
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.card-invitation-preview input::-ms-clear {
  display: none;
}
.card-invitation-preview [class*="simple-ico"] {
  font-family: "simple-line-icons";
}
.card-invitation-preview .preview-wrap {
  /* padding: 1.8rem 0; */
}
.card-invitation-preview .preview-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 30px;
}
.card-invitation-preview .preview-title h2 {
  /* font-size: inherit; */
  font-weight: inherit;
  margin-bottom: 0;
}
/* .card-invitation-preview .preview-title::before {
  content: "";
  display: block;
  width: 46px;
  height: 26px;
  margin: 0 auto 5px;
  background: url("../img/icons/title-acc.svg") center no-repeat;
  background-size: contain;
} */
/* .card-invitation-preview .cropper-preview {
  width: 100%;
  aspect-ratio: 3/4;
}
.card-invitation-preview .cropper-preview img {
  width: 100%;
  max-width: 100%;
  max-height: 580px;
  object-fit: cover;
} */

/* ===== 메인사진 이미지비율 / 혜인 0722 ===== */
.preview-theme-main .cropper-preview {
  width: 100%;
  aspect-ratio: 3/4;
}
.preview-theme-main .cropper-preview img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 580px;
  object-fit: cover;
  object-position: center;
}

/* ===== 약도이미지비율 / 혜인 0722 ===== */
.mapCon .cropper-preview {
  width: 100%;
}
.mapCon .cropper-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/*invitation theme main common*/
.theme-main-wrap {
  position: relative;
  overflow: hidden;
}

.theme-wrap {
  text-align: center;
}
.theme-wrap .theme-main {
  position: relative;
}
.theme-wrap .main-txt-wrap {
  box-sizing: border-box;
  padding: 0 20px;
}
.theme-wrap .main-acc-txt {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--secondary-color);
}

.theme-wrap .p_name_1,
.theme-wrap .p_name_2 {
  display: inline-block;
  font-size: 1em;
  font-weight: 500;
  flex: none;
  max-width: 40%;
}

.theme-wrap .p_dot {
  display: inline-block;
  margin: -1px 0.5rem 0;
  width: 2px;
  height: 2px;
  border-radius: 2px;
  background-color: #cccccc;
  vertical-align: middle;
}
.theme-wrap .p_connect {
  font-size: 0.875rem;
}

.main-date-txt {
  margin-bottom: 1rem;
  font-size: 1.2em;
  font-weight: 500;
}
.main-date-txt span {
  display: inline-block;
}
.main-date-txt .weddding_date {
  margin-right: 0.25rem;
}

.weddding-hall-name,
.weddding-hall {
  font-size: 1em;
  font-weight: 500;
}

.weddding-hall-name {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* 예식장 안내: 상세주소(address_2)를 기본주소(address_1) 아래 새 줄로 표시
 * (값이 비어 있으면 내용이 없어 빈 줄도 생기지 않음) */
.weddding-hall [data-name="address_2"] {
  display: block;
}

/*invitation theme 1*/
.theme-1-wrap .main-wedding-txt {
  font-size: 1.25rem;
}

/*invitation theme 2*/
/*invitation theme 3*/
/*invitation theme 4*/
/*invitation theme 5*/
/*invitation theme 6*/
/*invitation preview etc common*/
.preview-message-wrap p {
  margin-bottom: 0;
  line-height: 1.75;
  white-space: pre-line;
  font-size: 15px;
}

/*kakaotalk share*/
.preview-kakaotalk-share {
  margin-top: 5px;
  border: 1px solid #e9ecef;
  border-radius: 0.25rem;
  overflow: hidden;
}

.preview-kakaotalk-img .cropper-preview img {
  width: 100%;
  max-width: 100%;
  max-height: 580px;
  aspect-ratio: 2/1;
}

.preview-kakaotalk-txt {
  padding: 1rem 1.5rem;
  background-color: #ffffff;
  border-radius: 0 0 0.25rem 0.25rem;
}
.preview-kakaotalk-txt .preview-title {
  margin-bottom: 30px;
}
.preview-kakaotalk-txt .kakaotalk-title {
  margin-bottom: 0.5rem;
  font-size: 0.825rem;
  font-weight: 500;
}
.preview-kakaotalk-txt .share-url {
  margin-bottom: 0;
  font-size: 0.8rem;
  color: #cccccc;
}

/*invitation txt*/
.preview-invitation-wrap {
  padding-top: 1rem;
  padding: 40px 16%;
  font-size: 0.9375rem;
}
.preview-invitation-wrap .preview-invitation-title {
  display: inline-block;
  width: 100%;
  margin-bottom: 0;
  font-size: 1.05em;
  font-weight: 600;
}
/* .preview-invitation-wrap .preview-invitation-title::before {
  content: "";
  display: block;
  width: 30px;
  height: 36px;
  margin: 0 auto 5px;
  background: url("../img/cards/theme/title_acc/leaf.svg") center no-repeat;
  background-size: contain;
} */
.preview-invitation-wrap .preview-invitation-title h2 {
  margin-bottom: 0;
}
.preview-invitation-wrap .preview-invitation-message {
  position: relative;
  margin: 1rem 16%;
  padding: 1.5rem 1.75rem;
  border-radius: 2px;
  background-color: #fff9e6;
}
.preview-invitation-wrap .preview-invitation-message p {
  margin-bottom: 0;
  font-weight: 500;
  white-space: pre-line;
}
/* .preview-invitation-wrap .preview-invitation-message::before {
  content: "";
  position: absolute;
  bottom: 25px;
  left: 90%;
  transform: translateX(-50%);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: rgba(255, 199, 8, 0.8);
}
.preview-invitation-wrap .preview-invitation-message::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 100%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 172, 142, 0.5);
} */
.preview-invitation-wrap .preview-invitation-img {
  margin: 0 1.2rem 2rem;
  border-radius: 2px;
}
.preview-invitation-wrap .preview-invitation-cellphome {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.preview-invitation-wrap .preview-invitation-cellphome > p {
  display: flex;
  align-items: center;
  justify-content: center;
}
.preview-invitation-wrap .preview-invitation-cellphome > p span {
  flex: 0 0 auto;
  display: block;
  font-size: 1em;
}
.preview-invitation-wrap .preview-invitation-cellphome > p .rel_text {
  font-size: 0.85em;
  text-align: right;
}
.preview-invitation-wrap .preview-invitation-cellphome > p .cellphone-dot::before {
  content: "";
  display: block;
  width: 1px;
  height: 1px;
  background-color: #000;
  border-radius: 2px;
  margin: 0 0.1rem 0 0.25rem;
}
.preview-invitation-wrap .btn-contactme {
  /* margin: 1rem 1rem 0; */
  width: 100%;
  max-width: 300px;
  padding: 0.65rem 1.25rem;
}

.contactItem {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #e9ecef;
}
.contactItem > div {
  min-height: 36px;
  line-height: 36px;
}
.contactItem .call_tit {
  padding: 0 0.75rem 0 0;
  min-width: 90px;
  text-align: right;
  flex: 0 0 auto;
}
.contactItem .call_name {
  flex: 0 0 auto;
  width: calc(100% - 235px);
  text-align: center;
}
.contactItem .call_icon {
  flex: 0 0 auto;
  width: 105px;
  display: flex;
  align-items: center;
  padding-left: 1rem;
}
.contactItem .call_icon > a {
  margin: 0 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ffac8e;
  color: #ffffff;
  font-size: 1rem;
}

/**/
.preview-weddinginfo-wrap .icon {
  margin-bottom: 0.25rem;
  color: #ffc708;
}
.preview-weddinginfo-wrap .preview-weddinginfo-title {
  margin-bottom: 1rem;
}
.preview-weddinginfo-wrap .main-date-txt,
.preview-weddinginfo-wrap .weddding-hall-name {
  font-weight: 500;
}
.preview-weddinginfo-wrap .weddinghall-info-wrap {
  margin-top: 2rem;
}
.preview-weddinginfo-wrap .preview-map-img {
  margin: 0 1rem 2rem;
  border-radius: 0.75rem;
}
.preview-weddinginfo-wrap .way-guide {
  margin: 0 3rem 2rem;
}
/* 개행처리 - 혜인 1111 */
.preview-weddinginfo-wrap .way-guide p {
  white-space: pre-line;
}
.preview-weddinginfo-wrap .way-title {
  margin-bottom: 0.6rem;
  padding-bottom: 0.25rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #e4e4e4;
}
.preview-weddinginfo-wrap .way-title img {
  margin-right: 0.25rem;
  width: 27px;
  height: 27px;
  vertical-align: middle;
}
.preview-weddinginfo-wrap .way-content {
  text-align: left;
  font-weight: 400;
  /* font-size: 0.95em; */
  line-height: 1.5;
}

/*gallery*/
.preview-gallery-img .card-img {
  max-height: none;
}
.preview-gallery-img .slick .slick-slide {
  padding: 0;
}
.preview-gallery-img .slick .slick-slide img {
  width: 100%;
  height: auto;
}
.preview-gallery-img .slick-track {
  padding-bottom: 0;
}
.preview-gallery-img .slick-dots {
  margin-bottom: 0;
}

.preview-gallery-video {
  padding: 0 1rem;
}
.preview-gallery-video .live-video-dimensions,
.preview-gallery-video .gallery-video-dimensions {
  width: 100%;
  height: auto;
  aspect-ratio: 1/0.564;
  border-radius: 0.75rem;
  overflow: hidden;
}
.preview-gallery-video .video-js .vjs-control-bar {
  margin: 1em 1em;
  width: calc(100% - 2em);
  height: 2em;
}
.preview-gallery-video .video-js .vjs-control {
  height: 100%;
  width: 3em;
  padding-left: 0.2em;
  padding-right: 0.2em;
}
.preview-gallery-video .vjs-remaining-time-display {
  display: inline-block;
  height: 100%;
  line-height: 2.5em;
}
.preview-gallery-video .video-js .vjs-time-control {
  font-size: 0.8em;
  line-height: 1em;
  min-width: 2em;
  padding-left: 0.2em;
  padding-right: 0.2em;
}
.preview-gallery-video .vjs-button > .vjs-icon-placeholder:before {
  font-size: 1.2em;
}
.preview-gallery-video .video-js .vjs-progress-holder .vjs-play-progress,
.preview-gallery-video .video-js .vjs-progress-holder .vjs-load-progress,
.preview-gallery-video .video-js .vjs-progress-holder .vjs-load-progress div {
  /* margin-top: -2px; */
}

/*bank*/
.preview-bank-wrap .accordion-box,
.edit-invitation .accordion-box {
  margin-bottom: 0.5rem;
  padding: 0 1rem;
}

.preview-bank-wrap {
  border-top: 1px solid #f9f9f9;
  background-image: linear-gradient(180deg, #f9f9f9 0%, #ffffff 100%);
}

.accordion-inner {
  border-radius: 0.75rem;
  border: 1px solid #efefef;
  overflow: hidden;
  background-color: #ffffff;
}
.accordion-inner .btn-toggle {
  position: relative;
  width: 100%;
  background-color: #efefef;
  /* border-radius: 0.75rem 0.75rem 0 0; */
  color: #212121;
  font-size: 0.9rem;
}
.accordion-inner .btn-toggle .xeicon {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
}
.accordion-inner .bank {
  padding: 0.75rem 0.9rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.accordion-inner .bank + .bank {
  border-top: 1px solid #efefef;
}
.accordion-inner .bank:last-child {
  border-bottom: 0;
}
.accordion-inner .bank > .bank-info {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  flex: 1 1 0;
  margin-bottom: 0;
}
.accordion-inner .bank > .bank-info > span {
  display: inline-block;
  line-height: 1.5;
  font-size: 0.95em;
}
.accordion-inner .bank > .bank-info .bank_type {
  flex: 0 0 auto;
  padding-right: 0.5rem;
  text-align: left;
}
.accordion-inner .bank > .bank-info .bank_no {
  flex: 1 1 0;
  width: 100%;
  text-align: left;
}
.accordion-inner .bank > .bank-info .name {
  flex: 0 0 auto;
  width: 100%;
  text-align: left;
}
.accordion-inner .bank > .btn {
  flex: 0 0 auto;
  font-size: 0.95em;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.accordion-inner .bank > .btn.kakaopay {
  width: 100%;
  margin-top: 10px;
  padding: 0;
  background-color: #ffeb00;
  border: 0;
}

/*guestbook*/
.preview-guestbook-title {
  text-align: center;
}

.preview-guestbook-lists {
  margin-bottom: 1.25rem;
  /* height: 260px; */
  /* overflow-x: hidden; */
  /* overflow-y: auto; */
}

.guestbook-list {
  padding: 0 1rem;
}
.guestbook-list .guestbook-list-txt {
  padding: 0.5rem 0;
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(215, 215, 215, 0.5);
}
.guestbook-list .guestbook-list-txt .content {
  margin-bottom: 10px;
  flex: 0 0 1;
  width: 100%;
  text-align: left;
  font-size: 13px;
  /* 방명록 작성 시 입력한 줄바꿈(엔터)을 그대로 표시 */
  white-space: pre-line;
  overflow-wrap: break-word;
}
.guestbook-list .guestbook-list-txt .name,
.guestbook-list .guestbook-list-txt .date {
  margin-bottom: 0;
  font-size: 13px;
  color: #909090;
}
.guestbook-list .guestbook-list-txt .date {
  margin-left: auto;
  line-height: 22px;
}

/* 방명록 글쓴이,수정삭제버튼 혜인 0729 */
/* .guestbook-list-txt.pre .name{margin-right: 20px; line-height: 22px;}
.guestbook-list-txt.pre button{width: 46px; height: 20px; line-height: 17px; background-color: transparent; box-sizing: border-box; border: 1px solid #ffc708; border-radius: 12px;  color: #ffc708; font-weight: 500; margin-right: 6px;} */
/* @media (hover:hover){
  .guestbook-list-txt.pre button:hover{background-color: #ffc708; color: #fff;}
} */

.guestbook-no-data {
  padding: 1rem;
}
.guestbook-no-data p {
  font-size: 0.95em;
  margin-bottom: 0;
}

/*
.invitation-pagination-wrap {
  display: flex;
  justify-content: center;
}
.invitation-pagination-wrap .pagination {
  margin-bottom: 0;
}
.invitation-pagination-wrap .page-item {
  padding: 0.75rem 0.25rem 0;
}
.invitation-pagination-wrap .page-item .page-link {
  line-height: 1.2;
  border-radius: 40px !important;
  min-width: 28px;
  height: 28px;
  padding: 0.25rem 0;
  font-size: 0.95em;
}
.invitation-pagination-wrap .page-item:not(.active) .page-link {
  border-color: #d7d7d7;
  color: #d7d7d7;
  background: transparent;
} */

/* ===== 방명록 전체보기 모달 - 혜인 0913 ===== */
.guestbookModal p,
.guestbookModal button {
  padding: 0;
  margin: 0;
}
.guestbookModal .modal-body {
  box-sizing: border-box;
  padding: 16px 40px;
}

.guestbookModal .guestbook_Content .contentItem {
  margin-bottom: 20px;
  box-sizing: border-box;
  border-bottom: 1px solid #e7e7e7;
  font-size: 14px;
}
.guestbookModal .guestbook_Content .contentItem .name {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
}
.guestbookModal .guestbook_Content .contentItem .txt {
  margin-bottom: 6px;
}
.guestbookModal .guestbook_Content .contentItem .bottom {
  margin-bottom: 4px;
}
.guestbookModal .guestbook_Content .contentItem .bottom .guestbook_btns {
  display: inline-block;
  float: left;
}
.guestbookModal .guestbook_Content .contentItem .bottom .date {
  display: inline-block;
  float: right;
  font-size: 12px;
  color: #777;
  padding-top: 8px;
}
.guestbookModal .guestbook_btns button {
  margin-right: 2px;
}
.guestbookModal .guestbook_btns button span {
  display: inline-block;
  color: #777;
  font-size: 16px;
  padding: 4px;
}
@media (min-width: 344px) {
  #guestbookModalContent .modal-dialog {
    max-width: 344px;
    margin: 0 auto;
  }
}

.form-guesedit {
  font-size: 1rem;
}
.form-guesedit .col-form-label {
  font-size: 0.8125rem;
}
.form-guesedit .form-control::-moz-placeholder {
  font-size: 0.8125rem;
}
.form-guesedit .form-control::placeholder {
  font-size: 0.8125rem;
}

/*testinonial*/
.preview-testimonial-wrap .preview-invitation-title {
  margin-bottom: 1rem;
}

.preview-testimonial-message {
  position: relative;
  border-radius: 2px;
  /* margin: 1rem 16%;
  padding: 1.5rem 1.75rem; */
  /* background-color: #fff9e6; */
  margin: 2rem 0;
  background-color: transparent;
}
/* .preview-testimonial-message::before {
  content: "";
  position: absolute;
  bottom: 25px;
  left: 90%;
  transform: translateX(-50%);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: rgba(255, 199, 8, 0.8);
}
.preview-testimonial-message::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 100%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 172, 142, 0.5);
} */
.preview-testimonial-message p {
  margin-bottom: 0;
  line-height: 30px;
  font-weight: 500;
  white-space: pre-line;
}

/* .preview-testimonial-img {
  margin-top: 1rem;
} */

/*insa*/
.preview-insa-wrap .preview-invitation-title {
  margin-bottom: 1rem;
}

.preview-insa-message {
  position: relative;
  border-radius: 2px;
  /* margin: 1rem 16%; */
  /* padding: 1.5rem 1.75rem; */
  /* background-color: #fff9e6; */
  margin: 2rem 0 0 0;
  background-color: transparent;
}
/* .preview-insa-message::before {
  content: "";
  position: absolute;
  bottom: 25px;
  left: 90%;
  transform: translateX(-50%);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: rgba(255, 199, 8, 0.8);
}
.preview-insa-message::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 100%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 172, 142, 0.5);
} */
.preview-insa-message p {
  margin-bottom: 0;
  line-height: 30px;
  font-weight: 500;
  white-space: pre-line;
}

/*calendar & countdown*/
.preview-calendar-wrap {
  padding: 2.5rem 0;
}
.preview-calendar-wrap .preview-inner-wrap {
  text-align: center;
}
.preview-calendar-title {
  margin-bottom: 1.5rem;
}
.preview-calendar-title .calendar-subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: #999;
  margin-bottom: 0.3rem;
  font-style: italic;
}
.preview-calendar-title h2 {
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin: 0;
}
.calendar-box {
  max-width: 320px;
  margin: 0 auto 1.5rem;
}
.calendar-month {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.calendar-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.calendar-table th {
  font-size: 0.75rem;
  font-weight: 500;
  color: #888;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e0e0e0;
}
.calendar-table td {
  font-size: 0.85rem;
  padding: 0.6rem 0;
  color: #333;
}
.calendar-table .other-month {
  color: #ccc;
}
.calendar-table .sun,
.calendar-table th.sun {
  color: #d94040;
}
.calendar-table .sat,
.calendar-table th.sat {
  color: #d94040;
}
.wedding-day-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #b8a89a;
  color: #fff;
  font-weight: 600;
}
.countdown-box {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.2rem;
}
.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
  padding: 10px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.countdown-label {
  font-size: 0.6rem;
  color: #999;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.countdown-value {
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
}
.countdown-message {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}
.countdown-heart {
  color: #b8a89a;
  margin: 0 2px;
}
.countdown-dday {
  color: #b8a89a;
  font-weight: 700;
}

/*attend*/
.preview-attend-wrap .preview-title p {
  margin-top: 3px;
  display: inline-block;
  padding: 0.25rem 0;
}

.preview-attend-content {
  font-size: 0.875rem;
  line-height: 1.5;
}
@media (max-width: 991px) {
  .preview-attend-content {
    font-size: 1rem;
  }
  .gallery-img-box::-webkit-scrollbar {
    display: none;
  }
}
.preview-attend-content .form {
  text-align: left;
}
.preview-attend-content .form .btn:not(.btn-block),
.preview-attend-content .form .form-control {
  height: 36px;
  font-size: 0.9rem;
  line-height: inherit;
}
.preview-attend-content .form .btn-outline-primary:not(:disabled):not(.disabled):not(.active) {
  color: #909090;
  border-color: #909090;
}
.preview-attend-content .form .btn-outline-primary:not(:disabled):not(.disabled):not(.active):hover,
.preview-attend-content .form .btn-outline-primary:not(:disabled):not(.disabled):not(.active):focus {
  color: #ffffff;
  background-color: #909090;
  border-color: #909090;
}
.preview-attend-content .btn-attend {
  margin: 1rem 1rem 0;
  width: 100%;
  max-width: 300px;
  padding: 0.65rem 1.25rem;
}

/*share*/
.preview-share-wrap {
  padding: 0 1.75rem;
}

.preview-share-txt .btn {
  width: 80%;
}

/* ------------------------------------- 테마 적용 스타일 ------------------------ 24.09.01 hyerin */
/* ------------------------------------------------  공통 적용 */

/* 미리보기 프레임 삭제 */
.invite-preview-inner.preview {
  padding: 0;
}

/* 메인 */
.main-brgr-txt {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
/* 서브 타이틀 및 캡션 폰트 사이즈 적용할 클래스 */
.font-tit {
  font-size: var(--font-size-tit);
}
.font-small {
  font-size: var(--font-size-14);
}

/* 방명록 아래 짤림 방지를 위한 임시값입니다.
.invite-preview-inner{
  padding-bottom: 100px;
} */

/* 서브 타이틀 아이콘 */
.preview-title,
.preview-invi-wrap > .preview-invitation-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.preview-title::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background-image: url("/assets/tool/img/theme_new/theme2_icon.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* 연락 참석 버튼 */
.preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme,
.preview-etc-wrap > .preview-attend-wrap .btn-attend {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 220px;
  height: 40px;
  background-color: #fff;
  border: 1px solid var(--theme2-green-color2);
  border-radius: 5px;
  position: relative;
  z-index: 2;
}
/*참석 모달 모바일웹에서 레이어 틀어짐  */
.form-group.row .guest-att {
  -webkit-box-flex: 0;
  flex: 0 0 25%; /* 라벨 너비를 25%로 설정 */
  max-width: 25%; /* 최대 너비 25% */
}

.form-group.row .col-12 {
  -webkit-box-flex: 0;
  flex: 0 0 75%; /* 콘텐츠 너비를 75%로 설정 */
  max-width: 75%; /* 최대 너비 75% */
}

/* 초대 연락 */
.preview-etc-wrap > .preview-invitation-wrap {
  padding: 100px 0;
}
.preview-invitation-wrap .preview-invitation-message {
  padding: 0;
  background: none;
}
.preview-invitation-cellphome {
  padding: 60px 0 40px;
}

.preview-invitation-cellphome > div{
  padding-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  line-height: 1.5;
}
.preview-invitation-cellphome > div > p{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.preview-invitation-cellphome > div > p > span{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
}
.preview-invitation-cellphome > div > p > span:first-child::after{
  display: block;
  content: '';
  width: 3px;
  height: 10px;
}
.preview-invitation-cellphome > div > p .parentName{
  white-space: nowrap;
  flex: 0 1 0;
}


.card-invitation-preview [data-name*="goin_type"] {
  display: flex;
  flex: 0 0 16px;
}
.card-invitation-preview [data-name*="goin_type"] img {
  width: 16px;
}



.preview-invitation-cellphome > div > p.rel_box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.preview-invitation-cellphome > div > p.rel_box .rel_text {
  width: 30px;
  padding-top: 8px;
  display: block;
  flex-wrap: wrap;
}
.preview-invitation-cellphome > div > p.rel_box .font-tit {
  flex: 1 1 0;
}



.preview-invitation-wrap .preview-invitation-cellphome p .cellphone-dot::before {
  content: "";
  display: block;
  width: 2px;
  height: 2px;
  background-color: #000;
  border-radius: 2px;
  margin: 0 0.25rem;
}
.rel_text.font-small {
  color: #555;
}
.preview-invitation-link > a {
  margin: auto;
}
.preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme span,
.preview-etc-wrap > .preview-attend-wrap .btn-attend span {
  color: var(--theme2-green-color3);
  font-size: 16px;
}
.preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme .call-icon {
  width: 14px;
  height: 14px;
  background: url("/assets/tool/img/theme_new/theme2_icon2.png") center no-repeat;
  background-size: contain;
}
.preview-attend-wrap .preview-attend-link {
  display: flex;
  justify-content: center;
}
.preview-attend-wrap .btn-attend .check-icon {
  width: 14px;
  height: 14px;
  background: url("/assets/tool/img/theme_new/theme2_icon3.png") center no-repeat;
  background-size: contain;
}

/* 갤러리 */
.preview-wrap.preview-gallery-wrap {
  padding: 100px 0;
}
.gallery-img-box {
  width: 100%;
  overflow-x: scroll;
}
.gallery-img-box::-webkit-scrollbar {
  height: 40px;
  border-radius: 10px;
  background-color: transparent;
}
.gallery-img-box::-webkit-scrollbar-thumb {
  width: 30%;
  background-color: #ddd;
  background-clip: padding-box;
  border: 15px solid transparent;
  border-radius: 40px;
}
.preview-gallery-img .gallery-img-box .preview-gallery-ul {
  width: fit-content;
  margin-bottom: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(1, 180px);
  grid-template-rows: repeat(2, 180px);
  grid-auto-flow: column;
  gap: 15px;
  transform: translateX(0);
}
.preview-gallery-img .gallery-img-box .preview-gallery-ul .preview-gallery-li {
  width: 180px;
  height: 180px;
  overflow: hidden;
}
.preview-gallery-img .gallery-img-box .preview-gallery-ul .preview-gallery-li .preview-gallery-item {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 5px;
}
.preview-gallery-text {
  padding: 0 20px 0 0;
  text-align: right;
  font-size: var(--font-size-14);
}

/* 갤러리 모달 */
.gallery-modal-wrap {
  display: none;
  opacity: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}
.gallery-modal-wrap.modal-open {
  opacity: 1;
}
.gallery-modal-wrap button {
  z-index: 1000;
}
.gallery-modal-contents {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}
.gallery-modal-box {
  width: 100%;
  height: 100%;
  position: relative;
}
.gallery-modal-top {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 20px;
  width: fit-content;
  height: fit-content;
  z-index: 100;
}
.gallery-modal-btn button {
  width: 20px;
  height: 20px;
  padding: 10px;
  background-color: transparent;
  border: none;
  background-position: center center;
  background-repeat: no-repeat;
}
.gallery-modal-btn .btn-x {
  background-image: url("/assets/tool/img/theme_new/theme_icon_x.svg");
}
.gallery-modal-bottom {
  max-width: 500px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: auto;
  padding: 10px 0 0;
}
.gallery-modal-index {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 14px;
}
/* 모달 안 슬라이드 스타일 */
.gallery-slide-wrap {
  width: 100%;
  height: 100%;
}
.gallery-slide-wrap .slide-container {
  width: 100%;
  height: 100%;
}
.gall-modal-list {
  width: 100%;
  height: 100%;
}
.gall-modal-item {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: 0.3s linear;
}
.gall-modal-item.active {
  opacity: 1;
}
.gall-modal-img {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}
.gall-modal-img img {
  width: 100%;
  height: 100%;
  /*max-width: 80%;*/
  object-fit: contain;
}
.gallery-slide-wrap .slide-prev,
.gallery-slide-wrap .slide-next {
  width: 25px;
  height: 25px;
  padding: 10px;
  background-color: transparent;
  border: none;
  background-position: center center;
  background-repeat: no-repeat;
}
.gallery-slide-wrap .slide-prev {
  background-image: url("/assets/tool/img/theme_new/theme_icon_arrow.svg");
  transform: rotate(180deg);
  background-size: 12px;
  left: calc(50% - 120px);
}
.gallery-slide-wrap .slide-next {
  background-image: url("/assets/tool/img/theme_new/theme_icon_arrow.svg");
  background-size: 12px;
  right: calc(50% - 120px);
}

/* 동영상 */
.preview-gallery-video {
  padding: 20px 5px;
}

/* 예식장 안내 */
/* .preview-weddinginfo-wrap{
  margin: 100px 0;
} */
.preview-weddinginfo-wrap > .preview-inner-wrap {
  padding: 0 20px;
}
.preview-weddinginfo-title {
  padding: 0 0 60px;
}
.weddinginfo-content {
  text-align: left;
}
.weddinginfo-content p {
  margin: 0;
}
.weddinginfo-top,
.way-guide-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 20px;
  background-color: var(--theme2-green-color);
}

.weddinginfo-icon-box{
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.weddinginfo-tellbox,
.way-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.way-guide-box > .way-guide {
  margin: 0;
  padding: 20px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-bottom: 0.5px solid #d9d9d9;
}
.way-guide-box > .way-guide > .way-title {
  margin: 0;
  font-size: 18px;
  border: none;
}
.weddinginfo-icon {
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  background-image: url("/assets/tool/img/theme_new/theme_icon_map.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0;
}
.weddinginfo-tellbox .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme_icon_call.svg");
}
.way-guide.subway .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme_icon_metro.svg");
}
.way-guide.bus .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme_icon_bus.svg");
}
.way-guide.etc .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme_icon_info.svg");
}
.wedding-hallbox {
  padding: 10px 0 0 37px;
}
.weddinginfo-navi {
  padding: 20px 0;
  display: flex;
  gap: 8px;
}
.weddinginfo-navi button {
  flex: 1;
  height: 40px;
  border: 0.5px solid;
  border-radius: 5px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}
.weddinginfo-navi button::before {
  content: "";
  width: 20px;
  height: 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.kakaonavi::before {
  background-image: url("/assets/tool/img/theme_new/theme_icon_kakaomap.png");
}
.navernavi::before {
  background-image: url("/assets/tool/img/theme_new/theme_icon_navermap.png");
}
.tmapnavi::before {
  background-image: url("/assets/tool/img/theme_new/theme_icon_tmap.png");
}
.weddinghall-map-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 0 20px;
}
.weddinghall-map-wrap > .preview-map-img {
  margin: 0;
}

/* 축의금 */
.preview-bank-wrap {
  background-image: none;
  background-color: transparent;
  border: none;
}
.preview-bank-wrap > .preview-inner-wrap {
  padding: 0 30px;
}
.preview-bank-title {
  padding: 30px 0;
}
.preview-bank-wrap > .preview-inner-wrap > .accordion-box {
  padding: 0;
  margin: 0 0 40px;
}
.accordion-box > .accordion-inner > button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  border: none;
  border-radius: 0;
}
.accordion-box > .accordion-inner > button::after {
  content: "접기";
  font-size: 13px;
  color: #555;
}
.accordion-box > .accordion-inner > button[aria-expanded="true"] {
  border-bottom: 0.5px solid var(--theme2-green-color2);
}
.accordion-box > .accordion-inner > button[aria-expanded="true"] + div .bank:last-child {
  padding: 20px 0 70px;
}
.accordion-box > .accordion-inner > button[aria-expanded="false"]::after {
  content: "펼치기";
}
.accordion-box > .accordion-inner {
  border: 0.5px solid var(--theme2-green-color2);
  border-radius: 5px;
}
.accordion-box .bank-icon {
  display: none;
}
.accordion-inner .bank {
  padding: 20px 0;
  text-align: left;
}
.bank-info {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}
.bank-btn-box {
  width: 100%;
  display: flex;
  gap: 6px;
  padding: 0 20px;
}
.bank-btn-box > button,
.bank-btn-box a {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border: 0.5px solid var(--theme2-green-color2);
  border-radius: 5px;
  color: var(--theme2-green-color3);
  font-size: 13px;
  padding: 0;
  height: 40px;
}
.bank-btn-box a {
  color: #000;
}
.bank-btn-box > button::before {
  content: "";
  background-image: url("/assets/tool/img/theme_new/theme_icon_copy.svg");
}
.bank-btn-box > button::before,
.bank-btn-box .bank-icon {
  width: 25px;
  height: 25px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 23px;
}
.bank-btn-box .bank-icon {
  display: block;
  background-image: url("/assets/tool/img/theme_new/theme_icon_kakaopay.png");
}

/* 방명록 */
.preview-wrap.preview-guestbook-wrap {
  padding: 50px 30px 60px;
  background-color: var(--theme2-green-color);
}
.preview-wrap.preview-guestbook-wrap .preview-inner-wrap {
  padding: 0 0 80px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--theme2-green-color2);
  border-radius: 300px 300px 0 0;
}
.preview-title.preview-guestbook-title {
  padding: 30px 0 60px;
  margin: 0;
}
.preview-guestbook-lists > .guestbook-list > .guestbook-list-txt {
  padding: 20px 0;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  border-bottom: 0.5px solid #d9d9d9;
  color: #000;
}
.guest-btn-box {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.guest-btn-box button {
  font-size: 14px;
  background: none;
  border: none;
  padding: 5px;
  color: #e4705d;
}
.guest-btn-box button.btn-edit {
  color: #555;
}
.guest-name-date {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.guestbook-list-txt .guest-contents .content {
  font-size: 15px;
}
.guestbook-list-txt .guest-name-date .name {
  font-size: 15px;
  color: var(--theme2-green-color3);
}
.guestbook-list-txt .guest-name-date .date {
  font-size: 14px;
  color: #555;
}

/* 방명록 작성하기 버튼 - 혜인 0911 */
.book_btn2 a {
  box-sizing: border-box;
  border: 0.5px solid #7a7a7a;
  font-weight: 500;
  font-size: 14px;
  border-radius: 7px;
  padding: 12px 30px;
}

/* ===== 모바일 초대장 공유 페이지 invitation_guest.blade.php 전용 - 혜인 0911 ===== */
.guestView #kakao_map {
  width: 100% !important;
}
.guestView .preview-weddinginfo-wrap .preview-map-img {
  margin: 0;
}
.guestView .preview-weddinginfo-wrap .weddinghall-info-wrap {
  margin-top: 0;
}
.guestView .card-invitation-preview {
  border-radius: 10px;
}

/* 사용자 글자크기 설정 - 혜인 0912 */
.custom_fontSize14 {
  font-size: 14px;
}
.custom_fontSize15 {
  font-size: 15px;
}
.custom_fontSize16 {
  font-size: 16px;

}
.custom_fontSize17 {
  font-size: 17px;
}


/* ===== 예식중계버튼 모달창 ===== */
#zoomJoinModalContent{max-width: 400px; left: 50%; top: 50%; transform: translate(-50%, -50%);}
#zoomJoinModalContent .modal-body{display: flex; justify-content: center; align-items: center;}
#zoomJoinModalContent .modal-body label{font-weight: 500; font-size: 1rem;}





/* ===== 테마별 예식중계버튼 스타일 ===== */
.themeBtn{
  padding: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.themeBtn a{
  display: flex;
  justify-content: center;
  align-items: center;
}
#themeNameBox.theme1 .themeBtn a{
  width: 180px;
  height: 50px;
  background-color: var(--theme1-coral-color2);
  border: 1px solid #7a7a7a;
  border-radius: 7px;
  color: #fff;
  font-size: 16px;
}
#themeNameBox.theme2 .themeBtn a{
  width: 220px;
  height: 40px;
  background-color: #fff;
  border: 1px solid var(--theme2-green-color2);
  border-radius: 5px;
  color: var(--theme2-green-color3);
  font-size: 16px;
}
#themeNameBox.theme3 .themeBtn a{
  width: 237px;
  height: 58px;
  background: url(/assets/tool/img/theme_new/theme3_btn.png) center no-repeat;
  background-size: contain;
  border: none;
  border-radius: 0;
  color: var(--theme3-beige-color3);
  font-size: 16px;
}
/*#themeNameBox.theme4 .themeBtn{*/
/*  padding: 0 0 80px 0;*/
/*  margin-top: -60px;*/
/*}*/
#themeNameBox.theme4 .themeBtn a{
  width: fit-content;
  height: fit-content;
  padding: 8px 30px;
  border: 0.5px solid var(--theme4-gray-color2);
  border-radius: 5px;
  color: var(--theme4-gray-color3);
  font-weight: bold;
  font-size: 16px;
}
/*#themeNameBox.theme5 .themeBtn{*/
/*  padding: 0 0 80px 0;*/
/*  margin-top: -60px;*/
/*}*/
#themeNameBox.theme5 .themeBtn a{
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.6);
  border: 0.5px solid var(--theme5-purple-color2);
  border-radius: 7px;
  font-weight: 500;
  padding: 12px 30px;
  color: #3a3a3a;
  font-size: 14px;
}
#themeNameBox.theme6 .themeBtn{
  background: var(--theme6-pink-color1);
  /*padding: 0 0 50px 0;*/
}
#themeNameBox.theme6 .themeBtn a{
  width: fit-content;
  height: fit-content;
  padding: 14px 20px 10px;
  background-color: #fff;
  border: 0.5px solid #333;
  border-radius: 40px;
  color: #555;
  font-size: 16px;
}
#themeNameBox.theme7 .themeBtn{
  background: #fff6f6;
  /*padding: 0 0 50px 0;*/
}
#themeNameBox.theme7 .themeBtn a{
  padding: 14px 20px;
  background-color: #fff;
  border: 1px solid #dfa6a6;
  border-radius: 13px;
  height: 24px;
  color: #8b6161;
  font-family: "JejuMyeongjo";
  font-size: 13px;
  line-height: 21px;
}
#themeNameBox.theme8 .themeBtn{
  background: #fef8f0;
  /*padding: 0 0 50px 0;*/
}
#themeNameBox.theme8 .themeBtn a{
  width: auto;
  height: 40px;
  border: 1px solid #c69b60;
  border-radius: 12px;
  border-width: 1.4px;
  font-family: "NanumBarunpen";
  transform: rotate(0.03deg);
  padding: 0 17px;
  line-height: 25px;
  position: relative;
  font-size: 15px;
  color: #c69b60;
}
#themeNameBox.theme8 .themeBtn a::after{
  content: "";
  width: calc(100% - 3px);
  height: 34px;
  border: 0.3px solid #c69b60;
  position: absolute;
  box-sizing: border-box;
  border-radius: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#themeNameBox.theme9 .themeBtn{
  background: #edf8e3;
  /*padding: 0 0 50px 0;*/
}
#themeNameBox.theme9 .themeBtn a{
  font-size: 13px;
  color: #fff;
  height: 24px;
  border: none;
  border-radius: 10px;
  width: auto;
  padding: 0 13px;
  background: #ff9c07;
  font-size: 15px;
}
#themeNameBox.theme10 .themeBtn{
  background: #fbf8f1;
  /*padding: 0 0 50px 0;*/
}
#themeNameBox.theme10 .themeBtn a{
  background-image: url(/assets/tool/img/theme_new/theme10_btn_03.png);
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 99px;
  height: 40px;
  font-size: 13px;
  color: #5f371b;
  font-weight: bold;
}


/* ===== 예식 배송 전화번호 안내 ===== */
.wedding_deliveryNum p{margin-left: 10px;}






/* ------------------------------------------------  theme1 테마1 */

/* 타입, 폰트 사이즈 */
#themeNameBox.theme1 {
  font-family: "MaruBuri";
}
#themeNameBox.theme1 h2 {
  color: var(--theme1-coral-color3);
}

/* 메인 */
.theme-1-wrap.theme-main{
  box-sizing: border-box;
  padding: 0 20px;
}

.theme-1-wrap .theme-main-title {
  width: calc(100% - 80px);
  padding: 80px 0 20px;
  margin: auto;
}
.theme-1-wrap .theme-main-title img {
  width: 100%;
}


.theme-1-wrap .main-brgr-txt {
  padding: 0 0 40px;
  gap: 10px;
}
.theme-1-wrap .main-brgr-txt .p_dot3 {
  width: 30px;
  height: 11px;
  background: url("/assets/tool/img/theme_new/theme1_and.png") center no-repeat;
  background-size: contain;
}


.theme-1-wrap .preview-img-wrap {
  position: relative;
  width: 100%;
}
.theme-1-wrap .preview-img-wrap .theme-main-cover {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
}
.theme-1-wrap .preview-img-wrap .theme-main-cover img {
  width: 100%;
  object-fit: contain;
}
.theme-1-wrap .cropper-preview {
  width: calc(100% - 130px);
  aspect-ratio: 2.2 / 3.5;
  margin: auto;
  border-radius: 100px 100px 0 0;
}
/* .theme-1-wrap .cropper-preview img {
  min-height: 400px;
} */
.theme-1-wrap .main-txt-wrap {
  padding-top: 80px;
}

/* 본문 */
#themeNameBox.theme1 > .preview-etc-wrap > .preview-invitation-wrap {
  padding: 50px 0 0;
}
#themeNameBox.theme1 .preview-title,
#themeNameBox.theme1 .preview-invi-wrap > .preview-invitation-title {
  gap: 5px;
  font-family: "MaruBuriSemiBold";
  font-size: 15px;
}

/* 아이콘 */
#themeNameBox.theme1 .preview-title::before {
  content: "";
  display: block;
  width: 60px;
  height: 60px;
  background-image: url("/assets/tool/img/theme_new/theme1_icon01.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* 초대 연락 */
#themeNameBox.theme1 > .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap {
  position: relative;
}
#themeNameBox.theme1 > .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 4px;
  background: url("/assets/tool/img/theme_new/theme1_line.png") center no-repeat;
  background-size: contain;
}
#themeNameBox.theme1 > .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background: url("/assets/tool/img/theme_new/theme1_invitation01.png") center no-repeat;
  background-size: contain;
  /* height: 250px; */
  height: 200px;
}
#themeNameBox.theme1
  > .preview-etc-wrap
  > .preview-invitation-wrap
  > .preview-inner-wrap
  > .preview-invi-wrap
  > .preview-message-wrap {
  width: 100%;
  margin: 0;
  background-color: transparent;
  padding: 60px 60px 80px;
  box-sizing: border-box;
}
#themeNameBox.theme1 .preview-invitation-wrap .preview-insa-message,
#themeNameBox.theme1 .preview-invitation-wrap .preview-testimonial-message{
  box-sizing: border-box;
  padding: 0 60px;
}
#themeNameBox.theme1 .preview-invi-wrap > .preview-title,
#themeNameBox.theme1 .preview-insa-wrap > .preview-title,
#themeNameBox.theme1 .preview-testimonial-wrap > .preview-title {
  padding: 80px 1rem 0;
}
#themeNameBox.theme1 .preview-invitation-link {
  padding: 0 0 245px;
}

#themeNameBox.theme1 .preview-invitation-cellphome{
  box-sizing: border-box;
  padding: 0 20px 30px;
}

#themeNameBox.theme1 .preview-invitation-cellphome .font-tit {
  font-family: "MaruBuriSemiBold";
}
#themeNameBox.theme1 .groom,
#themeNameBox.theme1 .bride {
  gap: 5px;
}

#themeNameBox.theme1 .bride > p:last-child,
#themeNameBox.theme1 .groom > p:last-child {
  /* gap: 10px; */
}

/* 참석여부 */
#themeNameBox.theme1 .preview-wrap.preview-attend-wrap {
  padding: 50px 30px;
  background-color: var(--theme1-coral-color1);
  position: relative;
}
#themeNameBox.theme1 .preview-wrap.preview-attend-wrap::before,
#themeNameBox.theme1 .preview-wrap.preview-attend-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 60px);
  height: 72px;
  background: url("/assets/tool/img/theme_new/theme1_line02.png") center no-repeat;
  background-size: contain;
}
#themeNameBox.theme1 .preview-wrap.preview-attend-wrap::before {
  top: 48px;
}
#themeNameBox.theme1 .preview-wrap.preview-attend-wrap::after {
  transform: scaleY(-1) translateX(-50%);
  bottom: 48px;
}

#themeNameBox.theme1 .preview-wrap.preview-attend-wrap > .preview-inner-wrap {
  padding: 60px 0 160px;
  border: 1px solid #7a7a7a;
}
#themeNameBox.theme1 .preview-wrap.preview-attend-wrap > .preview-inner-wrap::before {
  content: "";
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 60px);
  height: 110px;
  background: url("/assets/tool/img/theme_new/theme1_attend01.png") center no-repeat;
  background-size: contain;
}
#themeNameBox.theme1 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme,
#themeNameBox.theme1 .preview-etc-wrap > .preview-attend-wrap .btn-attend {
  gap: 0;
  width: 180px;
  height: 50px;
  background-color: var(--theme1-coral-color2);
  border: 1px solid #7a7a7a;
  border-radius: 7px;
  position: static;
}
#themeNameBox.theme1 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme span,
#themeNameBox.theme1 .preview-etc-wrap > .preview-attend-wrap .btn-attend span {
  color: #fff;
}
#themeNameBox.theme1 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme .call-icon,
#themeNameBox.theme1 .preview-attend-wrap .btn-attend .check-icon {
  display: none;
}

/*  갤러리 */

#themeNameBox.theme1 .preview-wrap.preview-gallery-wrap {
  padding: 30px 0 100px;
}

#themeNameBox.theme1 .preview-gallery-title {
  padding: 30px 0 10px;
  margin: 0;
}
#themeNameBox.theme1 .preview-gallery-title::before {
  background-image: url("/assets/tool/img/theme_new/theme1_icon02.png");
}

#themeNameBox.theme1 .preview-gallery-img {
  position: relative;
}
#themeNameBox.theme1 .gallery-img-box {
  position: relative;
  z-index: 1;
}
#themeNameBox.theme1 .preview-gallery-img::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 160px;
  bottom: 0;
  left: 0;
  background: url("/assets/tool/img/theme_new/theme1_gallery01.png") center no-repeat;
  background-size: contain;
}
#themeNameBox.theme1 .preview-gallery-video {
  position: relative;
}
#themeNameBox.theme1 .preview-gallery-video::before,
#themeNameBox.theme1 .preview-gallery-video::after {
  content: "";
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 130px;
  height: 160px;
  background: url("/assets/tool/img/theme_new/theme1_gallery02.png") center no-repeat;
  background-size: contain;
}
#themeNameBox.theme1 .preview-gallery-video::after {
  background: url("/assets/tool/img/theme_new/theme1_line.png") center no-repeat;
  bottom: -60px;
  width: 100%;
  height: 4px;
  background-size: contain;
}

/* 예식장 안내 */
#themeNameBox.theme1 .preview-title.preview-weddinginfo-title::before {
  background-image: url("/assets/tool/img/theme_new/theme1_icon03.png");
}
#themeNameBox.theme1 .weddinginfo-top,
#themeNameBox.theme1 .way-guide-box {
  background-color: var(--theme1-coral-color1);
}
#themeNameBox.theme1 .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme1_icon_map.svg");
}
#themeNameBox.theme1 .weddinginfo-tellbox .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme1_icon_call.svg");
}
#themeNameBox.theme1 .way-guide.subway .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme1_icon_metro.svg");
}
#themeNameBox.theme1 .way-guide.bus .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme1_icon_bus.svg");
}
#themeNameBox.theme1 .way-guide.etc .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme1_icon_info.svg");
}
#themeNameBox.theme1 .weddinginfo-navi button {
  border-radius: 7px;
  border-color: #7a7a7a;
}

/* 축의금 */
#themeNameBox.theme1 .preview-bank-wrap {
  background-color: var(--theme1-coral-color1);
  padding: 30px 0;
  margin: 20px 0 90px;
}
#themeNameBox.theme1 .preview-bank-title {
  padding: 30px 50px;
}
#themeNameBox.theme1 .preview-bank-title::before {
  background-image: url("/assets/tool/img/theme_new/theme1_icon04.png");
}
#themeNameBox.theme1 .preview-bank-wrap > .preview-inner-wrap > .accordion-box {
  margin: 0 0 30px;
}
#themeNameBox.theme1 .accordion-box > .accordion-inner {
  border: 1px solid #7a7a7a;
  border-radius: 0px;
  padding: 0 20px;
  position: relative;
}
#themeNameBox.theme1 .accordion-box > .accordion-inner::before,
#themeNameBox.theme1 .accordion-box > .accordion-inner::after {
  content: "";
  position: absolute;
  top: -13px;
  left: 0;
  width: 100%;
  height: 90px;
  background: url("/assets/tool/img/theme_new/theme1_line03.png") center no-repeat;
  background-size: contain;
}
#themeNameBox.theme1 .accordion-box > .accordion-inner::after {
  top: calc(100% - 77px);
  transform: scaleY(-1);
}
#themeNameBox.theme1 .accordion-box > .accordion-inner > button {
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
#themeNameBox.theme1 .accordion-box > .accordion-inner > button::after {
  content: "";
  width: 35px;
  height: 40px;
  background: url("/assets/tool/img/theme_new/theme1_gift01.png") center no-repeat;
  background-size: contain;
}
#themeNameBox.theme1 .accordion-box#accordion2 > .accordion-inner > button::after {
  background: url("/assets/tool/img/theme_new/theme1_gift02.png") center no-repeat;
  background-size: contain;
}
#themeNameBox.theme1 .accordion-box > .accordion-inner > button[aria-expanded="true"] {
  padding: 40px 20px 20px;
  border-bottom: 1px solid #f0644d;
}
#themeNameBox.theme1 .accordion-box > .accordion-inner .bank {
  position: relative;
  z-index: 1;
}
#themeNameBox.theme1 .accordion-box > .accordion-inner > button[aria-expanded="true"] + div .bank:last-child {
  padding: 20px 0 20px;
}
#themeNameBox.theme1 .accordion-box > .accordion-inner > button[aria-expanded="false"]::after {
  content: "";
}
#themeNameBox.theme1 .bank-btn-box {
  padding: 0;
}
#themeNameBox.theme1 .bank-btn-box > button,
#themeNameBox.theme1 .bank-btn-box a {
  border: 0.5px solid #7a7a7a;
  color: #f0644d;
}
#themeNameBox.theme1 .bank-btn-box a {
  color: #555;
}
#themeNameBox.theme1 .bank-btn-box > button::before {
  content: "";
  background-image: url("/assets/tool/img/theme_new/theme1_icon_copy.svg");
}

/* 방명록 */
#themeNameBox.theme1 .preview-wrap.preview-guestbook-wrap {
  background-color: #fff;
  position: relative;
  /* padding: 60px 20px 150px; */
  padding: 0 20px 150px;
}
#themeNameBox.theme1 .preview-wrap.preview-guestbook-wrap .preview-inner-wrap {
  background-color: transparent;
  border: none;
  border-radius: 0;
}
#themeNameBox.theme1 .preview-title.preview-guestbook-title {
  /* padding: 30px 0 20px; */
  padding: 0 0 20px;
}
#themeNameBox.theme1 .preview-title.preview-guestbook-title::before {
  background-image: url("/assets/tool/img/theme_new/theme1_icon05.png");
}
#themeNameBox.theme1 .preview-guestbook-lists > .guestbook-list {
  border-bottom: 1px solid #d9d9d9;
}
#themeNameBox.theme1 .preview-guestbook-lists > .guestbook-list > .guestbook-list-txt {
  padding: 20px 0;
  background-color: transparent;
  border-bottom: none;
}
#themeNameBox.theme1 .guest-btn-box {
  gap: 5px;
}
#themeNameBox.theme1 .guest-btn-box button {
  text-indent: -1000px;
  overflow: hidden;
  width: 23px;
  height: 23px;
  background: url("/assets/tool/img/theme_new/theme_icon_del.svg") center no-repeat;
  background-size: contain;
  border: 0.5px solid #d9d9d9;
  border-radius: 5px;
  padding: 0;
}
#themeNameBox.theme1 .guest-btn-box button.btn-edit {
  background: url("/assets/tool/img/theme_new/theme_icon_edit.svg") center no-repeat;
}
#themeNameBox.theme1 .guestbook-list-txt .guest-name-date .name {
  color: var(--theme1-coral-color3);
}
#themeNameBox.theme1 .guestbook-list-txt .guest-name-date .date {
  color: #999;
}
#themeNameBox.theme1 .guestbook-list-txt .guest-contents .content {
  margin: 0;
  line-height: 1.5em;
}
#themeNameBox.theme1 .preview-wrap.preview-guestbook-wrap .preview-inner-wrap {
  position: relative;
  z-index: 1;
}
#themeNameBox.theme1 .preview-wrap.preview-guestbook-wrap::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background: url("/assets/tool/img/theme_new/theme1_invitation01.png") center no-repeat;
  background-size: contain;
  /* height: 250px; */
  height: 200px;
}
/* 모달 - 혜인 0911 */
#themeNameBox.theme1 .modal {
  font-family: "Spoqa Han Sans Neo", "Titillium Web", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #3a3a3a;
}

/* ------------------------------------------------  theme2 테마2 */

#themeNameBox.theme2 {
  font-family: "Cafe24Oneprettynight";
}
#themeNameBox.theme2 h2 {
  color: var(--theme2-green-color4);
}

/* 메인 */
#themeNameBox.theme2 .theme-main-title {
  padding: 60px 30px 20px;
}
#themeNameBox.theme2 .theme-main-title img {
  width: 100%;
}
#themeNameBox.theme2 .theme-2-wrap .preview-img-wrap {
  background: url("/assets/tool/img/theme_new/theme2_main01.png") right top no-repeat;
  background-size: contain;
  padding: 40px 0 47px;
  position: relative;
}
#themeNameBox.theme2 .theme-2-wrap .preview-img-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/assets/tool/img/theme_new/theme2_main02.png") left bottom no-repeat;
  background-size: contain;
}
#themeNameBox.theme2 .theme-2-wrap .cropper-preview {
  margin: auto;
  width: calc(100% - 80px);
  aspect-ratio: 3 / 4.5;
  border-radius: 300px 300px 0 0;
  position: relative;
  border: 1px solid var(--theme2-green-color2);
}
#themeNameBox.theme2 .theme-2-wrap .cropper-preview::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: 1px solid #fff;
  border-radius: 300px 300px 0 0;
}
#themeNameBox.theme2 .theme-2-wrap .cropper-preview img {
  height: 100%;
  max-height: max-content;
}
#themeNameBox.theme2 .theme-wrap .main-txt-wrap {
  padding: 0 40px;
}
#themeNameBox.theme2 .theme-wrap .main-brgr-txt {
  margin: 10px 0 20px;
}
#themeNameBox.theme2 .main-date-txt {
  margin: 0 0 10px;
}
/* 본문 */
#themeNameBox.theme2 .preview-title,
#themeNameBox.theme2 .preview-invi-wrap > .preview-invitation-title {
  font-size: 15px;
}
/* 초대 연락 */
#themeNameBox.theme2 > .preview-etc-wrap > .preview-invitation-wrap {
  padding: 100px 30px 30px;
  position: relative;
  background-image: url("/assets/tool/img/theme_new/theme2_invitation03.png");
  background-repeat: no-repeat;
  background-position: 100% 60%;
  background-size: 77px;
}
#themeNameBox.theme2 > .preview-etc-wrap > .preview-invitation-wrap::before {
  content: "";
  position: absolute;
  top: 138px;
  right: 0;
  width: 135px;
  height: 237px;
  z-index: 10;
  background: url("/assets/tool/img/theme_new/theme2_invitation01.png") center no-repeat;
  background-size: contain;
}
#themeNameBox.theme2 > .preview-etc-wrap > .preview-invitation-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 332px;
  background: url("/assets/tool/img/theme_new/theme2_invitation02.png") center no-repeat;
  background-size: contain;
}
#themeNameBox.theme2 > .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap {
  width: 100%;
  padding: 60px 30px;
  border: 0.5px solid;
  border-color: var(--theme2-green-color2);
  text-align: left;
  background-color: #fff;
}
#themeNameBox.theme2 .preview-invi-wrap > .preview-title,
#themeNameBox.theme2 .preview-insa-wrap > .preview-title,
#themeNameBox.theme2 .preview-testimonial-wrap > .preview-title {
  gap: 0;
  align-items: flex-start;
}
#themeNameBox.theme2 > .preview-etc-wrap > .preview-invitation-wrap .preview-invitation-title::before {
  width: 37px;
  height: 30px;
  margin: 0 0 15px;
  background-image: url("/assets/tool/img/theme_new/theme2_icon.png");
}
#themeNameBox.theme2
  > .preview-etc-wrap
  > .preview-invitation-wrap
  > .preview-inner-wrap
  > .preview-invi-wrap
  > .preview-message-wrap {
  width: 100%;
  margin: 0;
  padding: 60px 0 50px;
  background-color: transparent;
}
#themeNameBox.theme2 p[data-name="invitation_message"],
#themeNameBox.theme2 p[data-name="insa_message"],
#themeNameBox.theme2 p[data-name="testimonial_message"] {
  text-align: left;
  box-sizing: border-box;
  padding-right: 76px;
}

#themeNameBox.theme2
  > .preview-etc-wrap
  > .preview-invitation-wrap
  > .preview-inner-wrap
  > .preview-invitation-cellphome {
  width: 100%;
  padding: 60px 0;
  padding-left: 70px;
}
#themeNameBox.theme2
  > .preview-etc-wrap
  > .preview-invitation-wrap
  > .preview-inner-wrap
  > .preview-invitation-cellphome {
  align-items: flex-end;
}
#themeNameBox.theme2
  > .preview-etc-wrap
  > .preview-invitation-wrap
  > .preview-inner-wrap
  > .preview-invitation-cellphome
  > div {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
#themeNameBox.theme2
  > .preview-etc-wrap
  > .preview-invitation-wrap
  > .preview-inner-wrap
  > .preview-invitation-cellphome
  > div
  > p {
  display: flex;
  flex-direction: row;
  justify-content: right;
  align-items: center;
  text-align: center;
}
#themeNameBox.theme2
  > .preview-etc-wrap
  > .preview-invitation-wrap
  > .preview-inner-wrap
  > .preview-invitation-cellphome
  > div
  > p
  > span[data-name="groom_name"],
#themeNameBox.theme2
  > .preview-etc-wrap
  > .preview-invitation-wrap
  > .preview-inner-wrap
  > .preview-invitation-cellphome
  > div
  > p
  > span[data-name="bride_name"] {
  color: var(--theme2-green-color3);
  font-size: 18px;
}

#themeNameBox.theme2 > .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap > .preview-invitation-cellphome > div > p.rel_box{
  align-items: flex-start;
}
#themeNameBox.theme2 > .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap > .preview-invitation-cellphome > div > p.rel_box .rel_text{
  padding-top: 2px;
}
#themeNameBox.theme2 .preview-invitation-cellphome > div > p > span{
  text-align: right;
}


#themeNameBox.theme2 > .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme,
#themeNameBox.theme2 > .preview-etc-wrap > .preview-attend-wrap .btn-attend {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 220px;
  height: 40px;
  background-color: #fff;
  border: 1px solid var(--theme2-green-color2);
  border-radius: 5px;
  position: relative;
  z-index: 2;
}
#themeNameBox.theme2 > .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme span,
#themeNameBox.theme2 > .preview-etc-wrap > .preview-attend-wrap .btn-attend span {
  color: var(--theme2-green-color3);
}
#themeNameBox.theme2 > .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme .call-icon {
  width: 14px;
  height: 14px;
  background: url("/assets/tool/img/theme_new/theme2_icon2.png") center no-repeat;
  background-size: contain;
}

/* 참석여부 */
#themeNameBox.theme2 > .preview-etc-wrap > .preview-attend-wrap {
  margin: 100px 0 0;
  padding: 182px 0 0;
  background: url("/assets/tool/img/theme_new/theme2_attend01.png") no-repeat;
  background-position: 3px center;
  background-size: contain;
  background-color: var(--theme2-green-color);
  min-height: 500px;
}
#themeNameBox.theme2 > .preview-etc-wrap > .preview-attend-wrap .preview-attend-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
}
#themeNameBox.theme2 > .preview-etc-wrap > .preview-attend-wrap .preview-attend-title::before {
  content: "";
  display: none;
  width: 37px;
  height: 30px;
  margin: 0 0 15px;
  background: url("/assets/tool/img/theme_new/theme2_icon.png") center no-repeat;
  background-size: contain;
}
#themeNameBox.theme2 > .preview-etc-wrap > .preview-attend-wrap .preview-attend-link {
  display: flex;
  justify-content: center;
}
#themeNameBox.theme2 > .preview-etc-wrap > .preview-attend-wrap .btn-attend .check-icon {
  width: 14px;
  height: 14px;
  background: url("/assets/tool/img/theme_new/theme2_icon3.png") center no-repeat;
  background-size: contain;
}

/*  갤러리 */
#themeNameBox.theme2 > .preview-etc-wrap > .preview-gallery-wrap .preview-gallery-title::before {
  content: "";
  display: block;
  width: 37px;
  height: 30px;
  margin: 0 auto 15px;
  background: url("/assets/tool/img/theme_new/theme2_icon.png") center no-repeat;
  background-size: contain;
}

#themeNameBox.theme2 .preview-gallery-img {
  position: relative;
}
#themeNameBox.theme2 .gallery-img-box {
  position: relative;
  z-index: 1;
}
#themeNameBox.theme2 .preview-gallery-img::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  bottom: -5px;
  left: 0;
  background: url("/assets/tool/img/theme_new/theme2_gallery01.png") center no-repeat;
  background-size: contain;
}
#themeNameBox.theme2 .preview-gallery-video {
  position: relative;
}
#themeNameBox.theme2 .preview-gallery-video::before {
  content: "";
  position: absolute;
  bottom: 20px;
  right: -10px;
  width: 170px;
  height: 170px;
  background: url("/assets/tool/img/theme_new/theme2_gallery02.png") center no-repeat;
  background-size: cover;
}
#themeNameBox.theme2 .preview-gallery-video {
  margin: 60px 0 0;
}

/* 예식장 안내 */
#themeNameBox.theme2 .preview-wrap.preview-gallery-wrap {
  padding: 100px 0 20px;
}
#themeNameBox.theme2 .weddinginfo-navi button {
  border-color: var(--theme2-green-color2);
}

/* 축의금 */
#themeNameBox.theme2 .preview-bank-title {
  padding: 80px 0 30px;
}

#themeNameBox.theme2 .preview-bank-wrap .preview-inner-wrap .accordion-box {
  position: relative;
}
#themeNameBox.theme2 .preview-bank-wrap .preview-inner-wrap .accordion-box::after {
  content: "";
  position: absolute;
  top: -30px;
  left: -20px;
  width: 65px;
  height: 70px;
  background: url("/assets/tool/img/theme_new/theme2_gift01.png") center no-repeat;
  background-size: cover;
}
#themeNameBox.theme2 .accordion-box > .accordion-inner .bank > div {
  position: relative;
  z-index: 1;
}
#themeNameBox.theme2 .accordion-box > .accordion-inner > button[aria-expanded="true"] + div .bank:last-child::after {
  content: "";
  position: absolute;
  bottom: -75px;
  right: -25px;
  width: 130px;
  height: 200px;
  background: url("/assets/tool/img/theme_new/theme2_gift02.png") center no-repeat;
  background-size: contain;
}
#themeNameBox.theme2 .preview-wrap.preview-bank-wrap {
  margin: 0 0 80px;
}

/* 방명록 */
#themeNameBox.theme2 .preview-wrap.preview-guestbook-wrap {
  position: relative;
  /* margin: 80px 0 0; */
  margin: 0;
}
#themeNameBox.theme2 .preview-wrap.preview-guestbook-wrap .preview-inner-wrap {
  position: relative;
  z-index: 1;
}
#themeNameBox.theme2 .preview-wrap.preview-guestbook-wrap::before,
#themeNameBox.theme2 .preview-wrap.preview-guestbook-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 146px;
}
#themeNameBox.theme2 .preview-wrap.preview-guestbook-wrap::after {
  background: url("/assets/tool/img/theme_new/theme2_guest02.png") center no-repeat;
  background-size: cover;
  z-index: 2;
}
#themeNameBox.theme2 .preview-wrap.preview-guestbook-wrap::before {
  background: url("/assets/tool/img/theme_new/theme2_guest01.png") center no-repeat;
  background-size: cover;
  height: 224px;
}
#themeNameBox.theme2 .book_btn2 a {
  background-color: #fff;
  border: 0.5px solid var(--theme2-green-color2);
  color: var(--theme2-green-color2);
  border-radius: 5px;
}
/* 모달 - 혜인 0911 */
#themeNameBox.theme2 .modal {
  font-family: "Spoqa Han Sans Neo", "Titillium Web", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #3a3a3a;
}

/* ------------------------------------------------  theme3 테마3 */

/* 타입, 폰트 사이즈 */
#themeNameBox.theme3 {
  font-family: "JejuMyeongjo";
}
.theme-3-wrap {
  background: url("/assets/tool/img/theme_new/theme3_gift01.png"),
    radial-gradient(
      63.8% 55.61% at 51.73% 44.39%,
      rgba(255, 252, 247, 0.6) 0%,
      rgba(255, 251, 243, 0.6) 78.51%,
      rgba(255, 248, 234, 0.6) 100%
    );
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.theme-3-wrap::before,
.theme-3-wrap::after {
  content: "";
  display: block;
  width: 390px;
  height: 10px;
  background: var(--theme3-beige-color1);
}
.theme-3-wrap .theme-frame-box {
  position: relative;
  margin: 20px 0;
}
.theme-3-wrap .theme-frame-box::before,
.theme-3-wrap .theme-frame-box::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
  height: calc(100% - 40px);
  background: url("/assets/tool/img/theme_new/theme3_main01.png") center no-repeat;
  background-size: 13px 100%;
}
.theme-3-wrap .theme-frame-box::before {
  left: 20px;
  transform: translateY(-50%) scaleX(-1);
}
.theme-3-wrap .theme-frame-box::after {
  right: 20px;
}
.theme-3-wrap .theme-frame-box .theme-frame-img {
  margin: auto;
  width: calc(100% - 20px);
  max-height: 57px;
}
.theme-3-wrap .theme-frame-box .theme-frame-img img {
  width: 100%;
  object-fit: contain;
}
.theme-3-wrap .theme-frame-box .theme-frame-img:last-child img {
  transform: scaleY(-1);
}
.theme-3-wrap .cropper-preview {
  margin: 20px auto;
  width: calc(100% - 100px);
  aspect-ratio: 2.6 / 4;
}
.theme-3-wrap .cropper-preview img {
  min-height: 450px;
  border-radius: 0;
  object-fit: contain;
}
.theme-3-wrap .theme_title {
  padding: 10px 50px 0;
}
.theme-3-wrap .theme_title img {
  width: 100%;
}
.theme-3-wrap .theme_title::after,
#themeNameBox.theme3 .preview-invitation-cellphome::before {
  content: "";
  display: block;
  margin: 10px 0 0;
  width: 100%;
  height: 5px;
  background: url("/assets/tool/img/theme_new/theme3_line.png") center no-repeat;
  background-size: contain;
}
.theme-3-wrap .main-txt-wrap {
  padding: 20px 50px 10px;
}
.theme-3-wrap .main-txt-wrap .main-brgr-txt {
  margin-bottom: 20px;
  gap: 20px;
}

/* 본문 */
#themeNameBox.theme3 .preview-title,
#themeNameBox.theme3 .preview-invi-wrap > .preview-invitation-title {
  font-size: 15px;
}
/* 아이콘 */
#themeNameBox.theme3 .preview-inner-wrap.preview-title::before {
  content: "";
  display: block;
  width: 60px;
  height: 15px;
  background-image: url("/assets/tool/img/theme_new/theme3_icon.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
#themeNameBox.theme3 .preview-title::before {
  content: "";
  display: block;
  width: 60px;
  height: 15px;
  background-image: url("/assets/tool/img/theme_new/theme3_icon02.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
#themeNameBox.theme3 .preview-title h2 {
  color: var(--theme3-beige-color3);
}

/* 초대 연락 */
#themeNameBox.theme3 .preview-invitation-title.preview-title::before {
  width: 60px;
  height: 15px;
  background-image: url("/assets/tool/img/theme_new/theme3_icon.png");
}
#themeNameBox.theme3 .preview-wrap.preview-invitation-wrap {
  padding: 120px 19px 80px;
}
#themeNameBox.theme3 .preview-wrap.preview-invitation-wrap .preview-inner-wrap.wrapBox {
  border: 2px solid var(--theme3-beige-color1);
  padding: 14px 7px;
  position: relative;
}
#themeNameBox.theme3 .preview-wrap.preview-invitation-wrap .preview-invi-wrap,
#themeNameBox.theme3 .preview-wrap.preview-invitation-wrap .preview-insa-wrap,
#themeNameBox.theme3 .preview-wrap.preview-invitation-wrap .preview-testimonial-wrap {
  width: 100%;
  padding: 80px 15px 0;
  background: url("/assets/tool/img/theme_new/theme3_invi_top.png") center top no-repeat;
  background-size: contain;
}
#themeNameBox.theme3 .preview-message-wrap {
  margin: 60px 0 0;
  box-sizing: border-box;
  padding: 0 20px;
}
#themeNameBox.theme3 .preview-message-wrap.preview-insa-message,
#themeNameBox.theme3 .preview-message-wrap.preview-testimonial-message {
  margin: 30px 0;
  box-sizing: border-box;
  padding: 0 20px;
}
/*#themeNameBox.theme3 .groom {*/
/*  padding: 40px 0 25px;*/
/*}*/
#themeNameBox.theme3 .groom > p,
#themeNameBox.theme3 .bride > p{
  margin: 0;
}

#themeNameBox.theme3 span[data-name="goin_type_dad"] img,
#themeNameBox.theme3 span[data-name="goin_type_mom"] img {
  margin-top: 0;
}
#themeNameBox.theme3 .preview-invitation-cellphome{
  box-sizing: border-box;
  padding: 0 20px 20px;
}
#themeNameBox.theme3 .preview-invitation-cellphome > div > p.rel_box .rel_text {
  padding-top: 10px;
  padding-left: 8px;
  width: 38px;
}


#themeNameBox.theme3 .preview-invitation-link {
  padding: 0 0 92px;
  background: url("/assets/tool/img/theme_new/theme3_invi_bottom.png") center bottom no-repeat;
  background-size: contain;
}
#themeNameBox.theme3 .preview-invitation-wrap .invi-style-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  padding: 80px 15px;
}
#themeNameBox.theme3 .preview-invitation-wrap .invi-style-box p {
  width: 1px;
  height: 100%;
  background: var(--theme3-beige-color1);
  position: relative;
}
#themeNameBox.theme3 .preview-invitation-wrap .invi-style-box p::before,
#themeNameBox.theme3 .preview-invitation-wrap .invi-style-box p::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 3px;
  transform: rotate(-45deg) translateX(-1px);
  background: var(--theme3-beige-color1);
}
#themeNameBox.theme3 .preview-invitation-wrap .invi-style-box p::after {
  top: 100%;
}
#themeNameBox.theme3 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme,
#themeNameBox.theme3 .preview-etc-wrap > .preview-attend-wrap .btn-attend {
  width: 237px;
  height: 58px;
  background: url("/assets/tool/img/theme_new/theme3_btn.png") center no-repeat;
  background-size: contain;
  border: none;
  border-radius: 0;
}
#themeNameBox.theme3 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme .call-icon,
#themeNameBox.theme3 .preview-attend-wrap .btn-attend .check-icon {
  display: none;
}
#themeNameBox.theme3 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme span,
#themeNameBox.theme3 .preview-etc-wrap > .preview-attend-wrap .btn-attend span {
  color: var(--theme3-beige-color3);
}
#themeNameBox.theme3 .preview-wrap.preview-attend-wrap {
  margin: 0;
  padding: 90px 34px 204px;
  background: linear-gradient(
    180deg,
    rgba(246, 233, 222, 0) 0%,
    #f6e9de 52.5%,
    rgba(246, 233, 222, 0.463158) 87.5%,
    rgba(246, 233, 222, 0) 100%
  );
  position: relative;
}
#themeNameBox.theme3 .preview-wrap.preview-attend-wrap::before,
#themeNameBox.theme3 .preview-wrap.preview-attend-wrap::after {
  content: "";
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
}
#themeNameBox.theme3 .preview-wrap.preview-attend-wrap::before {
  background-image: url("/assets/tool/img/theme_new/theme3_attend02.png");
}
#themeNameBox.theme3 .preview-wrap.preview-attend-wrap::after {
  background-image: url("/assets/tool/img/theme_new/theme3_attend03.png");
}
#themeNameBox.theme3 .preview-wrap.preview-attend-wrap .preview-inner-wrap {
  width: 100%;
  padding: 18px 18px 140px;
  background: url("/assets/tool/img/theme_new/theme3_attend_line.png") no-repeat #ffffff;
  background-size: calc(100% - 36px);
  background-position: center 18px;
  box-shadow: 0px -2px 6px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  position: relative;
}
#themeNameBox.theme3 .preview-attend-title {
  padding: 60px 0 0;
  margin-bottom: 40px;
  gap: 20px;
}
#themeNameBox.theme3 .preview-gallery-li img {
  border-radius: 5px;
}
#themeNameBox.theme3 .preview-gallery-img {
  padding: 0 0 80px;
  background: url("/assets/tool/img/theme_new/theme3_line.png") center bottom no-repeat;
  /* background-size: calc(100% - 54px); */
  background-size: 150px;
}
#themeNameBox.theme3 .preview-gallery-video {
  margin: 0;
}
#themeNameBox.theme3 .preview-wrap.preview-gallery-wrap {
  padding: 30px 0 60px;
}

/* 예식장 안내 */
#themeNameBox.theme3 .preview-weddinginfo-wrap {
  /* margin: 0 0 100px; */
  margin: 0;
  background: linear-gradient(
    180deg,
    rgba(246, 233, 222, 0.5) 0%,
    rgba(246, 233, 222, 0) 52%,
    rgba(246, 233, 222, 0.5) 100%
  );
}
#themeNameBox.theme3 .preview-weddinginfo-title {
  padding: 60px 0 30px;
}
#themeNameBox.theme3 .weddinginfo-top,
#themeNameBox.theme3 .way-guide-box {
  background: transparent;
}
#themeNameBox.theme3 .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme3_icon_map.svg");
}
#themeNameBox.theme3 .weddinginfo-tellbox .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme3_icon_call.svg");
}
#themeNameBox.theme3 .way-guide.subway .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme3_icon_metro.svg");
}
#themeNameBox.theme3 .way-guide.bus .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme3_icon_bus.svg");
}
#themeNameBox.theme3 .way-guide.etc .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme3_icon_info.svg");
}
#themeNameBox.theme3 .weddinginfo-navi button {
  border-color: #cecece;
  border-radius: 7px;
}
#themeNameBox.theme3 .weddinginfo-navi button span {
  padding-top: 4px;
}

/* 축의금 */
#themeNameBox.theme3 .preview-bank-wrap {
  padding: 100px 0;
  background: url("/assets/tool/img/theme_new/theme3_gift01.png") #fffaf5;
  position: relative;
}
#themeNameBox.theme3 .preview-bank-wrap::before {
  display: block;
  content: "";
  width: 100%;
  height: 200px;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.785) 65%,
    rgba(255, 255, 255, 0.862845) 75%,
    rgba(255, 255, 255, 0.933501) 88%,
    #ffffff 100%
  );
  /* background: linear-gradient(180deg, #FAF4EF 0%, rgba(246, 233, 222, 0) 100%); */
  position: absolute;
  left: 0;
  top: 0;
}

#themeNameBox.theme3 .accordion-box {
  position: relative;
}
#themeNameBox.theme3 .accordion-box::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, transparent 15px, #d9d9d9 0) top left,
    radial-gradient(circle at top right, transparent 15px, #d9d9d9 0) top right,
    radial-gradient(circle at bottom right, transparent 15px, #d9d9d9 0) bottom right,
    radial-gradient(circle at bottom left, transparent 15px, #d9d9d9 0) bottom left;
  background-size: 50% 50%;
  background-repeat: no-repeat;
  filter: blur(7px);
}
#themeNameBox.theme3 .accordion-inner {
  /* background: radial-gradient(circle at top left, transparent 15px, #ffffff 0) top left,
  radial-gradient(circle at top right, transparent 15px, #ffffff 0)top right,
  radial-gradient(circle at bottom right, transparent 15px, #ffffff 0) bottom right,
  radial-gradient(circle at bottom left, transparent 15px, #ffffff 0) bottom left; */
  background-size: 50% 50%;
  background-repeat: no-repeat;
  border: none;
  /* border-radius: 0; */
  position: relative;
  z-index: 1;
  padding: 15px 20px;
  background-color: #fff;
  border-radius: 10px;
}
#themeNameBox.theme3 .accordion-inner::before,
#themeNameBox.theme3 .accordion-inner::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 26px);
  height: 26px;
  background: url("/assets/tool/img/theme_new/theme3_gift_top.png") center no-repeat;
  background-size: contain;
}
#themeNameBox.theme3 .accordion-inner::before {
  top: 12px;
}
#themeNameBox.theme3 .accordion-inner::after {
  bottom: 12px;
  transform: translateX(-50%) scaleY(-1);
}
#themeNameBox.theme3 .accordion-box > .accordion-inner > button {
  padding: 20px;
  background-color: transparent;
  justify-content: center;
  gap: 8px;
}
#themeNameBox.theme3 .accordion-box > .accordion-inner > button[aria-expanded="true"] {
  border-bottom: 0.5px solid #999;
  /* padding: 50px 20px 20px; */
  padding: 30px 20px 20px;
}
#themeNameBox.theme3 .accordion-box > .accordion-inner > button::after {
  content: "";
  width: 18px;
  height: 9px;
  background: url("/assets/tool/img/theme_new/theme_icon_up.svg") center no-repeat;
  background-size: contain;
  transition: 0.3s;
}
#themeNameBox.theme3 .accordion-box > .accordion-inner > button[aria-expanded="false"]::after {
  content: "";
  transform: scaleY(-1) translateY(-1px);
}
.accordion-inner .bank {
  border-bottom: 1px solid #d9d9d9;
}
#themeNameBox.theme3 .bank-btn-box {
  padding: 0;
}
#themeNameBox.theme3 .bank-btn-box > button,
#themeNameBox.theme3 .bank-btn-box a {
  border: 0.5px solid var(--theme3-beige-color2);
  color: var(--theme3-beige-color3);
}
#themeNameBox.theme3 .bank-btn-box a {
  color: #555;
}
#themeNameBox.theme3 .bank-btn-box > button::before {
  background-image: url("/assets/tool/img/theme_new/theme3_icon_copy.svg");
}

/* 방명록 */
#themeNameBox.theme3 .preview-wrap.preview-guestbook-wrap {
  background: #fffbf7;
  padding: 0;
  /* margin: 80px 0 0; */
  margin: 0;
}
#themeNameBox.theme3 .preview-wrap.preview-guestbook-wrap::before,
#themeNameBox.theme3 .preview-wrap.preview-guestbook-wrap::after {
  content: "";
  display: block;
  width: 100%;
  height: 90px;
  /* border-top: 10px solid var(--theme3-beige-color1); */
  background: url("/assets/tool/img/theme_new/theme3_guest_top.png") no-repeat;
  background-position: 10px center;
  background-size: calc(100% - 14px);
}
#themeNameBox.theme3 .preview-wrap.preview-guestbook-wrap::after {
  transform: scaleY(-1);
}
#themeNameBox.theme3 .preview-wrap.preview-guestbook-wrap .preview-inner-wrap {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}
#themeNameBox.theme3 .preview-title.preview-guestbook-title {
  padding: 0;
}
#themeNameBox.theme3 .preview-guestbook-lists > .guestbook-list > .guestbook-list-txt {
  background: transparent;
}
#themeNameBox.theme3 .guest-btn-box {
  order: 1;
  gap: 5px;
}
#themeNameBox.theme3 .guest-contents {
  order: 3;
}
#themeNameBox.theme3 .guest-name-date {
  order: 2;
}
#themeNameBox.theme3 .guest-btn-box button {
  text-indent: -1000px;
  overflow: hidden;
  width: 23px;
  height: 23px;
  background: url("/assets/tool/img/theme_new/theme_icon_del.svg") center no-repeat;
  background-size: contain;
  border: 0.5px solid #d9d9d9;
  border-radius: 5px;
  padding: 0;
}
#themeNameBox.theme3 .guest-btn-box button.btn-edit {
  background: url("/assets/tool/img/theme_new/theme_icon_edit.svg") center no-repeat;
}
#themeNameBox.theme3 .guestbook-list-txt .guest-name-date .name {
  color: var(--theme3-beige-color3);
}
#themeNameBox.theme3 .book_btn2 a {
  border: 0.5px solid var(--theme3-beige-color2);
  color: var(--theme3-beige-color2);
  border-radius: 5px;
}
/* 모달 - 혜인 0911 */
#themeNameBox.theme3 .modal {
  font-family: "Spoqa Han Sans Neo", "Titillium Web", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #3a3a3a;
}

/* ------------------------------------------------  theme4 테마4 */

/* 타입, 폰트 사이즈 */
#themeNameBox.theme4 {
  font-family: "GowunBatang-Regular";
}
#themeNameBox.theme4 h2 {
  color: #000;
  font-weight: bold;
}

/* 메인 */
.theme-4-wrap .cropper-preview {
  aspect-ratio: unset;
}
.theme-4-wrap .cropper-preview .card-img-top {
  max-height: 800px;
  /* min-height: 700px; */
  object-fit: contain;
}
.theme-4-wrap .theme-main-box .preview-theme-main {
  position: relative;
}


.theme-4-wrap .theme-main-box .preview-theme-main .main-brgr-txt .p_dot2 {
  text-orientation: upright;
}
.theme-4-wrap .theme-main-box .preview-theme-main .theme_title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.theme-4-wrap .theme-main-box .preview-theme-main .theme_title > img {
  width: calc(100% - 30px);
  object-fit: contain;
}
.theme-4-wrap .theme-main-box .theme_title::after {
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  /* height: 130px; */
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.785) 65%,
    rgba(255, 255, 255, 0.862845) 75%,
    rgba(255, 255, 255, 0.933501) 88%,
    #ffffff 100%
  );
  transform: rotate(-180deg);
  height: 90px;
}
.theme-4-wrap .theme-main-out {
  margin: 5px 0 0;
}
.theme-4-wrap .theme-main-out .main-txt-wrap > p > span {
  font-weight: bold;
}

.theme-4-wrap .main-txt-wrap .main-date-txt,
.theme-4-wrap .main-txt-wrap .weddding-hall-name{
  box-sizing: border-box;
  padding: 0 20px;
}


/* 본문 */
#themeNameBox.theme4 .preview-title,
#themeNameBox.theme4 .preview-invi-wrap > .preview-invitation-title {
  font-size: 15px;
}

/* 서브 타이틀 */
#themeNameBox.theme4 .preview-invitation-title.preview-title {
  padding: 0 0 30px;
}
#themeNameBox.theme4 .preview-gallery-title {
  padding: 0 0 40px 0;
}
#themeNameBox.theme4 .preview-gallery-title,
#themeNameBox.theme4 .preview-bank-title,
#themeNameBox.theme4 .preview-title.preview-guestbook-title {
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  margin: 0;
}
#themeNameBox.theme4 .preview-title::before,
#themeNameBox.theme4 .preview-title::after,
#themeNameBox.theme4 .preview-title.preview-attend-title > h2::before,
#themeNameBox.theme4 .preview-title.preview-attend-title > h2::after,
#themeNameBox.theme4 .preview-invi-wrap > .preview-invitation-title::before,
#themeNameBox.theme4 .preview-invi-wrap > .preview-invitation-title::after {
  content: "\002F";
  width: fit-content;
  height: fit-content;
  font-size: 12px;
  color: var(--theme4-gray-color3);
  background: none;
}
/* 참석여부 타이틀 */
#themeNameBox.theme4 .preview-title.preview-attend-title > h2::before,
#themeNameBox.theme4 .preview-title.preview-attend-title > h2::after {
  padding: 10px;
}

/* 초대 연락 */
#themeNameBox.theme4 .preview-etc-wrap > .preview-invitation-wrap {
  padding: 70px 0 0;
}
#themeNameBox.theme4 .preview-wrap.preview-invitation-wrap > .preview-inner-wrap {
  padding: 0 30px;
  /* margin: 0 0 100px; */
  margin: 0;
}
#themeNameBox.theme4 .preview-wrap.preview-invitation-wrap > .preview-inner-wrap > .preview-invi-wrap,
#themeNameBox.theme4 .preview-wrap.preview-invitation-wrap > .preview-inner-wrap > .preview-insa-wrap,
#themeNameBox.theme4 .preview-wrap.preview-invitation-wrap > .preview-inner-wrap > .preview-testimonial-wrap {
  width: 100%;
  border: 0.5px solid var(--theme4-gray-color3);
  border-radius: 10px;
  /* padding: 50px 0 80px; */
  padding: 50px 1rem;
}
/* 아이폰에서만 적용 */
@supports (-webkit-touch-callout: none) {
    #themeNameBox.theme4 .preview-wrap.preview-invitation-wrap > .preview-inner-wrap > .preview-invi-wrap,
    #themeNameBox.theme4 .preview-wrap.preview-invitation-wrap > .preview-inner-wrap > .preview-insa-wrap,
    #themeNameBox.theme4 .preview-wrap.preview-invitation-wrap > .preview-inner-wrap > .preview-testimonial-wrap {
        border: 1px solid var(--theme4-gray-color3);
    }
  #themeNameBox.theme2 > .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap {
    border-left: 0.7px solid;
  }
  .accordion-box > .accordion-inner{
    border-left: 0.7px solid var(--theme2-green-color2);
  }
  .weddinginfo-navi button {

    font-size: 13px;
  }
}

#themeNameBox.theme4 .preview-insa-message,
#themeNameBox.theme4 .preview-testimonial-message {
  margin: 2rem;
}
#themeNameBox.theme4 .preview-inner-wrap.preview-title {
  /* margin-bottom: 0; */
  margin-bottom: 20px;
}

#themeNameBox.theme4 .preview-invitation-cellphome,
#themeNameBox.theme4 .preview-invitation-link {
  background-color: var(--theme4-gray-color1);
}
#themeNameBox.theme4 .preview-invitation-cellphome {
  margin: 80px 0 0;
  padding: 60px 0 35px;
  border-radius: 10px 10px 0 0;
  gap: 8px;
}
#themeNameBox.theme4 .preview-invitation-cellphome::after {
  content: "\002F";
  order: 2;
  font-size: 12px;
  color: #999;
}
/*#themeNameBox.theme4 .groom {*/
/*  order: 1;*/
/*  padding: 0;*/
/*}*/
/*#themeNameBox.theme4 .bride {*/
/*  order: 3;*/
/*}*/
#themeNameBox.theme4 .bride > p,
#themeNameBox.theme4 .groom > p {
  margin: 0;
}
#themeNameBox.theme4 .preview-invitation-wrap .preview-invitation-cellphome p .cellphone-dot::before {
  content: "";
  display: block;
  width: 2px;
  height: 2px;
  background-color: #000;
  border-radius: 2px;
  /* margin: 0; */
}
#themeNameBox.theme4 .preview-invitation-cellphome > div > p.rel_box .rel_text {
  padding-top: 10px;
  padding-left: 8px;
  width: 38px;
}



#themeNameBox.theme4 .preview-invitation-link {
  width: 100%;
  padding: 0 0 40px;
  border-radius: 0 0 10px 10px;
}
#themeNameBox.theme4 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme,
#themeNameBox.theme4 .preview-etc-wrap > .preview-attend-wrap .btn-attend {
  gap: 2px;
  width: fit-content;
  height: fit-content;
  padding: 8px 30px;
  border: 0.5px solid var(--theme4-gray-color2);
  border-radius: 5px;
}
#themeNameBox.theme4 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme span,
#themeNameBox.theme4 .preview-etc-wrap > .preview-attend-wrap .btn-attend span {
  color: var(--theme4-gray-color3);
  font-weight: bold;
}
#themeNameBox.theme4 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme .call-icon,
#themeNameBox.theme4 .preview-attend-wrap .btn-attend .check-icon {
  width: 23px;
  height: 23px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
#themeNameBox.theme4 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme .call-icon {
  background-image: url("/assets/tool/img/theme_new/theme4_icon.png");
}
#themeNameBox.theme4 .preview-attend-wrap .btn-attend .check-icon {
  background-image: url("/assets/tool/img/theme_new/theme4_icon02.png");
}

/* 참석 여부 */
#themeNameBox.theme4 .preview-wrap.preview-attend-wrap {
  background-color: var(--theme4-gray-color1);
  padding: 60px 30px;
}
#themeNameBox.theme4 .preview-wrap.preview-attend-wrap > .preview-inner-wrap {
  width: 100%;
  border-width: 2px 0;
  border-style: solid;
  border-color: var(--theme4-gray-color3);
  padding: 65px 0;
}
#themeNameBox.theme4 .preview-title.preview-attend-title {
  padding: 0 0 40px;
  gap: 25px;
  margin: 0;
}
#themeNameBox.theme4 .preview-title.preview-attend-title::before,
#themeNameBox.theme4 .preview-title.preview-attend-title::after {
  display: none;
}
#themeNameBox.theme4 .preview-title.preview-attend-title p {
  font-weight: normal;
}

/* 갤러리 */
#themeNameBox.theme4 .preview-wrap.preview-gallery-wrap {
  /* padding: 100px 0 30px; */
  padding: 80px 0 0;
}
#themeNameBox.theme4 .preview-gallery-img .gallery-img-box .preview-gallery-ul .preview-gallery-li {
  border-radius: 5px;
}
#themeNameBox.theme4 .preview-gallery-video {
  /* background-color: var(--theme4-gray-color1); */
  padding: 0 20px;
  margin: 60px 0 100px;
}

/* 예식장 안내 */
#themeNameBox.theme4 .weddinginfo-top,
#themeNameBox.theme4 .way-guide-box {
  background-color: var(--theme4-gray-color1);
  border-radius: 10px;
}
#themeNameBox.theme4 .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme4_icon_map.svg");
}
#themeNameBox.theme4 .weddinginfo-tellbox .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme4_icon_call.svg");
}
#themeNameBox.theme4 .way-guide.subway .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme4_icon_metro.svg");
}
#themeNameBox.theme4 .way-guide.bus .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme4_icon_bus.svg");
}
#themeNameBox.theme4 .way-guide.etc .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme4_icon_info.svg");
}
#themeNameBox.theme4 .weddinginfo-navi button {
  border-color: var(--theme4-gray-color2);
}
#themeNameBox.theme4 .preview-weddinginfo-wrap .preview-weddinginfo-title {
  margin-bottom: 0;
}


/* 축의금 */
#themeNameBox.theme4 .preview-wrap.preview-bank-wrap {
  margin: 0 0 80px;
}
#themeNameBox.theme4 .preview-bank-title {
  /* padding: 30px 0 60px; */
  padding: 100px 0 60px;
}
#themeNameBox.theme4 .accordion-box > .accordion-inner > button.btn.btn-link.btn-toggle {
  justify-content: center;
  background-color: #ebeae8;
  border: 1px solid var(--theme4-gray-color2);
  border-radius: 5px;
  padding: 0;
  width: 100%;
  height: 50px;
  gap: 7px;
  font-weight: bold;
}
#themeNameBox.theme4 .accordion-box > .accordion-inner {
  border: none;
}
#themeNameBox.theme4 .accordion-box > .accordion-inner > button::after {
  content: "";
  width: 18px;
  height: 9px;
  background: url("/assets/tool/img/theme_new/theme_icon_up.svg") center no-repeat;
  background-size: contain;
  transition: 0.3s;
}
#themeNameBox.theme4 .accordion-box > .accordion-inner > button[aria-expanded="false"]::after {
  content: "";
  transform: scaleY(-1) translateY(-1px);
}
#themeNameBox.theme4 .accordion-box > .accordion-inner > button[aria-expanded="true"] + div .bank:last-child {
  padding: 20px 0;
}
#themeNameBox.theme4 .accordion-inner .bank {
  border-bottom: 1px solid var(--theme4-gray-color2);
}
#themeNameBox.theme4 .bank-btn-box {
  padding: 0;
}
#themeNameBox.theme4 .bank-btn-box > button,
#themeNameBox.theme4 .bank-btn-box a {
  border: 0.5px solid var(--theme4-gray-color2);
  color: var(--theme4-gray-color3);
}
#themeNameBox.theme4 .bank-btn-box > button::before {
  background-image: url("/assets/tool/img/theme_new/theme4_icon_copy.svg");
}
#themeNameBox.theme4 .bank-info span.name {
  font-weight: bold;
}

/* 방명록 */
#themeNameBox.theme4 .preview-wrap.preview-guestbook-wrap {
  padding: 0;
  background-color: #f2ebdb;
  /* margin: 80px 0 0; */
  margin: 0;
}
#themeNameBox.theme4 .preview-wrap.preview-guestbook-wrap .preview-inner-wrap {
  /* padding: 0 0 80px; */
  padding: 0 0 30px;
  background: url("/assets/tool/img/theme_new/theme4_guest01.png") center top no-repeat;
  background-size: 100%;
  border: none;
  border-radius: 0;
}
#themeNameBox.theme4 .preview-title.preview-guestbook-title {
  /* padding: 60px 10px 30px; */
  padding: 60px 10px;
}
#themeNameBox.theme4 .preview-guestbook-lists > .guestbook-list > .guestbook-list-txt {
  margin: 0 0 2px;
  padding: 20px;
}
#themeNameBox.theme4 .preview-guestbook-lists > .guestbook-list:first-child > .guestbook-list-txt {
  border-radius: 10px 10px 0 0;
}
#themeNameBox.theme4 .preview-guestbook-lists > .guestbook-list:last-child > .guestbook-list-txt {
  border-radius: 0 0 10px 10px;
}
#themeNameBox.theme4 .guest-btn-box {
  order: 1;
  gap: 5px;
}
#themeNameBox.theme4 .guest-contents {
  order: 3;
}
#themeNameBox.theme4 .guest-name-date {
  order: 2;
}
#themeNameBox.theme4 .guest-btn-box button {
  text-indent: -1000px;
  overflow: hidden;
  width: 23px;
  height: 23px;
  background: url("/assets/tool/img/theme_new/theme_icon_del.svg") center no-repeat;
  background-size: contain;
  border: 0.5px solid #d9d9d9;
  border-radius: 5px;
  padding: 0;
}
#themeNameBox.theme4 .guest-btn-box button.btn-edit {
  background: url("/assets/tool/img/theme_new/theme_icon_edit.svg") center no-repeat;
}
#themeNameBox.theme4 .guestbook-list-txt .guest-name-date .name {
  color: var(--theme4-gray-color3);
}
#themeNameBox.theme4 .book_btn2 a {
  border-radius: 5px;
  font-weight: 600;
}
/* 모달 - 혜인 0911 */
#themeNameBox.theme4 .modal {
  font-family: "Spoqa Han Sans Neo", "Titillium Web", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #3a3a3a;
}

/* ------------------------------------------------  theme5 테마5 */

/* 메인 */
#themeNameBox.theme5 {
  font-family: "GowunBatang-Regular";
  background-image: url("/assets/tool/img/theme_new/theme5_main.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
}
.theme-5-wrap {
  padding: 100px 30px 0;
  text-align: left;
  color: var(--theme5-purple-color3);
}
.theme-5-wrap p {
  margin: 0;
}
.theme-5-wrap .theme-main-title {
  font-family: "Baskerville";
  font-weight: 700;
  font-style: normal;
  /* color: var(--theme5-purple-color3); */
  text-align: left;
}
.theme-5-wrap .theme_title > span {
  display: block;
  font-size: 65px;
}
.theme-5-wrap .theme_title > span:nth-child(2) {
  font-weight: 400;
  font-size: 48px;
  padding: 10px 0;
}
.theme-5-wrap .theme-poem {
  padding: 25px 0 50px;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
}
.theme-5-wrap .main-brgr-txt,
.theme-5-wrap .main-txt-wrap .main-date-txt,
.theme-5-wrap .weddding-hall-name .theme-5-wrap .weddding-hall {
  margin: 0 0 20px;
}
.theme-5-wrap .main-txt-wrap {
  padding: 0;
}
.theme-5-wrap .main-brgr-txt > span,
.theme-5-wrap .main-txt-wrap .main-date-txt > span,
.theme-5-wrap .weddding-hall-name > span,
.theme-5-wrap .weddding-hall > span {
  font-family: "GowunBatang-Regular";
  font-weight: bold;
}
.theme-5-wrap .main-brgr-txt {
  justify-content: flex-start;
  gap: 20px;
}
.theme-5-wrap .main-brgr-txt .p_dot {
  display: none;
}

/* 본문 */
#themeNameBox.theme5 .preview-title {
  color: var(--theme5-purple-color3);
}
#themeNameBox.theme5 .preview-title::before {
  width: 35px;
  height: 35px;
  background-image: url("/assets/tool/img/theme_new/theme5_icon.png");
}
#themeNameBox.theme5 .preview-title,
#themeNameBox.theme5 .preview-invi-wrap > .preview-invitation-title {
  font-size: 15px;
}



/* 초대 연락 */
#themeNameBox.theme5 .preview-etc-wrap > .preview-invitation-wrap {
  /* margin: 250px 0 150px; */
  margin: 250px 0 0;
  padding: 180px 0 130px;
  background: url("/assets/tool/img/theme_new/theme5_invitation02.png") center bottom no-repeat;
  background-size: 100%;
}
#themeNameBox.theme5 .preview-wrap.preview-invitation-wrap > .preview-inner-wrap {
  position: relative;
}
#themeNameBox.theme5 .preview-invitation-wrap .preview-invitation-message {
  padding: 60px 50px 0;
  margin: 1rem 0;
}

#themeNameBox.theme5 .preview-inner-wrap.preview-title {
  box-sizing: border-box;
  padding: 0 50px;
}

#themeNameBox.theme5 .preview-invitation-cellphome {
  margin: 60px 20px 0;
  justify-content: flex-start;
  gap: 30px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #f5f5f5;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  padding: 60px 20px 120px;
}
#themeNameBox.theme5 .preview-invitation-cellphome::before {
  content: "CONTACT";
  font-family: "Baskerville";
  font-weight: 700;
  font-size: 16px;
  color: var(--theme5-purple-color3);
}
#themeNameBox.theme5 .preview-invitation-cellphome > div.groom {
  padding: 0;
}
#themeNameBox.theme5 .bride > p,
#themeNameBox.theme5 .groom > p {
  margin: 0;
}
#themeNameBox.theme5 .bride > p .font-tit,
#themeNameBox.theme5 .groom > p .font-tit {
  font-weight: bold;
}
#themeNameBox.theme5 .preview-invitation-cellphome > div > p.rel_box .rel_text {
  padding-top: 10px;
  padding-left: 8px;
  width: 38px;
}




#themeNameBox.theme5 .preview-invitation-link {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}
#themeNameBox.theme5 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme span,
#themeNameBox.theme5 .preview-etc-wrap > .preview-attend-wrap .btn-attend span {
  color: var(--theme5-purple-color3);
  font-weight: bold;
}
#themeNameBox.theme5 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme,
#themeNameBox.theme5 .preview-etc-wrap > .preview-attend-wrap .btn-attend {
  flex-direction: column;
  gap: 6px;
  width: fit-content;
  height: fit-content;
  background-color: #fff;
  border: none;
  border-radius: 0;
}
#themeNameBox.theme5 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme .call-icon,
#themeNameBox.theme5 .preview-attend-wrap .btn-attend .check-icon {
  width: 43px;
  height: 43px;
  background-image: url("/assets/tool/img/theme_new/theme5_icon02.svg");
  background-size: 29px;
  background-color: var(--theme5-purple-color3);
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
}
#themeNameBox.theme5 .preview-attend-wrap .btn-attend .check-icon {
  background-image: url("/assets/tool/img/theme_new/theme5_icon03.svg");
  background-size: 18px;
}
#themeNameBox.theme5 .preview-attend-wrap {
  padding: 0;
  position: relative;
  margin: 150px 0 0;
}
#themeNameBox.theme5 .preview-attend-wrap .preview-inner-wrap {
  padding: 50px 0;
  background: url("/assets/tool/img/theme_new/theme5_attend02.svg") center no-repeat;
  background-size: contain;
}
#themeNameBox.theme5 .preview-attend-title {
  gap: 25px;
}
#themeNameBox.theme5 .preview-attend-title::before {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 65px;
  background-image: url("/assets/tool/img/theme_new/theme5_attend01.png");
}
#themeNameBox.theme5 .preview-attend-wrap .preview-title p {
  font-weight: normal;
}
/* 갤러리 */
#themeNameBox.theme5 .preview-wrap.preview-gallery-wrap {
  padding: 100px 0 0;
  background: url("/assets/tool/img/theme_new/theme5_gallery01.png") center bottom no-repeat;
  /* background-size: contain; */
  background-size: cover;
}
#themeNameBox.theme5 .preview-wrap.preview-gallery-wrap .preview-gallery-title {
  margin: 0;
}
/* 예식장 안내 */
#themeNameBox.theme5 .preview-weddinginfo-wrap {
  margin: 100px 0 0;
}
#themeNameBox.theme5 .weddinginfo-top,
#themeNameBox.theme5 .way-guide-box {
  background-color: var(--theme5-purple-color1);
  border-radius: 10px;
}
#themeNameBox.theme5 .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme5_icon_map.svg");
}
#themeNameBox.theme5 .weddinginfo-tellbox .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme5_icon_call.svg");
}
#themeNameBox.theme5 .way-guide.subway .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme5_icon_metro.svg");
}
#themeNameBox.theme5 .way-guide.bus .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme5_icon_bus.svg");
}
#themeNameBox.theme5 .way-guide.etc .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme5_icon_info.svg");
}
#themeNameBox.theme5 .weddinginfo-navi button {
  border-radius: 5px;
  border-color: var(--theme5-purple-color2);
}

/* 축의금 */
#themeNameBox.theme5 .preview-bank-wrap {
  background: url("/assets/tool/img/theme_new/theme5_gift01.png") left top no-repeat;
  background-size: contain;
  /* padding: 200px 0 50px; */
  padding: 130px 0 50px;
}
#themeNameBox.theme5 .preview-bank-wrap > .preview-inner-wrap {
  padding: 0 0 130px;
  background: url("/assets/tool/img/theme_new/theme5_gift02.png") center bottom no-repeat;
  background-size: 100%;
}
#themeNameBox.theme5 .accordion-box > .accordion-inner {
  border: none;
  border-radius: 10px;
  margin: 20px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.25);
}
#themeNameBox.theme5 .accordion-box > .accordion-inner > button {
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
  gap: 7px;
  border-bottom: none;
  padding: 10px 0;
}
#themeNameBox.theme5 .accordion-box > .accordion-inner > button[aria-expanded="true"] {
  padding: 40px 0;
  border-bottom: 1px solid var(--theme5-purple-color2);
}
#themeNameBox.theme5 .accordion-box > .accordion-inner > button::after {
  content: "";
  width: 38px;
  height: 23px;
  background: url("/assets/tool/img/theme_new/theme5_icon4.png") center no-repeat;
  background-size: contain;
}
#themeNameBox.theme5 .bank-btn-box {
  padding: 0;
}
#themeNameBox.theme5 .bank-btn-box > button,
#themeNameBox.theme5 .bank-btn-box a {
  border: 0.5px solid #d9d9d9;
  color: #555;
}
#themeNameBox.theme5 .bank-btn-box > button::before {
  content: "";
  background-image: url("/assets/tool/img/theme_new/theme4_icon_copy.svg");
}

/* 방명록 */
#themeNameBox.theme5 .preview-wrap.preview-guestbook-wrap {
  min-height: 350px;
  padding: 0;
  background: url("/assets/tool/img/theme_new/theme5_guest01.png") center bottom no-repeat;
  background-size: 100%;
}
#themeNameBox.theme5 .preview-wrap.preview-guestbook-wrap .preview-inner-wrap {
  padding: 0 0 80px;
  background-color: transparent;
  border: none;
}
#themeNameBox.theme5 .preview-title.preview-guestbook-title {
  padding: 30px 0;
}
#themeNameBox.theme5 .preview-guestbook-lists > .guestbook-list {
  padding: 0 20px;
}
#themeNameBox.theme5 .preview-guestbook-lists > .guestbook-list > .guestbook-list-txt {
  margin: 20px 0;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border: 0.5px solid #d9d9d9;
  border-radius: 10px;
}
#themeNameBox.theme5 .guest-btn-box {
  order: 1;
  gap: 5px;
}
#themeNameBox.theme5 .guest-contents {
  order: 3;
}
#themeNameBox.theme5 .guest-name-date {
  order: 2;
}
#themeNameBox.theme5 .guest-btn-box button {
  text-indent: -1000px;
  overflow: hidden;
  width: 23px;
  height: 23px;
  background: url("/assets/tool/img/theme_new/theme_icon_del.svg") center no-repeat;
  background-size: contain;
  border: 0.5px solid #d9d9d9;
  border-radius: 5px;
  padding: 0;
}
#themeNameBox.theme5 .guest-btn-box button.btn-edit {
  background: url("/assets/tool/img/theme_new/theme_icon_edit.svg") center no-repeat;
}
#themeNameBox.theme5 .guestbook-list-txt .guest-name-date .name {
  color: var(--theme5-purple-color3);
}
#themeNameBox.theme5 .book_btn2 a {
  background-color: rgba(255, 255, 255, 0.445);
  border-color: var(--theme5-purple-color2);
  color: var(--theme5-purple-color2);
}
/* 모달 - 혜인 0911 */
#themeNameBox.theme5 .modal {
  font-family: "Spoqa Han Sans Neo", "Titillium Web", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #3a3a3a;
}

/* ------------------------------------------------  theme6 테마6 */
#themeNameBox.theme6 {
  font-family: "GangwonEdu_OTFBoldA";
}
/* 메인 */
.theme-6-wrap.theme-main {
  position: relative;
  background: url("/assets/tool/img/theme_new/theme6_main_bg.png") center top no-repeat;
  background-size: 500px;
}
.theme-6-wrap .theme-main-box .main-brgr-txt {
  margin: 0;
  padding: 80px 30px 30px;
  gap: 20px;
}
.theme-6-wrap .theme-main-box .main-brgr-txt span {
  font-size: 24px;
}
.theme-6-wrap .theme-main-box .main-brgr-txt span.p_dot3 {
  font-size: 14px;
}
.theme-6-wrap .theme-fix-img {
  width: calc(100% - 40px);
  margin: auto;
}
.theme-6-wrap .theme-fix-img > img {
  width: 100%;
}
.theme-6-wrap .main-txt-wrap{
  margin: 20px 40px 0;
}
.theme-6-wrap .main-date-txt {
  margin: 0 0 7px;
}
.theme-6-wrap .main-bg-box {
  width: 100%;
  height: 30px;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.785) 65%,
    rgba(255, 255, 255, 0.862845) 75%,
    rgba(255, 255, 255, 0.933501) 88%,
    #ffffff 100%
  );
  transform: scaleY(-1);
}

#themeNameBox.theme6 .preview-inner-wrap.preview-title {
  margin-top: 1rem;
  margin-bottom: 0;
  box-sizing: border-box;
  padding: 0 1rem;
}

/* 본문 */
#themeNameBox.theme6 .preview-title,
#themeNameBox.theme6 .preview-invi-wrap > .preview-invitation-title {
  font-size: 15px;
}
/* 아이콘 */
#themeNameBox.theme6 .preview-title::before {
  width: 42px;
  height: 42px;
  background-image: url("/assets/tool/img/theme_new/theme6_icon3.png");
}
#themeNameBox.theme6 .preview-invitation-title::before {
  background-image: url("/assets/tool/img/theme_new/theme6_icon.png");
}
#themeNameBox.theme6 .preview-inner-wrap.preview-title,
#themeNameBox.theme6 .preview-invitation-title {
  background: #fff;
  border-radius: 10px 10px 0 0;
  padding: 50px 0 20px;
}
#themeNameBox.theme6 .preview-etc-wrap > .preview-invitation-wrap {
  background: url("/assets/tool/img/theme_new/theme6_invi_bg01.png") center top no-repeat,
    url("/assets/tool/img/theme_new/theme6_invi_bg03.png") center bottom no-repeat;
  background-size: contain;
  padding: 50px 0 0;
}
#themeNameBox.theme6 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap {
  margin: 0px 20px 100px;
  padding: 20px;
  background: url("/assets/tool/img/theme_new/theme6_invitation02.png");
  background-size: cover;
  border-radius: 10px;
  position: relative;
}
#themeNameBox.theme6 .preview-invitation-message {
  box-sizing: border-box;
  padding: 60px 40px 0;
  margin: 0;
  background: #fff;
}
#themeNameBox.theme6 .preview-invitation-wrap .preview-insa-message,
#themeNameBox.theme6 .preview-invitation-wrap .preview-testimonial-message{
  box-sizing: border-box;
  padding: 0 40px;
}


#themeNameBox.theme6 .preview-invitation-cellphome {
  background: #fff;
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
  padding: 60px 30px 45px;
}
#themeNameBox.theme6 .preview-invitation-cellphome > div {
  flex-direction: column-reverse;
  flex-wrap: wrap;
  padding: 0;
  gap: 10px;
  width: 50%;
}
#themeNameBox.theme6 .preview-invitation-cellphome > div::after {
  content: "";
  width: 25px;
  height: 25px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
#themeNameBox.theme6 .preview-invitation-cellphome > .groom::after {
  background-image: url("/assets/tool/img/theme_new/theme6_invitation03.png");
}
#themeNameBox.theme6 .preview-invitation-cellphome > .bride::after {
  background-image: url("/assets/tool/img/theme_new/theme6_invitation04.png");
}
#themeNameBox.theme6 .preview-invitation-cellphome > div > p {
  flex-wrap: wrap;
  gap: 0;
}
#themeNameBox.theme6 .preview-invitation-cellphome > div > p:first-child {
  flex-direction: column;
}
#themeNameBox.theme6 .preview-invitation-cellphome > div > p:last-child {
  flex-direction: column;
}
#themeNameBox.theme6 .preview-invitation-cellphome > div > p:last-child::after {
  content: "";
  width: 0px;
  height: 10px;
  border: 0.5px dashed #999;
}
#themeNameBox.theme6 .preview-invitation-cellphome > div > p > span{
  flex-direction: column;
  align-items: center;
  gap: 0;
}
#themeNameBox.theme6 .preview-invitation-cellphome > div > p > span:first-child::after{
  display: none;
}
#themeNameBox.theme6 .preview-invitation-cellphome > div > p .parentName{
  white-space: wrap;
}
#themeNameBox.theme6 .preview-invitation-wrap .preview-invitation-cellphome p .cellphone-dot::before{
  margin: 6px auto;
}
#themeNameBox.theme6 .preview-invitation-cellphome > div > p span.rel_text {
  color: #6b0000;
}



#themeNameBox.theme6 .preview-invitation-link {
  padding: 0 0 40px;
  border-radius: 0 0 10px 10px;
  background: #fff;
}
#themeNameBox.theme6 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme,
#themeNameBox.theme6 .preview-etc-wrap > .preview-attend-wrap .btn-attend {
  width: fit-content;
  height: fit-content;
  padding: 10px 20px;
  border: 0.5px solid #333;
  border-radius: 40px;
}
#themeNameBox.theme6 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme .call-icon {
  width: 21px;
  height: 21px;
  background: url("/assets/tool/img/theme_new/theme6_icon4.png") center no-repeat;
  background-size: contain;
}
#themeNameBox.theme6 .preview-attend-wrap .btn-attend .check-icon {
  display: none;
}
#themeNameBox.theme6 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme span,
#themeNameBox.theme6 .preview-etc-wrap > .preview-attend-wrap .btn-attend span {
  color: #555;
  padding-top: 4px;
}
#themeNameBox.theme6 .invi-style-box {
  display: none;
}

/* 참석여부 */
#themeNameBox.theme6 .preview-attend-wrap {
  background: var(--theme6-pink-color1);
  padding: 70px 0;
  margin: 0 0 80px;
}
#themeNameBox.theme6 .preview-attend-wrap .preview-title {
  gap: 20px;
}
#themeNameBox.theme6 .preview-attend-wrap .preview-title::before {
  order: 2;
  width: 60px;
  height: 60px;
  background-image: url("/assets/tool/img/theme_new/theme6_icon2.png");
}
#themeNameBox.theme6 .preview-attend-wrap .preview-title h2 {
  order: 1;
}
#themeNameBox.theme6 .preview-attend-wrap .preview-title p {
  order: 3;
}

/* 갤러리 */
#themeNameBox.theme6 .preview-wrap.preview-gallery-wrap {
  /* padding: 80px 0 0; */
  padding: 0;
}
#themeNameBox.theme6 .preview-gallery-video {
  background: var(--theme6-pink-color1);
  margin: 60px 0 0;
}
/* 예식장 안내 */
#themeNameBox.theme6 .preview-weddinginfo-wrap .preview-weddinginfo-title {
  margin-top: 60px;
}

#themeNameBox.theme6 .weddinginfo-top,
#themeNameBox.theme6 .way-guide-box {
  background: var(--theme6-pink-color1);
  border-radius: 10px;
}
#themeNameBox.theme6 .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme6_icon_map.svg");
}
#themeNameBox.theme6 .weddinginfo-tellbox .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme6_icon_call.svg");
}
#themeNameBox.theme6 .way-guide.subway .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme6_icon_metro.svg");
}
#themeNameBox.theme6 .way-guide.bus .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme6_icon_bus.svg");
}
#themeNameBox.theme6 .way-guide.etc .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme6_icon_info.svg");
}
#themeNameBox.theme6 .weddinginfo-navi button {
  border: 0.5px solid #333;
  border-radius: 40px;
}
#themeNameBox.theme6 .weddinginfo-navi button span {
  padding-top: 4px;
}

/* 축의금 */
#themeNameBox.theme6 .preview-bank-wrap {
  padding: 0 0 90px;
  background: url("/assets/tool/img/theme_new/theme6_gift02.png") center #fceeea;
  background-size: 100%;
}
#themeNameBox.theme6 .preview-bank-wrap > .preview-inner-wrap {
  background: url("/assets/tool/img/theme_new/theme6_gift01.png") center 70px no-repeat;
  background-size: contain;
  margin-top: 50px;
}
#themeNameBox.theme6 .accordion-inner {
  border: none;
  background: transparent;
  border-radius: 0;
}
#themeNameBox.theme6 .accordion-box > .accordion-inner > button {
  border-radius: 10px;
  border: 1px solid #d9d9d9;
}
#themeNameBox.theme6 .accordion-box > .accordion-inner > button[aria-expanded="true"] {
  border-radius: 10px 10px 0 0;
  border: 1px solid #d9d9d9;
}
#themeNameBox.theme6 .accordion-box > .accordion-inner > button::after {
  color: #999;
}
#themeNameBox.theme6 .accordion-inner .bank {
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid #f5f5f5;
}
#themeNameBox.theme6 .bank-btn-box > button,
#themeNameBox.theme6 .bank-btn-box a {
  border: 0.5px solid #333;
  border-radius: 40px;
  color: #e4705d;
  padding-top: 4px;
}
#themeNameBox.theme6 .bank-btn-box a {
  color: #333;
}
.bank-btn-box > button::before {
  background-image: url("/assets/tool/img/theme_new/theme6_icon_copy.svg");
}
#themeNameBox.theme6 .accordion-box .accordion-inner .bank:last-child {
  padding: 20px 0;
  border-bottom: 1px solid #d9d9d9;
}
#themeNameBox.theme6 .preview-bank-title {
  padding: 60px 0 30px;
}

/* 방명록 */
#themeNameBox.theme6 .preview-wrap.preview-guestbook-wrap {
  padding: 30px 0 0;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0) 74.63%, #ffffff 95.96%), #fff8f5;
}
#themeNameBox.theme6 .preview-wrap.preview-guestbook-wrap .preview-inner-wrap {
  padding: 0;
  background: url("/assets/tool/img/theme_new/theme6_guest02.png") center bottom no-repeat;
  background-size: contain;
  border: none;
  border-radius: 0;
}
#themeNameBox.theme6 .preview-guestbook-lists-wrap {
  padding: 0 0 20px;
}
#themeNameBox.theme6 .preview-guestbook-lists > .guestbook-list {
  padding: 0 30px;
  margin: 10px 0;
}
#themeNameBox.theme6 .preview-guestbook-lists > .guestbook-list > .guestbook-list-txt {
  padding: 30px 20px 20px;
  background-color: #fff;
  border: none;
  border-radius: 10px;
  position: relative;
}
#themeNameBox.theme6 .preview-guestbook-lists > .guestbook-list > .guestbook-list-txt::before,
#themeNameBox.theme6 .preview-guestbook-lists > .guestbook-list > .guestbook-list-txt::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 12px;
  height: 12px;
  background: url("/assets/tool/img/theme_new/theme6_guest03.png") center no-repeat;
  background-size: cover;
}
#themeNameBox.theme6 .preview-guestbook-lists > .guestbook-list > .guestbook-list-txt::before {
  left: 10px;
}
#themeNameBox.theme6 .preview-guestbook-lists > .guestbook-list > .guestbook-list-txt::after {
  right: 10px;
  transform: scaleX(-1) scaleY(-1);
}
#themeNameBox.theme6 .guest-btn-box {
  order: 3;
  gap: 5px;
  opacity: 0.8;
}
#themeNameBox.theme6 .guest-contents {
  order: 1;
}
#themeNameBox.theme6 .guest-contents .content {
  padding: 0 0 5px;
  border-bottom: 1px dashed #d9d9d9;
}

#themeNameBox.theme6 .guest-name-date {
  order: 2;
}
#themeNameBox.theme6 .guest-btn-box button {
  text-indent: -1000px;
  overflow: hidden;
  width: 23px;
  height: 23px;
  background: url("/assets/tool/img/theme_new/theme_icon_del.svg") center no-repeat;
  background-size: contain;
  padding: 0;
}
#themeNameBox.theme6 .guest-btn-box button.btn-edit {
  background: url("/assets/tool/img/theme_new/theme_icon_edit.svg") center no-repeat;
}
#themeNameBox.theme6 .guestbook-list-txt .guest-name-date .name,
#themeNameBox.theme6 .guestbook-list-txt .guest-name-date .date {
  color: #999;
}
#themeNameBox.theme6 .book_btn2 {
  padding-bottom: 60px;
}
#themeNameBox.theme6 .book_btn2 a {
  border-radius: 50px;
  background-color: #fff;
  padding: 12px 30px 9px;
}
/* 모달 - 혜인 0911 */
#themeNameBox.theme6 .modal {
  font-family: "Spoqa Han Sans Neo", "Titillium Web", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #3a3a3a;
}

/*# sourceMappingURL=invitation.css.map */

/* ------------------------------------------------  theme7 테마7 */

/* 타입, 폰트 사이즈 */
#themeNameBox.theme7 {
  font-family: "KCC-Sonkeechung";
}
.theme-7-wrap {
  background: #fff;
}
.theme-7-wrap .theme-frame-box {
  position: relative;
  margin: 20px auto;
  width: 90%;
  padding-top: 176%;
  background-image: url("/assets/tool/img/theme_new/theme7_main01.png");
  background-repeat: no-repeat;
  background-size: cover;
}
.theme-7-wrap .theme-frame-cons-box {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  box-sizing: border-box;
  padding: 0 50px;
}
.theme-7-wrap .main-title-box{
  margin-top: 90px;
}
.theme-7-wrap .main-title-box::before,
.theme-7-wrap .main-title-box::after{
  content: "";
  width: 100px;
  height: 10px;
  display: block;
  margin: 30px auto;
  background: url("/assets/tool/img/theme_new/theme7_divider_03.svg") no-repeat center;
}
.theme-7-wrap .main-title-box .main-title-txt {
  font-family: "Birthstone Bounce", cursive;
  font-weight: 400;
  font-size: 50px;
  color: #3e664b;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 0;
}
.theme-7-wrap .main-brgr-txt{
  margin: 30px 0 0;
  gap: 10px;
}
.theme-7-wrap .p_name_1,
.theme-7-wrap .p_name_2 {
  font-size: 1.5em;
  color: #3e664b;
}
.theme-7-wrap .main-date-txt,
.theme-7-wrap .weddding-hall-name {
  font-family: "JejuMyeongjo";
  color: #3e664b;
  font-size: 1em;
  line-height: 1.3;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.theme-7-wrap .desc-txt {
  color: #d47c7c;
  font-size: 11px;
  font-family: "JejuMyeongjo";
  position: absolute;
  bottom: 1.8rem;
  left: 0;
  width: 100%;
  padding: 0 55px;
}

/* 초대 연락 */
#themeNameBox.theme7 .preview-invitation-title.preview-title {
  gap: 14px;
  font-size: 1.56em;
  color: #c18888;
}
#themeNameBox.theme7 .preview-invitation-title.preview-title::before {
  width: 162px;
  height: 32px;
  background-image: url("/assets/tool/img/theme_new/theme7_divider_01.png");
}
#themeNameBox.theme7 .preview-invitation-title.preview-title::after {
  width: 90px;
  height: 5.5px;
  background-image: url("/assets/tool/img/theme_new/theme7_divider_02.png");
  content: "";
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
#themeNameBox.theme7 .preview-wrap.preview-invitation-wrap {
  margin: 80px 16px 30px;
  padding-top: 0;
  font-size: 16px;
  color: #3e664b;
  line-height: 24px;
  padding-bottom: 37.5px;
  font-weight: 400;
}
#themeNameBox.theme7 .preview-wrap.preview-invitation-wrap::after {
  width: 162px;
  height: 32px;
  background-image: url("/assets/tool/img/theme_new/theme7_divider_01.png");
  content: "";
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin: 0 auto;
  transform: rotate(180deg);
}

#themeNameBox.theme7 .preview-invitation-wrap .preview-invitation-message {
  margin: 21px 0 0;
}
#themeNameBox.theme7 .preview-invitation-wrap .preview-invitation-message,
#themeNameBox.theme7 .preview-invitation-wrap .preview-insa-message,
#themeNameBox.theme7 .preview-invitation-wrap .preview-testimonial-message{
  box-sizing: border-box;
  padding: 0 40px;
}

#themeNameBox.theme7 .preview-invitation-wrap .preview-invitation-message::after {
  width: 90px;
  height: 5.5px;
  background-image: url("/assets/tool/img/theme_new/theme7_divider_02.png");
  content: "";
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin: 32px auto 0;
}
#themeNameBox.theme7 .preview-message-wrap p {
  font-size: 17px;
}




#themeNameBox.theme7 .preview-invitation-cellphome {
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  padding: 45px 0;
  font-family: "JejuMyeongjo";
}
#themeNameBox.theme7 .preview-invitation-cellphome > div {
  flex-direction: column-reverse;
  flex-wrap: wrap;
  padding: 0;
  gap: 10px;
  width: 40%;
}
#themeNameBox.theme7 .preview-invitation-cellphome > div::after {
  content: "";
  width: 25px;
  height: 25px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
#themeNameBox.theme7 .preview-invitation-cellphome > div.groom{
  padding-bottom: 0;
}

#themeNameBox.theme7 .preview-invitation-cellphome > .groom::after {
  background-image: url("/assets/tool/img/theme_new/theme6_invitation03.png");
}
#themeNameBox.theme7 .preview-invitation-cellphome > .bride::after {
  background-image: url("/assets/tool/img/theme_new/theme6_invitation04.png");
}


#themeNameBox.theme7 .preview-invitation-cellphome > div > p {
  flex-wrap: wrap;
  gap: 0;
  color: #e38484;
  font-size: 13px;
}
#themeNameBox.theme7 .preview-invitation-cellphome > div > p:first-child {
  flex-direction: column;
}
#themeNameBox.theme7 .preview-invitation-cellphome > div > p:first-child .parentName {
  color: #e38484;
  font-size: 13px;
}
#themeNameBox.theme7 .preview-invitation-cellphome > div > p:last-child {
  flex-direction: column;
}
#themeNameBox.theme7 .preview-invitation-cellphome > div > p:last-child::after {
  display: none;
}
#themeNameBox.theme7 .preview-invitation-cellphome > div > p > span{
  flex-direction: column;
  align-items: center;
  gap: 0;
}
#themeNameBox.theme7 .preview-invitation-cellphome > div > p > span:first-child::after{
  display: none;
}
#themeNameBox.theme7 .preview-invitation-cellphome > div > p .parentName{
  white-space: wrap;
}
#themeNameBox.theme7 .preview-invitation-wrap .preview-invitation-cellphome p .cellphone-dot::before{
  margin: 6px auto;
  background-color: #e38484;
}
#themeNameBox.theme7 .preview-invitation-cellphome > div > p span.rel_text {
  color: #e38484;
  font-size: 13px;
}
#themeNameBox.theme7 .preview-invitation-cellphome > div > p span.font-tit {
  color: #b25b5b;
  font-size: 15px;
}


#themeNameBox.theme7 .preview-invitation-link {
  padding: 0;
}
#themeNameBox.theme7 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme,
#themeNameBox.theme7 .preview-etc-wrap > .preview-attend-wrap .btn-attend {
  width: fit-content;
  height: fit-content;
  padding: 0 11px;
  border: 1px solid #dfa6a6;
  border-radius: 10px;
  height: 24px;
}
#themeNameBox.theme7 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme .call-icon {
  width: 17px;
  height: 24px;
  background: url("/assets/tool/img/theme_new/theme6_icon4.png") center top 1px no-repeat;
  background-size: contain;
}
#themeNameBox.theme7 .preview-attend-wrap .btn-attend .check-icon {
  display: none;
}
#themeNameBox.theme7 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme span,
#themeNameBox.theme7 .preview-etc-wrap > .preview-attend-wrap .btn-attend span {
  color: #8b6161;
  font-family: "JejuMyeongjo";
  font-size: 13px;
  line-height: 21px;
}

#themeNameBox.theme7 .preview-etc-wrap .preview-attend-wrap {
  background: #fff6f6;
  padding: 35px 0 26px;
  color: #3e664b;
}
#themeNameBox.theme7 .preview-etc-wrap .preview-attend-wrap .preview-title {
  padding-bottom: 21px;
  gap: 0;
}
#themeNameBox.theme7 .preview-etc-wrap .preview-attend-wrap .preview-title::before {
  display: none;
}
#themeNameBox.theme7 .preview-etc-wrap .preview-attend-wrap .preview-title h2 {
  font-size: 25px;
  font-weight: 400;
  color: #c18888;
}
#themeNameBox.theme7 .preview-etc-wrap .preview-attend-wrap .preview-title h2::after {
  width: 90px;
  height: 5.5px;
  background: url("/assets/tool/img/theme_new/theme7_divider_02.png") no-repeat center;
  content: "";
  display: block;
  background-size: contain;
  margin: 7px auto 0;
}
#themeNameBox.theme7 .preview-etc-wrap .preview-attend-wrap .preview-title p {
  padding: 0;
  margin: 0;
  font-size: 17px;
  line-height: 20px;
  font-weight: 400;
}
#themeNameBox.theme7 .preview-etc-wrap .preview-attend-wrap .preview-title p:before {
  width: 40px;
  height: 40px;
  background: url("/assets/tool/img/theme_new/theme7_icon_01.png") no-repeat center;
  content: "";
  display: block;
  background-size: contain;
  margin: 22px auto 15px;
}
#themeNameBox.theme7 .preview-etc-wrap .preview-attend-wrap .preview-title::after {
  display: none;
}
#themeNameBox.theme7 .preview-wrap.preview-gallery-wrap {
  padding: 48px 0 0;
}
#themeNameBox.theme7 .preview-title {
  gap: 4.21px;
  margin-bottom: 0;
}
#themeNameBox.theme7 .preview-title h2 {
  font-size: 25px;

  line-height: 31px;
  color: #c18888;
  font-weight: 400;
}
/* 예식일시(캘린더 타이틀) h2 만 22px — 다른 섹션 타이틀 25px 는 유지 */
#themeNameBox.theme7 .preview-calendar-title h2,
#themeNameBox.theme7 .preview-calendar-title h2.font-tit {
  font-size: 22px;
}
#themeNameBox.theme7 .preview-title:before {
  width: 34.73px;
  height: 27.35px;
  background-image: url(/assets/tool/img/theme_new/theme7_icon_02.png);
}
#themeNameBox.theme7 .preview-title::after {
  width: 90px;
  height: 5.5px;
  background: url("/assets/tool/img/theme_new/theme7_divider_02.png") no-repeat center;
  content: "";
  display: block;
  background-size: contain;
  margin: 3px auto 0;
}

#themeNameBox.theme7 .preview-gallery-text {
  font-size: 13px;
  font-family: "JejuMyeongjo";
  color: #585858;
  margin-top: 10px;
}

#themeNameBox.theme7 .preview-gallery-video {
  /*padding: 42px 67px 45px;*/
  background: #fff6f6;
  margin: 41px 0 0 0;
}
/* 예식장 안내 */
#themeNameBox.theme7 .preview-weddinginfo-wrap {
  padding: 44.27px 0 0 0;
}
#themeNameBox.theme7 .preview-weddinginfo-wrap .preview-title {
  padding-bottom: 23.49px;
}
#themeNameBox.theme7 .weddinginfo-top,
#themeNameBox.theme7 .way-guide-box {
  background: #fff6f6;
  border-radius: 10px;
  margin: 0 7px;
}

#themeNameBox.theme7 .weddinginfo-top {
  padding: 20px 28px 20px 35px;
  font-family: 'JejuMyeongjo';
}
#themeNameBox.theme7 .weddinginfo-icon {
  width: 18px;
  height: 15px;
  background-image: url(/assets/tool/img/theme_new/theme7_icon_map.png);
  background-size: contain;
}
#themeNameBox.theme7 .weddinginfo-icon-box .weddinginfo-icon {
  margin-top: 4px;
}
#themeNameBox.theme7 .weddinginfo-tellbox .weddinginfo-icon {
  width: 18px;
  height: 15px;
  background-image: url(/assets/tool/img/theme_new/theme7_icon_call.png);
  background-size: contain;
}
#themeNameBox.theme7 .subway .weddinginfo-icon {
  width: 18px;
  height: 15px;
  background-image: url(/assets/tool/img/theme_new/theme7_icon_metro.svg);
  background-size: contain;
}
#themeNameBox.theme7 .bus .weddinginfo-icon {
  width: 18px;
  height: 15px;
  background-image: url(/assets/tool/img/theme_new/theme7_icon_bus.svg);
  background-size: contain;
}
#themeNameBox.theme7 .etc .weddinginfo-icon {
  width: 18px;
  height: 15px;
  background-image: url(/assets/tool/img/theme_new/theme7_icon_info.svg);
  background-size: contain;
}
#themeNameBox.theme7 .weddinginfo-navi {
  gap: 6px;
  margin: 0 19px;
  padding: 24px 0 39px;
}
#themeNameBox.theme7 .weddinginfo-navi button {
  border-color: #dfa6a6;
  border-radius: 10px;
  height: 24px;
  font-size: 13px;
  font-family: "JejuMyeongjo";
  color: #8b6161;
  gap: 3px;
  padding: 0;
}
#themeNameBox.theme7 .weddinginfo-navi button::before {
  width: 16px;
  height: 16px;
}
#themeNameBox.theme7 .weddinginfo-navi button span {
  padding-top: 2px;
}
#themeNameBox.theme7 .way-guide-box {
  padding: 9.5px 18px;
  gap: 0;
}
#themeNameBox.theme7 .way-guide-box > .way-guide {
  border-color: #f8e4e4;
  padding: 10px 30px;
  gap: 10px;
}
#themeNameBox.theme7 .way-guide-box > .way-guide:last-child {
  border-bottom: 0;
}
#themeNameBox.theme7 .way-guide-box > .way-guide > .way-title {
  font-size: 15px;
  color: #3e664b;
}

#themeNameBox.theme7 .preview-weddinginfo-wrap .way-content {
  font-family: "JejuMyeongjo";
  color: #5a5a5a;
  font-size: 1em;
}

/* 축의금 */
#themeNameBox.theme7 .preview-wrap.preview-bank-wrap .preview-title {
  padding-bottom: 64px;
}
#themeNameBox.theme7 .accordion-box > .accordion-inner {
  border: 1px solid #dfa6a6;
  border-radius: 10px;
  padding: 20px 0 0;
  margin-bottom: 90px;
}

#themeNameBox.theme7 .accordion-inner .bank > .bank-info .name{
  color: #c18888;
}

#themeNameBox.theme7 .accordion-box > .accordion-inner:last-child {
  margin-bottom: 63px;
}
#themeNameBox.theme7 .accordion-box > .accordion-inner > button {
  font-size: 20px;
  line-height: 24px;
  color: #3e664b;
  justify-content: center;
  flex-direction: column;
  gap: 4.21px;
  padding: 0 0 10px;
}
#themeNameBox.theme7 .accordion-box > .accordion-inner > button::after {
  width: 90px;
  height: 5.5px;
  background-image: url("/assets/tool/img/theme_new/theme7_divider_02.png");
  content: "";
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
#themeNameBox.theme7 .accordion-box > .accordion-inner > button[aria-expanded="true"] {
  border-bottom: none;
}
#themeNameBox.theme7 .accordion-inner .bank > .bank-info {
  font-size: 1em;
  font-family: "JejuMyeongjo";
  color: #5a5a5a;
  padding: 0 20px;
}
#themeNameBox.theme7 .accordion-inner .bank > .bank-info p {
  margin-bottom: 0;
  line-height: 20px;
}
#themeNameBox.theme7 .bank-btn-box {
  padding: 12px 20px 0;
}
#themeNameBox.theme7 .bank-btn-box > button,
#themeNameBox.theme7 .bank-btn-box a {
  font-family: "JejuMyeongjo";
  font-size: 13px;
  color: #8b6161;
  height: 24px;
  border-color: #dfa6a6;
  border-radius: 10px;
  width: auto;
  padding: 0 10px;
}
#themeNameBox.theme7 .bank-btn-box .bank-icon {
  width: 25px;
  height: 15px;
}
#themeNameBox.theme7 .bank-btn-box .kakaopay {
  flex: 1;
}
#themeNameBox.theme7 .accordion-inner .bank {
  border-color: #fcd8d8;
  margin: 0 20px;
  padding-bottom: 20px;
  border-bottom: 0;
}

/* 방명록 */

#themeNameBox.theme7 .preview-wrap.preview-guestbook-wrap {
  background: #fff6f6;
  padding: 26px 18px 80px;
}
#themeNameBox.theme7 .preview-wrap.preview-guestbook-wrap .preview-inner-wrap {
  padding: 0;
  background-color: transparent;
  border: none;
}
#themeNameBox.theme7 .preview-title.preview-guestbook-title {
  padding: 0 0 21px;
}
#themeNameBox.theme7 .preview-guestbook-lists {
  padding-bottom: 21px;
}
#themeNameBox.theme7 .preview-guestbook-lists > .guestbook-list > .guestbook-list-txt {
  padding: 10px 13px 10px 17px;
  border: 1px solid #fcd8d8;
  border-radius: 10px;
  margin-top: 12px;
  font-family: "JejuMyeongjo";
  position: relative;
  flex-direction: column-reverse;
  gap: 0;
}
#themeNameBox.theme7 .guestbook-list-txt .guest-contents .content {
  font-size: 13px;
  color: #5a5a5a;
  padding-top: 13px;
}
#themeNameBox.theme7 .guest-name-date {
  border-bottom: 1px solid #fcd8d8;
  padding-right: 50px;
  padding-bottom: 8.5px;
  justify-content: flex-start;
}
#themeNameBox.theme7 .guestbook-list-txt .guest-name-date .name {
  font-size: 13px;
  color: #b27575;
}
#themeNameBox.theme7 .guestbook-list-txt .guest-name-date .date {
  font-size: 13px;
  color: #b27575;
  margin-left: 10px;
}
#themeNameBox.theme7 .guest-btn-box {
  position: absolute;
  top: 10px;
  right: 10px;
  gap: 2px;
}
#themeNameBox.theme7 .guest-btn-box button {
  text-indent: -999999px;
  font-size: 0;
  color: transparent;
  width: 19px;
  height: 19px;
  border: 1px solid #dfa6a6;
  border-radius: 5px;
  padding: 0;
  background: url("/assets/tool/img/theme_new/theme7_icon_del.svg") no-repeat center;
}
#themeNameBox.theme7 .guest-btn-box button.btn-delete {
  background: url("/assets/tool/img/theme_new/theme7_icon_del.svg") no-repeat center;
}
#themeNameBox.theme7 .guest-btn-box button.btn-edit {
  background: url("/assets/tool/img/theme_new/theme7_icon_edit.svg") no-repeat center;
}
#themeNameBox.theme7 .book_btn2 a {
  font-family: "JejuMyeongjo";
  font-size: 0.81em;
  color: #8b6161;
  height: 24px;
  border-color: #dfa6a6;
  border-radius: 10px;
  padding: 0 10px;
  font-size: 13px;
  line-height: 22px;
  background: #fff;
}
/* ------------------------------------------------  theme8 테마8 */

/* 타입, 폰트 사이즈 */
#themeNameBox.theme8 {
  font-family: "KCC-Sonkeechung";
}
.theme-8-wrap {
  background: #fff;
}
.theme-8-wrap .theme-frame-box {
  position: relative;
  margin: 0 auto;
  width: 100%;
  padding-top: 192.3%;
  background-image: url("/assets/tool/img/theme_new/theme8_main01.png");
  background-repeat: no-repeat;
  background-size: cover;
}
.theme-8-wrap .theme-frame-cons-box {
  width: 100%;
  position: absolute;
  left: 0;
  top: 430px;
  box-sizing: border-box;
  padding: 0 20px;
}
.theme-8-wrap .main-txt-wrap {
  padding: 0 30px;
}
.theme-8-wrap .main-title-txt {
  font-family: "Birthstone Bounce", cursive;
  font-weight: 400;
  font-size: 36px;
  color: #7b4f4e;
  width: 100%;
  margin-bottom: 30px;
}
.theme-8-wrap .main-brgr-txt{
  margin-bottom: 30px;
}
.theme-8-wrap .main-brgr-txt span {
  font-family: "KCC-Sonkeechung";
  font-size: 1.4em;
  color: #7b4f4e;
}
.theme-8-wrap .main-date-txt,
.theme-8-wrap .weddding-hall-name {
  font-family: "NanumBarunpen";
  transform: rotate(0.03deg);
  color: #7b4f4e;
  font-size: 1.14em;
  line-height: 1.3;
}


/* 초대 연락 */
#themeNameBox.theme8 .preview-etc-wrap > .preview-invitation-wrap {
  padding: 46px 0 40px;
}
#themeNameBox.theme8 .preview-invitation-title.preview-title {
  gap: 18px;
}
#themeNameBox.theme8 .preview-invitation-title.preview-title h2 {
  font-size: 28px;
  color: #7b4f4e;
  font-weight: 400;
}
#themeNameBox.theme8 .preview-invitation-title.preview-title::before {
  width: 62.5px;
  height: 87px;
  background-image: url("/assets/tool/img/theme_new/theme8_divider_01.svg");
}
#themeNameBox.theme8 .preview-invitation-wrap .preview-invitation-message {
  margin: 34px 0 0;
}
#themeNameBox.theme8 .preview-invitation-wrap .preview-invitation-message,
#themeNameBox.theme8 .preview-invitation-wrap .preview-insa-message,
#themeNameBox.theme8 .preview-invitation-wrap .preview-testimonial-message{
  box-sizing: border-box;
  padding: 0 60px;
}

#themeNameBox.theme8 .preview-invitation-wrap {
  font-family: "NanumBarunpen";
  transform: rotate(0.03deg);
}
#themeNameBox.theme8 .preview-invitation-wrap .preview-invitation-message p {
  font-family: "NanumBarunpen";
  transform: rotate(0.03deg);
  font-size: 17px;
  color: #676767;
}
#themeNameBox.theme8 .preview-invitation-wrap .preview-invitation-cellphome {
  padding: 50px 20px 40px;
  gap: 20px;
}
#themeNameBox.theme8 .preview-invitation-cellphome > div.groom{
  padding-bottom: 0;
}


#themeNameBox.theme8 .preview-invitation-cellphome > div,
#themeNameBox.theme8 .preview-invitation-cellphome > div > p,
#themeNameBox.theme8 .preview-invitation-cellphome > div > p.rel_box .rel_text {
  color: #bb6969;
}
#themeNameBox.theme8 .preview-invitation-cellphome .font-tit {
  color: #7b4f4e;
  font-weight: 400;
}
#themeNameBox.theme8 .preview-invitation-cellphome > div > p.rel_box .rel_text {
  padding-top: 10px;
  padding-left: 8px;
  width: 38px;
}

#themeNameBox.theme8 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme,
#themeNameBox.theme8 .preview-etc-wrap > .preview-attend-wrap .btn-attend,
#themeNameBox.theme8 .book_btn2 a {
  height: 28px;
  border-color: #c69b60;
  border-radius: 12px;
  border-width: 1.4px;
  width: auto;
  display: inline-block;
  font-family: "NanumBarunpen";
  transform: rotate(0.03deg);
  padding: 0 17px;
  line-height: 25px;
  position: relative;
  background: #fff;
}
#themeNameBox.theme8 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme::after,
#themeNameBox.theme8 .preview-etc-wrap > .preview-attend-wrap .btn-attend::after,
#themeNameBox.theme8 .book_btn2 a::after {
  content: "";
  width: calc(100% - 3px);
  height: 23px;
  border: 0.3px solid #c69b60;
  position: absolute;
  box-sizing: border-box;
  border-radius: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#themeNameBox.theme8 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme .call-icon {
  display: none;
}
#themeNameBox.theme8 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme span,
#themeNameBox.theme8 .preview-etc-wrap > .preview-attend-wrap .btn-attend span {
  font-size: 15px;
  color: #c69b60;
}
#themeNameBox.theme8 .preview-message-wrap p {
  font-size: 1rem;
}


/* 참석여부 */

#themeNameBox.theme8 .preview-attend-wrap {
  padding: 78px 0 75px 10px;
  background: #fef8f0 url("/assets/tool/img/theme_new/theme8_attend_bg.png") no-repeat center top;
  background-size: contain;
}
#themeNameBox.theme8 .preview-attend-title {
  gap: 11px;
  font-weight: 400;
}
#themeNameBox.theme8 .preview-attend-title h2 {
  font-size: 28px;
  line-height: 35px;
  color: #7b4f4e;
  font-weight: 400;
}
#themeNameBox.theme8 .preview-attend-title.preview-title::before {
  display: none;
}
#themeNameBox.theme8 .preview-attend-wrap .preview-title p {
  font-size: 17px;
  line-height: 23px;
  color: #494949;
  font-family: "NanumBarunpen";
  transform: rotate(0.03deg);
  width: 160px;
  word-break: keep-all;
}
#themeNameBox.theme8 .preview-title h2 {
  font-size: 28px;
  color: #7b4f4e;
  line-height: 35px;
  font-weight: 400;
}
#themeNameBox.theme8 .preview-calendar-title h2,
#themeNameBox.theme8 .preview-calendar-title h2.font-tit {
    font-size: 22px;
}
#themeNameBox.theme8 .preview-title::before {
  width: 99.5px;
  height: 15.5px;
  background-image: url("/assets/tool/img/theme_new/theme8_divider_02.png");
}
/* 갤러리 */
#themeNameBox.theme8 .preview-wrap.preview-gallery-wrap {
  padding: 64px 0 0;
}
#themeNameBox.theme8 .preview-wrap.preview-gallery-wrap .preview-title {
  margin-bottom: 0;
}
#themeNameBox.theme8 .preview-gallery-text {
  font-size: 13px;
  font-family: "NanumBarunpen";
  transform: rotate(0.03deg);
  color: #636363;
  margin-top: 10px;
}
#themeNameBox.theme8 .preview-gallery-video {
  /*padding: 42px 67px 45px;*/
  background: #fef8f0;
  margin: 65px 0 0 0;
}
/* 예식장 안내 */
#themeNameBox.theme8 .preview-weddinginfo-wrap {
  padding: 57px 0 0 0;
}
#themeNameBox.theme8 .preview-weddinginfo-wrap .preview-title {
  padding-bottom: 20px;
}
#themeNameBox.theme8 .weddinginfo-top,
#themeNameBox.theme8 .way-guide-box {
  background: #fef8f0;
  border-radius: 10px;
  margin: 0 3px;
  font-size: 1.10em;
}



#themeNameBox.theme8 .weddinginfo-top {
  color: #5a5a5a;
  padding: 16px 36px 18px;
  font-family: "NanumBarunpen";
  transform: rotate(0.03deg);
}
#themeNameBox.theme8 .weddinginfo-icon {
  width: 18px;
  height: 15px;
  background-image: url(/assets/tool/img/theme_new/theme8_icon_map.svg);
  background-size: contain;
}
#themeNameBox.theme8 .weddinginfo-icon-box .weddinginfo-icon {
  margin-top: 6px;
}
#themeNameBox.theme8 .weddinginfo-tellbox .weddinginfo-icon {
  width: 18px;
  height: 15px;
  background-image: url(/assets/tool/img/theme_new/theme8_icon_call.svg);
  background-size: contain;
}
#themeNameBox.theme8 .subway .weddinginfo-icon {
  width: 18px;
  height: 15px;
  background-image: url(/assets/tool/img/theme_new/theme8_icon_metro.svg);
  background-size: contain;
}
#themeNameBox.theme8 .bus .weddinginfo-icon {
  width: 18px;
  height: 15px;
  background-image: url(/assets/tool/img/theme_new/theme8_icon_bus.svg);
  background-size: contain;
}
#themeNameBox.theme8 .etc .weddinginfo-icon {
  width: 18px;
  height: 15px;
  background-image: url(/assets/tool/img/theme_new/theme8_icon_info.svg);
  background-size: contain;
}


#themeNameBox.theme8 .weddinginfo-navi {
  gap: 6px;
  margin: 0 19px;
  padding: 24px 0 39px;
}
#themeNameBox.theme8 .weddinginfo-navi button {
  border-color: #c69b60;
  border-radius: 10px;
  height: 24px;
  font-size: 13px;
  font-family: "NanumBarunpen";
  transform: rotate(0.03deg);
  color: #c69b60;
  gap: 3px;
  padding: 0 3px 0 0;
}
#themeNameBox.theme8 .weddinginfo-navi button.tmapnavi {
  flex: initial;
  padding: 0 10px 0 7px;
}
#themeNameBox.theme8 .weddinginfo-navi button::before {
  width: 16px;
  height: 16px;
}
#themeNameBox.theme8 .weddinginfo-navi button span {
  padding-top: 2px;
}
#themeNameBox.theme8 .way-guide-box {
  padding: 9.5px 18px;
  margin-top: 19px;
  gap: 0;
}
#themeNameBox.theme8 .way-guide-box > .way-guide {
  border-color: #f2e1cb;
  padding: 10px 30px;
  gap: 8.5px;
}
#themeNameBox.theme8 .way-guide-box > .way-guide:last-child {
  border-bottom: 0;
}
#themeNameBox.theme8 .way-guide-box > .way-guide > .way-title {
  font-size: 15px;
  color: #7b4f4e;
}

#themeNameBox.theme8 .preview-weddinginfo-wrap .way-content {
  font-family: "NanumBarunpen";
  transform: rotate(0.03deg);
  color: #5a5a5a;
}
/* 축의금 */
#themeNameBox.theme8 .preview-bank-wrap {
  padding: 19px 0 40px;
}
#themeNameBox.theme8 .preview-bank-wrap > .preview-inner-wrap {
  padding: 0 34px;
}
#themeNameBox.theme8 .preview-bank-title {
  margin-bottom: 10px;
}
#themeNameBox.theme8 .accordion-box > .accordion-inner {
  box-shadow: 0px 3px 6px #00000029;
  border-radius: 10px;
  border: none;
}

#themeNameBox.theme8 .accordion-inner .bank > .bank-info .name{
  color: #7b4f4e;
  font-size: 1.10em;
}

#themeNameBox.theme8 .accordion-box > .accordion-inner > button[aria-expanded="true"] {
  border-bottom: none;
}
#themeNameBox.theme8 .accordion-box > .accordion-inner > button {
  font-size: 22px;
  line-height: 56px;
  color: #7b4f4e;
  justify-content: center;
  gap: 9.7px;
  padding: 0;
  height: 56px;
  background: #fef8f0;
}
#themeNameBox.theme8 .accordion-box > .accordion-inner > button::before,
#themeNameBox.theme8 .accordion-box > .accordion-inner > button::after {
  width: 28px;
  height: 28px;
  background: url("/assets/tool/img/theme_new/theme8_icon_01.svg") no-repeat center;
  content: "";
  display: block;
}
#themeNameBox.theme8 .accordion-box > .accordion-inner > button::before {
  transform: rotate(270deg);
}
#themeNameBox.theme8 .accordion-inner .bank > .bank-info {
  font-size: 1em;
  font-family: "NanumBarunpen";
  transform: rotate(0.03deg);
  color: #5a5a5a;
}
#themeNameBox.theme8 .accordion-inner .bank > .bank-info p {
  margin-bottom: 0;
  line-height: 20px;
}
#themeNameBox.theme8 .bank-btn-box {
  padding: 8px 13px 0;
}
#themeNameBox.theme8 .bank-btn-box > button,
#themeNameBox.theme8 .bank-btn-box a {
  font-family: "NanumBarunpen";
  transform: rotate(0.03deg);
  font-size: 13px;
  color: #c69b60;
  height: 24px;
  border-color: #c69b60;
  border-radius: 10px;
  width: auto;
  padding: 0 13px;
  gap: 5px;
}
#themeNameBox.theme8 .bank-btn-box .bank-icon {
  width: 25px;
  height: 15px;
}
#themeNameBox.theme8 .bank-btn-box .kakaopay {
  flex: 1;
}
#themeNameBox.theme8 .accordion-inner .bank {
  border-color: #f2e1cb;
  margin: 0 20px;
  padding-bottom: 20px;
}
#themeNameBox.theme8 .accordion-box > .accordion-inner > button[aria-expanded="true"] + div .bank:last-child {
  padding-bottom: 26px;
}
#themeNameBox.theme8 .bank-btn-box > button::before {
  background-image: url("/assets/tool/img/theme_new/theme8_icon_copy.svg");
  width: 13px;
  height: 13px;
  background-size: contain;
}

/* 방명록 */

#themeNameBox.theme8 .preview-wrap.preview-guestbook-wrap {
  background: #fef8f0;
  padding: 36px 34px 100px;
}
#themeNameBox.theme8 .preview-wrap.preview-guestbook-wrap .preview-inner-wrap {
  padding: 0;
  background-color: transparent;
  border: none;
}
#themeNameBox.theme8 .preview-title.preview-guestbook-title {
  padding: 0 0 33px;
}
#themeNameBox.theme8 .preview-title.preview-guestbook-title h2 {
  position: relative;
}
#themeNameBox.theme8 .preview-title.preview-guestbook-title h2::before,
#themeNameBox.theme8 .preview-title.preview-guestbook-title h2::after {
  content: "";
  display: block;
  position: absolute;
  top: 21px;
  left: -75px;
  width: 15.5px;
  height: 18px;
  background: url("/assets/tool/img/theme_new/theme8-icon_heart_l.png") no-repeat center;
  background-size: contain;
}
#themeNameBox.theme8 .preview-title.preview-guestbook-title h2::after {
  left: initial;
  right: -75px;
  background: url("/assets/tool/img/theme_new/theme8-icon_heart_r.png") no-repeat center;
  background-size: contain;
  width: 23.8px;
  height: 23.8px;
}
#themeNameBox.theme8 .preview-guestbook-lists {
  padding: 20px 16px 10px;
  background-color: #ffffff;
  border: none;
  box-shadow: 0px 3px 6px #00000029;
  border-radius: 10px;
  margin-bottom: 40px;
  position: relative;
}
#themeNameBox.theme8 .preview-guestbook-lists::before {
  content: "";
  width: 137px;
  height: 15.5px;
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  background: url("/assets/tool/img/theme_new/theme8_divider_03.png") no-repeat center;
  background-size: 100%;
}
#themeNameBox.theme8 .preview-guestbook-lists .guestbook-list {
  padding: 0;
}
#themeNameBox.theme8 .preview-guestbook-lists > .guestbook-list > .guestbook-list-txt {
  padding: 10px;
  border-color: #f8e4e4;
  font-family: "NanumBarunpen";
  transform: rotate(0.03deg);
  position: relative;
  flex-direction: column-reverse;
  gap: 0;
  margin-top: 2px;
}
#themeNameBox.theme8 .preview-guestbook-lists > .guestbook-list:last-child > .guestbook-list-txt {
  border-bottom: 0;
}
#themeNameBox.theme8 .guestbook-list-txt .guest-contents .content {
  font-size: 15px;
  color: #5a5a5a;
  padding-top: 4px;
  padding-right: 44px;
  margin-bottom: 0;
  line-height: 20px;
}
#themeNameBox.theme8 .guest-name-date {
  justify-content: flex-start;
  line-height: 20px;
}
#themeNameBox.theme8 .guestbook-list-txt .guest-name-date .name {
  font-size: 15px;
  color: #b27575;
}
#themeNameBox.theme8 .guestbook-list-txt .guest-name-date .date {
  font-size: 15px;
  color: #b27575;
  margin-left: 10px;
}
#themeNameBox.theme8 .guest-btn-box {
  position: absolute;
  bottom: 10px;
  right: 0;
  gap: 2px;
}
#themeNameBox.theme8 .guest-btn-box button {
  text-indent: -999999px;
  font-size: 0;
  color: transparent;
  width: 19px;
  height: 19px;
  border: 1px solid #c69b60;
  border-radius: 5px;
  padding: 0;
  background: url("/assets/tool/img/theme_new/theme7_icon_del.svg") no-repeat center;
}
#themeNameBox.theme8 .guest-btn-box button.btn-delete {
  background: url("/assets/tool/img/theme_new/theme7_icon_del.svg") no-repeat center;
}
#themeNameBox.theme8 .guest-btn-box button.btn-edit {
  background: url("/assets/tool/img/theme_new/theme7_icon_edit.svg") no-repeat center;
}
/* ------------------------------------------------  theme8 테마9 */

/* 타입, 폰트 사이즈 */
#themeNameBox.theme9 {
  font-family: "MaruBuriSemiBold";
}
.theme-9-wrap {
  background: #fff;
}
.theme-9-wrap .theme-frame-box {
  position: relative;
  margin: 0 auto;
  width: 100%;
  padding-top: 187.9%;
  background-image: url("/assets/tool/img/theme_new/theme9_main01.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.theme-9-wrap .theme-frame-cons-box {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  box-sizing: border-box;
  padding: 0 40px;
}
.theme-9-wrap .main-title-txt {
  font-family: "Ibarra Real Nova", serif;
  font-weight: 600;
  line-height: 51px;
  font-size: 35px;
  color: #656565;
  width: 100%;
  padding: 0 20px;
  margin: 170px 0 40px;
}
.theme-9-wrap .main-txt-wrap {
  padding: 0;
}
.theme-9-wrap .main-brgr-txt{
  margin: 0;
}
.theme-9-wrap .p_name_1,
.theme-9-wrap .p_name_2 {
  font-family: "MaruBuriSemiBold";
  font-size: 1.43em;
  color: #656565;
  text-align: center;
}
.theme-9-wrap .main-brgr-txt span {
  font-size: 1.30em;
  color: #656565;
}
.theme-9-wrap .main-date-txt{
  position: relative;
  margin-top: 74px;
}
.theme-9-wrap .main-date-txt::before {
  width: 21px;
  height: 24px;
  content: "";
  display: block;
  background: url("/assets/tool/img/theme_new/theme9_main01_deco.svg") no-repeat center;
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
}
.theme-9-wrap .main-date-txt,
.theme-9-wrap .weddding-hall-name {
  color: #267a20;
  font-weight: bold;
  font-size: 1.10em;
}
.theme-9-wrap .main-date-txt{
  padding: 0 20px;
}
.theme-9-wrap .weddding-hall-name{
  padding: 0 40px;
  line-height: 1.3;
}


/* 초대 연락 */
#themeNameBox.theme9 .preview-message-wrap p {
  font-size: 15px;
  font-weight: 600;
}
#themeNameBox.theme9 .preview-etc-wrap > .preview-invitation-wrap {
  padding: 60px 0 40px;
}
#themeNameBox.theme9 .preview-invitation-title.preview-title {
  gap: 17px;
}
#themeNameBox.theme9 .preview-invitation-title.preview-title h2 {
  font-size: 20px;
  color: #656565;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
#themeNameBox.theme9 .preview-invitation-title.preview-title h2::before,
#themeNameBox.theme9 .preview-invitation-title.preview-title h2::after {
  content: "";
  display: block;
  width: 13.5px;
  height: 5px;
  background: url("/assets/tool/img/theme_new/theme9_divider_02.svg") no-repeat center;
  background-size: 100%;
}
#themeNameBox.theme9 .preview-invitation-title.preview-title::before {
  width: 31px;
  height: 31px;
  background-image: url("/assets/tool/img/theme_new/theme9_divider_01.svg");
}
#themeNameBox.theme9 .preview-invitation-wrap .preview-invitation-message,
#themeNameBox.theme9 .preview-invitation-wrap .preview-insa-message,
#themeNameBox.theme9 .preview-invitation-wrap .preview-testimonial-message{
  box-sizing: border-box;
  padding: 0 60px;
}
#themeNameBox.theme9 .preview-invitation-wrap .preview-invitation-message {
  margin: 32px 0 0;
}
#themeNameBox.theme9 .preview-invitation-wrap .preview-invitation-message p {
  font-size: 15px;
  font-weight: 600;
  color: #676767;
}
#themeNameBox.theme9 .preview-invitation-wrap .preview-invitation-cellphome {
  padding: 38.5px 20px 46px;
  gap: 10px;
}
#themeNameBox.theme9 .preview-invitation-cellphome > div.groom{
  padding-bottom: 0;
}

#themeNameBox.theme9 .preview-invitation-cellphome > div,
#themeNameBox.theme9 .preview-invitation-cellphome > div > p,
#themeNameBox.theme9 .preview-invitation-cellphome > div > p.rel_box .rel_text {
  /* font-size: 13px; */
  color: #656565;
}
#themeNameBox.theme9 .preview-invitation-cellphome .font-tit {
  color: #656565;
  font-size: 16px;
  font-weight: 600;
}
#themeNameBox.theme9 .preview-invitation-cellphome > div > p.rel_box .rel_text {
  padding: 0;
  color: #656565;
  padding-left: 8px;
  width: 38px;
}
#themeNameBox.theme9 .preview-invitation-wrap .preview-invitation-cellphome p .cellphone-dot::before {
  width: 2px;
  height: 2px;
  background-color: #656565;
}
#themeNameBox.theme9 .preview-invitation-cellphome > div > p.rel_box .rel_text {
  padding-top: 8px;
}



#themeNameBox.theme9 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme,
#themeNameBox.theme9 .preview-etc-wrap > .preview-attend-wrap .btn-attend,
#themeNameBox.theme9 .book_btn2 a {
  height: 24px;
  border-color: #599e15;
  border-radius: 10px;
  width: auto;
  display: inline-block;
  padding: 0 14px;
  line-height: 22px;
  position: relative;
  color: #fff;
  background: #599e15;
  font-size: 13px;
}
#themeNameBox.theme9 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme .call-icon {
  display: none;
}
#themeNameBox.theme9 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme span,
#themeNameBox.theme9 .preview-etc-wrap > .preview-attend-wrap .btn-attend span {
  font-size: 13px;
  color: #fff;
}
#themeNameBox.theme9 .preview-etc-wrap > .preview-attend-wrap .btn-attend span {
  font-size: 13px;
}
/* 참석여부 */

#themeNameBox.theme9 .preview-attend-wrap {
  padding: 78px 0 79px;
  background: #edf8e3 url("/assets/tool/img/theme_new/theme9_main02.jpg") no-repeat center top;
  background-size: contain;
}
#themeNameBox.theme9 .preview-attend-title {
  gap: 18px;
  font-weight: 400;
  margin-bottom: 20px;
}
#themeNameBox.theme9 .preview-attend-title h2 {
  font-size: 23px;
  line-height: 35px;
  color: #599e15;
  font-weight: 400;
}
#themeNameBox.theme9 .preview-attend-title.preview-title::before {
  display: none;
}
#themeNameBox.theme9 .preview-attend-wrap .preview-title p {
  /* font-size: 17px; */
  line-height: 21px;
  color: #494949;
  width: 160px;
  transform: rotate(0.03deg);
  word-break: keep-all;
}
#themeNameBox.theme9 .preview-title {
  gap: 10px;
}
#themeNameBox.theme9 .preview-title h2 {
  font-size: 23px;
  color: #599e15;
  line-height: 30px;
}
#themeNameBox.theme9 .preview-calendar-title h2,
#themeNameBox.theme9 .preview-calendar-title h2.font-tit {
    font-size: 19px;
}
#themeNameBox.theme9 .preview-title::before {
  width: 25px;
  height: 28px;
  background-image: url("/assets/tool/img/theme_new/theme9_divider_03.svg");
}
/* 갤러리 */
#themeNameBox.theme9 .preview-wrap.preview-gallery-wrap {
  padding: 90px 0 0;
}
#themeNameBox.theme9 .preview-wrap.preview-gallery-wrap .preview-title {
  margin-bottom: 0;
}
#themeNameBox.theme9 .preview-gallery-text {
  font-size: 13px;
  color: #636363;
  margin-top: 0px;
}
#themeNameBox.theme9 .preview-gallery-video {
  /*padding: 42px 67px 45px;*/
  background: #edf8e3;
  margin: 40px 0 0;
}
/* 예식장 안내 */
#themeNameBox.theme9 .preview-weddinginfo-wrap {
  padding: 57px 0 0 0;
  margin-top: 58px;
}
#themeNameBox.theme9 .preview-weddinginfo-wrap .preview-title {
  margin-bottom: 30px;
  padding: 0;
}
#themeNameBox.theme9 .weddinginfo-top,
#themeNameBox.theme9 .way-guide-box {
  background: #fff;
  border: 1px solid #a4c884;
  border-radius: 10px;
  margin: 0;
}


#themeNameBox.theme9 .weddinginfo-top {
  color: #5a5a5a;
  padding: 16px 30px 18px;
}
#themeNameBox.theme9 .weddinginfo-icon {
  width: 18px;
  height: 15px;
  background-image: url(/assets/tool/img/theme_new/theme9_icon_map.svg);
  background-size: contain;
}
#themeNameBox.theme9 .weddinginfo-icon-box .weddinginfo-icon {
  margin-top: 6px;
}
#themeNameBox.theme9 .weddinginfo-tellbox .weddinginfo-icon {
  width: 18px;
  height: 15px;
  background-image: url(/assets/tool/img/theme_new/theme9_icon_call.svg);
  background-size: contain;
}
#themeNameBox.theme9 .subway .weddinginfo-icon {
  width: 18px;
  height: 15px;
  background-image: url(/assets/tool/img/theme_new/theme9_icon_metro.svg);
  background-size: contain;
}
#themeNameBox.theme9 .bus .weddinginfo-icon {
  width: 18px;
  height: 15px;
  background-image: url(/assets/tool/img/theme_new/theme9_icon_bus.svg);
  background-size: contain;
}
#themeNameBox.theme9 .etc .weddinginfo-icon {
  width: 18px;
  height: 15px;
  background-image: url(/assets/tool/img/theme_new/theme9_icon_info.svg);
  background-size: contain;
}


#themeNameBox.theme9 .weddinginfo-navi {
  gap: 10px;
  margin: 0 19px;
  padding: 24px 0 39px;
  justify-content: center;
}
#themeNameBox.theme9 .weddinginfo-navi button {
  flex: initial;
  width: 30%;
  padding: 0 7px;
  border-color: #519b2d;
  border-radius: 10px;
  height: 24px;
  font-size: 15px;
  color: #fff;
  background: #519b2d;
}
#themeNameBox.theme9 .weddinginfo-navi button::before {
  display: none;
}
#themeNameBox.theme9 .weddinginfo-navi button span {
  padding-top: 2px;
}
#themeNameBox.theme9 .way-guide-box {
  padding: 9.5px 18px;
  margin-top: 19px;
  gap: 0;
}
#themeNameBox.theme9 .way-guide-box > .way-guide {
  border-color: #a4c884;
  padding: 10px 7px;
  gap: 8.5px;
}
#themeNameBox.theme9 .way-guide-box > .way-guide:last-child {
  border-bottom: 0;
}
#themeNameBox.theme9 .way-guide-box > .way-guide > .way-title {
  font-size: 15px;
  color: #599e15;
}

#themeNameBox.theme9 .preview-weddinginfo-wrap .way-content {
  color: #5a5a5a;
  font-size: 1em;
}
/* 축의금 */
#themeNameBox.theme9 .preview-bank-wrap {
  padding: 19px 0 47px;
}
#themeNameBox.theme9 .preview-bank-wrap > .preview-inner-wrap {
  padding: 0 36px;
}
#themeNameBox.theme9 .preview-bank-title {
  margin-bottom: 10px;
}

#themeNameBox.theme9 .accordion-inner .bank > .bank-info .name{
  color: #599e15;
}

#themeNameBox.theme9 .accordion-box > .accordion-inner {
  border: none;
}
#themeNameBox.theme9 .accordion-box > .accordion-inner > button[aria-expanded="true"] {
  border-bottom: none;
}
#themeNameBox.theme9 .accordion-box > .accordion-inner > button {
  display: block;
  font-size: 15px;
  height: 20px;
  text-align: left;
  line-height: 20px;
  color: #ff6600;
  padding: 0 0 0 30px;
  margin-bottom: 16px;
  background: url("/assets/tool/img/theme_new/theme9_deco_01.svg") no-repeat left top -2px;
  background-size: 20px;
}
.accordion-box > .accordion-inner > button::after {
  display: none;
}
#themeNameBox.theme9 .accordion-box > .accordion-inner > div {
  border: 1px solid #a4c884;
  border-radius: 10px;
  padding: 6px 0;
}
#themeNameBox.theme9 .accordion-inner .bank > .bank-info {
  font-size: 1em;
  color: #5a5a5a;
  padding: 0 29px;
}
#themeNameBox.theme9 .accordion-inner .bank > .bank-info p {
  margin-bottom: 0;
  line-height: 20px;
}
#themeNameBox.theme9 .bank-btn-box {
  padding: 8px 29px 0;
}
#themeNameBox.theme9 .bank-btn-box > button,
#themeNameBox.theme9 .bank-btn-box a {
  font-size: 13px;
  color: #fff;
  height: 24px;
  border: none;
  border-radius: 10px;
  width: auto;
  padding: 0 13px;
  gap: 5px;
  background: #519b2d;
}
#themeNameBox.theme9 .bank-btn-box > button::before,
#themeNameBox.theme9 .bank-btn-box a::before {
  display: none;
}
#themeNameBox.theme9 .bank-btn-box .bank-icon {
  display: none;
}
#themeNameBox.theme9 .bank-btn-box .kakaopay {
  background: #ff9c07;
}
#themeNameBox.theme9 .accordion-inner .bank {
  border-color: #a4c884;
  margin: 0 10px;
  border-bottom: 0;
  padding: 10px 0;
}
#themeNameBox.theme9 .accordion-box > .accordion-inner > button[aria-expanded="true"] + div .bank:last-child {
  padding-bottom: 10px;
}
#themeNameBox.theme9 .bank-btn-box > button::before {
  background-image: url("/assets/tool/img/theme_new/theme9_icon_copy.svg");
  width: 13px;
  height: 13px;
  background-size: contain;
}

/* 방명록 */

#themeNameBox.theme9 .preview-wrap.preview-guestbook-wrap {
  background: #edf8e3;
  padding: 33px 32px 100px;
}
#themeNameBox.theme9 .preview-wrap.preview-guestbook-wrap .preview-inner-wrap {
  padding: 0;
  background-color: transparent;
  border: none;
}
#themeNameBox.theme9 .preview-title.preview-guestbook-title {
  padding: 0 0 33px;
}
#themeNameBox.theme9 .preview-title.preview-guestbook-title h2 {
  position: relative;
}
#themeNameBox.theme9 .preview-guestbook-lists {
  padding: 8px 16px 10px;
  background-color: #ffffff;
  border: none;
  box-shadow: 0px 3px 6px #00000029;
  border-radius: 10px;
  margin-bottom: 40px;
  position: relative;
}
#themeNameBox.theme9 .preview-guestbook-lists::before,
#themeNameBox.theme9 .preview-guestbook-lists::after {
  content: "";
  width: 51px;
  height: 50px;
  position: absolute;
  top: -22px;
  left: -17px;
  background: url("/assets/tool/img/theme_new/theme9_deco_02.svg") no-repeat center;
  background-size: 100%;
}
#themeNameBox.theme9 .preview-guestbook-lists::after {
  width: 37px;
  height: 36px;
  top: 50%;
  transform: translateY(-50%);
  left: initial;
  right: -17px;
}
#themeNameBox.theme9 .preview-guestbook-lists .guestbook-list {
  padding: 0;
}
#themeNameBox.theme9 .preview-guestbook-lists > .guestbook-list > .guestbook-list-txt {
  padding: 10px;
  border-color: #a4c884;
  background: none;
  position: relative;
  flex-direction: column-reverse;
  gap: 0;
}
#themeNameBox.theme9 .preview-guestbook-lists > .guestbook-list:last-child > .guestbook-list-txt {
  border-bottom: 0;
}
#themeNameBox.theme9 .guestbook-list-txt .guest-contents .content {
  font-size: 14px;
  color: #5a5a5a;
  padding-top: 4px;
  padding-right: 44px;
  margin-bottom: 0;
  line-height: 20px;
  transform: rotate(0.03deg);
}
#themeNameBox.theme9 .guest-name-date {
  justify-content: flex-start;
  line-height: 20px;
}
#themeNameBox.theme9 .guestbook-list-txt .guest-name-date .name {
  font-size: 14px;
  color: #519b2d;
}
#themeNameBox.theme9 .guestbook-list-txt .guest-name-date .date {
  font-size: 14px;
  color: #519b2d;
  margin-left: 10px;
}
#themeNameBox.theme9 .guest-btn-box {
  position: absolute;
  bottom: 10px;
  right: 0;
  gap: 2px;
}
#themeNameBox.theme9 .guest-btn-box button {
  text-indent: -999999px;
  font-size: 0;
  color: transparent;
  width: 19px;
  height: 19px;
  border: 1px solid #a4c884;
  border-radius: 5px;
  padding: 0;
  background: url("/assets/tool/img/theme_new/theme9_icon_del.svg") no-repeat center;
}
#themeNameBox.theme9 .guest-btn-box button.btn-delete {
  background: url("/assets/tool/img/theme_new/theme9_icon_del.svg") no-repeat center;
}
#themeNameBox.theme9 .guest-btn-box button.btn-edit {
  background: url("/assets/tool/img/theme_new/theme9_icon_edit.svg") no-repeat center;
}
/* ------------------------------------------------  theme10 테마10 */

/* 타입, 폰트 사이즈 */
#themeNameBox.theme10 {
  font-family: "AlibabaSansKR";
}
.theme-10-wrap {
  background: #fff;
}


.theme-10-wrap .theme-frame-box {
  position: relative;
  margin: 0 auto;
  width: 100%;
  padding-top: 192.8%;
  background-image: url("/assets/tool/img/theme_new/theme10_main01.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.theme-10-wrap .theme-frame-cons-box {
  width: 100%;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-45%);
  box-sizing: border-box;
  padding: 0 60px;
}
.theme-10-wrap .main-title-txt {
  line-height: 38px;
  font-size: 30px;
  color: #a36133;
  width: 100%;
  padding: 0 55px;
  text-align: center;
  letter-spacing: 7.71px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.theme-10-wrap .main-title-txt::after {
  display: block;
  content: "";
  width: 1px;
  height: 30px;
  background: #a36133;
}
.theme-10-wrap .main-txt-wrap {
  padding: 0;
  margin: 30px 0 0;
}
.theme-10-wrap .main-brgr-txt{
  margin: 0 0 30px;
}
.theme-10-wrap .main-brgr-txt span {
  font-size: 1.2em;
  color: #a36133;
}
.theme-10-wrap .main-date-txt{
  margin: 0 0 10px;
}
.theme-10-wrap .main-date-txt,
.theme-10-wrap .weddding-hall-name {
  color: #a36133;
  font-size: 1em;
  line-height: 1.3;
}


/* 초대 연락 */
#themeNameBox.theme10 .preview-etc-wrap > .preview-invitation-wrap {
  padding: 44px 28px 47px;
  background: #fbf8f1;
}
#themeNameBox.theme10 .preview-invitation-title.preview-title {
  gap: 17px;
}
#themeNameBox.theme10 .preview-invitation-title.preview-title h2 {
  font-size: 23px;
  color: #a36133;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-weight: 400;
}
#themeNameBox.theme10 .preview-invitation-title.preview-title::before {
  width: 17px;
  height: 27px;
  background-image: url("/assets/tool/img/theme_new/theme10_divider_01.svg");
}

#themeNameBox.theme10 .preview-message-wrap p {
  font-size: 17px;
}
#themeNameBox.theme10 .preview-message-wrap.preview-insa-message,
#themeNameBox.theme10 .preview-message-wrap.preview-testimonial-message,
#themeNameBox.theme10 .preview-invitation-wrap .preview-invitation-message {
  margin: 32px 0 0;
  position: relative;
  padding: 60px 10px 30px;
}
#themeNameBox.theme10 .preview-message-wrap.preview-insa-message::before,
#themeNameBox.theme10 .preview-message-wrap.preview-testimonial-message::before,
#themeNameBox.theme10 .preview-invitation-wrap .preview-invitation-message::before {
  width: 100%;
  height: calc(100% + 200px);
  content: "";
  background: #ffffff 0% 0% no-repeat padding-box;
  box-shadow: 0px 3px 6px #00000029;
  border-radius: 14px;
  position: absolute;
  top: 0;
  left: 0;
}
#themeNameBox.theme10 .preview-message-wrap.preview-invitation-message::before{
  height: calc(100% + 170px);
}
#themeNameBox.theme10 .preview-message-wrap.preview-insa-message p,
#themeNameBox.theme10 .preview-message-wrap.preview-testimonial-message p,
#themeNameBox.theme10 .preview-invitation-wrap .preview-invitation-message p {
  font-size: 17px;
  color: #676767;
  padding: 0 34px;
  position: relative;
  z-index: 10;
  font-family: "NanumBarunpen";
  transform: rotate(0.03deg);
}
#themeNameBox.theme10 .preview-invitation-wrap .preview-invitation-cellphome {
  padding: 13px 0 90px;
  position: relative;
  z-index: 10;
  gap: 14px;
}
#themeNameBox.theme10 .preview-invitation-cellphome > div{
  padding: 0 20px;
}

#themeNameBox.theme10 .preview-invitation-cellphome > div,
#themeNameBox.theme10 .preview-invitation-cellphome > div > p,
#themeNameBox.theme10 .preview-invitation-cellphome > div > p.rel_box .rel_text {
  font-size: 13px;
  color: #d08959;
}
#themeNameBox.theme10 .preview-invitation-cellphome > div > p.rel_box .rel_text {
  line-height: 1;
  padding-top: 11px;
  padding-left: 10px;
  width: 36px;
}
#themeNameBox.theme10 .preview-invitation-cellphome .font-tit {
  color: #a36133;
  font-size: 1.3em;
  font-weight: 400;
}
#themeNameBox.theme10 .preview-invitation-wrap .preview-invitation-cellphome p .cellphone-dot::before {
  width: 1px;
  height: 1px;
  background-color: #d08959;
}
#themeNameBox.theme10 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme span,
#themeNameBox.theme10 .preview-etc-wrap > .preview-attend-wrap .btn-attend span {
  font-size: 13px;
  font-weight: bold;
  color: #5f371b;
}
#themeNameBox.theme10 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme,
#themeNameBox.theme10 .preview-etc-wrap > .preview-attend-wrap .btn-attend {
  height: 42px;
  border: none;
  font-size: 15px;
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: #5f371b;
}
#themeNameBox.theme10 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme {
  background-image: url("/assets/tool/img/theme_new/theme10_btn_01.png");
}
#themeNameBox.theme10 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme .call-icon {
  display: none;
}

/* 참석여부 */

#themeNameBox.theme10 .preview-attend-wrap {
  padding: 69px 20px 0;
  background: #ffff;
}
#themeNameBox.theme10 .preview-attend-wrap .preview-inner-wrap {
  background: #ffff url("/assets/tool/img/theme_new/theme10_main02.jpg") no-repeat center top;
  background-size: 100% 100%;
  padding: 40px 0 30px;
}
#themeNameBox.theme10 .preview-attend-title {
  gap: 18px;
  font-weight: 400;
  margin-bottom: 20px;
}
#themeNameBox.theme10 .preview-attend-title h2 {
  font-size: 23px;
  line-height: 35px;
  color: #a36133;
  font-weight: 400;
}
#themeNameBox.theme10 .preview-attend-title.preview-title::before {
  display: none;
}
#themeNameBox.theme10 .preview-attend-wrap .preview-title p {
  font-size: 17px;
  line-height: 21px;
  color: #494949;
  width: 160px;
  transform: rotate(0.03deg);
  word-break: keep-all;
}
#themeNameBox.theme10 .preview-etc-wrap > .preview-attend-wrap .btn-attend .check-icon {
  display: none;
}
#themeNameBox.theme10 .preview-etc-wrap > .preview-attend-wrap .btn-attend {
  background-image: url("/assets/tool/img/theme_new/theme10_btn_02.png");
}
#themeNameBox.theme10 .preview-title {
  gap: 12px;
}
#themeNameBox.theme10 .preview-title h2 {
  font-size: 23px;
  color: #a36133;
  line-height: 35px;
  font-weight: 400;
}
#themeNameBox.theme10 .preview-calendar-title h2,
#themeNameBox.theme10 .preview-calendar-title h2.font-tit {
    font-size: 19px;
}
#themeNameBox.theme10 .preview-title::before {
  width: 16.5px;
  height: 27px;
  background-image: url("/assets/tool/img/theme_new/theme10_divider_03.svg");
}
/* 갤러리 */

#themeNameBox.theme10 .preview-wrap.preview-gallery-wrap {
  padding: 60px 0 0;
}
#themeNameBox.theme10 .preview-wrap.preview-gallery-wrap .preview-title {
  margin-bottom: 0;
}
#themeNameBox.theme10 .preview-gallery-text {
  font-size: 15px;
  color: #636363;
  margin-top: 10px;
  font-family: "NanumBarunpen";
  transform: rotate(0.03deg);
}
#themeNameBox.theme10 .preview-gallery-video {
  /*padding: 42px 67px 45px;*/
  background: #fbf8f1;
  margin: 48px 0 0;
}
/* 예식장 안내 */
#themeNameBox.theme10 .preview-weddinginfo-wrap {
  margin-top: 58px;
}
#themeNameBox.theme10 .preview-weddinginfo-wrap > .preview-inner-wrap {
  padding: 0;
}
#themeNameBox.theme10 .preview-weddinginfo-wrap .preview-title {
  margin-bottom: 13px;
  padding: 0;
}
#themeNameBox.theme10 .preview-weddinginfo-wrap .preview-title::before {
  display: none;
}
#themeNameBox.theme10 .weddinginfo-top,
#themeNameBox.theme10 .way-guide-box {
  background: transparent;
}
#themeNameBox.theme10 .weddinginfo-top {
  font-family: 'NanumBarunpen';
  transform: rotate(0.03deg);
  color: #5a5a5a;
  font-size: 1.1em;
  display: flex;
  justify-content: center;
  width: 100%;
  aspect-ratio: 40 / 27;
  padding: 30px 45px;
  background: url("/assets/tool/img/theme_new/theme10_main03.jpg") no-repeat center top;
  background-size: calc(100% - 40px) auto;
}
#themeNameBox.theme10 .weddinginfo-icon {
  width: 18px;
  height: 15px;
  background-image: url(/assets/tool/img/theme_new/theme10_icon_map.svg);
  background-size: contain;
}
#themeNameBox.theme10 .weddinginfo-icon-box .weddinginfo-icon {
  margin-top: 4px;
}
#themeNameBox.theme10 .weddinginfo-tellbox .weddinginfo-icon {
  width: 18px;
  height: 15px;
  background-image: url(/assets/tool/img/theme_new/theme10_icon_call.svg);
  background-size: contain;
}
#themeNameBox.theme10 .subway .weddinginfo-icon {
  width: 18px;
  height: 15px;
  background-image: url(/assets/tool/img/theme_new/theme10_icon_metro.svg);
  background-size: contain;
}
#themeNameBox.theme10 .bus .weddinginfo-icon {
  width: 18px;
  height: 15px;
  background-image: url(/assets/tool/img/theme_new/theme10_icon_bus.svg);
  background-size: contain;
}
#themeNameBox.theme10 .etc .weddinginfo-icon {
  width: 18px;
  height: 15px;
  background-image: url(/assets/tool/img/theme_new/theme10_icon_info.svg);
  background-size: contain;
}


#themeNameBox.theme10 .weddinginfo-navi {
  gap: 10px;
  margin: 0 39px;
  padding: 60px 0;
  justify-content: center;
}
#themeNameBox.theme10 .weddinginfo-navi button {
  flex: initial;
  border: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  height: 40px;
}
#themeNameBox.theme10 .weddinginfo-navi button.kakaonavi {
  background-image: url("/assets/tool/img/theme_new/theme10_btn_03.png");
  width: 99px;
}
#themeNameBox.theme10 .weddinginfo-navi button.navernavi {
  background-image: url("/assets/tool/img/theme_new/theme10_btn_03.png");
  width: 99px;
}
#themeNameBox.theme10 .weddinginfo-navi button.tmapnavi {
  background-image: url("/assets/tool/img/theme_new/theme10_btn_05.png");
  width: 63px;
}
#themeNameBox.theme10 .weddinginfo-navi button::before {
  display: none;
}
#themeNameBox.theme10 .weddinginfo-navi button span {
  font-size: 13px;
  color: #5f371b;
  font-weight: bold;
}
#themeNameBox.theme10 .weddinghall-map-wrap .map-wrap,
#themeNameBox.theme10 .weddinghall-map-wrap .mapCon {
  padding: 0 20px;
}
#themeNameBox.theme10 .way-guide-box {
  padding: 9.5px 50px;
  gap: 0;
  background: #fbf8f1;
}
#themeNameBox.theme10 .way-guide-box > .way-guide {
  border-color: #ecc7ae;
  padding: 10px 20px;
  gap: 8.5px;
}
#themeNameBox.theme10 .way-guide-box > .way-guide:last-child {
  border-bottom: 0;
}
#themeNameBox.theme10 .way-guide-box > .way-guide > .way-title {
  font-size: 15px;
  color: #a36133;
}

#themeNameBox.theme10 .preview-weddinginfo-wrap .way-content {
  color: #5a5a5a;
  font-size: 1.1em;
  font-family: "NanumBarunpen";
  transform: rotate(0.03deg);
}
/* 축의금 */
#themeNameBox.theme10 .preview-bank-wrap {
  padding: 19px 0 47px;
}
#themeNameBox.theme10 .preview-bank-wrap > .preview-inner-wrap {
  padding: 0 36px;
}
#themeNameBox.theme10 .preview-bank-title {
  margin-bottom: 10px;
}
#themeNameBox.theme10 .accordion-box > .accordion-inner {
  border: none;
}
#themeNameBox.theme10 .accordion-box > .accordion-inner > button[aria-expanded="true"] {
  border-bottom: none;
  margin-bottom: 21px;
}
#themeNameBox.theme10 .accordion-box > .accordion-inner > button {
  display: block;
  font-size: 18px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  color: #ff7777;
  padding: 0;
  margin-bottom: 16px;
}
#themeNameBox.theme10 .accordion-box > .accordion-inner > button span {
  background: url("/assets/tool/img/theme_new/theme10_divider_02.svg") no-repeat center;
  background-size: 100%;
  padding: 0 27px;
}
.accordion-box > .accordion-inner > button::after {
  display: none;
}
#themeNameBox.theme10 .accordion-box > .accordion-inner > div {
  border: 1px solid #efddc5;
  border-radius: 10px;
  padding: 6px 0;
}
#themeNameBox.theme10 .accordion-inner .bank > .bank-info {
  font-size: 1.1em;
  color: #5a5a5a;
  padding: 0 29px;
  font-family: "NanumBarunpen";
  transform: rotate(0.03deg);
}
#themeNameBox.theme10 .accordion-inner .bank > .bank-info p {
  margin-bottom: 0;
  line-height: 20px;
}

#themeNameBox.theme10 .accordion-inner .bank > .bank-info .name{
  color: #b27575;
}

#themeNameBox.theme10 .bank-btn-box {
  padding: 8px 29px 0;
}
#themeNameBox.theme10 .bank-btn-box > button span,
#themeNameBox.theme10 .bank-btn-box a span {
  font-size: 13px;
  color: #5f371b;
  font-weight: bold;
}
#themeNameBox.theme10 .bank-btn-box > button,
#themeNameBox.theme10 .bank-btn-box a {
  font-weight: bold;
  font-size: 13px;
  color: #5f371b;
  border: none;
  width: 85px;
  height: 40px;
  background: url("/assets/tool/img/theme_new/theme10_btn_06.png") no-repeat center;
  background-size: contain;
}
#themeNameBox.theme10 .bank-btn-box > button::before,
#themeNameBox.theme10 .bank-btn-box a::before {
  display: none;
}
#themeNameBox.theme10 .bank-btn-box .bank-icon {
  display: none;
}
#themeNameBox.theme10 .bank-btn-box .kakaopay {
  background: url("/assets/tool/img/theme_new/theme10_btn_07.png") no-repeat center;
  background-size: contain;
  width: 125px;
}
#themeNameBox.theme10 .accordion-inner .bank {
  border-color: #efddc5;
  margin: 0 10px;
  border-bottom: 0;
  padding: 10px 0;
}
#themeNameBox.theme10 .accordion-box > .accordion-inner > button[aria-expanded="true"] + div .bank:last-child {
  padding-bottom: 10px;
}
#themeNameBox.theme10 .bank-btn-box > button::before {
  background-image: url("/assets/tool/img/theme_new/theme10_icon_copy.svg");
  width: 13px;
  height: 13px;
  background-size: contain;
}

/* 방명록 */

#themeNameBox.theme10 .preview-wrap.preview-guestbook-wrap {
  background: #fbf8f1;
  padding: 38px 32px 100px;
}
#themeNameBox.theme10 .preview-wrap.preview-guestbook-wrap .preview-inner-wrap {
  padding: 0;
  background-color: transparent;
  border: none;
}
#themeNameBox.theme10 .preview-title.preview-guestbook-title {
  padding: 0 0 21px;
}
#themeNameBox.theme10 .preview-title.preview-guestbook-title::before {
  background-image: url("/assets/tool/img/theme_new/theme10_divider_01.svg");
}
#themeNameBox.theme10 .preview-title.preview-guestbook-title h2 {
  position: relative;
}
#themeNameBox.theme10 .preview-guestbook-lists {
  padding: 0;
  background: none;
  border: none;
  margin-bottom: 40px;
  position: relative;
}
#themeNameBox.theme10 .preview-guestbook-lists .guestbook-list {
  padding: 10px 16px;
  border: 1px solid #fcd8d8;
  border-radius: 10px;
  background: #fff;
  margin-top: 12px;
}

#themeNameBox.theme10 .preview-guestbook-lists > .guestbook-list > .guestbook-list-txt {
  padding: 10px 0;
  border: none;
  background: none;
  position: relative;
  flex-direction: column-reverse;
  gap: 0;
}
#themeNameBox.theme10 .preview-guestbook-lists > .guestbook-list:last-child > .guestbook-list-txt {
  border-bottom: 0;
}
#themeNameBox.theme10 .guestbook-list-txt .guest-contents .content {
  font-family: "NanumBarunpen";
  transform: rotate(0.03deg);
  font-size: 15px;
  color: #5a5a5a;
  padding: 9px 10px 0;
  margin-bottom: 0;
  line-height: 20px;
}
#themeNameBox.theme10 .guest-name-date {
  font-family: "NanumBarunpen";
  transform: rotate(0.03deg);
  justify-content: flex-start;
  line-height: 20px;
  padding-right: 44px;
  border-bottom: 1px solid #fcd8d8;
  padding: 0 10px 8.5px;
}
#themeNameBox.theme10 .guestbook-list-txt .guest-name-date .name {
  font-size: 15px;
  color: #b27575;
}
#themeNameBox.theme10 .guestbook-list-txt .guest-name-date .date {
  font-size: 15px;
  color: #b27575;
  margin-left: 10px;
}
#themeNameBox.theme10 .guest-btn-box {
  position: absolute;
  top: 10px;
  right: 0;
  gap: 2px;
  z-index: 10;
}
#themeNameBox.theme10 .guest-btn-box button {
  text-indent: -999999px;
  font-size: 0;
  color: transparent;
  width: 19px;
  height: 19px;
  border: 1px solid #f8e4e4;
  border-radius: 5px;
  padding: 0;
  background: url("/assets/tool/img/theme_new/theme10_icon_del.svg") no-repeat center;
}
#themeNameBox.theme10 .guest-btn-box button.btn-delete {
  background: url("/assets/tool/img/theme_new/theme10_icon_del.svg") no-repeat center;
}
#themeNameBox.theme10 .guest-btn-box button.btn-edit {
  background: url("/assets/tool/img/theme_new/theme10_icon_edit.svg") no-repeat center;
}
#themeNameBox.theme10 .book_btn2 a {
  height: 42px;
  line-height: 42px;
  border: none;
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 104px;
  padding: 0;
  text-align: center;
  font-size: 13px;
  color: #5f371b;
  font-weight: bold;
  background-image: url("/assets/tool/img/theme_new/theme10_btn_bg.png");
}

/*----------------------------------------테마11*/
/* 타입, 폰트 사이즈 */
#themeNameBox.theme11 {
  font-family: "GowunBatang-Regular";
}
#themeNameBox.theme11 h2 {
  color: #000;
  font-weight: bold;
}

/* 메인 */
.theme-4-wrap .cropper-preview {
  aspect-ratio: unset;
}
.theme-4-wrap .cropper-preview .card-img-top {
  max-height: 800px;
  /* min-height: 700px; */
  object-fit: contain;
}
.theme-4-wrap .theme-main-box .preview-theme-main {
  position: relative;
}
.theme-4-wrap .theme-main-box .preview-theme-main .main-brgr-txt {
  position: absolute;
  top: 60px;
  right: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.theme-4-wrap .theme-main-box .preview-theme-main .main-brgr-txt span{
  display:inline-block;                 /* iOS에서 위치 안정화 */
  writing-mode: vertical-rl;            /* lr → rl (iOS가 더 안정적) */
  -webkit-writing-mode: vertical-rl;
  text-orientation: upright;
  -webkit-text-orientation: upright;
  text-align:center;
  line-height: 1.15;                    /* 글자 간격은 line-height로 */
  letter-spacing: 8px;                    /* ← 제거 (틀어짐 원인) */
  text-shadow: 0 2px 4px rgba(0,0,0,.5);/* filter 대신 text-shadow */
  filter: none;                         /* ← 제거 */
  font-weight: 700;
  font-kerning: none;                   /* 추가로 흔들림 방지 */
}

.theme-4-wrap .theme-main-box .preview-theme-main .main-brgr-txt .p_dot2{
  text-orientation: mixed;              /* 슬래시(/) 가독성 */
  line-height:1;
}

/* iOS 한정 보정(선택): */
@supports (-webkit-touch-callout: none){
  .theme-4-wrap .theme-main-box .preview-theme-main .main-brgr-txt span{
    font-kerning:none;
  }
}
.theme-4-wrap .theme-main-box .preview-theme-main .theme_title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.theme-4-wrap .theme-main-box .preview-theme-main .theme_title > img {
  width: calc(100% - 30px);
  object-fit: contain;
}
/* 미리보기(왼쪽)와 편집(오른쪽) 열 사이 간격 */
@media (min-width: 1200px) {
  .inviteMain .col-left.invitation-preview {
    padding-right: 20px;
  }
  .inviteMain .col-right.edit-invitation {
    padding-left: 20px;
  }
}

/* 그레이스퀘어 Save The Date — 실제 SVG path + 핸드라이팅 애니메이션 */
.theme-4-wrap .theme_title .handwriting-svg-wrap {
  width: calc(100% - 30px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 8px 0 12px;
}
.theme-4-wrap .theme_title .handwriting-svg {
  width: 100%;
  display: block;
  overflow: visible;
  filter: drop-shadow(1px 2px 4px rgba(0,0,0,0.4)) drop-shadow(0px 1px 1px rgba(0,0,0,0.2));
}
.theme-4-wrap .theme_title .hw-letter {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}
/* 1단계: 윤곽선이 그려짐 → 2단계: 흰색으로 채워짐 */
.theme-4-wrap .theme_title .hw-letter.hw-animated {
  opacity: 1;
  -webkit-animation:
    hw-draw var(--hw-dur) ease-out var(--hw-del) forwards,
    hw-fill 0.3s ease var(--hw-fill-del) forwards;
  animation:
    hw-draw var(--hw-dur) ease-out var(--hw-del) forwards,
    hw-fill 0.3s ease var(--hw-fill-del) forwards;
}
@-webkit-keyframes hw-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes hw-draw {
  to { stroke-dashoffset: 0; }
}
@-webkit-keyframes hw-fill {
  to { fill: #fff; stroke-width: 0; }
}
@keyframes hw-fill {
  to { fill: #fff; stroke-width: 0; }
}
/* 원본 Save The Date 이미지 숨김 (SVG로 대체) */
.theme-4-wrap .theme_title > img {
  display: none !important;
}
/* 타이틀 문구: We are Getting Married (피그마 1:39568, Tangerine Bold 2줄) — 폭 축소로 우측 상단 신랑/신부명 침범 방지 */
.theme-4-wrap .theme_title .handwriting-svg-wrap.hw-gm {
  width: 65%;
  padding: 4px 0 10px;
}
/* Tangerine은 획이 가늘어 그리기 단계 윤곽선 두께를 얇게 */
.theme-4-wrap .theme_title .handwriting-svg-wrap.hw-gm .hw-letter {
  stroke-width: 1.5;
}
/* Tangerine 굵기 보강: 채움 완료 후에도 흰색 stroke(1.6)를 남겨 글자를 굵게 */
.theme-4-wrap .theme_title .handwriting-svg-wrap.hw-gm .hw-letter.hw-animated {
  -webkit-animation:
    hw-draw var(--hw-dur) ease-out var(--hw-del) forwards,
    hw-fill-gm 0.3s ease var(--hw-fill-del) forwards;
  animation:
    hw-draw var(--hw-dur) ease-out var(--hw-del) forwards,
    hw-fill-gm 0.3s ease var(--hw-fill-del) forwards;
}
@-webkit-keyframes hw-fill-gm {
  to { fill: #fff; stroke-width: 1.6; }
}
@keyframes hw-fill-gm {
  to { fill: #fff; stroke-width: 1.6; }
}

/* 타이틀 문구 선택 버튼 (그레이스퀘어 테마4 전용) */
.title-text-btn-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.title-text-btn {
  padding: 6px 12px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 12px;
  color: #666;
}
.title-text-btn:hover {
  border-color: #999;
}
.title-text-btn.active {
  border-color: #6366f1;
  background: #f0f0ff;
  color: #6366f1;
  font-weight: 600;
}
.theme-4-wrap .theme-main-box .theme_title::after {
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  /* height: 130px; */
  background: linear-gradient(
          0deg,
          rgba(255, 255, 255, 0) 0%,
          rgba(255, 255, 255, 0.785) 65%,
          rgba(255, 255, 255, 0.862845) 75%,
          rgba(255, 255, 255, 0.933501) 88%,
          #ffffff 100%
  );
  transform: rotate(-180deg);
  height: 90px;
}
.theme-4-wrap .theme-main-out {
  margin: 5px 0 0;
}
.theme-4-wrap .theme-main-out .main-txt-wrap > p > span {
  font-weight: bold;
}

.theme-4-wrap .main-txt-wrap .main-date-txt,
.theme-4-wrap .main-txt-wrap .weddding-hall-name{
  box-sizing: border-box;
  padding: 0 20px;
}

.theme-4-wrap .main-brgr-txt {
  align-items: start;
}


.theme-4-wrap .theme-main-box .preview-theme-main .main-brgr-txt span {
  writing-mode: tb;
  padding-right: 6px;
}
.theme-4-wrap .theme-main-box .preview-theme-main .main-brgr-txt span.p_dot2 {
  writing-mode: unset;
}
/* 본문 */
#themeNameBox.theme11 .preview-title,
#themeNameBox.theme11 .preview-invi-wrap > .preview-invitation-title {
  font-size: 15px;
}

/* 서브 타이틀 */
#themeNameBox.theme11 .preview-invitation-title.preview-title {
  padding: 0 0 30px;
}
#themeNameBox.theme11 .preview-gallery-title {
  padding: 0;
}

/* 아이콘 */
#themeNameBox.theme11 .preview-inner-wrap.preview-title::before {
  content: "";
  display: block;
  width: 60px;
  height: 15px;
  background-image: url("/assets/tool/img/theme_new/theme3_icon.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
#themeNameBox.theme11 .preview-title::before {
  content: "";
  display: block;
  width: 60px;
  height: 15px;
  background-image: url("/assets/tool/img/theme_new/theme3_icon02.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* 초대 연락 */
#themeNameBox.theme11 .preview-wrap.preview-invitation-wrap {
  padding: 120px 19px 80px;
}
#themeNameBox.theme11 .preview-wrap.preview-invitation-wrap .preview-inner-wrap.wrapBox {
  border: 2px solid var(--theme3-beige-color1);
  padding: 14px 7px;
  position: relative;
}
#themeNameBox.theme11 .preview-wrap.preview-invitation-wrap .preview-invi-wrap,
#themeNameBox.theme11 .preview-wrap.preview-invitation-wrap .preview-insa-wrap,
#themeNameBox.theme11 .preview-wrap.preview-invitation-wrap .preview-testimonial-wrap {
  width: 100%;
  padding: 80px 15px 0;
  background: url("/assets/tool/img/theme_new/theme3_invi_top.png") center top no-repeat;
  background-size: contain;
}
#themeNameBox.theme11 .preview-invitation-wrap .preview-invitation-message p{
  font-size: 16px;
  letter-spacing: -0.01em;

}

#themeNameBox.theme11 .preview-invitation-wrap .preview-testimonial-message p{
  letter-spacing: -0.1em;
}
#themeNameBox.theme11 .preview-invitation-cellphome{
  box-sizing: border-box;
  padding: 0 20px 20px;
}
#themeNameBox.theme11 .preview-invitation-cellphome > div > p.rel_box .rel_text {
  padding-top: 10px;
  padding-left: 8px;
  width: 38px;
}

#themeNameBox.theme11 .preview-invitation-wrap .invi-style-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  padding: 80px 15px;
}

#themeNameBox.theme11 .preview-invitation-wrap .invi-style-box p {
  width: 1px;
  height: 100%;
  background: var(--theme3-beige-color1);
  position: relative;
}

#themeNameBox.theme11 .preview-invitation-wrap .invi-style-box p::before,
#themeNameBox.theme11 .preview-invitation-wrap .invi-style-box p::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 3px;
  transform: rotate(-45deg) translateX(-1px);
  background: var(--theme3-beige-color1);
}
#themeNameBox.theme11 .preview-invitation-wrap .invi-style-box p::after {
  top: 100%;
}
#themeNameBox.theme11 .preview-invitation-cellphome .groom{
  padding-top: 20px;
}
#themeNameBox.theme11 .preview-insa-message,
#themeNameBox.theme11 .preview-testimonial-message {
  margin: 2rem;
}
#themeNameBox.theme11 .preview-inner-wrap.preview-title {
  /* margin-bottom: 0; */
  margin-bottom: 20px;
}


#themeNameBox.theme11 .bride > p,
#themeNameBox.theme11 .groom > p {
  margin: 0;
}
#themeNameBox.theme11 .preview-invitation-wrap .preview-invitation-cellphome p .cellphone-dot::before {
  content: "";
  display: block;
  width: 2px;
  height: 2px;
  background-color: #000;
  border-radius: 2px;
  /* margin: 0; */
}
#themeNameBox.theme11 .preview-invitation-cellphome > div > p.rel_box .rel_text {
  padding-top: 10px;
  padding-left: 8px;
  width: 38px;
}

.theme-4-wrap .theme_title::after,
#themeNameBox.theme11 .preview-invitation-cellphome::before {
  content: "";
  display: block;
  margin: 10px 0 0;
  width: 100%;
  height: 5px;
  background: url("/assets/tool/img/theme_new/theme3_line.png") center no-repeat;
  background-size: contain;
}

#themeNameBox.theme11 .preview-invitation-link {
  padding: 0 0 92px;
  background: url("/assets/tool/img/theme_new/theme3_invi_bottom.png") center bottom no-repeat;
  background-size: contain;
}
#themeNameBox.theme11 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme,
#themeNameBox.theme11 .preview-etc-wrap > .preview-attend-wrap .btn-attend {
  width: 237px;
  height: 58px;
  background: url("/assets/tool/img/theme_new/theme3_btn.png") center no-repeat;
  background-size: contain;
  border: none;
  border-radius: 0;
}
#themeNameBox.theme11 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme .call-icon,
#themeNameBox.theme11 .preview-attend-wrap .btn-attend .check-icon {
  display: none;
}
#themeNameBox.theme11 .preview-etc-wrap > .preview-invitation-wrap > .preview-inner-wrap .btn-contactme span,
#themeNameBox.theme11 .preview-etc-wrap > .preview-attend-wrap .btn-attend span {
  color: var(--theme3-beige-color3);
}

/* 참석 여부 */
#themeNameBox.theme11 .preview-wrap.preview-attend-wrap {

  padding: 60px 0 0 0;
}
#themeNameBox.theme11 .preview-wrap.preview-attend-wrap > .preview-inner-wrap {
  width: 100%;
  border-width: 2px 0;
  border-style: solid;
  border-color: #c9c9c9;
  padding: 65px 0;
}
#themeNameBox.theme11 .preview-title.preview-attend-title {
  padding: 0 0 40px;
  gap: 20px;
  margin: 0;
}

#themeNameBox.theme11 .preview-gallery-text{
  padding: 20px;
}
#themeNameBox.theme11 .preview-weddinginfo-title{
  padding:30px 0 40px;
}
#themeNameBox.theme11 .preview-title.preview-attend-title p {
  font-weight: normal;
}

/* 갤러리 */
#themeNameBox.theme11 .preview-wrap.preview-gallery-wrap {
  /* padding: 100px 0 30px; */
  padding: 60px 0 0;
}
#themeNameBox.theme11 .gallery-img-box {
  width: 100%;
  overflow-y: hidden;
  overflow-x: hidden;
  /*max-height: 85vh;*/
}

#themeNameBox.theme11 .gallery-img-box::-webkit-scrollbar {
  width: 5px;
  background: #ffffff; /* 트랙 색상 */
}
#themeNameBox.theme11 .gallery-img-box::-webkit-scrollbar-thumb {
  background: #d3d3d3; /* thumb 색상 */
  border-radius: 40px;

}

#themeNameBox.theme11 .preview-gallery-img {
  padding: 0 0 80px;
  background: url("/assets/tool/img/theme_new/theme3_line.png") center bottom no-repeat;
  /* background-size: calc(100% - 54px); */
  background-size: 150px;
}

#themeNameBox.theme11 .preview-gallery-img .gallery-img-box .preview-gallery-ul {
  width: fit-content;
  margin-bottom: 0;
  padding: 10px 5px 10px; /* 좌우 패딩 제거 또는 줄임 */
  box-sizing: border-box; /* 패딩이 너비에 포함되도록 */
  display: grid;
  grid-template-columns: repeat(2, 180px);
  grid-auto-flow: row;
  column-gap: 5px;
  row-gap: 5px;
  transform: translateX(0);
}
#themeNameBox.theme11 .preview-gallery-img .gallery-img-box .preview-gallery-ul .preview-gallery-li {
  width: auto;
  height: 180px;
  overflow: hidden;
}
#themeNameBox.theme11 .preview-gallery-img .gallery-img-box .preview-gallery-ul .preview-gallery-li .preview-gallery-item {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 5px;
}

#themeNameBox.theme11 .preview-gallery-video {
  /* background-color: var(--theme11-gray-color1); */
  padding: 0 20px;
  margin: 60px 0 100px;
}

#themeNameBox.theme11 .themeBtn a{
  width: 237px;
  height: 58px;
  background: url(/assets/tool/img/theme_new/theme3_btn.png) center no-repeat;
  background-size: contain;
  border: none;
  border-radius: 0;
  color: var(--theme3-beige-color3);
  font-size: 16px;
}

/* 예식장 안내 */
#themeNameBox.theme11 .weddinginfo-top,
#themeNameBox.theme11 .way-guide-box {
  background-color: var(--theme11-gray-color1);
  border-radius: 10px;
}
#themeNameBox.theme11 .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme11_icon_map.svg");
}
#themeNameBox.theme11 .weddinginfo-tellbox .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme11_icon_call.svg");
}
#themeNameBox.theme11 .way-guide.subway .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme11_icon_metro.svg");
}
#themeNameBox.theme11 .way-guide.bus .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme11_icon_bus.svg");
}
#themeNameBox.theme11 .way-guide.etc .weddinginfo-icon {
  background-image: url("/assets/tool/img/theme_new/theme11_icon_info.svg");
}
#themeNameBox.theme11 .weddinginfo-navi button {
  border-color: var(--theme11-gray-color2);
}
#themeNameBox.theme11 .preview-weddinginfo-wrap .preview-weddinginfo-title {
  margin-bottom: 0;
}

/* 축의금 */
#themeNameBox.theme11 .preview-wrap.preview-bank-wrap {
  margin: 0 0 80px;
}
#themeNameBox.theme11 .preview-bank-title {
  /* padding: 30px 0 60px; */
  padding: 60px 0 60px;
}
#themeNameBox.theme11 .accordion-box > .accordion-inner > button.btn.btn-link.btn-toggle {
  justify-content: center;
  background-color: #ebeae8;
  border: 1px solid var(--theme11-gray-color2);
  border-radius: 5px;
  padding: 0;
  width: 100%;
  height: 50px;
  gap: 7px;
  font-weight: bold;
}
#themeNameBox.theme11 .accordion-box > .accordion-inner {
  border: none;
}
#themeNameBox.theme11 .accordion-box > .accordion-inner > button::after {
  content: "";
  width: 18px;
  height: 9px;
  background: url("/assets/tool/img/theme_new/theme_icon_up.svg") center no-repeat;
  background-size: contain;
  transition: 0.3s;
}
#themeNameBox.theme11 .accordion-box > .accordion-inner > button[aria-expanded="false"]::after {
  content: "";
  transform: scaleY(-1) translateY(-1px);
}
#themeNameBox.theme11 .accordion-box > .accordion-inner > button[aria-expanded="true"] + div .bank:last-child {
  padding: 20px 0;
}
#themeNameBox.theme11 .accordion-inner .bank {
  border-bottom: 1px solid var(--theme11-gray-color2);
}
#themeNameBox.theme11 .bank-btn-box {
  padding: 0;
}
#themeNameBox.theme11 .bank-btn-box > button,
#themeNameBox.theme11 .bank-btn-box a {
  border: 0.5px solid var(--theme11-gray-color2);
  color: var(--theme11-gray-color3);
}
#themeNameBox.theme11 .bank-btn-box > button::before {
  background-image: url("/assets/tool/img/theme_new/theme11_icon_copy.svg");
}
#themeNameBox.theme11 .bank-info span.name {
  font-weight: bold;
}

/* 방명록 */
#themeNameBox.theme11 .preview-wrap.preview-guestbook-wrap {
  padding: 0;
  background-color: #f2ebdb;
  /* margin: 80px 0 0; */
  margin: 0;
}
#themeNameBox.theme11 .preview-wrap.preview-guestbook-wrap .preview-inner-wrap {
  /* padding: 0 0 80px; */
  padding: 0 0 30px;
  background: url("/assets/tool/img/theme_new/theme11_guest01.png") center top no-repeat;
  background-size: 100%;
  border: none;
  border-radius: 0;
}
#themeNameBox.theme11 .preview-title.preview-guestbook-title {
  /* padding: 60px 10px 30px; */
  padding: 60px 10px;
}
#themeNameBox.theme11 .preview-guestbook-lists > .guestbook-list > .guestbook-list-txt {
  margin: 0 0 2px;
  padding: 20px;
}
#themeNameBox.theme11 .preview-guestbook-lists > .guestbook-list:first-child > .guestbook-list-txt {
  border-radius: 10px 10px 0 0;
}
#themeNameBox.theme11 .preview-guestbook-lists > .guestbook-list:last-child > .guestbook-list-txt {
  border-radius: 0 0 10px 10px;
}
#themeNameBox.theme11 .guest-btn-box {
  order: 1;
  gap: 5px;
}
#themeNameBox.theme11 .guest-contents {
  order: 3;
}
#themeNameBox.theme11 .guest-name-date {
  order: 2;
}
#themeNameBox.theme11 .guest-btn-box button {
  text-indent: -1000px;
  overflow: hidden;
  width: 23px;
  height: 23px;
  background: url("/assets/tool/img/theme_new/theme_icon_del.svg") center no-repeat;
  background-size: contain;
  border: 0.5px solid #d9d9d9;
  border-radius: 5px;
  padding: 0;
}
#themeNameBox.theme11 .guest-btn-box button.btn-edit {
  background: url("/assets/tool/img/theme_new/theme_icon_edit.svg") center no-repeat;
}
#themeNameBox.theme11 .guestbook-list-txt .guest-name-date .name {
  color: var(--theme11-gray-color3);
}
#themeNameBox.theme11 .book_btn2 a {
  border-radius: 5px;
  font-weight: 600;
}
/* 모달 - 혜인 0911 */
#themeNameBox.theme11 .modal {
  font-family: "Spoqa Han Sans Neo", "Titillium Web", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #3a3a3a;
}

/*----------------------------------------2026 테스트 테마/초대글 사진*/
@font-face {
  font-family: "Eulyoo1945";
  src: url("/assets/fonts/Eulyoo_font/Eulyoo1945-Regular.woff2") format("woff2"),
    url("/assets/fonts/Eulyoo_font/Eulyoo1945-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Eulyoo1945";
  src: url("/assets/fonts/Eulyoo_font/Eulyoo1945-SemiBold.woff2") format("woff2"),
    url("/assets/fonts/Eulyoo_font/Eulyoo1945-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BookkMyungjo";
  src: url("/assets/fonts/bkk/BookkMyungjo_Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BookkMyungjo";
  src: url("/assets/fonts/bkk/BookkMyungjo_Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HSBombaram3";
  src: url("/assets/fonts/HSBomBaram3/HSBombaram3.0_Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* 테마 13 본문 폰트 (HSBombaram3 → Cafe24Dangdanghae 교체) */
@font-face {
  font-family: "Cafe24Dangdanghae";
  src: url("/assets/fonts/cafe24Dangdanghae/Cafe24Dangdanghae-v2.0.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* 테마 13 전용 - 영문 레터링(raustila) */
@font-face {
  font-family: "raustila";
  src: url("/assets/fonts/raustila/raustila-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* 테마 12 전용 - & 기호 필기체 (로컬 호스팅, Google Fonts Italianno v18) */
@font-face {
  font-family: "Italianno";
  src: url("/assets/fonts/italianno/Italianno-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.preview-message-photo-wrap {
  width: min(76%, 270px);
  margin: 0 auto 30px;
}
.preview-message-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f4f0eb;
}
.preview-message-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#themeNameBox.theme12,
#themeNameBox.theme13,
#themeNameBox.theme14 {
  color: #2f2925;
}
#themeNameBox.theme12 h2,
#themeNameBox.theme13 h2,
#themeNameBox.theme14 h2 {
  font-weight: 400;
}
#themeNameBox.theme12 .preview-title::before,
#themeNameBox.theme13 .preview-title::before,
#themeNameBox.theme14 .preview-title::before,
#themeNameBox.theme12 .preview-invitation-title::before,
#themeNameBox.theme13 .preview-invitation-title::before,
#themeNameBox.theme14 .preview-invitation-title::before {
  display: none;
}
#themeNameBox.theme12 .preview-title img,
#themeNameBox.theme13 .preview-title img,
#themeNameBox.theme14 .preview-title img,
#themeNameBox.theme12 .icon-chrysanthemum,
#themeNameBox.theme13 .icon-chrysanthemum,
#themeNameBox.theme14 .icon-chrysanthemum {
  display: none !important;
}
#themeNameBox.theme12 .preview-wrap.preview-invitation-wrap,
#themeNameBox.theme13 .preview-wrap.preview-invitation-wrap,
#themeNameBox.theme14 .preview-wrap.preview-invitation-wrap {
  padding: 86px 22px 72px;
}
#themeNameBox.theme12 .preview-invitation-wrap .preview-inner-wrap.wrapBox,
#themeNameBox.theme13 .preview-invitation-wrap .preview-inner-wrap.wrapBox,
#themeNameBox.theme14 .preview-invitation-wrap .preview-inner-wrap.wrapBox {
  padding: 0;
  border: 0;
}
#themeNameBox.theme12 .preview-message-wrap,
#themeNameBox.theme13 .preview-message-wrap,
#themeNameBox.theme14 .preview-message-wrap {
  line-height: 2;
}
#themeNameBox.theme12 .preview-invitation-cellphome,
#themeNameBox.theme13 .preview-invitation-cellphome,
#themeNameBox.theme14 .preview-invitation-cellphome {
  margin-top: 34px;
}

/* =========================================================
 * 청첩장 테마 12: 올리브 클래식 (재작업본 v2)
 * Figma 참조: node-id=62-48 (시안_1)
 * 컬러: 올리브 그린 #6A7C56 + 크림 베이지 #FFF7E5
 * 폰트: BookkMyungjo (자체 보유) + Wedding 레터링은 PNG
 * ========================================================= */

/* 테마 12 베이스 - 디자인 토큰 정의 (Figma node-id=62-48 사양) */
#themeNameBox.theme12 {
  --t12-olive:       #6a7c56;   /* 메인 텍스트/타이틀 */
  --t12-olive-dark:  #56673e;   /* hover/active */
  --t12-olive-soft:  #8d9f78;   /* 부모 이름, 보조 텍스트 */
  --t12-olive-pale:  #c9d2b7;   /* 비활성, 배경 액센트 */
  --t12-cream:       #fff7e5;   /* 메인 배경 */
  --t12-cream-soft:  #fbf1d9;   /* 보조 배경 */
  --t12-paper:       #faf6ec;   /* 카드 배경 */
  --t12-line:        #d9d2bd;   /* 디바이더, 보더 */
  --t12-error:       #c75b4b;   /* 일요일/거절 */
  background: var(--t12-cream);
  color: var(--t12-olive);
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-weight: 300;
}

/* 메인 표지 컨테이너 - Figma 절대 크기 425×771 (절대값 좌표 정확 매핑) */
#themeNameBox.theme12 .theme-12-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 425px;
  height: 771px;          /* Figma 절대 높이 */
  margin: 0 auto;
  background: var(--t12-cream);
}
#themeNameBox.theme12 .theme-12-wrap .theme-frame-cons-box {
  position: relative;
  width: 100%;
  max-width: 425px;
  height: 771px;          /* Figma 절대 높이 - 내부 절대값 좌표 기준 */
  padding: 0;
  text-align: center;
  overflow: hidden;
}

/* 상단 카피 - Figma 정확 사양
 * 컨테이너: 360×234, padding-top: 70px, gap: 5px (greeting ↔ names)
 * 저희 결혼해요: 16px Light line-height 20px
 * 이름 3줄(name/&/name): 24px Bold/Italianno, line-height 30px (총 118px = 3×30 + ~28 vertical gap)
 * 모두 #6A7C56
 */
#themeNameBox.theme12 .theme-cover-name {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 360px;
  max-width: 100%;
  height: 234px;
  padding: 70px 22px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  z-index: 3;
  color: #6A7C56;
  box-sizing: border-box;
}
#themeNameBox.theme12 .theme-greeting {
  margin: 0;
  color: #6A7C56;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
  letter-spacing: 0;
  text-align: center;
  word-wrap: break-word;
  width: 100%;
}
#themeNameBox.theme12 .theme-couple-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  height: 118px;            /* Figma: names 그룹 height 118 */
  color: #6A7C56;
}
#themeNameBox.theme12 .theme-couple {
  color: #6A7C56;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0;
  text-align: center;
  word-wrap: break-word;
  white-space: nowrap;
}
#themeNameBox.theme12 .theme-amp {
  margin: 0;
  color: #6A7C56;
  font-family: "Italianno", "Apple Chancery", "Snell Roundhand", cursive;
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0;
  text-align: center;
  word-wrap: break-word;
}

/* 메인 사진 - Figma 정확 사양: top 234px / height 423px (절대값) */
#themeNameBox.theme12 .theme-12-wrap .preview-theme-main {
  position: absolute;
  left: 0;
  top: 234px;             /* Figma: 상단 카피 영역(234) 끝 */
  width: 100%;
  height: 423px;          /* Figma: 사진 높이 정확값 */
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--t12-cream-soft);
  border-radius: 0;
  z-index: 1;
}
#themeNameBox.theme12 .theme-12-wrap .preview-theme-main .cropper-preview {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;       /* 전역 3/4 비율 해제 */
  border-radius: 0;
}
#themeNameBox.theme12 .theme-12-wrap .preview-theme-main .card-img-top {
  width: 100%;
  height: 100%;
  max-height: none;         /* 전역 max-height:580px 해제 */
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;         /* Bootstrap .card-img-top 기본 radius 제거 */
}

/* 'Wedding' 필기체 레터링 - Figma 원본 사양
 * 검정 텍스트 + mix-blend-mode: soft-light (사진과 자연스럽게 블렌딩)
 * Figma: width=360, height=140, left=32, top=517 (425×771 컨테이너 기준)
 */
#themeNameBox.theme12 .theme-main-lettering {
  position: absolute;
  left: 32px;               /* Figma: left 32 (425×771 컨테이너 기준) */
  top: 517px;               /* Figma: top 517 */
  transform: none;
  width: 360px;             /* Figma: width 360 */
  height: 140px;            /* Figma: height 140 */
  z-index: 4;
  opacity: 1;
  object-fit: contain;
  mix-blend-mode: soft-light;
  filter: none;
  pointer-events: none;
}

/* 하단 정보 - Figma 정확 사양
 * 위치: top 657px (= 234 + 423, 메인 사진 직하)
 * 360 width, padding 30px top/bottom, 중앙 정렬
 * 18px Bold #6A7C56, line-height 27px
 */
#themeNameBox.theme12 .theme-bottom-info {
  position: absolute;
  left: 50%;
  top: 657px;
  transform: translateX(-50%);
  width: 360px;
  max-width: 100%;
  padding: 30px 22px;
  margin: 0;
  z-index: 3;
  text-align: center;
  box-sizing: border-box;
}
#themeNameBox.theme12 .theme-12-wrap .main-date-txt,
#themeNameBox.theme12 .theme-12-wrap .weddding-hall-name {
  margin: 0;
  color: #6A7C56;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  letter-spacing: 0;
  word-wrap: break-word;
  text-align: center;
}
#themeNameBox.theme12 .theme-12-wrap .weddding-hall-name {
  margin-top: 0;
  color: #6A7C56;
}

/* 메시지 사진 (인사글/감사글) */
#themeNameBox.theme12 .preview-message-photo {
  border-radius: 0;
  border: 1px solid var(--t12-line);
}
#themeNameBox.theme12 .preview-wrap,
#themeNameBox.theme12 .preview-invitation-cellphome,
#themeNameBox.theme12 .preview-gallery-wrap,
#themeNameBox.theme12 .preview-bank-wrap,
#themeNameBox.theme12 .preview-guestbook-wrap {
  background-color: #fff7e5;
}
#themeNameBox.theme12 .preview-inner-wrap,
#themeNameBox.theme13 .preview-inner-wrap,
#themeNameBox.theme14 .preview-inner-wrap {
  background-color: transparent;
}
#themeNameBox.theme12 .preview-wrap.preview-invitation-wrap,
#themeNameBox.theme13 .preview-wrap.preview-invitation-wrap,
#themeNameBox.theme14 .preview-wrap.preview-invitation-wrap,
#themeNameBox.theme12 .preview-calendar-wrap,
#themeNameBox.theme13 .preview-calendar-wrap,
#themeNameBox.theme14 .preview-calendar-wrap,
#themeNameBox.theme12 .preview-attend-wrap,
#themeNameBox.theme13 .preview-attend-wrap,
#themeNameBox.theme14 .preview-attend-wrap,
#themeNameBox.theme12 .preview-gallery-wrap,
#themeNameBox.theme13 .preview-gallery-wrap,
#themeNameBox.theme14 .preview-gallery-wrap,
#themeNameBox.theme12 .preview-weddinginfo-wrap,
#themeNameBox.theme13 .preview-weddinginfo-wrap,
#themeNameBox.theme14 .preview-weddinginfo-wrap,
#themeNameBox.theme12 .preview-bank-wrap,
#themeNameBox.theme13 .preview-bank-wrap,
#themeNameBox.theme14 .preview-bank-wrap,
#themeNameBox.theme12 .preview-guestbook-wrap,
#themeNameBox.theme13 .preview-guestbook-wrap,
#themeNameBox.theme14 .preview-guestbook-wrap {
  isolation: isolate;
}
#themeNameBox.theme12 .preview-wrap.preview-invitation-wrap > *,
#themeNameBox.theme13 .preview-wrap.preview-invitation-wrap > *,
#themeNameBox.theme14 .preview-wrap.preview-invitation-wrap > *,
#themeNameBox.theme12 .preview-calendar-wrap > *,
#themeNameBox.theme13 .preview-calendar-wrap > *,
#themeNameBox.theme14 .preview-calendar-wrap > *,
#themeNameBox.theme12 .preview-attend-wrap > *,
#themeNameBox.theme13 .preview-attend-wrap > *,
#themeNameBox.theme14 .preview-attend-wrap > *,
#themeNameBox.theme12 .preview-gallery-wrap > *,
#themeNameBox.theme13 .preview-gallery-wrap > *,
#themeNameBox.theme14 .preview-gallery-wrap > *,
#themeNameBox.theme12 .preview-weddinginfo-wrap > *,
#themeNameBox.theme13 .preview-weddinginfo-wrap > *,
#themeNameBox.theme14 .preview-weddinginfo-wrap > *,
#themeNameBox.theme12 .preview-bank-wrap > *,
#themeNameBox.theme13 .preview-bank-wrap > *,
#themeNameBox.theme14 .preview-bank-wrap > *,
#themeNameBox.theme12 .preview-guestbook-wrap > *,
#themeNameBox.theme13 .preview-guestbook-wrap > *,
#themeNameBox.theme14 .preview-guestbook-wrap > * {
  position: relative;
  z-index: 1;
}
#themeNameBox.theme12 .preview-invi-wrap,
#themeNameBox.theme12 .preview-wrap.preview-invitation-wrap,
#themeNameBox.theme12 .preview-calendar-wrap,
#themeNameBox.theme12 .preview-attend-wrap,
#themeNameBox.theme12 .preview-gallery-wrap,
#themeNameBox.theme12 .preview-weddinginfo-wrap,
#themeNameBox.theme12 .preview-bank-wrap,
#themeNameBox.theme12 .preview-guestbook-wrap,
#themeNameBox.theme13 .preview-invi-wrap,
#themeNameBox.theme13 .preview-wrap.preview-invitation-wrap,
#themeNameBox.theme13 .preview-insa-wrap,
#themeNameBox.theme13 .preview-calendar-wrap,
#themeNameBox.theme13 .preview-attend-wrap,
#themeNameBox.theme13 .preview-gallery-wrap,
#themeNameBox.theme13 .preview-weddinginfo-wrap,
#themeNameBox.theme13 .preview-bank-wrap,
#themeNameBox.theme13 .preview-guestbook-wrap,
#themeNameBox.theme14 .preview-invi-wrap,
#themeNameBox.theme14 .preview-calendar-wrap,
#themeNameBox.theme14 .preview-attend-wrap,
#themeNameBox.theme14 .preview-gallery-wrap,
#themeNameBox.theme14 .preview-weddinginfo-wrap,
#themeNameBox.theme14 .preview-bank-wrap,
#themeNameBox.theme14 .preview-guestbook-wrap {
  position: relative;
  overflow: hidden;
}
#themeNameBox.theme12 .preview-invi-wrap::before,
#themeNameBox.theme12 .preview-wrap.preview-invitation-wrap::before,
#themeNameBox.theme12 .preview-calendar-wrap::before,
#themeNameBox.theme12 .preview-attend-wrap::before,
#themeNameBox.theme12 .preview-gallery-wrap::before,
#themeNameBox.theme12 .preview-weddinginfo-wrap::before,
#themeNameBox.theme12 .preview-bank-wrap::before,
#themeNameBox.theme12 .preview-guestbook-wrap::before,
#themeNameBox.theme12 .preview-guestbook-wrap::after,
#themeNameBox.theme13 .preview-invi-wrap::before,
#themeNameBox.theme13 .preview-wrap.preview-invitation-wrap::before,
#themeNameBox.theme13 .preview-gallery-wrap::before,
#themeNameBox.theme13 .preview-weddinginfo-wrap::before,
#themeNameBox.theme13 .preview-bank-wrap::before,
#themeNameBox.theme13 .preview-guestbook-wrap::before,
#themeNameBox.theme13 .preview-guestbook-wrap::after,
#themeNameBox.theme14 .preview-invi-wrap::before,
#themeNameBox.theme14 .preview-invi-wrap::after,
#themeNameBox.theme14 .preview-calendar-wrap::before,
#themeNameBox.theme14 .preview-attend-wrap::before,
#themeNameBox.theme14 .preview-gallery-wrap::before,
#themeNameBox.theme14 .preview-weddinginfo-wrap::before,
#themeNameBox.theme14 .preview-bank-wrap::before,
#themeNameBox.theme14 .preview-guestbook-wrap::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
/* ---------- 초대글 (INVITATION) ---------- */
#themeNameBox.theme12 .preview-wrap.preview-invitation-wrap {
  padding: 0;
  background-color: var(--t12-cream);
}
#themeNameBox.theme12 .preview-wrap.preview-invitation-wrap::before {
  display: none;
}
#themeNameBox.theme12 .preview-invi-wrap {
  position: relative;
  min-height: 459px;
  padding: 180px 22px 0 22px;
  background-color: var(--t12-cream);
}
/* Figma: 328x160 invite_bg_vector at left:42 top:33 */
#themeNameBox.theme12 .preview-invi-wrap::after {
  content: "";
  position: absolute;
  top: 88px;
  left: 50%;
  width: 77%;             /* 328/425 ≈ 77% */
  height: 160px;
  transform: translateX(-50%);
  background-image: url("/assets/tool/img/invitation/theme_2026/theme12_invite_bg_vector.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.6;             /* 불투명도는 SVG 내부 fill-opacity로 제어 */
  pointer-events: none;
  z-index: 0;
}
#themeNameBox.theme12 .preview-invi-wrap::before {
  display: none;
}
#themeNameBox.theme12 .preview-invi-wrap > * {
  position: relative;
  z-index: 1;
}
#themeNameBox.theme12 .preview-invi-wrap > .preview-invitation-title {
  height: auto;
  margin: 0;
  gap: 0;
  justify-content: center;
  text-align: center;
}
#themeNameBox.theme12 .preview-invi-wrap > .preview-invitation-title h2 {
  margin: 0;
  color: var(--t12-olive);
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.5;
}
#themeNameBox.theme12 .preview-invi-wrap > .preview-invitation-title h2::before {
  content: "INVITATION";
  display: block;
  margin: 0 0 5px;
  color: var(--t12-olive);
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1.5;
}
#themeNameBox.theme12 .preview-invi-wrap > .preview-invitation-message {
  margin: 25px 0 0;
  padding: 0 28px;
  background: transparent;
  color: var(--t12-olive);
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.5;
  text-align: center;
}
#themeNameBox.theme12 .preview-invi-wrap > .preview-invitation-message p {
  margin: 0;
}

/* 비초대자용 인사글(preview-insa-wrap) - 초대글과 동일한 벡터 데코 적용
 * insa-wrap은 비초대자 모드에서만 노출(초대자/예식종료 모드는 JS가 display:none) */
#themeNameBox.theme12 .preview-insa-wrap {
  position: relative;
  padding: 70px 22px 60px;
  background-color: var(--t12-cream);
  overflow: hidden;
  isolation: isolate;
}
#themeNameBox.theme12 .preview-insa-wrap::after {
  content: "";
  position: absolute;
  top: 24px;                /* 글머리(상단)에 배치 */
  left: 50%;
  width: 77%;               /* 328/425 ≈ 77% (invi-wrap과 동일) */
  height: 160px;
  transform: translateX(-50%);
  background-image: url("/assets/tool/img/invitation/theme_2026/theme12_invite_bg_vector.svg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
#themeNameBox.theme12 .preview-insa-wrap > * {
  position: relative;
  z-index: 1;
}
#themeNameBox.theme12 .preview-insa-wrap .preview-insa-message {
  background: transparent;
  color: var(--t12-olive);
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.5;
  text-align: center;
}
#themeNameBox.theme12 .preview-insa-wrap .preview-insa-message p {
  margin: 0;
  white-space: pre-line;
}

/* 초대글 사진(card_message_image) - Figma temp12-1.html 360×214 영역으로 재배치
 * - flex order로 title → message → photo 순서 강제
 * - preview-invi-wrap의 좌우 padding 해제하여 360 전체 폭
 * - JS 의존(#preview_message_img, .preview-message-photo, .preview-message-photo-wrap) 보존
 */
#themeNameBox.theme12 .preview-invi-wrap {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  padding-right: 0;
}
#themeNameBox.theme12 .preview-invi-wrap > .preview-invitation-title { order: 1; padding: 0 22px; }
#themeNameBox.theme12 .preview-invi-wrap > .preview-invitation-message { order: 2; padding: 0 28px; }
#themeNameBox.theme12 .preview-invi-wrap > .preview-message-photo-wrap { order: 3; }

#themeNameBox.theme12 .preview-invi-wrap > .preview-message-photo-wrap {
  width: 100%;
  max-width: 100%;
  margin: 100px 0 0;          /* Figma: 메시지 아래 100px 간격 */
  padding: 0;
}
#themeNameBox.theme12 .preview-message-photo {
  width: 100% !important;
  height: 214px !important;   /* Figma: 360×214 고정 (JS cropper의 인라인 style.height 덮어쓰기) */
  aspect-ratio: auto !important; /* 전역 4/5 비율 해제 */
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #d9d9d9;        /* Figma placeholder bg */
}
#themeNameBox.theme12 .preview-message-photo .cropper-preview,
#themeNameBox.theme12 .preview-message-photo > img,
#themeNameBox.theme12 .preview-message-photo .card-img-top {
  width: 100%;
  height: 100%;
  max-height: none;           /* 전역 max-height:580px 해제 */
  aspect-ratio: auto;         /* 전역 3/4 비율 해제 */
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  display: block;
}

/* 가족관계 (groom / bride) - 부모는 #8d9f78 14px, 자녀는 #6a7c56 18px Bold */
#themeNameBox.theme12 .preview-invitation-cellphome {
  margin-top: 30px;
  padding: 0 22px 30px;
  background-color: var(--t12-cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  letter-spacing: -0.5px;
}
/* flex-wrap: 짧은 이름이면 한 줄, 5자 이상 길면 자동으로 줄바꿈
 *   짧음: [부모names]  [아들 김신랑]   (한 줄, 중앙 정렬)
 *   김:   [홍길동 · 홍길순]
 *          [아들 김수안무두루]         (두 줄, 각 줄 중앙 정렬)
 */
#themeNameBox.theme12 .preview-invitation-cellphome .groom,
#themeNameBox.theme12 .preview-invitation-cellphome .bride {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 12px;
  row-gap: 4px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  color: var(--t12-olive-soft);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
#themeNameBox.theme12 .preview-invitation-cellphome .groom p,
#themeNameBox.theme12 .preview-invitation-cellphome .bride p {
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
}
/* rel_text(아들/딸): 고정 너비로 우측 정렬 → 김신랑/김신부 시작 x 일치
 * JS가 인라인 style="display: block"을 설정하므로 !important로 강제 inline-block
 */
#themeNameBox.theme12 .preview-invitation-cellphome .rel_text {
  display: inline-block !important;
  min-width: 28px;
  text-align: right;
  color: var(--t12-olive-soft);
  font-size: 14px;
  font-weight: 700;
  margin-right: 4px;
}
#themeNameBox.theme12 .preview-invitation-cellphome [data-name="groom_name"],
#themeNameBox.theme12 .preview-invitation-cellphome [data-name="bride_name"],
#themeNameBox.theme12 .preview-invitation-cellphome .font-tit {
  color: var(--t12-olive);
  font-size: 18px;
  font-weight: 700;
  text-align: left;       /* 이름 왼쪽 정렬 (테마14와 통일) */
}
/* cellphone-dot: 전역 ::before로 점 1개만 표시 (background 점 제거)
 * JS가 인라인 style="display: block"을 설정하므로 !important로 강제 inline-block
 */
#themeNameBox.theme12 .preview-invitation-cellphome .cellphone-dot {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  margin: 0;
  border-radius: 0;
  background: transparent;
  vertical-align: baseline;
}
#themeNameBox.theme12 .preview-invitation-cellphome .cellphone-dot::before {
  width: 2px !important;
  height: 2px !important;
  background-color: var(--t12-olive-soft) !important;
  border-radius: 50% !important;
  margin: 0 6px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  content: "" !important;
}

/* === 故 / 국화 표시 (theme12 전용 SVG로 교체) ===
 * 원본 go.svg(Apple SD Gothic, 검정)와 goin.svg(검정 국화)를
 * 올리브(#8d9f78)로 색칠된 theme12 전용 SVG로 교체.
 * 전역 .card-invitation-preview [data-name*="goin_type"]의 flex 강제도 해제.
 */
#themeNameBox.theme12 .preview-invitation-cellphome [data-name*="goin_type"] {
  display: inline-block !important;
  flex: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0;                /* 외부 여백 제거 (img 자체 margin으로만 제어) */
  overflow: visible;
  vertical-align: baseline;
  line-height: 1;
  font-size: 0;             /* span 인라인 공백(space) 제거 */
}
/* 故 (go.svg) → theme12_go.svg 로 교체 + 이름 텍스트와 베이스라인 정렬 */
#themeNameBox.theme12 .preview-invitation-cellphome [data-name*="goin_type"] img[src$="/go.svg"] {
  content: url('/assets/tool/img/invitation/theme_2026/theme12_go.svg');
  width: 13px !important;
  height: 13px !important;
  vertical-align: -1px;
  margin: 0 1px 0 0;        /* 이름과의 간격 4px → 1px 축소 */
}
/* 국화 (goin.svg) → theme12_goin.svg 로 교체 */
#themeNameBox.theme12 .preview-invitation-cellphome [data-name*="goin_type"] img[src$="/goin.svg"] {
  content: url('/assets/tool/img/invitation/theme_2026/theme12_goin.svg');
  width: 14px !important;
  height: 14px !important;
  vertical-align: -2px;
  margin: 0 1px 0 0;        /* 이름과의 간격 4px → 1px 축소 */
}

/* === 부모 줄 - inline-block 강제, 전역 flex 영향 차단 === */
#themeNameBox.theme12 .preview-invitation-cellphome .groom > p:first-child,
#themeNameBox.theme12 .preview-invitation-cellphome .bride > p:first-child {
  display: inline-block !important;
  width: auto !important;
  max-width: 100% !important;
  flex: none !important;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  font-size: 14px !important;
  line-height: 1.5;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
}
/* 부모 outer span (dad/mom 컨테이너) - inline 강제 */
#themeNameBox.theme12 .preview-invitation-cellphome .groom > p:first-child > span,
#themeNameBox.theme12 .preview-invitation-cellphome .bride > p:first-child > span {
  display: inline !important;
  flex: none !important;
  width: auto !important;
  vertical-align: baseline;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 14px !important;
  gap: 0 !important;
}
/* outer span::after (global 3x10 spacer) 무력화 */
#themeNameBox.theme12 .preview-invitation-cellphome .groom > p:first-child > span:first-child::after,
#themeNameBox.theme12 .preview-invitation-cellphome .bride > p:first-child > span:first-child::after {
  display: none !important;
  content: none !important;
}
/* parentName: inline + 콘텐츠 폭 유지 (전역 flex:0 1 0 무력화) */
#themeNameBox.theme12 .preview-invitation-cellphome .parentName {
  display: inline !important;
  flex: none !important;
  width: auto !important;
  min-width: 0;
  font-size: 14px !important;
  visibility: visible !important;
  opacity: 1 !important;
}
/* parentName이 비어있으면 그 자체만 숨김 */
#themeNameBox.theme12 .preview-invitation-cellphome .parentName:empty {
  display: none !important;
}
/* mom 컨테이너 안: parentName이 비었을 때 그 앞의 cellphone-dot 숨김 */
#themeNameBox.theme12 .preview-invitation-cellphome .cellphone-dot:has(+ [data-name*="goin_type"] + .parentName:empty),
#themeNameBox.theme12 .preview-invitation-cellphome .cellphone-dot:has(+ .parentName:empty) {
  display: none !important;
}
/* dad/mom 컨테이너 안: parentName이 비어 있으면 그 앞의 goin_type span도 숨김 */
#themeNameBox.theme12 .preview-invitation-cellphome [data-name*="goin_type"]:has(+ .parentName:empty) {
  display: none !important;
}

/* === 아들/딸 라벨 + 이름 - flex 자식으로 한 덩어리, 긴 이름이면 다음 줄로 wrap === */
#themeNameBox.theme12 .preview-invitation-cellphome .rel_box {
  display: inline-flex;
  flex: 0 1 auto;
  justify-content: center;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0;
  text-align: center;
  white-space: nowrap;
}
#themeNameBox.theme12 .preview-invitation-cellphome .rel_box .rel_text.font-small {
  font-size: 14px;
  align-self: baseline;
}

/* 연락하기 버튼 - 흰 배경 + 올리브 테두리/텍스트 */
#themeNameBox.theme12 .preview-invitation-link {
  padding-bottom: 40px;
  text-align: center;
}

/* ---------- 캘린더 (CALENDAR) ---------- */
#themeNameBox.theme12 .preview-calendar-wrap {
  padding: 60px 22px 100px 22px;
}
/* 캘린더 date_vector - Figma: 96×54 다크(#30312E) 색조 */
#themeNameBox.theme12 .preview-calendar-wrap::before {
  top: 60px;
  left: 50%;
  width: 96px;
  height: 54px;
  opacity: 1;
  transform: translateX(-50%);
  background-image: url("/assets/tool/img/invitation/theme_2026/theme12_date_vector.svg");
  background-size: contain;
  background-repeat: no-repeat;
  /* PNG 색상이 올리브/베이지면 다크로 변환 */
  filter: brightness(0) saturate(100%);  /* 검정으로 강제 (#30312E와 유사) */
}
#themeNameBox.theme12 .preview-calendar-title {
  margin-top: 70px;       /* 벡터(54px)와 겹치지 않게 충분히 띄움 (벡터 끝 + 16px gap) */
  text-align: center;
}
/* "Wedding Day" 서브타이틀 숨김 (Figma temp12 사양 - 미사용) */
#themeNameBox.theme12 .preview-calendar-title .calendar-subtitle {
  display: none !important;
}
/* 캘린더 메인 헤더 - Figma 정확 스펙
 * color: #6A7C56 / font-size: 18px / font-family: Bookk Myungjo
 * font-weight: 700 / line-height: 27px / word-wrap: break-word
 */
#themeNameBox.theme12 .preview-calendar-title h2 {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  color: #6A7C56;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  letter-spacing: 0;
  text-align: center;
  word-wrap: break-word;
}
/* 날짜 / 요일·시간을 각각 별도 줄로 (Figma 사양: 2개의 분리된 div) */
#themeNameBox.theme12 .preview-calendar-title .cal-date,
#themeNameBox.theme12 .preview-calendar-title .cal-daytime {
  display: block;
  width: 100%;
  text-align: center;
  color: #6A7C56;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
}
#themeNameBox.theme12 .calendar-box {
  margin: 30px 0 0;
}
#themeNameBox.theme12 .calendar-month {
  display: none;
}
#themeNameBox.theme12 .calendar-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
/* Figma: 일/토 #BF4340, 평일 #111111, 다른달 #B3B3B3, 결혼일 흰색 */
#themeNameBox.theme12 .calendar-table thead th {
  padding: 20px 0;
  color: #111111;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}
#themeNameBox.theme12 .calendar-table thead th.sun,
#themeNameBox.theme12 .calendar-table thead th.sat { color: var(--t12-error); }
#themeNameBox.theme12 .calendar-table tbody td {
  height: 40px;
  padding: 0;
  color: #4d4c4c;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
}
#themeNameBox.theme12 .calendar-table tbody td.other-month { color: #b3b3b3; }
#themeNameBox.theme12 .calendar-table tbody td.sun,
#themeNameBox.theme12 .calendar-table tbody td.sat { color: var(--t12-error); }
#themeNameBox.theme12 .calendar-table tbody td.wedding-day { color: #ffffff; }
#themeNameBox.theme12 .wedding-day-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--t12-olive);
  color: var(--t12-cream);
}

/* 카운트다운 - Figma node 62:926 정확 사양
 * 4개 카드 (DAYS/HOUR/MIN/SEC): 흰/크림 배경 + 옅은 그림자
 * 카드 안: 라벨(작은 영문) + 숫자(중간 Bold) 모두 올리브
 * D-day 텍스트: 14px Bold #6a7c56
 */
#themeNameBox.theme12 .countdown-box {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 30px 0 20px;
  padding: 0;
  border: 0;
}
#themeNameBox.theme12 .countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 60px;
  padding: 10px 8px;

  border: 0.5px solid rgba(17, 17, 17, 0.1);   /* 보더 opacity 30% */
  border-radius: 8px;
}
#themeNameBox.theme12 .countdown-label {
  color: #111111;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1;
}
#themeNameBox.theme12 .countdown-value {
  margin: 0;
  color: #111111;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
/* D-day 메시지 - Figma node 62:929 정확 사양 */
#themeNameBox.theme12 .countdown-message {
  margin: 10px 0 0;
  padding: 0;
  color: #6a7c56;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 14px;
  font-weight: 700;            /* Figma Bold */
  letter-spacing: -0.5px;
  text-align: center;
  line-height: normal;
  width: 100%;
}
#themeNameBox.theme12 .countdown-message [data-name="groom_name"],
#themeNameBox.theme12 .countdown-message [data-name="bride_name"],
#themeNameBox.theme12 .countdown-message .countdown-heart,
#themeNameBox.theme12 .countdown-message .countdown-dday,
#themeNameBox.theme12 .countdown-message strong {
  color: #6a7c56;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 14px;
  font-weight: 700;
}
#themeNameBox.theme12 .countdown-message .countdown-heart {
  margin: 0 2px;
}

/* ---------- 참석여부 (RSVP) - Figma node 62:790 정확 사양
 * - bg #30312e (dark)
 * - padding-y: 50px, gap 30px (title block ↔ button)
 * - 내부 title gap 18px (kicker ↔ body)
 * - kicker "참석 의사 전달": Light 14px letter-spacing 0.5px (위)
 * - body 3줄 텍스트: Bold 15px line-height 1.5 letter-spacing -0.5px (아래)
 * - 버튼 "전달하기": 180×45 #6a7c56 + 흰 텍스트 14px Bold (border-radius 4px)
 */
/* RSVP 컨테이너 - BG 이미지 + 다크 톤 오버레이
 * 구조: 이미지(아래) → 다크 오버레이(중간) → 콘텐츠(위)
 */
#themeNameBox.theme12 .preview-attend-wrap {
  position: relative;
  padding: 50px 22px;
  background-color: #2a2b29;
  background-image: url("/assets/tool/img/invitation/theme_2026/theme12_pre_attend.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: #ffffff;
  overflow: hidden;
  isolation: isolate;
}
/* 다크 톤 오버레이 - 이미지 위에 #30312e 85% (이미지 15% 노출과 동일 효과) */
#themeNameBox.theme12 .preview-attend-wrap::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background-color: rgba(48, 49, 46, 0.85);   /* #30312e * 85% = 이미지 15% 비율 */
  pointer-events: none;
  z-index: 0;
}
#themeNameBox.theme12 .preview-attend-title {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  width: 100%;
}
/* Kicker(작은 문구 - "참석 의사 전달") - Figma 정확 사양
 * color: white / 14px / Bookk Myungjo / weight 300 / letter-spacing 0.5px / word-wrap break-word
 */
#themeNameBox.theme12 .preview-attend-title .attend-kicker,
#themeNameBox.theme12 .preview-attend-title .bg-gray {
  order: -1;                           /* small text 위로 배치 */
  margin: 0;
  padding: 0;
  background: transparent !important;
  color: #ffffff;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.5px;
  word-wrap: break-word;
  line-height: normal;
  width: 100%;
}
/* Body 3줄 - Figma 정확 사양: 흰색 / 15px / Bold / line-height 22.5px / word-wrap break-word */
#themeNameBox.theme12 .preview-attend-title h2 {
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 22.5px;
  word-wrap: break-word;
  letter-spacing: 0;
  width: 100%;
}
#themeNameBox.theme12 .preview-attend-title h2.attend-body span {
  display: block;
  color: #ffffff;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 22.5px;
  word-wrap: break-word;
  letter-spacing: 0;
}
/* 이전 ::before 'kicker' 주입 제거 (blade 분기로 처리) */
#themeNameBox.theme12 .preview-attend-title h2::before {
  content: none;
}
/* 버튼 영역 - Figma container gap 30px */
#themeNameBox.theme12 .preview-attend-link {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  text-align: center;
}
/* RSVP "전달하기" 버튼 - Figma 정확 사양 1:1
 * 컨테이너: 180×45 / padding 9px 60px / bg #6A7C56 / radius 4px / flex center gap 10
 * 텍스트:  white / 14px / Bookk Myungjo / weight 700 / line-height 24px / word-wrap break-word
 */
#themeNameBox.theme12 .preview-attend-wrap .btn-attend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 180px;
  height: 45px;
  padding: 9px 60px;
  background: #6A7C56;
  border: 0 !important;
  border-radius: 4px;
  color: #ffffff;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0;
  word-wrap: break-word;
  white-space: nowrap;
  text-decoration: none;
}
#themeNameBox.theme12 .preview-attend-wrap .btn-attend > span:not(.check-icon) {
  color: #ffffff;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  word-wrap: break-word;
}
#themeNameBox.theme12 .preview-attend-wrap .btn-attend .check-icon {
  display: none;
}
/* ---------- 갤러리 (GALLERY) ---------- */
#themeNameBox.theme12 .preview-gallery-wrap {
  padding: 100px 5px 0;
}
#themeNameBox.theme12 .preview-gallery-wrap::before {
  top: 97px;
  left: 67px;
  width: 293px;
  max-width: 65%;
  height: 246px;
  opacity: 0.80;            /* Figma rgba(240,229,201,0.40) 톤다운 */
  background-image: url("/assets/tool/img/invitation/theme_2026/theme12_gallery_vector.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left top;
  transform: rotate(-8deg); /* Figma: transform: rotate(-8deg) */
  transform-origin: top left;
}
/* 갤러리 타이틀 - Figma 정확 사양
 * 상단: "GALLERY" 14px Light 300, letter-spacing 0.5px, line-height 21px, #6A7C56
 * 아래: 한글 설명 15px Bold 700, line-height 22.5px, #6A7C56
 * 두 텍스트 사이 gap 21px (block 1: GALLERY) → 20px gap → 한글 설명
 */
#themeNameBox.theme12 .preview-gallery-title {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  width: 100%;
}
#themeNameBox.theme12 .preview-gallery-title h2 {
  margin: 0;
  width: 100%;
  color: #6A7C56;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 22.5px;
  letter-spacing: 0;
  word-wrap: break-word;
  text-align: center;
}
#themeNameBox.theme12 .preview-gallery-title h2::before {
  content: "GALLERY";
  display: block;
  margin-bottom: 20px;
  color: #6A7C56;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
  letter-spacing: 0.5px;
  word-wrap: break-word;
  text-align: center;
  width: 100%;
}
#themeNameBox.theme12 .preview-gallery-img {
  margin-top: 20px;
}

/* ---------- 예식장 안내 (LOCATION) - Figma 정확 사양
 * 컨테이너: padding-top 100px, padding-bottom 50px, gap 30px (title ↔ address)
 * 제목 블록 gap 5px:
 *   - "LOCATION": 14px Light 300, line-height 21, letter-spacing 0.5, center
 *   - "오시는 길": 20px Bold 700, line-height 30, center
 * 주소 블록 gap 15px (gap 5px 내부):
 *   - 예식장명: 20px Bold 700, line-height 30, center
 *   - 주소: 15px Bold 700, line-height 22.5, center
 *   - 전화: 16px Bold 700, line-height 24, letter-spacing 0.5, center
 * 아이콘 미사용
 */
#themeNameBox.theme12 .preview-weddinginfo-wrap {
  padding: 100px 20px 50px;
  background-color: var(--t12-cream);
}
#themeNameBox.theme12 .preview-weddinginfo-wrap > .preview-inner-wrap {
  padding: 0;
}
#themeNameBox.theme12 .preview-weddinginfo-wrap::before {
  display: none;
}
/* 타이틀 블록 */
#themeNameBox.theme12 .preview-weddinginfo-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  width: 100%;
  margin-bottom:0;
  padding:0;
}
#themeNameBox.theme12 .preview-weddinginfo-title h2 {
  margin: 0;
  width: 100%;
  color: #6A7C56;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0;
  word-wrap: break-word;
  text-align: center;
}
#themeNameBox.theme12 .preview-weddinginfo-title h2::before {
  content: "LOCATION";
  display: block;
  width: 100%;
  margin: 0;
  color: #6A7C56;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
  letter-spacing: 0.5px;
  word-wrap: break-word;
  text-align: center;
}

/* 주소 블록 - 전역 .weddinginfo-top {padding:40px 20px; bg:green} 무력화 */
#themeNameBox.theme12 .weddinginfo-content {
  margin-top: 30px;          /* Figma: container gap 30px */
}
#themeNameBox.theme12 .weddinginfo-top {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 15px !important;       /* Figma: address block gap 15 */
  padding: 0 !important;       /* 전역 40px 20px 제거 */
  background: transparent !important;  /* 전역 green-color 제거 */
  text-align: center;
  margin: 0;
  width: 100%;
}
/* 전역 .weddinginfo-icon-box { display:flex; gap:10 } 무력화 → 단순 block */
#themeNameBox.theme12 .weddinginfo-icon-box {
  display: block !important;
  gap: 0 !important;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: center;
}
/* 전역 .wedding-hallbox { padding-left:37 } 무력화 */
#themeNameBox.theme12 .wedding-hallbox {
  padding: 0 !important;
  margin: 0;
  width: 100%;
  text-align: center;
}
/* namebox 내부: 예식장명 ↔ 주소 gap 5px */
#themeNameBox.theme12 .weddinginfo-namebox {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 100%;
}
/* 아이콘 박스/아이콘 숨김 (Figma: 아이콘 없음) */
#themeNameBox.theme12 .weddinginfo-icon,
#themeNameBox.theme12 .weddinginfo-icon-box .weddinginfo-icon {
  display: none !important;
}
/* 예식장명 - 20px Bold, line-height 30 */
#themeNameBox.theme12 .weddinginfo-namebox .weddding-hall-name {
  margin: 0;
  width: 100%;
  color: #6A7C56;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0;
  word-break: keep-all;      /* 긴 상호명: 공백(어절) 단위로만 줄바꿈, 한글 음절 깨짐 방지 */
  word-wrap: break-word;     /* 단어 하나가 한 줄보다 길 때만 강제 줄바꿈 (안전장치) */
  text-align: center;
}
/* 주소 - 15px Bold, line-height 22.5 */
#themeNameBox.theme12 .weddinginfo-namebox .weddding-hall {
  margin: 0;
  width: 100%;
  color: #6A7C56;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 22.5px;
  letter-spacing: 0;
  word-wrap: break-word;
  text-align: center;
}
#themeNameBox.theme12 .weddinginfo-namebox .wedding-hallbox {
  width: 100%;
  text-align: center;
}
/* 전화 - 16px Bold, line-height 24, letter-spacing 0.5 */
#themeNameBox.theme12 .weddinginfo-tellbox {
  margin: 0;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
}
#themeNameBox.theme12 .weddinginfo-tellbox .weddding-tell {
  margin: 0;
  width: 100%;
  color: #6A7C56;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.5px;
  word-wrap: break-word;
  text-align: center;
}
#themeNameBox.theme12 .wedding_deliveryNum {
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--t12-paper);
  border: 0.5px solid var(--t12-line);
  border-radius: 4px;
  color: var(--t12-olive-soft);
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 15px;
  letter-spacing: -0.5px;
  line-height: 1.6;
  text-align: left;
}
/* 네비 버튼 (카카오/네이버/티맵) - Figma: 흰 배경 + 올리브 보더 + 아이콘 + 텍스트 */
#themeNameBox.theme12 .weddinginfo-navi {
  display: flex !important;
  gap: 8px;
  justify-content: center;
  padding: 0 !important;       /* 전역 padding: 20px 0 무력화 */
  margin: 70px 0 0;            /* address 블록과 50px → 일단 30 */
}
#themeNameBox.theme12 .weddinginfo-navi button {
  flex: 1;
  height: 40px;
  max-width: 105px;
  padding: 0 8px;
  border: 0.5px solid var(--t12-olive, #6a7c56);
  border-radius: 4px;
  background: #ffffff;
  color: var(--t12-olive, #6a7c56);
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.5px;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
/* 아이콘이 ::before로 들어오므로 크기 조정 */
#themeNameBox.theme12 .weddinginfo-navi button::before {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
}
#themeNameBox.theme12 .weddinginfo-navi button span {
  display: inline-block;
  color: var(--t12-olive, #6a7c56);
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 12px;
  font-weight: 700;
}
#themeNameBox.theme12 .weddinghall-map-wrap {
  margin-top: 20px;
  margin-left: -22px;          /* 부모 .preview-weddinginfo-wrap padding 22px 무력화 */
  margin-right: -22px;
  width: calc(100% + 44px);    /* 양옆 22px씩 확장하여 모달 전체 폭 */
}
#themeNameBox.theme12 .map-wrap,
#themeNameBox.theme12 .preview-map-img {
  width: 100% !important;       /* 100% 꽉 채움 */
  max-width: 100%;
  border-radius: 0;             /* 풀폭이므로 모서리 직각 */
  overflow: hidden;
  border: 0;                    /* 풀폭이므로 보더 제거 */
  margin: 0;
}
#themeNameBox.theme12 .map-wrap .map,
#themeNameBox.theme12 #kakao_map {
  width: 100% !important;
  min-height: 200px;
  height: 100%;
}
#themeNameBox.theme12 .preview-map-img .cropper-preview {
  width: 100%;
  aspect-ratio: auto;
}
#themeNameBox.theme12 .preview-map-img .cropper-preview img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
}
/* 오시는 길(traffic_info) 컨테이너
 * 전역 `.way-guide-box { background:#f6f9f3; padding:40px 20px }`(연녹색)를 무력화하여
 * Figma 처럼 섹션 크림 배경(#FFF7E5)이 그대로 보이도록 한다. */
#themeNameBox.theme12 .way-guide-box {
  margin-top: 18px;
  padding: 0;
  background: #FFF7E5;     /* Figma: 오시는 길 바탕색 크림 (전역 #f6f9f3 연녹색 무력화) */
}
#themeNameBox.theme12 .way-guide .way-title {
  display: flex;
  align-items: center;
  gap: 5px;                /* Figma: 아이콘↔타이틀 gap 5px */
  margin-bottom: 9px;      /* Figma: 타이틀↔본문 gap 9px */
}
#themeNameBox.theme12 .way-guide-box > .way-guide {
  gap: 0;
}
/* 위치 교통 정보: Figma con_location/traffic_info
 * - 각 항목 하단에 블루 구분선(#4F6AB3) 0.5px (마지막 항목 포함)
 * - 항목 패딩 px30 py20, 제목/본문 모두 #111 차콜 */
#themeNameBox.theme12 .way-guide {
  position: relative;                      /* ::after 헤어라인 기준점 */
  padding: 20px 30px;                      /* Figma: px-30 py-20 */
  border-top: 0;
  border-bottom: 0;                        /* 구분선은 ::after 헤어라인으로 처리 */
}
/* 0.5px 헤어라인 구분선 (Figma: #4F6AB3 border-b-0.5px)
 * DPR 1x(데스크톱)에서도 물리 0.5px 로 보이도록 1px 요소를 scaleY(0.5) 로 축소.
 * 모든 .way-guide 에 적용되어 마지막 항목(안내 사항)도 하단선 유지. */
#themeNameBox.theme12 .way-guide::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #4f6ab3;
  transform: scaleY(0.5);
  transform-origin: bottom;
  pointer-events: none;
}
#themeNameBox.theme12 .way-guide .way-title p {
  margin: 0;
  color: #111111;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -1px;                    /* Figma: tracking -1px */
}
#themeNameBox.theme12 .way-guide .way-content p {
  margin: 0;
  color: #111111;                          /* Figma: 본문도 #111 차콜 */
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.5;
  white-space: pre-line;
}
/* 오시는 길 교통수단 아이콘 (지하철/버스/안내)
 * 8916라인 `.weddinginfo-icon { display:none !important }`가 way-guide 아이콘까지
 * 숨기고 있었으므로, 더 높은 specificity + !important 로 다시 노출시킨다.
 * SVG 원본은 올리브(#6A7C56)지만 Figma 아이콘 색은 차콜(#111)이므로,
 * mask 로 SVG 모양만 따서 background-color(#111)로 칠한다. (iOS webkit 대응 -webkit-mask 포함) */
#themeNameBox.theme12 .way-guide .way-title .weddinginfo-icon {
  display: inline-block !important;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  background-color: #6A7C56;               /* Figma: 아이콘 차콜 */
  background-image: none;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
  flex-shrink: 0;
}
/* 지하철 이용시 */
#themeNameBox.theme12 .way-guide.subway .way-title .weddinginfo-icon {
  -webkit-mask-image: url("/assets/tool/img/invitation/theme_2026/subway_12_icon.svg");
          mask-image: url("/assets/tool/img/invitation/theme_2026/subway_12_icon.svg");
}
/* 버스 이용시 */
#themeNameBox.theme12 .way-guide.bus .way-title .weddinginfo-icon {
  -webkit-mask-image: url("/assets/tool/img/invitation/theme_2026/bus_12_icon.svg");
          mask-image: url("/assets/tool/img/invitation/theme_2026/bus_12_icon.svg");
}
/* 기타 안내 */
#themeNameBox.theme12 .way-guide.etc .way-title .weddinginfo-icon {
  -webkit-mask-image: url("/assets/tool/img/invitation/theme_2026/info_12_icon.svg");
          mask-image: url("/assets/tool/img/invitation/theme_2026/info_12_icon.svg");
}

/* ---------- 계좌 (ACCOUNT) ---------- */
#themeNameBox.theme12 .preview-bank-wrap {
  padding: 50px 0 0 0;     /* Figma: 좌우 패딩 30px */
}
#themeNameBox.theme12 .accordion-inner{
  background-color: #FFF7E5;
}
#themeNameBox.theme12 .preview-bank-wrap::before {
display: none;
}
#themeNameBox.theme12 .preview-bank-title {
text-align: center;
}
#themeNameBox.theme12 .preview-bank-title h2 {
margin: 0;
color: var(--t12-olive);
font-family: "BookkMyungjo", "JejuMyeongjo", serif;
font-size: 20px;
font-weight: 700;
letter-spacing: -0.5px;
}
#themeNameBox.theme12 .preview-bank-title h2::before {
content: "ACCOUNT";
display: block;
margin-bottom: 5px;
color: var(--t12-olive);
font-family: "BookkMyungjo", "JejuMyeongjo", serif;
font-size: 14px;
font-weight: 300;
letter-spacing: 0.5px;
}
/* 안내 문구 (Figma: 신랑&신부에게 축복의 의미로 / 축의금을 전달해보세요.)
* 15px Bold, 올리브, 제목 블록과 30px 간격 */
#themeNameBox.theme12 .preview-bank-title h2::after {
  content: "신랑\00026신부에게 축복의 의미로\A축의금을 전달해보세요.";
  white-space: pre-line;
  display: block;
  margin-top: 30px;
  color: var(--t12-olive);
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 22.5px;
  letter-spacing: -0.5px;
}
#themeNameBox.theme12 .preview-bank-wrap .accordion-box {
  margin: 20px 0 0;       /* Figma: 계좌 영역 상단 20px */
}
/* 전역 `.accordion-box > .accordion-inner { border:0.5px #76a534; border-radius:5px }`
 * (녹색 카드 박스)를 무력화 — Figma는 박스 없이 항목을 풀폭으로 나열 */
#themeNameBox.theme12 .preview-bank-wrap .accordion-inner {
  margin-bottom: 8px;
  border: 0;
  border-radius: 0;
}
#themeNameBox.theme12 .preview-bank-wrap .btn-link.btn-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;          /* Figma: 헤더 버튼 풀폭(stretch) */
  height: 45px;
  margin: 0 auto;
  padding: 0;               /* 풀폭 + 중앙정렬이므로 내부 좌우 패딩 불필요 (오버플로우 방지) */
  background: var(--t12-olive);
  border: 0.5px solid var(--t12-olive);
  border-radius: 4px;
  color: #ffffff;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -1px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
/* 전역 헤더 ::after "접기/펼치기" 토글 텍스트 숨김 (Figma: 제목만 표시) */
#themeNameBox.theme12 .preview-bank-wrap .btn-link.btn-toggle::after {
  content: none;
}
#themeNameBox.theme12 .preview-bank-wrap .collapse {
  margin-top: 10px;
}
#themeNameBox.theme12 .preview-bank-wrap .bank {
  margin-bottom: 8px;
  padding: 16px 18px;
  background: var(--t12-paper);
  border: 0.5px solid var(--t12-line);
  border-radius: 4px;
}
#themeNameBox.theme12 .preview-bank-wrap .bank-info,
#themeNameBox.theme12 .preview-bank-wrap .bank-btn-box{
  padding: 0;
}
#themeNameBox.theme12 .preview-bank-wrap .bank-info p {
  margin: 0;
  line-height: 1.6;
}
/* 계좌 라벨: Figma 부모 라벨 12px Light, 이름 14px Bold, 모두 올리브 */
#themeNameBox.theme12 .preview-bank-wrap .bank-info p:first-child {
  display: flex;
  align-items: center;
  gap: 5px;
}
#themeNameBox.theme12 .preview-bank-wrap .bank-info .name {
  color: var(--t12-olive);
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.5px;
}
/* 부모 라벨 (신랑/부/모): 12px Light (300) */
#themeNameBox.theme12 .preview-bank-wrap .bank-info .name::before {
  font-weight: 300;
  font-size: 12px;
  margin-right: 5px;
}
/* 이름 앞 관계 표기: 행 클래스(00=본인/01=부/02=모) 기준 (피그마) */
#themeNameBox.theme12 .bank_groom00 .bank-info .name::before { content: "신랑"; }
#themeNameBox.theme12 .bank_bride00 .bank-info .name::before { content: "신부"; }
#themeNameBox.theme12 .bank_groom01 .bank-info .name::before,
#themeNameBox.theme12 .bank_bride01 .bank-info .name::before { content: "부"; }
#themeNameBox.theme12 .bank_groom02 .bank-info .name::before,
#themeNameBox.theme12 .bank_bride02 .bank-info .name::before { content: "모"; }
#themeNameBox.theme12 .preview-bank-wrap .bank-info .bank_type,
#themeNameBox.theme12 .preview-bank-wrap .bank-info .bank_no {
  color: var(--t12-olive);
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
/* 계좌 카드 구분선 — Figma: border-bottom 0.5px 올리브(#6A7C56)
 * scaleY(0.5) 헤어라인은 반투명 블렌딩으로 색이 연해 보이므로,
 * 색을 정확히 #6A7C56 로 유지하기 위해 실선 보더 사용
 * (실기기 2x 에서는 0.5px = 1물리픽셀 헤어라인으로 표시) */
#themeNameBox.theme12 .preview-bank-wrap .bank {
  background: transparent;
  border: 0;
  border-bottom: 0.5px solid #6A7C56;
  border-radius: 0;
  padding: 20px 0;
}
#themeNameBox.theme12 .preview-bank-wrap .bank-btn-box {
  display: flex;
  gap: 5px;                /* Figma: 버튼 간격 5px */
  margin-top: 15px;        /* Figma: 정보↔버튼 gap 15px */
}
#themeNameBox.theme12 .preview-bank-wrap .btn.copy-bank,
#themeNameBox.theme12 .preview-bank-wrap .btn.kakaopay {
  flex: 1;
  height: 40px;
  padding: 0 10px;
  background: #ffffff;
  border: 0.5px solid var(--t12-olive);
  border-radius: 5px;      /* Figma: 버튼 모서리 5px */
  color: var(--t12-olive);
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* Figma: 카카오페이 버튼도 흰 배경 + 올리브 보더/텍스트 (아이콘만 노랑)
 * 전역 `.accordion-inner .bank > .btn.kakaopay { background:#ffeb00 }` 노란 배경 무력화 */
#themeNameBox.theme12 .preview-bank-wrap .btn.kakaopay {
  background: #ffffff;
  border-color: var(--t12-olive);
  color: var(--t12-olive);
}
/* 계좌복사 아이콘: 전역 svg(빨강)를 mask 로 모양만 따서 올리브로 칠함 (Figma 올리브) */
#themeNameBox.theme12 .preview-bank-wrap .btn.copy-bank::before {
  background-image: none;
  background-color: var(--t12-olive);
  -webkit-mask: url("/assets/tool/img/theme_new/theme_icon_copy.svg") center / 23px no-repeat;
          mask: url("/assets/tool/img/theme_new/theme_icon_copy.svg") center / 23px no-repeat;
}

/* ---------- 방명록 (GUESTBOOK) ---------- */
/* 방명록 미사용 시 하단 고정 여백(테마12~14 공통).
 * - 하객뷰: card_board_yn=N 이면 방명록 섹션이 렌더되지 않음(:not(:has))
 * - 편집기: JS가 방명록 섹션을 display:none 처리(:has([style*=none]))
 * 방명록 사용 시엔 방명록 섹션(하단 벡터 장식 포함)이 바닥 여백을 담당하므로 추가 안 함 */
#themeNameBox.theme12 .preview-etc-wrap:not(:has(.preview-guestbook-wrap)),
#themeNameBox.theme12 .preview-etc-wrap:has(.preview-guestbook-wrap[style*="display: none"]),
#themeNameBox.theme12 .preview-etc-wrap:has(.preview-guestbook-wrap[style*="display:none"]),
#themeNameBox.theme13 .preview-etc-wrap:not(:has(.preview-guestbook-wrap)),
#themeNameBox.theme13 .preview-etc-wrap:has(.preview-guestbook-wrap[style*="display: none"]),
#themeNameBox.theme13 .preview-etc-wrap:has(.preview-guestbook-wrap[style*="display:none"]),
#themeNameBox.theme14 .preview-etc-wrap:not(:has(.preview-guestbook-wrap)),
#themeNameBox.theme14 .preview-etc-wrap:has(.preview-guestbook-wrap[style*="display: none"]),
#themeNameBox.theme14 .preview-etc-wrap:has(.preview-guestbook-wrap[style*="display:none"]) {
  padding-bottom: 100px;
}

#themeNameBox.theme12 .preview-guestbook-wrap {
  padding: 100px 22px 40px;   /* 하단 여백 테마16 기준 40px 통일 */
}
/* base의 아치형 inner-wrap(녹색 보더 + border-radius:300px) 제거 - Figma는 아치 없음 */
#themeNameBox.theme12 .preview-guestbook-wrap .preview-inner-wrap {
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
}
/* 방명록 데코 - vector01/02.svg (svg 자체 fill-opacity 0.3 적용된 크림 벡터), 중앙 정렬 */
#themeNameBox.theme12 .preview-guestbook-wrap::before {
  left: 70%;
  top: -177px;
  transform: translateX(-50%);
  width: 561px;
  max-width: 156%;
  height: 523px;
  opacity: 1;
  background-image: url("/assets/tool/img/invitation/theme_2026/theme12_guestbook_bg_vector01.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
/* 하단 벡터(::after)는 사용 안 함 - 상단 벡터만 노출 */
#themeNameBox.theme12 .preview-guestbook-wrap::after {
  display: none;
}
#themeNameBox.theme12 .preview-guestbook-title {
  text-align: center;
  padding: 0 0 10px 0;             /* 작성 전: 안내문구+버튼이 있어 하단 여백 작게 */

}
/* 방명록 작성 완료(isBoard) 시: 안내문구+버튼이 사라지므로 하단 여백 확대 */
#themeNameBox.theme12 .preview-guestbook-wrap.board-written .preview-guestbook-title {
  padding-bottom: 76px;
}
#themeNameBox.theme12 .preview-guestbook-title h2 {
  margin: 0;
  color: var(--t12-olive);
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
#themeNameBox.theme12 .preview-guestbook-title h2::before {
  content: "GUESTBOOK";
  display: block;
  margin-bottom: 5px;
  color: var(--t12-olive);
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.5px;
}
/* 방명록 안내 문구 (Figma: 신랑&신부에게 / 축하메시지를 남겨주세요.) */
/* 방명록 안내 문구: 작성하기 버튼과 동일 조건(@if)으로 blade에서 노출 제어
   (이전엔 h2::after content로 항상 노출되어 방명록 작성 후에도 사라지지 않던 문제 해결) */
#themeNameBox.theme12 .preview-guestbook-wrap .guestbook-subtitle,
#themeNameBox.theme13 .preview-guestbook-wrap .guestbook-subtitle {
  text-align: center;
  margin-top: 14px;
  margin-bottom: 0;
  color: #6A7C56;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 22.5px;
  letter-spacing: -0.5px;
  word-wrap: break-word;
}
#themeNameBox.theme12 .preview-guestbook-wrap .guestbook-no-data {
  margin: 22px 0;
  padding: 20px 0;
  background: transparent;
  text-align: center;
  color: var(--t12-olive-soft);
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 13px;
  letter-spacing: -0.5px;
}
#themeNameBox.theme12 .preview-guestbook-lists-wrap {
  margin: 0;
}
/* 방명록 카드 - Figma: 흰 배경 + 부드러운 그림자, 라운드 */
#themeNameBox.theme12 .preview-guestbook-wrap .guestbook-list {
  position: relative;
  margin-bottom: 14px;
  padding: 22px 20px;
  background: #ffffff;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
/* base의 내부 구분선/추가 패딩 제거 - Figma는 카드 내부 라인 없음 */
#themeNameBox.theme12 .preview-guestbook-wrap .guestbook-list-txt {
  padding: 0;
  border-bottom: 0;
  background-color: transparent;
}
/* 수정/삭제: Figma는 텍스트 대신 연필/X 아이콘 (카드 상단, 이름/날짜 위에 배치) */
#themeNameBox.theme12 .preview-guestbook-wrap .guest-btn-box {
  order: -2;                 /* 이름/날짜(order:-1)보다 위 */
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
/* 수정/삭제: 박스+아이콘이 포함된 완성형 SVG를 배경으로 사용 (텍스트는 숨김) */
#themeNameBox.theme12 .preview-guestbook-wrap .guest-btn-box .btn,
#themeNameBox.theme12 .preview-guestbook-wrap .guest-btn-box .btn-edit,
#themeNameBox.theme12 .preview-guestbook-wrap .guest-btn-box .btn-delete {
  width: 25px;
  height: 24px;
  padding: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 0;
  border-radius: 0;
  font-size: 0;              /* 텍스트(수정/삭제) 숨김, 아이콘만 노출 */
  line-height: 0;
  color: transparent;
  cursor: pointer;
}
#themeNameBox.theme12 .preview-guestbook-wrap .guest-btn-box .btn-edit {
  background-image: url("/assets/tool/img/invitation/theme_2026/theme12_btn_edit.svg");
}
#themeNameBox.theme12 .preview-guestbook-wrap .guest-btn-box .btn-delete {
  background-image: url("/assets/tool/img/invitation/theme_2026/theme12_btn_delete.svg");
}
/* 방명록 본문 - Figma: #111111 검정, 15px Bold */
#themeNameBox.theme12 .preview-guestbook-wrap .guest-contents .content {
  margin: 0 0 8px;
  color: #111111;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.5;
}
#themeNameBox.theme12 .preview-guestbook-wrap .guest-name-date {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  order: -1;                 /* 이름/날짜를 본문 위로 */
  margin-bottom: 8px;
}
/* 방명록: 이름 #6A7C56 16px Bold, 날짜 #999 14px Bold */
#themeNameBox.theme12 .preview-guestbook-wrap .guest-name-date .name {
  margin: 0;
  color: var(--t12-olive);
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.5px;
}
#themeNameBox.theme12 .preview-guestbook-wrap .guest-name-date .date {
  margin: 0;
  color: #999999;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
#themeNameBox.theme12 .book_btn,
#themeNameBox.theme12 .book_btn2 {
  margin-top: 18px;
  text-align: center;
}
/* 방명록 작성하기 - 타이틀/서브타이틀 아래(목록 위) 상단 배치 */
#themeNameBox.theme12 .book_btn_top {
  margin: 30px 0 100px;
  text-align: center;
}
/* 방명록 10개씩 무한스크롤 - JS 적용 전 11번째 이후 숨김 (FOUC 방지) */
#themeNameBox.theme12 .preview-guestbook-lists > .guestbook-list:nth-child(n+11) {
  display: none;
}

/* ---------- 모달 (Modal) - body:has() 사용
 * 모달은 JS(invitation.preview_test.js:1733)가 body로 appendTo 하므로
 * #themeNameBox.theme12 ... 선택자는 매칭되지 않음.
 * body:has(#themeNameBox.theme12) 로 theme12 활성 시 모달도 스타일링.
 */
/* theme12 전용 모달 4종에만 스타일 적용 (다른 모달 영향 방지) */
body:has(#themeNameBox.theme12) #contactModalContent .modal-content,
body:has(#themeNameBox.theme12) #attendModalContent .modal-content,
body:has(#themeNameBox.theme12) #guestbookModalContent .modal-content,
body:has(#themeNameBox.theme12) #gueseditModalContent .modal-content {
  background: #ffffff;
  border: 0;
  border-radius: 0 !important;       /* 직각 모서리 */
  max-width: 360px;
  margin: 0 auto;
  padding: 0 !important;
  overflow: hidden;
}
/* 모달 dialog 중앙 정렬 + 360px 폭 제한 */
body:has(#themeNameBox.theme12) #contactModalContent .modal-dialog,
body:has(#themeNameBox.theme12) #attendModalContent .modal-dialog,
body:has(#themeNameBox.theme12) #guestbookModalContent .modal-dialog,
body:has(#themeNameBox.theme12) #gueseditModalContent .modal-dialog {
  max-width: 360px;
  width: 100%;
  margin: 1.75rem auto;
}
body:has(#themeNameBox.theme12) #contactModalContent .modal-header,
body:has(#themeNameBox.theme12) #attendModalContent .modal-header,
body:has(#themeNameBox.theme12) #guestbookModalContent .modal-header,
body:has(#themeNameBox.theme12) #gueseditModalContent .modal-header {
  position: relative;
  display: block;
  padding: 20px 25px 15px;
  border-bottom: 0;
  text-align: center;
}
body:has(#themeNameBox.theme12) #contactModalContent .modal-title,
body:has(#themeNameBox.theme12) #attendModalContent .modal-title,
body:has(#themeNameBox.theme12) #guestbookModalContent .modal-title,
body:has(#themeNameBox.theme12) #gueseditModalContent .modal-title {
  display: block;
  width: 100%;
  margin: 0;
  color: #111;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-align: center;
}
body:has(#themeNameBox.theme12) #contactModalContent .modal-header .close,
body:has(#themeNameBox.theme12) #attendModalContent .modal-header .close,
body:has(#themeNameBox.theme12) #guestbookModalContent .modal-header .close,
body:has(#themeNameBox.theme12) #gueseditModalContent .modal-header .close {
  position: absolute;
  top: 50%;
  right: 25px;
  transform: translateY(-50%);
  font-size: 24px;
  color: #111;
  opacity: 1;
  text-shadow: none;
  padding: 0;
  margin: 0;
  line-height: 1;
  background: transparent;
  border: 0;
}

/* ===== 연락하기 모달 - Figma HTML/CSS 참조 정확 구현
 * docs/work/invitation/contactme-modal-html-css/ 기반
 * - header: padding 35px 11px, 18px Bold, 중앙 정렬
 * - 신랑측/신부측 subtitle: min-height 76px, padding 29px 30px, 18px Bold, border-bottom
 * - group (각 행): padding 10px 11px, justify-content center, gap 20px label-name, 15px between icons
 * - circle-green icon: 28×28 #6a7c56
 */

body:has(#themeNameBox.theme12) #contactModalContent .modal-body {
  padding: 0 0 53px !important;     /* Figma body padding-bottom 53px 복원 */
  margin: 0 !important;
  background: #ffffff;
  color: #111;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  letter-spacing: -0.5px;
}

/* 공통 행 layout (grid 3-column) - 보더가 모달 폭 전체로 확장 */
body:has(#themeNameBox.theme12) #contactModalContent .contactItem {
  display: grid;
  /* 라벨 고정폭 + 이름 유연(minmax 0,1fr → 좁아도 오버플로 방지) + 아이콘 내용폭.
     고정 152px 이면 좁은 모달에서 내용이 넘쳐 좌우 padding이 안 보였음 → 유연 컬럼으로 변경 */
  grid-template-columns: 60px minmax(0, 1fr) auto;
  align-items: center;
  justify-content: stretch;
  column-gap: 20px;
  width: 100%;
  margin: 0;
  padding: 10px 30px;                                     /* 모달 폭 360 - 행 안쪽 컨텐츠를 위한 패딩 */
  box-sizing: border-box;
  border-bottom: 0.5px solid rgba(17, 17, 17, 0.3);       /* 보더가 padding 포함 전체 폭 = 360px */
  background: transparent;
}
body:has(#themeNameBox.theme12) #contactModalContent .contactItem > div {
  min-height: 0;
  line-height: 1.5;
}

/* 신랑/신부 첫 행 - ::before 로 그룹 헤더 "신랑측"/"신부측" 주입 */
body:has(#themeNameBox.theme12) #contactModalContent .contactItem:has(.call_tit.groom),
body:has(#themeNameBox.theme12) #contactModalContent .contactItem:has(.call_tit.bride) {
  grid-template-areas:
    "header header header"
    "tit    name   icon";
  grid-template-columns: 60px minmax(0, 1fr) auto;
  padding: 0 30px 10px;
}
body:has(#themeNameBox.theme12) #contactModalContent .contactItem:has(.call_tit.bride) {
  margin-top: 40px;        /* Figma col gap 40px: 신랑측 마지막 행과 신부측 헤더 사이 */
}
body:has(#themeNameBox.theme12) #contactModalContent .contactItem:has(.call_tit.groom)::before,
body:has(#themeNameBox.theme12) #contactModalContent .contactItem:has(.call_tit.bride)::before {
  grid-area: header;
  display: block;
  min-height: 76px;
  margin: 0 -30px 10px;                                     /* contactItem 패딩(30px) 무력화하여 보더가 모달 폭 끝까지 */
  padding: 29px 50px;
  box-sizing: border-box;
  border-bottom: 0.5px solid rgba(17, 17, 17, 0.3);
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.5px;
  text-align: left;
}
body:has(#themeNameBox.theme12) #contactModalContent .contactItem:has(.call_tit.groom)::before { content: "신랑측"; }
body:has(#themeNameBox.theme12) #contactModalContent .contactItem:has(.call_tit.bride)::before { content: "신부측"; }

/* grid 영역 할당 */
body:has(#themeNameBox.theme12) #contactModalContent .contactItem:has(.call_tit.groom) .call_tit,
body:has(#themeNameBox.theme12) #contactModalContent .contactItem:has(.call_tit.bride) .call_tit { grid-area: tit; }
body:has(#themeNameBox.theme12) #contactModalContent .contactItem:has(.call_tit.groom) .call_name,
body:has(#themeNameBox.theme12) #contactModalContent .contactItem:has(.call_tit.bride) .call_name { grid-area: name; }
body:has(#themeNameBox.theme12) #contactModalContent .contactItem:has(.call_tit.groom) .call_icon,
body:has(#themeNameBox.theme12) #contactModalContent .contactItem:has(.call_tit.bride) .call_icon { grid-area: icon; }

/* 라벨 (.call_tit) - Figma group-text1: 16px Light 300, text-align left */
body:has(#themeNameBox.theme12) #contactModalContent .contactItem .call_tit {
  padding: 0;
  margin: 0;
  min-width: 0;
  text-align: left;
  color: #111;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: -0.5px;
  line-height: 1.5;
}
body:has(#themeNameBox.theme12) #contactModalContent .contactItem .call_tit .xeicon {
  display: none;       /* heart 아이콘 숨김 (Figma 미사용) */
}
/* 부모 행 라벨 자동 교체: "신랑 아버지" → "아버지" */
body:has(#themeNameBox.theme12) #contactModalContent .contactItem.groom-dad-info .call_tit,
body:has(#themeNameBox.theme12) #contactModalContent .contactItem.groom-mom-info .call_tit,
body:has(#themeNameBox.theme12) #contactModalContent .contactItem.bride-dad-info .call_tit,
body:has(#themeNameBox.theme12) #contactModalContent .contactItem.bride-mom-info .call_tit {
  font-size: 0;
  line-height: 0;
}
body:has(#themeNameBox.theme12) #contactModalContent .contactItem.groom-dad-info .call_tit::before,
body:has(#themeNameBox.theme12) #contactModalContent .contactItem.bride-dad-info .call_tit::before {
  content: "아버지";
  font-size: 16px;
  font-weight: 300;
  color: #111;
  letter-spacing: -0.5px;
  line-height: 1.5;
  display: inline-block;
}
body:has(#themeNameBox.theme12) #contactModalContent .contactItem.groom-mom-info .call_tit::before,
body:has(#themeNameBox.theme12) #contactModalContent .contactItem.bride-mom-info .call_tit::before {
  content: "어머니";
  font-size: 16px;
  font-weight: 300;
  color: #111;
  letter-spacing: -0.5px;
  line-height: 1.5;
  display: inline-block;
}

/* 이름 (.call_name) - Figma group-text2: 16px Bold 700, text-align left */
body:has(#themeNameBox.theme12) #contactModalContent .contactItem .call_name {
  width: auto;
  padding: 0;
  margin: 0;
  text-align: left;
  color: #111;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.5;
}

/* 통화/메시지 아이콘 (.call_icon > a) - Figma circle-green 28x28 + Figma 전용 SVG */
body:has(#themeNameBox.theme12) #contactModalContent .contactItem .call_icon {
  width: auto;
  padding: 0;
  display: flex;
  gap: 15px;            /* Figma group-btn gap */
  align-items: center;
  justify-self: end;    /* grid cell 내에서 우측 정렬 */
}
body:has(#themeNameBox.theme12) #contactModalContent .contactItem .call_icon > a {
  margin: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #6a7c56;             /* Figma circle-green */
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  text-decoration: none;
  font-size: 0;                          /* 자식 xeicon 텍스트 제거 */
  line-height: 0;
}
/* 전화(mobile) 아이콘 */
body:has(#themeNameBox.theme12) #contactModalContent .contactItem .call_icon > a.mobile {
  background-image: url('/assets/tool/img/invitation/theme_2026/theme12_icon_call.svg');
  background-size: 14px 14px;            /* Figma group-graphic1: 14x14 */
}
/* 메시지(sms) 아이콘 */
body:has(#themeNameBox.theme12) #contactModalContent .contactItem .call_icon > a.sms {
  background-image: url('/assets/tool/img/invitation/theme_2026/theme12_icon_message.svg');
  background-size: 17px 12px;            /* Figma group-graphic2: 17x12 */
}
/* 내부 xeicon 글꼴 아이콘은 SVG 배경으로 대체했으므로 숨김 */
body:has(#themeNameBox.theme12) #contactModalContent .contactItem .call_icon > a .xeicon {
  display: none;
}
/* theme12 전용 4개 모달의 input/btn만 스타일 한정 (다른 모달 영향 방지) */
body:has(#themeNameBox.theme12) #contactModalContent .modal-body input.form-control,
body:has(#themeNameBox.theme12) #contactModalContent .modal-body textarea.form-control,
body:has(#themeNameBox.theme12) #guestbookModalContent .modal-body input.form-control,
body:has(#themeNameBox.theme12) #guestbookModalContent .modal-body textarea.form-control,
body:has(#themeNameBox.theme12) #gueseditModalContent .modal-body input.form-control,
body:has(#themeNameBox.theme12) #gueseditModalContent .modal-body textarea.form-control {
  background: var(--t12-cream, #fff7e5);
  border: 0.5px solid var(--t12-line, #d9d2bd);
  border-radius: 4px;
  color: var(--t12-olive, #6a7c56);
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  letter-spacing: -0.5px;
}

/* ===== 참석여부 모달 (#attendModalContent) - Figma 1:1 사양
 * 모달: bg white, padding-top/bottom 50px, flex column gap 20px
 * 헤더: "참석 의사 전달" 18px Bold #111 + 서브 "원활한 예식 진행을 위해..." 12px Bold rgba(17,17,17,.5)
 * 신랑측/신부측 토글 버튼 (163×45, 흰 or #3D4732 bg)
 * 참석 가능/불가 토글 버튼 (163×45, #6A7C56 or 흰 bg)
 * 성함 label + input(189×45) + 동행추가/삭제 버튼(137×45 #6A7C56)
 */
body:has(#themeNameBox.theme12) #attendModalContent .modal-header {
  padding: 50px 30px 0 !important;
  text-align: center;
  display: block !important;
  position: relative;
}
body:has(#themeNameBox.theme12) #attendModalContent .modal-title {
  display: block;
  width: 100%;                       /* 폭 100%로 자동 가운데, 줄바꿈 자연스럽게 */
  max-width: 100%;
  margin: 0;
  color: #111111;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  word-wrap: break-word;
  letter-spacing: 0;
  white-space: nowrap;               /* "참석 의사 전달" 한 줄 유지 */
}
/* 서브타이틀 - "원활한 예식 진행을 위해..." */
body:has(#themeNameBox.theme12) #attendModalContent .modal-title::after {
  content: "원활한 예식 진행을 위해 참석 정보를\A미리 알려주시면 감사하겠습니다";
  display: block;
  margin-top: 15px;
  white-space: pre-line;             /* \A를 줄바꿈으로 처리 */
  color: rgba(17, 17, 17, 0.5);
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0;
  text-align: center;
  width: 100%;
  max-width: 100%;
}
body:has(#themeNameBox.theme12) #attendModalContent .modal-header .close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 22px;
  transform: none;
}

/* 모달 body */
body:has(#themeNameBox.theme12) #attendModalContent .modal-body {
  padding: 12px 0 50px !important;
  background: #ffffff;
}
body:has(#themeNameBox.theme12) #attendModalContent .preview-attend-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}
body:has(#themeNameBox.theme12) #attendModalContent .form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 라벨 "선택"/"첨석여부"/"성명" 숨김 (Figma 미사용) */
body:has(#themeNameBox.theme12) #attendModalContent .col-form-label {
  display: none !important;
}

/* form-group을 단순 block으로 재구성 */
body:has(#themeNameBox.theme12) #attendModalContent .form-group.row {
  display: block;
  margin: 0;
  padding: 10px 13px;
}
body:has(#themeNameBox.theme12) #attendModalContent .form-group.row > .col-sm-9 {
  flex: none;
  max-width: 100%;
  width: 100%;
  padding: 0;
}

/* 신랑측/신부측, 참석가능/불가 토글 버튼 그룹 */
body:has(#themeNameBox.theme12) #attendModalContent .btn-group-toggle {
  display: flex !important;
  gap: 8px;
  width: 100% !important;
}
body:has(#themeNameBox.theme12) #attendModalContent .btn-group-toggle > label.btn {
  flex: 1;
  width: auto;
  height: 45px;
  padding: 10px;
  background: #ffffff;
  border: 0.5px solid rgba(17, 17, 17, 0.5);
  border-radius: 4px !important;
  color: #111111;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  box-shadow: none;
  letter-spacing: 0;
}
/* 신랑측 active (1st row) - Figma: #3D4732 다크 올리브 */
body:has(#themeNameBox.theme12) #attendModalContent .form-group:nth-of-type(1) .btn-group-toggle > label.btn.active {
  background: #3D4732;
  color: #ffffff;
  border-color: #3D4732;
}
/* 참석여부 active (2nd row) - Figma: #6A7C56 올리브 */
body:has(#themeNameBox.theme12) #attendModalContent .form-group:nth-of-type(2) .btn-group-toggle > label.btn.active {
  background: #6A7C56;
  color: #ffffff;
  border-color: #6A7C56;
}
body:has(#themeNameBox.theme12) #attendModalContent .btn-group-toggle > label.btn:not(.active) {
  background: #ffffff;
  color: #111111;
}
body:has(#themeNameBox.theme12) #attendModalContent .btn-group-toggle > label.btn input[type="radio"] {
  display: none;
}

/* 성명 form-group: label "성함" + input + 동행추가 */
body:has(#themeNameBox.theme12) #attendModalContent .form-group:nth-of-type(3) {
  padding: 40px 0 0;
}
/* 성명 form-group의 label은 위 .col-form-label로 숨겨졌으나, 대체로 "성함" 텍스트 노출 위해 ::before 사용 */
body:has(#themeNameBox.theme12) #attendModalContent .form-group:nth-of-type(3) > .col-sm-9::before {
  content: "성함";
  display: block;
  padding: 0 13px 10px;
  color: #111111;
  font-family: "Eulyoo1945", "BookkMyungjo", serif;
  font-size: 13px;
  font-weight: 600;
  word-wrap: break-word;
}
body:has(#themeNameBox.theme12) #attendModalContent .form-group:nth-of-type(3) .input-group {
  display: flex !important;
  gap: 8px;
  padding: 0 13px;
  margin: 0;
  flex-wrap: nowrap;
}
body:has(#themeNameBox.theme12) #attendModalContent .form-group:nth-of-type(3) .input-group input.form-control {
  flex: 1 1 189px;
  width: auto !important;
  max-width: 189px;
  height: 45px;
  padding: 10px;
  background: #ffffff;
  border: 0.5px solid #30312E;
  border-radius: 4px !important;
  color: #111111;
  font-family: "Pretendard", "BookkMyungjo", serif;
  font-size: 12px;
  font-weight: 400;
}
body:has(#themeNameBox.theme12) #attendModalContent .form-group:nth-of-type(3) .input-group input.form-control::placeholder {
  color: rgba(17, 17, 17, 0.3);
  font-family: "Pretendard", "BookkMyungjo", serif;
  font-size: 10px;
  font-weight: 400;
}
body:has(#themeNameBox.theme12) #attendModalContent .form-group:nth-of-type(3) .input-group-append {
  margin: 0;
  flex: 0 0 137px;
}
body:has(#themeNameBox.theme12) #attendModalContent .form-group:nth-of-type(3) .input-group-append .btn {
  width: 137px;
  height: 45px;
  padding: 10px;
  background: #6A7C56;
  border: 0.5px solid rgba(17, 17, 17, 0.5);
  border-radius: 4px;
  color: #ffffff;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: none;
}
body:has(#themeNameBox.theme12) #attendModalContent .form-group:nth-of-type(3) .input-group-append .btn i.xeicon {
  display: none;
}
/* 동행추가/삭제 버튼 앞 +/- 표기 - 숨긴 xeicon 대체 */
body:has(#themeNameBox.theme12) #attendModalContent .btn-add-companion::before {
  content: "+";
}
body:has(#themeNameBox.theme12) #attendModalContent .btn-del-companion::before {
  content: "-";
}
/* 동행 추가 시 동적으로 생기는 추가 input/삭제 버튼도 동일 스타일 */
body:has(#themeNameBox.theme12) #attendModalContent .form-group:nth-of-type(3) .input-group.split {
  padding: 0 13px;
  margin-bottom: 10px !important;
}

/* 최종 "참석여부 등록하기" 제출 버튼 - Figma 미표시이나 기능 유지를 위해 작게 표시 */
body:has(#themeNameBox.theme12) #attendModalContent .btn-dark.btn-block {
  margin: 20px 13px 0;
  width: calc(100% - 26px);
  height: 45px;
  background: #6A7C56;
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 13px;
  font-weight: 700;
}
body:has(#themeNameBox.theme12) #contactModalContent .modal-body input.form-control:focus,
body:has(#themeNameBox.theme12) #contactModalContent .modal-body textarea.form-control:focus,
body:has(#themeNameBox.theme12) #attendModalContent .modal-body input.form-control:focus,
body:has(#themeNameBox.theme12) #attendModalContent .modal-body textarea.form-control:focus,
body:has(#themeNameBox.theme12) #guestbookModalContent .modal-body input.form-control:focus,
body:has(#themeNameBox.theme12) #guestbookModalContent .modal-body textarea.form-control:focus,
body:has(#themeNameBox.theme12) #gueseditModalContent .modal-body input.form-control:focus,
body:has(#themeNameBox.theme12) #gueseditModalContent .modal-body textarea.form-control:focus {
  border-color: var(--t12-olive, #6a7c56);
  box-shadow: 0 0 0 3px rgba(106,124,86,.18);
}
body:has(#themeNameBox.theme12) #contactModalContent .modal-body .btn-dark,
body:has(#themeNameBox.theme12) #contactModalContent .modal-body .btn.btn-primary,
body:has(#themeNameBox.theme12) #attendModalContent .modal-body .btn-dark,
body:has(#themeNameBox.theme12) #attendModalContent .modal-body .btn.btn-primary,
body:has(#themeNameBox.theme12) #guestbookModalContent .modal-body .btn-dark,
body:has(#themeNameBox.theme12) #guestbookModalContent .modal-body .btn.btn-primary,
body:has(#themeNameBox.theme12) #gueseditModalContent .modal-body .btn-dark,
body:has(#themeNameBox.theme12) #gueseditModalContent .modal-body .btn.btn-primary {
  background: var(--t12-olive, #6a7c56);
  border-color: var(--t12-olive, #6a7c56);
  color: var(--t12-cream, #fff7e5);
}

/* ---------- 공통 버튼 (Figma: 흰 배경 + 올리브 0.5px 테두리 + 4px radius) ---------- */
#themeNameBox.theme12 .btn-contactme,
#themeNameBox.theme12 .btn-attend,
#themeNameBox.theme12 .themeBtn a,
#themeNameBox.theme12 .book_btn a,
#themeNameBox.theme12 .book_btn2 a,
#themeNameBox.theme12 .book_btn_top a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 45px;
  padding: 0 22px;
  border-radius: 4px;
  background: #ffffff;
  border: 0.5px solid var(--t12-olive);
  color: var(--t12-olive);
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.5px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
#themeNameBox.theme12 .btn-contactme .call-icon,
#themeNameBox.theme12 .btn-attend .check-icon {
  display: none;
}
#themeNameBox.theme13 {
  background: #fff3ed;
  color: #bf4340;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
}
#themeNameBox.theme13 .theme-13-wrap {
  display: flex;
  justify-content: center;
  container-type: inline-size;
  width: 100%;
  /* 피그마 디자인 비율(세로로 더 김)에 맞춤 */
  aspect-ratio: 382 / 835;
  min-height: 0;
  position: relative;
  overflow: hidden;
  background: #fff3ed;
}
#themeNameBox.theme13 .theme-13-wrap .theme-frame-cons-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 469.39px;
  aspect-ratio: 382 / 835;
  min-height: 0;
  padding: 0;
  text-align: center;
  /* paper-bg(multiply)가 이 박스 안에서 곱해질 #FFF3ED 바탕 (frame-cons-box가 z-index로 독립 스택을 만들어 wrap 배경과 합성되지 않으므로 동일 박스에 바탕을 깔아줌) */
  background: var(--t13-paper);
}
#themeNameBox.theme13 .theme-13-wrap .theme-frame-cons-box::before {
  content: "";
  position: absolute;
  left: 10.071%;
  top: 11.832%;
  width: 76.696%;
  height: 88.168%;
  border-radius: 180px 180px 0 0;
  background: #fff;
  z-index: 1;
}
#themeNameBox.theme13 .theme-paper-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 89.567%;
  object-fit: cover;
  z-index: 0;
}
#themeNameBox.theme13 .theme-hero-illustration {
  position: absolute;
  left: 13.465%;
  top: 9.16%;
  width: 68.2%;
  height: 58.524%;
  margin: 0;
  z-index: 2;
}
#themeNameBox.theme13 .theme-hidden-preview {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}
#themeNameBox.theme13 .theme-name-stack {
  position: absolute;
  left: 10.071%;
  top: 72.774%;
  width: 76.696%;
  /* 고정 height 제거: flex 항목(이름·&)이 압축(flex-shrink)되어 겹치던 문제 해결, 내용만큼 자동 높이 */
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  color: #bf4340;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: clamp(14px, 5.113cqw, 24px);
  font-weight: 400;
  line-height: clamp(20px, 7.244cqw, 34px);
  z-index: 2;
}
#themeNameBox.theme13 .theme-name-stack > span {
  flex-shrink: 0; /* 줄이 눌려 겹치지 않도록 */
}
#themeNameBox.theme13 .theme-name-stack .p_dot {
  /* 제네릭 .theme-wrap .p_dot(2px 회색 점) 스타일을 해제하고 '&' 문자를 일반 텍스트로 표시 */
  display: block;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  vertical-align: baseline;
  margin: 0;
  color: #bf4340;
  font-size: clamp(14px, 5.113cqw, 24px);
  line-height: clamp(20px, 7.244cqw, 34px);
}
/* 제네릭 .theme-wrap .p_name(max-width:40%, inline-block) 해제: 이름이 과도하게 줄바꿈되지 않도록 */
#themeNameBox.theme13 .theme-name-stack .p_name_1,
#themeNameBox.theme13 .theme-name-stack .p_name_2 {
  display: block;
  max-width: 100%;
  font-size: inherit;
  font-weight: 400;
}
#themeNameBox.theme13 .theme-13-wrap .main-date-txt,
#themeNameBox.theme13 .theme-13-wrap .weddding-hall-name {
  position: absolute;
  left: 10.071%;
  width: 76.696%;
  margin: 0;
  color: #bf4340;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: clamp(9px, 3.409cqw, 16px);
  font-weight: 400;
  line-height: clamp(13px, 4.687cqw, 22px);
  z-index: 2;
}
#themeNameBox.theme13 .theme-13-wrap .main-date-txt {
  top: 89.313%;
}
#themeNameBox.theme13 .theme-13-wrap .weddding-hall-name {
  top: 92.112%;
}
#themeNameBox.theme13 .preview-invitation-title {
  color: #bf4340;
}
#themeNameBox.theme13 .preview-message-photo-wrap {
  width: 100%;
  max-width: none;
}
#themeNameBox.theme13 .preview-message-photo {
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(74, 103, 65, 0.18);
}
#themeNameBox.theme13 .preview-invitation-cellphome {
  background: rgba(191, 67, 64, 0.045);
  border: 0;
  padding: 24px 0;
}
#themeNameBox.theme13 .preview-invi-wrap {
  background-image: url("/assets/tool/img/invitation/theme_2026/theme13_paper_bg_invite_1.png");
  background-size: cover;
  background-position: center top;
}
#themeNameBox.theme13 .preview-insa-wrap {
  background-image: url("/assets/tool/img/invitation/theme_2026/theme13_paper_bg_invite_2.png");
  background-size: cover;
  background-position: center;
}
#themeNameBox.theme13 .preview-calendar-wrap {
  background-image: url("/assets/tool/img/invitation/theme_2026/theme13_paper_bg_calendar.png");
  background-size: cover;
  background-position: center;
}
#themeNameBox.theme13 .preview-attend-wrap {
  background-image: url("/assets/tool/img/invitation/theme_2026/theme13_paper_bg_rsvp.png");
  background-size: cover;
  background-position: center;
}
#themeNameBox.theme13 .preview-gallery-wrap {
  background-image: url("/assets/tool/img/invitation/theme_2026/theme13_paper_bg_gallery_1.png");
  background-size: cover;
  background-position: center top;
}
#themeNameBox.theme13 .preview-weddinginfo-wrap {
  background-image: url("/assets/tool/img/invitation/theme_2026/theme13_paper_bg_location_1.png");
  background-size: cover;
  background-position: center;
}
#themeNameBox.theme13 .preview-bank-wrap {
  background-image: url("/assets/tool/img/invitation/theme_2026/theme13_paper_bg_account_1.png");
  background-size: cover;
  background-position: center;
}
#themeNameBox.theme13 .preview-guestbook-wrap {
  background-image: url("/assets/tool/img/invitation/theme_2026/theme13_paper_bg_guestbook_1.png");
  background-size: cover;
  background-position: center bottom;
}
#themeNameBox.theme13 .preview-wrap.preview-invitation-wrap::before {
  top: 22px;
  left: 50%;
  width: 112px;
  height: 94px;
  opacity: .82;
  transform: translateX(-50%);
  background-image: url("/assets/tool/img/invitation/theme_2026/theme13_invite_vector.svg");
}
#themeNameBox.theme13 .preview-invi-wrap::before {
  display: none;
}
#themeNameBox.theme13 .preview-gallery-wrap::before {
  top: 24px;
  right: 24px;
  width: 92px;
  height: 108px;
  opacity: .72;
  background-image: url("/assets/tool/img/invitation/theme_2026/theme13_gallery_vector.svg");
}

#themeNameBox.theme13 .preview-guestbook-wrap::after {
  right: 70px;
  top: 44px;
  width: 236px;
  height: 120px;
  opacity: .48;
  background-image: url("/assets/tool/img/invitation/theme_2026/theme13_guestbook_bg_vector02.svg");
}
#themeNameBox.theme13 .btn-contactme,
#themeNameBox.theme13 .btn-attend,
#themeNameBox.theme13 .themeBtn a,
#themeNameBox.theme13 .book_btn2 a {
  border-radius: 999px;
  background: #bf4340;
  border-color: #bf4340;
  color: #fff;
}

/* theme13: red line illustration wedding paper */
body:has(#themeNameBox.theme13) {
  --t13-red: #bf4340;
  --t13-red-dark: #9f3634;
  --t13-paper: #fff3ed; /* 종이질감 배경 색상 (#FFF3ED) - 텍스처 PNG와 이음새 없이 일치 */
  --t13-paper-soft: #fffaf5;
  --t13-line: rgba(191, 67, 64, .22);
  --t13-muted: rgba(191, 67, 64, .72);
}
#themeNameBox.theme13 {
  --t13-red: #bf4340;
  --t13-red-dark: #9f3634;
  --t13-paper: #fff3ed; /* 종이질감 배경 색상 (#FFF3ED) - 텍스처 PNG와 이음새 없이 일치 */
  --t13-paper-soft: #fffaf5;
  --t13-line: rgba(191, 67, 64, .22);
  --t13-muted: rgba(191, 67, 64, .72);
  /* 테마13 전체 배경: 단일 풀 배경 SVG (섹션별 배경/색상코드 대체)
     repeat-y 로 세로로 무한 타일링 → 방명록 등 내용이 길어져도 끝까지 채움.
     #fff3ed 는 이음새/로딩 실패 대비 폴백(이미지가 덮어 평소엔 안 보임). */
  background: #fff3ed url("/assets/tool/img/invitation/theme_2026/theme13_full_bg.svg") top center / 100% auto repeat-y;
  color: var(--t13-red);
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
}
/* 전체 배경 위에 커버/섹션 배경은 투명 처리 (풀 배경 한 장만 노출) */
#themeNameBox.theme13 .theme-13-wrap,
#themeNameBox.theme13 .theme-13-wrap .theme-frame-cons-box,
#themeNameBox.theme13 .preview-wrap.preview-invitation-wrap,
#themeNameBox.theme13 .preview-invi-wrap,
#themeNameBox.theme13 .preview-insa-wrap,
#themeNameBox.theme13 .preview-testimonial-wrap,
#themeNameBox.theme13 .preview-calendar-wrap,
#themeNameBox.theme13 .preview-attend-wrap,
#themeNameBox.theme13 .preview-gallery-wrap,
#themeNameBox.theme13 .preview-weddinginfo-wrap,
#themeNameBox.theme13 .preview-bank-wrap,
#themeNameBox.theme13 .preview-guestbook-wrap {
  background-image: none !important;
  background-color: transparent !important;
}
/* 커버 종이질감 이미지(multiply용)는 풀 배경으로 대체되므로 숨김 */
#themeNameBox.theme13 .theme-paper-bg {
  display: none !important;
}
#themeNameBox.theme13 .theme-13-wrap {
  background: var(--t13-paper); /* multiply 가 곱해질 바탕색 (#FFF3ED) */
  isolation: isolate;          /* 블렌딩을 카드 내부로 가둠 (페이지 배경까지 번지지 않게) */
}
#themeNameBox.theme13 .theme-13-wrap .theme-frame-cons-box::before {
  /* 아치(흰 패널) 상단을 가랜드 뒤까지 끌어올려 벡터 일러스트와 정렬, 좌우는 끝까지 꽉 채움 */
  left: 0;
  width: 100%;
  top: 11.832%;
  height: 88.168%;
  border-radius: 180px 180px 0 0;
}
#themeNameBox.theme13 .theme-paper-bg {
  height: 100%;
  /* 피그마식: 종이질감을 #FFF3ED 바탕 위에 multiply 로 합성 */
  mix-blend-mode: multiply;
}
#themeNameBox.theme13 .theme-hero-illustration {
  /* 피그마 기준 벡터(가랜드+커플) 크기/위치로 확대 재배치 */
  left: 4.2%;
  top: 8.6%;
  width: 89.8%;
  height: 59%;
  object-fit: contain;
}
#themeNameBox.theme13 .theme-name-stack {
  left: 8%;
  width: 84%;
  top: 71.5%;
  /* 피그마: 이름 24px */
  font-size: clamp(20px, 6.3cqw, 24px);
  line-height: 1.42;
  font-weight: 400;
}
#themeNameBox.theme13 .theme-name-stack .p_dot {
  font-size: clamp(20px, 6.3cqw, 24px);
  line-height: 1.42;
}
#themeNameBox.theme13 .theme-13-wrap .main-date-txt,
#themeNameBox.theme13 .theme-13-wrap .weddding-hall-name {
  left: 8%;
  width: 84%;
  /* 피그마: 날짜 16px */
  font-size: clamp(13px, 4.2cqw, 16px);
  line-height: 1.45;
}
#themeNameBox.theme13 .theme-13-wrap .main-date-txt {
  top: 88.5%;
}
#themeNameBox.theme13 .theme-13-wrap .weddding-hall-name {
  top: 91.5%;
}
#themeNameBox.theme13 .preview-wrap.preview-invitation-wrap {
  padding: 0;
  background: var(--t13-paper);
}
#themeNameBox.theme13 .preview-invi-wrap,
#themeNameBox.theme13 .preview-insa-wrap,
#themeNameBox.theme13 .preview-testimonial-wrap {
  min-height: 582px;
  padding: 152px 34px 72px;
  background-color: var(--t13-paper);
  background-size: 100% auto;
  background-repeat: no-repeat;
}
#themeNameBox.theme13 .preview-testimonial-wrap {
  background-image: url("/assets/tool/img/invitation/theme_2026/theme13_paper_bg_invite_2.png");
  background-position: center top;
}
#themeNameBox.theme13 .preview-invi-wrap > *,
#themeNameBox.theme13 .preview-insa-wrap > *,
#themeNameBox.theme13 .preview-testimonial-wrap > * {
  position: relative;
  z-index: 1;
}
#themeNameBox.theme13 .preview-wrap.preview-invitation-wrap::before {
  top: 42px;
  width: 79px;
  height: 65px;
  opacity: 1;
}
#themeNameBox.theme13 .preview-invitation-title,
#themeNameBox.theme13 .preview-calendar-title,
#themeNameBox.theme13 .preview-attend-title,
#themeNameBox.theme13 .preview-gallery-title,
#themeNameBox.theme13 .preview-weddinginfo-title,
#themeNameBox.theme13 .preview-bank-title,
#themeNameBox.theme13 .preview-guestbook-title {
  margin: 0;
  text-align: center;
}
#themeNameBox.theme13 .preview-title h2,
#themeNameBox.theme13 .preview-title .font-tit {
  margin: 0;
  color: var(--t13-red);
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
}
#themeNameBox.theme13 .preview-invitation-title h2::before,
#themeNameBox.theme13 .preview-calendar-title h2::before,
#themeNameBox.theme13 .preview-gallery-title h2::before,
#themeNameBox.theme13 .preview-weddinginfo-title h2::before,
#themeNameBox.theme13 .preview-bank-title h2::before,
#themeNameBox.theme13 .preview-guestbook-title h2::before {
  display: block;
  margin: 0 0 20px;
  color: var(--t13-muted);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0;
}
#themeNameBox.theme13 .preview-invitation-title h2::before { content: "INVITATION"; }
#themeNameBox.theme13 .preview-calendar-title h2::before { content: "WEDDING DAY"; }
#themeNameBox.theme13 .preview-gallery-title h2::before { content: "GALLERY"; }
#themeNameBox.theme13 .preview-weddinginfo-title h2::before { content: "LOCATION"; }
#themeNameBox.theme13 .preview-bank-title h2::before { content: "ACCOUNT"; }
#themeNameBox.theme13 .preview-guestbook-title h2::before { content: "GUESTBOOK"; }
/* WEDDING DAY 레터링: raustila / #BF4340 / 20px / uppercase / letter-spacing 1px (피그마) */
#themeNameBox.theme13 .preview-calendar-title h2::before {
  color: #bf4340;
  font-family: "raustila", "Cafe24Dangdanghae", serif;
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}
#themeNameBox.theme13 .preview-message-wrap {
  margin: 24px 0 0;
  padding: 0;
  background: transparent;
  color: var(--t13-red);
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0;
  text-align: center;
}
#themeNameBox.theme13 .preview-message-wrap p {
  margin: 0;
}
#themeNameBox.theme13 .preview-message-photo-wrap {
  width: 78%;
  max-width: 280px;
  margin: 24px auto 0;
}
#themeNameBox.theme13 .preview-message-photo {
  border: 1px solid var(--t13-line);
  border-radius: 140px 140px 4px 4px;
  background: var(--t13-paper-soft);
}
#themeNameBox.theme13 .preview-invitation-cellphome {
  margin: 34px auto 0;
  padding: 25px 20px 5px;
  background: rgba(191, 67, 64, .045);
  color: var(--t13-red);
  border-top: 1px solid var(--t13-line);
  border-bottom: 1px solid var(--t13-line);
}
#themeNameBox.theme13 .preview-invitation-cellphome .groom,
#themeNameBox.theme13 .preview-invitation-cellphome .bride {
  padding-bottom: 0;
}
#themeNameBox.theme13 .preview-invitation-cellphome p,
#themeNameBox.theme13 .preview-invitation-cellphome span {
  color: var(--t13-red);
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  letter-spacing: 0;
}
#themeNameBox.theme13 .preview-invitation-cellphome .rel_text {
  color: var(--t13-muted);
}
#themeNameBox.theme13 .preview-invitation-link {
  margin: 28px 0 0;
  text-align: center;
}
#themeNameBox.theme13 .btn-contactme,
#themeNameBox.theme13 .btn-attend,
#themeNameBox.theme13 .themeBtn a,
#themeNameBox.theme13 .book_btn a,
#themeNameBox.theme13 .book_btn2 a,
#themeNameBox.theme13 .book_btn_top a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid var(--t13-red);
  border-radius: 999px;
  background: var(--t13-red);
  color: #fffaf7;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
}
#themeNameBox.theme13 .btn-contactme .call-icon,
#themeNameBox.theme13 .btn-attend .check-icon {
  display: none;
}

/* ===== 테마13 인사글/혼주 섹션 - 피그마 디자인 적용 ===== */
/* INVITATION 영문 레터링 (raustila, #BF4340 20px) */
#themeNameBox.theme13 .preview-invitation-title h2::before {
  content: "INVITATION";
  font-family: "raustila", "Cafe24Dangdanghae", serif;
  font-size: 20px;
  color: #bf4340;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 10px;
}
/* 인사글 제목 "소중한 여러분을 초대합니다" (#82120D 22px) */
#themeNameBox.theme13 .preview-invitation-title h2,
#themeNameBox.theme13 .preview-invitation-title .font-tit {
  color: #82120d;
  font-size: 22px;
}
/* 인사글 본문 메시지 (#82120D 16px) */
#themeNameBox.theme13 .preview-invi-wrap .preview-message-wrap,
#themeNameBox.theme13 .preview-invi-wrap .preview-message-wrap p {
  color: #82120d;
  font-size: 16px;
  line-height: 2;
}

/* 혼주/가족 섹션 상단 메인 사진 (테마12 방식, 풀폭 object-fit:cover) */
#themeNameBox.theme13 .theme13-family-photo {
  width: 100%;
  aspect-ratio: 360 / 214;
  margin: 0 0 30px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--t13-paper-soft, #fffaf5);
}
#themeNameBox.theme13 .theme13-family-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

/* 혼주/가족: 박스/보더 제거(피그마는 평문) + 부모·이름 한 줄 레이아웃 */
/* === 테마12와 동일 레이아웃: flex 중앙정렬 + baseline + 관계 고정폭 우측정렬 ===
   JS가 인라인 style="display:block" 을 넣으므로 display 는 !important 로 강제 */
#themeNameBox.theme13 .preview-invitation-cellphome {
  margin: 0;
  padding: 0 16px;
  background: transparent;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
#themeNameBox.theme13 .preview-invitation-cellphome .theme13-family-photo {
  width: 100%;
}
/* 한 줄(신랑/신부): 중앙정렬, baseline 세로정렬 */
#themeNameBox.theme13 .preview-invitation-cellphome .groom,
#themeNameBox.theme13 .preview-invitation-cellphome .bride {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 12px;
  row-gap: 4px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
/* 부모 / 관계+이름 묶음 */
#themeNameBox.theme13 .preview-invitation-cellphome .groom > p,
#themeNameBox.theme13 .preview-invitation-cellphome .bride > p {
  margin: 0;
  display: inline-flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
}
/* 부모 묶음은 한 줄 유지(부모 이름이 세로로 쌓이지 않도록). 좁으면 .groom 차원에서 rel만 아래로 내려감 */
#themeNameBox.theme13 .preview-invitation-cellphome .groom > p:not(.rel_box),
#themeNameBox.theme13 .preview-invitation-cellphome .bride > p:not(.rel_box) {
  flex-wrap: nowrap;
}
/* 관계(아들/딸): 고정폭 우측정렬 → 신랑/신부 이름 시작 x 일치 */
#themeNameBox.theme13 .preview-invitation-cellphome .rel_text {
  display: inline-block !important;
  min-width: 28px;
  width: auto !important;
  text-align: right;
  margin: 0 4px 0 0 !important;
  padding: 0 !important;
  color: #cf9492;
  font-size: 14px !important;
}
/* 부모이름 (#CF9492 14px) */
#themeNameBox.theme13 .preview-invitation-cellphome .parentName {
  color: #cf9492;
  font-size: 14px !important;
}
/* 신랑/신부 이름 (#BF4340 18px) */
#themeNameBox.theme13 .preview-invitation-cellphome [data-name="groom_name"],
#themeNameBox.theme13 .preview-invitation-cellphome [data-name="bride_name"],
#themeNameBox.theme13 .preview-invitation-cellphome .rel_box .font-tit {
  display: inline-block !important;
  color: #bf4340;
  font-size: 18px !important;
  text-align: left;       /* 이름 왼쪽 정렬 (테마14와 통일) */
}
/* 부모 사이 점(·): JS(handleDotDisplay)가 인라인 style="display:block" 을 주입 →
   점 컨테이너가 블록이 되어 줄을 깨므로 !important 로 inline-block 강제 (점 모양은 ::before) */
#themeNameBox.theme13 .preview-invitation-cellphome .cellphone-dot {
  display: inline-block !important;
}
#themeNameBox.theme13 .preview-invitation-cellphome .cellphone-dot::before {
  width: 2px !important;
  height: 2px !important;
  background-color: #cf9492 !important;
  border-radius: 50% !important;
  margin: 0 6px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  content: "" !important;
}
/* 부모 한쪽만 있을 때 점 숨김: 점 뒤 goin_type/이름 묶음의 parentName 이 비면 점 제거 */
#themeNameBox.theme13 .preview-invitation-cellphome .cellphone-dot:has(+ [data-name*="goin_type"] + .parentName:empty),
#themeNameBox.theme13 .preview-invitation-cellphome .cellphone-dot:has(+ .parentName:empty) {
  display: none !important;
}
/* 부모 래퍼를 block(내부 인라인 흐름)으로 → 부모이름 텍스트가 baseline 기준이 되어
   고인 span이 baseline을 흔들지 않음 (고인 유무 무관 정렬 일치)
   - guest 뷰: .parent-wrapper / 편집 화면(in_test 등): 클래스 없는 직속 <span> 래퍼 모두 대응 */
#themeNameBox.theme13 .preview-invitation-cellphome .parent-wrapper,
#themeNameBox.theme13 .preview-invitation-cellphome .groom > p:not(.rel_box) > span:not(.cellphone-dot),
#themeNameBox.theme13 .preview-invitation-cellphome .bride > p:not(.rel_box) > span:not(.cellphone-dot) {
  display: block !important;
  white-space: nowrap;
}
/* 故(고인) 표시: 가로 공간(21px)만 차지하는 고정 높이(1em) 인라인 박스 + 이미지는 absolute 오버레이
   → 큰 故/국화 이미지가 줄 높이·baseline에 전혀 영향 주지 않음 */
#themeNameBox.theme13 .preview-invitation-cellphome [data-name*="goin_type"] {
  position: relative;
  /* JS(goin_action)가 고인 표시 시 인라인 style="display:block" 을 주입 →
     마커가 블록이 되어 부모 이름을 다음 줄로 밀어내므로 !important 로 inline-block 강제 */
  display: inline-block !important;
  width: 21px;              /* 故 18px + 우측 여백 3px */
  height: 1em;
  vertical-align: middle;
}
/* 비고인일 때 빈 goin_type span 숨김 (가로 공간도 차지하지 않도록) */
#themeNameBox.theme13 .preview-invitation-cellphome [data-name*="goin_type"]:empty {
  display: none !important;
}
#themeNameBox.theme13 .preview-invitation-cellphome [data-name*="goin_type"] img {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);   /* 텍스트 줄 세로 중앙에 오버레이 */
  width: 18px;
  height: auto;
  /* 검정 故/국화 → 테마 레드(#BF4340) 근사 틴트 */
  filter: brightness(0) saturate(100%) invert(34%) sepia(48%) saturate(900%) hue-rotate(316deg) brightness(92%) contrast(92%);
}

/* 연락하기 버튼 - 아웃라인(흰 배경, #BF4340 테두리/글자) */
#themeNameBox.theme13 .btn-contactme {
  min-width: 180px;
  min-height: 45px;
  border: 0.5px solid #bf4340;
  border-radius: 4px;
  background: #fff;
  color: #bf4340;
  font-size: 16px;
}

/* ===== 테마13 인사글: 벡터 장식을 배경 위로 + 사진을 맨 아래(테마12 위치)로 ===== */
/* 벡터 장식(샴페인 잔): outer wrap ::before는 섹션 배경 PNG에 가려 안 보이므로 섹션 ::after로 배경 위에 표시 */
#themeNameBox.theme13 .preview-invi-wrap,
#themeNameBox.theme13 .preview-insa-wrap,
#themeNameBox.theme13 .preview-testimonial-wrap {
  position: relative;
}
#themeNameBox.theme13 .preview-invi-wrap::after,
#themeNameBox.theme13 .preview-insa-wrap::after,
#themeNameBox.theme13 .preview-testimonial-wrap::after {
  content: "";
  position: absolute;
  top: 100px;         /* 피그마: 컨테이너 py-100px (상단 패딩 후 장식) */
  left: 50%;
  transform: translateX(-50%);
  width: 79px;        /* 피그마 invite_vector 실측 */
  height: 64px;
  background-image: url("/assets/tool/img/invitation/theme_2026/theme13_invite_vector.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: 0;
  pointer-events: none;
}
/* outer wrap의 가려진 중복 장식은 끔 */
#themeNameBox.theme13 .preview-wrap.preview-invitation-wrap::before {
  display: none;
}

/* 인사글: flex 컬럼 + 사진을 맨 아래로 (제목1 → 메시지2 → 사진3), 테마12와 동일 위치 */
/* 피그마 여백: 상단 장식 공간(~186px) + 제목/메시지 간격 + 하단 여백(~80px) */
#themeNameBox.theme13 .preview-invi-wrap {
  display: flex;
  flex-direction: column;
  /* 피그마: 상단 패딩 100px + 장식(64) + gap 20 = 184px 후 타이틀, 하단 100px */
  padding: 184px 0 30px;
}
#themeNameBox.theme13 .preview-invi-wrap > .preview-invitation-title { order: 1; padding: 0 34px; margin: 0 0 18px; letter-spacing: -1px; }
/* 피그마 leading-normal: 제목 줄 간격 타이트하게 (INVITATION↔소중한 ~10px) */
#themeNameBox.theme13 .preview-invi-wrap > .preview-invitation-title h2,
#themeNameBox.theme13 .preview-invi-wrap > .preview-invitation-title .font-tit {
  line-height: 1.2;
}
#themeNameBox.theme13 .preview-invi-wrap > .preview-invitation-title h2::before {
  margin-bottom: 10px; /* 피그마 gap-10px */
}
#themeNameBox.theme13 .preview-invi-wrap > .preview-invitation-message { order: 2; padding: 0 34px; margin-top: 0; letter-spacing: -1px; line-height: 1.5; }
#themeNameBox.theme13 .preview-invi-wrap > .preview-message-photo-wrap {
  order: 3;
  width: 100%;
  max-width: 100%;
  margin: 100px 0 0;
  padding: 0;
}
#themeNameBox.theme13 .preview-invi-wrap > .preview-message-photo-wrap .preview-message-photo {
  width: 100% !important;
  height: 214px !important;
  max-width: none;
  aspect-ratio: auto !important;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: var(--t13-paper-soft, #fffaf5);
}
#themeNameBox.theme13 .preview-invi-wrap > .preview-message-photo-wrap .preview-message-photo .cropper-preview,
#themeNameBox.theme13 .preview-invi-wrap > .preview-message-photo-wrap .preview-message-photo > img,
#themeNameBox.theme13 .preview-invi-wrap > .preview-message-photo-wrap .preview-message-photo .card-img-top {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  display: block;
}

#themeNameBox.theme13 .preview-calendar-wrap,
#themeNameBox.theme13 .preview-attend-wrap,
#themeNameBox.theme13 .preview-gallery-wrap,
#themeNameBox.theme13 .preview-weddinginfo-wrap,
#themeNameBox.theme13 .preview-bank-wrap,
#themeNameBox.theme13 .preview-guestbook-wrap {
  min-height: 460px;
  padding: 100px 32px 0;
  background-color: var(--t13-paper);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center top;
}
#themeNameBox.theme13 .preview-guestbook-wrap {
  padding: 100px 20px 40px;   /* 하단 여백 테마16 기준 40px 통일 */
}
#themeNameBox.theme13 .guestbook-list{
  padding: 0;
}

#themeNameBox.theme13 .calendar-subtitle {
  display: none;
}
#themeNameBox.theme13 .preview-calendar-title h2 {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
#themeNameBox.theme13 .preview-calendar-title .cal-date,
#themeNameBox.theme13 .preview-calendar-title .cal-daytime {
  display: block;
  color: var(--t13-red);
}
/* 날짜(2026.05.16) 24px / 요일·시간(토요일 오후 12시) 18px (피그마) */
#themeNameBox.theme13 .preview-calendar-title .cal-date {
  font-size: 24px;
}
#themeNameBox.theme13 .preview-calendar-title .cal-daytime {
  font-size: 18px;
}
/* 피그마: 캘린더는 종이 배경 위 평평하게 배치 (아치형 흰 박스/테두리 제거) */
#themeNameBox.theme13 .calendar-box {
  margin: 10px auto 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
/* "8월" 월 라벨: 피그마 미사용 → 숨김 (블레이드 요소는 다른 화면 위해 보존) */
#themeNameBox.theme13 .calendar-month {
  display: none;
}
#themeNameBox.theme13 .calendar-table {
  width: 100%;
  color: var(--t13-red);
  border-collapse: collapse;
  table-layout: fixed;
}
#themeNameBox.theme13 .calendar-table th,
#themeNameBox.theme13 .calendar-table td {
  height: 30px;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 30px;
  text-align: center;
}
/* 요일 헤더: 기본 검정(#111) / 일·토만 레드 (피그마) */
#themeNameBox.theme13 .calendar-table th {
  color: #111111;
}
#themeNameBox.theme13 .calendar-table th.sun,
#themeNameBox.theme13 .calendar-table th.sat {
  color: var(--t13-red);
}
/* 날짜: 당월 평일 진회색(#4D4C4C) / 일·토 레드(#BF4340) / 타월 연회색(#B3B3B3) (피그마) */
#themeNameBox.theme13 .calendar-table td {
  color: #4D4C4C;
}
#themeNameBox.theme13 .calendar-table td.sun,
#themeNameBox.theme13 .calendar-table td.sat {
  color: var(--t13-red);
}
#themeNameBox.theme13 .calendar-table td.other-month {
  color: #B3B3B3;
}
#themeNameBox.theme13 .wedding-day-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--t13-red);
  color: #fff;
}
#themeNameBox.theme13 .countdown-box {
  display: grid;
  grid-template-columns: repeat(4, 0.2fr);
  gap: 8px;
  margin: 24px 0 0;
}
/* 타이머 박스: 배경 없이(종이 배경 그대로 노출) 테두리만 + 작은 라운드 */
#themeNameBox.theme13 .countdown-item {
  padding: 10px 4px 12px;
  border: 1px solid #cec7c4;
  border-radius: 10px;
  background: transparent;
  text-align: center;
}
#themeNameBox.theme13 .countdown-label,
#themeNameBox.theme13 .countdown-value,
#themeNameBox.theme13 .countdown-message {
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
}
/* 라벨(DAYS 등): 회색 */
#themeNameBox.theme13 .countdown-label {
  display: block;
  color: #b3b3b3;
  font-size: 10px;
  letter-spacing: 1px;
  line-height: 1;
}
/* 값(498 등): 진한색 */
#themeNameBox.theme13 .countdown-value {
  display: block;
  margin-top: 7px;
  color: #4d4c4c;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}
/* 문구: 기본 검정 + 하트·D-day 숫자만 레드 강조 */
#themeNameBox.theme13 .countdown-message {
  margin: 18px 0 100px;
  color: #111111;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}
#themeNameBox.theme13 .countdown-message .countdown-heart,
#themeNameBox.theme13 .countdown-message .countdown-dday {
  color: var(--t13-red);
  font-weight: 400;
}
#themeNameBox.theme13 .preview-attend-title {
  margin-bottom: 28px;
}
#themeNameBox.theme13 .preview-attend-title .attend-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  line-height: 1.7;
}
#themeNameBox.theme13 .preview-attend-title .attend-kicker,
#themeNameBox.theme13 .preview-attend-title .bg-gray {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 22px auto 0 !important;
  min-width: 148px;
  min-height: 38px;
  padding: 0 20px;
  border: 1px solid var(--t13-red);
  border-radius: 999px;
  background: transparent !important;
  color: var(--t13-red);
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 14px;
}

/* ===== 테마13 RSVP 섹션 - 피그마: 솔리드 레드 배경 + 벡터 + 흰 텍스트 + 흰 버튼 ===== */
/* 섹션 배경: 종이 → 솔리드 레드(#BF4340), 상하 패딩 50px */
#themeNameBox.theme13 .preview-attend-wrap {
  background-color: #bf4340;
  background-image: none;
  padding: 50px 32px;
  min-height: 0;
}
/* 섹션 내 텍스트 흰색 (참석완료 상태 등 포함) */
#themeNameBox.theme13 .preview-attend-wrap .preview-attend-title h2,
#themeNameBox.theme13 .preview-attend-wrap .preview-attend-title p {
  color: #ffffff;
}
/* RSVP 타이틀 블록: 세로 중앙 정렬 */
#themeNameBox.theme13 .preview-attend-title.t13-rsvp {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 30px;
  text-align: center;
}
/* 상단 벡터 그래픽(theme13_revp1) */
#themeNameBox.theme13 .t13-rsvp-graphic {
  display: block;
  width: 155px;
  height: auto;
}
/* R.S.V.P 레터링 이미지(theme13_revp2) - 텍스트 대체 */
#themeNameBox.theme13 .t13-rsvp-lettering {
  display: block;
  width: auto;
  height: 20px;
  margin: 0 0 20px;
}
/* theme13 .preview-title img { display:none !important } 가 RSVP 벡터까지 숨기므로 예외(높은 명시도+!important) */
#themeNameBox.theme13 .preview-attend-title.t13-rsvp img.t13-rsvp-graphic,
#themeNameBox.theme13 .preview-attend-title.t13-rsvp img.t13-rsvp-lettering {
  display: block !important;
}
/* 참석 의사 전달 (흰색 20px) */
#themeNameBox.theme13 .t13-rsvp-title {
  margin: 0 0 10px !important;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}
/* 안내 문구 (흰색 16px) */
#themeNameBox.theme13 .t13-rsvp-desc {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #ffffff;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 16px;
  font-weight: 400;
}
/* 전달하기 버튼: 흰 배경 + 레드 텍스트 (피그마) */
#themeNameBox.theme13 .preview-attend-wrap .btn-attend {
  min-width: 180px;
  min-height: 45px;
  padding: 0 24px;
  border: 0;
  border-radius: 4px;
  background: #ffffff;
  color: #bf4340;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 16px;
  font-weight: 400;
}
#themeNameBox.theme13 .preview-attend-wrap .btn-attend .check-icon {
  display: none;
}
#themeNameBox.theme13 .preview-attend-wrap .btn-attend > span:not(.check-icon){
  color: #BF4340;
  font-size: 16px;
  font-family: HSBomBaram 3.0;
  font-weight: 400;
  line-height: 24px;
  word-wrap: break-word
}
/* ===== 테마13 갤러리 - 피그마: 벡터(중앙) + GALLERY(raustila) + 부제 (테마12 타이틀 패턴 참고) ===== */
/* 섹션 좌우 여백 축소 (테마12와 동일 5px, 사진 노출 폭 확대) */
#themeNameBox.theme13 .preview-gallery-wrap {
  padding-left: 5px;
  padding-right: 5px;
}
/* 벡터 아이콘: 타이틀 위 중앙 배치, 섹션 상단에서 100px (피그마) */
#themeNameBox.theme13 .preview-gallery-wrap::before {
  top: 100px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: 60px;
  height: 70px;
  opacity: 1;
}
/* 타이틀 블록: 벡터 아래 10px 간격 (피그마)
   벡터 bottom = top100 + 높이70 = 170 / 콘텐츠 시작 = padding-top 74 → 170 + 10 - 74 = 106 */
#themeNameBox.theme13 .preview-gallery-title {
  margin-top: 80px;
}
/* GALLERY 레터링: raustila / #BF4340 / 20px / uppercase (피그마) */
#themeNameBox.theme13 .preview-gallery-title h2::before {
  color: #bf4340;
  font-family: "raustila", "Cafe24Dangdanghae", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 20px;
}
/* h2 원문("갤러리") 숨기고 피그마 부제 문구로 교체 (#82120D 14px)
   (.preview-title .font-tit 공용 규칙(20px)보다 명시도 높게 .font-tit 포함) */
#themeNameBox.theme13 .preview-gallery-title h2,
#themeNameBox.theme13 .preview-gallery-title h2.font-tit {
  font-size: 0;
  line-height: 0;
}
#themeNameBox.theme13 .preview-gallery-title h2::after {
  content: "우리의 가장 빛나는 순간들을 담았어요.";
  display: block;
  color: #82120d;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
/* 부제→사진 간격: 타이틀 하단 마진 26 + 24 = 50px (피그마 헤더 padding-bottom 50) */
#themeNameBox.theme13 .preview-gallery-img {
  margin-top: 50px;
}
/* 사진 간격 10px (피그마) */
#themeNameBox.theme13 .preview-gallery-ul {
  gap: 10px;
}
#themeNameBox.theme13 .preview-gallery-li,
#themeNameBox.theme13 .preview-gallery-item {
  border-radius: 4px;
  overflow: hidden;
}
#themeNameBox.theme13 .weddinginfo-content,
#themeNameBox.theme13 .accordion-box,
#themeNameBox.theme13 .preview-guestbook-lists-wrap {
  color: var(--t13-red);
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
}
#themeNameBox.theme13 .weddinginfo-top,
#themeNameBox.theme13 .accordion-inner,
#themeNameBox.theme13 .guestbook-list-txt {
  border: 1px solid var(--t13-line);
  border-radius: 4px;
  background: rgba(255, 255, 255, .5);
}
/* 주소 블록: 피그마는 박스 없이 평문 (보더/흰배경 제거, 테마12 레이아웃 참고) */
#themeNameBox.theme13 .weddinginfo-top {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 30px !important;                /* 피그마: 예식장명+주소 ↔ 전화 간격 30 */
  padding: 0 !important;
  margin: 0;
  width: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  text-align: center;
}
/* 전역 .weddinginfo-icon-box { display:flex } / .wedding-hallbox { padding-left:37 } 무력화 */
#themeNameBox.theme13 .weddinginfo-icon-box {
  display: block !important;
  gap: 0 !important;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: center;
}
#themeNameBox.theme13 .wedding-hallbox {
  padding: 0 !important;
  margin: 0;
  width: 100%;
  text-align: center;
}
/* 예식장명 ↔ 주소 gap 5px (피그마) */
#themeNameBox.theme13 .weddinginfo-namebox {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 100%;
}
#themeNameBox.theme13 .weddinginfo-icon {
  display: none;
}
/* 예식장명 #82120D 20px / 주소·전화 #82120D 16px (피그마) */
#themeNameBox.theme13 .weddinginfo-namebox .weddding-hall-name {
  margin: 0;
  width: 100%;
  color: #82120d !important;
  font-size: 20px;
  line-height: 1.5;
  word-break: keep-all;      /* 긴 상호명: 공백(어절) 단위로만 줄바꿈, 한글 음절 깨짐 방지 */
  overflow-wrap: break-word; /* 단어 하나가 한 줄보다 길 때만 강제 줄바꿈 (안전장치) */
  text-align: center;
}
#themeNameBox.theme13 .weddinginfo-namebox .weddding-hall {
  margin: 0;
  width: 100%;
  color: #82120d !important;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
#themeNameBox.theme13 .weddinginfo-tellbox {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}
#themeNameBox.theme13 .weddinginfo-tellbox .weddding-tell {
  margin: 0;
  width: 100%;
  color: #82120d !important;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
#themeNameBox.theme13 .weddding-hall-name,
#themeNameBox.theme13 .weddding-hall,
#themeNameBox.theme13 .weddding-tell,
#themeNameBox.theme13 .way-guide,
#themeNameBox.theme13 .way-guide p,
#themeNameBox.theme13 .bank-info p,
#themeNameBox.theme13 .bank-info span,
#themeNameBox.theme13 .guest-contents .content,
#themeNameBox.theme13 .guest-name-date .name,
#themeNameBox.theme13 .guest-name-date .date,
#themeNameBox.theme13 .guestbook-no-data .content {
  color: var(--t13-red);
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  letter-spacing: 0;
}
#themeNameBox.theme13 .weddinginfo-navi {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 50px 0 0;
  padding: 0;
}
#themeNameBox.theme13 .weddinginfo-navi button,
#themeNameBox.theme13 .copy-bank,
#themeNameBox.theme13 .kakaopay {
  min-height: 36px;
  border: 1px solid var(--t13-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  color: var(--t13-red);
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
}
#themeNameBox.theme13 .map-wrap,
#themeNameBox.theme13 .preview-map-img,
#themeNameBox.theme13 .preview-map-img .cropper-preview {
  border-radius: 4px;
  overflow: hidden;
}
/* ===== 테마13 오시는길(LOCATION) - 피그마 재디자인 (테마12 레이아웃 참고) ===== */
/* 타이틀: LOCATION (raustila #BF4340 20px) + "오시는 길" (#82120D 20px) gap 10 */
#themeNameBox.theme13 .preview-weddinginfo-title h2::before {
  color: #bf4340;
  font-family: "raustila", "Cafe24Dangdanghae", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 10px;
}
#themeNameBox.theme13 .preview-weddinginfo-title h2,
#themeNameBox.theme13 .preview-weddinginfo-title h2.font-tit {
  color: #82120d;
  font-size: 20px;
}
/* 주소 블록과 타이틀 간격 10px (피그마: 헤더 gap 10)
   전역 .preview-title 의 padding-bottom:60px 무력화 */
#themeNameBox.theme13 .preview-weddinginfo-title {
  margin-bottom: 0;
  padding-bottom: 0 !important;
}
#themeNameBox.theme13 .weddinginfo-content {
  margin-top: 10px;
}
/* 내비 버튼 행: 좌우로 약간 확장해 한 줄 버튼 폭 확보 (피그마 버튼 105px) */
#themeNameBox.theme13 .weddinginfo-navi {
  margin-left: -22px;
  margin-right: -22px;
  width: calc(100% + 44px);
}
/* 내비 버튼: 흰 배경 + 0.5px #BF4340 보더 + radius 4 + 텍스트 #111 12px (피그마) */
#themeNameBox.theme13 .weddinginfo-navi button {
  height: 40px;
  min-height: 40px;
  padding: 0 8px;
  border: 0.5px solid #db9e9d;
  border-radius: 4px;
  background: #ffffff;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
#themeNameBox.theme13 .weddinginfo-navi button::before {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
}
#themeNameBox.theme13 .weddinginfo-navi button span {
  display: inline-block;
  color: #111111;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;     /* 버튼명 한 줄 유지 (피그마) */
}
/* "네이버내비" → "네이버지도" 텍스트 교체 (피그마, 블레이드 공용이라 CSS로 처리) */
#themeNameBox.theme13 .weddinginfo-navi button.navernavi span {
  font-size: 0 !important;
  line-height: 0;
}
#themeNameBox.theme13 .weddinginfo-navi button.navernavi span::after {
  content: "네이버지도";
  font-size: 12px;
  line-height: 1.2;
  color: #111111;
  white-space: nowrap;
}
/* 지도/약도: 섹션 패딩(32px) + inner-wrap 패딩(20px) = 52px 무력화 → 좌우 여백 없이 풀폭 (피그마) */
#themeNameBox.theme13 .weddinghall-map-wrap {
  margin-top: 20px;
  margin-left: -52px;
  margin-right: -52px;
  width: calc(100% + 104px);
  padding:0;
}
#themeNameBox.theme13 .map-wrap,
#themeNameBox.theme13 .preview-map-img,
#themeNameBox.theme13 .preview-map-img .cropper-preview {
  width: 100% !important;
  max-width: 100%;
  border-radius: 0;
  border: 0;
  margin: 0;
  overflow: hidden;
}
/* 교통 안내(way-guide): 전역 연녹색 배경 무력화 → 종이 배경 노출 */
#themeNameBox.theme13 .way-guide-box {
  margin-top: 30px;
  padding: 0;
  background: transparent;
}
/* 각 행: padding 20px 30px + 하단 0.5px #BF4340 헤어라인 (피그마) */
#themeNameBox.theme13 .way-guide {
  position: relative;
  padding: 20px 30px;
  border-top: 0;
  border-bottom: 0;
  gap: 0;
}
#themeNameBox.theme13 .way-guide::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #bf4340;
  transform: scaleY(0.5);     /* DPR 1x에서도 물리 0.5px 헤어라인 */
  transform-origin: bottom;
  pointer-events: none;
}
/* 행 제목: 아이콘 + 텍스트 gap 5 / 제목 ↔ 본문 gap 9 (피그마) */
#themeNameBox.theme13 .way-guide .way-title {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 9px;
}
#themeNameBox.theme13 .way-guide .way-title p {
  margin: 0;
  color: #111111 !important;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 18px !important;
  font-weight: 400;
}
#themeNameBox.theme13 .way-guide .way-content p {
  margin: 0;
  color: #111111 !important;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 12px !important;
  font-weight: 400;
  line-height: 1.5;
  white-space: pre-line;
}
/* "기타 안내" → "안내 사항" 텍스트 교체 (피그마, 블레이드 공용이라 CSS로 처리) */
#themeNameBox.theme13 .way-guide.etc .way-title p:last-child {
  font-size: 0 !important;
  line-height: 0;
}
#themeNameBox.theme13 .way-guide.etc .way-title p:last-child::before {
  content: "안내 사항";
  font-size: 18px;
  line-height: 1.3;
  color: #111111;
}
/* 교통수단 아이콘: 테마12 SVG를 mask로 모양만 따서 #BF4340 으로 칠함
   (상위 .weddinginfo-icon { display:none } 무력화) */
#themeNameBox.theme13 .way-guide .way-title .weddinginfo-icon {
  display: inline-block !important;
  width: 23px;
  height: 23px;
  margin: 0;
  padding: 0;
  background-color: #bf4340;
  background-image: none;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
  flex-shrink: 0;
}
#themeNameBox.theme13 .way-guide.subway .way-title .weddinginfo-icon {
  -webkit-mask-image: url("/assets/tool/img/invitation/theme_2026/subway_12_icon.svg");
          mask-image: url("/assets/tool/img/invitation/theme_2026/subway_12_icon.svg");
}
#themeNameBox.theme13 .way-guide.bus .way-title .weddinginfo-icon {
  -webkit-mask-image: url("/assets/tool/img/invitation/theme_2026/bus_12_icon.svg");
          mask-image: url("/assets/tool/img/invitation/theme_2026/bus_12_icon.svg");
}
#themeNameBox.theme13 .way-guide.etc .way-title .weddinginfo-icon {
  -webkit-mask-image: url("/assets/tool/img/invitation/theme_2026/info_12_icon.svg");
          mask-image: url("/assets/tool/img/invitation/theme_2026/info_12_icon.svg");
}
#themeNameBox.theme13 .accordion-box {
  margin-bottom: 12px;
}
#themeNameBox.theme13 .accordion-inner {
  overflow: hidden;
}
#themeNameBox.theme13 .accordion-box .btn-toggle {
  width: 100%;
  padding: 16px 18px;
  color: var(--t13-red);
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  text-align: left;
  text-decoration: none;
}
#themeNameBox.theme13 .accordion-box .bank {
  padding: 16px 18px;
  border-top: 1px solid var(--t13-line);
}
#themeNameBox.theme13 .bank-btn-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
/* ===== 테마13 방명록(GUESTBOOK) - 피그마 (테마12 레이아웃 참고) ===== */
/* base의 아치형 inner-wrap(보더 + border-radius 300px) 제거 - 피그마는 아치 없음 (테마12 방식) */
#themeNameBox.theme13 .preview-guestbook-wrap .preview-inner-wrap {
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
}
#themeNameBox.theme13 .preview-guestbook-wrap::before,
#themeNameBox.theme13 .preview-guestbook-wrap::after {
  opacity: 1;
}
/* 타이틀: GUESTBOOK (raustila #BF4340 20px) + "방명록" (#82120D 20px)
   전역 .preview-title 의 padding-bottom 무력화 */
#themeNameBox.theme13 .preview-guestbook-title {
  margin-bottom: 0;
  padding-bottom: 0 !important;
}
#themeNameBox.theme13 .preview-guestbook-title h2::before {
  color: #bf4340;
  font-family: "raustila", "Cafe24Dangdanghae", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 10px;
}
#themeNameBox.theme13 .preview-guestbook-title h2,
#themeNameBox.theme13 .preview-guestbook-title h2.font-tit {
  color: #82120d;
  font-size: 20px;
}
/* 안내 문구: 신랑&신부에게 축하메시지를 남겨주세요. (#82120D 16px) */
#themeNameBox.theme13 .preview-guestbook-wrap .guestbook-subtitle {
  margin-top: 15px;
  color: #82120d;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
/* 방명록 작성하기 버튼: 흰 배경 + 0.5px #BF4340 보더 + radius 4 + 레드 16px (180x45, 피그마) */
#themeNameBox.theme13 .book_btn_top {
  margin: 20px 0 30px;
  text-align: center;
}
#themeNameBox.theme13 .preview-guestbook-wrap .book_btn_top a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 45px !important;
  padding: 0 24px;
  border: 0.5px solid #bf4340 !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  color: #bf4340 !important;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
}
/* 항목: 카드 박스 제거 → 평면 + 하단 0.5px #BF4340 구분선, padding 30px 20px (피그마) */
#themeNameBox.theme13 .guestbook-list {
  margin-bottom: 0;
}
#themeNameBox.theme13 .guestbook-list-txt {
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  border: 0;
  border-bottom: 0.5px solid var(--t13-red);
  border-radius: 0;
  background: transparent;
  gap: 0;
}
/* 수정/삭제: 텍스트 대신 아이콘 버튼(테마12 svg 재사용), 우상단 배치 */
#themeNameBox.theme13 .guest-btn-box {
  order: -2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
#themeNameBox.theme13 .guest-btn-box .btn,
#themeNameBox.theme13 .guest-btn-box .btn-edit,
#themeNameBox.theme13 .guest-btn-box .btn-delete {
  width: 25px;
  height: 24px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 0;
  border-radius: 0;
  font-size: 0;              /* 텍스트(수정/삭제) 숨김, 아이콘만 노출 */
  line-height: 0;
  color: transparent;
  cursor: pointer;
}
#themeNameBox.theme13 .guest-btn-box .btn-edit {
  background-image: url("/assets/tool/img/invitation/theme_2026/theme12_btn_edit.svg");
}
#themeNameBox.theme13 .guest-btn-box .btn-delete {
  background-image: url("/assets/tool/img/invitation/theme_2026/theme12_btn_delete.svg");
}
/* 이름(#BF4340 16px 좌) + 날짜(#999 14px 우) 한 줄 — 본문 위로 배치 (피그마) */
#themeNameBox.theme13 .guest-name-date {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  order: -1;
  margin-top: 0;
  margin-bottom: 10px;
}
#themeNameBox.theme13 .guest-name-date p {
  margin: 0;
}
#themeNameBox.theme13 .guest-name-date .name {
  color: var(--t13-red) !important;
  font-size: 16px;
}
#themeNameBox.theme13 .guest-name-date .date {
  color: #999999 !important;
  font-size: 14px;
}
/* 본문 (#161618 16px / line-height 24px, 피그마) */
#themeNameBox.theme13 .guest-contents .content {
  margin: 0;
  color: #161618 !important;
  font-size: 16px;
  line-height: 24px;
}
#themeNameBox.theme13 .guestbook-no-data {
  padding: 42px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}
body:has(#themeNameBox.theme13) #contactModalContent .modal-content,
body:has(#themeNameBox.theme13) #attendModalContent .modal-content,
body:has(#themeNameBox.theme13) #guestbookModalContent .modal-content,
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-content {
  border: 0;
  border-radius: 6px;
  background: var(--t13-paper-soft);
  color: var(--t13-red);
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
}
body:has(#themeNameBox.theme13) .modal-title,
body:has(#themeNameBox.theme13) .modal-body,
body:has(#themeNameBox.theme13) .modal-body label,
body:has(#themeNameBox.theme13) .modal-body input,
body:has(#themeNameBox.theme13) .modal-body textarea,
body:has(#themeNameBox.theme13) .modal-body .btn {
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
}
body:has(#themeNameBox.theme13) .modal-body .btn-dark,
body:has(#themeNameBox.theme13) .modal-body .btn.btn-primary,
body:has(#themeNameBox.theme13) #attendModalContent .btn-group-toggle > label.btn.active {
  background: var(--t13-red);
  border-color: var(--t13-red);
  color: #fff;
}
body:has(#themeNameBox.theme13) .modal-body input.form-control:focus,
body:has(#themeNameBox.theme13) .modal-body textarea.form-control:focus {
  border-color: var(--t13-red);
  box-shadow: 0 0 0 2px rgba(191, 67, 64, .12);
}

#themeNameBox.theme14 {
  background: #161618;
  color: #efeae6;
  font-family: "Eulyoo1945", "JejuMyeongjo", serif;
}
#themeNameBox.theme14 .theme-14-wrap {
  display: flex;
  justify-content: center;
  container-type: inline-size;
  width: 100%;
  aspect-ratio: 360 / 782;
  min-height: 0;
  background: #161618;
}
#themeNameBox.theme14 .theme-14-wrap .theme-frame-cons-box {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 360 / 782;
  min-height: 0;
  overflow: hidden;
  text-align: center;
}
#themeNameBox.theme14 .theme-14-wrap .preview-theme-main {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 0;
  background: #161618;
}
#themeNameBox.theme14 .theme-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  color: #efeae6;
}
#themeNameBox.theme14 .theme-photo-overlay::before {
  display: none;
}
#themeNameBox.theme14 .theme-love {
  position: absolute;
  left: 0;
  top: 63.939%;
  width: 100%;
  height: 12.66%;
  margin: 0;
  display: block;
}
#themeNameBox.theme14 .theme-name-stack {
  position: absolute;
  left: 0;
  top: 80.179%;
  width: 100%;
  height: 5.115%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  color: #efeae6;
  font-family: "Eulyoo1945", "JejuMyeongjo", serif;
  font-size: clamp(19px, 9.444cqw, 34px);
  font-weight: 600;
  line-height: clamp(22px, 11.111cqw, 40px);
}
#themeNameBox.theme14 .theme-name-join {
  margin: 0 5px 0 0;
}
#themeNameBox.theme14 .main-date-txt,
#themeNameBox.theme14 .weddding-hall-name {
  position: absolute;
  left: 0;
  width: 100%;
  margin: 0;
  color: #efeae6;
  font-family: "Eulyoo1945", "JejuMyeongjo", serif;
  font-size: clamp(9px, 4.444cqw, 16px);
  font-weight: 400;
  line-height: clamp(13px, 6.111cqw, 22px);
}
#themeNameBox.theme14 .main-date-txt {
  top: 86.573%;
}
#themeNameBox.theme14 .weddding-hall-name {
  top: 90.409%;
}
#themeNameBox.theme12 .theme-12-wrap .cropper-preview,
#themeNameBox.theme12 .theme-12-wrap .card-img-top,
#themeNameBox.theme13 .theme-13-wrap .cropper-preview,
#themeNameBox.theme13 .theme-13-wrap .card-img-top,
#themeNameBox.theme14 .theme-14-wrap .cropper-preview,
#themeNameBox.theme14 .theme-14-wrap .card-img-top {
  width: 100%;
  height: 100%;
}
#themeNameBox.theme12 .theme-12-wrap .card-img-top,
#themeNameBox.theme13 .theme-13-wrap .card-img-top,
#themeNameBox.theme14 .theme-14-wrap .card-img-top {
  object-fit: cover;
}
#themeNameBox.theme14 .preview-invitation-title::before {
  display: none;
}
#themeNameBox.theme14 .preview-message-photo {
  border: 1px solid rgba(201,169,110,.18);
}
#themeNameBox.theme14 .preview-invi-wrap::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 290px;
  opacity: .26;
  background-image: url("/assets/tool/img/invitation/theme_2026/theme14_invite_vector_bg.svg");
}
#themeNameBox.theme14 .preview-invi-wrap::after {
  right: 26px;
  top: 72px;
  width: 132px;
  height: 132px;
  opacity: .34;
  background-image: url("/assets/tool/img/invitation/theme_2026/theme14_invite_vector.svg");
}
#themeNameBox.theme14 .preview-calendar-wrap::before {
  top: 8px;
  left: 50%;
  width: 260px;
  height: 164px;
  opacity: .22;
  transform: translateX(-50%);
  background-image: url("/assets/tool/img/invitation/theme_2026/theme14_date_bg_vector.svg");
}
#themeNameBox.theme14 .preview-attend-wrap::before {
  top: 46px;
  left: 50%;
  width: 210px;
  height: 15px;
  opacity: .48;
  transform: translateX(-50%);
  background-image: url("/assets/tool/img/invitation/theme_2026/theme14_rsvp_vector.svg");
}
#themeNameBox.theme14 .preview-gallery-wrap::before {
  top: 38px;
  right: 30px;
  width: 72px;
  height: 96px;
  opacity: .46;
  background-image: url("/assets/tool/img/invitation/theme_2026/theme14_gallery_vector.svg");
}
#themeNameBox.theme14 .preview-weddinginfo-wrap::before {
  top: 54px;
  left: 50%;
  width: 136px;
  height: 82px;
  opacity: .24;
  transform: translateX(-50%);
  background-image: url("/assets/tool/img/invitation/theme_2026/theme14_location_vector.svg");
}
#themeNameBox.theme14 .preview-bank-wrap::before {
  left: 28px;
  top: 42px;
  width: 126px;
  height: 110px;
  opacity: .3;
  background-image: url("/assets/tool/img/invitation/theme_2026/theme14_guestbook_bg_vector01.svg");
}
#themeNameBox.theme14 .preview-guestbook-wrap::before {
  right: 0;
  bottom: 0;
  width: 220px;
  height: 90px;
  opacity: .22;
  background-image: url("/assets/tool/img/invitation/theme_2026/theme14_guestbook_bg_vector03.svg");
}
#themeNameBox.theme14 .preview-guestbook-wrap {
  background-image: url("/assets/tool/img/invitation/theme_2026/theme14_guestbook_bg_vector02.svg");
  background-repeat: no-repeat;
  background-position: left 34px bottom 34px;
  background-size: 78px auto;
}
#themeNameBox.theme14 .btn-contactme,
#themeNameBox.theme14 .btn-attend,
#themeNameBox.theme14 .themeBtn a,
#themeNameBox.theme14 .book_btn2 a {
  border-radius: 999px;
  background: #4f6ab3;
  border-color: #4f6ab3;
  color: #efeae6;
}
#themeNameBox.theme14 .preview-wrap.preview-invitation-wrap,
#themeNameBox.theme14 .preview-wrap,
#themeNameBox.theme14 .preview-inner-wrap,
#themeNameBox.theme14 .preview-invitation-cellphome,
#themeNameBox.theme14 .preview-location-wrap,
#themeNameBox.theme14 .preview-gallery-wrap,
#themeNameBox.theme14 .preview-account-wrap,
#themeNameBox.theme14 .preview-board-wrap {
  background-color: #161618;
  color: rgba(239,234,230,.72);
}
#themeNameBox.theme14 .preview-title h2,
#themeNameBox.theme14 h2 {
  color: #efeae6;
}
#themeNameBox.theme14 .preview-message-wrap {
  color: rgba(239,234,230,.68);
}

.icon-chrysanthemum {
  width: 22px;          /* 원하는 크기 */
  height: 22px;
  object-fit: contain;  /* 여백 최소화 */
  display: inline-block;
  vertical-align: middle;
}

/* 신랑/신부 한 줄을 2컬럼 그리드로: [부모이름] [아들/딸 + 이름] */
.preview-invitation-cellphome > .groom,
.preview-invitation-cellphome > .bride {
  display: grid;
  grid-template-columns: 60px auto;  /* 왼쪽 폭(부모이름) 고정 */
  justify-content: center;            /* 두 컬럼 전체를 카드 가운데로 */
  align-items: center;
  column-gap: 8px;
}

/* 한 칸 안의 p 요소는 기존처럼 flex, 다만 정렬만 살짝 조정 */
.preview-invitation-cellphome > div > p {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* 왼쪽 칸(부모이름)은 살짝 오른쪽 정렬 느낌 */
.preview-invitation-cellphome > div > p:first-child {
  justify-content: flex-end;
}

/* 오른쪽 칸(아들/딸 + 이름)은 왼쪽 정렬 */
.preview-invitation-cellphome > div > p.rel_box {
  justify-content: flex-start;
}

/* 한 줄(신랑 / 신부) 전체 : 부모 + 아들/딸+이름 을 한 줄로 고정 */
.preview-invitation-cellphome > .groom,
.preview-invitation-cellphome > .bride {
  display: flex;
  justify-content: center;   /* 전체를 가운데로 */
  align-items: center;
  flex-wrap: nowrap;         /* 줄바꿈 안 되게 */
  padding-bottom: 20px;
}

/* 각 줄 안의 p 기본 설정 : 한 줄로 고정 */
.preview-invitation-cellphome > div > p {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;         /* 부모 이름도 줄바꿈 안 되게 */
  margin-bottom: 0;
}

/* 왼쪽 : 부모 영역 폭 고정 (+ 오른쪽 정렬) */
.preview-invitation-cellphome > .groom > p:first-child,
.preview-invitation-cellphome > .bride > p:first-child {
  min-width: 70px;          /* 필요하면 140~180 사이로 조정 */
  justify-content: flex-end; /* 오른쪽으로 붙여서 정렬 */
}
.theme7 .preview-invitation-cellphome > .groom > p.rel_box,
.theme7 .preview-invitation-cellphome > .bride > p.rel_box{
  margin-left: 0 !important;
}
/* 오른쪽 : 아들/딸 + 이름 영역 */
.preview-invitation-cellphome > .groom > p.rel_box,
.preview-invitation-cellphome > .bride > p.rel_box {
  justify-content: flex-start;
  margin-left: 10px;         /* 부모 이름과 간격 */
}


/* p 안의 span 들도 한 줄로 */
.preview-invitation-cellphome > div > p > span {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
}

/* ‘아들/딸’ 텍스트 수직 보정 (위로 뜨는 것 제거) */
.preview-invitation-cellphome > div > p.rel_box .rel_text {
  width: 30px;          /* 아들 / 딸 폭 동일 */
  padding-top: 0;       /* 기존 8px 올라가던 거 제거 */
}

/* 초대글/인사글/감사글 텍스트 상자 크기 확대 & 라벨-상자 간격 축소 */
#invitation_message,
#insa_message,
#testimonial_message {
  min-height: 200px;
  font-size: 0.95rem;
  line-height: 1.6;
}
.form-guesedit .form-group.row > .col-sm-3.col-form-label {
  padding-top: 0.25rem;
  padding-bottom: 0;
}
.form-guesedit .form-group.row > .col-sm-8 {
  padding-top: 0;
}

/* ===== 갤러리 드래그 앤 드롭 영역 ===== */
.gallery-drop-zone {
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 20px 10px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  background-color: #fafafa;
}
.gallery-drop-zone:hover {
  border-color: #999;
  background-color: #f5f5f5;
}
.gallery-drop-zone.drag-over {
  border-color: #3f51b5;
  background-color: #e8eaf6;
}
.gallery-drop-zone.uploading {
  border-color: #ff9800;
  background-color: #fff3e0;
  pointer-events: none;
  opacity: 0.7;
}
.gallery-drop-zone-inner {
  pointer-events: none;
}
.gallery-drop-icon {
  font-size: 2rem;
  color: #999;
  display: block;
  margin-bottom: 6px;
}
.gallery-drop-text {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}
.gallery-drop-sub {
  margin: 4px 0 0;
  font-size: 0.75rem;
  color: #999;
}

/* ===== 갤러리 드래그 정렬 핸들 ===== */
.card--picture-item-wrap {
  position: relative;
}
.card--picture-item-wrap .drag-handle {
  position: absolute;
  bottom: 2px;
  left: 2px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: grab;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.card--picture-item-wrap .drag-handle:hover {
  opacity: 1;
}
.card--picture-item-wrap.sortable-ghost {
  opacity: 0.4;
}
.card--picture-item-wrap.sortable-chosen {
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* PC: 드래그앤드롭만, 모바일: 여러사진 업로드 버튼만 */
#gallery_img_multi_wrap { display: none; }
#galleryDropZone { display: block; }

@media (max-width: 991px) {
  #gallery_img_multi_wrap { display: block; }
  #galleryDropZone { display: none; }
}

/* 사진 보정 필터 */
.photo-filter-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.photo-filter-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 4px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 68px;
}
.photo-filter-btn:hover {
  border-color: #999;
}
.photo-filter-btn.active {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.25);
}
.photo-filter-btn .filter-preview {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  background-color: #f0e6d3;
}
/* 메인 사진 없을 때 기본 그라데이션 표시 */
.photo-filter-btn .filter-preview.no-img {
  background-image: linear-gradient(135deg, #f8c4c4 0%, #f0e6d3 30%, #c4daf8 60%, #d4f0c4 100%) !important;
}
.photo-filter-btn .filter-name {
  font-size: 11px;
  color: #555;
  white-space: nowrap;
}
.photo-filter-btn.active .filter-name {
  color: #6366f1;
  font-weight: 600;
}

/* 사진 효과 선택 UI */
.photo-effect-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.effect-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.effect-group-label {
  font-size: 12px;
  color: #666;
  min-width: 40px;
  flex-shrink: 0;
}
.effect-btn-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.effect-btn, .effect-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 4px 8px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
}
.effect-btn:hover, .effect-type-btn:hover {
  border-color: #999;
}
.effect-btn.active, .effect-type-btn.active {
  border-color: #6366f1;
  background: #f0f0ff;
}
.effect-icon-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}
.effect-icon-preview img {
  width: 18px;
  height: 18px;
}
.effect-none-mark {
  font-size: 12px;
  color: #bbb;
  line-height: 1;
}
.effect-btn .effect-name, .effect-type-btn .effect-name {
  font-size: 11px;
  color: #666;
}
.effect-btn.active .effect-name, .effect-type-btn.active .effect-name {
  color: #6366f1;
  font-weight: 600;
}

/* 사진 효과 파티클 오버레이 */
.photo-effect-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
}
.photo-effect-particle {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform, opacity;
  opacity: 0;
}
.photo-effect-particle img {
  display: block;
}

/* 사진보정/효과 테마별 비활성화 */
#photoFeatureWrap {
  position: relative;
}
#photoFeatureWrap .photo-feature-overlay {
  display: none;
}
#photoFeatureWrap.photo-feature-disabled {
  pointer-events: none;
}
#photoFeatureWrap.photo-feature-disabled .photo-filter-list,
#photoFeatureWrap.photo-feature-disabled .photo-effect-section {
  opacity: 0.35;
}
#photoFeatureWrap.photo-feature-disabled .photo-feature-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
}
#photoFeatureWrap.photo-feature-disabled .photo-feature-overlay span {
  font-size: 12px;
  color: #999;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 6px 14px;
}

/* ===== [테마12 전용] 방명록 작성하기 모달 (#gueseditModalContent) 디자인 =====
 * 스크린샷 2026-06-02 155607 기준 (제목 좌측정렬 / 흰배경 회색테두리 사각 입력칸 / 사각 등록버튼)
 * - 테마12에서만 적용 (body:has(#themeNameBox.theme12))
 * - .guestbook-write-modal 클래스로 specificity를 높여 공통 테마12 모달 규칙을 덮어씀
 *   (다른 모달 contact/attend/guestbook 에는 영향 없음)
 */
/* 모달 컨텐츠: 흰 배경 + 살짝 둥근 모서리 */
body:has(#themeNameBox.theme12) #gueseditModalContent.guestbook-write-modal .modal-content {
  border-radius: 8px !important;
}
/* 헤더: 좌측 정렬 */
body:has(#themeNameBox.theme12) #gueseditModalContent.guestbook-write-modal .modal-header {
  text-align: left;
  padding: 26px 28px 6px;
}
/* 제목: 좌측 정렬, 크게 */
body:has(#themeNameBox.theme12) #gueseditModalContent.guestbook-write-modal .modal-title {
  width: auto;
  text-align: left;
  font-size: 22px;
  color: #111111;
}
/* 닫기(X) 버튼: 우측 상단 고정 */
body:has(#themeNameBox.theme12) #gueseditModalContent.guestbook-write-modal .modal-header .close {
  top: 30px;
  right: 26px;
  transform: none;
  font-size: 22px;
}
/* 바디: 좌우 패딩 확보 */
body:has(#themeNameBox.theme12) #gueseditModalContent.guestbook-write-modal .modal-body {
  padding: 10px 28px 28px;
}
/* 입력 그룹 간격 */
body:has(#themeNameBox.theme12) #gueseditModalContent.guestbook-write-modal .form-group {
  margin-bottom: 20px;
}
/* 라벨(이름/내용/비밀번호): 좌측, 검정 볼드 */
body:has(#themeNameBox.theme12) #gueseditModalContent.guestbook-write-modal .col-form-label {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  text-align: left;
  color: #111111;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 14px;
  font-weight: 700;
}
/* 입력칸: 흰 배경 + 회색 얇은 테두리 + 4px 사각형 */
body:has(#themeNameBox.theme12) #gueseditModalContent.guestbook-write-modal .modal-body input.form-control,
body:has(#themeNameBox.theme12) #gueseditModalContent.guestbook-write-modal .modal-body textarea.form-control {
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 13px 14px;
  height: auto;
  color: #111111;
  font-family: "Pretendard", sans-serif;
  font-size: 13px;
  font-weight: 400;
}
/* 내용 textarea 최소 높이 */
body:has(#themeNameBox.theme12) #gueseditModalContent.guestbook-write-modal .modal-body textarea.form-control {
  min-height: 90px;
}
/* 플레이스홀더: 연한 회색 */
body:has(#themeNameBox.theme12) #gueseditModalContent.guestbook-write-modal .modal-body .form-control::placeholder {
  color: rgba(17, 17, 17, 0.30);
  font-family: "Pretendard", sans-serif;
  font-size: 10px;
  font-weight: 400;
}
/* 포커스 시 올리브 테두리 */
body:has(#themeNameBox.theme12) #gueseditModalContent.guestbook-write-modal .modal-body input.form-control:focus,
body:has(#themeNameBox.theme12) #gueseditModalContent.guestbook-write-modal .modal-body textarea.form-control:focus {
  border-color: #6A7C56;
  box-shadow: 0 0 0 2px rgba(106, 124, 86, 0.15);
}
/* 등록하기 버튼: 올리브 사각형 (알약 X) */
body:has(#themeNameBox.theme12) #gueseditModalContent.guestbook-write-modal .modal-body .btn-dark {
  display: block;
  width: 100%;
  height: 52px;
  margin-top: 8px;
  background: #6A7C56;
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  font-family: "BookkMyungjo", "JejuMyeongjo", serif;
  font-size: 15px;
  font-weight: 700;
}

/* theme13 Figma correction pass */
#themeNameBox.theme13 .themeBtn a,
#themeNameBox.theme13 .book_btn a,
#themeNameBox.theme13 .book_btn2 a,
#themeNameBox.theme13 .book_btn_top a {
  min-height: 36px;
  border: 0 !important;
  border-radius: 3px !important;
  background: var(--t13-red) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}
/* 연락하기 버튼: 피그마 아웃라인(흰 배경, #BF4340 테두리/글자) */
#themeNameBox.theme13 .btn-contactme,
#themeNameBox.theme13 .btn-contactme span {
  min-width: 180px !important;
  min-height: 45px !important;
  border: 0.5px solid #bf4340 !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #bf4340 !important;
  box-shadow: none !important;
  font-size: 16px !important;
}
/* span 자체엔 테두리/배경/최소크기 불필요 — 글자색만 상속 */
#themeNameBox.theme13 .btn-contactme span {
  min-width: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

#themeNameBox.theme13 .btn-contactme .call-icon {
  display: none;
}

#themeNameBox.theme13 .preview-attend-wrap {
  padding: 50px 28px !important;
  background-color: var(--t13-red) !important;
  background-image: none !important;
  color: #ffffff !important;
  text-align: center;
  /* 콘텐츠가 짧을 때(예: 참석 등록 완료) min-height(460px) 안에서 위로 치우치지 않도록 세로 가운데 정렬 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/* 참석 등록 완료 상태: 버튼이 없어 하단 여백(30px)이 남아 위로 올라가던 것 제거 → 정확히 가운데 */
#themeNameBox.theme13 .preview-attend-title.attend-done {
  margin: 0 !important;
}
#themeNameBox.theme13 .preview-attend-title.attend-done h2 {
  margin-bottom: 0;
}

#themeNameBox.theme13 .preview-attend-wrap::before,
#themeNameBox.theme13 .preview-attend-wrap::after {
  display: none !important;
}

#themeNameBox.theme13 .preview-attend-wrap .preview-inner-wrap {
  max-width: 280px;
  margin: 0 auto;
  padding: 0 !important;
}

#themeNameBox.theme13 .preview-attend-title {
  margin: 0 0 30px !important;
}

#themeNameBox.theme13 .preview-attend-title h2,
#themeNameBox.theme13 .preview-attend-title .attend-body,
#themeNameBox.theme13 .preview-attend-title .attend-kicker,
#themeNameBox.theme13 .preview-attend-title .bg-gray {
  color: #ffffff !important;
}

#themeNameBox.theme13 .preview-attend-title h2 {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.55;
}

#themeNameBox.theme13 .preview-attend-title .attend-body,
#themeNameBox.theme13 .preview-attend-title .attend-kicker,
#themeNameBox.theme13 .preview-attend-title .bg-gray {
  display: block;
  min-width: 0;
  min-height: 0;
  margin: 0 auto !important;
  padding: 0;
  border: 0;
  background: transparent !important;
  font-size: 13px;
  line-height: 1.65;
}

#themeNameBox.theme13 .preview-attend-wrap .btn-attend {
  width: auto;
  min-width: 158px;
  min-height: 36px;
  padding: 0 18px;
  border: 0 !important;
  border-radius: 3px !important;
  background: #ffffff !important;
  color: var(--t13-red) !important;
  font-size: 13px;
  box-shadow: none !important;
}

#themeNameBox.theme13 .preview-attend-wrap .btn-attend .check-icon {
  display: none;
}

/* ===== 테마13 마음 전하실 곳(ACCOUNT) - 피그마 (테마12 레이아웃 참고) ===== */
/* 섹션 좌우 패딩 제거 → inner-wrap 의 30px 만 남겨 좌우 여백 30px (피그마) */
#themeNameBox.theme13 .preview-bank-wrap {
  padding-left: 0;
  padding-right: 0;
}
/* 타이틀: ACCOUNT (raustila #BF4340 20px) + "마음 전하실 곳" (#82120D 20px)
   전역 .preview-title 의 padding-bottom 무력화 */
#themeNameBox.theme13 .preview-bank-title {
  margin-bottom: 0;
  padding-bottom: 0 !important;
}
#themeNameBox.theme13 .preview-bank-title h2::before {
  color: #bf4340;
  font-family: "raustila", "Cafe24Dangdanghae", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 10px;
}
#themeNameBox.theme13 .preview-bank-title h2,
#themeNameBox.theme13 .preview-bank-title h2.font-tit {
  color: #82120d;
  font-size: 20px;
}
/* 안내 문구: 신랑&신부에게 축복의 의미로... (#82120D 16px) */
#themeNameBox.theme13 .preview-bank-title h2::after {
  content: "신랑\00026신부에게 축복의 의미로\A축의금을 전달해보세요.";
  white-space: pre-line;
  display: block;
  margin-top: 10px;
  color: #82120d;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
/* 계좌 영역: 카드 박스 제거 → 풀폭 나열 (테마12 방식) */
#themeNameBox.theme13 .preview-bank-wrap .accordion-box {
  margin: 20px 0 0;
  border: 0;
  background: transparent;
}
#themeNameBox.theme13 .preview-bank-wrap .accordion-inner {
  overflow: visible;
  margin-bottom: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
/* 신랑측/신부측 계좌번호 토글: 풀폭 45px #BF4340 + 흰 글자 16px (피그마) */
#themeNameBox.theme13 .preview-bank-wrap .accordion-box .btn-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  height: 45px;
  min-height: 45px;
  margin: 0 auto;
  padding: 0;
  background: var(--t13-red) !important;
  border: 0;
  border-radius: 4px;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
}
/* 전역 헤더 ::after "접기/펼치기" 토글 텍스트 숨김 (피그마: 제목만 표시) */
#themeNameBox.theme13 .preview-bank-wrap .accordion-box .btn-toggle::after {
  content: none;
}
/* 계좌 행: 투명 배경 + 하단 0.5px #BF4340 구분선 (피그마) */
#themeNameBox.theme13 .preview-bank-wrap .accordion-box .bank {
  margin-bottom: 0;
  padding: 20px 0;
  background: transparent;
  border: 0;
  border-bottom: 0.5px solid var(--t13-red);
  border-radius: 0;
}
#themeNameBox.theme13 .preview-bank-wrap .bank-info,
#themeNameBox.theme13 .preview-bank-wrap .bank-btn-box{
  padding: 0;
}
#themeNameBox.theme13 .preview-bank-wrap .bank-info p {
  margin: 0;
  line-height: 1.6;
}
/* 관계 라벨(신랑/부/모 12px) + 이름(14px) 한 줄 gap 5 (피그마) */
#themeNameBox.theme13 .preview-bank-wrap .bank-info p:first-child {
  display: flex;
  align-items: center;
  gap: 5px;
}
#themeNameBox.theme13 .preview-bank-wrap .bank-info .name {
  color: var(--t13-red);
  font-size: 14px;
}
#themeNameBox.theme13 .preview-bank-wrap .bank-info .name::before {
  font-weight: 400;
  font-size: 12px;
  margin-right: 5px;
}
/* 이름 앞 관계 표기: 행 클래스(00=본인/01=부/02=모) 기준 (피그마) */
#themeNameBox.theme13 .bank_groom00 .bank-info .name::before { content: "신랑"; }
#themeNameBox.theme13 .bank_bride00 .bank-info .name::before { content: "신부"; }
#themeNameBox.theme13 .bank_groom01 .bank-info .name::before,
#themeNameBox.theme13 .bank_bride01 .bank-info .name::before { content: "부"; }
#themeNameBox.theme13 .bank_groom02 .bank-info .name::before,
#themeNameBox.theme13 .bank_bride02 .bank-info .name::before { content: "모"; }
#themeNameBox.theme13 .preview-bank-wrap .bank-info .bank_type,
#themeNameBox.theme13 .preview-bank-wrap .bank-info .bank_no {
  color: var(--t13-red);
  font-size: 14px;
}
/* 버튼 행: 계좌복사 + 카카오페이 가로 배치 gap 5, 정보와 15px 간격 (피그마) */
#themeNameBox.theme13 .preview-bank-wrap .bank-btn-box {
  display: flex;
  flex-wrap: nowrap;       /* 두 버튼 한 줄 유지 (전역 wrap 무력화) */
  gap: 5px;
  margin-top: 15px;
}
/* 계좌복사/카카오페이: 흰 배경 + 0.5px #BF4340 보더 + radius 5 + 레드 텍스트 12px (피그마) */
#themeNameBox.theme13 .preview-bank-wrap .copy-bank,
#themeNameBox.theme13 .preview-bank-wrap .kakaopay {
  flex: 1;
  width: auto;
  height: 40px;
  min-height: 40px;
  padding: 0 10px;
  background: #ffffff !important;
  border: 0.5px solid var(--t13-red) !important;
  border-radius: 5px !important;
  color: var(--t13-red) !important;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;     /* "카카오페이 송금" 한 줄 유지 (피그마) */
}
#themeNameBox.theme13 .preview-bank-wrap .kakaopay span {
  white-space: nowrap;
}
/* 계좌복사 아이콘: svg를 mask 로 모양만 따서 #BF4340 으로 칠함 (피그마) */
#themeNameBox.theme13 .preview-bank-wrap .copy-bank::before {
  content: "";
  display: inline-block;
  width: 23px;
  height: 23px;
  margin-right: 2px;
  flex-shrink: 0;
  background-image: none;
  background-color: var(--t13-red);
  -webkit-mask: url("/assets/tool/img/theme_new/theme_icon_copy.svg") center / 23px no-repeat;
          mask: url("/assets/tool/img/theme_new/theme_icon_copy.svg") center / 23px no-repeat;
}

body:has(#themeNameBox.theme13) #contactModalContent .modal-dialog,
body:has(#themeNameBox.theme13) #attendModalContent .modal-dialog,
body:has(#themeNameBox.theme13) #guestbookModalContent .modal-dialog,
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-dialog,
body:has(#themeNameBox.theme13) #guestPasswordModal .modal-dialog,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-dialog {
  width: calc(100% - 48px);
  max-width: 340px;
  margin-right: auto;
  margin-left: auto;
}

body:has(#themeNameBox.theme13) #contactModalContent .modal-content,
body:has(#themeNameBox.theme13) #attendModalContent .modal-content,
body:has(#themeNameBox.theme13) #guestbookModalContent .modal-content,
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-content,
body:has(#themeNameBox.theme13) #guestPasswordModal .modal-content,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-content {
  overflow: hidden;
  border: 0 !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  color: #111111 !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .14);
}

body:has(#themeNameBox.theme13) #contactModalContent .modal-header,
body:has(#themeNameBox.theme13) #attendModalContent .modal-header,
body:has(#themeNameBox.theme13) #guestbookModalContent .modal-header,
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-header,
body:has(#themeNameBox.theme13) #guestPasswordModal .modal-header,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-header {
  position: relative;
  align-items: center;
  min-height: 46px;
  padding: 15px 44px 11px 20px;
  border-bottom: 1px solid #f0e3df;
  background: #ffffff;
}

body:has(#themeNameBox.theme13) #contactModalContent .modal-title,
body:has(#themeNameBox.theme13) #attendModalContent .modal-title,
body:has(#themeNameBox.theme13) #guestbookModalContent .modal-title,
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-title,
body:has(#themeNameBox.theme13) #guestPasswordModal .modal-title,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-title {
  width: 100%;
  margin: 0;
  color: #111111 !important;
  font-family: "Cafe24Dangdanghae", "Pretendard", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: left;
}

body:has(#themeNameBox.theme13) #contactModalContent .modal-header .close,
body:has(#themeNameBox.theme13) #attendModalContent .modal-header .close,
body:has(#themeNameBox.theme13) #guestbookModalContent .modal-header .close,
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-header .close,
body:has(#themeNameBox.theme13) #guestPasswordModal .modal-header .close,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-header .close {
  position: absolute;
  top: 50%;
  right: 16px;
  margin: 0;
  padding: 0;
  color: #111111;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  opacity: 1;
  transform: translateY(-50%);
}

body:has(#themeNameBox.theme13) #contactModalContent .modal-body,
body:has(#themeNameBox.theme13) #attendModalContent .modal-body,
body:has(#themeNameBox.theme13) #guestbookModalContent .modal-body,
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-body,
body:has(#themeNameBox.theme13) #guestPasswordModal .modal-body,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-body {
  padding: 18px 20px 20px;
  color: #111111;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
}

body:has(#themeNameBox.theme13) #contactModalContent .modal-body label,
body:has(#themeNameBox.theme13) #attendModalContent .modal-body label,
body:has(#themeNameBox.theme13) #guestbookModalContent .modal-body label,
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-body label,
body:has(#themeNameBox.theme13) #guestPasswordModal .modal-body label,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-body label {
  margin-bottom: 8px;
  color: #111111 !important;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

body:has(#themeNameBox.theme13) #contactModalContent .modal-body input.form-control,
body:has(#themeNameBox.theme13) #contactModalContent .modal-body textarea.form-control,
body:has(#themeNameBox.theme13) #attendModalContent .modal-body input.form-control,
body:has(#themeNameBox.theme13) #attendModalContent .modal-body textarea.form-control,
body:has(#themeNameBox.theme13) #guestbookModalContent .modal-body input.form-control,
body:has(#themeNameBox.theme13) #guestbookModalContent .modal-body textarea.form-control,
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-body input.form-control,
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-body textarea.form-control,
body:has(#themeNameBox.theme13) #guestPasswordModal .modal-body input.form-control,
body:has(#themeNameBox.theme13) #guestPasswordModal .modal-body textarea.form-control,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-body input.form-control,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-body textarea.form-control {
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid #ded8d5;
  border-radius: 2px;
  background: #ffffff;
  color: #111111;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: none;
}

body:has(#themeNameBox.theme13) #gueseditModalContent .modal-body textarea.form-control,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-body textarea.form-control {
  min-height: 96px;
}

body:has(#themeNameBox.theme13) #contactModalContent .modal-body input.form-control:focus,
body:has(#themeNameBox.theme13) #contactModalContent .modal-body textarea.form-control:focus,
body:has(#themeNameBox.theme13) #attendModalContent .modal-body input.form-control:focus,
body:has(#themeNameBox.theme13) #attendModalContent .modal-body textarea.form-control:focus,
body:has(#themeNameBox.theme13) #guestbookModalContent .modal-body input.form-control:focus,
body:has(#themeNameBox.theme13) #guestbookModalContent .modal-body textarea.form-control:focus,
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-body input.form-control:focus,
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-body textarea.form-control:focus,
body:has(#themeNameBox.theme13) #guestPasswordModal .modal-body input.form-control:focus,
body:has(#themeNameBox.theme13) #guestPasswordModal .modal-body textarea.form-control:focus,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-body input.form-control:focus,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-body textarea.form-control:focus {
  border-color: var(--t13-red);
  box-shadow: 0 0 0 2px rgba(191, 67, 64, .12);
}

body:has(#themeNameBox.theme13) #contactModalContent .modal-body .btn-dark,
body:has(#themeNameBox.theme13) #contactModalContent .modal-body .btn.btn-primary,
body:has(#themeNameBox.theme13) #attendModalContent .modal-body .btn-dark,
body:has(#themeNameBox.theme13) #attendModalContent .modal-body .btn.btn-primary,
body:has(#themeNameBox.theme13) #guestbookModalContent .modal-body .btn-dark,
body:has(#themeNameBox.theme13) #guestbookModalContent .modal-body .btn.btn-primary,
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-body .btn-dark,
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-body .btn.btn-primary,
body:has(#themeNameBox.theme13) #guestPasswordModal .modal-body .btn-dark,
body:has(#themeNameBox.theme13) #guestPasswordModal .modal-body .btn.btn-primary,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-body .btn-dark,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-body .btn.btn-primary {
  min-height: 42px;
  border: 0 !important;
  border-radius: 3px !important;
  background: var(--t13-red) !important;
  color: #ffffff !important;
  font-family: "Cafe24Dangdanghae", "Pretendard", sans-serif;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none !important;
}

/* ===== 테마13 연락하기 모달 재디자인 - Figma(테마12와 동일 레이아웃, 색상/폰트만 테마13)
 * 신랑측/신부측 그룹 헤더 + HSBombaram + 레드(#BF4340) 채움 원형 아이콘.
 * 아래 규칙은 #contactModalContent 한정이라 다른 모달(attend/guestbook 등)에는 영향 없음. ===== */
/* 연락하기 헤더: 타이틀 중앙 정렬 + 좌우 대칭 패딩 */
body:has(#themeNameBox.theme13) #contactModalContent .modal-header {
  padding: 16px 44px 12px;
  justify-content: center;
}
body:has(#themeNameBox.theme13) #contactModalContent .modal-title {
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
}
/* 연락하기 바디: 좌우 패딩 0(보더 풀폭) + 하단 여백 */
body:has(#themeNameBox.theme13) #contactModalContent .modal-body {
  padding: 0 0 40px !important;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
}
/* 공통 행 grid (라벨60 / 이름152 / 아이콘1fr) - 보더가 모달 폭 전체로 확장 */
body:has(#themeNameBox.theme13) #contactModalContent .contactItem {
  display: grid;
  /* 라벨 고정폭(이름 시작 x 정렬) + 이름 유연(minmax 0,1fr → 좁아도 오버플로 방지) + 아이콘 내용폭.
     고정 152px 이면 좁은 모달에서 내용이 넘쳐 좌우 padding이 안 보였음 → 유연 컬럼으로 변경 */
  grid-template-columns: 60px minmax(0, 1fr) auto;
  justify-content: stretch;
  align-items: center;
  column-gap: 20px;
  width: 100%;
  margin: 0;
  padding: 10px 35px 10px 40px;                            /* 여백: 상하 10 / 좌 40 / 우 35 */
  box-sizing: border-box;
  border-bottom: 0.5px solid rgba(17, 17, 17, 0.3);
  background: transparent;
  min-height: 0;
}
body:has(#themeNameBox.theme13) #contactModalContent .contactItem:last-child {
  border-bottom: 0.5px solid rgba(17, 17, 17, 0.3);
}
body:has(#themeNameBox.theme13) #contactModalContent .contactItem > div {
  min-height: 0;
  line-height: 1.5;
}

/* 신랑/신부 첫 행 - ::before 로 "신랑측"/"신부측" 그룹 헤더 주입 */
body:has(#themeNameBox.theme13) #contactModalContent .contactItem:has(.call_tit.groom),
body:has(#themeNameBox.theme13) #contactModalContent .contactItem:has(.call_tit.bride) {
  grid-template-areas:
    "header header header"
    "tit    name   icon";
  padding: 0 35px 10px 40px;                               /* 여백: 좌 40 / 우 35 */
}
body:has(#themeNameBox.theme13) #contactModalContent .contactItem:has(.call_tit.bride) {
  margin-top: 30px;        /* 신랑측 마지막 행과 신부측 헤더 사이 간격 */
}
body:has(#themeNameBox.theme13) #contactModalContent .contactItem:has(.call_tit.groom)::before,
body:has(#themeNameBox.theme13) #contactModalContent .contactItem:has(.call_tit.bride)::before {
  grid-area: header;
  display: block;
  min-height: 76px;
  margin: 0 -35px 10px -40px;                            /* 행 좌우 패딩(40/35) 무력화 → 보더가 모달 폭 끝까지 */
  padding: 29px 40px;                                    /* 좌 40px → 행 라벨(신랑/아버지)과 좌측 정렬 */
  box-sizing: border-box;
  border-bottom: 0.5px solid rgba(17, 17, 17, 0.3);
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 18px;
  font-weight: 400;
  color: #111111;
  letter-spacing: 0;
  text-align: left;
}
body:has(#themeNameBox.theme13) #contactModalContent .contactItem:has(.call_tit.groom)::before { content: "신랑측"; }
body:has(#themeNameBox.theme13) #contactModalContent .contactItem:has(.call_tit.bride)::before { content: "신부측"; }
/* grid 영역 할당 */
body:has(#themeNameBox.theme13) #contactModalContent .contactItem:has(.call_tit.groom) .call_tit,
body:has(#themeNameBox.theme13) #contactModalContent .contactItem:has(.call_tit.bride) .call_tit { grid-area: tit; }
body:has(#themeNameBox.theme13) #contactModalContent .contactItem:has(.call_tit.groom) .call_name,
body:has(#themeNameBox.theme13) #contactModalContent .contactItem:has(.call_tit.bride) .call_name { grid-area: name; }
body:has(#themeNameBox.theme13) #contactModalContent .contactItem:has(.call_tit.groom) .call_icon,
body:has(#themeNameBox.theme13) #contactModalContent .contactItem:has(.call_tit.bride) .call_icon { grid-area: icon; }

/* 라벨/이름 - 16px #111 HSBombaram, 좌측 정렬 */
body:has(#themeNameBox.theme13) #contactModalContent .contactItem .call_tit,
body:has(#themeNameBox.theme13) #contactModalContent .contactItem .call_name {
  width: auto !important;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: #111111 !important;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  white-space: nowrap;
  word-break: keep-all;
}
body:has(#themeNameBox.theme13) #contactModalContent .contactItem .call_name span {
  display: inline-block;
  white-space: nowrap;
}
body:has(#themeNameBox.theme13) #contactModalContent .contactItem .call_tit .xeicon {
  display: none;
}
/* 부모 행 라벨 교체: "신랑 아버지" → "아버지" / "신랑 어머니" → "어머니" */
body:has(#themeNameBox.theme13) #contactModalContent .contactItem.groom-dad-info .call_tit,
body:has(#themeNameBox.theme13) #contactModalContent .contactItem.groom-mom-info .call_tit,
body:has(#themeNameBox.theme13) #contactModalContent .contactItem.bride-dad-info .call_tit,
body:has(#themeNameBox.theme13) #contactModalContent .contactItem.bride-mom-info .call_tit {
  font-size: 0;
  line-height: 0;
}
body:has(#themeNameBox.theme13) #contactModalContent .contactItem.groom-dad-info .call_tit::before,
body:has(#themeNameBox.theme13) #contactModalContent .contactItem.bride-dad-info .call_tit::before {
  content: "아버지";
  font-size: 16px;
  font-weight: 400;
  color: #111111;
  line-height: 1.5;
  display: inline-block;
}
body:has(#themeNameBox.theme13) #contactModalContent .contactItem.groom-mom-info .call_tit::before,
body:has(#themeNameBox.theme13) #contactModalContent .contactItem.bride-mom-info .call_tit::before {
  content: "어머니";
  font-size: 16px;
  font-weight: 400;
  color: #111111;
  line-height: 1.5;
  display: inline-block;
}

/* 통화/메시지 아이콘 - 레드(#BF4340) 채움 원형 28px + 흰색 SVG(테마12 아이콘 재사용) */
body:has(#themeNameBox.theme13) #contactModalContent .contactItem .call_icon {
  width: auto;
  padding: 0;
  display: flex;
  gap: 15px;
  align-items: center;
  justify-self: end;
}
body:has(#themeNameBox.theme13) #contactModalContent .contactItem .call_icon > a {
  margin: 0;
  width: 28px;
  height: 28px;
  border: 0 !important;
  border-radius: 50%;
  background-color: #BF4340 !important;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  text-decoration: none;
  font-size: 0 !important;
  line-height: 0;
}
body:has(#themeNameBox.theme13) #contactModalContent .contactItem .call_icon > a.mobile {
  background-image: url('/assets/tool/img/invitation/theme_2026/theme12_icon_call.svg') !important;
  background-size: 14px 14px;
}
body:has(#themeNameBox.theme13) #contactModalContent .contactItem .call_icon > a.sms {
  background-image: url('/assets/tool/img/invitation/theme_2026/theme12_icon_message.svg') !important;
  background-size: 17px 12px;
}
body:has(#themeNameBox.theme13) #contactModalContent .contactItem .call_icon > a .xeicon {
  display: none !important;
}

/* ===== 테마13 참석여부 모달 (#attendModalContent) - 테마12와 동일 레이아웃 / 테마13 색상(레드) =====
 * 헤더 "참석 의사 전달" 18px #111 중앙 + 서브타이틀 / 좌측 라벨 숨김 / 토글 풀폭 2등분
 * 신랑·신부측 active #82120D / 참석가능 active·동행·제출 #BF4340 (피그마) */
/* 헤더 중앙 정렬 + 서브타이틀 */
body:has(#themeNameBox.theme13) #attendModalContent .modal-header {
  padding: 32px 30px 14px !important;
  text-align: center;
  display: block !important;
  position: relative;
}
body:has(#themeNameBox.theme13) #attendModalContent .modal-title {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: #111111 !important;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0;
  white-space: nowrap;
}
body:has(#themeNameBox.theme13) #attendModalContent .modal-title::after {
  content: "원활한 예식 진행을 위해 참석 정보를\A미리 알려주시면 감사하겠습니다";
  display: block;
  margin-top: 12px;
  white-space: pre-line;
  color: rgba(17, 17, 17, 0.5);
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  text-align: center;
}
body:has(#themeNameBox.theme13) #attendModalContent .modal-header .close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 22px;
  transform: none;
}
/* 바디 */
body:has(#themeNameBox.theme13) #attendModalContent .modal-body {
  padding: 12px 0 30px !important;
  background: #ffffff;
}
body:has(#themeNameBox.theme13) #attendModalContent .preview-attend-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: #111111;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
}
/* 좌측 라벨(선택/참석여부/성명) 숨김 - 피그마 미사용 */
body:has(#themeNameBox.theme13) #attendModalContent .col-form-label {
  display: none !important;
}
/* form-group을 단순 block으로 재구성 */
body:has(#themeNameBox.theme13) #attendModalContent .form-group.row {
  display: block;
  margin: 0;
  padding: 10px 13px;
}
body:has(#themeNameBox.theme13) #attendModalContent .form-group.row > .col-sm-9,
body:has(#themeNameBox.theme13) #attendModalContent .form-group.row > .col-12 {
  flex: none;
  max-width: 100%;
  width: 100%;
  padding: 0;
}
/* 토글 그룹: 풀폭 2등분 */
body:has(#themeNameBox.theme13) #attendModalContent .btn-group-toggle {
  display: flex !important;
  gap: 8px;
  width: 100% !important;
  grid-template-columns: none;
}
body:has(#themeNameBox.theme13) #attendModalContent .btn-group-toggle > label.btn {
  flex: 1;
  width: auto;
  min-width: 0;
  height: 45px;
  padding: 10px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  border: 0.5px solid rgba(17, 17, 17, 0.5) !important;
  border-radius: 4px !important;
  color: #111111 !important;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 13px;
  font-weight: 400;
  box-shadow: none;
  letter-spacing: 0;
  white-space: nowrap;
}
/* 신랑측/신부측(1행) active - #82120D */
body:has(#themeNameBox.theme13) #attendModalContent .form-group:nth-of-type(1) .btn-group-toggle > label.btn.active {
  background: #82120d !important;
  color: #ffffff !important;
  border-color: #82120d !important;
}
/* 참석가능/불가(2행) active - #BF4340 */
body:has(#themeNameBox.theme13) #attendModalContent .form-group:nth-of-type(2) .btn-group-toggle > label.btn.active {
  background: var(--t13-red) !important;
  color: #ffffff !important;
  border-color: var(--t13-red) !important;
}
body:has(#themeNameBox.theme13) #attendModalContent .btn-group-toggle > label.btn input[type="radio"] {
  display: none;
}
/* 성명행: "성함" 라벨(::before) + input + 동행추가 */
body:has(#themeNameBox.theme13) #attendModalContent .form-group:nth-of-type(3) {
  padding: 30px 0 0;
}
body:has(#themeNameBox.theme13) #attendModalContent .form-group:nth-of-type(3) > .col-sm-9::before,
body:has(#themeNameBox.theme13) #attendModalContent .form-group:nth-of-type(3) > .col-12::before {
  content: "성함";
  display: block;
  padding: 0 13px 10px;
  color: #111111;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 13px;
  font-weight: 400;
}
body:has(#themeNameBox.theme13) #attendModalContent .form-group:nth-of-type(3) .input-group,
body:has(#themeNameBox.theme13) #attendModalContent .input-group.split {
  display: flex !important;
  gap: 8px;
  padding: 0 13px;
  margin: 0;
  flex-wrap: nowrap;
  grid-template-columns: none;
}
body:has(#themeNameBox.theme13) #attendModalContent .input-group.split {
  margin-bottom: 10px !important;
}
body:has(#themeNameBox.theme13) #attendModalContent .form-group:nth-of-type(3) .input-group input.form-control {
  flex: 1 1 189px;
  width: auto !important;
  max-width: 189px;
  min-width: 0;
  height: 45px;
  padding: 10px;
  background: #ffffff;
  border: 0.5px solid #30312E;
  border-radius: 4px !important;
  color: #111111;
  font-family: "Pretendard", "Cafe24Dangdanghae", sans-serif;
  font-size: 12px;
  font-weight: 400;
}
body:has(#themeNameBox.theme13) #attendModalContent .form-group:nth-of-type(3) .input-group input.form-control::placeholder {
  color: rgba(17, 17, 17, 0.3);
  font-family: "Pretendard", "Cafe24Dangdanghae", sans-serif;
  font-size: 10px;
  font-weight: 400;
}
body:has(#themeNameBox.theme13) #attendModalContent .input-group-append {
  margin: 0;
  flex: 0 0 137px;
}
/* 동행추가/삭제 버튼: 레드(#BF4340) */
body:has(#themeNameBox.theme13) #attendModalContent .input-group-append .btn,
body:has(#themeNameBox.theme13) #attendModalContent .btn-add-companion {
  width: 137px;
  min-height: 45px;
  height: 45px;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--t13-red);
  border: 0.5px solid rgba(17, 17, 17, 0.5);
  border-radius: 4px;
  color: #ffffff;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 13px;
  font-weight: 400 !important;     /* 공용 .btn.btn-primary{700} 보다 우선해 400 강제 */
  box-shadow: none;
  white-space: nowrap;
}
body:has(#themeNameBox.theme13) #attendModalContent .input-group-append .btn i.xeicon {
  display: none;
}
/* 동행추가/삭제 버튼 앞 +/- 표기 (피그마) - 숨긴 xeicon 대체 */
body:has(#themeNameBox.theme13) #attendModalContent .btn-add-companion::before {
  content: "+";
}
body:has(#themeNameBox.theme13) #attendModalContent .btn-del-companion::before {
  content: "-";
}
/* 제출 버튼 "참석여부 등록하기" */
body:has(#themeNameBox.theme13) #attendModalContent .btn-dark.btn-block {
  margin: 20px 13px 0;
  width: calc(100% - 26px);
  height: 45px;
  background: var(--t13-red) !important;
  border: 0 !important;
  border-radius: 4px !important;
  color: #ffffff !important;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 13px;
  font-weight: 400;
}

body:has(#themeNameBox.theme13) #gueseditModalContent.guestbook-write-modal .form-group,
body:has(#themeNameBox.theme13) #guestPasswordModal .form-group,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .form-group {
  margin-bottom: 18px;
}

body:has(#themeNameBox.theme13) #gueseditModalContent.guestbook-write-modal .col-form-label,
body:has(#themeNameBox.theme13) #guestPasswordModal .col-form-label,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .col-form-label {
  display: block;
  padding: 0;
  text-align: left;
}

/* ===== 테마13 방명록 작성하기 모달 (#gueseditModalContent) - 피그마 (수정 모달 동일 적용) ===== */
/* 헤더: "방명록 작성하기" 18px #111 */
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-title,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-title {
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 18px;
  font-weight: 400;
}
/* 바디 여백 (피그마 padding 50 → 모달 폭 고려 30) */
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-body,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-body {
  padding: 25px 30px 30px;
}
/* 필드 간 간격 25px (피그마) */
body:has(#themeNameBox.theme13) #gueseditModalContent.guestbook-write-modal .form-group,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .form-group {
  margin-bottom: 25px;
}
/* 라벨: 13px #111 + 라벨↔인풋 7px (피그마) */
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-body label,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-body label {
  margin-bottom: 7px;
  color: #111111 !important;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 13px;
  font-weight: 400;
}
/* 인풋: 45px / radius 4 / 0.5px #BF4340 보더 (피그마) */
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-body input.form-control,
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-body textarea.form-control,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-body input.form-control,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-body textarea.form-control {
  min-height: 45px;
  padding: 10px;
  border: 0.5px solid #bf4340;
  border-radius: 4px;
  background: #ffffff;
  color: #111111;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 12px;
}
/* 내용 textarea 높이 80px (피그마) */
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-body textarea.form-control,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-body textarea.form-control {
  min-height: 80px;
}
/* placeholder: 10px rgba(17,17,17,.3) (피그마) */
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-body input.form-control::placeholder,
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-body textarea.form-control::placeholder,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-body input.form-control::placeholder,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-body textarea.form-control::placeholder {
  color: rgba(17, 17, 17, 0.3);
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 10px;
  font-weight: 400;
}
/* 등록하기 버튼: 풀폭 45px #BF4340 radius 4 흰 13px (피그마) */
body:has(#themeNameBox.theme13) #gueseditModalContent .modal-body .btn-dark.btn-block,
body:has(#themeNameBox.theme13) #guestUpdateModalContent .modal-body .btn-dark.btn-block {
  min-height: 45px;
  height: 45px;
  border: 0 !important;
  border-radius: 4px !important;
  background: var(--t13-red) !important;
  color: #ffffff !important;
  font-family: "Cafe24Dangdanghae", "JejuMyeongjo", serif;
  font-size: 13px;
  font-weight: 400;
}

/* ============================================================
 * 테마12/13 혼주(신랑/신부) 줄 - 테마14와 동일한 반반 레이아웃
 * 좌(부모, 우측정렬) / 우(관계+이름, 좌측정렬) 절반 분할
 * → 줄마다 "아들/딸"과 이름 시작 위치가 세로로 고정 정렬됨
 * ============================================================ */
#themeNameBox.theme12 .preview-invitation-cellphome .groom,
#themeNameBox.theme12 .preview-invitation-cellphome .bride,
#themeNameBox.theme13 .preview-invitation-cellphome .groom,
#themeNameBox.theme13 .preview-invitation-cellphome .bride {
  display: flex !important;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 12px;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}
#themeNameBox.theme12 .preview-invitation-cellphome .groom > p,
#themeNameBox.theme12 .preview-invitation-cellphome .bride > p,
#themeNameBox.theme13 .preview-invitation-cellphome .groom > p,
#themeNameBox.theme13 .preview-invitation-cellphome .bride > p {
  margin: 0;
  display: inline-flex !important;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 5px;
}
/* 부모 묶음: 행의 좌측 절반에서 우측 정렬 (중앙 경계선에 붙음) */
#themeNameBox.theme12 .preview-invitation-cellphome .groom > p:not(.rel_box),
#themeNameBox.theme12 .preview-invitation-cellphome .bride > p:not(.rel_box),
#themeNameBox.theme13 .preview-invitation-cellphome .groom > p:not(.rel_box),
#themeNameBox.theme13 .preview-invitation-cellphome .bride > p:not(.rel_box) {
  /* 위쪽 테마12 p:first-child 규칙(display:inline-block/flex:none !important)보다
     같은 특이도 + 뒤쪽 위치로 이기도록 !important 필요 */
  display: inline-flex !important;
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0;
  justify-content: flex-end;
  text-align: right;
}
/* 관계+이름 묶음: 행의 우측 절반에서 좌측 정렬, 관계↔이름 간격 좁게 */
#themeNameBox.theme12 .preview-invitation-cellphome .groom > p.rel_box,
#themeNameBox.theme12 .preview-invitation-cellphome .bride > p.rel_box,
#themeNameBox.theme13 .preview-invitation-cellphome .groom > p.rel_box,
#themeNameBox.theme13 .preview-invitation-cellphome .bride > p.rel_box {
  flex: 0.8 1 0;
  min-width: 0;
  justify-content: flex-start !important;
  gap: 6px;
}
/* 관계(아들/딸): 고정폭 우측정렬 유지 + 줄어들지 않게 */
#themeNameBox.theme12 .preview-invitation-cellphome .rel_text,
#themeNameBox.theme13 .preview-invitation-cellphome .rel_text {
  flex-shrink: 0;
  margin: 0 4px 0 0 !important;
}
/* 이름의 전역/JS 인라인 마진 무력화 (관계와 이름이 멀어지는 원인 제거) */
#themeNameBox.theme12 .preview-invitation-cellphome .rel_box .font-tit,
#themeNameBox.theme12 .preview-invitation-cellphome [data-name="groom_name"],
#themeNameBox.theme12 .preview-invitation-cellphome [data-name="bride_name"],
#themeNameBox.theme13 .preview-invitation-cellphome .rel_box .font-tit,
#themeNameBox.theme13 .preview-invitation-cellphome [data-name="groom_name"],
#themeNameBox.theme13 .preview-invitation-cellphome [data-name="bride_name"] {
  margin-left: 0 !important;
  margin-right: 0 !important;
  /* 테마12의 flex:1/display:flex 규칙이 이름 박스를 늘려 우측으로 밀던 것 무력화 → 내용폭 */
  display: inline-block !important;
  flex: 0 0 auto !important;
  width: auto !important;
}

/* 편집 아코디언 섹션 헤더 펼침 화살표 (식순 에디터와 동일: 펼치면 위/아래로 180° 회전) */
#editor_invitation [data-toggle="collapse"].flex-grow-1 { position: relative; }
#editor_invitation .inv-acc-arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: #b3b3b3;
  line-height: 0;
  pointer-events: none;   /* 클릭은 헤더로 통과되어 collapse 토글 */
  z-index: 2;
}
#editor_invitation .inv-acc-arrow i {
  display: inline-block;
  font-size: 16px;
  transition: transform 0.3s;
}
#editor_invitation .inv-acc-arrow.open i { transform: rotate(180deg); }

/* ===== 혼주 정보가 없을 때 신랑/신부명 가운데 정렬 (no-honju) =====
   테마별로 이 영역을 우측 정렬(flex-end)·좌측 패딩으로 배치하는 규칙이 있어
   혼주가 없으면 이름만 치우쳐 보임 → !important 로 테마 규칙보다 우선 적용 */
.preview-invitation-cellphome > div.no-honju {
  align-items: center !important;
  justify-content: center !important;
}
.preview-invitation-cellphome > div.no-honju > p:not(.rel_box) {
  display: none !important;
}
.preview-invitation-cellphome > div.no-honju > p.rel_box {
  justify-content: center !important;
  padding-left: 0 !important;
}
.preview-invitation-cellphome > div.no-honju > p.rel_box .rel_text {
  width: auto !important;
  text-align: center !important;
}
.preview-invitation-cellphome > div.no-honju > p.rel_box .font-tit {
  flex: 0 0 auto !important;
}
/* 신랑/신부 양쪽 모두 혼주가 없으면 섹션 자체의 테마별 오프셋 해제 */
.preview-invitation-cellphome.no-honju-all {
  align-items: center !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
