/* Google Fonts Inter와 Pretendard를 기본 폰트로 사용 */
/* Inter: 영문/숫자용, Pretendard: 한글용 */

html {
  box-sizing: border-box;
}

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

/* 기본 폰트 스택: Inter (영문/숫자) + Pretendard (한글) */
body,
html {
    font-family: "Inter", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

body { 
    margin: 0; 
    padding: 0;
    font-weight: 400;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767.98px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    /* 슬라이드 갤러리는 부모의 overflow-x: hidden 영향 받지 않도록 */
    .scroll-gallery {
        overflow-x: scroll !important;
        /* 부모 컨테이너의 overflow 제한을 우회 */
        position: relative;
        z-index: 1;
    }
    
    .container-fluid,
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }
}

/* 영문/숫자 강조 시 Inter 우선 사용 */
.font-inter,
:lang(en),
[lang="en"] {
    font-family: "Inter", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* 한글은 Pretendard 사용 */
:lang(ko),
[lang="ko"] {
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* 영문 제목 등에 Inter 적용 */
h1, h2, h3, h4, h5, h6 {
    font-family: "Inter", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* 한글이 포함된 요소는 Pretendard 우선 */
body * {
    font-family: inherit;
}

/* ===================================
   Popup Styles
   =================================== */

#popupContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
}

#popupContainer > * {
    pointer-events: auto;
}

.popup-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.popup-top-left {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
}

.popup-top-right {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.popup-bottom-left {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}

.popup-bottom-right {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.popup-custom {
    position: fixed;
    z-index: 9999;
}

.popup-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.2);
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    transition: box-shadow 0.2s ease;
}

.popup-draggable {
    cursor: move;
}

.popup-static {
    cursor: default;
}

.popup-media {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.popup-media img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

.popup-close {
    position: absolute;
    top: 5px;
    right: 6px;
    padding: 0;
    border: none;
    background: transparent;
    color: #fff;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    z-index: 10;
    width: 32px;
    height: 32px;
    font-size: 24px;
}

.popup-close:hover {
    color: #e5e7eb;
}

.popup-body {
    padding: 24px 28px 20px;
    text-align: center;
}

.popup-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #111827;
}

.popup-text {
    font-size: 14px;
    color: #1f2937;
    line-height: 1.6;
    white-space: pre-line;
}

.popup-footer {
    display: flex;
    padding: 0;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

.popup-action {
    flex: 1;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 600;
    border: none;
    background: #fff;
    color: #111827;
    transition: background 0.2s ease;
}

.popup-action + .popup-action {
    border-left: 1px solid #e5e7eb;
}

.popup-hide-btn {
    background: #f8f9fb;
}

.popup-hide-btn:hover {
    background: #eef1f7;
}

.popup-close-btn:hover {
    background: #f4f5f7;
}

@media (min-width: 992px) { 
    body {
        padding-bottom: 133px; 
    }
}
@media (max-width: 991.98px) { 
    body {
        padding-bottom: 116px; 
    }
}
@media (max-width: 767.98px) { 
    body {
        padding-bottom: 124px; 
    }
}
@media (max-width: 575.98px) { 
    body {
        padding-bottom: 100px; 
    }
}

.navbar { 
    transition: background-color .35s ease, box-shadow .35s ease; 
}

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

.navbar-scrolled { 
    background-color: rgba(0,0,0,0.5) !important; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.25); 
}

.navbar-brand img {
    width: auto;
    height: 70px;
}
@media (max-width: 991.98px) { 
    .navbar-brand img {
        width: auto;
        height: 50px;
    }
}
@media (max-width: 767.98px) { 
    .navbar-brand img {
        width: auto;
        height: 40px;
    }
}

.header-logo {
    margin-top: 200px;
}

/* 모바일에서 이미지 크기 최적화 - 낮은 해상도 경고 해결 */
@media (max-width: 767.98px) {
	.header-logo {
		margin-top: 150px;
	}

	.header-logo {
        max-width: 145px;
        height: auto;
    }
    
    .image-animation img[src*="img-header-3s.webp"] {
        max-width: 90%;
        height: auto;
    }
}

@media (max-width: 575.98px) {
	.header-logo {
		margin-top: 120px;
	}

	.header-logo {
        max-width: 40%;
        height: auto;
    }
}

/* PC에서는 이전 크기로 유지 */
 (min-width: 768px) {
    .header-logo {
        max-width: 218px;
        height: auto;
    }
    
    .image-animation img[src*="img-header-3s.webp"] {
        max-width: 582px;
        height: auto;
    }
}

.page-section {
    padding: 80px 0;
    /*min-height: 100vh;*/
    scroll-margin-top: 90px;
}

#stores.page-section {
    padding: 80px 0 0 0 !important;
}
@media (max-width: 575.98px) {
	#stores.page-section {
		padding: 30px 0 0 0 !important;
	}
}

#faq.page-section {
    padding-top: 0 !important;
    padding-bottom: 120px !important;
}

.faq-header-bg {
    background: linear-gradient(135deg, #4c1213 0%, #8b2a2f 50%, #6b1a1f 100%);
    padding: 80px 0 40px 0;
    margin-bottom: 40px;
}

.faq-header-bg .title-pattern {
    margin-top: 20px;
    mix-blend-mode: screen;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.faq-header-bg .title-pattern:hover {
    opacity: 1;
}

.faq-search-section {
    margin-top: 20px;
}

.faq-search-form .input-group {
    max-width: 600px;
    margin: 0 auto;
}

.faq-search-form .form-control {
    border-radius: 0;
    border: 2px solid #dc1419;
    padding: 12px 16px;
    font-size: 1rem;
}

.faq-search-form .form-control:focus {
    border-color: #ffc26e;
    box-shadow: 0 0 0 0.25rem rgba(255, 194, 110, 0.25);
}

.faq-search-form .btn {
    border-radius: 0;
    padding: 12px 24px;
    font-weight: 600;
    border: 2px solid #dc1419;
}

.faq-search-form .btn-outline-primary {
    color: #dc1419;
    background-color: transparent;
}

.faq-search-form .btn-outline-primary:hover {
    background-color: #dc1419;
    color: #fff;
    border-color: #dc1419;
}

.faq-search-form .btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.faq-search-form .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
    border-color: #6c757d;
}

#faq .pagination {
    margin-top: 30px;
    flex-wrap: wrap;
}

#faq .pagination .page-link {
    color: #dc1419;
    border-color: #dc1419;
    border-radius: 0;
    padding: 10px 16px;
    font-weight: 600;
    min-width: 44px;
    text-align: center;
}

#faq .pagination .page-link:hover {
    background-color: #ffc26e;
    border-color: #ffc26e;
    color: #4c1213;
}

#faq .pagination .page-item.active .page-link {
    background-color: #dc1419;
    border-color: #dc1419;
    color: #fff;
}

#faq .pagination .page-item.disabled .page-link {
    color: rgba(220, 20, 25, 0.4);
    border-color: rgba(220, 20, 25, 0.2);
    background-color: #fff;
    cursor: not-allowed;
}

/* 모바일에서 페이지네이션 최적화 */
@media (max-width: 575.98px) {
    #faq .pagination .page-link {
        padding: 8px 12px;
        font-size: 0.875rem;
        min-width: 40px;
    }
    
    #faq .pagination {
        margin-top: 20px;
    }
}

/* FAQ 상세 페이지 스타일 */
.faq-breadcrumb {
    padding: 0;
}

.faq-breadcrumb .breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
    font-size: 1rem;
}

.faq-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
    padding: 0 0.5rem;
}

.faq-breadcrumb .breadcrumb-item a {
    color: #dc1419;
    text-decoration: none;
    transition: color 0.3s ease;
}

.faq-breadcrumb .breadcrumb-item a:hover {
    color: #ffc26e;
    text-decoration: underline;
}

.faq-breadcrumb .breadcrumb-item.active {
    color: #4c1213;
    font-weight: 600;
}

.faq-detail-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-top: 1rem;
}

.faq-question-header {
    border-bottom: 2px solid #dc1419;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.faq-question-title {
    font-size: clamp(1.375rem, 3.2vw, 2rem);
    font-weight: 700;
    color: #4c1213;
    margin: 0;
    line-height: 1.4;
}

.faq-answer-content {
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    color: #333;
    line-height: 1.8;
}

.faq-answer-content p {
    margin-bottom: 1rem;
}

.faq-answer-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1rem 0;
}

.faq-answer-content a {
    color: #dc1419;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.faq-answer-content a:hover {
    color: #ffc26e;
}

.faq-answer-content ul,
.faq-answer-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.faq-answer-content li {
    margin-bottom: 0.5rem;
}

.faq-answer-content strong,
.faq-answer-content b {
    color: #4c1213;
    font-weight: 700;
}

.related-faqs-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

.related-faqs-title {
    font-size: clamp(1.375rem, 3.2vw, 1.75rem);
    font-weight: 700;
    color: #4c1213;
    text-align: center;
}

#relatedFaqAccordion .accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 0;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

#relatedFaqAccordion .accordion-button {
    background-color: #fff;
    color: #4c1213;
    font-weight: 500;
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    padding: 1rem 1.25rem;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

#relatedFaqAccordion .accordion-button:not(.collapsed) {
    background-color: #fff5e6;
    color: #4c1213;
    box-shadow: none;
}

#relatedFaqAccordion .accordion-button:focus {
    border-color: transparent;
    box-shadow: 0 0 0 0.25rem rgba(255, 194, 110, 0.25);
}

#relatedFaqAccordion .accordion-body {
    padding: 1.25rem;
    color: #333;
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    line-height: 1.7;
}

#relatedFaqAccordion .accordion-body .faq-read-more-link {
    color: #dc1419;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-size: clamp(0.875rem, 1.8vw, 1rem);
}

#relatedFaqAccordion .accordion-body .faq-read-more-link:hover {
    color: #ffc26e;
    text-decoration: underline;
}

#relatedFaqAccordion .accordion-body .faq-read-more-link .faq-arrow-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

#relatedFaqAccordion .accordion-body .faq-read-more-link:hover .faq-arrow-icon {
    transform: translateX(4px);
}

@media (max-width: 767.98px) {
    .faq-detail-card {
        padding: 1.5rem;
    }
    
    .faq-question-title {
        font-size: clamp(1.25rem, 4.2vw, 1.625rem);
    }
    
    .faq-answer-content {
        font-size: clamp(0.938rem, 2.5vw, 1rem);
    }
}

.navbar-nav .nav-link {
    font: 1.375rem;
    color: rgba(255, 255, 255, 1);
    font-weight: 700;
    line-height: 1;
    transition: color 0.3s ease;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0;
        padding-left: 0;
        margin-right: 2rem;
    }
    
    .navbar-expand-lg .navbar-nav .nav-item:last-child .nav-link {
        margin-right: 0;
    }

    .navbar-nav .nav-link {
        font-size: 1.375rem;
    }
}

@media (min-width: 1200px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        margin-right: 2.5rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        margin-right: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        font-size: 1rem;
    }

    .page-section {
        padding: 60px 0;
        scroll-margin-top: 70px;
    }
    
    #faq.page-section {
        padding-top: 0 !important;
        padding-bottom: 90px !important;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.9);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 0.25rem;
    }
    
    .navbar-nav {
        flex-direction: column;
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        border-radius: 0.25rem;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .page-section {
        padding: 40px 0;
        scroll-margin-top: 120px;
    }
    
    #faq.page-section {
        padding-top: 0 !important;
        padding-bottom: 60px !important;
    }
}

@media (min-width: 509px) and (max-width: 575.98px) {
    .page-section {
        scroll-margin-top: 120px;
    }
}

@media (max-width: 510.98px) {
    .page-section {
        scroll-margin-top: 150px;
    }
}

@media (max-width: 575.98px) {
    .navbar-nav .nav-link {
        font-size: 0.938rem;
        padding: 0.625rem 0.75rem;
    }
    
    .page-section {
        padding: 30px 0;
    }
    
    #faq.page-section {
        padding-top: 0 !important;
        padding-bottom: 50px !important;
    }
}

.nav-tabs {
    display: flex;
}

.nav-tabs .nav-item {
    flex: 1;
}

.nav-tabs .menu-link {
    display: block;
    color: #333333;
    /*font-size: clamp(1rem, 2.2vw, 1.375rem);*/
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    background-color: #ebebeb;
    border-radius: 0;
}

.nav-tabs .menu-link:hover {
    background-color: rgba(0, 0, 0, 0.15);
}

.nav-tabs .menu-link.active {
    color: #fff;
    background-color: #dc1419;
}

@media (min-width: 1400px) {
    .nav-tabs .menu-link {
        font-size: 1.25rem;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .nav-tabs .menu-link {
        font-size: 1.125rem;
    }
}

@media (max-width: 991.98px) {
    .nav-tabs {
        flex-wrap: wrap;
    }

    .nav-tabs .nav-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .nav-tabs .menu-link {
        font-size: 1rem;
        border: 1px solid #fff;
    }
}

@media (max-width: 575.98px) {
    .nav-tabs .menu-link {
        font-size: 0.875rem;
        line-height: 1.2;
    }
}

.bg-img {
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.bg-img-header {
    background-image: url("../img/bgimg-header.webp");
}

.bg-img-brand {
    background-image: url("../img/bgimg-brand.webp");
}

.bg-img-whyus {
    background-image: url("../img/bgimg-whyus.webp");
}

.bg-img-vienna {
    background-image: 
        linear-gradient(to top, 
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 1) 12%,
            rgba(255, 255, 255, 0) 1%,
            rgba(255, 255, 255, 0) 100%
        ), 
        url("../img/bgimg-vienna.webp");
}
@media (max-width: 991.98px) {
    .bg-img-vienna {
        background-image: 
        linear-gradient(to top, 
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 1) 8%,
            rgba(255, 255, 255, 0) 8%,
            rgba(255, 255, 255, 0) 100%
        ), 
        url("../img/bgimg-vienna.webp");
    }
}

.bg-img-stores {
    background-image: 
        linear-gradient(to top, 
            rgba(222, 18, 28, 1) 0%,
            rgba(222, 18, 28, 1) 10%,
            rgba(255, 255, 255, 1) 10%,
            rgba(255, 255, 255, 1) 100%
        ); 
    background-color: white;
}

.bg-img-interior {
    background-image: url("../img/bgimg-stores.webp");
}

.bg-img-franchise {
    background-image: url("../img/bgimg-franchise.webp");
    background-position: bottom center;
}

.bg-img-vienna-text {
    background-image: url("../img/img-vienna-5.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom 10%;

}
@media (min-width: 992px) {
    .bg-img-vienna-text {
        background-position: center bottom 5%;
    }
}

.section-title-eng {
    font-family: "Inter", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: clamp(1.625rem, 8vw, 7.5rem);
    font-weight: 600;
    letter-spacing: -0.2rem;
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 3.375rem);
    font-weight: 700;
    letter-spacing: -0.15rem;
}

.block-title {
    padding: 20px 30px;
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    font-weight: 700;
    background-color: rgb(255, 194, 110);
}
@media (min-width: 992px) {
    .block-title.gradient-right {
        background: linear-gradient(to right, 
        rgba(255, 194, 110, 1) 60%, 
        rgba(255, 194, 110, 0)
        );
    }

    .block-title.gradient-center {
        background: linear-gradient(to right, 
        rgba(255, 194, 110, 0),
        rgba(255, 194, 110, 1) 20%,
        rgba(255, 194, 110, 1) 80%,
        rgba(255, 194, 110, 0)
    );
    }
}

.img-vienna-red {
	max-width: 75px;
	height: auto;
}
@media (max-width: 991.98px) {
    img.title-crown {
        width: 30%;
        height: auto;
    }

    img.title-pattern {
        width: 40%;
        height: auto;
    }

    .bg-img-brand .image-content img {
        width: 80%;
        height: auto;
    }
}
@media (max-width: 767.98px) {
    .block-title {
        padding: 10px 15px;
    }

	#franchise .col-6.col-lg-3:nth-child(even) {
		padding-left: 2px;
	}

	#franchise .col-6.col-lg-3:nth-child(odd) {
		padding-right: 2px;
	}
}
@media (max-width: 575.98px) {
	.img-vienna-red {
		max-width: 55px;
		height: auto;
	}
}

.fs-3 {
    font-size: clamp(1.25rem, 2.5vw, 2rem) !important;
}

.fs-4 {
    font-size: clamp(1rem, 2.2vw, 1.5rem) !important;
}

.fs-5 {
    font-size: clamp(0.875rem, 2vw, 1.313rem) !important;
}

.fs-6 {
    font-size: clamp(0.875rem, 2vw, 1.25rem) !important;
}

.fs-6 {
    font-size: clamp(0.875rem, 2vw, 1.25rem) !important;
}

.text-small {
    font-size: 1rem !important;
}
@media (max-width: 767.98px) {
    .text-small {
        font-size: 0.75rem !important;
    }
}

.fw-500 {
    font-weight: 500 !important;
}

.text-red {
    color: #8b0e12;
}

.bg-dark .text-red {
    color: #ff6b6b;
}

.text-brown {
    color: rgb(76, 18, 19);
}

.text-gold {
    color: rgb(255, 194, 110);
}

hr + hr {
    margin-top: -14px;
}

hr.brand-hr {
    border: none;
    height: 1px;
    background-color: rgba(76, 18, 19, 0.5);
}

hr.whyus-hr {
    border: none;
    height: 1px;
    background-color: rgba(76, 18, 19, 0.8);
}

.stamp {
    position: absolute;
    bottom: -12%;
    right: -2%;
    z-index: 1000;
}
@media (max-width: 1399.98px) {
    .stamp {
        bottom: -13%;
        right: -3%;
    }

    .stamp img {
        width: 90%;
        height: auto;
    }
}
@media (max-width: 1199.98px) {
    .stamp {
        bottom: -9%;
        right: -8%;
    }

    .stamp img {
        width: 60%;
        height: auto;
    }
}
@media (max-width: 991.98px) {
    .stamp {
        bottom: -7%;
        right: -1%;
    }

    .stamp img {
        width: 90%;
        height: auto;
    }
}
@media (max-width: 767.98px) {
    .stamp {
        bottom: -6%;
        right: -17%;
    }

    .stamp img {
        width: 70%;
        height: auto;
    }
}

.whyus-list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 100px;
}
@media (max-width: 991.98px) {
	.whyus-list {
		align-items: center;
	}
}

.whyus-item {
    flex: 1;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.whyus-item img.img-on {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
}

.whyus-item:hover img.img-on {
    opacity: 1;
}

.whyus-item img.img-on,
.whyus-item img.img-off {
    z-index: 1;
}

.whyus-item .item-title {
    font-size: clamp(1.375rem, 2.2vw, 2.75rem);
}

.whyus-item p {
    font-size: clamp(0.875rem, 1.2vw, 1.125rem)
}

/* 메뉴 섹션 스타일 */
.menu-section {
    scroll-margin-top: 100px;
    padding: 40px 0;
}
@media (max-width: 575.98px) {
	.menu-section {
		padding: 10px 0;
	}
}

.menu-section:first-of-type {
    padding-top: 20px;
}

/* 메뉴, 매장, 창업 자동 슬라이드 리스트 스타일 */
.scroll-gallery {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: scroll !important;
    overflow-y: hidden;
    cursor: grab;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: auto; /* smooth 제거 - 자동 스크롤과 충돌 방지 */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    will-change: scroll-position;
    /* 모바일에서 부모의 overflow-x: hidden 영향 방지 */
    position: relative;
    z-index: 1;
}

.scroll-gallery::-webkit-scrollbar {
    display: none;
}

.scroll-gallery.active {
    cursor: grabbing;
}

.gallery-item {
    flex: 0 0 auto; 
    margin: 0 5px; 
    text-align: center;
    text-align: center;
    padding: 20px 0;
    width: 275px; 
}

.gallery-item img {
    max-width: 100%; 
    height: auto;
    pointer-events: none;
    user-select: none;
}
@media (max-width: 1199.98px) {
    .gallery-item {
        width: 255px; 
        flex: 0 0 255px;
        margin: 0 5px;
    }
}
@media (max-width: 991.98px) {
    .gallery-item {
        width: 25vw; 
        flex: 0 0 25vw;
        margin: 0;
    }
}
@media (max-width: 768px) {
    .gallery-item {
        width: 33.3vw; 
        flex: 0 0 33.3vw;
        margin: 0;
    }
}
@media (max-width: 575.98px) {
    .gallery-item {
        width: 50vw; 
        flex: 0 0 50vw;
        margin: 0; 
    }
}

.all-menu {
    position: relative;
    min-height: 400px;
}

.all-menu-gallery {
    position: relative;
    z-index: 1;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}

.all-menu-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    pointer-events: none;
}

.all-menu-row {
    margin-bottom: 20px;
    margin-left: 0;
    margin-right: 0;
    overflow: visible;
    min-height: 200px;
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.all-menu-row > .col-12 {
    padding-left: 0;
    padding-right: 0;
}

.all-menu-row-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    align-items: center;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}

.all-menu-row-container::-webkit-scrollbar {
    display: none;
}

.all-menu-item {
    flex: 0 0 auto !important;
    margin: 10px;
    text-align: center;
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    opacity: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.all-menu-item:first-child {
    margin-left: 0;
}

.all-menu-item:last-child {
    margin-right: 0;
}

.all-menu-item.fade-item {
    opacity: 0.1;
    animation: fadeInOut 4s ease-in-out infinite;
    animation-play-state: paused;
}

.all-menu-item img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 991.98px) {
    .all-menu-row {
        min-height: 180px;
    }
    
    .all-menu-item {
        width: 120px;
        min-width: 120px;
        max-width: 120px;
        margin: 8px;
    }
}

@media (max-width: 575.98px) {
    .all-menu-row {
        min-height: 120px;
		/*min-height: 160px;*/
    }
    
    .all-menu-item {
        width: 100px;
        min-width: 60px;
        max-width: 60px;
		/*min-width: 100px;
        max-width: 100px;*/
        margin: 5px;
    }

	.all-menu-row {
	 margin-bottom: 0px;
	}
}

@keyframes fadeInOut {
    0% {
        opacity: 0.3;
    }
    25% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    100% {
        opacity: 0.3;
    }
}

.bg-img-stores .gallery-item {
    flex: 0 0 auto;
    margin: 0 5px;
    text-align: center;
    padding: 20px 0;
    width: 300px;
}

/* stores 슬라이드 모바일에서 항목 크기 조정 */
@media (max-width: 991.98px) {
    .bg-img-stores .gallery-item {
        width: 30vw;
        flex: 0 0 30vw;
        margin: 0 3px;
        padding: 15px 0;
    }
}

@media (max-width: 767.98px) {
    .bg-img-stores .gallery-item {
        width: 35vw;
        flex: 0 0 35vw;
        margin: 0 2px;
        padding: 10px 0;
    }
}

@media (max-width: 575.98px) {
    .bg-img-stores .gallery-item {
        width: 40vw;
        flex: 0 0 40vw;
        margin: 0 2px;
        padding: 10px 0;
    }
}

.bg-img-interior .gallery-item {
    flex: 0 0 auto;
    margin: 0 5px;
    text-align: center;
    padding: 20px 0;
    width: 500px;
}

.franchise-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.franchise-list li {
    position: relative;
    padding-left: 15px;
    color: #fff;
    line-height: 1.5;
}

.franchise-list li::before {
    content: ""; 
    position: absolute;
    left: 0; 
    top: 10px;
    width: 5px;
    height: 5px;
    background-color: #fff;
    border-radius: 50%;
}
@media (max-width: 575.98px) {
    .franchise-list li {
        padding-left: 12px;
        font-size: 0.875rem;
        color: #fff;
        line-height: 1.2;
    } 

    .franchise-list li::before {
        top: 7px;
        width: 4px;
        height: 4px;
    }
}

/* 가멩문의 */
.agreement-section {
    padding-right: 20px;
    border-right: 1px solid #ddd;
}

.input-form-section {
    padding-left: 20px;
}

@media (max-width: 991.98px) {
    .agreement-section {
		order: 2;
        padding: 20px 0;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    .input-form-section {
		order: 1;
        padding: 20px 0;
    }
}

/* 약관 동의 스타일 */
.agreement-group {
    padding: 10px 20px;
    margin-bottom: 20px;
    background-color: rgb(255, 194, 110);
}

.agreement-group {
    display: flex;
    align-items: center;
}

.agreement-item {
    margin-bottom: 15px;
    display: block;
}

.agreement-item:last-child {
    margin-bottom: 0;
}

.agreement-check-line {
    display: flex;
    align-items: center;
}

.agreement-check-line label {
    flex-grow: 1;
    margin-left: 5px;
}

.agreement-item label {
    flex-grow: 1;
}

.agreement-item .agreement-content {
    padding: 20px;
    height: 171px;
    overflow-y: auto;
    font-size: 15px;
    border-radius: 0;
    border: 1px solid #ccc;
    color: #999;
}

.agreement-content.content-lg {
    height: 212px;
}

/* 입력 폼 스타일 */
.input-form-section .form-group {
    margin-bottom: 10px;
}

/* 입력박스 모서리 라운드 제거 */
.input-form-section .form-control,
.input-form-section .form-select,
.input-container input[type="text"],
.input-container select,
.input-container textarea {
    border-radius: 0 !important;
}

/* 문의 내용 textarea 높이 30% 증가 */
#inquiryContent,
textarea[name="inquiryContent"] {
    min-height: calc(1.5em * 5 * 1.3 + 2 * 15px + 2 * 1px) !important;
    height: calc(1.5em * 5 * 1.3 + 2 * 15px + 2 * 1px) !important;
}

/* FAQ 아코디언 디자인 */
#faqAccordion {
    border: none;
}

#faqAccordion .accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 0;
    margin-bottom: 15px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

#faqAccordion .accordion-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#faqAccordion .accordion-item:last-child {
    margin-bottom: 0;
}

#faqAccordion .accordion-button {
    background-color: #fff;
    color: #4c1213;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    padding: 20px 25px;
    border: none;
    box-shadow: none;
    border-radius: 0;
    transition: all 0.3s ease;
}

#faqAccordion .accordion-button:not(.collapsed) {
    background-color: #ffc26e;
    color: #4c1213;
    box-shadow: none;
}

#faqAccordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234c1213'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}

#faqAccordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234c1213'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

#faqAccordion .accordion-button:hover {
    background-color: #fff5e6;
    color: #4c1213;
}

#faqAccordion .accordion-button:not(.collapsed):hover {
    background-color: #ffd89b;
}

#faqAccordion .accordion-button:focus {
    border-color: transparent;
    box-shadow: 0 0 0 0.25rem rgba(255, 194, 110, 0.25);
}

#faqAccordion .accordion-button strong {
    color: inherit;
    font-weight: 600;
}

#faqAccordion .accordion-body {
    padding: 25px;
    color: #333;
    font-size: clamp(0.938rem, 1.8vw, 1.125rem);
    line-height: 1.8;
    background-color: #fff;
}

#faqAccordion .accordion-body .faq-read-more-link {
    color: #dc1419;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-size: clamp(0.875rem, 1.8vw, 1rem);
}

#faqAccordion .accordion-body .faq-read-more-link:hover {
    color: #ffc26e;
    text-decoration: underline;
}

#faqAccordion .accordion-body .faq-read-more-link .faq-arrow-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

#faqAccordion .accordion-body .faq-read-more-link:hover .faq-arrow-icon {
    transform: translateX(4px);
}

@media (max-width: 767.98px) {
    #faqAccordion .accordion-button {
        padding: 15px 20px;
        font-size: 0.938rem;
    }
    
    #faqAccordion .accordion-body {
        padding: 20px;
        font-size: 0.875rem;
        line-height: 1.7;
    }
    
    #faqAccordion .accordion-item {
        margin-bottom: 12px;
    }
}

.required-field::after {
    content: '*';
    color: rgb(220, 20, 25);
    font-weight: 400;
    margin-left: 3px;
}

.brand-options {
    display: flex;
}

.brand-options input[type="radio"] {
    display: none;
}

.brand-options label {
    flex: 1;
    display: block;
    padding: 10px;
    border-style: solid;
    border-width: 1px 0 1px 1px;
    border-color: #ccc;
    transition: all 0.2s ease;
    background-color: #fff;
    user-select: none;
    text-align: center;
    cursor: pointer;
}
@media (max-width: 575.98px) {
	.brand-options label {
		flex: 1 1 auto;
	}

	.brand-options label:first-child {
		padding: 10px 0 10px 0 !important;
	}
}

.brand-options label:first-child {
    color: #999;
    border-width: 0;
    text-align: left;
    padding: 10px 0 10px 15px;
}

.brand-options label:last-child {
    border-width: 1px;
}

.brand-options input[type="radio"]:not(:checked) + label {
    border-color: #ccc;
    background-color: #fff;
    color: #333;
    font-weight: 700;
}

.brand-options input[type="radio"]:checked + label {
    border-color: rgb(255, 194, 110);
    background-color: rgb(255, 194, 110);
    color: rgb(220, 20, 25);
    font-weight: 700;
}

/* 플로팅 라벨(Floating Label) */
.input-container {
    position: relative;
    width: 100%;
}

.input-container input[type="text"],
.input-container textarea {
    width: 100%;
    padding: 15px 10px 5px 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.input-container label {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #D2D2D2;
    transition: all 0.2s ease;
    pointer-events: none;
    background: transparent;
    padding: 0 4px;
}

.input-container textarea + label {
    top: 10px;
    transform: translateY(0);
}

.input-container input:focus + label,
.input-container textarea:focus + label,
.input-container select:focus + label { 
    top: 9px;
    left: 8px;
    font-size: 0.625rem;
    color: rgb(255, 194, 110);
    transform: translateY(-50%);
    background: transparent;
}

.input-container input:not(:placeholder-shown):valid + label,
.input-container textarea:not(:placeholder-shown):valid + label,
.input-container select:valid + label {
    top: 9px;
    left: 8px;
    font-size: 0.625rem;
    color: #ccc;
    transform: translateY(-50%);
    background: transparent;
}

.input-container select {
    width: 100%;
    padding: 15px 10px 5px 10px;
    border: 1px solid #ccc;
    font-size: 1em;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #000;
}

.input-container select {
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="292.4" height="292.4" viewBox="0 0 292.4 292.4"><path fill="%23888888" d="M287 69.4a17.6 17.6 0 0 0-13-5.4H18.4c-5 0-9.3 2.5-12 6.5s-2.7 9.8 0 14l129.5 140c2.5 3 6.4 4.8 10.4 4.8s7.9-1.8 10.4-4.8l129.5-140c2.5-4 2.4-8.8 0-13z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center; 
    background-size: 8px auto; 
    padding-right: 30px; 
}

.input-container input[type="text"]:focus,
.input-container select:focus,
.input-container textarea:focus {
    border: 1px solid rgb(255, 194, 110);
    outline: none; 
    box-shadow: none;
}

.input-container select.select-placeholder-style {
    color: #999;
}

.input-container select.select-placeholder-style:valid {
    color: #000;
}

/* selectbox의 placeholder 옵션이 선택된 상태일 때 색상 */
.input-container select:invalid,
.form-select:invalid,
select:invalid {
    color: #999;
}

.input-container select:valid,
.form-select:valid,
select:valid {
    color: #000;
}

/* selectbox의 disabled selected 옵션 색상 */
.input-container select option[value=""][disabled],
.form-select option[value=""][disabled],
select option[value=""][disabled] {
    color: #999;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
    -webkit-text-fill-color: #000 !important;
    transition: background-color 5000s ease-in-out 0s;
}


.button-group {
    text-align: center;
}

.submit-btn {
    width: 100%;
    padding: 12px 20px;
    background-color: rgb(220, 20, 25); 
    color: #ffffff; 
    border: none;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.submit-btn:hover {
    background-color: #ffc26e;
    color: #4c1213;
}

/*  텍스트, 이미지 애니메이션 모션 스타일 */
.title-animation {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.title-animation.is-visible {
    opacity: 1;
}

.item-animated {
    opacity: 0;
    transform: translateX(-50px);
}

.item-animated:nth-child(2) {
    animation-delay: 0.5s;
}

.item-animated:nth-child(3) {
    animation-delay: 1.0s;
}

.list-animation.is-visible .item-animated {
    animation: fadeIn 1s ease-in-out forwards; 
}
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.text-animation {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out 0.2s, transform 1s ease-out 0.2s;
}

.text-animation.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.list-animation {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.image-content {
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.image-animation.slide-left .image-content {
    transform: translateX(-100vw);
}
.image-animation.slide-left.is-visible .image-content {
    opacity: 1;
    transform: translateX(0);
}

.image-animation.slide-right .image-content {
    transform: translateX(100vw); 
}

.image-animation.slide-right.is-visible .image-content {
    opacity: 1;
    transform: translateX(0);
}

.image-animation.scale-up .image-content {
    transform: scale(0.8);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.image-animation.scale-up.is-visible .image-content {
    opacity: 1;
    transform: scale(1);
}

.image-animation.slide-down .image-content {
    transform: translateY(50px); 
}

.image-animation.slide-down.is-visible .image-content {
    opacity: 1;
    transform: translateY(0);
}

.image-animation.fade-in .image-content {
    opacity: 0;
    transition: opacity 0.6s ease-in-out; 
}
.image-animation.fade-in.is-visible .image-content {
    opacity: 1;
    transition: opacity 0.6s ease-in-out;
}

.image-animation.scale-fade-in .image-content {
    opacity: 0;
    transform: scale(0.5);
    transform-origin: center center;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}
.image-animation.scale-fade-in.is-visible .image-content {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

/* 페이지 하단 고정 가맹문의 배너 */ 
.fixed-banner {
    position: fixed; 
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #4c1213;
    color: #fff;
    z-index: 1100; 
}
@media (max-width: 767.98px) {
    .fixed-banner {
        height: auto;
        min-height: 100px;
        transition: height 0.3s ease;
    }
    
    .fixed-banner .container {
        text-align: center;
    }
    
    .fixed-banner a[href^="tel:"] {
        display: inline-block;
        transition: transform 0.2s ease;
    }
    
    .fixed-banner a[href^="tel:"]:active {
        transform: scale(0.95);
    }
    
    .mobile-banner-header {
        padding: 8px 0 0 0;
        justify-content: center;
        gap: 12px;
    }
    
    .mobile-banner-toggle {
        color: #ffc26e;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
		border: 1px solid rgba(255, 255, 255, 0.2);
		border-bottom: none;
        background: linear-gradient(
		to bottom, 
		#7c2022 0%,
		#4c1213 100%);
        padding: 5px 15px;
        transition: all 0.3s ease;
		box-shadow: 
			5px 0 3px rgba(0, 0, 0, 0.1), 
			0 -5px 3px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-banner-toggle:hover,
	.mobile-banner-toggle.btn-link:hover {
        color: #fff;
		border: 1px solid rgba(255, 255, 255, 0.2);
		border-bottom: none;
		background: linear-gradient(
		to bottom, 
		#7c2022 0%,
		#4c1213 100%);
        /*transform: scale(1.1);*/
    }
    /*
    .mobile-banner-toggle:focus {
        box-shadow: 0 0 0 3px rgba(255, 194, 110, 0.5);
        outline: none;
        border-radius: 8px;
    }
    */
    .mobile-banner-toggle .toggle-button-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .mobile-banner-toggle .toggle-icon {
        transition: transform 0.3s ease;
        animation: blink 1.5s ease-in-out infinite;
        width: 16px;
        height: 16px;
    }
    
    .mobile-banner-toggle[aria-expanded="true"] .toggle-icon {
        transform: rotate(180deg);
        animation: none;
    }
    
    .mobile-banner-toggle .toggle-text {
        font-size: 0.875rem;
        font-weight: 600;
        color: currentColor;
        white-space: nowrap;
    }
    
    @keyframes blink {
        0%, 100% {
            opacity: 1;
        }
        50% {
            opacity: 0.3;
        }
    }
    
    .mobile-banner-toggle:hover .toggle-icon {
        animation: blink 0.8s ease-in-out infinite;
    }
    
    .mobile-banner-toggle[aria-expanded="true"]:hover .toggle-icon {
        animation: none;
    }
    
    .mobile-banner-form-wrapper {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
        opacity: 0;
    }
    
    .mobile-banner-form-wrapper.expanded {
		margin-top: -1px;
        max-height: 500px;
        opacity: 1;
        transition: max-height 0.4s ease-in, opacity 0.3s ease-in;
		border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .mobile-banner-form-wrapper form {
        padding-top: 8px;
    }
    
    .mobile-banner-form-wrapper .d-flex {
        align-items: center;
    }
    
    .mobile-banner-form-wrapper .form-group {
        text-align: center;
    }
    
    .mobile-banner-form-wrapper .form-control,
    .mobile-banner-form-wrapper .form-select {
        text-align: center;
        width: 100%;
        border-radius: 0;
    }
    
    .mobile-banner-form-wrapper .form-group {
        width: 100%;
    }
    
    .mobile-banner-form-wrapper .privacy-checkbox-container {
        justify-content: center;
    }
    
    .mobile-banner-form-wrapper .button-group {
        width: 100%;
    }
    
    .mobile-banner-form-wrapper .button-group .submit-btn {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .mobile-banner-form-wrapper {
        max-height: none !important;
        opacity: 1 !important;
        overflow: visible;
    }
}

@media (max-width: 767.98px) {
	.mobile-banner-form-wrapper .button-group .submit-btn {
		height: 39px !important;
	}
}

.banner-marquee {
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
}

.marquee-content-wrapper {
    display: inline-flex;
    align-items: center;
    padding: 5px 0 7px 0;
    gap: 1.5rem;
    animation-name: marquee-scroll;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-duration: 8s;
    background-color: rgba(0,0,0,0.5);
}

.marquee-text {
    display: inline-block;
    padding-right: 1rem;
    font-size: clamp(0.75rem, 2vw, 1rem);
    color: #ffc26e;
    line-height: 1.5;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.banner-marquee:hover .marquee-content-wrapper {
    animation-play-state: paused;
}

.fixed-banner .form-control,
.fixed-banner .form-select {
    font-size: 0.875rem;
    line-height: 1.5;
    border: 1px solid #fff;
    background-color: #fff;
    color: #000;
    padding: 0.5rem 0.75rem;
    border-radius: 0;
}

/* 하단 폼 selectbox의 placeholder 색상 */
.fixed-banner .form-select:invalid {
    color: #999;
}

.fixed-banner .form-select:valid {
    color: #000;
}

.fixed-banner .form-control::placeholder {
    color: #999;
}

/* 일반 input placeholder 색상 */
.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: #999;
    opacity: 1;
}

/* 브라우저별 placeholder 지원 */
.form-control::-webkit-input-placeholder,
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #999;
    opacity: 1;
}

.form-control::-moz-placeholder,
input::-moz-placeholder,
textarea::-moz-placeholder {
    color: #999;
    opacity: 1;
}

.form-control:-ms-input-placeholder,
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #999;
    opacity: 1;
}

.fixed-banner .form-select {
    min-width: 140px;
}

.fixed-banner .form-control:focus,
.fixed-banner .form-select:focus {
    border-color: #ffc26e;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(255, 194, 110, 0.25);
}

.fixed-banner .form-control.is-invalid,
.fixed-banner .form-select.is-invalid {
    border-color: #dc3545;
}

.fixed-banner .form-control.is-invalid:focus,
.fixed-banner .form-select.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.fixed-banner .form-control.is-valid,
.fixed-banner .form-select.is-valid {
    border-color: #28a745;
}

.fixed-banner .form-control.is-valid:focus,
.fixed-banner .form-select.is-valid:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.fixed-banner .invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

.fixed-banner .form-check-input.is-invalid {
    border-color: #dc3545;
}

.fixed-banner .form-check-input.is-invalid:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}

.fixed-banner .privacy-checkbox-container .invalid-feedback {
    margin-left: 1.5rem;
    margin-top: 0.25rem;
}

.fixed-banner .submit-btn {
    width: 100%;
    padding: 0 10px 2px 10px;
    font-size: 0.875rem;
    line-height: 1;
}

@media (min-width: 768px) {
    .fixed-banner .button-group {
        min-width: 120px;
    }
    
    .fixed-banner .submit-btn {
        width: 100%;
        min-width: 120px;
        padding: 0 20px 2px 20px;
    }
}

.btn-block-full {
    width: 100%;
}

.btn-banner {
    display: flex; 
    align-items: flex-start; 
    justify-content: center;
    background-color: #dc1419;
    color: #fff;
} 

.btn-banner:hover {
    background-color: #ffc26e;
    color: #4c1213;
}

.form-check-input.form-checkbox {
    margin-top: 0;
    margin-right: 7px;
    background-color: white;
    border: 1px solid #ced4da;
    box-shadow: none !important; 
}

.form-check-input.form-checkbox:checked {
    background-color: #dc1419 !important; 
    border-color: #dc1419 !important; 
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
}

/* Hero Title Styles */
.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

.hero-title-main {
    font-size: clamp(2.25rem, 7vw, 5rem) !important;
    font-weight: 700 !important;
    color: #4c1213 !important;
    letter-spacing: -0.03em;
    line-height: 1.15 !important;
    display: block;
    margin-bottom: 0.5rem;
}

.hero-title-sub {
    font-size: clamp(1.25rem, 4vw, 2rem) !important;
    font-weight: 500 !important;
    color: #8b4513 !important;
    letter-spacing: 0.01em;
    line-height: 1.4 !important;
    display: block;
}

.hero-description {
    color: #8b4513;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
}

@media (max-width: 767.98px) {
    .hero-title {
        gap: 0.75rem;
        margin-bottom: 3rem;
    }
    
    .hero-title-main {
        font-size: clamp(1.875rem, 9vw, 3rem) !important;
        margin-bottom: 0.25rem;
    }
    
    .hero-title-sub {
        font-size: clamp(1.125rem, 4vw, 1.5rem) !important;
    }
}
@media (max-width: 575.98px) {
	.hero-title {
        gap: 0.375rem;
		margin-bottom: 2.5rem;
    }
	.hero-title-main {
        margin-bottom: 0rem;
    }
}

.form-check-input.form-checkbox:focus {
    border-color: #ced4da;
    box-shadow: 0 !important;
}

.fixed-banner .form-check-label {
    color: #fff;
    font-size: clamp(0.75rem, 2vw, 0.875rem);
}

.fixed-banner .privacy-checkbox-container a {
    color: #ffc26e !important;
    text-decoration: underline;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.fixed-banner .privacy-checkbox-container a:hover {
    color: #fff !important;
}

.modal-backdrop {
    z-index: 9998;
}

.modal {
    z-index: 9999; 
}